Packages

terser

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

Your version

5.10.0

15 Nov 2021Where it was published

5.51.4 is the newest release of 5.x.

In short

1 new5 fixed4 changed

Security

1 advisory affects 5.10.0; 5.14.2 fixes them

Release note

  • Massive optimization to max_line_len

  • Basic support for import assertions

  • Marked ES2022 Object.hasOwn as a pure function

  • Fix delete optional?.property

  • New CI/CD pipeline with github actions

  • Fix reordering of switch branches (#1092),

  • Fix error when creating a class property called get

  • Acorn dependency is now an optional peerDependency

  • Fix mangling collision with exported variables

  • Fix an issue with return someVariable = (async () => { ... })()

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.