包详细信息

@swc/core-linux-arm64-musl

swc-project10.5mApache-2.0 AND MIT1.13.5

Super-fast alternative for babel

swc, swcpack, babel, typescript

自述文件

@swc/core-linux-arm64-musl

This is the aarch64-unknown-linux-musl binary for @swc/core

更新日志

Changelog

[unreleased]

Bug Fixes

  • (es/minifier) Preserve array.join with nullable values (#10937) (e495403)

Features

  • (es/minifier) Remove unused parts of destructuring (#11024) (b5fed8c)

Refactor

[1.13.4] - 2025-08-21

Bug Fixes

  • (es/minifier) Skip serde of pure_funcs in options (#10969) (862e70d)
  • (es/minifier) Fix compile error with debug feature (#10999) (831eed5)
  • (es/minifier) Don't eliminate class expr if some side effects contain this (#11003) (18aeac6)
  • (es/module) Support optional chaining in import.meta (#10985) (758d8ec)
  • (es/parser) Allow TS type args to start with LSHIFT (<<) to parse T<<S>() => void> (#10996) (4911ec7)
  • (ts/isolated-dts) Correct optional marker for class fields generated from constructor parameter (#10992) (0d680fd)

Features

  • (bindings/html) Add keep-head-and-body for tagOmission in binding (#11014) (1e1ebeb)

Miscellaneous Tasks

Performance

  • (es/minifier) Use bitflags for context of the Pure pass (#10953) (8cd5c58)
  • (es/parser) Introduce checkpoint to reduce clone (#11001) (cda08d1)
  • (es/parser) Remove OneDirectionalList and reduce allocation of Vec (#11000) (0088ab8)

Refactor

  • (es/minifier) Remove duplicate report assign (#11009) (9590e1d)
  • (plugin/runner) Switch wasmtime-wasi to wasi-common (#10979) (c4114d5)

[1.13.3] - 2025-07-29

Bug Fixes

  • (es/minifier) Check exported when optimize last expr (#10939) (f6f15f3)
  • (es/minifier) Don't optimize Number properties when Number is shadowed (#10947) (40a1e2e)

Performance

  • (es/minifier) Remove visitor of CharFreqAnalyzer (#10928) (65534ff)

[1.13.2] - 2025-07-22

Bug Fixes

  • (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)

Features

  • (es/compiler) Merge private_in_object and static_blocks (#10909) (c1405da)

Miscellaneous Tasks

  • (claude) Use Opus and allow assigning to the claude-bot (3275b9c)

Performance

  • (es/parser) Reduce check during parsing binding (#10905) (92ca5ec)

Refactor

  • (es/preset-env) Apply swc_ecma_compiler in preset env (#10921) (6f5b72a)

Testing

[1.13.1] - 2025-07-19

Bug Fixes

  • (es/compat) Properly handle rest assignment in for-in/of RHS (#10883) (5d11851)
  • (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)
  • (ts/fast-strip) Strip private method overloads (#10886) (cdb6e87)

Testing

[1.13.0] - 2025-07-17

Bug Fixes

  • (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)

Features

  • (es/minifier) Enhance IIFE invoker for arrow functions (#10860) (2b1ce3d)
  • (plugin/runner) Use wasmer-wasix sys-minimal feature to reduce binary size (#10638) (b5f704a)

Performance

  • (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)

Refactor

  • (es/parser) Remove duplicate check for reservedness (#10850) (4897bfd)
  • (es/parser) Remove span swap operation in parser (#10854) (32f4bb8)

[1.12.14] - 2025-07-14

Bug Fixes

  • (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)

Features

  • (es/parser) Enable support for dynamic import with defer phase (#10845) (097d29d)
  • (plugin) Remove bytecheck to make Wasm plugins backward compatible (#10842) (30ad808)

Miscellaneous Tasks

  • (bindings) Fix dependency issues (7c57fbb)
  • (deps) Update class-validator to avoid comments (#10819) (bacfa4b)
  • (ide) Enable --workspace for rust-analyzer check (#10809) (92647ff)

Performance

Refactor

  • (es/helpers) Make inline helpers optional at compile time (#10808) (53f3881)
  • (es/preset-env) Use strpool,phf for corejs2 data (#10803) (1652fd8)
  • (hstr) Make the deallocation of Atoms explicit (#10813) (406433d)

Testing

  • (es/plugin) Test memory layout of archived types (#10841) (502e991)

[1.12.11] - 2025-07-08

Bug Fixes

  • (es) Use default-features = false for swc crate usages (#10776) (50b2eac)

Features

  • (es/minifeir) Inline lazily initialized literals (#10752) (fd5d2e2)
  • (es/minifier) Implement partial evaluation of array join (#10758) (bdf3a98)

Miscellaneous Tasks

  • (es/module) Drop node feature of swc_ecma_loader (#10761) (44471b5)
  • (plugin/runner) Remove unused feature and dependency (#10764) (a7d8a0a)

Performance

  • (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)

Refactor

  • (es) Make swc_ecma_lint optional for swc crate (#10767) (f80415b)
  • (es/preset) Remove deprecated preset_env function and feature module (#10759) (fa0e0ab)

Testing

Pref

[1.12.9] - 2025-07-01

Bug Fixes

  • (es/lexer) Parse uppercase hex numbers correctly (#10728) (ead6256)
  • (es/lexer) Allow keywords as jsx attribute names (#10730) (04ef20a)
  • (es/minifier) Do not drop self-referential class expressions (#10710) (39e6c2e)
  • (es/minifier) Mark cons and alt of CondExpr as ref (#10740) (9649cc8)
  • (es/parser) Allow non-prop operand in delete (#10733) (38132e0)

Features

  • (es/transforms) Expose tsEnumIsMutable to JS (#10716) (6b3ae00)

Performance

  • (es/minifier) Make CharFreq::scan in mangler table-based (#10679) (04d39aa)

Refactor

Testing

[1.12.7] - 2025-06-26

Bug Fixes

  • (es/minifier) Fix condition for preserving properties (#10694) (5c57a05)
  • (es/minifier) Drop pure tagged string call expr (#10702) (85cd9a7)
  • (es/parser) Improve error message for template literals (#10690) (a066b76)
  • (es/parser) Support keywords as JSX member expression properties (#10701) (643253d)

Features

  • (es/parser) Enable import attributes unconditionally (#10706) (5ecc3ca)
  • (es/parser) Expose Token API with unstable feature flag (#10699) (750c7d4)

Performance

Testing

[1.12.6] - 2025-06-24

Bug Fixes

  • (es/parser) Throw error if JSX does not end with > (#10687) (cb3d6db)
  • (es/react-compiler) Use tsx syntax for parser (#10682) (a355e37)
  • (ts/isolated-dts) Skip parameters without accessibility modifiers in private constructors (#10675) (1976d8e)

Features

  • (ts/fast-strip) Support JSX under a feature flag (#10656) (6a70d17)

Miscellaneous Tasks

  • (ecosystem-ci) Exclude react-leaflet (cfbb1f9)

Performance

  • (es/lexer) Optimize number literal parsing with fast path (#10655) (15d0828)
  • (es/lexer) Reduce allocations while lexing numbers (#10667) (115d228)
  • (es/lexer) Introduce byte_search to reduce comparison operations (#10668) (3806ffd)
  • (es/lexer) Optimize lexing of numbers with separators (#10665) (cac651b)

Refactor

Build

[1.12.5] - 2025-06-21

Bug Fixes

  • (es/parser) Consider reseved ident in jsx name (#10647) (9262a59)

Performance

Refactor

[1.12.4] - 2025-06-20

Bug Fixes

  • (es/minifier) Fix Buffer handling of minify() API (#10643) (cdf068e)
  • (es/parser) Don't be greedy in the end of jsx open el (#10637) (8a2c656)

Refactor

[1.12.3] - 2025-06-19

Bug Fixes

  • (es/codgen) Emit leading comments of JSXExprContainer (#10627) (2d2162a)

[1.12.2] - 2025-06-19

Bug Fixes

  • (ci) Fix build of @swc/minifier (0dc5244)
  • (es/codegen) Fix .map path when using output_path (01e5bd1)
  • (es/parser) Allow type ann in jsx expr child (#10626) (48f576c)
  • (swc) Fix wrong caching of resolvers regarding file exts (#10615) (68aacd1)
  • (ts/isolated-dts) Emit properties in overloaded constructor params (#10623) (6634ef1)

Features

  • (swc_common) Allow returning None in try_lookup_source_file (#10625) (d8e2405)

Performance

  • (es/minifier) Avoid calling some costly function when optimizing deep nested binary expr (#10611) (1434571)
  • (es/minifier) Remove needless JSON conversion (#10628) (4a58dca)

Refactor

[1.12.1] - 2025-06-12

Bug Fixes

  • (es/minifier) Fix top level detection of DCE (#10603) (964a560)

Features

[1.12.0] - 2025-06-10

Bug Fixes

  • (es/codegen) Don't call cmt.get_leading for dummy span (#10568) (16e204d)
  • (es/parser) Disallow spread operator(...) in JSX attribute values (#10587) (8deba78)
  • (es/typescript) Pass native_class_properties (#10561) (7e4cd9a)
  • (es/typescript) Handle export declare var in namespace (#10579) (2daa17f)
  • (ts/isolated-dts) Add edges SymbolFlags::Value and SymbolFlags::Type in exports (#10577) (e6d4da2)

Documentation

  • (contributing) Add a script to patch local projects (#10565) (3ac0a21)

Features

  • (es/minifier) Regex support for format.comments (#10571) (e441df5)
  • (es/module) Add support for import.meta.main in AMD and CJS (#10596) (759de2e)

Miscellaneous Tasks

  • (plugin/runner) Update virtual-fs to dedupe dependencies (#10594) (de667bb)

Refactor

  • (swc_common) Use BytesStr instead of Lrc<String> (#10580) (6f00973)

Testing

[1.11.31] - 2025-06-05

Bug Fixes

  • (es/codegen) Exclude constructor from source map names (#10551) (ef85640)
  • (es/fixer) Fix a bug with awaited arrow fn expression (#10555) (9dfdfa6)
  • (es/minifier) Inline object of member if prop is an ident (#10548) (e554381)
  • (es/minifier) Add side effect check for test expr when compressing IfStmt (#10550) (3e9728e)
  • (es/parser) Emit syntax errors for strict mode in non-module or scripts (#10545) (1291b4a)
  • (es/react-compiler) Fix usefulness detection (#10506) (41075a1)
  • (swc_common) Fix skip condition for sourcemap (#10562) (cbee0df)
  • (swc_common) Fix skip condition for sourcemap, really (#10563) (14feedb)
  • (ts/fast-dts) Correctly emit Symbol-keyed accessors in declarations (#10508) (1298e76)
  • (ts/fast-dts) Ensure correct emission of template literals and symbol-keyed properties (#10530) (8dbdbef)

Features

Miscellaneous Tasks

  • (ecosystem-ci) Exclude ts-node (2b284e1)

Performance

  • (es/minifier) Merge PropertyCollector into usage analyzer (#10514) (505bf54)
  • (es/parser) Reduce comparison while reading logical (#10526) (2bc551c)

Refactor

  • (es/codegen) Migrate to ryu-js for numeric literal codegen (#10503) (4bc4244)
  • (ts/fast-dts) Derive computed flags from source code (#10510) (a2d5664)

[1.11.29] - 2025-05-21

Bug Fixes

  • (@swc/types) Add transform.nativeClassProperties (#10418) (f3af44c)
  • (@swc/types) Add resolveFully to BaseModuleConfig (#10426) (164cbaa)
  • (ci) Remove wasmer override (425eeb9)
  • (es/compat) Properly handle rest assignment in for-in/of head (#10489) (b9c0446)
  • (es/jest) Hoisting vars with names starting with mock (#10410) (a29eb29)
  • (es/minifier) Properly handle object shorthand syntax during compression (#10467) (bae4940)
  • (es/optimization) Support decimal numbers in jsonify (#10424) (affdec2)
  • (es/react-compiler) Mark function components declared as a var interesting (#10437) (5eac076)
  • (es/renamer) Fix (broken) identifier preserving API (#10474) (06c64cf)
  • (ts/fast-dts) Emit readonly for Object getter prop (#10492) (6c03e20)
  • (ts/fast-dts) Align object getter/setter emit behavior with TypeScript (#10502) (78c754e)

Features

  • (common) Allow using build_sourcemap with multiple SourceMap (#10438) (2a07c8a)
  • (common) Add ignoreList support for sourcemap (#10442) (6750459)
  • (es/module) Add support for stripping "node:" prefix in imports and exports (#10461) (ae2ff62)
  • (es/react-compiler) Initialize support crate (#10422) (1e88e6b)

Miscellaneous Tasks

Performance

  • (common) Accept owned instance of sourcemap::SourceMap (#10463) (6ee439a)
  • (es/minifier) Remove needless collect_decls call (#10450) (8e4b6ce)
  • (es/minifier) Perform full analysis only once for DCE (#10454) (61baf84)
  • (es/optimization) Rely on resolver from inline_globals (#10449) (1978809)
  • (es/utils) Stop visiting once found in EvalFinder (#10483) (3402270)

Refactor

  • (es/minifier) Merge label/private name renamer (#10480) (5add84d)
  • (es/parser) Split parser into also-lex/parse-only (#10399) (26289ab)
  • (es/transforms) Unify preset_env and es_version transform (#10451) (6546c27)

Build

[1.11.23] - 2025-04-29

Bug Fixes

  • (es/compat) Remove PURE mark from _async_to_generator (#10414) (1c6f65c)
  • (es/proposal) Preserve class id for hoisted classes when transforming using declarations (#10407) (b703f21)

Refactor

  • Use debug level tracing for ast related tracing (#10411) (3a0fa99)

[1.11.22] - 2025-04-23

Bug Fixes

  • (es/parser) Parse export default from; with exportDefaultFrom: true option (#10373) (a270cb0)
  • (es/proposal) Fix exported class for explicit-resource-management (#10393) (6b5dbc6)

Features

  • (bindings/core) Enhance existing parse function to accept both string and buffer types(#10371) (c9a2afc)

Miscellaneous Tasks

Performance

  • (es/minifier) Use bigflags to reduce context size of analyzer (#10380) (773d19c)
  • (es/minifier) Use bitflags to reduce context size of InfectionCollector (#10387) (126d432)
  • (es/minifier) Use bitflags to reduce compress context size (#10381) (99495bd)
  • (es/parser) Move found_module_item to Parser (#10388) (fd52c5c)

Refactor

Testing

[1.11.21] - 2025-04-14

Bug Fixes

  • (es/helpers) Sync tslib _ts_generator implementation (#10366) (d3fb992)
  • (es/proposal) Fix scope of declarations for explicit-resource-management (#10362) (eb7f7e9)

Miscellaneous Tasks

Performance

  • (es/parser) Add initial capacitity for some vectors (#10361) (7b7b50e)
  • (es/parser) Use bitflags to reduce parser context size (#10367) (a2d3596)
  • (es/parser) Replace byte arguments with generics (#10370) (68f7667)
  • (es/parser) Use arrayvec and unsafe push to optimize escaped string parsing (#10369) (e12ae1c)

[1.11.20] - 2025-04-11

Bug Fixes

  • (error_reporters) Removing unused code to fix clippy check (#10338) (5970f93)
  • (es/minifier) Preserve block with block scoped declaration (#10335) (a4ac3b7)
  • (es/parser) Allow abstract method named accessor (#10327) (3f71776)
  • (es/preset-env) Consider browserslist config if env.target is not configured (#8921) (a2dc372)
  • fix(es/compat): Remove one promise tick in yield* (tc39/ecma262#2819) (#10317)

Related issue:

  • babel/babel#14877
  • tc39/ecma262#2819 (3fb1950)

Features

  • (errors) Integrate miette for enhanced diagnostic reporting (#10241) (156c3b1)
  • (es/codegen) Support sourceMap.url option of terser (#10346) (566bc7c)

Miscellaneous Tasks

  • (es/helpers) Update peer dependency version for @swc/helpers to >=0.5.17 (#10321) (ddbf3e1)

Performance

  • (es/ast) Reduce redundant string comparison for Atoms (#10323) (3ce9d81)

Testing

  • (es) Unignore tests and update node to 20 in exec tests (#10348) (eee73ce)

[1.11.18] - 2025-04-07

Bug Fixes

  • (es/codegen) Ensure proper Unicode escape handling for ES5 and below #10028 (#10309) (7f76fa3)
  • (node) Fix worker_threads issue on glibc platform (#10306) (1d1ff9e)

Features

  • (ts/isolated-dts) Distinguish js value and ts type (#10316) (c480604)

Refactor

  • (es/codegen) Split lib.rs into multiple files (#10304) (5a07a5d)
  • (es/codegen) Refactor macro to inverse order (#10297) (78f907f)

Testing

[1.11.16] - 2025-04-01

Miscellaneous Tasks

[1.11.15] - 2025-04-01

Bug Fixes

  • (bindings/node) Fix build on platforms without plugin (#10301) (3faae55)
  • (es) Do not reuse Compiler for minify() and transform() (#10273) (63bd8a1)
  • (es/bugfix) Do not rename in non-ident-function (#10274) (48b6bdb)
  • (es/minifier) Remove unnecessary check when invoke IIFE (#10257) (6b75775)
  • (es/parser) Parser a program as a module with TLA in non-expression statement (#10287) (157c52a)

Documentation

  • Add star history to README.md (b51eea9)

Features

  • (es) Add Rust plugin host part for analysis API (#10285) (d213a84)
  • (es) Add analysis API and refactor output API (#10288) (a53c60d)
  • (es/minifier) Allow disabling char frequency analysis (#10259) (50c62d1)
  • (es/minifier) Merge expression with empty return (#10283) (c276a38)
  • (es/minifier) Optimize code generated by optional chaining (#10292) (0d88041)
  • (es/minifier) Support reduce_escaped_newline (#10232) (64fb286)
  • (ts/fast-strip) Improve error message format (#10298) (29c4afb)

Miscellaneous Tasks

Performance

  • (es/minifier) Process cons and alt of IfStmt in parallel (#10262) (ccb6eb8)
  • (es/minifier) Move logic to the pure minifier (#10264) (7ecd807)
  • (es/minifier) Use swc_par_iter instead of rayon (#10267) (78e37a1)

Refactor

Testing

  • (es/minifier) Update the terser passing test list (#10263) (1d91571)

[1.11.13] - 2025-03-24

Features

Performance

  • (es/minifier) Merge expr_simplifier into pure optimizer (#10202) (9c9b0ba)

[1.11.12] - 2025-03-23

Bug Fixes

  • (es/minifier) Make inline_globals noop by default (#10231) (b192dc8)
  • (es/minifier) Fix access to GLOBALS in char freq compute (#10239) (6286663)

Documentation

Features

  • (es/fast-lexer) Enhance identifier handling with Unicode support (#10226) (482b63a)
  • (ts/fast-strip) Add start/end span information (#10251) (ab39a62)
  • (ts/fast-strip) Improve error message snippet (#10253) (f4f426c)

Performance

  • (es/minifier) Merge dead_branch_remover into pure optimizer (#10201) (6841523)

[1.11.11] - 2025-03-17

Bug Fixes

  • (es/minifier) Do not drop numbers incorrectly (#10211) (80ccd86)
  • (es/minifier) Allow TypeScript nodes to fix styled-jsx (#10221) (9d87d4d)

Features

Miscellaneous Tasks

Refactor

Testing

  • (es/minifier) Remove full tests with too large input (#10213) (99b590f)

[1.11.10] - 2025-03-17

Bug Fixes

  • (es/proposal) Fix declarations for explicit-resource-management (#10198) (99ba555)
  • (es/types) Add missing types for jsc.transform.react.refresh (#10206) (e71b000)
  • (typescript) Skip the body of ArrowExpr in type usage analysis (#10187) (9aca205)

Documentation

  • (es/minifier) Make minifier example utilize comments (#10195) (ec3ebe7)

Features

  • (es/fast-parser) Implement the initial version (#10185) (44e7c39)

Miscellaneous Tasks

Performance

  • (es/minifier) Do not repeat applying pure minifier on last (#10196) (e6b7cee)

Refactor

Testing

  • (es/minifier) Add a benchmark for real-world inputs (#10204) (97f2180)
  • (es/minifier) Disable real-world benchmarks on CI (#10205) (c5f1cbe)
  • (es/minifier) Test only sizes for large inputs (#10208) (bec3e3e)

[1.11.9] - 2025-03-12

Bug Fixes

  • (es/compat) Hoist arguments in object method while lowering async functions (#10167) (e764df2)
  • (es/minifier) Check array inline for indexed with dynamic key (#10184) (c2fe4bf)

Features

  • (es/module) Support more import.meta properties (#10179) (11727a6)
  • (ts/fast-strip) Throw js object instead of map (#10186) (2da0142)

Performance

  • (es/fast-lexer) Use memchr for skip_line_comments (#10173) (35194e3)
  • (es/fast-lexer) Use SIMD properly for string literals (#10172) (be60338)
  • (es/fast-lexer) Add length-based fast path for keywords (#10176) (1f70af8)
  • (es/fast-lexer) Optimize memory layout of cursor (#10175) (aa20494)
  • (es/fast-lexer) Replace PHF with static keyword lookup table (#10181) (56d065e)
  • (es/fast-lexer) Optimize SIMD vector initialization with initialing u8x16 once. (#10183) (435197c)

[1.11.8] - 2025-03-07

Bug Fixes

  • (es/fast-lexer) Fix lexing of numeric literals (#10153) (65d23fe)

Features

  • (ts/fast-strip) Throw an object instead of string (#10162) (241b881)

Performance

  • (es/fast-lexer) Make whitespace skipper use SIMD properly (#10158) (15ea059)

Refactor

Ci

[1.11.7] - 2025-03-04

Features

[1.11.6] - 2025-03-04

Bug Fixes

  • (es/typescript) Remove empty statements that const enum decls are folded into (#10128) (7bea830)

[1.11.5] - 2025-02-28

Bug Fixes

  • (es/lints) Capture errors and emit from the original thread (#10119) (2304cd8)
  • (es/minifier) Skip inlining if the referential identity of a function matters (#10123) (c08fe8d)

Miscellaneous Tasks

Performance

[1.11.4] - 2025-02-27

Bug Fixes

  • (es/minifier) Remove needless println (b1e5b2d)
  • (es/resolver) Analyze variable declarations with declare (#10102) (cff6a64)
  • (swc_malloc) Fix build issue due to malloc, really (#10117) (207a13f)
  • Use jemalloc on platforms that mimalloc fails to build (#10116) (fb75b98)

Miscellaneous Tasks

  • (deps) Update dependency jsonc-parser to v0.26.2 (#10112) (8c5f7ef)

Performance

  • (es/minifier) Improve arrow function inlining cost analysis (#10093) (e74929c)
  • (es/resolver) Remove some vector allocations (#10101) (b65387a)

Refactor

  • (es/react) Remove Lrc from parse_expr_for_jsx (#10098) (bab7704)

[1.11.1] - 2025-02-25

Bug Fixes

  • (error-reporters) Store diagnostics in TransformOutput (#10027) (52caf23)
  • (es/loader) Fix the absolute path check when resolving modules (#10080) (a3894ae)
  • (es/minifier) Fix the order of match arms to inline correctly (#10053) (f0f842d)
  • (es/types) Add transform.verbatimModuleSyntax (#10079) (a883cdc)
  • (swc_common) Fix build with swc_allocator/nightly (#10067) (6a90b1f)

Documentation

Features

  • (es/ast) Add explicit namespace field to distinguish namespace and module declarations (#10023) (76c2cba)
  • (es/ast) Add import attributes to TsImportType (#9796) (7d297be)
  • (es/minifier) Inline across side-effect-free member exprs, (#10056) (19d01d7)
  • (es/minifier) Make seq inliner inline into var without init (#10077) (c4a839b)

Miscellaneous Tasks

  • (deps) Update dependency swc-plugin-coverage-instrument to ^0.0.26 (#10051) (d3fbd21)
  • (swc_allocator) Remove nightly from default feature (#10058) (e78b9d1)
  • (swc_allocator) Add #[inline] to allocator methods (#10066) (853eb53)

Performance

Refactor

  • (es/minifier) Remove CompileUnit to simplify (#10055) (c75578b)

[1.10.18] - 2025-02-19

Bug Fixes

  • (hstr) Prevent memory leak for global stores (#10047) (4718bc0)

Miscellaneous Tasks

  • (es/minifier) Make minify-all example ignore parsing errors (#10045) (6c7ec46)

Build

  • (es) Select optimization level for each crates (#10046) (c28d494)

[1.10.17] - 2025-02-18

Bug Fixes

  • (typescript) Improve type inferring for undefined and null (#10038) (5059ece)
  • (typescript) Remove the usages of private members (#10037) (8410b59)

Performance

  • (hstr) Skip interning if the text is long enough (#10035) (2622e4e)

Testing

  • (ts/fast-strip) Add tests for declare module error cases (#10040) (37672e0)

[1.10.16] - 2025-02-13

Bug Fixes

  • (es/minifier) Check assign target before merge assign cond (#10020) (6dab49a)
  • (es/parser) Preserve comment positions with leading semicolon (#10019) (c9937b6)
  • (swc_common) Fix panic with non-narrow chars with width != 2 (#10011) (f9f4cac)
  • (ts/fast-strip) Handle unsupported module keyword (#10022) (308f5d0)

Performance

  • (es/codegen) Reduce allocation using compact_str (#10008) (7d7319f)

[1.10.15] - 2025-02-08

Bug Fixes

  • (es/minifier) Dont't optimize swtich case before DCE (#9994) (afe21b5)
  • (es/parser, es/codegen) Handle trailing empty slots in array patterns (#9992) (1a87e76)
  • (es/react) Avoid adding __self in constructors of derived class in the jsx_self (#9987) (83f24af)

Features

  • (es/helpers) Update package exports for module-sync and webpack compatibility (#9995) (6f4e7ad)

Performance

  • (es/codegen) Remove needless allocations (#9978) (9c89d57)
  • (es/minifier) Do not clone from take_ident_of_pat_if_unused (#10005) (dc3b46e)
  • (es/minifier) Allocate in once from mark_property_mutation (#10004) (4a90e51)
  • (es/minifier) Limit infection analysis by the entry size (#10006) (1a3a4b9)

[1.10.14] - 2025-02-03

Bug Fixes

  • (es/transforms) Pass unresolved_mark to simplifier instead of top_level_mark (#9989) (963b088)

Features

  • (ts/fast-strip) Support type-only/uninstantiated namespaces (#9983) (a72c6fa)

Performance