chore(deps): update dependency @swc/core to v1.11.31#2490
Merged
Conversation
tido64
approved these changes
Jun 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.11.24->1.11.31Release Notes
swc-project/swc (@swc/core)
v1.11.31Compare Source
Bug Fixes
(es/codegen) Improve comments handling (#10534) (d9ba838)
(es/codegen) Exclude
constructorfrom source map names (#10551) (ef85640)(es/fixer) Fix a bug with awaited arrow fn expression (#10555) (9dfdfa6)
(es/minifier) Fix missing variable (#10478) (6de3ef6)
(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/minifier) Fix typo in an option name (#10554) (a303941)
(es/parser) Emit syntax errors for strict mode in non-module or scripts (#10545) (1291b4a)
(es/react-compiler) Fix usefulness detection (#10506) (41075a1)
(es/utils) Fix
extract_var_ids(#10511) (5644372)(react-compiler) Fix fast check (#10538) (9403ce2)
(swc_common) Fix build (#10544) (2ed934d)
(swc_common) Fix skip condition for sourcemap (#10562) (cbee0df)
(swc_common) Fix skip condition for sourcemap, really (#10563) (14feedb)
(swc_common) Revert skip condition patch (#10564) (2a2b284)
(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
(es/regexp) Add crates for RegExp (#10525) (4b3f924)
(swc_common) Add
Globals::clone_data(#10543) (39f30b0)(swc_common) Add
map_raw_postoFiles(#10560) (71224c3)Miscellaneous Tasks
(bindings) Use published versions of crates (#10513) (f65f028)
(ecosystem-ci) Exclude
ts-node(2b284e1)Performance
(es/minifier) Merge
PropertyCollectorinto usage analyzer (#10514) (505bf54)(es/minifier) Remove needless clone (#10523) (1c02ef6)
(es/parser) Reduce comparison while reading logical (#10526) (2bc551c)
(es/renamer) Merge analyze/collect (#10509) (7b47f66)
(swc_common) Remove
char_indicescalls (#10541) (51507bc)Refactor
(es/codegen) Migrate to
ryu-jsfor numeric literal codegen (#10503) (4bc4244)(es/lexer) Cleanup code for reading tokens (#10533) (a72092c)
(es/lexer) Share
skip_block_comment(#10549) (b101a87)(es/parser) Share code for parsing strings (#10522) (931a2d6)
(es/parser) Cleanup (#10559) (963ac9e)
(ts/fast-dts) Derive computed flags from source code (#10510) (a2d5664)
v1.11.29Compare Source
Bug Fixes
(@swc/types) Add
transform.nativeClassProperties(#10418) (f3af44c)(@swc/types) Add
resolveFullytoBaseModuleConfig(#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/jest) Revert #10410 (#10452) (bc756f8)
(es/minifier) Properly handle object shorthand syntax during compression (#10467) (bae4940)
(es/module) Handle
__proto__export name (#10420) (1b94c7a)(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
readonlyfor Object getter prop (#10492) (6c03e20)(ts/fast-dts) Align object getter/setter emit behavior with TypeScript (#10502) (78c754e)
Features
(common) Allow using
build_sourcemapwith multipleSourceMap(#10438) (2a07c8a)(common) Add
ignoreListsupport for sourcemap (#10442) (6750459)(config) Allow using glob in some places (#10445) (f7a6359)
(config) Use
globsetinstead (#10446) (7bbaef8)(es/module) Add support for stripping "node:" prefix in imports and exports (#10461) (ae2ff62)
(es/react-compiler) Initialize support crate (#10422) (1e88e6b)
Initialize
@swc/react-compiler(#10475) (883b24c)Miscellaneous Tasks
Performance
(common) Accept owned instance of
sourcemap::SourceMap(#10463) (6ee439a)(es/minifier) Use fxhash for DCE (#10440) (c0ddd96)
(es/minifier) Remove needless
collect_declscall (#10450) (8e4b6ce)(es/minifier) Clear graph eagerly in DCE (#10455) (31e21d7)
(es/minifier) Perform full analysis only once for DCE (#10454) (61baf84)
(es/minifier) Use
bitflagsfor var info (#10459) (36f8385)(es/optimization) Rely on
resolverfrominline_globals(#10449) (1978809)(es/renamer) Merge Id/Def collector (#10487) (73377f0)
(es/utils) Make
IdentUsageFinderparallel (#10444) (d074bca)(es/utils) Stop visiting once found in
EvalFinder(#10483) (3402270)Refactor
(common) Remove useless
&mut(#10405) (edbeb49)(common) Remove unused methods (#10469) (b77311a)
(ecma/transform) Cleanup rename analyzer (#10500) (de51be1)
(es) Remove unused code (#10460) (d344133)
(es) Deduplicate
EvalFinder(#10472) (9f104af)(es/minifier) Remove unused file (#10465) (7d49097)
(es/minifier) Merge label/private name renamer (#10480) (5add84d)
(es/parser) Split parser into also-lex/parse-only (#10399) (26289ab)
(es/parser) Parse shebang and cleanup (#10481) (619873a)
(es/parser) Cleanup usage of
is!andbump!(#10490) (b695b68)(es/renamer) Inline
get_unresolved(#10493) (0f5d9c1)(es/transforms) Unify
preset_envandes_versiontransform (#10451) (6546c27)Build
(plugin) Update
wasmertov6.0.0(#10439) (b9eff3c)Update
rustctonightly-2025-05-06(#10443) (a7cbde7)Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) in timezone Europe/Oslo, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.