Packages

terser

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

Your version

4.5.0

2 Jan 2020Where it was published

4.8.2 is the newest release of 4.x.

In short

5 changed

Security

1 advisory affects 4.5.0; 4.8.1 fixes them

Release note

  • Inlining has been improved

  • An issue where keep_fnames combined with functions declared through variables was causing name shadowing has been fixed

  • You can now set the ES version through their year

  • The output option keep_numbers has been added, which prevents Terser from turning 1000 into 1e3 and such

  • Internal small optimisations and refactors

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.