Packages

terser

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

Upgrading terser From 4.6.13 to 4.8.2

4 releases in betweennotes for 3

Other targets from 4.6.13Clears its advisory4.8.1Latest5.51.2
  1. 4.6.13yours
  2. 4.7.0
  3. 4.8.0
  4. 4.8.1security
  5. 4.8.2target
?
changes to make
1
advisory fixed
1+
new
2+
fixes

Counted from 3 of 4 release notes. Advisories are counted from the advisory database, in full.

Security

Fixes 1 advisory affecting 4.6.13

  • 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.

3 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

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.