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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency gulp-uglify to v3 #34

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Dec 6, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
gulp-uglify ^1.5.3 -> ^3.0.0 age adoption passing confidence

Release Notes

terinjokes/gulp-uglify (gulp-uglify)

v3.0.2

Compare Source

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

Compare Source

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

Compare Source

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.

v2.1.2

Compare Source

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

v2.1.1

Compare Source

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

v2.1.0

Compare Source

Minor Fixes

v2.0.1

Compare Source

Minor Fixes

v2.0.0

Compare Source

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.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

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

Successfully merging this pull request may close these issues.

0 participants