This repository has been archived by the owner on Apr 20, 2019. It is now read-only.
[Doppins] Upgrade dependency gulp-uglify to 3.0.0 #41
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi!
A new version was just released of
gulp-uglify
, so Doppinshas upgraded your project's dependency ranges.
Make sure that it doesn't break anything, and happy merging!
Upgraded gulp-uglify from
1.5.4
to3.0.0
Changelog:
Version 3.0.0
We're now targeting UglifyJS3, if you need to continue to use UglifyJS2, you should stay on v2.1.2.
Breaking Changes
The custom option "preserveComments" was removed.
As a replacement, set the
options.output.comments
option directly, UglifyJS3 understands the following options:While the "some" option works for many cases, it doesn't fully match the behavior of the "license" option. Fortunately, you can pass the exported function from
uglify-save-license
as the comment option.The "minifier" API, which you could use to provide your own UglifyJS instance has been removed. It has been replaced with the "composer" API.
Version 2.1.2
Bug Fixes
https://github.com/terinjokes/gulp-uglify/commit/ba83a45c32a4e39288723da4b350a1ff9198406a
))Version 2.1.1
Bug Fixes
GulpUglifyError
'stoString
method. (c722ab9c (https://github.com/terinjokes/gulp-uglify/commit/c722ab9c768af64b3528a8fc780fad3ababd402d
))Version 2.1.0
Minor Fixes
https://github.com/mishoo/UglifyJS2/compare/v2.7.5...v2.8.10
for details of changes.Version 2.0.1
Minor Fixes
https://github.com/mishoo/UglifyJS2/compare/v2.7.0...v2.7.5
for details of changes.Version 2.0.0
Bug Fixes
GulpUglifyError
(1232c3c (https://github.com/terinjokes/gulp-uglify/commit/1232c3c
))gulplog
for the warning (5632cee (https://github.com/terinjokes/gulp-uglify/commit/5632cee
))Features
https://github.com/terinjokes/gulp-uglify/commit/8160697
))BREAKING CHANGES
error message are preserved instead of the attempt to normalize them.
The constructor is exported as "GulpUglifyError" to allow for instance
checks.
input object support.