Packages

@swc/wasm

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

Your version

1.7.0

18 Jul 2024Where it was published

1.16.21 is the newest release of 1.x.

In short

6 new6 faster19 fixed18 internal

Release note

What's Changed

  • es/compat: Consider only the variables used in the closure

  • bindings/wasm: Shrink the size of the wasm file

  • allocator: Initialize package

  • es/typescript: Handle unicode for fast ts strip

  • es/typescript: Add a benchmark for fast TS strip

  • es/modules: Fix lint issue

  • es/minifier: Fix case matching

  • es/visit: Introduce standard_only_* macros

  • es/utils: Support for arrays using cast_to_number

  • es/ast: Rollup merge of breaking changes

  • es/compat: Add support for destructuring with BigInts

  • es/minifier: Fix compress pow NaN

  • es/minifier: Fix variable declaration in default branch

  • bindings: Invert Wasm size shrink

  • es/minifier: Check this in function params

  • es/fixer: Wrap in expr in for-in head

  • allocator: Implement SwcAlloc

  • allocator: Fix allocator & add benchmark

  • es/typescript: Add transform mode back to fast TS strip

  • allocator: Drop scoped_tls

  • allocator: Add a cargo feature

  • es/codegen: Fix codegen of large numeric literals

  • es/minifier: Remove optimization for array pattern

  • allocator: Implement default mode

  • es/typescript: Fix transform mode

  • allocator: Remove wrong assertions and add tests

  • es: Rollup merge of breaking changes

  • es/minifier: Fix exponentiate operator

  • es/minifier: Fix panic in bitwise logic and incorrect values

  • es/minifier: Collect raw str values for new Tpl element

  • es/quote: Fix macro

  • es/typescript: Workaround wasm-bindgen