terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 5.21.0 to 5.22.0
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 2
- fixes
Release by release
- Fixed
Do not
unsafely shorten expressions like a?.toString() when they're conditional. - Fixed
Avoid running drop_unused in nodes that aren't scopes. Fixes a rare crash.
- Fixed
1 other line we could not sort, mostly version bumps
- 5.22.0
When 'module' is enabled, assume strict mode when figuring out scopes.
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.