terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Your version
5.51.4 is the newest release of 5.x.
In short
4 fixed2 changed
Security
1 advisory affects 5.9.0; 5.14.2 fixes them
- HighTerser insecure use of regular expressions leads to ReDoSGHSA-4wf5-vphf-c2xc · 16 Jul 2022Fixed in 5.14.2
Release note
Collapsing switch cases with the same bodies (even if they're not next to each other) (#1070).
Fix evaluation of optional chain expressions
Fix mangling collision in ESM exports
Fix issue with mutating function objects after a second pass
Fix for inlining object spread
{ ...obj }Typescript typings fix
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.