Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gulp-uglify to the latest version 馃殌 #6

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

Conversation

greenkeeper[bot]
Copy link

@greenkeeper greenkeeper bot commented May 20, 2017

Version 3.0.0 of gulp-uglify just got published.

Dependency gulp-uglify
Current Version 2.1.2
Type devDependency

The version 3.0.0 is not covered by your current version range.

Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.

I recommend you look into these changes and try to get onto the latest version of gulp-uglify.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.


Release Notes 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

The new version differs by 6 commits.

  • 76b5b3a fix(package): update files array
  • 5d4c4c6 chore(all): refactor unit tests
  • f2b779b feat(composer): implement new API for composing deps
  • dbbba30 fix(minify): log warnings to gulplog
  • 4cc8751 feat(uglify): add support for UglifyJS3
  • ad73ab8 chore(pkg): update dependencies, run lint

See the full diff

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 馃尨

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 7cdf238 on greenkeeper/gulp-uglify-3.0.0 into c1d1115 on master.

greenkeeper bot added a commit that referenced this pull request Jul 24, 2018
@greenkeeper
Copy link
Author

greenkeeper bot commented Jul 24, 2018

Version 3.0.1 just got published.

Update to this version instead 馃殌

Release Notes 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.
Commits

The new version differs by 10 commits.

  • 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
  • 14f1d71 docs(pump): correct grammar
  • 845ae0f chore(license): remove blockquote from license
  • 9c7b1ae docs(README): update links

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 1, 2019
@greenkeeper
Copy link
Author

greenkeeper bot commented Mar 1, 2019

  • The devDependency gulp-uglify was updated from 2.1.2 to 3.0.2.

Update to this version instead 馃殌

Release Notes for 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.
Commits

The new version differs by 3 commits.

See the full diff

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

Successfully merging this pull request may close these issues.

None yet

1 participant