Packages

terser

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

Your version

5.16.4

17 Feb 2023Where it was published

5.51.4 is the newest release of 5.x.

In short

1 faster2 fixed3 changed

Release note

  • Keep (defaultArg = undefined) => ..., because default args don't count for function length

  • Prevent inlining variables into ?. optional chains

  • Avoid removing unused arguments while transforming

  • Optimize iterating AST node lists

  • Make sure catch and finally aren't children of try in the AST

  • Use modern unicode property escapes (\p{...}) to parse identifiers when available

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.