terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 5.16.3 to 5.16.4
1 release in betweenevery note read
Release by release
- New
Optimize iterating AST node lists
- Fixed
Prevent inlining variables into
?.optional chains - Fixed
Avoid removing unused arguments while transforming
- New
3 other lines we could not sort, mostly version bumps
- 5.16.4
Keep
(defaultArg = undefined) => ..., because default args don't count for function length - 5.16.4
Make sure
catchandfinallyaren't children oftryin the AST - 5.16.4
Use modern unicode property escapes (
\p{...}) to parse identifiers when available
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.