Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Nov 16, 2021

Bumps terser from 5.1.0 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)

v5.7.1

  • Avoided collapsing assignments together if it would place a chain assignment on the left hand side, which is invalid syntax (a?.b = c)
  • Removed undefined from object expansions ({ ...void 0 } -> {})
  • Fix crash when checking if something is nullish or undefined (#1009)
  • Fixed comparison of private class properties (#1015)
  • Minor performance improvements (#993)
  • Fixed scope of function defs in strict mode (they are block scoped)

... (truncated)

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

You can trigger a rebase of this PR 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.1.0 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.1.0...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 @github
Copy link
Author

dependabot bot commented on behalf of github Nov 16, 2021

Dependabot tried to add @XhmikosR as a reviewer to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/CopyPastaOfficial/Template/pulls/46/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the CopyPastaOfficial/Template repository. // See: https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 16, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Nov 16, 2021

The following labels could not be found: v5.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 22, 2022

Superseded by #66.

@dependabot dependabot bot closed this Feb 22, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/terser-5.10.0 branch February 22, 2022 10:24
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant