@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
2 new2 faster29 fixed8 internal
Release note
Bug Fixes
(es/codegen) Disambiguate TSX generic arrows
(es/codegen) Preserve non-null token boundaries
(es/codegen) Parenthesize typed arrow parameters
(es/codegen) Preserve TypeScript token boundaries
(es/codegen) Emit space after div if rhs starts with a regex
(es/codegen) Preserve optional call type arguments
(es/compat) Scope private access modes to each member
(es/fixer) Preserve TypeScript expression grouping
(es/fixer) Preserve TypeScript operand grouping
(es/fixer) Avoid panicking on recovered parenthesized assignment targets
(es/fixer) Preserve optional chain boundaries
(es/fixer) Wrap function declarations in sloppy-mode loop bodies
(es/minifier) Bound literal expressions copied by the sequential inliner
(es/minifier) Preserve rest array identity when its reference runs more than once
(es/minifier) Keep
trimLeftandtrimRighton string literals(es/minifier) Keep directive prologue when merging if returns
(es/minifier) Preserve new async and generator
(es/minifier) Release utils API required by registry builds
(es/parser) Isolate enum await context
(es/parser) Allow await function names in async arrow parameters
(es/parser) Preserve invalid JSX numeric entities as literal text
(es/parser) Allow namespace await identifiers
(es/parser) Align TypeScript expression lookahead
(es/parser) Do not treat optional get/set fields as accessors
(es/parser) Recover non-entity expressions in TypeScript heritage clauses
(native) Allow unmapped overflow owners in Linux cache ancestors
(native-addon) Use ProgramData after unsafe Windows profile caches
(react-compiler) Preserve intrinsic JSX tags during binding renames
(ts/fast-strip) Preserve runtime boundaries during type erasure
Features
(es/minifier) Inline async function used only once
(es/minifier) Implement more rules for if-break
Performance
(es/parser) Streamline numeric separator stripping
(hstr) Allow Atom::as_str to inline across crates