From 2e38cae6ae5c21753b412ecdd245e4054956e843 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 27 Dec 2024 00:40:26 +0000 Subject: [PATCH] fix: upgrade @swc/core from 1.3.68 to 1.10.0 Snyk has created this PR to upgrade @swc/core from 1.3.68 to 1.10.0. See this package in yarn: @swc/core See this project in Snyk: https://app.snyk.io/org/q1bluequantumblockchainlabs.onmicrosoft.com/project/78e89a11-7570-4c90-8650-785847255aa5?utm_source=github&utm_medium=referral&page=upgrade-pr --- storybook/package.json | 2 +- storybook/yarn.lock | 116 ++++++++++++++++++++++++----------------- 2 files changed, 68 insertions(+), 50 deletions(-) diff --git a/storybook/package.json b/storybook/package.json index 0f88ae634c4ab..a77b77c1b1ca7 100644 --- a/storybook/package.json +++ b/storybook/package.json @@ -8,7 +8,7 @@ "build-storybook": "build-storybook --output-dir dist" }, "dependencies": { - "@swc/core": "^1.3.46", + "@swc/core": "^1.10.0", "react": "^17.0.2", "react-dom": "^17.0.2", "react-hot-loader": "^4.13.0", diff --git a/storybook/yarn.lock b/storybook/yarn.lock index 61718c7a2f96f..2d413faa2cb47 100644 --- a/storybook/yarn.lock +++ b/storybook/yarn.lock @@ -2840,92 +2840,94 @@ __metadata: languageName: node linkType: hard -"@swc/core-darwin-arm64@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-darwin-arm64@npm:1.3.68" +"@swc/core-darwin-arm64@npm:1.10.2": + version: 1.10.2 + resolution: "@swc/core-darwin-arm64@npm:1.10.2" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@swc/core-darwin-x64@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-darwin-x64@npm:1.3.68" +"@swc/core-darwin-x64@npm:1.10.2": + version: 1.10.2 + resolution: "@swc/core-darwin-x64@npm:1.10.2" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@swc/core-linux-arm-gnueabihf@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.68" +"@swc/core-linux-arm-gnueabihf@npm:1.10.2": + version: 1.10.2 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.10.2" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@swc/core-linux-arm64-gnu@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-linux-arm64-gnu@npm:1.3.68" +"@swc/core-linux-arm64-gnu@npm:1.10.2": + version: 1.10.2 + resolution: "@swc/core-linux-arm64-gnu@npm:1.10.2" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-arm64-musl@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-linux-arm64-musl@npm:1.3.68" +"@swc/core-linux-arm64-musl@npm:1.10.2": + version: 1.10.2 + resolution: "@swc/core-linux-arm64-musl@npm:1.10.2" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@swc/core-linux-x64-gnu@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-linux-x64-gnu@npm:1.3.68" +"@swc/core-linux-x64-gnu@npm:1.10.2": + version: 1.10.2 + resolution: "@swc/core-linux-x64-gnu@npm:1.10.2" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-x64-musl@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-linux-x64-musl@npm:1.3.68" +"@swc/core-linux-x64-musl@npm:1.10.2": + version: 1.10.2 + resolution: "@swc/core-linux-x64-musl@npm:1.10.2" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@swc/core-win32-arm64-msvc@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-win32-arm64-msvc@npm:1.3.68" +"@swc/core-win32-arm64-msvc@npm:1.10.2": + version: 1.10.2 + resolution: "@swc/core-win32-arm64-msvc@npm:1.10.2" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@swc/core-win32-ia32-msvc@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-win32-ia32-msvc@npm:1.3.68" +"@swc/core-win32-ia32-msvc@npm:1.10.2": + version: 1.10.2 + resolution: "@swc/core-win32-ia32-msvc@npm:1.10.2" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@swc/core-win32-x64-msvc@npm:1.3.68": - version: 1.3.68 - resolution: "@swc/core-win32-x64-msvc@npm:1.3.68" +"@swc/core-win32-x64-msvc@npm:1.10.2": + version: 1.10.2 + resolution: "@swc/core-win32-x64-msvc@npm:1.10.2" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@swc/core@npm:^1.3.46": - version: 1.3.68 - resolution: "@swc/core@npm:1.3.68" - dependencies: - "@swc/core-darwin-arm64": 1.3.68 - "@swc/core-darwin-x64": 1.3.68 - "@swc/core-linux-arm-gnueabihf": 1.3.68 - "@swc/core-linux-arm64-gnu": 1.3.68 - "@swc/core-linux-arm64-musl": 1.3.68 - "@swc/core-linux-x64-gnu": 1.3.68 - "@swc/core-linux-x64-musl": 1.3.68 - "@swc/core-win32-arm64-msvc": 1.3.68 - "@swc/core-win32-ia32-msvc": 1.3.68 - "@swc/core-win32-x64-msvc": 1.3.68 - peerDependencies: - "@swc/helpers": ^0.5.0 +"@swc/core@npm:^1.10.0": + version: 1.10.2 + resolution: "@swc/core@npm:1.10.2" + dependencies: + "@swc/core-darwin-arm64": 1.10.2 + "@swc/core-darwin-x64": 1.10.2 + "@swc/core-linux-arm-gnueabihf": 1.10.2 + "@swc/core-linux-arm64-gnu": 1.10.2 + "@swc/core-linux-arm64-musl": 1.10.2 + "@swc/core-linux-x64-gnu": 1.10.2 + "@swc/core-linux-x64-musl": 1.10.2 + "@swc/core-win32-arm64-msvc": 1.10.2 + "@swc/core-win32-ia32-msvc": 1.10.2 + "@swc/core-win32-x64-msvc": 1.10.2 + "@swc/counter": ^0.1.3 + "@swc/types": ^0.1.17 + peerDependencies: + "@swc/helpers": "*" dependenciesMeta: "@swc/core-darwin-arm64": optional: true @@ -2950,7 +2952,23 @@ __metadata: peerDependenciesMeta: "@swc/helpers": optional: true - checksum: f56ad1d4cb91f7cc1cb5d4b9894bbb528da0b2eabc98984581f5b3f3187cf2c0d512003880f6ff7a3f6d215b7a3dcbf5a9c45e8a428ac2d711941027c0151d89 + checksum: c99739161c77d0769e5b6e76a121125df6cfe77fcaa260cad1decba79d24769122703ad48856211ccdc3aadf6c8af6b1305cbbbc1983f817a20224bcdb6db981 + languageName: node + linkType: hard + +"@swc/counter@npm:^0.1.3": + version: 0.1.3 + resolution: "@swc/counter@npm:0.1.3" + checksum: df8f9cfba9904d3d60f511664c70d23bb323b3a0803ec9890f60133954173047ba9bdeabce28cd70ba89ccd3fd6c71c7b0bd58be85f611e1ffbe5d5c18616598 + languageName: node + linkType: hard + +"@swc/types@npm:^0.1.17": + version: 0.1.17 + resolution: "@swc/types@npm:0.1.17" + dependencies: + "@swc/counter": ^0.1.3 + checksum: 6cc87b8ddfb540096abdf40bc29742df0b7d068f97c1ce6c32cd1b7073cde263ed7bc3bae1fba7bf0e1a0f5d63336e9fa092e05a54f6d9b3570df956d2acaff6 languageName: node linkType: hard @@ -10665,7 +10683,7 @@ __metadata: "@storybook/node-logger": ^6.5.9 "@storybook/react": ^6.5.9 "@storybook/testing-library": ^0.2.0 - "@swc/core": ^1.3.46 + "@swc/core": ^1.10.0 react: ^17.0.2 react-dom: ^17.0.2 react-hot-loader: ^4.13.0 @@ -11214,7 +11232,7 @@ __metadata: "typescript@patch:typescript@~4.7.0#~builtin": version: 4.7.4 - resolution: "typescript@patch:typescript@npm%3A4.7.4#~builtin::version=4.7.4&hash=a1c5e5" + resolution: "typescript@patch:typescript@npm%3A4.7.4#~builtin::version=4.7.4&hash=701156" bin: tsc: bin/tsc tsserver: bin/tsserver