terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 4.6.13 to 4.7.0
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Security
1 advisory still affects 4.7.0
- 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 erroneous
constdeclarations without value (which is invalid) in some corner cases when usingcollapse_vars.
- Fixed
2 other lines we could not sort, mostly version bumps
- 4.7.0
A bug was fixed where an arrow function would have the wrong size
- 4.7.0
argumentsobject is now considered safe to retrieve properties from (useful forlength, or0) even whenpure_gettersis not set.
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.