Packages

@swc/core

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

Your version

1.15.46

19 Jul 2026Where it was published

1.16.22 is the newest release of 1.x.

In short

4 new18 fixed15 internal

Release note

Bug Fixes

  • (deps) Update crossbeam-epoch to 0.9.20

  • (es/fixer) Normalize for-head ident patterns

  • (es/fixer) Preserve parens around PURE-annotated receivers

  • (es/hygiene) Ignore eval in default hygiene pass

  • (es/minifier) Eliminate unused classes with cyclic references

  • (es/minifier) Preserve switch fallthrough termination

  • (es/minifier) Check last case

  • (es/minifier) Disable IIFE invoke when there's eval

  • (es/minifier) Invoke IIFE when has eval

  • (es/minifier) Make Infect Collect collect every used ident

  • (es/minifier) Measure number length precisely

  • (es/module) Rewrite .tsx imports to .js unless JSX is preserved

  • (es/module) Rewrite SystemJS transform

  • (es/modules) Resolve relative symlinked inputs from cwd

  • (es/react) Emit jsxdev source for fragments

  • (es/react-compiler) Correct catch and parameter scope resolution

  • (react-compiler) Remove React-like prefilter

  • (ts/fast-strip) Handle generic arrow line breaks

Features

  • (bindings) Add lint / lintSync API to @swc/react-compiler

  • (es/minifier) Remove unused param for new Function or Class Expr

  • (es/minifier) Remove unused param for new expr

  • (wasm) Add @swc/nodejs-support-wasm

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.