@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
1 removed33 new7 faster10 fixed17 internal
- removed
Remove --no-verify flag from cargo mono publish
Release note
Bug Fixes
(cli) Honor externalHelpers=false in rust binary
(cli) Skip mkdir when --out-file targets the current directory
(es/decorators) Resolve 2022-03 issues #9565/#9078/#9079 and add regressions
(es/fixer) Wrap new opt chain
(es/flow) Normalize module await bindings for Hermes parity
(es/minifier) Fix compatibility for Wasm plugin (
swc_ast_unknown)(es/module) Preserve explicit index.js import path when baseUrl is set
(es/module) Avoid rewriting unknown relative extensions
(es/regexp) Implement transform-named-capturing-groups-regex
(es/types) Add new options types
(malloc) Fallback to system allocator on linux gnu s390x/powerpc
Update lz4_flex to resolve RUSTSEC-2026-0041
Features
(bindings) Add linux ppc64le and s390x support across npm bindings
(bindings) Enable flow strip support in @swc/core
(cli) Enable Flow strip support in swc_cli_impl
(dbg-swc) Add flow strip verification command
(es) Add
swc_es_codegenforswc_es_ast(es) Add 2-pass transformer and minifier crates
(es) Add TypeScript + React transforms and tsc corpus tests
(es/helpers) Prevent recursive instanceof helper transforms
(es/parser) Add
with_capacityforCapturing(es/parser) Add flow syntax mode and strip integration
(es/parser) Finish flow strip support for core syntax gaps
(es/parser) Extend flow declare export strip compatibility
(es/parser) Support Flow declare export default interface strip path
(es/parser) Add Hermes Flow parity harness and fixes
(es/parser) Complete Hermes Flow stripping parity
(es/proposal) Add decorators 2023-11 support
(es/react-compiler) Scaffold SWC port of Babel entrypoint
(es/react-compiler) Phase1 crate API baseline and fixture harness
(es/react-compiler) Strict upstream parity finalization (crate-only, WIP)
(es/react-compiler) Advance strict upstream parity
(es/react-compiler) Advance upstream fixture parity pipeline
(es/semantics) Add scope analysis and statement-level cfg
(es_parser) Complete parity suite with zero ignores
(es_parser) Complete internal parser wiring without ecma runtime dep
(es_parser) Expand benchmark corpus
(react-compiler) Advance SWC upstream fixture parity
(react-compiler) Improve lint rename and gating parity
(swc_es_parser) Enforce full parity suite and extend grammar surface
(swc_es_parser) Complete lossless modeling for with/TS module/decorators
(swc_es_parser) Close parity gaps with full core/large fixture pass-fail parity
Complete core parity parser coverage
Performance
(es/modules) Avoid export sort key clones
(es/parser) Reduce JSX identifier rescan allocations
(es/parser) Optimize underscore stripping in numeric literal hot path
(es/transformer) Remove O(n^2) statement mutation hotspots
(es_parser) Byte-search lexer optimization pass
(es_parser) Reduce lookahead and allocation overhead
(ts/fast-strip) Avoid token capture in default transform path
Ci
- removed
Remove --no-verify flag from cargo mono publish