Packages

terser

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

Your version

4.3.0

7 Sep 2019Where it was published

4.8.2 is the newest release of 4.x.

In short

2 fixed3 changed

Security

1 advisory affects 4.3.0; 4.8.1 fixes them

Release note

  • Do not drop computed object keys with side effects

  • Functions passed to other functions in calls are now wrapped in parentheses by default, which speeds up loading most modules

  • Objects with computed properties are now less likely to be hoisted

  • Speed and memory efficiency optimizations

  • Fixed scoping issues with try and switch

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.