From 3ceefc09b09e67b56386480040e8fab01e4dc1a0 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 24 Nov 2024 15:56:45 -0800 Subject: [PATCH] i give up --- package.json | 2 +- pnpm-lock.yaml | 222 ++++++++++++++++++++++++++++++++++--------------- 2 files changed, 156 insertions(+), 68 deletions(-) diff --git a/package.json b/package.json index 5d82a6e82..60e7256ed 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "@rspack/cli": "^1.1.3", "@rspack/core": "^1.1.3", "@rspack/dev-server": "^1.0.9", - "@swc-node/register": "^0.1.12", "@swc/helpers": "^0.5.15", + "@swc/register": "^0.1.10", "@types/node": "^22.9.3", "@types/pngjs": "^6.0.5", "@types/webxr": "^0.5.20", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 03d3b08d2..0b6c490b8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,19 +23,19 @@ importers: devDependencies: '@rspack/cli': specifier: ^1.1.3 - version: 1.1.3(@rspack/core@1.1.3(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.95.0) + version: 1.1.3(@rspack/core@1.1.3(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))) '@rspack/core': specifier: ^1.1.3 version: 1.1.3(@swc/helpers@0.5.15) '@rspack/dev-server': specifier: ^1.0.9 - version: 1.0.9(@rspack/core@1.1.3(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.95.0) - '@swc-node/register': - specifier: ^0.1.12 - version: 0.1.12 + version: 1.0.9(@rspack/core@1.1.3(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))) '@swc/helpers': specifier: ^0.5.15 version: 0.5.15 + '@swc/register': + specifier: ^0.1.10 + version: 0.1.10(@swc/core@1.9.3(@swc/helpers@0.5.15)) '@types/node': specifier: ^22.9.3 version: 22.9.3 @@ -56,19 +56,19 @@ importers: version: 6.0.3 clean-webpack-plugin: specifier: ^4.0.0 - version: 4.0.0(webpack@5.95.0) + version: 4.0.0(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))) cross-env: specifier: ^7.0.3 version: 7.0.3 fork-ts-checker-webpack-plugin: specifier: ^9.0.2 - version: 9.0.2(typescript@5.7.2)(webpack@5.95.0) + version: 9.0.2(typescript@5.7.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))) git-revision-webpack-plugin: specifier: ^5.0.0 - version: 5.0.0(webpack@5.95.0) + version: 5.0.0(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))) html-webpack-plugin: specifier: ^5.6.3 - version: 5.6.3(@rspack/core@1.1.3(@swc/helpers@0.5.15))(webpack@5.95.0) + version: 5.6.3(@rspack/core@1.1.3(@swc/helpers@0.5.15))(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))) onchange: specifier: ^7.1.0 version: 7.1.0 @@ -310,9 +310,6 @@ packages: '@module-federation/webpack-bundler-runtime@0.5.1': resolution: {integrity: sha512-mMhRFH0k2VjwHt3Jol9JkUsmI/4XlrAoBG3E0o7HoyoPYv1UFOWyqAflfANcUPgbYpvqmyLzDcO+3IT36LXnrA==} - '@node-rs/helper@0.2.1': - resolution: {integrity: sha512-DEPYwfkkhJlVLFu6hWVGZi96jUCBahi1WoHZAC7gSFoeoJtxwJ+FrJSDx/8c9aIwAf477NnKj8bRJzFm98Me3A==} - '@pkgjs/parseargs@0.11.0': resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} @@ -392,36 +389,91 @@ packages: resolution: {integrity: sha512-VynGOEsVw2s8TAlLf/uESfrgfrq2+rcXB1muPJYBWbsm1Oa6r5qVQhjA5ggM6z/coYPrsVMgovl3Ff7Q7OCp1w==} engines: {node: '>=16.0.0'} - '@swc-node/core-darwin@0.1.12': - resolution: {integrity: sha512-tDP7+MGwKzlHCJd1QBEAECsNIoMSsC0CBqx3U0rSuN88SyfhIXd0T4fSNnDYyEoBOd0LG0ld76yAW3eeA+hLHw==} + '@swc/core-darwin-arm64@1.9.3': + resolution: {integrity: sha512-hGfl/KTic/QY4tB9DkTbNuxy5cV4IeejpPD4zo+Lzt4iLlDWIeANL4Fkg67FiVceNJboqg48CUX+APhDHO5G1w==} + engines: {node: '>=10'} + cpu: [arm64] + os: [darwin] + + '@swc/core-darwin-x64@1.9.3': + resolution: {integrity: sha512-IaRq05ZLdtgF5h9CzlcgaNHyg4VXuiStnOFpfNEMuI5fm5afP2S0FHq8WdakUz5WppsbddTdplL+vpeApt/WCQ==} + engines: {node: '>=10'} cpu: [x64] os: [darwin] - '@swc-node/core-linux@0.1.12': - resolution: {integrity: sha512-WZvQkbEdIUxLCGMSpxYk1cGD+I5Y4IInMQ2fo6I4X9F+JOOkB4gfwqeurz6HnsC1QZxuLijbolu7D20reU2ShA==} + '@swc/core-linux-arm-gnueabihf@1.9.3': + resolution: {integrity: sha512-Pbwe7xYprj/nEnZrNBvZfjnTxlBIcfApAGdz2EROhjpPj+FBqBa3wOogqbsuGGBdCphf8S+KPprL1z+oDWkmSQ==} + engines: {node: '>=10'} + cpu: [arm] + os: [linux] + + '@swc/core-linux-arm64-gnu@1.9.3': + resolution: {integrity: sha512-AQ5JZiwNGVV/2K2TVulg0mw/3LYfqpjZO6jDPtR2evNbk9Yt57YsVzS+3vHSlUBQDRV9/jqMuZYVU3P13xrk+g==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + + '@swc/core-linux-arm64-musl@1.9.3': + resolution: {integrity: sha512-tzVH480RY6RbMl/QRgh5HK3zn1ZTFsThuxDGo6Iuk1MdwIbdFYUY034heWUTI4u3Db97ArKh0hNL0xhO3+PZdg==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + + '@swc/core-linux-x64-gnu@1.9.3': + resolution: {integrity: sha512-ivXXBRDXDc9k4cdv10R21ccBmGebVOwKXT/UdH1PhxUn9m/h8erAWjz5pcELwjiMf27WokqPgaWVfaclDbgE+w==} + engines: {node: '>=10'} cpu: [x64] os: [linux] - '@swc-node/core-win32@0.1.12': - resolution: {integrity: sha512-1CgmQrmzgMwc/GYJ/TK7Jq3qC0Irrca+Q9wvAwcOeas+aPN3Uk7oVbOP6+VXSDMEL+DlII35qaakLlsO5FJcYw==} + '@swc/core-linux-x64-musl@1.9.3': + resolution: {integrity: sha512-ILsGMgfnOz1HwdDz+ZgEuomIwkP1PHT6maigZxaCIuC6OPEhKE8uYna22uU63XvYcLQvZYDzpR3ms47WQPuNEg==} + engines: {node: '>=10'} cpu: [x64] + os: [linux] + + '@swc/core-win32-arm64-msvc@1.9.3': + resolution: {integrity: sha512-e+XmltDVIHieUnNJHtspn6B+PCcFOMYXNJB1GqoCcyinkEIQNwC8KtWgMqUucUbEWJkPc35NHy9k8aCXRmw9Kg==} + engines: {node: '>=10'} + cpu: [arm64] os: [win32] - '@swc-node/core@0.1.12': - resolution: {integrity: sha512-qMVBr6Ji9R0rtDga/9R+CQkajc0sSoyeFjmRZr3Y1YnhqN6/JgpYDfFcf8DI+dTz3+4VdpC62tTJAI82h0pC/g==} - engines: {node: '>= 8.9'} + '@swc/core-win32-ia32-msvc@1.9.3': + resolution: {integrity: sha512-rqpzNfpAooSL4UfQnHhkW8aL+oyjqJniDP0qwZfGnjDoJSbtPysHg2LpcOBEdSnEH+uIZq6J96qf0ZFD8AGfXA==} + engines: {node: '>=10'} + cpu: [ia32] + os: [win32] + + '@swc/core-win32-x64-msvc@1.9.3': + resolution: {integrity: sha512-3YJJLQ5suIEHEKc1GHtqVq475guiyqisKSoUnoaRtxkDaW5g1yvPt9IoSLOe2mRs7+FFhGGU693RsBUSwOXSdQ==} + engines: {node: '>=10'} cpu: [x64] - os: [darwin, linux, win32] + os: [win32] - '@swc-node/register@0.1.12': - resolution: {integrity: sha512-do1fEUItvBcRjwkAY1D7OX5eRkrTQMEhvhuMjQAh/TpK0fHpd5Du8/HHJR/XraCwPfxuRSbt+ia5jFU4a+Ohmw==} + '@swc/core@1.9.3': + resolution: {integrity: sha512-oRj0AFePUhtatX+BscVhnzaAmWjpfAeySpM1TCbxA1rtBDeH/JDhi5yYzAKneDYtVtBvA7ApfeuzhMC9ye4xSg==} + engines: {node: '>=10'} + peerDependencies: + '@swc/helpers': '*' + peerDependenciesMeta: + '@swc/helpers': + optional: true - '@swc-node/sourcemap-support@0.1.11': - resolution: {integrity: sha512-b+Mn3oQl+7nUSt7hPzIbY9B30YhcFo1PT4kd9P4QmD6raycmIealOAhAdZID/JevphzsOXHQB4OqJm7Yi5tMcA==} + '@swc/counter@0.1.3': + resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} '@swc/helpers@0.5.15': resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==} + '@swc/register@0.1.10': + resolution: {integrity: sha512-6STwH/q4dc3pitXLVkV7sP0Hiy+zBsU2wOF1aXpXR95pnH3RYHKIsDC+gvesfyB7jxNT9OOZgcqOp9RPxVTx9A==} + deprecated: Use @swc-node/register instead + hasBin: true + peerDependencies: + '@swc/core': ^1.0.46 + + '@swc/types@0.1.17': + resolution: {integrity: sha512-V5gRru+aD8YVyCOMAjMpWR1Ui577DD5KSJsHP8RAxopAH22jFz6GZd/qxqjO6MJHQhcsjvjOFXyDhyLQUnMveQ==} + '@types/body-parser@1.19.5': resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==} @@ -1383,6 +1435,9 @@ packages: resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==} engines: {node: '>=6.11.5'} + lodash.clonedeep@4.5.0: + resolution: {integrity: sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==} + lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} @@ -2273,10 +2328,6 @@ snapshots: '@module-federation/runtime': 0.5.1 '@module-federation/sdk': 0.5.1 - '@node-rs/helper@0.2.1': - dependencies: - tslib: 2.8.1 - '@pkgjs/parseargs@0.11.0': optional: true @@ -2321,11 +2372,11 @@ snapshots: '@rspack/binding-win32-ia32-msvc': 1.1.3 '@rspack/binding-win32-x64-msvc': 1.1.3 - '@rspack/cli@1.1.3(@rspack/core@1.1.3(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.95.0)': + '@rspack/cli@1.1.3(@rspack/core@1.1.3(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15)))': dependencies: '@discoveryjs/json-ext': 0.5.7 '@rspack/core': 1.1.3(@swc/helpers@0.5.15) - '@rspack/dev-server': 1.0.9(@rspack/core@1.1.3(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.95.0) + '@rspack/dev-server': 1.0.9(@rspack/core@1.1.3(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))) colorette: 2.0.19 exit-hook: 4.0.0 interpret: 3.1.1 @@ -2351,7 +2402,7 @@ snapshots: optionalDependencies: '@swc/helpers': 0.5.15 - '@rspack/dev-server@1.0.9(@rspack/core@1.1.3(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.95.0)': + '@rspack/dev-server@1.0.9(@rspack/core@1.1.3(@swc/helpers@0.5.15))(@types/express@4.17.21)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15)))': dependencies: '@rspack/core': 1.1.3(@swc/helpers@0.5.15) chokidar: 3.6.0 @@ -2360,8 +2411,8 @@ snapshots: http-proxy-middleware: 2.0.7(@types/express@4.17.21) mime-types: 2.1.35 p-retry: 4.6.2 - webpack-dev-middleware: 7.4.2(webpack@5.95.0) - webpack-dev-server: 5.0.4(webpack@5.95.0) + webpack-dev-middleware: 7.4.2(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))) + webpack-dev-server: 5.0.4(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))) ws: 8.18.0 transitivePeerDependencies: - '@types/express' @@ -2374,36 +2425,69 @@ snapshots: '@rspack/lite-tapable@1.0.1': {} - '@swc-node/core-darwin@0.1.12': + '@swc/core-darwin-arm64@1.9.3': + optional: true + + '@swc/core-darwin-x64@1.9.3': + optional: true + + '@swc/core-linux-arm-gnueabihf@1.9.3': + optional: true + + '@swc/core-linux-arm64-gnu@1.9.3': + optional: true + + '@swc/core-linux-arm64-musl@1.9.3': optional: true - '@swc-node/core-linux@0.1.12': + '@swc/core-linux-x64-gnu@1.9.3': optional: true - '@swc-node/core-win32@0.1.12': + '@swc/core-linux-x64-musl@1.9.3': optional: true - '@swc-node/core@0.1.12': + '@swc/core-win32-arm64-msvc@1.9.3': + optional: true + + '@swc/core-win32-ia32-msvc@1.9.3': + optional: true + + '@swc/core-win32-x64-msvc@1.9.3': + optional: true + + '@swc/core@1.9.3(@swc/helpers@0.5.15)': dependencies: - '@node-rs/helper': 0.2.1 + '@swc/counter': 0.1.3 + '@swc/types': 0.1.17 optionalDependencies: - '@swc-node/core-darwin': 0.1.12 - '@swc-node/core-linux': 0.1.12 - '@swc-node/core-win32': 0.1.12 + '@swc/core-darwin-arm64': 1.9.3 + '@swc/core-darwin-x64': 1.9.3 + '@swc/core-linux-arm-gnueabihf': 1.9.3 + '@swc/core-linux-arm64-gnu': 1.9.3 + '@swc/core-linux-arm64-musl': 1.9.3 + '@swc/core-linux-x64-gnu': 1.9.3 + '@swc/core-linux-x64-musl': 1.9.3 + '@swc/core-win32-arm64-msvc': 1.9.3 + '@swc/core-win32-ia32-msvc': 1.9.3 + '@swc/core-win32-x64-msvc': 1.9.3 + '@swc/helpers': 0.5.15 - '@swc-node/register@0.1.12': + '@swc/counter@0.1.3': {} + + '@swc/helpers@0.5.15': dependencies: - '@swc-node/core': 0.1.12 - '@swc-node/sourcemap-support': 0.1.11 - pirates: 4.0.6 + tslib: 2.8.1 - '@swc-node/sourcemap-support@0.1.11': + '@swc/register@0.1.10(@swc/core@1.9.3(@swc/helpers@0.5.15))': dependencies: + '@swc/core': 1.9.3(@swc/helpers@0.5.15) + lodash.clonedeep: 4.5.0 + pirates: 4.0.6 source-map-support: 0.5.21 - '@swc/helpers@0.5.15': + '@swc/types@0.1.17': dependencies: - tslib: 2.8.1 + '@swc/counter': 0.1.3 '@types/body-parser@1.19.5': dependencies: @@ -2790,10 +2874,10 @@ snapshots: dependencies: source-map: 0.6.1 - clean-webpack-plugin@4.0.0(webpack@5.95.0): + clean-webpack-plugin@4.0.0(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))): dependencies: del: 4.1.1 - webpack: 5.95.0 + webpack: 5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15)) cliui@8.0.1: dependencies: @@ -3126,7 +3210,7 @@ snapshots: cross-spawn: 7.0.6 signal-exit: 4.1.0 - fork-ts-checker-webpack-plugin@9.0.2(typescript@5.7.2)(webpack@5.95.0): + fork-ts-checker-webpack-plugin@9.0.2(typescript@5.7.2)(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))): dependencies: '@babel/code-frame': 7.26.2 chalk: 4.1.2 @@ -3141,7 +3225,7 @@ snapshots: semver: 7.6.3 tapable: 2.2.1 typescript: 5.7.2 - webpack: 5.95.0 + webpack: 5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15)) forwarded@0.2.0: {} @@ -3182,9 +3266,9 @@ snapshots: dependencies: resolve-pkg-maps: 1.0.0 - git-revision-webpack-plugin@5.0.0(webpack@5.95.0): + git-revision-webpack-plugin@5.0.0(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))): dependencies: - webpack: 5.95.0 + webpack: 5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15)) gl-matrix@3.4.3: {} @@ -3267,7 +3351,7 @@ snapshots: relateurl: 0.2.7 terser: 5.36.0 - html-webpack-plugin@5.6.3(@rspack/core@1.1.3(@swc/helpers@0.5.15))(webpack@5.95.0): + html-webpack-plugin@5.6.3(@rspack/core@1.1.3(@swc/helpers@0.5.15))(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 @@ -3276,7 +3360,7 @@ snapshots: tapable: 2.2.1 optionalDependencies: '@rspack/core': 1.1.3(@swc/helpers@0.5.15) - webpack: 5.95.0 + webpack: 5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15)) htmlparser2@6.1.0: dependencies: @@ -3447,6 +3531,8 @@ snapshots: loader-runner@4.3.0: {} + lodash.clonedeep@4.5.0: {} + lodash@4.17.21: {} lower-case@2.0.2: @@ -3963,14 +4049,16 @@ snapshots: mkdirp: 1.0.4 yallist: 4.0.0 - terser-webpack-plugin@5.3.10(webpack@5.95.0): + terser-webpack-plugin@5.3.10(@swc/core@1.9.3(@swc/helpers@0.5.15))(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))): dependencies: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 terser: 5.36.0 - webpack: 5.95.0 + webpack: 5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15)) + optionalDependencies: + '@swc/core': 1.9.3(@swc/helpers@0.5.15) terser@5.36.0: dependencies: @@ -4076,7 +4164,7 @@ snapshots: - bufferutil - utf-8-validate - webpack-dev-middleware@7.4.2(webpack@5.95.0): + webpack-dev-middleware@7.4.2(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))): dependencies: colorette: 2.0.20 memfs: 4.14.0 @@ -4085,9 +4173,9 @@ snapshots: range-parser: 1.2.1 schema-utils: 4.2.0 optionalDependencies: - webpack: 5.95.0 + webpack: 5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15)) - webpack-dev-server@5.0.4(webpack@5.95.0): + webpack-dev-server@5.0.4(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))): dependencies: '@types/bonjour': 3.5.13 '@types/connect-history-api-fallback': 1.5.4 @@ -4117,10 +4205,10 @@ snapshots: serve-index: 1.9.1 sockjs: 0.3.24 spdy: 4.0.2 - webpack-dev-middleware: 7.4.2(webpack@5.95.0) + webpack-dev-middleware: 7.4.2(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))) ws: 8.18.0 optionalDependencies: - webpack: 5.95.0 + webpack: 5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15)) transitivePeerDependencies: - bufferutil - debug @@ -4129,7 +4217,7 @@ snapshots: webpack-sources@3.2.3: {} - webpack@5.95.0: + webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15)): dependencies: '@types/estree': 1.0.6 '@webassemblyjs/ast': 1.14.1 @@ -4151,7 +4239,7 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(webpack@5.95.0) + terser-webpack-plugin: 5.3.10(@swc/core@1.9.3(@swc/helpers@0.5.15))(webpack@5.95.0(@swc/core@1.9.3(@swc/helpers@0.5.15))) watchpack: 2.4.2 webpack-sources: 3.2.3 transitivePeerDependencies: