Packages

@swc/core

1.16.22 · 5 Nov 2026Apache-2.061.9M / weekRepositoryHomepagenpmAtom feed

Your version

1.15.13

23 Feb 2026Where it was published

1.16.22 is the newest release of 1.x.

In short

2 new11 fixed8 internal

Release note

Bug Fixes

  • (errors) Avoid panic on invalid diagnostic spans

  • (es/helpers) Fix _object_without_properties crash on primitive values

  • (es/jsx) Preserve whitespace before HTML entities

  • (es/minifier) Do not merge if statements with different local variable values

  • (es/minifier) Prevent convert_tpl_to_str when there's emoji under es5

  • (es/minifier) Inline before merge if

  • (es/minifier) Preserve array join("") nullish semantics

  • (es/minifier) Inline side-effect-free default params

  • (es/parser) Fix generic arrow function in TSX mode

  • (es/react) Preserve first-line leading whitespace with entities

  • (es/regexp) Transpile unicode property escapes in RegExp constructor

Features

  • (es/minifier) Add unsafe_hoist_static_method_alias option

  • (es/minifier) Remove unused args for IIFE

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.