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

chore(deps-dev): bump terser from 5.7.1 to 5.10.0 #840

Merged
merged 1 commit into from Jan 1, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 1, 2022

Bumps terser from 5.7.1 to 5.10.0.

Changelog

Sourced from terser's changelog.

v5.10.0

  • Massive optimization to max_line_len (#1109)
  • Basic support for import assertions
  • Marked ES2022 Object.hasOwn as a pure function
  • Fix delete optional?.property
  • New CI/CD pipeline with github actions (#1057)
  • Fix reordering of switch branches (#1092), (#1084)
  • Fix error when creating a class property called get
  • Acorn dependency is now an optional peerDependency
  • Fix mangling collision with exported variables (#1072)
  • Fix an issue with return someVariable = (async () => { ... })() (#1073)

v5.9.0

  • Collapsing switch cases with the same bodies (even if they're not next to each other) (#1070).
  • Fix evaluation of optional chain expressions (#1062)
  • Fix mangling collision in ESM exports (#1063)
  • Fix issue with mutating function objects after a second pass (#1047)
  • Fix for inlining object spread { ...obj } (#1071)
  • Typescript typings fix (#1069)

v5.8.0

  • Fixed shadowing variables while moving code in some cases (#1065)
  • Stop mangling computed & quoted properties when keep_quoted is enabled.
  • Fix for mangling private getter/setter and .#private access (#1060, #1068)
  • Array.from has a new optimization when the unsafe option is set (#737)
  • Mangle/propmangle let you generate your own identifiers through the nth_identifier option (#1061)
  • More optimizations to switch statements (#1044)

v5.7.2

  • Fixed issues with compressing functions defined in global_defs option (#1036)
  • New recipe for using Terser in gulp was added to RECIPES.md (#1035)
  • Fixed issues with ?? and ?. (#1045)
  • Future reserved words such as package no longer require you to disable strict mode to be used as names.
  • Refactored huge compressor file into multiple more focused files.
  • Avoided unparenthesized in operator in some for loops (it breaks parsing because of for..in loops)
  • Improved documentation (#1021, #1025)
  • More type definitions (#1021)
Commits
  • 338c996 5.10.0
  • 815f597 update changelog
  • a966e74 Optimize max_line_len (#1109)
  • 8539751 basic support for import assertions. Closes #1095
  • f10938e add ES2022 Object.hasOwn as a pure function
  • 8f30357 Fix delete on optional chain (#1103)
  • aadf03d Ensure default case folding only happens when default is last (#1084)
  • e61a299 Resolves: Add a CI/CD pipeline with GitHub Actions (#1057)
  • f251cd4 Ensure switch branches reordering happens only for constant branch expression...
  • 01f1841 allow 'get;' as a class property without value. Closes #1078
  • 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)

Bumps [terser](https://github.com/terser/terser) from 5.7.1 to 5.10.0.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](terser/terser@v5.7.1...v5.10.0)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested review from styfle and Timer as code owners Jan 1, 2022
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jan 1, 2022
styfle
styfle approved these changes Jan 1, 2022
@styfle styfle merged commit 2e18ac1 into main Jan 1, 2022
5 checks passed
@styfle styfle deleted the dependabot/npm_and_yarn/terser-5.10.0 branch Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant