Packages

terser

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

Upgrading terser From 4.6.11 to 4.8.2

6 releases in betweennotes for 5

Other targets from 4.6.11Clears its advisory4.8.1Latest5.51.2
?
changes to make
1
advisory fixed
1+
new
5+
fixes

Counted from 5 of 6 release notes. Advisories are counted from the advisory database, in full.

Security

Fixes 1 advisory affecting 4.6.11

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

    4.8.1

Release by release

  1. 4.8.2no release note

  2. 4.8.1

    Security fix13 Jul 2022
    • Security

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

  3. 4.8.0

    16 Jun 20201 new · 1 fix
    • New

      Support for numeric separators (million = 1_000_000) was added.

    • Fixed

      Fixed bug where yield wasn't considered a valid property key in generators.

  4. 4.7.0

    18 May 20201 fix
    • Fixed

      Fixed erroneous const declarations without value (which is invalid) in some corner cases when using collapse_vars.

  5. 4.6.13

    30 Apr 20202 fixes
    • Fixed

      Fixed issue where ES5 object properties were being turned into ES6 object properties due to more lax unicode rules.

    • Fixed

      Fixed parsing of BigInt with lowercase e in them.

  6. 4.6.12

    24 Apr 20201 fix
    • Fixed

      Fixed subtree comparison code, making it see that [1,[2, 3]] is different from [1, 2, [3]]

4 other lines we could not sort, mostly version bumps
  • Assigning properties to a class is now assumed to be pure.

    4.8.0
  • A bug was fixed where an arrow function would have the wrong size

    4.7.0
  • arguments object is now considered safe to retrieve properties from (useful for length, or 0) even when pure_getters is not set.

    4.7.0
  • Printing of unicode identifiers has been improved

    4.6.12

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.