terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 4.3.10 to 4.3.11
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 2
- fixes
Security
1 advisory still affects 4.3.11
- Terser insecure use of regular expressions leads to ReDoShigh · GHSA-4wf5-vphf-c2xc
Upgrading to 4.8.1 clears it.
Release by release
- Fixed
Fixed a problem where
windowwas considered safe to access, even though there are situations where it isn't (Node.js, workers...) - Fixed
Fixed an error where
++and--were considered side-effect free
- Fixed
2 other lines we could not sort, mostly version bumps
- 4.3.11
Number(x)now needs bothunsafeand andunsafe_mathto be compressed into+xbecausexmight be aBigInt - 4.3.11
keep_fnamesnow 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.