Skip to content

A relatively small maintenance release adjusting dependencies.

Features

  • Lodash is removed in favor of lighter dependencies specifically for the features used. intelli-espower-loader was also removed, as it's no longer compatible with the full suite of Node.js releases tested.
Assets 2

@terinjokes terinjokes released this Jul 24, 2018 · 3 commits to master since this release

A relatively small maintenance release.

Fixes

  • If the error from UglifyJS contains column information, append this to the error message (alongside the line number).
  • Buffers are now allocated with Buffer.from, ensuring Buffers never have any private information.
  • The Streams callback is only called once, even if a downstream exits in error.
Assets 2

@terinjokes terinjokes released this May 20, 2017 · 13 commits to master since this release

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.

Assets 2

@terinjokes terinjokes released this Mar 21, 2017 · 19 commits to master since this release

Bug Fixes

  • package: In the previous release devDependencies were incorrectly added as dependencies. This moves them to the correct location. (ba83a45c)
Assets 2

@terinjokes terinjokes released this Mar 20, 2017 · 21 commits to master since this release

Bug Fixes

  • errors: restore filenames and line information to GulpUglifyError's toString method. (c722ab9c)
Assets 2

@terinjokes terinjokes released this Mar 9, 2017 · 25 commits to master since this release

Minor Fixes

Assets 2

@terinjokes terinjokes released this Jan 24, 2017 · 27 commits to master since this release

Minor Fixes

Assets 2

@terinjokes terinjokes released this Aug 1, 2016 · 41 commits to master since this release

Bug Fixes

  • errors: emit errors of type GulpUglifyError (1232c3c)
  • minifer: use gulplog for the warning (5632cee)

Features

  • minifier: use UglifyJS 2.7.0's input map support (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.
Assets 2

@terinjokes terinjokes released this Jun 22, 2016 · 50 commits to master since this release

Upgrade UglifyJS to 2.6.4

Assets 2
Feb 22, 2016
1.5.3
You can’t perform that action at this time.