terser
5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed
Upgrading terser From 4.6.10 to 4.6.11
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 1
- fix
Security
1 advisory still affects 4.6.11
- Terser insecure use of regular expressions leads to ReDoShigh · GHSA-4wf5-vphf-c2xc
Upgrading to 4.8.1 clears it.
Release by release
- Fixed
Prevent inlining into block scopes when there are name collisions
- Fixed
5 other lines we could not sort, mostly version bumps
- 4.6.11
Read unused classes' properties and method keys, to figure out if they use other variables.
- 4.6.11
Functions are no longer inlined into parameter defaults, because they live in their own special scope.
- 4.6.11
When inlining identity functions, take into account the fact they may be used to drop
thisin function calls. - 4.6.11
Nullish coalescing operator (
x ?? y), plus basic optimization for it. - 4.6.11
Template literals in binary expressions such as
+have been further optimized
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.