@swc/wasm
1.16.21 · 31 Oct 2026Apache-2.01.3M / weekRepositoryHomepagenpmAtom feed
1.16.21 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
.tsximports to.jsunless 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/lintSyncAPI 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