@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 new1 faster19 fixed
Release note
Bug Fixes
(es) Preserve numeric property key identity
(es/ast) Support hashing non-finite numbers
(es/codegen) Emit non-finite numeric literals
(es/decorators) Avoid class state leakage for nested undecorated classes
(es/minifier) Apply ToInt32 when folding bitwise NOT
(es/minifier) Avoid inexact number radix folding
(es/minifier) Preserve invalid Array lengths
(es/minifier) Preserve non-canonical arguments access
(es/minifier) Apply ToUint16 in fromCharCode
(es/minifier) Index strings by UTF-16 code unit
(es/minifier) Use numeric literals for non-finite values
(es/minifier) Preserve top-level declarations referenced only by direct eval
(es/optimization) Preserve JSON numeric values
(es/transforms) Use numeric literals for non-finite enum values
(es/typescript) Evaluate cooked enum templates
(html/minifier) Preserve JSON script boundaries
(testing) Check ignored fixtures relative to crate root
(ts/fast-strip) Preserve ASI before interpolated templates
(ts/fast-strip) Preserve UTF-16 source positions
Features
(es/minifier) Expand support for trivial spreads
(es/react-compiler) Expose
reactCompiler.environment.enableFunctionOutlining
Performance
(es/renamer) Skip identity rename mappings on apply