@swc/wasm
Advanced tools
Changelog
[1.13.2] - 2025-07-22
(es/minifier) Remove the last break in the second switch (#10923) (3ed4a12)
(es/parser) Reject malformed phase import statements (#10912) (5fde348)
(swc_core) Add default-features = false
to drop stacker
(#10916) (38b45b7)
(es/compiler) Merge private_in_object
and static_blocks
(#10909) (c1405da)
(es/compiler) Merge export_namespace_from
(#10917) (ba6cc71)
Opus
and allow assigning to the claude-bot
(3275b9c)Changelog
[1.13.1] - 2025-07-19
(es/compat) Properly handle rest assignment in for-in/of RHS (#10883) (5d11851)
(es/decorators) Handle empty class members (#10892) (fe44972)
(es/minifier) Hoist props when only props are used (#10891) (452fc98)
(es/minifier) Recursively check stmt for variable when inlining function (#10896) (e37a93d)
(es/minifier) Termination check when stmts containing switch (#10898) (4429b20)
(es/parser) Fix parsing of JSX identifiers (#10894) (0047c39)
(ts/fast-strip) Strip private method overloads (#10886) (cdb6e87)
Changelog
[1.13.0] - 2025-07-17
(es/lexer) Disallow legacy octal literals as BigInt (#10867) (430fbf4)
(es/minifier) Restrict IIFE inlining in class contexts (#10879) (a01b54a)
(es/parser) Mark static
as reserved in strict mode (#10861) (5bdddd7)
(es/minifier) Enhance IIFE invoker for arrow functions (#10860) (2b1ce3d)
(plugin/runner) Use wasmer-wasix sys-minimal feature to reduce binary size (#10638) (b5f704a)
(es/lexer) Reduce comparison while reading numbers (#10864) (c6ba5c2)
(es/lexer) Remove unnecessary check when reading keywords (#10866) (4aefe0e)
(swc_error_reporters) Avoid creating miette handler when no diagnostics (#10852) (93b318f)
Changelog
[1.12.14] - 2025-07-14
(es/minifier) Don't inline arrow when it contain this
(#10825) (8b43bb3)
(es/parser) Make export
in NS to not affect file type (#10799) (ae22033)
(es/parser) Correctly check ambient context (#10802) (f97ea03)
(es/parser) Enable support for dynamic import with defer
phase (#10845) (097d29d)
(plugin) Remove bytecheck
to make Wasm plugins backward compatible (#10842) (30ad808)
(bindings) Fix dependency issues (7c57fbb)
(deps) Update class-validator
to avoid comments (#10819) (bacfa4b)
(ide) Enable --workspace
for rust-analyzer check (#10809) (92647ff)
(es/helpers) Make inline helpers optional at compile time (#10808) (53f3881)
(es/lints) Remove warnings without features (#10794) (41d507f)
(es/parser) Reduce call to parse_decorators
(#10846) (356d3a0)
(es/preset-env) Use strpool,phf for corejs2 data (#10803) (1652fd8)
(es/react) Remove redundant replace
calls (#10795) (a670b37)
(hstr) Make the deallocation of Atom
s explicit (#10813) (406433d)
Changelog
[1.12.11] - 2025-07-08
(es) Use default-features = false
for swc
crate usages (#10776) (50b2eac)
(preset-env) Fix default
value for caniuse
(#10754) (aa4cd5b)
(es/minifeir) Inline lazily initialized literals (#10752) (fd5d2e2)
(es/minifier) Evaluate Number.XXX
constants (#10756) (c47dab5)
(es/minifier) Implement partial evaluation of array join (#10758) (bdf3a98)
(swc_core) Expose swc_ecma_parser/unstable
(#10744) (db0679e)
(deps) Remove unused deps with cargo-shear (#10765) (f4e4974)
(es/module) Drop node
feature of swc_ecma_loader
(#10761) (44471b5)
(plugin/runner) Remove unused feature and dependency (#10764) (a7d8a0a)
(es/lexer) Do not scan number if there's no underscore (#10788) (f5d92ee)
(es/parser) Reduce the number of context set ops (#10742) (08b4e8b)
(es/parser) Reduce value set operations for context (#10751) (4976b12)
(es/parser) Reduce query ops of current token (#10766) (4304f91)
(es/parser) Remove useless call in parse_ident
(#10770) (4ca12c9)
(es/renamer) Reduce time complexity in case of conflict (#10749) (0279914)
(hstr) Do not compare string during creating atoms (#10791) (43a4f11)
(es) Make swc_ecma_lint
optional for swc
crate (#10767) (f80415b)
(es/preset) Remove deprecated preset_env
function and feature
module (#10759) (fa0e0ab)
(es/preset-env) Use phf for corejs3 entry (#10712) (658b26d)
(es/minifier) Update the terser test list (#10748) (1eace01)
(es/minifier) Update the passing test list (#10782) (8aa888b)
(es/parser) Add a test for duplicate labels (#10784) (28fc643)