Packages

terser

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

Your version

5.16.1

2 Dec 2022Where it was published

5.51.4 is the newest release of 5.x.

In short

1 new1 fixed2 changed1 internal

Release note

  • Properly handle references in destructurings (const { [reference]: val } = ...)

  • Allow parsing of .#privatefield in nested classes

  • Do not evaluate operations that return large strings if that would make the output code larger

  • Make collapse_vars handle block scope correctly

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.