Packages

@swc/wasm

1.16.21 · 31 Oct 2026Apache-2.01.3M / weekRepositoryHomepagenpmAtom feed

Your version

1.16.2

4 Sep 2026Where it was published

1.16.21 is the newest release of 1.x.

In short

1 removed2 new17 fixed7 internal

  • removed

    (es/decorators) Drop params from getter replacing decorated private method

Release note

Bug Fixes

  • (es/compat) Preserve for-of var binding scope

  • removed

    (es/decorators) Drop params from getter replacing decorated private method

  • (es/flow) Preserve Flow component type semantics

  • (es/minifier) Mark for update and test as executed multiple time

  • (es/minifier) Report for loop var decl as assign

  • (es/minifier) Don't replace value-used console.*.bind() calls with undefined

  • (es/minifier) Drop spans of cached globals values

  • (es/minifier) Preserve effects of returned value calls

  • (es/minifier) Avoid JSX sequence inlining loop

  • (es/minifier) Preserve bindings in copied inline arrows

  • (es/minifier) Preserve do-while control-flow targets

  • (es/minifier) Preserve pure annotation ownership

  • (es/parser) Retry ambiguous Program parsing

  • (es/parser) Preserve await grammar boundaries

  • (es/quote) Restore await parsing

  • (es/typescript) Treat const variable references as enum constants

  • (swc) Key optimizer env cache by configured values

  • (visit) Panic on invalid AST paths

Features

  • (es/minifier) Evaluate Math.floor, Math.ceil, Math.round and Mat…

  • (es/parser) Add opt-in parser-only TSRX lowering