Packages

terser

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

Your version

5.4.0

16 Nov 2020Where it was published

5.51.4 is the newest release of 5.x.

In short

1 removed3 changed

  • Removed

    Removed some optimizations for template strings, placing them behind unsafe options. Reason: adding strings is not equivalent to template strings, due to valueOf differences.

Security

1 advisory affects 5.4.0; 5.14.2 fixes them

Release note

  • Logical assignment

  • Change let x = undefined to just let x

  • Removed

    Removed some optimizations for template strings, placing them behind unsafe options. Reason: adding strings is not equivalent to template strings, due to valueOf differences.

  • The AST_Token class was slimmed down in order to use less memory.

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.