Packages

terser

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

Your version

5.7.0

26 Apr 2021Where it was published

5.51.4 is the newest release of 5.x.

In short

2 new1 fixed4 changed

Security

1 advisory affects 5.7.0; 5.14.2 fixes them

Release note

  • Several compile-time evaluation and inlining fixes

  • Allow reduce_funcs to be disabled again.

  • Add spidermonkey options to parse and format

  • Accept {get = "default val"} and {set = "default val"} in destructuring arguments.

  • Change package.json export map to help require.resolve

  • Improve docs

  • Fix export default of an anonymous class with extends

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.