terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 4.2.1 to 4.3.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 2
- fixes
Security
1 advisory still affects 4.3.0
- Terser insecure use of regular expressions leads to ReDoShigh · GHSA-4wf5-vphf-c2xc
Upgrading to 4.8.1 clears it.
Release by release
- Fixed
Do not drop computed object keys with side effects
- Fixed
Fixed scoping issues with
tryandswitch
- Fixed
3 other lines we could not sort, mostly version bumps
- 4.3.0
Functions passed to other functions in calls are now wrapped in parentheses by default, which speeds up loading most modules
- 4.3.0
Objects with computed properties are now less likely to be hoisted
- 4.3.0
Speed and memory efficiency optimizations
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.