A platform for community discussion. Free, open, simple.
DEV: Replace `esbuild` with `rolldown` for asset-processor build (#40447)
David Tayloradd637541053
diff --git a/frontend/asset-processor/build.js b/frontend/asset-processor/build.jsdeleted file mode 100644index 64c81c2bdbe..00000000000--- a/frontend/asset-processor/build.js+++ /dev/null@@ -1,73 +0,0 @@-// See: https://esbuild.github.io/plugins/#webassembly-plugin--const esbuild = require("esbuild");-const path = require("node:path");-const fs = require("node:fs");--let wasmPlugin = {- name: "wasm",-- setup(build) {- build.onResolve({ filter: /\.wasm$/ }, (args) => {- if (args.namespace === "wasm-stub") {- return {- path: args.path,- namespace: "wasm-binary",- };- }-- if (args.resolveDir === "") {- return;- }-- return {- path: path.isAbsolute(args.path)- ? args.path- : path.join(args.resolveDir, args.path),- namespace: "wasm-stub",- };- });-- build.onLoad({ filter: /.*/, namespace: "wasm-stub" }, async (args) => {- return {- contents: `export { default } from ${JSON.stringify(args.path)};`,- };- });-- build.onLoad({ filter: /.*/, namespace: "wasm-binary" }, async (args) => {- return {- contents: await fs.promises.readFile(args.path),- loader: "binary",- };- });- },-};--esbuild- .build({- logLevel: "warning",- bundle: true,- minify: false,- alias: {- path: "path-browserify",- url: "./url-polyfill",- "source-map-js": "source-map-js",- assert: "./noop",- fs: "./noop",- stream: "readable-stream",- "abort-controller": "abort-controller/dist/abort-controller",- os: "./os-shim",- workerpool: "./workerpool-shim",- },- banner: {- js: `var process = { "env": { "EMBER_ENV": "production" }, "cwd": () => "/" };`,- },- define: {- "import.meta.url": "'http://example.com'",- },- supported: { "from-base64": false },- external: [],- entryPoints: ["./transpiler.js"],- plugins: [wasmPlugin],- })- .then(() => {});diff --git a/frontend/asset-processor/build.mjs b/frontend/asset-processor/build.mjsnew file mode 100644index 00000000000..213e077d2d4--- /dev/null+++ b/frontend/asset-processor/build.mjs@@ -0,0 +1,53 @@+import { fileURLToPath } from "node:url";+import { rolldown } from "rolldown";++const local = (p) => fileURLToPath(import.meta.resolve(p));++const bundle = await rolldown({+ input: local("./transpiler.js"),+ platform: "browser",+ moduleTypes: { ".wasm": "binary" },+ transform: {+ define: {+ "import.meta.url": "'http://example.com'",+ },+ },+ resolve: {+ extensions: [".mjs", ".js", ".cjs", ".json"],+ alias: {+ path: "path-browserify",+ url: local("./url-polyfill.js"),+ // Absolute path so postcss's `browser` field (`source-map-js: false`) can't stub it out and disable CSS sourcemaps.+ "source-map-js": local("source-map-js"),+ assert: local("./noop.js"),+ fs: local("./noop.js"),+ os: local("./os-shim.js"),+ workerpool: local("./workerpool-shim.js"),+ },+ },+ plugins: [+ {+ name: "text-encoder-umd",+ transform: {+ filter: { id: /EncoderDecoderTogether\.min\.js$/ },+ // Give this UMD a local `self` to attach its exports to, then re-export them.+ handler(code) {+ return {+ code: `var self = {};\n${code}\nexport const { TextEncoder, TextDecoder } = self;\n`,+ moduleType: "js",+ };+ },+ },+ },+ ],+});++const { output } = await bundle.generate({+ format: "iife",+ minify: false,+ banner: `var process = { "env": { "EMBER_ENV": "production" }, "cwd": () => "/" };`,+});++await bundle.close();++process.stdout.write(output[0].code);diff --git a/frontend/asset-processor/package.json b/frontend/asset-processor/package.jsonindex 44cefc487cc..bea95627799 100644--- a/frontend/asset-processor/package.json+++ b/frontend/asset-processor/package.json@@ -2,7 +2,7 @@"name": "asset-processor","version": "1.0.0","private": true,- "description": "Uses esbuild to create a 'asset processor' bundle for loading into mini-racer",+ "description": "Uses rolldown to create a 'asset processor' bundle for loading into mini-racer","author": "Discourse","license": "GPL-2.0-only","keywords": [],@@ -16,7 +16,6 @@"@csstools/postcss-light-dark-function": "^3.0.1","@rollup/browser": "^4.60.3","@rollup/plugin-babel": "^7.0.0",- "abort-controller": "^3.0.0","autoprefixer": "^10.5.0","babel-plugin-ember-template-compilation": "^4.0.0","content-tag": "^4.0.0",@@ -26,15 +25,13 @@"ember-cli-htmlbars": "^7.0.1","ember-source": "~6.10.0","ember-this-fallback": "^0.4.0",- "esbuild": "^0.28.0","fastestsmallesttextencoderdecoder": "^1.0.22","magic-string": "^0.30.21","path-browserify": "^1.0.1","polyfill-crypto.getrandomvalues": "^1.0.0","postcss": "^8.5.15",- "postcss-js": "^5.1.0","postcss-nesting": "^14.0.0",- "readable-stream": "^4.7.0",+ "rolldown": "1.0.0","source-map-js": "^1.2.1","terser": "^5.47.1"},diff --git a/lib/asset_processor.rb b/lib/asset_processor.rbindex d52b5ebfbbe..df2803b343d 100644--- a/lib/asset_processor.rb+++ b/lib/asset_processor.rb@@ -8,7 +8,7 @@ class AssetProcessorCACHE_DEPENDENCY_GLOBS = %w[node_modules/.pnpm/lock.yaml- frontend/asset-processor/**/*.js+ frontend/asset-processor/**/*.{js,mjs}frontend/discourse/lib/babel-transform-module-renames.jsfrontend/discourse/config/targets.js]@@ -55,7 +55,7 @@ class AssetProcessorenddef self.build_asset_processor- Discourse::Utils.execute_command("pnpm", "-C=frontend/asset-processor", "node", "build.js")+ Discourse::Utils.execute_command("pnpm", "-C=frontend/asset-processor", "node", "build.mjs")enddef self.inputs_digestdiff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 909dbd76fab..e7a94fefa3c 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -129,9 +129,6 @@ importers:'@rollup/plugin-babel':specifier: ^7.0.0version: 7.1.0(@babel/[email protected])([email protected])- abort-controller:- specifier: ^3.0.0- version: 3.0.0autoprefixer:specifier: ^10.5.0version: 10.5.0([email protected])@@ -159,9 +156,6 @@ importers:ember-this-fallback:specifier: ^0.4.0version: 0.4.0(patch_hash=31c150a292037db2b05d9030a75069bb0a9518a4a7e0969b9b4e14d957134e45)([email protected](@babel/[email protected])([email protected](patch_hash=85ff9a16d08431e3bdc9aea8d55280e14f437f1c2a7d8e461de56c614ad48926)(@glimmer/[email protected])([email protected])))([email protected](patch_hash=85ff9a16d08431e3bdc9aea8d55280e14f437f1c2a7d8e461de56c614ad48926)(@glimmer/[email protected])([email protected]))- esbuild:- specifier: ^0.28.0- version: 0.28.0fastestsmallesttextencoderdecoder:specifier: ^1.0.22version: 1.0.22@@ -177,15 +171,12 @@ importers:postcss:specifier: ^8.5.15version: 8.5.15- postcss-js:- specifier: ^5.1.0- version: 5.1.0([email protected])postcss-nesting:specifier: ^14.0.0version: 14.0.0([email protected])- readable-stream:- specifier: ^4.7.0- version: 4.7.0+ rolldown:+ specifier: 1.0.0+ version: 1.0.0source-map-js:specifier: ^1.2.1version: 1.2.1@@ -1824,312 +1815,156 @@ packages:cpu: [ppc64]os: [aix]- '@esbuild/[email protected]':- resolution: {integrity: sha512-lhRUCeuOyJQURhTxl4WkpFTjIsbDayJHih5kZC1giwE+MhIzAb7mEsQMqMf18rHLsrb5qI1tafG20mLxEWcWlA==}- engines: {node: '>=18'}- cpu: [ppc64]- os: [aix]-'@esbuild/[email protected]':resolution: {integrity: sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==}engines: {node: '>=18'}cpu: [arm64]os: [android]- '@esbuild/[email protected]':- resolution: {integrity: sha512-+WzIXQOSaGs33tLEgYPYe/yQHf0WTU0X42Jca3y8NWMbUVhp7rUnw+vAsRC/QiDrdD31IszMrZy+qwPOPjd+rw==}- engines: {node: '>=18'}- cpu: [arm64]- os: [android]-'@esbuild/[email protected]':resolution: {integrity: sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==}engines: {node: '>=18'}cpu: [arm]os: [android]- '@esbuild/[email protected]':- resolution: {integrity: sha512-wqh0ByljabXLKHeWXYLqoJ5jKC4XBaw6Hk08OfMrCRd2nP2ZQ5eleDZC41XHyCNgktBGYMbqnrJKq/K/lzPMSQ==}- engines: {node: '>=18'}- cpu: [arm]- os: [android]-'@esbuild/[email protected]':resolution: {integrity: sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==}engines: {node: '>=18'}cpu: [x64]os: [android]- '@esbuild/[email protected]':- resolution: {integrity: sha512-+VJggoaKhk2VNNqVL7f6S189UzShHC/mR9EE8rDdSkdpN0KflSwWY/gWjDrNxxisg8Fp1ZCD9jLMo4m0OUfeUA==}- engines: {node: '>=18'}- cpu: [x64]- os: [android]-'@esbuild/[email protected]':resolution: {integrity: sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==}engines: {node: '>=18'}cpu: [arm64]os: [darwin]- '@esbuild/[email protected]':- resolution: {integrity: sha512-0T+A9WZm+bZ84nZBtk1ckYsOvyA3x7e2Acj1KdVfV4/2tdG4fzUp91YHx+GArWLtwqp77pBXVCPn2We7Letr0Q==}- engines: {node: '>=18'}- cpu: [arm64]- os: [darwin]-'@esbuild/[email protected]':resolution: {integrity: sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==}engines: {node: '>=18'}cpu: [x64]os: [darwin]- '@esbuild/[email protected]':- resolution: {integrity: sha512-fyzLm/DLDl/84OCfp2f/XQ4flmORsjU7VKt8HLjvIXChJoFFOIL6pLJPH4Yhd1n1gGFF9mPwtlN5Wf82DZs+LQ==}- engines: {node: '>=18'}- cpu: [x64]- os: [darwin]-'@esbuild/[email protected]':resolution: {integrity: sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==}engines: {node: '>=18'}cpu: [arm64]os: [freebsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-l9GeW5UZBT9k9brBYI+0WDffcRxgHQD8ShN2Ur4xWq/NFzUKm3k5lsH4PdaRgb2w7mI9u61nr2gI2mLI27Nh3Q==}- engines: {node: '>=18'}- cpu: [arm64]- os: [freebsd]-'@esbuild/[email protected]':resolution: {integrity: sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==}engines: {node: '>=18'}cpu: [x64]os: [freebsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-BXoQai/A0wPO6Es3yFJ7APCiKGc1tdAEOgeTNy3SsB491S3aHn4S4r3e976eUnPdU+NbdtmBuLncYir2tMU9Nw==}- engines: {node: '>=18'}- cpu: [x64]- os: [freebsd]-'@esbuild/[email protected]':resolution: {integrity: sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==}engines: {node: '>=18'}cpu: [arm64]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-RVyzfb3FWsGA55n6WY0MEIEPURL1FcbhFE6BffZEMEekfCzCIMtB5yyDcFnVbTnwk+CLAgTujmV/Lgvih56W+A==}- engines: {node: '>=18'}- cpu: [arm64]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==}engines: {node: '>=18'}cpu: [arm]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-CjaaREJagqJp7iTaNQjjidaNbCKYcd4IDkzbwwxtSvjI7NZm79qiHc8HqciMddQ6CKvJT6aBd8lO9kN/ZudLlw==}- engines: {node: '>=18'}- cpu: [arm]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==}engines: {node: '>=18'}cpu: [ia32]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-KBnSTt1kxl9x70q+ydterVdl+Cn0H18ngRMRCEQfrbqdUuntQQ0LoMZv47uB97NljZFzY6HcfqEZ2SAyIUTQBQ==}- engines: {node: '>=18'}- cpu: [ia32]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==}engines: {node: '>=18'}cpu: [loong64]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-zpSlUce1mnxzgBADvxKXX5sl8aYQHo2ezvMNI8I0lbblJtp8V4odlm3Yzlj7gPyt3T8ReksE6bK+pT3WD+aJRg==}- engines: {node: '>=18'}- cpu: [loong64]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==}engines: {node: '>=18'}cpu: [mips64el]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-2jIfP6mmjkdmeTlsX/9vmdmhBmKADrWqN7zcdtHIeNSCH1SqIoNI63cYsjQR8J+wGa4Y5izRcSHSm8K3QWmk3w==}- engines: {node: '>=18'}- cpu: [mips64el]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==}engines: {node: '>=18'}cpu: [ppc64]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-bc0FE9wWeC0WBm49IQMPSPILRocGTQt3j5KPCA8os6VprfuJ7KD+5PzESSrJ6GmPIPJK965ZJHTUlSA6GNYEhg==}- engines: {node: '>=18'}- cpu: [ppc64]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==}engines: {node: '>=18'}cpu: [riscv64]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-SQPZOwoTTT/HXFXQJG/vBX8sOFagGqvZyXcgLA3NhIqcBv1BJU1d46c0rGcrij2B56Z2rNiSLaZOYW5cUk7yLQ==}- engines: {node: '>=18'}- cpu: [riscv64]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==}engines: {node: '>=18'}cpu: [s390x]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-SCfR0HN8CEEjnYnySJTd2cw0k9OHB/YFzt5zgJEwa+wL/T/raGWYMBqwDNAC6dqFKmJYZoQBRfHjgwLHGSrn3Q==}- engines: {node: '>=18'}- cpu: [s390x]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==}engines: {node: '>=18'}cpu: [x64]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-us0dSb9iFxIi8srnpl931Nvs65it/Jd2a2K3qs7fz2WfGPHqzfzZTfec7oxZJRNPXPnNYZtanmRc4AL/JwVzHQ==}- engines: {node: '>=18'}- cpu: [x64]- os: [linux]-'@esbuild/[email protected]':resolution: {integrity: sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==}engines: {node: '>=18'}cpu: [arm64]os: [netbsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-CR/RYotgtCKwtftMwJlUU7xCVNg3lMYZ0RzTmAHSfLCXw3NtZtNpswLEj/Kkf6kEL3Gw+BpOekRX0BYCtklhUw==}- engines: {node: '>=18'}- cpu: [arm64]- os: [netbsd]-'@esbuild/[email protected]':resolution: {integrity: sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==}engines: {node: '>=18'}cpu: [x64]os: [netbsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-nU1yhmYutL+fQ71Kxnhg8uEOdC0pwEW9entHykTgEbna2pw2dkbFSMeqjjyHZoCmt8SBkOSvV+yNmm94aUrrqw==}- engines: {node: '>=18'}- cpu: [x64]- os: [netbsd]-'@esbuild/[email protected]':resolution: {integrity: sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==}engines: {node: '>=18'}cpu: [arm64]os: [openbsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-cXb5vApOsRsxsEl4mcZ1XY3D4DzcoMxR/nnc4IyqYs0rTI8ZKmW6kyyg+11Z8yvgMfAEldKzP7AdP64HnSC/6g==}- engines: {node: '>=18'}- cpu: [arm64]- os: [openbsd]-'@esbuild/[email protected]':resolution: {integrity: sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==}engines: {node: '>=18'}cpu: [x64]os: [openbsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-8wZM2qqtv9UP3mzy7HiGYNH/zjTA355mpeuA+859TyR+e+Tc08IHYpLJuMsfpDJwoLo1ikIJI8jC3GFjnRClzA==}- engines: {node: '>=18'}- cpu: [x64]- os: [openbsd]-'@esbuild/[email protected]':resolution: {integrity: sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==}engines: {node: '>=18'}cpu: [arm64]os: [openharmony]- '@esbuild/[email protected]':- resolution: {integrity: sha512-FLGfyizszcef5C3YtoyQDACyg95+dndv79i2EekILBofh5wpCa1KuBqOWKrEHZg3zrL3t5ouE5jgr94vA+Wb2w==}- engines: {node: '>=18'}- cpu: [arm64]- os: [openharmony]-'@esbuild/[email protected]':resolution: {integrity: sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==}engines: {node: '>=18'}cpu: [x64]os: [sunos]- '@esbuild/[email protected]':- resolution: {integrity: sha512-1ZgjUoEdHZZl/YlV76TSCz9Hqj9h9YmMGAgAPYd+q4SicWNX3G5GCyx9uhQWSLcbvPW8Ni7lj4gDa1T40akdlw==}- engines: {node: '>=18'}- cpu: [x64]- os: [sunos]-'@esbuild/[email protected]':resolution: {integrity: sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==}engines: {node: '>=18'}cpu: [arm64]os: [win32]- '@esbuild/[email protected]':- resolution: {integrity: sha512-Q9StnDmQ/enxnpxCCLSg0oo4+34B9TdXpuyPeTedN/6+iXBJ4J+zwfQI28u/Jl40nOYAxGoNi7mFP40RUtkmUA==}- engines: {node: '>=18'}- cpu: [arm64]- os: [win32]-'@esbuild/[email protected]':resolution: {integrity: sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==}engines: {node: '>=18'}cpu: [ia32]os: [win32]- '@esbuild/[email protected]':- resolution: {integrity: sha512-zF3ag/gfiCe6U2iczcRzSYJKH1DCI+ByzSENHlM2FcDbEeo5Zd2C86Aq0tKUYAJJ1obRP84ymxIAksZUcdztHA==}- engines: {node: '>=18'}- cpu: [ia32]- os: [win32]-'@esbuild/[email protected]':resolution: {integrity: sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==}engines: {node: '>=18'}cpu: [x64]os: [win32]- '@esbuild/[email protected]':- resolution: {integrity: sha512-pEl1bO9mfAmIC+tW5btTmrKaujg3zGtUmWNdCw/xs70FBjwAL3o9OEKNHvNmnyylD6ubxUERiEhdsL0xBQ9efw==}- engines: {node: '>=18'}- cpu: [x64]- os: [win32]-'@eslint-community/[email protected]':resolution: {integrity: sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==}engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}@@ -3274,10 +3109,6 @@ packages:resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==}engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}- resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==}- engines: {node: '>=6.5'}-resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==}engines: {node: '>= 0.6'}@@ -3788,9 +3619,6 @@ packages:resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==}- resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==}-resolution: {integrity: sha512-/x68VkHLeTl3/Ll8IvxdwzhrT+IyKc52e/oyHhA2RwqPqswSnjVbSddfPRwAsJtbilMAPSRWwAlpxdYsSWOTKQ==}@@ -4701,11 +4529,6 @@ packages:engines: {node: '>=18'}hasBin: true- resolution: {integrity: sha512-sNR9MHpXSUV/XB4zmsFKN+QgVG82Cc7+/aaxJ8Adi8hyOac+EXptIp45QBPaVyX3N70664wRbTcLTOemCAnyqw==}- engines: {node: '>=18'}- hasBin: true-resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==}engines: {node: '>=6'}@@ -4880,10 +4703,6 @@ packages:resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==}engines: {node: '>= 0.6'}- resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==}- engines: {node: '>=6'}-resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==}@@ -4891,10 +4710,6 @@ packages:resolution: {integrity: sha512-f/qE2gImHRa4Cp2y1stEOSgw8wTFyUdVJX7G//bMwbaV9JqISFxg99NbmVQeP7YLnDUZ2un851jlaDrlpmGehQ==}engines: {node: '>=12'}- resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==}- engines: {node: '>=0.8.x'}-resolution: {integrity: sha512-nQn+hI3yp+oD0huYhKwvYI32+JFeq+XkNcD1GAo3Y/MjxsfVGmrrzrnzjWiNY6f+pUCP440fThsFh5gZrRAU/w==}@@ -6854,12 +6669,6 @@ packages:resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==}engines: {node: '>= 0.4'}- resolution: {integrity: sha512-glrtXSrLt3eH/mgceNgP6u/6jHodqRQ/ToFht+yqwquw0KBf6Zue5qJQFgcIEfQQyYl+BCPN/TYdWyeOQh3c5Q==}- engines: {node: ^20 || ^22 || >= 24}- peerDependencies:- postcss: ^8.4.21-resolution: {integrity: sha512-3sOlxmbKcSHMjlUXQZKQ06jOswE7oVkXPxmZdoB1r5l0q6gTFTQSHxNxOrCccElbW7dxNytifNEo8qidX2Vsig==}@@ -6975,10 +6784,6 @@ packages:resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==}- resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==}- engines: {node: '>= 0.6.0'}-resolution: {integrity: sha512-69agxLtnI8xBs9gUGqEnK26UfiexpHy+KUpBQWabiytQjnn5wFY8rklAi7GRfABIuPNnQ/ik48+LGLkYYJcy4A==}engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}@@ -7138,10 +6943,6 @@ packages:resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==}engines: {node: '>= 6'}- resolution: {integrity: sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==}- engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}-resolution: {integrity: sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ==}engines: {node: '>= 20.19.0'}@@ -9877,159 +9678,81 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':- optional: true-dependencies:eslint: 9.39.2([email protected])@@ -11210,10 +10933,6 @@ snapshots:- dependencies:- event-target-shim: 5.0.1-dependencies:mime-types: 2.1.35@@ -11936,11 +11655,6 @@ snapshots:base64-js: 1.5.1ieee754: 1.2.1- dependencies:- base64-js: 1.5.1- ieee754: 1.2.1-@@ -13166,35 +12880,6 @@ snapshots:'@esbuild/win32-ia32': 0.27.7'@esbuild/win32-x64': 0.27.7- optionalDependencies:- '@esbuild/aix-ppc64': 0.28.0- '@esbuild/android-arm': 0.28.0- '@esbuild/android-arm64': 0.28.0- '@esbuild/android-x64': 0.28.0- '@esbuild/darwin-arm64': 0.28.0- '@esbuild/darwin-x64': 0.28.0- '@esbuild/freebsd-arm64': 0.28.0- '@esbuild/freebsd-x64': 0.28.0- '@esbuild/linux-arm': 0.28.0- '@esbuild/linux-arm64': 0.28.0- '@esbuild/linux-ia32': 0.28.0- '@esbuild/linux-loong64': 0.28.0- '@esbuild/linux-mips64el': 0.28.0- '@esbuild/linux-ppc64': 0.28.0- '@esbuild/linux-riscv64': 0.28.0- '@esbuild/linux-s390x': 0.28.0- '@esbuild/linux-x64': 0.28.0- '@esbuild/netbsd-arm64': 0.28.0- '@esbuild/netbsd-x64': 0.28.0- '@esbuild/openbsd-arm64': 0.28.0- '@esbuild/openbsd-x64': 0.28.0- '@esbuild/openharmony-arm64': 0.28.0- '@esbuild/sunos-x64': 0.28.0- '@esbuild/win32-arm64': 0.28.0- '@esbuild/win32-ia32': 0.28.0- '@esbuild/win32-x64': 0.28.0-@@ -13401,14 +13086,10 @@ snapshots:- [email protected]: {}-- [email protected]: {}-@@ -15563,10 +15244,6 @@ snapshots:- dependencies:- postcss: 8.5.15-@@ -15662,8 +15339,6 @@ snapshots:- [email protected]: {}-@@ -15859,14 +15534,6 @@ snapshots:string_decoder: 1.3.0util-deprecate: 1.0.2- dependencies:- abort-controller: 3.0.0- buffer: 6.0.3- events: 3.3.0- process: 0.11.10- string_decoder: 1.3.0-