Packages

terser

5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed

Upgrading terser From 4.6.11 to 5.51.2

126 releases in betweennotes for 125

Other targets from 4.6.11Newest 4.x4.8.2Clears its advisory4.8.1
  1. 4.6.11yours
  2. 6 releases
  3. 5.0.0major
  4. 12 releases
  5. 5.4.0breaking
  6. 17 releases
  7. 5.14.2security
  8. 11 releases
  9. 5.17.0breaking
  10. 49 releases
  11. 5.38.0breaking
  12. 14 releases
  13. 5.46.1breaking
  14. 10 releases
  15. 5.51.2target
  16. 3 pre
4+
changes to make
1
advisory fixed
33+
new
104+
fixes

Counted from 125 of 126 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking5.46.1
  • Breaking5.38.0
  • Breaking5.17.0
  • Breaking5.4.0

Security

Fixes 1 advisory affecting 4.6.11

  • Security fix for RegExps that should not be evaluated (regexp DDOS)

    5.14.2

Release by release

  1. 5.51.2nothing new or fixed in the note

  2. 5.51.1

    27 Aug 20261 fix
    • Fixed

      Fix transforming code in dynamic import argument.

  3. 5.51.0

    26 Aug 20261 fix
    • Fixed

      Fix nullish coalescing ?? operator being considered a "boolean operator" sometimes causing booleans to be generated in its left side.

  4. 5.50.0

    11 Aug 20261 fix
    • Fixed

      Fixed a crash in mozilla AST conversion of imports

  5. 5.49.2

    5 Aug 20261 fix
    • Fixed

      Fixed a crash related to dynamic import expressions

  6. 5.49.1nothing new or fixed in the note

  7. 5.49.0

    8 Jul 20261 new · 1 fix
    • New

      Add ResizeObserver box option to domprops

    • Fixed

      Do not evaluate exponentiation of BigInt

  8. 5.48.0

    21 May 20261 new
    • New

      Support import source ... and import defer ...

148 other lines we could not sort, mostly version bumps
  • Roll back fix for ambiguously scoped default args, due to issues that came up without clear reproduction

    5.51.2
  • Pin (deoptimize) functions that use argnames scope in ambiguous way. IE when default args access other args, or variables outside the function.

    5.51.0
  • Experimental TypeScript type stripping

    5.50.0
  • Correctly parenthesize tagged template strings where the tag is new something(), which also has parentheses

    5.49.1
  • Internally changed how import() expression is parsed, it is no longer treated as a function call.

    5.49.1
  • Parse identifiers from newer unicode versions, and escape them for older runtimes

    5.49.0
  • unused option: delete computed keys of concise methods and getters/setters.

    5.46.2
  • Error.cause added to DOM properties list

    5.46.2
  • Parse extremely large floating-point number literals as Infinity

    5.46.1
  • More domprops (mostly Temporal related) suggested

    5.46.0

7 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.