terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 5.7.2 to 5.8.0
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 3
- fixes
Security
1 advisory still affects 5.8.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 shadowing variables while moving code in some cases
- Fixed
Stop mangling computed & quoted properties when keep_quoted is enabled.
- Fixed
Fix for mangling private getter/setter and .#private access (#1060, #1068)
- Fixed
3 other lines we could not sort, mostly version bumps
- 5.8.0
Array.from has a new optimization when the unsafe option is set
- 5.8.0
Mangle/propmangle let you generate your own identifiers through the nth_identifier option
- 5.8.0
More optimizations to switch statements
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.