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

Bump terser from 4.8.0 to 5.2.1 #511

Merged
merged 2 commits into from
Sep 3, 2020
Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps terser from 4.8.0 to 5.2.1.

Changelog

Sourced from terser's changelog.

v5.2.1

  • The parse step now doesn't accept an ecma option, so that all ES code is accepted.
  • Optional dotted chains now accept keywords, just like dotted expressions (foo?.default)

v5.2.0

  • Optional chaining syntax is now supported.
  • Consecutive await expressions don't have unnecessary parens
  • Taking the variable name's length (after mangling) into consideration when deciding to inline

v5.1.0

  • import.meta is now supported
  • Typescript typings have been improved

v5.0.0

  • in operator now taken into account during property mangle.
  • Fixed infinite loop in face of a reference loop in some situations.
  • Kept exports and imports around even if there's something which will throw before them.
  • The main exported bundle for commonjs, dist/bundle.min.js is no longer minified.

v5.0.0-beta.0

  • BREAKING: minify() is now async and rejects a promise instead of returning an error.
  • BREAKING: Internal AST is no longer exposed, so that it can be improved without releasing breaking changes.
  • BREAKING: Lowest supported node version is 10
  • BREAKING: There are no more warnings being emitted
  • Module is now distributed as a dual package - You can import and require() too.
  • Inline improvements were made
Commits
  • 4e3ca5d 5.2.1
  • f3fedac update changelog
  • 4bcb2cf accept keywords as optional properties (closes #796); disable ecma option whe...
  • e0c1a2b 5.2.0
  • 3e0e59e update changelog
  • 7aad3cb initial implementation of optional chaining (a?.b?.(c))
  • 23abbc3 remove some unused code, assume mangled variables have length 1
  • b573cda take variable name length into consideration before inlining.
  • 82be4b4 remove unnecessary parens in consecutive awaits.
  • 9dc2dcd Add module to package.json (#784)
  • 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 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)
  • 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)

Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 5.2.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](terser/terser@v4.8.0...v5.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@coveralls
Copy link

Coverage Status

Coverage increased (+0.08%) to 92.856% when pulling c0044b7 on dependabot/npm_and_yarn/terser-5.2.1 into 95ac50f on master.

Copy link
Member

@RandomByte RandomByte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good 🚀

@matz3
Copy link
Member

matz3 commented Sep 3, 2020

"Internal" or "Feature"?
We can now process new language features like Optional chaining in the uglify task, but our bundler which uses esprima still can't handle it.
So at the end not really something worth mentioning as a feature update, so I would just go for "Internal".

@RandomByte
Copy link
Member

Either internal or [DEPENDENCY] (which also appears in the changelog)

@matz3 matz3 merged commit 18f0df8 into master Sep 3, 2020
@matz3 matz3 deleted the dependabot/npm_and_yarn/terser-5.2.1 branch September 3, 2020 13:39
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.

3 participants