Packages

terser

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

Upgrading terser From 5.12.1 to 5.14.2

5 releases in betweenevery note read

Other targets from 5.12.1Newest 5.x5.51.4Latest5.51.2

Security

Fixes 1 advisory affecting 5.12.1

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

    5.14.2

Release by release

  1. 5.14.2

    Security fix13 Jul 2022
    • Security

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

  2. 5.14.1

    10 Jun 20221 fix
    • Fixed

      Fixed parsing of nested template strings

  3. 5.14.0

    30 May 20221 fix
    • Fixed

      Fixed source maps with non-terminated segments

  4. 5.13.1

    29 Apr 20221 new
    • New

      Allow multiple identifiers with the same name in var destructuring (eg var { a, a } = x)

  5. 5.13.0nothing new or fixed in the note

12 other lines we could not sort, mostly version bumps
  • Source maps improvements

    5.14.2
  • Performance improvements in long property access evaluation

    5.14.2
  • keep_numbers option added to TypeScript defs

    5.14.1
  • Switched to @jridgewell/source-map for sourcemap generation (#1190, #1181)

    5.14.0
  • Enabled typescript types to be imported from the package

    5.14.0
  • Extra DOM props have been added

    5.14.0
  • Delete the AST while generating code, as a means to save RAM

    5.14.0
  • Removed self-assignments (varname=varname) (closes #1081)

    5.13.1
  • Separated inlining code (for inlining things into references, or removing IIFEs)

    5.13.1
  • All calls to eval() were removed (#1171, #1184)

    5.13.0

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.