Packages

terser

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

Your version

5.6.1

17 Mar 2021Where it was published

5.51.4 is the newest release of 5.x.

In short

1 new2 fixed3 changed

Security

1 advisory affects 5.6.1; 5.14.2 fixes them

Release note

  • Mark assignments to the .prototype of a class as pure

  • Parenthesize await on the left of ** (while accepting legacy non-parenthesised input)

  • Avoided outputting NUL bytes in optimized RegExps, to stop the output from breaking other tools

  • Added exports to domprops

  • Fixed a crash when spreading ...this

  • Fixed the computed size of arrow functions, which improves their inlining

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.