Bump gulp-uglify from 2.1.2 to 3.0.2
Created by: dependabot-preview[bot]
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: replacepump
withpipeline
-
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 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
.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now
in your Dependabot dashboard.
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 ignore this [patch|minor|major] version
will close this PR and stop Dependabot creating any more for this minor/major 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 use these labels
will set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewers
will set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assignees
will set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestone
will set the current milestone as the default for future PRs for this repo and language -
@dependabot badge me
will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.