Commit 94e4c93
authored
chore(deps): update dependency @swc/core to v1.13.5 (#2146)
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| [@swc/core](https://swc.rs)
([source](https://redirect.github.com/swc-project/swc)) | [`1.13.3` ->
`1.13.5`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.13.3/1.13.5) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>swc-project/swc (@​swc/core)</summary>
###
[`v1.13.5`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1135---2025-08-24)
[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.13.4...v1.13.5)
##### Bug Fixes
- **(es/minifier)** Preserve `array.join` with nullable values
([#​10937](https://redirect.github.com/swc-project/swc/issues/10937))
([e495403](https://redirect.github.com/swc-project/swc/commit/e49540386e6647fd2b87b2a7b9c2ac7668005e56))
- **(es/preset-env)** Update polyfill data
([#​11013](https://redirect.github.com/swc-project/swc/issues/11013))
([934d8a5](https://redirect.github.com/swc-project/swc/commit/934d8a5c0b4d641a929febb2477f537614ac62d1))
##### Features
- **(es/minifier)** Remove unused parts of destructuring
([#​11024](https://redirect.github.com/swc-project/swc/issues/11024))
([b5fed8c](https://redirect.github.com/swc-project/swc/commit/b5fed8c2edee1d4fb33df092b970ee2e621bde91))
##### Refactor
- **(es/react)** Add `preserve` supports
([#​11025](https://redirect.github.com/swc-project/swc/issues/11025))
([bc83875](https://redirect.github.com/swc-project/swc/commit/bc838753053b1c0134f4ad94052fef068a505c18))
###
[`v1.13.4`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1134---2025-08-21)
[Compare
Source](https://redirect.github.com/swc-project/swc/compare/v1.13.3...v1.13.4)
##### Bug Fixes
- **(es/lexer)** Use error when handling '\0'
([#​10964](https://redirect.github.com/swc-project/swc/issues/10964))
([53c22d1](https://redirect.github.com/swc-project/swc/commit/53c22d1cce88c0b9f8bc91f461bf26e58b21c9bd))
- **(es/minifier)** Skip serde of `pure_funcs` in options
([#​10969](https://redirect.github.com/swc-project/swc/issues/10969))
([862e70d](https://redirect.github.com/swc-project/swc/commit/862e70d596401f876dad054c6fc1cf4231d6d7a0))
- **(es/minifier)** Fix compile error with `debug` feature
([#​10999](https://redirect.github.com/swc-project/swc/issues/10999))
([831eed5](https://redirect.github.com/swc-project/swc/commit/831eed527e2a21bed07ba9d2747b40e467fd78e3))
- **(es/minifier)** Don't eliminate class expr if some side effects
contain `this`
([#​11003](https://redirect.github.com/swc-project/swc/issues/11003))
([18aeac6](https://redirect.github.com/swc-project/swc/commit/18aeac6bba37aef84cac8a0fc2a2bc70b264929e))
- **(es/module)** Support optional chaining in `import.meta`
([#​10985](https://redirect.github.com/swc-project/swc/issues/10985))
([758d8ec](https://redirect.github.com/swc-project/swc/commit/758d8ec8e096b844ae6b603bfda72fba50133bf6))
- **(es/parser)** Allow TS type args to start with LSHIFT (`<<`) to
parse `T<<S>() => void>`
([#​10996](https://redirect.github.com/swc-project/swc/issues/10996))
([4911ec7](https://redirect.github.com/swc-project/swc/commit/4911ec72304f619937c4c3728e08227f4894bc37))
- **(ts/isolated-dts)** Correct optional marker for class fields
generated from constructor parameter
([#​10992](https://redirect.github.com/swc-project/swc/issues/10992))
([0d680fd](https://redirect.github.com/swc-project/swc/commit/0d680fd687918cde6ec36f988977d6b0e8331f14))
- Expose GlobalPassOption.build
([#​10968](https://redirect.github.com/swc-project/swc/issues/10968))
([c8a2668](https://redirect.github.com/swc-project/swc/commit/c8a266892e8bc02cd34f091c8962cd3cd77de285))
##### Features
- **(bindings/html)** Add `keep-head-and-body` for `tagOmission` in
binding
([#​11014](https://redirect.github.com/swc-project/swc/issues/11014))
([1e1ebeb](https://redirect.github.com/swc-project/swc/commit/1e1ebeb209f2df5e47f330eac1256693a7829cb9))
- **(html/minifier)** Support `keep_head_and_body`
([#​11008](https://redirect.github.com/swc-project/swc/issues/11008))
([86186db](https://redirect.github.com/swc-project/swc/commit/86186db36e9c311153b883fa99a20bb777ab2d64))
- **(plugin/runner)** Introduce `wasmtime` backend
([#​10958](https://redirect.github.com/swc-project/swc/issues/10958))
([9fa8330](https://redirect.github.com/swc-project/swc/commit/9fa833087eeb6901fce25af17f2123e23316ab40))
##### Miscellaneous Tasks
- **(es/minifier)** Make a computation lazy
([#​11004](https://redirect.github.com/swc-project/swc/issues/11004))
([a4aa0ec](https://redirect.github.com/swc-project/swc/commit/a4aa0ec03a2bd4087614aaa852aeec87be24fbc6))
##### Performance
- **(es/ast)** Remove alloc in leftmost api
([#​11005](https://redirect.github.com/swc-project/swc/issues/11005))
([f59f233](https://redirect.github.com/swc-project/swc/commit/f59f2331fb97625093783b5e6cde62042913fe53))
- **(es/minifier)** Use bitflags for context of the `Pure` pass
([#​10953](https://redirect.github.com/swc-project/swc/issues/10953))
([8cd5c58](https://redirect.github.com/swc-project/swc/commit/8cd5c587b358379df4d36def175a65aac42a12ec))
- **(es/minifier)** Reduce alloc
([#​10961](https://redirect.github.com/swc-project/swc/issues/10961))
([6475070](https://redirect.github.com/swc-project/swc/commit/64750702c98e2aca6e3c0d9e4a34974cc38b16e5))
- **(es/minifier)** Remove useless clone
([#​10970](https://redirect.github.com/swc-project/swc/issues/10970))
([8873f65](https://redirect.github.com/swc-project/swc/commit/8873f659a02deb2cc8f496c28ea74a2b04a70259))
- **(es/minifier)** Reduce clone
([#​10982](https://redirect.github.com/swc-project/swc/issues/10982))
([4f2ed0d](https://redirect.github.com/swc-project/swc/commit/4f2ed0dd080dc68069ad7990f992a15a36ebb5de))
- **(es/minifier)** Use `bitflags` for `DropOpts`
([#​10990](https://redirect.github.com/swc-project/swc/issues/10990))
([79206f1](https://redirect.github.com/swc-project/swc/commit/79206f17d495eadd930df23f92fedaa5a418d90e))
- **(es/parser)** Remove EOF check
([#​10976](https://redirect.github.com/swc-project/swc/issues/10976))
([a10dada](https://redirect.github.com/swc-project/swc/commit/a10dada821ff206f10659dc538a8dcad3fb40394))
- **(es/parser)** Introduce checkpoint to reduce clone
([#​11001](https://redirect.github.com/swc-project/swc/issues/11001))
([cda08d1](https://redirect.github.com/swc-project/swc/commit/cda08d196ef804764b74fdd99f58f4e73cb80495))
- **(es/parser)** Remove useless `Rc<RefCell<T>>`
([#​11002](https://redirect.github.com/swc-project/swc/issues/11002))
([39f5784](https://redirect.github.com/swc-project/swc/commit/39f5784c106e7fc1feb2b7a48b5d0639a6efdc5f))
- **(es/parser)** Remove `OneDirectionalList` and reduce allocation of
`Vec`
([#​11000](https://redirect.github.com/swc-project/swc/issues/11000))
([0088ab8](https://redirect.github.com/swc-project/swc/commit/0088ab8ebb05c4db569cf2f7cd57e4f73a0e306c))
##### Refactor
- **(common)** Remove `SyntaxContextData#opaque`
([#​10983](https://redirect.github.com/swc-project/swc/issues/10983))
([d5be248](https://redirect.github.com/swc-project/swc/commit/d5be248fc070caa658f04c3f54f5b1a0bca8cd0e))
- **(es/minifier)** Remove useless branch
([#​10966](https://redirect.github.com/swc-project/swc/issues/10966))
([e400de3](https://redirect.github.com/swc-project/swc/commit/e400de3aca99d4a937c37219eae6c1303785b661))
- **(es/minifier)** Remove duplicate report assign
([#​11009](https://redirect.github.com/swc-project/swc/issues/11009))
([9590e1d](https://redirect.github.com/swc-project/swc/commit/9590e1dbe967162bc3cda0fe3a1179f0d925eb25))
- **(es/parser)** Remove useless methods
([#​10980](https://redirect.github.com/swc-project/swc/issues/10980))
([91c6039](https://redirect.github.com/swc-project/swc/commit/91c60390b7623f164219dd6c91ef4c0cce8e4dfd))
- **(hstr)** Use default inline strategy
([#​10954](https://redirect.github.com/swc-project/swc/issues/10954))
([d160f7f](https://redirect.github.com/swc-project/swc/commit/d160f7f80175c7b4181ca8f22dfb7f5fcb4d639a))
- **(hstr)** Remove needlesss unwrap
([#​10959](https://redirect.github.com/swc-project/swc/issues/10959))
([953f75f](https://redirect.github.com/swc-project/swc/commit/953f75fce4b594ee66f2339af6d347963c113da5))
- **(plugin/runner)** Introduce abstract runtime
([#​10943](https://redirect.github.com/swc-project/swc/issues/10943))
([a445156](https://redirect.github.com/swc-project/swc/commit/a44515679cb17c3b8b6ab5e625cbce1ee6d1b9e4))
- **(plugin/runner)** Switch `wasmtime-wasi` to `wasi-common`
([#​10979](https://redirect.github.com/swc-project/swc/issues/10979))
([c4114d5](https://redirect.github.com/swc-project/swc/commit/c4114d55ad54649825226d515d0fad4272e028f8))
- Add `#[deny(unused)]`
([#​10997](https://redirect.github.com/swc-project/swc/issues/10997))
([1bb3716](https://redirect.github.com/swc-project/swc/commit/1bb37160daa70017b78a842dfe31f16b374eb298))
</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.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiI0MS44Mi43IiwidXBkYXRlZEluVmVyIjoiNDEuODIuNyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent c6ad5f6 commit 94e4c93
File tree
8 files changed
+384
-384
lines changed- packages/examples
- rollup-swc-example
- swc-example
- vite-swc-example
- webpack-swc-example
8 files changed
+384
-384
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 | |
|---|---|---|---|
| |||
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 | |
|---|---|---|---|
| |||
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