terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Your version
3.17.0 is the newest release of 3.x.
In short
1 removed1 new2 changed
- Removed
Drops node.js v4 and starts using commonJS
Security
1 advisory affects 3.16.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
No longer leaves names like Array or Object or window as a SimpleStatement (statement which is just a single expression).
Add support for sections sourcemaps (IndexedSourceMapConsumer)
- Removed
Drops node.js v4 and starts using commonJS
Is now built with rollup
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.