terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 5.9.0 to 5.10.0
1 release in betweenevery note read
Security
1 advisory still affects 5.10.0
- Terser insecure use of regular expressions leads to ReDoShigh · GHSA-4wf5-vphf-c2xc
Upgrading to 5.14.2 clears it.
Release by release
- New
New CI/CD pipeline with github actions
- Fixed
Fix
delete optional?.property - Fixed
Fix reordering of switch branches (#1092),
- Fixed
Fix error when creating a class property called
get - Fixed
Fix mangling collision with exported variables
- Fixed
Fix an issue with
return someVariable = (async () => { ... })()
- New
4 other lines we could not sort, mostly version bumps
- 5.10.0
Massive optimization to max_line_len
- 5.10.0
Basic support for import assertions
- 5.10.0
Marked ES2022 Object.hasOwn as a pure function
- 5.10.0
Acorn dependency is now an optional peerDependency
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.