Packages

@swc/core

1.16.22 · 5 Nov 2026Apache-2.061.9M / weekRepositoryHomepagenpmAtom feed

Your version

1.15.10

19 Jan 2026Where it was published

1.16.22 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>

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.