terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 4.2.0 to 4.2.1
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Security
1 advisory still affects 4.2.1
- 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 bug similar to #369 in collapse_vars
- Fixed
4 other lines we could not sort, mostly version bumps
- 4.2.1
Minor refactors
- 4.2.1
Functions can no longer be inlined into a place where they're going to be compared with themselves.
- 4.2.1
reduce_funcs option is now legacy, as using reduce_vars without reduce_funcs caused some weird corner cases. As a result, it is now implied in reduce_vars and can't be turned off without turning off reduce_vars.
- 4.2.1
Bug which would cause a random stack overflow has now been fixed.
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.