Packages

terser

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

Your version

4.3.5

4 Oct 2019Where it was published

4.8.2 is the newest release of 4.x.

In short

2 fixed2 changed

Security

1 advisory affects 4.3.5; 4.8.1 fixes them

Release note

  • Fixed an issue with DOS line endings strings separated by \ and a new line.

  • Improved fix for the output size regression related to unused references within the extends section of a class.

  • Variable names of anonymous functions (eg: const x = () => { ... } or var func = function () {...}) are now preserved when keep_fnames is true.

  • Fixed performance degradation introduced for large payloads in v4.2.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.