From 7f9588618f5bc9ab969731baf31f22a20bdf34d3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 15 Nov 2024 00:14:40 +0000 Subject: [PATCH] chore(deps): update swc monorepo (#8760) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@swc/core](https://swc.rs) ([source](https://redirect.github.com/swc-project/swc)) | [`1.7.39` -> `1.9.1`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.7.39/1.9.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.7.39/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.7.39/1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@swc/jest](https://redirect.github.com/swc-project/pkgs/tree/main/packages/jest) ([source](https://redirect.github.com/swc-project/pkgs)) | [`0.2.36` -> `0.2.37`](https://renovatebot.com/diffs/npm/@swc%2fjest/0.2.36/0.2.37) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fjest/0.2.37?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fjest/0.2.37?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fjest/0.2.36/0.2.37?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fjest/0.2.36/0.2.37?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
swc-project/swc (@​swc/core) ### [`v1.9.1`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#191---2024-11-06) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.9.0...v1.9.1) ##### Bug Fixes - **(es/codegen)** Fix `ends_with_alpha_num` ([#​9720](https://redirect.github.com/swc-project/swc/issues/9720)) ([569c799](https://redirect.github.com/swc-project/swc/commit/569c799c2e98f6104fdc4edb61a28d83f4c930eb)) ### [`v1.9.0`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#190---2024-11-06) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.8.0...v1.9.0) ##### Bug Fixes - **(es/minifier)** Avoid generating reserved mangling names ([#​9710](https://redirect.github.com/swc-project/swc/issues/9710)) ([b49317a](https://redirect.github.com/swc-project/swc/commit/b49317a40344c2c153044095f49d0a9e8a1ef3f3)) - **(es/plugin)** Revert [#​9696](https://redirect.github.com/swc-project/swc/issues/9696) ([#​9717](https://redirect.github.com/swc-project/swc/issues/9717)) ([772f023](https://redirect.github.com/swc-project/swc/commit/772f023fd2f8bbcb336b0561a81621f0f1163622)) ##### Features - **(typescript)** Port deno `isolatedDeclarations` updates ([#​9712](https://redirect.github.com/swc-project/swc/issues/9712)) ([6194044](https://redirect.github.com/swc-project/swc/commit/6194044b4293eec01415a1ef67541bf888c33099)) ##### Miscellaneous Tasks - **(deps)** Update rust crate is-macro to v0.3.7 ([#​9713](https://redirect.github.com/swc-project/swc/issues/9713)) ([d48e6e8](https://redirect.github.com/swc-project/swc/commit/d48e6e838b303d97c22688706930107ace673560)) ### [`v1.8.0`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#180---2024-11-04) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.42...v1.8.0) ##### Bug Fixes - **(es/typescript)** Handle multiline type parameters in async arrow functions ([#​9704](https://redirect.github.com/swc-project/swc/issues/9704)) ([c5ed19c](https://redirect.github.com/swc-project/swc/commit/c5ed19c710fd32f5c23b2d85ff8f30cb09f58899)) - **(es/typescript)** Handle ASI hazards in fast type strip ([#​9707](https://redirect.github.com/swc-project/swc/issues/9707)) ([c135f71](https://redirect.github.com/swc-project/swc/commit/c135f718ed933fcd9eb6e5e5ea9accc0179cf333)) ##### Features - **(es)** Add `es2023` and `es2024` to `EsVersion` ([#​9700](https://redirect.github.com/swc-project/swc/issues/9700)) ([5a6f0e6](https://redirect.github.com/swc-project/swc/commit/5a6f0e644ebd515c9de69f8efa0e2b5c79944a1d)) - **(es/plugin)** Introduce `manual-tokio-runtmie` to `swc` crate ([#​9701](https://redirect.github.com/swc-project/swc/issues/9701)) ([97298c4](https://redirect.github.com/swc-project/swc/commit/97298c4e36318674f82343b9cde2d938265ea3d8)) ##### Performance - **(common)** Make character analysis lazy ([#​9696](https://redirect.github.com/swc-project/swc/issues/9696)) ([1c3eaf6](https://redirect.github.com/swc-project/swc/commit/1c3eaf684a40a22b09779db39cf68986e69147f1)) - **(es/renamer)** Modify parallel renaming threshold ([#​9706](https://redirect.github.com/swc-project/swc/issues/9706)) ([91a9106](https://redirect.github.com/swc-project/swc/commit/91a9106624f999951b9eb0f424faedb131a4297a)) ### [`v1.7.42`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1742---2024-10-31) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.40...v1.7.42) ##### Bug Fixes - **(es/generator)** Fix code generation for `break` in nested while ([#​9684](https://redirect.github.com/swc-project/swc/issues/9684)) ([65872af](https://redirect.github.com/swc-project/swc/commit/65872afaf151412be5f14820080325b920901bfb)) - **(es/parser)** Parse `await using()` call ([#​9693](https://redirect.github.com/swc-project/swc/issues/9693)) ([bcf05de](https://redirect.github.com/swc-project/swc/commit/bcf05de2ebe755a54ec8a6b93311b1686494c578)) - **(es/resolver)** Skip resolving lowercase `JSXIdentifiers` ([#​9686](https://redirect.github.com/swc-project/swc/issues/9686)) ([6ed1715](https://redirect.github.com/swc-project/swc/commit/6ed1715b93875cd4588352a784ed876bf183df5d)) - **(es/types)** Add `jsc.experimental.keepImportAssertions` to types ([#​9691](https://redirect.github.com/swc-project/swc/issues/9691)) ([4b4dcfa](https://redirect.github.com/swc-project/swc/commit/4b4dcfa4d8532c84762b19737b66474e97480cef)) ##### Features - **(es/minifier)** Optimize switch with side effect and termination tests ([#​9677](https://redirect.github.com/swc-project/swc/issues/9677)) ([7344a63](https://redirect.github.com/swc-project/swc/commit/7344a638b55d483571ab4b35edf56f7088de792b)) - **(es/parser)** Ability to get script's potential module errors ([#​9682](https://redirect.github.com/swc-project/swc/issues/9682)) ([2bbd1e8](https://redirect.github.com/swc-project/swc/commit/2bbd1e8485ca7c152d408cc34cd51460467171a7)) ##### Miscellaneous Tasks - **(deps)** Update cargo (patch) ([#​9607](https://redirect.github.com/swc-project/swc/issues/9607)) ([3597b0f](https://redirect.github.com/swc-project/swc/commit/3597b0f53d060b09b7e878e9c825321f053d189e)) ##### Performance - **(es)** Cache `current_dir()` system calls ([#​9683](https://redirect.github.com/swc-project/swc/issues/9683)) ([7aab945](https://redirect.github.com/swc-project/swc/commit/7aab945a2199be06e20a35ec0d197fc817a48d9d)) - **(es/lints)** Disable lints by default ([#​9689](https://redirect.github.com/swc-project/swc/issues/9689)) ([4d887d0](https://redirect.github.com/swc-project/swc/commit/4d887d062b299b42b1a6529dfac5f22c3fd49903)) - **(visit)** Introduce `Pass` API and adjust visitor APIs for it ([#​9680](https://redirect.github.com/swc-project/swc/issues/9680)) ([581aafb](https://redirect.github.com/swc-project/swc/commit/581aafb4dfbbcf9b834e3b578cad83fec452a062)) ### [`v1.7.40`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1740---2024-10-26) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.39...v1.7.40) ##### Bug Fixes - **(bindings)** Update napi to handle string with `\0` ([#​9665](https://redirect.github.com/swc-project/swc/issues/9665)) ([8f45eaf](https://redirect.github.com/swc-project/swc/commit/8f45eaf837d023847c478e562265e141213ce231)) - **(bindings/node)** Add `VisitTsPropertySignature` ([#​9670](https://redirect.github.com/swc-project/swc/issues/9670)) ([715c42c](https://redirect.github.com/swc-project/swc/commit/715c42c0bfe699d822a7e9ea18751d35aac3235d)) - **(es/codegen)** Improve EndsWithAlphaNum ([#​9675](https://redirect.github.com/swc-project/swc/issues/9675)) ([ba2a942](https://redirect.github.com/swc-project/swc/commit/ba2a942f56776e6927b48cfd185d8720052b7409)) - **(es/renamer)** Check `preserved` in normal renaming mode ([#​9666](https://redirect.github.com/swc-project/swc/issues/9666)) ([87b4e10](https://redirect.github.com/swc-project/swc/commit/87b4e10e5dbeb236ee5232d85d3176472fa4a9d0)) - **(typescript)** Check whether the method is abstract when checking `is_overload` ([#​9678](https://redirect.github.com/swc-project/swc/issues/9678)) ([78500af](https://redirect.github.com/swc-project/swc/commit/78500af546ea3c92f016c729e173c66fccbe46ed)) ##### Documentation - **(contributing)** Document changeset ([#​9667](https://redirect.github.com/swc-project/swc/issues/9667)) ([602c667](https://redirect.github.com/swc-project/swc/commit/602c667b9d435fa9155345952379287cb11e59db)) ##### Miscellaneous Tasks - **(deps)** Update dependency swc-plugin-coverage-instrument to ^0.0.25 ([#​9676](https://redirect.github.com/swc-project/swc/issues/9676)) ([b8d255b](https://redirect.github.com/swc-project/swc/commit/b8d255bf5aa65a5589331b0924269a23b3052137))
--- ### Configuration 📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am every weekday" in timezone Europe/Madrid, 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. --- - [ ] 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/Unleash/unleash). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 4 +- yarn.lock | 110 +++++++++++++++++++++++++-------------------------- 2 files changed, 57 insertions(+), 57 deletions(-) diff --git a/package.json b/package.json index 978c3ad0ca..636107327d 100644 --- a/package.json +++ b/package.json @@ -176,8 +176,8 @@ "@babel/core": "7.26.0", "@biomejs/biome": "^1.9.4", "@cyclonedx/yarn-plugin-cyclonedx": "^1.0.0-rc.7", - "@swc/core": "1.7.39", - "@swc/jest": "0.2.36", + "@swc/core": "1.9.1", + "@swc/jest": "0.2.37", "@types/bcryptjs": "2.4.6", "@types/cors": "2.8.17", "@types/express": "4.17.21", diff --git a/yarn.lock b/yarn.lock index 76afa308dc..e10baa0f02 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1587,92 +1587,92 @@ __metadata: languageName: node linkType: hard -"@swc/core-darwin-arm64@npm:1.7.39": - version: 1.7.39 - resolution: "@swc/core-darwin-arm64@npm:1.7.39" +"@swc/core-darwin-arm64@npm:1.9.1": + version: 1.9.1 + resolution: "@swc/core-darwin-arm64@npm:1.9.1" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@swc/core-darwin-x64@npm:1.7.39": - version: 1.7.39 - resolution: "@swc/core-darwin-x64@npm:1.7.39" +"@swc/core-darwin-x64@npm:1.9.1": + version: 1.9.1 + resolution: "@swc/core-darwin-x64@npm:1.9.1" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@swc/core-linux-arm-gnueabihf@npm:1.7.39": - version: 1.7.39 - resolution: "@swc/core-linux-arm-gnueabihf@npm:1.7.39" +"@swc/core-linux-arm-gnueabihf@npm:1.9.1": + version: 1.9.1 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.9.1" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@swc/core-linux-arm64-gnu@npm:1.7.39": - version: 1.7.39 - resolution: "@swc/core-linux-arm64-gnu@npm:1.7.39" +"@swc/core-linux-arm64-gnu@npm:1.9.1": + version: 1.9.1 + resolution: "@swc/core-linux-arm64-gnu@npm:1.9.1" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-arm64-musl@npm:1.7.39": - version: 1.7.39 - resolution: "@swc/core-linux-arm64-musl@npm:1.7.39" +"@swc/core-linux-arm64-musl@npm:1.9.1": + version: 1.9.1 + resolution: "@swc/core-linux-arm64-musl@npm:1.9.1" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@swc/core-linux-x64-gnu@npm:1.7.39": - version: 1.7.39 - resolution: "@swc/core-linux-x64-gnu@npm:1.7.39" +"@swc/core-linux-x64-gnu@npm:1.9.1": + version: 1.9.1 + resolution: "@swc/core-linux-x64-gnu@npm:1.9.1" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-x64-musl@npm:1.7.39": - version: 1.7.39 - resolution: "@swc/core-linux-x64-musl@npm:1.7.39" +"@swc/core-linux-x64-musl@npm:1.9.1": + version: 1.9.1 + resolution: "@swc/core-linux-x64-musl@npm:1.9.1" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@swc/core-win32-arm64-msvc@npm:1.7.39": - version: 1.7.39 - resolution: "@swc/core-win32-arm64-msvc@npm:1.7.39" +"@swc/core-win32-arm64-msvc@npm:1.9.1": + version: 1.9.1 + resolution: "@swc/core-win32-arm64-msvc@npm:1.9.1" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@swc/core-win32-ia32-msvc@npm:1.7.39": - version: 1.7.39 - resolution: "@swc/core-win32-ia32-msvc@npm:1.7.39" +"@swc/core-win32-ia32-msvc@npm:1.9.1": + version: 1.9.1 + resolution: "@swc/core-win32-ia32-msvc@npm:1.9.1" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@swc/core-win32-x64-msvc@npm:1.7.39": - version: 1.7.39 - resolution: "@swc/core-win32-x64-msvc@npm:1.7.39" +"@swc/core-win32-x64-msvc@npm:1.9.1": + version: 1.9.1 + resolution: "@swc/core-win32-x64-msvc@npm:1.9.1" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@swc/core@npm:1.7.39": - version: 1.7.39 - resolution: "@swc/core@npm:1.7.39" +"@swc/core@npm:1.9.1": + version: 1.9.1 + resolution: "@swc/core@npm:1.9.1" dependencies: - "@swc/core-darwin-arm64": "npm:1.7.39" - "@swc/core-darwin-x64": "npm:1.7.39" - "@swc/core-linux-arm-gnueabihf": "npm:1.7.39" - "@swc/core-linux-arm64-gnu": "npm:1.7.39" - "@swc/core-linux-arm64-musl": "npm:1.7.39" - "@swc/core-linux-x64-gnu": "npm:1.7.39" - "@swc/core-linux-x64-musl": "npm:1.7.39" - "@swc/core-win32-arm64-msvc": "npm:1.7.39" - "@swc/core-win32-ia32-msvc": "npm:1.7.39" - "@swc/core-win32-x64-msvc": "npm:1.7.39" + "@swc/core-darwin-arm64": "npm:1.9.1" + "@swc/core-darwin-x64": "npm:1.9.1" + "@swc/core-linux-arm-gnueabihf": "npm:1.9.1" + "@swc/core-linux-arm64-gnu": "npm:1.9.1" + "@swc/core-linux-arm64-musl": "npm:1.9.1" + "@swc/core-linux-x64-gnu": "npm:1.9.1" + "@swc/core-linux-x64-musl": "npm:1.9.1" + "@swc/core-win32-arm64-msvc": "npm:1.9.1" + "@swc/core-win32-ia32-msvc": "npm:1.9.1" + "@swc/core-win32-x64-msvc": "npm:1.9.1" "@swc/counter": "npm:^0.1.3" - "@swc/types": "npm:^0.1.13" + "@swc/types": "npm:^0.1.14" peerDependencies: "@swc/helpers": "*" dependenciesMeta: @@ -1699,7 +1699,7 @@ __metadata: peerDependenciesMeta: "@swc/helpers": optional: true - checksum: 10c0/9997aad27290107b9fb864fe4bdc38a376e788c073e6edb62b7ea06d1fa8dde8f707c9ea6b3cc82f4cbfa49a38bd228f83503d4e8318e8a9917e947497e253af + checksum: 10c0/7b9a3da9bdd95216b031739ebe35983e69f17284809a62706c93edfd30ede0732060d944db23007aca9aebbc49859eb5784454c8882ae6fd04eb8bd15ac6a247 languageName: node linkType: hard @@ -1710,25 +1710,25 @@ __metadata: languageName: node linkType: hard -"@swc/jest@npm:0.2.36": - version: 0.2.36 - resolution: "@swc/jest@npm:0.2.36" +"@swc/jest@npm:0.2.37": + version: 0.2.37 + resolution: "@swc/jest@npm:0.2.37" dependencies: "@jest/create-cache-key-function": "npm:^29.7.0" "@swc/counter": "npm:^0.1.3" jsonc-parser: "npm:^3.2.0" peerDependencies: "@swc/core": "*" - checksum: 10c0/7f1993f9201420bb499c92ab28797352bcbf9e3a6c7b5a1806fdc34c9c3b46ea9e5b2f070c0e13fcf7f3c3fadbbc38777840baabb178f589bf1f67543763adb6 + checksum: 10c0/abe10d87610bf7c172aa7ab14c64599a22e48c1f43a09d6e22733f85f25fb98e57cb4bb58b9554e60a3ac8629be559bd967d7a8601a3ceaacad618aecccebec2 languageName: node linkType: hard -"@swc/types@npm:^0.1.13": - version: 0.1.13 - resolution: "@swc/types@npm:0.1.13" +"@swc/types@npm:^0.1.14": + version: 0.1.15 + resolution: "@swc/types@npm:0.1.15" dependencies: "@swc/counter": "npm:^0.1.3" - checksum: 10c0/f85a850dead981ca9a26ae366529f2b383fa26324ffcbbee46d7b48399e6ed36d6a6a3d55398f17f87c65f550e28d642a35877d40f389c78765a31ecdfc88bd9 + checksum: 10c0/82bcfa64e53c6c93ae162fe9e491e5f300227fad6f110e32d9718e5a0e29586bc79c516234f6eccbe5ccd7ed72b514a21f03196a54408cf1b7b47c072fad44f0 languageName: node linkType: hard @@ -9310,8 +9310,8 @@ __metadata: "@biomejs/biome": "npm:^1.9.4" "@cyclonedx/yarn-plugin-cyclonedx": "npm:^1.0.0-rc.7" "@slack/web-api": "npm:^7.3.4" - "@swc/core": "npm:1.7.39" - "@swc/jest": "npm:0.2.36" + "@swc/core": "npm:1.9.1" + "@swc/jest": "npm:0.2.37" "@types/bcryptjs": "npm:2.4.6" "@types/cors": "npm:2.8.17" "@types/express": "npm:4.17.21"