Packages

terser

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

Your version

4.6.7

17 Mar 2020Where it was published

4.8.2 is the newest release of 4.x.

In short

1 fixed4 changed

Security

1 advisory affects 4.6.7; 4.8.1 fixes them

Release note

  • Some new performance gains through a AST_Node.size() method which measures a node's source code length without printing it to a string first.

  • An issue with setting --comments to false in the CLI has been fixed.

  • Fixed some issues with inlining

  • unsafe_symbols compress option was added, which turns Symbol("name") into just Symbol()

  • Brought back compress performance improvement through the AST_Node.equivalent_to(other) method (which was reverted in v4.6.6).

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.