terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 5.8.0 to 5.9.0
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 4
- fixes
Security
1 advisory still affects 5.9.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
Fix evaluation of optional chain expressions
- Fixed
Fix mangling collision in ESM exports
- Fixed
Fix issue with mutating function objects after a second pass
- Fixed
Fix for inlining object spread
{ ...obj }
- Fixed
2 other lines we could not sort, mostly version bumps
- 5.9.0
Collapsing switch cases with the same bodies (even if they're not next to each other) (#1070).
- 5.9.0
Typescript typings fix
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.