Packages

@swc/wasm

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

Your version

1.15.10

19 Jan 2026Where it was published

1.16.21 is the newest release of 1.x.

In short

1 removed6 new2 faster3 fixed14 internal

  • removed

    (es/transformer) Remove OptionalHook wrapper in favor of Option<H>

Release note

Bug Fixes

  • (ci) Handle merged PRs separately in milestone manager

  • (es/compat) Preserve this context in nested arrow functions

  • (es/es2017) Replace this in arrow functions during async-to-generator

Features

  • (bindings/wasm) Enable ecma_lints feature to support semantic error detection

  • (es/hooks) Implement VisitMutHook for Either type

  • (es/hooks) Implement VisitMutHook for Option<H>

  • (es/hooks) Add VisitHook trait for immutable AST visitors

  • (es/minifier) Improve nested template literal evaluation

  • (es/minifier) Remove inlined IIFE arg and param

  • (es/minifier) Remove inlined IIFE arg and param

Performance

  • (es/codegen, es/utils) Migrate to dragonbox_ecma for faster Number::toString

  • (es/react) Optimize JSX transforms to reduce allocations

Refactor

  • removed

    (es/transformer) Remove OptionalHook wrapper in favor of Option<H>