terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 5.7.1 to 5.7.2
1 release in betweenevery note read
Security
1 advisory still affects 5.7.2
- Terser insecure use of regular expressions leads to ReDoShigh · GHSA-4wf5-vphf-c2xc
Upgrading to 5.14.2 clears it.
Release by release
- New
New recipe for using Terser in gulp was added to RECIPES.md
- Fixed
Fixed issues with compressing functions defined in
global_defsoption - Fixed
Fixed issues with
??and?.
- New
5 other lines we could not sort, mostly version bumps
- 5.7.2
Future reserved words such as
packageno longer require you to disable strict mode to be used as names. - 5.7.2
Refactored huge compressor file into multiple more focused files.
- 5.7.2
Avoided unparenthesized
inoperator in some for loops (it breaks parsing because of for..in loops) - 5.7.2
Improved documentation (#1021, #1025)
- 5.7.2
More type definitions
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.