diff --git a/packages/api/package.json b/packages/api/package.json index 1f696694..cbfb364a 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -38,9 +38,9 @@ "@chyzwar/eslint-config": "^0.2.14", "@chyzwar/tsconfig": "^0.2.14", "@jest/globals": "^29.7.0", - "@swc/cli": "^0.1.62", - "@swc/core": "^1.3.94", - "@swc/jest": "^0.2.29", + "@swc/cli": "^0.4.0", + "@swc/core": "^1.7.19", + "@swc/jest": "^0.2.36", "@types/jest": "^29.5.6", "@types/node": "^20.8.7", "@types/validator": "^13.11.5", diff --git a/packages/ui/package.json b/packages/ui/package.json index 655d6072..073def64 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -23,8 +23,8 @@ "devDependencies": { "@chyzwar/eslint-config": "^0.2.14", "@chyzwar/tsconfig": "^0.2.14", - "@swc/core": "^1.3.94", - "@swc/jest": "^0.2.29", + "@swc/core": "^1.7.19", + "@swc/jest": "^0.2.36", "@testing-library/dom": "^9.3.3", "@testing-library/jest-dom": "^6.1.4", "@testing-library/react": "^14.0.0", diff --git a/yarn.lock b/yarn.lock index d5aca190..8da07566 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1353,12 +1353,12 @@ __metadata: languageName: node linkType: hard -"@jest/create-cache-key-function@npm:^27.4.2": - version: 27.5.1 - resolution: "@jest/create-cache-key-function@npm:27.5.1" +"@jest/create-cache-key-function@npm:^29.7.0": + version: 29.7.0 + resolution: "@jest/create-cache-key-function@npm:29.7.0" dependencies: - "@jest/types": ^27.5.1 - checksum: a6c3a8c769aca6f66f5dc80f1c77e66980b4f213a6b2a15a92ba3595f032848a1261c06c9c798dcf2b672b1ffbefad5085af89d130548741c85ddbe0cf4284e7 + "@jest/types": ^29.6.3 + checksum: 681bc761fa1d6fa3dd77578d444f97f28296ea80755e90e46d1c8fa68661b9e67f54dd38b988742db636d26cf160450dc6011892cec98b3a7ceb58cad8ff3aae languageName: node linkType: hard @@ -1523,19 +1523,6 @@ __metadata: languageName: node linkType: hard -"@jest/types@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/types@npm:27.5.1" - dependencies: - "@types/istanbul-lib-coverage": ^2.0.0 - "@types/istanbul-reports": ^3.0.0 - "@types/node": "*" - "@types/yargs": ^16.0.0 - chalk: ^4.0.0 - checksum: d1f43cc946d87543ddd79d49547aab2399481d34025d5c5f2025d3d99c573e1d9832fa83cef25e9d9b07a8583500229d15bbb07b8e233d127d911d133e2f14b1 - languageName: node - linkType: hard - "@jest/types@npm:^29.6.3": version: 29.6.3 resolution: "@jest/types@npm:29.6.3" @@ -1908,9 +1895,9 @@ __metadata: "@fastify/static": ^6.11.2 "@jest/globals": ^29.7.0 "@project/common": "workspace:packages/common" - "@swc/cli": ^0.1.62 - "@swc/core": ^1.3.94 - "@swc/jest": ^0.2.29 + "@swc/cli": ^0.4.0 + "@swc/core": ^1.7.19 + "@swc/jest": ^0.2.36 "@types/jest": ^29.5.6 "@types/node": ^20.8.7 "@types/validator": ^13.11.5 @@ -1973,8 +1960,8 @@ __metadata: "@mui/icons-material": ^5.14.14 "@mui/material": ^5.14.14 "@project/common": "workspace:packages/common" - "@swc/core": ^1.3.94 - "@swc/jest": ^0.2.29 + "@swc/core": ^1.7.19 + "@swc/jest": ^0.2.36 "@testing-library/dom": ^9.3.3 "@testing-library/jest-dom": ^6.1.4 "@testing-library/react": ^14.0.0 @@ -2061,13 +2048,16 @@ __metadata: languageName: node linkType: hard -"@swc/cli@npm:^0.1.62": - version: 0.1.62 - resolution: "@swc/cli@npm:0.1.62" +"@swc/cli@npm:^0.4.0": + version: 0.4.0 + resolution: "@swc/cli@npm:0.4.0" dependencies: "@mole-inc/bin-wrapper": ^8.0.1 - commander: ^7.1.0 + "@swc/counter": ^0.1.3 + commander: ^8.3.0 fast-glob: ^3.2.5 + minimatch: ^9.0.3 + piscina: ^4.3.0 semver: ^7.3.8 slash: 3.0.0 source-map: ^0.7.3 @@ -2081,7 +2071,7 @@ __metadata: spack: bin/spack.js swc: bin/swc.js swcx: bin/swcx.js - checksum: d44e88a724ba32d4f63856f15899f8eff78d90d0c5452e4882412307bf6353a64b25e7dc9992fd6e3975c87e6c0d7b494d859a0d8badb9f3c6103623ca89ddc2 + checksum: df0d8f85c36b3e8268eaaabe6226f0cf7dd61b60cd9dcbe27c95f6b9844e3a9909ed0a7b295ee7e13a982dc11a77dc94d6860d050f00d6af6ed194c0df72348d languageName: node linkType: hard @@ -2092,6 +2082,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-darwin-arm64@npm:1.7.19": + version: 1.7.19 + resolution: "@swc/core-darwin-arm64@npm:1.7.19" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@swc/core-darwin-x64@npm:1.3.94": version: 1.3.94 resolution: "@swc/core-darwin-x64@npm:1.3.94" @@ -2099,6 +2096,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-darwin-x64@npm:1.7.19": + version: 1.7.19 + resolution: "@swc/core-darwin-x64@npm:1.7.19" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@swc/core-linux-arm-gnueabihf@npm:1.3.94": version: 1.3.94 resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.94" @@ -2106,6 +2110,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-linux-arm-gnueabihf@npm:1.7.19": + version: 1.7.19 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.7.19" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "@swc/core-linux-arm64-gnu@npm:1.3.94": version: 1.3.94 resolution: "@swc/core-linux-arm64-gnu@npm:1.3.94" @@ -2113,6 +2124,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-linux-arm64-gnu@npm:1.7.19": + version: 1.7.19 + resolution: "@swc/core-linux-arm64-gnu@npm:1.7.19" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + "@swc/core-linux-arm64-musl@npm:1.3.94": version: 1.3.94 resolution: "@swc/core-linux-arm64-musl@npm:1.3.94" @@ -2120,6 +2138,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-linux-arm64-musl@npm:1.7.19": + version: 1.7.19 + resolution: "@swc/core-linux-arm64-musl@npm:1.7.19" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + "@swc/core-linux-x64-gnu@npm:1.3.94": version: 1.3.94 resolution: "@swc/core-linux-x64-gnu@npm:1.3.94" @@ -2127,6 +2152,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-linux-x64-gnu@npm:1.7.19": + version: 1.7.19 + resolution: "@swc/core-linux-x64-gnu@npm:1.7.19" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + "@swc/core-linux-x64-musl@npm:1.3.94": version: 1.3.94 resolution: "@swc/core-linux-x64-musl@npm:1.3.94" @@ -2134,6 +2166,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-linux-x64-musl@npm:1.7.19": + version: 1.7.19 + resolution: "@swc/core-linux-x64-musl@npm:1.7.19" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + "@swc/core-win32-arm64-msvc@npm:1.3.94": version: 1.3.94 resolution: "@swc/core-win32-arm64-msvc@npm:1.3.94" @@ -2141,6 +2180,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-win32-arm64-msvc@npm:1.7.19": + version: 1.7.19 + resolution: "@swc/core-win32-arm64-msvc@npm:1.7.19" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@swc/core-win32-ia32-msvc@npm:1.3.94": version: 1.3.94 resolution: "@swc/core-win32-ia32-msvc@npm:1.3.94" @@ -2148,6 +2194,13 @@ __metadata: languageName: node linkType: hard +"@swc/core-win32-ia32-msvc@npm:1.7.19": + version: 1.7.19 + resolution: "@swc/core-win32-ia32-msvc@npm:1.7.19" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@swc/core-win32-x64-msvc@npm:1.3.94": version: 1.3.94 resolution: "@swc/core-win32-x64-msvc@npm:1.3.94" @@ -2155,7 +2208,14 @@ __metadata: languageName: node linkType: hard -"@swc/core@npm:^1.3.85, @swc/core@npm:^1.3.94": +"@swc/core-win32-x64-msvc@npm:1.7.19": + version: 1.7.19 + resolution: "@swc/core-win32-x64-msvc@npm:1.7.19" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@swc/core@npm:^1.3.85": version: 1.3.94 resolution: "@swc/core@npm:1.3.94" dependencies: @@ -2201,6 +2261,52 @@ __metadata: languageName: node linkType: hard +"@swc/core@npm:^1.7.19": + version: 1.7.19 + resolution: "@swc/core@npm:1.7.19" + dependencies: + "@swc/core-darwin-arm64": 1.7.19 + "@swc/core-darwin-x64": 1.7.19 + "@swc/core-linux-arm-gnueabihf": 1.7.19 + "@swc/core-linux-arm64-gnu": 1.7.19 + "@swc/core-linux-arm64-musl": 1.7.19 + "@swc/core-linux-x64-gnu": 1.7.19 + "@swc/core-linux-x64-musl": 1.7.19 + "@swc/core-win32-arm64-msvc": 1.7.19 + "@swc/core-win32-ia32-msvc": 1.7.19 + "@swc/core-win32-x64-msvc": 1.7.19 + "@swc/counter": ^0.1.3 + "@swc/types": ^0.1.12 + 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: 26d176e693d0e6fb395c8189399693e7740bdc6459ff3b12f1e745dc76841853d35f633fde44f7f4f72a2cfaf1008ebd41e68131c846bb62bc135c9edb7e04f4 + languageName: node + linkType: hard + "@swc/counter@npm:^0.1.1": version: 0.1.2 resolution: "@swc/counter@npm:0.1.2" @@ -2208,15 +2314,32 @@ __metadata: languageName: node linkType: hard -"@swc/jest@npm:^0.2.29": - version: 0.2.29 - resolution: "@swc/jest@npm:0.2.29" +"@swc/counter@npm:^0.1.3": + version: 0.1.3 + resolution: "@swc/counter@npm:0.1.3" + checksum: df8f9cfba9904d3d60f511664c70d23bb323b3a0803ec9890f60133954173047ba9bdeabce28cd70ba89ccd3fd6c71c7b0bd58be85f611e1ffbe5d5c18616598 + languageName: node + linkType: hard + +"@swc/jest@npm:^0.2.36": + version: 0.2.36 + resolution: "@swc/jest@npm:0.2.36" dependencies: - "@jest/create-cache-key-function": ^27.4.2 + "@jest/create-cache-key-function": ^29.7.0 + "@swc/counter": ^0.1.3 jsonc-parser: ^3.2.0 peerDependencies: "@swc/core": "*" - checksum: 9eaad322310f34e81f67d41411a7d60663341af1bd9fb65456faa914c936d849d6f643fa3b942a187d52e71e62c33097098c639d25c2047fa874f49bf51cec76 + checksum: 14f2e696ac093e23dae1e2e57d894bbcde4de6fe80341a26c8d0d8cbae5aae31832f8fa32dc698529f128d19a76aeedf2227f59480de6dab5eb3f30bfdf9b71a + languageName: node + linkType: hard + +"@swc/types@npm:^0.1.12": + version: 0.1.12 + resolution: "@swc/types@npm:0.1.12" + dependencies: + "@swc/counter": ^0.1.3 + checksum: cf7f89e46f859864075d7965582baea9c5f98830f45b1046251568c9bdf1ca484b1bf37f6d3c32b7c82ecf8cd5df89d22f05268c391819c44e49911bb1a8e71a languageName: node linkType: hard @@ -2632,15 +2755,6 @@ __metadata: languageName: node linkType: hard -"@types/yargs@npm:^16.0.0": - version: 16.0.5 - resolution: "@types/yargs@npm:16.0.5" - dependencies: - "@types/yargs-parser": "*" - checksum: 22697f7cc8aa32dcc10981a87f035e183303a58351c537c81fb450270d5c494b1d918186210e445b0eb2e4a8b34a8bda2a595f346bdb1c9ed2b63d193cb00430 - languageName: node - linkType: hard - "@types/yargs@npm:^17.0.8": version: 17.0.10 resolution: "@types/yargs@npm:17.0.10" @@ -3832,10 +3946,10 @@ __metadata: languageName: node linkType: hard -"commander@npm:^7.1.0": - version: 7.2.0 - resolution: "commander@npm:7.2.0" - checksum: 53501cbeee61d5157546c0bef0fedb6cdfc763a882136284bed9a07225f09a14b82d2a84e7637edfd1a679fb35ed9502fd58ef1d091e6287f60d790147f68ddc +"commander@npm:^8.3.0": + version: 8.3.0 + resolution: "commander@npm:8.3.0" + checksum: 0f82321821fc27b83bd409510bb9deeebcfa799ff0bf5d102128b500b7af22872c0c92cb6a0ebc5a4cf19c6b550fba9cedfa7329d18c6442a625f851377bacf0 languageName: node linkType: hard @@ -7471,6 +7585,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^9.0.3": + version: 9.0.5 + resolution: "minimatch@npm:9.0.5" + dependencies: + brace-expansion: ^2.0.1 + checksum: 2c035575eda1e50623c731ec6c14f65a85296268f749b9337005210bb2b34e2705f8ef1a358b188f69892286ab99dc42c8fb98a57bde55c8d81b3023c19cea28 + languageName: node + linkType: hard + "minimist-options@npm:4.1.0": version: 4.1.0 resolution: "minimist-options@npm:4.1.0" @@ -7630,6 +7753,37 @@ __metadata: languageName: node linkType: hard +"nice-napi@npm:^1.0.2": + version: 1.0.2 + resolution: "nice-napi@npm:1.0.2" + dependencies: + node-addon-api: ^3.0.0 + node-gyp: latest + node-gyp-build: ^4.2.2 + conditions: "!os=win32" + languageName: node + linkType: hard + +"node-addon-api@npm:^3.0.0": + version: 3.2.1 + resolution: "node-addon-api@npm:3.2.1" + dependencies: + node-gyp: latest + checksum: 2369986bb0881ccd9ef6bacdf39550e07e089a9c8ede1cbc5fc7712d8e2faa4d50da0e487e333d4125f8c7a616c730131d1091676c9d499af1d74560756b4a18 + languageName: node + linkType: hard + +"node-gyp-build@npm:^4.2.2": + version: 4.8.1 + resolution: "node-gyp-build@npm:4.8.1" + bin: + node-gyp-build: bin.js + node-gyp-build-optional: optional.js + node-gyp-build-test: build-test.js + checksum: fe6e95da6f4608c1a98655f6bf2fe4e8dd9c877cd13256056a8acaf585cc7f98718823fe9366be11b78c2f332d5a184b00cf07a4af96c9d8fea45f640c019f98 + languageName: node + linkType: hard + "node-gyp@npm:latest": version: 8.2.0 resolution: "node-gyp@npm:8.2.0" @@ -8270,6 +8424,18 @@ __metadata: languageName: node linkType: hard +"piscina@npm:^4.3.0": + version: 4.6.1 + resolution: "piscina@npm:4.6.1" + dependencies: + nice-napi: ^1.0.2 + dependenciesMeta: + nice-napi: + optional: true + checksum: a0d79d1798965a0fc4aef65045b2deacbc3af7bd6effa8d08b4e1d59dfacc082e26d496701bb87b8ff2dc0798e1868ec612a6ad75ffe837f7c13cfb98d4f4e01 + languageName: node + linkType: hard + "pkg-dir@npm:^4.2.0": version: 4.2.0 resolution: "pkg-dir@npm:4.2.0"