Packages

terser

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

Your version

4.3.1

9 Sep 2019Where it was published

4.8.2 is the newest release of 4.x.

In short

2 fixed1 changed

Security

1 advisory affects 4.3.1; 4.8.1 fixes them

Release note

  • Fixed an issue from 4.3.0 where any block scope within a for loop erroneously had its parent set to the function scopee

  • Fixed an issue where compressing IIFEs with argument expansions would result in some parameters becoming undefined

  • addEventListener options argument's properties are now part of the DOM properties list.

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.