terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 4.6.3 to 4.6.4
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Security
1 advisory still affects 4.6.4
- 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 an issue when transforming
new RegExpinto/.../when slashes are included in the source
- Fixed
6 other lines we could not sort, mostly version bumps
- 4.6.4
The
"some"value in thecommentsoutput option now preserves@licand other important comments when using// - 4.6.4
</script>is now better escaped in regex, and in comments, when using theinline_scriptoutput option - 4.6.4
AST_Node.prototype.constructornow exists, allowing for easier debugging of crashes - 4.6.4
Multiple if statements with the same consequents are now collapsed
- 4.6.4
Typescript typings improvements
- 4.6.4
Optimizations while looking for surrogate pairs in strings
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.