Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 1, 2023

Bumps terser from 5.16.2 to 5.18.2.

Changelog

Sourced from terser's changelog.

v5.18.2

  • Stop using recursion in hoisted defuns fix.

v5.18.1

  • Fix major performance issue caused by hoisted defuns' scopes bugfix.

v5.18.0

  • Add new /*@__MANGLE_PROP__*/ annotation, to mark properties that should be mangled.

v5.17.7

  • Update some dependencies
  • Add consistent sorting for v RegExp flag
  • Add inert DOM attribute to domprops

v5.17.6

  • Fixes to mozilla AST input and output, for class properties, private properties and static blocks
  • Fix outputting a shorthand property in quotes when safari10 and ecma=2015 options are enabled
  • configurable and enumerable, used in Object.defineProperty, added to domprops (#1393)

v5.17.5

  • Take into account the non-deferred bits of a class, such as static properties, while dropping unused code.

v5.17.4

  • Fix crash when trying to negate a class (!class{})
  • Avoid outputting comments between yield/await and its argument
  • Fix detection of left-hand-side of assignment, to avoid optimizing it like any other expression in some edge cases

v5.17.3

  • Fix issue with trimming a static class property's contents accessing the class as this.

v5.17.2

  • Be less conservative when detecting use-before-definition of var in hoisted functions.
  • Support unusual (but perfectly valid) initializers of for-in and for-of loops.
  • Fix issue where hoisted function would be dropped if it was after a continue statement

v5.17.1

  • Fix evaluating .length when the source array might've been mutated

v5.17.0

  • Drop vestigial = undefined default argument in IIFE calls (#1366)
  • Evaluate known arrays' .length property when statically determinable
  • Add @__KEY__ annotation to mangle string literals (#1365)

v5.16.9

  • Fix parentheses in output of optional chains (a?.b) (#1374)
  • More documentation on source maps (#1368)
  • New lhs_constants option, allowing to stop Terser from swapping comparison operands (#1361)

... (truncated)

Commits

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 dependabot bot added the dependencies Pull requests that update a dependency file label Jul 1, 2023
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/terser-5.18.2 branch from 7941672 to 68eacd8 Compare July 9, 2023 04:53
Bumps [terser](https://github.com/terser/terser) from 5.16.2 to 5.18.2.
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](terser/terser@v5.16.2...v5.18.2)

---
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 force-pushed the dependabot/npm_and_yarn/terser-5.18.2 branch from 68eacd8 to 29a55c9 Compare July 9, 2023 04:55
@yyx990803 yyx990803 merged commit a1fa97c into main Jul 9, 2023
@yyx990803 yyx990803 deleted the dependabot/npm_and_yarn/terser-5.18.2 branch July 9, 2023 04:56
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