diff --git a/benchmark/package.json b/benchmark/package.json index 30567ba083..e6e60ab62e 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@playwright/test": "1.48.2", - "@swc/core": "^1.7.40", + "@swc/core": "^1.8.0", "@vkontakte/vkui": "workspace:packages/vkui", "cli-table3": "^0.6.1", "css-loader": "^6.10.0", diff --git a/package.json b/package.json index 3f3e4dd52a..54cf480e6a 100644 --- a/package.json +++ b/package.json @@ -18,9 +18,9 @@ "@size-limit/file": "^11.1.6", "@size-limit/webpack": "^11.1.6", "@size-limit/webpack-css": "^11.1.6", - "@swc/cli": "^0.4.0", - "@swc/core": "1.7.40", - "@swc/jest": "^0.2.36", + "@swc/cli": "^0.5.0", + "@swc/core": "1.8.0", + "@swc/jest": "^0.2.37", "@testing-library/dom": "^10.4.0", "@testing-library/jest-dom": "^6.6.2", "@testing-library/react": "^16.0.1", diff --git a/packages/codemods/package.json b/packages/codemods/package.json index 5e939926c2..67f7b9bf22 100644 --- a/packages/codemods/package.json +++ b/packages/codemods/package.json @@ -22,8 +22,8 @@ "typescript": "^5.6.3" }, "devDependencies": { - "@swc/core": "^1.7.40", - "@swc/jest": "^0.2.36", + "@swc/core": "^1.8.0", + "@swc/jest": "^0.2.37", "@types/cross-spawn": "^6.0.6", "@types/jest": "^29.5.14", "@types/jscodeshift": "^0.12.0", diff --git a/packages/token-translator/package.json b/packages/token-translator/package.json index bf141a7a2a..8d91d6d4a3 100644 --- a/packages/token-translator/package.json +++ b/packages/token-translator/package.json @@ -22,8 +22,8 @@ "typescript": "^5.6.3" }, "devDependencies": { - "@swc/core": "1.7.40", - "@swc/jest": "^0.2.36", + "@swc/core": "1.8.0", + "@swc/jest": "^0.2.37", "@types/jest": "^29.5.14", "@types/postcss-less": "^4.0.6", "jest": "^29.7.0", diff --git a/packages/vkui-floating-ui/package.json b/packages/vkui-floating-ui/package.json index 0c7e93e803..df30fc69b8 100644 --- a/packages/vkui-floating-ui/package.json +++ b/packages/vkui-floating-ui/package.json @@ -83,8 +83,8 @@ "@swc/helpers": "^0.5.13" }, "devDependencies": { - "@swc/core": "^1.7.40", - "@swc/jest": "^0.2.36", + "@swc/core": "^1.8.0", + "@swc/jest": "^0.2.37", "@types/jest": "^29.5.14", "jest": "^29.7.0", "react": "^18.3.1", diff --git a/yarn.lock b/yarn.lock index 6399eb962b..53a67ef7f4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2736,9 +2736,9 @@ __metadata: languageName: node linkType: hard -"@swc/cli@npm:^0.4.0": - version: 0.4.0 - resolution: "@swc/cli@npm:0.4.0" +"@swc/cli@npm:^0.5.0": + version: 0.5.0 + resolution: "@swc/cli@npm:0.5.0" dependencies: "@mole-inc/bin-wrapper": "npm:^8.0.1" "@swc/counter": "npm:^0.1.3" @@ -2759,7 +2759,7 @@ __metadata: spack: bin/spack.js swc: bin/swc.js swcx: bin/swcx.js - checksum: 10/d1e319f5579eb3b889e86e5db1db25673bbbaa9091e0e1f93ec4ae33c9ef8b6a6607bbaae693f7c2fefe5d1faf9eec48bdd79a15f170b70e6bc0aa58e6550dee + checksum: 10/033b682f1c25c8fae731414d2a463a0e455452bf9349c025cd88ea63ee1e5a589032eb206063fd925daf12065c9f1e5b4680cef50cc24674681c4d2583b7dca0 languageName: node linkType: hard @@ -2770,6 +2770,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-darwin-arm64@npm:1.8.0": + version: 1.8.0 + resolution: "@swc/core-darwin-arm64@npm:1.8.0" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@swc/core-darwin-x64@npm:1.7.40": version: 1.7.40 resolution: "@swc/core-darwin-x64@npm:1.7.40" @@ -2777,6 +2784,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-darwin-x64@npm:1.8.0": + version: 1.8.0 + resolution: "@swc/core-darwin-x64@npm:1.8.0" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@swc/core-linux-arm-gnueabihf@npm:1.7.40": version: 1.7.40 resolution: "@swc/core-linux-arm-gnueabihf@npm:1.7.40" @@ -2784,6 +2798,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-linux-arm-gnueabihf@npm:1.8.0": + version: 1.8.0 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.8.0" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "@swc/core-linux-arm64-gnu@npm:1.7.40": version: 1.7.40 resolution: "@swc/core-linux-arm64-gnu@npm:1.7.40" @@ -2791,6 +2812,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-linux-arm64-gnu@npm:1.8.0": + version: 1.8.0 + resolution: "@swc/core-linux-arm64-gnu@npm:1.8.0" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + "@swc/core-linux-arm64-musl@npm:1.7.40": version: 1.7.40 resolution: "@swc/core-linux-arm64-musl@npm:1.7.40" @@ -2798,6 +2826,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-linux-arm64-musl@npm:1.8.0": + version: 1.8.0 + resolution: "@swc/core-linux-arm64-musl@npm:1.8.0" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + "@swc/core-linux-x64-gnu@npm:1.7.40": version: 1.7.40 resolution: "@swc/core-linux-x64-gnu@npm:1.7.40" @@ -2805,6 +2840,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-linux-x64-gnu@npm:1.8.0": + version: 1.8.0 + resolution: "@swc/core-linux-x64-gnu@npm:1.8.0" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + "@swc/core-linux-x64-musl@npm:1.7.40": version: 1.7.40 resolution: "@swc/core-linux-x64-musl@npm:1.7.40" @@ -2812,6 +2854,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-linux-x64-musl@npm:1.8.0": + version: 1.8.0 + resolution: "@swc/core-linux-x64-musl@npm:1.8.0" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + "@swc/core-win32-arm64-msvc@npm:1.7.40": version: 1.7.40 resolution: "@swc/core-win32-arm64-msvc@npm:1.7.40" @@ -2819,6 +2868,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-win32-arm64-msvc@npm:1.8.0": + version: 1.8.0 + resolution: "@swc/core-win32-arm64-msvc@npm:1.8.0" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@swc/core-win32-ia32-msvc@npm:1.7.40": version: 1.7.40 resolution: "@swc/core-win32-ia32-msvc@npm:1.7.40" @@ -2826,6 +2882,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-win32-ia32-msvc@npm:1.8.0": + version: 1.8.0 + resolution: "@swc/core-win32-ia32-msvc@npm:1.8.0" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@swc/core-win32-x64-msvc@npm:1.7.40": version: 1.7.40 resolution: "@swc/core-win32-x64-msvc@npm:1.7.40" @@ -2833,7 +2896,14 @@ __metadata: languageName: node linkType: hard -"@swc/core@npm:*, @swc/core@npm:1.7.40, @swc/core@npm:^1.7.3, @swc/core@npm:^1.7.40": +"@swc/core-win32-x64-msvc@npm:1.8.0": + version: 1.8.0 + resolution: "@swc/core-win32-x64-msvc@npm:1.8.0" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@swc/core@npm:*, @swc/core@npm:^1.7.3": version: 1.7.40 resolution: "@swc/core@npm:1.7.40" dependencies: @@ -2879,6 +2949,52 @@ __metadata: languageName: node linkType: hard +"@swc/core@npm:1.8.0, @swc/core@npm:^1.8.0": + version: 1.8.0 + resolution: "@swc/core@npm:1.8.0" + dependencies: + "@swc/core-darwin-arm64": "npm:1.8.0" + "@swc/core-darwin-x64": "npm:1.8.0" + "@swc/core-linux-arm-gnueabihf": "npm:1.8.0" + "@swc/core-linux-arm64-gnu": "npm:1.8.0" + "@swc/core-linux-arm64-musl": "npm:1.8.0" + "@swc/core-linux-x64-gnu": "npm:1.8.0" + "@swc/core-linux-x64-musl": "npm:1.8.0" + "@swc/core-win32-arm64-msvc": "npm:1.8.0" + "@swc/core-win32-ia32-msvc": "npm:1.8.0" + "@swc/core-win32-x64-msvc": "npm:1.8.0" + "@swc/counter": "npm:^0.1.3" + "@swc/types": "npm:^0.1.14" + peerDependencies: + "@swc/helpers": "*" + dependenciesMeta: + "@swc/core-darwin-arm64": + optional: true + "@swc/core-darwin-x64": + optional: true + "@swc/core-linux-arm-gnueabihf": + optional: true + "@swc/core-linux-arm64-gnu": + optional: true + "@swc/core-linux-arm64-musl": + optional: true + "@swc/core-linux-x64-gnu": + optional: true + "@swc/core-linux-x64-musl": + optional: true + "@swc/core-win32-arm64-msvc": + optional: true + "@swc/core-win32-ia32-msvc": + optional: true + "@swc/core-win32-x64-msvc": + optional: true + peerDependenciesMeta: + "@swc/helpers": + optional: true + checksum: 10/2e7fb49286545b2b712b8220dbaf0d342636bd4c31763f760dc9822975d8e538e0080f1eb8ae7e74bf9b2eed8200a9525fd210ead573843dabd6f3e388bfb336 + languageName: node + linkType: hard + "@swc/counter@npm:^0.1.3": version: 0.1.3 resolution: "@swc/counter@npm:0.1.3" @@ -2895,16 +3011,16 @@ __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: 10/39c5699646f0e90400af106156e5604069e8a7d8216f2421e171837b086839176c16f69925ce6a5c4c48182005eed649bdf9664023708e169aa48814feecc0d8 + checksum: 10/bbec37079b4f5c1ff1c95aeec07d08277c646a0c5e16e057ea3a8fe5c6e2bd59bbfc4312e53ddd05d25fa4de20a03607be274f560f28bb5e229dd08124780e16 languageName: node linkType: hard @@ -2917,6 +3033,15 @@ __metadata: languageName: node linkType: hard +"@swc/types@npm:^0.1.14": + version: 0.1.14 + resolution: "@swc/types@npm:0.1.14" + dependencies: + "@swc/counter": "npm:^0.1.3" + checksum: 10/1ee6cd759f7dd52ea64cbcacc912e2111624a8db0dcfae443604bd9d42b671d9b9570f1eca945dfc21b8850a15d2c0db2aa0e0b85f4bb9782f4acd1eb66dccd1 + languageName: node + linkType: hard + "@szmarczak/http-timer@npm:^4.0.5": version: 4.0.6 resolution: "@szmarczak/http-timer@npm:4.0.6" @@ -3972,8 +4097,8 @@ __metadata: version: 0.0.0-use.local resolution: "@vkontakte/vkui-codemods@workspace:packages/codemods" dependencies: - "@swc/core": "npm:^1.7.40" - "@swc/jest": "npm:^0.2.36" + "@swc/core": "npm:^1.8.0" + "@swc/jest": "npm:^0.2.37" "@types/cross-spawn": "npm:^6.0.6" "@types/jest": "npm:^29.5.14" "@types/jscodeshift": "npm:^0.12.0" @@ -4010,9 +4135,9 @@ __metadata: resolution: "@vkontakte/vkui-floating-ui@workspace:packages/vkui-floating-ui" dependencies: "@floating-ui/react-dom": "npm:^2.1.2" - "@swc/core": "npm:^1.7.40" + "@swc/core": "npm:^1.8.0" "@swc/helpers": "npm:^0.5.13" - "@swc/jest": "npm:^0.2.36" + "@swc/jest": "npm:^0.2.37" "@types/jest": "npm:^29.5.14" jest: "npm:^29.7.0" react: "npm:^18.3.1" @@ -4040,9 +4165,9 @@ __metadata: "@size-limit/file": "npm:^11.1.6" "@size-limit/webpack": "npm:^11.1.6" "@size-limit/webpack-css": "npm:^11.1.6" - "@swc/cli": "npm:^0.4.0" - "@swc/core": "npm:1.7.40" - "@swc/jest": "npm:^0.2.36" + "@swc/cli": "npm:^0.5.0" + "@swc/core": "npm:1.8.0" + "@swc/jest": "npm:^0.2.37" "@testing-library/dom": "npm:^10.4.0" "@testing-library/jest-dom": "npm:^6.6.2" "@testing-library/react": "npm:^16.0.1" @@ -4127,8 +4252,8 @@ __metadata: version: 0.0.0-use.local resolution: "@vkontakte/vkui-token-translator@workspace:packages/token-translator" dependencies: - "@swc/core": "npm:1.7.40" - "@swc/jest": "npm:^0.2.36" + "@swc/core": "npm:1.8.0" + "@swc/jest": "npm:^0.2.37" "@types/jest": "npm:^29.5.14" "@types/node": "npm:^22.8.7" "@types/postcss-less": "npm:^4.0.6" @@ -5065,7 +5190,7 @@ __metadata: resolution: "benchmark@workspace:benchmark" dependencies: "@playwright/test": "npm:1.48.2" - "@swc/core": "npm:^1.7.40" + "@swc/core": "npm:^1.8.0" "@vkontakte/vkui": "workspace:packages/vkui" cli-table3: "npm:^0.6.1" css-loader: "npm:^6.10.0"