terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 4.6.6 to 4.6.7
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Security
1 advisory still affects 4.6.7
- 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 some issues with inlining
- Fixed
4 other lines we could not sort, mostly version bumps
- 4.6.7
Some new performance gains through a
AST_Node.size()method which measures a node's source code length without printing it to a string first. - 4.6.7
An issue with setting
--commentstofalsein the CLI has been fixed. - 4.6.7
unsafe_symbolscompress option was added, which turnsSymbol("name")into justSymbol() - 4.6.7
Brought back compress performance improvement through the
AST_Node.equivalent_to(other)method (which was reverted in v4.6.6).
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.