Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 6, 2021

Bumps gulp-uglify from 2.1.2 to 3.0.2.

Release notes

Sourced from gulp-uglify's releases.

v3.0.2

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.

v3.0.1

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.

v3.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.

Commits
  • 7b9a7ad 3.0.2
  • a56d1c7 feat: remove lodash dependency
  • bcdda44 docs: replace pump with pipeline
  • c92197d 3.0.1
  • 27b26d4 fix(composer): invoke callback only once
  • 2c7f656 tests: import tape-catch to catch thrown errors
  • b2492c4 fix: create safe-buffers
  • a751c5a tests: convert tests to to tape harness
  • 95f17a5 feat(error): add column to error string
  • e2462fa chore(travis): update test matrix
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant