terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Your version
4.8.2 is the newest release of 4.x.
In short
1 new4 changed
Security
1 advisory affects 4.1.0; 4.8.1 fixes them
- HighTerser insecure use of regular expressions leads to ReDoSGHSA-4wf5-vphf-c2xc · 16 Jul 2022Fixed in 4.8.1
Release note
Internal functions were replaced by
Object.assign,Array.prototype.some,Array.prototype.findandArray.prototype.every.A serious issue where some ESM-native code was broken was fixed.
Performance improvements were made.
Support for BigInt was added.
Inline efficiency was improved. Functions are now being inlined more proactively instead of being inlined only after another Compressor pass.
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.