Packages

terser

5.51.2 · 27 Aug 2026BSD-2-Clause118.8M / weekRepositoryHomepagenpmAtom feed

Upgrading terser From 4.3.2 to 4.3.3

1 release in betweenevery note read

Other targets from 4.3.2Newest 4.x4.8.2Clears its advisory4.8.1Latest5.51.2
  1. 4.3.2yours
  2. 4.3.3target
1
change to make
0
advisories fixed
1
new
1
fix

Before you upgrade

Tick each one off as you go
  • Breaking4.3.3

Security

1 advisory still affects 4.3.3

Upgrading to 4.8.1 clears it.

Release by release

  1. 4.3.3

    Migration needed26 Sep 20191 new · 1 fix
    • Breaking

      Stopped using raw RegExp objects, since the spec is going to continue to evolve. This ensures Terser is able to process new, unknown RegExp flags and features. This is a breaking change in the AST node AST_RegExp.

    • New

      Added parens whenever there's a comment between a return statement and the returned value, to prevent issues with ASI.

    • Fixed

      Fixed a problem where parsing template strings would mix up octal notation and a slash followed by a zero representing a null character.

2 other lines we could not sort, mostly version bumps
  • Started accepting the name async in destructuring arguments with default value.

    4.3.3
  • Now Terser takes into account side effects inside class extends clauses.

    4.3.3

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.