terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 5.7.0 to 5.7.1
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 3
- fixes
Security
1 advisory still affects 5.7.1
- Terser insecure use of regular expressions leads to ReDoShigh · GHSA-4wf5-vphf-c2xc
Upgrading to 5.14.2 clears it.
Release by release
- Fixed
Fix crash when checking if something is nullish or undefined
- Fixed
Fixed comparison of private class properties
- Fixed
Fixed scope of function defs in strict mode (they are block scoped)
- Fixed
3 other lines we could not sort, mostly version bumps
- 5.7.1
Avoided collapsing assignments together if it would place a chain assignment on the left hand side, which is invalid syntax (
a?.b = c) - 5.7.1
Removed undefined from object expansions (
{ ...void 0 }->{}) - 5.7.1
Minor performance improvements
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.