Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Bump terser from 4.8.0 to 5.3.0 #167

Merged
merged 2 commits into from
Sep 11, 2020
Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps terser from 4.8.0 to 5.3.0.

Changelog

Sourced from terser's changelog.

v5.3.0

  • Fixed a crash when compressing object spreads in some cases
  • Fixed compiletime evaluation of optional chains (caused typeof a?.b to always return "object")
  • domprops has been updated to contain every single possible prop

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
  • c70f4b1 5.3.0
  • f306199 update changelog
  • 501afef fix failure case when evaluating an optional chain. Closes #806
  • 6b6cb9f add note about node version to CONTRIBUTING.md
  • fc1ea2d Added note about no sync (#793)
  • a7c1673 update domprops from FF 82.0a1, Chrome 84.0.4147.89 (#811)
  • ac292b8 do not inline function declarations into default exports, as they cannot be t...
  • 587bb71 fix prop.computed_key crash. Closes #805
  • 9940e1f Update LICENSE
  • 4e3ca5d 5.2.1
  • 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)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Sep 6, 2020
README.md Show resolved Hide resolved
Remove handling of "warnings" option, as terser v5 doesn't emit warnings anymore.
@matz3 matz3 force-pushed the dependabot/npm_and_yarn/terser-5.3.0 branch from 525e9f4 to a40377b Compare September 11, 2020 07:02
@matz3 matz3 merged commit 1799a5a into master Sep 11, 2020
@matz3 matz3 deleted the dependabot/npm_and_yarn/terser-5.3.0 branch September 11, 2020 08:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants