Commit b329145
authored
chore(deps): update swc monorepo (#2098)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/cli](https://redirect.github.com/swc-project/pkgs) | [`0.7.5` ->
`0.7.7`](https://renovatebot.com/diffs/npm/@swc%2fcli/0.7.5/0.7.7) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
| [@swc/core](https://swc.rs)
([source](https://redirect.github.com/swc-project/swc)) | [`1.11.24` ->
`1.11.29`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.11.24/1.11.29)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>swc-project/swc (@​swc/core)</summary>
###
[`v1.11.29`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#11129---2025-05-21)
[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.11.24...v1.11.29)
##### Bug Fixes
- **([@​swc/types](https://redirect.github.com/swc/types))** Add
`transform.nativeClassProperties`
([#​10418](https://redirect.github.com/swc-project/swc/issues/10418))
([f3af44c](https://redirect.github.com/swc-project/swc/commit/f3af44c1540268c02c86b71796f1a0ac50594584))
- **([@​swc/types](https://redirect.github.com/swc/types))** Add
`resolveFully` to `BaseModuleConfig`
([#​10426](https://redirect.github.com/swc-project/swc/issues/10426))
([164cbaa](https://redirect.github.com/swc-project/swc/commit/164cbaa2c02a3216096fa7b969fcfa6575954892))
- **(ci)** Remove wasmer override
([425eeb9](https://redirect.github.com/swc-project/swc/commit/425eeb905656cede2e67cdd114beb5bc2fc6699d))
- **(es/compat)** Properly handle rest assignment in for-in/of head
([#​10489](https://redirect.github.com/swc-project/swc/issues/10489))
([b9c0446](https://redirect.github.com/swc-project/swc/commit/b9c04468f17f0583a132f00daf9d138ce38a9d8b))
- **(es/jest)** Hoisting vars with names starting with mock
([#​10410](https://redirect.github.com/swc-project/swc/issues/10410))
([a29eb29](https://redirect.github.com/swc-project/swc/commit/a29eb2973365ae22cae0fde6e20693b538962cf9))
- **(es/jest)** Revert
[#​10410](https://redirect.github.com/swc-project/swc/issues/10410)
([#​10452](https://redirect.github.com/swc-project/swc/issues/10452))
([bc756f8](https://redirect.github.com/swc-project/swc/commit/bc756f84c9b1c154fe7f00193066301658ef1484))
- **(es/minifier)** Properly handle object shorthand syntax during
compression
([#​10467](https://redirect.github.com/swc-project/swc/issues/10467))
([bae4940](https://redirect.github.com/swc-project/swc/commit/bae494039d49967c05c6d34645de25ade13aac33))
- **(es/module)** Handle `__proto__` export name
([#​10420](https://redirect.github.com/swc-project/swc/issues/10420))
([1b94c7a](https://redirect.github.com/swc-project/swc/commit/1b94c7a7fb8c55200faa474448f2cc29612f6aa0))
- **(es/optimization)** Support decimal numbers in `jsonify`
([#​10424](https://redirect.github.com/swc-project/swc/issues/10424))
([affdec2](https://redirect.github.com/swc-project/swc/commit/affdec2be84d58ac30f91bf17325bd3095e1ce46))
- **(es/react-compiler)** Mark function components declared as a var
interesting
([#​10437](https://redirect.github.com/swc-project/swc/issues/10437))
([5eac076](https://redirect.github.com/swc-project/swc/commit/5eac076b77fa43649cde468deee49771a987781c))
- **(es/renamer)** Fix (broken) identifier preserving API
([#​10474](https://redirect.github.com/swc-project/swc/issues/10474))
([06c64cf](https://redirect.github.com/swc-project/swc/commit/06c64cf9ed0e84891daf102f8756fcb1ee516527))
- **(ts/fast-dts)** Emit `readonly` for Object getter prop
([#​10492](https://redirect.github.com/swc-project/swc/issues/10492))
([6c03e20](https://redirect.github.com/swc-project/swc/commit/6c03e20a98b239572c29424165d6031207a7340d))
- **(ts/fast-dts)** Align object getter/setter emit behavior with
TypeScript
([#​10502](https://redirect.github.com/swc-project/swc/issues/10502))
([78c754e](https://redirect.github.com/swc-project/swc/commit/78c754e7a6057c07db077f2954a11d0eb7eb7276))
##### Features
- **(common)** Allow using `build_sourcemap` with multiple `SourceMap`
([#​10438](https://redirect.github.com/swc-project/swc/issues/10438))
([2a07c8a](https://redirect.github.com/swc-project/swc/commit/2a07c8a9c223cbb3862cf7aaafa7659667d13b6e))
- **(common)** Add `ignoreList` support for sourcemap
([#​10442](https://redirect.github.com/swc-project/swc/issues/10442))
([6750459](https://redirect.github.com/swc-project/swc/commit/6750459d9180048a39c11e14b02c9bfed251a12e))
- **(config)** Allow using glob in some places
([#​10445](https://redirect.github.com/swc-project/swc/issues/10445))
([f7a6359](https://redirect.github.com/swc-project/swc/commit/f7a635985e8bf9654ed999b3d4da72b4a27e7fda))
- **(config)** Use `globset` instead
([#​10446](https://redirect.github.com/swc-project/swc/issues/10446))
([7bbaef8](https://redirect.github.com/swc-project/swc/commit/7bbaef8b170348839f1b43617244c1809896c094))
- **(es/module)** Add support for stripping "node:" prefix in imports
and exports
([#​10461](https://redirect.github.com/swc-project/swc/issues/10461))
([ae2ff62](https://redirect.github.com/swc-project/swc/commit/ae2ff627a1bf0ea0e479361cc267c8f7ebde8f49))
- **(es/react-compiler)** Initialize support crate
([#​10422](https://redirect.github.com/swc-project/swc/issues/10422))
([1e88e6b](https://redirect.github.com/swc-project/swc/commit/1e88e6b4143ba450b80fedcf4bdd34aa0a990590))
- Initialize `@swc/react-compiler`
([#​10475](https://redirect.github.com/swc-project/swc/issues/10475))
([883b24c](https://redirect.github.com/swc-project/swc/commit/883b24c6248fecb223693974951080889bd8827a))
##### Miscellaneous Tasks
- **(es/minifier)** Remove useless check
([#​10471](https://redirect.github.com/swc-project/swc/issues/10471))
([ca85958](https://redirect.github.com/swc-project/swc/commit/ca859584036b2fb2e8a9398e602e2a7f42e36a07))
##### Performance
- **(common)** Accept owned instance of `sourcemap::SourceMap`
([#​10463](https://redirect.github.com/swc-project/swc/issues/10463))
([6ee439a](https://redirect.github.com/swc-project/swc/commit/6ee439aa7a96f99524c2aaee88d200e301ae611c))
- **(es/minifier)** Use fxhash for DCE
([#​10440](https://redirect.github.com/swc-project/swc/issues/10440))
([c0ddd96](https://redirect.github.com/swc-project/swc/commit/c0ddd96f694ca35825d7ca89a1bb318ffb23625c))
- **(es/minifier)** Remove needless `collect_decls` call
([#​10450](https://redirect.github.com/swc-project/swc/issues/10450))
([8e4b6ce](https://redirect.github.com/swc-project/swc/commit/8e4b6ce881448813935e6ae68d16a838d7a01838))
- **(es/minifier)** Clear graph eagerly in DCE
([#​10455](https://redirect.github.com/swc-project/swc/issues/10455))
([31e21d7](https://redirect.github.com/swc-project/swc/commit/31e21d7cbc9ed3b359ff2a48771a6fda16e916bc))
- **(es/minifier)** Perform full analysis only once for DCE
([#​10454](https://redirect.github.com/swc-project/swc/issues/10454))
([61baf84](https://redirect.github.com/swc-project/swc/commit/61baf849424a4f430f584b90a3a797578f316693))
- **(es/minifier)** Use `bitflags` for var info
([#​10459](https://redirect.github.com/swc-project/swc/issues/10459))
([36f8385](https://redirect.github.com/swc-project/swc/commit/36f8385256caca7efa42fb5a8e129d51df9df226))
- **(es/optimization)** Rely on `resolver` from `inline_globals`
([#​10449](https://redirect.github.com/swc-project/swc/issues/10449))
([1978809](https://redirect.github.com/swc-project/swc/commit/197880946afb1eeea85520b83fa04a91fc1c6de4))
- **(es/renamer)** Merge Id/Def collector
([#​10487](https://redirect.github.com/swc-project/swc/issues/10487))
([73377f0](https://redirect.github.com/swc-project/swc/commit/73377f09dc83624559f7d1539de59922c42836c9))
- **(es/utils)** Make `IdentUsageFinder` parallel
([#​10444](https://redirect.github.com/swc-project/swc/issues/10444))
([d074bca](https://redirect.github.com/swc-project/swc/commit/d074bcaf201e26ce2973633f9ef9f142b74f8dc3))
- **(es/utils)** Stop visiting once found in `EvalFinder`
([#​10483](https://redirect.github.com/swc-project/swc/issues/10483))
([3402270](https://redirect.github.com/swc-project/swc/commit/3402270edc81838451c7ce3a5cc93ba205d076d6))
##### Refactor
- **(common)** Remove useless `&mut`
([#​10405](https://redirect.github.com/swc-project/swc/issues/10405))
([edbeb49](https://redirect.github.com/swc-project/swc/commit/edbeb4947a78d778de111c61f02edf0e8d3ce3ae))
- **(common)** Remove unused methods
([#​10469](https://redirect.github.com/swc-project/swc/issues/10469))
([b77311a](https://redirect.github.com/swc-project/swc/commit/b77311adfc19fa41c2b316e37ef3832c9ffaede8))
- **(ecma/transform)** Cleanup rename analyzer
([#​10500](https://redirect.github.com/swc-project/swc/issues/10500))
([de51be1](https://redirect.github.com/swc-project/swc/commit/de51be1a782af1f22c2ca5ab3ddc5fa187872281))
- **(es)** Remove unused code
([#​10460](https://redirect.github.com/swc-project/swc/issues/10460))
([d344133](https://redirect.github.com/swc-project/swc/commit/d34413338b387e58c3ea998ca05f26bac81fbe6f))
- **(es)** Deduplicate `EvalFinder`
([#​10472](https://redirect.github.com/swc-project/swc/issues/10472))
([9f104af](https://redirect.github.com/swc-project/swc/commit/9f104af5089b34f0ffccf29d5f77c2abdfc83066))
- **(es/minifier)** Remove unused file
([#​10465](https://redirect.github.com/swc-project/swc/issues/10465))
([7d49097](https://redirect.github.com/swc-project/swc/commit/7d490978251d85696e0279298a736ebd286c5685))
- **(es/minifier)** Merge label/private name renamer
([#​10480](https://redirect.github.com/swc-project/swc/issues/10480))
([5add84d](https://redirect.github.com/swc-project/swc/commit/5add84dffcc4c03ed79e4aa29ded3fc1bfa70a7d))
- **(es/parser)** Split parser into also-lex/parse-only
([#​10399](https://redirect.github.com/swc-project/swc/issues/10399))
([26289ab](https://redirect.github.com/swc-project/swc/commit/26289ab766230a896da6c3a2d95a157ce3793eee))
- **(es/parser)** Parse shebang and cleanup
([#​10481](https://redirect.github.com/swc-project/swc/issues/10481))
([619873a](https://redirect.github.com/swc-project/swc/commit/619873a2cf7d5ddb1ce1aa59123371127dc9f2f6))
- **(es/parser)** Cleanup usage of `is!` and `bump!`
([#​10490](https://redirect.github.com/swc-project/swc/issues/10490))
([b695b68](https://redirect.github.com/swc-project/swc/commit/b695b6830e2e7a4d1922fa455d94fe4d912effa4))
- **(es/renamer)** Inline `get_unresolved`
([#​10493](https://redirect.github.com/swc-project/swc/issues/10493))
([0f5d9c1](https://redirect.github.com/swc-project/swc/commit/0f5d9c1ac780b8db83dcaf108aef499157b084c3))
- **(es/transforms)** Unify `preset_env` and `es_version` transform
([#​10451](https://redirect.github.com/swc-project/swc/issues/10451))
([6546c27](https://redirect.github.com/swc-project/swc/commit/6546c27fab5a3bd3b1a114ccf35c5a5c725935fe))
##### Build
- **(plugin)** Update `wasmer` to `v6.0.0`
([#​10439](https://redirect.github.com/swc-project/swc/issues/10439))
([b9eff3c](https://redirect.github.com/swc-project/swc/commit/b9eff3c92b77cfd9b15b24d7e08614ac0c59f8fd))
- Update `rustc` to `nightly-2025-05-06`
([#​10443](https://redirect.github.com/swc-project/swc/issues/10443))
([a7cbde7](https://redirect.github.com/swc-project/swc/commit/a7cbde7fdbe17c12bd0c2b205f0349a21707ec65))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/runtime-env/import-meta-env).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4zMy42IiwidXBkYXRlZEluVmVyIjoiNDAuMzMuNiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 75634e4 commit b329145
File tree
8 files changed
+362
-362
lines changed- packages/examples
- rollup-swc-example
- swc-example
- vite-swc-example
- webpack-swc-example
8 files changed
+362
-362
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments