terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 4.7.0 to 4.8.1
2 releases in betweenevery note read
- 0
- changes to make
- 1
- advisory fixed
- 1
- new
- 1
- fix
Security
Fixes 1 advisory affecting 4.7.0
- Terser insecure use of regular expressions leads to ReDoShigh · GHSA-4wf5-vphf-c2xc
- 4.8.1
Security fix for RegExps that should not be evaluated (regexp DDOS)
Release by release
- Security
Security fix for RegExps that should not be evaluated (regexp DDOS)
- Security
- New
Support for numeric separators (
million = 1_000_000) was added. - Fixed
Fixed bug where
yieldwasn't considered a valid property key in generators.
- New
1 other line we could not sort, mostly version bumps
- 4.8.0
Assigning properties to a class is now assumed to be pure.
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.