Packages

terser

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

Your version

4.3.11

10 Nov 2019Where it was published

4.8.2 is the newest release of 4.x.

In short

2 fixed2 changed

Security

1 advisory affects 4.3.11; 4.8.1 fixes them

Release note

  • Fixed a problem where window was considered safe to access, even though there are situations where it isn't (Node.js, workers...)

  • Fixed an error where ++ and -- were considered side-effect free

  • Number(x) now needs both unsafe and and unsafe_math to be compressed into +x because x might be a BigInt

  • keep_fnames now correctly supports regexes when the function is in a variable declaration

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.