Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

doppins-bot
Copy link
Contributor

Hi!

A new version was just released of gulp-uglify, so Doppins
has upgraded your project's dependency ranges.

Make sure that it doesn't break anything, and happy merging! :shipit:


Upgraded gulp-uglify from 1.5.4 to 3.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:

    • "all", to attempt to keep all comments.
    • "some", to keep comments containing some license text.
    • a RegExp
    • a function that should return true or false.

    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

  • package: In the previous release devDependencies were incorrectly added as dependencies. This moves them to the correct location. (ba83a45c (https://github.com/terinjokes/gulp-uglify/commit/ba83a45c32a4e39288723da4b350a1ff9198406a))

Version 2.1.1

Bug Fixes

  • errors: restore filenames and line information to GulpUglifyError's toString method. (c722ab9c (https://github.com/terinjokes/gulp-uglify/commit/c722ab9c768af64b3528a8fc780fad3ababd402d))

Version 2.1.0

Minor Fixes

  • Updates UglifyJS to 2.8.10, and loosens version pinning to minor versions. See https://github.com/mishoo/UglifyJS2/compare/v2.7.5...v2.8.10 for details of changes.

Version 2.0.1

Minor Fixes

  • Updates UglifyJS to 2.7.5. See https://github.com/mishoo/UglifyJS2/compare/v2.7.0...v2.7.5 for details of changes.

Version 2.0.0

Bug Fixes

  • errors: emit errors of type GulpUglifyError (1232c3c (https://github.com/terinjokes/gulp-uglify/commit/1232c3c))
  • minifer: use gulplog for the warning (5632cee (https://github.com/terinjokes/gulp-uglify/commit/5632cee))

Features

  • minifier: use UglifyJS 2.7.0's input map support (8160697 (https://github.com/terinjokes/gulp-uglify/commit/8160697))

BREAKING CHANGES

  • errors: Emitted errors are of a new type. Original UglifyJS
    error message are preserved instead of the attempt to normalize them.
    The constructor is exported as "GulpUglifyError" to allow for instance
    checks.
  • minifier: Now requires UglifyJS 2.7.0 or greater to use the
    input object support.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant