terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 5.6.0 to 5.6.1
1 release in betweenevery note read
Security
1 advisory still affects 5.6.1
- Terser insecure use of regular expressions leads to ReDoShigh · GHSA-4wf5-vphf-c2xc
Upgrading to 5.14.2 clears it.
Release by release
- New
Added
exportsto domprops - Fixed
Fixed a crash when spreading
...this - Fixed
Fixed the computed size of arrow functions, which improves their inlining
- New
3 other lines we could not sort, mostly version bumps
- 5.6.1
Mark assignments to the
.prototypeof a class as pure - 5.6.1
Parenthesize
awaiton the left of**(while accepting legacy non-parenthesised input) - 5.6.1
Avoided outputting NUL bytes in optimized RegExps, to stop the output from breaking other tools
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.