From f2a0449e1c7144acf12d2bf0a4aad76c9a7d85e6 Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Thu, 4 Jun 2026 06:38:29 +0200 Subject: [PATCH 1/9] Improve documentation for manualPureFunctions (#6402) * Improve documentation for manualPureFunctions * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- docs/configuration-options/index.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/configuration-options/index.md b/docs/configuration-options/index.md index 4de992a92..94136c5a8 100755 --- a/docs/configuration-options/index.md +++ b/docs/configuration-options/index.md @@ -2594,6 +2594,28 @@ styled()(); // removed styled().div(); // removed ``` +::: warning + +If you pass arguments to such a pure function, those arguments are still checked for direct side effects like mutating a variable or calling a global function, in which case the call to the pure function is retained. But be aware that we do not check if those arguments are called and whether such a call could have side effects. + +```js +// rollup.config.js +export default { + treeshake: { + manualPureFunctions: ['lib.nested'] + } + // ... +}; + +import lib from 'lib'; + +lib.nested(console.log('effect')); // retained +lib.nested(() => console.log('effect')); // will be removed +lib.nested.forEach(() => console.log('effect')); // will also be removed +``` + +::: + #### treeshake.moduleSideEffects | | | From 91b6dc4def27e990412fa4dc5b4fe1a9af3adcba Mon Sep 17 00:00:00 2001 From: D & R Date: Thu, 4 Jun 2026 12:59:47 +0800 Subject: [PATCH 2/9] fix: set report.excludeNetwork=true before getReport() to avoid blocking PTR lookups (#6404) * fix: set report.excludeNetwork=true before getReport() to avoid blocking PTR lookups * test: skip excludeNetwork test on Windows where getReport() runs in a child process --------- Co-authored-by: Lukas Taegert-Atkinson --- native.js | 10 ++++++++-- test/misc/misc.js | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 2 deletions(-) diff --git a/native.js b/native.js index 962a10163..a7b1d7495 100644 --- a/native.js +++ b/native.js @@ -6,12 +6,18 @@ const { spawnSync } = require('node:child_process'); const getReportHeader = () => { try { if (platform !== 'win32') { - return report.getReport().header; + // Avoid blocking reverse DNS (PTR) lookups on open TCP socket handles. + // See: https://github.com/nodejs/node/issues/55576 + const previousExcludeNetwork = report.excludeNetwork; + report.excludeNetwork = true; + const header = report.getReport().header; + report.excludeNetwork = previousExcludeNetwork; + return header; } // This is needed because report.getReport() crashes the process on Windows sometimes. const script = - "console.log(JSON.stringify(require('node:process').report.getReport().header));"; + "const r=require('node:process').report;r.excludeNetwork=true;console.log(JSON.stringify(r.getReport().header));"; const child = spawnSync(process.execPath, ['-p', script], { encoding: 'utf8', timeout: 3000, diff --git a/test/misc/misc.js b/test/misc/misc.js index 1452afbf2..fc6df086d 100644 --- a/test/misc/misc.js +++ b/test/misc/misc.js @@ -470,4 +470,45 @@ console.log(x); await bundle[Symbol.asyncDispose](); assert.strictEqual(bundle.closed, true); }); + + it('sets process.report.excludeNetwork=true during getReport() and restores the original value (non-Windows)', () => { + // On Windows, getReport() runs inside a spawnSync child process and cannot + // be intercepted by mocking process.report.getReport in the current process. + if (process.platform === 'win32') return; + if (!('excludeNetwork' in process.report)) return; + + const original = process.report.getReport.bind(process.report); + const snapshots = []; + process.report.getReport = () => { + snapshots.push(process.report.excludeNetwork); + return original(); + }; + + try { + for (const initial of [false, true]) { + process.report.excludeNetwork = initial; + snapshots.length = 0; + delete require.cache[require.resolve('../../dist/native.js')]; + try { + require('../../dist/native.js'); + } catch { + /* ignore binary load errors */ + } + assert.ok(snapshots.length > 0, 'getReport() should have been called'); + assert.ok( + snapshots.every(v => v === true), + 'excludeNetwork must be true during getReport()' + ); + assert.strictEqual( + process.report.excludeNetwork, + initial, + 'excludeNetwork must be restored afterwards' + ); + } + } finally { + process.report.getReport = original; + process.report.excludeNetwork = false; + delete require.cache[require.resolve('../../dist/native.js')]; + } + }); }); From b77daf0a97cf96e61870cc02de584e923bc70fad Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Thu, 4 Jun 2026 07:02:24 +0200 Subject: [PATCH 3/9] 4.61.1 --- CHANGELOG.md | 15 +++++++++++++++ browser/package.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bbbbaab6..9d1ee711c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # rollup changelog +## 4.61.1 + +_2026-06-04_ + +### Bug Fixes + +- Avoid extraneous newlines when adding headers via plugins (#6403) +- Fix a rare issue where starting Rollup would hang on Windows (#6404) + +### Pull Requests + +- [#6402](https://github.com/rollup/rollup/pull/6402): Improve documentation for manualPureFunctions (@lukastaegert) +- [#6403](https://github.com/rollup/rollup/pull/6403): Does not add an extra leading line feed for addons (@TrickyPi) +- [#6404](https://github.com/rollup/rollup/pull/6404): fix: set report.excludeNetwork=true before getReport() to avoid blocking PTR lookups (@jdz321, @lukastaegert) + ## 4.61.0 _2026-06-01_ diff --git a/browser/package.json b/browser/package.json index da6d2f550..cbcdf0119 100644 --- a/browser/package.json +++ b/browser/package.json @@ -1,6 +1,6 @@ { "name": "@rollup/browser", - "version": "4.61.0", + "version": "4.61.1", "description": "Next-generation ES module bundler browser build", "main": "dist/rollup.browser.js", "module": "dist/es/rollup.browser.js", diff --git a/package-lock.json b/package-lock.json index 684a24535..d5dc8b5cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rollup", - "version": "4.61.0", + "version": "4.61.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rollup", - "version": "4.61.0", + "version": "4.61.1", "license": "MIT", "dependencies": { "@types/estree": "1.0.9" diff --git a/package.json b/package.json index 62fc48e90..80e9d330b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rollup", - "version": "4.61.0", + "version": "4.61.1", "description": "Next-generation ES module bundler", "main": "dist/rollup.js", "module": "dist/es/rollup.js", From 844671cda6732cf2e45cfc3eabc9790ff03fbcd4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 4 Jun 2026 21:33:44 +0000 Subject: [PATCH 4/9] fix(deps): update minor/patch updates (#6405) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/build-and-tests.yml | 4 +- .github/workflows/repl-artefacts-upload.yml | 2 +- package-lock.json | 695 ++++++++++---------- package.json | 24 +- rust/bindings_napi/Cargo.toml | 6 +- 5 files changed, 362 insertions(+), 369 deletions(-) diff --git a/.github/workflows/build-and-tests.yml b/.github/workflows/build-and-tests.yml index 78bf7db5d..2ef4696a2 100644 --- a/.github/workflows/build-and-tests.yml +++ b/.github/workflows/build-and-tests.yml @@ -254,7 +254,7 @@ jobs: with: version: 0.14.1 - name: Install cargo-zigbuild - uses: taiki-e/install-action@920ab1831fbf4fb3ef75c8ead83556c918bb7290 # v2.79.8 + uses: taiki-e/install-action@e49978b799e49ff429d162b7a30601a569ab6538 # v2.81.1 if: ${{ matrix.settings.cross == 'zig' }} env: GITHUB_TOKEN: ${{ github.token }} @@ -340,7 +340,7 @@ jobs: uses: ./.github/actions/install-and-cache-node-deps - name: Build (OpenBSD) - uses: cross-platform-actions/action@0c165ad7eb2d6a7e8552d6af5aad2bbedfc646b0 # v1.1.0 + uses: cross-platform-actions/action@be3d7e9ff5c8770b9c51b1a8c8c5446e1cad7cf9 # v1.2.0 with: operating_system: ${{ matrix.os.name }} architecture: ${{ matrix.os.architecture }} diff --git a/.github/workflows/repl-artefacts-upload.yml b/.github/workflows/repl-artefacts-upload.yml index e21866de7..cd5df0602 100644 --- a/.github/workflows/repl-artefacts-upload.yml +++ b/.github/workflows/repl-artefacts-upload.yml @@ -81,7 +81,7 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Configure AWS credentials via OIDC if: ${{ steps.check.outputs.has-artefacts == 'true' }} - uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6.1.1 + uses: aws-actions/configure-aws-credentials@99214aa6889fcddfa57764031d71add364327e59 # v6.1.3 with: role-to-assume: ${{ secrets.AWS_ROLE_ARN }} aws-region: ${{ secrets.AWS_REGION }} diff --git a/package-lock.json b/package-lock.json index d5dc8b5cb..16e75e5d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,20 +30,20 @@ "@napi-rs/cli": "3.4.1", "@rollup/plugin-alias": "^6.0.0", "@rollup/plugin-buble": "^1.0.3", - "@rollup/plugin-commonjs": "^29.0.2", + "@rollup/plugin-commonjs": "^29.0.3", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-replace": "^6.0.3", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.3.0", - "@rollup/pluginutils": "^5.3.0", + "@rollup/pluginutils": "^5.4.0", "@shikijs/vitepress-twoslash": "^4.1.0", "@types/mocha": "^10.0.10", "@types/node": "^20.19.41", "@types/picomatch": "^4.0.3", "@types/semver": "^7.7.1", "@types/yargs-parser": "^21.0.3", - "@vue/language-server": "^3.3.2", + "@vue/language-server": "^3.3.3", "acorn": "^8.16.0", "acorn-import-assertions": "^1.9.0", "acorn-import-phases": "^1.0.4", @@ -56,9 +56,9 @@ "date-time": "^4.0.0", "es5-shim": "^4.6.7", "es6-shim": "^0.35.8", - "eslint": "^10.4.0", + "eslint": "^10.4.1", "eslint-config-prettier": "^10.1.8", - "eslint-plugin-prettier": "^5.5.5", + "eslint-plugin-prettier": "^5.5.6", "eslint-plugin-unicorn": "^64.0.0", "eslint-plugin-vue": "^10.9.1", "fixturify": "^3.0.0", @@ -68,10 +68,10 @@ "globals": "^17.6.0", "husky": "^9.1.7", "is-reference": "^3.0.3", - "lint-staged": "^17.0.5", + "lint-staged": "^17.0.7", "locate-character": "^3.0.0", "magic-string": "^0.30.21", - "memfs": "^4.57.2", + "memfs": "^4.57.3", "mocha": "11.7.6", "nodemon": "^3.1.14", "npm-audit-resolver": "^3.0.0-RC.0", @@ -85,7 +85,7 @@ "pretty-bytes": "^7.1.0", "pretty-ms": "^9.3.0", "requirejs": "^2.3.8", - "rollup": "^4.60.4", + "rollup": "^4.61.0", "rollup-plugin-license": "^3.7.1", "semver": "^7.8.1", "shx": "^0.4.0", @@ -96,12 +96,12 @@ "terser": "^5.48.0", "tslib": "^2.8.1", "typescript": "^5.9.3", - "typescript-eslint": "^8.60.0", - "vite": "^7.3.3", + "typescript-eslint": "^8.60.1", + "vite": "^7.3.5", "vitepress": "^1.6.4", - "vue": "^3.5.34", + "vue": "^3.5.35", "vue-eslint-parser": "^10.4.0", - "vue-tsc": "^3.3.2", + "vue-tsc": "^3.3.3", "wasm-pack": "^0.15.0", "yargs-parser": "^21.1.1" }, @@ -1464,9 +1464,9 @@ } }, "node_modules/@eslint/plugin-kit": { - "version": "0.7.1", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.1.tgz", - "integrity": "sha512-rZAP3aVgB9ds9KOeUSL+zZ21hPmo8dh6fnIFwRQj5EAZl9gzR7wxYbYXYysAM8CTqGmUGyp2S4kUdV17MnGuWQ==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.2.tgz", + "integrity": "sha512-+CNAzxglkrpNf/kKywqQfk74QjtceuOE7Qm+AF8miRvPF/wmmK5+OJOgVh3AVTT3RP2mH3+FOaxlE5v72owk0A==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -2371,14 +2371,14 @@ } }, "node_modules/@jsonjoy.com/fs-core": { - "version": "4.57.2", - "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-core/-/fs-core-4.57.2.tgz", - "integrity": "sha512-SVjwklkpIV5wrynpYtuYnfYH1QF4/nDuLBX7VXdb+3miglcAgBVZb/5y0cOsehRV/9Vb+3UqhkMq3/NR3ztdkQ==", + "version": "4.57.3", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-core/-/fs-core-4.57.3.tgz", + "integrity": "sha512-IvO50vkGydDZwS1e9rz/JXEtCCt9XvqxoGI6FlrVIvVm4/HpygMKW4ETtREWtMTsN5CLJ9FR6GuCduoQPZLBiw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@jsonjoy.com/fs-node-builtins": "4.57.2", - "@jsonjoy.com/fs-node-utils": "4.57.2", + "@jsonjoy.com/fs-node-builtins": "4.57.3", + "@jsonjoy.com/fs-node-utils": "4.57.3", "thingies": "^2.5.0" }, "engines": { @@ -2393,15 +2393,15 @@ } }, "node_modules/@jsonjoy.com/fs-fsa": { - "version": "4.57.2", - "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-fsa/-/fs-fsa-4.57.2.tgz", - "integrity": "sha512-fhO8+iR2I+OCw668ISDJdn1aArc9zx033sWejIyzQ8RBeXa9bDSaUeA3ix0poYOfrj1KdOzytmYNv2/uLDfV6g==", + "version": "4.57.3", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-fsa/-/fs-fsa-4.57.3.tgz", + "integrity": "sha512-JlIDGUWPl7Y6zl+/ISnZuh8z2aMr/xoR66D18zlaVAuL192CvlNJEzOlzp27x4P52HRtDnCSOk6f59vTsmp5vw==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@jsonjoy.com/fs-core": "4.57.2", - "@jsonjoy.com/fs-node-builtins": "4.57.2", - "@jsonjoy.com/fs-node-utils": "4.57.2", + "@jsonjoy.com/fs-core": "4.57.3", + "@jsonjoy.com/fs-node-builtins": "4.57.3", + "@jsonjoy.com/fs-node-utils": "4.57.3", "thingies": "^2.5.0" }, "engines": { @@ -2416,17 +2416,17 @@ } }, "node_modules/@jsonjoy.com/fs-node": { - "version": "4.57.2", - "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-node/-/fs-node-4.57.2.tgz", - "integrity": "sha512-nX2AdL6cOFwLdju9G4/nbRnYevmCJbh7N7hvR3gGm97Cs60uEjyd0rpR+YBS7cTg175zzl22pGKXR5USaQMvKg==", + "version": "4.57.3", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-node/-/fs-node-4.57.3.tgz", + "integrity": "sha512-089gZoKvbeOsT2jeBaVKSz91oFXQWFG7a62sMY6gVMHnoWbyGzTb6OVUP/V7G3wLQLJ555BEsHt8SD1nj1dgaQ==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@jsonjoy.com/fs-core": "4.57.2", - "@jsonjoy.com/fs-node-builtins": "4.57.2", - "@jsonjoy.com/fs-node-utils": "4.57.2", - "@jsonjoy.com/fs-print": "4.57.2", - "@jsonjoy.com/fs-snapshot": "4.57.2", + "@jsonjoy.com/fs-core": "4.57.3", + "@jsonjoy.com/fs-node-builtins": "4.57.3", + "@jsonjoy.com/fs-node-utils": "4.57.3", + "@jsonjoy.com/fs-print": "4.57.3", + "@jsonjoy.com/fs-snapshot": "4.57.3", "glob-to-regex.js": "^1.0.0", "thingies": "^2.5.0" }, @@ -2442,9 +2442,9 @@ } }, "node_modules/@jsonjoy.com/fs-node-builtins": { - "version": "4.57.2", - "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-node-builtins/-/fs-node-builtins-4.57.2.tgz", - "integrity": "sha512-xhiegylRmhw43Ki2HO1ZBL7DQ5ja/qpRsL29VtQ2xuUHiuDGbgf2uD4p9Qd8hJI5P6RCtGYD50IXHXVq/Ocjcg==", + "version": "4.57.3", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-node-builtins/-/fs-node-builtins-4.57.3.tgz", + "integrity": "sha512-JAI3PqNuY8BR7ovy4h0bADLrqJLIcUauONNZfyTxUnj3Wf3tpTYe39eJ6z7FzYyA+tdMt33VpiQQUikGr3QOBw==", "dev": true, "license": "Apache-2.0", "engines": { @@ -2459,15 +2459,15 @@ } }, "node_modules/@jsonjoy.com/fs-node-to-fsa": { - "version": "4.57.2", - "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-node-to-fsa/-/fs-node-to-fsa-4.57.2.tgz", - "integrity": "sha512-18LmWTSONhoAPW+IWRuf8w/+zRolPFGPeGwMxlAhhfY11EKzX+5XHDBPAw67dBF5dxDErHJbl40U+3IXSDRXSQ==", + "version": "4.57.3", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-node-to-fsa/-/fs-node-to-fsa-4.57.3.tgz", + "integrity": "sha512-uZGxyC0zDmcmW5bfHd4YivAZ54BLlbF9G0K5rBaksI/tZdJSGM7/AC+1TY7yvFu0Wc6gUHR7mFwf6SbQ3J1BTQ==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@jsonjoy.com/fs-fsa": "4.57.2", - "@jsonjoy.com/fs-node-builtins": "4.57.2", - "@jsonjoy.com/fs-node-utils": "4.57.2" + "@jsonjoy.com/fs-fsa": "4.57.3", + "@jsonjoy.com/fs-node-builtins": "4.57.3", + "@jsonjoy.com/fs-node-utils": "4.57.3" }, "engines": { "node": ">=10.0" @@ -2481,13 +2481,13 @@ } }, "node_modules/@jsonjoy.com/fs-node-utils": { - "version": "4.57.2", - "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-node-utils/-/fs-node-utils-4.57.2.tgz", - "integrity": "sha512-rsPSJgekz43IlNbLyAM/Ab+ouYLWGp5DDBfYBNNEqDaSpsbXfthBn29Q4muFA9L0F+Z3mKo+CWlgSCXrf+mOyQ==", + "version": "4.57.3", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-node-utils/-/fs-node-utils-4.57.3.tgz", + "integrity": "sha512-quCil8AvfcOxob4pn0drGdcQWpkPVgkt9q1+EjeyXXT40/L3l5lvYrr6hR8LmHu0eg+DNNaUwqjLT6Hr7V4sdQ==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@jsonjoy.com/fs-node-builtins": "4.57.2" + "@jsonjoy.com/fs-node-builtins": "4.57.3" }, "engines": { "node": ">=10.0" @@ -2501,13 +2501,13 @@ } }, "node_modules/@jsonjoy.com/fs-print": { - "version": "4.57.2", - "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-print/-/fs-print-4.57.2.tgz", - "integrity": "sha512-wK9NSow48i4DbDl9F1CQE5TqnyZOJ04elU3WFG5aJ76p+YxO/ulyBBQvKsessPxdo381Bc2pcEoyPujMOhcRqQ==", + "version": "4.57.3", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-print/-/fs-print-4.57.3.tgz", + "integrity": "sha512-ITwaLZpGIqD9jHndwMvDFZDIvbVzGRsJZDQ5HKln0vyMculu1c1nb7zbEBgY8BVSBZ9S2xO138OWIBGeRsrF3Q==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@jsonjoy.com/fs-node-utils": "4.57.2", + "@jsonjoy.com/fs-node-utils": "4.57.3", "tree-dump": "^1.1.0" }, "engines": { @@ -2522,14 +2522,14 @@ } }, "node_modules/@jsonjoy.com/fs-snapshot": { - "version": "4.57.2", - "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-snapshot/-/fs-snapshot-4.57.2.tgz", - "integrity": "sha512-GdduDZuoP5V/QCgJkx9+BZ6SC0EZ/smXAdTS7PfMqgMTGXLlt/bH/FqMYaqB9JmLf05sJPtO0XRbAwwkEEPbVw==", + "version": "4.57.3", + "resolved": "https://registry.npmjs.org/@jsonjoy.com/fs-snapshot/-/fs-snapshot-4.57.3.tgz", + "integrity": "sha512-wdNaG2DxCtvj9lKldAnEV3ycYPEpk+p2cP2lHD1qdxkoQGlWUtQverqvG9KZSkm6BHFha4PP6XRZbpARNfHRxA==", "dev": true, "license": "Apache-2.0", "dependencies": { "@jsonjoy.com/buffers": "^17.65.0", - "@jsonjoy.com/fs-node-utils": "4.57.2", + "@jsonjoy.com/fs-node-utils": "4.57.3", "@jsonjoy.com/json-pack": "^17.65.0", "@jsonjoy.com/util": "^17.65.0" }, @@ -4431,13 +4431,13 @@ } }, "node_modules/@pkgr/core": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.2.9.tgz", - "integrity": "sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==", + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.3.6.tgz", + "integrity": "sha512-SEeaJLb3qBNF/OaXnaR1NmmBbFYk1zC0ZH/52fATcRPLFg/p791YrcyFFy44Bo9sLaGuSuLp5Q6axbb/O+v/RA==", "dev": true, "license": "MIT", "engines": { - "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + "node": "^14.18.0 || >=16.0.0" }, "funding": { "url": "https://opencollective.com/pkgr" @@ -4549,9 +4549,9 @@ } }, "node_modules/@rollup/plugin-commonjs": { - "version": "29.0.2", - "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-29.0.2.tgz", - "integrity": "sha512-S/ggWH1LU7jTyi9DxZOKyxpVd4hF/OZ0JrEbeLjXk/DFXwRny0tjD2c992zOUYQobLrVkRVMDdmHP16HKP7GRg==", + "version": "29.0.3", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-29.0.3.tgz", + "integrity": "sha512-ZaOxZceP7SOUW7Lqw5IRVweSQYWaeIPnXIGLiB690EBA3FGJTO40EEr2L5yZplJWsgTCogILRSpcAe7+U0Otdg==", "dev": true, "license": "MIT", "dependencies": { @@ -4704,9 +4704,9 @@ } }, "node_modules/@rollup/pluginutils": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.3.0.tgz", - "integrity": "sha512-5EdhGZtnu3V88ces7s53hhfK5KSASnJZv8Lulpc04cWO3REESroJXg73DFsOmgbU2BhwV0E20bu2IDZb3VKW4Q==", + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.4.0.tgz", + "integrity": "sha512-MfPp06CjRLfXQ3wY0R8vJDYBy/MvVcc9OulEfR0B8Iv9ko+GCNaRZ+EpJYFl27LhKsZK0o420sYCRHCjfCgeUg==", "dev": true, "license": "MIT", "dependencies": { @@ -4727,9 +4727,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.60.4.tgz", - "integrity": "sha512-F5QXMSiFebS9hKZj02XhWLLnRpJ3B3AROP0tWbFBSj+6kCbg5m9j5JoHKd4mmSVy5mS/IMQloYgYxCuJC0fxEQ==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.61.0.tgz", + "integrity": "sha512-dnxczajOqt0gesZlN5pGQ1s1imQVrsmCw5G2Ci4oM+0WvNz3pyRnlWrT7McoZIb8VlFwCawdmbWRmxRn7HI+VQ==", "cpu": [ "arm" ], @@ -4741,9 +4741,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.60.4.tgz", - "integrity": "sha512-GxxTKApUpzRhof7poWvCJHRF51C67u1R7D6DiluBE8wKU1u5GWE8t+v81JvJYtbawoBFX1hLv5Ei4eVjkWokaw==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.61.0.tgz", + "integrity": "sha512-Bp3JpGP00Vu3f238ivRrjf7z3xSzVPXqCmaJYA9t2c+c8vKYvOzmXF7LkkeUalTEGd6cZcSWe+PFIP3Vy48fRg==", "cpu": [ "arm64" ], @@ -4755,9 +4755,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.60.4.tgz", - "integrity": "sha512-tua0TaJxMOB1R0V0RS1jFZ/RpURFDJIOR2A6jWwQeawuFyS4gBW+rntLRaQd0EQ4bd6Vp44Z2rXW+YYDBsj6IA==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.61.0.tgz", + "integrity": "sha512-zaYIpr670mUmmZ1tVzUFplbQbG7h3Gugx3L5FoqhsC2m/YnLlR1a7zVLmXNPy+iY1tFPEbNG+HHBXZGyId0G5w==", "cpu": [ "arm64" ], @@ -4769,9 +4769,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.60.4.tgz", - "integrity": "sha512-CSKq7MsP+5PFIcydhAiR1K0UhEI1A2jWXVKHPCBZ151yOutENwvnPocgVHkivu2kviURtCEB6zUQw0vs8RrhMg==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.61.0.tgz", + "integrity": "sha512-+P49fvkv2dSoeevUW+lgZ/I2JHSsJCK1Lyjj7Cu6E4UHG4tS9XIefzIjo5qhgELjAclnen1rLzK2PMKJdo+Dyg==", "cpu": [ "x64" ], @@ -4783,9 +4783,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.60.4.tgz", - "integrity": "sha512-+O8OkVdyvXMtJEciu2wS/pzm1IxntEEQx3z5TAVy4l32G0etZn+RsA48ARRrFm6Ri8fvqPQfgrvNxSjKAbnd3g==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.61.0.tgz", + "integrity": "sha512-l3FAAOyKJXH2ea6KNFN+MMgC/rnE94YGLXs2ehYqDcCoHt1DpvgWX75BhUJxN38XojP7Ul+4H8PRn7EdyqSDrw==", "cpu": [ "arm64" ], @@ -4797,9 +4797,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.60.4.tgz", - "integrity": "sha512-Iw3oMskH3AfNuhU0MSN7vNbdi4me/NiYo2azqPz/Le16zHSa+3RRmliCMWWQmh4lcndccU40xcJuTYJZxNo/lw==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.61.0.tgz", + "integrity": "sha512-VokPN3TSctKj65cyCNPaUh4vMFA8awxOot/0sp+4J7ZlNRKQEhXhawqPwajoi8H5ZFt61i0ugZJuTKXBjGJ17Q==", "cpu": [ "x64" ], @@ -4811,9 +4811,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.60.4.tgz", - "integrity": "sha512-EIPRXTVQpHyF8WOo219AD2yEltPehLTcTMz2fn6JsatLYSzQf00hj3rulF+yauOlF9/FtM2WpkT/hJh/KJFGhA==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.61.0.tgz", + "integrity": "sha512-DxH0P3wxm+Yzs/p3zrk9dw1rURu8p0Nv5+MRK/L7OtnLNg5rLZraSBFZ8iUXOd9f2BlhJyEpIZUH/emjq4UJ4g==", "cpu": [ "arm" ], @@ -4828,9 +4828,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.60.4.tgz", - "integrity": "sha512-J3Yh9PzzF1Ovah2At+lHiGQdsYgArxBbXv/zHfSyaiFQEqvNv7DcW98pCrmdjCZBrqBiKrKKe2V+aaSGWuBe/w==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.61.0.tgz", + "integrity": "sha512-T6ZvMNe84kAz6TBWHC7hGAoEtzP1LWYw/AqayGWEF6uISt3Abk/st06LqRD9THd7Xz3NxzurUpzAuEAUbZf+nw==", "cpu": [ "arm" ], @@ -4845,9 +4845,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.60.4.tgz", - "integrity": "sha512-BFDEZMYfUvLn37ONE1yMBojPxnMlTFsdyNoqncT0qFq1mAfllL+ATMMJd8TeuVMiX84s1KbcxcZbXInmcO2mRg==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.61.0.tgz", + "integrity": "sha512-q/4hzvQkDs8b4jIBab1pnLiiM0ayTZsN2amBFPDzuyZxjEd4wDwx0UJFYM3cOZzSf5Kw8fnWSprJzIBMkcR44Q==", "cpu": [ "arm64" ], @@ -4862,9 +4862,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.60.4.tgz", - "integrity": "sha512-pc9EYOSlOgdQ2uPl1o9PF6/kLSgaUosia7gOuS8mB69IxJvlclko1MECXysjs5ryez1/5zjYqx3+xYU0TU6R1A==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.61.0.tgz", + "integrity": "sha512-vvYWX3akdEAY6km+9wAqFDnk6pQsbJKVnj7xawcvs/+fdlYBGp+U+Qq/lLfpIxYIZvZLHMAKD9HLdacSx/r3dw==", "cpu": [ "arm64" ], @@ -4879,9 +4879,9 @@ ] }, "node_modules/@rollup/rollup-linux-loong64-gnu": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.60.4.tgz", - "integrity": "sha512-NxnomyxYerDh5n4iLrNa+sH+Z+U4BMEE46V2PgQ/hoB909i8gV1M5wPojWg9fk1jWpO3IQnOs20K4wyZuFLEFQ==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.61.0.tgz", + "integrity": "sha512-DePa5cqOxDP/Zp0VOXpeWaGew5iIv5DXp9NYbzkX5PFQyWVX9184WCTh3hvr/7lhXo8ZVlbFLkz8+o/q1dU6gA==", "cpu": [ "loong64" ], @@ -4896,9 +4896,9 @@ ] }, "node_modules/@rollup/rollup-linux-loong64-musl": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.60.4.tgz", - "integrity": "sha512-nbJnQ8a3z1mtmrwImCYhc6BGpThAyYVRQxw9uKSKG4wR6aAYno9sVjJ0zaZcW9BPJX1GbrDPf+SvdWjgTuDmnw==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.61.0.tgz", + "integrity": "sha512-LV8aWMB8UChglMCEzs7RkN0GsH29RJaLLqwm9fCIjlqwxQTiWAqNcc7wjBkH31hV0PU/yVxGYvrYsgfea2qw6g==", "cpu": [ "loong64" ], @@ -4913,9 +4913,9 @@ ] }, "node_modules/@rollup/rollup-linux-ppc64-gnu": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.60.4.tgz", - "integrity": "sha512-2EU6acNrQLd8tYvo/LXW535wupT3m6fo7HKo6lr7ktQoItxTyOL1ZCR/GfGCuXl2vR+zmfI6eRXkSemafv+iVg==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.61.0.tgz", + "integrity": "sha512-QoNSnwQtaeNu5grdBbsL0tt1uyl5EnS8DA8Mr3nluMXbhdQNyhN+G4tBax7VCdxLKj8YJ0/4OO9Ho84jMnJtKA==", "cpu": [ "ppc64" ], @@ -4930,9 +4930,9 @@ ] }, "node_modules/@rollup/rollup-linux-ppc64-musl": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.60.4.tgz", - "integrity": "sha512-WeBtoMuaMxiiIrO2IYP3xs6GMWkJP2C0EoT8beTLkUPmzV1i/UcOSVw1d5r9KBODtHKilG5yFxsGRnBbK3wJ4A==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.61.0.tgz", + "integrity": "sha512-/zZp5MKapIIApE8trN8qLGNSiRN9TUoaUZ1cmVu4XnVdd5LQLOXTtyi+vtfUbNnT3iyjzpPqYeKXmvJ+gJGYWw==", "cpu": [ "ppc64" ], @@ -4947,9 +4947,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.60.4.tgz", - "integrity": "sha512-FJHFfqpKUI3A10WrWKiFbBZ7yVbGT4q4B5o1qKFFojqpaYoh9LrQgqWCmmcxQzVSXYtyB5bzkXrYzlHTs21MYA==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.61.0.tgz", + "integrity": "sha512-RbrzcD3aJ1k3UbtMRRBNwojdVVyXjuVAFTfn/xPa6EEl6GE9Sm/akPgFTb9aAC9pMKGJ6CtWxaGrqWcabH+ySg==", "cpu": [ "riscv64" ], @@ -4964,9 +4964,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-musl": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.60.4.tgz", - "integrity": "sha512-mcEl6CUT5IAUmQf1m9FYSmVqCJlpQ8r8eyftFUHG8i9OhY7BkBXSUdnLH5DOf0wCOjcP9v/QO93zpmF1SptCCw==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.61.0.tgz", + "integrity": "sha512-ZF+onDsBso8PJf1XaG9lB+O9RnBpKGnY6OrzC4CSHrtC1jb6jWLTKK4bRqdoCXHd22gyr2hiYmEAm8Wns/BOCw==", "cpu": [ "riscv64" ], @@ -4981,9 +4981,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.60.4.tgz", - "integrity": "sha512-ynt3JxVd2w2buzoKDWIyiV1pJW93xlQic1THVLXilz429oijRpSHivZAgp65KBu+cMcgf1eVVjdnTLvPxgCuoQ==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.61.0.tgz", + "integrity": "sha512-Atk0aSIk5Zx2Wuh9dgRQgLP0Koc8hOeYpbWryMXyk8G8/HmPkwPPkMqIIDhrXHHYqfUzSJA/I7IWSBv8xSmRBA==", "cpu": [ "s390x" ], @@ -4998,9 +4998,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.60.4.tgz", - "integrity": "sha512-Boiz5+MsaROEWDf+GGEwF8VMHGhlUoQMtIPjOgA5fv4osupqTVnJteQNKJwUcnUog2G55jYXH7KZFFiJe0TEzQ==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.61.0.tgz", + "integrity": "sha512-0uMOcf3eZ5K+K4cYHkdxShFMPlPXCOdfDFEFn9dNYAEEd2cVvmOfH7zFgRVoDgmtQ1m9k5q7qfrHzyMAubKYUA==", "cpu": [ "x64" ], @@ -5015,9 +5015,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.60.4.tgz", - "integrity": "sha512-+qfSY27qIrFfI/Hom04KYFw3GKZSGU4lXus51wsb5EuySfFlWRwjkKWoE9emgRw/ukoT4Udsj4W/+xxG8VbPKg==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.61.0.tgz", + "integrity": "sha512-mvFtE4A/t/7hRJ7X8Ozmu8FsIkAUat2nzl12pgU337BRmq87AQUJztwHz2Zv5/tjo9/C95E66CK03SI/ToEDJw==", "cpu": [ "x64" ], @@ -5032,9 +5032,9 @@ ] }, "node_modules/@rollup/rollup-openbsd-x64": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.60.4.tgz", - "integrity": "sha512-VpTfOPHgVXEBeeR8hZ2O0F3aSso+JDWqTWmTmzcQKted54IAdUVbxE+j/MVxUsKa8L20HJhv3vUezVPoquqWjA==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.61.0.tgz", + "integrity": "sha512-z9b9+aTxvt8n2rNltMPvyaUfB8NJ+CVyOrGK/MdIKHx7B+lXmZpm/XbRsU7Rpf3fRqJ2uS6mBJiJveCtq8LHDg==", "cpu": [ "x64" ], @@ -5046,9 +5046,9 @@ ] }, "node_modules/@rollup/rollup-openharmony-arm64": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.60.4.tgz", - "integrity": "sha512-IPOsh5aRYuLv/nkU51X10Bf75Bsf6+gZdx1X+QP5QM6lIJFHHqbHLG0uJn/hWthzo13UAc2umiUorqZy3axoZg==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.61.0.tgz", + "integrity": "sha512-jXaXFqKMehsOc+g8R6oo33RRC6w07G9jDBxAE5eAKX7mOcCbZloYIPNhfG9Wl+P9O9IWHFO4OJgPi1Ml2qkt7w==", "cpu": [ "arm64" ], @@ -5060,9 +5060,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.60.4.tgz", - "integrity": "sha512-4QzE9E81OohJ/HKzHhsqU+zcYYojVOXlFMs1DdyMT6qXl/niOH7AVElmmEdUNHHS/oRkc++d5k6Vy85zFs0DEw==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.61.0.tgz", + "integrity": "sha512-OXNWVFocS2IA4+QplhTZZ2a+8hPZR7T8KuozsNmJKK8y7cp83StHvGksfHzPG3wczWTczyWHVQuqeiTUbjiyBg==", "cpu": [ "arm64" ], @@ -5074,9 +5074,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.60.4.tgz", - "integrity": "sha512-zTPgT1YuHHcd+Tmx7h8aml0FWFVelV5N54oHow9SLj+GfoDy/huQ+UV396N/C7KpMDMiPspRktzM1/0r1usYEA==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.61.0.tgz", + "integrity": "sha512-AlAbNtBO637LxSldqV43z0FfXoGfl2TW1DgAg/bs7aQswFbDewz2SJm3BUhiGfbOVtW571xbc9p+REdxhyN/Eg==", "cpu": [ "ia32" ], @@ -5088,9 +5088,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-gnu": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.60.4.tgz", - "integrity": "sha512-DRS4G7mi9lJxqEDezIkKCaUIKCrLUUDCUaCsTPCi/rtqaC6D/jjwslMQyiDU50Ka0JKpeXeRBFBAXwArY52vBw==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.61.0.tgz", + "integrity": "sha512-QRSrQXyJ1M4tjNXdR0/G/IgV6lzfQQJYBjlWIEYkY2Xs86DRl/iEpQ4blMDjJxSl7n19eDKKXMg0AmuBVYy8pQ==", "cpu": [ "x64" ], @@ -5102,9 +5102,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.60.4.tgz", - "integrity": "sha512-QVTUovf40zgTqlFVrKA1uXMVvU2QWEFWfAH8Wdc48IxLvrJMQVMBRjuQyUpzZCDkakImib9eVazbWlC6ksWtJw==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.61.0.tgz", + "integrity": "sha512-tkuFxhvKO/HlGd0VsINF6vHSYH8AF8W0TcNxKDK6JZmrehngFj78pToc8iemtnvwilDjs2G/qSzYFhe9U8q+fw==", "cpu": [ "x64" ], @@ -5915,17 +5915,17 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.60.0.tgz", - "integrity": "sha512-QYb/sa74/s7OKMbACMjrYnGspj9Hs5YI5aaffSL65UfeBUzVzBJfVo3oWSpbzPurvm7yaCCo2Lk7lVj610HqKw==", + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.60.1.tgz", + "integrity": "sha512-JQ4S5GB0tfjO8BuJ4fcX+HodkzJjYBV+7OJ+wLygaX7OGQ7FudyHL4NSCA6ob+w3Yn+5MkKIozOwQhXeM7opVg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/regexpp": "^4.12.2", - "@typescript-eslint/scope-manager": "8.60.0", - "@typescript-eslint/type-utils": "8.60.0", - "@typescript-eslint/utils": "8.60.0", - "@typescript-eslint/visitor-keys": "8.60.0", + "@typescript-eslint/scope-manager": "8.60.1", + "@typescript-eslint/type-utils": "8.60.1", + "@typescript-eslint/utils": "8.60.1", + "@typescript-eslint/visitor-keys": "8.60.1", "ignore": "^7.0.5", "natural-compare": "^1.4.0", "ts-api-utils": "^2.5.0" @@ -5938,7 +5938,7 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.60.0", + "@typescript-eslint/parser": "^8.60.1", "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", "typescript": ">=4.8.4 <6.1.0" } @@ -5954,16 +5954,16 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.60.0.tgz", - "integrity": "sha512-fcqpj/MyK4sxDPcbe7STNPbpQL4RLZOPWuaTmwZYuc+hJKzRf58yRxfhqGpc6PIq9ZyfSBpfHgmUHmHs0KwHwg==", + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.60.1.tgz", + "integrity": "sha512-A0M6ua6H252bVjPvvtSgl2QA4+ET9S5Mtkb2GDyTxIhH/C4qDItT7RQNO5PhMC6NXGYXOR9dIalcDDgBKT7oFA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/scope-manager": "8.60.0", - "@typescript-eslint/types": "8.60.0", - "@typescript-eslint/typescript-estree": "8.60.0", - "@typescript-eslint/visitor-keys": "8.60.0", + "@typescript-eslint/scope-manager": "8.60.1", + "@typescript-eslint/types": "8.60.1", + "@typescript-eslint/typescript-estree": "8.60.1", + "@typescript-eslint/visitor-keys": "8.60.1", "debug": "^4.4.3" }, "engines": { @@ -5979,14 +5979,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.60.0.tgz", - "integrity": "sha512-aZu74NNKJeUWqCjDddzdiKaS82dgYgV/vmf+Ui3ZdZejmgfXR/q+pRumgobnQ2cCJTgGTWp4ypiwsuofFubavg==", + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.60.1.tgz", + "integrity": "sha512-eXkTH2bxmXlqD1RnOPmLZ9ZM9D3VwSx04JOwBnP9RQ+yUA5a2Mu7SfW8uaV2Aon53NJzZlZYuX7tn91Izf+xaw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.60.0", - "@typescript-eslint/types": "^8.60.0", + "@typescript-eslint/tsconfig-utils": "^8.60.1", + "@typescript-eslint/types": "^8.60.1", "debug": "^4.4.3" }, "engines": { @@ -6001,14 +6001,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.60.0.tgz", - "integrity": "sha512-pFzqhllJMs+jghLQWzV00ds39xLzuyqPSev5pd8f4Ir0rtKR3ZLUB4/4dhjOFighWb9larvtfJvqL+4yKDI3Xw==", + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.60.1.tgz", + "integrity": "sha512-gvI5OQoptnxQnchOirukCuQ55svJSTuD/4k5+pC267xyBtYry748R9/c3tYUzb/iE6RZfllRz2lVulLCHkTm4w==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.60.0", - "@typescript-eslint/visitor-keys": "8.60.0" + "@typescript-eslint/types": "8.60.1", + "@typescript-eslint/visitor-keys": "8.60.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -6019,9 +6019,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.60.0.tgz", - "integrity": "sha512-BZPR3RGYlAXnly6ymAxfkVn5rCbZzQNou0rxv3GfWZ8cTQp+hhVd73khbGLAd8k1TlAPLISH337M+tAgAnaJDQ==", + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.60.1.tgz", + "integrity": "sha512-nh8w4qAteiKuZu3pSSzG/yGKpw0OlkrKnzFmbVRenKaD4qc+7i1GrmZaLVkr8rk4uipiPGMOW4YsM6WmKZ5CvA==", "dev": true, "license": "MIT", "engines": { @@ -6036,15 +6036,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.60.0.tgz", - "integrity": "sha512-SX46wEUtitCpq7AN38HkUU/+zvUpdKf7ephtWAFgckH8O7PQIyL5gvrhQgBLuEYgLfuKWOVvWVskMbuFHAz5xg==", + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.60.1.tgz", + "integrity": "sha512-sdwTrpjosW7ANQYJ39ZBF1ZyEMEGVB2UsikrserVM/30a/F1dTLnu9bGxEdosugyu5caigjLrR2qiD11asjI1A==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.60.0", - "@typescript-eslint/typescript-estree": "8.60.0", - "@typescript-eslint/utils": "8.60.0", + "@typescript-eslint/types": "8.60.1", + "@typescript-eslint/typescript-estree": "8.60.1", + "@typescript-eslint/utils": "8.60.1", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, @@ -6061,9 +6061,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.60.0.tgz", - "integrity": "sha512-AsE7x2XaAK+CVbeih0Fvbn+r1qHxtpLDJ3XUuFcIinT318T90yHMJC+Zgv+jUuDjQQd06HKwxnDu6sz1IcTilA==", + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.60.1.tgz", + "integrity": "sha512-4h0tY8ppCkdCzcrl2YM5M3my0xsE1Tf8om3owEu5oPWmXwkKRmk0j0LGDzYBGUcAlesEbxBhazqu/K4cu3Ug7w==", "dev": true, "license": "MIT", "engines": { @@ -6075,16 +6075,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.60.0.tgz", - "integrity": "sha512-3AcZNBGMClm6CXDyo8kYvVGT/sx29sS0oBsIb9oZI2gunA4Vm2M3YHzRLPvsUBBsl+yB5FPtltq7gGH0iTlp9g==", + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.60.1.tgz", + "integrity": "sha512-alpRkfG8hlVE5kdJW2GkfgDgXxold3e8e4l6EnmhRmRLbekgAPCCGDVD++sABy9FcgPFroq+uFcCSM1vR57Cew==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.60.0", - "@typescript-eslint/tsconfig-utils": "8.60.0", - "@typescript-eslint/types": "8.60.0", - "@typescript-eslint/visitor-keys": "8.60.0", + "@typescript-eslint/project-service": "8.60.1", + "@typescript-eslint/tsconfig-utils": "8.60.1", + "@typescript-eslint/types": "8.60.1", + "@typescript-eslint/visitor-keys": "8.60.1", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", @@ -6103,16 +6103,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.60.0.tgz", - "integrity": "sha512-HtXuPfrHTyBDkameWpl+vJb1Uevu2tznAyahM1Oc4AENidCLTPiZDWIo4GfcxNdC/RcfGcadzzkqbRG87dUrQA==", + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.60.1.tgz", + "integrity": "sha512-h2MPBLoNtjc3qZWfY3Tl51yPorQ2McHn8pJfcMNTcIvrrZrr90Ykffit0yjrPFWQcRcUxzH20+6OcVdW4yHtUg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.60.0", - "@typescript-eslint/types": "8.60.0", - "@typescript-eslint/typescript-estree": "8.60.0" + "@typescript-eslint/scope-manager": "8.60.1", + "@typescript-eslint/types": "8.60.1", + "@typescript-eslint/typescript-estree": "8.60.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -6127,13 +6127,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.60.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.60.0.tgz", - "integrity": "sha512-9WI52t8ZGLVGrPMBet25yAftqY/n95+zmoUUtJBBQTKDSKUu7OsPTroT2op7U9JatkoRccL0YkWDNMFfC4Sjxg==", + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.60.1.tgz", + "integrity": "sha512-EbGRQg4FhrmwLodl+t3JNAnXHWVr9Vp+Zl1QBZVPY4ByfkzIT8cX3K6QWODHtkIZqqJVEWvhHSx3v5PDHsaQag==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.60.0", + "@typescript-eslint/types": "8.60.1", "eslint-visitor-keys": "^5.0.0" }, "engines": { @@ -6271,57 +6271,57 @@ "license": "MIT" }, "node_modules/@vue/compiler-core": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.34.tgz", - "integrity": "sha512-s9cLyK5mLcvZ4Agva5QgRsQyLKvts9WbU9DB6NqiZkkGEdwmcEiylj5Jbwkp680drF/NNCV8OlAJSe+yMLxaJw==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.5.35.tgz", + "integrity": "sha512-BUmHaR1J+O+CKZ9uJucdVTEr1LHsdyvv7vG3eNRhK3CczEHeMd/LtsHAuD7PbrxvI2envCY2v7HI1vC1aBRzKw==", "dev": true, "license": "MIT", "dependencies": { "@babel/parser": "^7.29.3", - "@vue/shared": "3.5.34", + "@vue/shared": "3.5.35", "entities": "^7.0.1", "estree-walker": "^2.0.2", "source-map-js": "^1.2.1" } }, "node_modules/@vue/compiler-dom": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.34.tgz", - "integrity": "sha512-EbF/T++k0e2MMZlJsBhzK8Sgwt0HcIPOhzn1CTB/lv6sQcyk+OWf8YeiLxZp3ro7MbbLcAfAJ6sEvjFWuNgUCw==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.5.35.tgz", + "integrity": "sha512-k+bprkXxuqhVajgTx5mUHuir7TwQzUKOWR40ng1ncAqQRPnrLngGGgqVEEhOnTMlc8btHYVKmrP8s5Qyg0hvYA==", "dev": true, "license": "MIT", "dependencies": { - "@vue/compiler-core": "3.5.34", - "@vue/shared": "3.5.34" + "@vue/compiler-core": "3.5.35", + "@vue/shared": "3.5.35" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.34.tgz", - "integrity": "sha512-D/ihr6uZeIt6r+pVZf46RWT1fAsLFMbUP7k8G1VkiiWexriED9GrX3echHd4Abbt17zjlfiFJ8z7a3BxZOPNjg==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.5.35.tgz", + "integrity": "sha512-G5VPMcXTSywXBgtFOZOnHKBxKSrwXUcvY1iaF5/hRcy7t0J6CH/d8ha9F4nzi00Fax1eLV0QHM7v4mQu68jydw==", "dev": true, "license": "MIT", "dependencies": { "@babel/parser": "^7.29.3", - "@vue/compiler-core": "3.5.34", - "@vue/compiler-dom": "3.5.34", - "@vue/compiler-ssr": "3.5.34", - "@vue/shared": "3.5.34", + "@vue/compiler-core": "3.5.35", + "@vue/compiler-dom": "3.5.35", + "@vue/compiler-ssr": "3.5.35", + "@vue/shared": "3.5.35", "estree-walker": "^2.0.2", "magic-string": "^0.30.21", - "postcss": "^8.5.14", + "postcss": "^8.5.15", "source-map-js": "^1.2.1" } }, "node_modules/@vue/compiler-ssr": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.34.tgz", - "integrity": "sha512-cDtTHKibkThKGHH1SP+WdccquNRYQDFH6rRjQCqT9G2ltFAfoR5pUftpab/z+aM5mW9HLLVQW7hfKKQe/1GBeQ==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.5.35.tgz", + "integrity": "sha512-rGhAeXgdM7/ffTJGXT69rCCdTmjDewnFuUZfBQQHTdcEBeWdT5HCGY60y2ytLJr9/Dsu7IntUi5z/w0h6Rjnzw==", "dev": true, "license": "MIT", "dependencies": { - "@vue/compiler-dom": "3.5.34", - "@vue/shared": "3.5.34" + "@vue/compiler-dom": "3.5.35", + "@vue/shared": "3.5.35" } }, "node_modules/@vue/devtools-api": { @@ -6361,9 +6361,9 @@ } }, "node_modules/@vue/language-core": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-3.3.2.tgz", - "integrity": "sha512-CLwjSfHlPLhjd2qhuS3tTFtnOIWHXAM5u4X1DxmzlQ8j5bmOYlKCsSusOP7jCRJnlVg0mCTQtHU3vwFvopZGoQ==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-3.3.3.tgz", + "integrity": "sha512-X6p+7nfY7vVT6dQwUJ+v0Jfq/lwIfhL2jMi91dQ3ln4hnlGXlxsDu/FNkeyHYgvYtyQy18ZX76IZy7X4diDbiQ==", "dev": true, "license": "MIT", "dependencies": { @@ -6391,16 +6391,16 @@ } }, "node_modules/@vue/language-server": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/@vue/language-server/-/language-server-3.3.2.tgz", - "integrity": "sha512-UayGGSA0MxD2sy2oY+B7C64/JYum5NHZ1g8lnNLUz7DMHvxyVcbR86GqF3YG6qTroypC3wQ+ZDKgN8rd4t6LLg==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/@vue/language-server/-/language-server-3.3.3.tgz", + "integrity": "sha512-c3NZfUu3OXH+BeegrKUIpDP6/7lgYzGYaoTfEuGPw5NXPODIePnhkHs14skNz0aTmYtLmHZnFsWzYW0NKFNSqw==", "dev": true, "license": "MIT", "dependencies": { "@volar/language-server": "2.4.28", - "@vue/language-core": "3.3.2", - "@vue/language-service": "3.3.2", - "@vue/typescript-plugin": "3.3.2", + "@vue/language-core": "3.3.3", + "@vue/language-service": "3.3.3", + "@vue/typescript-plugin": "3.3.3", "vscode-uri": "^3.1.0" }, "bin": { @@ -6411,14 +6411,14 @@ } }, "node_modules/@vue/language-service": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/@vue/language-service/-/language-service-3.3.2.tgz", - "integrity": "sha512-5CugK2vB/sSIwCWXGpgj5S6MDG6d2fY1aESPHqH/EY/MBB3EJe5rkuJiyMoxX/yHz2spId7n4Dm70VTI5E+C1Q==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/@vue/language-service/-/language-service-3.3.3.tgz", + "integrity": "sha512-4mKtnHnQJzuaib56KjBho5Lv1eneRbLqTdgFmQAwALWeeSVm2WricMcpEMbLHkQA+o+KncF/rc149ZGM97zW4A==", "dev": true, "license": "MIT", "dependencies": { "@volar/language-service": "2.4.28", - "@vue/language-core": "3.3.2", + "@vue/language-core": "3.3.3", "@vue/shared": "^3.5.0", "path-browserify": "^1.0.1", "volar-service-css": "0.0.71", @@ -6433,72 +6433,72 @@ } }, "node_modules/@vue/reactivity": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.34.tgz", - "integrity": "sha512-y9XDjCEuBp+98k+UL5dbYkh57AHU4o6cxZedOPXw3bmrZZYLQsVHguGurq7hVrPCSrQtrnz1f9dssyFr+dMXfQ==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.5.35.tgz", + "integrity": "sha512-tVc+SsHConvh/Lz64qq1pP3rYArBmK42xonovEcxY74SQtvctZodG/zhq54P5dr38cVuw25d27cPNRdlMidpGQ==", "dev": true, "license": "MIT", "dependencies": { - "@vue/shared": "3.5.34" + "@vue/shared": "3.5.35" } }, "node_modules/@vue/runtime-core": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.34.tgz", - "integrity": "sha512-mKeBYvu8tcMSLhypAHBmriUFfWXKTCF/23Z4jiCoYK3UtWepkliViNLuR90V9XOyD62mUxs9p1jsrpK3CCGIzw==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.5.35.tgz", + "integrity": "sha512-A/xFNX9loIcWDygeQuNCfKuh0CoYBzxhqEMNah5TSFg9Z53DrFYEN2qi5CU9necjM1OWYegYREUTHmXTmhfXtg==", "dev": true, "license": "MIT", "dependencies": { - "@vue/reactivity": "3.5.34", - "@vue/shared": "3.5.34" + "@vue/reactivity": "3.5.35", + "@vue/shared": "3.5.35" } }, "node_modules/@vue/runtime-dom": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.34.tgz", - "integrity": "sha512-e8kZzERmCwUnBRVsgSQlAfrfU2rGoy0FFKPBXSlfEjc/O3KfA7QP0t1/2ZylrbchjmIKB4dPTd07A6WPr0eOrg==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.5.35.tgz", + "integrity": "sha512-odrJ1C391dbGnyDRh8U+rnP7J2amIEzfmRk5vXy7xi3aZhEXofTvpi0T4HJb6jlNqQZTNPR5MPHSB3RHNkIORA==", "dev": true, "license": "MIT", "dependencies": { - "@vue/reactivity": "3.5.34", - "@vue/runtime-core": "3.5.34", - "@vue/shared": "3.5.34", + "@vue/reactivity": "3.5.35", + "@vue/runtime-core": "3.5.35", + "@vue/shared": "3.5.35", "csstype": "^3.2.3" } }, "node_modules/@vue/server-renderer": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.34.tgz", - "integrity": "sha512-nHxmJoTrKsmrkbILRhkC9gY1G3moZbJTqCzDd7DOOzG5KH9oeJ0Unqrff5f9v0pW//jES05ZkJcNtfE8JjOIew==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.5.35.tgz", + "integrity": "sha512-NkebSOYdB97wi8OQcO3HqzZSlymJi/aWsN/7h74OSVhRTm6qGs3Jp3e0rCXynmWwSlKeRrnlIug+ilYoHBmQDA==", "dev": true, "license": "MIT", "dependencies": { - "@vue/compiler-ssr": "3.5.34", - "@vue/shared": "3.5.34" + "@vue/compiler-ssr": "3.5.35", + "@vue/shared": "3.5.35" }, "peerDependencies": { - "vue": "3.5.34" + "vue": "3.5.35" } }, "node_modules/@vue/shared": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.34.tgz", - "integrity": "sha512-24uqU4OIiX29ryC3MeWid/Xf2fa2EFRUVLb77nRhk+UrTVrh/XiGtFAFmJBAtBRbjwNdsPRP+jj/OL27Eg1NDA==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.5.35.tgz", + "integrity": "sha512-zSbjL7gRXwks2ZQLRGCajBtBXEOXW9Ddhn/HvSdrGkE2dqGnumzW8XtusRrxrE9LvqtiqDXQ+A60Hp6mvdYxfA==", "dev": true, "license": "MIT" }, "node_modules/@vue/typescript-plugin": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/@vue/typescript-plugin/-/typescript-plugin-3.3.2.tgz", - "integrity": "sha512-UFRDh9QbDA+qpT3U4cal/Aju1458cka8ODGjl88/vbqKuM+bXUErzUC2jbv8Ymyfey9dUacpnLJGpwNtNpcgvw==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/@vue/typescript-plugin/-/typescript-plugin-3.3.3.tgz", + "integrity": "sha512-FyT1EKeGZZJk4ZEMOv70sMYoEbiROm5xXFjfFCUK2wRmrB/hvYq/+zIbGWoH11Tox6wZc4AQoHHOabWdZatg8w==", "dev": true, "license": "MIT", "dependencies": { "@volar/typescript": "2.4.28", - "@vue/language-core": "3.3.2", + "@vue/language-core": "3.3.3", "@vue/shared": "^3.5.0", "path-browserify": "^1.0.1", - "vue-component-meta": "3.3.2" + "vue-component-meta": "3.3.3" } }, "node_modules/@vueuse/core": { @@ -9389,9 +9389,9 @@ } }, "node_modules/eslint": { - "version": "10.4.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.4.0.tgz", - "integrity": "sha512-loXy6bWOoP3EP6JA7jo6p5jMpBJmHmsNZM5SFRHLdh1MGOPurMnNBj4ZlAbaqUAaQWbCr7jHV4P7gzAyryZWkQ==", + "version": "10.4.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.4.1.tgz", + "integrity": "sha512-AyIKhnOBuOAdueD7RB3xB+YeAWScb9jHsJBgH2Hcde8InP5JYhqrRR6iTMHyTEwgENK54Cp44e4v8BwNhsuHuw==", "dev": true, "license": "MIT", "dependencies": { @@ -9400,7 +9400,7 @@ "@eslint/config-array": "^0.23.5", "@eslint/config-helpers": "^0.6.0", "@eslint/core": "^1.2.1", - "@eslint/plugin-kit": "^0.7.1", + "@eslint/plugin-kit": "^0.7.2", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/retry": "^0.4.2", @@ -9461,14 +9461,14 @@ } }, "node_modules/eslint-plugin-prettier": { - "version": "5.5.5", - "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.5.5.tgz", - "integrity": "sha512-hscXkbqUZ2sPithAuLm5MXL+Wph+U7wHngPBv9OMWwlP8iaflyxpjTYZkmdgB4/vPIhemRlBEoLrH7UC1n7aUw==", + "version": "5.5.6", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.5.6.tgz", + "integrity": "sha512-ifetmTcxWfz+4qRW3pH/ujdTq2jQIj59AxJMIN26K5avYgU8dxycUETQonWiW+wPrYXA0j3Try0l1CnwVQtDqQ==", "dev": true, "license": "MIT", "dependencies": { "prettier-linter-helpers": "^1.0.1", - "synckit": "^0.11.12" + "synckit": "^0.11.13" }, "engines": { "node": "^14.18.0 || >=16.0.0" @@ -11658,16 +11658,16 @@ } }, "node_modules/lint-staged": { - "version": "17.0.5", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-17.0.5.tgz", - "integrity": "sha512-d12yC+/e8RhBjZtaxZn71FyrgU/P5e+uAPifhCLwdosQZP/zamSdKRWDC30ocVIbzDKiFG1McHc/LUgB92GIPw==", + "version": "17.0.7", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-17.0.7.tgz", + "integrity": "sha512-JrSobt+tW3rH8IOMi8tDZd3foorM5yPEkLD/V2NxobgHrFfHWGee4MOLVuZeScgxftEwbHrPHIFA/ZL+nUJeuA==", "dev": true, "license": "MIT", "dependencies": { "listr2": "^10.2.1", "picomatch": "^4.0.4", "string-argv": "^0.3.2", - "tinyexec": "^1.1.2" + "tinyexec": "^1.2.4" }, "bin": { "lint-staged": "bin/lint-staged.js" @@ -11679,7 +11679,7 @@ "url": "https://opencollective.com/lint-staged" }, "optionalDependencies": { - "yaml": "^2.8.4" + "yaml": "^2.9.0" } }, "node_modules/listr2": { @@ -12364,20 +12364,20 @@ "license": "MIT" }, "node_modules/memfs": { - "version": "4.57.2", - "resolved": "https://registry.npmjs.org/memfs/-/memfs-4.57.2.tgz", - "integrity": "sha512-2nWzSsJzrukurSDna4Z0WywuScK4Id3tSKejgu74u8KCdW4uNrseKRSIDg75C6Yw5ZRqBe0F0EtMNlTbUq8bAQ==", + "version": "4.57.3", + "resolved": "https://registry.npmjs.org/memfs/-/memfs-4.57.3.tgz", + "integrity": "sha512-dlvqataP1zUOlfj6pv9wgCSC5pRIooNntXgdLfR7FWlcKi1p8fMfJADtHp/+8Dhu5JFvMHNh7L0QVcuaaBKqqA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@jsonjoy.com/fs-core": "4.57.2", - "@jsonjoy.com/fs-fsa": "4.57.2", - "@jsonjoy.com/fs-node": "4.57.2", - "@jsonjoy.com/fs-node-builtins": "4.57.2", - "@jsonjoy.com/fs-node-to-fsa": "4.57.2", - "@jsonjoy.com/fs-node-utils": "4.57.2", - "@jsonjoy.com/fs-print": "4.57.2", - "@jsonjoy.com/fs-snapshot": "4.57.2", + "@jsonjoy.com/fs-core": "4.57.3", + "@jsonjoy.com/fs-fsa": "4.57.3", + "@jsonjoy.com/fs-node": "4.57.3", + "@jsonjoy.com/fs-node-builtins": "4.57.3", + "@jsonjoy.com/fs-node-to-fsa": "4.57.3", + "@jsonjoy.com/fs-node-utils": "4.57.3", + "@jsonjoy.com/fs-print": "4.57.3", + "@jsonjoy.com/fs-snapshot": "4.57.3", "@jsonjoy.com/json-pack": "^1.11.0", "@jsonjoy.com/util": "^1.9.0", "glob-to-regex.js": "^1.0.1", @@ -15496,13 +15496,13 @@ "license": "Unlicense" }, "node_modules/rollup": { - "version": "4.60.4", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.60.4.tgz", - "integrity": "sha512-WHeFSbZYsPu3+bLoNRUuAO+wavNlocOPf3wSHTP7hcFKVnJeWsYlCDbr3mTS14FCizf9ccIxXA8sGL8zKeQN3g==", + "version": "4.61.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.61.0.tgz", + "integrity": "sha512-T9mWdbWfQtp0B5lv/HX+wrhYsmXRlcWnXXmJbXqKJhlRaoS6KMhq0gpyzW4UJfclcxrEdLnTgjT2NjruLONu0g==", "dev": true, "license": "MIT", "dependencies": { - "@types/estree": "1.0.8" + "@types/estree": "1.0.9" }, "bin": { "rollup": "dist/bin/rollup" @@ -15512,31 +15512,31 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.60.4", - "@rollup/rollup-android-arm64": "4.60.4", - "@rollup/rollup-darwin-arm64": "4.60.4", - "@rollup/rollup-darwin-x64": "4.60.4", - "@rollup/rollup-freebsd-arm64": "4.60.4", - "@rollup/rollup-freebsd-x64": "4.60.4", - "@rollup/rollup-linux-arm-gnueabihf": "4.60.4", - "@rollup/rollup-linux-arm-musleabihf": "4.60.4", - "@rollup/rollup-linux-arm64-gnu": "4.60.4", - "@rollup/rollup-linux-arm64-musl": "4.60.4", - "@rollup/rollup-linux-loong64-gnu": "4.60.4", - "@rollup/rollup-linux-loong64-musl": "4.60.4", - "@rollup/rollup-linux-ppc64-gnu": "4.60.4", - "@rollup/rollup-linux-ppc64-musl": "4.60.4", - "@rollup/rollup-linux-riscv64-gnu": "4.60.4", - "@rollup/rollup-linux-riscv64-musl": "4.60.4", - "@rollup/rollup-linux-s390x-gnu": "4.60.4", - "@rollup/rollup-linux-x64-gnu": "4.60.4", - "@rollup/rollup-linux-x64-musl": "4.60.4", - "@rollup/rollup-openbsd-x64": "4.60.4", - "@rollup/rollup-openharmony-arm64": "4.60.4", - "@rollup/rollup-win32-arm64-msvc": "4.60.4", - "@rollup/rollup-win32-ia32-msvc": "4.60.4", - "@rollup/rollup-win32-x64-gnu": "4.60.4", - "@rollup/rollup-win32-x64-msvc": "4.60.4", + "@rollup/rollup-android-arm-eabi": "4.61.0", + "@rollup/rollup-android-arm64": "4.61.0", + "@rollup/rollup-darwin-arm64": "4.61.0", + "@rollup/rollup-darwin-x64": "4.61.0", + "@rollup/rollup-freebsd-arm64": "4.61.0", + "@rollup/rollup-freebsd-x64": "4.61.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.61.0", + "@rollup/rollup-linux-arm-musleabihf": "4.61.0", + "@rollup/rollup-linux-arm64-gnu": "4.61.0", + "@rollup/rollup-linux-arm64-musl": "4.61.0", + "@rollup/rollup-linux-loong64-gnu": "4.61.0", + "@rollup/rollup-linux-loong64-musl": "4.61.0", + "@rollup/rollup-linux-ppc64-gnu": "4.61.0", + "@rollup/rollup-linux-ppc64-musl": "4.61.0", + "@rollup/rollup-linux-riscv64-gnu": "4.61.0", + "@rollup/rollup-linux-riscv64-musl": "4.61.0", + "@rollup/rollup-linux-s390x-gnu": "4.61.0", + "@rollup/rollup-linux-x64-gnu": "4.61.0", + "@rollup/rollup-linux-x64-musl": "4.61.0", + "@rollup/rollup-openbsd-x64": "4.61.0", + "@rollup/rollup-openharmony-arm64": "4.61.0", + "@rollup/rollup-win32-arm64-msvc": "4.61.0", + "@rollup/rollup-win32-ia32-msvc": "4.61.0", + "@rollup/rollup-win32-x64-gnu": "4.61.0", + "@rollup/rollup-win32-x64-msvc": "4.61.0", "fsevents": "~2.3.2" } }, @@ -15563,13 +15563,6 @@ "rollup": "^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0" } }, - "node_modules/rollup/node_modules/@types/estree": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", - "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", - "dev": true, - "license": "MIT" - }, "node_modules/roughjs": { "version": "4.6.6", "resolved": "https://registry.npmjs.org/roughjs/-/roughjs-4.6.6.tgz", @@ -16436,13 +16429,13 @@ } }, "node_modules/synckit": { - "version": "0.11.12", - "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.12.tgz", - "integrity": "sha512-Bh7QjT8/SuKUIfObSXNHNSK6WHo6J1tHCqJsuaFDP7gP0fkzSfTxI8y85JrppZ0h8l0maIgc2tfuZQ6/t3GtnQ==", + "version": "0.11.13", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.13.tgz", + "integrity": "sha512-eNRKgb3z66Yp3D2CixVujOUvXLFUTij/zVnV8KRyvFdQwpz7I5DS8UfRkTeLzb64u+dkzDSdelE24izu+zSSUg==", "dev": true, "license": "MIT", "dependencies": { - "@pkgr/core": "^0.2.9" + "@pkgr/core": "^0.3.6" }, "engines": { "node": "^14.18.0 || >=16.0.0" @@ -16770,9 +16763,9 @@ } }, "node_modules/tinyexec": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.2.2.tgz", - "integrity": "sha512-M/Q0B2cp4K7kynaT/vnED1j8TlLY+Pp7C6Wl2bl/7u/F0mUVwdyOpwomQb8JpYLitHUssAJRmLZdMCGsrx7i+g==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.2.4.tgz", + "integrity": "sha512-SHf/r48b7vOrjve9PxJo3MN5v5yuyjHvdUcrQffT3WXMUfnGmHDVbC4k3sHJaJTgZCwpUplIaAo5ANtMyp3YHg==", "dev": true, "license": "MIT", "engines": { @@ -17033,16 +17026,16 @@ } }, "node_modules/typescript-eslint": { - "version": "8.60.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.60.0.tgz", - "integrity": "sha512-9f65qWLZdAW9m1JaxBDUHcqRUfL8bkxxXL7XxEfI+F09q56PkBvIfCjLF3yInsDM/BBmwkqmCQdCZe/RYlIWEw==", + "version": "8.60.1", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.60.1.tgz", + "integrity": "sha512-6m5hkkRAp8lKvhVpcprAIn5KkehQEh+47oHH2VGnExEh7dhNxXlg6GPAOIu6TxbVQxhebrJDvjl3020ooiWCMA==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.60.0", - "@typescript-eslint/parser": "8.60.0", - "@typescript-eslint/typescript-estree": "8.60.0", - "@typescript-eslint/utils": "8.60.0" + "@typescript-eslint/eslint-plugin": "8.60.1", + "@typescript-eslint/parser": "8.60.1", + "@typescript-eslint/typescript-estree": "8.60.1", + "@typescript-eslint/utils": "8.60.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -17321,9 +17314,9 @@ } }, "node_modules/vite": { - "version": "7.3.3", - "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.3.tgz", - "integrity": "sha512-/4XH147Ui7OGTjg3HbdWe5arnZQSbfuRzdr9Ec7TQi5I7R+ir0Rlc9GIvD4v0XZurELqA035KVXJXpR61xhiTA==", + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.5.tgz", + "integrity": "sha512-KuOaNhcnGFN2zIPGA7wRmzF+lJA1sea7rHq17aiJ++9lzY1WWG6Jpwqwe1KNbRVPIqHmr8GLYx7jbrQcN/7/ww==", "dev": true, "license": "MIT", "dependencies": { @@ -17780,17 +17773,17 @@ "license": "MIT" }, "node_modules/vue": { - "version": "3.5.34", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.34.tgz", - "integrity": "sha512-WdLBG9gm02OgJIG9axd5Hpx0TFLdzVgfG2evFFu8Rur5O/IoGc5cMjnjh3tPL6GnRGsYvUhBSKVPYVcxRKpMCA==", + "version": "3.5.35", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.5.35.tgz", + "integrity": "sha512-cx89fnr+0kVGHiNFG6y6s0bdjypJRFNZn6x3WPstNdQR1bi1mbB7h4v5IBGTsPJU3nK1+0Iqj3Zf+hZWMieR4Q==", "dev": true, "license": "MIT", "dependencies": { - "@vue/compiler-dom": "3.5.34", - "@vue/compiler-sfc": "3.5.34", - "@vue/runtime-dom": "3.5.34", - "@vue/server-renderer": "3.5.34", - "@vue/shared": "3.5.34" + "@vue/compiler-dom": "3.5.35", + "@vue/compiler-sfc": "3.5.35", + "@vue/runtime-dom": "3.5.35", + "@vue/server-renderer": "3.5.35", + "@vue/shared": "3.5.35" }, "peerDependencies": { "typescript": "*" @@ -17802,14 +17795,14 @@ } }, "node_modules/vue-component-meta": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/vue-component-meta/-/vue-component-meta-3.3.2.tgz", - "integrity": "sha512-n2N/IpZO16it12Marp9bFBWIwkqa+ux9yHIl6yBL1lFEPL2xCML8gQ+/l6gSGIkgZwpkD9hyu/a0GMhR0pHw/Q==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/vue-component-meta/-/vue-component-meta-3.3.3.tgz", + "integrity": "sha512-epBsM7BuE4lzM7ujAW6MTre3QFc/Qpazwu5bV598ikCAKo30A+z7+wGen6hzIrjGwkaYv3Q7xs5aCdUMOY5OUQ==", "dev": true, "license": "MIT", "dependencies": { "@volar/typescript": "2.4.28", - "@vue/language-core": "3.3.2", + "@vue/language-core": "3.3.3", "path-browserify": "^1.0.1" }, "peerDependencies": { @@ -17856,14 +17849,14 @@ } }, "node_modules/vue-tsc": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-3.3.2.tgz", - "integrity": "sha512-n7nQoA3YWW/eiDR8jMiv/uJvlg0uLGs+YgUrsTrf9EZaYSt3tuvMZb5V8+7Mvh/EH5pnY/hoVdgfjH+XcK+wwA==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-3.3.3.tgz", + "integrity": "sha512-SWUEG7YRUeDJHT7Xsuhf02elYX2gxPzzAII7OxDAh4KNOr4QHQ0Lls0YfnaO5GNd560CwVa2HTfdqmA5MqvRqQ==", "dev": true, "license": "MIT", "dependencies": { "@volar/typescript": "2.4.28", - "@vue/language-core": "3.3.2" + "@vue/language-core": "3.3.3" }, "bin": { "vue-tsc": "bin/vue-tsc.js" diff --git a/package.json b/package.json index 80e9d330b..6fbfc0ea9 100644 --- a/package.json +++ b/package.json @@ -137,20 +137,20 @@ "@napi-rs/cli": "3.4.1", "@rollup/plugin-alias": "^6.0.0", "@rollup/plugin-buble": "^1.0.3", - "@rollup/plugin-commonjs": "^29.0.2", + "@rollup/plugin-commonjs": "^29.0.3", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-replace": "^6.0.3", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.3.0", - "@rollup/pluginutils": "^5.3.0", + "@rollup/pluginutils": "^5.4.0", "@shikijs/vitepress-twoslash": "^4.1.0", "@types/mocha": "^10.0.10", "@types/node": "^20.19.41", "@types/picomatch": "^4.0.3", "@types/semver": "^7.7.1", "@types/yargs-parser": "^21.0.3", - "@vue/language-server": "^3.3.2", + "@vue/language-server": "^3.3.3", "acorn": "^8.16.0", "acorn-import-assertions": "^1.9.0", "acorn-import-phases": "^1.0.4", @@ -163,9 +163,9 @@ "date-time": "^4.0.0", "es5-shim": "^4.6.7", "es6-shim": "^0.35.8", - "eslint": "^10.4.0", + "eslint": "^10.4.1", "eslint-config-prettier": "^10.1.8", - "eslint-plugin-prettier": "^5.5.5", + "eslint-plugin-prettier": "^5.5.6", "eslint-plugin-unicorn": "^64.0.0", "eslint-plugin-vue": "^10.9.1", "fixturify": "^3.0.0", @@ -175,10 +175,10 @@ "globals": "^17.6.0", "husky": "^9.1.7", "is-reference": "^3.0.3", - "lint-staged": "^17.0.5", + "lint-staged": "^17.0.7", "locate-character": "^3.0.0", "magic-string": "^0.30.21", - "memfs": "^4.57.2", + "memfs": "^4.57.3", "mocha": "11.7.6", "nodemon": "^3.1.14", "npm-audit-resolver": "^3.0.0-RC.0", @@ -192,7 +192,7 @@ "pretty-bytes": "^7.1.0", "pretty-ms": "^9.3.0", "requirejs": "^2.3.8", - "rollup": "^4.60.4", + "rollup": "^4.61.0", "rollup-plugin-license": "^3.7.1", "semver": "^7.8.1", "shx": "^0.4.0", @@ -203,12 +203,12 @@ "terser": "^5.48.0", "tslib": "^2.8.1", "typescript": "^5.9.3", - "typescript-eslint": "^8.60.0", - "vite": "^7.3.3", + "typescript-eslint": "^8.60.1", + "vite": "^7.3.5", "vitepress": "^1.6.4", - "vue": "^3.5.34", + "vue": "^3.5.35", "vue-eslint-parser": "^10.4.0", - "vue-tsc": "^3.3.2", + "vue-tsc": "^3.3.3", "wasm-pack": "^0.15.0", "yargs-parser": "^21.1.1" }, diff --git a/rust/bindings_napi/Cargo.toml b/rust/bindings_napi/Cargo.toml index 045897e4f..4cccbaf4b 100644 --- a/rust/bindings_napi/Cargo.toml +++ b/rust/bindings_napi/Cargo.toml @@ -16,7 +16,7 @@ parse_ast = { path = "../parse_ast" } xxhash = { path = "../xxhash" } [target.'cfg(not(any(target_os = "linux", target_os = "freebsd")))'.dependencies] -mimalloc-safe = { version = "0.1.61" } +mimalloc-safe = { version = "0.1.62" } # Readable version of the target specifier # cfg( @@ -34,13 +34,13 @@ mimalloc-safe = { version = "0.1.61" } # ) # ) [target.'cfg(any(all(target_os = "linux", not(target_arch = "loongarch64"), not(all(target_arch = "riscv64", target_env = "musl")), not(target_env = "ohos")), all(target_os = "freebsd", not(target_arch = "aarch64"))))'.dependencies] -mimalloc-safe = { version = "0.1.61", features = ["local_dynamic_tls"] } +mimalloc-safe = { version = "0.1.62", features = ["local_dynamic_tls"] } # Disable architecture specific optimizations on aarch64 platforms # Mimalloc assumes `armv8.1-a` is supported, which is not always the case # Ref: https://github.com/rollup/rollup/issues/6047 [target.'cfg(all(target_arch = "aarch64", not(target_vendor = "apple")))'.dependencies] -mimalloc-safe = { version = "0.1.61", features = ["no_opt_arch"] } +mimalloc-safe = { version = "0.1.62", features = ["no_opt_arch"] } [build-dependencies] napi-build = "2.3.2" From d02f03a397dee8930137c9d01b0d3981abb2a6bb Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 4 Jun 2026 21:43:25 +0000 Subject: [PATCH 5/9] chore(deps): lock file maintenance minor/patch updates (#6407) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 400 ++++++++++++++++++++++++---------------------- rust/Cargo.lock | 44 ++--- 2 files changed, 227 insertions(+), 217 deletions(-) diff --git a/package-lock.json b/package-lock.json index 16e75e5d5..bbc088ec5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -114,16 +114,16 @@ } }, "node_modules/@algolia/abtesting": { - "version": "1.18.1", - "resolved": "https://registry.npmjs.org/@algolia/abtesting/-/abtesting-1.18.1.tgz", - "integrity": "sha512-aehCadlWOGvrT91KUIZpC0MbB8KBW9yUuvTJFd2xesR7le/IsT4nJUnjCCZ4ZqZCeTcPHPV5mo//fZ5oxcSVYw==", + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/@algolia/abtesting/-/abtesting-1.19.0.tgz", + "integrity": "sha512-Lhnez3hhXHk25lfxLAMxvkP4fmN3+1RgADhD2ssMDBYuAsDVReeyP+3SGRx+ntq8ijMrLqUyfvO72TB6jsTteQ==", "dev": true, "license": "MIT", "dependencies": { - "@algolia/client-common": "5.52.1", - "@algolia/requester-browser-xhr": "5.52.1", - "@algolia/requester-fetch": "5.52.1", - "@algolia/requester-node-http": "5.52.1" + "@algolia/client-common": "5.53.0", + "@algolia/requester-browser-xhr": "5.53.0", + "@algolia/requester-fetch": "5.53.0", + "@algolia/requester-node-http": "5.53.0" }, "engines": { "node": ">= 14.0.0" @@ -179,41 +179,41 @@ } }, "node_modules/@algolia/client-abtesting": { - "version": "5.52.1", - "resolved": "https://registry.npmjs.org/@algolia/client-abtesting/-/client-abtesting-5.52.1.tgz", - "integrity": "sha512-HmXOGBOAOJPounpBzBpuY0zDYeiCpxgHnQmuA7JO6ScukcBdGp3/XM9zJk5pJx/xNGD68mbPGXWpDxGtl6BwDQ==", + "version": "5.53.0", + "resolved": "https://registry.npmjs.org/@algolia/client-abtesting/-/client-abtesting-5.53.0.tgz", + "integrity": "sha512-0ZjA5Hcmaoz5Lj6OG0zhfIyeqzJZnLW2CRJA1W17UwMFGRtZAJ9yJKRvPEDA6gkpsIoQxORTSW6sWFiuYncPNQ==", "dev": true, "license": "MIT", "dependencies": { - "@algolia/client-common": "5.52.1", - "@algolia/requester-browser-xhr": "5.52.1", - "@algolia/requester-fetch": "5.52.1", - "@algolia/requester-node-http": "5.52.1" + "@algolia/client-common": "5.53.0", + "@algolia/requester-browser-xhr": "5.53.0", + "@algolia/requester-fetch": "5.53.0", + "@algolia/requester-node-http": "5.53.0" }, "engines": { "node": ">= 14.0.0" } }, "node_modules/@algolia/client-analytics": { - "version": "5.52.1", - "resolved": "https://registry.npmjs.org/@algolia/client-analytics/-/client-analytics-5.52.1.tgz", - "integrity": "sha512-5oo4+I8iixie9vXhCyNFCzeIr8pqA3FQ//VsLHTDvZAV4ttYOPGvYHGQq5NSalrLx5Jc3dRro/5uDOlnUMcBJg==", + "version": "5.53.0", + "resolved": "https://registry.npmjs.org/@algolia/client-analytics/-/client-analytics-5.53.0.tgz", + "integrity": "sha512-kWNodP75iiEaOtemC9F/hlxNBG5E2QUjN1BusnE6m2b4l7Qh/BUO3fGCVsmKJI65VO4VKGGmT43ICvHtTcJ2JQ==", "dev": true, "license": "MIT", "dependencies": { - "@algolia/client-common": "5.52.1", - "@algolia/requester-browser-xhr": "5.52.1", - "@algolia/requester-fetch": "5.52.1", - "@algolia/requester-node-http": "5.52.1" + "@algolia/client-common": "5.53.0", + "@algolia/requester-browser-xhr": "5.53.0", + "@algolia/requester-fetch": "5.53.0", + "@algolia/requester-node-http": "5.53.0" }, "engines": { "node": ">= 14.0.0" } }, "node_modules/@algolia/client-common": { - "version": "5.52.1", - "resolved": "https://registry.npmjs.org/@algolia/client-common/-/client-common-5.52.1.tgz", - "integrity": "sha512-qCDoZfx5MpX7XQzvQ3bC4tSEMkQWQMaF/ABtLuoze03Y/flR563CCSws02qIJ23oX7lxl92LsilZjINVyTdtLw==", + "version": "5.53.0", + "resolved": "https://registry.npmjs.org/@algolia/client-common/-/client-common-5.53.0.tgz", + "integrity": "sha512-YPN45TXD9Wrse185t/Ta7nktZsqpv97oOjCzp2sblHnCL6rBc9TDeJAg1IGl2UpdwnSD05Zu/5wLB4watOUMyg==", "dev": true, "license": "MIT", "engines": { @@ -221,151 +221,151 @@ } }, "node_modules/@algolia/client-insights": { - "version": "5.52.1", - "resolved": "https://registry.npmjs.org/@algolia/client-insights/-/client-insights-5.52.1.tgz", - "integrity": "sha512-hnGs0/lsFJ2PWDxNBz7pxreXo/Xz7gxYRcfePBUjsH26ad0kU/sgnVZd9LwWBpsQv65z2jlb5dkyaB9WE9M9FQ==", + "version": "5.53.0", + "resolved": "https://registry.npmjs.org/@algolia/client-insights/-/client-insights-5.53.0.tgz", + "integrity": "sha512-qAcYTDJE6m924FDDUQvdD6vh7DYaqOeSpFS74IP37/JRV0v4cGBauyxTF2WzDnokUylQDbqreoFIJZfg0Fitmw==", "dev": true, "license": "MIT", "dependencies": { - "@algolia/client-common": "5.52.1", - "@algolia/requester-browser-xhr": "5.52.1", - "@algolia/requester-fetch": "5.52.1", - "@algolia/requester-node-http": "5.52.1" + "@algolia/client-common": "5.53.0", + "@algolia/requester-browser-xhr": "5.53.0", + "@algolia/requester-fetch": "5.53.0", + "@algolia/requester-node-http": "5.53.0" }, "engines": { "node": ">= 14.0.0" } }, "node_modules/@algolia/client-personalization": { - "version": "5.52.1", - "resolved": "https://registry.npmjs.org/@algolia/client-personalization/-/client-personalization-5.52.1.tgz", - "integrity": "sha512-2VxxNc/uBysyKvGeBdSM5n9eIDKH8kWD7wd9/yqbJAiVwU4Yv6tU1LSJusHKrXV/aCu1KW7t9Gug9QyeEmtn/Q==", + "version": "5.53.0", + "resolved": "https://registry.npmjs.org/@algolia/client-personalization/-/client-personalization-5.53.0.tgz", + "integrity": "sha512-fQaY+DkSJOpuUVUe8MQTwrdiKAqkJGhpDarB08duBn/sUv7Bkib6MDRQauCcWTWTe4HIW+EbwQP9R4kci1V/Yw==", "dev": true, "license": "MIT", "dependencies": { - "@algolia/client-common": "5.52.1", - "@algolia/requester-browser-xhr": "5.52.1", - "@algolia/requester-fetch": "5.52.1", - "@algolia/requester-node-http": "5.52.1" + "@algolia/client-common": "5.53.0", + "@algolia/requester-browser-xhr": "5.53.0", + "@algolia/requester-fetch": "5.53.0", + "@algolia/requester-node-http": "5.53.0" }, "engines": { "node": ">= 14.0.0" } }, "node_modules/@algolia/client-query-suggestions": { - "version": "5.52.1", - "resolved": "https://registry.npmjs.org/@algolia/client-query-suggestions/-/client-query-suggestions-5.52.1.tgz", - "integrity": "sha512-O6mPtsw3xEfNOe6gWFpYLeAZAIljNa4Hgna3bq15PwyN7nbjTY0wXJFRbzs/0YVf75Br+SbOQUmjKxXYjDiSiQ==", + "version": "5.53.0", + "resolved": "https://registry.npmjs.org/@algolia/client-query-suggestions/-/client-query-suggestions-5.53.0.tgz", + "integrity": "sha512-o72tsiEZGfeS/dxL9IADfzcZWGEwKDEe5CvtrBuT//3JR+SHuTtHRI2ZTf7D7bcKagcbojvO8hnkHdfoakSlYg==", "dev": true, "license": "MIT", "dependencies": { - "@algolia/client-common": "5.52.1", - "@algolia/requester-browser-xhr": "5.52.1", - "@algolia/requester-fetch": "5.52.1", - "@algolia/requester-node-http": "5.52.1" + "@algolia/client-common": "5.53.0", + "@algolia/requester-browser-xhr": "5.53.0", + "@algolia/requester-fetch": "5.53.0", + "@algolia/requester-node-http": "5.53.0" }, "engines": { "node": ">= 14.0.0" } }, "node_modules/@algolia/client-search": { - "version": "5.52.1", - "resolved": "https://registry.npmjs.org/@algolia/client-search/-/client-search-5.52.1.tgz", - "integrity": "sha512-gA8oJOV1LnQQkDf91iebNnFInHuW0gRPEgLSOQ7EfipCEjYTHm5swm1DlH9H5RaRw4RrHuzHBegnlzc0MAstcg==", + "version": "5.53.0", + "resolved": "https://registry.npmjs.org/@algolia/client-search/-/client-search-5.53.0.tgz", + "integrity": "sha512-Ds16IyPm/dNJPCU8OzApo2gwGrgWT5BYHhE3NFwZbpCveqyvPDB9sZDDkJ5DsdOGT2aC+R3i0/M1OVXF2qdgPg==", "dev": true, "license": "MIT", "dependencies": { - "@algolia/client-common": "5.52.1", - "@algolia/requester-browser-xhr": "5.52.1", - "@algolia/requester-fetch": "5.52.1", - "@algolia/requester-node-http": "5.52.1" + "@algolia/client-common": "5.53.0", + "@algolia/requester-browser-xhr": "5.53.0", + "@algolia/requester-fetch": "5.53.0", + "@algolia/requester-node-http": "5.53.0" }, "engines": { "node": ">= 14.0.0" } }, "node_modules/@algolia/ingestion": { - "version": "1.52.1", - "resolved": "https://registry.npmjs.org/@algolia/ingestion/-/ingestion-1.52.1.tgz", - "integrity": "sha512-U9zZfc5xIu9wRxZkt+HceJUAD4VKHKbAyLSloJdEyMRmphXeibfrY9cxqIXBcmPeZzGhn3Imb35Dq8l19PkJhw==", + "version": "1.53.0", + "resolved": "https://registry.npmjs.org/@algolia/ingestion/-/ingestion-1.53.0.tgz", + "integrity": "sha512-oNbT6z4NwD8Pou9VPINGlN/tlG1afESh2EbxqnP6rwl95xKVD/Zlciis1PpNeO/9U/rrajc1+7DcfKi03tX1KQ==", "dev": true, "license": "MIT", "dependencies": { - "@algolia/client-common": "5.52.1", - "@algolia/requester-browser-xhr": "5.52.1", - "@algolia/requester-fetch": "5.52.1", - "@algolia/requester-node-http": "5.52.1" + "@algolia/client-common": "5.53.0", + "@algolia/requester-browser-xhr": "5.53.0", + "@algolia/requester-fetch": "5.53.0", + "@algolia/requester-node-http": "5.53.0" }, "engines": { "node": ">= 14.0.0" } }, "node_modules/@algolia/monitoring": { - "version": "1.52.1", - "resolved": "https://registry.npmjs.org/@algolia/monitoring/-/monitoring-1.52.1.tgz", - "integrity": "sha512-a3SGNceHmkQfq77iG8Ka+w1pvwfZa/0lzEIgse30fL0kD+yKnd/dg0dQvSfFPAEt2f21DMcGkDSSeJlO3KdQjQ==", + "version": "1.53.0", + "resolved": "https://registry.npmjs.org/@algolia/monitoring/-/monitoring-1.53.0.tgz", + "integrity": "sha512-G+KZb/yd+qAOFn/cEvTGeLxQm8aP3a0od50l3z/ylccY+/o4YG3TNcjU1tFQHW4mXC137GPyR7W70R0kRQDLnA==", "dev": true, "license": "MIT", "dependencies": { - "@algolia/client-common": "5.52.1", - "@algolia/requester-browser-xhr": "5.52.1", - "@algolia/requester-fetch": "5.52.1", - "@algolia/requester-node-http": "5.52.1" + "@algolia/client-common": "5.53.0", + "@algolia/requester-browser-xhr": "5.53.0", + "@algolia/requester-fetch": "5.53.0", + "@algolia/requester-node-http": "5.53.0" }, "engines": { "node": ">= 14.0.0" } }, "node_modules/@algolia/recommend": { - "version": "5.52.1", - "resolved": "https://registry.npmjs.org/@algolia/recommend/-/recommend-5.52.1.tgz", - "integrity": "sha512-z98QEguCFDpxb4S/PyrUK1igqF8tPsdbqOUUO6ON91vJ58w+Gwa6ncrI0oNXSFcrkxA5EqPKPQ2A1PBCn08TYQ==", + "version": "5.53.0", + "resolved": "https://registry.npmjs.org/@algolia/recommend/-/recommend-5.53.0.tgz", + "integrity": "sha512-6aVfYd55Un6IUgPLbo84WfgFZlS3L0vA1ttzXL5vahHewUJ8jYgd89TzlWRTeej7w70mb9RWsVlFYGmJ/diQww==", "dev": true, "license": "MIT", "dependencies": { - "@algolia/client-common": "5.52.1", - "@algolia/requester-browser-xhr": "5.52.1", - "@algolia/requester-fetch": "5.52.1", - "@algolia/requester-node-http": "5.52.1" + "@algolia/client-common": "5.53.0", + "@algolia/requester-browser-xhr": "5.53.0", + "@algolia/requester-fetch": "5.53.0", + "@algolia/requester-node-http": "5.53.0" }, "engines": { "node": ">= 14.0.0" } }, "node_modules/@algolia/requester-browser-xhr": { - "version": "5.52.1", - "resolved": "https://registry.npmjs.org/@algolia/requester-browser-xhr/-/requester-browser-xhr-5.52.1.tgz", - "integrity": "sha512-CI7+/0I11QeZM59Uc8whd2or0kqzFVjpaPn9Qpwll/krHcBAxk24WkAQ6WX+IwDVMfpont4YGbKwAmCre3vE8Q==", + "version": "5.53.0", + "resolved": "https://registry.npmjs.org/@algolia/requester-browser-xhr/-/requester-browser-xhr-5.53.0.tgz", + "integrity": "sha512-ke27DqgzCOlt+RbeEdCxtXxMQOnAOi8ujr2wid0DmDKzR95Kw/f9sBsuhBxtjevCqJRJszfRTLY0B1pbO6IhkA==", "dev": true, "license": "MIT", "dependencies": { - "@algolia/client-common": "5.52.1" + "@algolia/client-common": "5.53.0" }, "engines": { "node": ">= 14.0.0" } }, "node_modules/@algolia/requester-fetch": { - "version": "5.52.1", - "resolved": "https://registry.npmjs.org/@algolia/requester-fetch/-/requester-fetch-5.52.1.tgz", - "integrity": "sha512-S6bDuw9byfOvm3T71cgdoZgrgnZq6hpdMLkx52Louh57nUAmvGQESz2aojOynQHjbTiV55smvAFbgn0qT4tJrg==", + "version": "5.53.0", + "resolved": "https://registry.npmjs.org/@algolia/requester-fetch/-/requester-fetch-5.53.0.tgz", + "integrity": "sha512-GngiOqt2Gq4oLno6yXQVj9om+qSO9SWAoduoTOEg79dKZ62brB8OOIvSJG/vDNoanYi6a7Al9uDZwXvi+bcVTg==", "dev": true, "license": "MIT", "dependencies": { - "@algolia/client-common": "5.52.1" + "@algolia/client-common": "5.53.0" }, "engines": { "node": ">= 14.0.0" } }, "node_modules/@algolia/requester-node-http": { - "version": "5.52.1", - "resolved": "https://registry.npmjs.org/@algolia/requester-node-http/-/requester-node-http-5.52.1.tgz", - "integrity": "sha512-tqZXM+54rWo4mk5jL5Z/flE11nPmNEdXwFBM5py9DkOmbjeCNemfVd45FyM97XdzfZ0dl9uOJC6PYn1FpkeyQg==", + "version": "5.53.0", + "resolved": "https://registry.npmjs.org/@algolia/requester-node-http/-/requester-node-http-5.53.0.tgz", + "integrity": "sha512-6mF9LZMUk0QqWvrnxkxBqhswwz6Xfiwy6/gmTzL5HrlhdVG3ITAqGV2k3XmVThP1h0Ulc3VQwiNCD7/Nr4JNlQ==", "dev": true, "license": "MIT", "dependencies": { - "@algolia/client-common": "5.52.1" + "@algolia/client-common": "5.53.0" }, "engines": { "node": ">= 14.0.0" @@ -2041,9 +2041,9 @@ } }, "node_modules/@internationalized/date": { - "version": "3.12.1", - "resolved": "https://registry.npmjs.org/@internationalized/date/-/date-3.12.1.tgz", - "integrity": "sha512-6IedsVWXyq4P9Tj+TxuU8WGWM70hYLl12nbYU8jkikVpa6WXapFazPUcHUMDMoWftIDE2ILDkFFte6W2nFCkRQ==", + "version": "3.12.2", + "resolved": "https://registry.npmjs.org/@internationalized/date/-/date-3.12.2.tgz", + "integrity": "sha512-FY1Y+H64NDs+HAF6omlnWxm3mEpfgaCSWtL5l551ZZfImA+kGjPFgrnJrGjH6lfmLL0g8Z/mBu1R3kufeCp6Jw==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -2051,9 +2051,9 @@ } }, "node_modules/@internationalized/number": { - "version": "3.6.6", - "resolved": "https://registry.npmjs.org/@internationalized/number/-/number-3.6.6.tgz", - "integrity": "sha512-iFgmQaXHE0vytNfpLZWOC2mEJCBRzcUxt53Xf/yCXG93lRvqas237i3r7X4RKMwO3txiyZD4mQjKAByFv6UGSQ==", + "version": "3.6.7", + "resolved": "https://registry.npmjs.org/@internationalized/number/-/number-3.6.7.tgz", + "integrity": "sha512-3ji1fcrT+FPAK86UqEhB/psHixYo6niWPJtt7+qRaYFynt/BaJG8GhAPimtWUpEiVSTq8ZM8L5psMxGquiB/Vg==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -2061,9 +2061,9 @@ } }, "node_modules/@internationalized/string": { - "version": "3.2.8", - "resolved": "https://registry.npmjs.org/@internationalized/string/-/string-3.2.8.tgz", - "integrity": "sha512-NdbMQUSfXLYIQol5VyMtinm9pZDciiMfN7RtmSuSB78io1hqwJ0naYfxyW6vgxWBkzWymQa/3uLDlbfmshtCaA==", + "version": "3.2.9", + "resolved": "https://registry.npmjs.org/@internationalized/string/-/string-3.2.9.tgz", + "integrity": "sha512-kzP/M/mbQxODlmOt4bIQZ2SBVUWUSqMLXooXixnX7noche8WHaQcA+nwFN1K2KCF/cp+LDUhcJsCicwkvhD1pg==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -4467,14 +4467,14 @@ } }, "node_modules/@react-aria/focus": { - "version": "3.22.0", - "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.22.0.tgz", - "integrity": "sha512-ZfDOVuVhqDsM9mkNji3QUZ/d40JhlVgXrDkrfXylM1035QCrcTHN7m2DpbE95sU2A8EQb4wikvt5jM6K/73BPg==", + "version": "3.22.1", + "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.22.1.tgz", + "integrity": "sha512-CPxtkyrBi/HYY5P3lE/57sQ6qfa0lN8E55TOm89H0kNGv0lKt+/0zP7lWERzBjRr5IxBVrQX4gFEowBN52LPaA==", "dev": true, "license": "Apache-2.0", "dependencies": { "@swc/helpers": "^0.5.0", - "react-aria": "3.48.0" + "react-aria": "^3.48.0" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1", @@ -4482,15 +4482,15 @@ } }, "node_modules/@react-aria/interactions": { - "version": "3.28.0", - "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.28.0.tgz", - "integrity": "sha512-OXwdU1EWFdMxmr/K1CXNGJzmNlCClByb+PuCaqUyzBymHPCGVhawirLIon/CrIN5psh3AiWpHSh4H0WeJdVpng==", + "version": "3.28.1", + "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.28.1.tgz", + "integrity": "sha512-Bqb+HrD5I5MHS2SKBhISYqo2SW8Y2dfzgF/Y1lIJq7xqLxheo9vzxPGEHhz+XzkgGfoqEJx8A6a3C7uiqS3HWA==", "dev": true, "license": "Apache-2.0", "dependencies": { "@react-types/shared": "^3.34.0", "@swc/helpers": "^0.5.0", - "react-aria": "3.48.0" + "react-aria": "^3.48.0" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1", @@ -4498,9 +4498,9 @@ } }, "node_modules/@react-types/shared": { - "version": "3.34.0", - "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.34.0.tgz", - "integrity": "sha512-gp6xo/s2lX54AlTjOiqwDnxA7UW79BNvI9dB9pr3LZTzRKCd1ZA+ZbgKw/ReIiWuvvVw/8QFJpnqeeFyLocMcQ==", + "version": "3.35.0", + "resolved": "https://registry.npmjs.org/@react-types/shared/-/shared-3.35.0.tgz", + "integrity": "sha512-iNWvuzEwANttpQpdlu8nPBtdHb0mcCMj1ZTH//iRB5E/14IAnyRlR25rxH7pNLyzHINsPGEKnWvpwDMCT6vziQ==", "dev": true, "license": "Apache-2.0", "peerDependencies": { @@ -5339,9 +5339,9 @@ "license": "MIT" }, "node_modules/@swc/helpers": { - "version": "0.5.21", - "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.21.tgz", - "integrity": "sha512-jI/VAmtdjB/RnI8GTnokyX7Ug8c+g+ffD6QRLa6XQewtnGyukKkKSk3wLTM3b5cjt1jNh9x0jfVlagdN2gDKQg==", + "version": "0.5.23", + "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.23.tgz", + "integrity": "sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -5349,13 +5349,13 @@ } }, "node_modules/@tanstack/react-virtual": { - "version": "3.13.26", - "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.13.26.tgz", - "integrity": "sha512-DosdgjOxCLahkn0o+ilmZYwEjo1glfMGuRT/j3PQ18yr5XqA8N/BCaL9IJ3B5TRl+nnzyK2IOFgAILwzN3a9xQ==", + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.14.1.tgz", + "integrity": "sha512-VJCw2DzKd16eMFoijSYpyAnwy0o8lzHTbYlGQOaSVHCWNptiZj4jlIsTE/LT7tzEHAMMRJC1ZIQA4OxAc99jLg==", "dev": true, "license": "MIT", "dependencies": { - "@tanstack/virtual-core": "3.16.0" + "@tanstack/virtual-core": "3.16.1" }, "funding": { "type": "github", @@ -5367,9 +5367,9 @@ } }, "node_modules/@tanstack/virtual-core": { - "version": "3.16.0", - "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.16.0.tgz", - "integrity": "sha512-Er2N7q3WOiH6y2JLxsxNX+u2/sLqSsL0bxFgDjuiPiA7vKhZRm+IzcS17vRee3GNXr64UsesA5CAp9yTiIYw9A==", + "version": "3.16.1", + "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.16.1.tgz", + "integrity": "sha512-br4gmJ3eI2IXth0fAAVWNdi/Iqb5ZDIUG9409Q17qnXegeHHc9vPEeMsSwpGf29GqayfmqFPtv9S4rxcZOub3Q==", "dev": true, "license": "MIT", "funding": { @@ -6762,26 +6762,26 @@ } }, "node_modules/algoliasearch": { - "version": "5.52.1", - "resolved": "https://registry.npmjs.org/algoliasearch/-/algoliasearch-5.52.1.tgz", - "integrity": "sha512-fHA8+kXTbjagw3jkLiaS7KKrH8qe2DyOsiUhGlN4cdT77PEsfqXZl7ewDk1hsg+pJnPlnE50XtLxjR91iJOpmg==", + "version": "5.53.0", + "resolved": "https://registry.npmjs.org/algoliasearch/-/algoliasearch-5.53.0.tgz", + "integrity": "sha512-OGW1q6b91CRSSeiOnM8LxuR5NYJ2esvw66jUZ4IIvdv+ItNkx3pwLuyR+jaCdbGee4ov5WgUnyPryyh11xvByQ==", "dev": true, "license": "MIT", "dependencies": { - "@algolia/abtesting": "1.18.1", - "@algolia/client-abtesting": "5.52.1", - "@algolia/client-analytics": "5.52.1", - "@algolia/client-common": "5.52.1", - "@algolia/client-insights": "5.52.1", - "@algolia/client-personalization": "5.52.1", - "@algolia/client-query-suggestions": "5.52.1", - "@algolia/client-search": "5.52.1", - "@algolia/ingestion": "1.52.1", - "@algolia/monitoring": "1.52.1", - "@algolia/recommend": "5.52.1", - "@algolia/requester-browser-xhr": "5.52.1", - "@algolia/requester-fetch": "5.52.1", - "@algolia/requester-node-http": "5.52.1" + "@algolia/abtesting": "1.19.0", + "@algolia/client-abtesting": "5.53.0", + "@algolia/client-analytics": "5.53.0", + "@algolia/client-common": "5.53.0", + "@algolia/client-insights": "5.53.0", + "@algolia/client-personalization": "5.53.0", + "@algolia/client-query-suggestions": "5.53.0", + "@algolia/client-search": "5.53.0", + "@algolia/ingestion": "1.53.0", + "@algolia/monitoring": "1.53.0", + "@algolia/recommend": "5.53.0", + "@algolia/requester-browser-xhr": "5.53.0", + "@algolia/requester-fetch": "5.53.0", + "@algolia/requester-node-http": "5.53.0" }, "engines": { "node": ">= 14.0.0" @@ -7073,9 +7073,9 @@ } }, "node_modules/bare-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-3.0.0.tgz", - "integrity": "sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-3.0.1.tgz", + "integrity": "sha512-ghj2DSK/2e99a1anTVPCV4m4YIYtrbXhfM7V3D7XZLOTsybnYyaJloymGqssQc8l/or0UoDyRtNQkmkEF/ysgQ==", "dev": true, "license": "Apache-2.0", "peer": true, @@ -7123,9 +7123,9 @@ } }, "node_modules/baseline-browser-mapping": { - "version": "2.10.32", - "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.32.tgz", - "integrity": "sha512-wbPvpyjJPC0zdfdKXxqEL3Ea+bOMD/87X4lftiJkkaBiuG6ALQy1SLmEd7BSmVCuwCQsBrCamgBoLyfFDD1EPg==", + "version": "2.10.33", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.10.33.tgz", + "integrity": "sha512-bA6+tcSLpz2tIEdDXZPpPTIuxBcC4+w6SieaYyfigIa4h8GlFxbA17v22Vx3JUtuZQj9SgOsnbK+aTBzyDyEuw==", "dev": true, "license": "Apache-2.0", "bin": { @@ -9048,9 +9048,9 @@ "license": "MIT" }, "node_modules/dompurify": { - "version": "3.4.5", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.5.tgz", - "integrity": "sha512-OrwIBKsdNSVEeubdJ1HBv/wNENRM9ytAVCv7YXt//A3vPdVMNuACRqK9mXCGCBW2ln7BT/A4X0jXHo2Gu89miA==", + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.7.tgz", + "integrity": "sha512-2jBxDJY4RR06tQNy4w5FlFH7kfxsQZlufd0sbv+chfHCxeJwrFw2baUDsSwvBISD4K4RDbd0PTfy3uNXsR6siA==", "dev": true, "license": "(MPL-2.0 OR Apache-2.0)", "optionalDependencies": { @@ -9080,9 +9080,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.361", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.361.tgz", - "integrity": "sha512-Q6Hts7N9FnJc5LeGRINFvLhCI9xZmNtTDe5ZbcVezQz7cU4a8Aua3GH1b8J2XY8Al9PF+OCwYqhgsOOheMdvkA==", + "version": "1.5.364", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.364.tgz", + "integrity": "sha512-G/dYE3+AYhyHwzTwg8UbnXf7zqMERYh7l2jJ3QujhFsH8agSYwtnGAR2aZ7f0AakIKJXd5En/Hre4igIUrdlYw==", "dev": true, "license": "ISC" }, @@ -10594,9 +10594,9 @@ } }, "node_modules/hasown": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.3.tgz", - "integrity": "sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", + "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", "dev": true, "license": "MIT", "dependencies": { @@ -11412,10 +11412,20 @@ "license": "MIT" }, "node_modules/js-yaml": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", - "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.2.0.tgz", + "integrity": "sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/nodeca" + } + ], "license": "MIT", "dependencies": { "argparse": "^2.0.1" @@ -12088,9 +12098,9 @@ "license": "MIT" }, "node_modules/matcher-collection/node_modules/brace-expansion": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.14.tgz", - "integrity": "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==", + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.15.tgz", + "integrity": "sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg==", "dev": true, "license": "MIT", "dependencies": { @@ -13568,9 +13578,9 @@ } }, "node_modules/nyc/node_modules/lru-cache": { - "version": "11.5.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.0.tgz", - "integrity": "sha512-5YgH9UJd7wVb9hIouI2adWpgqrrICkt070Dnj8EUY1+B4B2P9eRLPAkAAo6NICA7CEhOIeBHl46u9zSNpNu7zA==", + "version": "11.5.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.1.tgz", + "integrity": "sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==", "dev": true, "license": "BlueOak-1.0.0", "engines": { @@ -14268,9 +14278,9 @@ } }, "node_modules/path-scurry/node_modules/lru-cache": { - "version": "11.5.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.0.tgz", - "integrity": "sha512-5YgH9UJd7wVb9hIouI2adWpgqrrICkt070Dnj8EUY1+B4B2P9eRLPAkAAo6NICA7CEhOIeBHl46u9zSNpNu7zA==", + "version": "11.5.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.1.tgz", + "integrity": "sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==", "dev": true, "license": "BlueOak-1.0.0", "engines": { @@ -14797,9 +14807,9 @@ } }, "node_modules/property-information": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.1.0.tgz", - "integrity": "sha512-TwEZ+X+yCJmYfL7TPUOcvBZ4QfoT5YenQiJuX//0th53DE6w0xxLEtfK3iyryQFddXuvkIk51EEgrJQ0WJkOmQ==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.2.0.tgz", + "integrity": "sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==", "dev": true, "license": "MIT", "funding": { @@ -15046,20 +15056,20 @@ } }, "node_modules/react-aria": { - "version": "3.48.0", - "resolved": "https://registry.npmjs.org/react-aria/-/react-aria-3.48.0.tgz", - "integrity": "sha512-jQjd4rBEIMqecBaAKYJbVGK6EqIHLa5znVQ7jwFyK5vCyljoj6KhgtiahmcIPsG5vG5vEDLw+ba+bEWn6A2P4w==", + "version": "3.49.0", + "resolved": "https://registry.npmjs.org/react-aria/-/react-aria-3.49.0.tgz", + "integrity": "sha512-4+oK9FwJQWYhyA5zLfj/feOGY0zZbkE1muoF4gyxMroHVypjcYaRSTlJwvxph2zIlxt757KX6xIK2wJ5Aw1Kog==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@internationalized/date": "^3.12.1", - "@internationalized/number": "^3.6.6", - "@internationalized/string": "^3.2.8", - "@react-types/shared": "^3.34.0", + "@internationalized/date": "^3.12.2", + "@internationalized/number": "^3.6.7", + "@internationalized/string": "^3.2.9", + "@react-types/shared": "^3.35.0", "@swc/helpers": "^0.5.0", "aria-hidden": "^1.2.3", "clsx": "^2.0.0", - "react-stately": "3.46.0", + "react-stately": "3.47.0", "use-sync-external-store": "^1.6.0" }, "peerDependencies": { @@ -15082,16 +15092,16 @@ } }, "node_modules/react-stately": { - "version": "3.46.0", - "resolved": "https://registry.npmjs.org/react-stately/-/react-stately-3.46.0.tgz", - "integrity": "sha512-OdxhWvHgs2L4OJGIs7hnuTr5WjjMM6enhNEAMRqiekhF8+ITvA2LRwNftOZwcogaoCslGYq5S2VQTQwnm0GbCA==", + "version": "3.47.0", + "resolved": "https://registry.npmjs.org/react-stately/-/react-stately-3.47.0.tgz", + "integrity": "sha512-H3ar+SOWP920EbVg7qWfP3fZjZiwhlEJAEJQqjt+w8oKijCwFgr0+R4941PIHscOXRNRvEOjvWilitImC0DdBg==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@internationalized/date": "^3.12.1", - "@internationalized/number": "^3.6.6", - "@internationalized/string": "^3.2.8", - "@react-types/shared": "^3.34.0", + "@internationalized/date": "^3.12.2", + "@internationalized/number": "^3.6.7", + "@internationalized/string": "^3.2.9", + "@react-types/shared": "^3.35.0", "@swc/helpers": "^0.5.0", "use-sync-external-store": "^1.6.0" }, @@ -15462,9 +15472,9 @@ } }, "node_modules/rimraf/node_modules/lru-cache": { - "version": "11.5.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.0.tgz", - "integrity": "sha512-5YgH9UJd7wVb9hIouI2adWpgqrrICkt070Dnj8EUY1+B4B2P9eRLPAkAAo6NICA7CEhOIeBHl46u9zSNpNu7zA==", + "version": "11.5.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.1.tgz", + "integrity": "sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==", "dev": true, "license": "BlueOak-1.0.0", "engines": { @@ -16150,9 +16160,9 @@ "license": "BSD-3-Clause" }, "node_modules/streamx": { - "version": "2.25.0", - "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.25.0.tgz", - "integrity": "sha512-0nQuG6jf1w+wddNEEXCF4nTg3LtufWINB5eFEN+5TNZW7KWJp6x87+JFL43vaAUPyCfH1wID+mNVyW6OHtFamg==", + "version": "2.26.0", + "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.26.0.tgz", + "integrity": "sha512-VvNG1K72Po/xwJzxZFnZ++Tbrv4lwSptsbkFuzXCJAYZvCK5nnxsvXU6ajqkv7chyiI1Y0YXq2Jh8Iy8Y7NF/A==", "dev": true, "license": "MIT", "peer": true, @@ -16535,9 +16545,9 @@ } }, "node_modules/tar": { - "version": "7.5.15", - "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.15.tgz", - "integrity": "sha512-dzGK0boVlC4W5QFuQN1EFSl3bIDYsk7Tj40U6eIBnK2k/8ml7TZ5agbI5j5+qnoVcAA+rNtBml8SEiLxZpNqRQ==", + "version": "7.5.16", + "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.16.tgz", + "integrity": "sha512-56adEpPMouktRlBLXiaYFFzZ/3+JXa8P9n7WbR+ibIjtviN55mEaOkiysCnPnWm+7kkui1Dn8J9l+g6zV8731w==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { @@ -16662,9 +16672,9 @@ } }, "node_modules/test-exclude/node_modules/lru-cache": { - "version": "11.5.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.0.tgz", - "integrity": "sha512-5YgH9UJd7wVb9hIouI2adWpgqrrICkt070Dnj8EUY1+B4B2P9eRLPAkAAo6NICA7CEhOIeBHl46u9zSNpNu7zA==", + "version": "11.5.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.1.tgz", + "integrity": "sha512-RPimw/7aMdv2oqRrxKwvZXcPfwBrn/JZ2xYcY9Hus/6LaS3VOAKVWKWgNLCFSiOm1ESXinjsDlidVU7JlnCN2A==", "dev": true, "license": "BlueOak-1.0.0", "engines": { @@ -16773,9 +16783,9 @@ } }, "node_modules/tinyglobby": { - "version": "0.2.16", - "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.16.tgz", - "integrity": "sha512-pn99VhoACYR8nFHhxqix+uvsbXineAasWm5ojXoN8xEwK5Kd3/TrhNn1wByuD52UxWRLy8pu+kRMniEi6Eq9Zg==", + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", "dev": true, "license": "MIT", "dependencies": { @@ -17896,9 +17906,9 @@ "license": "MIT" }, "node_modules/walk-sync/node_modules/brace-expansion": { - "version": "1.1.14", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.14.tgz", - "integrity": "sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==", + "version": "1.1.15", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.15.tgz", + "integrity": "sha512-EwOCDEex4quD37XhqM3omwtMoJjr//isUZz1JopUNWms+4Z2ViyM/k1YIRePpoVNnQhENnxtFjLaxNHrT7xIUg==", "dev": true, "license": "MIT", "dependencies": { diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 0d4091e9d..5084a0c3c 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -129,9 +129,9 @@ dependencies = [ [[package]] name = "bitflags" -version = "2.11.1" +version = "2.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3" +checksum = "84d7ced0ae9557296835c32bf1b1e02b44c746701f898460fb000d7eaa84f00a" [[package]] name = "bitvec" @@ -172,9 +172,9 @@ checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33" [[package]] name = "bytes-str" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c60b5ce37e0b883c37eb89f79a1e26fbe9c1081945d024eee93e8d91a7e18b3" +checksum = "577d2bf5650f8554d5a372af5ac93535110a0fc75b3e702bb853369febf227c2" dependencies = [ "bytes", "serde", @@ -191,9 +191,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.2.62" +version = "1.2.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1dce859f0832a7d088c4f1119888ab94ef4b5d6795d1ce05afb7fe159d79f98" +checksum = "556e016178bb5662a08681bbe0f00f8e17631781a4dfc8c45e466e4b185ec27f" dependencies = [ "find-msvc-tools", "shlex", @@ -1178,9 +1178,9 @@ dependencies = [ [[package]] name = "shlex" -version = "1.3.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" [[package]] name = "siphasher" @@ -1278,9 +1278,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "23.0.0" +version = "23.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ebd5f732c45e88fa1c69cf2ac65bf24e2578bfd428b74348d3346ee137b8c50" +checksum = "353daaf5e6c2ad90efd4ff52270173074ded88fdba5a40f302c7c3a9b1c037fb" dependencies = [ "anyhow", "ast_node", @@ -1487,9 +1487,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "44.0.0" +version = "44.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f65cb8589f8e7ffb5a14964116c600dcbf4a249bf83e6ed9ed717ca437f7f6b" +checksum = "caa49dce90ef0c68177e3515f7ecf93db32a96182c9f9264f1ee4193c17aef3b" dependencies = [ "better_scoped_tls", "indexmap", @@ -1718,9 +1718,9 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "unicode-segmentation" -version = "1.13.2" +version = "1.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c" +checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" [[package]] name = "unicode-width" @@ -1748,9 +1748,9 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" [[package]] name = "uuid" -version = "1.23.1" +version = "1.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddd74a9687298c6858e9b88ec8935ec45d22e8fd5e6394fa1bd4e99a87789c76" +checksum = "d258b83ceec21034727ecee8c382cfa6c3e133699b0742c64571814fb420c9f7" dependencies = [ "js-sys", "wasm-bindgen", @@ -1859,9 +1859,9 @@ checksum = "fdd20c5420375476fbd4394763288da7eb0cc0b8c11deed431a91562af7335d3" [[package]] name = "yoke" -version = "0.8.2" +version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abe8c5fda708d9ca3df187cae8bfb9ceda00dd96231bed36e445a1a48e66f9ca" +checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" dependencies = [ "stable_deref_trait", "yoke-derive", @@ -1882,18 +1882,18 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.8.49" +version = "0.8.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bce33a6288fa3f072a8c2c7d0f2fdbb90e28298f0135c1f99b96c3db2efcc60b" +checksum = "3b065d4f0e55f82fae73202e189638116a87c55ab6b8e6c2721e13dd9d854ad1" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.49" +version = "0.8.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8fd425244944f4ab65ccff928e7323354c5a018c75838362fdce749dfad2ee1e" +checksum = "0b631b19d36a892ab55420c92dbc83ccd79274f25be714855d3074aa71cab639" dependencies = [ "proc-macro2", "quote", From 5a15062948f931a909e56bcefea205f4c4e53d3d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2026 02:11:43 +0000 Subject: [PATCH 6/9] chore(deps): update minor/patch updates to v6.2.0 (#6409) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/repl-artefacts-upload.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repl-artefacts-upload.yml b/.github/workflows/repl-artefacts-upload.yml index cd5df0602..df96eaa22 100644 --- a/.github/workflows/repl-artefacts-upload.yml +++ b/.github/workflows/repl-artefacts-upload.yml @@ -81,7 +81,7 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Configure AWS credentials via OIDC if: ${{ steps.check.outputs.has-artefacts == 'true' }} - uses: aws-actions/configure-aws-credentials@99214aa6889fcddfa57764031d71add364327e59 # v6.1.3 + uses: aws-actions/configure-aws-credentials@e7f100cf4c008499ea8adda475de1042d6975c7b # v6.2.0 with: role-to-assume: ${{ secrets.AWS_ROLE_ARN }} aws-region: ${{ secrets.AWS_REGION }} From f2f58c4afe4b5879063612791f12c312c6ac56f5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2026 05:26:10 +0000 Subject: [PATCH 7/9] chore(deps): lock file maintenance minor/patch updates (#6410) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index bbc088ec5..1bd0b5c79 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1662,9 +1662,9 @@ } }, "node_modules/@iconify-json/simple-icons": { - "version": "1.2.84", - "resolved": "https://registry.npmjs.org/@iconify-json/simple-icons/-/simple-icons-1.2.84.tgz", - "integrity": "sha512-v4JVu6xIewGoETD4mm2k6UAdFAbTlY1duw5ZNSxYORfs2yFsHDhoU9Omn/BgrV0nR/ptWkF3ZIr/ZHoYXI/6Jw==", + "version": "1.2.85", + "resolved": "https://registry.npmjs.org/@iconify-json/simple-icons/-/simple-icons-1.2.85.tgz", + "integrity": "sha512-Hp5LXvd3LRk+e+1558wtonA7c1Z0/Phmi7xCqpgtb8bs8cuyGnP34GDbt5uhhUXxKlzacnnhAcXgcDxe9bUa1w==", "dev": true, "license": "CC0-1.0", "dependencies": { @@ -13262,9 +13262,9 @@ } }, "node_modules/node-releases": { - "version": "2.0.46", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.46.tgz", - "integrity": "sha512-GYVXHE2KnrzAfsAjl4uP++evGFCrAU1jta4ubEjIG7YWt/64Gqv66a30yKwWczVjA6j3bM4nBwH7Pk1JmDHaxQ==", + "version": "2.0.47", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.47.tgz", + "integrity": "sha512-Uzmd6LXpouKo8EUK68IjH4+E01w/hXyV3R3g/geCJo+rXLNfh1xucB+LOzYEOQPSiUK3h/xZf0cQGcSsmyL2Og==", "dev": true, "license": "MIT", "engines": { From 126e14197838b806b0c1244ad0ef6fc0447b730a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sat, 6 Jun 2026 05:16:35 +0000 Subject: [PATCH 8/9] chore(deps): pin dependency concurrently to v9 (#6406) * chore(deps): update dependency concurrently to v10 * Pin previous concurrently We need to update our NodeJS baseline first. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lukas Taegert-Atkinson --- renovate.json | 1 + 1 file changed, 1 insertion(+) diff --git a/renovate.json b/renovate.json index 403d0b9dd..8e3469146 100644 --- a/renovate.json +++ b/renovate.json @@ -72,6 +72,7 @@ "@inquirer/prompts", "@rollup/plugin-terser", "@types/node", + "concurrently", "react", "react-dom", "typescript", From d96ed9562b3ce2dee262eb130a752de93c9fe961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E7=AC=91?= <530257315@qq.com> Date: Mon, 8 Jun 2026 20:00:14 +0800 Subject: [PATCH 9/9] Extract the static dependencies imported by manual chunks into separate chunks (#6374) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add a test * Extract the static dependencies imported by manual chunks into separate chunks * Adjust the log info * Update the code according to Copilot’s review * fix: use some instead of find for boolean check * test: add test for shared static dependency between manual chunks * Avoid unnecessary array Initially, we are only collection single modules with their dependent entries. * Avoid full iteration by gathering entry information * Treat manual chunks as entry points for chunk assignment This will effectively avoid cycles where manual chunks import back from entry chunks. The price, though, is that it might create more chunks. For the longer term, it would be nice to replace the current logic where non-explicit manual chunks try to include as many static dependencies as possible with a logic where they behave as any entry points and just include all dependencies not shared with another entry. * Reduce number of chunks by treating all manual chunk members as dependencies Basically for the purpose of analysis, all explicit members of a manual chunk are treated as the same module, meaning dependencies are shared in the chunk. This mirrors what will happen in the output and reduces generated chunks. * Refactor manual chunk assembly * Track if we already added a manual chunk * Update codecov action as it is failing --------- Co-authored-by: Lukas Taegert-Atkinson --- .github/workflows/build-and-tests.yml | 2 +- src/utils/chunkAssignment.ts | 188 +++++++++++------- src/utils/logs.ts | 2 +- .../_config.js | 4 +- .../_expected/amd/generated-ac.js | 4 +- .../_expected/amd/generated-b.js | 8 + .../_expected/amd/main.js | 7 +- .../_expected/cjs/generated-ac.js | 4 +- .../_expected/cjs/generated-b.js | 8 + .../_expected/cjs/main.js | 7 +- .../_expected/es/generated-ac.js | 2 +- .../_expected/es/generated-b.js | 6 + .../_expected/es/main.js | 9 +- .../_expected/system/generated-ac.js | 2 +- .../_expected/system/generated-b.js | 15 ++ .../_expected/system/main.js | 8 +- .../_expected/amd/generated-dep1.js | 7 + .../_expected/amd/generated-dynamic.js | 4 +- .../_expected/amd/main.js | 8 +- .../_expected/cjs/generated-dep1.js | 5 + .../_expected/cjs/generated-dynamic.js | 4 +- .../_expected/cjs/main.js | 7 +- .../_expected/es/generated-dep1.js | 3 + .../_expected/es/generated-dynamic.js | 2 +- .../_expected/es/main.js | 5 +- .../_expected/system/generated-dep1.js | 10 + .../_expected/system/generated-dynamic.js | 2 +- .../_expected/system/main.js | 9 +- .../_config.js | 14 ++ .../_expected/amd/generated-dep2.js | 12 ++ .../_expected/amd/generated-manual.js | 12 ++ .../_expected/amd/main1.js | 5 + .../_expected/amd/main2.js | 5 + .../_expected/cjs/generated-dep2.js | 10 + .../_expected/cjs/generated-manual.js | 12 ++ .../_expected/cjs/main1.js | 6 + .../_expected/cjs/main2.js | 6 + .../_expected/es/generated-dep2.js | 7 + .../_expected/es/generated-manual.js | 9 + .../_expected/es/main1.js | 4 + .../_expected/es/main2.js | 4 + .../_expected/system/generated-dep2.js | 14 ++ .../_expected/system/generated-manual.js | 19 ++ .../_expected/system/main1.js | 14 ++ .../_expected/system/main2.js | 14 ++ .../manual-chunk-with-unrelated-files/dep1.js | 2 + .../manual-chunk-with-unrelated-files/dep2.js | 2 + .../main1.js | 3 + .../main2.js | 3 + .../manual1.js | 4 + .../manual2.js | 4 + .../_config.js | 12 ++ .../_expected/amd/generated-a.js | 8 + .../_expected/amd/generated-b.js | 8 + .../_expected/amd/generated-c.js | 8 + .../_expected/amd/generated-c2.js | 8 + .../_expected/amd/generated-c3.js | 8 + .../_expected/amd/generated-c4.js | 11 + .../_expected/amd/generated-e.js | 8 + .../_expected/amd/main.js | 6 + .../_expected/cjs/generated-a.js | 12 ++ .../_expected/cjs/generated-b.js | 8 + .../_expected/cjs/generated-c.js | 8 + .../_expected/cjs/generated-c2.js | 8 + .../_expected/cjs/generated-c3.js | 8 + .../_expected/cjs/generated-c4.js | 11 + .../_expected/cjs/generated-e.js | 6 + .../_expected/cjs/main.js | 4 + .../_expected/es/generated-a.js | 10 + .../_expected/es/generated-b.js | 6 + .../_expected/es/generated-c.js | 6 + .../_expected/es/generated-c2.js | 6 + .../_expected/es/generated-c3.js | 6 + .../_expected/es/generated-c4.js | 9 + .../_expected/es/generated-e.js | 4 + .../_expected/es/main.js | 2 + .../_expected/system/generated-a.js | 15 ++ .../_expected/system/generated-b.js | 15 ++ .../_expected/system/generated-c.js | 15 ++ .../_expected/system/generated-c2.js | 15 ++ .../_expected/system/generated-c3.js | 15 ++ .../_expected/system/generated-c4.js | 18 ++ .../_expected/system/generated-e.js | 11 + .../_expected/system/main.js | 11 + .../a.js | 3 + .../b.js | 3 + .../c.js | 3 + .../c2.js | 3 + .../c3.js | 3 + .../c4.js | 3 + .../c5.js | 3 + .../e.js | 2 + .../main.js | 2 + .../_config.js | 12 ++ .../_expected/amd/generated-manual1.js | 5 + .../_expected/amd/generated-manual2.js | 5 + .../_expected/amd/generated-shared.js | 7 + .../_expected/amd/main.js | 5 + .../_expected/cjs/generated-manual1.js | 5 + .../_expected/cjs/generated-manual2.js | 5 + .../_expected/cjs/generated-shared.js | 5 + .../_expected/cjs/main.js | 7 + .../_expected/es/generated-manual1.js | 3 + .../_expected/es/generated-manual2.js | 3 + .../_expected/es/generated-shared.js | 3 + .../_expected/es/main.js | 5 + .../_expected/system/generated-manual1.js | 14 ++ .../_expected/system/generated-manual2.js | 14 ++ .../_expected/system/generated-shared.js | 10 + .../_expected/system/main.js | 11 + .../main.js | 3 + .../manual1.js | 2 + .../manual2.js | 2 + .../shared.js | 1 + 114 files changed, 854 insertions(+), 131 deletions(-) create mode 100644 test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/amd/generated-b.js create mode 100644 test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/cjs/generated-b.js create mode 100644 test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/es/generated-b.js create mode 100644 test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/system/generated-b.js create mode 100644 test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/amd/generated-dep1.js create mode 100644 test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/cjs/generated-dep1.js create mode 100644 test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/es/generated-dep1.js create mode 100644 test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/system/generated-dep1.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/_config.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/amd/generated-dep2.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/amd/generated-manual.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/amd/main1.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/amd/main2.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/cjs/generated-dep2.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/cjs/generated-manual.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/cjs/main1.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/cjs/main2.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/es/generated-dep2.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/es/generated-manual.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/es/main1.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/es/main2.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/system/generated-dep2.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/system/generated-manual.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/system/main1.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/system/main2.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/dep1.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/dep2.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/main1.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/main2.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/manual1.js create mode 100644 test/chunking-form/samples/manual-chunk-with-unrelated-files/manual2.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_config.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-a.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-b.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-c.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-c2.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-c3.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-c4.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-e.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/main.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-a.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-b.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-c.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-c2.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-c3.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-c4.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-e.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/main.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-a.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-b.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-c.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-c2.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-c3.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-c4.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-e.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/main.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-a.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-b.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-c.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-c2.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-c3.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-c4.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-e.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/main.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/a.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/b.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c2.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c3.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c4.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c5.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/e.js create mode 100644 test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/main.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_config.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/amd/generated-manual1.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/amd/generated-manual2.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/amd/generated-shared.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/amd/main.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/cjs/generated-manual1.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/cjs/generated-manual2.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/cjs/generated-shared.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/cjs/main.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/es/generated-manual1.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/es/generated-manual2.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/es/generated-shared.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/es/main.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/system/generated-manual1.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/system/generated-manual2.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/system/generated-shared.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/system/main.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/main.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/manual1.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/manual2.js create mode 100644 test/chunking-form/samples/shared-static-dependency-between-manual-chunks/shared.js diff --git a/.github/workflows/build-and-tests.yml b/.github/workflows/build-and-tests.yml index 2ef4696a2..e627a6eda 100644 --- a/.github/workflows/build-and-tests.yml +++ b/.github/workflows/build-and-tests.yml @@ -536,7 +536,7 @@ jobs: env: CI: true - name: Upload coverage - uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1 + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 if: matrix.coverage with: fail_ci_if_error: true diff --git a/src/utils/chunkAssignment.ts b/src/utils/chunkAssignment.ts index f858c06b9..86a8d5d47 100644 --- a/src/utils/chunkAssignment.ts +++ b/src/utils/chunkAssignment.ts @@ -8,6 +8,14 @@ import { timeEnd, timeStart } from './timers'; type ChunkDefinitions = { alias: string | null; modules: Module[] }[]; +interface ModuleWithDependentEntries { + /** + * The indices of the entries depending on this chunk + */ + dependentEntries: Set; + module: Module; +} + interface ModulesWithDependentEntries { /** * The indices of the entries depending on this chunk @@ -16,7 +24,7 @@ interface ModulesWithDependentEntries { modules: Module[]; } -interface ChunkDescription extends ModulesWithDependentEntries { +interface ChunkDescription { /** * These are the atoms (=initial chunks) that are contained in this chunk */ @@ -29,6 +37,8 @@ interface ChunkDescription extends ModulesWithDependentEntries { correlatedAtoms: bigint; dependencies: Set; dependentChunks: Set; + dependentEntries: Set; + modules: Module[]; pure: boolean; size: number; } @@ -157,42 +167,46 @@ export function getChunkAssignments( isManualChunksFunctionForm: boolean, onlyExplicitManualChunks: boolean ): ChunkDefinitions { - const { chunkDefinitions, modulesInManualChunks } = getChunkDefinitionsFromManualChunks( - manualChunkAliasByEntry, - isManualChunksFunctionForm, - onlyExplicitManualChunks - ); + const { chunkDefinitions, manualChunkModules, manualChunkModulesByModule } = + getChunkDefinitionsFromManualChunks( + manualChunkAliasByEntry, + isManualChunksFunctionForm, + onlyExplicitManualChunks + ); const { - allEntries, + entriesAndManualChunksCount, dependentEntriesByModule, dynamicallyDependentEntriesByDynamicEntry, dynamicImportsByEntry, dynamicallyDependentEntriesByAwaitedDynamicEntry, awaitedDynamicImportsByEntry - } = analyzeModuleGraph(entries); + } = analyzeModuleGraph(entries, manualChunkModules, manualChunkModulesByModule); // Each chunk is identified by its position in this array const chunkAtoms = getChunksWithSameDependentEntries( getModulesWithDependentEntriesAndHandleTLACycles( dependentEntriesByModule, - modulesInManualChunks, + manualChunkModulesByModule, chunkDefinitions ) ); - const staticDependencyAtomsByEntry = getStaticDependencyAtomsByEntry(allEntries, chunkAtoms); + const staticDependencyAtomsByEntry = getStaticDependencyAtomsByEntry( + entriesAndManualChunksCount, + chunkAtoms + ); // Warning: This will consume dynamicallyDependentEntriesByDynamicEntry. // If we no longer want this, we should make a copy here. const alreadyLoadedAtomsByEntry = getAlreadyLoadedAtomsByEntry( staticDependencyAtomsByEntry, dynamicallyDependentEntriesByDynamicEntry, dynamicImportsByEntry, - allEntries + entriesAndManualChunksCount ); const awaitedAlreadyLoadedAtomsByEntry = getAlreadyLoadedAtomsByEntry( staticDependencyAtomsByEntry, dynamicallyDependentEntriesByAwaitedDynamicEntry, awaitedDynamicImportsByEntry, - allEntries + entriesAndManualChunksCount ); // This mutates the dependentEntries in chunkAtoms removeUnnecessaryDependentEntries( @@ -223,30 +237,38 @@ function getChunkDefinitionsFromManualChunks( manualChunkAliasByEntry: ReadonlyMap, isManualChunksFunctionForm: boolean, onlyExplicitManualChunks: boolean -): { chunkDefinitions: ChunkDefinitions; modulesInManualChunks: Set } { +): { + chunkDefinitions: ChunkDefinitions; + manualChunkModules: Module[][]; + manualChunkModulesByModule: Map; +} { const modulesInManualChunks = new Set(manualChunkAliasByEntry.keys()); const manualChunkModulesByAlias: Record = Object.create(null); const sortedEntriesWithAlias = [...manualChunkAliasByEntry].sort( ([entryA], [entryB]) => entryA.execIndex - entryB.execIndex ); for (const [entry, alias] of sortedEntriesWithAlias) { + const chunkModules = (manualChunkModulesByAlias[alias] ||= []); if (isManualChunksFunctionForm && onlyExplicitManualChunks) { - (manualChunkModulesByAlias[alias] ||= []).push(entry); + chunkModules.push(entry); } else { - addStaticDependenciesToManualChunk( - entry, - (manualChunkModulesByAlias[alias] ||= []), - modulesInManualChunks - ); + addStaticDependenciesToManualChunk(entry, chunkModules, modulesInManualChunks); } } const manualChunks = Object.entries(manualChunkModulesByAlias); + const manualChunkModules: Module[][] = new Array(manualChunks.length); const chunkDefinitions: ChunkDefinitions = new Array(manualChunks.length); + const manualChunkModulesByModule = new Map(); let index = 0; for (const [alias, modules] of manualChunks) { - chunkDefinitions[index++] = { alias, modules }; + chunkDefinitions[index] = { alias, modules }; + manualChunkModules[index] = modules; + for (const module of modules) { + manualChunkModulesByModule.set(module, modules); + } + index++; } - return { chunkDefinitions, modulesInManualChunks }; + return { chunkDefinitions, manualChunkModules, manualChunkModulesByModule }; } function addStaticDependenciesToManualChunk( @@ -266,29 +288,47 @@ function addStaticDependenciesToManualChunk( } } -function analyzeModuleGraph(entries: Iterable): { - allEntries: readonly Module[]; +function analyzeModuleGraph( + entries: readonly Module[], + manualChunkModules: Module[][], + manualChunkModulesByModule: Map +): { + awaitedDynamicImportsByEntry: readonly ReadonlySet[]; dependentEntriesByModule: Map>; dynamicImportsByEntry: readonly ReadonlySet[]; - dynamicallyDependentEntriesByDynamicEntry: Map>; - awaitedDynamicImportsByEntry: readonly ReadonlySet[]; dynamicallyDependentEntriesByAwaitedDynamicEntry: Map>; + dynamicallyDependentEntriesByDynamicEntry: Map>; + entriesAndManualChunksCount: number; } { const dynamicEntryModules = new Set(); const awaitedDynamicEntryModules = new Set(); const dependentEntriesByModule = new Map>(); - const allEntriesSet = new Set(entries); - const dynamicImportModulesByEntry: Set[] = new Array(allEntriesSet.size); - const awaitedDynamicImportModulesByEntry: Set[] = new Array(allEntriesSet.size); - let entryIndex = 0; - for (const currentEntry of allEntriesSet) { + const allEntriesSet = new Set(entries); + // Each entry is defined by its position in this array + const allEntriesAndManualChunks = entries.map(module => [module]).concat(manualChunkModules); + const dynamicImportModulesByEntry: Set[] = new Array(allEntriesAndManualChunks.length); + const awaitedDynamicImportModulesByEntry: Set[] = new Array( + allEntriesAndManualChunks.length + ); + let entryOrManualChunkIndex = 0; + for (const currentEntryModules of allEntriesAndManualChunks) { const dynamicImportsForCurrentEntry = new Set(); const awaitedDynamicImportsForCurrentEntry = new Set(); - dynamicImportModulesByEntry[entryIndex] = dynamicImportsForCurrentEntry; - awaitedDynamicImportModulesByEntry[entryIndex] = awaitedDynamicImportsForCurrentEntry; - const staticDependencies = new Set([currentEntry]); + dynamicImportModulesByEntry[entryOrManualChunkIndex] = dynamicImportsForCurrentEntry; + awaitedDynamicImportModulesByEntry[entryOrManualChunkIndex] = + awaitedDynamicImportsForCurrentEntry; + const staticDependencies = new Set(currentEntryModules); + // If we have a very large manual chunk, tracking if it is already added to the dependencies will improve performance + const addedManualChunks = new Set(); for (const module of staticDependencies) { - getOrCreate(dependentEntriesByModule, module, getNewSet).add(entryIndex); + getOrCreate(dependentEntriesByModule, module, getNewSet).add(entryOrManualChunkIndex); + const manualChunkMembers = manualChunkModulesByModule.get(module); + if (manualChunkMembers && !addedManualChunks.has(manualChunkMembers)) { + addedManualChunks.add(manualChunkMembers); + for (const manualChunkMember of manualChunkMembers) { + staticDependencies.add(manualChunkMember); + } + } for (const dependency of module.getDependenciesToBeIncluded()) { if (!(dependency instanceof ExternalModule)) { staticDependencies.add(dependency); @@ -304,6 +344,7 @@ function analyzeModuleGraph(entries: Iterable): { ) { dynamicEntryModules.add(resolution); allEntriesSet.add(resolution); + allEntriesAndManualChunks.push([resolution]); dynamicImportsForCurrentEntry.add(resolution); for (const includedTopLevelAwaitingDynamicImporter of resolution.includedTopLevelAwaitingDynamicImporters) { if (staticDependencies.has(includedTopLevelAwaitingDynamicImporter)) { @@ -318,46 +359,46 @@ function analyzeModuleGraph(entries: Iterable): { if (!allEntriesSet.has(dependency)) { dynamicEntryModules.add(dependency); allEntriesSet.add(dependency); + allEntriesAndManualChunks.push([dependency]); } } } - entryIndex++; + entryOrManualChunkIndex++; } - const allEntries = [...allEntriesSet]; const { awaitedDynamicEntries, awaitedDynamicImportsByEntry, dynamicEntries, dynamicImportsByEntry } = getDynamicEntries( - allEntries, + allEntriesAndManualChunks, dynamicEntryModules, dynamicImportModulesByEntry, awaitedDynamicEntryModules, awaitedDynamicImportModulesByEntry ); return { - allEntries, awaitedDynamicImportsByEntry, dependentEntriesByModule, dynamicallyDependentEntriesByAwaitedDynamicEntry: getDynamicallyDependentEntriesByDynamicEntry( dependentEntriesByModule, awaitedDynamicEntries, - allEntries, + allEntriesAndManualChunks, dynamicEntry => dynamicEntry.includedTopLevelAwaitingDynamicImporters ), dynamicallyDependentEntriesByDynamicEntry: getDynamicallyDependentEntriesByDynamicEntry( dependentEntriesByModule, dynamicEntries, - allEntries, + allEntriesAndManualChunks, dynamicEntry => dynamicEntry.includedDynamicImporters ), - dynamicImportsByEntry + dynamicImportsByEntry, + entriesAndManualChunksCount: allEntriesAndManualChunks.length }; } function getDynamicEntries( - allEntries: Module[], + allEntriesAndManualChunks: Module[][], dynamicEntryModules: Set, dynamicImportModulesByEntry: Set[], awaitedDynamicEntryModules: Set, @@ -366,13 +407,15 @@ function getDynamicEntries( const entryIndexByModule = new Map(); const dynamicEntries = new Set(); const awaitedDynamicEntries = new Set(); - for (const [entryIndex, entry] of allEntries.entries()) { - entryIndexByModule.set(entry, entryIndex); - if (dynamicEntryModules.has(entry)) { - dynamicEntries.add(entryIndex); - } - if (awaitedDynamicEntryModules.has(entry)) { - awaitedDynamicEntries.add(entryIndex); + for (const [entryIndex, entryModules] of allEntriesAndManualChunks.entries()) { + for (const entryModule of entryModules) { + entryIndexByModule.set(entryModule, entryIndex); + if (dynamicEntryModules.has(entryModule)) { + dynamicEntries.add(entryIndex); + } + if (awaitedDynamicEntryModules.has(entryModule)) { + awaitedDynamicEntries.add(entryIndex); + } } } const dynamicImportsByEntry = getDynamicImportsByEntry( @@ -410,7 +453,7 @@ function getDynamicImportsByEntry( function getDynamicallyDependentEntriesByDynamicEntry( dependentEntriesByModule: ReadonlyMap>, dynamicEntries: ReadonlySet, - allEntries: readonly Module[], + allEntriesAndManualChunks: readonly Module[][], getDynamicImporters: (entry: Module) => Iterable ): Map> { const dynamicallyDependentEntriesByDynamicEntry = new Map>(); @@ -420,17 +463,19 @@ function getDynamicallyDependentEntriesByDynamicEntry( dynamicEntryIndex, getNewSet ); - const dynamicEntry = allEntries[dynamicEntryIndex]; - for (const importer of concatLazy([ - getDynamicImporters(dynamicEntry), - dynamicEntry.implicitlyLoadedAfter - ])) { - const importerEntries = dependentEntriesByModule.get(importer); - if (!importerEntries) { - continue; - } - for (const entry of importerEntries) { - dynamicallyDependentEntries.add(entry); + const dynamicEntryModules = allEntriesAndManualChunks[dynamicEntryIndex]; + for (const dynamicEntryModule of dynamicEntryModules) { + for (const importer of concatLazy([ + getDynamicImporters(dynamicEntryModule), + dynamicEntryModule.implicitlyLoadedAfter + ])) { + const importerEntries = dependentEntriesByModule.get(importer); + if (!importerEntries) { + continue; + } + for (const entry of importerEntries) { + dynamicallyDependentEntries.add(entry); + } } } } @@ -438,10 +483,10 @@ function getDynamicallyDependentEntriesByDynamicEntry( } function getChunksWithSameDependentEntries( - modulesWithDependentEntries: Iterable + moduleWithDependentEntries: Iterable ): ModulesWithDependentEntries[] { const chunkModules: Record = Object.create(null); - for (const { dependentEntries, modules } of modulesWithDependentEntries) { + for (const { dependentEntries, module } of moduleWithDependentEntries) { let chunkSignature = 0n; for (const entryIndex of dependentEntries) { chunkSignature |= 1n << BigInt(entryIndex); @@ -449,14 +494,14 @@ function getChunksWithSameDependentEntries( (chunkModules[String(chunkSignature)] ||= { dependentEntries: new Set(dependentEntries), modules: [] - }).modules.push(...modules); + }).modules.push(module); } return Object.values(chunkModules); } function* getModulesWithDependentEntriesAndHandleTLACycles( dependentEntriesByModule: Map>, - modulesInManualChunks: Set, + modulesInManualChunks: Map, chunkDefinitions: ChunkDefinitions ) { for (const [module, dependentEntries] of dependentEntriesByModule) { @@ -468,18 +513,18 @@ function* getModulesWithDependentEntriesAndHandleTLACycles( }); continue; } - yield { dependentEntries, modules: [module] }; + yield { dependentEntries, module }; } } } function getStaticDependencyAtomsByEntry( - allEntries: readonly Module[], + entriesAndManualChunksCount: number, chunkAtoms: ModulesWithDependentEntries[] ) { // The indices correspond to the indices in allEntries. The atoms correspond // to bits in the bigint values where chunk 0 is the lowest bit. - const staticDependencyAtomsByEntry: bigint[] = allEntries.map(() => 0n); + const staticDependencyAtomsByEntry: bigint[] = new Array(entriesAndManualChunksCount).fill(0n); // This toggles the bits for each atom that is a dependency of an entry let atomMask = 1n; @@ -497,13 +542,14 @@ function getAlreadyLoadedAtomsByEntry( staticDependencyAtomsByEntry: bigint[], dynamicallyDependentEntriesByDynamicEntry: Map>, dynamicImportsByEntry: readonly ReadonlySet[], - allEntries: readonly Module[] + allEntriesCount: number ) { // Dynamic entries have all atoms as already loaded initially because we then // intersect with the static dependency atoms of all dynamic importers. // Static entries cannot have already loaded atoms. - const alreadyLoadedAtomsByEntry: bigint[] = allEntries.map((_entry, entryIndex) => - dynamicallyDependentEntriesByDynamicEntry.has(entryIndex) ? -1n : 0n + const alreadyLoadedAtomsByEntry: bigint[] = Array.from( + { length: allEntriesCount }, + (_entry, entryIndex) => (dynamicallyDependentEntriesByDynamicEntry.has(entryIndex) ? -1n : 0n) ); for (const [ dynamicEntryIndex, diff --git a/src/utils/logs.ts b/src/utils/logs.ts index d6c592933..7e9e49639 100644 --- a/src/utils/logs.ts +++ b/src/utils/logs.ts @@ -314,7 +314,7 @@ export function logCircularChunk(cyclePath: string[], isManualChunkConflict: boo message: `Circular chunk: ${cyclePath.join(' -> ')}. ${ isManualChunkConflict ? `Please adjust the manual chunk logic for these chunks.` - : `Consider disabling the "output.onlyExplicitManualChunks" option, as enabling it causes the static dependencies of the manual chunk "${cyclePath.at(-2)}" to be bundled into the chunk "${cyclePath.at(-1)}".` + : `Please consider disabling the "output.onlyExplicitManualChunks" option, as enabling it causes modules located between the modules included in the manual chunk "${cyclePath.at(-2)}" to be extracted into the separate chunk "${cyclePath.at(-1)}".` }` }; } diff --git a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_config.js b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_config.js index dc0e3a17e..140891bf3 100644 --- a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_config.js +++ b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_config.js @@ -11,9 +11,9 @@ module.exports = defineTest({ expectedWarnings: ['CIRCULAR_CHUNK'], logs: new Array(4).fill(null).map(() => ({ code: 'CIRCULAR_CHUNK', - ids: ['main', 'ac', 'main'], + ids: ['b', 'ac', 'b'], level: 'warn', message: - 'Circular chunk: main -> ac -> main. Consider disabling the "output.onlyExplicitManualChunks" option, as enabling it causes the static dependencies of the manual chunk "ac" to be bundled into the chunk "main".' + 'Circular chunk: b -> ac -> b. Please consider disabling the "output.onlyExplicitManualChunks" option, as enabling it causes modules located between the modules included in the manual chunk "ac" to be extracted into the separate chunk "b".' })) }); diff --git a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/amd/generated-ac.js b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/amd/generated-ac.js index 414454c53..5cc373d20 100644 --- a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/amd/generated-ac.js +++ b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/amd/generated-ac.js @@ -1,10 +1,10 @@ -define(['exports', './main'], (function (exports, main) { 'use strict'; +define(['exports', './generated-b'], (function (exports, b) { 'use strict'; const c = 'c'; console.log(c); const a = 'a'; - console.log(a + main.b); + console.log(a + b.b); exports.a = a; exports.c = c; diff --git a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/amd/generated-b.js b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/amd/generated-b.js new file mode 100644 index 000000000..8a6fce9e0 --- /dev/null +++ b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/amd/generated-b.js @@ -0,0 +1,8 @@ +define(['exports', './generated-ac'], (function (exports, ac) { 'use strict'; + + const b = 'b'; + console.log(b + ac.c); + + exports.b = b; + +})); diff --git a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/amd/main.js b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/amd/main.js index 2974c7d5a..c689dd7bb 100644 --- a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/amd/main.js +++ b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/amd/main.js @@ -1,10 +1,5 @@ -define(['exports', './generated-ac', './main'], (function (exports, ac, main) { 'use strict'; - - const b = 'b'; - console.log(b + ac.c); +define(['./generated-ac', './generated-b'], (function (ac, b) { 'use strict'; console.log(ac.a); - exports.b = b; - })); diff --git a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/cjs/generated-ac.js b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/cjs/generated-ac.js index ed1bc6eb3..28b60a9a1 100644 --- a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/cjs/generated-ac.js +++ b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/cjs/generated-ac.js @@ -1,12 +1,12 @@ 'use strict'; -var main = require('./main.js'); +var b = require('./generated-b.js'); const c = 'c'; console.log(c); const a = 'a'; -console.log(a + main.b); +console.log(a + b.b); exports.a = a; exports.c = c; diff --git a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/cjs/generated-b.js b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/cjs/generated-b.js new file mode 100644 index 000000000..f2599875b --- /dev/null +++ b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/cjs/generated-b.js @@ -0,0 +1,8 @@ +'use strict'; + +var ac = require('./generated-ac.js'); + +const b = 'b'; +console.log(b + ac.c); + +exports.b = b; diff --git a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/cjs/main.js b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/cjs/main.js index e41db3905..895b45cf4 100644 --- a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/cjs/main.js +++ b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/cjs/main.js @@ -1,11 +1,6 @@ 'use strict'; var ac = require('./generated-ac.js'); -require('./main.js'); - -const b = 'b'; -console.log(b + ac.c); +require('./generated-b.js'); console.log(ac.a); - -exports.b = b; diff --git a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/es/generated-ac.js b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/es/generated-ac.js index 62117c431..59e7cc568 100644 --- a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/es/generated-ac.js +++ b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/es/generated-ac.js @@ -1,4 +1,4 @@ -import { b } from './main.js'; +import { b } from './generated-b.js'; const c = 'c'; console.log(c); diff --git a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/es/generated-b.js b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/es/generated-b.js new file mode 100644 index 000000000..c2f84a469 --- /dev/null +++ b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/es/generated-b.js @@ -0,0 +1,6 @@ +import { c } from './generated-ac.js'; + +const b = 'b'; +console.log(b + c); + +export { b }; diff --git a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/es/main.js b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/es/main.js index 3d419ef4e..b80759003 100644 --- a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/es/main.js +++ b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/es/main.js @@ -1,9 +1,4 @@ -import { c, a } from './generated-ac.js'; -import './main.js'; - -const b = 'b'; -console.log(b + c); +import { a } from './generated-ac.js'; +import './generated-b.js'; console.log(a); - -export { b }; diff --git a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/system/generated-ac.js b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/system/generated-ac.js index b9583d60d..7378cfcd4 100644 --- a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/system/generated-ac.js +++ b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/system/generated-ac.js @@ -1,4 +1,4 @@ -System.register(['./main.js'], (function (exports) { +System.register(['./generated-b.js'], (function (exports) { 'use strict'; var b; return { diff --git a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/system/generated-b.js b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/system/generated-b.js new file mode 100644 index 000000000..f99ee1e23 --- /dev/null +++ b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/system/generated-b.js @@ -0,0 +1,15 @@ +System.register(['./generated-ac.js'], (function (exports) { + 'use strict'; + var c; + return { + setters: [function (module) { + c = module.c; + }], + execute: (function () { + + const b = exports("b", 'b'); + console.log(b + c); + + }) + }; +})); diff --git a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/system/main.js b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/system/main.js index f322bfbb2..dfa468f46 100644 --- a/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/system/main.js +++ b/test/chunking-form/samples/circular-chunks-warning-caused-by-only-explicit-manual-chunks/_expected/system/main.js @@ -1,16 +1,12 @@ -System.register(['./generated-ac.js', './main.js'], (function (exports) { +System.register(['./generated-ac.js', './generated-b.js'], (function () { 'use strict'; - var c, a; + var a; return { setters: [function (module) { - c = module.c; a = module.a; }, null], execute: (function () { - const b = exports("b", 'b'); - console.log(b + c); - console.log(a); }) diff --git a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/amd/generated-dep1.js b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/amd/generated-dep1.js new file mode 100644 index 000000000..63c856745 --- /dev/null +++ b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/amd/generated-dep1.js @@ -0,0 +1,7 @@ +define(['exports'], (function (exports) { 'use strict'; + + const dep1 = 'dep1'; + + exports.dep1 = dep1; + +})); diff --git a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/amd/generated-dynamic.js b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/amd/generated-dynamic.js index 63e4e6794..cb688e0d4 100644 --- a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/amd/generated-dynamic.js +++ b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/amd/generated-dynamic.js @@ -1,5 +1,5 @@ -define(['./main', './generated-manual'], (function (main, manual) { 'use strict'; +define(['./generated-dep1', './generated-manual'], (function (dep1, manual) { 'use strict'; - console.log(main.dep1, manual.dep2); + console.log(dep1.dep1, manual.dep2); })); diff --git a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/amd/main.js b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/amd/main.js index 09cf50c90..36fc0d326 100644 --- a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/amd/main.js +++ b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/amd/main.js @@ -1,9 +1,5 @@ -define(['exports', './generated-manual'], (function (exports, manual) { 'use strict'; +define(['./generated-dep1', './generated-manual'], (function (dep1, manual) { 'use strict'; - const dep1 = 'dep1'; - - console.log(dep1); - - exports.dep1 = dep1; + console.log(dep1.dep1); })); diff --git a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/cjs/generated-dep1.js b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/cjs/generated-dep1.js new file mode 100644 index 000000000..02edf4a9d --- /dev/null +++ b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/cjs/generated-dep1.js @@ -0,0 +1,5 @@ +'use strict'; + +const dep1 = 'dep1'; + +exports.dep1 = dep1; diff --git a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/cjs/generated-dynamic.js b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/cjs/generated-dynamic.js index d970e90cf..7893fc49b 100644 --- a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/cjs/generated-dynamic.js +++ b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/cjs/generated-dynamic.js @@ -1,6 +1,6 @@ 'use strict'; -var main = require('./main.js'); +var dep1 = require('./generated-dep1.js'); var manual = require('./generated-manual.js'); -console.log(main.dep1, manual.dep2); +console.log(dep1.dep1, manual.dep2); diff --git a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/cjs/main.js b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/cjs/main.js index 088a9ff15..2a2c673eb 100644 --- a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/cjs/main.js +++ b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/cjs/main.js @@ -1,9 +1,6 @@ 'use strict'; +var dep1 = require('./generated-dep1.js'); require('./generated-manual.js'); -const dep1 = 'dep1'; - -console.log(dep1); - -exports.dep1 = dep1; +console.log(dep1.dep1); diff --git a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/es/generated-dep1.js b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/es/generated-dep1.js new file mode 100644 index 000000000..122ef1dd4 --- /dev/null +++ b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/es/generated-dep1.js @@ -0,0 +1,3 @@ +const dep1 = 'dep1'; + +export { dep1 as d }; diff --git a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/es/generated-dynamic.js b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/es/generated-dynamic.js index 282805c4f..5e6554ff9 100644 --- a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/es/generated-dynamic.js +++ b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/es/generated-dynamic.js @@ -1,4 +1,4 @@ -import { d as dep1 } from './main.js'; +import { d as dep1 } from './generated-dep1.js'; import { d as dep2 } from './generated-manual.js'; console.log(dep1, dep2); diff --git a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/es/main.js b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/es/main.js index 992b22c5a..160ffed9f 100644 --- a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/es/main.js +++ b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/es/main.js @@ -1,7 +1,4 @@ +import { d as dep1 } from './generated-dep1.js'; import './generated-manual.js'; -const dep1 = 'dep1'; - console.log(dep1); - -export { dep1 as d }; diff --git a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/system/generated-dep1.js b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/system/generated-dep1.js new file mode 100644 index 000000000..55927b08b --- /dev/null +++ b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/system/generated-dep1.js @@ -0,0 +1,10 @@ +System.register([], (function (exports) { + 'use strict'; + return { + execute: (function () { + + const dep1 = exports("d", 'dep1'); + + }) + }; +})); diff --git a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/system/generated-dynamic.js b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/system/generated-dynamic.js index 583457f73..2a57b4d83 100644 --- a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/system/generated-dynamic.js +++ b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/system/generated-dynamic.js @@ -1,4 +1,4 @@ -System.register(['./main.js', './generated-manual.js'], (function () { +System.register(['./generated-dep1.js', './generated-manual.js'], (function () { 'use strict'; var dep1, dep2; return { diff --git a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/system/main.js b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/system/main.js index ef470af11..1d52f60bc 100644 --- a/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/system/main.js +++ b/test/chunking-form/samples/dynamic-import-from-manual-chunk/_expected/system/main.js @@ -1,11 +1,12 @@ -System.register(['./generated-manual.js'], (function (exports) { +System.register(['./generated-dep1.js', './generated-manual.js'], (function () { 'use strict'; + var dep1; return { - setters: [null], + setters: [function (module) { + dep1 = module.d; + }, null], execute: (function () { - const dep1 = exports("d", 'dep1'); - console.log(dep1); }) diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/_config.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_config.js new file mode 100644 index 000000000..0a7075c29 --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_config.js @@ -0,0 +1,14 @@ +module.exports = defineTest({ + description: 'treats unrelated files in manual chunks as one file', + options: { + input: ['main1.js', 'main2.js'], + output: { + manualChunks(id) { + if (/manual\d/.test(id)) { + return 'manual'; + } + }, + onlyExplicitManualChunks: true + } + } +}); diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/amd/generated-dep2.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/amd/generated-dep2.js new file mode 100644 index 000000000..7a6ce681e --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/amd/generated-dep2.js @@ -0,0 +1,12 @@ +define(['exports'], (function (exports) { 'use strict'; + + // There is no reason for this to end up in a different chunk as the other dep + const dep$1 = 'dep1'; + + // There is no reason for this to end up in a different chunk as the other dep + const dep = 'dep2'; + + exports.dep = dep$1; + exports.dep$1 = dep; + +})); diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/amd/generated-manual.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/amd/generated-manual.js new file mode 100644 index 000000000..cad78be28 --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/amd/generated-manual.js @@ -0,0 +1,12 @@ +define(['exports', './generated-dep2'], (function (exports, dep2) { 'use strict'; + + console.log('manual1'); + const manual$1 = 'manual1:' + dep2.dep; + + console.log('manual2'); + const manual = 'manual2:' + dep2.dep$1; + + exports.manual = manual$1; + exports.manual$1 = manual; + +})); diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/amd/main1.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/amd/main1.js new file mode 100644 index 000000000..7c49edcbe --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/amd/main1.js @@ -0,0 +1,5 @@ +define(['./generated-manual', './generated-dep2'], (function (manual, dep2) { 'use strict'; + + console.log('main1', manual.manual); + +})); diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/amd/main2.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/amd/main2.js new file mode 100644 index 000000000..7655ed8ed --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/amd/main2.js @@ -0,0 +1,5 @@ +define(['./generated-manual', './generated-dep2'], (function (manual, dep2) { 'use strict'; + + console.log('main2', manual.manual$1); + +})); diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/cjs/generated-dep2.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/cjs/generated-dep2.js new file mode 100644 index 000000000..63a860d2e --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/cjs/generated-dep2.js @@ -0,0 +1,10 @@ +'use strict'; + +// There is no reason for this to end up in a different chunk as the other dep +const dep$1 = 'dep1'; + +// There is no reason for this to end up in a different chunk as the other dep +const dep = 'dep2'; + +exports.dep = dep$1; +exports.dep$1 = dep; diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/cjs/generated-manual.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/cjs/generated-manual.js new file mode 100644 index 000000000..9dcaad7ce --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/cjs/generated-manual.js @@ -0,0 +1,12 @@ +'use strict'; + +var dep2 = require('./generated-dep2.js'); + +console.log('manual1'); +const manual$1 = 'manual1:' + dep2.dep; + +console.log('manual2'); +const manual = 'manual2:' + dep2.dep$1; + +exports.manual = manual$1; +exports.manual$1 = manual; diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/cjs/main1.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/cjs/main1.js new file mode 100644 index 000000000..21954a739 --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/cjs/main1.js @@ -0,0 +1,6 @@ +'use strict'; + +var manual = require('./generated-manual.js'); +require('./generated-dep2.js'); + +console.log('main1', manual.manual); diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/cjs/main2.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/cjs/main2.js new file mode 100644 index 000000000..a9f7bc381 --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/cjs/main2.js @@ -0,0 +1,6 @@ +'use strict'; + +var manual = require('./generated-manual.js'); +require('./generated-dep2.js'); + +console.log('main2', manual.manual$1); diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/es/generated-dep2.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/es/generated-dep2.js new file mode 100644 index 000000000..2108ee4c4 --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/es/generated-dep2.js @@ -0,0 +1,7 @@ +// There is no reason for this to end up in a different chunk as the other dep +const dep$1 = 'dep1'; + +// There is no reason for this to end up in a different chunk as the other dep +const dep = 'dep2'; + +export { dep as a, dep$1 as d }; diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/es/generated-manual.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/es/generated-manual.js new file mode 100644 index 000000000..176785907 --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/es/generated-manual.js @@ -0,0 +1,9 @@ +import { d as dep, a as dep$1 } from './generated-dep2.js'; + +console.log('manual1'); +const manual$1 = 'manual1:' + dep; + +console.log('manual2'); +const manual = 'manual2:' + dep$1; + +export { manual as a, manual$1 as m }; diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/es/main1.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/es/main1.js new file mode 100644 index 000000000..49cb03a28 --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/es/main1.js @@ -0,0 +1,4 @@ +import { m as manual } from './generated-manual.js'; +import './generated-dep2.js'; + +console.log('main1', manual); diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/es/main2.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/es/main2.js new file mode 100644 index 000000000..613c3e202 --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/es/main2.js @@ -0,0 +1,4 @@ +import { a as manual } from './generated-manual.js'; +import './generated-dep2.js'; + +console.log('main2', manual); diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/system/generated-dep2.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/system/generated-dep2.js new file mode 100644 index 000000000..d2320c3b1 --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/system/generated-dep2.js @@ -0,0 +1,14 @@ +System.register([], (function (exports) { + 'use strict'; + return { + execute: (function () { + + // There is no reason for this to end up in a different chunk as the other dep + const dep$1 = exports("d", 'dep1'); + + // There is no reason for this to end up in a different chunk as the other dep + const dep = exports("a", 'dep2'); + + }) + }; +})); diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/system/generated-manual.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/system/generated-manual.js new file mode 100644 index 000000000..ad93c83df --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/system/generated-manual.js @@ -0,0 +1,19 @@ +System.register(['./generated-dep2.js'], (function (exports) { + 'use strict'; + var dep, dep$1; + return { + setters: [function (module) { + dep = module.d; + dep$1 = module.a; + }], + execute: (function () { + + console.log('manual1'); + const manual$1 = exports("m", 'manual1:' + dep); + + console.log('manual2'); + const manual = exports("a", 'manual2:' + dep$1); + + }) + }; +})); diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/system/main1.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/system/main1.js new file mode 100644 index 000000000..9239f1992 --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/system/main1.js @@ -0,0 +1,14 @@ +System.register(['./generated-manual.js', './generated-dep2.js'], (function () { + 'use strict'; + var manual; + return { + setters: [function (module) { + manual = module.m; + }, null], + execute: (function () { + + console.log('main1', manual); + + }) + }; +})); diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/system/main2.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/system/main2.js new file mode 100644 index 000000000..a04e12e68 --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/_expected/system/main2.js @@ -0,0 +1,14 @@ +System.register(['./generated-manual.js', './generated-dep2.js'], (function () { + 'use strict'; + var manual; + return { + setters: [function (module) { + manual = module.a; + }, null], + execute: (function () { + + console.log('main2', manual); + + }) + }; +})); diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/dep1.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/dep1.js new file mode 100644 index 000000000..81b9bfa8d --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/dep1.js @@ -0,0 +1,2 @@ +// There is no reason for this to end up in a different chunk as the other dep +export const dep = 'dep1'; diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/dep2.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/dep2.js new file mode 100644 index 000000000..7fc6a10ce --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/dep2.js @@ -0,0 +1,2 @@ +// There is no reason for this to end up in a different chunk as the other dep +export const dep = 'dep2'; diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/main1.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/main1.js new file mode 100644 index 000000000..5361c5183 --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/main1.js @@ -0,0 +1,3 @@ +import { manual } from './manual1'; + +console.log('main1', manual); diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/main2.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/main2.js new file mode 100644 index 000000000..554321283 --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/main2.js @@ -0,0 +1,3 @@ +import { manual } from './manual2'; + +console.log('main2', manual); diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/manual1.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/manual1.js new file mode 100644 index 000000000..b9e0c7be4 --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/manual1.js @@ -0,0 +1,4 @@ +import { dep } from './dep1'; + +console.log('manual1'); +export const manual = 'manual1:' + dep; diff --git a/test/chunking-form/samples/manual-chunk-with-unrelated-files/manual2.js b/test/chunking-form/samples/manual-chunk-with-unrelated-files/manual2.js new file mode 100644 index 000000000..6ff530156 --- /dev/null +++ b/test/chunking-form/samples/manual-chunk-with-unrelated-files/manual2.js @@ -0,0 +1,4 @@ +import { dep } from './dep2'; + +console.log('manual2'); +export const manual = 'manual2:' + dep; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_config.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_config.js new file mode 100644 index 000000000..46be52152 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_config.js @@ -0,0 +1,12 @@ +module.exports = defineTest({ + description: 'Does not produce circular chunk with onlyExplicitManualChunks', + options: { + output: { + manualChunks(id) { + if (id.includes('c.js')) return 'c'; + if (id.includes('c3.js')) return 'c3'; + }, + onlyExplicitManualChunks: true + } + } +}); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-a.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-a.js new file mode 100644 index 000000000..7ce9399f7 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-a.js @@ -0,0 +1,8 @@ +define(['exports', './generated-c', './generated-c2', './generated-c3', './generated-c4', './generated-e'], (function (exports, c, c2, c3, c4, e) { 'use strict'; + + console.log('a'); + const a = 'a' + c.c; + + exports.a = a; + +})); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-b.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-b.js new file mode 100644 index 000000000..6e222b03e --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-b.js @@ -0,0 +1,8 @@ +define(['exports', './generated-e'], (function (exports, e) { 'use strict'; + + console.log('b'); + const b = 'b' + e.e; + + exports.b = b; + +})); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-c.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-c.js new file mode 100644 index 000000000..1896c3f9f --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-c.js @@ -0,0 +1,8 @@ +define(['exports', './generated-c2'], (function (exports, c2) { 'use strict'; + + console.log('c'); + const c = 'c' + c2.c2; + + exports.c = c; + +})); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-c2.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-c2.js new file mode 100644 index 000000000..708b47c7c --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-c2.js @@ -0,0 +1,8 @@ +define(['exports', './generated-c3'], (function (exports, c3) { 'use strict'; + + console.log('c2'); + const c2 = 'c2' + c3.c3; + + exports.c2 = c2; + +})); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-c3.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-c3.js new file mode 100644 index 000000000..701a8059b --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-c3.js @@ -0,0 +1,8 @@ +define(['exports', './generated-c4'], (function (exports, c4) { 'use strict'; + + console.log('c3'); + const c3 = 'c3' + c4.c4; + + exports.c3 = c3; + +})); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-c4.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-c4.js new file mode 100644 index 000000000..29bea6da2 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-c4.js @@ -0,0 +1,11 @@ +define(['exports', './generated-e'], (function (exports, e) { 'use strict'; + + console.log('c5'); + const c5 = 'c5' + e.e; + + console.log('c4'); + const c4 = 'c4' + c5; + + exports.c4 = c4; + +})); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-e.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-e.js new file mode 100644 index 000000000..acbc45b7e --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/generated-e.js @@ -0,0 +1,8 @@ +define(['exports'], (function (exports) { 'use strict'; + + console.log('e'); + const e = 'e'; + + exports.e = e; + +})); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/main.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/main.js new file mode 100644 index 000000000..67329ab2f --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/amd/main.js @@ -0,0 +1,6 @@ +define(['require'], (function (require) { 'use strict'; + + new Promise(function (resolve, reject) { require(['./generated-a'], resolve, reject); }).then(({a}) => console.log(a)); + new Promise(function (resolve, reject) { require(['./generated-b'], resolve, reject); }).then(({b}) => console.log(b)); + +})); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-a.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-a.js new file mode 100644 index 000000000..e929f51a6 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-a.js @@ -0,0 +1,12 @@ +'use strict'; + +var c = require('./generated-c.js'); +require('./generated-c2.js'); +require('./generated-c3.js'); +require('./generated-c4.js'); +require('./generated-e.js'); + +console.log('a'); +const a = 'a' + c.c; + +exports.a = a; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-b.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-b.js new file mode 100644 index 000000000..2bd6f696e --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-b.js @@ -0,0 +1,8 @@ +'use strict'; + +var e = require('./generated-e.js'); + +console.log('b'); +const b = 'b' + e.e; + +exports.b = b; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-c.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-c.js new file mode 100644 index 000000000..739859da9 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-c.js @@ -0,0 +1,8 @@ +'use strict'; + +var c2 = require('./generated-c2.js'); + +console.log('c'); +const c = 'c' + c2.c2; + +exports.c = c; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-c2.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-c2.js new file mode 100644 index 000000000..90c0f296e --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-c2.js @@ -0,0 +1,8 @@ +'use strict'; + +var c3 = require('./generated-c3.js'); + +console.log('c2'); +const c2 = 'c2' + c3.c3; + +exports.c2 = c2; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-c3.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-c3.js new file mode 100644 index 000000000..733c98fb8 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-c3.js @@ -0,0 +1,8 @@ +'use strict'; + +var c4 = require('./generated-c4.js'); + +console.log('c3'); +const c3 = 'c3' + c4.c4; + +exports.c3 = c3; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-c4.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-c4.js new file mode 100644 index 000000000..c766c3ec4 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-c4.js @@ -0,0 +1,11 @@ +'use strict'; + +var e = require('./generated-e.js'); + +console.log('c5'); +const c5 = 'c5' + e.e; + +console.log('c4'); +const c4 = 'c4' + c5; + +exports.c4 = c4; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-e.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-e.js new file mode 100644 index 000000000..5823ae6ca --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/generated-e.js @@ -0,0 +1,6 @@ +'use strict'; + +console.log('e'); +const e = 'e'; + +exports.e = e; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/main.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/main.js new file mode 100644 index 000000000..f0064a4b0 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/cjs/main.js @@ -0,0 +1,4 @@ +'use strict'; + +Promise.resolve().then(function () { return require('./generated-a.js'); }).then(({a}) => console.log(a)); +Promise.resolve().then(function () { return require('./generated-b.js'); }).then(({b}) => console.log(b)); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-a.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-a.js new file mode 100644 index 000000000..76e5ff0c6 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-a.js @@ -0,0 +1,10 @@ +import { c } from './generated-c.js'; +import './generated-c2.js'; +import './generated-c3.js'; +import './generated-c4.js'; +import './generated-e.js'; + +console.log('a'); +const a = 'a' + c; + +export { a }; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-b.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-b.js new file mode 100644 index 000000000..48daa6595 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-b.js @@ -0,0 +1,6 @@ +import { e } from './generated-e.js'; + +console.log('b'); +const b = 'b' + e; + +export { b }; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-c.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-c.js new file mode 100644 index 000000000..c09aedea8 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-c.js @@ -0,0 +1,6 @@ +import { c as c2 } from './generated-c2.js'; + +console.log('c'); +const c = 'c' + c2; + +export { c }; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-c2.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-c2.js new file mode 100644 index 000000000..8138eb748 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-c2.js @@ -0,0 +1,6 @@ +import { c as c3 } from './generated-c3.js'; + +console.log('c2'); +const c2 = 'c2' + c3; + +export { c2 as c }; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-c3.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-c3.js new file mode 100644 index 000000000..2e42ef021 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-c3.js @@ -0,0 +1,6 @@ +import { c as c4 } from './generated-c4.js'; + +console.log('c3'); +const c3 = 'c3' + c4; + +export { c3 as c }; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-c4.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-c4.js new file mode 100644 index 000000000..58d866505 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-c4.js @@ -0,0 +1,9 @@ +import { e } from './generated-e.js'; + +console.log('c5'); +const c5 = 'c5' + e; + +console.log('c4'); +const c4 = 'c4' + c5; + +export { c4 as c }; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-e.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-e.js new file mode 100644 index 000000000..1ccd609db --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/generated-e.js @@ -0,0 +1,4 @@ +console.log('e'); +const e = 'e'; + +export { e }; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/main.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/main.js new file mode 100644 index 000000000..08524d8cd --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/es/main.js @@ -0,0 +1,2 @@ +import('./generated-a.js').then(({a}) => console.log(a)); +import('./generated-b.js').then(({b}) => console.log(b)); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-a.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-a.js new file mode 100644 index 000000000..1f300c339 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-a.js @@ -0,0 +1,15 @@ +System.register(['./generated-c.js', './generated-c2.js', './generated-c3.js', './generated-c4.js', './generated-e.js'], (function (exports) { + 'use strict'; + var c; + return { + setters: [function (module) { + c = module.c; + }, null, null, null, null], + execute: (function () { + + console.log('a'); + const a = exports("a", 'a' + c); + + }) + }; +})); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-b.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-b.js new file mode 100644 index 000000000..bd4f479e2 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-b.js @@ -0,0 +1,15 @@ +System.register(['./generated-e.js'], (function (exports) { + 'use strict'; + var e; + return { + setters: [function (module) { + e = module.e; + }], + execute: (function () { + + console.log('b'); + const b = exports("b", 'b' + e); + + }) + }; +})); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-c.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-c.js new file mode 100644 index 000000000..609e3060d --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-c.js @@ -0,0 +1,15 @@ +System.register(['./generated-c2.js'], (function (exports) { + 'use strict'; + var c2; + return { + setters: [function (module) { + c2 = module.c; + }], + execute: (function () { + + console.log('c'); + const c = exports("c", 'c' + c2); + + }) + }; +})); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-c2.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-c2.js new file mode 100644 index 000000000..622257f70 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-c2.js @@ -0,0 +1,15 @@ +System.register(['./generated-c3.js'], (function (exports) { + 'use strict'; + var c3; + return { + setters: [function (module) { + c3 = module.c; + }], + execute: (function () { + + console.log('c2'); + const c2 = exports("c", 'c2' + c3); + + }) + }; +})); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-c3.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-c3.js new file mode 100644 index 000000000..8d3a9fedf --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-c3.js @@ -0,0 +1,15 @@ +System.register(['./generated-c4.js'], (function (exports) { + 'use strict'; + var c4; + return { + setters: [function (module) { + c4 = module.c; + }], + execute: (function () { + + console.log('c3'); + const c3 = exports("c", 'c3' + c4); + + }) + }; +})); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-c4.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-c4.js new file mode 100644 index 000000000..461126d4a --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-c4.js @@ -0,0 +1,18 @@ +System.register(['./generated-e.js'], (function (exports) { + 'use strict'; + var e; + return { + setters: [function (module) { + e = module.e; + }], + execute: (function () { + + console.log('c5'); + const c5 = 'c5' + e; + + console.log('c4'); + const c4 = exports("c", 'c4' + c5); + + }) + }; +})); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-e.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-e.js new file mode 100644 index 000000000..d50cd5d4d --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/generated-e.js @@ -0,0 +1,11 @@ +System.register([], (function (exports) { + 'use strict'; + return { + execute: (function () { + + console.log('e'); + const e = exports("e", 'e'); + + }) + }; +})); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/main.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/main.js new file mode 100644 index 000000000..378c398ab --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/_expected/system/main.js @@ -0,0 +1,11 @@ +System.register([], (function (exports, module) { + 'use strict'; + return { + execute: (function () { + + module.import('./generated-a.js').then(({a}) => console.log(a)); + module.import('./generated-b.js').then(({b}) => console.log(b)); + + }) + }; +})); diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/a.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/a.js new file mode 100644 index 000000000..aa5ea6fc2 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/a.js @@ -0,0 +1,3 @@ +import { c } from './c.js'; +console.log('a'); +export const a = 'a' + c; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/b.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/b.js new file mode 100644 index 000000000..9836b60e6 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/b.js @@ -0,0 +1,3 @@ +import { e } from './e.js'; +console.log('b'); +export const b = 'b' + e; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c.js new file mode 100644 index 000000000..8a6e5deec --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c.js @@ -0,0 +1,3 @@ +import { c2 } from './c2.js'; +console.log('c'); +export const c = 'c' + c2; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c2.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c2.js new file mode 100644 index 000000000..d7e49a9df --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c2.js @@ -0,0 +1,3 @@ +import { c3 } from './c3.js'; +console.log('c2'); +export const c2 = 'c2' + c3; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c3.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c3.js new file mode 100644 index 000000000..41552c521 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c3.js @@ -0,0 +1,3 @@ +import { c4 } from './c4.js'; +console.log('c3'); +export const c3 = 'c3' + c4; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c4.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c4.js new file mode 100644 index 000000000..4934fe005 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c4.js @@ -0,0 +1,3 @@ +import { c5 } from './c5.js'; +console.log('c4'); +export const c4 = 'c4' + c5; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c5.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c5.js new file mode 100644 index 000000000..2c6876b66 --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/c5.js @@ -0,0 +1,3 @@ +import { e } from './e.js'; +console.log('c5'); +export const c5 = 'c5' + e; diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/e.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/e.js new file mode 100644 index 000000000..980a9299b --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/e.js @@ -0,0 +1,2 @@ +console.log('e'); +export const e = 'e'; \ No newline at end of file diff --git a/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/main.js b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/main.js new file mode 100644 index 000000000..01963b0ec --- /dev/null +++ b/test/chunking-form/samples/non-circular-chunk-with-only-explicit-manual-chunks/main.js @@ -0,0 +1,2 @@ +import('./a.js').then(({a}) => console.log(a)); +import('./b.js').then(({b}) => console.log(b)); \ No newline at end of file diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_config.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_config.js new file mode 100644 index 000000000..3450fe290 --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_config.js @@ -0,0 +1,12 @@ +module.exports = defineTest({ + description: 'extracts shared static dependency between manual chunks into a single chunk', + options: { + output: { + manualChunks(id) { + if (id.includes('manual1.js')) return 'manual1'; + if (id.includes('manual2.js')) return 'manual2'; + }, + onlyExplicitManualChunks: true + } + } +}); diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/amd/generated-manual1.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/amd/generated-manual1.js new file mode 100644 index 000000000..5f1034303 --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/amd/generated-manual1.js @@ -0,0 +1,5 @@ +define(['./generated-shared'], (function (shared) { 'use strict'; + + console.log('manual1', shared.shared); + +})); diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/amd/generated-manual2.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/amd/generated-manual2.js new file mode 100644 index 000000000..559adf99c --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/amd/generated-manual2.js @@ -0,0 +1,5 @@ +define(['./generated-shared'], (function (shared) { 'use strict'; + + console.log('manual2', shared.shared); + +})); diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/amd/generated-shared.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/amd/generated-shared.js new file mode 100644 index 000000000..3f801df74 --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/amd/generated-shared.js @@ -0,0 +1,7 @@ +define(['exports'], (function (exports) { 'use strict'; + + const shared = 'shared'; + + exports.shared = shared; + +})); diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/amd/main.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/amd/main.js new file mode 100644 index 000000000..659c36e3c --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/amd/main.js @@ -0,0 +1,5 @@ +define(['./generated-manual1', './generated-manual2', './generated-shared'], (function (manual1, manual2, shared) { 'use strict'; + + console.log('main'); + +})); diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/cjs/generated-manual1.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/cjs/generated-manual1.js new file mode 100644 index 000000000..b8604bc6e --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/cjs/generated-manual1.js @@ -0,0 +1,5 @@ +'use strict'; + +var shared = require('./generated-shared.js'); + +console.log('manual1', shared.shared); diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/cjs/generated-manual2.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/cjs/generated-manual2.js new file mode 100644 index 000000000..241ab5340 --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/cjs/generated-manual2.js @@ -0,0 +1,5 @@ +'use strict'; + +var shared = require('./generated-shared.js'); + +console.log('manual2', shared.shared); diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/cjs/generated-shared.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/cjs/generated-shared.js new file mode 100644 index 000000000..e2dc6ecb8 --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/cjs/generated-shared.js @@ -0,0 +1,5 @@ +'use strict'; + +const shared = 'shared'; + +exports.shared = shared; diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/cjs/main.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/cjs/main.js new file mode 100644 index 000000000..21cc4807b --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/cjs/main.js @@ -0,0 +1,7 @@ +'use strict'; + +require('./generated-manual1.js'); +require('./generated-manual2.js'); +require('./generated-shared.js'); + +console.log('main'); diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/es/generated-manual1.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/es/generated-manual1.js new file mode 100644 index 000000000..88eec7b6f --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/es/generated-manual1.js @@ -0,0 +1,3 @@ +import { s as shared } from './generated-shared.js'; + +console.log('manual1', shared); diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/es/generated-manual2.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/es/generated-manual2.js new file mode 100644 index 000000000..58910448e --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/es/generated-manual2.js @@ -0,0 +1,3 @@ +import { s as shared } from './generated-shared.js'; + +console.log('manual2', shared); diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/es/generated-shared.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/es/generated-shared.js new file mode 100644 index 000000000..464379ccc --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/es/generated-shared.js @@ -0,0 +1,3 @@ +const shared = 'shared'; + +export { shared as s }; diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/es/main.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/es/main.js new file mode 100644 index 000000000..4f853c544 --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/es/main.js @@ -0,0 +1,5 @@ +import './generated-manual1.js'; +import './generated-manual2.js'; +import './generated-shared.js'; + +console.log('main'); diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/system/generated-manual1.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/system/generated-manual1.js new file mode 100644 index 000000000..97395a9da --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/system/generated-manual1.js @@ -0,0 +1,14 @@ +System.register(['./generated-shared.js'], (function () { + 'use strict'; + var shared; + return { + setters: [function (module) { + shared = module.s; + }], + execute: (function () { + + console.log('manual1', shared); + + }) + }; +})); diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/system/generated-manual2.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/system/generated-manual2.js new file mode 100644 index 000000000..dd1acb218 --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/system/generated-manual2.js @@ -0,0 +1,14 @@ +System.register(['./generated-shared.js'], (function () { + 'use strict'; + var shared; + return { + setters: [function (module) { + shared = module.s; + }], + execute: (function () { + + console.log('manual2', shared); + + }) + }; +})); diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/system/generated-shared.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/system/generated-shared.js new file mode 100644 index 000000000..86710d112 --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/system/generated-shared.js @@ -0,0 +1,10 @@ +System.register([], (function (exports) { + 'use strict'; + return { + execute: (function () { + + const shared = exports("s", 'shared'); + + }) + }; +})); diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/system/main.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/system/main.js new file mode 100644 index 000000000..7ec8a7da5 --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/_expected/system/main.js @@ -0,0 +1,11 @@ +System.register(['./generated-manual1.js', './generated-manual2.js', './generated-shared.js'], (function () { + 'use strict'; + return { + setters: [null, null, null], + execute: (function () { + + console.log('main'); + + }) + }; +})); diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/main.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/main.js new file mode 100644 index 000000000..acc1b8537 --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/main.js @@ -0,0 +1,3 @@ +import './manual1.js'; +import './manual2.js'; +console.log('main'); \ No newline at end of file diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/manual1.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/manual1.js new file mode 100644 index 000000000..1a215c0ae --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/manual1.js @@ -0,0 +1,2 @@ +import { shared } from './shared.js'; +console.log('manual1', shared); \ No newline at end of file diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/manual2.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/manual2.js new file mode 100644 index 000000000..7773d28e6 --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/manual2.js @@ -0,0 +1,2 @@ +import { shared } from './shared.js'; +console.log('manual2', shared); \ No newline at end of file diff --git a/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/shared.js b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/shared.js new file mode 100644 index 000000000..9c6f4ae09 --- /dev/null +++ b/test/chunking-form/samples/shared-static-dependency-between-manual-chunks/shared.js @@ -0,0 +1 @@ +export const shared = 'shared'; \ No newline at end of file