Packages

terser

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

Upgrading terser From 5.49.0 to 5.51.2

6 releases in betweenevery note read

Other targets from 5.49.0Newest 5.x5.51.4
0
changes to make
0
advisories fixed
0
new
4
fixes

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

5 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

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.