terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 5.50.0 to 5.51.4
5 releases in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 0
- new
- 4
- fixes
Before you upgrade
Tick each one off as you go- Breaking5.51.4
Release by release
- Breaking
Remove accidentally included source maps
- Breaking
- Fixed
Fix source code leak through sourceMap.content (input sourcemap)
- Fixed
Don't crash when evaluating BigInt modulo by zero
- Fixed
5.51.2nothing new or fixed in the note
- Fixed
Fix transforming code in dynamic import argument.
- Fixed
- Fixed
Fix nullish coalescing
??operator being considered a "boolean operator" sometimes causing booleans to be generated in its left side.
- Fixed
3 other lines we could not sort, mostly version bumps
- 5.51.3
Keep parens around
yieldandawaitused as a template tag - 5.51.2
Roll back fix for ambiguously scoped default args, due to issues that came up without clear reproduction
- 5.51.0
Pin (deoptimize) functions that use argnames scope in ambiguous way. IE when default args access other args, or variables outside the function.
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.