terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 4.8.2 to 5.0.0
1 release in betweenevery note read
Other targets from 4.8.2Latest5.51.2
The note of 5.0.0 lists no breaking change or deprecation, which is rare for a major.
- ?
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Security
1 advisory still affects 5.0.0
- Terser insecure use of regular expressions leads to ReDoShigh · GHSA-4wf5-vphf-c2xc
Upgrading to 5.14.2 clears it.
Release by release
- Fixed
Fixed infinite loop in face of a reference loop in some situations.
- Fixed
3 other lines we could not sort, mostly version bumps
- 5.0.0
inoperator now taken into account during property mangle. - 5.0.0
Kept exports and imports around even if there's something which will throw before them.
- 5.0.0
The main exported bundle for commonjs, dist/bundle.min.js is no longer minified.
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.