From ac61c7c5a2753e119e6571fca98822f84da66c76 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 2 Feb 2024 05:34:17 +0000 Subject: [PATCH 01/15] chore(deps): update peter-evans/create-or-update-comment action to v4 (#5367) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/repl-artefacts.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/repl-artefacts.yml b/.github/workflows/repl-artefacts.yml index 134a74029..7fb625f7f 100644 --- a/.github/workflows/repl-artefacts.yml +++ b/.github/workflows/repl-artefacts.yml @@ -99,7 +99,7 @@ jobs: comment-author: 'github-actions[bot]' body-includes: 'Thank you for your contribution!' - name: Create or update comment - uses: peter-evans/create-or-update-comment@v3 + uses: peter-evans/create-or-update-comment@v4 id: createInitialComment with: comment-id: ${{ steps.findComment.outputs.comment-id }} @@ -124,7 +124,7 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} - name: Update comment with Vercel preview URL - uses: peter-evans/create-or-update-comment@v3 + uses: peter-evans/create-or-update-comment@v4 if: ${{ steps.waitForVercel.outputs.url }} with: comment-id: ${{ steps.createInitialComment.outputs.comment-id }} From 9ae50129f46dc8fd42a57a6728b82e734b90c2fd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 2 Feb 2024 05:43:56 +0000 Subject: [PATCH 02/15] chore(deps): update dependency husky to v9 (#5366) * chore(deps): update dependency husky to v9 * Update for husky migration --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lukas Taegert-Atkinson --- .husky/pre-commit | 3 --- package-lock.json | 12 ++++++------ package.json | 4 ++-- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af21989..2312dc587 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged diff --git a/package-lock.json b/package-lock.json index e6e5a08ab..f1b3080b8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -63,7 +63,7 @@ "flru": "^1.0.2", "fs-extra": "^11.2.0", "github-api": "^3.4.0", - "husky": "^8.0.3", + "husky": "^9.0.7", "inquirer": "^9.2.12", "is-reference": "^3.0.2", "lint-staged": "^15.2.0", @@ -5803,15 +5803,15 @@ } }, "node_modules/husky": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", - "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", + "version": "9.0.10", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.10.tgz", + "integrity": "sha512-TQGNknoiy6bURzIO77pPRu+XHi6zI7T93rX+QnJsoYFf3xdjKOur+IlfqzJGMHIK/wXrLg+GsvMs8Op7vI2jVA==", "dev": true, "bin": { - "husky": "lib/bin.js" + "husky": "bin.mjs" }, "engines": { - "node": ">=14" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/typicode" diff --git a/package.json b/package.json index 4411ccd95..945ad84b2 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "lint:rust:nofix": "cd rust && cargo fmt --check && cargo clippy", "perf": "npm run build:cjs && node --expose-gc scripts/perf.js", "perf:init": "node scripts/perf-init.js", - "prepare": "husky install && node scripts/check-release.js || npm run build:prepare", + "prepare": "husky && node scripts/check-release.js || npm run build:prepare", "prepublishOnly": "node scripts/check-release.js && node scripts/prepublish.js", "postpublish": "node scripts/postpublish.js", "prepublish:napi": "napi prepublish --skip-gh-release", @@ -158,7 +158,7 @@ "flru": "^1.0.2", "fs-extra": "^11.2.0", "github-api": "^3.4.0", - "husky": "^8.0.3", + "husky": "^9.0.7", "inquirer": "^9.2.12", "is-reference": "^3.0.2", "lint-staged": "^15.2.0", From fb3b66e38aba238c222bb97d7c6ae665286938b5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 2 Feb 2024 05:45:11 +0000 Subject: [PATCH 03/15] chore(deps): update peter-evans/find-comment action to v3 (#5368) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/repl-artefacts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repl-artefacts.yml b/.github/workflows/repl-artefacts.yml index 7fb625f7f..576cfd625 100644 --- a/.github/workflows/repl-artefacts.yml +++ b/.github/workflows/repl-artefacts.yml @@ -92,7 +92,7 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - name: Find Comment - uses: peter-evans/find-comment@v2 + uses: peter-evans/find-comment@v3 id: findComment with: issue-number: ${{ github.event.number }} From 2abd46d1c153cdee62efe59ce7ef7e4157dfb58b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 2 Feb 2024 07:28:52 +0000 Subject: [PATCH 04/15] chore(deps): lock file maintenance minor/patch updates (#5369) * chore(deps): lock file maintenance minor/patch updates * Fix type issue * Do not auto-merge major updates, remove hourly limit * Fix test * Downgrade node types to fix type issue --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lukas Taegert-Atkinson --- cli/run/watch-cli.ts | 2 +- package-lock.json | 891 +++++++++--------- package.json | 28 +- renovate.json | 11 +- rust/Cargo.lock | 113 +-- rust/bindings_napi/Cargo.toml | 4 +- rust/parse_ast/Cargo.toml | 8 +- .../samples/supports-core-js/_expected.js | 773 +++++++-------- 8 files changed, 909 insertions(+), 921 deletions(-) diff --git a/cli/run/watch-cli.ts b/cli/run/watch-cli.ts index bfb35022e..c1adb61d2 100644 --- a/cli/run/watch-cli.ts +++ b/cli/run/watch-cli.ts @@ -1,6 +1,6 @@ -import type { FSWatcher } from 'node:fs'; import { readFile } from 'node:fs/promises'; import process from 'node:process'; +import type { FSWatcher } from 'chokidar'; import chokidar from 'chokidar'; import dateTime from 'date-time'; import ms from 'pretty-ms'; diff --git a/package-lock.json b/package-lock.json index f1b3080b8..cb4ff0530 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,10 +20,10 @@ "@codemirror/language": "^6.10.0", "@codemirror/search": "^6.5.5", "@codemirror/state": "^6.4.0", - "@codemirror/view": "^6.23.0", + "@codemirror/view": "^6.23.1", "@jridgewell/sourcemap-codec": "^1.4.15", "@mermaid-js/mermaid-cli": "^10.6.1", - "@napi-rs/cli": "^2.17.0", + "@napi-rs/cli": "^2.18.0", "@rollup/plugin-alias": "^5.1.0", "@rollup/plugin-buble": "^1.0.3", "@rollup/plugin-commonjs": "^25.0.7", @@ -36,10 +36,10 @@ "@types/eslint": "^8.56.2", "@types/inquirer": "^9.0.7", "@types/mocha": "^10.0.6", - "@types/node": "^18.11.19", + "@types/node": "18.18", "@types/yargs-parser": "^21.0.3", - "@typescript-eslint/eslint-plugin": "^6.19.0", - "@typescript-eslint/parser": "^6.19.0", + "@typescript-eslint/eslint-plugin": "^6.20.0", + "@typescript-eslint/parser": "^6.20.0", "@vue/eslint-config-prettier": "^9.0.0", "@vue/eslint-config-typescript": "^12.0.0", "acorn": "^8.11.3", @@ -49,7 +49,7 @@ "chokidar": "^3.5.3", "colorette": "^2.0.20", "concurrently": "^8.2.2", - "core-js": "^3.35.0", + "core-js": "^3.35.1", "date-time": "^4.0.0", "es5-shim": "^4.6.7", "es6-shim": "^0.35.8", @@ -64,7 +64,7 @@ "fs-extra": "^11.2.0", "github-api": "^3.4.0", "husky": "^9.0.7", - "inquirer": "^9.2.12", + "inquirer": "^9.2.13", "is-reference": "^3.0.2", "lint-staged": "^15.2.0", "locate-character": "^3.0.0", @@ -72,11 +72,11 @@ "mocha": "^10.2.0", "nyc": "^15.1.0", "pinia": "^2.1.7", - "prettier": "^3.2.2", + "prettier": "^3.2.4", "pretty-bytes": "^6.1.1", "pretty-ms": "^9.0.0", "requirejs": "^2.3.6", - "rollup": "^4.9.5", + "rollup": "^4.9.6", "rollup-plugin-license": "^3.2.0", "rollup-plugin-string": "^3.0.0", "semver": "^7.5.4", @@ -85,12 +85,12 @@ "source-map": "^0.7.4", "source-map-support": "^0.5.21", "systemjs": "^6.14.3", - "terser": "^5.26.0", + "terser": "^5.27.0", "tslib": "^2.6.2", "typescript": "^5.3.3", - "vite": "^5.0.11", - "vitepress": "^1.0.0-rc.39", - "vue": "^3.4.14", + "vite": "^5.0.12", + "vitepress": "^1.0.0-rc.40", + "vue": "^3.4.15", "wasm-pack": "^0.12.1", "weak-napi": "^2.0.2", "yargs-parser": "^21.1.1" @@ -378,9 +378,9 @@ } }, "node_modules/@babel/core": { - "version": "7.23.7", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.7.tgz", - "integrity": "sha512-+UpDgowcmqe36d4NwqvKsyPMlOLNGMsfMmQ5WGCu+siCe3t3dfe9njrzGfdN4qq+bcNUt0+Vw6haRxBOycs4dw==", + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.23.9.tgz", + "integrity": "sha512-5q0175NOjddqpvvzU+kDiSOAk4PfdO6FvwCWoQ6RO7rTzEe8vlo+4HVfcnAREhD4npMs0e9uZypjTwzZPCf/cw==", "dev": true, "dependencies": { "@ampproject/remapping": "^2.2.0", @@ -388,11 +388,11 @@ "@babel/generator": "^7.23.6", "@babel/helper-compilation-targets": "^7.23.6", "@babel/helper-module-transforms": "^7.23.3", - "@babel/helpers": "^7.23.7", - "@babel/parser": "^7.23.6", - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.7", - "@babel/types": "^7.23.6", + "@babel/helpers": "^7.23.9", + "@babel/parser": "^7.23.9", + "@babel/template": "^7.23.9", + "@babel/traverse": "^7.23.9", + "@babel/types": "^7.23.9", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -573,14 +573,14 @@ } }, "node_modules/@babel/helpers": { - "version": "7.23.8", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.8.tgz", - "integrity": "sha512-KDqYz4PiOWvDFrdHLPhKtCThtIcKVy6avWD2oG4GEvyQ+XDZwHD4YQd+H2vNMnq2rkdxsDkU82T+Vk8U/WXHRQ==", + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.23.9.tgz", + "integrity": "sha512-87ICKgU5t5SzOT7sBMfCOZQ2rHjRU+Pcb9BoILMYz600W6DkVRLFBPwQ18gwUVvggqXivaUakpnxWQGbpywbBQ==", "dev": true, "dependencies": { - "@babel/template": "^7.22.15", - "@babel/traverse": "^7.23.7", - "@babel/types": "^7.23.6" + "@babel/template": "^7.23.9", + "@babel/traverse": "^7.23.9", + "@babel/types": "^7.23.9" }, "engines": { "node": ">=6.9.0" @@ -657,9 +657,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.6.tgz", - "integrity": "sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ==", + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.9.tgz", + "integrity": "sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -669,9 +669,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.23.8", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.8.tgz", - "integrity": "sha512-Y7KbAP984rn1VGMbGqKmBLio9V7y5Je9GvU4rQPCPinCyNfUcToxIXl06d59URp/F3LwinvODxab5N/G6qggkw==", + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.23.9.tgz", + "integrity": "sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw==", "dev": true, "dependencies": { "regenerator-runtime": "^0.14.0" @@ -681,23 +681,23 @@ } }, "node_modules/@babel/template": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.22.15.tgz", - "integrity": "sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w==", + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.23.9.tgz", + "integrity": "sha512-+xrD2BWLpvHKNmX2QbpdpsBaWnRxahMwJjO+KZk2JOElj5nSmKezyS1B4u+QbHMTX69t4ukm6hh9lsYQ7GHCKA==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.22.13", - "@babel/parser": "^7.22.15", - "@babel/types": "^7.22.15" + "@babel/code-frame": "^7.23.5", + "@babel/parser": "^7.23.9", + "@babel/types": "^7.23.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.23.7", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.7.tgz", - "integrity": "sha512-tY3mM8rH9jM0YHFGyfC0/xf+SB5eKUu7HPj7/k3fpi9dAlsMc5YbQvDi0Sh2QTPXqMhyaAtzAr807TIyfQrmyg==", + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.23.9.tgz", + "integrity": "sha512-I/4UJ9vs90OkBtY6iiiTORVMyIhJ4kAVmsKo9KFc8UOxMeUfi2hvtIBsET5u9GizXE6/GFSuKCTNfgCswuEjRg==", "dev": true, "dependencies": { "@babel/code-frame": "^7.23.5", @@ -706,8 +706,8 @@ "@babel/helper-function-name": "^7.23.0", "@babel/helper-hoist-variables": "^7.22.5", "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.23.6", - "@babel/types": "^7.23.6", + "@babel/parser": "^7.23.9", + "@babel/types": "^7.23.9", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -725,9 +725,9 @@ } }, "node_modules/@babel/types": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.6.tgz", - "integrity": "sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg==", + "version": "7.23.9", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.9.tgz", + "integrity": "sha512-dQjSq/7HaSjRM43FFGnv5keM2HsxpmyV1PfaSVm0nzzjwwTmjOe6J4bC8e3+pTEIgHaHj+1ZlLThRJ2auc/w1Q==", "dev": true, "dependencies": { "@babel/helper-string-parser": "^7.23.4", @@ -798,9 +798,9 @@ } }, "node_modules/@codemirror/lint": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.4.2.tgz", - "integrity": "sha512-wzRkluWb1ptPKdzlsrbwwjYCPLgzU6N88YBAmlZi8WFyuiEduSd05MnJYNogzyc8rPK7pj6m95ptUApc8sHKVA==", + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/@codemirror/lint/-/lint-6.5.0.tgz", + "integrity": "sha512-+5YyicIaaAZKU8K43IQi8TBy6mF6giGeWAH7N96Z5LC30Wm5JMjqxOYIE9mxwMG1NbhT2mA3l9hA4uuKUM3E5g==", "dev": true, "dependencies": { "@codemirror/state": "^6.0.0", @@ -826,9 +826,9 @@ "dev": true }, "node_modules/@codemirror/view": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.23.0.tgz", - "integrity": "sha512-/51px9N4uW8NpuWkyUX+iam5+PM6io2fm+QmRnzwqBy5v/pwGg9T0kILFtYeum8hjuvENtgsGNKluOfqIICmeQ==", + "version": "6.23.1", + "resolved": "https://registry.npmjs.org/@codemirror/view/-/view-6.23.1.tgz", + "integrity": "sha512-J2Xnn5lFYT1ZN/5ewEoMBCmLlL71lZ3mBdb7cUEuHhX2ESoSrNEucpsDXpX22EuTGm9LOgC9v4Z0wx+Ez8QmGA==", "dev": true, "dependencies": { "@codemirror/state": "^6.4.0", @@ -885,9 +885,9 @@ } }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.11.tgz", - "integrity": "sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.12.tgz", + "integrity": "sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==", "cpu": [ "ppc64" ], @@ -901,9 +901,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.11.tgz", - "integrity": "sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.12.tgz", + "integrity": "sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==", "cpu": [ "arm" ], @@ -917,9 +917,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.11.tgz", - "integrity": "sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.12.tgz", + "integrity": "sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==", "cpu": [ "arm64" ], @@ -933,9 +933,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.11.tgz", - "integrity": "sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.12.tgz", + "integrity": "sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==", "cpu": [ "x64" ], @@ -949,9 +949,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.11.tgz", - "integrity": "sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.12.tgz", + "integrity": "sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==", "cpu": [ "arm64" ], @@ -965,9 +965,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.11.tgz", - "integrity": "sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.12.tgz", + "integrity": "sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==", "cpu": [ "x64" ], @@ -981,9 +981,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.11.tgz", - "integrity": "sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.12.tgz", + "integrity": "sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==", "cpu": [ "arm64" ], @@ -997,9 +997,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.11.tgz", - "integrity": "sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.12.tgz", + "integrity": "sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==", "cpu": [ "x64" ], @@ -1013,9 +1013,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.11.tgz", - "integrity": "sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.12.tgz", + "integrity": "sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==", "cpu": [ "arm" ], @@ -1029,9 +1029,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.11.tgz", - "integrity": "sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.12.tgz", + "integrity": "sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==", "cpu": [ "arm64" ], @@ -1045,9 +1045,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.11.tgz", - "integrity": "sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.12.tgz", + "integrity": "sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==", "cpu": [ "ia32" ], @@ -1061,9 +1061,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.11.tgz", - "integrity": "sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.12.tgz", + "integrity": "sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==", "cpu": [ "loong64" ], @@ -1077,9 +1077,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.11.tgz", - "integrity": "sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.12.tgz", + "integrity": "sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==", "cpu": [ "mips64el" ], @@ -1093,9 +1093,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.11.tgz", - "integrity": "sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.12.tgz", + "integrity": "sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==", "cpu": [ "ppc64" ], @@ -1109,9 +1109,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.11.tgz", - "integrity": "sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.12.tgz", + "integrity": "sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==", "cpu": [ "riscv64" ], @@ -1125,9 +1125,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.11.tgz", - "integrity": "sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.12.tgz", + "integrity": "sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==", "cpu": [ "s390x" ], @@ -1141,9 +1141,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.11.tgz", - "integrity": "sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.12.tgz", + "integrity": "sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==", "cpu": [ "x64" ], @@ -1157,9 +1157,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.11.tgz", - "integrity": "sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.12.tgz", + "integrity": "sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==", "cpu": [ "x64" ], @@ -1173,9 +1173,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.11.tgz", - "integrity": "sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.12.tgz", + "integrity": "sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==", "cpu": [ "x64" ], @@ -1189,9 +1189,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.11.tgz", - "integrity": "sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.12.tgz", + "integrity": "sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==", "cpu": [ "x64" ], @@ -1205,9 +1205,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.11.tgz", - "integrity": "sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.12.tgz", + "integrity": "sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==", "cpu": [ "arm64" ], @@ -1221,9 +1221,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.11.tgz", - "integrity": "sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.12.tgz", + "integrity": "sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==", "cpu": [ "ia32" ], @@ -1237,9 +1237,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.11.tgz", - "integrity": "sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.12.tgz", + "integrity": "sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA==", "cpu": [ "x64" ], @@ -1542,9 +1542,9 @@ "dev": true }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.21", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.21.tgz", - "integrity": "sha512-SRfKmRe1KvYnxjEMtxEr+J4HIeMX5YBg/qhRHpxEIGjhX1rshcHlnFUE9K0GazhVKWM7B+nARSkV8LuvJdJ5/g==", + "version": "0.3.22", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.22.tgz", + "integrity": "sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw==", "dev": true, "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", @@ -1578,30 +1578,30 @@ } }, "node_modules/@lezer/lr": { - "version": "1.3.14", - "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.3.14.tgz", - "integrity": "sha512-z5mY4LStlA3yL7aHT/rqgG614cfcvklS+8oFRFBYrs4YaWLJyKKM4+nN6KopToX0o9Hj6zmH6M5kinOYuy06ug==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@lezer/lr/-/lr-1.4.0.tgz", + "integrity": "sha512-Wst46p51km8gH0ZUmeNrtpRYmdlRHUpN1DQd3GFAyKANi8WVz8c2jHYTf1CVScFaCjQw1iO3ZZdqGDxQPRErTg==", "dev": true, "dependencies": { "@lezer/common": "^1.0.0" } }, "node_modules/@ljharb/through": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/@ljharb/through/-/through-2.3.11.tgz", - "integrity": "sha512-ccfcIDlogiXNq5KcbAwbaO7lMh3Tm1i3khMPYpxlK8hH/W53zN81KM9coerRLOnTGu3nfXIniAmQbRI9OxbC0w==", + "version": "2.3.12", + "resolved": "https://registry.npmjs.org/@ljharb/through/-/through-2.3.12.tgz", + "integrity": "sha512-ajo/heTlG3QgC8EGP6APIejksVAYt4ayz4tqoP3MolFELzcH1x1fzwEYRJTPO0IELutZ5HQ0c26/GqAYy79u3g==", "dev": true, "dependencies": { - "call-bind": "^1.0.2" + "call-bind": "^1.0.5" }, "engines": { "node": ">= 0.4" } }, "node_modules/@mermaid-js/mermaid-cli": { - "version": "10.6.1", - "resolved": "https://registry.npmjs.org/@mermaid-js/mermaid-cli/-/mermaid-cli-10.6.1.tgz", - "integrity": "sha512-OH2uOXW3/GBaMGagVF7Fzu/9TJrGge+Bu/+Tm8OyIaRBaKa2NN+3SggJOmr5s51oTPaGKu/X1XBDoauvtlXAPg==", + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/@mermaid-js/mermaid-cli/-/mermaid-cli-10.7.0.tgz", + "integrity": "sha512-b1kHdzSStWaxoNdU5KnzXJ/OQzYqFo4mZsHobX44l6gb2s1O6DzD0g801VzxUmcJ+5OWt6piDL1Ug//cQUsrZg==", "dev": true, "dependencies": { "chalk": "^5.0.1", @@ -1616,9 +1616,9 @@ } }, "node_modules/@napi-rs/cli": { - "version": "2.17.0", - "resolved": "https://registry.npmjs.org/@napi-rs/cli/-/cli-2.17.0.tgz", - "integrity": "sha512-/M7MZ3dIqyFs6c0Bxtk+SOobPq6vYWYqBLYCOKx3dYWqoyJNBEgmDKUTrxIZu9eHw9Ill3WyEoHPqS9P99cd8A==", + "version": "2.18.0", + "resolved": "https://registry.npmjs.org/@napi-rs/cli/-/cli-2.18.0.tgz", + "integrity": "sha512-lfSRT7cs3iC4L+kv9suGYQEezn5Nii7Kpu+THsYVI0tA1Vh59LH45p4QADaD7hvIkmOz79eEGtoKQ9nAkAPkzA==", "dev": true, "bin": { "napi": "scripts/index.js" @@ -1939,9 +1939,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.9.5.tgz", - "integrity": "sha512-idWaG8xeSRCfRq9KpRysDHJ/rEHBEXcHuJ82XY0yYFIWnLMjZv9vF/7DOq8djQ2n3Lk6+3qfSH8AqlmHlmi1MA==", + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.9.6.tgz", + "integrity": "sha512-MVNXSSYN6QXOulbHpLMKYi60ppyO13W9my1qogeiAqtjb2yR4LSmfU2+POvDkLzhjYLXz9Rf9+9a3zFHW1Lecg==", "cpu": [ "arm" ], @@ -1952,9 +1952,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.9.5.tgz", - "integrity": "sha512-f14d7uhAMtsCGjAYwZGv6TwuS3IFaM4ZnGMUn3aCBgkcHAYErhV1Ad97WzBvS2o0aaDv4mVz+syiN0ElMyfBPg==", + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.9.6.tgz", + "integrity": "sha512-T14aNLpqJ5wzKNf5jEDpv5zgyIqcpn1MlwCrUXLrwoADr2RkWA0vOWP4XxbO9aiO3dvMCQICZdKeDrFl7UMClw==", "cpu": [ "arm64" ], @@ -1965,9 +1965,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.9.5.tgz", - "integrity": "sha512-ndoXeLx455FffL68OIUrVr89Xu1WLzAG4n65R8roDlCoYiQcGGg6MALvs2Ap9zs7AHg8mpHtMpwC8jBBjZrT/w==", + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.9.6.tgz", + "integrity": "sha512-CqNNAyhRkTbo8VVZ5R85X73H3R5NX9ONnKbXuHisGWC0qRbTTxnF1U4V9NafzJbgGM0sHZpdO83pLPzq8uOZFw==", "cpu": [ "arm64" ], @@ -1978,9 +1978,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.9.5.tgz", - "integrity": "sha512-UmElV1OY2m/1KEEqTlIjieKfVwRg0Zwg4PLgNf0s3glAHXBN99KLpw5A5lrSYCa1Kp63czTpVll2MAqbZYIHoA==", + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.9.6.tgz", + "integrity": "sha512-zRDtdJuRvA1dc9Mp6BWYqAsU5oeLixdfUvkTHuiYOHwqYuQ4YgSmi6+/lPvSsqc/I0Omw3DdICx4Tfacdzmhog==", "cpu": [ "x64" ], @@ -1991,9 +1991,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.9.5.tgz", - "integrity": "sha512-Q0LcU61v92tQB6ae+udZvOyZ0wfpGojtAKrrpAaIqmJ7+psq4cMIhT/9lfV6UQIpeItnq/2QDROhNLo00lOD1g==", + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.9.6.tgz", + "integrity": "sha512-oNk8YXDDnNyG4qlNb6is1ojTOGL/tRhbbKeE/YuccItzerEZT68Z9gHrY3ROh7axDc974+zYAPxK5SH0j/G+QQ==", "cpu": [ "arm" ], @@ -2004,9 +2004,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.9.5.tgz", - "integrity": "sha512-dkRscpM+RrR2Ee3eOQmRWFjmV/payHEOrjyq1VZegRUa5OrZJ2MAxBNs05bZuY0YCtpqETDy1Ix4i/hRqX98cA==", + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.9.6.tgz", + "integrity": "sha512-Z3O60yxPtuCYobrtzjo0wlmvDdx2qZfeAWTyfOjEDqd08kthDKexLpV97KfAeUXPosENKd8uyJMRDfFMxcYkDQ==", "cpu": [ "arm64" ], @@ -2017,9 +2017,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.9.5.tgz", - "integrity": "sha512-QaKFVOzzST2xzY4MAmiDmURagWLFh+zZtttuEnuNn19AiZ0T3fhPyjPPGwLNdiDT82ZE91hnfJsUiDwF9DClIQ==", + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.9.6.tgz", + "integrity": "sha512-gpiG0qQJNdYEVad+1iAsGAbgAnZ8j07FapmnIAQgODKcOTjLEWM9sRb+MbQyVsYCnA0Im6M6QIq6ax7liws6eQ==", "cpu": [ "arm64" ], @@ -2030,9 +2030,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.9.5.tgz", - "integrity": "sha512-HeGqmRJuyVg6/X6MpE2ur7GbymBPS8Np0S/vQFHDmocfORT+Zt76qu+69NUoxXzGqVP1pzaY6QIi0FJWLC3OPA==", + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.9.6.tgz", + "integrity": "sha512-+uCOcvVmFUYvVDr27aiyun9WgZk0tXe7ThuzoUTAukZJOwS5MrGbmSlNOhx1j80GdpqbOty05XqSl5w4dQvcOA==", "cpu": [ "riscv64" ], @@ -2043,9 +2043,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.9.5.tgz", - "integrity": "sha512-Dq1bqBdLaZ1Gb/l2e5/+o3B18+8TI9ANlA1SkejZqDgdU/jK/ThYaMPMJpVMMXy2uRHvGKbkz9vheVGdq3cJfA==", + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.9.6.tgz", + "integrity": "sha512-HUNqM32dGzfBKuaDUBqFB7tP6VMN74eLZ33Q9Y1TBqRDn+qDonkAUyKWwF9BR9unV7QUzffLnz9GrnKvMqC/fw==", "cpu": [ "x64" ], @@ -2056,9 +2056,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.9.5.tgz", - "integrity": "sha512-ezyFUOwldYpj7AbkwyW9AJ203peub81CaAIVvckdkyH8EvhEIoKzaMFJj0G4qYJ5sw3BpqhFrsCc30t54HV8vg==", + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.9.6.tgz", + "integrity": "sha512-ch7M+9Tr5R4FK40FHQk8VnML0Szi2KRujUgHXd/HjuH9ifH72GUmw6lStZBo3c3GB82vHa0ZoUfjfcM7JiiMrQ==", "cpu": [ "x64" ], @@ -2069,9 +2069,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.9.5.tgz", - "integrity": "sha512-aHSsMnUw+0UETB0Hlv7B/ZHOGY5bQdwMKJSzGfDfvyhnpmVxLMGnQPGNE9wgqkLUs3+gbG1Qx02S2LLfJ5GaRQ==", + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.9.6.tgz", + "integrity": "sha512-VD6qnR99dhmTQ1mJhIzXsRcTBvTjbfbGGwKAHcu+52cVl15AC/kplkhxzW/uT0Xl62Y/meBKDZvoJSJN+vTeGA==", "cpu": [ "arm64" ], @@ -2082,9 +2082,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.9.5.tgz", - "integrity": "sha512-AiqiLkb9KSf7Lj/o1U3SEP9Zn+5NuVKgFdRIZkvd4N0+bYrTOovVd0+LmYCPQGbocT4kvFyK+LXCDiXPBF3fyA==", + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.9.6.tgz", + "integrity": "sha512-J9AFDq/xiRI58eR2NIDfyVmTYGyIZmRcvcAoJ48oDld/NTR8wyiPUu2X/v1navJ+N/FGg68LEbX3Ejd6l8B7MQ==", "cpu": [ "ia32" ], @@ -2095,9 +2095,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.9.5.tgz", - "integrity": "sha512-1q+mykKE3Vot1kaFJIDoUFv5TuW+QQVaf2FmTT9krg86pQrGStOSJJ0Zil7CFagyxDuouTepzt5Y5TVzyajOdQ==", + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.9.6.tgz", + "integrity": "sha512-jqzNLhNDvIZOrt69Ce4UjGRpXJBzhUBzawMwnaDAwyHriki3XollsewxWzOzz+4yOFDkuJHtTsZFwMxhYJWmLQ==", "cpu": [ "x64" ], @@ -2107,6 +2107,21 @@ "win32" ] }, + "node_modules/@shikijs/core": { + "version": "1.0.0-beta.3", + "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.0.0-beta.3.tgz", + "integrity": "sha512-SCwPom2Wn8XxNlEeqdzycU93SKgzYeVsedjqDsgZaz4XiiPpZUzlHt2NAEQTwTnPcHNZapZ6vbkwJ8P11ggL3Q==", + "dev": true + }, + "node_modules/@shikijs/transformers": { + "version": "1.0.0-beta.3", + "resolved": "https://registry.npmjs.org/@shikijs/transformers/-/transformers-1.0.0-beta.3.tgz", + "integrity": "sha512-ASQQQqxW4dANxMGw4yGkTjtMSsUaRhImv/lzJEdfJ3/eP8TVlVYnohOFQVgpLjBBYGy9P0l0oKrlbjiGosTJ/Q==", + "dev": true, + "dependencies": { + "shiki": "1.0.0-beta.3" + } + }, "node_modules/@types/buble": { "version": "0.19.2", "resolved": "https://registry.npmjs.org/@types/buble/-/buble-0.19.2.tgz", @@ -2222,9 +2237,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.19.8", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.8.tgz", - "integrity": "sha512-g1pZtPhsvGVTwmeVoexWZLTQaOvXwoSq//pTL0DHeNzUDrFnir4fgETdhjhIxjVnN+hKOuh98+E1eMLnUXstFg==", + "version": "18.18.14", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.14.tgz", + "integrity": "sha512-iSOeNeXYNYNLLOMDSVPvIFojclvMZ/HDY2dU17kUlcsOsSQETbWIslJbYLZgA+ox8g2XQwSHKTkght1a5X26lQ==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -2290,16 +2305,16 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.19.0.tgz", - "integrity": "sha512-DUCUkQNklCQYnrBSSikjVChdc84/vMPDQSgJTHBZ64G9bA9w0Crc0rd2diujKbTdp6w2J47qkeHQLoi0rpLCdg==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.20.0.tgz", + "integrity": "sha512-fTwGQUnjhoYHeSF6m5pWNkzmDDdsKELYrOBxhjMrofPqCkoC2k3B2wvGHFxa1CTIqkEn88nlW1HVMztjo2K8Hg==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.19.0", - "@typescript-eslint/type-utils": "6.19.0", - "@typescript-eslint/utils": "6.19.0", - "@typescript-eslint/visitor-keys": "6.19.0", + "@typescript-eslint/scope-manager": "6.20.0", + "@typescript-eslint/type-utils": "6.20.0", + "@typescript-eslint/utils": "6.20.0", + "@typescript-eslint/visitor-keys": "6.20.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -2325,15 +2340,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.19.0.tgz", - "integrity": "sha512-1DyBLG5SH7PYCd00QlroiW60YJ4rWMuUGa/JBV0iZuqi4l4IK3twKPq5ZkEebmGqRjXWVgsUzfd3+nZveewgow==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.20.0.tgz", + "integrity": "sha512-bYerPDF/H5v6V76MdMYhjwmwgMA+jlPVqjSDq2cRqMi8bP5sR3Z+RLOiOMad3nsnmDVmn2gAFCyNgh/dIrfP/w==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.19.0", - "@typescript-eslint/types": "6.19.0", - "@typescript-eslint/typescript-estree": "6.19.0", - "@typescript-eslint/visitor-keys": "6.19.0", + "@typescript-eslint/scope-manager": "6.20.0", + "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/typescript-estree": "6.20.0", + "@typescript-eslint/visitor-keys": "6.20.0", "debug": "^4.3.4" }, "engines": { @@ -2353,13 +2368,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.19.0.tgz", - "integrity": "sha512-dO1XMhV2ehBI6QN8Ufi7I10wmUovmLU0Oru3n5LVlM2JuzB4M+dVphCPLkVpKvGij2j/pHBWuJ9piuXx+BhzxQ==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.20.0.tgz", + "integrity": "sha512-p4rvHQRDTI1tGGMDFQm+GtxP1ZHyAh64WANVoyEcNMpaTFn3ox/3CcgtIlELnRfKzSs/DwYlDccJEtr3O6qBvA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.19.0", - "@typescript-eslint/visitor-keys": "6.19.0" + "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/visitor-keys": "6.20.0" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -2370,13 +2385,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.19.0.tgz", - "integrity": "sha512-mcvS6WSWbjiSxKCwBcXtOM5pRkPQ6kcDds/juxcy/727IQr3xMEcwr/YLHW2A2+Fp5ql6khjbKBzOyjuPqGi/w==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.20.0.tgz", + "integrity": "sha512-qnSobiJQb1F5JjN0YDRPHruQTrX7ICsmltXhkV536mp4idGAYrIyr47zF/JmkJtEcAVnIz4gUYJ7gOZa6SmN4g==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.19.0", - "@typescript-eslint/utils": "6.19.0", + "@typescript-eslint/typescript-estree": "6.20.0", + "@typescript-eslint/utils": "6.20.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -2397,9 +2412,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.19.0.tgz", - "integrity": "sha512-lFviGV/vYhOy3m8BJ/nAKoAyNhInTdXpftonhWle66XHAtT1ouBlkjL496b5H5hb8dWXHwtypTqgtb/DEa+j5A==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.20.0.tgz", + "integrity": "sha512-MM9mfZMAhiN4cOEcUOEx+0HmuaW3WBfukBZPCfwSqFnQy0grXYtngKCqpQN339X3RrwtzspWJrpbrupKYUSBXQ==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -2410,13 +2425,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.19.0.tgz", - "integrity": "sha512-o/zefXIbbLBZ8YJ51NlkSAt2BamrK6XOmuxSR3hynMIzzyMY33KuJ9vuMdFSXW+H0tVvdF9qBPTHA91HDb4BIQ==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.20.0.tgz", + "integrity": "sha512-RnRya9q5m6YYSpBN7IzKu9FmLcYtErkDkc8/dKv81I9QiLLtVBHrjz+Ev/crAqgMNW2FCsoZF4g2QUylMnJz+g==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.19.0", - "@typescript-eslint/visitor-keys": "6.19.0", + "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/visitor-keys": "6.20.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -2438,17 +2453,17 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.19.0.tgz", - "integrity": "sha512-QR41YXySiuN++/dC9UArYOg4X86OAYP83OWTewpVx5ct1IZhjjgTLocj7QNxGhWoTqknsgpl7L+hGygCO+sdYw==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.20.0.tgz", + "integrity": "sha512-/EKuw+kRu2vAqCoDwDCBtDRU6CTKbUmwwI7SH7AashZ+W+7o8eiyy6V2cdOqN49KsTcASWsC5QeghYuRDTyOOg==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.19.0", - "@typescript-eslint/types": "6.19.0", - "@typescript-eslint/typescript-estree": "6.19.0", + "@typescript-eslint/scope-manager": "6.20.0", + "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/typescript-estree": "6.20.0", "semver": "^7.5.4" }, "engines": { @@ -2463,12 +2478,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.19.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.19.0.tgz", - "integrity": "sha512-hZaUCORLgubBvtGpp1JEFEazcuEdfxta9j4iUwdSAr7mEsYYAp3EAUyCZk3VEEqGj6W+AV4uWyrDGtrlawAsgQ==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.20.0.tgz", + "integrity": "sha512-E8Cp98kRe4gKHjJD4NExXKz/zOJ1A2hhZc+IMVD6i7w4yjIvh6VyuRI0gRtxAsXtoC35uGMaQ9rjI2zJaXDEAw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.19.0", + "@typescript-eslint/types": "6.20.0", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -2554,6 +2569,41 @@ "integrity": "sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==", "dev": true }, + "node_modules/@vue/devtools-kit": { + "version": "7.0.14", + "resolved": "https://registry.npmjs.org/@vue/devtools-kit/-/devtools-kit-7.0.14.tgz", + "integrity": "sha512-wAAJazr4hI0aVRpgWOCVPw+NzMQdthhnprHHIg4njp1MkKrpCNGQ7MtQbZF1AltAA7xpMCGyyt+0kYH0FqTiPg==", + "dev": true, + "dependencies": { + "@vue/devtools-schema": "^7.0.14", + "@vue/devtools-shared": "^7.0.14", + "hookable": "^5.5.3", + "mitt": "^3.0.1", + "perfect-debounce": "^1.0.0", + "speakingurl": "^14.0.1" + } + }, + "node_modules/@vue/devtools-kit/node_modules/mitt": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", + "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==", + "dev": true + }, + "node_modules/@vue/devtools-schema": { + "version": "7.0.14", + "resolved": "https://registry.npmjs.org/@vue/devtools-schema/-/devtools-schema-7.0.14.tgz", + "integrity": "sha512-tpUeCLVrdHX+KzWMLTAwx/vAPFbo6jAUi7sr6Q+0mBIqIVSSIxNr5wEhegiFvYva+OtDeM2OrT+f7/X/5bvZNg==", + "dev": true + }, + "node_modules/@vue/devtools-shared": { + "version": "7.0.14", + "resolved": "https://registry.npmjs.org/@vue/devtools-shared/-/devtools-shared-7.0.14.tgz", + "integrity": "sha512-79RP1NDakBVWou9rDpVnT1WMjTbL1lJKm6YEOodjQ0dq5ehf0wsRbeYDhgAlnjehWRzTq5GAYFBFUPYBs0/QpA==", + "dev": true, + "dependencies": { + "rfdc": "^1.3.1" + } + }, "node_modules/@vue/eslint-config-prettier": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/@vue/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz", @@ -2657,9 +2707,9 @@ } }, "node_modules/@vueuse/core/node_modules/vue-demi": { - "version": "0.14.6", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.6.tgz", - "integrity": "sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==", + "version": "0.14.7", + "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.7.tgz", + "integrity": "sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==", "dev": true, "hasInstallScript": true, "bin": { @@ -2749,9 +2799,9 @@ } }, "node_modules/@vueuse/integrations/node_modules/vue-demi": { - "version": "0.14.6", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.6.tgz", - "integrity": "sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==", + "version": "0.14.7", + "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.7.tgz", + "integrity": "sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==", "dev": true, "hasInstallScript": true, "bin": { @@ -2796,9 +2846,9 @@ } }, "node_modules/@vueuse/shared/node_modules/vue-demi": { - "version": "0.14.6", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.6.tgz", - "integrity": "sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==", + "version": "0.14.7", + "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.7.tgz", + "integrity": "sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==", "dev": true, "hasInstallScript": true, "bin": { @@ -3141,9 +3191,9 @@ "dev": true }, "node_modules/available-typed-arrays": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.6.tgz", + "integrity": "sha512-j1QzY8iPNPG4o4xmO3ptzpRxTciqD3MgEHtifP/YnJpIo58Xu+ne4BejlbkuaLfXn/nz6HFiw29bLpj2PNMdGg==", "dev": true, "engines": { "node": ">= 0.4" @@ -3153,9 +3203,9 @@ } }, "node_modules/axios": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", - "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", + "version": "1.6.7", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", + "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", "dev": true, "dependencies": { "follow-redirects": "^1.15.4", @@ -3257,9 +3307,9 @@ "dev": true }, "node_modules/browserslist": { - "version": "4.22.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.2.tgz", - "integrity": "sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A==", + "version": "4.22.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.22.3.tgz", + "integrity": "sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A==", "dev": true, "funding": [ { @@ -3276,8 +3326,8 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001565", - "electron-to-chromium": "^1.4.601", + "caniuse-lite": "^1.0.30001580", + "electron-to-chromium": "^1.4.648", "node-releases": "^2.0.14", "update-browserslist-db": "^1.0.13" }, @@ -3492,9 +3542,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001579", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001579.tgz", - "integrity": "sha512-u5AUVkixruKHJjw/pj9wISlcMpgFWzSrczLZbrqBSxukQixmg0SJ5sZTpvaFvxU0HoQKd4yoyAogyrAz9pzJnA==", + "version": "1.0.30001582", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001582.tgz", + "integrity": "sha512-vsJG3V5vgfduaQGVxL53uSX/HUzxyr2eA8xCo36OLal7sRcSZbibJtLeh0qja4sFOr/QQGt4opB4tOy+eOgAxg==", "dev": true, "funding": [ { @@ -3678,9 +3728,9 @@ "dev": true }, "node_modules/cli-truncate/node_modules/string-width": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.0.0.tgz", - "integrity": "sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.1.0.tgz", + "integrity": "sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==", "dev": true, "dependencies": { "emoji-regex": "^10.3.0", @@ -3946,9 +3996,9 @@ "dev": true }, "node_modules/core-js": { - "version": "3.35.0", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.35.0.tgz", - "integrity": "sha512-ntakECeqg81KqMueeGJ79Q5ZgQNR+6eaE8sxGCx62zMbAIj65q+uYvatToew3m6eAGdU4gNZwpZ34NMe4GYswg==", + "version": "3.35.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.35.1.tgz", + "integrity": "sha512-IgdsbxNyMskrTFxa9lWHyMwAJU5gXOPP+1yO+K59d50VLVAIDAbs7gIv705KzALModfK3ZrSZTPNpC0PQgIZuw==", "dev": true, "hasInstallScript": true, "funding": { @@ -3957,9 +4007,9 @@ } }, "node_modules/core-js-compat": { - "version": "3.35.0", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.35.0.tgz", - "integrity": "sha512-5blwFAddknKeNgsjBzilkdQ0+YK8L1PfqPYq40NOYMYFSS38qj+hpTcLLWwpIwA2A5bje/x5jmVn2tzUMg9IVw==", + "version": "3.35.1", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.35.1.tgz", + "integrity": "sha512-sftHa5qUJY3rs9Zht1WEnmkvXputCyDBczPnr7QDgL8n3qrF3CMXY4VPSYtOLLiOUJcah2WNXREd48iOl6mQIw==", "dev": true, "dependencies": { "browserslist": "^4.22.2" @@ -4213,9 +4263,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.639", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.639.tgz", - "integrity": "sha512-CkKf3ZUVZchr+zDpAlNLEEy2NJJ9T64ULWaDgy3THXXlPVPkLu3VOs9Bac44nebVtdwl2geSj6AxTtGDOxoXhg==", + "version": "1.4.655", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.655.tgz", + "integrity": "sha512-2yszojF7vIZ68adIOvzV4bku8OZad9w5H9xF3ZAMZjPuOjBarlflUkjN6DggdV+L71WZuKUfKUhov/34+G5QHg==", "dev": true }, "node_modules/emoji-regex": { @@ -4375,9 +4425,9 @@ "dev": true }, "node_modules/esbuild": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.11.tgz", - "integrity": "sha512-HJ96Hev2hX/6i5cDVwcqiJBBtuo9+FeIJOtZ9W1kA5M6AMJRHUZlpYZ1/SbEwtO0ioNAW8rUooVpC/WehY2SfA==", + "version": "0.19.12", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.12.tgz", + "integrity": "sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==", "dev": true, "hasInstallScript": true, "bin": { @@ -4387,29 +4437,29 @@ "node": ">=12" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.19.11", - "@esbuild/android-arm": "0.19.11", - "@esbuild/android-arm64": "0.19.11", - "@esbuild/android-x64": "0.19.11", - "@esbuild/darwin-arm64": "0.19.11", - "@esbuild/darwin-x64": "0.19.11", - "@esbuild/freebsd-arm64": "0.19.11", - "@esbuild/freebsd-x64": "0.19.11", - "@esbuild/linux-arm": "0.19.11", - "@esbuild/linux-arm64": "0.19.11", - "@esbuild/linux-ia32": "0.19.11", - "@esbuild/linux-loong64": "0.19.11", - "@esbuild/linux-mips64el": "0.19.11", - "@esbuild/linux-ppc64": "0.19.11", - "@esbuild/linux-riscv64": "0.19.11", - "@esbuild/linux-s390x": "0.19.11", - "@esbuild/linux-x64": "0.19.11", - "@esbuild/netbsd-x64": "0.19.11", - "@esbuild/openbsd-x64": "0.19.11", - "@esbuild/sunos-x64": "0.19.11", - "@esbuild/win32-arm64": "0.19.11", - "@esbuild/win32-ia32": "0.19.11", - "@esbuild/win32-x64": "0.19.11" + "@esbuild/aix-ppc64": "0.19.12", + "@esbuild/android-arm": "0.19.12", + "@esbuild/android-arm64": "0.19.12", + "@esbuild/android-x64": "0.19.12", + "@esbuild/darwin-arm64": "0.19.12", + "@esbuild/darwin-x64": "0.19.12", + "@esbuild/freebsd-arm64": "0.19.12", + "@esbuild/freebsd-x64": "0.19.12", + "@esbuild/linux-arm": "0.19.12", + "@esbuild/linux-arm64": "0.19.12", + "@esbuild/linux-ia32": "0.19.12", + "@esbuild/linux-loong64": "0.19.12", + "@esbuild/linux-mips64el": "0.19.12", + "@esbuild/linux-ppc64": "0.19.12", + "@esbuild/linux-riscv64": "0.19.12", + "@esbuild/linux-s390x": "0.19.12", + "@esbuild/linux-x64": "0.19.12", + "@esbuild/netbsd-x64": "0.19.12", + "@esbuild/openbsd-x64": "0.19.12", + "@esbuild/sunos-x64": "0.19.12", + "@esbuild/win32-arm64": "0.19.12", + "@esbuild/win32-ia32": "0.19.12", + "@esbuild/win32-x64": "0.19.12" } }, "node_modules/escalade": { @@ -4684,9 +4734,9 @@ } }, "node_modules/eslint-plugin-vue": { - "version": "9.20.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-9.20.1.tgz", - "integrity": "sha512-GyCs8K3lkEvoyC1VV97GJhP1SvqsKCiWGHnbn0gVUYiUhaH2+nB+Dv1uekv1THFMPbBfYxukrzQdltw950k+LQ==", + "version": "9.21.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-9.21.1.tgz", + "integrity": "sha512-XVtI7z39yOVBFJyi8Ljbn7kY9yHzznKXL02qQYn+ta63Iy4A9JFBw6o4OSB9hyD2++tVT+su9kQqetUyCCwhjw==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", @@ -4694,7 +4744,7 @@ "nth-check": "^2.1.1", "postcss-selector-parser": "^6.0.13", "semver": "^7.5.4", - "vue-eslint-parser": "^9.4.0", + "vue-eslint-parser": "^9.4.2", "xml-name-validator": "^4.0.0" }, "engines": { @@ -5024,9 +5074,9 @@ "dev": true }, "node_modules/fastq": { - "version": "1.16.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.16.0.tgz", - "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==", + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.0.tgz", + "integrity": "sha512-zGygtijUMT7jnk3h26kUms3BkSDp4IfIKjmnqI2tvx6nuBfiF1UqOxbnLfzdv+apBy+53oaImsKtMw/xYbW+1w==", "dev": true, "dependencies": { "reusify": "^1.0.4" @@ -5042,31 +5092,27 @@ } }, "node_modules/figures": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-5.0.0.tgz", - "integrity": "sha512-ej8ksPF4x6e5wvK9yevct0UCXh8TTFlWGVLlgjZuoBH1HwjIfKE/IdL5mq89sFA7zELi1VhKpmtDnrs7zWyeyg==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", + "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", "dev": true, "dependencies": { - "escape-string-regexp": "^5.0.0", - "is-unicode-supported": "^1.2.0" + "escape-string-regexp": "^1.0.5" }, "engines": { - "node": ">=14" + "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/figures/node_modules/escape-string-regexp": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz", - "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", "dev": true, "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=0.8.0" } }, "node_modules/file-entry-cache": { @@ -5696,12 +5742,12 @@ } }, "node_modules/has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", "dev": true, "dependencies": { - "has-symbols": "^1.0.2" + "has-symbols": "^1.0.3" }, "engines": { "node": ">= 0.4" @@ -5768,6 +5814,12 @@ "he": "bin/he" } }, + "node_modules/hookable": { + "version": "5.5.3", + "resolved": "https://registry.npmjs.org/hookable/-/hookable-5.5.3.tgz", + "integrity": "sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==", + "dev": true + }, "node_modules/hosted-git-info": { "version": "2.8.9", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", @@ -5850,9 +5902,9 @@ ] }, "node_modules/ignore": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", - "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", + "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", "dev": true, "engines": { "node": ">= 4" @@ -5909,18 +5961,18 @@ "dev": true }, "node_modules/inquirer": { - "version": "9.2.12", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-9.2.12.tgz", - "integrity": "sha512-mg3Fh9g2zfuVWJn6lhST0O7x4n03k7G8Tx5nvikJkbq8/CK47WDVm+UznF0G6s5Zi0KcyUisr6DU8T67N5U+1Q==", + "version": "9.2.13", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-9.2.13.tgz", + "integrity": "sha512-mUlJNemjYioZgaZXqEFlQ0z9GD8/o+pavIF3JyhzWLX4Xa9M1wioGMCxQEFmps70un9lrah2WaBl3kSRVcoV3g==", "dev": true, "dependencies": { - "@ljharb/through": "^2.3.11", + "@ljharb/through": "^2.3.12", "ansi-escapes": "^4.3.2", "chalk": "^5.3.0", "cli-cursor": "^3.1.0", "cli-width": "^4.1.0", "external-editor": "^3.1.0", - "figures": "^5.0.0", + "figures": "^3.2.0", "lodash": "^4.17.21", "mute-stream": "1.0.0", "ora": "^5.4.1", @@ -6253,12 +6305,12 @@ } }, "node_modules/is-typed-array": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", - "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.13.tgz", + "integrity": "sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw==", "dev": true, "dependencies": { - "which-typed-array": "^1.1.11" + "which-typed-array": "^1.1.14" }, "engines": { "node": ">= 0.4" @@ -6274,12 +6326,12 @@ "dev": true }, "node_modules/is-unicode-supported": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", - "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==", + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", "dev": true, "engines": { - "node": ">=12" + "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -6570,9 +6622,9 @@ "dev": true }, "node_modules/lint-staged": { - "version": "15.2.0", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.0.tgz", - "integrity": "sha512-TFZzUEV00f+2YLaVPWBWGAMq7So6yQx+GG8YRMDeOEIf95Zn5RyiLMsEiX4KTNl9vq/w+NqRJkLA1kPIo15ufQ==", + "version": "15.2.1", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.1.tgz", + "integrity": "sha512-dhwAPnM85VdshybV9FWI/9ghTvMLoQLEXgVMx+ua2DN7mdfzd/tRfoU2yhMcBac0RHkofoxdnnJUokr8s4zKmQ==", "dev": true, "dependencies": { "chalk": "5.3.0", @@ -6580,7 +6632,7 @@ "debug": "4.3.4", "execa": "8.0.1", "lilconfig": "3.0.0", - "listr2": "8.0.0", + "listr2": "8.0.1", "micromatch": "4.0.5", "pidtree": "0.6.0", "string-argv": "0.3.2", @@ -6606,9 +6658,9 @@ } }, "node_modules/listr2": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.0.0.tgz", - "integrity": "sha512-u8cusxAcyqAiQ2RhYvV7kRKNLgUvtObIbhOX2NCXqvp1UU32xIg5CT22ykS2TPKJXZWJwtK3IKLiqAGlGNE+Zg==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-8.0.1.tgz", + "integrity": "sha512-ovJXBXkKGfq+CwmKTjluEqFi3p4h8xvkxGQQAQan22YCgef4KZ1mKGjzfGh6PL6AW5Csw0QiQPNuQyH+6Xk3hA==", "dev": true, "dependencies": { "cli-truncate": "^4.0.0", @@ -6641,9 +6693,9 @@ "dev": true }, "node_modules/listr2/node_modules/string-width": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.0.0.tgz", - "integrity": "sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.1.0.tgz", + "integrity": "sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==", "dev": true, "dependencies": { "emoji-regex": "^10.3.0", @@ -6793,18 +6845,6 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, - "node_modules/log-symbols/node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/log-symbols/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -6962,9 +7002,9 @@ } }, "node_modules/log-update/node_modules/string-width": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.0.0.tgz", - "integrity": "sha512-GPQHj7row82Hjo9hKZieKcHIhaAIKOJvFSIZXuCU9OASVZrMNUaZuz++SPVrBjnLsnk4k+z9f2EIypgxf2vNFw==", + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.1.0.tgz", + "integrity": "sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw==", "dev": true, "dependencies": { "emoji-regex": "^10.3.0", @@ -7032,9 +7072,9 @@ } }, "node_modules/magic-string": { - "version": "0.30.5", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.5.tgz", - "integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==", + "version": "0.30.6", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.6.tgz", + "integrity": "sha512-n62qCLbPjNjyo+owKtveQxZFZTBm+Ms6YoGD23Wew6Vw337PElFNifQpknPruVRQV57kVShPnLGo9vWxVhpPvA==", "dev": true, "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15" @@ -8017,18 +8057,6 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, - "node_modules/ora/node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/ora/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -8218,6 +8246,12 @@ "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", "dev": true }, + "node_modules/perfect-debounce": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-1.0.0.tgz", + "integrity": "sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==", + "dev": true + }, "node_modules/picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", @@ -8275,9 +8309,9 @@ } }, "node_modules/pinia/node_modules/vue-demi": { - "version": "0.14.6", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.6.tgz", - "integrity": "sha512-8QA7wrYSHKaYgUxDA5ZC24w+eHm3sYCbp0EzcDwKqN3p6HqtTCGR/GVsPyZW92unff4UlcSh++lmqDWN3ZIq4w==", + "version": "0.14.7", + "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.14.7.tgz", + "integrity": "sha512-EOG8KXDQNwkJILkx/gPcoL/7vH+hORoBaKgGe+6W7VFMvCYJfmF2dGbvgDroVnI8LU7/kTu8mbjRZGBU1z9NTA==", "dev": true, "hasInstallScript": true, "bin": { @@ -8555,7 +8589,7 @@ "version": "19.11.1", "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-19.11.1.tgz", "integrity": "sha512-39olGaX2djYUdhaQQHDZ0T0GwEp+5f9UB9HmEP0qHfdQHIq0xGQZuAZ5TLnJIc/88SrPLpEflPC+xUqOTv3c5g==", - "deprecated": "< 21.3.7 is no longer supported", + "deprecated": "< 21.5.0 is no longer supported", "dev": true, "hasInstallScript": true, "dependencies": { @@ -9001,9 +9035,9 @@ } }, "node_modules/rfdc": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz", - "integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.1.tgz", + "integrity": "sha512-r5a3l5HzYlIC68TpmYKlxWjmOP6wiPJ1vWv2HeLhNsRZMrCkxeqxiHlQ21oXmQ4F3SiryXBHhAD7JZqvOJjFmg==", "dev": true }, "node_modules/rimraf": { @@ -9064,9 +9098,9 @@ } }, "node_modules/rollup": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.9.5.tgz", - "integrity": "sha512-E4vQW0H/mbNMw2yLSqJyjtkHY9dslf/p0zuT1xehNRqUTBOFMqEjguDvqhXr7N7r/4ttb2jr4T41d3dncmIgbQ==", + "version": "4.9.6", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.9.6.tgz", + "integrity": "sha512-05lzkCS2uASX0CiLFybYfVkwNbKZG5NFQ6Go0VWyogFTXXbR039UVsegViTntkk4OglHBdF54ccApXRRuXRbsg==", "dev": true, "dependencies": { "@types/estree": "1.0.5" @@ -9079,19 +9113,19 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.9.5", - "@rollup/rollup-android-arm64": "4.9.5", - "@rollup/rollup-darwin-arm64": "4.9.5", - "@rollup/rollup-darwin-x64": "4.9.5", - "@rollup/rollup-linux-arm-gnueabihf": "4.9.5", - "@rollup/rollup-linux-arm64-gnu": "4.9.5", - "@rollup/rollup-linux-arm64-musl": "4.9.5", - "@rollup/rollup-linux-riscv64-gnu": "4.9.5", - "@rollup/rollup-linux-x64-gnu": "4.9.5", - "@rollup/rollup-linux-x64-musl": "4.9.5", - "@rollup/rollup-win32-arm64-msvc": "4.9.5", - "@rollup/rollup-win32-ia32-msvc": "4.9.5", - "@rollup/rollup-win32-x64-msvc": "4.9.5", + "@rollup/rollup-android-arm-eabi": "4.9.6", + "@rollup/rollup-android-arm64": "4.9.6", + "@rollup/rollup-darwin-arm64": "4.9.6", + "@rollup/rollup-darwin-x64": "4.9.6", + "@rollup/rollup-linux-arm-gnueabihf": "4.9.6", + "@rollup/rollup-linux-arm64-gnu": "4.9.6", + "@rollup/rollup-linux-arm64-musl": "4.9.6", + "@rollup/rollup-linux-riscv64-gnu": "4.9.6", + "@rollup/rollup-linux-x64-gnu": "4.9.6", + "@rollup/rollup-linux-x64-musl": "4.9.6", + "@rollup/rollup-win32-arm64-msvc": "4.9.6", + "@rollup/rollup-win32-ia32-msvc": "4.9.6", + "@rollup/rollup-win32-x64-msvc": "4.9.6", "fsevents": "~2.3.2" } }, @@ -9470,28 +9504,13 @@ "node": "*" } }, - "node_modules/shikiji": { - "version": "0.9.19", - "resolved": "https://registry.npmjs.org/shikiji/-/shikiji-0.9.19.tgz", - "integrity": "sha512-Kw2NHWktdcdypCj1GkKpXH4o6Vxz8B8TykPlPuLHOGSV8VkhoCLcFOH4k19K4LXAQYRQmxg+0X/eM+m2sLhAkg==", + "node_modules/shiki": { + "version": "1.0.0-beta.3", + "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.0.0-beta.3.tgz", + "integrity": "sha512-z7cHTNSSvwGx2DfeLwjSNLo+HcVxifgNIzLm6Ye52eXcIwNHXT0wHbhy7FDOKSKveuEHBwt9opfj3Hoc8LE1Yg==", "dev": true, "dependencies": { - "shikiji-core": "0.9.19" - } - }, - "node_modules/shikiji-core": { - "version": "0.9.19", - "resolved": "https://registry.npmjs.org/shikiji-core/-/shikiji-core-0.9.19.tgz", - "integrity": "sha512-AFJu/vcNT21t0e6YrfadZ+9q86gvPum6iywRyt1OtIPjPFe25RQnYJyxHQPMLKCCWA992TPxmEmbNcOZCAJclw==", - "dev": true - }, - "node_modules/shikiji-transformers": { - "version": "0.9.19", - "resolved": "https://registry.npmjs.org/shikiji-transformers/-/shikiji-transformers-0.9.19.tgz", - "integrity": "sha512-lGLI7Z8frQrIBbhZ74/eiJtxMoCQRbpaHEB+gcfvdIy+ZFaAtXncJGnc52932/UET+Y4GyKtwwC/vjWUCp+c/Q==", - "dev": true, - "dependencies": { - "shikiji": "0.9.19" + "@shikijs/core": "1.0.0-beta.3" } }, "node_modules/shx": { @@ -9665,9 +9684,9 @@ } }, "node_modules/spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.4.0.tgz", + "integrity": "sha512-hcjppoJ68fhxA/cjbN4T8N6uCUejN8yFw69ttpqtBeCbF3u13n7mb31NB9jKwGTTWWnt9IbRA/mf1FprYS8wfw==", "dev": true }, "node_modules/spdx-expression-parse": { @@ -9712,6 +9731,15 @@ "spdx-ranges": "^2.0.0" } }, + "node_modules/speakingurl": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/speakingurl/-/speakingurl-14.0.1.tgz", + "integrity": "sha512-1POYv7uv2gXoyGFpBCmpDVSNV74IfsWlDW216UPjbWufNf+bSU6GdbDsxdcxtfwb4xlI3yxzOTKClUosxARYrQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", @@ -10514,26 +10542,26 @@ } }, "node_modules/vitepress": { - "version": "1.0.0-rc.39", - "resolved": "https://registry.npmjs.org/vitepress/-/vitepress-1.0.0-rc.39.tgz", - "integrity": "sha512-EcgoRlAAp37WOxUOYv45oxyhLrcy3Upey+mKpqW3ldsg6Ol4trPndRBk2GO0QiSvEKlb9BMerk49D/bFICN6kg==", + "version": "1.0.0-rc.41", + "resolved": "https://registry.npmjs.org/vitepress/-/vitepress-1.0.0-rc.41.tgz", + "integrity": "sha512-PAEoIIc9J//k/Wg39C6k86hZpXPmLZjRiTBwieDNeYGdevD7xr5Ve8o1W/w+e9dtyQMkuvzgianEamXDX3aj7g==", "dev": true, "dependencies": { "@docsearch/css": "^3.5.2", "@docsearch/js": "^3.5.2", + "@shikijs/core": "^1.0.0-beta.3", + "@shikijs/transformers": "^1.0.0-beta.3", "@types/markdown-it": "^13.0.7", "@vitejs/plugin-vue": "^5.0.3", - "@vue/devtools-api": "^6.5.1", + "@vue/devtools-api": "^7.0.14", "@vueuse/core": "^10.7.2", "@vueuse/integrations": "^10.7.2", "focus-trap": "^7.5.4", "mark.js": "8.11.1", "minisearch": "^6.3.0", - "shikiji": "^0.9.19", - "shikiji-core": "^0.9.19", - "shikiji-transformers": "^0.9.19", - "vite": "^5.0.11", - "vue": "^3.4.14" + "shiki": "^1.0.0-beta.3", + "vite": "^5.0.12", + "vue": "^3.4.15" }, "bin": { "vitepress": "bin/vitepress.js" @@ -10551,6 +10579,15 @@ } } }, + "node_modules/vitepress/node_modules/@vue/devtools-api": { + "version": "7.0.14", + "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-7.0.14.tgz", + "integrity": "sha512-TluWR9qZ6aO11bwtYK8+fzXxBqLfsE0mWZz1q/EQBmO9k82Cm6deieLwNNXjNFJz7xutazoia5Qa+zTYkPPOfw==", + "dev": true, + "dependencies": { + "@vue/devtools-kit": "^7.0.14" + } + }, "node_modules/vue": { "version": "3.4.15", "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.15.tgz", @@ -10573,9 +10610,9 @@ } }, "node_modules/vue-eslint-parser": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-9.4.0.tgz", - "integrity": "sha512-7KsNBb6gHFA75BtneJsoK/dbZ281whUIwFYdQxA68QrCrGMXYzUMbPDHGcOQ0OocIVKrWSKWXZ4mL7tonCXoUw==", + "version": "9.4.2", + "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-9.4.2.tgz", + "integrity": "sha512-Ry9oiGmCAK91HrKMtCrKFWmSFWvYkpGglCeFAIqDdr9zdXmMMpJOmUJS7WWsW7fX81h6mwHmUZCQQ1E0PkSwYQ==", "dev": true, "dependencies": { "debug": "^4.3.4", @@ -10727,16 +10764,16 @@ "dev": true }, "node_modules/which-typed-array": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz", - "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==", + "version": "1.1.14", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.14.tgz", + "integrity": "sha512-VnXFiIW8yNn9kIHN88xvZ4yOWchftKDsRJ8fEPacX/wl1lOvBrhsJ/OeJCXq7B0AaijRuqgzSKalJoPk+D8MPg==", "dev": true, "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.4", + "available-typed-arrays": "^1.0.6", + "call-bind": "^1.0.5", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" + "has-tostringtag": "^1.0.1" }, "engines": { "node": ">= 0.4" diff --git a/package.json b/package.json index 945ad84b2..c13b3ce0f 100644 --- a/package.json +++ b/package.json @@ -115,10 +115,10 @@ "@codemirror/language": "^6.10.0", "@codemirror/search": "^6.5.5", "@codemirror/state": "^6.4.0", - "@codemirror/view": "^6.23.0", + "@codemirror/view": "^6.23.1", "@jridgewell/sourcemap-codec": "^1.4.15", "@mermaid-js/mermaid-cli": "^10.6.1", - "@napi-rs/cli": "^2.17.0", + "@napi-rs/cli": "^2.18.0", "@rollup/plugin-alias": "^5.1.0", "@rollup/plugin-buble": "^1.0.3", "@rollup/plugin-commonjs": "^25.0.7", @@ -131,10 +131,10 @@ "@types/eslint": "^8.56.2", "@types/inquirer": "^9.0.7", "@types/mocha": "^10.0.6", - "@types/node": "^18.11.19", + "@types/node": "^18.18.14", "@types/yargs-parser": "^21.0.3", - "@typescript-eslint/eslint-plugin": "^6.19.0", - "@typescript-eslint/parser": "^6.19.0", + "@typescript-eslint/eslint-plugin": "^6.20.0", + "@typescript-eslint/parser": "^6.20.0", "@vue/eslint-config-prettier": "^9.0.0", "@vue/eslint-config-typescript": "^12.0.0", "acorn": "^8.11.3", @@ -144,7 +144,7 @@ "chokidar": "^3.5.3", "colorette": "^2.0.20", "concurrently": "^8.2.2", - "core-js": "^3.35.0", + "core-js": "^3.35.1", "date-time": "^4.0.0", "es5-shim": "^4.6.7", "es6-shim": "^0.35.8", @@ -159,7 +159,7 @@ "fs-extra": "^11.2.0", "github-api": "^3.4.0", "husky": "^9.0.7", - "inquirer": "^9.2.12", + "inquirer": "^9.2.13", "is-reference": "^3.0.2", "lint-staged": "^15.2.0", "locate-character": "^3.0.0", @@ -167,11 +167,11 @@ "mocha": "^10.2.0", "nyc": "^15.1.0", "pinia": "^2.1.7", - "prettier": "^3.2.2", + "prettier": "^3.2.4", "pretty-bytes": "^6.1.1", "pretty-ms": "^9.0.0", "requirejs": "^2.3.6", - "rollup": "^4.9.5", + "rollup": "^4.9.6", "rollup-plugin-license": "^3.2.0", "rollup-plugin-string": "^3.0.0", "semver": "^7.5.4", @@ -180,18 +180,18 @@ "source-map": "^0.7.4", "source-map-support": "^0.5.21", "systemjs": "^6.14.3", - "terser": "^5.26.0", + "terser": "^5.27.0", "tslib": "^2.6.2", "typescript": "^5.3.3", - "vite": "^5.0.11", - "vitepress": "^1.0.0-rc.39", - "vue": "^3.4.14", + "vite": "^5.0.12", + "vitepress": "^1.0.0-rc.40", + "vue": "^3.4.15", "wasm-pack": "^0.12.1", "weak-napi": "^2.0.2", "yargs-parser": "^21.1.1" }, "overrides": { - "axios": "^1.6.5", + "axios": "^1.6.7", "semver": "^7.5.4" }, "files": [ diff --git a/renovate.json b/renovate.json index f835a09f8..a382f4e67 100644 --- a/renovate.json +++ b/renovate.json @@ -4,11 +4,14 @@ "dependencyDashboard": true, "configMigration": true, "rangeStrategy": "bump", + "prHourlyLimit": 0, "packageRules": [ { - "matchUpdateTypes": ["minor", "patch", "lockFileMaintenance"], + "matchUpdateTypes": ["minor", "patch", "lockFileMaintenance", "pin"], "groupName": "minor/patch updates", - "automerge": true + "automerge": true, + "automergeType": "pr", + "platformAutomerge": true }, { "matchPackageNames": ["node", "npm", "fsevents", "@rollup/plugin-typescript"], @@ -21,9 +24,7 @@ } ], - "automerge": true, - "automergeType": "pr", - "platformAutomerge": true, + "automerge": false, "internalChecksFilter": "strict", "lockFileMaintenance": { "enabled": true, diff --git a/rust/Cargo.lock b/rust/Cargo.lock index af668df07..dd2874265 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -283,9 +283,9 @@ checksum = "cb56e1aa765b4b4f3aadfab769793b7087bb03a4ea4920644a6d238e2df5b9ed" [[package]] name = "indexmap" -version = "2.1.0" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +checksum = "824b2ae422412366ba479e8111fd301f7b5faece8149317bb81925979a53f520" dependencies = [ "equivalent", "hashbrown", @@ -326,9 +326,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.152" +version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "libloading" @@ -384,9 +384,9 @@ dependencies = [ [[package]] name = "napi" -version = "2.14.2" +version = "2.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fc1cb00cde484640da9f01a124edbb013576a6ae9843b23857c940936b76d91" +checksum = "43792514b0c95c5beec42996da0c1b39265b02b75c97baa82d163d3ef55cbfa7" dependencies = [ "bitflags 2.4.2", "ctor", @@ -403,9 +403,9 @@ checksum = "d4b4532cf86bfef556348ac65e561e3123879f0e7566cca6d43a6ff5326f13df" [[package]] name = "napi-derive" -version = "2.14.6" +version = "2.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e61bec1ee990ae3e9a5f443484c65fb38e571a898437f0ad283ed69c82fc59c0" +checksum = "7622f0dbe0968af2dacdd64870eee6dee94f93c989c841f1ad8f300cf1abd514" dependencies = [ "cfg-if", "convert_case", @@ -417,9 +417,9 @@ dependencies = [ [[package]] name = "napi-derive-backend" -version = "1.0.58" +version = "1.0.59" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2314f777bc9cde51705d991c44466cee4de4a3f41c6d3d019fcbbebb5cdd47c4" +checksum = "8ec514d65fce18a959be55e7f683ac89c6cb850fb59b09e25ab777fd5a4a8d9e" dependencies = [ "convert_case", "once_cell", @@ -611,9 +611,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.76" +version = "1.0.78" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95fc56cda0b5c3325f5fbbd7ff9fda9e02bb00bb3dac51252d2f1bfa1cb8cc8c" +checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" dependencies = [ "unicode-ident", ] @@ -668,9 +668,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.2" +version = "1.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" +checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" dependencies = [ "aho-corasick", "memchr", @@ -680,9 +680,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.3" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" +checksum = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd" dependencies = [ "aho-corasick", "memchr", @@ -757,18 +757,18 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" [[package]] name = "serde" -version = "1.0.195" +version = "1.0.196" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02" +checksum = "870026e60fa08c69f064aa766c10f10b1d62db9ccd4d0abb206472bee0ce3b32" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.195" +version = "1.0.196" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c" +checksum = "33c85360c95e7d137454dc81d9a4ed2b8efd8fbe19cee57357b32b9771fccb67" dependencies = [ "proc-macro2", "quote", @@ -777,9 +777,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.111" +version = "1.0.113" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "176e46fa42316f18edd598015a5166857fc835ec732f5215eac6b7bdbf0a84f4" +checksum = "69801b70b1c3dac963ecb03a364ba0ceda9cf60c71cfe475e99864759c8b8a79" dependencies = [ "itoa", "ryu", @@ -794,9 +794,9 @@ checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" [[package]] name = "smallvec" -version = "1.13.0" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b187f0231d56fe41bfb12034819dd2bf336422a5866de41bc3fec4b2e3883e8" +checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" [[package]] name = "smartstring" @@ -870,9 +870,9 @@ dependencies = [ [[package]] name = "swc_cached" -version = "0.3.18" +version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68b357b80879f6c4f4f34879d02eeae63aafc7730293e6eda3686f990d160486" +checksum = "630c761c74ac8021490b78578cc2223aa4a568241e26505c27bf0e4fd4ad8ec2" dependencies = [ "ahash", "anyhow", @@ -884,9 +884,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.33.12" +version = "0.33.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b3ae36feceded27f0178dc9dabb49399830847ffb7f866af01798844de8f973" +checksum = "3792c10fa5d3e93a705b31f13fdea4a6e68c3c20d4351e84ed1741b7864399cd" dependencies = [ "ahash", "ast_node", @@ -912,12 +912,13 @@ dependencies = [ [[package]] name = "swc_compiler_base" -version = "0.4.23" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49881e24dbe646dec45e733e5ede5483aaf0759e97586d3a6ffbb9d9ae7736da" +checksum = "8c18e66e2338e06fe234589cf66ae9d0c8d89b3bacd086dd6199ac2ab3c627a2" dependencies = [ "anyhow", "base64", + "once_cell", "pathdiff", "serde", "sourcemap", @@ -934,13 +935,16 @@ dependencies = [ [[package]] name = "swc_config" -version = "0.1.9" +version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "112884e66b60e614c0f416138b91b8b82b7fea6ed0ecc5e26bad4726c57a6c99" +checksum = "c29e3b76a63111ef318f161bc413dfc093f21da1afca9ba5cdd6442b7069d65b" dependencies = [ + "anyhow", "indexmap", "serde", "serde_json", + "sourcemap", + "swc_cached", "swc_config_macro", ] @@ -958,9 +962,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.110.17" +version = "0.111.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79401a45da704f4fb2552c5bf86ee2198e8636b121cb81f8036848a300edd53b" +checksum = "e12b4d0f3b31d293dac16fc13a50f8a282a3bdb658f2a000ffe09b1b638f45c9" dependencies = [ "bitflags 2.4.2", "is-macro", @@ -976,9 +980,9 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "0.146.54" +version = "0.147.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99b61ca275e3663238b71c4b5da8e6fb745bde9989ef37d94984dfc81fc6d009" +checksum = "721e18916b1c7540e37d9791460c92371d2731ea8d11550e090a62226964d58c" dependencies = [ "memchr", "num-bigint", @@ -1007,9 +1011,9 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "0.190.22" +version = "0.191.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3142eaa2d4b80d5279d8b4d840fc2d006a9f3129d78063b3cd864b8c225fefd" +checksum = "7500629f51349fa4d754ae65659cdd31a1b9507b7788f95d4a35c7b5f90a25d3" dependencies = [ "arrayvec", "indexmap", @@ -1024,7 +1028,6 @@ dependencies = [ "serde", "serde_json", "swc_atoms", - "swc_cached", "swc_common", "swc_config", "swc_ecma_ast", @@ -1041,9 +1044,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.141.37" +version = "0.142.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4d17401dd95048a6a62b777d533c0999dabdd531ef9d667e22f8ae2a2a0d294" +checksum = "5c3eedda441af51ca25caebb88837649a40e2a39b763344a53cfedd869740c71" dependencies = [ "either", "new_debug_unreachable", @@ -1063,9 +1066,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "0.135.11" +version = "0.136.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d4ab26ec124b03e47f54d4daade8e9a9dcd66d3a4ca3cd47045f138d267a60e" +checksum = "4ac76e9680791b06239fdf69ede6d9f7e6d0e2ae7280adcfa71c5e1af5aa6303" dependencies = [ "better_scoped_tls", "bitflags 2.4.2", @@ -1098,9 +1101,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "0.196.18" +version = "0.197.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95b7acea7f3306e5b9c3b19abc02f85885309f154901c951c63c3bcef4b0ff82" +checksum = "1481a324eba425d35e7283daa006764234ff679ab02b08c81bed2904de6e4e12" dependencies = [ "dashmap", "indexmap", @@ -1122,9 +1125,9 @@ dependencies = [ [[package]] name = "swc_ecma_usage_analyzer" -version = "0.21.5" +version = "0.22.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bf6ae5dd022ac6f39034896dd94eaeb590bf1fc6ab6e4f302fc9cdd8569e9b7" +checksum = "9311eb3a2c41c4134b15a69469c096ab715ccdf2eed81f60c91d252514f1bb7f" dependencies = [ "indexmap", "rustc-hash", @@ -1139,9 +1142,9 @@ dependencies = [ [[package]] name = "swc_ecma_utils" -version = "0.125.4" +version = "0.126.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cead1083e46b0f072a82938f16d366014468f7510350957765bb4d013496890" +checksum = "2f6edc4064cd932c6d267c05f0b161e6aaa4df4f900d5e1db8c92eda8edcc410" dependencies = [ "indexmap", "num_cpus", @@ -1157,9 +1160,9 @@ dependencies = [ [[package]] name = "swc_ecma_visit" -version = "0.96.17" +version = "0.97.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d0100c383fb08b6f34911ab6f925950416a5d14404c1cd520d59fb8dfbb3bf" +checksum = "26ecefeec816318f1d449b4bac2e28a4243a167cc16620e15c3c1f2d91085770" dependencies = [ "num-bigint", "swc_atoms", @@ -1182,9 +1185,9 @@ dependencies = [ [[package]] name = "swc_fast_graph" -version = "0.21.13" +version = "0.21.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acfc056067a0fbfe26a4763c1eb246e813fdbe6b376415d07915e96e15481b6" +checksum = "0c9c9e567014e157af520f74b1a5bc151fece681136754b80b3fec6b908e26a0" dependencies = [ "indexmap", "petgraph", @@ -1205,9 +1208,9 @@ dependencies = [ [[package]] name = "swc_timer" -version = "0.21.14" +version = "0.21.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b37010da5874d241c9e11ef020b8e4473f3af4e5d2e19219e92d99c04f12e0c6" +checksum = "9d15ec9bca22690ba9a373af069e366c9f43e48dd4d328aea6ba138f93ff0276" dependencies = [ "tracing", ] diff --git a/rust/bindings_napi/Cargo.toml b/rust/bindings_napi/Cargo.toml index 18179006a..c725b0934 100644 --- a/rust/bindings_napi/Cargo.toml +++ b/rust/bindings_napi/Cargo.toml @@ -10,8 +10,8 @@ crate-type = ["cdylib"] [dependencies] # Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix -napi = { version = "2.14.2", default-features = false, features = ["napi4"] } -napi-derive = "2.14.6" +napi = { version = "2.15.1", default-features = false, features = ["napi4"] } +napi-derive = "2.15.0" parse_ast = { path = "../parse_ast" } xxhash = { path = "../xxhash" } diff --git a/rust/parse_ast/Cargo.toml b/rust/parse_ast/Cargo.toml index f34d1d4b2..764ca1c39 100644 --- a/rust/parse_ast/Cargo.toml +++ b/rust/parse_ast/Cargo.toml @@ -8,8 +8,8 @@ edition = "2021" [dependencies] anyhow = "1.0.79" swc_atoms = "0.6.5" -swc_compiler_base = "0.4.23" -swc_common = { version = "0.33.12", features = ["ahash", "parking_lot"] } -swc_ecma_ast = "0.110.17" -swc_ecma_parser = "0.141.37" +swc_compiler_base = "0.6.6" +swc_common = { version = "0.33.15", features = ["ahash", "parking_lot"] } +swc_ecma_ast = "0.111.1" +swc_ecma_parser = "0.142.1" parking_lot = "0.12.1" diff --git a/test/form/samples/supports-core-js/_expected.js b/test/form/samples/supports-core-js/_expected.js index 23c77e6a0..5905790a1 100644 --- a/test/form/samples/supports-core-js/_expected.js +++ b/test/form/samples/supports-core-js/_expected.js @@ -45,10 +45,10 @@ var functionBindNative = !fails$1s(function () { var NATIVE_BIND$4 = functionBindNative; -var call$1h = Function.prototype.call; +var call$1i = Function.prototype.call; -var functionCall = NATIVE_BIND$4 ? call$1h.bind(call$1h) : function () { - return call$1h.apply(call$1h, arguments); +var functionCall = NATIVE_BIND$4 ? call$1i.bind(call$1i) : function () { + return call$1i.apply(call$1i, arguments); }; var objectPropertyIsEnumerable = {}; @@ -79,30 +79,30 @@ var createPropertyDescriptor$d = function (bitmap, value) { var NATIVE_BIND$3 = functionBindNative; var FunctionPrototype$5 = Function.prototype; -var call$1g = FunctionPrototype$5.call; -var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$5.bind.bind(call$1g, call$1g); +var call$1h = FunctionPrototype$5.call; +var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$5.bind.bind(call$1h, call$1h); var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function (fn) { return function () { - return call$1g.apply(fn, arguments); + return call$1h.apply(fn, arguments); }; }; -var uncurryThis$1Y = functionUncurryThis; +var uncurryThis$1X = functionUncurryThis; -var toString$L = uncurryThis$1Y({}.toString); -var stringSlice$n = uncurryThis$1Y(''.slice); +var toString$L = uncurryThis$1X({}.toString); +var stringSlice$n = uncurryThis$1X(''.slice); var classofRaw$2 = function (it) { return stringSlice$n(toString$L(it), 8, -1); }; -var uncurryThis$1X = functionUncurryThis; +var uncurryThis$1W = functionUncurryThis; var fails$1r = fails$1u; var classof$r = classofRaw$2; var $Object$8 = Object; -var split$5 = uncurryThis$1X(''.split); +var split$5 = uncurryThis$1W(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings var indexedObject = fails$1r(function () { @@ -167,9 +167,9 @@ var getBuiltIn$M = function (namespace, method) { return arguments.length < 2 ? aFunction(global$19[namespace]) : global$19[namespace] && global$19[namespace][method]; }; -var uncurryThis$1W = functionUncurryThis; +var uncurryThis$1V = functionUncurryThis; -var objectIsPrototypeOf = uncurryThis$1W({}.isPrototypeOf); +var objectIsPrototypeOf = uncurryThis$1V({}.isPrototypeOf); var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; @@ -272,7 +272,7 @@ var getMethod$l = function (V, P) { return isNullOrUndefined$h(func) ? undefined : aCallable$L(func); }; -var call$1f = functionCall; +var call$1g = functionCall; var isCallable$D = isCallable$I; var isObject$L = isObject$M; @@ -282,9 +282,9 @@ var $TypeError$J = TypeError; // https://tc39.es/ecma262/#sec-ordinarytoprimitive var ordinaryToPrimitive$2 = function (input, pref) { var fn, val; - if (pref === 'string' && isCallable$D(fn = input.toString) && !isObject$L(val = call$1f(fn, input))) return val; - if (isCallable$D(fn = input.valueOf) && !isObject$L(val = call$1f(fn, input))) return val; - if (pref !== 'string' && isCallable$D(fn = input.toString) && !isObject$L(val = call$1f(fn, input))) return val; + if (pref === 'string' && isCallable$D(fn = input.toString) && !isObject$L(val = call$1g(fn, input))) return val; + if (isCallable$D(fn = input.valueOf) && !isObject$L(val = call$1g(fn, input))) return val; + if (pref !== 'string' && isCallable$D(fn = input.toString) && !isObject$L(val = call$1g(fn, input))) return val; throw new $TypeError$J("Can't convert object to primitive value"); }; @@ -318,10 +318,10 @@ var store$4 = sharedStore; (shared$a.exports = function (key, value) { return store$4[key] || (store$4[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.35.0', + version: '3.35.1', mode: 'global', - copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)', - license: 'https://github.com/zloirock/core-js/blob/v3.35.0/LICENSE', + copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', + license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE', source: 'https://github.com/zloirock/core-js' }); @@ -337,10 +337,10 @@ var toObject$E = function (argument) { return $Object$6(requireObjectCoercible$n(argument)); }; -var uncurryThis$1V = functionUncurryThis; +var uncurryThis$1U = functionUncurryThis; var toObject$D = toObject$E; -var hasOwnProperty = uncurryThis$1V({}.hasOwnProperty); +var hasOwnProperty = uncurryThis$1U({}.hasOwnProperty); // `HasOwnProperty` abstract operation // https://tc39.es/ecma262/#sec-hasownproperty @@ -349,11 +349,11 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) { return hasOwnProperty(toObject$D(it), key); }; -var uncurryThis$1U = functionUncurryThis; +var uncurryThis$1T = functionUncurryThis; var id$2 = 0; var postfix = Math.random(); -var toString$K = uncurryThis$1U(1.0.toString); +var toString$K = uncurryThis$1T(1.0.toString); var uid$7 = function (key) { return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$K(++id$2 + postfix, 36); @@ -378,7 +378,7 @@ var wellKnownSymbol$S = function (name) { } return WellKnownSymbolsStore$2[name]; }; -var call$1e = functionCall; +var call$1f = functionCall; var isObject$K = isObject$M; var isSymbol$7 = isSymbol$8; var getMethod$k = getMethod$l; @@ -396,7 +396,7 @@ var toPrimitive$4 = function (input, pref) { var result; if (exoticToPrim) { if (pref === undefined) pref = 'default'; - result = call$1e(exoticToPrim, input, pref); + result = call$1f(exoticToPrim, input, pref); if (!isObject$K(result) || isSymbol$7(result)) return result; throw new $TypeError$I("Can't convert object to primitive value"); } @@ -438,7 +438,7 @@ var ie8DomDefine = !DESCRIPTORS$U && !fails$1p(function () { }); var DESCRIPTORS$T = descriptors; -var call$1d = functionCall; +var call$1e = functionCall; var propertyIsEnumerableModule$2 = objectPropertyIsEnumerable; var createPropertyDescriptor$c = createPropertyDescriptor$d; var toIndexedObject$j = toIndexedObject$k; @@ -457,7 +457,7 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$T ? $getOwnPropertyDescriptor$2 : if (IE8_DOM_DEFINE$1) try { return $getOwnPropertyDescriptor$2(O, P); } catch (error) { /* empty */ } - if (hasOwn$E(O, P)) return createPropertyDescriptor$c(!call$1d(propertyIsEnumerableModule$2.f, O, P), O[P]); + if (hasOwn$E(O, P)) return createPropertyDescriptor$c(!call$1e(propertyIsEnumerableModule$2.f, O, P), O[P]); }; var objectDefineProperty = {}; @@ -561,11 +561,11 @@ var functionName = { CONFIGURABLE: CONFIGURABLE }; -var uncurryThis$1T = functionUncurryThis; +var uncurryThis$1S = functionUncurryThis; var isCallable$C = isCallable$I; var store$3 = sharedStore; -var functionToString$1 = uncurryThis$1T(Function.toString); +var functionToString$1 = uncurryThis$1S(Function.toString); // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper if (!isCallable$C(store$3.inspectSource)) { @@ -665,7 +665,7 @@ var internalState = { getterFor: getterFor$2 }; -var uncurryThis$1S = functionUncurryThis; +var uncurryThis$1R = functionUncurryThis; var fails$1n = fails$1u; var isCallable$A = isCallable$I; var hasOwn$B = hasOwnProperty_1; @@ -679,9 +679,9 @@ var getInternalState$g = InternalStateModule$n.get; var $String$7 = String; // eslint-disable-next-line es/no-object-defineproperty -- safe var defineProperty$h = Object.defineProperty; -var stringSlice$m = uncurryThis$1S(''.slice); -var replace$e = uncurryThis$1S(''.replace); -var join$9 = uncurryThis$1S([].join); +var stringSlice$m = uncurryThis$1R(''.slice); +var replace$e = uncurryThis$1R(''.replace); +var join$9 = uncurryThis$1R([].join); var CONFIGURABLE_LENGTH = DESCRIPTORS$O && !fails$1n(function () { return defineProperty$h(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; @@ -691,7 +691,7 @@ var TEMPLATE = String(String).split('String'); var makeBuiltIn$4 = makeBuiltIn$5.exports = function (value, name, options) { if (stringSlice$m($String$7(name), 0, 7) === 'Symbol(') { - name = '[' + replace$e($String$7(name), /^Symbol\(([^)]*)\)/, '$1') + ']'; + name = '[' + replace$e($String$7(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; } if (options && options.getter) name = 'get ' + name; if (options && options.setter) name = 'set ' + name; @@ -793,7 +793,8 @@ var min$d = Math.min; // `ToLength` abstract operation // https://tc39.es/ecma262/#sec-tolength var toLength$d = function (argument) { - return argument > 0 ? min$d(toIntegerOrInfinity$n(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 + var len = toIntegerOrInfinity$n(argument); + return len > 0 ? min$d(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 }; var toLength$c = toLength$d; @@ -837,13 +838,13 @@ var arrayIncludes = { indexOf: createMethod$8(false) }; -var uncurryThis$1R = functionUncurryThis; +var uncurryThis$1Q = functionUncurryThis; var hasOwn$A = hasOwnProperty_1; var toIndexedObject$h = toIndexedObject$k; var indexOf$2 = arrayIncludes.indexOf; var hiddenKeys$4 = hiddenKeys$6; -var push$s = uncurryThis$1R([].push); +var push$s = uncurryThis$1Q([].push); var objectKeysInternal = function (object, names) { var O = toIndexedObject$h(object); @@ -887,12 +888,12 @@ var objectGetOwnPropertySymbols = {}; objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols; var getBuiltIn$K = getBuiltIn$M; -var uncurryThis$1Q = functionUncurryThis; +var uncurryThis$1P = functionUncurryThis; var getOwnPropertyNamesModule$2 = objectGetOwnPropertyNames; var getOwnPropertySymbolsModule$3 = objectGetOwnPropertySymbols; var anObject$1g = anObject$1i; -var concat$4 = uncurryThis$1Q([].concat); +var concat$4 = uncurryThis$1P([].concat); // all object keys, includes non-enumerable and symbols var ownKeys$3 = getBuiltIn$K('Reflect', 'ownKeys') || function ownKeys(it) { @@ -974,7 +975,7 @@ var _export = function (options, source) { } else if (STATIC) { target = global$10[TARGET] || defineGlobalProperty(TARGET, {}); } else { - target = (global$10[TARGET] || {}).prototype; + target = global$10[TARGET] && global$10[TARGET].prototype; } if (target) for (key in source) { sourceProperty = source[key]; @@ -1167,15 +1168,15 @@ var objectCreate$1 = Object.create || function create(O, Properties) { var objectGetOwnPropertyNamesExternal = {}; -var uncurryThis$1P = functionUncurryThis; +var uncurryThis$1O = functionUncurryThis; -var arraySlice$b = uncurryThis$1P([].slice); +var arraySlice$a = uncurryThis$1O([].slice); /* eslint-disable es/no-object-getownpropertynames -- safe */ var classof$o = classofRaw$2; var toIndexedObject$f = toIndexedObject$k; var $getOwnPropertyNames$1 = objectGetOwnPropertyNames.f; -var arraySlice$a = arraySlice$b; +var arraySlice$9 = arraySlice$a; var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; @@ -1184,7 +1185,7 @@ var getWindowNames = function (it) { try { return $getOwnPropertyNames$1(it); } catch (error) { - return arraySlice$a(windowNames); + return arraySlice$9(windowNames); } }; @@ -1226,7 +1227,7 @@ var wellKnownSymbolDefine = function (NAME) { }); }; -var call$1c = functionCall; +var call$1d = functionCall; var getBuiltIn$I = getBuiltIn$M; var wellKnownSymbol$N = wellKnownSymbol$S; var defineBuiltIn$s = defineBuiltIn$u; @@ -1242,7 +1243,7 @@ var symbolDefineToPrimitive = function () { // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive // eslint-disable-next-line no-unused-vars -- required for .length defineBuiltIn$s(SymbolPrototype, TO_PRIMITIVE, function (hint) { - return call$1c(valueOf, this); + return call$1d(valueOf, this); }, { arity: 1 }); } }; @@ -1261,20 +1262,20 @@ var setToStringTag$e = function (target, TAG, STATIC) { }; var classofRaw = classofRaw$2; -var uncurryThis$1O = functionUncurryThis; +var uncurryThis$1N = functionUncurryThis; var functionUncurryThisClause = function (fn) { // Nashorn bug: // https://github.com/zloirock/core-js/issues/1128 // https://github.com/zloirock/core-js/issues/1130 - if (classofRaw(fn) === 'Function') return uncurryThis$1O(fn); + if (classofRaw(fn) === 'Function') return uncurryThis$1N(fn); }; -var uncurryThis$1N = functionUncurryThisClause; +var uncurryThis$1M = functionUncurryThisClause; var aCallable$K = aCallable$M; var NATIVE_BIND$2 = functionBindNative; -var bind$v = uncurryThis$1N(uncurryThis$1N.bind); +var bind$v = uncurryThis$1M(uncurryThis$1M.bind); // optional / simple context binding var functionBindContext = function (fn, that) { @@ -1293,7 +1294,7 @@ var isArray$b = Array.isArray || function isArray(argument) { return classof$n(argument) === 'Array'; }; -var uncurryThis$1M = functionUncurryThis; +var uncurryThis$1L = functionUncurryThis; var fails$1l = fails$1u; var isCallable$w = isCallable$I; var classof$m = classof$q; @@ -1301,16 +1302,15 @@ var getBuiltIn$H = getBuiltIn$M; var inspectSource$2 = inspectSource$4; var noop = function () { /* empty */ }; -var empty = []; var construct$1 = getBuiltIn$H('Reflect', 'construct'); var constructorRegExp = /^\s*(?:class|function)\b/; -var exec$h = uncurryThis$1M(constructorRegExp.exec); +var exec$g = uncurryThis$1L(constructorRegExp.exec); var INCORRECT_TO_STRING$2 = !constructorRegExp.test(noop); var isConstructorModern = function isConstructor(argument) { if (!isCallable$w(argument)) return false; try { - construct$1(noop, empty, argument); + construct$1(noop, [], argument); return true; } catch (error) { return false; @@ -1328,7 +1328,7 @@ var isConstructorLegacy = function isConstructor(argument) { // we can't check .prototype since constructors produced by .bind haven't it // `Function#toString` throws on some built-it function in some legacy engines // (for example, `DOMQuad` and similar in FF41-) - return INCORRECT_TO_STRING$2 || !!exec$h(constructorRegExp, inspectSource$2(argument)); + return INCORRECT_TO_STRING$2 || !!exec$g(constructorRegExp, inspectSource$2(argument)); } catch (error) { return true; } @@ -1378,13 +1378,13 @@ var arraySpeciesCreate$5 = function (originalArray, length) { }; var bind$u = functionBindContext; -var uncurryThis$1L = functionUncurryThis; +var uncurryThis$1K = functionUncurryThis; var IndexedObject$6 = indexedObject; var toObject$C = toObject$E; var lengthOfArrayLike$z = lengthOfArrayLike$B; var arraySpeciesCreate$4 = arraySpeciesCreate$5; -var push$r = uncurryThis$1L([].push); +var push$r = uncurryThis$1K([].push); // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation var createMethod$7 = function (TYPE) { @@ -1453,8 +1453,8 @@ var arrayIteration = { var $$5v = _export; var global$_ = global$1a; -var call$1b = functionCall; -var uncurryThis$1K = functionUncurryThis; +var call$1c = functionCall; +var uncurryThis$1J = functionUncurryThis; var DESCRIPTORS$M = descriptors; var NATIVE_SYMBOL$5 = symbolConstructorDetection; var fails$1k = fails$1u; @@ -1505,7 +1505,7 @@ var nativeGetOwnPropertyDescriptor$2 = getOwnPropertyDescriptorModule$5.f; var nativeDefineProperty$1 = definePropertyModule$7.f; var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f; var nativePropertyIsEnumerable = propertyIsEnumerableModule$1.f; -var push$q = uncurryThis$1K([].push); +var push$q = uncurryThis$1J([].push); var AllSymbols = shared$6('symbols'); var ObjectPrototypeSymbols = shared$6('op-symbols'); @@ -1562,7 +1562,7 @@ var $defineProperties = function defineProperties(O, Properties) { var properties = toIndexedObject$e(Properties); var keys = objectKeys$4(properties).concat($getOwnPropertySymbols(properties)); $forEach$3(keys, function (key) { - if (!DESCRIPTORS$M || call$1b($propertyIsEnumerable$1, properties, key)) $defineProperty(O, key, properties[key]); + if (!DESCRIPTORS$M || call$1c($propertyIsEnumerable$1, properties, key)) $defineProperty(O, key, properties[key]); }); return O; }; @@ -1573,7 +1573,7 @@ var $create = function create(O, Properties) { var $propertyIsEnumerable$1 = function propertyIsEnumerable(V) { var P = toPropertyKey$7(V); - var enumerable = call$1b(nativePropertyIsEnumerable, this, P); + var enumerable = call$1c(nativePropertyIsEnumerable, this, P); if (this === ObjectPrototype$5 && hasOwn$w(AllSymbols, P) && !hasOwn$w(ObjectPrototypeSymbols, P)) return false; return enumerable || !hasOwn$w(this, P) || !hasOwn$w(AllSymbols, P) || hasOwn$w(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true; @@ -1620,7 +1620,7 @@ if (!NATIVE_SYMBOL$5) { var tag = uid$4(description); var setter = function (value) { var $this = this === undefined ? global$_ : this; - if ($this === ObjectPrototype$5) call$1b(setter, ObjectPrototypeSymbols, value); + if ($this === ObjectPrototype$5) call$1c(setter, ObjectPrototypeSymbols, value); if (hasOwn$w($this, HIDDEN) && hasOwn$w($this[HIDDEN], tag)) $this[HIDDEN][tag] = false; var descriptor = createPropertyDescriptor$a(1, value); try { @@ -1762,21 +1762,21 @@ $$5t({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, { var NATIVE_BIND$1 = functionBindNative; var FunctionPrototype$3 = Function.prototype; -var apply$e = FunctionPrototype$3.apply; -var call$1a = FunctionPrototype$3.call; +var apply$d = FunctionPrototype$3.apply; +var call$1b = FunctionPrototype$3.call; // eslint-disable-next-line es/no-reflect -- safe -var functionApply$1 = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$1a.bind(apply$e) : function () { - return call$1a.apply(apply$e, arguments); +var functionApply$1 = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$1b.bind(apply$d) : function () { + return call$1b.apply(apply$d, arguments); }); -var uncurryThis$1J = functionUncurryThis; +var uncurryThis$1I = functionUncurryThis; var isArray$9 = isArray$b; var isCallable$v = isCallable$I; var classof$l = classofRaw$2; var toString$H = toString$J; -var push$p = uncurryThis$1J([].push); +var push$p = uncurryThis$1I([].push); var getJsonReplacerFunction = function (replacer) { if (isCallable$v(replacer)) return replacer; @@ -1802,23 +1802,23 @@ var getJsonReplacerFunction = function (replacer) { var $$5s = _export; var getBuiltIn$F = getBuiltIn$M; -var apply$d = functionApply$1; -var call$19 = functionCall; -var uncurryThis$1I = functionUncurryThis; +var apply$c = functionApply$1; +var call$1a = functionCall; +var uncurryThis$1H = functionUncurryThis; var fails$1j = fails$1u; var isCallable$u = isCallable$I; var isSymbol$4 = isSymbol$8; -var arraySlice$9 = arraySlice$b; +var arraySlice$8 = arraySlice$a; var getReplacerFunction$1 = getJsonReplacerFunction; var NATIVE_SYMBOL$3 = symbolConstructorDetection; var $String$5 = String; var $stringify$1 = getBuiltIn$F('JSON', 'stringify'); -var exec$g = uncurryThis$1I(/./.exec); -var charAt$m = uncurryThis$1I(''.charAt); -var charCodeAt$9 = uncurryThis$1I(''.charCodeAt); -var replace$d = uncurryThis$1I(''.replace); -var numberToString$4 = uncurryThis$1I(1.0.toString); +var exec$f = uncurryThis$1H(/./.exec); +var charAt$m = uncurryThis$1H(''.charAt); +var charCodeAt$9 = uncurryThis$1H(''.charCodeAt); +var replace$d = uncurryThis$1H(''.replace); +var numberToString$4 = uncurryThis$1H(1.0.toString); var tester = /[\uD800-\uDFFF]/g; var low = /^[\uD800-\uDBFF]$/; @@ -1841,21 +1841,21 @@ var ILL_FORMED_UNICODE = fails$1j(function () { }); var stringifyWithSymbolsFix = function (it, replacer) { - var args = arraySlice$9(arguments); + var args = arraySlice$8(arguments); var $replacer = getReplacerFunction$1(replacer); if (!isCallable$u($replacer) && (it === undefined || isSymbol$4(it))) return; // IE8 returns string on undefined args[1] = function (key, value) { // some old implementations (like WebKit) could pass numbers as keys - if (isCallable$u($replacer)) value = call$19($replacer, this, $String$5(key), value); + if (isCallable$u($replacer)) value = call$1a($replacer, this, $String$5(key), value); if (!isSymbol$4(value)) return value; }; - return apply$d($stringify$1, null, args); + return apply$c($stringify$1, null, args); }; var fixIllFormed = function (match, offset, string) { var prev = charAt$m(string, offset - 1); var next = charAt$m(string, offset + 1); - if ((exec$g(low, match) && !exec$g(hi, next)) || (exec$g(hi, match) && !exec$g(low, prev))) { + if ((exec$f(low, match) && !exec$f(hi, next)) || (exec$f(hi, match) && !exec$f(low, prev))) { return '\\u' + numberToString$4(charCodeAt$9(match, 0), 16); } return match; }; @@ -1866,8 +1866,8 @@ if ($stringify$1) { $$5s({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, { // eslint-disable-next-line no-unused-vars -- required for `.length` stringify: function stringify(it, replacer, space) { - var args = arraySlice$9(arguments); - var result = apply$d(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify$1, null, args); + var args = arraySlice$8(arguments); + var result = apply$c(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify$1, null, args); return ILL_FORMED_UNICODE && typeof result == 'string' ? replace$d(result, tester, fixIllFormed) : result; } }); @@ -1895,7 +1895,7 @@ $$5r({ target: 'Object', stat: true, forced: FORCED$F }, { var $$5q = _export; var DESCRIPTORS$L = descriptors; var global$Z = global$1a; -var uncurryThis$1H = functionUncurryThis; +var uncurryThis$1G = functionUncurryThis; var hasOwn$t = hasOwnProperty_1; var isCallable$t = isCallable$I; var isPrototypeOf$d = objectIsPrototypeOf; @@ -1927,11 +1927,11 @@ if (DESCRIPTORS$L && isCallable$t(NativeSymbol) && (!('description' in SymbolPro SymbolPrototype.constructor = SymbolWrapper; var NATIVE_SYMBOL$1 = String(NativeSymbol('description detection')) === 'Symbol(description detection)'; - var thisSymbolValue$2 = uncurryThis$1H(SymbolPrototype.valueOf); - var symbolDescriptiveString = uncurryThis$1H(SymbolPrototype.toString); + var thisSymbolValue$2 = uncurryThis$1G(SymbolPrototype.valueOf); + var symbolDescriptiveString = uncurryThis$1G(SymbolPrototype.toString); var regexp = /^Symbol\((.*)\)[^)]+$/; - var replace$c = uncurryThis$1H(''.replace); - var stringSlice$l = uncurryThis$1H(''.slice); + var replace$c = uncurryThis$1G(''.replace); + var stringSlice$l = uncurryThis$1G(''.slice); defineBuiltInAccessor$n(SymbolPrototype, 'description', { configurable: true, @@ -2038,13 +2038,13 @@ var defineWellKnownSymbol$8 = wellKnownSymbolDefine; // https://tc39.es/ecma262/#sec-symbol.unscopables defineWellKnownSymbol$8('unscopables'); -var uncurryThis$1G = functionUncurryThis; +var uncurryThis$1F = functionUncurryThis; var aCallable$J = aCallable$M; var functionUncurryThisAccessor = function (object, key, method) { try { // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - return uncurryThis$1G(aCallable$J(Object.getOwnPropertyDescriptor(object, key)[method])); + return uncurryThis$1F(aCallable$J(Object.getOwnPropertyDescriptor(object, key)[method])); } catch (error) { /* empty */ } }; @@ -2137,10 +2137,10 @@ var installErrorCause$2 = function (O, options) { } }; -var uncurryThis$1F = functionUncurryThis; +var uncurryThis$1E = functionUncurryThis; var $Error$2 = Error; -var replace$b = uncurryThis$1F(''.replace); +var replace$b = uncurryThis$1E(''.replace); var TEST = (function (arg) { return String(new $Error$2(arg).stack); })('zxcasd'); // eslint-disable-next-line redos/no-vulnerable -- safe @@ -2245,7 +2245,7 @@ var wrapErrorConstructorWithCause$2 = function (FULL_NAME, wrapper, FORCED, IS_A /* eslint-disable no-unused-vars -- required for functions `.length` */ var $$5p = _export; var global$Y = global$1a; -var apply$c = functionApply$1; +var apply$b = functionApply$1; var wrapErrorConstructorWithCause$1 = wrapErrorConstructorWithCause$2; var WEB_ASSEMBLY = 'WebAssembly'; @@ -2270,34 +2270,34 @@ var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) { // https://tc39.es/ecma262/#sec-nativeerror exportGlobalErrorCauseWrapper('Error', function (init) { - return function Error(message) { return apply$c(init, this, arguments); }; + return function Error(message) { return apply$b(init, this, arguments); }; }); exportGlobalErrorCauseWrapper('EvalError', function (init) { - return function EvalError(message) { return apply$c(init, this, arguments); }; + return function EvalError(message) { return apply$b(init, this, arguments); }; }); exportGlobalErrorCauseWrapper('RangeError', function (init) { - return function RangeError(message) { return apply$c(init, this, arguments); }; + return function RangeError(message) { return apply$b(init, this, arguments); }; }); exportGlobalErrorCauseWrapper('ReferenceError', function (init) { - return function ReferenceError(message) { return apply$c(init, this, arguments); }; + return function ReferenceError(message) { return apply$b(init, this, arguments); }; }); exportGlobalErrorCauseWrapper('SyntaxError', function (init) { - return function SyntaxError(message) { return apply$c(init, this, arguments); }; + return function SyntaxError(message) { return apply$b(init, this, arguments); }; }); exportGlobalErrorCauseWrapper('TypeError', function (init) { - return function TypeError(message) { return apply$c(init, this, arguments); }; + return function TypeError(message) { return apply$b(init, this, arguments); }; }); exportGlobalErrorCauseWrapper('URIError', function (init) { - return function URIError(message) { return apply$c(init, this, arguments); }; + return function URIError(message) { return apply$b(init, this, arguments); }; }); exportWebAssemblyErrorCauseWrapper('CompileError', function (init) { - return function CompileError(message) { return apply$c(init, this, arguments); }; + return function CompileError(message) { return apply$b(init, this, arguments); }; }); exportWebAssemblyErrorCauseWrapper('LinkError', function (init) { - return function LinkError(message) { return apply$c(init, this, arguments); }; + return function LinkError(message) { return apply$b(init, this, arguments); }; }); exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) { - return function RuntimeError(message) { return apply$c(init, this, arguments); }; + return function RuntimeError(message) { return apply$b(init, this, arguments); }; }); var DESCRIPTORS$J = descriptors; @@ -2398,7 +2398,7 @@ var getIteratorMethod$8 = function (it) { || Iterators$4[classof$k(it)]; }; -var call$18 = functionCall; +var call$19 = functionCall; var aCallable$I = aCallable$M; var anObject$1a = anObject$1i; var tryToString$4 = tryToString$7; @@ -2408,11 +2408,11 @@ var $TypeError$E = TypeError; var getIterator$7 = function (argument, usingIterator) { var iteratorMethod = arguments.length < 2 ? getIteratorMethod$7(argument) : usingIterator; - if (aCallable$I(iteratorMethod)) return anObject$1a(call$18(iteratorMethod, argument)); + if (aCallable$I(iteratorMethod)) return anObject$1a(call$19(iteratorMethod, argument)); throw new $TypeError$E(tryToString$4(argument) + ' is not iterable'); }; -var call$17 = functionCall; +var call$18 = functionCall; var anObject$19 = anObject$1i; var getMethod$i = getMethod$l; @@ -2425,7 +2425,7 @@ var iteratorClose$8 = function (iterator, kind, value) { if (kind === 'throw') throw value; return value; } - innerResult = call$17(innerResult, iterator); + innerResult = call$18(innerResult, iterator); } catch (error) { innerError = true; innerResult = error; @@ -2437,7 +2437,7 @@ var iteratorClose$8 = function (iterator, kind, value) { }; var bind$t = functionBindContext; -var call$16 = functionCall; +var call$17 = functionCall; var anObject$18 = anObject$1i; var tryToString$3 = tryToString$7; var isArrayIteratorMethod$2 = isArrayIteratorMethod$3; @@ -2495,7 +2495,7 @@ var iterate$G = function (iterable, unboundFunction, options) { } next = IS_RECORD ? iterable.next : iterator.next; - while (!(step = call$16(next, iterator)).done) { + while (!(step = call$17(next, iterator)).done) { try { result = callFn(step.value); } catch (error) { @@ -2558,7 +2558,7 @@ $$5o({ global: true, constructor: true, arity: 2 }, { var $$5n = _export; var getBuiltIn$C = getBuiltIn$M; -var apply$b = functionApply$1; +var apply$a = functionApply$1; var fails$1e = fails$1u; var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$2; @@ -2575,7 +2575,7 @@ var FORCED$D = !fails$1e(function () { $$5n({ global: true, constructor: true, arity: 2, forced: FORCED$D }, { AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function (init) { // eslint-disable-next-line no-unused-vars -- required for functions `.length` - return function AggregateError(errors, message) { return apply$b(init, this, arguments); }; + return function AggregateError(errors, message) { return apply$a(init, this, arguments); }; }, FORCED$D, true) }); @@ -3054,7 +3054,7 @@ var callWithSafeIterationClosing$3 = function (iterator, fn, value, ENTRIES) { }; var bind$q = functionBindContext; -var call$15 = functionCall; +var call$16 = functionCall; var toObject$s = toObject$E; var callWithSafeIterationClosing$2 = callWithSafeIterationClosing$3; var isArrayIteratorMethod$1 = isArrayIteratorMethod$3; @@ -3083,7 +3083,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde iterator = getIterator$5(O, iteratorMethod); next = iterator.next; result = IS_CONSTRUCTOR ? new this() : []; - for (;!(step = call$15(next, iterator)).done; index++) { + for (;!(step = call$16(next, iterator)).done; index++) { value = mapping ? callWithSafeIterationClosing$2(iterator, mapfn, [step.value, index], true) : step.value; createProperty$9(result, index, value); } @@ -3179,11 +3179,11 @@ addToUnscopables$f('includes'); /* eslint-disable es/no-array-prototype-indexof -- required for testing */ var $$57 = _export; -var uncurryThis$1E = functionUncurryThisClause; +var uncurryThis$1D = functionUncurryThisClause; var $indexOf$1 = arrayIncludes.indexOf; var arrayMethodIsStrict$8 = arrayMethodIsStrict$b; -var nativeIndexOf = uncurryThis$1E([].indexOf); +var nativeIndexOf = uncurryThis$1D([].indexOf); var NEGATIVE_ZERO$1 = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0; var FORCED$B = NEGATIVE_ZERO$1 || !arrayMethodIsStrict$8('indexOf'); @@ -3272,7 +3272,7 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME }; var $$55 = _export; -var call$14 = functionCall; +var call$15 = functionCall; var FunctionName$1 = functionName; var isCallable$p = isCallable$I; var createIteratorConstructor$6 = iteratorCreateConstructor; @@ -3344,7 +3344,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL createNonEnumerableProperty$c(IterablePrototype, 'name', VALUES); } else { INCORRECT_VALUES_NAME = true; - defaultIterator = function values() { return call$14(nativeIterator, this); }; + defaultIterator = function values() { return call$15(nativeIterator, this); }; } } @@ -3439,12 +3439,12 @@ if (DESCRIPTORS$I && values.name !== 'values') try { } catch (error) { /* empty */ } var $$54 = _export; -var uncurryThis$1D = functionUncurryThis; +var uncurryThis$1C = functionUncurryThis; var IndexedObject$4 = indexedObject; var toIndexedObject$c = toIndexedObject$k; var arrayMethodIsStrict$7 = arrayMethodIsStrict$b; -var nativeJoin = uncurryThis$1D([].join); +var nativeJoin = uncurryThis$1C([].join); var ES3_STRINGS = IndexedObject$4 !== Object; var FORCED$A = ES3_STRINGS || !arrayMethodIsStrict$7('join', ','); @@ -3458,7 +3458,7 @@ $$54({ target: 'Array', proto: true, forced: FORCED$A }, { }); /* eslint-disable es/no-array-prototype-lastindexof -- safe */ -var apply$a = functionApply$1; +var apply$9 = functionApply$1; var toIndexedObject$b = toIndexedObject$k; var toIntegerOrInfinity$k = toIntegerOrInfinity$p; var lengthOfArrayLike$o = lengthOfArrayLike$B; @@ -3474,7 +3474,7 @@ var FORCED$z = NEGATIVE_ZERO || !STRICT_METHOD$2; // https://tc39.es/ecma262/#sec-array.prototype.lastindexof var arrayLastIndexOf = FORCED$z ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { // convert -0 to +0 - if (NEGATIVE_ZERO) return apply$a($lastIndexOf$1, this, arguments) || 0; + if (NEGATIVE_ZERO) return apply$9($lastIndexOf$1, this, arguments) || 0; var O = toIndexedObject$b(this); var length = lengthOfArrayLike$o(O); var index = length - 1; @@ -3693,10 +3693,10 @@ $$4_({ target: 'Array', proto: true, forced: FORCED$w }, { }); var $$4Z = _export; -var uncurryThis$1C = functionUncurryThis; +var uncurryThis$1B = functionUncurryThis; var isArray$4 = isArray$b; -var nativeReverse = uncurryThis$1C([].reverse); +var nativeReverse = uncurryThis$1B([].reverse); var test$1 = [1, 2]; // `Array.prototype.reverse` method @@ -3721,7 +3721,7 @@ var toIndexedObject$a = toIndexedObject$k; var createProperty$7 = createProperty$b; var wellKnownSymbol$A = wellKnownSymbol$S; var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$5; -var nativeSlice = arraySlice$b; +var nativeSlice = arraySlice$a; var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('slice'); @@ -3774,7 +3774,7 @@ $$4X({ target: 'Array', proto: true, forced: !STRICT_METHOD$1 }, { } }); -var arraySlice$8 = arraySlice$b; +var arraySlice$7 = arraySlice$a; var floor$9 = Math.floor; @@ -3797,8 +3797,8 @@ var sort$2 = function (array, comparefn) { } else { // merge sort var middle = floor$9(length / 2); - var left = sort$2(arraySlice$8(array, 0, middle), comparefn); - var right = sort$2(arraySlice$8(array, middle), comparefn); + var left = sort$2(arraySlice$7(array, 0, middle), comparefn); + var right = sort$2(arraySlice$7(array, middle), comparefn); var llength = left.length; var rlength = right.length; var lindex = 0; @@ -3833,7 +3833,7 @@ var webkit = userAgent$4.match(/AppleWebKit\/(\d+)\./); var engineWebkitVersion = !!webkit && +webkit[1]; var $$4W = _export; -var uncurryThis$1B = functionUncurryThis; +var uncurryThis$1A = functionUncurryThis; var aCallable$F = aCallable$M; var toObject$p = toObject$E; var lengthOfArrayLike$k = lengthOfArrayLike$B; @@ -3848,8 +3848,8 @@ var V8$2 = engineV8Version; var WEBKIT$2 = engineWebkitVersion; var test = []; -var nativeSort$1 = uncurryThis$1B(test.sort); -var push$n = uncurryThis$1B(test.push); +var nativeSort$1 = uncurryThis$1A(test.sort); +var push$n = uncurryThis$1A(test.push); // IE8- var FAILS_ON_UNDEFINED = fails$16(function () { @@ -4077,7 +4077,7 @@ var getBuiltInPrototypeMethod$2 = function (CONSTRUCTOR, METHOD) { }; var $$4T = _export; -var uncurryThis$1A = functionUncurryThis; +var uncurryThis$1z = functionUncurryThis; var aCallable$E = aCallable$M; var toIndexedObject$8 = toIndexedObject$k; var arrayFromConstructorAndList$7 = arrayFromConstructorAndList$8; @@ -4085,7 +4085,7 @@ var getBuiltInPrototypeMethod$1 = getBuiltInPrototypeMethod$2; var addToUnscopables$c = addToUnscopables$n; var $Array$6 = Array; -var sort$1 = uncurryThis$1A(getBuiltInPrototypeMethod$1('Array', 'sort')); +var sort$1 = uncurryThis$1z(getBuiltInPrototypeMethod$1('Array', 'sort')); // `Array.prototype.toSorted` method // https://tc39.es/ecma262/#sec-array.prototype.tosorted @@ -4418,7 +4418,7 @@ var ieee754 = { }; var global$V = global$1a; -var uncurryThis$1z = functionUncurryThis; +var uncurryThis$1y = functionUncurryThis; var DESCRIPTORS$F = descriptors; var NATIVE_ARRAY_BUFFER$2 = arrayBufferBasicDetection; var FunctionName = functionName; @@ -4435,7 +4435,7 @@ var IEEE754 = ieee754; var getPrototypeOf$d = objectGetPrototypeOf$2; var setPrototypeOf$6 = objectSetPrototypeOf$1; var arrayFill = arrayFill$1; -var arraySlice$7 = arraySlice$b; +var arraySlice$6 = arraySlice$a; var inheritIfRequired$5 = inheritIfRequired$7; var copyConstructorProperties$2 = copyConstructorProperties$7; var setToStringTag$9 = setToStringTag$e; @@ -4459,8 +4459,8 @@ var DataViewPrototype$2 = $DataView && $DataView[PROTOTYPE]; var ObjectPrototype$3 = Object.prototype; var Array$3 = global$V.Array; var RangeError$3 = global$V.RangeError; -var fill = uncurryThis$1z(arrayFill); -var reverse = uncurryThis$1z([].reverse); +var fill = uncurryThis$1y(arrayFill); +var reverse = uncurryThis$1y([].reverse); var packIEEE754$1 = IEEE754.pack; var unpackIEEE754$1 = IEEE754.unpack; @@ -4505,7 +4505,7 @@ var get$5 = function (view, count, index, isLittleEndian) { if (intIndex + count > store.byteLength) throw new RangeError$3(WRONG_INDEX); var bytes = store.bytes; var start = intIndex + store.byteOffset; - var pack = arraySlice$7(bytes, start, start + count); + var pack = arraySlice$6(bytes, start, start + count); return boolIsLittleEndian ? pack : reverse(pack); }; @@ -4656,7 +4656,7 @@ if (!NATIVE_ARRAY_BUFFER$2) { // iOS Safari 7.x bug var testView = new $DataView(new $ArrayBuffer$1(2)); - var $setInt8 = uncurryThis$1z(DataViewPrototype$2.setInt8); + var $setInt8 = uncurryThis$1y(DataViewPrototype$2.setInt8); testView.setInt8(0, 2147483648); testView.setInt8(1, 2147483649); if (testView.getInt8(0) || !testView.getInt8(1)) defineBuiltIns$a(DataViewPrototype$2, { @@ -4925,7 +4925,7 @@ var speciesConstructor$6 = function (O, defaultConstructor) { }; var $$4N = _export; -var uncurryThis$1y = functionUncurryThisClause; +var uncurryThis$1x = functionUncurryThisClause; var fails$14 = fails$1u; var ArrayBufferModule$2 = arrayBuffer; var anObject$15 = anObject$1i; @@ -4936,9 +4936,9 @@ var speciesConstructor$5 = speciesConstructor$6; var ArrayBuffer$4 = ArrayBufferModule$2.ArrayBuffer; var DataView$3 = ArrayBufferModule$2.DataView; var DataViewPrototype$1 = DataView$3.prototype; -var nativeArrayBufferSlice = uncurryThis$1y(ArrayBuffer$4.prototype.slice); -var getUint8$1 = uncurryThis$1y(DataViewPrototype$1.getUint8); -var setUint8$1 = uncurryThis$1y(DataViewPrototype$1.setUint8); +var nativeArrayBufferSlice = uncurryThis$1x(ArrayBuffer$4.prototype.slice); +var getUint8$1 = uncurryThis$1x(DataViewPrototype$1.getUint8); +var setUint8$1 = uncurryThis$1x(DataViewPrototype$1.setUint8); var INCORRECT_SLICE = fails$14(function () { return !new ArrayBuffer$4(2).slice(1, undefined).byteLength; @@ -4975,7 +4975,7 @@ $$4M({ global: true, constructor: true, forced: !NATIVE_ARRAY_BUFFER }, { }); var $$4L = _export; -var uncurryThis$1x = functionUncurryThis; +var uncurryThis$1w = functionUncurryThis; var fails$13 = fails$1u; // IE8- non-standard case @@ -4984,7 +4984,7 @@ var FORCED$t = fails$13(function () { return new Date(16e11).getYear() !== 120; }); -var getFullYear = uncurryThis$1x(Date.prototype.getFullYear); +var getFullYear = uncurryThis$1w(Date.prototype.getFullYear); // `Date.prototype.getYear` method // https://tc39.es/ecma262/#sec-date.prototype.getyear @@ -4996,10 +4996,10 @@ $$4L({ target: 'Date', proto: true, forced: FORCED$t }, { // TODO: Remove from `core-js@4` var $$4K = _export; -var uncurryThis$1w = functionUncurryThis; +var uncurryThis$1v = functionUncurryThis; var $Date = Date; -var thisTimeValue$4 = uncurryThis$1w($Date.prototype.getTime); +var thisTimeValue$4 = uncurryThis$1v($Date.prototype.getTime); // `Date.now` method // https://tc39.es/ecma262/#sec-date.now @@ -5010,12 +5010,12 @@ $$4K({ target: 'Date', stat: true }, { }); var $$4J = _export; -var uncurryThis$1v = functionUncurryThis; +var uncurryThis$1u = functionUncurryThis; var toIntegerOrInfinity$e = toIntegerOrInfinity$p; var DatePrototype$3 = Date.prototype; -var thisTimeValue$3 = uncurryThis$1v(DatePrototype$3.getTime); -var setFullYear = uncurryThis$1v(DatePrototype$3.setFullYear); +var thisTimeValue$3 = uncurryThis$1u(DatePrototype$3.getTime); +var setFullYear = uncurryThis$1u(DatePrototype$3.setFullYear); // `Date.prototype.setYear` method // https://tc39.es/ecma262/#sec-date.prototype.setyear @@ -5055,14 +5055,14 @@ var stringRepeat = function repeat(count) { }; // https://github.com/tc39/proposal-string-pad-start-end -var uncurryThis$1u = functionUncurryThis; +var uncurryThis$1t = functionUncurryThis; var toLength$8 = toLength$d; var toString$C = toString$J; var $repeat$2 = stringRepeat; var requireObjectCoercible$l = requireObjectCoercible$p; -var repeat$3 = uncurryThis$1u($repeat$2); -var stringSlice$k = uncurryThis$1u(''.slice); +var repeat$3 = uncurryThis$1t($repeat$2); +var stringSlice$k = uncurryThis$1t(''.slice); var ceil = Math.ceil; // `String.prototype.{ padStart, padEnd }` methods implementation @@ -5090,7 +5090,7 @@ var stringPad = { end: createMethod$4(true) }; -var uncurryThis$1t = functionUncurryThis; +var uncurryThis$1s = functionUncurryThis; var fails$12 = fails$1u; var padStart = stringPad.start; @@ -5099,14 +5099,14 @@ var $isFinite$1 = isFinite; var abs$6 = Math.abs; var DatePrototype$2 = Date.prototype; var nativeDateToISOString = DatePrototype$2.toISOString; -var thisTimeValue$2 = uncurryThis$1t(DatePrototype$2.getTime); -var getUTCDate = uncurryThis$1t(DatePrototype$2.getUTCDate); -var getUTCFullYear = uncurryThis$1t(DatePrototype$2.getUTCFullYear); -var getUTCHours = uncurryThis$1t(DatePrototype$2.getUTCHours); -var getUTCMilliseconds = uncurryThis$1t(DatePrototype$2.getUTCMilliseconds); -var getUTCMinutes = uncurryThis$1t(DatePrototype$2.getUTCMinutes); -var getUTCMonth = uncurryThis$1t(DatePrototype$2.getUTCMonth); -var getUTCSeconds = uncurryThis$1t(DatePrototype$2.getUTCSeconds); +var thisTimeValue$2 = uncurryThis$1s(DatePrototype$2.getTime); +var getUTCDate = uncurryThis$1s(DatePrototype$2.getUTCDate); +var getUTCFullYear = uncurryThis$1s(DatePrototype$2.getUTCFullYear); +var getUTCHours = uncurryThis$1s(DatePrototype$2.getUTCHours); +var getUTCMilliseconds = uncurryThis$1s(DatePrototype$2.getUTCMilliseconds); +var getUTCMinutes = uncurryThis$1s(DatePrototype$2.getUTCMinutes); +var getUTCMonth = uncurryThis$1s(DatePrototype$2.getUTCMonth); +var getUTCSeconds = uncurryThis$1s(DatePrototype$2.getUTCSeconds); // `Date.prototype.toISOString` method implementation // https://tc39.es/ecma262/#sec-date.prototype.toisostring @@ -5191,14 +5191,14 @@ if (!hasOwn$p(DatePrototype$1, TO_PRIMITIVE)) { } // TODO: Remove from `core-js@4` -var uncurryThis$1s = functionUncurryThis; +var uncurryThis$1r = functionUncurryThis; var defineBuiltIn$k = defineBuiltIn$u; var DatePrototype = Date.prototype; var INVALID_DATE = 'Invalid Date'; var TO_STRING$1 = 'toString'; -var nativeDateToString = uncurryThis$1s(DatePrototype[TO_STRING$1]); -var thisTimeValue$1 = uncurryThis$1s(DatePrototype.getTime); +var nativeDateToString = uncurryThis$1r(DatePrototype[TO_STRING$1]); +var thisTimeValue$1 = uncurryThis$1r(DatePrototype.getTime); // `Date.prototype.toString` method // https://tc39.es/ecma262/#sec-date.prototype.tostring @@ -5211,14 +5211,14 @@ if (String(new Date(NaN)) !== INVALID_DATE) { } var $$4F = _export; -var uncurryThis$1r = functionUncurryThis; +var uncurryThis$1q = functionUncurryThis; var toString$B = toString$J; -var charAt$l = uncurryThis$1r(''.charAt); -var charCodeAt$8 = uncurryThis$1r(''.charCodeAt); -var exec$f = uncurryThis$1r(/./.exec); -var numberToString$3 = uncurryThis$1r(1.0.toString); -var toUpperCase = uncurryThis$1r(''.toUpperCase); +var charAt$l = uncurryThis$1q(''.charAt); +var charCodeAt$8 = uncurryThis$1q(''.charCodeAt); +var exec$e = uncurryThis$1q(/./.exec); +var numberToString$3 = uncurryThis$1q(1.0.toString); +var toUpperCase = uncurryThis$1q(''.toUpperCase); var raw = /[\w*+\-./@]/; @@ -5239,7 +5239,7 @@ $$4F({ global: true }, { var chr, code; while (index < length) { chr = charAt$l(str, index++); - if (exec$f(raw, chr)) { + if (exec$e(raw, chr)) { result += chr; } else { code = charCodeAt$8(chr, 0); @@ -5253,16 +5253,16 @@ $$4F({ global: true }, { } }); -var uncurryThis$1q = functionUncurryThis; +var uncurryThis$1p = functionUncurryThis; var aCallable$D = aCallable$M; var isObject$y = isObject$M; var hasOwn$o = hasOwnProperty_1; -var arraySlice$6 = arraySlice$b; +var arraySlice$5 = arraySlice$a; var NATIVE_BIND = functionBindNative; var $Function = Function; -var concat$3 = uncurryThis$1q([].concat); -var join$8 = uncurryThis$1q([].join); +var concat$3 = uncurryThis$1p([].concat); +var join$8 = uncurryThis$1p([].join); var factories = {}; var construct = function (C, argsLength, args) { @@ -5280,9 +5280,9 @@ var construct = function (C, argsLength, args) { var functionBind = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args */) { var F = aCallable$D(this); var Prototype = F.prototype; - var partArgs = arraySlice$6(arguments, 1); + var partArgs = arraySlice$5(arguments, 1); var boundFunction = function bound(/* args... */) { - var args = concat$3(partArgs, arraySlice$6(arguments)); + var args = concat$3(partArgs, arraySlice$5(arguments)); return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args); }; if (isObject$y(Prototype)) boundFunction.prototype = Prototype; @@ -5322,13 +5322,13 @@ if (!(HAS_INSTANCE in FunctionPrototype$2)) { var DESCRIPTORS$D = descriptors; var FUNCTION_NAME_EXISTS = functionName.EXISTS; -var uncurryThis$1p = functionUncurryThis; +var uncurryThis$1o = functionUncurryThis; var defineBuiltInAccessor$j = defineBuiltInAccessor$p; var FunctionPrototype$1 = Function.prototype; -var functionToString = uncurryThis$1p(FunctionPrototype$1.toString); +var functionToString = uncurryThis$1o(FunctionPrototype$1.toString); var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/; -var regExpExec$4 = uncurryThis$1p(nameRE.exec); +var regExpExec$5 = uncurryThis$1o(nameRE.exec); var NAME = 'name'; // Function instances `.name` property @@ -5338,7 +5338,7 @@ if (DESCRIPTORS$D && !FUNCTION_NAME_EXISTS) { configurable: true, get: function () { try { - return regExpExec$4(nameRE, functionToString(this))[1]; + return regExpExec$5(nameRE, functionToString(this))[1]; } catch (error) { return ''; } @@ -5400,7 +5400,7 @@ var freezing = !fails$_(function () { }); var $$4C = _export; -var uncurryThis$1o = functionUncurryThis; +var uncurryThis$1n = functionUncurryThis; var hiddenKeys = hiddenKeys$6; var isObject$v = isObject$M; var hasOwn$n = hasOwnProperty_1; @@ -5458,7 +5458,7 @@ var enable = function () { meta.enable = function () { /* empty */ }; REQUIRED = true; var getOwnPropertyNames = getOwnPropertyNamesModule.f; - var splice = uncurryThis$1o([].splice); + var splice = uncurryThis$1n([].splice); var test = {}; test[METADATA$1] = 1; @@ -5493,7 +5493,7 @@ var internalMetadataExports = internalMetadata.exports; var $$4B = _export; var global$Q = global$1a; -var uncurryThis$1n = functionUncurryThis; +var uncurryThis$1m = functionUncurryThis; var isForced$3 = isForced_1; var defineBuiltIn$j = defineBuiltIn$u; var InternalMetadataModule$1 = internalMetadataExports; @@ -5517,7 +5517,7 @@ var collection$4 = function (CONSTRUCTOR_NAME, wrapper, common) { var exported = {}; var fixMethod = function (KEY) { - var uncurriedNativeMethod = uncurryThis$1n(NativePrototype[KEY]); + var uncurriedNativeMethod = uncurryThis$1m(NativePrototype[KEY]); defineBuiltIn$j(NativePrototype, KEY, KEY === 'add' ? function add(value) { uncurriedNativeMethod(this, value === 0 ? 0 : value); @@ -5812,7 +5812,7 @@ collection$3('Map', function (init) { return function Map() { return init(this, arguments.length ? arguments[0] : undefined); }; }, collectionStrong$1); -var uncurryThis$1m = functionUncurryThis; +var uncurryThis$1l = functionUncurryThis; // eslint-disable-next-line es/no-map -- safe var MapPrototype$1 = Map.prototype; @@ -5820,15 +5820,15 @@ var MapPrototype$1 = Map.prototype; var mapHelpers = { // eslint-disable-next-line es/no-map -- safe Map: Map, - set: uncurryThis$1m(MapPrototype$1.set), - get: uncurryThis$1m(MapPrototype$1.get), - has: uncurryThis$1m(MapPrototype$1.has), - remove: uncurryThis$1m(MapPrototype$1['delete']), + set: uncurryThis$1l(MapPrototype$1.set), + get: uncurryThis$1l(MapPrototype$1.get), + has: uncurryThis$1l(MapPrototype$1.has), + remove: uncurryThis$1l(MapPrototype$1['delete']), proto: MapPrototype$1 }; var $$4A = _export; -var uncurryThis$1l = functionUncurryThis; +var uncurryThis$1k = functionUncurryThis; var aCallable$C = aCallable$M; var requireObjectCoercible$k = requireObjectCoercible$p; var iterate$C = iterate$G; @@ -5839,7 +5839,7 @@ var Map$b = MapHelpers$b.Map; var has$c = MapHelpers$b.has; var get$4 = MapHelpers$b.get; var set$9 = MapHelpers$b.set; -var push$m = uncurryThis$1l([].push); +var push$m = uncurryThis$1k([].push); // `Map.groupBy` method // https://github.com/tc39/proposal-array-grouping @@ -6174,22 +6174,22 @@ $$4j({ target: 'Math', stat: true }, { trunc: trunc }); -var uncurryThis$1k = functionUncurryThis; +var uncurryThis$1j = functionUncurryThis; // `thisNumberValue` abstract operation // https://tc39.es/ecma262/#sec-thisnumbervalue -var thisNumberValue$5 = uncurryThis$1k(1.0.valueOf); +var thisNumberValue$5 = uncurryThis$1j(1.0.valueOf); // a string of all valid unicode whitespaces var whitespaces$6 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; -var uncurryThis$1j = functionUncurryThis; +var uncurryThis$1i = functionUncurryThis; var requireObjectCoercible$j = requireObjectCoercible$p; var toString$A = toString$J; var whitespaces$5 = whitespaces$6; -var replace$a = uncurryThis$1j(''.replace); +var replace$a = uncurryThis$1i(''.replace); var ltrim = RegExp('^[' + whitespaces$5 + ']+'); var rtrim = RegExp('(^|[^' + whitespaces$5 + '])[' + whitespaces$5 + ']+$'); @@ -6220,7 +6220,7 @@ var IS_PURE$h = isPure; var DESCRIPTORS$B = descriptors; var global$P = global$1a; var path = path$2; -var uncurryThis$1i = functionUncurryThis; +var uncurryThis$1h = functionUncurryThis; var isForced$2 = isForced_1; var hasOwn$m = hasOwnProperty_1; var inheritIfRequired$3 = inheritIfRequired$7; @@ -6239,8 +6239,8 @@ var NativeNumber = global$P[NUMBER]; path[NUMBER]; var NumberPrototype = NativeNumber.prototype; var TypeError$6 = global$P.TypeError; -var stringSlice$j = uncurryThis$1i(''.slice); -var charCodeAt$7 = uncurryThis$1i(''.charCodeAt); +var stringSlice$j = uncurryThis$1h(''.slice); +var charCodeAt$7 = uncurryThis$1h(''.charCodeAt); // `ToNumeric` abstract operation // https://tc39.es/ecma262/#sec-tonumeric @@ -6416,12 +6416,12 @@ $$4b({ target: 'Number', stat: true, nonConfigurable: true, nonWritable: true }, var global$N = global$1a; var fails$V = fails$1u; -var uncurryThis$1h = functionUncurryThis; +var uncurryThis$1g = functionUncurryThis; var toString$z = toString$J; var trim$1 = stringTrim.trim; var whitespaces$4 = whitespaces$6; -var charAt$k = uncurryThis$1h(''.charAt); +var charAt$k = uncurryThis$1g(''.charAt); var $parseFloat$1 = global$N.parseFloat; var Symbol$6 = global$N.Symbol; var ITERATOR$7 = Symbol$6 && Symbol$6.iterator; @@ -6449,7 +6449,7 @@ $$4a({ target: 'Number', stat: true, forced: Number.parseFloat !== parseFloat$1 var global$M = global$1a; var fails$U = fails$1u; -var uncurryThis$1g = functionUncurryThis; +var uncurryThis$1f = functionUncurryThis; var toString$y = toString$J; var trim = stringTrim.trim; var whitespaces$3 = whitespaces$6; @@ -6458,7 +6458,7 @@ var $parseInt$3 = global$M.parseInt; var Symbol$5 = global$M.Symbol; var ITERATOR$6 = Symbol$5 && Symbol$5.iterator; var hex = /^[+-]?0x/i; -var exec$e = uncurryThis$1g(hex.exec); +var exec$d = uncurryThis$1f(hex.exec); var FORCED$i = $parseInt$3(whitespaces$3 + '08') !== 8 || $parseInt$3(whitespaces$3 + '0x16') !== 22 // MS Edge 18- broken with boxed symbols || (ITERATOR$6 && !fails$U(function () { $parseInt$3(Object(ITERATOR$6)); })); @@ -6467,7 +6467,7 @@ var FORCED$i = $parseInt$3(whitespaces$3 + '08') !== 8 || $parseInt$3(whitespace // https://tc39.es/ecma262/#sec-parseint-string-radix var numberParseInt = FORCED$i ? function parseInt(string, radix) { var S = trim(toString$y(string)); - return $parseInt$3(S, (radix >>> 0) || (exec$e(hex, S) ? 16 : 10)); + return $parseInt$3(S, (radix >>> 0) || (exec$d(hex, S) ? 16 : 10)); } : $parseInt$3; var $$49 = _export; @@ -6481,7 +6481,7 @@ $$49({ target: 'Number', stat: true, forced: Number.parseInt !== parseInt$3 }, { }); var $$48 = _export; -var uncurryThis$1f = functionUncurryThis; +var uncurryThis$1e = functionUncurryThis; var toIntegerOrInfinity$c = toIntegerOrInfinity$p; var thisNumberValue$3 = thisNumberValue$5; var $repeat$1 = stringRepeat; @@ -6495,9 +6495,9 @@ var abs = Math.abs; var floor$5 = Math.floor; var pow$3 = Math.pow; var round$1 = Math.round; -var nativeToExponential = uncurryThis$1f(1.0.toExponential); -var repeat$2 = uncurryThis$1f($repeat$1); -var stringSlice$i = uncurryThis$1f(''.slice); +var nativeToExponential = uncurryThis$1e(1.0.toExponential); +var repeat$2 = uncurryThis$1e($repeat$1); +var stringSlice$i = uncurryThis$1e(''.slice); // Edge 17- var ROUNDS_PROPERLY = nativeToExponential(-6.9e-11, 4) === '-6.9000e-11' @@ -6583,7 +6583,7 @@ $$48({ target: 'Number', proto: true, forced: FORCED$h }, { }); var $$47 = _export; -var uncurryThis$1e = functionUncurryThis; +var uncurryThis$1d = functionUncurryThis; var toIntegerOrInfinity$b = toIntegerOrInfinity$p; var thisNumberValue$2 = thisNumberValue$5; var $repeat = stringRepeat; @@ -6592,9 +6592,9 @@ var fails$S = fails$1u; var $RangeError$8 = RangeError; var $String$2 = String; var floor$4 = Math.floor; -var repeat$1 = uncurryThis$1e($repeat); -var stringSlice$h = uncurryThis$1e(''.slice); -var nativeToFixed = uncurryThis$1e(1.0.toFixed); +var repeat$1 = uncurryThis$1d($repeat); +var stringSlice$h = uncurryThis$1d(''.slice); +var nativeToFixed = uncurryThis$1d(1.0.toFixed); var pow$2 = function (x, n, acc) { return n === 0 ? acc : n % 2 === 1 ? pow$2(x, n - 1, acc * x) : pow$2(x * x, n / 2, acc); @@ -6714,11 +6714,11 @@ $$47({ target: 'Number', proto: true, forced: FORCED$g }, { }); var $$46 = _export; -var uncurryThis$1d = functionUncurryThis; +var uncurryThis$1c = functionUncurryThis; var fails$R = fails$1u; var thisNumberValue$1 = thisNumberValue$5; -var nativeToPrecision = uncurryThis$1d(1.0.toPrecision); +var nativeToPrecision = uncurryThis$1c(1.0.toPrecision); var FORCED$f = fails$R(function () { // IE7- @@ -6739,8 +6739,8 @@ $$46({ target: 'Number', proto: true, forced: FORCED$f }, { }); var DESCRIPTORS$A = descriptors; -var uncurryThis$1c = functionUncurryThis; -var call$13 = functionCall; +var uncurryThis$1b = functionUncurryThis; +var call$14 = functionCall; var fails$Q = fails$1u; var objectKeys$3 = objectKeys$6; var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; @@ -6752,7 +6752,7 @@ var IndexedObject$2 = indexedObject; var $assign = Object.assign; // eslint-disable-next-line es/no-object-defineproperty -- required for testing var defineProperty$8 = Object.defineProperty; -var concat$2 = uncurryThis$1c([].concat); +var concat$2 = uncurryThis$1b([].concat); // `Object.assign` method // https://tc39.es/ecma262/#sec-object.assign @@ -6790,7 +6790,7 @@ var objectAssign = !$assign || fails$Q(function () { var key; while (length > j) { key = keys[j++]; - if (!DESCRIPTORS$A || call$13(propertyIsEnumerable, S, key)) T[key] = S[key]; + if (!DESCRIPTORS$A || call$14(propertyIsEnumerable, S, key)) T[key] = S[key]; } } return T; } : $assign; @@ -6890,14 +6890,14 @@ if (DESCRIPTORS$v) { var DESCRIPTORS$u = descriptors; var fails$O = fails$1u; -var uncurryThis$1b = functionUncurryThis; +var uncurryThis$1a = functionUncurryThis; var objectGetPrototypeOf$1 = objectGetPrototypeOf$2; var objectKeys$2 = objectKeys$6; var toIndexedObject$5 = toIndexedObject$k; var $propertyIsEnumerable = objectPropertyIsEnumerable.f; -var propertyIsEnumerable = uncurryThis$1b($propertyIsEnumerable); -var push$l = uncurryThis$1b([].push); +var propertyIsEnumerable = uncurryThis$1a($propertyIsEnumerable); +var push$l = uncurryThis$1a([].push); // in some IE versions, `propertyIsEnumerable` returns incorrect result on integer keys // of `null` prototype objects @@ -7054,14 +7054,14 @@ $$3V({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$3, sham: !CORRE var $$3U = _export; var getBuiltIn$A = getBuiltIn$M; -var uncurryThis$1a = functionUncurryThis; +var uncurryThis$19 = functionUncurryThis; var aCallable$z = aCallable$M; var requireObjectCoercible$i = requireObjectCoercible$p; var toPropertyKey$5 = toPropertyKey$a; var iterate$A = iterate$G; var create$d = getBuiltIn$A('Object', 'create'); -var push$k = uncurryThis$1a([].push); +var push$k = uncurryThis$19([].push); // `Object.groupBy` method // https://github.com/tc39/proposal-array-grouping @@ -7358,13 +7358,13 @@ var userAgent$3 = engineUserAgent; var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$3); var global$K = global$1a; -var apply$9 = functionApply$1; +var apply$8 = functionApply$1; var bind$n = functionBindContext; var isCallable$l = isCallable$I; var hasOwn$k = hasOwnProperty_1; var fails$E = fails$1u; var html = html$2; -var arraySlice$5 = arraySlice$b; +var arraySlice$4 = arraySlice$a; var createElement = documentCreateElement$2; var validateArgumentsLength$a = validateArgumentsLength$b; var IS_IOS$1 = engineIsIos; @@ -7415,9 +7415,9 @@ if (!set$8 || !clear) { set$8 = function setImmediate(handler) { validateArgumentsLength$a(arguments.length, 1); var fn = isCallable$l(handler) ? handler : Function$2(handler); - var args = arraySlice$5(arguments, 1); + var args = arraySlice$4(arguments, 1); queue$2[++counter] = function () { - apply$9(fn, undefined, args); + apply$8(fn, undefined, args); }; defer(counter); return counter; @@ -7699,7 +7699,7 @@ newPromiseCapability$2.f = function (C) { var $$3F = _export; var IS_NODE$2 = engineIsNode; var global$F = global$1a; -var call$12 = functionCall; +var call$13 = functionCall; var defineBuiltIn$h = defineBuiltIn$u; var setPrototypeOf$2 = objectSetPrototypeOf$1; var setToStringTag$5 = setToStringTag$e; @@ -7777,7 +7777,7 @@ var callReaction = function (reaction, state) { if (result === reaction.promise) { reject(new TypeError$5('Promise-chain cycle')); } else if (then = isThenable(result)) { - call$12(then, result, resolve, reject); + call$13(then, result, resolve, reject); } else resolve(result); } else reject(value); } catch (error) { @@ -7814,7 +7814,7 @@ var dispatchEvent = function (name, promise, reason) { }; var onUnhandled = function (state) { - call$12(task, global$F, function () { + call$13(task, global$F, function () { var promise = state.facade; var value = state.value; var IS_UNHANDLED = isUnhandled(state); @@ -7837,7 +7837,7 @@ var isUnhandled = function (state) { }; var onHandleUnhandled = function (state) { - call$12(task, global$F, function () { + call$13(task, global$F, function () { var promise = state.facade; if (IS_NODE$2) { process.emit('rejectionHandled', promise); @@ -7871,7 +7871,7 @@ var internalResolve = function (state, value, unwrap) { microtask$1(function () { var wrapper = { done: false }; try { - call$12(then, value, + call$13(then, value, bind$l(internalResolve, wrapper, state), bind$l(internalReject, wrapper, state) ); @@ -7895,7 +7895,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) { PromiseConstructor = function Promise(executor) { anInstance$b(this, PromisePrototype); aCallable$x(executor); - call$12(Internal, this); + call$13(Internal, this); var state = getInternalPromiseState(this); try { executor(bind$l(internalResolve, state), bind$l(internalReject, state)); @@ -7958,7 +7958,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) { defineBuiltIn$h(NativePromisePrototype$2, 'then', function then(onFulfilled, onRejected) { var that = this; return new PromiseConstructor(function (resolve, reject) { - call$12(nativeThen, that, resolve, reject); + call$13(nativeThen, that, resolve, reject); }).then(onFulfilled, onRejected); // https://github.com/zloirock/core-js/issues/640 }, { unsafe: true }); @@ -7992,7 +7992,7 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor }); var $$3E = _export; -var call$11 = functionCall; +var call$12 = functionCall; var aCallable$w = aCallable$M; var newPromiseCapabilityModule$6 = newPromiseCapability$2; var perform$5 = perform$7; @@ -8016,7 +8016,7 @@ $$3E({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATIO var index = counter++; var alreadyCalled = false; remaining++; - call$11($promiseResolve, C, promise).then(function (value) { + call$12($promiseResolve, C, promise).then(function (value) { if (alreadyCalled) return; alreadyCalled = true; values[index] = value; @@ -8056,7 +8056,7 @@ if (isCallable$i(NativePromiseConstructor$1)) { } var $$3C = _export; -var call$10 = functionCall; +var call$11 = functionCall; var aCallable$v = aCallable$M; var newPromiseCapabilityModule$5 = newPromiseCapability$2; var perform$4 = perform$7; @@ -8073,7 +8073,7 @@ $$3C({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATIO var result = perform$4(function () { var $promiseResolve = aCallable$v(C.resolve); iterate$y(iterable, function (promise) { - call$10($promiseResolve, C, promise).then(capability.resolve, reject); + call$11($promiseResolve, C, promise).then(capability.resolve, reject); }); }); if (result.error) reject(result.value); @@ -8125,7 +8125,7 @@ $$3A({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { }); var $$3z = _export; -var call$$ = functionCall; +var call$10 = functionCall; var aCallable$u = aCallable$M; var newPromiseCapabilityModule$3 = newPromiseCapability$2; var perform$3 = perform$7; @@ -8149,7 +8149,7 @@ $$3z({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATIO var index = counter++; var alreadyCalled = false; remaining++; - call$$(promiseResolve, C, promise).then(function (value) { + call$10(promiseResolve, C, promise).then(function (value) { if (alreadyCalled) return; alreadyCalled = true; values[index] = { status: 'fulfilled', value: value }; @@ -8169,7 +8169,7 @@ $$3z({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATIO }); var $$3y = _export; -var call$_ = functionCall; +var call$$ = functionCall; var aCallable$t = aCallable$M; var getBuiltIn$x = getBuiltIn$M; var newPromiseCapabilityModule$2 = newPromiseCapability$2; @@ -8198,7 +8198,7 @@ $$3y({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATIO var index = counter++; var alreadyRejected = false; remaining++; - call$_(promiseResolve, C, promise).then(function (value) { + call$$(promiseResolve, C, promise).then(function (value) { if (alreadyRejected || alreadyResolved) return; alreadyResolved = true; resolve(value); @@ -8296,7 +8296,7 @@ $$3v({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, { var $$3u = _export; var getBuiltIn$v = getBuiltIn$M; -var apply$8 = functionApply$1; +var apply$7 = functionApply$1; var bind$k = functionBind; var aConstructor$2 = aConstructor$4; var anObject$11 = anObject$1i; @@ -8340,13 +8340,13 @@ $$3u({ target: 'Reflect', stat: true, forced: FORCED$7, sham: FORCED$7 }, { } // w/o altered newTarget, lot of arguments case var $args = [null]; - apply$8(push$j, $args, args); - return new (apply$8(bind$k, Target, $args))(); + apply$7(push$j, $args, args); + return new (apply$7(bind$k, Target, $args))(); } // with altered newTarget, not support built-in constructors var proto = newTarget.prototype; var instance = create$c(isObject$k(proto) ? proto : ObjectPrototype); - var result = apply$8(Target, instance, args); + var result = apply$7(Target, instance, args); return isObject$k(result) ? result : instance; } }); @@ -8400,7 +8400,7 @@ var isDataDescriptor$2 = function (descriptor) { }; var $$3r = _export; -var call$Z = functionCall; +var call$_ = functionCall; var isObject$j = isObject$M; var anObject$_ = anObject$1i; var isDataDescriptor$1 = isDataDescriptor$2; @@ -8416,7 +8416,7 @@ function get$3(target, propertyKey /* , receiver */) { descriptor = getOwnPropertyDescriptorModule$3.f(target, propertyKey); if (descriptor) return isDataDescriptor$1(descriptor) ? descriptor.value - : descriptor.get === undefined ? undefined : call$Z(descriptor.get, receiver); + : descriptor.get === undefined ? undefined : call$_(descriptor.get, receiver); if (isObject$j(prototype = getPrototypeOf$8(target))) return get$3(prototype, propertyKey, receiver); } @@ -8503,7 +8503,7 @@ $$3l({ target: 'Reflect', stat: true, sham: !FREEZING$3 }, { }); var $$3k = _export; -var call$Y = functionCall; +var call$Z = functionCall; var anObject$V = anObject$1i; var isObject$i = isObject$M; var isDataDescriptor = isDataDescriptor$2; @@ -8535,7 +8535,7 @@ function set$7(target, propertyKey, V /* , receiver */) { } else { setter = ownDescriptor.set; if (setter === undefined) return false; - call$Y(setter, receiver, V); + call$Z(setter, receiver, V); } return true; } @@ -8613,7 +8613,7 @@ var regexpFlags$1 = function () { return result; }; -var call$X = functionCall; +var call$Y = functionCall; var hasOwn$i = hasOwnProperty_1; var isPrototypeOf$5 = objectIsPrototypeOf; var regExpFlags$1 = regexpFlags$1; @@ -8623,7 +8623,7 @@ var RegExpPrototype$7 = RegExp.prototype; var regexpGetFlags = function (R) { var flags = R.flags; return flags === undefined && !('flags' in RegExpPrototype$7) && !hasOwn$i(R, 'flags') && isPrototypeOf$5(RegExpPrototype$7, R) - ? call$X(regExpFlags$1, R) : flags; + ? call$Y(regExpFlags$1, R) : flags; }; var fails$y = fails$1u; @@ -8682,14 +8682,14 @@ var regexpUnsupportedNcg = fails$w(function () { var DESCRIPTORS$l = descriptors; var global$A = global$1a; -var uncurryThis$19 = functionUncurryThis; +var uncurryThis$18 = functionUncurryThis; var isForced = isForced_1; var inheritIfRequired$2 = inheritIfRequired$7; var createNonEnumerableProperty$9 = createNonEnumerableProperty$j; var create$b = objectCreate$1; var getOwnPropertyNames$2 = objectGetOwnPropertyNames.f; var isPrototypeOf$4 = objectIsPrototypeOf; -var isRegExp$4 = isRegexp; +var isRegExp$3 = isRegexp; var toString$w = toString$J; var getRegExpFlags$4 = regexpGetFlags; var stickyHelpers$2 = regexpStickyHelpers; @@ -8707,11 +8707,11 @@ var MATCH$1 = wellKnownSymbol$s('match'); var NativeRegExp = global$A.RegExp; var RegExpPrototype$6 = NativeRegExp.prototype; var SyntaxError$4 = global$A.SyntaxError; -var exec$d = uncurryThis$19(RegExpPrototype$6.exec); -var charAt$j = uncurryThis$19(''.charAt); -var replace$9 = uncurryThis$19(''.replace); -var stringIndexOf$5 = uncurryThis$19(''.indexOf); -var stringSlice$g = uncurryThis$19(''.slice); +var exec$c = uncurryThis$18(RegExpPrototype$6.exec); +var charAt$j = uncurryThis$18(''.charAt); +var replace$9 = uncurryThis$18(''.replace); +var stringIndexOf$4 = uncurryThis$18(''.indexOf); +var stringSlice$g = uncurryThis$18(''.slice); // TODO: Use only proper RegExpIdentifierName var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/; var re1 = /a/g; @@ -8776,7 +8776,7 @@ var handleNCG = function (string) { brackets = true; break; case chr === '(': - if (exec$d(IS_NCG, stringSlice$g(string, index + 1))) { + if (exec$c(IS_NCG, stringSlice$g(string, index + 1))) { index += 2; ncg = true; } @@ -8803,7 +8803,7 @@ var handleNCG = function (string) { if (isForced('RegExp', BASE_FORCED)) { var RegExpWrapper = function RegExp(pattern, flags) { var thisIsRegExp = isPrototypeOf$4(RegExpPrototype$6, this); - var patternIsRegExp = isRegExp$4(pattern); + var patternIsRegExp = isRegExp$3(pattern); var flagsAreUndefined = flags === undefined; var groups = []; var rawPattern = pattern; @@ -8823,14 +8823,14 @@ if (isForced('RegExp', BASE_FORCED)) { rawPattern = pattern; if (UNSUPPORTED_DOT_ALL$2 && 'dotAll' in re1) { - dotAll = !!flags && stringIndexOf$5(flags, 's') > -1; + dotAll = !!flags && stringIndexOf$4(flags, 's') > -1; if (dotAll) flags = replace$9(flags, /s/g, ''); } rawFlags = flags; if (MISSED_STICKY$1 && 'sticky' in re1) { - sticky = !!flags && stringIndexOf$5(flags, 'y') > -1; + sticky = !!flags && stringIndexOf$4(flags, 'y') > -1; if (sticky && UNSUPPORTED_Y$2) flags = replace$9(flags, /y/g, ''); } @@ -8900,8 +8900,8 @@ if (DESCRIPTORS$k && UNSUPPORTED_DOT_ALL$1) { /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ /* eslint-disable regexp/no-useless-quantifier -- testing */ -var call$W = functionCall; -var uncurryThis$18 = functionUncurryThis; +var call$X = functionCall; +var uncurryThis$17 = functionUncurryThis; var toString$v = toString$J; var regexpFlags = regexpFlags$1; var stickyHelpers$1 = regexpStickyHelpers; @@ -8914,16 +8914,16 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg; var nativeReplace = shared$3('native-string-replace', String.prototype.replace); var nativeExec = RegExp.prototype.exec; var patchedExec = nativeExec; -var charAt$i = uncurryThis$18(''.charAt); -var indexOf$1 = uncurryThis$18(''.indexOf); -var replace$8 = uncurryThis$18(''.replace); -var stringSlice$f = uncurryThis$18(''.slice); +var charAt$i = uncurryThis$17(''.charAt); +var indexOf$1 = uncurryThis$17(''.indexOf); +var replace$8 = uncurryThis$17(''.replace); +var stringSlice$f = uncurryThis$17(''.slice); var UPDATES_LAST_INDEX_WRONG = (function () { var re1 = /a/; var re2 = /b*/g; - call$W(nativeExec, re1, 'a'); - call$W(nativeExec, re2, 'a'); + call$X(nativeExec, re1, 'a'); + call$X(nativeExec, re2, 'a'); return re1.lastIndex !== 0 || re2.lastIndex !== 0; })(); @@ -8944,14 +8944,14 @@ if (PATCH) { if (raw) { raw.lastIndex = re.lastIndex; - result = call$W(patchedExec, raw, str); + result = call$X(patchedExec, raw, str); re.lastIndex = raw.lastIndex; return result; } var groups = state.groups; var sticky = UNSUPPORTED_Y$1 && re.sticky; - var flags = call$W(regexpFlags, re); + var flags = call$X(regexpFlags, re); var source = re.source; var charsAdded = 0; var strCopy = str; @@ -8979,7 +8979,7 @@ if (PATCH) { } if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; - match = call$W(nativeExec, sticky ? reCopy : re, strCopy); + match = call$X(nativeExec, sticky ? reCopy : re, strCopy); if (sticky) { if (match) { @@ -8994,7 +8994,7 @@ if (PATCH) { if (NPCG_INCLUDED && match && match.length > 1) { // Fix browsers whose `exec` methods don't consistently return `undefined` // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/ - call$W(nativeReplace, match[0], reCopy, function () { + call$X(nativeReplace, match[0], reCopy, function () { for (i = 1; i < arguments.length - 2; i++) { if (arguments[i] === undefined) match[i] = undefined; } @@ -9013,15 +9013,15 @@ if (PATCH) { }; } -var regexpExec$3 = patchedExec; +var regexpExec$2 = patchedExec; var $$3h = _export; -var exec$c = regexpExec$3; +var exec$b = regexpExec$2; // `RegExp.prototype.exec` method // https://tc39.es/ecma262/#sec-regexp.prototype.exec -$$3h({ target: 'RegExp', proto: true, forced: /./.exec !== exec$c }, { - exec: exec$c +$$3h({ target: 'RegExp', proto: true, forced: /./.exec !== exec$b }, { + exec: exec$b }); var global$z = global$1a; @@ -9109,7 +9109,7 @@ if (DESCRIPTORS$i && MISSED_STICKY) { // TODO: Remove from `core-js@4` since it's moved to entry points var $$3g = _export; -var call$V = functionCall; +var call$W = functionCall; var isCallable$g = isCallable$I; var anObject$S = anObject$1i; var toString$u = toString$J; @@ -9133,8 +9133,8 @@ $$3g({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, { var R = anObject$S(this); var string = toString$u(S); var exec = R.exec; - if (!isCallable$g(exec)) return call$V(nativeTest, R, string); - var result = call$V(exec, R, string); + if (!isCallable$g(exec)) return call$W(nativeTest, R, string); + var result = call$W(exec, R, string); if (result === null) return false; anObject$S(result); return true; @@ -9177,13 +9177,13 @@ collection$2('Set', function (init) { }, collectionStrong); var $$3f = _export; -var uncurryThis$17 = functionUncurryThis; +var uncurryThis$16 = functionUncurryThis; var requireObjectCoercible$g = requireObjectCoercible$p; var toIntegerOrInfinity$a = toIntegerOrInfinity$p; var toString$t = toString$J; var fails$s = fails$1u; -var charAt$h = uncurryThis$17(''.charAt); +var charAt$h = uncurryThis$16(''.charAt); var FORCED$5 = fails$s(function () { // eslint-disable-next-line es/no-array-string-prototype-at -- safe @@ -9202,14 +9202,14 @@ $$3f({ target: 'String', proto: true, forced: FORCED$5 }, { } }); -var uncurryThis$16 = functionUncurryThis; +var uncurryThis$15 = functionUncurryThis; var toIntegerOrInfinity$9 = toIntegerOrInfinity$p; var toString$s = toString$J; var requireObjectCoercible$f = requireObjectCoercible$p; -var charAt$g = uncurryThis$16(''.charAt); -var charCodeAt$6 = uncurryThis$16(''.charCodeAt); -var stringSlice$e = uncurryThis$16(''.slice); +var charAt$g = uncurryThis$15(''.charAt); +var charCodeAt$6 = uncurryThis$15(''.charCodeAt); +var stringSlice$e = uncurryThis$15(''.slice); var createMethod$1 = function (CONVERT_TO_STRING) { return function ($this, pos) { @@ -9250,12 +9250,12 @@ $$3e({ target: 'String', proto: true }, { } }); -var isRegExp$3 = isRegexp; +var isRegExp$2 = isRegexp; var $TypeError$r = TypeError; var notARegexp = function (it) { - if (isRegExp$3(it)) { + if (isRegExp$2(it)) { throw new $TypeError$r("The method doesn't accept regular expressions"); } return it; }; @@ -9277,7 +9277,7 @@ var correctIsRegexpLogic = function (METHOD_NAME) { }; var $$3d = _export; -var uncurryThis$15 = functionUncurryThisClause; +var uncurryThis$14 = functionUncurryThisClause; var getOwnPropertyDescriptor$5 = objectGetOwnPropertyDescriptor.f; var toLength$7 = toLength$d; var toString$r = toString$J; @@ -9285,7 +9285,7 @@ var notARegExp$2 = notARegexp; var requireObjectCoercible$e = requireObjectCoercible$p; var correctIsRegExpLogic$2 = correctIsRegexpLogic; -var slice$6 = uncurryThis$15(''.slice); +var slice$6 = uncurryThis$14(''.slice); var min$8 = Math.min; var CORRECT_IS_REGEXP_LOGIC$1 = correctIsRegExpLogic$2('endsWith'); @@ -9310,14 +9310,14 @@ $$3d({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS }); var $$3c = _export; -var uncurryThis$14 = functionUncurryThis; +var uncurryThis$13 = functionUncurryThis; var toAbsoluteIndex$2 = toAbsoluteIndex$a; var $RangeError$7 = RangeError; var fromCharCode$5 = String.fromCharCode; // eslint-disable-next-line es/no-string-fromcodepoint -- required for testing var $fromCodePoint = String.fromCodePoint; -var join$7 = uncurryThis$14([].join); +var join$7 = uncurryThis$13([].join); // length should be 1, old FF problem var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length !== 1; @@ -9342,19 +9342,19 @@ $$3c({ target: 'String', stat: true, arity: 1, forced: INCORRECT_LENGTH }, { }); var $$3b = _export; -var uncurryThis$13 = functionUncurryThis; +var uncurryThis$12 = functionUncurryThis; var notARegExp$1 = notARegexp; var requireObjectCoercible$d = requireObjectCoercible$p; var toString$q = toString$J; var correctIsRegExpLogic$1 = correctIsRegexpLogic; -var stringIndexOf$4 = uncurryThis$13(''.indexOf); +var stringIndexOf$3 = uncurryThis$12(''.indexOf); // `String.prototype.includes` method // https://tc39.es/ecma262/#sec-string.prototype.includes $$3b({ target: 'String', proto: true, forced: !correctIsRegExpLogic$1('includes') }, { includes: function includes(searchString /* , position = 0 */) { - return !!~stringIndexOf$4( + return !!~stringIndexOf$3( toString$q(requireObjectCoercible$d(this)), toString$q(notARegExp$1(searchString)), arguments.length > 1 ? arguments[1] : undefined @@ -9363,11 +9363,11 @@ $$3b({ target: 'String', proto: true, forced: !correctIsRegExpLogic$1('includes' }); var $$3a = _export; -var uncurryThis$12 = functionUncurryThis; +var uncurryThis$11 = functionUncurryThis; var requireObjectCoercible$c = requireObjectCoercible$p; var toString$p = toString$J; -var charCodeAt$5 = uncurryThis$12(''.charCodeAt); +var charCodeAt$5 = uncurryThis$11(''.charCodeAt); // `String.prototype.isWellFormed` method // https://github.com/tc39/proposal-is-usv-string @@ -9418,9 +9418,9 @@ defineIterator(String, 'String', function (iterated) { // TODO: Remove from `core-js@4` since it's moved to entry points -var uncurryThis$11 = functionUncurryThisClause; +var call$V = functionCall; var defineBuiltIn$c = defineBuiltIn$u; -var regexpExec$2 = regexpExec$3; +var regexpExec$1 = regexpExec$2; var fails$r = fails$1u; var wellKnownSymbol$q = wellKnownSymbol$S; var createNonEnumerableProperty$8 = createNonEnumerableProperty$j; @@ -9432,7 +9432,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) { var SYMBOL = wellKnownSymbol$q(KEY); var DELEGATES_TO_SYMBOL = !fails$r(function () { - // String methods call symbol-named RegEp methods + // String methods call symbol-named RegExp methods var O = {}; O[SYMBOL] = function () { return 7; }; return ''[KEY](O) !== 7; @@ -9470,18 +9470,17 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) { !DELEGATES_TO_EXEC || FORCED ) { - var uncurriedNativeRegExpMethod = uncurryThis$11(/./[SYMBOL]); + var nativeRegExpMethod = /./[SYMBOL]; var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { - var uncurriedNativeMethod = uncurryThis$11(nativeMethod); var $exec = regexp.exec; - if ($exec === regexpExec$2 || $exec === RegExpPrototype$1.exec) { + if ($exec === regexpExec$1 || $exec === RegExpPrototype$1.exec) { if (DELEGATES_TO_SYMBOL && !forceStringMethod) { // The native String method already delegates to @@method (this // polyfilled function), leasing to infinite recursion. // We avoid it by directly calling the native @@method method. - return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) }; + return { done: true, value: call$V(nativeRegExpMethod, regexp, str, arg2) }; } - return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) }; + return { done: true, value: call$V(nativeMethod, str, regexp, arg2) }; } return { done: false }; }); @@ -9505,7 +9504,7 @@ var call$U = functionCall; var anObject$Q = anObject$1i; var isCallable$f = isCallable$I; var classof$a = classofRaw$2; -var regexpExec$1 = regexpExec$3; +var regexpExec = regexpExec$2; var $TypeError$q = TypeError; @@ -9518,7 +9517,7 @@ var regexpExecAbstract = function (R, S) { if (result !== null) anObject$Q(result); return result; } - if (classof$a(R) === 'RegExp') return call$U(regexpExec$1, R, S); + if (classof$a(R) === 'RegExp') return call$U(regexpExec, R, S); throw new $TypeError$q('RegExp#exec called on incompatible receiver'); }; @@ -9531,7 +9530,7 @@ var toString$n = toString$J; var requireObjectCoercible$b = requireObjectCoercible$p; var getMethod$h = getMethod$l; var advanceStringIndex$3 = advanceStringIndex$4; -var regExpExec$3 = regexpExecAbstract; +var regExpExec$4 = regexpExecAbstract; // @@match logic fixRegExpWellKnownSymbolLogic$3('match', function (MATCH, nativeMatch, maybeCallNative) { @@ -9552,14 +9551,14 @@ fixRegExpWellKnownSymbolLogic$3('match', function (MATCH, nativeMatch, maybeCall if (res.done) return res.value; - if (!rx.global) return regExpExec$3(rx, S); + if (!rx.global) return regExpExec$4(rx, S); var fullUnicode = rx.unicode; rx.lastIndex = 0; var A = []; var n = 0; var result; - while ((result = regExpExec$3(rx, S)) !== null) { + while ((result = regExpExec$4(rx, S)) !== null) { var matchStr = toString$n(result[0]); A[n] = matchStr; if (matchStr === '') rx.lastIndex = advanceStringIndex$3(S, toLength$6(rx.lastIndex), fullUnicode); @@ -9582,7 +9581,7 @@ var toString$m = toString$J; var anObject$O = anObject$1i; var isNullOrUndefined$b = isNullOrUndefined$j; var classof$9 = classofRaw$2; -var isRegExp$2 = isRegexp; +var isRegExp$1 = isRegexp; var getRegExpFlags$2 = regexpGetFlags; var getMethod$g = getMethod$l; var defineBuiltIn$b = defineBuiltIn$u; @@ -9590,7 +9589,7 @@ var fails$q = fails$1u; var wellKnownSymbol$p = wellKnownSymbol$S; var speciesConstructor$2 = speciesConstructor$6; var advanceStringIndex$2 = advanceStringIndex$4; -var regExpExec$2 = regexpExecAbstract; +var regExpExec$3 = regexpExecAbstract; var InternalStateModule$f = internalState; var IS_PURE$g = isPure; @@ -9601,7 +9600,7 @@ var setInternalState$g = InternalStateModule$f.set; var getInternalState$8 = InternalStateModule$f.getterFor(REGEXP_STRING_ITERATOR); var RegExpPrototype = RegExp.prototype; var $TypeError$p = TypeError; -var stringIndexOf$3 = uncurryThis$10(''.indexOf); +var stringIndexOf$2 = uncurryThis$10(''.indexOf); var nativeMatchAll = uncurryThis$10(''.matchAll); var WORKS_WITH_NON_GLOBAL_REGEX = !!nativeMatchAll && !fails$q(function () { @@ -9622,7 +9621,7 @@ var $RegExpStringIterator = createIteratorConstructor$5(function RegExpStringIte if (state.done) return createIterResultObject$d(undefined, true); var R = state.regexp; var S = state.string; - var match = regExpExec$2(R, S); + var match = regExpExec$3(R, S); if (match === null) { state.done = true; return createIterResultObject$d(undefined, true); @@ -9642,8 +9641,8 @@ var $matchAll = function (string) { var flags = toString$m(getRegExpFlags$2(R)); var matcher, $global, fullUnicode; matcher = new C(C === RegExp ? R.source : R, flags); - $global = !!~stringIndexOf$3(flags, 'g'); - fullUnicode = !!~stringIndexOf$3(flags, 'u'); + $global = !!~stringIndexOf$2(flags, 'g'); + fullUnicode = !!~stringIndexOf$2(flags, 'u'); matcher.lastIndex = toLength$5(R.lastIndex); return new $RegExpStringIterator(matcher, S, $global, fullUnicode); }; @@ -9655,9 +9654,9 @@ $$39({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, { var O = requireObjectCoercible$a(this); var flags, S, matcher, rx; if (!isNullOrUndefined$b(regexp)) { - if (isRegExp$2(regexp)) { + if (isRegExp$1(regexp)) { flags = toString$m(requireObjectCoercible$a(getRegExpFlags$2(regexp))); - if (!~stringIndexOf$3(flags, 'g')) throw new $TypeError$p('`.matchAll` does not allow non-global regexes'); + if (!~stringIndexOf$2(flags, 'g')) throw new $TypeError$p('`.matchAll` does not allow non-global regexes'); } if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll(O, regexp); matcher = getMethod$g(regexp, MATCH_ALL); @@ -9784,7 +9783,7 @@ var getSubstitution$2 = function (matched, str, position, captures, namedCapture }); }; -var apply$7 = functionApply$1; +var apply$6 = functionApply$1; var call$R = functionCall; var uncurryThis$Z = functionUncurryThis; var fixRegExpWellKnownSymbolLogic$2 = fixRegexpWellKnownSymbolLogic; @@ -9799,7 +9798,7 @@ var requireObjectCoercible$9 = requireObjectCoercible$p; var advanceStringIndex$1 = advanceStringIndex$4; var getMethod$f = getMethod$l; var getSubstitution$1 = getSubstitution$2; -var regExpExec$1 = regexpExecAbstract; +var regExpExec$2 = regexpExecAbstract; var wellKnownSymbol$o = wellKnownSymbol$S; var REPLACE$1 = wellKnownSymbol$o('replace'); @@ -9807,7 +9806,7 @@ var max$5 = Math.max; var min$7 = Math.min; var concat$1 = uncurryThis$Z([].concat); var push$h = uncurryThis$Z([].push); -var stringIndexOf$2 = uncurryThis$Z(''.indexOf); +var stringIndexOf$1 = uncurryThis$Z(''.indexOf); var stringSlice$c = uncurryThis$Z(''.slice); var maybeToString = function (it) { @@ -9862,8 +9861,8 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall if ( typeof replaceValue == 'string' && - stringIndexOf$2(replaceValue, UNSAFE_SUBSTITUTE) === -1 && - stringIndexOf$2(replaceValue, '$<') === -1 + stringIndexOf$1(replaceValue, UNSAFE_SUBSTITUTE) === -1 && + stringIndexOf$1(replaceValue, '$<') === -1 ) { var res = maybeCallNative(nativeReplace, rx, S, replaceValue); if (res.done) return res.value; @@ -9882,7 +9881,7 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall var results = []; var result; while (true) { - result = regExpExec$1(rx, S); + result = regExpExec$2(rx, S); if (result === null) break; push$h(results, result); @@ -9911,7 +9910,7 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall if (functionalReplace) { var replacerArgs = concat$1([matched], captures, position, S); if (namedCaptures !== undefined) push$h(replacerArgs, namedCaptures); - replacement = toString$k(apply$7(replaceValue, undefined, replacerArgs)); + replacement = toString$k(apply$6(replaceValue, undefined, replacerArgs)); } else { replacement = getSubstitution$1(matched, S, position, captures, namedCaptures, replaceValue); } @@ -9932,7 +9931,7 @@ var uncurryThis$Y = functionUncurryThis; var requireObjectCoercible$8 = requireObjectCoercible$p; var isCallable$d = isCallable$I; var isNullOrUndefined$9 = isNullOrUndefined$j; -var isRegExp$1 = isRegexp; +var isRegExp = isRegexp; var toString$j = toString$J; var getMethod$e = getMethod$l; var getRegExpFlags$1 = regexpGetFlags; @@ -9946,12 +9945,6 @@ uncurryThis$Y(''.replace); var stringSlice$b = uncurryThis$Y(''.slice); var max$4 = Math.max; -var stringIndexOf$1 = function (string, searchValue, fromIndex) { - if (fromIndex > string.length) return -1; - if (searchValue === '') return fromIndex; - return indexOf(string, searchValue, fromIndex); -}; - // `String.prototype.replaceAll` method // https://tc39.es/ecma262/#sec-string.prototype.replaceall $$34({ target: 'String', proto: true }, { @@ -9962,7 +9955,7 @@ $$34({ target: 'String', proto: true }, { var endOfLastMatch = 0; var result = ''; if (!isNullOrUndefined$9(searchValue)) { - IS_REG_EXP = isRegExp$1(searchValue); + IS_REG_EXP = isRegExp(searchValue); if (IS_REG_EXP) { flags = toString$j(requireObjectCoercible$8(getRegExpFlags$1(searchValue))); if (!~indexOf(flags, 'g')) throw new $TypeError$o('`.replaceAll` does not allow non-global regexes'); @@ -9978,14 +9971,14 @@ $$34({ target: 'String', proto: true }, { if (!functionalReplace) replaceValue = toString$j(replaceValue); searchLength = searchString.length; advanceBy = max$4(1, searchLength); - position = stringIndexOf$1(string, searchString, 0); + position = indexOf(string, searchString); while (position !== -1) { replacement = functionalReplace ? toString$j(replaceValue(searchString, position, string)) : getSubstitution(searchString, string, position, [], undefined, replaceValue); result += stringSlice$b(string, endOfLastMatch, position) + replacement; endOfLastMatch = position + searchLength; - position = stringIndexOf$1(string, searchString, position + advanceBy); + position = position + advanceBy > string.length ? -1 : indexOf(string, searchString, position + advanceBy); } if (endOfLastMatch < string.length) { result += stringSlice$b(string, endOfLastMatch); @@ -10002,7 +9995,7 @@ var requireObjectCoercible$7 = requireObjectCoercible$p; var sameValue = sameValue$1; var toString$i = toString$J; var getMethod$d = getMethod$l; -var regExpExec = regexpExecAbstract; +var regExpExec$1 = regexpExecAbstract; // @@search logic fixRegExpWellKnownSymbolLogic$1('search', function (SEARCH, nativeSearch, maybeCallNative) { @@ -10025,38 +10018,32 @@ fixRegExpWellKnownSymbolLogic$1('search', function (SEARCH, nativeSearch, maybeC var previousLastIndex = rx.lastIndex; if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; - var result = regExpExec(rx, S); + var result = regExpExec$1(rx, S); if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; return result === null ? -1 : result.index; } ]; }); -var apply$6 = functionApply$1; var call$O = functionCall; var uncurryThis$X = functionUncurryThis; var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic; var anObject$L = anObject$1i; var isNullOrUndefined$7 = isNullOrUndefined$j; -var isRegExp = isRegexp; var requireObjectCoercible$6 = requireObjectCoercible$p; var speciesConstructor$1 = speciesConstructor$6; var advanceStringIndex = advanceStringIndex$4; var toLength$3 = toLength$d; var toString$h = toString$J; var getMethod$c = getMethod$l; -var arraySlice$4 = arraySlice$b; -var callRegExpExec = regexpExecAbstract; -var regexpExec = regexpExec$3; +var regExpExec = regexpExecAbstract; var stickyHelpers = regexpStickyHelpers; var fails$o = fails$1u; var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; var MAX_UINT32 = 0xFFFFFFFF; var min$6 = Math.min; -var $push = [].push; -var exec$b = uncurryThis$X(/./.exec); -var push$g = uncurryThis$X($push); +var push$g = uncurryThis$X([].push); var stringSlice$a = uncurryThis$X(''.slice); // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec @@ -10070,60 +10057,20 @@ var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails$o(function () { return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b'; }); +var BUGGY = 'abbc'.split(/(b)*/)[1] === 'c' || + // eslint-disable-next-line regexp/no-empty-group -- required for testing + 'test'.split(/(?:)/, -1).length !== 4 || + 'ab'.split(/(?:ab)*/).length !== 2 || + '.'.split(/(.?)(.?)/).length !== 4 || + // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing + '.'.split(/()()/).length > 1 || + ''.split(/.?/).length; + // @@split logic fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) { - var internalSplit; - if ( - 'abbc'.split(/(b)*/)[1] === 'c' || - // eslint-disable-next-line regexp/no-empty-group -- required for testing - 'test'.split(/(?:)/, -1).length !== 4 || - 'ab'.split(/(?:ab)*/).length !== 2 || - '.'.split(/(.?)(.?)/).length !== 4 || - // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing - '.'.split(/()()/).length > 1 || - ''.split(/.?/).length - ) { - // based on es5-shim implementation, need to rework it - internalSplit = function (separator, limit) { - var string = toString$h(requireObjectCoercible$6(this)); - var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; - if (lim === 0) return []; - if (separator === undefined) return [string]; - // If `separator` is not a regex, use native split - if (!isRegExp(separator)) { - return call$O(nativeSplit, string, separator, lim); - } - var output = []; - var flags = (separator.ignoreCase ? 'i' : '') + - (separator.multiline ? 'm' : '') + - (separator.unicode ? 'u' : '') + - (separator.sticky ? 'y' : ''); - var lastLastIndex = 0; - // Make `global` and avoid `lastIndex` issues by working with a copy - var separatorCopy = new RegExp(separator.source, flags + 'g'); - var match, lastIndex, lastLength; - while (match = call$O(regexpExec, separatorCopy, string)) { - lastIndex = separatorCopy.lastIndex; - if (lastIndex > lastLastIndex) { - push$g(output, stringSlice$a(string, lastLastIndex, match.index)); - if (match.length > 1 && match.index < string.length) apply$6($push, output, arraySlice$4(match, 1)); - lastLength = match[0].length; - lastLastIndex = lastIndex; - if (output.length >= lim) break; - } - if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop - } - if (lastLastIndex === string.length) { - if (lastLength || !exec$b(separatorCopy, '')) push$g(output, ''); - } else push$g(output, stringSlice$a(string, lastLastIndex)); - return output.length > lim ? arraySlice$4(output, 0, lim) : output; - }; - // Chakra, V8 - } else if ('0'.split(undefined, 0).length) { - internalSplit = function (separator, limit) { - return separator === undefined && limit === 0 ? [] : call$O(nativeSplit, this, separator, limit); - }; - } else internalSplit = nativeSplit; + var internalSplit = '0'.split(undefined, 0).length ? function (separator, limit) { + return separator === undefined && limit === 0 ? [] : call$O(nativeSplit, this, separator, limit); + } : nativeSplit; return [ // `String.prototype.split` method @@ -10143,30 +10090,30 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa function (string, limit) { var rx = anObject$L(this); var S = toString$h(string); - var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit); - if (res.done) return res.value; + if (!BUGGY) { + var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit); + if (res.done) return res.value; + } var C = speciesConstructor$1(rx, RegExp); - var unicodeMatching = rx.unicode; var flags = (rx.ignoreCase ? 'i' : '') + (rx.multiline ? 'm' : '') + (rx.unicode ? 'u' : '') + (UNSUPPORTED_Y ? 'g' : 'y'); - // ^(? + rx + ) is needed, in combination with some S slicing, to // simulate the 'y' flag. var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags); var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; if (lim === 0) return []; - if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; + if (S.length === 0) return regExpExec(splitter, S) === null ? [S] : []; var p = 0; var q = 0; var A = []; while (q < S.length) { splitter.lastIndex = UNSUPPORTED_Y ? 0 : q; - var z = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice$a(S, q) : S); + var z = regExpExec(splitter, UNSUPPORTED_Y ? stringSlice$a(S, q) : S); var e; if ( z === null || @@ -10187,7 +10134,7 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa return A; } ]; -}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y); +}, BUGGY || !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y); var $$33 = _export; var uncurryThis$W = functionUncurryThisClause; @@ -11407,7 +11354,7 @@ exportTypedArrayMethod$e('set', function set(arrayLike /* , offset */) { var ArrayBufferViewCore$d = arrayBufferViewCore; var typedArraySpeciesConstructor$2 = typedArraySpeciesConstructor$5; var fails$g = fails$1u; -var arraySlice$3 = arraySlice$b; +var arraySlice$3 = arraySlice$a; var aTypedArray$c = ArrayBufferViewCore$d.aTypedArray; var exportTypedArrayMethod$d = ArrayBufferViewCore$d.exportTypedArrayMethod; @@ -11537,7 +11484,7 @@ var global$t = global$1a; var apply$4 = functionApply$1; var ArrayBufferViewCore$9 = arrayBufferViewCore; var fails$e = fails$1u; -var arraySlice$2 = arraySlice$b; +var arraySlice$2 = arraySlice$a; var Int8Array$1 = global$t.Int8Array; var aTypedArray$8 = ArrayBufferViewCore$9.aTypedArray; @@ -17358,7 +17305,7 @@ var toObject = toObject$E; var isCallable$3 = isCallable$I; var lengthOfArrayLike$2 = lengthOfArrayLike$B; var defineProperty$5 = objectDefineProperty.f; -var createArrayFromList = arraySlice$b; +var createArrayFromList = arraySlice$a; var WeakMapHelpers$3 = weakMapHelpers; var cooked = stringCooked; var parse = stringParse; @@ -18694,7 +18641,7 @@ var apply = functionApply$1; var isCallable$2 = isCallable$I; var ENGINE_IS_BUN = engineIsBun; var USER_AGENT = engineUserAgent; -var arraySlice$1 = arraySlice$b; +var arraySlice$1 = arraySlice$a; var validateArgumentsLength$7 = validateArgumentsLength$b; var Function$1 = global$8.Function; @@ -19995,7 +19942,7 @@ var anInstance = anInstance$f; var hasOwn = hasOwnProperty_1; var assign = objectAssign; var arrayFrom = arrayFrom$1; -var arraySlice = arraySlice$b; +var arraySlice = arraySlice$a; var codeAt = stringMultibyte.codeAt; var toASCII = stringPunycodeToAscii; var $toString = toString$J; From 19fe138d44c0c6cec3a3988cec0552f837188f1f Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Fri, 2 Feb 2024 09:47:12 +0100 Subject: [PATCH 05/15] Fix dependency range for Node types (#5370) * Limit version range for node types Otherwise * Unpin TypeScript plugin which was not really pinned, but still --- package-lock.json | 12 ++++++------ package.json | 6 +++--- renovate.json | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index cb4ff0530..b34354455 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,12 +31,12 @@ "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-replace": "^5.0.5", "@rollup/plugin-terser": "^0.4.4", - "@rollup/plugin-typescript": "11.1.5", + "@rollup/plugin-typescript": "^11.1.6", "@rollup/pluginutils": "^5.1.0", "@types/eslint": "^8.56.2", "@types/inquirer": "^9.0.7", "@types/mocha": "^10.0.6", - "@types/node": "18.18", + "@types/node": "~18.18.14", "@types/yargs-parser": "^21.0.3", "@typescript-eslint/eslint-plugin": "^6.20.0", "@typescript-eslint/parser": "^6.20.0", @@ -1891,12 +1891,12 @@ } }, "node_modules/@rollup/plugin-typescript": { - "version": "11.1.5", - "resolved": "https://registry.npmjs.org/@rollup/plugin-typescript/-/plugin-typescript-11.1.5.tgz", - "integrity": "sha512-rnMHrGBB0IUEv69Q8/JGRD/n4/n6b3nfpufUu26axhUcboUzv/twfZU8fIBbTOphRAe0v8EyxzeDpKXqGHfyDA==", + "version": "11.1.6", + "resolved": "https://registry.npmjs.org/@rollup/plugin-typescript/-/plugin-typescript-11.1.6.tgz", + "integrity": "sha512-R92yOmIACgYdJ7dJ97p4K69I8gg6IEHt8M7dUBxN3W6nrO8uUxX5ixl0yU/N3aZTi8WhPuICvOHXQvF6FaykAA==", "dev": true, "dependencies": { - "@rollup/pluginutils": "^5.0.1", + "@rollup/pluginutils": "^5.1.0", "resolve": "^1.22.1" }, "engines": { diff --git a/package.json b/package.json index c13b3ce0f..9810ff514 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "@types/estree": "1.0.5" }, "devDependenciesComments": { - "@rollup/plugin-typescript": "It appears that 11.1.3 breaks sourcemaps" + "@types/node": "Version 18.19.0 breaks chokidar and vite types" }, "devDependencies": { "@codemirror/commands": "^6.3.3", @@ -126,12 +126,12 @@ "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-replace": "^5.0.5", "@rollup/plugin-terser": "^0.4.4", - "@rollup/plugin-typescript": "11.1.5", + "@rollup/plugin-typescript": "^11.1.6", "@rollup/pluginutils": "^5.1.0", "@types/eslint": "^8.56.2", "@types/inquirer": "^9.0.7", "@types/mocha": "^10.0.6", - "@types/node": "^18.18.14", + "@types/node": "~18.18.14", "@types/yargs-parser": "^21.0.3", "@typescript-eslint/eslint-plugin": "^6.20.0", "@typescript-eslint/parser": "^6.20.0", diff --git a/renovate.json b/renovate.json index a382f4e67..64b4275bb 100644 --- a/renovate.json +++ b/renovate.json @@ -14,12 +14,12 @@ "platformAutomerge": true }, { - "matchPackageNames": ["node", "npm", "fsevents", "@rollup/plugin-typescript"], + "matchPackageNames": ["node", "npm", "fsevents"], "enabled": false }, { "matchPackageNames": ["@types/node"], - "matchUpdateTypes": ["major", "minor"], + "matchUpdateTypes": ["major", "minor", "lockFileMaintenance"], "enabled": false } From 14425f92620beaf03d428dab12ca4424e35ad193 Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Fri, 2 Feb 2024 13:24:37 +0100 Subject: [PATCH 06/15] Roll back vitepress as 1.0.0-rc.40 breaks the development build (#5372) --- package-lock.json | 125 +++++++++++----------------------------------- package.json | 5 +- renovate.json | 2 +- 3 files changed, 34 insertions(+), 98 deletions(-) diff --git a/package-lock.json b/package-lock.json index b34354455..bb503ff72 100644 --- a/package-lock.json +++ b/package-lock.json @@ -89,7 +89,7 @@ "tslib": "^2.6.2", "typescript": "^5.3.3", "vite": "^5.0.12", - "vitepress": "^1.0.0-rc.40", + "vitepress": "1.0.0-rc.39", "vue": "^3.4.15", "wasm-pack": "^0.12.1", "weak-napi": "^2.0.2", @@ -2107,21 +2107,6 @@ "win32" ] }, - "node_modules/@shikijs/core": { - "version": "1.0.0-beta.3", - "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-1.0.0-beta.3.tgz", - "integrity": "sha512-SCwPom2Wn8XxNlEeqdzycU93SKgzYeVsedjqDsgZaz4XiiPpZUzlHt2NAEQTwTnPcHNZapZ6vbkwJ8P11ggL3Q==", - "dev": true - }, - "node_modules/@shikijs/transformers": { - "version": "1.0.0-beta.3", - "resolved": "https://registry.npmjs.org/@shikijs/transformers/-/transformers-1.0.0-beta.3.tgz", - "integrity": "sha512-ASQQQqxW4dANxMGw4yGkTjtMSsUaRhImv/lzJEdfJ3/eP8TVlVYnohOFQVgpLjBBYGy9P0l0oKrlbjiGosTJ/Q==", - "dev": true, - "dependencies": { - "shiki": "1.0.0-beta.3" - } - }, "node_modules/@types/buble": { "version": "0.19.2", "resolved": "https://registry.npmjs.org/@types/buble/-/buble-0.19.2.tgz", @@ -2569,41 +2554,6 @@ "integrity": "sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==", "dev": true }, - "node_modules/@vue/devtools-kit": { - "version": "7.0.14", - "resolved": "https://registry.npmjs.org/@vue/devtools-kit/-/devtools-kit-7.0.14.tgz", - "integrity": "sha512-wAAJazr4hI0aVRpgWOCVPw+NzMQdthhnprHHIg4njp1MkKrpCNGQ7MtQbZF1AltAA7xpMCGyyt+0kYH0FqTiPg==", - "dev": true, - "dependencies": { - "@vue/devtools-schema": "^7.0.14", - "@vue/devtools-shared": "^7.0.14", - "hookable": "^5.5.3", - "mitt": "^3.0.1", - "perfect-debounce": "^1.0.0", - "speakingurl": "^14.0.1" - } - }, - "node_modules/@vue/devtools-kit/node_modules/mitt": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz", - "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==", - "dev": true - }, - "node_modules/@vue/devtools-schema": { - "version": "7.0.14", - "resolved": "https://registry.npmjs.org/@vue/devtools-schema/-/devtools-schema-7.0.14.tgz", - "integrity": "sha512-tpUeCLVrdHX+KzWMLTAwx/vAPFbo6jAUi7sr6Q+0mBIqIVSSIxNr5wEhegiFvYva+OtDeM2OrT+f7/X/5bvZNg==", - "dev": true - }, - "node_modules/@vue/devtools-shared": { - "version": "7.0.14", - "resolved": "https://registry.npmjs.org/@vue/devtools-shared/-/devtools-shared-7.0.14.tgz", - "integrity": "sha512-79RP1NDakBVWou9rDpVnT1WMjTbL1lJKm6YEOodjQ0dq5ehf0wsRbeYDhgAlnjehWRzTq5GAYFBFUPYBs0/QpA==", - "dev": true, - "dependencies": { - "rfdc": "^1.3.1" - } - }, "node_modules/@vue/eslint-config-prettier": { "version": "9.0.0", "resolved": "https://registry.npmjs.org/@vue/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz", @@ -5814,12 +5764,6 @@ "he": "bin/he" } }, - "node_modules/hookable": { - "version": "5.5.3", - "resolved": "https://registry.npmjs.org/hookable/-/hookable-5.5.3.tgz", - "integrity": "sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==", - "dev": true - }, "node_modules/hosted-git-info": { "version": "2.8.9", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", @@ -8246,12 +8190,6 @@ "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", "dev": true }, - "node_modules/perfect-debounce": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/perfect-debounce/-/perfect-debounce-1.0.0.tgz", - "integrity": "sha512-xCy9V055GLEqoFaHoC1SoLIaLmWctgCUaBaWxDZ7/Zx4CTyX7cJQLJOok/orfjZAh9kEYpjJa4d0KcJmCbctZA==", - "dev": true - }, "node_modules/picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", @@ -9504,13 +9442,28 @@ "node": "*" } }, - "node_modules/shiki": { - "version": "1.0.0-beta.3", - "resolved": "https://registry.npmjs.org/shiki/-/shiki-1.0.0-beta.3.tgz", - "integrity": "sha512-z7cHTNSSvwGx2DfeLwjSNLo+HcVxifgNIzLm6Ye52eXcIwNHXT0wHbhy7FDOKSKveuEHBwt9opfj3Hoc8LE1Yg==", + "node_modules/shikiji": { + "version": "0.9.19", + "resolved": "https://registry.npmjs.org/shikiji/-/shikiji-0.9.19.tgz", + "integrity": "sha512-Kw2NHWktdcdypCj1GkKpXH4o6Vxz8B8TykPlPuLHOGSV8VkhoCLcFOH4k19K4LXAQYRQmxg+0X/eM+m2sLhAkg==", + "dev": true, + "dependencies": { + "shikiji-core": "0.9.19" + } + }, + "node_modules/shikiji-core": { + "version": "0.9.19", + "resolved": "https://registry.npmjs.org/shikiji-core/-/shikiji-core-0.9.19.tgz", + "integrity": "sha512-AFJu/vcNT21t0e6YrfadZ+9q86gvPum6iywRyt1OtIPjPFe25RQnYJyxHQPMLKCCWA992TPxmEmbNcOZCAJclw==", + "dev": true + }, + "node_modules/shikiji-transformers": { + "version": "0.9.19", + "resolved": "https://registry.npmjs.org/shikiji-transformers/-/shikiji-transformers-0.9.19.tgz", + "integrity": "sha512-lGLI7Z8frQrIBbhZ74/eiJtxMoCQRbpaHEB+gcfvdIy+ZFaAtXncJGnc52932/UET+Y4GyKtwwC/vjWUCp+c/Q==", "dev": true, "dependencies": { - "@shikijs/core": "1.0.0-beta.3" + "shikiji": "0.9.19" } }, "node_modules/shx": { @@ -9731,15 +9684,6 @@ "spdx-ranges": "^2.0.0" } }, - "node_modules/speakingurl": { - "version": "14.0.1", - "resolved": "https://registry.npmjs.org/speakingurl/-/speakingurl-14.0.1.tgz", - "integrity": "sha512-1POYv7uv2gXoyGFpBCmpDVSNV74IfsWlDW216UPjbWufNf+bSU6GdbDsxdcxtfwb4xlI3yxzOTKClUosxARYrQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", @@ -10542,26 +10486,26 @@ } }, "node_modules/vitepress": { - "version": "1.0.0-rc.41", - "resolved": "https://registry.npmjs.org/vitepress/-/vitepress-1.0.0-rc.41.tgz", - "integrity": "sha512-PAEoIIc9J//k/Wg39C6k86hZpXPmLZjRiTBwieDNeYGdevD7xr5Ve8o1W/w+e9dtyQMkuvzgianEamXDX3aj7g==", + "version": "1.0.0-rc.39", + "resolved": "https://registry.npmjs.org/vitepress/-/vitepress-1.0.0-rc.39.tgz", + "integrity": "sha512-EcgoRlAAp37WOxUOYv45oxyhLrcy3Upey+mKpqW3ldsg6Ol4trPndRBk2GO0QiSvEKlb9BMerk49D/bFICN6kg==", "dev": true, "dependencies": { "@docsearch/css": "^3.5.2", "@docsearch/js": "^3.5.2", - "@shikijs/core": "^1.0.0-beta.3", - "@shikijs/transformers": "^1.0.0-beta.3", "@types/markdown-it": "^13.0.7", "@vitejs/plugin-vue": "^5.0.3", - "@vue/devtools-api": "^7.0.14", + "@vue/devtools-api": "^6.5.1", "@vueuse/core": "^10.7.2", "@vueuse/integrations": "^10.7.2", "focus-trap": "^7.5.4", "mark.js": "8.11.1", "minisearch": "^6.3.0", - "shiki": "^1.0.0-beta.3", - "vite": "^5.0.12", - "vue": "^3.4.15" + "shikiji": "^0.9.19", + "shikiji-core": "^0.9.19", + "shikiji-transformers": "^0.9.19", + "vite": "^5.0.11", + "vue": "^3.4.14" }, "bin": { "vitepress": "bin/vitepress.js" @@ -10579,15 +10523,6 @@ } } }, - "node_modules/vitepress/node_modules/@vue/devtools-api": { - "version": "7.0.14", - "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-7.0.14.tgz", - "integrity": "sha512-TluWR9qZ6aO11bwtYK8+fzXxBqLfsE0mWZz1q/EQBmO9k82Cm6deieLwNNXjNFJz7xutazoia5Qa+zTYkPPOfw==", - "dev": true, - "dependencies": { - "@vue/devtools-kit": "^7.0.14" - } - }, "node_modules/vue": { "version": "3.4.15", "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.15.tgz", diff --git a/package.json b/package.json index 9810ff514..68ca7754c 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,8 @@ "@types/estree": "1.0.5" }, "devDependenciesComments": { - "@types/node": "Version 18.19.0 breaks chokidar and vite types" + "@types/node": "Version 18.19.0 breaks chokidar and vite types", + "vitepress": "Version 1.0.0-rc.40 breaks npm run dev" }, "devDependencies": { "@codemirror/commands": "^6.3.3", @@ -184,7 +185,7 @@ "tslib": "^2.6.2", "typescript": "^5.3.3", "vite": "^5.0.12", - "vitepress": "^1.0.0-rc.40", + "vitepress": "1.0.0-rc.39", "vue": "^3.4.15", "wasm-pack": "^0.12.1", "weak-napi": "^2.0.2", diff --git a/renovate.json b/renovate.json index 64b4275bb..e4e2657f3 100644 --- a/renovate.json +++ b/renovate.json @@ -14,7 +14,7 @@ "platformAutomerge": true }, { - "matchPackageNames": ["node", "npm", "fsevents"], + "matchPackageNames": ["node", "npm", "fsevents", "vitepress"], "enabled": false }, { From 63a91a663a33ba06025c6838e5bbeb794df93af7 Mon Sep 17 00:00:00 2001 From: XiaoPi <530257315@qq.com> Date: Thu, 8 Feb 2024 19:31:31 +0800 Subject: [PATCH 07/15] Update documentation (#5382) * Update the usage of glob * Update the documentation about how to use Rollup in Deno --- docs/configuration-options/index.md | 4 ++-- docs/tools/index.md | 10 ++++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/configuration-options/index.md b/docs/configuration-options/index.md index f7eb3d38a..b4de13798 100755 --- a/docs/configuration-options/index.md +++ b/docs/configuration-options/index.md @@ -109,13 +109,13 @@ export default { If you want to convert a set of files to another format while maintaining the file structure and export signatures, the recommended way—instead of using [`output.preserveModules`](#output-preservemodules) that may tree-shake exports as well as emit virtual files created by plugins—is to turn every file into an entry point. You can do so dynamically e.g. via the `glob` package: ```js -import glob from 'glob'; +import { globSync } from 'glob'; import path from 'node:path'; import { fileURLToPath } from 'node:url'; export default { input: Object.fromEntries( - glob.sync('src/**/*.js').map(file => [ + globSync('src/**/*.js').map(file => [ // This remove `src/` as well as the file extension from each // file, so e.g. src/nested/foo.js becomes nested/foo path.relative( diff --git a/docs/tools/index.md b/docs/tools/index.md index ed679756f..9d3acd1a6 100755 --- a/docs/tools/index.md +++ b/docs/tools/index.md @@ -254,19 +254,17 @@ gulp.task('build', async function () { If you like to run Rollup in Deno you can use [esm.sh](https://esm.sh/) like so: ```js -import {rollup} from "https://esm.sh/rollup@2.61.1"; +import { rollup } from "https://esm.sh/@rollup/browser"; const bundle = await rollup({ //... ``` -Alternatively you can install rollup from npm and use the [node compatibility layer](https://deno.land/std@0.110.0/node): +But it is not suitable for complex compiling. Alternatively you can install rollup from npm: ```js -import {createRequire} from "https://deno.land/std@0.110.0/node/module.ts"; -const require = createRequire(import.meta.url); -const {rollup} = require("rollup"); +import { rollup } from "npm:rollup"; const bundle = await rollup({ //... ``` -Be sure to run deno with the `--unstable` flag. And don't forget `--allow-read` and `--allow-write` if you plan on using `bundle.write()`. +Notice: Deno will request some permissions when running Rollup. From 57277bfabb4b2ef63392f748d3d8083dc97b73fa Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Fri, 9 Feb 2024 06:01:29 +0100 Subject: [PATCH 08/15] Implement "output.hashCharacters" option to define character set for file hashes (#5371) * Add documentation * Add new hashing functions and update hashes The hashes changed due to how they are now encoded * Add new hashing functions in JavaScript * Implement new output.hashCharacters option --- browser/src/wasm.ts | 2 +- cli/help.md | 1 + docs/command-line-interface/index.md | 2 + docs/configuration-options/index.md | 22 +++++++++-- docs/javascript-api/index.md | 1 + docs/repl/stores/options.ts | 6 +++ native.d.ts | 2 + native.js | 4 +- native.wasm.js | 9 ++++- rust/Cargo.lock | 8 +++- rust/bindings_napi/src/lib.rs | 10 +++++ rust/bindings_wasm/src/lib.rs | 10 +++++ rust/xxhash/Cargo.toml | 2 +- rust/xxhash/src/lib.rs | 20 ++++++++-- src/Chunk.ts | 8 ++-- src/rollup/types.d.ts | 4 ++ src/utils/FileEmitter.ts | 18 +++++---- src/utils/crypto.ts | 28 +++++++++----- src/utils/hashPlaceholders.ts | 14 +++---- src/utils/options/mergeOptions.ts | 1 + src/utils/options/normalizeOutputOptions.ts | 1 + src/utils/renderChunks.ts | 18 ++++++--- .../samples/supports-hashes/_config.js | 2 +- .../{dep-KkHNeB29.js => dep-Cd4Qi2HK.js} | 0 .../_expected/main-DCJ0aYjk.js | 3 ++ .../_expected/main-pNv0QjL6.js | 3 -- .../{x7YVzHWH-test.txt => DHthXMdY-test.txt} | 0 .../{x7YVzHWH-test.txt => DHthXMdY-test.txt} | 0 .../{x7YVzHWH-test.txt => DHthXMdY-test.txt} | 0 .../{x7YVzHWH-test.txt => DHthXMdY-test.txt} | 0 .../emit-file/deduplicate-assets/_config.js | 18 ++++----- ...uffer-fV9J_shM.txt => buffer-B9X0n-yE.txt} | 0 ...-Oh78Hjdg.txt => otherBuffer-6HvweN2A.txt} | 0 ...-PiT4klzx.txt => otherString--JPiSXPF.txt} | 0 ...ing1-PAAt4eb8.txt => string1-8AC3h5vx.txt} | 0 ...uffer-fV9J_shM.txt => buffer-B9X0n-yE.txt} | 0 ...-Oh78Hjdg.txt => otherBuffer-6HvweN2A.txt} | 0 ...-PiT4klzx.txt => otherString--JPiSXPF.txt} | 0 ...ing1-PAAt4eb8.txt => string1-8AC3h5vx.txt} | 0 ...uffer-fV9J_shM.txt => buffer-B9X0n-yE.txt} | 0 ...-Oh78Hjdg.txt => otherBuffer-6HvweN2A.txt} | 0 ...-PiT4klzx.txt => otherString--JPiSXPF.txt} | 0 ...ing1-PAAt4eb8.txt => string1-8AC3h5vx.txt} | 0 ...uffer-fV9J_shM.txt => buffer-B9X0n-yE.txt} | 0 ...-Oh78Hjdg.txt => otherBuffer-6HvweN2A.txt} | 0 ...-PiT4klzx.txt => otherString--JPiSXPF.txt} | 0 ...ing1-PAAt4eb8.txt => string1-8AC3h5vx.txt} | 0 .../assets/{asset-x7YVzHWH => asset-DHthXMdY} | 0 .../assets/{asset-x7YVzHWH => asset-DHthXMdY} | 0 .../assets/{asset-x7YVzHWH => asset-DHthXMdY} | 0 .../assets/{asset-x7YVzHWH => asset-DHthXMdY} | 0 ...anner-Pqjybijy.txt => banner--qPJuKPL.txt} | 0 ...End-bjZfkWaR.txt => buildEnd-BuNl-RZp.txt} | 0 ...t-jUsAaHhv.txt => buildStart-CNSwBoeG.txt} | 0 ...ooter-lepGH7ft.txt => footer-CV6kYft-.txt} | 0 ...5K5IqI.txt => generateBundle-BgLkrkio.txt} | 0 ...{intro-NT6UL-Ie.txt => intro-1PpQv4h6.txt} | 0 .../{load-f5EgoTqv.txt => load-B_kSChOq.txt} | 0 ...{outro-_McFrfAR.txt => outro-D8xwWt8B.txt} | 0 ...-DMYyTWqj.txt => renderChunk-MxjJNaqP.txt} | 0 ...-eFzm3QZM.txt => renderStart-B4XObdBk.txt} | 0 ...Id-go8NkbCx.txt => resolveId-CCjw2RsL.txt} | 0 ...rm-PQ2olIjk.txt => transform-9DaiUiOT.txt} | 0 ...anner-Pqjybijy.txt => banner--qPJuKPL.txt} | 0 ...End-bjZfkWaR.txt => buildEnd-BuNl-RZp.txt} | 0 ...t-jUsAaHhv.txt => buildStart-CNSwBoeG.txt} | 0 ...ooter-lepGH7ft.txt => footer-CV6kYft-.txt} | 0 ...5K5IqI.txt => generateBundle-BgLkrkio.txt} | 0 ...{intro-NT6UL-Ie.txt => intro-1PpQv4h6.txt} | 0 .../{load-f5EgoTqv.txt => load-B_kSChOq.txt} | 0 ...{outro-_McFrfAR.txt => outro-D8xwWt8B.txt} | 0 ...-DMYyTWqj.txt => renderChunk-MxjJNaqP.txt} | 0 ...-eFzm3QZM.txt => renderStart-B4XObdBk.txt} | 0 ...Id-go8NkbCx.txt => resolveId-CCjw2RsL.txt} | 0 ...rm-PQ2olIjk.txt => transform-9DaiUiOT.txt} | 0 ...anner-Pqjybijy.txt => banner--qPJuKPL.txt} | 0 ...End-bjZfkWaR.txt => buildEnd-BuNl-RZp.txt} | 0 ...t-jUsAaHhv.txt => buildStart-CNSwBoeG.txt} | 0 ...ooter-lepGH7ft.txt => footer-CV6kYft-.txt} | 0 ...5K5IqI.txt => generateBundle-BgLkrkio.txt} | 0 ...{intro-NT6UL-Ie.txt => intro-1PpQv4h6.txt} | 0 .../{load-f5EgoTqv.txt => load-B_kSChOq.txt} | 0 ...{outro-_McFrfAR.txt => outro-D8xwWt8B.txt} | 0 ...-DMYyTWqj.txt => renderChunk-MxjJNaqP.txt} | 0 ...-eFzm3QZM.txt => renderStart-B4XObdBk.txt} | 0 ...Id-go8NkbCx.txt => resolveId-CCjw2RsL.txt} | 0 ...rm-PQ2olIjk.txt => transform-9DaiUiOT.txt} | 0 ...anner-Pqjybijy.txt => banner--qPJuKPL.txt} | 0 ...End-bjZfkWaR.txt => buildEnd-BuNl-RZp.txt} | 0 ...t-jUsAaHhv.txt => buildStart-CNSwBoeG.txt} | 0 ...ooter-lepGH7ft.txt => footer-CV6kYft-.txt} | 0 ...5K5IqI.txt => generateBundle-BgLkrkio.txt} | 0 ...{intro-NT6UL-Ie.txt => intro-1PpQv4h6.txt} | 0 .../{load-f5EgoTqv.txt => load-B_kSChOq.txt} | 0 ...{outro-_McFrfAR.txt => outro-D8xwWt8B.txt} | 0 ...-DMYyTWqj.txt => renderChunk-MxjJNaqP.txt} | 0 ...-eFzm3QZM.txt => renderStart-B4XObdBk.txt} | 0 ...Id-go8NkbCx.txt => resolveId-CCjw2RsL.txt} | 0 ...rm-PQ2olIjk.txt => transform-9DaiUiOT.txt} | 0 .../{test-x7YVzHWH.txt => test-DHthXMdY.txt} | 0 .../{test-x7YVzHWH.txt => test-DHthXMdY.txt} | 0 .../{test-x7YVzHWH.txt => test-DHthXMdY.txt} | 0 .../{test-x7YVzHWH.txt => test-DHthXMdY.txt} | 0 ...Nr2n5-amd.js => chunk-deb--Bz6x-oi-amd.js} | 0 ...e7ly-amd.js => entry-main-DJVXpS51-amd.js} | 2 +- .../{x7YVzHWH-test.txt => DHthXMdY-test.txt} | 0 ...me1q0-cjs.js => chunk-deb-9LJjyiap-cjs.js} | 0 ...atel-cjs.js => entry-main-DFh1DOOW-cjs.js} | 2 +- .../{x7YVzHWH-test.txt => DHthXMdY-test.txt} | 0 ...ItlXRQy-es.js => chunk-deb-H_8j5Qun-es.js} | 0 .../_expected/es/entry-main-BeWMkjX8-es.js | 2 + .../_expected/es/entry-main-mA3J9obY-es.js | 2 - .../{x7YVzHWH-test.txt => DHthXMdY-test.txt} | 0 ...system.js => chunk-deb-PNqONwrZ-system.js} | 0 ...ystem.js => entry-main-IHNOrI04-system.js} | 2 +- .../{x7YVzHWH-test.txt => DHthXMdY-test.txt} | 0 ...{logo1-BarkEXVd.svg => logo1-FquQRdV3.svg} | 0 ...{logo2-yX706C0w.svg => logo2-DJfvToLT.svg} | 0 .../reference-files/_expected/amd/main.js | 2 +- .../_expected/amd/nested/chunk.js | 2 +- ...{logo1-BarkEXVd.svg => logo1-FquQRdV3.svg} | 0 ...{logo2-yX706C0w.svg => logo2-DJfvToLT.svg} | 0 .../reference-files/_expected/cjs/main.js | 2 +- .../_expected/cjs/nested/chunk.js | 2 +- ...{logo1-BarkEXVd.svg => logo1-FquQRdV3.svg} | 0 ...{logo2-yX706C0w.svg => logo2-DJfvToLT.svg} | 0 .../reference-files/_expected/es/main.js | 2 +- .../_expected/es/nested/chunk.js | 2 +- ...{logo1-BarkEXVd.svg => logo1-FquQRdV3.svg} | 0 ...{logo2-yX706C0w.svg => logo2-DJfvToLT.svg} | 0 .../reference-files/_expected/system/main.js | 2 +- .../_expected/system/nested/chunk.js | 2 +- ...anner-Pqjybijy.txt => banner--qPJuKPL.txt} | 0 ...ooter-lepGH7ft.txt => footer-CV6kYft-.txt} | 0 .../amd/assets/generateBundle-BBHXGh_d.txt | 1 + .../amd/assets/generateBundle-KcqLI9cb.txt | 1 - ...txt => generateBundle-format-DmNW-T7b.txt} | 0 ...{intro-NT6UL-Ie.txt => intro-1PpQv4h6.txt} | 0 ...{outro-_McFrfAR.txt => outro-D8xwWt8B.txt} | 0 ...-DMYyTWqj.txt => renderChunk-MxjJNaqP.txt} | 0 ...-eFzm3QZM.txt => renderStart-B4XObdBk.txt} | 0 .../_expected/amd/generateBundle.txt | 2 +- .../set-asset-source/_expected/amd/main.js | 2 +- ...anner-Pqjybijy.txt => banner--qPJuKPL.txt} | 0 ...ooter-lepGH7ft.txt => footer-CV6kYft-.txt} | 0 .../cjs/assets/generateBundle-CtuF2NSi.txt | 1 + ...txt => generateBundle-format-D1nvefY4.txt} | 0 .../cjs/assets/generateBundle-yF5Q0doc.txt | 1 - ...{intro-NT6UL-Ie.txt => intro-1PpQv4h6.txt} | 0 ...{outro-_McFrfAR.txt => outro-D8xwWt8B.txt} | 0 ...-DMYyTWqj.txt => renderChunk-MxjJNaqP.txt} | 0 ...-eFzm3QZM.txt => renderStart-B4XObdBk.txt} | 0 .../_expected/cjs/generateBundle.txt | 2 +- .../set-asset-source/_expected/cjs/main.js | 2 +- ...anner-Pqjybijy.txt => banner--qPJuKPL.txt} | 0 ...ooter-lepGH7ft.txt => footer-CV6kYft-.txt} | 0 .../es/assets/generateBundle-9uv4IgKv.txt | 1 - .../es/assets/generateBundle-C9HFj0EF.txt | 1 + ...txt => generateBundle-format-B6fu0hOK.txt} | 0 ...{intro-NT6UL-Ie.txt => intro-1PpQv4h6.txt} | 0 ...{outro-_McFrfAR.txt => outro-D8xwWt8B.txt} | 0 ...-DMYyTWqj.txt => renderChunk-MxjJNaqP.txt} | 0 ...-eFzm3QZM.txt => renderStart-B4XObdBk.txt} | 0 .../_expected/es/generateBundle.txt | 2 +- .../set-asset-source/_expected/es/main.js | 2 +- ...anner-Pqjybijy.txt => banner--qPJuKPL.txt} | 0 ...ooter-lepGH7ft.txt => footer-CV6kYft-.txt} | 0 .../system/assets/generateBundle-WoWY_GTC.txt | 1 - ...txt => generateBundle-format-BcOEo4R3.txt} | 0 .../system/assets/generateBundle-oIb15WdK.txt | 1 + ...{intro-NT6UL-Ie.txt => intro-1PpQv4h6.txt} | 0 ...{outro-_McFrfAR.txt => outro-D8xwWt8B.txt} | 0 ...-DMYyTWqj.txt => renderChunk-MxjJNaqP.txt} | 0 ...-eFzm3QZM.txt => renderStart-B4XObdBk.txt} | 0 .../_expected/system/generateBundle.txt | 2 +- .../set-asset-source/_expected/system/main.js | 2 +- ...rtr-amd.js => chunk-main2-BeN-_z3e-amd.js} | 0 .../_expected/amd/entry-main1-CBKFi7eG-amd.js | 5 --- .../_expected/amd/entry-main1-DMJ9vLw5-amd.js | 5 +++ .../_expected/amd/entry-main2-SEc5gjvu-amd.js | 7 ++++ .../_expected/amd/entry-main2-U19f7Kkv-amd.js | 7 ---- ...mim-cjs.js => chunk-main2-DB987Lh4-cjs.js} | 0 .../_expected/cjs/entry-main1-i42FQ2i5-cjs.js | 5 --- .../_expected/cjs/entry-main1-m802XraR-cjs.js | 5 +++ .../_expected/cjs/entry-main2-CDyYOEPK-cjs.js | 7 ++++ .../_expected/cjs/entry-main2-e914JHZ0-cjs.js | 7 ---- ...mXREe-es.js => chunk-main2-CPMnlUsH-es.js} | 0 .../_expected/es/entry-main1-DCmtsuTI-es.js | 3 ++ .../_expected/es/entry-main1-JQIS3SKF-es.js | 3 -- .../_expected/es/entry-main2-6DNkLKmG-es.js | 1 - .../_expected/es/entry-main2-CO3mT8jT-es.js | 1 + ...stem.js => chunk-main2-BRXsWtDg-system.js} | 0 ...stem.js => entry-main1-Biq2O0X--system.js} | 2 +- ...stem.js => entry-main2-D_RLirM0-system.js} | 2 +- .../samples/hashing/base-16/_config.js | 20 ++++++++++ .../_expected/amd/dep-829e49d80e8138.js} | 0 .../base-16/_expected/amd/main1-c7c1549b.js | 5 +++ .../base-16/_expected/amd/main2-b28d1351.js | 5 +++ .../amd/test-52f952ec201fb87af2.txt} | 0 .../_expected/cjs/dep-56610f0f1f4a63.js} | 0 .../_expected/cjs/main1-f180bb4c.js} | 2 +- .../_expected/cjs/main2-d4907d4b.js} | 2 +- .../cjs/test-52f952ec201fb87af2.txt} | 0 .../_expected/es/dep-319d615e3e266e.js} | 0 .../base-16/_expected/es/main1-2ba5365c.js | 3 ++ .../base-16/_expected/es/main2-c2fcf802.js | 3 ++ .../_expected/es/test-52f952ec201fb87af2.txt} | 0 .../_expected/system/dep-bacfaa81397007.js} | 0 .../_expected/system/main1-0b232646.js} | 2 +- .../_expected/system/main2-83b1318a.js} | 2 +- .../system/test-52f952ec201fb87af2.txt} | 0 .../samples/hashing/base-16/dep.js | 1 + .../samples/hashing/base-16/main1.js | 3 ++ .../samples/hashing/base-16/main2.js | 3 ++ .../samples/hashing/base-36/_config.js | 20 ++++++++++ .../_expected/amd/dep-bmptxkz04onep5.js | 5 +++ .../base-36/_expected/amd/main1-eq1xfkwk.js | 5 +++ .../base-36/_expected/amd/main2-ghsu9bcu.js | 5 +++ .../amd/test-k68mbkgbkbej7p9txd.txt} | 0 .../_expected/cjs/dep-ovzp2ykm52qk5e.js | 3 ++ .../base-36/_expected/cjs/main1-j953dn8u.js | 5 +++ .../base-36/_expected/cjs/main2-m5d1jqhr.js | 5 +++ .../cjs/test-k68mbkgbkbej7p9txd.txt} | 0 .../_expected/es/dep-fjef7fnh2ag8g7.js | 1 + .../base-36/_expected/es/main1-mw1pkh6b.js | 3 ++ .../base-36/_expected/es/main2-kiy506nw.js | 3 ++ .../_expected/es/test-k68mbkgbkbej7p9txd.txt} | 0 .../_expected/system/dep-jg0ebpli0vt21p.js | 10 +++++ .../_expected/system/main1-mrx14iyi.js | 11 ++++++ .../_expected/system/main2-mqk8gped.js | 11 ++++++ .../system/test-k68mbkgbkbej7p9txd.txt} | 0 .../samples/hashing/base-36/dep.js | 1 + .../samples/hashing/base-36/main1.js | 3 ++ .../samples/hashing/base-36/main2.js | 3 ++ .../samples/hashing/base-64/_config.js | 20 ++++++++++ .../_expected/amd/dep-CQnwizGk7iiKyM.js | 5 +++ .../base-64/_expected/amd/main1-DmCo11bz.js | 5 +++ .../base-64/_expected/amd/main2-plMRg5wo.js | 5 +++ .../_expected/amd/test-C4X7hChnUe0FjTUb3j.txt | 1 + .../_expected/cjs/dep-DP3g5uf-_SXPa0.js | 3 ++ .../base-64/_expected/cjs/main1-DnXXnXwB.js | 5 +++ .../base-64/_expected/cjs/main2-gxHln_2b.js | 5 +++ .../_expected/cjs/test-C4X7hChnUe0FjTUb3j.txt | 1 + .../_expected/es/dep-Bjk1mBEz6TLC2O.js | 1 + .../base-64/_expected/es/main1-CFYv4LMw.js | 3 ++ .../base-64/_expected/es/main2-DZLiRzpS.js | 3 ++ .../_expected/es/test-C4X7hChnUe0FjTUb3j.txt | 1 + .../_expected/system/dep-58OVQdrHioalt3.js | 10 +++++ .../_expected/system/main1-D6XIOQ-3.js | 11 ++++++ .../_expected/system/main2-DvH4my1X.js | 11 ++++++ .../system/test-C4X7hChnUe0FjTUb3j.txt | 1 + .../samples/hashing/base-64/dep.js | 1 + .../samples/hashing/base-64/main1.js | 3 ++ .../samples/hashing/base-64/main2.js | 3 ++ .../{entry-BjVZZvuI.js => entry-DKQbg3Wf.js} | 0 .../{entry-_kM9k9Bx.js => entry-GCBTgmAv.js} | 0 .../{entry-BAMj_W0O.js => entry-CfHQ99Wd.js} | 0 .../{entry-ivriA37N.js => entry-DCMVlR3X.js} | 0 .../{entry-Gs557UIb.js => entry-BIjZ-t_L.js} | 0 .../{entry-Y0flmsE_.js => entry-BbWhrgmr.js} | 0 .../{entry-aiNN2RB-.js => entry-5NcCWKKj.js} | 0 .../{entry-yZdFXPRq.js => entry-Co4GckLL.js} | 0 .../entry-GCBTgmAv.js} | 0 .../entry-DCMVlR3X.js} | 0 .../entry-BIjZ-t_L.js} | 0 .../entry-Co4GckLL.js} | 0 .../_expected/amd/dep-CQnwizGk7iiKyM.js | 5 +++ .../hash-size/_expected/amd/main1-9bGLbd-q.js | 5 --- .../hash-size/_expected/amd/main1-DmCo11bz.js | 5 +++ .../_expected/amd/main2-5gkbLhN4J6.js | 5 --- .../_expected/amd/main2-plMRg5woLM.js | 5 +++ .../_expected/amd/test-C4X7hChnUe0FjTUb3j.txt | 1 + .../_expected/cjs/dep-DP3g5uf-_SXPa0.js | 3 ++ .../hash-size/_expected/cjs/main1-DnXXnXwB.js | 5 +++ .../_expected/cjs/main2-gxHln_2big.js | 5 +++ .../_expected/cjs/test-C4X7hChnUe0FjTUb3j.txt | 1 + .../_expected/es/dep-Bjk1mBEz6TLC2O.js | 1 + .../hash-size/_expected/es/main1-CFYv4LMw.js | 3 ++ .../hash-size/_expected/es/main1-fjlEGKoF.js | 3 -- .../_expected/es/main2-DZLiRzpSAF.js | 3 ++ .../_expected/es/main2-_s3jGKh5RD.js | 3 -- .../_expected/es/test-C4X7hChnUe0FjTUb3j.txt | 1 + .../_expected/system/dep-58OVQdrHioalt3.js | 10 +++++ .../_expected/system/main1-D6XIOQ-3.js | 11 ++++++ .../_expected/system/main2-DvH4my1XU3.js | 11 ++++++ .../system/test-C4X7hChnUe0FjTUb3j.txt | 1 + ...js => entry-sQD11LPz-sQD11LPz-!~{123}~.js} | 2 +- ...js => entry-BZIkp09S-BZIkp09S-!~{123}~.js} | 2 +- ...js => entry-BVS-XKSP-BVS-XKSP-!~{123}~.js} | 2 +- ...js => entry-BIeoZmJB-BIeoZmJB-!~{123}~.js} | 2 +- .../amd/{H3l_crHv.js => B0TueUNf.js} | 0 .../cjs/{-4vUgP94.js => CZGiCtun.js} | 0 .../_expected/es/{A-tvJWOc.js => i0JfRnA6.js} | 0 .../system/{DeK55VpB.js => DZcpXEg4.js} | 0 ...-amd-hhqXr9WW.js => b.str-amd-DF7A0kMb.js} | 0 .../{c-amd-TDR2LH-3.js => c-amd-Dx6wblfB.js} | 0 .../{d-amd-VrgHm0xN.js => d-amd-D-AkRk0H.js} | 0 .../{e-amd-zwUdnnpR.js => e-amd-CzsEaS33.js} | 0 .../{f-amd-6N1j88Mb.js => f-amd-BmQk4H5I.js} | 0 .../{g-amd-bhx6veTY.js => g-amd-BWU4b_ZQ.js} | 0 .../{h-amd-wseWVa4P.js => h-amd-BHKDy5vy.js} | 0 .../_expected/amd/main-amd-7vxzdx0k.js | 15 -------- .../_expected/amd/main-amd-CyX39dyD.js | 15 ++++++++ .../{a-amd-skgc70zk.js => a-amd-DtRZNXzf.js} | 0 ...amd-KDE3R3Gg.js => no-ext-amd-Dpy8IO7f.js} | 0 ...-cjs-oMtv8QPW.js => b.str-cjs-BS5lKJ39.js} | 0 .../{c-cjs-5n06CuHC.js => c-cjs-BR0xAsc5.js} | 0 .../{d-cjs-Gz2CiPX0.js => d-cjs-C8q7hg53.js} | 0 .../{e-cjs-WOU85U0_.js => e-cjs-bNQwZe-W.js} | 0 .../{f-cjs-WoWuXuZP.js => f-cjs-C1wIZHEU.js} | 0 .../{g-cjs-ZcQtf4ii.js => g-cjs-GDJ2GCjN.js} | 0 .../{h-cjs-8Kljj-VE.js => h-cjs-047ra2yr.js} | 0 .../_expected/cjs/main-cjs-BqXS_zT0.js | 23 +++++++++++ .../_expected/cjs/main-cjs-JyKGpmTa.js | 23 ----------- .../{a-cjs-kvZ4_FEE.js => a-cjs-C_nfDF22.js} | 0 ...cjs-bp5EbIHi.js => no-ext-cjs-BGwLFM9Z.js} | 0 ...tr-es-Ja5UDcox.js => b.str-es-Gs0GwhVF.js} | 0 .../es/{c-es-kgE3BpZP.js => c-es-ZYTOn0Eh.js} | 0 .../es/{d-es-aJHyMhkA.js => d-es-Dr4mq94c.js} | 0 .../es/{e-es-L3xdJkDr.js => e-es-C2SWm0pY.js} | 0 .../es/{f-es--VxedyqQ.js => f-es-Bm_ir2Io.js} | 0 .../es/{g-es-spweQtsO.js => g-es-BbU0foyF.js} | 0 .../es/{h-es-TRi7J9bn.js => h-es-DwzmIMUF.js} | 0 .../_expected/es/main-es-CMLd0Z43.js | 9 +++++ .../_expected/es/main-es-N06cocRH.js | 9 ----- .../{a-es-NSAVj3lN.js => a-es-GMZjp5vx.js} | 0 ...t-es-C7qwrbcM.js => no-ext-es-aP4Nui9G.js} | 0 ...m-XeLZkGa2.js => b.str-system-Bdh1JWaH.js} | 0 ...ystem-YcfLlg0Y.js => c-system-CfMXlo_7.js} | 0 ...ystem-h1TmdUx7.js => d-system-CjBJ6c43.js} | 0 ...ystem-f06TUcek.js => e-system-kCTp4Cbh.js} | 0 ...ystem-BdI7g27Y.js => f-system-0MCeGExm.js} | 0 ...ystem-G9CTMifv.js => g-system-BOKAS6Fy.js} | 0 ...ystem-w-mTrslh.js => h-system-BDND_AXe.js} | 0 ...em-C-sFf2gV.js => main-system-D680kXvc.js} | 2 +- ...ystem-v8eP40XQ.js => a-system-C0NakMeD.js} | 0 ...-_KFMYUqd.js => no-ext-system-DT8lOU6x.js} | 0 ...ZM.mjs => _virtualModule-amd-CqgD4cJS.mjs} | 0 ..._virtualWithAssetExt.str-amd-Ca4QZAgp.mjs} | 0 ...l.mjs => _virtualWithExt-amd-De_T627R.mjs} | 0 ...amd-bdsEo1jf.mjs => main-amd-D0B6q8JD.mjs} | 2 +- ...J4.mjs => _virtualModule-cjs-MENa5NhI.mjs} | 0 ..._virtualWithAssetExt.str-cjs-B_lO0aYW.mjs} | 0 ...m.mjs => _virtualWithExt-cjs-DP7-0s5h.mjs} | 0 ...cjs-6wpvmYGP.mjs => main-cjs-Dj-jXKJ4.mjs} | 6 +-- ...Dxt.mjs => _virtualModule-es-DVZZJXTX.mjs} | 0 ... _virtualWithAssetExt.str-es-BMZSdKwo.mjs} | 0 ...OV.mjs => _virtualWithExt-es-Cy2tYbl9.mjs} | 0 ...n-es-qKNN2CuL.mjs => main-es-Bw8Pzpud.mjs} | 6 +-- ...mjs => _virtualModule-system-Cwdr94yk.mjs} | 0 ...rtualWithAssetExt.str-system-_UXDi4fY.mjs} | 0 ...js => _virtualWithExt-system-DFQIpSQr.mjs} | 0 ...-EK6PrDgT.mjs => main-system-Bly5EEDC.mjs} | 2 +- ...n1-kZfhqQ-c.js => entry-main1-DTXeRbrN.js} | 0 ...n2-HAN3t8tF.js => entry-main2-BUwyD6FV.js} | 2 +- ...n1-vmW_xTy-.js => entry-main1-CinfcDMy.js} | 0 ...n2-Nn78jd3g.js => entry-main2-i24vGdI5.js} | 2 +- ...n1-NHE3CPgw.js => entry-main1-bUD0z9Dn.js} | 0 .../_expected/es/entry-main2-NdATofhS.js | 3 ++ .../_expected/es/entry-main2-bcI4ej2q.js | 3 -- ...n1-ulqZAx1e.js => entry-main1-D-6QAEdu.js} | 0 ...n2-9TMBLN6w.js => entry-main2-Bk_CgiOM.js} | 2 +- .../_expected/amd/asset-test-C4X7hChn | 1 + ...ep2-_bTcBm_f.js => chunk-dep2-ughyJKkd.js} | 12 +++--- ...n1-n5Rl5PjH.js => entry-main1-utR7jRA-.js} | 22 +++++------ ...n2-ne4fysq0.js => entry-main2-CUgn7sNH.js} | 22 +++++------ .../_expected/cjs/asset-test-C4X7hChn | 1 + ...ep2-XPNbbDh-.js => chunk-dep2-DaLIbws0.js} | 12 +++--- ...n1-zV-9xTLy.js => entry-main1-s6RHXqBe.js} | 22 +++++------ ...n2-urBx_vfo.js => entry-main2-DPo9-iBy.js} | 22 +++++------ .../_expected/es/asset-test-C4X7hChn | 1 + ...ep2-P6jMk6bJ.js => chunk-dep2-CQDaPkp1.js} | 12 +++--- ...n1--LupZW-p.js => entry-main1-Ckv7K5sz.js} | 22 +++++------ ...n2-wXJ52_9X.js => entry-main2-Ckd5ikIS.js} | 22 +++++------ .../_expected/system/asset-test-C4X7hChn | 1 + ...ep2-fl4XqPqA.js => chunk-dep2-C9ddpexS.js} | 12 +++--- ...n1-tjQATGfh.js => entry-main1-Jmzu7nOJ.js} | 22 +++++------ ...n2-tZeXhorV.js => entry-main2-ByL47NtH.js} | 22 +++++------ ...Lh6Sdd.txt => asset-resolved-DukuHpJ1.txt} | 0 ...0oyI4hTT.txt => asset-solved-DSjIjiFN.txt} | 0 ...v6TZ.txt => asset-unresolved-B7Qh6_pN.txt} | 0 .../resolve-file-url/_expected/amd/main.js | 2 +- .../_expected/amd/nested/chunk.js | 4 +- ...Lh6Sdd.txt => asset-resolved-DukuHpJ1.txt} | 0 ...0oyI4hTT.txt => asset-solved-DSjIjiFN.txt} | 0 ...v6TZ.txt => asset-unresolved-B7Qh6_pN.txt} | 0 .../resolve-file-url/_expected/cjs/main.js | 2 +- .../_expected/cjs/nested/chunk.js | 4 +- ...Lh6Sdd.txt => asset-resolved-DukuHpJ1.txt} | 0 ...0oyI4hTT.txt => asset-solved-DSjIjiFN.txt} | 0 ...v6TZ.txt => asset-unresolved-B7Qh6_pN.txt} | 0 .../resolve-file-url/_expected/es/main.js | 2 +- .../_expected/es/nested/chunk.js | 4 +- ...Lh6Sdd.txt => asset-resolved-DukuHpJ1.txt} | 0 ...0oyI4hTT.txt => asset-solved-DSjIjiFN.txt} | 0 ...v6TZ.txt => asset-unresolved-B7Qh6_pN.txt} | 0 .../resolve-file-url/_expected/system/main.js | 2 +- .../_expected/system/nested/chunk.js | 4 +- ...ynamic-kWEjd9Su.js => dynamic-CBK0ZRhv.js} | 0 ...p => dynamic-eDJZN3REc8ya-DAVPlGJs.js.map} | 2 +- ...Z5LV91eZ.js => dynamic-hashed-DAVPlGJs.js} | 2 +- .../_expected/amd/dynamic.js.map | 2 +- .../_expected/amd/main.js | 4 +- ...ynamic-Q4C4Dm_h.js => dynamic-Dke4V8eM.js} | 0 ...p => dynamic-GPeKpCVQmc82-BgHsqIXR.js.map} | 2 +- .../_expected/cjs/dynamic-hashed-BgHsqIXR.js | 4 ++ .../_expected/cjs/dynamic-hashed-DzdWIGlX.js | 4 -- .../_expected/cjs/dynamic.js.map | 2 +- .../_expected/cjs/main.js | 4 +- ...p => dynamic-CQROc0LN5Ob6-DyVTGFM1.js.map} | 2 +- ...ynamic-APUNg5Yg.js => dynamic-TiCFiI2A.js} | 0 .../_expected/es/dynamic-hashed-DyVTGFM1.js | 2 + .../_expected/es/dynamic-hashed-T4V3Rnvr.js | 2 - .../_expected/es/dynamic.js.map | 2 +- .../_expected/es/main.js | 4 +- ...p => dynamic-CwNl7PrZ87mg-CkE_tUGn.js.map} | 2 +- ...ynamic-VkfTWHgI.js => dynamic-D_Zs3yGr.js} | 0 ...BFee68z_.js => dynamic-hashed-CkE_tUGn.js} | 2 +- .../_expected/system/dynamic.js.map | 2 +- .../_expected/system/main.js | 4 +- ....map => main-CxF_f73M-amd-Bp_heMCp.js.map} | 2 +- ...n-DrgsaZFk-amd.js => main-CxF_f73M-amd.js} | 2 +- ....map => main-Br8Lt4cy-cjs-CQbnB8B7.js.map} | 2 +- .../_expected/cjs/main-Br8Lt4cy-cjs.js | 4 ++ .../_expected/cjs/main-R9n-8tvV-cjs.js | 4 -- ...s.map => main-afmxdKJU-es-Dymp7TDl.js.map} | 2 +- .../_expected/es/main-afmxdKJU-es.js | 2 + .../_expected/es/main-bXxLNi2H-es.js | 2 - ...p => main-DSPrUs6M-system-CaCM_p0F.js.map} | 2 +- ...parC-system.js => main-DSPrUs6M-system.js} | 2 +- .../_config.js | 6 +-- .../code-splitting-named-inputs/_config.js | 6 +-- .../samples/stdout-code-splitting/_config.js | 2 +- .../configure-file-url/_expected/amd.js | 4 +- ...Lh6Sdd.txt => asset-resolved-DukuHpJ1.txt} | 0 ...0oyI4hTT.txt => asset-solved-DSjIjiFN.txt} | 0 ...v6TZ.txt => asset-unresolved-B7Qh6_pN.txt} | 0 .../configure-file-url/_expected/cjs.js | 4 +- .../configure-file-url/_expected/es.js | 4 +- .../configure-file-url/_expected/iife.js | 4 +- .../configure-file-url/_expected/system.js | 4 +- .../configure-file-url/_expected/umd.js | 4 +- test/form/samples/emit-asset-file/_config.js | 4 +- .../samples/emit-asset-file/_expected/amd.js | 2 +- .../{logo-Mw5Zq12q.svg => logo-zDlmrXar.svg} | 0 .../samples/emit-asset-file/_expected/cjs.js | 2 +- .../samples/emit-asset-file/_expected/es.js | 2 +- .../samples/emit-asset-file/_expected/iife.js | 2 +- .../emit-asset-file/_expected/system.js | 2 +- .../samples/emit-asset-file/_expected/umd.js | 2 +- .../{logo-Mw5Zq12q.svg => logo-zDlmrXar.svg} | 0 .../_expected/amd.js | 6 +-- .../assets/{asset-PPyJ5YHr => asset-8_Inlget} | 0 .../assets/{asset-tb9uIT4z => asset-C1v24hPj} | 0 .../assets/{asset-rVqBj9gL => asset-CtWoGP2A} | 0 .../_expected/cjs.js | 6 +-- .../emit-uint8array-no-buffer/_expected/es.js | 6 +-- .../_expected/iife.js | 6 +-- .../_expected/system.js | 6 +-- .../_expected/umd.js | 6 +-- .../_expected/system.js | 2 +- .../samples/emit-chunk-hash/_config.js | 2 +- .../emit-chunk-manual-asset-source/_config.js | 2 +- .../samples/emit-chunk-manual/_config.js | 2 +- .../asset-source-invalid3/_config.js | 2 +- .../asset-source-missing2/_config.js | 2 +- .../asset-source-missing4/_config.js | 2 +- .../set-asset-source-chunk/_config.js | 2 +- .../set-asset-source-twice2/_config.js | 2 +- .../samples/output-options-hook/_config.js | 1 + test/hooks/index.js | 38 +++++++++---------- test/misc/bundle-information.js | 12 +++--- test/misc/misc.js | 2 +- test/misc/optionList.js | 4 +- wasm/bindings_wasm.d.ts | 12 ++++++ wasm/bindings_wasm_bg.wasm.d.ts | 2 + 476 files changed, 852 insertions(+), 440 deletions(-) rename test/browser/samples/supports-hashes/_expected/{dep-KkHNeB29.js => dep-Cd4Qi2HK.js} (100%) create mode 100644 test/browser/samples/supports-hashes/_expected/main-DCJ0aYjk.js delete mode 100644 test/browser/samples/supports-hashes/_expected/main-pNv0QjL6.js rename test/chunking-form/samples/emit-file/asset-file-names/_expected/amd/txt/{x7YVzHWH-test.txt => DHthXMdY-test.txt} (100%) rename test/chunking-form/samples/emit-file/asset-file-names/_expected/cjs/txt/{x7YVzHWH-test.txt => DHthXMdY-test.txt} (100%) rename test/chunking-form/samples/emit-file/asset-file-names/_expected/es/txt/{x7YVzHWH-test.txt => DHthXMdY-test.txt} (100%) rename test/chunking-form/samples/emit-file/asset-file-names/_expected/system/txt/{x7YVzHWH-test.txt => DHthXMdY-test.txt} (100%) rename test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/{buffer-fV9J_shM.txt => buffer-B9X0n-yE.txt} (100%) rename test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/{otherBuffer-Oh78Hjdg.txt => otherBuffer-6HvweN2A.txt} (100%) rename test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/{otherString-PiT4klzx.txt => otherString--JPiSXPF.txt} (100%) rename test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/{string1-PAAt4eb8.txt => string1-8AC3h5vx.txt} (100%) rename test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/{buffer-fV9J_shM.txt => buffer-B9X0n-yE.txt} (100%) rename test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/{otherBuffer-Oh78Hjdg.txt => otherBuffer-6HvweN2A.txt} (100%) rename test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/{otherString-PiT4klzx.txt => otherString--JPiSXPF.txt} (100%) rename test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/{string1-PAAt4eb8.txt => string1-8AC3h5vx.txt} (100%) rename test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/{buffer-fV9J_shM.txt => buffer-B9X0n-yE.txt} (100%) rename test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/{otherBuffer-Oh78Hjdg.txt => otherBuffer-6HvweN2A.txt} (100%) rename test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/{otherString-PiT4klzx.txt => otherString--JPiSXPF.txt} (100%) rename test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/{string1-PAAt4eb8.txt => string1-8AC3h5vx.txt} (100%) rename test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/{buffer-fV9J_shM.txt => buffer-B9X0n-yE.txt} (100%) rename test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/{otherBuffer-Oh78Hjdg.txt => otherBuffer-6HvweN2A.txt} (100%) rename test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/{otherString-PiT4klzx.txt => otherString--JPiSXPF.txt} (100%) rename test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/{string1-PAAt4eb8.txt => string1-8AC3h5vx.txt} (100%) rename test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/amd/assets/{asset-x7YVzHWH => asset-DHthXMdY} (100%) rename test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/cjs/assets/{asset-x7YVzHWH => asset-DHthXMdY} (100%) rename test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/es/assets/{asset-x7YVzHWH => asset-DHthXMdY} (100%) rename test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/system/assets/{asset-x7YVzHWH => asset-DHthXMdY} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/{banner-Pqjybijy.txt => banner--qPJuKPL.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/{buildEnd-bjZfkWaR.txt => buildEnd-BuNl-RZp.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/{buildStart-jUsAaHhv.txt => buildStart-CNSwBoeG.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/{footer-lepGH7ft.txt => footer-CV6kYft-.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/{generateBundle-YC5K5IqI.txt => generateBundle-BgLkrkio.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/{intro-NT6UL-Ie.txt => intro-1PpQv4h6.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/{load-f5EgoTqv.txt => load-B_kSChOq.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/{outro-_McFrfAR.txt => outro-D8xwWt8B.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/{renderChunk-DMYyTWqj.txt => renderChunk-MxjJNaqP.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/{renderStart-eFzm3QZM.txt => renderStart-B4XObdBk.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/{resolveId-go8NkbCx.txt => resolveId-CCjw2RsL.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/{transform-PQ2olIjk.txt => transform-9DaiUiOT.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/{banner-Pqjybijy.txt => banner--qPJuKPL.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/{buildEnd-bjZfkWaR.txt => buildEnd-BuNl-RZp.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/{buildStart-jUsAaHhv.txt => buildStart-CNSwBoeG.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/{footer-lepGH7ft.txt => footer-CV6kYft-.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/{generateBundle-YC5K5IqI.txt => generateBundle-BgLkrkio.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/{intro-NT6UL-Ie.txt => intro-1PpQv4h6.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/{load-f5EgoTqv.txt => load-B_kSChOq.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/{outro-_McFrfAR.txt => outro-D8xwWt8B.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/{renderChunk-DMYyTWqj.txt => renderChunk-MxjJNaqP.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/{renderStart-eFzm3QZM.txt => renderStart-B4XObdBk.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/{resolveId-go8NkbCx.txt => resolveId-CCjw2RsL.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/{transform-PQ2olIjk.txt => transform-9DaiUiOT.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/{banner-Pqjybijy.txt => banner--qPJuKPL.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/{buildEnd-bjZfkWaR.txt => buildEnd-BuNl-RZp.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/{buildStart-jUsAaHhv.txt => buildStart-CNSwBoeG.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/{footer-lepGH7ft.txt => footer-CV6kYft-.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/{generateBundle-YC5K5IqI.txt => generateBundle-BgLkrkio.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/{intro-NT6UL-Ie.txt => intro-1PpQv4h6.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/{load-f5EgoTqv.txt => load-B_kSChOq.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/{outro-_McFrfAR.txt => outro-D8xwWt8B.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/{renderChunk-DMYyTWqj.txt => renderChunk-MxjJNaqP.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/{renderStart-eFzm3QZM.txt => renderStart-B4XObdBk.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/{resolveId-go8NkbCx.txt => resolveId-CCjw2RsL.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/{transform-PQ2olIjk.txt => transform-9DaiUiOT.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/{banner-Pqjybijy.txt => banner--qPJuKPL.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/{buildEnd-bjZfkWaR.txt => buildEnd-BuNl-RZp.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/{buildStart-jUsAaHhv.txt => buildStart-CNSwBoeG.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/{footer-lepGH7ft.txt => footer-CV6kYft-.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/{generateBundle-YC5K5IqI.txt => generateBundle-BgLkrkio.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/{intro-NT6UL-Ie.txt => intro-1PpQv4h6.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/{load-f5EgoTqv.txt => load-B_kSChOq.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/{outro-_McFrfAR.txt => outro-D8xwWt8B.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/{renderChunk-DMYyTWqj.txt => renderChunk-MxjJNaqP.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/{renderStart-eFzm3QZM.txt => renderStart-B4XObdBk.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/{resolveId-go8NkbCx.txt => resolveId-CCjw2RsL.txt} (100%) rename test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/{transform-PQ2olIjk.txt => transform-9DaiUiOT.txt} (100%) rename test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/amd/assets/{test-x7YVzHWH.txt => test-DHthXMdY.txt} (100%) rename test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/cjs/assets/{test-x7YVzHWH.txt => test-DHthXMdY.txt} (100%) rename test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/es/assets/{test-x7YVzHWH.txt => test-DHthXMdY.txt} (100%) rename test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/system/assets/{test-x7YVzHWH.txt => test-DHthXMdY.txt} (100%) rename test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/amd/{chunk-deb-9YxNr2n5-amd.js => chunk-deb--Bz6x-oi-amd.js} (100%) rename test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/amd/{entry-main-2WHbe7ly-amd.js => entry-main-DJVXpS51-amd.js} (72%) rename test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/amd/txt/{x7YVzHWH-test.txt => DHthXMdY-test.txt} (100%) rename test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/cjs/{chunk-deb-KO3me1q0-cjs.js => chunk-deb-9LJjyiap-cjs.js} (100%) rename test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/cjs/{entry-main-GKdCatel-cjs.js => entry-main-DFh1DOOW-cjs.js} (70%) rename test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/cjs/txt/{x7YVzHWH-test.txt => DHthXMdY-test.txt} (100%) rename test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/{chunk-deb-3ItlXRQy-es.js => chunk-deb-H_8j5Qun-es.js} (100%) create mode 100644 test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/entry-main-BeWMkjX8-es.js delete mode 100644 test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/entry-main-mA3J9obY-es.js rename test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/txt/{x7YVzHWH-test.txt => DHthXMdY-test.txt} (100%) rename test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/system/{chunk-deb-JcRQJ4ri-system.js => chunk-deb-PNqONwrZ-system.js} (100%) rename test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/system/{entry-main-robtIr_x-system.js => entry-main-IHNOrI04-system.js} (69%) rename test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/system/txt/{x7YVzHWH-test.txt => DHthXMdY-test.txt} (100%) rename test/chunking-form/samples/emit-file/reference-files/_expected/amd/assets/{logo1-BarkEXVd.svg => logo1-FquQRdV3.svg} (100%) rename test/chunking-form/samples/emit-file/reference-files/_expected/amd/assets/{logo2-yX706C0w.svg => logo2-DJfvToLT.svg} (100%) rename test/chunking-form/samples/emit-file/reference-files/_expected/cjs/assets/{logo1-BarkEXVd.svg => logo1-FquQRdV3.svg} (100%) rename test/chunking-form/samples/emit-file/reference-files/_expected/cjs/assets/{logo2-yX706C0w.svg => logo2-DJfvToLT.svg} (100%) rename test/chunking-form/samples/emit-file/reference-files/_expected/es/assets/{logo1-BarkEXVd.svg => logo1-FquQRdV3.svg} (100%) rename test/chunking-form/samples/emit-file/reference-files/_expected/es/assets/{logo2-yX706C0w.svg => logo2-DJfvToLT.svg} (100%) rename test/chunking-form/samples/emit-file/reference-files/_expected/system/assets/{logo1-BarkEXVd.svg => logo1-FquQRdV3.svg} (100%) rename test/chunking-form/samples/emit-file/reference-files/_expected/system/assets/{logo2-yX706C0w.svg => logo2-DJfvToLT.svg} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/{banner-Pqjybijy.txt => banner--qPJuKPL.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/{footer-lepGH7ft.txt => footer-CV6kYft-.txt} (100%) create mode 100644 test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/generateBundle-BBHXGh_d.txt delete mode 100644 test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/generateBundle-KcqLI9cb.txt rename test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/{generateBundle-format-5jVvk-26.txt => generateBundle-format-DmNW-T7b.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/{intro-NT6UL-Ie.txt => intro-1PpQv4h6.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/{outro-_McFrfAR.txt => outro-D8xwWt8B.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/{renderChunk-DMYyTWqj.txt => renderChunk-MxjJNaqP.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/{renderStart-eFzm3QZM.txt => renderStart-B4XObdBk.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/{banner-Pqjybijy.txt => banner--qPJuKPL.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/{footer-lepGH7ft.txt => footer-CV6kYft-.txt} (100%) create mode 100644 test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/generateBundle-CtuF2NSi.txt rename test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/{generateBundle-format-9Z73n2OP.txt => generateBundle-format-D1nvefY4.txt} (100%) delete mode 100644 test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/generateBundle-yF5Q0doc.txt rename test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/{intro-NT6UL-Ie.txt => intro-1PpQv4h6.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/{outro-_McFrfAR.txt => outro-D8xwWt8B.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/{renderChunk-DMYyTWqj.txt => renderChunk-MxjJNaqP.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/{renderStart-eFzm3QZM.txt => renderStart-B4XObdBk.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/{banner-Pqjybijy.txt => banner--qPJuKPL.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/{footer-lepGH7ft.txt => footer-CV6kYft-.txt} (100%) delete mode 100644 test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/generateBundle-9uv4IgKv.txt create mode 100644 test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/generateBundle-C9HFj0EF.txt rename test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/{generateBundle-format-en7tITil.txt => generateBundle-format-B6fu0hOK.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/{intro-NT6UL-Ie.txt => intro-1PpQv4h6.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/{outro-_McFrfAR.txt => outro-D8xwWt8B.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/{renderChunk-DMYyTWqj.txt => renderChunk-MxjJNaqP.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/{renderStart-eFzm3QZM.txt => renderStart-B4XObdBk.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/{banner-Pqjybijy.txt => banner--qPJuKPL.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/{footer-lepGH7ft.txt => footer-CV6kYft-.txt} (100%) delete mode 100644 test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/generateBundle-WoWY_GTC.txt rename test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/{generateBundle-format-XDhKOEdw.txt => generateBundle-format-BcOEo4R3.txt} (100%) create mode 100644 test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/generateBundle-oIb15WdK.txt rename test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/{intro-NT6UL-Ie.txt => intro-1PpQv4h6.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/{outro-_McFrfAR.txt => outro-D8xwWt8B.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/{renderChunk-DMYyTWqj.txt => renderChunk-MxjJNaqP.txt} (100%) rename test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/{renderStart-eFzm3QZM.txt => renderStart-B4XObdBk.txt} (100%) rename test/chunking-form/samples/filenames-patterns/_expected/amd/{chunk-main2-cf881rtr-amd.js => chunk-main2-BeN-_z3e-amd.js} (100%) delete mode 100644 test/chunking-form/samples/filenames-patterns/_expected/amd/entry-main1-CBKFi7eG-amd.js create mode 100644 test/chunking-form/samples/filenames-patterns/_expected/amd/entry-main1-DMJ9vLw5-amd.js create mode 100644 test/chunking-form/samples/filenames-patterns/_expected/amd/entry-main2-SEc5gjvu-amd.js delete mode 100644 test/chunking-form/samples/filenames-patterns/_expected/amd/entry-main2-U19f7Kkv-amd.js rename test/chunking-form/samples/filenames-patterns/_expected/cjs/{chunk-main2-2eAijmim-cjs.js => chunk-main2-DB987Lh4-cjs.js} (100%) delete mode 100644 test/chunking-form/samples/filenames-patterns/_expected/cjs/entry-main1-i42FQ2i5-cjs.js create mode 100644 test/chunking-form/samples/filenames-patterns/_expected/cjs/entry-main1-m802XraR-cjs.js create mode 100644 test/chunking-form/samples/filenames-patterns/_expected/cjs/entry-main2-CDyYOEPK-cjs.js delete mode 100644 test/chunking-form/samples/filenames-patterns/_expected/cjs/entry-main2-e914JHZ0-cjs.js rename test/chunking-form/samples/filenames-patterns/_expected/es/{chunk-main2-IiSmXREe-es.js => chunk-main2-CPMnlUsH-es.js} (100%) create mode 100644 test/chunking-form/samples/filenames-patterns/_expected/es/entry-main1-DCmtsuTI-es.js delete mode 100644 test/chunking-form/samples/filenames-patterns/_expected/es/entry-main1-JQIS3SKF-es.js delete mode 100644 test/chunking-form/samples/filenames-patterns/_expected/es/entry-main2-6DNkLKmG-es.js create mode 100644 test/chunking-form/samples/filenames-patterns/_expected/es/entry-main2-CO3mT8jT-es.js rename test/chunking-form/samples/filenames-patterns/_expected/system/{chunk-main2-sc7pTV68-system.js => chunk-main2-BRXsWtDg-system.js} (100%) rename test/chunking-form/samples/filenames-patterns/_expected/system/{entry-main1-eNgrB4zf-system.js => entry-main1-Biq2O0X--system.js} (73%) rename test/chunking-form/samples/filenames-patterns/_expected/system/{entry-main2-WsMjOhDY-system.js => entry-main2-D_RLirM0-system.js} (70%) create mode 100644 test/chunking-form/samples/hashing/base-16/_config.js rename test/chunking-form/samples/hashing/{hash-size/_expected/amd/dep-eCO4iyaHEVP2U2.js => base-16/_expected/amd/dep-829e49d80e8138.js} (100%) create mode 100644 test/chunking-form/samples/hashing/base-16/_expected/amd/main1-c7c1549b.js create mode 100644 test/chunking-form/samples/hashing/base-16/_expected/amd/main2-b28d1351.js rename test/chunking-form/samples/hashing/{hash-size/_expected/amd/test-uF-4QoZ1HtBY01G94-.txt => base-16/_expected/amd/test-52f952ec201fb87af2.txt} (100%) rename test/chunking-form/samples/hashing/{hash-size/_expected/cjs/dep-YVivKZa3-xWdJj.js => base-16/_expected/cjs/dep-56610f0f1f4a63.js} (100%) rename test/chunking-form/samples/hashing/{hash-size/_expected/cjs/main1-hNgwlFpU.js => base-16/_expected/cjs/main1-f180bb4c.js} (51%) rename test/chunking-form/samples/hashing/{hash-size/_expected/cjs/main2-VmtfVxsamQ.js => base-16/_expected/cjs/main2-d4907d4b.js} (51%) rename test/chunking-form/samples/hashing/{hash-size/_expected/cjs/test-uF-4QoZ1HtBY01G94-.txt => base-16/_expected/cjs/test-52f952ec201fb87af2.txt} (100%) rename test/chunking-form/samples/hashing/{hash-size/_expected/es/dep-zBY_VBiSge8Mj4.js => base-16/_expected/es/dep-319d615e3e266e.js} (100%) create mode 100644 test/chunking-form/samples/hashing/base-16/_expected/es/main1-2ba5365c.js create mode 100644 test/chunking-form/samples/hashing/base-16/_expected/es/main2-c2fcf802.js rename test/chunking-form/samples/hashing/{hash-size/_expected/es/test-uF-4QoZ1HtBY01G94-.txt => base-16/_expected/es/test-52f952ec201fb87af2.txt} (100%) rename test/chunking-form/samples/hashing/{hash-size/_expected/system/dep-hy-CAAd7JeW4I2.js => base-16/_expected/system/dep-bacfaa81397007.js} (100%) rename test/chunking-form/samples/hashing/{hash-size/_expected/system/main1-YgtCdyy2.js => base-16/_expected/system/main1-0b232646.js} (64%) rename test/chunking-form/samples/hashing/{hash-size/_expected/system/main2-dDGqHpvMDz.js => base-16/_expected/system/main2-83b1318a.js} (64%) rename test/chunking-form/samples/hashing/{hash-size/_expected/system/test-uF-4QoZ1HtBY01G94-.txt => base-16/_expected/system/test-52f952ec201fb87af2.txt} (100%) create mode 100644 test/chunking-form/samples/hashing/base-16/dep.js create mode 100644 test/chunking-form/samples/hashing/base-16/main1.js create mode 100644 test/chunking-form/samples/hashing/base-16/main2.js create mode 100644 test/chunking-form/samples/hashing/base-36/_config.js create mode 100644 test/chunking-form/samples/hashing/base-36/_expected/amd/dep-bmptxkz04onep5.js create mode 100644 test/chunking-form/samples/hashing/base-36/_expected/amd/main1-eq1xfkwk.js create mode 100644 test/chunking-form/samples/hashing/base-36/_expected/amd/main2-ghsu9bcu.js rename test/chunking-form/samples/{render-chunk/_expected/amd/asset-test-uF-4QoZ1 => hashing/base-36/_expected/amd/test-k68mbkgbkbej7p9txd.txt} (100%) create mode 100644 test/chunking-form/samples/hashing/base-36/_expected/cjs/dep-ovzp2ykm52qk5e.js create mode 100644 test/chunking-form/samples/hashing/base-36/_expected/cjs/main1-j953dn8u.js create mode 100644 test/chunking-form/samples/hashing/base-36/_expected/cjs/main2-m5d1jqhr.js rename test/chunking-form/samples/{render-chunk/_expected/cjs/asset-test-uF-4QoZ1 => hashing/base-36/_expected/cjs/test-k68mbkgbkbej7p9txd.txt} (100%) create mode 100644 test/chunking-form/samples/hashing/base-36/_expected/es/dep-fjef7fnh2ag8g7.js create mode 100644 test/chunking-form/samples/hashing/base-36/_expected/es/main1-mw1pkh6b.js create mode 100644 test/chunking-form/samples/hashing/base-36/_expected/es/main2-kiy506nw.js rename test/chunking-form/samples/{render-chunk/_expected/es/asset-test-uF-4QoZ1 => hashing/base-36/_expected/es/test-k68mbkgbkbej7p9txd.txt} (100%) create mode 100644 test/chunking-form/samples/hashing/base-36/_expected/system/dep-jg0ebpli0vt21p.js create mode 100644 test/chunking-form/samples/hashing/base-36/_expected/system/main1-mrx14iyi.js create mode 100644 test/chunking-form/samples/hashing/base-36/_expected/system/main2-mqk8gped.js rename test/chunking-form/samples/{render-chunk/_expected/system/asset-test-uF-4QoZ1 => hashing/base-36/_expected/system/test-k68mbkgbkbej7p9txd.txt} (100%) create mode 100644 test/chunking-form/samples/hashing/base-36/dep.js create mode 100644 test/chunking-form/samples/hashing/base-36/main1.js create mode 100644 test/chunking-form/samples/hashing/base-36/main2.js create mode 100644 test/chunking-form/samples/hashing/base-64/_config.js create mode 100644 test/chunking-form/samples/hashing/base-64/_expected/amd/dep-CQnwizGk7iiKyM.js create mode 100644 test/chunking-form/samples/hashing/base-64/_expected/amd/main1-DmCo11bz.js create mode 100644 test/chunking-form/samples/hashing/base-64/_expected/amd/main2-plMRg5wo.js create mode 100644 test/chunking-form/samples/hashing/base-64/_expected/amd/test-C4X7hChnUe0FjTUb3j.txt create mode 100644 test/chunking-form/samples/hashing/base-64/_expected/cjs/dep-DP3g5uf-_SXPa0.js create mode 100644 test/chunking-form/samples/hashing/base-64/_expected/cjs/main1-DnXXnXwB.js create mode 100644 test/chunking-form/samples/hashing/base-64/_expected/cjs/main2-gxHln_2b.js create mode 100644 test/chunking-form/samples/hashing/base-64/_expected/cjs/test-C4X7hChnUe0FjTUb3j.txt create mode 100644 test/chunking-form/samples/hashing/base-64/_expected/es/dep-Bjk1mBEz6TLC2O.js create mode 100644 test/chunking-form/samples/hashing/base-64/_expected/es/main1-CFYv4LMw.js create mode 100644 test/chunking-form/samples/hashing/base-64/_expected/es/main2-DZLiRzpS.js create mode 100644 test/chunking-form/samples/hashing/base-64/_expected/es/test-C4X7hChnUe0FjTUb3j.txt create mode 100644 test/chunking-form/samples/hashing/base-64/_expected/system/dep-58OVQdrHioalt3.js create mode 100644 test/chunking-form/samples/hashing/base-64/_expected/system/main1-D6XIOQ-3.js create mode 100644 test/chunking-form/samples/hashing/base-64/_expected/system/main2-DvH4my1X.js create mode 100644 test/chunking-form/samples/hashing/base-64/_expected/system/test-C4X7hChnUe0FjTUb3j.txt create mode 100644 test/chunking-form/samples/hashing/base-64/dep.js create mode 100644 test/chunking-form/samples/hashing/base-64/main1.js create mode 100644 test/chunking-form/samples/hashing/base-64/main2.js rename test/chunking-form/samples/hashing/deconflict-hashes/_expected/amd/{entry-BjVZZvuI.js => entry-DKQbg3Wf.js} (100%) rename test/chunking-form/samples/hashing/deconflict-hashes/_expected/amd/{entry-_kM9k9Bx.js => entry-GCBTgmAv.js} (100%) rename test/chunking-form/samples/hashing/deconflict-hashes/_expected/cjs/{entry-BAMj_W0O.js => entry-CfHQ99Wd.js} (100%) rename test/chunking-form/samples/hashing/deconflict-hashes/_expected/cjs/{entry-ivriA37N.js => entry-DCMVlR3X.js} (100%) rename test/chunking-form/samples/hashing/deconflict-hashes/_expected/es/{entry-Gs557UIb.js => entry-BIjZ-t_L.js} (100%) rename test/chunking-form/samples/hashing/deconflict-hashes/_expected/es/{entry-Y0flmsE_.js => entry-BbWhrgmr.js} (100%) rename test/chunking-form/samples/hashing/deconflict-hashes/_expected/system/{entry-aiNN2RB-.js => entry-5NcCWKKj.js} (100%) rename test/chunking-form/samples/hashing/deconflict-hashes/_expected/system/{entry-yZdFXPRq.js => entry-Co4GckLL.js} (100%) rename test/chunking-form/samples/hashing/double-hash/_expected/amd/{_kM9k9Bx/entry-_kM9k9Bx.js => GCBTgmAv/entry-GCBTgmAv.js} (100%) rename test/chunking-form/samples/hashing/double-hash/_expected/cjs/{ivriA37N/entry-ivriA37N.js => DCMVlR3X/entry-DCMVlR3X.js} (100%) rename test/chunking-form/samples/hashing/double-hash/_expected/es/{Y0flmsE_/entry-Y0flmsE_.js => BIjZ-t_L/entry-BIjZ-t_L.js} (100%) rename test/chunking-form/samples/hashing/double-hash/_expected/system/{yZdFXPRq/entry-yZdFXPRq.js => Co4GckLL/entry-Co4GckLL.js} (100%) create mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/amd/dep-CQnwizGk7iiKyM.js delete mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/amd/main1-9bGLbd-q.js create mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/amd/main1-DmCo11bz.js delete mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/amd/main2-5gkbLhN4J6.js create mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/amd/main2-plMRg5woLM.js create mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/amd/test-C4X7hChnUe0FjTUb3j.txt create mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/cjs/dep-DP3g5uf-_SXPa0.js create mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/cjs/main1-DnXXnXwB.js create mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/cjs/main2-gxHln_2big.js create mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/cjs/test-C4X7hChnUe0FjTUb3j.txt create mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/es/dep-Bjk1mBEz6TLC2O.js create mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/es/main1-CFYv4LMw.js delete mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/es/main1-fjlEGKoF.js create mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/es/main2-DZLiRzpSAF.js delete mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/es/main2-_s3jGKh5RD.js create mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/es/test-C4X7hChnUe0FjTUb3j.txt create mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/system/dep-58OVQdrHioalt3.js create mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/system/main1-D6XIOQ-3.js create mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/system/main2-DvH4my1XU3.js create mode 100644 test/chunking-form/samples/hashing/hash-size/_expected/system/test-C4X7hChnUe0FjTUb3j.txt rename test/chunking-form/samples/hashing/random-match/_expected/amd/{entry-1UjYC2I--1UjYC2I--!~{123}~.js => entry-sQD11LPz-sQD11LPz-!~{123}~.js} (69%) rename test/chunking-form/samples/hashing/random-match/_expected/cjs/{entry-r0OE6QqP-r0OE6QqP-!~{123}~.js => entry-BZIkp09S-BZIkp09S-!~{123}~.js} (60%) rename test/chunking-form/samples/hashing/random-match/_expected/es/{entry-0i8gYiAL-0i8gYiAL-!~{123}~.js => entry-BVS-XKSP-BVS-XKSP-!~{123}~.js} (52%) rename test/chunking-form/samples/hashing/random-match/_expected/system/{entry-uj5cAyaj-uj5cAyaj-!~{123}~.js => entry-BIeoZmJB-BIeoZmJB-!~{123}~.js} (79%) rename test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/amd/{H3l_crHv.js => B0TueUNf.js} (100%) rename test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/cjs/{-4vUgP94.js => CZGiCtun.js} (100%) rename test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/es/{A-tvJWOc.js => i0JfRnA6.js} (100%) rename test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/system/{DeK55VpB.js => DZcpXEg4.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/{b.str-amd-hhqXr9WW.js => b.str-amd-DF7A0kMb.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/{c-amd-TDR2LH-3.js => c-amd-Dx6wblfB.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/{d-amd-VrgHm0xN.js => d-amd-D-AkRk0H.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/{e-amd-zwUdnnpR.js => e-amd-CzsEaS33.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/{f-amd-6N1j88Mb.js => f-amd-BmQk4H5I.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/{g-amd-bhx6veTY.js => g-amd-BWU4b_ZQ.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/{h-amd-wseWVa4P.js => h-amd-BHKDy5vy.js} (100%) delete mode 100644 test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/main-amd-7vxzdx0k.js create mode 100644 test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/main-amd-CyX39dyD.js rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/nested/{a-amd-skgc70zk.js => a-amd-DtRZNXzf.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/{no-ext-amd-KDE3R3Gg.js => no-ext-amd-Dpy8IO7f.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/{b.str-cjs-oMtv8QPW.js => b.str-cjs-BS5lKJ39.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/{c-cjs-5n06CuHC.js => c-cjs-BR0xAsc5.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/{d-cjs-Gz2CiPX0.js => d-cjs-C8q7hg53.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/{e-cjs-WOU85U0_.js => e-cjs-bNQwZe-W.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/{f-cjs-WoWuXuZP.js => f-cjs-C1wIZHEU.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/{g-cjs-ZcQtf4ii.js => g-cjs-GDJ2GCjN.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/{h-cjs-8Kljj-VE.js => h-cjs-047ra2yr.js} (100%) create mode 100644 test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/main-cjs-BqXS_zT0.js delete mode 100644 test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/main-cjs-JyKGpmTa.js rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/nested/{a-cjs-kvZ4_FEE.js => a-cjs-C_nfDF22.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/{no-ext-cjs-bp5EbIHi.js => no-ext-cjs-BGwLFM9Z.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/{b.str-es-Ja5UDcox.js => b.str-es-Gs0GwhVF.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/{c-es-kgE3BpZP.js => c-es-ZYTOn0Eh.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/{d-es-aJHyMhkA.js => d-es-Dr4mq94c.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/{e-es-L3xdJkDr.js => e-es-C2SWm0pY.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/{f-es--VxedyqQ.js => f-es-Bm_ir2Io.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/{g-es-spweQtsO.js => g-es-BbU0foyF.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/{h-es-TRi7J9bn.js => h-es-DwzmIMUF.js} (100%) create mode 100644 test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/main-es-CMLd0Z43.js delete mode 100644 test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/main-es-N06cocRH.js rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/nested/{a-es-NSAVj3lN.js => a-es-GMZjp5vx.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/{no-ext-es-C7qwrbcM.js => no-ext-es-aP4Nui9G.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/{b.str-system-XeLZkGa2.js => b.str-system-Bdh1JWaH.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/{c-system-YcfLlg0Y.js => c-system-CfMXlo_7.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/{d-system-h1TmdUx7.js => d-system-CjBJ6c43.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/{e-system-f06TUcek.js => e-system-kCTp4Cbh.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/{f-system-BdI7g27Y.js => f-system-0MCeGExm.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/{g-system-G9CTMifv.js => g-system-BOKAS6Fy.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/{h-system-w-mTrslh.js => h-system-BDND_AXe.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/{main-system-C-sFf2gV.js => main-system-D680kXvc.js} (67%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/nested/{a-system-v8eP40XQ.js => a-system-C0NakMeD.js} (100%) rename test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/{no-ext-system-_KFMYUqd.js => no-ext-system-DT8lOU6x.js} (100%) rename test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/_virtual/{_virtualModule-amd-dkCUmZZM.mjs => _virtualModule-amd-CqgD4cJS.mjs} (100%) rename test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/_virtual/{_virtualWithAssetExt.str-amd-ZmgZpO4v.mjs => _virtualWithAssetExt.str-amd-Ca4QZAgp.mjs} (100%) rename test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/_virtual/{_virtualWithExt-amd-fYdXqg2l.mjs => _virtualWithExt-amd-De_T627R.mjs} (100%) rename test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/{main-amd-bdsEo1jf.mjs => main-amd-D0B6q8JD.mjs} (53%) rename test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/_virtual/{_virtualModule-cjs-vsfTWOJ4.mjs => _virtualModule-cjs-MENa5NhI.mjs} (100%) rename test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/_virtual/{_virtualWithAssetExt.str-cjs-C3etvDA-.mjs => _virtualWithAssetExt.str-cjs-B_lO0aYW.mjs} (100%) rename test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/_virtual/{_virtualWithExt-cjs-Q5dP1jbm.mjs => _virtualWithExt-cjs-DP7-0s5h.mjs} (100%) rename test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/{main-cjs-6wpvmYGP.mjs => main-cjs-Dj-jXKJ4.mjs} (56%) rename test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/_virtual/{_virtualModule-es-0lAsaDxt.mjs => _virtualModule-es-DVZZJXTX.mjs} (100%) rename test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/_virtual/{_virtualWithAssetExt.str-es-i4KuU6IN.mjs => _virtualWithAssetExt.str-es-BMZSdKwo.mjs} (100%) rename test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/_virtual/{_virtualWithExt-es-0H_6dNOV.mjs => _virtualWithExt-es-Cy2tYbl9.mjs} (100%) rename test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/{main-es-qKNN2CuL.mjs => main-es-Bw8Pzpud.mjs} (56%) rename test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/_virtual/{_virtualModule-system-wIF__LeM.mjs => _virtualModule-system-Cwdr94yk.mjs} (100%) rename test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/_virtual/{_virtualWithAssetExt.str-system-9UiuNSi0.mjs => _virtualWithAssetExt.str-system-_UXDi4fY.mjs} (100%) rename test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/_virtual/{_virtualWithExt-system-RILM_C-g.mjs => _virtualWithExt-system-DFQIpSQr.mjs} (100%) rename test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/{main-system-EK6PrDgT.mjs => main-system-Bly5EEDC.mjs} (67%) rename test/chunking-form/samples/render-chunk-transform/_expected/amd/{entry-main1-kZfhqQ-c.js => entry-main1-DTXeRbrN.js} (100%) rename test/chunking-form/samples/render-chunk-transform/_expected/amd/{entry-main2-HAN3t8tF.js => entry-main2-BUwyD6FV.js} (62%) rename test/chunking-form/samples/render-chunk-transform/_expected/cjs/{entry-main1-vmW_xTy-.js => entry-main1-CinfcDMy.js} (100%) rename test/chunking-form/samples/render-chunk-transform/_expected/cjs/{entry-main2-Nn78jd3g.js => entry-main2-i24vGdI5.js} (52%) rename test/chunking-form/samples/render-chunk-transform/_expected/es/{entry-main1-NHE3CPgw.js => entry-main1-bUD0z9Dn.js} (100%) create mode 100644 test/chunking-form/samples/render-chunk-transform/_expected/es/entry-main2-NdATofhS.js delete mode 100644 test/chunking-form/samples/render-chunk-transform/_expected/es/entry-main2-bcI4ej2q.js rename test/chunking-form/samples/render-chunk-transform/_expected/system/{entry-main1-ulqZAx1e.js => entry-main1-D-6QAEdu.js} (100%) rename test/chunking-form/samples/render-chunk-transform/_expected/system/{entry-main2-9TMBLN6w.js => entry-main2-Bk_CgiOM.js} (74%) create mode 100644 test/chunking-form/samples/render-chunk/_expected/amd/asset-test-C4X7hChn rename test/chunking-form/samples/render-chunk/_expected/amd/{chunk-dep2-_bTcBm_f.js => chunk-dep2-ughyJKkd.js} (69%) rename test/chunking-form/samples/render-chunk/_expected/amd/{entry-main1-n5Rl5PjH.js => entry-main1-utR7jRA-.js} (65%) rename test/chunking-form/samples/render-chunk/_expected/amd/{entry-main2-ne4fysq0.js => entry-main2-CUgn7sNH.js} (65%) create mode 100644 test/chunking-form/samples/render-chunk/_expected/cjs/asset-test-C4X7hChn rename test/chunking-form/samples/render-chunk/_expected/cjs/{chunk-dep2-XPNbbDh-.js => chunk-dep2-DaLIbws0.js} (63%) rename test/chunking-form/samples/render-chunk/_expected/cjs/{entry-main1-zV-9xTLy.js => entry-main1-s6RHXqBe.js} (61%) rename test/chunking-form/samples/render-chunk/_expected/cjs/{entry-main2-urBx_vfo.js => entry-main2-DPo9-iBy.js} (61%) create mode 100644 test/chunking-form/samples/render-chunk/_expected/es/asset-test-C4X7hChn rename test/chunking-form/samples/render-chunk/_expected/es/{chunk-dep2-P6jMk6bJ.js => chunk-dep2-CQDaPkp1.js} (64%) rename test/chunking-form/samples/render-chunk/_expected/es/{entry-main1--LupZW-p.js => entry-main1-Ckv7K5sz.js} (60%) rename test/chunking-form/samples/render-chunk/_expected/es/{entry-main2-wXJ52_9X.js => entry-main2-Ckd5ikIS.js} (60%) create mode 100644 test/chunking-form/samples/render-chunk/_expected/system/asset-test-C4X7hChn rename test/chunking-form/samples/render-chunk/_expected/system/{chunk-dep2-fl4XqPqA.js => chunk-dep2-C9ddpexS.js} (67%) rename test/chunking-form/samples/render-chunk/_expected/system/{entry-main1-tjQATGfh.js => entry-main1-Jmzu7nOJ.js} (63%) rename test/chunking-form/samples/render-chunk/_expected/system/{entry-main2-tZeXhorV.js => entry-main2-ByL47NtH.js} (63%) rename test/chunking-form/samples/resolve-file-url/_expected/amd/assets/{asset-resolved-7pLh6Sdd.txt => asset-resolved-DukuHpJ1.txt} (100%) rename test/chunking-form/samples/resolve-file-url/_expected/amd/assets/{asset-solved-0oyI4hTT.txt => asset-solved-DSjIjiFN.txt} (100%) rename test/chunking-form/samples/resolve-file-url/_expected/amd/assets/{asset-unresolved-e0Iev6TZ.txt => asset-unresolved-B7Qh6_pN.txt} (100%) rename test/chunking-form/samples/resolve-file-url/_expected/cjs/assets/{asset-resolved-7pLh6Sdd.txt => asset-resolved-DukuHpJ1.txt} (100%) rename test/chunking-form/samples/resolve-file-url/_expected/cjs/assets/{asset-solved-0oyI4hTT.txt => asset-solved-DSjIjiFN.txt} (100%) rename test/chunking-form/samples/resolve-file-url/_expected/cjs/assets/{asset-unresolved-e0Iev6TZ.txt => asset-unresolved-B7Qh6_pN.txt} (100%) rename test/chunking-form/samples/resolve-file-url/_expected/es/assets/{asset-resolved-7pLh6Sdd.txt => asset-resolved-DukuHpJ1.txt} (100%) rename test/chunking-form/samples/resolve-file-url/_expected/es/assets/{asset-solved-0oyI4hTT.txt => asset-solved-DSjIjiFN.txt} (100%) rename test/chunking-form/samples/resolve-file-url/_expected/es/assets/{asset-unresolved-e0Iev6TZ.txt => asset-unresolved-B7Qh6_pN.txt} (100%) rename test/chunking-form/samples/resolve-file-url/_expected/system/assets/{asset-resolved-7pLh6Sdd.txt => asset-resolved-DukuHpJ1.txt} (100%) rename test/chunking-form/samples/resolve-file-url/_expected/system/assets/{asset-solved-0oyI4hTT.txt => asset-solved-DSjIjiFN.txt} (100%) rename test/chunking-form/samples/resolve-file-url/_expected/system/assets/{asset-unresolved-e0Iev6TZ.txt => asset-unresolved-B7Qh6_pN.txt} (100%) rename test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/{dynamic-kWEjd9Su.js => dynamic-CBK0ZRhv.js} (100%) rename test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/{dynamic-HgyWTd0RHPMm-Z5LV91eZ.js.map => dynamic-eDJZN3REc8ya-DAVPlGJs.js.map} (69%) rename test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/{dynamic-hashed-Z5LV91eZ.js => dynamic-hashed-DAVPlGJs.js} (56%) rename test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/{dynamic-Q4C4Dm_h.js => dynamic-Dke4V8eM.js} (100%) rename test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/{dynamic-Bj3iqQlUJnPN-DzdWIGlX.js.map => dynamic-GPeKpCVQmc82-BgHsqIXR.js.map} (68%) create mode 100644 test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-hashed-BgHsqIXR.js delete mode 100644 test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-hashed-DzdWIGlX.js rename test/chunking-form/samples/sourcemap-file-names-function/_expected/es/{dynamic-kETnNCzeTm-o-T4V3Rnvr.js.map => dynamic-CQROc0LN5Ob6-DyVTGFM1.js.map} (68%) rename test/chunking-form/samples/sourcemap-file-names-function/_expected/es/{dynamic-APUNg5Yg.js => dynamic-TiCFiI2A.js} (100%) create mode 100644 test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-hashed-DyVTGFM1.js delete mode 100644 test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-hashed-T4V3Rnvr.js rename test/chunking-form/samples/sourcemap-file-names-function/_expected/system/{dynamic-sDZez62fO5oL-BFee68z_.js.map => dynamic-CwNl7PrZ87mg-CkE_tUGn.js.map} (70%) rename test/chunking-form/samples/sourcemap-file-names-function/_expected/system/{dynamic-VkfTWHgI.js => dynamic-D_Zs3yGr.js} (100%) rename test/chunking-form/samples/sourcemap-file-names-function/_expected/system/{dynamic-hashed-BFee68z_.js => dynamic-hashed-CkE_tUGn.js} (70%) rename test/chunking-form/samples/sourcemap-file-names/_expected/amd/{main-DrgsaZFk-amd-af4XjAqa.js.map => main-CxF_f73M-amd-Bp_heMCp.js.map} (64%) rename test/chunking-form/samples/sourcemap-file-names/_expected/amd/{main-DrgsaZFk-amd.js => main-CxF_f73M-amd.js} (53%) rename test/chunking-form/samples/sourcemap-file-names/_expected/cjs/{main-R9n-8tvV-cjs-AkG5wfAe.js.map => main-Br8Lt4cy-cjs-CQbnB8B7.js.map} (63%) create mode 100644 test/chunking-form/samples/sourcemap-file-names/_expected/cjs/main-Br8Lt4cy-cjs.js delete mode 100644 test/chunking-form/samples/sourcemap-file-names/_expected/cjs/main-R9n-8tvV-cjs.js rename test/chunking-form/samples/sourcemap-file-names/_expected/es/{main-bXxLNi2H-es-8pqe0w5c.js.map => main-afmxdKJU-es-Dymp7TDl.js.map} (62%) create mode 100644 test/chunking-form/samples/sourcemap-file-names/_expected/es/main-afmxdKJU-es.js delete mode 100644 test/chunking-form/samples/sourcemap-file-names/_expected/es/main-bXxLNi2H-es.js rename test/chunking-form/samples/sourcemap-file-names/_expected/system/{main-c5ZQparC-system-mgjP6dBa.js.map => main-DSPrUs6M-system-CaCM_p0F.js.map} (65%) rename test/chunking-form/samples/sourcemap-file-names/_expected/system/{main-c5ZQparC-system.js => main-DSPrUs6M-system.js} (68%) rename test/form/samples/configure-file-url/_expected/assets/{asset-resolved-7pLh6Sdd.txt => asset-resolved-DukuHpJ1.txt} (100%) rename test/form/samples/configure-file-url/_expected/assets/{asset-solved-0oyI4hTT.txt => asset-solved-DSjIjiFN.txt} (100%) rename test/form/samples/configure-file-url/_expected/assets/{asset-unresolved-e0Iev6TZ.txt => asset-unresolved-B7Qh6_pN.txt} (100%) rename test/form/samples/emit-asset-file/_expected/assets/{logo-Mw5Zq12q.svg => logo-zDlmrXar.svg} (100%) rename test/form/samples/emit-file-tree-shaken-access/_expected/assets/{logo-Mw5Zq12q.svg => logo-zDlmrXar.svg} (100%) rename test/form/samples/emit-uint8array-no-buffer/_expected/assets/{asset-PPyJ5YHr => asset-8_Inlget} (100%) rename test/form/samples/emit-uint8array-no-buffer/_expected/assets/{asset-tb9uIT4z => asset-C1v24hPj} (100%) rename test/form/samples/emit-uint8array-no-buffer/_expected/assets/{asset-rVqBj9gL => asset-CtWoGP2A} (100%) diff --git a/browser/src/wasm.ts b/browser/src/wasm.ts index b56a478d5..e0249605a 100644 --- a/browser/src/wasm.ts +++ b/browser/src/wasm.ts @@ -1,5 +1,5 @@ // eslint-disable-next-line import/no-unresolved -export { parse, xxhashBase64Url } from '../../wasm/bindings_wasm.js'; +export { parse, xxhashBase64Url, xxhashBase36, xxhashBase16 } from '../../wasm/bindings_wasm.js'; // eslint-disable-next-line import/no-unresolved import { parse } from '../../wasm/bindings_wasm.js'; diff --git a/cli/help.md b/cli/help.md index a68fac297..258f9957a 100644 --- a/cli/help.md +++ b/cli/help.md @@ -48,6 +48,7 @@ Basic options: --generatedCode.objectShorthand Use shorthand properties in generated code --no-generatedCode.reservedNamesAsProps Always quote reserved names as props --generatedCode.symbols Use symbols in generated code +--hashCharacters Use the specified character set for file hashes --no-hoistTransitiveImports Do not hoist transitive imports into entry chunks --no-indent Don't indent result --inlineDynamicImports Create single bundle when using dynamic imports diff --git a/docs/command-line-interface/index.md b/docs/command-line-interface/index.md index d2e61da66..9532e54ab 100755 --- a/docs/command-line-interface/index.md +++ b/docs/command-line-interface/index.md @@ -90,6 +90,7 @@ export default { externalImportAttributes, footer, generatedCode, + hashCharacters, hoistTransitiveImports, inlineDynamicImports, interop, @@ -398,6 +399,7 @@ Many options have command line equivalents. In those cases, any arguments passed --generatedCode.objectShorthand Use shorthand properties in generated code --no-generatedCode.reservedNamesAsProps Always quote reserved names as props --generatedCode.symbols Use symbols in generated code +--hashCharacters Use the specified character set for file hashes --no-hoistTransitiveImports Do not hoist transitive imports into entry chunks --no-indent Don't indent result --inlineDynamicImports Create single bundle when using dynamic imports diff --git a/docs/configuration-options/index.md b/docs/configuration-options/index.md index b4de13798..ae08c50c2 100755 --- a/docs/configuration-options/index.md +++ b/docs/configuration-options/index.md @@ -539,7 +539,7 @@ The pattern to use for naming custom emitted assets to include in the build outp - `[extname]`: The file extension of the asset including a leading dot, e.g. `.css`. - `[ext]`: The file extension without a leading dot, e.g. `css`. -- `[hash]`: A hash based on the content of the asset. You can also set a specific hash length via e.g. `[hash:10]`. +- `[hash]`: A hash based on the content of the asset. You can also set a specific hash length via e.g. `[hash:10]`. By default, it will create a base-64 hash. If you need a reduced character sets, see [`output.hashCharacters`](#output-hashcharacters) - `[name]`: The file name of the asset excluding any extension. Forward slashes `/` can be used to place files in sub-directories. When using a function, `assetInfo` is a reduced version of the one in [`generateBundle`](../plugin-development/index.md#generatebundle) without the `fileName`. See also [`output.chunkFileNames`](#output-chunkfilenames), [`output.entryFileNames`](#output-entryfilenames). @@ -585,7 +585,7 @@ See also [`output.intro/output.outro`](#output-intro-output-outro). The pattern to use for naming shared chunks created when code-splitting, or a function that is called per chunk to return such a pattern. Patterns support the following placeholders: - `[format]`: The rendering format defined in the output options, e.g. `es` or `cjs`. -- `[hash]`: A hash based only on the content of the final generated chunk, including transformations in [`renderChunk`](../plugin-development/index.md#renderchunk) and any referenced file hashes. You can also set a specific hash length via e.g. `[hash:10]`. +- `[hash]`: A hash based only on the content of the final generated chunk, including transformations in [`renderChunk`](../plugin-development/index.md#renderchunk) and any referenced file hashes. You can also set a specific hash length via e.g. `[hash:10]`. By default, it will create a base-64 hash. If you need a reduced character sets, see [`output.hashCharacters`](#output-hashcharacters) - `[name]`: The name of the chunk. This can be explicitly set via the [`output.manualChunks`](#output-manualchunks) option or when the chunk is created by a plugin via [`this.emitFile`](../plugin-development/index.md#this-emitfile). Otherwise, it will be derived from the chunk contents. Forward slashes `/` can be used to place files in sub-directories. When using a function, `chunkInfo` is a reduced version of the one in [`generateBundle`](../plugin-development/index.md#generatebundle) without properties that depend on file names and no information about the rendered modules as rendering only happens after file names have been generated. You can however access a list of included `moduleIds`. See also [`output.assetFileNames`](#output-assetfilenames), [`output.entryFileNames`](#output-entryfilenames). @@ -661,7 +661,7 @@ Promise.resolve() The pattern to use for chunks created from entry points, or a function that is called per entry chunk to return such a pattern. Patterns support the following placeholders: - `[format]`: The rendering format defined in the output options, e.g. `es` or `cjs`. -- `[hash]`: A hash based only on the content of the final generated entry chunk, including transformations in [`renderChunk`](../plugin-development/index.md#renderchunk) and any referenced file hashes. You can also set a specific hash length via e.g. `[hash:10]`. +- `[hash]`: A hash based only on the content of the final generated entry chunk, including transformations in [`renderChunk`](../plugin-development/index.md#renderchunk) and any referenced file hashes. You can also set a specific hash length via e.g. `[hash:10]`. By default, it will create a base-64 hash. If you need a reduced character sets, see [`output.hashCharacters`](#output-hashcharacters) - `[name]`: The file name (without extension) of the entry point, unless the object form of input was used to define a different name. Forward slashes `/` can be used to place files in sub-directories. When using a function, `chunkInfo` is a reduced version of the one in [`generateBundle`](../plugin-development/index.md#generatebundle) without properties that depend on file names and no information about the rendered modules as rendering only happens after file names have been generated. You can however access a list of included `moduleIds`. See also [`output.assetFileNames`](#output-assetfilenames), [`output.chunkFileNames`](#output-chunkfilenames). @@ -863,6 +863,20 @@ const foo = 42; exports.foo = foo; ``` +### output.hashCharacters + +| | | +| -------: | :------------------------------ | +| Type: | `"base64" \| "base32" \| "hex"` | +| CLI: | `--hashCharacters ` | +| Default: | `"base64"` | + +This determines the character set that Rollup is allowed to use in file hashes. + +- the default `"base64"` will use url-safe base-64 hashes with potential characters `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_`. +- `"base36"` will only use lower-case letters and numbers `abcdefghijklmnopqrstuvwxyz0123456789`. +- `"hex"` will create hexadecimal hashes with characters `abcdef0123456789`. + ### output.hoistTransitiveImports | | | @@ -1480,7 +1494,7 @@ The location of the generated bundle. If this is an absolute path, all the `sour The pattern to use for sourcemaps, or a function that is called per sourcemap to return such a pattern. Patterns support the following placeholders: - `[format]`: The rendering format defined in the output options, e.g. `es` or `cjs`. -- `[hash]`: A hash based only on the content of the final generated sourcemap. You can also set a specific hash length via e.g. `[hash:10]`. +- `[hash]`: A hash based only on the content of the final generated sourcemap. You can also set a specific hash length via e.g. `[hash:10]`. By default, it will create a base-64 hash. If you need a reduced character sets, see [`output.hashCharacters`](#output-hashcharacters) - `[chunkhash]`: The same hash as the one used for the corresponding generated chunk (if any). - `[name]`: The file name (without extension) of the entry point, unless the object form of input was used to define a different name. diff --git a/docs/javascript-api/index.md b/docs/javascript-api/index.md index d766f6663..5ce20e4b2 100755 --- a/docs/javascript-api/index.md +++ b/docs/javascript-api/index.md @@ -165,6 +165,7 @@ const outputOptions = { externalImportAttributes, footer, generatedCode, + hashCharacters, hoistTransitiveImports, inlineDynamicImports, interop, diff --git a/docs/repl/stores/options.ts b/docs/repl/stores/options.ts index f1698b2fd..012b6d62c 100644 --- a/docs/repl/stores/options.ts +++ b/docs/repl/stores/options.ts @@ -242,6 +242,11 @@ export const useOptions = defineStore('options2', () => { name: 'output.globals', required: () => true }); + const optionOutputHashCharacters = getSelect({ + defaultValue: 'base64', + name: 'output.hashCharacters', + options: () => ['base64', 'base36', 'hex'] + }); const optionOutputHoistTransitiveImports = getBoolean({ available: alwaysTrue, defaultValue: true, @@ -432,6 +437,7 @@ export const useOptions = defineStore('options2', () => { optionOutputGeneratedCodeReservedNamesAsProperties, optionOutputGeneratedCodeSymbols, optionOutputGlobals, + optionOutputHashCharacters, optionOutputHoistTransitiveImports, optionOutputIndent, optionOutputInlineDynamicImports, diff --git a/native.d.ts b/native.d.ts index 1de75b46f..f7ba71468 100644 --- a/native.d.ts +++ b/native.d.ts @@ -6,3 +6,5 @@ export function parse(code: string, allowReturnOutsideFunction: boolean): Buffer export function parseAsync(code: string, allowReturnOutsideFunction: boolean, signal?: AbortSignal | undefined | null): Promise export function xxhashBase64Url(input: Uint8Array): string +export function xxhashBase36(input: Uint8Array): string +export function xxhashBase16(input: Uint8Array): string diff --git a/native.js b/native.js index 34e1ab67d..4e272e32e 100644 --- a/native.js +++ b/native.js @@ -93,10 +93,12 @@ const requireWithFriendlyError = id => { } }; -const { parse, parseAsync, xxhashBase64Url } = requireWithFriendlyError( +const { parse, parseAsync, xxhashBase64Url, xxhashBase36, xxhashBase16 } = requireWithFriendlyError( existsSync(join(__dirname, localName)) ? localName : `@rollup/rollup-${packageBase}` ); module.exports.parse = parse; module.exports.parseAsync = parseAsync; module.exports.xxhashBase64Url = xxhashBase64Url; +module.exports.xxhashBase36 = xxhashBase36; +module.exports.xxhashBase16 = xxhashBase16; diff --git a/native.wasm.js b/native.wasm.js index aa4258fa8..cfd61b783 100644 --- a/native.wasm.js +++ b/native.wasm.js @@ -1,6 +1,13 @@ -const { parse, xxhashBase64Url } = require('./wasm-node/bindings_wasm.js'); +const { + parse, + xxhashBase64Url, + xxhashBase36, + xxhashBase16 +} = require('./wasm-node/bindings_wasm.js'); exports.parse = parse; exports.parseAsync = async (code, allowReturnOutsideFunction, _signal) => parse(code, allowReturnOutsideFunction); exports.xxhashBase64Url = xxhashBase64Url; +exports.xxhashBase36 = xxhashBase36; +exports.xxhashBase16 = xxhashBase16; diff --git a/rust/Cargo.lock b/rust/Cargo.lock index dd2874265..9cecf7a46 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -64,6 +64,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +[[package]] +name = "base-encode" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a17bd29f7c70f32e9387f4d4acfa5ea7b7749ef784fb78cf382df97069337b8c" + [[package]] name = "base64" version = "0.21.7" @@ -1516,7 +1522,7 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" name = "xxhash" version = "0.0.0" dependencies = [ - "base64", + "base-encode", "xxhash-rust", ] diff --git a/rust/bindings_napi/src/lib.rs b/rust/bindings_napi/src/lib.rs index ce91433de..219334231 100644 --- a/rust/bindings_napi/src/lib.rs +++ b/rust/bindings_napi/src/lib.rs @@ -52,3 +52,13 @@ pub fn parse_async( pub fn xxhash_base64_url(input: Uint8Array) -> String { xxhash::xxhash_base64_url(&input) } + +#[napi] +pub fn xxhash_base36(input: Uint8Array) -> String { + xxhash::xxhash_base36(&input) +} + +#[napi] +pub fn xxhash_base16(input: Uint8Array) -> String { + xxhash::xxhash_base16(&input) +} diff --git a/rust/bindings_wasm/src/lib.rs b/rust/bindings_wasm/src/lib.rs index d84eb52ff..23e0f0d65 100644 --- a/rust/bindings_wasm/src/lib.rs +++ b/rust/bindings_wasm/src/lib.rs @@ -11,3 +11,13 @@ pub fn parse(code: String, allow_return_outside_function: bool) -> Vec { pub fn xxhash_base64_url(input: Uint8Array) -> String { xxhash::xxhash_base64_url(&input.to_vec()) } + +#[wasm_bindgen(js_name=xxhashBase36)] +pub fn xxhash_base36(input: Uint8Array) -> String { + xxhash::xxhash_base36(&input.to_vec()) +} + +#[wasm_bindgen(js_name=xxhashBase16)] +pub fn xxhash_base16(input: Uint8Array) -> String { + xxhash::xxhash_base16(&input.to_vec()) +} diff --git a/rust/xxhash/Cargo.toml b/rust/xxhash/Cargo.toml index 8d428c23a..72ec506a9 100644 --- a/rust/xxhash/Cargo.toml +++ b/rust/xxhash/Cargo.toml @@ -6,5 +6,5 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -base64 = '0.21.7' +base-encode = "0.3.1" xxhash-rust = { version = "0.8.8", features = ["xxh3"] } diff --git a/rust/xxhash/src/lib.rs b/rust/xxhash/src/lib.rs index 82f85e8ba..1c64d4856 100644 --- a/rust/xxhash/src/lib.rs +++ b/rust/xxhash/src/lib.rs @@ -1,7 +1,21 @@ -use base64::{engine::general_purpose, Engine as _}; +use base_encode::to_string; use xxhash_rust::xxh3::xxh3_128; +const CHARACTERS_BASE64: &[u8; 64] = + b"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"; + +const CHARACTERS_BASE36: &[u8; 36] = b"abcdefghijklmnopqrstuvwxyz0123456789"; + +const CHARACTERS_BASE16: &[u8; 16] = b"abcdef0123456789"; + pub fn xxhash_base64_url(input: &[u8]) -> String { - let hash = xxh3_128(input).to_le_bytes(); - general_purpose::URL_SAFE_NO_PAD.encode(hash) + to_string(&xxh3_128(input).to_le_bytes(), 64, CHARACTERS_BASE64).unwrap() +} + +pub fn xxhash_base36(input: &[u8]) -> String { + to_string(&xxh3_128(input).to_le_bytes(), 36, CHARACTERS_BASE36).unwrap() +} + +pub fn xxhash_base16(input: &[u8]) -> String { + to_string(&xxh3_128(input).to_le_bytes(), 16, CHARACTERS_BASE16).unwrap() } diff --git a/src/Chunk.ts b/src/Chunk.ts index bb1bc274b..c4e057b02 100644 --- a/src/Chunk.ts +++ b/src/Chunk.ts @@ -37,7 +37,7 @@ import getIndentString from './utils/getIndentString'; import { getNewArray, getOrCreate } from './utils/getOrCreate'; import { getStaticDependencies } from './utils/getStaticDependencies'; import type { HashPlaceholderGenerator } from './utils/hashPlaceholders'; -import { replacePlaceholders } from './utils/hashPlaceholders'; +import { DEFAULT_HASH_SIZE, replacePlaceholders } from './utils/hashPlaceholders'; import { makeLegal } from './utils/identifierHelpers'; import { defaultInteropHelpersByInteropType, @@ -533,7 +533,8 @@ export default class Chunk { { format: () => format, hash: size => - hashPlaceholder || (hashPlaceholder = this.getPlaceholder(patternName, size)), + hashPlaceholder || + (hashPlaceholder = this.getPlaceholder(patternName, size || DEFAULT_HASH_SIZE)), name: () => this.getChunkName() } ); @@ -566,7 +567,8 @@ export default class Chunk { chunkhash: () => this.getPreliminaryFileName().hashPlaceholder || '', format: () => format, hash: size => - hashPlaceholder || (hashPlaceholder = this.getPlaceholder(patternName, size)), + hashPlaceholder || + (hashPlaceholder = this.getPlaceholder(patternName, size || DEFAULT_HASH_SIZE)), name: () => this.getChunkName() } ); diff --git a/src/rollup/types.d.ts b/src/rollup/types.d.ts index b5cb96329..247b28b4b 100644 --- a/src/rollup/types.d.ts +++ b/src/rollup/types.d.ts @@ -683,6 +683,8 @@ type AddonFunction = (chunk: RenderedChunk) => string | Promise; type OutputPluginOption = MaybePromise; +type HashCharacters = 'base64' | 'base36' | 'hex'; + export interface OutputOptions { amd?: AmdOptions; assetFileNames?: string | ((chunkInfo: PreRenderedAsset) => string); @@ -708,6 +710,7 @@ export interface OutputOptions { freeze?: boolean; generatedCode?: GeneratedCodePreset | GeneratedCodeOptions; globals?: GlobalsOption; + hashCharacters?: HashCharacters; hoistTransitiveImports?: boolean; indent?: string | boolean; inlineDynamicImports?: boolean; @@ -758,6 +761,7 @@ export interface NormalizedOutputOptions { freeze: boolean; generatedCode: NormalizedGeneratedCodeOptions; globals: GlobalsOption; + hashCharacters: HashCharacters; hoistTransitiveImports: boolean; indent: true | string; inlineDynamicImports: boolean; diff --git a/src/utils/FileEmitter.ts b/src/utils/FileEmitter.ts index de2921320..caa249b54 100644 --- a/src/utils/FileEmitter.ts +++ b/src/utils/FileEmitter.ts @@ -11,9 +11,10 @@ import type { OutputChunk } from '../rollup/types'; import { BuildPhase } from './buildPhase'; -import { getXxhash } from './crypto'; +import type { GetHash } from './crypto'; +import { getHash64, hasherByType } from './crypto'; import { getOrCreate } from './getOrCreate'; -import { defaultHashSize } from './hashPlaceholders'; +import { DEFAULT_HASH_SIZE } from './hashPlaceholders'; import { LOGLEVEL_WARN } from './logging'; import { error, @@ -50,7 +51,7 @@ function generateAssetFileName( { ext: () => extname(emittedName).slice(1), extname: () => extname(emittedName), - hash: size => sourceHash.slice(0, Math.max(0, size || defaultHashSize)), + hash: size => sourceHash.slice(0, Math.max(0, size || DEFAULT_HASH_SIZE)), name: () => emittedName.slice(0, Math.max(0, emittedName.length - extname(emittedName).length)) } @@ -155,6 +156,7 @@ interface FileEmitterOutput { bundle: OutputBundleWithPlaceholders; fileNamesBySource: Map; outputOptions: NormalizedOutputOptions; + getHash: GetHash; } export class FileEmitter { @@ -254,9 +256,11 @@ export class FileEmitter { bundle: OutputBundleWithPlaceholders, outputOptions: NormalizedOutputOptions ): void => { + const getHash = hasherByType[outputOptions.hashCharacters]; const output = (this.output = { bundle, fileNamesBySource: new Map(), + getHash, outputOptions }); for (const emittedFile of this.filesByReferenceId.values()) { @@ -270,7 +274,7 @@ export class FileEmitter { if (consumedFile.fileName) { this.finalizeAdditionalAsset(consumedFile, consumedFile.source, output); } else { - const sourceHash = getXxhash(consumedFile.source); + const sourceHash = getHash(consumedFile.source); getOrCreate(consumedAssetsByHash, sourceHash, () => []).push(consumedFile); } } else if (consumedFile.type === 'prebuilt-chunk') { @@ -290,7 +294,7 @@ export class FileEmitter { let referenceId = idBase; do { - referenceId = getXxhash(referenceId).slice(0, 8).replaceAll('-', '$'); + referenceId = getHash64(referenceId).slice(0, 8).replaceAll('-', '$'); } while ( this.filesByReferenceId.has(referenceId) || this.outputFileEmitters.some(({ filesByReferenceId }) => filesByReferenceId.has(referenceId)) @@ -439,13 +443,13 @@ export class FileEmitter { private finalizeAdditionalAsset( consumedFile: Readonly, source: string | Uint8Array, - { bundle, fileNamesBySource, outputOptions }: FileEmitterOutput + { bundle, fileNamesBySource, getHash, outputOptions }: FileEmitterOutput ): void { let { fileName, needsCodeReference, referenceId } = consumedFile; // Deduplicate assets if an explicit fileName is not provided if (!fileName) { - const sourceHash = getXxhash(source); + const sourceHash = getHash(source); fileName = fileNamesBySource.get(sourceHash); if (!fileName) { fileName = generateAssetFileName( diff --git a/src/utils/crypto.ts b/src/utils/crypto.ts index 0914b89cd..066d0847c 100644 --- a/src/utils/crypto.ts +++ b/src/utils/crypto.ts @@ -1,17 +1,27 @@ -import { xxhashBase64Url } from '../../native'; +import { xxhashBase16, xxhashBase36, xxhashBase64Url } from '../../native'; +import type { HashCharacters } from '../rollup/types'; let textEncoder: TextEncoder; -export function getXxhash(input: string | Uint8Array) { - let buffer: Uint8Array; + +export type GetHash = (input: string | Uint8Array) => string; + +export const getHash64: GetHash = input => xxhashBase64Url(ensureBuffer(input)); +export const getHash36: GetHash = input => xxhashBase36(ensureBuffer(input)); +export const getHash16: GetHash = input => xxhashBase16(ensureBuffer(input)); + +export const hasherByType: Record = { + base36: getHash36, + base64: getHash64, + hex: getHash16 +}; + +function ensureBuffer(input: string | Uint8Array): Uint8Array { if (typeof input === 'string') { if (typeof Buffer === 'undefined') { textEncoder ??= new TextEncoder(); - buffer = textEncoder.encode(input); - } else { - buffer = Buffer.from(input); + return textEncoder.encode(input); } - } else { - buffer = input; + return Buffer.from(input); } - return xxhashBase64Url(buffer); + return input; } diff --git a/src/utils/hashPlaceholders.ts b/src/utils/hashPlaceholders.ts index 15a2fa946..df83d3af4 100644 --- a/src/utils/hashPlaceholders.ts +++ b/src/utils/hashPlaceholders.ts @@ -8,18 +8,18 @@ const hashPlaceholderRight = '}~'; const hashPlaceholderOverhead = hashPlaceholderLeft.length + hashPlaceholderRight.length; // This is the size of a 128-bits xxhash with base64url encoding -export const maxHashSize = 22; -export const defaultHashSize = 8; +const MAX_HASH_SIZE = 22; +export const DEFAULT_HASH_SIZE = 8; -export type HashPlaceholderGenerator = (optionName: string, hashSize?: number) => string; +export type HashPlaceholderGenerator = (optionName: string, hashSize: number) => string; export const getHashPlaceholderGenerator = (): HashPlaceholderGenerator => { let nextIndex = 0; - return (optionName: string, hashSize: number = defaultHashSize) => { - if (hashSize > maxHashSize) { + return (optionName, hashSize) => { + if (hashSize > MAX_HASH_SIZE) { return error( logFailedValidation( - `Hashes cannot be longer than ${maxHashSize} characters, received ${hashSize}. Check the "${optionName}" option.` + `Hashes cannot be longer than ${MAX_HASH_SIZE} characters, received ${hashSize}. Check the "${optionName}" option.` ) ); } @@ -40,7 +40,7 @@ export const getHashPlaceholderGenerator = (): HashPlaceholderGenerator => { const REPLACER_REGEX = new RegExp( `${hashPlaceholderLeft}[0-9a-zA-Z_$]{1,${ - maxHashSize - hashPlaceholderOverhead + MAX_HASH_SIZE - hashPlaceholderOverhead }}${hashPlaceholderRight}`, 'g' ); diff --git a/src/utils/options/mergeOptions.ts b/src/utils/options/mergeOptions.ts index 48a110f39..a26154be2 100644 --- a/src/utils/options/mergeOptions.ts +++ b/src/utils/options/mergeOptions.ts @@ -252,6 +252,7 @@ async function mergeOutputOptions( ) ), globals: getOption('globals'), + hashCharacters: getOption('hashCharacters'), hoistTransitiveImports: getOption('hoistTransitiveImports'), indent: getOption('indent'), inlineDynamicImports: getOption('inlineDynamicImports'), diff --git a/src/utils/options/normalizeOutputOptions.ts b/src/utils/options/normalizeOutputOptions.ts index 351453906..ed3525574 100644 --- a/src/utils/options/normalizeOutputOptions.ts +++ b/src/utils/options/normalizeOutputOptions.ts @@ -69,6 +69,7 @@ export async function normalizeOutputOptions( freeze: config.freeze ?? true, generatedCode, globals: config.globals || {}, + hashCharacters: config.hashCharacters ?? 'base64', hoistTransitiveImports: config.hoistTransitiveImports ?? true, indent: getIndent(config, compact), inlineDynamicImports, diff --git a/src/utils/renderChunks.ts b/src/utils/renderChunks.ts index 4a24db0b9..83f7b4098 100644 --- a/src/utils/renderChunks.ts +++ b/src/utils/renderChunks.ts @@ -9,7 +9,8 @@ import type { } from '../rollup/types'; import type { PluginDriver } from './PluginDriver'; import { collapseSourcemaps } from './collapseSourcemaps'; -import { getXxhash } from './crypto'; +import type { GetHash } from './crypto'; +import { hasherByType } from './crypto'; import { decodedSourcemap } from './decodedSourcemap'; import { replacePlaceholders, @@ -51,6 +52,7 @@ export async function renderChunks( timeEnd('render chunks', 2); timeStart('transform chunks', 2); + const getHash = hasherByType[outputOptions.hashCharacters]; const chunkGraph = getChunkGraph(chunks); const { initialHashesByPlaceholder, @@ -62,13 +64,15 @@ export async function renderChunks( chunkGraph, outputOptions, pluginDriver, + getHash, log ); const hashesByPlaceholder = generateFinalHashes( renderedChunksByPlaceholder, hashDependenciesByPlaceholder, initialHashesByPlaceholder, - bundle + bundle, + getHash ); addChunksToBundle( renderedChunksByPlaceholder, @@ -198,6 +202,7 @@ async function transformChunksAndGenerateContentHashes( chunkGraph: Record, outputOptions: NormalizedOutputOptions, pluginDriver: PluginDriver, + getHash: GetHash, log: LogHandler ) { const nonHashedChunksWithPlaceholders: RenderedChunkWithPlaceholders[] = []; @@ -258,7 +263,7 @@ async function transformChunksAndGenerateContentHashes( renderedChunksByPlaceholder.set(hashPlaceholder, transformedChunk); hashDependenciesByPlaceholder.set(hashPlaceholder, { containedPlaceholders, - contentHash: getXxhash(contentToHash) + contentHash: getHash(contentToHash) }); } else { nonHashedChunksWithPlaceholders.push(transformedChunk); @@ -268,7 +273,7 @@ async function transformChunksAndGenerateContentHashes( if (map && sourcemapHashPlaceholder) { initialHashesByPlaceholder.set( preliminarySourcemapFileName.hashPlaceholder, - getXxhash(map.toString()).slice(0, preliminarySourcemapFileName.hashPlaceholder.length) + getHash(map.toString()).slice(0, preliminarySourcemapFileName.hashPlaceholder.length) ); } } @@ -286,7 +291,8 @@ function generateFinalHashes( renderedChunksByPlaceholder: Map, hashDependenciesByPlaceholder: Map, initialHashesByPlaceholder: Map, - bundle: OutputBundleWithPlaceholders + bundle: OutputBundleWithPlaceholders, + getHash: GetHash ) { const hashesByPlaceholder = new Map(initialHashesByPlaceholder); for (const [placeholder, { fileName }] of renderedChunksByPlaceholder) { @@ -308,7 +314,7 @@ function generateFinalHashes( if (finalHash) { contentToHash = finalHash; } - finalHash = getXxhash(contentToHash).slice(0, placeholder.length); + finalHash = getHash(contentToHash).slice(0, placeholder.length); finalFileName = replaceSinglePlaceholder(fileName, placeholder, finalHash); } while (bundle[lowercaseBundleKeys].has(finalFileName.toLowerCase())); bundle[finalFileName] = FILE_PLACEHOLDER; diff --git a/test/browser/samples/supports-hashes/_config.js b/test/browser/samples/supports-hashes/_config.js index c90c50c9b..e95157629 100644 --- a/test/browser/samples/supports-hashes/_config.js +++ b/test/browser/samples/supports-hashes/_config.js @@ -1,7 +1,7 @@ const { loader } = require('../../../utils.js'); module.exports = defineTest({ - description: 'bundles files for the browser', + description: 'supports hashes in the browser build', options: { input: ['main', 'dep'], plugins: loader({ diff --git a/test/browser/samples/supports-hashes/_expected/dep-KkHNeB29.js b/test/browser/samples/supports-hashes/_expected/dep-Cd4Qi2HK.js similarity index 100% rename from test/browser/samples/supports-hashes/_expected/dep-KkHNeB29.js rename to test/browser/samples/supports-hashes/_expected/dep-Cd4Qi2HK.js diff --git a/test/browser/samples/supports-hashes/_expected/main-DCJ0aYjk.js b/test/browser/samples/supports-hashes/_expected/main-DCJ0aYjk.js new file mode 100644 index 000000000..5514e33c8 --- /dev/null +++ b/test/browser/samples/supports-hashes/_expected/main-DCJ0aYjk.js @@ -0,0 +1,3 @@ +import { foo } from './dep-Cd4Qi2HK.js'; + +console.log(foo); diff --git a/test/browser/samples/supports-hashes/_expected/main-pNv0QjL6.js b/test/browser/samples/supports-hashes/_expected/main-pNv0QjL6.js deleted file mode 100644 index 592340bf1..000000000 --- a/test/browser/samples/supports-hashes/_expected/main-pNv0QjL6.js +++ /dev/null @@ -1,3 +0,0 @@ -import { foo } from './dep-KkHNeB29.js'; - -console.log(foo); diff --git a/test/chunking-form/samples/emit-file/asset-file-names/_expected/amd/txt/x7YVzHWH-test.txt b/test/chunking-form/samples/emit-file/asset-file-names/_expected/amd/txt/DHthXMdY-test.txt similarity index 100% rename from test/chunking-form/samples/emit-file/asset-file-names/_expected/amd/txt/x7YVzHWH-test.txt rename to test/chunking-form/samples/emit-file/asset-file-names/_expected/amd/txt/DHthXMdY-test.txt diff --git a/test/chunking-form/samples/emit-file/asset-file-names/_expected/cjs/txt/x7YVzHWH-test.txt b/test/chunking-form/samples/emit-file/asset-file-names/_expected/cjs/txt/DHthXMdY-test.txt similarity index 100% rename from test/chunking-form/samples/emit-file/asset-file-names/_expected/cjs/txt/x7YVzHWH-test.txt rename to test/chunking-form/samples/emit-file/asset-file-names/_expected/cjs/txt/DHthXMdY-test.txt diff --git a/test/chunking-form/samples/emit-file/asset-file-names/_expected/es/txt/x7YVzHWH-test.txt b/test/chunking-form/samples/emit-file/asset-file-names/_expected/es/txt/DHthXMdY-test.txt similarity index 100% rename from test/chunking-form/samples/emit-file/asset-file-names/_expected/es/txt/x7YVzHWH-test.txt rename to test/chunking-form/samples/emit-file/asset-file-names/_expected/es/txt/DHthXMdY-test.txt diff --git a/test/chunking-form/samples/emit-file/asset-file-names/_expected/system/txt/x7YVzHWH-test.txt b/test/chunking-form/samples/emit-file/asset-file-names/_expected/system/txt/DHthXMdY-test.txt similarity index 100% rename from test/chunking-form/samples/emit-file/asset-file-names/_expected/system/txt/x7YVzHWH-test.txt rename to test/chunking-form/samples/emit-file/asset-file-names/_expected/system/txt/DHthXMdY-test.txt diff --git a/test/chunking-form/samples/emit-file/deduplicate-assets/_config.js b/test/chunking-form/samples/emit-file/deduplicate-assets/_config.js index 82d5f081f..98e2c0c0d 100644 --- a/test/chunking-form/samples/emit-file/deduplicate-assets/_config.js +++ b/test/chunking-form/samples/emit-file/deduplicate-assets/_config.js @@ -69,37 +69,37 @@ module.exports = defineTest({ return null; }, generateBundle() { - assert.strictEqual(this.getFileName(string1Id), 'assets/string1-PAAt4eb8.txt', 'string1'); - assert.strictEqual(this.getFileName(string2Id), 'assets/string1-PAAt4eb8.txt', 'string2'); + assert.strictEqual(this.getFileName(string1Id), 'assets/string1-8AC3h5vx.txt', 'string1'); + assert.strictEqual(this.getFileName(string2Id), 'assets/string1-8AC3h5vx.txt', 'string2'); assert.strictEqual( this.getFileName(stringSameSourceId), - 'assets/string1-PAAt4eb8.txt', + 'assets/string1-8AC3h5vx.txt', 'stringSameSource' ); assert.strictEqual( this.getFileName(sameStringAsBufferId), - 'assets/string1-PAAt4eb8.txt', + 'assets/string1-8AC3h5vx.txt', 'sameStringAsBuffer' ); assert.strictEqual( this.getFileName(otherStringId), - 'assets/otherString-PiT4klzx.txt', + 'assets/otherString--JPiSXPF.txt', 'otherString' ); - assert.strictEqual(this.getFileName(bufferId), 'assets/buffer-fV9J_shM.txt', 'buffer'); + assert.strictEqual(this.getFileName(bufferId), 'assets/buffer-B9X0n-yE.txt', 'buffer'); assert.strictEqual( this.getFileName(bufferSameSourceId), - 'assets/buffer-fV9J_shM.txt', + 'assets/buffer-B9X0n-yE.txt', 'bufferSameSource' ); assert.strictEqual( this.getFileName(sameBufferAsStringId), - 'assets/buffer-fV9J_shM.txt', + 'assets/buffer-B9X0n-yE.txt', 'sameBufferAsString' ); assert.strictEqual( this.getFileName(otherBufferId), - 'assets/otherBuffer-Oh78Hjdg.txt', + 'assets/otherBuffer-6HvweN2A.txt', 'otherBuffer' ); } diff --git a/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/buffer-fV9J_shM.txt b/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/buffer-B9X0n-yE.txt similarity index 100% rename from test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/buffer-fV9J_shM.txt rename to test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/buffer-B9X0n-yE.txt diff --git a/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/otherBuffer-Oh78Hjdg.txt b/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/otherBuffer-6HvweN2A.txt similarity index 100% rename from test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/otherBuffer-Oh78Hjdg.txt rename to test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/otherBuffer-6HvweN2A.txt diff --git a/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/otherString-PiT4klzx.txt b/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/otherString--JPiSXPF.txt similarity index 100% rename from test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/otherString-PiT4klzx.txt rename to test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/otherString--JPiSXPF.txt diff --git a/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/string1-PAAt4eb8.txt b/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/string1-8AC3h5vx.txt similarity index 100% rename from test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/string1-PAAt4eb8.txt rename to test/chunking-form/samples/emit-file/deduplicate-assets/_expected/amd/assets/string1-8AC3h5vx.txt diff --git a/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/buffer-fV9J_shM.txt b/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/buffer-B9X0n-yE.txt similarity index 100% rename from test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/buffer-fV9J_shM.txt rename to test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/buffer-B9X0n-yE.txt diff --git a/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/otherBuffer-Oh78Hjdg.txt b/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/otherBuffer-6HvweN2A.txt similarity index 100% rename from test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/otherBuffer-Oh78Hjdg.txt rename to test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/otherBuffer-6HvweN2A.txt diff --git a/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/otherString-PiT4klzx.txt b/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/otherString--JPiSXPF.txt similarity index 100% rename from test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/otherString-PiT4klzx.txt rename to test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/otherString--JPiSXPF.txt diff --git a/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/string1-PAAt4eb8.txt b/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/string1-8AC3h5vx.txt similarity index 100% rename from test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/string1-PAAt4eb8.txt rename to test/chunking-form/samples/emit-file/deduplicate-assets/_expected/cjs/assets/string1-8AC3h5vx.txt diff --git a/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/buffer-fV9J_shM.txt b/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/buffer-B9X0n-yE.txt similarity index 100% rename from test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/buffer-fV9J_shM.txt rename to test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/buffer-B9X0n-yE.txt diff --git a/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/otherBuffer-Oh78Hjdg.txt b/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/otherBuffer-6HvweN2A.txt similarity index 100% rename from test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/otherBuffer-Oh78Hjdg.txt rename to test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/otherBuffer-6HvweN2A.txt diff --git a/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/otherString-PiT4klzx.txt b/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/otherString--JPiSXPF.txt similarity index 100% rename from test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/otherString-PiT4klzx.txt rename to test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/otherString--JPiSXPF.txt diff --git a/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/string1-PAAt4eb8.txt b/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/string1-8AC3h5vx.txt similarity index 100% rename from test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/string1-PAAt4eb8.txt rename to test/chunking-form/samples/emit-file/deduplicate-assets/_expected/es/assets/string1-8AC3h5vx.txt diff --git a/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/buffer-fV9J_shM.txt b/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/buffer-B9X0n-yE.txt similarity index 100% rename from test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/buffer-fV9J_shM.txt rename to test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/buffer-B9X0n-yE.txt diff --git a/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/otherBuffer-Oh78Hjdg.txt b/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/otherBuffer-6HvweN2A.txt similarity index 100% rename from test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/otherBuffer-Oh78Hjdg.txt rename to test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/otherBuffer-6HvweN2A.txt diff --git a/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/otherString-PiT4klzx.txt b/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/otherString--JPiSXPF.txt similarity index 100% rename from test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/otherString-PiT4klzx.txt rename to test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/otherString--JPiSXPF.txt diff --git a/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/string1-PAAt4eb8.txt b/test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/string1-8AC3h5vx.txt similarity index 100% rename from test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/string1-PAAt4eb8.txt rename to test/chunking-form/samples/emit-file/deduplicate-assets/_expected/system/assets/string1-8AC3h5vx.txt diff --git a/test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/amd/assets/asset-x7YVzHWH b/test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/amd/assets/asset-DHthXMdY similarity index 100% rename from test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/amd/assets/asset-x7YVzHWH rename to test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/amd/assets/asset-DHthXMdY diff --git a/test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/cjs/assets/asset-x7YVzHWH b/test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/cjs/assets/asset-DHthXMdY similarity index 100% rename from test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/cjs/assets/asset-x7YVzHWH rename to test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/cjs/assets/asset-DHthXMdY diff --git a/test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/es/assets/asset-x7YVzHWH b/test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/es/assets/asset-DHthXMdY similarity index 100% rename from test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/es/assets/asset-x7YVzHWH rename to test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/es/assets/asset-DHthXMdY diff --git a/test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/system/assets/asset-x7YVzHWH b/test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/system/assets/asset-DHthXMdY similarity index 100% rename from test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/system/assets/asset-x7YVzHWH rename to test/chunking-form/samples/emit-file/emit-asset-without-name/_expected/system/assets/asset-DHthXMdY diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/banner-Pqjybijy.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/banner--qPJuKPL.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/banner-Pqjybijy.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/banner--qPJuKPL.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/buildEnd-bjZfkWaR.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/buildEnd-BuNl-RZp.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/buildEnd-bjZfkWaR.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/buildEnd-BuNl-RZp.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/buildStart-jUsAaHhv.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/buildStart-CNSwBoeG.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/buildStart-jUsAaHhv.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/buildStart-CNSwBoeG.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/footer-lepGH7ft.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/footer-CV6kYft-.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/footer-lepGH7ft.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/footer-CV6kYft-.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/generateBundle-YC5K5IqI.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/generateBundle-BgLkrkio.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/generateBundle-YC5K5IqI.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/generateBundle-BgLkrkio.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/intro-NT6UL-Ie.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/intro-1PpQv4h6.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/intro-NT6UL-Ie.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/intro-1PpQv4h6.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/load-f5EgoTqv.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/load-B_kSChOq.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/load-f5EgoTqv.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/load-B_kSChOq.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/outro-_McFrfAR.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/outro-D8xwWt8B.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/outro-_McFrfAR.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/outro-D8xwWt8B.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/renderChunk-DMYyTWqj.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/renderChunk-MxjJNaqP.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/renderChunk-DMYyTWqj.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/renderChunk-MxjJNaqP.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/renderStart-eFzm3QZM.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/renderStart-B4XObdBk.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/renderStart-eFzm3QZM.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/renderStart-B4XObdBk.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/resolveId-go8NkbCx.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/resolveId-CCjw2RsL.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/resolveId-go8NkbCx.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/resolveId-CCjw2RsL.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/transform-PQ2olIjk.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/transform-9DaiUiOT.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/transform-PQ2olIjk.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/amd/assets/transform-9DaiUiOT.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/banner-Pqjybijy.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/banner--qPJuKPL.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/banner-Pqjybijy.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/banner--qPJuKPL.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/buildEnd-bjZfkWaR.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/buildEnd-BuNl-RZp.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/buildEnd-bjZfkWaR.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/buildEnd-BuNl-RZp.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/buildStart-jUsAaHhv.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/buildStart-CNSwBoeG.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/buildStart-jUsAaHhv.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/buildStart-CNSwBoeG.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/footer-lepGH7ft.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/footer-CV6kYft-.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/footer-lepGH7ft.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/footer-CV6kYft-.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/generateBundle-YC5K5IqI.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/generateBundle-BgLkrkio.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/generateBundle-YC5K5IqI.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/generateBundle-BgLkrkio.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/intro-NT6UL-Ie.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/intro-1PpQv4h6.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/intro-NT6UL-Ie.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/intro-1PpQv4h6.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/load-f5EgoTqv.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/load-B_kSChOq.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/load-f5EgoTqv.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/load-B_kSChOq.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/outro-_McFrfAR.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/outro-D8xwWt8B.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/outro-_McFrfAR.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/outro-D8xwWt8B.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/renderChunk-DMYyTWqj.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/renderChunk-MxjJNaqP.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/renderChunk-DMYyTWqj.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/renderChunk-MxjJNaqP.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/renderStart-eFzm3QZM.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/renderStart-B4XObdBk.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/renderStart-eFzm3QZM.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/renderStart-B4XObdBk.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/resolveId-go8NkbCx.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/resolveId-CCjw2RsL.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/resolveId-go8NkbCx.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/resolveId-CCjw2RsL.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/transform-PQ2olIjk.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/transform-9DaiUiOT.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/transform-PQ2olIjk.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/cjs/assets/transform-9DaiUiOT.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/banner-Pqjybijy.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/banner--qPJuKPL.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/banner-Pqjybijy.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/banner--qPJuKPL.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/buildEnd-bjZfkWaR.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/buildEnd-BuNl-RZp.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/buildEnd-bjZfkWaR.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/buildEnd-BuNl-RZp.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/buildStart-jUsAaHhv.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/buildStart-CNSwBoeG.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/buildStart-jUsAaHhv.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/buildStart-CNSwBoeG.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/footer-lepGH7ft.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/footer-CV6kYft-.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/footer-lepGH7ft.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/footer-CV6kYft-.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/generateBundle-YC5K5IqI.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/generateBundle-BgLkrkio.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/generateBundle-YC5K5IqI.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/generateBundle-BgLkrkio.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/intro-NT6UL-Ie.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/intro-1PpQv4h6.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/intro-NT6UL-Ie.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/intro-1PpQv4h6.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/load-f5EgoTqv.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/load-B_kSChOq.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/load-f5EgoTqv.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/load-B_kSChOq.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/outro-_McFrfAR.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/outro-D8xwWt8B.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/outro-_McFrfAR.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/outro-D8xwWt8B.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/renderChunk-DMYyTWqj.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/renderChunk-MxjJNaqP.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/renderChunk-DMYyTWqj.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/renderChunk-MxjJNaqP.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/renderStart-eFzm3QZM.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/renderStart-B4XObdBk.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/renderStart-eFzm3QZM.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/renderStart-B4XObdBk.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/resolveId-go8NkbCx.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/resolveId-CCjw2RsL.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/resolveId-go8NkbCx.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/resolveId-CCjw2RsL.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/transform-PQ2olIjk.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/transform-9DaiUiOT.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/transform-PQ2olIjk.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/es/assets/transform-9DaiUiOT.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/banner-Pqjybijy.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/banner--qPJuKPL.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/banner-Pqjybijy.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/banner--qPJuKPL.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/buildEnd-bjZfkWaR.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/buildEnd-BuNl-RZp.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/buildEnd-bjZfkWaR.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/buildEnd-BuNl-RZp.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/buildStart-jUsAaHhv.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/buildStart-CNSwBoeG.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/buildStart-jUsAaHhv.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/buildStart-CNSwBoeG.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/footer-lepGH7ft.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/footer-CV6kYft-.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/footer-lepGH7ft.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/footer-CV6kYft-.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/generateBundle-YC5K5IqI.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/generateBundle-BgLkrkio.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/generateBundle-YC5K5IqI.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/generateBundle-BgLkrkio.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/intro-NT6UL-Ie.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/intro-1PpQv4h6.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/intro-NT6UL-Ie.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/intro-1PpQv4h6.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/load-f5EgoTqv.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/load-B_kSChOq.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/load-f5EgoTqv.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/load-B_kSChOq.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/outro-_McFrfAR.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/outro-D8xwWt8B.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/outro-_McFrfAR.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/outro-D8xwWt8B.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/renderChunk-DMYyTWqj.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/renderChunk-MxjJNaqP.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/renderChunk-DMYyTWqj.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/renderChunk-MxjJNaqP.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/renderStart-eFzm3QZM.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/renderStart-B4XObdBk.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/renderStart-eFzm3QZM.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/renderStart-B4XObdBk.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/resolveId-go8NkbCx.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/resolveId-CCjw2RsL.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/resolveId-go8NkbCx.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/resolveId-CCjw2RsL.txt diff --git a/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/transform-PQ2olIjk.txt b/test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/transform-9DaiUiOT.txt similarity index 100% rename from test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/transform-PQ2olIjk.txt rename to test/chunking-form/samples/emit-file/emits-files-from-various-hooks/_expected/system/assets/transform-9DaiUiOT.txt diff --git a/test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/amd/assets/test-x7YVzHWH.txt b/test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/amd/assets/test-DHthXMdY.txt similarity index 100% rename from test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/amd/assets/test-x7YVzHWH.txt rename to test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/amd/assets/test-DHthXMdY.txt diff --git a/test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/cjs/assets/test-x7YVzHWH.txt b/test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/cjs/assets/test-DHthXMdY.txt similarity index 100% rename from test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/cjs/assets/test-x7YVzHWH.txt rename to test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/cjs/assets/test-DHthXMdY.txt diff --git a/test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/es/assets/test-x7YVzHWH.txt b/test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/es/assets/test-DHthXMdY.txt similarity index 100% rename from test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/es/assets/test-x7YVzHWH.txt rename to test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/es/assets/test-DHthXMdY.txt diff --git a/test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/system/assets/test-x7YVzHWH.txt b/test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/system/assets/test-DHthXMdY.txt similarity index 100% rename from test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/system/assets/test-x7YVzHWH.txt rename to test/chunking-form/samples/emit-file/filenames-function-patterns-preserve-modules/_expected/system/assets/test-DHthXMdY.txt diff --git a/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/amd/chunk-deb-9YxNr2n5-amd.js b/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/amd/chunk-deb--Bz6x-oi-amd.js similarity index 100% rename from test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/amd/chunk-deb-9YxNr2n5-amd.js rename to test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/amd/chunk-deb--Bz6x-oi-amd.js diff --git a/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/amd/entry-main-2WHbe7ly-amd.js b/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/amd/entry-main-DJVXpS51-amd.js similarity index 72% rename from test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/amd/entry-main-2WHbe7ly-amd.js rename to test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/amd/entry-main-DJVXpS51-amd.js index a8e20401a..0b5f0ae00 100644 --- a/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/amd/entry-main-2WHbe7ly-amd.js +++ b/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/amd/entry-main-DJVXpS51-amd.js @@ -1,6 +1,6 @@ define(['require'], (function (require) { 'use strict'; console.log('main'); - new Promise(function (resolve, reject) { require(['./chunk-deb-9YxNr2n5-amd'], resolve, reject); }).then(console.log); + new Promise(function (resolve, reject) { require(['./chunk-deb--Bz6x-oi-amd'], resolve, reject); }).then(console.log); })); diff --git a/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/amd/txt/x7YVzHWH-test.txt b/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/amd/txt/DHthXMdY-test.txt similarity index 100% rename from test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/amd/txt/x7YVzHWH-test.txt rename to test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/amd/txt/DHthXMdY-test.txt diff --git a/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/cjs/chunk-deb-KO3me1q0-cjs.js b/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/cjs/chunk-deb-9LJjyiap-cjs.js similarity index 100% rename from test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/cjs/chunk-deb-KO3me1q0-cjs.js rename to test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/cjs/chunk-deb-9LJjyiap-cjs.js diff --git a/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/cjs/entry-main-GKdCatel-cjs.js b/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/cjs/entry-main-DFh1DOOW-cjs.js similarity index 70% rename from test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/cjs/entry-main-GKdCatel-cjs.js rename to test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/cjs/entry-main-DFh1DOOW-cjs.js index 8bf670103..90ccd092b 100644 --- a/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/cjs/entry-main-GKdCatel-cjs.js +++ b/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/cjs/entry-main-DFh1DOOW-cjs.js @@ -1,4 +1,4 @@ 'use strict'; console.log('main'); -Promise.resolve().then(function () { return require('./chunk-deb-KO3me1q0-cjs.js'); }).then(console.log); +Promise.resolve().then(function () { return require('./chunk-deb-9LJjyiap-cjs.js'); }).then(console.log); diff --git a/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/cjs/txt/x7YVzHWH-test.txt b/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/cjs/txt/DHthXMdY-test.txt similarity index 100% rename from test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/cjs/txt/x7YVzHWH-test.txt rename to test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/cjs/txt/DHthXMdY-test.txt diff --git a/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/chunk-deb-3ItlXRQy-es.js b/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/chunk-deb-H_8j5Qun-es.js similarity index 100% rename from test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/chunk-deb-3ItlXRQy-es.js rename to test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/chunk-deb-H_8j5Qun-es.js diff --git a/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/entry-main-BeWMkjX8-es.js b/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/entry-main-BeWMkjX8-es.js new file mode 100644 index 000000000..379e421b5 --- /dev/null +++ b/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/entry-main-BeWMkjX8-es.js @@ -0,0 +1,2 @@ +console.log('main'); +import('./chunk-deb-H_8j5Qun-es.js').then(console.log); diff --git a/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/entry-main-mA3J9obY-es.js b/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/entry-main-mA3J9obY-es.js deleted file mode 100644 index 322a26f98..000000000 --- a/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/entry-main-mA3J9obY-es.js +++ /dev/null @@ -1,2 +0,0 @@ -console.log('main'); -import('./chunk-deb-3ItlXRQy-es.js').then(console.log); diff --git a/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/txt/x7YVzHWH-test.txt b/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/txt/DHthXMdY-test.txt similarity index 100% rename from test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/txt/x7YVzHWH-test.txt rename to test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/es/txt/DHthXMdY-test.txt diff --git a/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/system/chunk-deb-JcRQJ4ri-system.js b/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/system/chunk-deb-PNqONwrZ-system.js similarity index 100% rename from test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/system/chunk-deb-JcRQJ4ri-system.js rename to test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/system/chunk-deb-PNqONwrZ-system.js diff --git a/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/system/entry-main-robtIr_x-system.js b/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/system/entry-main-IHNOrI04-system.js similarity index 69% rename from test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/system/entry-main-robtIr_x-system.js rename to test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/system/entry-main-IHNOrI04-system.js index c75587f2b..9c91c2d22 100644 --- a/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/system/entry-main-robtIr_x-system.js +++ b/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/system/entry-main-IHNOrI04-system.js @@ -4,7 +4,7 @@ System.register([], (function (exports, module) { execute: (function () { console.log('main'); - module.import('./chunk-deb-JcRQJ4ri-system.js').then(console.log); + module.import('./chunk-deb-PNqONwrZ-system.js').then(console.log); }) }; diff --git a/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/system/txt/x7YVzHWH-test.txt b/test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/system/txt/DHthXMdY-test.txt similarity index 100% rename from test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/system/txt/x7YVzHWH-test.txt rename to test/chunking-form/samples/emit-file/filenames-function-patterns/_expected/system/txt/DHthXMdY-test.txt diff --git a/test/chunking-form/samples/emit-file/reference-files/_expected/amd/assets/logo1-BarkEXVd.svg b/test/chunking-form/samples/emit-file/reference-files/_expected/amd/assets/logo1-FquQRdV3.svg similarity index 100% rename from test/chunking-form/samples/emit-file/reference-files/_expected/amd/assets/logo1-BarkEXVd.svg rename to test/chunking-form/samples/emit-file/reference-files/_expected/amd/assets/logo1-FquQRdV3.svg diff --git a/test/chunking-form/samples/emit-file/reference-files/_expected/amd/assets/logo2-yX706C0w.svg b/test/chunking-form/samples/emit-file/reference-files/_expected/amd/assets/logo2-DJfvToLT.svg similarity index 100% rename from test/chunking-form/samples/emit-file/reference-files/_expected/amd/assets/logo2-yX706C0w.svg rename to test/chunking-form/samples/emit-file/reference-files/_expected/amd/assets/logo2-DJfvToLT.svg diff --git a/test/chunking-form/samples/emit-file/reference-files/_expected/amd/main.js b/test/chunking-form/samples/emit-file/reference-files/_expected/amd/main.js index 8a142438d..7b2b18dc1 100644 --- a/test/chunking-form/samples/emit-file/reference-files/_expected/amd/main.js +++ b/test/chunking-form/samples/emit-file/reference-files/_expected/amd/main.js @@ -1,6 +1,6 @@ define(['require', 'exports'], (function (require, exports) { 'use strict'; - var logo = new URL(require.toUrl('./assets/logo1-BarkEXVd.svg'), document.baseURI).href; + var logo = new URL(require.toUrl('./assets/logo1-FquQRdV3.svg'), document.baseURI).href; function showImage(url) { console.log(url); diff --git a/test/chunking-form/samples/emit-file/reference-files/_expected/amd/nested/chunk.js b/test/chunking-form/samples/emit-file/reference-files/_expected/amd/nested/chunk.js index c03689df1..a6fe9f327 100644 --- a/test/chunking-form/samples/emit-file/reference-files/_expected/amd/nested/chunk.js +++ b/test/chunking-form/samples/emit-file/reference-files/_expected/amd/nested/chunk.js @@ -1,6 +1,6 @@ define(['require', '../main'], (function (require, main) { 'use strict'; - var logo = new URL(require.toUrl('../assets/logo2-yX706C0w.svg'), document.baseURI).href; + var logo = new URL(require.toUrl('../assets/logo2-DJfvToLT.svg'), document.baseURI).href; main.showImage(logo); diff --git a/test/chunking-form/samples/emit-file/reference-files/_expected/cjs/assets/logo1-BarkEXVd.svg b/test/chunking-form/samples/emit-file/reference-files/_expected/cjs/assets/logo1-FquQRdV3.svg similarity index 100% rename from test/chunking-form/samples/emit-file/reference-files/_expected/cjs/assets/logo1-BarkEXVd.svg rename to test/chunking-form/samples/emit-file/reference-files/_expected/cjs/assets/logo1-FquQRdV3.svg diff --git a/test/chunking-form/samples/emit-file/reference-files/_expected/cjs/assets/logo2-yX706C0w.svg b/test/chunking-form/samples/emit-file/reference-files/_expected/cjs/assets/logo2-DJfvToLT.svg similarity index 100% rename from test/chunking-form/samples/emit-file/reference-files/_expected/cjs/assets/logo2-yX706C0w.svg rename to test/chunking-form/samples/emit-file/reference-files/_expected/cjs/assets/logo2-DJfvToLT.svg diff --git a/test/chunking-form/samples/emit-file/reference-files/_expected/cjs/main.js b/test/chunking-form/samples/emit-file/reference-files/_expected/cjs/main.js index 6b7d5ab73..f1a529465 100644 --- a/test/chunking-form/samples/emit-file/reference-files/_expected/cjs/main.js +++ b/test/chunking-form/samples/emit-file/reference-files/_expected/cjs/main.js @@ -1,6 +1,6 @@ 'use strict'; -var logo = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/logo1-BarkEXVd.svg').href : new URL('assets/logo1-BarkEXVd.svg', document.currentScript && document.currentScript.src || document.baseURI).href); +var logo = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/logo1-FquQRdV3.svg').href : new URL('assets/logo1-FquQRdV3.svg', document.currentScript && document.currentScript.src || document.baseURI).href); function showImage(url) { console.log(url); diff --git a/test/chunking-form/samples/emit-file/reference-files/_expected/cjs/nested/chunk.js b/test/chunking-form/samples/emit-file/reference-files/_expected/cjs/nested/chunk.js index 131505138..809cbce1d 100644 --- a/test/chunking-form/samples/emit-file/reference-files/_expected/cjs/nested/chunk.js +++ b/test/chunking-form/samples/emit-file/reference-files/_expected/cjs/nested/chunk.js @@ -2,6 +2,6 @@ var main = require('../main.js'); -var logo = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/../assets/logo2-yX706C0w.svg').href : new URL('../assets/logo2-yX706C0w.svg', document.currentScript && document.currentScript.src || document.baseURI).href); +var logo = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/../assets/logo2-DJfvToLT.svg').href : new URL('../assets/logo2-DJfvToLT.svg', document.currentScript && document.currentScript.src || document.baseURI).href); main.showImage(logo); diff --git a/test/chunking-form/samples/emit-file/reference-files/_expected/es/assets/logo1-BarkEXVd.svg b/test/chunking-form/samples/emit-file/reference-files/_expected/es/assets/logo1-FquQRdV3.svg similarity index 100% rename from test/chunking-form/samples/emit-file/reference-files/_expected/es/assets/logo1-BarkEXVd.svg rename to test/chunking-form/samples/emit-file/reference-files/_expected/es/assets/logo1-FquQRdV3.svg diff --git a/test/chunking-form/samples/emit-file/reference-files/_expected/es/assets/logo2-yX706C0w.svg b/test/chunking-form/samples/emit-file/reference-files/_expected/es/assets/logo2-DJfvToLT.svg similarity index 100% rename from test/chunking-form/samples/emit-file/reference-files/_expected/es/assets/logo2-yX706C0w.svg rename to test/chunking-form/samples/emit-file/reference-files/_expected/es/assets/logo2-DJfvToLT.svg diff --git a/test/chunking-form/samples/emit-file/reference-files/_expected/es/main.js b/test/chunking-form/samples/emit-file/reference-files/_expected/es/main.js index d7ef2486e..dad04758a 100644 --- a/test/chunking-form/samples/emit-file/reference-files/_expected/es/main.js +++ b/test/chunking-form/samples/emit-file/reference-files/_expected/es/main.js @@ -1,4 +1,4 @@ -var logo = new URL('assets/logo1-BarkEXVd.svg', import.meta.url).href; +var logo = new URL('assets/logo1-FquQRdV3.svg', import.meta.url).href; function showImage(url) { console.log(url); diff --git a/test/chunking-form/samples/emit-file/reference-files/_expected/es/nested/chunk.js b/test/chunking-form/samples/emit-file/reference-files/_expected/es/nested/chunk.js index d87f90bd0..c6952accf 100644 --- a/test/chunking-form/samples/emit-file/reference-files/_expected/es/nested/chunk.js +++ b/test/chunking-form/samples/emit-file/reference-files/_expected/es/nested/chunk.js @@ -1,5 +1,5 @@ import { s as showImage } from '../main.js'; -var logo = new URL('../assets/logo2-yX706C0w.svg', import.meta.url).href; +var logo = new URL('../assets/logo2-DJfvToLT.svg', import.meta.url).href; showImage(logo); diff --git a/test/chunking-form/samples/emit-file/reference-files/_expected/system/assets/logo1-BarkEXVd.svg b/test/chunking-form/samples/emit-file/reference-files/_expected/system/assets/logo1-FquQRdV3.svg similarity index 100% rename from test/chunking-form/samples/emit-file/reference-files/_expected/system/assets/logo1-BarkEXVd.svg rename to test/chunking-form/samples/emit-file/reference-files/_expected/system/assets/logo1-FquQRdV3.svg diff --git a/test/chunking-form/samples/emit-file/reference-files/_expected/system/assets/logo2-yX706C0w.svg b/test/chunking-form/samples/emit-file/reference-files/_expected/system/assets/logo2-DJfvToLT.svg similarity index 100% rename from test/chunking-form/samples/emit-file/reference-files/_expected/system/assets/logo2-yX706C0w.svg rename to test/chunking-form/samples/emit-file/reference-files/_expected/system/assets/logo2-DJfvToLT.svg diff --git a/test/chunking-form/samples/emit-file/reference-files/_expected/system/main.js b/test/chunking-form/samples/emit-file/reference-files/_expected/system/main.js index d90308bc2..ee8aedd7c 100644 --- a/test/chunking-form/samples/emit-file/reference-files/_expected/system/main.js +++ b/test/chunking-form/samples/emit-file/reference-files/_expected/system/main.js @@ -5,7 +5,7 @@ System.register([], (function (exports, module) { exports("s", showImage); - var logo = new URL('assets/logo1-BarkEXVd.svg', module.meta.url).href; + var logo = new URL('assets/logo1-FquQRdV3.svg', module.meta.url).href; function showImage(url) { console.log(url); diff --git a/test/chunking-form/samples/emit-file/reference-files/_expected/system/nested/chunk.js b/test/chunking-form/samples/emit-file/reference-files/_expected/system/nested/chunk.js index 69612a70f..8a5cd4e56 100644 --- a/test/chunking-form/samples/emit-file/reference-files/_expected/system/nested/chunk.js +++ b/test/chunking-form/samples/emit-file/reference-files/_expected/system/nested/chunk.js @@ -7,7 +7,7 @@ System.register(['../main.js'], (function (exports, module) { }], execute: (function () { - var logo = new URL('../assets/logo2-yX706C0w.svg', module.meta.url).href; + var logo = new URL('../assets/logo2-DJfvToLT.svg', module.meta.url).href; showImage(logo); diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/banner-Pqjybijy.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/banner--qPJuKPL.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/banner-Pqjybijy.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/banner--qPJuKPL.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/footer-lepGH7ft.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/footer-CV6kYft-.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/footer-lepGH7ft.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/footer-CV6kYft-.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/generateBundle-BBHXGh_d.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/generateBundle-BBHXGh_d.txt new file mode 100644 index 000000000..cfc6ec095 --- /dev/null +++ b/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/generateBundle-BBHXGh_d.txt @@ -0,0 +1 @@ +generateBundle amd with assets/generateBundle-format-DmNW-T7b.txt \ No newline at end of file diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/generateBundle-KcqLI9cb.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/generateBundle-KcqLI9cb.txt deleted file mode 100644 index b578c3775..000000000 --- a/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/generateBundle-KcqLI9cb.txt +++ /dev/null @@ -1 +0,0 @@ -generateBundle amd with assets/generateBundle-format-5jVvk-26.txt \ No newline at end of file diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/generateBundle-format-5jVvk-26.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/generateBundle-format-DmNW-T7b.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/generateBundle-format-5jVvk-26.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/generateBundle-format-DmNW-T7b.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/intro-NT6UL-Ie.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/intro-1PpQv4h6.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/intro-NT6UL-Ie.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/intro-1PpQv4h6.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/outro-_McFrfAR.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/outro-D8xwWt8B.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/outro-_McFrfAR.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/outro-D8xwWt8B.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/renderChunk-DMYyTWqj.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/renderChunk-MxjJNaqP.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/renderChunk-DMYyTWqj.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/renderChunk-MxjJNaqP.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/renderStart-eFzm3QZM.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/renderStart-B4XObdBk.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/renderStart-eFzm3QZM.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/assets/renderStart-B4XObdBk.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/generateBundle.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/generateBundle.txt index b578c3775..cfc6ec095 100644 --- a/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/generateBundle.txt +++ b/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/generateBundle.txt @@ -1 +1 @@ -generateBundle amd with assets/generateBundle-format-5jVvk-26.txt \ No newline at end of file +generateBundle amd with assets/generateBundle-format-DmNW-T7b.txt \ No newline at end of file diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/main.js b/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/main.js index 5a7d41715..b81530712 100644 --- a/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/main.js +++ b/test/chunking-form/samples/emit-file/set-asset-source/_expected/amd/main.js @@ -1,6 +1,6 @@ define(['require', 'exports'], (function (require, exports) { 'use strict'; - const renderStart = new URL(require.toUrl('./assets/renderStart-eFzm3QZM.txt'), document.baseURI).href; + const renderStart = new URL(require.toUrl('./assets/renderStart-B4XObdBk.txt'), document.baseURI).href; const renderStartNamed = new URL(require.toUrl('./renderStart.txt'), document.baseURI).href; const renderStartNamedImmediately = 'renderStart.txt'; const bannerNamed = new URL(require.toUrl('./banner.txt'), document.baseURI).href; diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/banner-Pqjybijy.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/banner--qPJuKPL.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/banner-Pqjybijy.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/banner--qPJuKPL.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/footer-lepGH7ft.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/footer-CV6kYft-.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/footer-lepGH7ft.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/footer-CV6kYft-.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/generateBundle-CtuF2NSi.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/generateBundle-CtuF2NSi.txt new file mode 100644 index 000000000..9948062f4 --- /dev/null +++ b/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/generateBundle-CtuF2NSi.txt @@ -0,0 +1 @@ +generateBundle cjs with assets/generateBundle-format-D1nvefY4.txt \ No newline at end of file diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/generateBundle-format-9Z73n2OP.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/generateBundle-format-D1nvefY4.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/generateBundle-format-9Z73n2OP.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/generateBundle-format-D1nvefY4.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/generateBundle-yF5Q0doc.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/generateBundle-yF5Q0doc.txt deleted file mode 100644 index fef800828..000000000 --- a/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/generateBundle-yF5Q0doc.txt +++ /dev/null @@ -1 +0,0 @@ -generateBundle cjs with assets/generateBundle-format-9Z73n2OP.txt \ No newline at end of file diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/intro-NT6UL-Ie.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/intro-1PpQv4h6.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/intro-NT6UL-Ie.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/intro-1PpQv4h6.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/outro-_McFrfAR.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/outro-D8xwWt8B.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/outro-_McFrfAR.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/outro-D8xwWt8B.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/renderChunk-DMYyTWqj.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/renderChunk-MxjJNaqP.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/renderChunk-DMYyTWqj.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/renderChunk-MxjJNaqP.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/renderStart-eFzm3QZM.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/renderStart-B4XObdBk.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/renderStart-eFzm3QZM.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/assets/renderStart-B4XObdBk.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/generateBundle.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/generateBundle.txt index fef800828..9948062f4 100644 --- a/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/generateBundle.txt +++ b/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/generateBundle.txt @@ -1 +1 @@ -generateBundle cjs with assets/generateBundle-format-9Z73n2OP.txt \ No newline at end of file +generateBundle cjs with assets/generateBundle-format-D1nvefY4.txt \ No newline at end of file diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/main.js b/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/main.js index bfad8ae2d..58d758434 100644 --- a/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/main.js +++ b/test/chunking-form/samples/emit-file/set-asset-source/_expected/cjs/main.js @@ -1,6 +1,6 @@ 'use strict'; -const renderStart = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/renderStart-eFzm3QZM.txt').href : new URL('assets/renderStart-eFzm3QZM.txt', document.currentScript && document.currentScript.src || document.baseURI).href); +const renderStart = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/renderStart-B4XObdBk.txt').href : new URL('assets/renderStart-B4XObdBk.txt', document.currentScript && document.currentScript.src || document.baseURI).href); const renderStartNamed = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/renderStart.txt').href : new URL('renderStart.txt', document.currentScript && document.currentScript.src || document.baseURI).href); const renderStartNamedImmediately = 'renderStart.txt'; const bannerNamed = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/banner.txt').href : new URL('banner.txt', document.currentScript && document.currentScript.src || document.baseURI).href); diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/banner-Pqjybijy.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/banner--qPJuKPL.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/banner-Pqjybijy.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/banner--qPJuKPL.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/footer-lepGH7ft.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/footer-CV6kYft-.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/footer-lepGH7ft.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/footer-CV6kYft-.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/generateBundle-9uv4IgKv.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/generateBundle-9uv4IgKv.txt deleted file mode 100644 index 3574605a8..000000000 --- a/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/generateBundle-9uv4IgKv.txt +++ /dev/null @@ -1 +0,0 @@ -generateBundle es with assets/generateBundle-format-en7tITil.txt \ No newline at end of file diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/generateBundle-C9HFj0EF.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/generateBundle-C9HFj0EF.txt new file mode 100644 index 000000000..c33d55164 --- /dev/null +++ b/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/generateBundle-C9HFj0EF.txt @@ -0,0 +1 @@ +generateBundle es with assets/generateBundle-format-B6fu0hOK.txt \ No newline at end of file diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/generateBundle-format-en7tITil.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/generateBundle-format-B6fu0hOK.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/generateBundle-format-en7tITil.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/generateBundle-format-B6fu0hOK.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/intro-NT6UL-Ie.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/intro-1PpQv4h6.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/intro-NT6UL-Ie.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/intro-1PpQv4h6.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/outro-_McFrfAR.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/outro-D8xwWt8B.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/outro-_McFrfAR.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/outro-D8xwWt8B.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/renderChunk-DMYyTWqj.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/renderChunk-MxjJNaqP.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/renderChunk-DMYyTWqj.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/renderChunk-MxjJNaqP.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/renderStart-eFzm3QZM.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/renderStart-B4XObdBk.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/renderStart-eFzm3QZM.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/es/assets/renderStart-B4XObdBk.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/generateBundle.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/generateBundle.txt index 3574605a8..c33d55164 100644 --- a/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/generateBundle.txt +++ b/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/generateBundle.txt @@ -1 +1 @@ -generateBundle es with assets/generateBundle-format-en7tITil.txt \ No newline at end of file +generateBundle es with assets/generateBundle-format-B6fu0hOK.txt \ No newline at end of file diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/main.js b/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/main.js index 646524d9f..bfcf9969c 100644 --- a/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/main.js +++ b/test/chunking-form/samples/emit-file/set-asset-source/_expected/es/main.js @@ -1,4 +1,4 @@ -const renderStart = new URL('assets/renderStart-eFzm3QZM.txt', import.meta.url).href; +const renderStart = new URL('assets/renderStart-B4XObdBk.txt', import.meta.url).href; const renderStartNamed = new URL('renderStart.txt', import.meta.url).href; const renderStartNamedImmediately = 'renderStart.txt'; const bannerNamed = new URL('banner.txt', import.meta.url).href; diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/banner-Pqjybijy.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/banner--qPJuKPL.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/banner-Pqjybijy.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/banner--qPJuKPL.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/footer-lepGH7ft.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/footer-CV6kYft-.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/footer-lepGH7ft.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/footer-CV6kYft-.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/generateBundle-WoWY_GTC.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/generateBundle-WoWY_GTC.txt deleted file mode 100644 index ebf5e4e27..000000000 --- a/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/generateBundle-WoWY_GTC.txt +++ /dev/null @@ -1 +0,0 @@ -generateBundle system with assets/generateBundle-format-XDhKOEdw.txt \ No newline at end of file diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/generateBundle-format-XDhKOEdw.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/generateBundle-format-BcOEo4R3.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/generateBundle-format-XDhKOEdw.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/generateBundle-format-BcOEo4R3.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/generateBundle-oIb15WdK.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/generateBundle-oIb15WdK.txt new file mode 100644 index 000000000..c4f889548 --- /dev/null +++ b/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/generateBundle-oIb15WdK.txt @@ -0,0 +1 @@ +generateBundle system with assets/generateBundle-format-BcOEo4R3.txt \ No newline at end of file diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/intro-NT6UL-Ie.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/intro-1PpQv4h6.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/intro-NT6UL-Ie.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/intro-1PpQv4h6.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/outro-_McFrfAR.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/outro-D8xwWt8B.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/outro-_McFrfAR.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/outro-D8xwWt8B.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/renderChunk-DMYyTWqj.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/renderChunk-MxjJNaqP.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/renderChunk-DMYyTWqj.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/renderChunk-MxjJNaqP.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/renderStart-eFzm3QZM.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/renderStart-B4XObdBk.txt similarity index 100% rename from test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/renderStart-eFzm3QZM.txt rename to test/chunking-form/samples/emit-file/set-asset-source/_expected/system/assets/renderStart-B4XObdBk.txt diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/generateBundle.txt b/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/generateBundle.txt index ebf5e4e27..c4f889548 100644 --- a/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/generateBundle.txt +++ b/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/generateBundle.txt @@ -1 +1 @@ -generateBundle system with assets/generateBundle-format-XDhKOEdw.txt \ No newline at end of file +generateBundle system with assets/generateBundle-format-BcOEo4R3.txt \ No newline at end of file diff --git a/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/main.js b/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/main.js index ec41fd002..5488e4d39 100644 --- a/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/main.js +++ b/test/chunking-form/samples/emit-file/set-asset-source/_expected/system/main.js @@ -3,7 +3,7 @@ System.register([], (function (exports, module) { return { execute: (function () { - const renderStart = exports("renderStart", new URL('assets/renderStart-eFzm3QZM.txt', module.meta.url).href); + const renderStart = exports("renderStart", new URL('assets/renderStart-B4XObdBk.txt', module.meta.url).href); const renderStartNamed = exports("renderStartNamed", new URL('renderStart.txt', module.meta.url).href); const renderStartNamedImmediately = exports("renderStartNamedImmediately", 'renderStart.txt'); const bannerNamed = exports("bannerNamed", new URL('banner.txt', module.meta.url).href); diff --git a/test/chunking-form/samples/filenames-patterns/_expected/amd/chunk-main2-cf881rtr-amd.js b/test/chunking-form/samples/filenames-patterns/_expected/amd/chunk-main2-BeN-_z3e-amd.js similarity index 100% rename from test/chunking-form/samples/filenames-patterns/_expected/amd/chunk-main2-cf881rtr-amd.js rename to test/chunking-form/samples/filenames-patterns/_expected/amd/chunk-main2-BeN-_z3e-amd.js diff --git a/test/chunking-form/samples/filenames-patterns/_expected/amd/entry-main1-CBKFi7eG-amd.js b/test/chunking-form/samples/filenames-patterns/_expected/amd/entry-main1-CBKFi7eG-amd.js deleted file mode 100644 index 962a36022..000000000 --- a/test/chunking-form/samples/filenames-patterns/_expected/amd/entry-main1-CBKFi7eG-amd.js +++ /dev/null @@ -1,5 +0,0 @@ -define(['./chunk-main2-cf881rtr-amd'], (function (main2) { 'use strict'; - - main2.log(main2.dep); - -})); diff --git a/test/chunking-form/samples/filenames-patterns/_expected/amd/entry-main1-DMJ9vLw5-amd.js b/test/chunking-form/samples/filenames-patterns/_expected/amd/entry-main1-DMJ9vLw5-amd.js new file mode 100644 index 000000000..bf19b5fca --- /dev/null +++ b/test/chunking-form/samples/filenames-patterns/_expected/amd/entry-main1-DMJ9vLw5-amd.js @@ -0,0 +1,5 @@ +define(['./chunk-main2-BeN-_z3e-amd'], (function (main2) { 'use strict'; + + main2.log(main2.dep); + +})); diff --git a/test/chunking-form/samples/filenames-patterns/_expected/amd/entry-main2-SEc5gjvu-amd.js b/test/chunking-form/samples/filenames-patterns/_expected/amd/entry-main2-SEc5gjvu-amd.js new file mode 100644 index 000000000..e814188de --- /dev/null +++ b/test/chunking-form/samples/filenames-patterns/_expected/amd/entry-main2-SEc5gjvu-amd.js @@ -0,0 +1,7 @@ +define(['./chunk-main2-BeN-_z3e-amd'], (function (main2) { 'use strict'; + + + + return main2.log; + +})); diff --git a/test/chunking-form/samples/filenames-patterns/_expected/amd/entry-main2-U19f7Kkv-amd.js b/test/chunking-form/samples/filenames-patterns/_expected/amd/entry-main2-U19f7Kkv-amd.js deleted file mode 100644 index 676c16f83..000000000 --- a/test/chunking-form/samples/filenames-patterns/_expected/amd/entry-main2-U19f7Kkv-amd.js +++ /dev/null @@ -1,7 +0,0 @@ -define(['./chunk-main2-cf881rtr-amd'], (function (main2) { 'use strict'; - - - - return main2.log; - -})); diff --git a/test/chunking-form/samples/filenames-patterns/_expected/cjs/chunk-main2-2eAijmim-cjs.js b/test/chunking-form/samples/filenames-patterns/_expected/cjs/chunk-main2-DB987Lh4-cjs.js similarity index 100% rename from test/chunking-form/samples/filenames-patterns/_expected/cjs/chunk-main2-2eAijmim-cjs.js rename to test/chunking-form/samples/filenames-patterns/_expected/cjs/chunk-main2-DB987Lh4-cjs.js diff --git a/test/chunking-form/samples/filenames-patterns/_expected/cjs/entry-main1-i42FQ2i5-cjs.js b/test/chunking-form/samples/filenames-patterns/_expected/cjs/entry-main1-i42FQ2i5-cjs.js deleted file mode 100644 index ab61f3a30..000000000 --- a/test/chunking-form/samples/filenames-patterns/_expected/cjs/entry-main1-i42FQ2i5-cjs.js +++ /dev/null @@ -1,5 +0,0 @@ -'use strict'; - -var main2 = require('./chunk-main2-2eAijmim-cjs.js'); - -main2.log(main2.dep); diff --git a/test/chunking-form/samples/filenames-patterns/_expected/cjs/entry-main1-m802XraR-cjs.js b/test/chunking-form/samples/filenames-patterns/_expected/cjs/entry-main1-m802XraR-cjs.js new file mode 100644 index 000000000..ff2abb6f2 --- /dev/null +++ b/test/chunking-form/samples/filenames-patterns/_expected/cjs/entry-main1-m802XraR-cjs.js @@ -0,0 +1,5 @@ +'use strict'; + +var main2 = require('./chunk-main2-DB987Lh4-cjs.js'); + +main2.log(main2.dep); diff --git a/test/chunking-form/samples/filenames-patterns/_expected/cjs/entry-main2-CDyYOEPK-cjs.js b/test/chunking-form/samples/filenames-patterns/_expected/cjs/entry-main2-CDyYOEPK-cjs.js new file mode 100644 index 000000000..a8c1d498e --- /dev/null +++ b/test/chunking-form/samples/filenames-patterns/_expected/cjs/entry-main2-CDyYOEPK-cjs.js @@ -0,0 +1,7 @@ +'use strict'; + +var main2 = require('./chunk-main2-DB987Lh4-cjs.js'); + + + +module.exports = main2.log; diff --git a/test/chunking-form/samples/filenames-patterns/_expected/cjs/entry-main2-e914JHZ0-cjs.js b/test/chunking-form/samples/filenames-patterns/_expected/cjs/entry-main2-e914JHZ0-cjs.js deleted file mode 100644 index d51b2084d..000000000 --- a/test/chunking-form/samples/filenames-patterns/_expected/cjs/entry-main2-e914JHZ0-cjs.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -var main2 = require('./chunk-main2-2eAijmim-cjs.js'); - - - -module.exports = main2.log; diff --git a/test/chunking-form/samples/filenames-patterns/_expected/es/chunk-main2-IiSmXREe-es.js b/test/chunking-form/samples/filenames-patterns/_expected/es/chunk-main2-CPMnlUsH-es.js similarity index 100% rename from test/chunking-form/samples/filenames-patterns/_expected/es/chunk-main2-IiSmXREe-es.js rename to test/chunking-form/samples/filenames-patterns/_expected/es/chunk-main2-CPMnlUsH-es.js diff --git a/test/chunking-form/samples/filenames-patterns/_expected/es/entry-main1-DCmtsuTI-es.js b/test/chunking-form/samples/filenames-patterns/_expected/es/entry-main1-DCmtsuTI-es.js new file mode 100644 index 000000000..2e9c7317e --- /dev/null +++ b/test/chunking-form/samples/filenames-patterns/_expected/es/entry-main1-DCmtsuTI-es.js @@ -0,0 +1,3 @@ +import { l as log, d as dep } from './chunk-main2-CPMnlUsH-es.js'; + +log(dep); diff --git a/test/chunking-form/samples/filenames-patterns/_expected/es/entry-main1-JQIS3SKF-es.js b/test/chunking-form/samples/filenames-patterns/_expected/es/entry-main1-JQIS3SKF-es.js deleted file mode 100644 index 9efa2c141..000000000 --- a/test/chunking-form/samples/filenames-patterns/_expected/es/entry-main1-JQIS3SKF-es.js +++ /dev/null @@ -1,3 +0,0 @@ -import { l as log, d as dep } from './chunk-main2-IiSmXREe-es.js'; - -log(dep); diff --git a/test/chunking-form/samples/filenames-patterns/_expected/es/entry-main2-6DNkLKmG-es.js b/test/chunking-form/samples/filenames-patterns/_expected/es/entry-main2-6DNkLKmG-es.js deleted file mode 100644 index 35eb81b45..000000000 --- a/test/chunking-form/samples/filenames-patterns/_expected/es/entry-main2-6DNkLKmG-es.js +++ /dev/null @@ -1 +0,0 @@ -export { l as default } from './chunk-main2-IiSmXREe-es.js'; diff --git a/test/chunking-form/samples/filenames-patterns/_expected/es/entry-main2-CO3mT8jT-es.js b/test/chunking-form/samples/filenames-patterns/_expected/es/entry-main2-CO3mT8jT-es.js new file mode 100644 index 000000000..83eddb16c --- /dev/null +++ b/test/chunking-form/samples/filenames-patterns/_expected/es/entry-main2-CO3mT8jT-es.js @@ -0,0 +1 @@ +export { l as default } from './chunk-main2-CPMnlUsH-es.js'; diff --git a/test/chunking-form/samples/filenames-patterns/_expected/system/chunk-main2-sc7pTV68-system.js b/test/chunking-form/samples/filenames-patterns/_expected/system/chunk-main2-BRXsWtDg-system.js similarity index 100% rename from test/chunking-form/samples/filenames-patterns/_expected/system/chunk-main2-sc7pTV68-system.js rename to test/chunking-form/samples/filenames-patterns/_expected/system/chunk-main2-BRXsWtDg-system.js diff --git a/test/chunking-form/samples/filenames-patterns/_expected/system/entry-main1-eNgrB4zf-system.js b/test/chunking-form/samples/filenames-patterns/_expected/system/entry-main1-Biq2O0X--system.js similarity index 73% rename from test/chunking-form/samples/filenames-patterns/_expected/system/entry-main1-eNgrB4zf-system.js rename to test/chunking-form/samples/filenames-patterns/_expected/system/entry-main1-Biq2O0X--system.js index 042f2ff0d..173ac94dd 100644 --- a/test/chunking-form/samples/filenames-patterns/_expected/system/entry-main1-eNgrB4zf-system.js +++ b/test/chunking-form/samples/filenames-patterns/_expected/system/entry-main1-Biq2O0X--system.js @@ -1,4 +1,4 @@ -System.register(['./chunk-main2-sc7pTV68-system.js'], (function () { +System.register(['./chunk-main2-BRXsWtDg-system.js'], (function () { 'use strict'; var log, dep; return { diff --git a/test/chunking-form/samples/filenames-patterns/_expected/system/entry-main2-WsMjOhDY-system.js b/test/chunking-form/samples/filenames-patterns/_expected/system/entry-main2-D_RLirM0-system.js similarity index 70% rename from test/chunking-form/samples/filenames-patterns/_expected/system/entry-main2-WsMjOhDY-system.js rename to test/chunking-form/samples/filenames-patterns/_expected/system/entry-main2-D_RLirM0-system.js index 5c3387bdd..417076cf1 100644 --- a/test/chunking-form/samples/filenames-patterns/_expected/system/entry-main2-WsMjOhDY-system.js +++ b/test/chunking-form/samples/filenames-patterns/_expected/system/entry-main2-D_RLirM0-system.js @@ -1,4 +1,4 @@ -System.register(['./chunk-main2-sc7pTV68-system.js'], (function (exports) { +System.register(['./chunk-main2-BRXsWtDg-system.js'], (function (exports) { 'use strict'; return { setters: [function (module) { diff --git a/test/chunking-form/samples/hashing/base-16/_config.js b/test/chunking-form/samples/hashing/base-16/_config.js new file mode 100644 index 000000000..c5e360e75 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-16/_config.js @@ -0,0 +1,20 @@ +module.exports = defineTest({ + description: 'supports hex hashes', + options: { + input: ['main1.js', 'main2.js'], + plugins: [ + { + name: 'test', + buildStart() { + this.emitFile({ type: 'asset', name: 'test.txt', source: 'test' }); + } + } + ], + output: { + entryFileNames: ({ name }) => (name === 'main1' ? '[name]-[hash:8].js' : '[name]-[hash].js'), + chunkFileNames: '[name]-[hash:14].js', + assetFileNames: '[name]-[hash:18][extname]', + hashCharacters: 'hex' + } + } +}); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/amd/dep-eCO4iyaHEVP2U2.js b/test/chunking-form/samples/hashing/base-16/_expected/amd/dep-829e49d80e8138.js similarity index 100% rename from test/chunking-form/samples/hashing/hash-size/_expected/amd/dep-eCO4iyaHEVP2U2.js rename to test/chunking-form/samples/hashing/base-16/_expected/amd/dep-829e49d80e8138.js diff --git a/test/chunking-form/samples/hashing/base-16/_expected/amd/main1-c7c1549b.js b/test/chunking-form/samples/hashing/base-16/_expected/amd/main1-c7c1549b.js new file mode 100644 index 000000000..50580b32c --- /dev/null +++ b/test/chunking-form/samples/hashing/base-16/_expected/amd/main1-c7c1549b.js @@ -0,0 +1,5 @@ +define(['./dep-829e49d80e8138'], (function (dep) { 'use strict'; + + console.log('main1'); + +})); diff --git a/test/chunking-form/samples/hashing/base-16/_expected/amd/main2-b28d1351.js b/test/chunking-form/samples/hashing/base-16/_expected/amd/main2-b28d1351.js new file mode 100644 index 000000000..32414ff47 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-16/_expected/amd/main2-b28d1351.js @@ -0,0 +1,5 @@ +define(['./dep-829e49d80e8138'], (function (dep) { 'use strict'; + + console.log('main2'); + +})); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/amd/test-uF-4QoZ1HtBY01G94-.txt b/test/chunking-form/samples/hashing/base-16/_expected/amd/test-52f952ec201fb87af2.txt similarity index 100% rename from test/chunking-form/samples/hashing/hash-size/_expected/amd/test-uF-4QoZ1HtBY01G94-.txt rename to test/chunking-form/samples/hashing/base-16/_expected/amd/test-52f952ec201fb87af2.txt diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/cjs/dep-YVivKZa3-xWdJj.js b/test/chunking-form/samples/hashing/base-16/_expected/cjs/dep-56610f0f1f4a63.js similarity index 100% rename from test/chunking-form/samples/hashing/hash-size/_expected/cjs/dep-YVivKZa3-xWdJj.js rename to test/chunking-form/samples/hashing/base-16/_expected/cjs/dep-56610f0f1f4a63.js diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/cjs/main1-hNgwlFpU.js b/test/chunking-form/samples/hashing/base-16/_expected/cjs/main1-f180bb4c.js similarity index 51% rename from test/chunking-form/samples/hashing/hash-size/_expected/cjs/main1-hNgwlFpU.js rename to test/chunking-form/samples/hashing/base-16/_expected/cjs/main1-f180bb4c.js index 61a963dbd..0fe155a99 100644 --- a/test/chunking-form/samples/hashing/hash-size/_expected/cjs/main1-hNgwlFpU.js +++ b/test/chunking-form/samples/hashing/base-16/_expected/cjs/main1-f180bb4c.js @@ -1,5 +1,5 @@ 'use strict'; -require('./dep-YVivKZa3-xWdJj.js'); +require('./dep-56610f0f1f4a63.js'); console.log('main1'); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/cjs/main2-VmtfVxsamQ.js b/test/chunking-form/samples/hashing/base-16/_expected/cjs/main2-d4907d4b.js similarity index 51% rename from test/chunking-form/samples/hashing/hash-size/_expected/cjs/main2-VmtfVxsamQ.js rename to test/chunking-form/samples/hashing/base-16/_expected/cjs/main2-d4907d4b.js index dae1e640b..5a53c37f9 100644 --- a/test/chunking-form/samples/hashing/hash-size/_expected/cjs/main2-VmtfVxsamQ.js +++ b/test/chunking-form/samples/hashing/base-16/_expected/cjs/main2-d4907d4b.js @@ -1,5 +1,5 @@ 'use strict'; -require('./dep-YVivKZa3-xWdJj.js'); +require('./dep-56610f0f1f4a63.js'); console.log('main2'); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/cjs/test-uF-4QoZ1HtBY01G94-.txt b/test/chunking-form/samples/hashing/base-16/_expected/cjs/test-52f952ec201fb87af2.txt similarity index 100% rename from test/chunking-form/samples/hashing/hash-size/_expected/cjs/test-uF-4QoZ1HtBY01G94-.txt rename to test/chunking-form/samples/hashing/base-16/_expected/cjs/test-52f952ec201fb87af2.txt diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/es/dep-zBY_VBiSge8Mj4.js b/test/chunking-form/samples/hashing/base-16/_expected/es/dep-319d615e3e266e.js similarity index 100% rename from test/chunking-form/samples/hashing/hash-size/_expected/es/dep-zBY_VBiSge8Mj4.js rename to test/chunking-form/samples/hashing/base-16/_expected/es/dep-319d615e3e266e.js diff --git a/test/chunking-form/samples/hashing/base-16/_expected/es/main1-2ba5365c.js b/test/chunking-form/samples/hashing/base-16/_expected/es/main1-2ba5365c.js new file mode 100644 index 000000000..167695748 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-16/_expected/es/main1-2ba5365c.js @@ -0,0 +1,3 @@ +import './dep-319d615e3e266e.js'; + +console.log('main1'); diff --git a/test/chunking-form/samples/hashing/base-16/_expected/es/main2-c2fcf802.js b/test/chunking-form/samples/hashing/base-16/_expected/es/main2-c2fcf802.js new file mode 100644 index 000000000..a55c5d667 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-16/_expected/es/main2-c2fcf802.js @@ -0,0 +1,3 @@ +import './dep-319d615e3e266e.js'; + +console.log('main2'); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/es/test-uF-4QoZ1HtBY01G94-.txt b/test/chunking-form/samples/hashing/base-16/_expected/es/test-52f952ec201fb87af2.txt similarity index 100% rename from test/chunking-form/samples/hashing/hash-size/_expected/es/test-uF-4QoZ1HtBY01G94-.txt rename to test/chunking-form/samples/hashing/base-16/_expected/es/test-52f952ec201fb87af2.txt diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/system/dep-hy-CAAd7JeW4I2.js b/test/chunking-form/samples/hashing/base-16/_expected/system/dep-bacfaa81397007.js similarity index 100% rename from test/chunking-form/samples/hashing/hash-size/_expected/system/dep-hy-CAAd7JeW4I2.js rename to test/chunking-form/samples/hashing/base-16/_expected/system/dep-bacfaa81397007.js diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/system/main1-YgtCdyy2.js b/test/chunking-form/samples/hashing/base-16/_expected/system/main1-0b232646.js similarity index 64% rename from test/chunking-form/samples/hashing/hash-size/_expected/system/main1-YgtCdyy2.js rename to test/chunking-form/samples/hashing/base-16/_expected/system/main1-0b232646.js index 6efeff73f..8b374a2d3 100644 --- a/test/chunking-form/samples/hashing/hash-size/_expected/system/main1-YgtCdyy2.js +++ b/test/chunking-form/samples/hashing/base-16/_expected/system/main1-0b232646.js @@ -1,4 +1,4 @@ -System.register(['./dep-hy-CAAd7JeW4I2.js'], (function () { +System.register(['./dep-bacfaa81397007.js'], (function () { 'use strict'; return { setters: [null], diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/system/main2-dDGqHpvMDz.js b/test/chunking-form/samples/hashing/base-16/_expected/system/main2-83b1318a.js similarity index 64% rename from test/chunking-form/samples/hashing/hash-size/_expected/system/main2-dDGqHpvMDz.js rename to test/chunking-form/samples/hashing/base-16/_expected/system/main2-83b1318a.js index 02e50e49a..f0506cfd1 100644 --- a/test/chunking-form/samples/hashing/hash-size/_expected/system/main2-dDGqHpvMDz.js +++ b/test/chunking-form/samples/hashing/base-16/_expected/system/main2-83b1318a.js @@ -1,4 +1,4 @@ -System.register(['./dep-hy-CAAd7JeW4I2.js'], (function () { +System.register(['./dep-bacfaa81397007.js'], (function () { 'use strict'; return { setters: [null], diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/system/test-uF-4QoZ1HtBY01G94-.txt b/test/chunking-form/samples/hashing/base-16/_expected/system/test-52f952ec201fb87af2.txt similarity index 100% rename from test/chunking-form/samples/hashing/hash-size/_expected/system/test-uF-4QoZ1HtBY01G94-.txt rename to test/chunking-form/samples/hashing/base-16/_expected/system/test-52f952ec201fb87af2.txt diff --git a/test/chunking-form/samples/hashing/base-16/dep.js b/test/chunking-form/samples/hashing/base-16/dep.js new file mode 100644 index 000000000..b74a9837c --- /dev/null +++ b/test/chunking-form/samples/hashing/base-16/dep.js @@ -0,0 +1 @@ +console.log('dep'); diff --git a/test/chunking-form/samples/hashing/base-16/main1.js b/test/chunking-form/samples/hashing/base-16/main1.js new file mode 100644 index 000000000..a739b1e23 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-16/main1.js @@ -0,0 +1,3 @@ +import "./dep.js"; + +console.log('main1'); diff --git a/test/chunking-form/samples/hashing/base-16/main2.js b/test/chunking-form/samples/hashing/base-16/main2.js new file mode 100644 index 000000000..03ed51465 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-16/main2.js @@ -0,0 +1,3 @@ +import "./dep.js"; + +console.log('main2'); diff --git a/test/chunking-form/samples/hashing/base-36/_config.js b/test/chunking-form/samples/hashing/base-36/_config.js new file mode 100644 index 000000000..87f4424f0 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-36/_config.js @@ -0,0 +1,20 @@ +module.exports = defineTest({ + description: 'supports base-36 hashes', + options: { + input: ['main1.js', 'main2.js'], + plugins: [ + { + name: 'test', + buildStart() { + this.emitFile({ type: 'asset', name: 'test.txt', source: 'test' }); + } + } + ], + output: { + entryFileNames: ({ name }) => (name === 'main1' ? '[name]-[hash:8].js' : '[name]-[hash].js'), + chunkFileNames: '[name]-[hash:14].js', + assetFileNames: '[name]-[hash:18][extname]', + hashCharacters: 'base36' + } + } +}); diff --git a/test/chunking-form/samples/hashing/base-36/_expected/amd/dep-bmptxkz04onep5.js b/test/chunking-form/samples/hashing/base-36/_expected/amd/dep-bmptxkz04onep5.js new file mode 100644 index 000000000..f94a3d9d9 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-36/_expected/amd/dep-bmptxkz04onep5.js @@ -0,0 +1,5 @@ +define((function () { 'use strict'; + + console.log('dep'); + +})); diff --git a/test/chunking-form/samples/hashing/base-36/_expected/amd/main1-eq1xfkwk.js b/test/chunking-form/samples/hashing/base-36/_expected/amd/main1-eq1xfkwk.js new file mode 100644 index 000000000..d899df326 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-36/_expected/amd/main1-eq1xfkwk.js @@ -0,0 +1,5 @@ +define(['./dep-bmptxkz04onep5'], (function (dep) { 'use strict'; + + console.log('main1'); + +})); diff --git a/test/chunking-form/samples/hashing/base-36/_expected/amd/main2-ghsu9bcu.js b/test/chunking-form/samples/hashing/base-36/_expected/amd/main2-ghsu9bcu.js new file mode 100644 index 000000000..b2d52ed31 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-36/_expected/amd/main2-ghsu9bcu.js @@ -0,0 +1,5 @@ +define(['./dep-bmptxkz04onep5'], (function (dep) { 'use strict'; + + console.log('main2'); + +})); diff --git a/test/chunking-form/samples/render-chunk/_expected/amd/asset-test-uF-4QoZ1 b/test/chunking-form/samples/hashing/base-36/_expected/amd/test-k68mbkgbkbej7p9txd.txt similarity index 100% rename from test/chunking-form/samples/render-chunk/_expected/amd/asset-test-uF-4QoZ1 rename to test/chunking-form/samples/hashing/base-36/_expected/amd/test-k68mbkgbkbej7p9txd.txt diff --git a/test/chunking-form/samples/hashing/base-36/_expected/cjs/dep-ovzp2ykm52qk5e.js b/test/chunking-form/samples/hashing/base-36/_expected/cjs/dep-ovzp2ykm52qk5e.js new file mode 100644 index 000000000..f97cbb470 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-36/_expected/cjs/dep-ovzp2ykm52qk5e.js @@ -0,0 +1,3 @@ +'use strict'; + +console.log('dep'); diff --git a/test/chunking-form/samples/hashing/base-36/_expected/cjs/main1-j953dn8u.js b/test/chunking-form/samples/hashing/base-36/_expected/cjs/main1-j953dn8u.js new file mode 100644 index 000000000..46c9bbec2 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-36/_expected/cjs/main1-j953dn8u.js @@ -0,0 +1,5 @@ +'use strict'; + +require('./dep-ovzp2ykm52qk5e.js'); + +console.log('main1'); diff --git a/test/chunking-form/samples/hashing/base-36/_expected/cjs/main2-m5d1jqhr.js b/test/chunking-form/samples/hashing/base-36/_expected/cjs/main2-m5d1jqhr.js new file mode 100644 index 000000000..d28a19b76 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-36/_expected/cjs/main2-m5d1jqhr.js @@ -0,0 +1,5 @@ +'use strict'; + +require('./dep-ovzp2ykm52qk5e.js'); + +console.log('main2'); diff --git a/test/chunking-form/samples/render-chunk/_expected/cjs/asset-test-uF-4QoZ1 b/test/chunking-form/samples/hashing/base-36/_expected/cjs/test-k68mbkgbkbej7p9txd.txt similarity index 100% rename from test/chunking-form/samples/render-chunk/_expected/cjs/asset-test-uF-4QoZ1 rename to test/chunking-form/samples/hashing/base-36/_expected/cjs/test-k68mbkgbkbej7p9txd.txt diff --git a/test/chunking-form/samples/hashing/base-36/_expected/es/dep-fjef7fnh2ag8g7.js b/test/chunking-form/samples/hashing/base-36/_expected/es/dep-fjef7fnh2ag8g7.js new file mode 100644 index 000000000..b74a9837c --- /dev/null +++ b/test/chunking-form/samples/hashing/base-36/_expected/es/dep-fjef7fnh2ag8g7.js @@ -0,0 +1 @@ +console.log('dep'); diff --git a/test/chunking-form/samples/hashing/base-36/_expected/es/main1-mw1pkh6b.js b/test/chunking-form/samples/hashing/base-36/_expected/es/main1-mw1pkh6b.js new file mode 100644 index 000000000..403e76b13 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-36/_expected/es/main1-mw1pkh6b.js @@ -0,0 +1,3 @@ +import './dep-fjef7fnh2ag8g7.js'; + +console.log('main1'); diff --git a/test/chunking-form/samples/hashing/base-36/_expected/es/main2-kiy506nw.js b/test/chunking-form/samples/hashing/base-36/_expected/es/main2-kiy506nw.js new file mode 100644 index 000000000..4fd9a6547 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-36/_expected/es/main2-kiy506nw.js @@ -0,0 +1,3 @@ +import './dep-fjef7fnh2ag8g7.js'; + +console.log('main2'); diff --git a/test/chunking-form/samples/render-chunk/_expected/es/asset-test-uF-4QoZ1 b/test/chunking-form/samples/hashing/base-36/_expected/es/test-k68mbkgbkbej7p9txd.txt similarity index 100% rename from test/chunking-form/samples/render-chunk/_expected/es/asset-test-uF-4QoZ1 rename to test/chunking-form/samples/hashing/base-36/_expected/es/test-k68mbkgbkbej7p9txd.txt diff --git a/test/chunking-form/samples/hashing/base-36/_expected/system/dep-jg0ebpli0vt21p.js b/test/chunking-form/samples/hashing/base-36/_expected/system/dep-jg0ebpli0vt21p.js new file mode 100644 index 000000000..963f20ddf --- /dev/null +++ b/test/chunking-form/samples/hashing/base-36/_expected/system/dep-jg0ebpli0vt21p.js @@ -0,0 +1,10 @@ +System.register([], (function () { + 'use strict'; + return { + execute: (function () { + + console.log('dep'); + + }) + }; +})); diff --git a/test/chunking-form/samples/hashing/base-36/_expected/system/main1-mrx14iyi.js b/test/chunking-form/samples/hashing/base-36/_expected/system/main1-mrx14iyi.js new file mode 100644 index 000000000..a31beba92 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-36/_expected/system/main1-mrx14iyi.js @@ -0,0 +1,11 @@ +System.register(['./dep-jg0ebpli0vt21p.js'], (function () { + 'use strict'; + return { + setters: [null], + execute: (function () { + + console.log('main1'); + + }) + }; +})); diff --git a/test/chunking-form/samples/hashing/base-36/_expected/system/main2-mqk8gped.js b/test/chunking-form/samples/hashing/base-36/_expected/system/main2-mqk8gped.js new file mode 100644 index 000000000..9673e24f1 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-36/_expected/system/main2-mqk8gped.js @@ -0,0 +1,11 @@ +System.register(['./dep-jg0ebpli0vt21p.js'], (function () { + 'use strict'; + return { + setters: [null], + execute: (function () { + + console.log('main2'); + + }) + }; +})); diff --git a/test/chunking-form/samples/render-chunk/_expected/system/asset-test-uF-4QoZ1 b/test/chunking-form/samples/hashing/base-36/_expected/system/test-k68mbkgbkbej7p9txd.txt similarity index 100% rename from test/chunking-form/samples/render-chunk/_expected/system/asset-test-uF-4QoZ1 rename to test/chunking-form/samples/hashing/base-36/_expected/system/test-k68mbkgbkbej7p9txd.txt diff --git a/test/chunking-form/samples/hashing/base-36/dep.js b/test/chunking-form/samples/hashing/base-36/dep.js new file mode 100644 index 000000000..b74a9837c --- /dev/null +++ b/test/chunking-form/samples/hashing/base-36/dep.js @@ -0,0 +1 @@ +console.log('dep'); diff --git a/test/chunking-form/samples/hashing/base-36/main1.js b/test/chunking-form/samples/hashing/base-36/main1.js new file mode 100644 index 000000000..a739b1e23 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-36/main1.js @@ -0,0 +1,3 @@ +import "./dep.js"; + +console.log('main1'); diff --git a/test/chunking-form/samples/hashing/base-36/main2.js b/test/chunking-form/samples/hashing/base-36/main2.js new file mode 100644 index 000000000..03ed51465 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-36/main2.js @@ -0,0 +1,3 @@ +import "./dep.js"; + +console.log('main2'); diff --git a/test/chunking-form/samples/hashing/base-64/_config.js b/test/chunking-form/samples/hashing/base-64/_config.js new file mode 100644 index 000000000..428552889 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/_config.js @@ -0,0 +1,20 @@ +module.exports = defineTest({ + description: 'supports base-64 hashes', + options: { + input: ['main1.js', 'main2.js'], + plugins: [ + { + name: 'test', + buildStart() { + this.emitFile({ type: 'asset', name: 'test.txt', source: 'test' }); + } + } + ], + output: { + entryFileNames: ({ name }) => (name === 'main1' ? '[name]-[hash:8].js' : '[name]-[hash].js'), + chunkFileNames: '[name]-[hash:14].js', + assetFileNames: '[name]-[hash:18][extname]', + hashCharacters: 'base64' + } + } +}); diff --git a/test/chunking-form/samples/hashing/base-64/_expected/amd/dep-CQnwizGk7iiKyM.js b/test/chunking-form/samples/hashing/base-64/_expected/amd/dep-CQnwizGk7iiKyM.js new file mode 100644 index 000000000..f94a3d9d9 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/_expected/amd/dep-CQnwizGk7iiKyM.js @@ -0,0 +1,5 @@ +define((function () { 'use strict'; + + console.log('dep'); + +})); diff --git a/test/chunking-form/samples/hashing/base-64/_expected/amd/main1-DmCo11bz.js b/test/chunking-form/samples/hashing/base-64/_expected/amd/main1-DmCo11bz.js new file mode 100644 index 000000000..9ec489eda --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/_expected/amd/main1-DmCo11bz.js @@ -0,0 +1,5 @@ +define(['./dep-CQnwizGk7iiKyM'], (function (dep) { 'use strict'; + + console.log('main1'); + +})); diff --git a/test/chunking-form/samples/hashing/base-64/_expected/amd/main2-plMRg5wo.js b/test/chunking-form/samples/hashing/base-64/_expected/amd/main2-plMRg5wo.js new file mode 100644 index 000000000..682a4f9fc --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/_expected/amd/main2-plMRg5wo.js @@ -0,0 +1,5 @@ +define(['./dep-CQnwizGk7iiKyM'], (function (dep) { 'use strict'; + + console.log('main2'); + +})); diff --git a/test/chunking-form/samples/hashing/base-64/_expected/amd/test-C4X7hChnUe0FjTUb3j.txt b/test/chunking-form/samples/hashing/base-64/_expected/amd/test-C4X7hChnUe0FjTUb3j.txt new file mode 100644 index 000000000..30d74d258 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/_expected/amd/test-C4X7hChnUe0FjTUb3j.txt @@ -0,0 +1 @@ +test \ No newline at end of file diff --git a/test/chunking-form/samples/hashing/base-64/_expected/cjs/dep-DP3g5uf-_SXPa0.js b/test/chunking-form/samples/hashing/base-64/_expected/cjs/dep-DP3g5uf-_SXPa0.js new file mode 100644 index 000000000..f97cbb470 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/_expected/cjs/dep-DP3g5uf-_SXPa0.js @@ -0,0 +1,3 @@ +'use strict'; + +console.log('dep'); diff --git a/test/chunking-form/samples/hashing/base-64/_expected/cjs/main1-DnXXnXwB.js b/test/chunking-form/samples/hashing/base-64/_expected/cjs/main1-DnXXnXwB.js new file mode 100644 index 000000000..b2cd34a4b --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/_expected/cjs/main1-DnXXnXwB.js @@ -0,0 +1,5 @@ +'use strict'; + +require('./dep-DP3g5uf-_SXPa0.js'); + +console.log('main1'); diff --git a/test/chunking-form/samples/hashing/base-64/_expected/cjs/main2-gxHln_2b.js b/test/chunking-form/samples/hashing/base-64/_expected/cjs/main2-gxHln_2b.js new file mode 100644 index 000000000..fb9aceedd --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/_expected/cjs/main2-gxHln_2b.js @@ -0,0 +1,5 @@ +'use strict'; + +require('./dep-DP3g5uf-_SXPa0.js'); + +console.log('main2'); diff --git a/test/chunking-form/samples/hashing/base-64/_expected/cjs/test-C4X7hChnUe0FjTUb3j.txt b/test/chunking-form/samples/hashing/base-64/_expected/cjs/test-C4X7hChnUe0FjTUb3j.txt new file mode 100644 index 000000000..30d74d258 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/_expected/cjs/test-C4X7hChnUe0FjTUb3j.txt @@ -0,0 +1 @@ +test \ No newline at end of file diff --git a/test/chunking-form/samples/hashing/base-64/_expected/es/dep-Bjk1mBEz6TLC2O.js b/test/chunking-form/samples/hashing/base-64/_expected/es/dep-Bjk1mBEz6TLC2O.js new file mode 100644 index 000000000..b74a9837c --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/_expected/es/dep-Bjk1mBEz6TLC2O.js @@ -0,0 +1 @@ +console.log('dep'); diff --git a/test/chunking-form/samples/hashing/base-64/_expected/es/main1-CFYv4LMw.js b/test/chunking-form/samples/hashing/base-64/_expected/es/main1-CFYv4LMw.js new file mode 100644 index 000000000..04e05fdcd --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/_expected/es/main1-CFYv4LMw.js @@ -0,0 +1,3 @@ +import './dep-Bjk1mBEz6TLC2O.js'; + +console.log('main1'); diff --git a/test/chunking-form/samples/hashing/base-64/_expected/es/main2-DZLiRzpS.js b/test/chunking-form/samples/hashing/base-64/_expected/es/main2-DZLiRzpS.js new file mode 100644 index 000000000..9c7b5a2ee --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/_expected/es/main2-DZLiRzpS.js @@ -0,0 +1,3 @@ +import './dep-Bjk1mBEz6TLC2O.js'; + +console.log('main2'); diff --git a/test/chunking-form/samples/hashing/base-64/_expected/es/test-C4X7hChnUe0FjTUb3j.txt b/test/chunking-form/samples/hashing/base-64/_expected/es/test-C4X7hChnUe0FjTUb3j.txt new file mode 100644 index 000000000..30d74d258 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/_expected/es/test-C4X7hChnUe0FjTUb3j.txt @@ -0,0 +1 @@ +test \ No newline at end of file diff --git a/test/chunking-form/samples/hashing/base-64/_expected/system/dep-58OVQdrHioalt3.js b/test/chunking-form/samples/hashing/base-64/_expected/system/dep-58OVQdrHioalt3.js new file mode 100644 index 000000000..963f20ddf --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/_expected/system/dep-58OVQdrHioalt3.js @@ -0,0 +1,10 @@ +System.register([], (function () { + 'use strict'; + return { + execute: (function () { + + console.log('dep'); + + }) + }; +})); diff --git a/test/chunking-form/samples/hashing/base-64/_expected/system/main1-D6XIOQ-3.js b/test/chunking-form/samples/hashing/base-64/_expected/system/main1-D6XIOQ-3.js new file mode 100644 index 000000000..21217f80b --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/_expected/system/main1-D6XIOQ-3.js @@ -0,0 +1,11 @@ +System.register(['./dep-58OVQdrHioalt3.js'], (function () { + 'use strict'; + return { + setters: [null], + execute: (function () { + + console.log('main1'); + + }) + }; +})); diff --git a/test/chunking-form/samples/hashing/base-64/_expected/system/main2-DvH4my1X.js b/test/chunking-form/samples/hashing/base-64/_expected/system/main2-DvH4my1X.js new file mode 100644 index 000000000..b785b3cac --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/_expected/system/main2-DvH4my1X.js @@ -0,0 +1,11 @@ +System.register(['./dep-58OVQdrHioalt3.js'], (function () { + 'use strict'; + return { + setters: [null], + execute: (function () { + + console.log('main2'); + + }) + }; +})); diff --git a/test/chunking-form/samples/hashing/base-64/_expected/system/test-C4X7hChnUe0FjTUb3j.txt b/test/chunking-form/samples/hashing/base-64/_expected/system/test-C4X7hChnUe0FjTUb3j.txt new file mode 100644 index 000000000..30d74d258 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/_expected/system/test-C4X7hChnUe0FjTUb3j.txt @@ -0,0 +1 @@ +test \ No newline at end of file diff --git a/test/chunking-form/samples/hashing/base-64/dep.js b/test/chunking-form/samples/hashing/base-64/dep.js new file mode 100644 index 000000000..b74a9837c --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/dep.js @@ -0,0 +1 @@ +console.log('dep'); diff --git a/test/chunking-form/samples/hashing/base-64/main1.js b/test/chunking-form/samples/hashing/base-64/main1.js new file mode 100644 index 000000000..a739b1e23 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/main1.js @@ -0,0 +1,3 @@ +import "./dep.js"; + +console.log('main1'); diff --git a/test/chunking-form/samples/hashing/base-64/main2.js b/test/chunking-form/samples/hashing/base-64/main2.js new file mode 100644 index 000000000..03ed51465 --- /dev/null +++ b/test/chunking-form/samples/hashing/base-64/main2.js @@ -0,0 +1,3 @@ +import "./dep.js"; + +console.log('main2'); diff --git a/test/chunking-form/samples/hashing/deconflict-hashes/_expected/amd/entry-BjVZZvuI.js b/test/chunking-form/samples/hashing/deconflict-hashes/_expected/amd/entry-DKQbg3Wf.js similarity index 100% rename from test/chunking-form/samples/hashing/deconflict-hashes/_expected/amd/entry-BjVZZvuI.js rename to test/chunking-form/samples/hashing/deconflict-hashes/_expected/amd/entry-DKQbg3Wf.js diff --git a/test/chunking-form/samples/hashing/deconflict-hashes/_expected/amd/entry-_kM9k9Bx.js b/test/chunking-form/samples/hashing/deconflict-hashes/_expected/amd/entry-GCBTgmAv.js similarity index 100% rename from test/chunking-form/samples/hashing/deconflict-hashes/_expected/amd/entry-_kM9k9Bx.js rename to test/chunking-form/samples/hashing/deconflict-hashes/_expected/amd/entry-GCBTgmAv.js diff --git a/test/chunking-form/samples/hashing/deconflict-hashes/_expected/cjs/entry-BAMj_W0O.js b/test/chunking-form/samples/hashing/deconflict-hashes/_expected/cjs/entry-CfHQ99Wd.js similarity index 100% rename from test/chunking-form/samples/hashing/deconflict-hashes/_expected/cjs/entry-BAMj_W0O.js rename to test/chunking-form/samples/hashing/deconflict-hashes/_expected/cjs/entry-CfHQ99Wd.js diff --git a/test/chunking-form/samples/hashing/deconflict-hashes/_expected/cjs/entry-ivriA37N.js b/test/chunking-form/samples/hashing/deconflict-hashes/_expected/cjs/entry-DCMVlR3X.js similarity index 100% rename from test/chunking-form/samples/hashing/deconflict-hashes/_expected/cjs/entry-ivriA37N.js rename to test/chunking-form/samples/hashing/deconflict-hashes/_expected/cjs/entry-DCMVlR3X.js diff --git a/test/chunking-form/samples/hashing/deconflict-hashes/_expected/es/entry-Gs557UIb.js b/test/chunking-form/samples/hashing/deconflict-hashes/_expected/es/entry-BIjZ-t_L.js similarity index 100% rename from test/chunking-form/samples/hashing/deconflict-hashes/_expected/es/entry-Gs557UIb.js rename to test/chunking-form/samples/hashing/deconflict-hashes/_expected/es/entry-BIjZ-t_L.js diff --git a/test/chunking-form/samples/hashing/deconflict-hashes/_expected/es/entry-Y0flmsE_.js b/test/chunking-form/samples/hashing/deconflict-hashes/_expected/es/entry-BbWhrgmr.js similarity index 100% rename from test/chunking-form/samples/hashing/deconflict-hashes/_expected/es/entry-Y0flmsE_.js rename to test/chunking-form/samples/hashing/deconflict-hashes/_expected/es/entry-BbWhrgmr.js diff --git a/test/chunking-form/samples/hashing/deconflict-hashes/_expected/system/entry-aiNN2RB-.js b/test/chunking-form/samples/hashing/deconflict-hashes/_expected/system/entry-5NcCWKKj.js similarity index 100% rename from test/chunking-form/samples/hashing/deconflict-hashes/_expected/system/entry-aiNN2RB-.js rename to test/chunking-form/samples/hashing/deconflict-hashes/_expected/system/entry-5NcCWKKj.js diff --git a/test/chunking-form/samples/hashing/deconflict-hashes/_expected/system/entry-yZdFXPRq.js b/test/chunking-form/samples/hashing/deconflict-hashes/_expected/system/entry-Co4GckLL.js similarity index 100% rename from test/chunking-form/samples/hashing/deconflict-hashes/_expected/system/entry-yZdFXPRq.js rename to test/chunking-form/samples/hashing/deconflict-hashes/_expected/system/entry-Co4GckLL.js diff --git a/test/chunking-form/samples/hashing/double-hash/_expected/amd/_kM9k9Bx/entry-_kM9k9Bx.js b/test/chunking-form/samples/hashing/double-hash/_expected/amd/GCBTgmAv/entry-GCBTgmAv.js similarity index 100% rename from test/chunking-form/samples/hashing/double-hash/_expected/amd/_kM9k9Bx/entry-_kM9k9Bx.js rename to test/chunking-form/samples/hashing/double-hash/_expected/amd/GCBTgmAv/entry-GCBTgmAv.js diff --git a/test/chunking-form/samples/hashing/double-hash/_expected/cjs/ivriA37N/entry-ivriA37N.js b/test/chunking-form/samples/hashing/double-hash/_expected/cjs/DCMVlR3X/entry-DCMVlR3X.js similarity index 100% rename from test/chunking-form/samples/hashing/double-hash/_expected/cjs/ivriA37N/entry-ivriA37N.js rename to test/chunking-form/samples/hashing/double-hash/_expected/cjs/DCMVlR3X/entry-DCMVlR3X.js diff --git a/test/chunking-form/samples/hashing/double-hash/_expected/es/Y0flmsE_/entry-Y0flmsE_.js b/test/chunking-form/samples/hashing/double-hash/_expected/es/BIjZ-t_L/entry-BIjZ-t_L.js similarity index 100% rename from test/chunking-form/samples/hashing/double-hash/_expected/es/Y0flmsE_/entry-Y0flmsE_.js rename to test/chunking-form/samples/hashing/double-hash/_expected/es/BIjZ-t_L/entry-BIjZ-t_L.js diff --git a/test/chunking-form/samples/hashing/double-hash/_expected/system/yZdFXPRq/entry-yZdFXPRq.js b/test/chunking-form/samples/hashing/double-hash/_expected/system/Co4GckLL/entry-Co4GckLL.js similarity index 100% rename from test/chunking-form/samples/hashing/double-hash/_expected/system/yZdFXPRq/entry-yZdFXPRq.js rename to test/chunking-form/samples/hashing/double-hash/_expected/system/Co4GckLL/entry-Co4GckLL.js diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/amd/dep-CQnwizGk7iiKyM.js b/test/chunking-form/samples/hashing/hash-size/_expected/amd/dep-CQnwizGk7iiKyM.js new file mode 100644 index 000000000..f94a3d9d9 --- /dev/null +++ b/test/chunking-form/samples/hashing/hash-size/_expected/amd/dep-CQnwizGk7iiKyM.js @@ -0,0 +1,5 @@ +define((function () { 'use strict'; + + console.log('dep'); + +})); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/amd/main1-9bGLbd-q.js b/test/chunking-form/samples/hashing/hash-size/_expected/amd/main1-9bGLbd-q.js deleted file mode 100644 index 438974a00..000000000 --- a/test/chunking-form/samples/hashing/hash-size/_expected/amd/main1-9bGLbd-q.js +++ /dev/null @@ -1,5 +0,0 @@ -define(['./dep-eCO4iyaHEVP2U2'], (function (dep) { 'use strict'; - - console.log('main1'); - -})); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/amd/main1-DmCo11bz.js b/test/chunking-form/samples/hashing/hash-size/_expected/amd/main1-DmCo11bz.js new file mode 100644 index 000000000..9ec489eda --- /dev/null +++ b/test/chunking-form/samples/hashing/hash-size/_expected/amd/main1-DmCo11bz.js @@ -0,0 +1,5 @@ +define(['./dep-CQnwizGk7iiKyM'], (function (dep) { 'use strict'; + + console.log('main1'); + +})); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/amd/main2-5gkbLhN4J6.js b/test/chunking-form/samples/hashing/hash-size/_expected/amd/main2-5gkbLhN4J6.js deleted file mode 100644 index 160493aba..000000000 --- a/test/chunking-form/samples/hashing/hash-size/_expected/amd/main2-5gkbLhN4J6.js +++ /dev/null @@ -1,5 +0,0 @@ -define(['./dep-eCO4iyaHEVP2U2'], (function (dep) { 'use strict'; - - console.log('main2'); - -})); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/amd/main2-plMRg5woLM.js b/test/chunking-form/samples/hashing/hash-size/_expected/amd/main2-plMRg5woLM.js new file mode 100644 index 000000000..682a4f9fc --- /dev/null +++ b/test/chunking-form/samples/hashing/hash-size/_expected/amd/main2-plMRg5woLM.js @@ -0,0 +1,5 @@ +define(['./dep-CQnwizGk7iiKyM'], (function (dep) { 'use strict'; + + console.log('main2'); + +})); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/amd/test-C4X7hChnUe0FjTUb3j.txt b/test/chunking-form/samples/hashing/hash-size/_expected/amd/test-C4X7hChnUe0FjTUb3j.txt new file mode 100644 index 000000000..30d74d258 --- /dev/null +++ b/test/chunking-form/samples/hashing/hash-size/_expected/amd/test-C4X7hChnUe0FjTUb3j.txt @@ -0,0 +1 @@ +test \ No newline at end of file diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/cjs/dep-DP3g5uf-_SXPa0.js b/test/chunking-form/samples/hashing/hash-size/_expected/cjs/dep-DP3g5uf-_SXPa0.js new file mode 100644 index 000000000..f97cbb470 --- /dev/null +++ b/test/chunking-form/samples/hashing/hash-size/_expected/cjs/dep-DP3g5uf-_SXPa0.js @@ -0,0 +1,3 @@ +'use strict'; + +console.log('dep'); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/cjs/main1-DnXXnXwB.js b/test/chunking-form/samples/hashing/hash-size/_expected/cjs/main1-DnXXnXwB.js new file mode 100644 index 000000000..b2cd34a4b --- /dev/null +++ b/test/chunking-form/samples/hashing/hash-size/_expected/cjs/main1-DnXXnXwB.js @@ -0,0 +1,5 @@ +'use strict'; + +require('./dep-DP3g5uf-_SXPa0.js'); + +console.log('main1'); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/cjs/main2-gxHln_2big.js b/test/chunking-form/samples/hashing/hash-size/_expected/cjs/main2-gxHln_2big.js new file mode 100644 index 000000000..fb9aceedd --- /dev/null +++ b/test/chunking-form/samples/hashing/hash-size/_expected/cjs/main2-gxHln_2big.js @@ -0,0 +1,5 @@ +'use strict'; + +require('./dep-DP3g5uf-_SXPa0.js'); + +console.log('main2'); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/cjs/test-C4X7hChnUe0FjTUb3j.txt b/test/chunking-form/samples/hashing/hash-size/_expected/cjs/test-C4X7hChnUe0FjTUb3j.txt new file mode 100644 index 000000000..30d74d258 --- /dev/null +++ b/test/chunking-form/samples/hashing/hash-size/_expected/cjs/test-C4X7hChnUe0FjTUb3j.txt @@ -0,0 +1 @@ +test \ No newline at end of file diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/es/dep-Bjk1mBEz6TLC2O.js b/test/chunking-form/samples/hashing/hash-size/_expected/es/dep-Bjk1mBEz6TLC2O.js new file mode 100644 index 000000000..b74a9837c --- /dev/null +++ b/test/chunking-form/samples/hashing/hash-size/_expected/es/dep-Bjk1mBEz6TLC2O.js @@ -0,0 +1 @@ +console.log('dep'); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/es/main1-CFYv4LMw.js b/test/chunking-form/samples/hashing/hash-size/_expected/es/main1-CFYv4LMw.js new file mode 100644 index 000000000..04e05fdcd --- /dev/null +++ b/test/chunking-form/samples/hashing/hash-size/_expected/es/main1-CFYv4LMw.js @@ -0,0 +1,3 @@ +import './dep-Bjk1mBEz6TLC2O.js'; + +console.log('main1'); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/es/main1-fjlEGKoF.js b/test/chunking-form/samples/hashing/hash-size/_expected/es/main1-fjlEGKoF.js deleted file mode 100644 index b60234c1c..000000000 --- a/test/chunking-form/samples/hashing/hash-size/_expected/es/main1-fjlEGKoF.js +++ /dev/null @@ -1,3 +0,0 @@ -import './dep-zBY_VBiSge8Mj4.js'; - -console.log('main1'); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/es/main2-DZLiRzpSAF.js b/test/chunking-form/samples/hashing/hash-size/_expected/es/main2-DZLiRzpSAF.js new file mode 100644 index 000000000..9c7b5a2ee --- /dev/null +++ b/test/chunking-form/samples/hashing/hash-size/_expected/es/main2-DZLiRzpSAF.js @@ -0,0 +1,3 @@ +import './dep-Bjk1mBEz6TLC2O.js'; + +console.log('main2'); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/es/main2-_s3jGKh5RD.js b/test/chunking-form/samples/hashing/hash-size/_expected/es/main2-_s3jGKh5RD.js deleted file mode 100644 index 3cb92aa8f..000000000 --- a/test/chunking-form/samples/hashing/hash-size/_expected/es/main2-_s3jGKh5RD.js +++ /dev/null @@ -1,3 +0,0 @@ -import './dep-zBY_VBiSge8Mj4.js'; - -console.log('main2'); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/es/test-C4X7hChnUe0FjTUb3j.txt b/test/chunking-form/samples/hashing/hash-size/_expected/es/test-C4X7hChnUe0FjTUb3j.txt new file mode 100644 index 000000000..30d74d258 --- /dev/null +++ b/test/chunking-form/samples/hashing/hash-size/_expected/es/test-C4X7hChnUe0FjTUb3j.txt @@ -0,0 +1 @@ +test \ No newline at end of file diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/system/dep-58OVQdrHioalt3.js b/test/chunking-form/samples/hashing/hash-size/_expected/system/dep-58OVQdrHioalt3.js new file mode 100644 index 000000000..963f20ddf --- /dev/null +++ b/test/chunking-form/samples/hashing/hash-size/_expected/system/dep-58OVQdrHioalt3.js @@ -0,0 +1,10 @@ +System.register([], (function () { + 'use strict'; + return { + execute: (function () { + + console.log('dep'); + + }) + }; +})); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/system/main1-D6XIOQ-3.js b/test/chunking-form/samples/hashing/hash-size/_expected/system/main1-D6XIOQ-3.js new file mode 100644 index 000000000..21217f80b --- /dev/null +++ b/test/chunking-form/samples/hashing/hash-size/_expected/system/main1-D6XIOQ-3.js @@ -0,0 +1,11 @@ +System.register(['./dep-58OVQdrHioalt3.js'], (function () { + 'use strict'; + return { + setters: [null], + execute: (function () { + + console.log('main1'); + + }) + }; +})); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/system/main2-DvH4my1XU3.js b/test/chunking-form/samples/hashing/hash-size/_expected/system/main2-DvH4my1XU3.js new file mode 100644 index 000000000..b785b3cac --- /dev/null +++ b/test/chunking-form/samples/hashing/hash-size/_expected/system/main2-DvH4my1XU3.js @@ -0,0 +1,11 @@ +System.register(['./dep-58OVQdrHioalt3.js'], (function () { + 'use strict'; + return { + setters: [null], + execute: (function () { + + console.log('main2'); + + }) + }; +})); diff --git a/test/chunking-form/samples/hashing/hash-size/_expected/system/test-C4X7hChnUe0FjTUb3j.txt b/test/chunking-form/samples/hashing/hash-size/_expected/system/test-C4X7hChnUe0FjTUb3j.txt new file mode 100644 index 000000000..30d74d258 --- /dev/null +++ b/test/chunking-form/samples/hashing/hash-size/_expected/system/test-C4X7hChnUe0FjTUb3j.txt @@ -0,0 +1 @@ +test \ No newline at end of file diff --git a/test/chunking-form/samples/hashing/random-match/_expected/amd/entry-1UjYC2I--1UjYC2I--!~{123}~.js b/test/chunking-form/samples/hashing/random-match/_expected/amd/entry-sQD11LPz-sQD11LPz-!~{123}~.js similarity index 69% rename from test/chunking-form/samples/hashing/random-match/_expected/amd/entry-1UjYC2I--1UjYC2I--!~{123}~.js rename to test/chunking-form/samples/hashing/random-match/_expected/amd/entry-sQD11LPz-sQD11LPz-!~{123}~.js index ea22ff4fe..675b5e878 100644 --- a/test/chunking-form/samples/hashing/random-match/_expected/amd/entry-1UjYC2I--1UjYC2I--!~{123}~.js +++ b/test/chunking-form/samples/hashing/random-match/_expected/amd/entry-sQD11LPz-sQD11LPz-!~{123}~.js @@ -1,6 +1,6 @@ define((function () { 'use strict'; - console.log('replaced: 1UjYC2I-'); + console.log('replaced: sQD11LPz'); console.log('not replaced: !~{123}~'); })); diff --git a/test/chunking-form/samples/hashing/random-match/_expected/cjs/entry-r0OE6QqP-r0OE6QqP-!~{123}~.js b/test/chunking-form/samples/hashing/random-match/_expected/cjs/entry-BZIkp09S-BZIkp09S-!~{123}~.js similarity index 60% rename from test/chunking-form/samples/hashing/random-match/_expected/cjs/entry-r0OE6QqP-r0OE6QqP-!~{123}~.js rename to test/chunking-form/samples/hashing/random-match/_expected/cjs/entry-BZIkp09S-BZIkp09S-!~{123}~.js index f927c49e2..93865c6bb 100644 --- a/test/chunking-form/samples/hashing/random-match/_expected/cjs/entry-r0OE6QqP-r0OE6QqP-!~{123}~.js +++ b/test/chunking-form/samples/hashing/random-match/_expected/cjs/entry-BZIkp09S-BZIkp09S-!~{123}~.js @@ -1,4 +1,4 @@ 'use strict'; -console.log('replaced: r0OE6QqP'); +console.log('replaced: BZIkp09S'); console.log('not replaced: !~{123}~'); diff --git a/test/chunking-form/samples/hashing/random-match/_expected/es/entry-0i8gYiAL-0i8gYiAL-!~{123}~.js b/test/chunking-form/samples/hashing/random-match/_expected/es/entry-BVS-XKSP-BVS-XKSP-!~{123}~.js similarity index 52% rename from test/chunking-form/samples/hashing/random-match/_expected/es/entry-0i8gYiAL-0i8gYiAL-!~{123}~.js rename to test/chunking-form/samples/hashing/random-match/_expected/es/entry-BVS-XKSP-BVS-XKSP-!~{123}~.js index d9abb07cb..e66804aea 100644 --- a/test/chunking-form/samples/hashing/random-match/_expected/es/entry-0i8gYiAL-0i8gYiAL-!~{123}~.js +++ b/test/chunking-form/samples/hashing/random-match/_expected/es/entry-BVS-XKSP-BVS-XKSP-!~{123}~.js @@ -1,2 +1,2 @@ -console.log('replaced: 0i8gYiAL'); +console.log('replaced: BVS-XKSP'); console.log('not replaced: !~{123}~'); diff --git a/test/chunking-form/samples/hashing/random-match/_expected/system/entry-uj5cAyaj-uj5cAyaj-!~{123}~.js b/test/chunking-form/samples/hashing/random-match/_expected/system/entry-BIeoZmJB-BIeoZmJB-!~{123}~.js similarity index 79% rename from test/chunking-form/samples/hashing/random-match/_expected/system/entry-uj5cAyaj-uj5cAyaj-!~{123}~.js rename to test/chunking-form/samples/hashing/random-match/_expected/system/entry-BIeoZmJB-BIeoZmJB-!~{123}~.js index 8af252f33..8e640e24e 100644 --- a/test/chunking-form/samples/hashing/random-match/_expected/system/entry-uj5cAyaj-uj5cAyaj-!~{123}~.js +++ b/test/chunking-form/samples/hashing/random-match/_expected/system/entry-BIeoZmJB-BIeoZmJB-!~{123}~.js @@ -3,7 +3,7 @@ System.register([], (function () { return { execute: (function () { - console.log('replaced: uj5cAyaj'); + console.log('replaced: BIeoZmJB'); console.log('not replaced: !~{123}~'); }) diff --git a/test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/amd/H3l_crHv.js b/test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/amd/B0TueUNf.js similarity index 100% rename from test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/amd/H3l_crHv.js rename to test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/amd/B0TueUNf.js diff --git a/test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/cjs/-4vUgP94.js b/test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/cjs/CZGiCtun.js similarity index 100% rename from test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/cjs/-4vUgP94.js rename to test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/cjs/CZGiCtun.js diff --git a/test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/es/A-tvJWOc.js b/test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/es/i0JfRnA6.js similarity index 100% rename from test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/es/A-tvJWOc.js rename to test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/es/i0JfRnA6.js diff --git a/test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/system/DeK55VpB.js b/test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/system/DZcpXEg4.js similarity index 100% rename from test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/system/DeK55VpB.js rename to test/chunking-form/samples/hashing/tree-shaken-dynamic-hash/_expected/system/DZcpXEg4.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/b.str-amd-hhqXr9WW.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/b.str-amd-DF7A0kMb.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/b.str-amd-hhqXr9WW.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/b.str-amd-DF7A0kMb.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/c-amd-TDR2LH-3.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/c-amd-Dx6wblfB.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/c-amd-TDR2LH-3.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/c-amd-Dx6wblfB.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/d-amd-VrgHm0xN.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/d-amd-D-AkRk0H.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/d-amd-VrgHm0xN.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/d-amd-D-AkRk0H.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/e-amd-zwUdnnpR.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/e-amd-CzsEaS33.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/e-amd-zwUdnnpR.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/e-amd-CzsEaS33.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/f-amd-6N1j88Mb.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/f-amd-BmQk4H5I.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/f-amd-6N1j88Mb.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/f-amd-BmQk4H5I.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/g-amd-bhx6veTY.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/g-amd-BWU4b_ZQ.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/g-amd-bhx6veTY.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/g-amd-BWU4b_ZQ.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/h-amd-wseWVa4P.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/h-amd-BHKDy5vy.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/h-amd-wseWVa4P.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/h-amd-BHKDy5vy.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/main-amd-7vxzdx0k.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/main-amd-7vxzdx0k.js deleted file mode 100644 index 7f6d6a9d0..000000000 --- a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/main-amd-7vxzdx0k.js +++ /dev/null @@ -1,15 +0,0 @@ -define(['exports', './nested/a-amd-skgc70zk', './b.str-amd-hhqXr9WW', './c-amd-TDR2LH-3', './d-amd-VrgHm0xN', './e-amd-zwUdnnpR', './f-amd-6N1j88Mb', './g-amd-bhx6veTY', './h-amd-wseWVa4P', './no-ext-amd-KDE3R3Gg'], (function (exports, a, b, c, d, e, f, g, h, noExt) { 'use strict'; - - - - exports.a = a; - exports.b = b; - exports.c = c; - exports.d = d; - exports.e = e; - exports.f = f; - exports.g = g; - exports.h = h; - exports.x = noExt; - -})); diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/main-amd-CyX39dyD.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/main-amd-CyX39dyD.js new file mode 100644 index 000000000..00107fd18 --- /dev/null +++ b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/main-amd-CyX39dyD.js @@ -0,0 +1,15 @@ +define(['exports', './nested/a-amd-DtRZNXzf', './b.str-amd-DF7A0kMb', './c-amd-Dx6wblfB', './d-amd-D-AkRk0H', './e-amd-CzsEaS33', './f-amd-BmQk4H5I', './g-amd-BWU4b_ZQ', './h-amd-BHKDy5vy', './no-ext-amd-Dpy8IO7f'], (function (exports, a, b, c, d, e, f, g, h, noExt) { 'use strict'; + + + + exports.a = a; + exports.b = b; + exports.c = c; + exports.d = d; + exports.e = e; + exports.f = f; + exports.g = g; + exports.h = h; + exports.x = noExt; + +})); diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/nested/a-amd-skgc70zk.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/nested/a-amd-DtRZNXzf.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/nested/a-amd-skgc70zk.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/nested/a-amd-DtRZNXzf.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/no-ext-amd-KDE3R3Gg.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/no-ext-amd-Dpy8IO7f.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/no-ext-amd-KDE3R3Gg.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/amd/no-ext-amd-Dpy8IO7f.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/b.str-cjs-oMtv8QPW.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/b.str-cjs-BS5lKJ39.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/b.str-cjs-oMtv8QPW.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/b.str-cjs-BS5lKJ39.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/c-cjs-5n06CuHC.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/c-cjs-BR0xAsc5.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/c-cjs-5n06CuHC.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/c-cjs-BR0xAsc5.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/d-cjs-Gz2CiPX0.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/d-cjs-C8q7hg53.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/d-cjs-Gz2CiPX0.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/d-cjs-C8q7hg53.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/e-cjs-WOU85U0_.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/e-cjs-bNQwZe-W.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/e-cjs-WOU85U0_.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/e-cjs-bNQwZe-W.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/f-cjs-WoWuXuZP.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/f-cjs-C1wIZHEU.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/f-cjs-WoWuXuZP.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/f-cjs-C1wIZHEU.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/g-cjs-ZcQtf4ii.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/g-cjs-GDJ2GCjN.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/g-cjs-ZcQtf4ii.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/g-cjs-GDJ2GCjN.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/h-cjs-8Kljj-VE.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/h-cjs-047ra2yr.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/h-cjs-8Kljj-VE.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/h-cjs-047ra2yr.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/main-cjs-BqXS_zT0.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/main-cjs-BqXS_zT0.js new file mode 100644 index 000000000..49504b0d4 --- /dev/null +++ b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/main-cjs-BqXS_zT0.js @@ -0,0 +1,23 @@ +'use strict'; + +var a = require('./nested/a-cjs-C_nfDF22.js'); +var b = require('./b.str-cjs-BS5lKJ39.js'); +var c = require('./c-cjs-BR0xAsc5.js'); +var d = require('./d-cjs-C8q7hg53.js'); +var e = require('./e-cjs-bNQwZe-W.js'); +var f = require('./f-cjs-C1wIZHEU.js'); +var g = require('./g-cjs-GDJ2GCjN.js'); +var h = require('./h-cjs-047ra2yr.js'); +var noExt = require('./no-ext-cjs-BGwLFM9Z.js'); + + + +exports.a = a; +exports.b = b; +exports.c = c; +exports.d = d; +exports.e = e; +exports.f = f; +exports.g = g; +exports.h = h; +exports.x = noExt; diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/main-cjs-JyKGpmTa.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/main-cjs-JyKGpmTa.js deleted file mode 100644 index d3dd810d3..000000000 --- a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/main-cjs-JyKGpmTa.js +++ /dev/null @@ -1,23 +0,0 @@ -'use strict'; - -var a = require('./nested/a-cjs-kvZ4_FEE.js'); -var b = require('./b.str-cjs-oMtv8QPW.js'); -var c = require('./c-cjs-5n06CuHC.js'); -var d = require('./d-cjs-Gz2CiPX0.js'); -var e = require('./e-cjs-WOU85U0_.js'); -var f = require('./f-cjs-WoWuXuZP.js'); -var g = require('./g-cjs-ZcQtf4ii.js'); -var h = require('./h-cjs-8Kljj-VE.js'); -var noExt = require('./no-ext-cjs-bp5EbIHi.js'); - - - -exports.a = a; -exports.b = b; -exports.c = c; -exports.d = d; -exports.e = e; -exports.f = f; -exports.g = g; -exports.h = h; -exports.x = noExt; diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/nested/a-cjs-kvZ4_FEE.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/nested/a-cjs-C_nfDF22.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/nested/a-cjs-kvZ4_FEE.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/nested/a-cjs-C_nfDF22.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/no-ext-cjs-bp5EbIHi.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/no-ext-cjs-BGwLFM9Z.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/no-ext-cjs-bp5EbIHi.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/cjs/no-ext-cjs-BGwLFM9Z.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/b.str-es-Ja5UDcox.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/b.str-es-Gs0GwhVF.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/b.str-es-Ja5UDcox.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/b.str-es-Gs0GwhVF.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/c-es-kgE3BpZP.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/c-es-ZYTOn0Eh.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/c-es-kgE3BpZP.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/c-es-ZYTOn0Eh.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/d-es-aJHyMhkA.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/d-es-Dr4mq94c.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/d-es-aJHyMhkA.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/d-es-Dr4mq94c.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/e-es-L3xdJkDr.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/e-es-C2SWm0pY.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/e-es-L3xdJkDr.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/e-es-C2SWm0pY.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/f-es--VxedyqQ.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/f-es-Bm_ir2Io.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/f-es--VxedyqQ.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/f-es-Bm_ir2Io.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/g-es-spweQtsO.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/g-es-BbU0foyF.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/g-es-spweQtsO.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/g-es-BbU0foyF.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/h-es-TRi7J9bn.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/h-es-DwzmIMUF.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/h-es-TRi7J9bn.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/h-es-DwzmIMUF.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/main-es-CMLd0Z43.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/main-es-CMLd0Z43.js new file mode 100644 index 000000000..05f16734f --- /dev/null +++ b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/main-es-CMLd0Z43.js @@ -0,0 +1,9 @@ +export { default as a } from './nested/a-es-GMZjp5vx.js'; +export { default as b } from './b.str-es-Gs0GwhVF.js'; +export { default as c } from './c-es-ZYTOn0Eh.js'; +export { default as d } from './d-es-Dr4mq94c.js'; +export { default as e } from './e-es-C2SWm0pY.js'; +export { default as f } from './f-es-Bm_ir2Io.js'; +export { default as g } from './g-es-BbU0foyF.js'; +export { default as h } from './h-es-DwzmIMUF.js'; +export { default as x } from './no-ext-es-aP4Nui9G.js'; diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/main-es-N06cocRH.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/main-es-N06cocRH.js deleted file mode 100644 index 86deb5ad8..000000000 --- a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/main-es-N06cocRH.js +++ /dev/null @@ -1,9 +0,0 @@ -export { default as a } from './nested/a-es-NSAVj3lN.js'; -export { default as b } from './b.str-es-Ja5UDcox.js'; -export { default as c } from './c-es-kgE3BpZP.js'; -export { default as d } from './d-es-aJHyMhkA.js'; -export { default as e } from './e-es-L3xdJkDr.js'; -export { default as f } from './f-es--VxedyqQ.js'; -export { default as g } from './g-es-spweQtsO.js'; -export { default as h } from './h-es-TRi7J9bn.js'; -export { default as x } from './no-ext-es-C7qwrbcM.js'; diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/nested/a-es-NSAVj3lN.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/nested/a-es-GMZjp5vx.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/nested/a-es-NSAVj3lN.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/nested/a-es-GMZjp5vx.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/no-ext-es-C7qwrbcM.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/no-ext-es-aP4Nui9G.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/no-ext-es-C7qwrbcM.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/es/no-ext-es-aP4Nui9G.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/b.str-system-XeLZkGa2.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/b.str-system-Bdh1JWaH.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/b.str-system-XeLZkGa2.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/b.str-system-Bdh1JWaH.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/c-system-YcfLlg0Y.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/c-system-CfMXlo_7.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/c-system-YcfLlg0Y.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/c-system-CfMXlo_7.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/d-system-h1TmdUx7.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/d-system-CjBJ6c43.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/d-system-h1TmdUx7.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/d-system-CjBJ6c43.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/e-system-f06TUcek.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/e-system-kCTp4Cbh.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/e-system-f06TUcek.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/e-system-kCTp4Cbh.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/f-system-BdI7g27Y.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/f-system-0MCeGExm.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/f-system-BdI7g27Y.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/f-system-0MCeGExm.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/g-system-G9CTMifv.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/g-system-BOKAS6Fy.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/g-system-G9CTMifv.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/g-system-BOKAS6Fy.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/h-system-w-mTrslh.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/h-system-BDND_AXe.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/h-system-w-mTrslh.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/h-system-BDND_AXe.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/main-system-C-sFf2gV.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/main-system-D680kXvc.js similarity index 67% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/main-system-C-sFf2gV.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/main-system-D680kXvc.js index 29bdcd27d..32f063bee 100644 --- a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/main-system-C-sFf2gV.js +++ b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/main-system-D680kXvc.js @@ -1,4 +1,4 @@ -System.register(['./nested/a-system-v8eP40XQ.js', './b.str-system-XeLZkGa2.js', './c-system-YcfLlg0Y.js', './d-system-h1TmdUx7.js', './e-system-f06TUcek.js', './f-system-BdI7g27Y.js', './g-system-G9CTMifv.js', './h-system-w-mTrslh.js', './no-ext-system-_KFMYUqd.js'], (function (exports) { +System.register(['./nested/a-system-C0NakMeD.js', './b.str-system-Bdh1JWaH.js', './c-system-CfMXlo_7.js', './d-system-CjBJ6c43.js', './e-system-kCTp4Cbh.js', './f-system-0MCeGExm.js', './g-system-BOKAS6Fy.js', './h-system-BDND_AXe.js', './no-ext-system-DT8lOU6x.js'], (function (exports) { 'use strict'; return { setters: [function (module) { diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/nested/a-system-v8eP40XQ.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/nested/a-system-C0NakMeD.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/nested/a-system-v8eP40XQ.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/nested/a-system-C0NakMeD.js diff --git a/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/no-ext-system-_KFMYUqd.js b/test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/no-ext-system-DT8lOU6x.js similarity index 100% rename from test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/no-ext-system-_KFMYUqd.js rename to test/chunking-form/samples/preserve-modules-filename-pattern/_expected/system/no-ext-system-DT8lOU6x.js diff --git a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/_virtual/_virtualModule-amd-dkCUmZZM.mjs b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/_virtual/_virtualModule-amd-CqgD4cJS.mjs similarity index 100% rename from test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/_virtual/_virtualModule-amd-dkCUmZZM.mjs rename to test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/_virtual/_virtualModule-amd-CqgD4cJS.mjs diff --git a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/_virtual/_virtualWithAssetExt.str-amd-ZmgZpO4v.mjs b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/_virtual/_virtualWithAssetExt.str-amd-Ca4QZAgp.mjs similarity index 100% rename from test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/_virtual/_virtualWithAssetExt.str-amd-ZmgZpO4v.mjs rename to test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/_virtual/_virtualWithAssetExt.str-amd-Ca4QZAgp.mjs diff --git a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/_virtual/_virtualWithExt-amd-fYdXqg2l.mjs b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/_virtual/_virtualWithExt-amd-De_T627R.mjs similarity index 100% rename from test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/_virtual/_virtualWithExt-amd-fYdXqg2l.mjs rename to test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/_virtual/_virtualWithExt-amd-De_T627R.mjs diff --git a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/main-amd-bdsEo1jf.mjs b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/main-amd-D0B6q8JD.mjs similarity index 53% rename from test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/main-amd-bdsEo1jf.mjs rename to test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/main-amd-D0B6q8JD.mjs index 5e7f1a876..18d10400f 100644 --- a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/main-amd-bdsEo1jf.mjs +++ b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/amd/main-amd-D0B6q8JD.mjs @@ -1,4 +1,4 @@ -define(['./_virtual/_virtualModule-amd-dkCUmZZM.mjs', './_virtual/_virtualWithExt-amd-fYdXqg2l.mjs', './_virtual/_virtualWithAssetExt.str-amd-ZmgZpO4v.mjs'], (function (_virtualModule, _virtualWithExt, _virtualWithAssetExt) { 'use strict'; +define(['./_virtual/_virtualModule-amd-CqgD4cJS.mjs', './_virtual/_virtualWithExt-amd-De_T627R.mjs', './_virtual/_virtualWithAssetExt.str-amd-Ca4QZAgp.mjs'], (function (_virtualModule, _virtualWithExt, _virtualWithAssetExt) { 'use strict'; assert.equal(_virtualModule.virtual, 'Virtual!'); assert.equal(_virtualWithExt.virtual2, 'Virtual2!'); diff --git a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/_virtual/_virtualModule-cjs-vsfTWOJ4.mjs b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/_virtual/_virtualModule-cjs-MENa5NhI.mjs similarity index 100% rename from test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/_virtual/_virtualModule-cjs-vsfTWOJ4.mjs rename to test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/_virtual/_virtualModule-cjs-MENa5NhI.mjs diff --git a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/_virtual/_virtualWithAssetExt.str-cjs-C3etvDA-.mjs b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/_virtual/_virtualWithAssetExt.str-cjs-B_lO0aYW.mjs similarity index 100% rename from test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/_virtual/_virtualWithAssetExt.str-cjs-C3etvDA-.mjs rename to test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/_virtual/_virtualWithAssetExt.str-cjs-B_lO0aYW.mjs diff --git a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/_virtual/_virtualWithExt-cjs-Q5dP1jbm.mjs b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/_virtual/_virtualWithExt-cjs-DP7-0s5h.mjs similarity index 100% rename from test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/_virtual/_virtualWithExt-cjs-Q5dP1jbm.mjs rename to test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/_virtual/_virtualWithExt-cjs-DP7-0s5h.mjs diff --git a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/main-cjs-6wpvmYGP.mjs b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/main-cjs-Dj-jXKJ4.mjs similarity index 56% rename from test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/main-cjs-6wpvmYGP.mjs rename to test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/main-cjs-Dj-jXKJ4.mjs index fbbe4aaf0..fcd04083a 100644 --- a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/main-cjs-6wpvmYGP.mjs +++ b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/cjs/main-cjs-Dj-jXKJ4.mjs @@ -1,8 +1,8 @@ 'use strict'; -var _virtualModule = require('./_virtual/_virtualModule-cjs-vsfTWOJ4.mjs'); -var _virtualWithExt = require('./_virtual/_virtualWithExt-cjs-Q5dP1jbm.mjs'); -var _virtualWithAssetExt = require('./_virtual/_virtualWithAssetExt.str-cjs-C3etvDA-.mjs'); +var _virtualModule = require('./_virtual/_virtualModule-cjs-MENa5NhI.mjs'); +var _virtualWithExt = require('./_virtual/_virtualWithExt-cjs-DP7-0s5h.mjs'); +var _virtualWithAssetExt = require('./_virtual/_virtualWithAssetExt.str-cjs-B_lO0aYW.mjs'); assert.equal(_virtualModule.virtual, 'Virtual!'); assert.equal(_virtualWithExt.virtual2, 'Virtual2!'); diff --git a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/_virtual/_virtualModule-es-0lAsaDxt.mjs b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/_virtual/_virtualModule-es-DVZZJXTX.mjs similarity index 100% rename from test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/_virtual/_virtualModule-es-0lAsaDxt.mjs rename to test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/_virtual/_virtualModule-es-DVZZJXTX.mjs diff --git a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/_virtual/_virtualWithAssetExt.str-es-i4KuU6IN.mjs b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/_virtual/_virtualWithAssetExt.str-es-BMZSdKwo.mjs similarity index 100% rename from test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/_virtual/_virtualWithAssetExt.str-es-i4KuU6IN.mjs rename to test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/_virtual/_virtualWithAssetExt.str-es-BMZSdKwo.mjs diff --git a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/_virtual/_virtualWithExt-es-0H_6dNOV.mjs b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/_virtual/_virtualWithExt-es-Cy2tYbl9.mjs similarity index 100% rename from test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/_virtual/_virtualWithExt-es-0H_6dNOV.mjs rename to test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/_virtual/_virtualWithExt-es-Cy2tYbl9.mjs diff --git a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/main-es-qKNN2CuL.mjs b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/main-es-Bw8Pzpud.mjs similarity index 56% rename from test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/main-es-qKNN2CuL.mjs rename to test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/main-es-Bw8Pzpud.mjs index 1b5730c37..2d75fe13e 100644 --- a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/main-es-qKNN2CuL.mjs +++ b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/es/main-es-Bw8Pzpud.mjs @@ -1,6 +1,6 @@ -import { virtual } from './_virtual/_virtualModule-es-0lAsaDxt.mjs'; -import { virtual2 } from './_virtual/_virtualWithExt-es-0H_6dNOV.mjs'; -import { virtual3 } from './_virtual/_virtualWithAssetExt.str-es-i4KuU6IN.mjs'; +import { virtual } from './_virtual/_virtualModule-es-DVZZJXTX.mjs'; +import { virtual2 } from './_virtual/_virtualWithExt-es-Cy2tYbl9.mjs'; +import { virtual3 } from './_virtual/_virtualWithAssetExt.str-es-BMZSdKwo.mjs'; assert.equal(virtual, 'Virtual!'); assert.equal(virtual2, 'Virtual2!'); diff --git a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/_virtual/_virtualModule-system-wIF__LeM.mjs b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/_virtual/_virtualModule-system-Cwdr94yk.mjs similarity index 100% rename from test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/_virtual/_virtualModule-system-wIF__LeM.mjs rename to test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/_virtual/_virtualModule-system-Cwdr94yk.mjs diff --git a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/_virtual/_virtualWithAssetExt.str-system-9UiuNSi0.mjs b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/_virtual/_virtualWithAssetExt.str-system-_UXDi4fY.mjs similarity index 100% rename from test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/_virtual/_virtualWithAssetExt.str-system-9UiuNSi0.mjs rename to test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/_virtual/_virtualWithAssetExt.str-system-_UXDi4fY.mjs diff --git a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/_virtual/_virtualWithExt-system-RILM_C-g.mjs b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/_virtual/_virtualWithExt-system-DFQIpSQr.mjs similarity index 100% rename from test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/_virtual/_virtualWithExt-system-RILM_C-g.mjs rename to test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/_virtual/_virtualWithExt-system-DFQIpSQr.mjs diff --git a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/main-system-EK6PrDgT.mjs b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/main-system-Bly5EEDC.mjs similarity index 67% rename from test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/main-system-EK6PrDgT.mjs rename to test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/main-system-Bly5EEDC.mjs index 680a1976f..7fde9e63a 100644 --- a/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/main-system-EK6PrDgT.mjs +++ b/test/chunking-form/samples/preserve-modules-virtual-modules-filename-pattern/_expected/system/main-system-Bly5EEDC.mjs @@ -1,4 +1,4 @@ -System.register(['./_virtual/_virtualModule-system-wIF__LeM.mjs', './_virtual/_virtualWithExt-system-RILM_C-g.mjs', './_virtual/_virtualWithAssetExt.str-system-9UiuNSi0.mjs'], (function () { +System.register(['./_virtual/_virtualModule-system-Cwdr94yk.mjs', './_virtual/_virtualWithExt-system-DFQIpSQr.mjs', './_virtual/_virtualWithAssetExt.str-system-_UXDi4fY.mjs'], (function () { 'use strict'; var virtual, virtual2, virtual3; return { diff --git a/test/chunking-form/samples/render-chunk-transform/_expected/amd/entry-main1-kZfhqQ-c.js b/test/chunking-form/samples/render-chunk-transform/_expected/amd/entry-main1-DTXeRbrN.js similarity index 100% rename from test/chunking-form/samples/render-chunk-transform/_expected/amd/entry-main1-kZfhqQ-c.js rename to test/chunking-form/samples/render-chunk-transform/_expected/amd/entry-main1-DTXeRbrN.js diff --git a/test/chunking-form/samples/render-chunk-transform/_expected/amd/entry-main2-HAN3t8tF.js b/test/chunking-form/samples/render-chunk-transform/_expected/amd/entry-main2-BUwyD6FV.js similarity index 62% rename from test/chunking-form/samples/render-chunk-transform/_expected/amd/entry-main2-HAN3t8tF.js rename to test/chunking-form/samples/render-chunk-transform/_expected/amd/entry-main2-BUwyD6FV.js index 9b52fb41e..22475c209 100644 --- a/test/chunking-form/samples/render-chunk-transform/_expected/amd/entry-main2-HAN3t8tF.js +++ b/test/chunking-form/samples/render-chunk-transform/_expected/amd/entry-main2-BUwyD6FV.js @@ -1,4 +1,4 @@ -import { added } from "./entry-main1-kZfhqQ-c.js"; +import { added } from "./entry-main1-DTXeRbrN.js"; console.log(added); define((function () { 'use strict'; diff --git a/test/chunking-form/samples/render-chunk-transform/_expected/cjs/entry-main1-vmW_xTy-.js b/test/chunking-form/samples/render-chunk-transform/_expected/cjs/entry-main1-CinfcDMy.js similarity index 100% rename from test/chunking-form/samples/render-chunk-transform/_expected/cjs/entry-main1-vmW_xTy-.js rename to test/chunking-form/samples/render-chunk-transform/_expected/cjs/entry-main1-CinfcDMy.js diff --git a/test/chunking-form/samples/render-chunk-transform/_expected/cjs/entry-main2-Nn78jd3g.js b/test/chunking-form/samples/render-chunk-transform/_expected/cjs/entry-main2-i24vGdI5.js similarity index 52% rename from test/chunking-form/samples/render-chunk-transform/_expected/cjs/entry-main2-Nn78jd3g.js rename to test/chunking-form/samples/render-chunk-transform/_expected/cjs/entry-main2-i24vGdI5.js index 5bc61f1e7..b09294b1a 100644 --- a/test/chunking-form/samples/render-chunk-transform/_expected/cjs/entry-main2-Nn78jd3g.js +++ b/test/chunking-form/samples/render-chunk-transform/_expected/cjs/entry-main2-i24vGdI5.js @@ -1,4 +1,4 @@ -import { added } from "./entry-main1-vmW_xTy-.js"; +import { added } from "./entry-main1-CinfcDMy.js"; console.log(added); 'use strict'; diff --git a/test/chunking-form/samples/render-chunk-transform/_expected/es/entry-main1-NHE3CPgw.js b/test/chunking-form/samples/render-chunk-transform/_expected/es/entry-main1-bUD0z9Dn.js similarity index 100% rename from test/chunking-form/samples/render-chunk-transform/_expected/es/entry-main1-NHE3CPgw.js rename to test/chunking-form/samples/render-chunk-transform/_expected/es/entry-main1-bUD0z9Dn.js diff --git a/test/chunking-form/samples/render-chunk-transform/_expected/es/entry-main2-NdATofhS.js b/test/chunking-form/samples/render-chunk-transform/_expected/es/entry-main2-NdATofhS.js new file mode 100644 index 000000000..0991aa025 --- /dev/null +++ b/test/chunking-form/samples/render-chunk-transform/_expected/es/entry-main2-NdATofhS.js @@ -0,0 +1,3 @@ +import { added } from "./entry-main1-bUD0z9Dn.js"; +console.log(added); +console.log('main2'); diff --git a/test/chunking-form/samples/render-chunk-transform/_expected/es/entry-main2-bcI4ej2q.js b/test/chunking-form/samples/render-chunk-transform/_expected/es/entry-main2-bcI4ej2q.js deleted file mode 100644 index 04d953904..000000000 --- a/test/chunking-form/samples/render-chunk-transform/_expected/es/entry-main2-bcI4ej2q.js +++ /dev/null @@ -1,3 +0,0 @@ -import { added } from "./entry-main1-NHE3CPgw.js"; -console.log(added); -console.log('main2'); diff --git a/test/chunking-form/samples/render-chunk-transform/_expected/system/entry-main1-ulqZAx1e.js b/test/chunking-form/samples/render-chunk-transform/_expected/system/entry-main1-D-6QAEdu.js similarity index 100% rename from test/chunking-form/samples/render-chunk-transform/_expected/system/entry-main1-ulqZAx1e.js rename to test/chunking-form/samples/render-chunk-transform/_expected/system/entry-main1-D-6QAEdu.js diff --git a/test/chunking-form/samples/render-chunk-transform/_expected/system/entry-main2-9TMBLN6w.js b/test/chunking-form/samples/render-chunk-transform/_expected/system/entry-main2-Bk_CgiOM.js similarity index 74% rename from test/chunking-form/samples/render-chunk-transform/_expected/system/entry-main2-9TMBLN6w.js rename to test/chunking-form/samples/render-chunk-transform/_expected/system/entry-main2-Bk_CgiOM.js index 5af564bfc..b567ba5da 100644 --- a/test/chunking-form/samples/render-chunk-transform/_expected/system/entry-main2-9TMBLN6w.js +++ b/test/chunking-form/samples/render-chunk-transform/_expected/system/entry-main2-Bk_CgiOM.js @@ -1,4 +1,4 @@ -import { added } from "./entry-main1-ulqZAx1e.js"; +import { added } from "./entry-main1-D-6QAEdu.js"; console.log(added); System.register([], (function () { 'use strict'; diff --git a/test/chunking-form/samples/render-chunk/_expected/amd/asset-test-C4X7hChn b/test/chunking-form/samples/render-chunk/_expected/amd/asset-test-C4X7hChn new file mode 100644 index 000000000..30d74d258 --- /dev/null +++ b/test/chunking-form/samples/render-chunk/_expected/amd/asset-test-C4X7hChn @@ -0,0 +1 @@ +test \ No newline at end of file diff --git a/test/chunking-form/samples/render-chunk/_expected/amd/chunk-dep2-_bTcBm_f.js b/test/chunking-form/samples/render-chunk/_expected/amd/chunk-dep2-ughyJKkd.js similarity index 69% rename from test/chunking-form/samples/render-chunk/_expected/amd/chunk-dep2-_bTcBm_f.js rename to test/chunking-form/samples/render-chunk/_expected/amd/chunk-dep2-ughyJKkd.js index fff484f12..280851161 100644 --- a/test/chunking-form/samples/render-chunk/_expected/amd/chunk-dep2-_bTcBm_f.js +++ b/test/chunking-form/samples/render-chunk/_expected/amd/chunk-dep2-ughyJKkd.js @@ -1,7 +1,7 @@ define(['require', 'exports'], (function (require, exports) { 'use strict'; var num = 2; - console.log('referenced asset', new URL(require.toUrl('./asset-test-uF-4QoZ1'), document.baseURI).href); + console.log('referenced asset', new URL(require.toUrl('./asset-test-C4X7hChn'), document.baseURI).href); exports.num = num; @@ -20,13 +20,13 @@ console.log({ "name": "dep2", "type": "chunk", "dynamicImports": [], - "fileName": "chunk-dep2-_bTcBm_f.js", + "fileName": "chunk-dep2-ughyJKkd.js", "implicitlyLoadedBefore": [], "importedBindings": {}, "imports": [], "modules": { "**/dep2.js": { - "code": "\tvar num = 2;\n\tconsole.log('referenced asset', new URL(require.toUrl('./asset-test-uF-4QoZ1'), document.baseURI).href);", + "code": "\tvar num = 2;\n\tconsole.log('referenced asset', new URL(require.toUrl('./asset-test-C4X7hChn'), document.baseURI).href);", "originalLength": 19, "removedExports": [], "renderedExports": [ @@ -36,8 +36,8 @@ console.log({ } }, "referencedFiles": [ - "asset-test-uF-4QoZ1" + "asset-test-C4X7hChn" ] }); -console.log('all chunks', ["entry-main1-n5Rl5PjH.js","entry-main2-ne4fysq0.js","chunk-dep2-_bTcBm_f.js"]) -console.log('referenced asset in renderChunk', 'asset-test-uF-4QoZ1'); +console.log('all chunks', ["entry-main1-utR7jRA-.js","entry-main2-CUgn7sNH.js","chunk-dep2-ughyJKkd.js"]) +console.log('referenced asset in renderChunk', 'asset-test-C4X7hChn'); diff --git a/test/chunking-form/samples/render-chunk/_expected/amd/entry-main1-n5Rl5PjH.js b/test/chunking-form/samples/render-chunk/_expected/amd/entry-main1-utR7jRA-.js similarity index 65% rename from test/chunking-form/samples/render-chunk/_expected/amd/entry-main1-n5Rl5PjH.js rename to test/chunking-form/samples/render-chunk/_expected/amd/entry-main1-utR7jRA-.js index d0bffe932..204211dbd 100644 --- a/test/chunking-form/samples/render-chunk/_expected/amd/entry-main1-n5Rl5PjH.js +++ b/test/chunking-form/samples/render-chunk/_expected/amd/entry-main1-utR7jRA-.js @@ -1,10 +1,10 @@ -define(['require', './chunk-dep2-_bTcBm_f'], (function (require, dep2) { 'use strict'; +define(['require', './chunk-dep2-ughyJKkd'], (function (require, dep2) { 'use strict'; var num = 1; - console.log('referenced asset', new URL(require.toUrl('./asset-test-uF-4QoZ1'), document.baseURI).href); + console.log('referenced asset', new URL(require.toUrl('./asset-test-C4X7hChn'), document.baseURI).href); console.log(num + dep2.num); - console.log('referenced asset', new URL(require.toUrl('./asset-test-uF-4QoZ1'), document.baseURI).href); + console.log('referenced asset', new URL(require.toUrl('./asset-test-C4X7hChn'), document.baseURI).href); })); console.log({ @@ -20,19 +20,19 @@ console.log({ "name": "main1", "type": "chunk", "dynamicImports": [], - "fileName": "entry-main1-n5Rl5PjH.js", + "fileName": "entry-main1-utR7jRA-.js", "implicitlyLoadedBefore": [], "importedBindings": { - "chunk-dep2-_bTcBm_f.js": [ + "chunk-dep2-ughyJKkd.js": [ "num" ] }, "imports": [ - "chunk-dep2-_bTcBm_f.js" + "chunk-dep2-ughyJKkd.js" ], "modules": { "**/dep1.js": { - "code": "\tvar num = 1;\n\tconsole.log('referenced asset', new URL(require.toUrl('./asset-test-uF-4QoZ1'), document.baseURI).href);", + "code": "\tvar num = 1;\n\tconsole.log('referenced asset', new URL(require.toUrl('./asset-test-C4X7hChn'), document.baseURI).href);", "originalLength": 19, "removedExports": [], "renderedExports": [ @@ -41,7 +41,7 @@ console.log({ "renderedLength": 117 }, "**/main1.js": { - "code": "\tconsole.log(num + dep2.num);\n\tconsole.log('referenced asset', new URL(require.toUrl('./asset-test-uF-4QoZ1'), document.baseURI).href);", + "code": "\tconsole.log(num + dep2.num);\n\tconsole.log('referenced asset', new URL(require.toUrl('./asset-test-C4X7hChn'), document.baseURI).href);", "originalLength": 102, "removedExports": [], "renderedExports": [], @@ -49,8 +49,8 @@ console.log({ } }, "referencedFiles": [ - "asset-test-uF-4QoZ1" + "asset-test-C4X7hChn" ] }); -console.log('all chunks', ["entry-main1-n5Rl5PjH.js","entry-main2-ne4fysq0.js","chunk-dep2-_bTcBm_f.js"]) -console.log('referenced asset in renderChunk', 'asset-test-uF-4QoZ1'); +console.log('all chunks', ["entry-main1-utR7jRA-.js","entry-main2-CUgn7sNH.js","chunk-dep2-ughyJKkd.js"]) +console.log('referenced asset in renderChunk', 'asset-test-C4X7hChn'); diff --git a/test/chunking-form/samples/render-chunk/_expected/amd/entry-main2-ne4fysq0.js b/test/chunking-form/samples/render-chunk/_expected/amd/entry-main2-CUgn7sNH.js similarity index 65% rename from test/chunking-form/samples/render-chunk/_expected/amd/entry-main2-ne4fysq0.js rename to test/chunking-form/samples/render-chunk/_expected/amd/entry-main2-CUgn7sNH.js index 2ae915dd6..586c20d5f 100644 --- a/test/chunking-form/samples/render-chunk/_expected/amd/entry-main2-ne4fysq0.js +++ b/test/chunking-form/samples/render-chunk/_expected/amd/entry-main2-CUgn7sNH.js @@ -1,10 +1,10 @@ -define(['require', './chunk-dep2-_bTcBm_f'], (function (require, dep2) { 'use strict'; +define(['require', './chunk-dep2-ughyJKkd'], (function (require, dep2) { 'use strict'; var num = 3; - console.log('referenced asset', new URL(require.toUrl('./asset-test-uF-4QoZ1'), document.baseURI).href); + console.log('referenced asset', new URL(require.toUrl('./asset-test-C4X7hChn'), document.baseURI).href); console.log(dep2.num + num); - console.log('referenced asset', new URL(require.toUrl('./asset-test-uF-4QoZ1'), document.baseURI).href); + console.log('referenced asset', new URL(require.toUrl('./asset-test-C4X7hChn'), document.baseURI).href); })); console.log({ @@ -20,19 +20,19 @@ console.log({ "name": "main2", "type": "chunk", "dynamicImports": [], - "fileName": "entry-main2-ne4fysq0.js", + "fileName": "entry-main2-CUgn7sNH.js", "implicitlyLoadedBefore": [], "importedBindings": { - "chunk-dep2-_bTcBm_f.js": [ + "chunk-dep2-ughyJKkd.js": [ "num" ] }, "imports": [ - "chunk-dep2-_bTcBm_f.js" + "chunk-dep2-ughyJKkd.js" ], "modules": { "**/dep3.js": { - "code": "\tvar num = 3;\n\tconsole.log('referenced asset', new URL(require.toUrl('./asset-test-uF-4QoZ1'), document.baseURI).href);", + "code": "\tvar num = 3;\n\tconsole.log('referenced asset', new URL(require.toUrl('./asset-test-C4X7hChn'), document.baseURI).href);", "originalLength": 19, "removedExports": [], "renderedExports": [ @@ -41,7 +41,7 @@ console.log({ "renderedLength": 117 }, "**/main2.js": { - "code": "\tconsole.log(dep2.num + num);\n\tconsole.log('referenced asset', new URL(require.toUrl('./asset-test-uF-4QoZ1'), document.baseURI).href);", + "code": "\tconsole.log(dep2.num + num);\n\tconsole.log('referenced asset', new URL(require.toUrl('./asset-test-C4X7hChn'), document.baseURI).href);", "originalLength": 102, "removedExports": [], "renderedExports": [], @@ -49,8 +49,8 @@ console.log({ } }, "referencedFiles": [ - "asset-test-uF-4QoZ1" + "asset-test-C4X7hChn" ] }); -console.log('all chunks', ["entry-main1-n5Rl5PjH.js","entry-main2-ne4fysq0.js","chunk-dep2-_bTcBm_f.js"]) -console.log('referenced asset in renderChunk', 'asset-test-uF-4QoZ1'); +console.log('all chunks', ["entry-main1-utR7jRA-.js","entry-main2-CUgn7sNH.js","chunk-dep2-ughyJKkd.js"]) +console.log('referenced asset in renderChunk', 'asset-test-C4X7hChn'); diff --git a/test/chunking-form/samples/render-chunk/_expected/cjs/asset-test-C4X7hChn b/test/chunking-form/samples/render-chunk/_expected/cjs/asset-test-C4X7hChn new file mode 100644 index 000000000..30d74d258 --- /dev/null +++ b/test/chunking-form/samples/render-chunk/_expected/cjs/asset-test-C4X7hChn @@ -0,0 +1 @@ +test \ No newline at end of file diff --git a/test/chunking-form/samples/render-chunk/_expected/cjs/chunk-dep2-XPNbbDh-.js b/test/chunking-form/samples/render-chunk/_expected/cjs/chunk-dep2-DaLIbws0.js similarity index 63% rename from test/chunking-form/samples/render-chunk/_expected/cjs/chunk-dep2-XPNbbDh-.js rename to test/chunking-form/samples/render-chunk/_expected/cjs/chunk-dep2-DaLIbws0.js index f203a28c8..b87472409 100644 --- a/test/chunking-form/samples/render-chunk/_expected/cjs/chunk-dep2-XPNbbDh-.js +++ b/test/chunking-form/samples/render-chunk/_expected/cjs/chunk-dep2-DaLIbws0.js @@ -1,7 +1,7 @@ 'use strict'; var num = 2; -console.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-uF-4QoZ1').href : new URL('asset-test-uF-4QoZ1', document.currentScript && document.currentScript.src || document.baseURI).href)); +console.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-C4X7hChn').href : new URL('asset-test-C4X7hChn', document.currentScript && document.currentScript.src || document.baseURI).href)); exports.num = num; console.log({ @@ -18,13 +18,13 @@ console.log({ "name": "dep2", "type": "chunk", "dynamicImports": [], - "fileName": "chunk-dep2-XPNbbDh-.js", + "fileName": "chunk-dep2-DaLIbws0.js", "implicitlyLoadedBefore": [], "importedBindings": {}, "imports": [], "modules": { "**/dep2.js": { - "code": "var num = 2;\nconsole.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-uF-4QoZ1').href : new URL('asset-test-uF-4QoZ1', document.currentScript && document.currentScript.src || document.baseURI).href));", + "code": "var num = 2;\nconsole.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-C4X7hChn').href : new URL('asset-test-C4X7hChn', document.currentScript && document.currentScript.src || document.baseURI).href));", "originalLength": 19, "removedExports": [], "renderedExports": [ @@ -34,8 +34,8 @@ console.log({ } }, "referencedFiles": [ - "asset-test-uF-4QoZ1" + "asset-test-C4X7hChn" ] }); -console.log('all chunks', ["entry-main1-zV-9xTLy.js","entry-main2-urBx_vfo.js","chunk-dep2-XPNbbDh-.js"]) -console.log('referenced asset in renderChunk', 'asset-test-uF-4QoZ1'); +console.log('all chunks', ["entry-main1-s6RHXqBe.js","entry-main2-DPo9-iBy.js","chunk-dep2-DaLIbws0.js"]) +console.log('referenced asset in renderChunk', 'asset-test-C4X7hChn'); diff --git a/test/chunking-form/samples/render-chunk/_expected/cjs/entry-main1-zV-9xTLy.js b/test/chunking-form/samples/render-chunk/_expected/cjs/entry-main1-s6RHXqBe.js similarity index 61% rename from test/chunking-form/samples/render-chunk/_expected/cjs/entry-main1-zV-9xTLy.js rename to test/chunking-form/samples/render-chunk/_expected/cjs/entry-main1-s6RHXqBe.js index 723e55840..78e774901 100644 --- a/test/chunking-form/samples/render-chunk/_expected/cjs/entry-main1-zV-9xTLy.js +++ b/test/chunking-form/samples/render-chunk/_expected/cjs/entry-main1-s6RHXqBe.js @@ -1,12 +1,12 @@ 'use strict'; -var dep2 = require('./chunk-dep2-XPNbbDh-.js'); +var dep2 = require('./chunk-dep2-DaLIbws0.js'); var num = 1; -console.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-uF-4QoZ1').href : new URL('asset-test-uF-4QoZ1', document.currentScript && document.currentScript.src || document.baseURI).href)); +console.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-C4X7hChn').href : new URL('asset-test-C4X7hChn', document.currentScript && document.currentScript.src || document.baseURI).href)); console.log(num + dep2.num); -console.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-uF-4QoZ1').href : new URL('asset-test-uF-4QoZ1', document.currentScript && document.currentScript.src || document.baseURI).href)); +console.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-C4X7hChn').href : new URL('asset-test-C4X7hChn', document.currentScript && document.currentScript.src || document.baseURI).href)); console.log({ "exports": [], "facadeModuleId": "**/main1.js", @@ -20,19 +20,19 @@ console.log({ "name": "main1", "type": "chunk", "dynamicImports": [], - "fileName": "entry-main1-zV-9xTLy.js", + "fileName": "entry-main1-s6RHXqBe.js", "implicitlyLoadedBefore": [], "importedBindings": { - "chunk-dep2-XPNbbDh-.js": [ + "chunk-dep2-DaLIbws0.js": [ "num" ] }, "imports": [ - "chunk-dep2-XPNbbDh-.js" + "chunk-dep2-DaLIbws0.js" ], "modules": { "**/dep1.js": { - "code": "var num = 1;\nconsole.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-uF-4QoZ1').href : new URL('asset-test-uF-4QoZ1', document.currentScript && document.currentScript.src || document.baseURI).href));", + "code": "var num = 1;\nconsole.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-C4X7hChn').href : new URL('asset-test-C4X7hChn', document.currentScript && document.currentScript.src || document.baseURI).href));", "originalLength": 19, "removedExports": [], "renderedExports": [ @@ -41,7 +41,7 @@ console.log({ "renderedLength": 269 }, "**/main1.js": { - "code": "console.log(num + dep2.num);\nconsole.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-uF-4QoZ1').href : new URL('asset-test-uF-4QoZ1', document.currentScript && document.currentScript.src || document.baseURI).href));", + "code": "console.log(num + dep2.num);\nconsole.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-C4X7hChn').href : new URL('asset-test-C4X7hChn', document.currentScript && document.currentScript.src || document.baseURI).href));", "originalLength": 102, "removedExports": [], "renderedExports": [], @@ -49,8 +49,8 @@ console.log({ } }, "referencedFiles": [ - "asset-test-uF-4QoZ1" + "asset-test-C4X7hChn" ] }); -console.log('all chunks', ["entry-main1-zV-9xTLy.js","entry-main2-urBx_vfo.js","chunk-dep2-XPNbbDh-.js"]) -console.log('referenced asset in renderChunk', 'asset-test-uF-4QoZ1'); +console.log('all chunks', ["entry-main1-s6RHXqBe.js","entry-main2-DPo9-iBy.js","chunk-dep2-DaLIbws0.js"]) +console.log('referenced asset in renderChunk', 'asset-test-C4X7hChn'); diff --git a/test/chunking-form/samples/render-chunk/_expected/cjs/entry-main2-urBx_vfo.js b/test/chunking-form/samples/render-chunk/_expected/cjs/entry-main2-DPo9-iBy.js similarity index 61% rename from test/chunking-form/samples/render-chunk/_expected/cjs/entry-main2-urBx_vfo.js rename to test/chunking-form/samples/render-chunk/_expected/cjs/entry-main2-DPo9-iBy.js index 05b4f92fa..a457a1cf0 100644 --- a/test/chunking-form/samples/render-chunk/_expected/cjs/entry-main2-urBx_vfo.js +++ b/test/chunking-form/samples/render-chunk/_expected/cjs/entry-main2-DPo9-iBy.js @@ -1,12 +1,12 @@ 'use strict'; -var dep2 = require('./chunk-dep2-XPNbbDh-.js'); +var dep2 = require('./chunk-dep2-DaLIbws0.js'); var num = 3; -console.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-uF-4QoZ1').href : new URL('asset-test-uF-4QoZ1', document.currentScript && document.currentScript.src || document.baseURI).href)); +console.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-C4X7hChn').href : new URL('asset-test-C4X7hChn', document.currentScript && document.currentScript.src || document.baseURI).href)); console.log(dep2.num + num); -console.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-uF-4QoZ1').href : new URL('asset-test-uF-4QoZ1', document.currentScript && document.currentScript.src || document.baseURI).href)); +console.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-C4X7hChn').href : new URL('asset-test-C4X7hChn', document.currentScript && document.currentScript.src || document.baseURI).href)); console.log({ "exports": [], "facadeModuleId": "**/main2.js", @@ -20,19 +20,19 @@ console.log({ "name": "main2", "type": "chunk", "dynamicImports": [], - "fileName": "entry-main2-urBx_vfo.js", + "fileName": "entry-main2-DPo9-iBy.js", "implicitlyLoadedBefore": [], "importedBindings": { - "chunk-dep2-XPNbbDh-.js": [ + "chunk-dep2-DaLIbws0.js": [ "num" ] }, "imports": [ - "chunk-dep2-XPNbbDh-.js" + "chunk-dep2-DaLIbws0.js" ], "modules": { "**/dep3.js": { - "code": "var num = 3;\nconsole.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-uF-4QoZ1').href : new URL('asset-test-uF-4QoZ1', document.currentScript && document.currentScript.src || document.baseURI).href));", + "code": "var num = 3;\nconsole.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-C4X7hChn').href : new URL('asset-test-C4X7hChn', document.currentScript && document.currentScript.src || document.baseURI).href));", "originalLength": 19, "removedExports": [], "renderedExports": [ @@ -41,7 +41,7 @@ console.log({ "renderedLength": 269 }, "**/main2.js": { - "code": "console.log(dep2.num + num);\nconsole.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-uF-4QoZ1').href : new URL('asset-test-uF-4QoZ1', document.currentScript && document.currentScript.src || document.baseURI).href));", + "code": "console.log(dep2.num + num);\nconsole.log('referenced asset', (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/asset-test-C4X7hChn').href : new URL('asset-test-C4X7hChn', document.currentScript && document.currentScript.src || document.baseURI).href));", "originalLength": 102, "removedExports": [], "renderedExports": [], @@ -49,8 +49,8 @@ console.log({ } }, "referencedFiles": [ - "asset-test-uF-4QoZ1" + "asset-test-C4X7hChn" ] }); -console.log('all chunks', ["entry-main1-zV-9xTLy.js","entry-main2-urBx_vfo.js","chunk-dep2-XPNbbDh-.js"]) -console.log('referenced asset in renderChunk', 'asset-test-uF-4QoZ1'); +console.log('all chunks', ["entry-main1-s6RHXqBe.js","entry-main2-DPo9-iBy.js","chunk-dep2-DaLIbws0.js"]) +console.log('referenced asset in renderChunk', 'asset-test-C4X7hChn'); diff --git a/test/chunking-form/samples/render-chunk/_expected/es/asset-test-C4X7hChn b/test/chunking-form/samples/render-chunk/_expected/es/asset-test-C4X7hChn new file mode 100644 index 000000000..30d74d258 --- /dev/null +++ b/test/chunking-form/samples/render-chunk/_expected/es/asset-test-C4X7hChn @@ -0,0 +1 @@ +test \ No newline at end of file diff --git a/test/chunking-form/samples/render-chunk/_expected/es/chunk-dep2-P6jMk6bJ.js b/test/chunking-form/samples/render-chunk/_expected/es/chunk-dep2-CQDaPkp1.js similarity index 64% rename from test/chunking-form/samples/render-chunk/_expected/es/chunk-dep2-P6jMk6bJ.js rename to test/chunking-form/samples/render-chunk/_expected/es/chunk-dep2-CQDaPkp1.js index 7b4ceb759..6f2a7b744 100644 --- a/test/chunking-form/samples/render-chunk/_expected/es/chunk-dep2-P6jMk6bJ.js +++ b/test/chunking-form/samples/render-chunk/_expected/es/chunk-dep2-CQDaPkp1.js @@ -1,5 +1,5 @@ var num = 2; -console.log('referenced asset', new URL('asset-test-uF-4QoZ1', import.meta.url).href); +console.log('referenced asset', new URL('asset-test-C4X7hChn', import.meta.url).href); export { num as n }; console.log({ @@ -16,13 +16,13 @@ console.log({ "name": "dep2", "type": "chunk", "dynamicImports": [], - "fileName": "chunk-dep2-P6jMk6bJ.js", + "fileName": "chunk-dep2-CQDaPkp1.js", "implicitlyLoadedBefore": [], "importedBindings": {}, "imports": [], "modules": { "**/dep2.js": { - "code": "var num = 2;\nconsole.log('referenced asset', new URL('asset-test-uF-4QoZ1', import.meta.url).href);", + "code": "var num = 2;\nconsole.log('referenced asset', new URL('asset-test-C4X7hChn', import.meta.url).href);", "originalLength": 19, "removedExports": [], "renderedExports": [ @@ -32,8 +32,8 @@ console.log({ } }, "referencedFiles": [ - "asset-test-uF-4QoZ1" + "asset-test-C4X7hChn" ] }); -console.log('all chunks', ["entry-main1--LupZW-p.js","entry-main2-wXJ52_9X.js","chunk-dep2-P6jMk6bJ.js"]) -console.log('referenced asset in renderChunk', 'asset-test-uF-4QoZ1'); +console.log('all chunks', ["entry-main1-Ckv7K5sz.js","entry-main2-Ckd5ikIS.js","chunk-dep2-CQDaPkp1.js"]) +console.log('referenced asset in renderChunk', 'asset-test-C4X7hChn'); diff --git a/test/chunking-form/samples/render-chunk/_expected/es/entry-main1--LupZW-p.js b/test/chunking-form/samples/render-chunk/_expected/es/entry-main1-Ckv7K5sz.js similarity index 60% rename from test/chunking-form/samples/render-chunk/_expected/es/entry-main1--LupZW-p.js rename to test/chunking-form/samples/render-chunk/_expected/es/entry-main1-Ckv7K5sz.js index d4f4182a6..671376f4b 100644 --- a/test/chunking-form/samples/render-chunk/_expected/es/entry-main1--LupZW-p.js +++ b/test/chunking-form/samples/render-chunk/_expected/es/entry-main1-Ckv7K5sz.js @@ -1,10 +1,10 @@ -import { n as num$1 } from './chunk-dep2-P6jMk6bJ.js'; +import { n as num$1 } from './chunk-dep2-CQDaPkp1.js'; var num = 1; -console.log('referenced asset', new URL('asset-test-uF-4QoZ1', import.meta.url).href); +console.log('referenced asset', new URL('asset-test-C4X7hChn', import.meta.url).href); console.log(num + num$1); -console.log('referenced asset', new URL('asset-test-uF-4QoZ1', import.meta.url).href); +console.log('referenced asset', new URL('asset-test-C4X7hChn', import.meta.url).href); console.log({ "exports": [], "facadeModuleId": "**/main1.js", @@ -18,19 +18,19 @@ console.log({ "name": "main1", "type": "chunk", "dynamicImports": [], - "fileName": "entry-main1--LupZW-p.js", + "fileName": "entry-main1-Ckv7K5sz.js", "implicitlyLoadedBefore": [], "importedBindings": { - "chunk-dep2-P6jMk6bJ.js": [ + "chunk-dep2-CQDaPkp1.js": [ "n" ] }, "imports": [ - "chunk-dep2-P6jMk6bJ.js" + "chunk-dep2-CQDaPkp1.js" ], "modules": { "**/dep1.js": { - "code": "var num = 1;\nconsole.log('referenced asset', new URL('asset-test-uF-4QoZ1', import.meta.url).href);", + "code": "var num = 1;\nconsole.log('referenced asset', new URL('asset-test-C4X7hChn', import.meta.url).href);", "originalLength": 19, "removedExports": [], "renderedExports": [ @@ -39,7 +39,7 @@ console.log({ "renderedLength": 99 }, "**/main1.js": { - "code": "console.log(num + num$1);\nconsole.log('referenced asset', new URL('asset-test-uF-4QoZ1', import.meta.url).href);", + "code": "console.log(num + num$1);\nconsole.log('referenced asset', new URL('asset-test-C4X7hChn', import.meta.url).href);", "originalLength": 102, "removedExports": [], "renderedExports": [], @@ -47,8 +47,8 @@ console.log({ } }, "referencedFiles": [ - "asset-test-uF-4QoZ1" + "asset-test-C4X7hChn" ] }); -console.log('all chunks', ["entry-main1--LupZW-p.js","entry-main2-wXJ52_9X.js","chunk-dep2-P6jMk6bJ.js"]) -console.log('referenced asset in renderChunk', 'asset-test-uF-4QoZ1'); +console.log('all chunks', ["entry-main1-Ckv7K5sz.js","entry-main2-Ckd5ikIS.js","chunk-dep2-CQDaPkp1.js"]) +console.log('referenced asset in renderChunk', 'asset-test-C4X7hChn'); diff --git a/test/chunking-form/samples/render-chunk/_expected/es/entry-main2-wXJ52_9X.js b/test/chunking-form/samples/render-chunk/_expected/es/entry-main2-Ckd5ikIS.js similarity index 60% rename from test/chunking-form/samples/render-chunk/_expected/es/entry-main2-wXJ52_9X.js rename to test/chunking-form/samples/render-chunk/_expected/es/entry-main2-Ckd5ikIS.js index 0d7280858..0f9ec6673 100644 --- a/test/chunking-form/samples/render-chunk/_expected/es/entry-main2-wXJ52_9X.js +++ b/test/chunking-form/samples/render-chunk/_expected/es/entry-main2-Ckd5ikIS.js @@ -1,10 +1,10 @@ -import { n as num$1 } from './chunk-dep2-P6jMk6bJ.js'; +import { n as num$1 } from './chunk-dep2-CQDaPkp1.js'; var num = 3; -console.log('referenced asset', new URL('asset-test-uF-4QoZ1', import.meta.url).href); +console.log('referenced asset', new URL('asset-test-C4X7hChn', import.meta.url).href); console.log(num$1 + num); -console.log('referenced asset', new URL('asset-test-uF-4QoZ1', import.meta.url).href); +console.log('referenced asset', new URL('asset-test-C4X7hChn', import.meta.url).href); console.log({ "exports": [], "facadeModuleId": "**/main2.js", @@ -18,19 +18,19 @@ console.log({ "name": "main2", "type": "chunk", "dynamicImports": [], - "fileName": "entry-main2-wXJ52_9X.js", + "fileName": "entry-main2-Ckd5ikIS.js", "implicitlyLoadedBefore": [], "importedBindings": { - "chunk-dep2-P6jMk6bJ.js": [ + "chunk-dep2-CQDaPkp1.js": [ "n" ] }, "imports": [ - "chunk-dep2-P6jMk6bJ.js" + "chunk-dep2-CQDaPkp1.js" ], "modules": { "**/dep3.js": { - "code": "var num = 3;\nconsole.log('referenced asset', new URL('asset-test-uF-4QoZ1', import.meta.url).href);", + "code": "var num = 3;\nconsole.log('referenced asset', new URL('asset-test-C4X7hChn', import.meta.url).href);", "originalLength": 19, "removedExports": [], "renderedExports": [ @@ -39,7 +39,7 @@ console.log({ "renderedLength": 99 }, "**/main2.js": { - "code": "console.log(num$1 + num);\nconsole.log('referenced asset', new URL('asset-test-uF-4QoZ1', import.meta.url).href);", + "code": "console.log(num$1 + num);\nconsole.log('referenced asset', new URL('asset-test-C4X7hChn', import.meta.url).href);", "originalLength": 102, "removedExports": [], "renderedExports": [], @@ -47,8 +47,8 @@ console.log({ } }, "referencedFiles": [ - "asset-test-uF-4QoZ1" + "asset-test-C4X7hChn" ] }); -console.log('all chunks', ["entry-main1--LupZW-p.js","entry-main2-wXJ52_9X.js","chunk-dep2-P6jMk6bJ.js"]) -console.log('referenced asset in renderChunk', 'asset-test-uF-4QoZ1'); +console.log('all chunks', ["entry-main1-Ckv7K5sz.js","entry-main2-Ckd5ikIS.js","chunk-dep2-CQDaPkp1.js"]) +console.log('referenced asset in renderChunk', 'asset-test-C4X7hChn'); diff --git a/test/chunking-form/samples/render-chunk/_expected/system/asset-test-C4X7hChn b/test/chunking-form/samples/render-chunk/_expected/system/asset-test-C4X7hChn new file mode 100644 index 000000000..30d74d258 --- /dev/null +++ b/test/chunking-form/samples/render-chunk/_expected/system/asset-test-C4X7hChn @@ -0,0 +1 @@ +test \ No newline at end of file diff --git a/test/chunking-form/samples/render-chunk/_expected/system/chunk-dep2-fl4XqPqA.js b/test/chunking-form/samples/render-chunk/_expected/system/chunk-dep2-C9ddpexS.js similarity index 67% rename from test/chunking-form/samples/render-chunk/_expected/system/chunk-dep2-fl4XqPqA.js rename to test/chunking-form/samples/render-chunk/_expected/system/chunk-dep2-C9ddpexS.js index 8ca165861..43d818931 100644 --- a/test/chunking-form/samples/render-chunk/_expected/system/chunk-dep2-fl4XqPqA.js +++ b/test/chunking-form/samples/render-chunk/_expected/system/chunk-dep2-C9ddpexS.js @@ -4,7 +4,7 @@ System.register([], (function (exports, module) { execute: (function () { var num = exports("n", 2); - console.log('referenced asset', new URL('asset-test-uF-4QoZ1', module.meta.url).href); + console.log('referenced asset', new URL('asset-test-C4X7hChn', module.meta.url).href); }) }; @@ -23,13 +23,13 @@ console.log({ "name": "dep2", "type": "chunk", "dynamicImports": [], - "fileName": "chunk-dep2-fl4XqPqA.js", + "fileName": "chunk-dep2-C9ddpexS.js", "implicitlyLoadedBefore": [], "importedBindings": {}, "imports": [], "modules": { "**/dep2.js": { - "code": "\t\t\tvar num = exports(\"n\", 2);\n\t\t\tconsole.log('referenced asset', new URL('asset-test-uF-4QoZ1', module.meta.url).href);", + "code": "\t\t\tvar num = exports(\"n\", 2);\n\t\t\tconsole.log('referenced asset', new URL('asset-test-C4X7hChn', module.meta.url).href);", "originalLength": 19, "removedExports": [], "renderedExports": [ @@ -39,8 +39,8 @@ console.log({ } }, "referencedFiles": [ - "asset-test-uF-4QoZ1" + "asset-test-C4X7hChn" ] }); -console.log('all chunks', ["entry-main1-tjQATGfh.js","entry-main2-tZeXhorV.js","chunk-dep2-fl4XqPqA.js"]) -console.log('referenced asset in renderChunk', 'asset-test-uF-4QoZ1'); +console.log('all chunks', ["entry-main1-Jmzu7nOJ.js","entry-main2-ByL47NtH.js","chunk-dep2-C9ddpexS.js"]) +console.log('referenced asset in renderChunk', 'asset-test-C4X7hChn'); diff --git a/test/chunking-form/samples/render-chunk/_expected/system/entry-main1-tjQATGfh.js b/test/chunking-form/samples/render-chunk/_expected/system/entry-main1-Jmzu7nOJ.js similarity index 63% rename from test/chunking-form/samples/render-chunk/_expected/system/entry-main1-tjQATGfh.js rename to test/chunking-form/samples/render-chunk/_expected/system/entry-main1-Jmzu7nOJ.js index 1dfc43983..3bc647d21 100644 --- a/test/chunking-form/samples/render-chunk/_expected/system/entry-main1-tjQATGfh.js +++ b/test/chunking-form/samples/render-chunk/_expected/system/entry-main1-Jmzu7nOJ.js @@ -1,4 +1,4 @@ -System.register(['./chunk-dep2-fl4XqPqA.js'], (function (exports, module) { +System.register(['./chunk-dep2-C9ddpexS.js'], (function (exports, module) { 'use strict'; var num$1; return { @@ -8,10 +8,10 @@ System.register(['./chunk-dep2-fl4XqPqA.js'], (function (exports, module) { execute: (function () { var num = 1; - console.log('referenced asset', new URL('asset-test-uF-4QoZ1', module.meta.url).href); + console.log('referenced asset', new URL('asset-test-C4X7hChn', module.meta.url).href); console.log(num + num$1); - console.log('referenced asset', new URL('asset-test-uF-4QoZ1', module.meta.url).href); + console.log('referenced asset', new URL('asset-test-C4X7hChn', module.meta.url).href); }) }; @@ -29,19 +29,19 @@ console.log({ "name": "main1", "type": "chunk", "dynamicImports": [], - "fileName": "entry-main1-tjQATGfh.js", + "fileName": "entry-main1-Jmzu7nOJ.js", "implicitlyLoadedBefore": [], "importedBindings": { - "chunk-dep2-fl4XqPqA.js": [ + "chunk-dep2-C9ddpexS.js": [ "n" ] }, "imports": [ - "chunk-dep2-fl4XqPqA.js" + "chunk-dep2-C9ddpexS.js" ], "modules": { "**/dep1.js": { - "code": "\t\t\tvar num = 1;\n\t\t\tconsole.log('referenced asset', new URL('asset-test-uF-4QoZ1', module.meta.url).href);", + "code": "\t\t\tvar num = 1;\n\t\t\tconsole.log('referenced asset', new URL('asset-test-C4X7hChn', module.meta.url).href);", "originalLength": 19, "removedExports": [], "renderedExports": [ @@ -50,7 +50,7 @@ console.log({ "renderedLength": 99 }, "**/main1.js": { - "code": "\t\t\tconsole.log(num + num$1);\n\t\t\tconsole.log('referenced asset', new URL('asset-test-uF-4QoZ1', module.meta.url).href);", + "code": "\t\t\tconsole.log(num + num$1);\n\t\t\tconsole.log('referenced asset', new URL('asset-test-C4X7hChn', module.meta.url).href);", "originalLength": 102, "removedExports": [], "renderedExports": [], @@ -58,8 +58,8 @@ console.log({ } }, "referencedFiles": [ - "asset-test-uF-4QoZ1" + "asset-test-C4X7hChn" ] }); -console.log('all chunks', ["entry-main1-tjQATGfh.js","entry-main2-tZeXhorV.js","chunk-dep2-fl4XqPqA.js"]) -console.log('referenced asset in renderChunk', 'asset-test-uF-4QoZ1'); +console.log('all chunks', ["entry-main1-Jmzu7nOJ.js","entry-main2-ByL47NtH.js","chunk-dep2-C9ddpexS.js"]) +console.log('referenced asset in renderChunk', 'asset-test-C4X7hChn'); diff --git a/test/chunking-form/samples/render-chunk/_expected/system/entry-main2-tZeXhorV.js b/test/chunking-form/samples/render-chunk/_expected/system/entry-main2-ByL47NtH.js similarity index 63% rename from test/chunking-form/samples/render-chunk/_expected/system/entry-main2-tZeXhorV.js rename to test/chunking-form/samples/render-chunk/_expected/system/entry-main2-ByL47NtH.js index 28fa810f0..dcdefe337 100644 --- a/test/chunking-form/samples/render-chunk/_expected/system/entry-main2-tZeXhorV.js +++ b/test/chunking-form/samples/render-chunk/_expected/system/entry-main2-ByL47NtH.js @@ -1,4 +1,4 @@ -System.register(['./chunk-dep2-fl4XqPqA.js'], (function (exports, module) { +System.register(['./chunk-dep2-C9ddpexS.js'], (function (exports, module) { 'use strict'; var num$1; return { @@ -8,10 +8,10 @@ System.register(['./chunk-dep2-fl4XqPqA.js'], (function (exports, module) { execute: (function () { var num = 3; - console.log('referenced asset', new URL('asset-test-uF-4QoZ1', module.meta.url).href); + console.log('referenced asset', new URL('asset-test-C4X7hChn', module.meta.url).href); console.log(num$1 + num); - console.log('referenced asset', new URL('asset-test-uF-4QoZ1', module.meta.url).href); + console.log('referenced asset', new URL('asset-test-C4X7hChn', module.meta.url).href); }) }; @@ -29,19 +29,19 @@ console.log({ "name": "main2", "type": "chunk", "dynamicImports": [], - "fileName": "entry-main2-tZeXhorV.js", + "fileName": "entry-main2-ByL47NtH.js", "implicitlyLoadedBefore": [], "importedBindings": { - "chunk-dep2-fl4XqPqA.js": [ + "chunk-dep2-C9ddpexS.js": [ "n" ] }, "imports": [ - "chunk-dep2-fl4XqPqA.js" + "chunk-dep2-C9ddpexS.js" ], "modules": { "**/dep3.js": { - "code": "\t\t\tvar num = 3;\n\t\t\tconsole.log('referenced asset', new URL('asset-test-uF-4QoZ1', module.meta.url).href);", + "code": "\t\t\tvar num = 3;\n\t\t\tconsole.log('referenced asset', new URL('asset-test-C4X7hChn', module.meta.url).href);", "originalLength": 19, "removedExports": [], "renderedExports": [ @@ -50,7 +50,7 @@ console.log({ "renderedLength": 99 }, "**/main2.js": { - "code": "\t\t\tconsole.log(num$1 + num);\n\t\t\tconsole.log('referenced asset', new URL('asset-test-uF-4QoZ1', module.meta.url).href);", + "code": "\t\t\tconsole.log(num$1 + num);\n\t\t\tconsole.log('referenced asset', new URL('asset-test-C4X7hChn', module.meta.url).href);", "originalLength": 102, "removedExports": [], "renderedExports": [], @@ -58,8 +58,8 @@ console.log({ } }, "referencedFiles": [ - "asset-test-uF-4QoZ1" + "asset-test-C4X7hChn" ] }); -console.log('all chunks', ["entry-main1-tjQATGfh.js","entry-main2-tZeXhorV.js","chunk-dep2-fl4XqPqA.js"]) -console.log('referenced asset in renderChunk', 'asset-test-uF-4QoZ1'); +console.log('all chunks', ["entry-main1-Jmzu7nOJ.js","entry-main2-ByL47NtH.js","chunk-dep2-C9ddpexS.js"]) +console.log('referenced asset in renderChunk', 'asset-test-C4X7hChn'); diff --git a/test/chunking-form/samples/resolve-file-url/_expected/amd/assets/asset-resolved-7pLh6Sdd.txt b/test/chunking-form/samples/resolve-file-url/_expected/amd/assets/asset-resolved-DukuHpJ1.txt similarity index 100% rename from test/chunking-form/samples/resolve-file-url/_expected/amd/assets/asset-resolved-7pLh6Sdd.txt rename to test/chunking-form/samples/resolve-file-url/_expected/amd/assets/asset-resolved-DukuHpJ1.txt diff --git a/test/chunking-form/samples/resolve-file-url/_expected/amd/assets/asset-solved-0oyI4hTT.txt b/test/chunking-form/samples/resolve-file-url/_expected/amd/assets/asset-solved-DSjIjiFN.txt similarity index 100% rename from test/chunking-form/samples/resolve-file-url/_expected/amd/assets/asset-solved-0oyI4hTT.txt rename to test/chunking-form/samples/resolve-file-url/_expected/amd/assets/asset-solved-DSjIjiFN.txt diff --git a/test/chunking-form/samples/resolve-file-url/_expected/amd/assets/asset-unresolved-e0Iev6TZ.txt b/test/chunking-form/samples/resolve-file-url/_expected/amd/assets/asset-unresolved-B7Qh6_pN.txt similarity index 100% rename from test/chunking-form/samples/resolve-file-url/_expected/amd/assets/asset-unresolved-e0Iev6TZ.txt rename to test/chunking-form/samples/resolve-file-url/_expected/amd/assets/asset-unresolved-B7Qh6_pN.txt diff --git a/test/chunking-form/samples/resolve-file-url/_expected/amd/main.js b/test/chunking-form/samples/resolve-file-url/_expected/amd/main.js index ed660feea..c89763012 100644 --- a/test/chunking-form/samples/resolve-file-url/_expected/amd/main.js +++ b/test/chunking-form/samples/resolve-file-url/_expected/amd/main.js @@ -3,7 +3,7 @@ define(['require'], (function (require) { 'use strict'; const asset$1 = 'resolved'; const chunk$1 = 'resolved'; - const asset = new URL(require.toUrl('./assets/asset-unresolved-e0Iev6TZ.txt'), document.baseURI).href; + const asset = new URL(require.toUrl('./assets/asset-unresolved-B7Qh6_pN.txt'), document.baseURI).href; const chunk = new URL(require.toUrl('./nested/chunk2.js'), document.baseURI).href; new Promise(function (resolve, reject) { require(['./nested/chunk'], resolve, reject); }).then(result => console.log(result, chunk$1, chunk, asset$1, asset)); diff --git a/test/chunking-form/samples/resolve-file-url/_expected/amd/nested/chunk.js b/test/chunking-form/samples/resolve-file-url/_expected/amd/nested/chunk.js index 5dc55f77d..dfcca36a8 100644 --- a/test/chunking-form/samples/resolve-file-url/_expected/amd/nested/chunk.js +++ b/test/chunking-form/samples/resolve-file-url/_expected/amd/nested/chunk.js @@ -1,7 +1,7 @@ define(['require', 'exports'], (function (require, exports) { 'use strict'; - const asset = 'chunkId=nested/chunk.js:moduleId=solved:fileName=assets/asset-solved-0oyI4hTT.txt:format=amd:relativePath=../assets/asset-solved-0oyI4hTT.txt:referenceId=JY$sxHZX'; - const chunk = 'chunkId=nested/chunk.js:moduleId=solved:fileName=nested/chunk2.js:format=amd:relativePath=chunk2.js:referenceId=8T3lqddV'; + const asset = 'chunkId=nested/chunk.js:moduleId=solved:fileName=assets/asset-solved-DSjIjiFN.txt:format=amd:relativePath=../assets/asset-solved-DSjIjiFN.txt:referenceId=lj6zEdlc'; + const chunk = 'chunkId=nested/chunk.js:moduleId=solved:fileName=nested/chunk2.js:format=amd:relativePath=chunk2.js:referenceId=CEb$4JXK'; exports.asset = asset; exports.chunk = chunk; diff --git a/test/chunking-form/samples/resolve-file-url/_expected/cjs/assets/asset-resolved-7pLh6Sdd.txt b/test/chunking-form/samples/resolve-file-url/_expected/cjs/assets/asset-resolved-DukuHpJ1.txt similarity index 100% rename from test/chunking-form/samples/resolve-file-url/_expected/cjs/assets/asset-resolved-7pLh6Sdd.txt rename to test/chunking-form/samples/resolve-file-url/_expected/cjs/assets/asset-resolved-DukuHpJ1.txt diff --git a/test/chunking-form/samples/resolve-file-url/_expected/cjs/assets/asset-solved-0oyI4hTT.txt b/test/chunking-form/samples/resolve-file-url/_expected/cjs/assets/asset-solved-DSjIjiFN.txt similarity index 100% rename from test/chunking-form/samples/resolve-file-url/_expected/cjs/assets/asset-solved-0oyI4hTT.txt rename to test/chunking-form/samples/resolve-file-url/_expected/cjs/assets/asset-solved-DSjIjiFN.txt diff --git a/test/chunking-form/samples/resolve-file-url/_expected/cjs/assets/asset-unresolved-e0Iev6TZ.txt b/test/chunking-form/samples/resolve-file-url/_expected/cjs/assets/asset-unresolved-B7Qh6_pN.txt similarity index 100% rename from test/chunking-form/samples/resolve-file-url/_expected/cjs/assets/asset-unresolved-e0Iev6TZ.txt rename to test/chunking-form/samples/resolve-file-url/_expected/cjs/assets/asset-unresolved-B7Qh6_pN.txt diff --git a/test/chunking-form/samples/resolve-file-url/_expected/cjs/main.js b/test/chunking-form/samples/resolve-file-url/_expected/cjs/main.js index 4e291ed1d..0d773116b 100644 --- a/test/chunking-form/samples/resolve-file-url/_expected/cjs/main.js +++ b/test/chunking-form/samples/resolve-file-url/_expected/cjs/main.js @@ -3,7 +3,7 @@ const asset$1 = 'resolved'; const chunk$1 = 'resolved'; -const asset = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-unresolved-e0Iev6TZ.txt').href : new URL('assets/asset-unresolved-e0Iev6TZ.txt', document.currentScript && document.currentScript.src || document.baseURI).href); +const asset = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-unresolved-B7Qh6_pN.txt').href : new URL('assets/asset-unresolved-B7Qh6_pN.txt', document.currentScript && document.currentScript.src || document.baseURI).href); const chunk = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/nested/chunk2.js').href : new URL('nested/chunk2.js', document.currentScript && document.currentScript.src || document.baseURI).href); Promise.resolve().then(function () { return require('./nested/chunk.js'); }).then(result => console.log(result, chunk$1, chunk, asset$1, asset)); diff --git a/test/chunking-form/samples/resolve-file-url/_expected/cjs/nested/chunk.js b/test/chunking-form/samples/resolve-file-url/_expected/cjs/nested/chunk.js index 4aec9a889..5cdcbeea2 100644 --- a/test/chunking-form/samples/resolve-file-url/_expected/cjs/nested/chunk.js +++ b/test/chunking-form/samples/resolve-file-url/_expected/cjs/nested/chunk.js @@ -1,7 +1,7 @@ 'use strict'; -const asset = 'chunkId=nested/chunk.js:moduleId=solved:fileName=assets/asset-solved-0oyI4hTT.txt:format=cjs:relativePath=../assets/asset-solved-0oyI4hTT.txt:referenceId=JY$sxHZX'; -const chunk = 'chunkId=nested/chunk.js:moduleId=solved:fileName=nested/chunk2.js:format=cjs:relativePath=chunk2.js:referenceId=8T3lqddV'; +const asset = 'chunkId=nested/chunk.js:moduleId=solved:fileName=assets/asset-solved-DSjIjiFN.txt:format=cjs:relativePath=../assets/asset-solved-DSjIjiFN.txt:referenceId=lj6zEdlc'; +const chunk = 'chunkId=nested/chunk.js:moduleId=solved:fileName=nested/chunk2.js:format=cjs:relativePath=chunk2.js:referenceId=CEb$4JXK'; exports.asset = asset; exports.chunk = chunk; diff --git a/test/chunking-form/samples/resolve-file-url/_expected/es/assets/asset-resolved-7pLh6Sdd.txt b/test/chunking-form/samples/resolve-file-url/_expected/es/assets/asset-resolved-DukuHpJ1.txt similarity index 100% rename from test/chunking-form/samples/resolve-file-url/_expected/es/assets/asset-resolved-7pLh6Sdd.txt rename to test/chunking-form/samples/resolve-file-url/_expected/es/assets/asset-resolved-DukuHpJ1.txt diff --git a/test/chunking-form/samples/resolve-file-url/_expected/es/assets/asset-solved-0oyI4hTT.txt b/test/chunking-form/samples/resolve-file-url/_expected/es/assets/asset-solved-DSjIjiFN.txt similarity index 100% rename from test/chunking-form/samples/resolve-file-url/_expected/es/assets/asset-solved-0oyI4hTT.txt rename to test/chunking-form/samples/resolve-file-url/_expected/es/assets/asset-solved-DSjIjiFN.txt diff --git a/test/chunking-form/samples/resolve-file-url/_expected/es/assets/asset-unresolved-e0Iev6TZ.txt b/test/chunking-form/samples/resolve-file-url/_expected/es/assets/asset-unresolved-B7Qh6_pN.txt similarity index 100% rename from test/chunking-form/samples/resolve-file-url/_expected/es/assets/asset-unresolved-e0Iev6TZ.txt rename to test/chunking-form/samples/resolve-file-url/_expected/es/assets/asset-unresolved-B7Qh6_pN.txt diff --git a/test/chunking-form/samples/resolve-file-url/_expected/es/main.js b/test/chunking-form/samples/resolve-file-url/_expected/es/main.js index 46368bd72..92f86a1a7 100644 --- a/test/chunking-form/samples/resolve-file-url/_expected/es/main.js +++ b/test/chunking-form/samples/resolve-file-url/_expected/es/main.js @@ -1,7 +1,7 @@ const asset$1 = 'resolved'; const chunk$1 = 'resolved'; -const asset = new URL('assets/asset-unresolved-e0Iev6TZ.txt', import.meta.url).href; +const asset = new URL('assets/asset-unresolved-B7Qh6_pN.txt', import.meta.url).href; const chunk = new URL('nested/chunk2.js', import.meta.url).href; import('./nested/chunk.js').then(result => console.log(result, chunk$1, chunk, asset$1, asset)); diff --git a/test/chunking-form/samples/resolve-file-url/_expected/es/nested/chunk.js b/test/chunking-form/samples/resolve-file-url/_expected/es/nested/chunk.js index b0cc32e88..4e81eb340 100644 --- a/test/chunking-form/samples/resolve-file-url/_expected/es/nested/chunk.js +++ b/test/chunking-form/samples/resolve-file-url/_expected/es/nested/chunk.js @@ -1,4 +1,4 @@ -const asset = 'chunkId=nested/chunk.js:moduleId=solved:fileName=assets/asset-solved-0oyI4hTT.txt:format=es:relativePath=../assets/asset-solved-0oyI4hTT.txt:referenceId=JY$sxHZX'; -const chunk = 'chunkId=nested/chunk.js:moduleId=solved:fileName=nested/chunk2.js:format=es:relativePath=chunk2.js:referenceId=8T3lqddV'; +const asset = 'chunkId=nested/chunk.js:moduleId=solved:fileName=assets/asset-solved-DSjIjiFN.txt:format=es:relativePath=../assets/asset-solved-DSjIjiFN.txt:referenceId=lj6zEdlc'; +const chunk = 'chunkId=nested/chunk.js:moduleId=solved:fileName=nested/chunk2.js:format=es:relativePath=chunk2.js:referenceId=CEb$4JXK'; export { asset, chunk }; diff --git a/test/chunking-form/samples/resolve-file-url/_expected/system/assets/asset-resolved-7pLh6Sdd.txt b/test/chunking-form/samples/resolve-file-url/_expected/system/assets/asset-resolved-DukuHpJ1.txt similarity index 100% rename from test/chunking-form/samples/resolve-file-url/_expected/system/assets/asset-resolved-7pLh6Sdd.txt rename to test/chunking-form/samples/resolve-file-url/_expected/system/assets/asset-resolved-DukuHpJ1.txt diff --git a/test/chunking-form/samples/resolve-file-url/_expected/system/assets/asset-solved-0oyI4hTT.txt b/test/chunking-form/samples/resolve-file-url/_expected/system/assets/asset-solved-DSjIjiFN.txt similarity index 100% rename from test/chunking-form/samples/resolve-file-url/_expected/system/assets/asset-solved-0oyI4hTT.txt rename to test/chunking-form/samples/resolve-file-url/_expected/system/assets/asset-solved-DSjIjiFN.txt diff --git a/test/chunking-form/samples/resolve-file-url/_expected/system/assets/asset-unresolved-e0Iev6TZ.txt b/test/chunking-form/samples/resolve-file-url/_expected/system/assets/asset-unresolved-B7Qh6_pN.txt similarity index 100% rename from test/chunking-form/samples/resolve-file-url/_expected/system/assets/asset-unresolved-e0Iev6TZ.txt rename to test/chunking-form/samples/resolve-file-url/_expected/system/assets/asset-unresolved-B7Qh6_pN.txt diff --git a/test/chunking-form/samples/resolve-file-url/_expected/system/main.js b/test/chunking-form/samples/resolve-file-url/_expected/system/main.js index 60d285357..6bd75a5cf 100644 --- a/test/chunking-form/samples/resolve-file-url/_expected/system/main.js +++ b/test/chunking-form/samples/resolve-file-url/_expected/system/main.js @@ -6,7 +6,7 @@ System.register([], (function (exports, module) { const asset$1 = 'resolved'; const chunk$1 = 'resolved'; - const asset = new URL('assets/asset-unresolved-e0Iev6TZ.txt', module.meta.url).href; + const asset = new URL('assets/asset-unresolved-B7Qh6_pN.txt', module.meta.url).href; const chunk = new URL('nested/chunk2.js', module.meta.url).href; module.import('./nested/chunk.js').then(result => console.log(result, chunk$1, chunk, asset$1, asset)); diff --git a/test/chunking-form/samples/resolve-file-url/_expected/system/nested/chunk.js b/test/chunking-form/samples/resolve-file-url/_expected/system/nested/chunk.js index 3798ff009..68079905b 100644 --- a/test/chunking-form/samples/resolve-file-url/_expected/system/nested/chunk.js +++ b/test/chunking-form/samples/resolve-file-url/_expected/system/nested/chunk.js @@ -3,8 +3,8 @@ System.register([], (function (exports, module) { return { execute: (function () { - const asset = exports("asset", 'chunkId=nested/chunk.js:moduleId=solved:fileName=assets/asset-solved-0oyI4hTT.txt:format=system:relativePath=../assets/asset-solved-0oyI4hTT.txt:referenceId=JY$sxHZX'); - const chunk = exports("chunk", 'chunkId=nested/chunk.js:moduleId=solved:fileName=nested/chunk2.js:format=system:relativePath=chunk2.js:referenceId=8T3lqddV'); + const asset = exports("asset", 'chunkId=nested/chunk.js:moduleId=solved:fileName=assets/asset-solved-DSjIjiFN.txt:format=system:relativePath=../assets/asset-solved-DSjIjiFN.txt:referenceId=lj6zEdlc'); + const chunk = exports("chunk", 'chunkId=nested/chunk.js:moduleId=solved:fileName=nested/chunk2.js:format=system:relativePath=chunk2.js:referenceId=CEb$4JXK'); }) }; diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic-kWEjd9Su.js b/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic-CBK0ZRhv.js similarity index 100% rename from test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic-kWEjd9Su.js rename to test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic-CBK0ZRhv.js diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic-HgyWTd0RHPMm-Z5LV91eZ.js.map b/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic-eDJZN3REc8ya-DAVPlGJs.js.map similarity index 69% rename from test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic-HgyWTd0RHPMm-Z5LV91eZ.js.map rename to test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic-eDJZN3REc8ya-DAVPlGJs.js.map index 2faf27354..0f9c68d0c 100644 --- a/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic-HgyWTd0RHPMm-Z5LV91eZ.js.map +++ b/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic-eDJZN3REc8ya-DAVPlGJs.js.map @@ -1 +1 @@ -{"version":3,"file":"dynamic-hashed-Z5LV91eZ.js","sources":["../../dynamic-hashed.js"],"sourcesContent":["console.log('dynamic-hashed');\n"],"names":[],"mappings":";;CAAA,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC;;;;;;"} \ No newline at end of file +{"version":3,"file":"dynamic-hashed-DAVPlGJs.js","sources":["../../dynamic-hashed.js"],"sourcesContent":["console.log('dynamic-hashed');\n"],"names":[],"mappings":";;CAAA,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC;;;;;;"} \ No newline at end of file diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic-hashed-Z5LV91eZ.js b/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic-hashed-DAVPlGJs.js similarity index 56% rename from test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic-hashed-Z5LV91eZ.js rename to test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic-hashed-DAVPlGJs.js index 5deef2a6c..0b84ccfb4 100644 --- a/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic-hashed-Z5LV91eZ.js +++ b/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic-hashed-DAVPlGJs.js @@ -3,4 +3,4 @@ define((function () { 'use strict'; console.log('dynamic-hashed'); })); -//# sourceMappingURL=dynamic-HgyWTd0RHPMm-Z5LV91eZ.js.map +//# sourceMappingURL=dynamic-eDJZN3REc8ya-DAVPlGJs.js.map diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic.js.map b/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic.js.map index 81e4f75eb..6eee4a886 100644 --- a/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic.js.map +++ b/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/dynamic.js.map @@ -1 +1 @@ -{"version":3,"file":"dynamic-kWEjd9Su.js","sources":["../../dynamic.js"],"sourcesContent":["console.log('dynamic');\n"],"names":[],"mappings":";;CAAA,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC;;;;;;"} \ No newline at end of file +{"version":3,"file":"dynamic-CBK0ZRhv.js","sources":["../../dynamic.js"],"sourcesContent":["console.log('dynamic');\n"],"names":[],"mappings":";;CAAA,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC;;;;;;"} \ No newline at end of file diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/main.js b/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/main.js index bc48ae880..bfbd53a98 100644 --- a/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/main.js +++ b/test/chunking-form/samples/sourcemap-file-names-function/_expected/amd/main.js @@ -1,7 +1,7 @@ define(['require'], (function (require) { 'use strict'; - new Promise(function (resolve, reject) { require(['./dynamic-kWEjd9Su'], resolve, reject); }); - new Promise(function (resolve, reject) { require(['./dynamic-hashed-Z5LV91eZ'], resolve, reject); }); + new Promise(function (resolve, reject) { require(['./dynamic-CBK0ZRhv'], resolve, reject); }); + new Promise(function (resolve, reject) { require(['./dynamic-hashed-DAVPlGJs'], resolve, reject); }); })); //# sourceMappingURL=main.js.map diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-Q4C4Dm_h.js b/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-Dke4V8eM.js similarity index 100% rename from test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-Q4C4Dm_h.js rename to test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-Dke4V8eM.js diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-Bj3iqQlUJnPN-DzdWIGlX.js.map b/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-GPeKpCVQmc82-BgHsqIXR.js.map similarity index 68% rename from test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-Bj3iqQlUJnPN-DzdWIGlX.js.map rename to test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-GPeKpCVQmc82-BgHsqIXR.js.map index 0c47da9b3..02375c597 100644 --- a/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-Bj3iqQlUJnPN-DzdWIGlX.js.map +++ b/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-GPeKpCVQmc82-BgHsqIXR.js.map @@ -1 +1 @@ -{"version":3,"file":"dynamic-hashed-DzdWIGlX.js","sources":["../../dynamic-hashed.js"],"sourcesContent":["console.log('dynamic-hashed');\n"],"names":[],"mappings":";;AAAA,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC;;"} \ No newline at end of file +{"version":3,"file":"dynamic-hashed-BgHsqIXR.js","sources":["../../dynamic-hashed.js"],"sourcesContent":["console.log('dynamic-hashed');\n"],"names":[],"mappings":";;AAAA,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC;;"} \ No newline at end of file diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-hashed-BgHsqIXR.js b/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-hashed-BgHsqIXR.js new file mode 100644 index 000000000..d72cbbddb --- /dev/null +++ b/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-hashed-BgHsqIXR.js @@ -0,0 +1,4 @@ +'use strict'; + +console.log('dynamic-hashed'); +//# sourceMappingURL=dynamic-GPeKpCVQmc82-BgHsqIXR.js.map diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-hashed-DzdWIGlX.js b/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-hashed-DzdWIGlX.js deleted file mode 100644 index adebf2bba..000000000 --- a/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic-hashed-DzdWIGlX.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -console.log('dynamic-hashed'); -//# sourceMappingURL=dynamic-Bj3iqQlUJnPN-DzdWIGlX.js.map diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic.js.map b/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic.js.map index ab709c45c..17ecb0082 100644 --- a/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic.js.map +++ b/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/dynamic.js.map @@ -1 +1 @@ -{"version":3,"file":"dynamic-Q4C4Dm_h.js","sources":["../../dynamic.js"],"sourcesContent":["console.log('dynamic');\n"],"names":[],"mappings":";;AAAA,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC;;"} \ No newline at end of file +{"version":3,"file":"dynamic-Dke4V8eM.js","sources":["../../dynamic.js"],"sourcesContent":["console.log('dynamic');\n"],"names":[],"mappings":";;AAAA,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC;;"} \ No newline at end of file diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/main.js b/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/main.js index 98cd0e2c2..48563e742 100644 --- a/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/main.js +++ b/test/chunking-form/samples/sourcemap-file-names-function/_expected/cjs/main.js @@ -1,5 +1,5 @@ 'use strict'; -Promise.resolve().then(function () { return require('./dynamic-Q4C4Dm_h.js'); }); -Promise.resolve().then(function () { return require('./dynamic-hashed-DzdWIGlX.js'); }); +Promise.resolve().then(function () { return require('./dynamic-Dke4V8eM.js'); }); +Promise.resolve().then(function () { return require('./dynamic-hashed-BgHsqIXR.js'); }); //# sourceMappingURL=main.js.map diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-kETnNCzeTm-o-T4V3Rnvr.js.map b/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-CQROc0LN5Ob6-DyVTGFM1.js.map similarity index 68% rename from test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-kETnNCzeTm-o-T4V3Rnvr.js.map rename to test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-CQROc0LN5Ob6-DyVTGFM1.js.map index ecea6e844..e0c368dd7 100644 --- a/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-kETnNCzeTm-o-T4V3Rnvr.js.map +++ b/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-CQROc0LN5Ob6-DyVTGFM1.js.map @@ -1 +1 @@ -{"version":3,"file":"dynamic-hashed-T4V3Rnvr.js","sources":["../../dynamic-hashed.js"],"sourcesContent":["console.log('dynamic-hashed');\n"],"names":[],"mappings":"AAAA,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC"} \ No newline at end of file +{"version":3,"file":"dynamic-hashed-DyVTGFM1.js","sources":["../../dynamic-hashed.js"],"sourcesContent":["console.log('dynamic-hashed');\n"],"names":[],"mappings":"AAAA,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC"} \ No newline at end of file diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-APUNg5Yg.js b/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-TiCFiI2A.js similarity index 100% rename from test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-APUNg5Yg.js rename to test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-TiCFiI2A.js diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-hashed-DyVTGFM1.js b/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-hashed-DyVTGFM1.js new file mode 100644 index 000000000..d7fd8b8cc --- /dev/null +++ b/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-hashed-DyVTGFM1.js @@ -0,0 +1,2 @@ +console.log('dynamic-hashed'); +//# sourceMappingURL=dynamic-CQROc0LN5Ob6-DyVTGFM1.js.map diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-hashed-T4V3Rnvr.js b/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-hashed-T4V3Rnvr.js deleted file mode 100644 index 828ef804b..000000000 --- a/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic-hashed-T4V3Rnvr.js +++ /dev/null @@ -1,2 +0,0 @@ -console.log('dynamic-hashed'); -//# sourceMappingURL=dynamic-kETnNCzeTm-o-T4V3Rnvr.js.map diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic.js.map b/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic.js.map index acee14c03..7ce9b9ba7 100644 --- a/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic.js.map +++ b/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/dynamic.js.map @@ -1 +1 @@ -{"version":3,"file":"dynamic-APUNg5Yg.js","sources":["../../dynamic.js"],"sourcesContent":["console.log('dynamic');\n"],"names":[],"mappings":"AAAA,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC"} \ No newline at end of file +{"version":3,"file":"dynamic-TiCFiI2A.js","sources":["../../dynamic.js"],"sourcesContent":["console.log('dynamic');\n"],"names":[],"mappings":"AAAA,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC"} \ No newline at end of file diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/main.js b/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/main.js index 638c28af5..c8141b477 100644 --- a/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/main.js +++ b/test/chunking-form/samples/sourcemap-file-names-function/_expected/es/main.js @@ -1,3 +1,3 @@ -import('./dynamic-APUNg5Yg.js'); -import('./dynamic-hashed-T4V3Rnvr.js'); +import('./dynamic-TiCFiI2A.js'); +import('./dynamic-hashed-DyVTGFM1.js'); //# sourceMappingURL=main.js.map diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic-sDZez62fO5oL-BFee68z_.js.map b/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic-CwNl7PrZ87mg-CkE_tUGn.js.map similarity index 70% rename from test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic-sDZez62fO5oL-BFee68z_.js.map rename to test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic-CwNl7PrZ87mg-CkE_tUGn.js.map index 8ff8747d2..c30c14459 100644 --- a/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic-sDZez62fO5oL-BFee68z_.js.map +++ b/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic-CwNl7PrZ87mg-CkE_tUGn.js.map @@ -1 +1 @@ -{"version":3,"file":"dynamic-hashed-BFee68z_.js","sources":["../../dynamic-hashed.js"],"sourcesContent":["console.log('dynamic-hashed');\n"],"names":[],"mappings":";;;;;GAAA,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC;;;;;;;;"} \ No newline at end of file +{"version":3,"file":"dynamic-hashed-CkE_tUGn.js","sources":["../../dynamic-hashed.js"],"sourcesContent":["console.log('dynamic-hashed');\n"],"names":[],"mappings":";;;;;GAAA,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC;;;;;;;;"} \ No newline at end of file diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic-VkfTWHgI.js b/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic-D_Zs3yGr.js similarity index 100% rename from test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic-VkfTWHgI.js rename to test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic-D_Zs3yGr.js diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic-hashed-BFee68z_.js b/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic-hashed-CkE_tUGn.js similarity index 70% rename from test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic-hashed-BFee68z_.js rename to test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic-hashed-CkE_tUGn.js index 9c648865c..1832d5335 100644 --- a/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic-hashed-BFee68z_.js +++ b/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic-hashed-CkE_tUGn.js @@ -8,4 +8,4 @@ System.register([], (function () { }) }; })); -//# sourceMappingURL=dynamic-sDZez62fO5oL-BFee68z_.js.map +//# sourceMappingURL=dynamic-CwNl7PrZ87mg-CkE_tUGn.js.map diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic.js.map b/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic.js.map index 47d7fdad4..f46706bcf 100644 --- a/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic.js.map +++ b/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/dynamic.js.map @@ -1 +1 @@ -{"version":3,"file":"dynamic-VkfTWHgI.js","sources":["../../dynamic.js"],"sourcesContent":["console.log('dynamic');\n"],"names":[],"mappings":";;;;;GAAA,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC;;;;;;;;"} \ No newline at end of file +{"version":3,"file":"dynamic-D_Zs3yGr.js","sources":["../../dynamic.js"],"sourcesContent":["console.log('dynamic');\n"],"names":[],"mappings":";;;;;GAAA,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC;;;;;;;;"} \ No newline at end of file diff --git a/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/main.js b/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/main.js index a200691d6..3e6987e4c 100644 --- a/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/main.js +++ b/test/chunking-form/samples/sourcemap-file-names-function/_expected/system/main.js @@ -3,8 +3,8 @@ System.register([], (function (exports, module) { return { execute: (function () { - module.import('./dynamic-VkfTWHgI.js'); - module.import('./dynamic-hashed-BFee68z_.js'); + module.import('./dynamic-D_Zs3yGr.js'); + module.import('./dynamic-hashed-CkE_tUGn.js'); }) }; diff --git a/test/chunking-form/samples/sourcemap-file-names/_expected/amd/main-DrgsaZFk-amd-af4XjAqa.js.map b/test/chunking-form/samples/sourcemap-file-names/_expected/amd/main-CxF_f73M-amd-Bp_heMCp.js.map similarity index 64% rename from test/chunking-form/samples/sourcemap-file-names/_expected/amd/main-DrgsaZFk-amd-af4XjAqa.js.map rename to test/chunking-form/samples/sourcemap-file-names/_expected/amd/main-CxF_f73M-amd-Bp_heMCp.js.map index c496aa986..3bb1dd9c4 100644 --- a/test/chunking-form/samples/sourcemap-file-names/_expected/amd/main-DrgsaZFk-amd-af4XjAqa.js.map +++ b/test/chunking-form/samples/sourcemap-file-names/_expected/amd/main-CxF_f73M-amd-Bp_heMCp.js.map @@ -1 +1 @@ -{"version":3,"file":"main-DrgsaZFk-amd.js","sources":["../../main.js"],"sourcesContent":["console.log( 42 );\n"],"names":[],"mappings":";;CAAA,OAAO,CAAC,GAAG,EAAE,EAAE,EAAE;;;;;;"} \ No newline at end of file +{"version":3,"file":"main-CxF_f73M-amd.js","sources":["../../main.js"],"sourcesContent":["console.log( 42 );\n"],"names":[],"mappings":";;CAAA,OAAO,CAAC,GAAG,EAAE,EAAE,EAAE;;;;;;"} \ No newline at end of file diff --git a/test/chunking-form/samples/sourcemap-file-names/_expected/amd/main-DrgsaZFk-amd.js b/test/chunking-form/samples/sourcemap-file-names/_expected/amd/main-CxF_f73M-amd.js similarity index 53% rename from test/chunking-form/samples/sourcemap-file-names/_expected/amd/main-DrgsaZFk-amd.js rename to test/chunking-form/samples/sourcemap-file-names/_expected/amd/main-CxF_f73M-amd.js index 9831abf0e..63d3f72fc 100644 --- a/test/chunking-form/samples/sourcemap-file-names/_expected/amd/main-DrgsaZFk-amd.js +++ b/test/chunking-form/samples/sourcemap-file-names/_expected/amd/main-CxF_f73M-amd.js @@ -3,4 +3,4 @@ define((function () { 'use strict'; console.log( 42 ); })); -//# sourceMappingURL=main-DrgsaZFk-amd-af4XjAqa.js.map +//# sourceMappingURL=main-CxF_f73M-amd-Bp_heMCp.js.map diff --git a/test/chunking-form/samples/sourcemap-file-names/_expected/cjs/main-R9n-8tvV-cjs-AkG5wfAe.js.map b/test/chunking-form/samples/sourcemap-file-names/_expected/cjs/main-Br8Lt4cy-cjs-CQbnB8B7.js.map similarity index 63% rename from test/chunking-form/samples/sourcemap-file-names/_expected/cjs/main-R9n-8tvV-cjs-AkG5wfAe.js.map rename to test/chunking-form/samples/sourcemap-file-names/_expected/cjs/main-Br8Lt4cy-cjs-CQbnB8B7.js.map index bdda8609f..d499c7b9d 100644 --- a/test/chunking-form/samples/sourcemap-file-names/_expected/cjs/main-R9n-8tvV-cjs-AkG5wfAe.js.map +++ b/test/chunking-form/samples/sourcemap-file-names/_expected/cjs/main-Br8Lt4cy-cjs-CQbnB8B7.js.map @@ -1 +1 @@ -{"version":3,"file":"main-R9n-8tvV-cjs.js","sources":["../../main.js"],"sourcesContent":["console.log( 42 );\n"],"names":[],"mappings":";;AAAA,OAAO,CAAC,GAAG,EAAE,EAAE,EAAE;;"} \ No newline at end of file +{"version":3,"file":"main-Br8Lt4cy-cjs.js","sources":["../../main.js"],"sourcesContent":["console.log( 42 );\n"],"names":[],"mappings":";;AAAA,OAAO,CAAC,GAAG,EAAE,EAAE,EAAE;;"} \ No newline at end of file diff --git a/test/chunking-form/samples/sourcemap-file-names/_expected/cjs/main-Br8Lt4cy-cjs.js b/test/chunking-form/samples/sourcemap-file-names/_expected/cjs/main-Br8Lt4cy-cjs.js new file mode 100644 index 000000000..e18b70e60 --- /dev/null +++ b/test/chunking-form/samples/sourcemap-file-names/_expected/cjs/main-Br8Lt4cy-cjs.js @@ -0,0 +1,4 @@ +'use strict'; + +console.log( 42 ); +//# sourceMappingURL=main-Br8Lt4cy-cjs-CQbnB8B7.js.map diff --git a/test/chunking-form/samples/sourcemap-file-names/_expected/cjs/main-R9n-8tvV-cjs.js b/test/chunking-form/samples/sourcemap-file-names/_expected/cjs/main-R9n-8tvV-cjs.js deleted file mode 100644 index b28b51293..000000000 --- a/test/chunking-form/samples/sourcemap-file-names/_expected/cjs/main-R9n-8tvV-cjs.js +++ /dev/null @@ -1,4 +0,0 @@ -'use strict'; - -console.log( 42 ); -//# sourceMappingURL=main-R9n-8tvV-cjs-AkG5wfAe.js.map diff --git a/test/chunking-form/samples/sourcemap-file-names/_expected/es/main-bXxLNi2H-es-8pqe0w5c.js.map b/test/chunking-form/samples/sourcemap-file-names/_expected/es/main-afmxdKJU-es-Dymp7TDl.js.map similarity index 62% rename from test/chunking-form/samples/sourcemap-file-names/_expected/es/main-bXxLNi2H-es-8pqe0w5c.js.map rename to test/chunking-form/samples/sourcemap-file-names/_expected/es/main-afmxdKJU-es-Dymp7TDl.js.map index bcff8df88..f5bc73958 100644 --- a/test/chunking-form/samples/sourcemap-file-names/_expected/es/main-bXxLNi2H-es-8pqe0w5c.js.map +++ b/test/chunking-form/samples/sourcemap-file-names/_expected/es/main-afmxdKJU-es-Dymp7TDl.js.map @@ -1 +1 @@ -{"version":3,"file":"main-bXxLNi2H-es.js","sources":["../../main.js"],"sourcesContent":["console.log( 42 );\n"],"names":[],"mappings":"AAAA,OAAO,CAAC,GAAG,EAAE,EAAE,EAAE"} \ No newline at end of file +{"version":3,"file":"main-afmxdKJU-es.js","sources":["../../main.js"],"sourcesContent":["console.log( 42 );\n"],"names":[],"mappings":"AAAA,OAAO,CAAC,GAAG,EAAE,EAAE,EAAE"} \ No newline at end of file diff --git a/test/chunking-form/samples/sourcemap-file-names/_expected/es/main-afmxdKJU-es.js b/test/chunking-form/samples/sourcemap-file-names/_expected/es/main-afmxdKJU-es.js new file mode 100644 index 000000000..b598fad1f --- /dev/null +++ b/test/chunking-form/samples/sourcemap-file-names/_expected/es/main-afmxdKJU-es.js @@ -0,0 +1,2 @@ +console.log( 42 ); +//# sourceMappingURL=main-afmxdKJU-es-Dymp7TDl.js.map diff --git a/test/chunking-form/samples/sourcemap-file-names/_expected/es/main-bXxLNi2H-es.js b/test/chunking-form/samples/sourcemap-file-names/_expected/es/main-bXxLNi2H-es.js deleted file mode 100644 index c4bdc0c1f..000000000 --- a/test/chunking-form/samples/sourcemap-file-names/_expected/es/main-bXxLNi2H-es.js +++ /dev/null @@ -1,2 +0,0 @@ -console.log( 42 ); -//# sourceMappingURL=main-bXxLNi2H-es-8pqe0w5c.js.map diff --git a/test/chunking-form/samples/sourcemap-file-names/_expected/system/main-c5ZQparC-system-mgjP6dBa.js.map b/test/chunking-form/samples/sourcemap-file-names/_expected/system/main-DSPrUs6M-system-CaCM_p0F.js.map similarity index 65% rename from test/chunking-form/samples/sourcemap-file-names/_expected/system/main-c5ZQparC-system-mgjP6dBa.js.map rename to test/chunking-form/samples/sourcemap-file-names/_expected/system/main-DSPrUs6M-system-CaCM_p0F.js.map index 40898211a..a5fd6220a 100644 --- a/test/chunking-form/samples/sourcemap-file-names/_expected/system/main-c5ZQparC-system-mgjP6dBa.js.map +++ b/test/chunking-form/samples/sourcemap-file-names/_expected/system/main-DSPrUs6M-system-CaCM_p0F.js.map @@ -1 +1 @@ -{"version":3,"file":"main-c5ZQparC-system.js","sources":["../../main.js"],"sourcesContent":["console.log( 42 );\n"],"names":[],"mappings":";;;;;GAAA,OAAO,CAAC,GAAG,EAAE,EAAE,EAAE;;;;;;;;"} \ No newline at end of file +{"version":3,"file":"main-DSPrUs6M-system.js","sources":["../../main.js"],"sourcesContent":["console.log( 42 );\n"],"names":[],"mappings":";;;;;GAAA,OAAO,CAAC,GAAG,EAAE,EAAE,EAAE;;;;;;;;"} \ No newline at end of file diff --git a/test/chunking-form/samples/sourcemap-file-names/_expected/system/main-c5ZQparC-system.js b/test/chunking-form/samples/sourcemap-file-names/_expected/system/main-DSPrUs6M-system.js similarity index 68% rename from test/chunking-form/samples/sourcemap-file-names/_expected/system/main-c5ZQparC-system.js rename to test/chunking-form/samples/sourcemap-file-names/_expected/system/main-DSPrUs6M-system.js index 6635e9df4..e748ce7bf 100644 --- a/test/chunking-form/samples/sourcemap-file-names/_expected/system/main-c5ZQparC-system.js +++ b/test/chunking-form/samples/sourcemap-file-names/_expected/system/main-DSPrUs6M-system.js @@ -8,4 +8,4 @@ System.register([], (function () { }) }; })); -//# sourceMappingURL=main-c5ZQparC-system-mgjP6dBa.js.map +//# sourceMappingURL=main-DSPrUs6M-system-CaCM_p0F.js.map diff --git a/test/cli/samples/code-splitting-named-default-inputs/_config.js b/test/cli/samples/code-splitting-named-default-inputs/_config.js index b0f7cd0e3..051b2f97b 100644 --- a/test/cli/samples/code-splitting-named-default-inputs/_config.js +++ b/test/cli/samples/code-splitting-named-default-inputs/_config.js @@ -8,13 +8,13 @@ module.exports = defineTest({ assert.equal( code, '\n' + - `//→ entry1-JF9mQsXW.js:\n` + + `//→ entry1-F7XBegnP.js:\n` + "console.log('main1');\n" + '\n' + - `//→ Entry 2-GmuWsq4N.js:\n` + + `//→ Entry 2-DJUOC_be.js:\n` + "console.log('main2');\n" + '\n' + - `//→ main3-RQC0q0DR.js:\n` + + `//→ main3-CcbE82tV.js:\n` + "console.log('main3');\n" ); } diff --git a/test/cli/samples/code-splitting-named-inputs/_config.js b/test/cli/samples/code-splitting-named-inputs/_config.js index 575f82ca8..58ae58281 100644 --- a/test/cli/samples/code-splitting-named-inputs/_config.js +++ b/test/cli/samples/code-splitting-named-inputs/_config.js @@ -8,13 +8,13 @@ module.exports = defineTest({ assert.equal( code, '\n' + - `//→ entry1-JF9mQsXW.js:\n` + + `//→ entry1-F7XBegnP.js:\n` + "console.log('main1');\n" + '\n' + - `//→ Entry 2-GmuWsq4N.js:\n` + + `//→ Entry 2-DJUOC_be.js:\n` + "console.log('main2');\n" + '\n' + - `//→ main3-RQC0q0DR.js:\n` + + `//→ main3-CcbE82tV.js:\n` + "console.log('main3');\n" ); } diff --git a/test/cli/samples/stdout-code-splitting/_config.js b/test/cli/samples/stdout-code-splitting/_config.js index ad1900655..e62272996 100644 --- a/test/cli/samples/stdout-code-splitting/_config.js +++ b/test/cli/samples/stdout-code-splitting/_config.js @@ -20,7 +20,7 @@ module.exports = defineTest({ `${COLOR}//→ main2.js:${STANDARD}\n` + "console.log('main2');\n" + '\n' + - `${COLOR}//→ assets/asset-bdGDFXtM:${STANDARD}\n` + + `${COLOR}//→ assets/asset-Bt0YMVe0:${STANDARD}\n` + 'Hello' ); } diff --git a/test/form/samples/configure-file-url/_expected/amd.js b/test/form/samples/configure-file-url/_expected/amd.js index 0288c956c..0089e3664 100644 --- a/test/form/samples/configure-file-url/_expected/amd.js +++ b/test/form/samples/configure-file-url/_expected/amd.js @@ -1,10 +1,10 @@ define(['require'], (function (require) { 'use strict'; - var asset1 = 'chunkId=amd.js:moduleId=solved:fileName=assets/asset-solved-0oyI4hTT.txt:format=amd:relativePath=assets/asset-solved-0oyI4hTT.txt:referenceId=JY$sxHZX'; + var asset1 = 'chunkId=amd.js:moduleId=solved:fileName=assets/asset-solved-DSjIjiFN.txt:format=amd:relativePath=assets/asset-solved-DSjIjiFN.txt:referenceId=lj6zEdlc'; var asset2 = 'resolved'; - var asset3 = new URL(require.toUrl('./assets/asset-unresolved-e0Iev6TZ.txt'), document.baseURI).href; + var asset3 = new URL(require.toUrl('./assets/asset-unresolved-B7Qh6_pN.txt'), document.baseURI).href; console.log(asset1, asset2, asset3); diff --git a/test/form/samples/configure-file-url/_expected/assets/asset-resolved-7pLh6Sdd.txt b/test/form/samples/configure-file-url/_expected/assets/asset-resolved-DukuHpJ1.txt similarity index 100% rename from test/form/samples/configure-file-url/_expected/assets/asset-resolved-7pLh6Sdd.txt rename to test/form/samples/configure-file-url/_expected/assets/asset-resolved-DukuHpJ1.txt diff --git a/test/form/samples/configure-file-url/_expected/assets/asset-solved-0oyI4hTT.txt b/test/form/samples/configure-file-url/_expected/assets/asset-solved-DSjIjiFN.txt similarity index 100% rename from test/form/samples/configure-file-url/_expected/assets/asset-solved-0oyI4hTT.txt rename to test/form/samples/configure-file-url/_expected/assets/asset-solved-DSjIjiFN.txt diff --git a/test/form/samples/configure-file-url/_expected/assets/asset-unresolved-e0Iev6TZ.txt b/test/form/samples/configure-file-url/_expected/assets/asset-unresolved-B7Qh6_pN.txt similarity index 100% rename from test/form/samples/configure-file-url/_expected/assets/asset-unresolved-e0Iev6TZ.txt rename to test/form/samples/configure-file-url/_expected/assets/asset-unresolved-B7Qh6_pN.txt diff --git a/test/form/samples/configure-file-url/_expected/cjs.js b/test/form/samples/configure-file-url/_expected/cjs.js index fdbff28d8..d88d67ab8 100644 --- a/test/form/samples/configure-file-url/_expected/cjs.js +++ b/test/form/samples/configure-file-url/_expected/cjs.js @@ -1,9 +1,9 @@ 'use strict'; -var asset1 = 'chunkId=cjs.js:moduleId=solved:fileName=assets/asset-solved-0oyI4hTT.txt:format=cjs:relativePath=assets/asset-solved-0oyI4hTT.txt:referenceId=JY$sxHZX'; +var asset1 = 'chunkId=cjs.js:moduleId=solved:fileName=assets/asset-solved-DSjIjiFN.txt:format=cjs:relativePath=assets/asset-solved-DSjIjiFN.txt:referenceId=lj6zEdlc'; var asset2 = 'resolved'; -var asset3 = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-unresolved-e0Iev6TZ.txt').href : new URL('assets/asset-unresolved-e0Iev6TZ.txt', document.currentScript && document.currentScript.src || document.baseURI).href); +var asset3 = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-unresolved-B7Qh6_pN.txt').href : new URL('assets/asset-unresolved-B7Qh6_pN.txt', document.currentScript && document.currentScript.src || document.baseURI).href); console.log(asset1, asset2, asset3); diff --git a/test/form/samples/configure-file-url/_expected/es.js b/test/form/samples/configure-file-url/_expected/es.js index e79334a1f..633ef0add 100644 --- a/test/form/samples/configure-file-url/_expected/es.js +++ b/test/form/samples/configure-file-url/_expected/es.js @@ -1,7 +1,7 @@ -var asset1 = 'chunkId=es.js:moduleId=solved:fileName=assets/asset-solved-0oyI4hTT.txt:format=es:relativePath=assets/asset-solved-0oyI4hTT.txt:referenceId=JY$sxHZX'; +var asset1 = 'chunkId=es.js:moduleId=solved:fileName=assets/asset-solved-DSjIjiFN.txt:format=es:relativePath=assets/asset-solved-DSjIjiFN.txt:referenceId=lj6zEdlc'; var asset2 = 'resolved'; -var asset3 = new URL('assets/asset-unresolved-e0Iev6TZ.txt', import.meta.url).href; +var asset3 = new URL('assets/asset-unresolved-B7Qh6_pN.txt', import.meta.url).href; console.log(asset1, asset2, asset3); diff --git a/test/form/samples/configure-file-url/_expected/iife.js b/test/form/samples/configure-file-url/_expected/iife.js index 2296c1ed1..ee07a6b1c 100644 --- a/test/form/samples/configure-file-url/_expected/iife.js +++ b/test/form/samples/configure-file-url/_expected/iife.js @@ -1,11 +1,11 @@ (function () { 'use strict'; - var asset1 = 'chunkId=iife.js:moduleId=solved:fileName=assets/asset-solved-0oyI4hTT.txt:format=iife:relativePath=assets/asset-solved-0oyI4hTT.txt:referenceId=JY$sxHZX'; + var asset1 = 'chunkId=iife.js:moduleId=solved:fileName=assets/asset-solved-DSjIjiFN.txt:format=iife:relativePath=assets/asset-solved-DSjIjiFN.txt:referenceId=lj6zEdlc'; var asset2 = 'resolved'; - var asset3 = new URL('assets/asset-unresolved-e0Iev6TZ.txt', document.currentScript && document.currentScript.src || document.baseURI).href; + var asset3 = new URL('assets/asset-unresolved-B7Qh6_pN.txt', document.currentScript && document.currentScript.src || document.baseURI).href; console.log(asset1, asset2, asset3); diff --git a/test/form/samples/configure-file-url/_expected/system.js b/test/form/samples/configure-file-url/_expected/system.js index 83670329d..73ebf710e 100644 --- a/test/form/samples/configure-file-url/_expected/system.js +++ b/test/form/samples/configure-file-url/_expected/system.js @@ -3,11 +3,11 @@ System.register([], (function (exports, module) { return { execute: (function () { - var asset1 = 'chunkId=system.js:moduleId=solved:fileName=assets/asset-solved-0oyI4hTT.txt:format=system:relativePath=assets/asset-solved-0oyI4hTT.txt:referenceId=JY$sxHZX'; + var asset1 = 'chunkId=system.js:moduleId=solved:fileName=assets/asset-solved-DSjIjiFN.txt:format=system:relativePath=assets/asset-solved-DSjIjiFN.txt:referenceId=lj6zEdlc'; var asset2 = 'resolved'; - var asset3 = new URL('assets/asset-unresolved-e0Iev6TZ.txt', module.meta.url).href; + var asset3 = new URL('assets/asset-unresolved-B7Qh6_pN.txt', module.meta.url).href; console.log(asset1, asset2, asset3); diff --git a/test/form/samples/configure-file-url/_expected/umd.js b/test/form/samples/configure-file-url/_expected/umd.js index 081c383ae..b098915db 100644 --- a/test/form/samples/configure-file-url/_expected/umd.js +++ b/test/form/samples/configure-file-url/_expected/umd.js @@ -3,11 +3,11 @@ factory(); })((function () { 'use strict'; - var asset1 = 'chunkId=umd.js:moduleId=solved:fileName=assets/asset-solved-0oyI4hTT.txt:format=umd:relativePath=assets/asset-solved-0oyI4hTT.txt:referenceId=JY$sxHZX'; + var asset1 = 'chunkId=umd.js:moduleId=solved:fileName=assets/asset-solved-DSjIjiFN.txt:format=umd:relativePath=assets/asset-solved-DSjIjiFN.txt:referenceId=lj6zEdlc'; var asset2 = 'resolved'; - var asset3 = (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-unresolved-e0Iev6TZ.txt').href : new URL('assets/asset-unresolved-e0Iev6TZ.txt', typeof document === 'undefined' ? location.href : document.currentScript && document.currentScript.src || document.baseURI).href); + var asset3 = (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-unresolved-B7Qh6_pN.txt').href : new URL('assets/asset-unresolved-B7Qh6_pN.txt', typeof document === 'undefined' ? location.href : document.currentScript && document.currentScript.src || document.baseURI).href); console.log(asset1, asset2, asset3); diff --git a/test/form/samples/emit-asset-file/_config.js b/test/form/samples/emit-asset-file/_config.js index 156e7b028..145c8dceb 100644 --- a/test/form/samples/emit-asset-file/_config.js +++ b/test/form/samples/emit-asset-file/_config.js @@ -25,9 +25,9 @@ module.exports = defineTest({ generateBundle(options, outputBundle) { const keys = Object.keys(outputBundle); assert.strictEqual(keys.length, 2); - assert.strictEqual(keys[0], 'assets/logo-Mw5Zq12q.svg'); + assert.strictEqual(keys[0], 'assets/logo-zDlmrXar.svg'); const asset = outputBundle[keys[0]]; - assert.strictEqual(asset.fileName, 'assets/logo-Mw5Zq12q.svg'); + assert.strictEqual(asset.fileName, 'assets/logo-zDlmrXar.svg'); if (asset.type !== 'asset') { throw new Error(`Unexpected asset type ${asset.type}.`); } diff --git a/test/form/samples/emit-asset-file/_expected/amd.js b/test/form/samples/emit-asset-file/_expected/amd.js index 95e450ea2..cc63d74ae 100644 --- a/test/form/samples/emit-asset-file/_expected/amd.js +++ b/test/form/samples/emit-asset-file/_expected/amd.js @@ -1,6 +1,6 @@ define(['require'], (function (require) { 'use strict'; - var logo = new URL(require.toUrl('./assets/logo-Mw5Zq12q.svg'), document.baseURI).href; + var logo = new URL(require.toUrl('./assets/logo-zDlmrXar.svg'), document.baseURI).href; function showImage(url) { console.log(url); diff --git a/test/form/samples/emit-asset-file/_expected/assets/logo-Mw5Zq12q.svg b/test/form/samples/emit-asset-file/_expected/assets/logo-zDlmrXar.svg similarity index 100% rename from test/form/samples/emit-asset-file/_expected/assets/logo-Mw5Zq12q.svg rename to test/form/samples/emit-asset-file/_expected/assets/logo-zDlmrXar.svg diff --git a/test/form/samples/emit-asset-file/_expected/cjs.js b/test/form/samples/emit-asset-file/_expected/cjs.js index f08047311..1ba04e93e 100644 --- a/test/form/samples/emit-asset-file/_expected/cjs.js +++ b/test/form/samples/emit-asset-file/_expected/cjs.js @@ -1,6 +1,6 @@ 'use strict'; -var logo = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/logo-Mw5Zq12q.svg').href : new URL('assets/logo-Mw5Zq12q.svg', document.currentScript && document.currentScript.src || document.baseURI).href); +var logo = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/logo-zDlmrXar.svg').href : new URL('assets/logo-zDlmrXar.svg', document.currentScript && document.currentScript.src || document.baseURI).href); function showImage(url) { console.log(url); diff --git a/test/form/samples/emit-asset-file/_expected/es.js b/test/form/samples/emit-asset-file/_expected/es.js index 3ce6ee622..a11aa3000 100644 --- a/test/form/samples/emit-asset-file/_expected/es.js +++ b/test/form/samples/emit-asset-file/_expected/es.js @@ -1,4 +1,4 @@ -var logo = new URL('assets/logo-Mw5Zq12q.svg', import.meta.url).href; +var logo = new URL('assets/logo-zDlmrXar.svg', import.meta.url).href; function showImage(url) { console.log(url); diff --git a/test/form/samples/emit-asset-file/_expected/iife.js b/test/form/samples/emit-asset-file/_expected/iife.js index cb0e0f33f..73a22830c 100644 --- a/test/form/samples/emit-asset-file/_expected/iife.js +++ b/test/form/samples/emit-asset-file/_expected/iife.js @@ -1,7 +1,7 @@ (function () { 'use strict'; - var logo = new URL('assets/logo-Mw5Zq12q.svg', document.currentScript && document.currentScript.src || document.baseURI).href; + var logo = new URL('assets/logo-zDlmrXar.svg', document.currentScript && document.currentScript.src || document.baseURI).href; function showImage(url) { console.log(url); diff --git a/test/form/samples/emit-asset-file/_expected/system.js b/test/form/samples/emit-asset-file/_expected/system.js index 5d2b8c1ee..63772e0d3 100644 --- a/test/form/samples/emit-asset-file/_expected/system.js +++ b/test/form/samples/emit-asset-file/_expected/system.js @@ -3,7 +3,7 @@ System.register([], (function (exports, module) { return { execute: (function () { - var logo = new URL('assets/logo-Mw5Zq12q.svg', module.meta.url).href; + var logo = new URL('assets/logo-zDlmrXar.svg', module.meta.url).href; function showImage(url) { console.log(url); diff --git a/test/form/samples/emit-asset-file/_expected/umd.js b/test/form/samples/emit-asset-file/_expected/umd.js index dba160744..0c11089b0 100644 --- a/test/form/samples/emit-asset-file/_expected/umd.js +++ b/test/form/samples/emit-asset-file/_expected/umd.js @@ -3,7 +3,7 @@ factory(); })((function () { 'use strict'; - var logo = (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/logo-Mw5Zq12q.svg').href : new URL('assets/logo-Mw5Zq12q.svg', typeof document === 'undefined' ? location.href : document.currentScript && document.currentScript.src || document.baseURI).href); + var logo = (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/logo-zDlmrXar.svg').href : new URL('assets/logo-zDlmrXar.svg', typeof document === 'undefined' ? location.href : document.currentScript && document.currentScript.src || document.baseURI).href); function showImage(url) { console.log(url); diff --git a/test/form/samples/emit-file-tree-shaken-access/_expected/assets/logo-Mw5Zq12q.svg b/test/form/samples/emit-file-tree-shaken-access/_expected/assets/logo-zDlmrXar.svg similarity index 100% rename from test/form/samples/emit-file-tree-shaken-access/_expected/assets/logo-Mw5Zq12q.svg rename to test/form/samples/emit-file-tree-shaken-access/_expected/assets/logo-zDlmrXar.svg diff --git a/test/form/samples/emit-uint8array-no-buffer/_expected/amd.js b/test/form/samples/emit-uint8array-no-buffer/_expected/amd.js index 9c9e5e8db..db474e03d 100644 --- a/test/form/samples/emit-uint8array-no-buffer/_expected/amd.js +++ b/test/form/samples/emit-uint8array-no-buffer/_expected/amd.js @@ -1,10 +1,10 @@ define(['require'], (function (require) { 'use strict'; - var asset1 = new URL(require.toUrl('./assets/asset-tb9uIT4z'), document.baseURI).href; + var asset1 = new URL(require.toUrl('./assets/asset-C1v24hPj'), document.baseURI).href; - var asset2 = new URL(require.toUrl('./assets/asset-rVqBj9gL'), document.baseURI).href; + var asset2 = new URL(require.toUrl('./assets/asset-CtWoGP2A'), document.baseURI).href; - var asset99 = new URL(require.toUrl('./assets/asset-PPyJ5YHr'), document.baseURI).href; + var asset99 = new URL(require.toUrl('./assets/asset-8_Inlget'), document.baseURI).href; console.log(asset1, asset2, asset99); diff --git a/test/form/samples/emit-uint8array-no-buffer/_expected/assets/asset-PPyJ5YHr b/test/form/samples/emit-uint8array-no-buffer/_expected/assets/asset-8_Inlget similarity index 100% rename from test/form/samples/emit-uint8array-no-buffer/_expected/assets/asset-PPyJ5YHr rename to test/form/samples/emit-uint8array-no-buffer/_expected/assets/asset-8_Inlget diff --git a/test/form/samples/emit-uint8array-no-buffer/_expected/assets/asset-tb9uIT4z b/test/form/samples/emit-uint8array-no-buffer/_expected/assets/asset-C1v24hPj similarity index 100% rename from test/form/samples/emit-uint8array-no-buffer/_expected/assets/asset-tb9uIT4z rename to test/form/samples/emit-uint8array-no-buffer/_expected/assets/asset-C1v24hPj diff --git a/test/form/samples/emit-uint8array-no-buffer/_expected/assets/asset-rVqBj9gL b/test/form/samples/emit-uint8array-no-buffer/_expected/assets/asset-CtWoGP2A similarity index 100% rename from test/form/samples/emit-uint8array-no-buffer/_expected/assets/asset-rVqBj9gL rename to test/form/samples/emit-uint8array-no-buffer/_expected/assets/asset-CtWoGP2A diff --git a/test/form/samples/emit-uint8array-no-buffer/_expected/cjs.js b/test/form/samples/emit-uint8array-no-buffer/_expected/cjs.js index 72766f772..ba3ba24a9 100644 --- a/test/form/samples/emit-uint8array-no-buffer/_expected/cjs.js +++ b/test/form/samples/emit-uint8array-no-buffer/_expected/cjs.js @@ -1,9 +1,9 @@ 'use strict'; -var asset1 = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-tb9uIT4z').href : new URL('assets/asset-tb9uIT4z', document.currentScript && document.currentScript.src || document.baseURI).href); +var asset1 = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-C1v24hPj').href : new URL('assets/asset-C1v24hPj', document.currentScript && document.currentScript.src || document.baseURI).href); -var asset2 = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-rVqBj9gL').href : new URL('assets/asset-rVqBj9gL', document.currentScript && document.currentScript.src || document.baseURI).href); +var asset2 = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-CtWoGP2A').href : new URL('assets/asset-CtWoGP2A', document.currentScript && document.currentScript.src || document.baseURI).href); -var asset99 = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-PPyJ5YHr').href : new URL('assets/asset-PPyJ5YHr', document.currentScript && document.currentScript.src || document.baseURI).href); +var asset99 = (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-8_Inlget').href : new URL('assets/asset-8_Inlget', document.currentScript && document.currentScript.src || document.baseURI).href); console.log(asset1, asset2, asset99); diff --git a/test/form/samples/emit-uint8array-no-buffer/_expected/es.js b/test/form/samples/emit-uint8array-no-buffer/_expected/es.js index e8e4da6f6..14fc64724 100644 --- a/test/form/samples/emit-uint8array-no-buffer/_expected/es.js +++ b/test/form/samples/emit-uint8array-no-buffer/_expected/es.js @@ -1,7 +1,7 @@ -var asset1 = new URL('assets/asset-tb9uIT4z', import.meta.url).href; +var asset1 = new URL('assets/asset-C1v24hPj', import.meta.url).href; -var asset2 = new URL('assets/asset-rVqBj9gL', import.meta.url).href; +var asset2 = new URL('assets/asset-CtWoGP2A', import.meta.url).href; -var asset99 = new URL('assets/asset-PPyJ5YHr', import.meta.url).href; +var asset99 = new URL('assets/asset-8_Inlget', import.meta.url).href; console.log(asset1, asset2, asset99); diff --git a/test/form/samples/emit-uint8array-no-buffer/_expected/iife.js b/test/form/samples/emit-uint8array-no-buffer/_expected/iife.js index 1e53ea6a5..54c983c82 100644 --- a/test/form/samples/emit-uint8array-no-buffer/_expected/iife.js +++ b/test/form/samples/emit-uint8array-no-buffer/_expected/iife.js @@ -1,11 +1,11 @@ (function () { 'use strict'; - var asset1 = new URL('assets/asset-tb9uIT4z', document.currentScript && document.currentScript.src || document.baseURI).href; + var asset1 = new URL('assets/asset-C1v24hPj', document.currentScript && document.currentScript.src || document.baseURI).href; - var asset2 = new URL('assets/asset-rVqBj9gL', document.currentScript && document.currentScript.src || document.baseURI).href; + var asset2 = new URL('assets/asset-CtWoGP2A', document.currentScript && document.currentScript.src || document.baseURI).href; - var asset99 = new URL('assets/asset-PPyJ5YHr', document.currentScript && document.currentScript.src || document.baseURI).href; + var asset99 = new URL('assets/asset-8_Inlget', document.currentScript && document.currentScript.src || document.baseURI).href; console.log(asset1, asset2, asset99); diff --git a/test/form/samples/emit-uint8array-no-buffer/_expected/system.js b/test/form/samples/emit-uint8array-no-buffer/_expected/system.js index 793417e46..c8636a69a 100644 --- a/test/form/samples/emit-uint8array-no-buffer/_expected/system.js +++ b/test/form/samples/emit-uint8array-no-buffer/_expected/system.js @@ -3,11 +3,11 @@ System.register([], (function (exports, module) { return { execute: (function () { - var asset1 = new URL('assets/asset-tb9uIT4z', module.meta.url).href; + var asset1 = new URL('assets/asset-C1v24hPj', module.meta.url).href; - var asset2 = new URL('assets/asset-rVqBj9gL', module.meta.url).href; + var asset2 = new URL('assets/asset-CtWoGP2A', module.meta.url).href; - var asset99 = new URL('assets/asset-PPyJ5YHr', module.meta.url).href; + var asset99 = new URL('assets/asset-8_Inlget', module.meta.url).href; console.log(asset1, asset2, asset99); diff --git a/test/form/samples/emit-uint8array-no-buffer/_expected/umd.js b/test/form/samples/emit-uint8array-no-buffer/_expected/umd.js index 3dd9d1d11..270594963 100644 --- a/test/form/samples/emit-uint8array-no-buffer/_expected/umd.js +++ b/test/form/samples/emit-uint8array-no-buffer/_expected/umd.js @@ -3,11 +3,11 @@ factory(); })((function () { 'use strict'; - var asset1 = (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-tb9uIT4z').href : new URL('assets/asset-tb9uIT4z', typeof document === 'undefined' ? location.href : document.currentScript && document.currentScript.src || document.baseURI).href); + var asset1 = (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-C1v24hPj').href : new URL('assets/asset-C1v24hPj', typeof document === 'undefined' ? location.href : document.currentScript && document.currentScript.src || document.baseURI).href); - var asset2 = (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-rVqBj9gL').href : new URL('assets/asset-rVqBj9gL', typeof document === 'undefined' ? location.href : document.currentScript && document.currentScript.src || document.baseURI).href); + var asset2 = (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-CtWoGP2A').href : new URL('assets/asset-CtWoGP2A', typeof document === 'undefined' ? location.href : document.currentScript && document.currentScript.src || document.baseURI).href); - var asset99 = (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-PPyJ5YHr').href : new URL('assets/asset-PPyJ5YHr', typeof document === 'undefined' ? location.href : document.currentScript && document.currentScript.src || document.baseURI).href); + var asset99 = (typeof document === 'undefined' && typeof location === 'undefined' ? require('u' + 'rl').pathToFileURL(__dirname + '/assets/asset-8_Inlget').href : new URL('assets/asset-8_Inlget', typeof document === 'undefined' ? location.href : document.currentScript && document.currentScript.src || document.baseURI).href); console.log(asset1, asset2, asset99); diff --git a/test/form/samples/no-external-live-bindings-compact/_expected/system.js b/test/form/samples/no-external-live-bindings-compact/_expected/system.js index e8866d9b8..195274170 100644 --- a/test/form/samples/no-external-live-bindings-compact/_expected/system.js +++ b/test/form/samples/no-external-live-bindings-compact/_expected/system.js @@ -1 +1 @@ -System.register('bundle',['external1','external2'],(function(exports,module){'use strict';var _starExcludes={__proto__:null,dynamic:1,default:1,external1:1};return{setters:[function(module){exports("external1",module.external1);},function(module){var setter={__proto__:null};for(var name in module){if(!_starExcludes[name])setter[name]=module[name];}exports(setter);}],execute:(function(){const dynamic = exports("dynamic",module.import('external3'));})}})); +System.register('bundle',['external1','external2'],(function(exports,module){'use strict';var _starExcludes={__proto__:null,dynamic:1,default:1,external1:1};return{setters:[function(module){exports("external1",module.external1);},function(module){var setter={__proto__:null};for(var name in module){if(!_starExcludes[name])setter[name]=module[name];}exports(setter);}],execute:(function(){const dynamic = exports("dynamic",module.import('external3'));})}})); \ No newline at end of file diff --git a/test/function/samples/emit-chunk-hash/_config.js b/test/function/samples/emit-chunk-hash/_config.js index 0d453c080..06f792384 100644 --- a/test/function/samples/emit-chunk-hash/_config.js +++ b/test/function/samples/emit-chunk-hash/_config.js @@ -14,7 +14,7 @@ module.exports = defineTest({ referenceId = this.emitFile({ type: 'chunk', id: 'emitted' }); }, generateBundle() { - assert.strictEqual(this.getFileName(referenceId), 'emitted-QRI93uhT.js'); + assert.strictEqual(this.getFileName(referenceId), 'emitted-gSMhVgKt.js'); } } ] diff --git a/test/function/samples/emit-chunk-manual-asset-source/_config.js b/test/function/samples/emit-chunk-manual-asset-source/_config.js index 6ce2e054a..5394233ba 100644 --- a/test/function/samples/emit-chunk-manual-asset-source/_config.js +++ b/test/function/samples/emit-chunk-manual-asset-source/_config.js @@ -21,7 +21,7 @@ module.exports = defineTest({ } }, generateBundle() { - assert.strictEqual(this.getFileName(referenceId), 'emitted-umwR9Fta.txt'); + assert.strictEqual(this.getFileName(referenceId), 'emitted-C6bBH0W1.txt'); } } ] diff --git a/test/function/samples/emit-chunk-manual/_config.js b/test/function/samples/emit-chunk-manual/_config.js index 7b8edc260..4011b5666 100644 --- a/test/function/samples/emit-chunk-manual/_config.js +++ b/test/function/samples/emit-chunk-manual/_config.js @@ -16,7 +16,7 @@ module.exports = defineTest({ } }, generateBundle() { - assert.strictEqual(this.getFileName(referenceId), 'emitted-umwR9Fta.txt'); + assert.strictEqual(this.getFileName(referenceId), 'emitted-C6bBH0W1.txt'); } } ] diff --git a/test/function/samples/emit-file/asset-source-invalid3/_config.js b/test/function/samples/emit-file/asset-source-invalid3/_config.js index b4b14d6d7..44e62cf8b 100644 --- a/test/function/samples/emit-file/asset-source-invalid3/_config.js +++ b/test/function/samples/emit-file/asset-source-invalid3/_config.js @@ -15,7 +15,7 @@ module.exports = defineTest({ code: 'PLUGIN_ERROR', hook: 'buildStart', message: - 'Could not set source for asset "WPGYjwIl", asset source needs to be a string, Uint8Array or Buffer.', + 'Could not set source for asset "BY8ZiPAi", asset source needs to be a string, Uint8Array or Buffer.', plugin: 'test-plugin', pluginCode: 'VALIDATION_ERROR' } diff --git a/test/function/samples/emit-file/asset-source-missing2/_config.js b/test/function/samples/emit-file/asset-source-missing2/_config.js index bfda3f628..580cc02f5 100644 --- a/test/function/samples/emit-file/asset-source-missing2/_config.js +++ b/test/function/samples/emit-file/asset-source-missing2/_config.js @@ -12,6 +12,6 @@ module.exports = defineTest({ }, generateError: { code: 'ASSET_SOURCE_MISSING', - message: 'Plugin error creating asset "WPGYjwIl" - no asset source set.' + message: 'Plugin error creating asset "BY8ZiPAi" - no asset source set.' } }); diff --git a/test/function/samples/emit-file/asset-source-missing4/_config.js b/test/function/samples/emit-file/asset-source-missing4/_config.js index 34efe1c65..df9a9261b 100644 --- a/test/function/samples/emit-file/asset-source-missing4/_config.js +++ b/test/function/samples/emit-file/asset-source-missing4/_config.js @@ -15,7 +15,7 @@ module.exports = defineTest({ code: 'PLUGIN_ERROR', hook: 'buildStart', message: - 'Plugin error - Unable to get file name for asset "WPGYjwIl". Ensure that the source is set and that generate is called first. If you reference assets via import.meta.ROLLUP_FILE_URL_, you need to either have set their source after "renderStart" or need to provide an explicit "fileName" when emitting them.', + 'Plugin error - Unable to get file name for asset "BY8ZiPAi". Ensure that the source is set and that generate is called first. If you reference assets via import.meta.ROLLUP_FILE_URL_, you need to either have set their source after "renderStart" or need to provide an explicit "fileName" when emitting them.', plugin: 'test-plugin', pluginCode: 'ASSET_NOT_FINALISED' } diff --git a/test/function/samples/emit-file/set-asset-source-chunk/_config.js b/test/function/samples/emit-file/set-asset-source-chunk/_config.js index 83182333c..03b6b2b53 100644 --- a/test/function/samples/emit-file/set-asset-source-chunk/_config.js +++ b/test/function/samples/emit-file/set-asset-source-chunk/_config.js @@ -14,7 +14,7 @@ module.exports = defineTest({ error: { code: 'PLUGIN_ERROR', hook: 'buildStart', - message: 'Asset sources can only be set for emitted assets but "Vbibt3QL" is an emitted chunk.', + message: 'Asset sources can only be set for emitted assets but "BVuJu3dA" is an emitted chunk.', plugin: 'test-plugin', pluginCode: 'VALIDATION_ERROR' } diff --git a/test/function/samples/emit-file/set-asset-source-twice2/_config.js b/test/function/samples/emit-file/set-asset-source-twice2/_config.js index 4a962fcf7..c53c74dd1 100644 --- a/test/function/samples/emit-file/set-asset-source-twice2/_config.js +++ b/test/function/samples/emit-file/set-asset-source-twice2/_config.js @@ -15,7 +15,7 @@ module.exports = defineTest({ error: { code: 'PLUGIN_ERROR', hook: 'buildEnd', - message: 'Unable to set the source for asset "WPGYjwIl", source already set.', + message: 'Unable to set the source for asset "BY8ZiPAi", source already set.', plugin: 'test-plugin', pluginCode: 'ASSET_SOURCE_ALREADY_SET' } diff --git a/test/function/samples/output-options-hook/_config.js b/test/function/samples/output-options-hook/_config.js index 2027c44a8..3d937e0c3 100644 --- a/test/function/samples/output-options-hook/_config.js +++ b/test/function/samples/output-options-hook/_config.js @@ -44,6 +44,7 @@ module.exports = defineTest({ symbols: false }, globals: {}, + hashCharacters: 'base64', hoistTransitiveImports: true, indent: true, inlineDynamicImports: false, diff --git a/test/hooks/index.js b/test/hooks/index.js index f88f351c2..5e8d5ac73 100644 --- a/test/hooks/index.js +++ b/test/hooks/index.js @@ -173,9 +173,9 @@ describe('hooks', () => { .then(({ output }) => { assert.strictEqual( output[0].code, - `var input = new URL('chunk-6DeDEJ3U.js', import.meta.url).href;\n\nexport { input as default };\n` + `var input = new URL('chunk-CnTfOX_8.js', import.meta.url).href;\n\nexport { input as default };\n` ); - assert.strictEqual(output[1].fileName, 'chunk-6DeDEJ3U.js'); + assert.strictEqual(output[1].fileName, 'chunk-CnTfOX_8.js'); assert.strictEqual(output[1].code, `console.log('chunk');\n`); return rollup.rollup({ @@ -198,9 +198,9 @@ describe('hooks', () => { .then(({ output }) => { assert.strictEqual( output[0].code, - `var input = new URL('chunk-6DeDEJ3U.js', import.meta.url).href;\n\nexport { input as default };\n` + `var input = new URL('chunk-CnTfOX_8.js', import.meta.url).href;\n\nexport { input as default };\n` ); - assert.strictEqual(output[1].fileName, 'chunk-6DeDEJ3U.js'); + assert.strictEqual(output[1].fileName, 'chunk-CnTfOX_8.js'); assert.strictEqual(output[1].code, `console.log('chunk');\n`); return rollup.rollup({ @@ -220,9 +220,9 @@ describe('hooks', () => { .then(({ output }) => { assert.strictEqual( output[0].code, - `var input = new URL('chunk-6DeDEJ3U.js', import.meta.url).href;\n\nexport { input as default };\n` + `var input = new URL('chunk-CnTfOX_8.js', import.meta.url).href;\n\nexport { input as default };\n` ); - assert.strictEqual(output[1].fileName, 'chunk-6DeDEJ3U.js'); + assert.strictEqual(output[1].fileName, 'chunk-CnTfOX_8.js'); assert.strictEqual(output[1].code, `console.log('chunk');\n`); }); }); @@ -280,9 +280,9 @@ describe('hooks', () => { .then(({ output }) => { assert.strictEqual( output[0].code, - `var input = new URL('assets/test-x7YVzHWH.ext', import.meta.url).href;\n\nexport { input as default };\n` + `var input = new URL('assets/test-DHthXMdY.ext', import.meta.url).href;\n\nexport { input as default };\n` ); - assert.strictEqual(output[1].fileName, 'assets/test-x7YVzHWH.ext'); + assert.strictEqual(output[1].fileName, 'assets/test-DHthXMdY.ext'); assert.strictEqual(output[1].source, 'hello world'); return rollup.rollup({ @@ -305,9 +305,9 @@ describe('hooks', () => { .then(({ output }) => { assert.strictEqual( output[0].code, - `var input = new URL('assets/test-x7YVzHWH.ext', import.meta.url).href;\n\nexport { input as default };\n` + `var input = new URL('assets/test-DHthXMdY.ext', import.meta.url).href;\n\nexport { input as default };\n` ); - assert.strictEqual(output[1].fileName, 'assets/test-x7YVzHWH.ext'); + assert.strictEqual(output[1].fileName, 'assets/test-DHthXMdY.ext'); assert.strictEqual(output[1].source, 'hello world'); return rollup.rollup({ @@ -327,9 +327,9 @@ describe('hooks', () => { .then(({ output }) => { assert.strictEqual( output[0].code, - `var input = new URL('assets/test-x7YVzHWH.ext', import.meta.url).href;\n\nexport { input as default };\n` + `var input = new URL('assets/test-DHthXMdY.ext', import.meta.url).href;\n\nexport { input as default };\n` ); - assert.strictEqual(output[1].fileName, 'assets/test-x7YVzHWH.ext'); + assert.strictEqual(output[1].fileName, 'assets/test-DHthXMdY.ext'); assert.strictEqual(output[1].source, 'hello world'); }); }); @@ -375,10 +375,10 @@ describe('hooks', () => { assert.strictEqual( output[0].code, `console.log('imported');\n\n` + - `var input = new URL('assets/test--GjEfoLW.ext', import.meta.url).href;\n\n` + + `var input = new URL('assets/test-D4aMR-gt.ext', import.meta.url).href;\n\n` + `export { input as default };\n` ); - assert.strictEqual(output[1].fileName, 'assets/test--GjEfoLW.ext'); + assert.strictEqual(output[1].fileName, 'assets/test-D4aMR-gt.ext'); assert.strictEqual(output[1].source, 'first run'); return rollup.rollup({ @@ -408,10 +408,10 @@ describe('hooks', () => { assert.strictEqual( output[0].code, `console.log('imported');\n\n` + - `var input = new URL('assets/test--NJ9-A8g.ext', import.meta.url).href;\n\n` + + `var input = new URL('assets/test-D40n34Dy.ext', import.meta.url).href;\n\n` + `export { input as default };\n` ); - assert.strictEqual(output[1].fileName, 'assets/test--NJ9-A8g.ext'); + assert.strictEqual(output[1].fileName, 'assets/test-D40n34Dy.ext'); assert.strictEqual(output[1].source, 'second run'); }); }); @@ -446,11 +446,11 @@ describe('hooks', () => { .then(({ output }) => { assert.strictEqual( output[0].code, - `var input = new URL('assets/test-x7YVzHWH.ext', import.meta.url).href;\n\nexport { input as default };\n` + `var input = new URL('assets/test-DHthXMdY.ext', import.meta.url).href;\n\nexport { input as default };\n` ); - assert.strictEqual(output[1].fileName, 'assets/test-x7YVzHWH.ext'); + assert.strictEqual(output[1].fileName, 'assets/test-DHthXMdY.ext'); assert.strictEqual(output[1].source, 'hello world'); - assert.strictEqual(output[1].fileName, 'assets/test-x7YVzHWH.ext'); + assert.strictEqual(output[1].fileName, 'assets/test-DHthXMdY.ext'); assert.strictEqual(output[1].source, 'hello world'); return rollup.rollup({ diff --git a/test/misc/bundle-information.js b/test/misc/bundle-information.js index a30dfd0a6..7e99e07b7 100644 --- a/test/misc/bundle-information.js +++ b/test/misc/bundle-information.js @@ -28,14 +28,14 @@ describe('The bundle object', () => { .then(({ output }) => { assert.deepEqual( output.map(chunk => chunk.fileName), - ['input1-e1JxsyY1.js', 'input2-82mPINil.js', 'generated-shared-8B_aVNG6.js'], + ['input1-BM2OP0FT.js', 'input2-5N8un_JB.js', 'generated-shared-CbVywpjf.js'], 'fileName' ); assert.deepEqual( output.map(chunk => chunk.code), [ - `import { u as used, s as shared } from './generated-shared-8B_aVNG6.js';\n\nconsole.log("input1", used, shared);const out = true;\n\nexport { out };\n`, - `import './generated-shared-8B_aVNG6.js';\n\nconsole.log("input2");var input2 = 42;\n\nexport { input2 as default };\n`, + `import { u as used, s as shared } from './generated-shared-CbVywpjf.js';\n\nconsole.log("input1", used, shared);const out = true;\n\nexport { out };\n`, + `import './generated-shared-CbVywpjf.js';\n\nconsole.log("input2");var input2 = 42;\n\nexport { input2 as default };\n`, `console.log("shared");const used = "used"; var shared = "stuff";\n\nexport { shared as s, used as u };\n` ], 'code' @@ -62,14 +62,14 @@ describe('The bundle object', () => { ); assert.deepEqual( output.map(chunk => chunk.imports), - [['generated-shared-8B_aVNG6.js'], ['generated-shared-8B_aVNG6.js'], []], + [['generated-shared-CbVywpjf.js'], ['generated-shared-CbVywpjf.js'], []], 'imports' ); assert.deepEqual( output.map(chunk => chunk.importedBindings), [ - { 'generated-shared-8B_aVNG6.js': ['u', 's'] }, - { 'generated-shared-8B_aVNG6.js': [] }, + { 'generated-shared-CbVywpjf.js': ['u', 's'] }, + { 'generated-shared-CbVywpjf.js': [] }, {} ], 'importedBindings' diff --git a/test/misc/misc.js b/test/misc/misc.js index 11b22d244..1448bde4c 100644 --- a/test/misc/misc.js +++ b/test/misc/misc.js @@ -109,7 +109,7 @@ describe('misc', () => { assert.equal(warnings.length, 0); assert.deepEqual( output.map(({ fileName }) => fileName), - ['main1.js', 'main2.js', 'dep-OBdYcLqx.js', 'dyndep-t4Fvao3e.js'] + ['main1.js', 'main2.js', 'dep-BED4JKkQ.js', 'dyndep-DOckMt73.js'] ); }); }); diff --git a/test/misc/optionList.js b/test/misc/optionList.js index 24401c792..9b52d5252 100644 --- a/test/misc/optionList.js +++ b/test/misc/optionList.js @@ -1,6 +1,6 @@ exports.input = 'cache, context, experimentalCacheExpiry, experimentalLogSideEffects, external, input, logLevel, makeAbsoluteExternalsRelative, maxParallelFileOps, moduleContext, onLog, onwarn, perf, plugins, preserveEntrySignatures, preserveSymlinks, shimMissingExports, strictDeprecations, treeshake, watch'; exports.flags = - 'amd, assetFileNames, banner, bundleConfigAsCjs, c, cache, chunkFileNames, compact, config, configPlugin, context, d, dir, dynamicImportInCjs, e, entryFileNames, environment, esModule, experimentalCacheExpiry, experimentalLogSideEffects, experimentalMinChunkSize, exports, extend, external, externalImportAssertions, externalImportAttributes, externalLiveBindings, f, failAfterWarnings, file, filterLogs, footer, forceExit, format, freeze, g, generatedCode, globals, h, hoistTransitiveImports, i, indent, inlineDynamicImports, input, interop, intro, logLevel, m, makeAbsoluteExternalsRelative, manualChunks, maxParallelFileOps, minifyInternalExports, moduleContext, n, name, noConflict, o, onLog, onwarn, outro, p, paths, perf, plugin, plugins, preserveEntrySignatures, preserveModules, preserveModulesRoot, preserveSymlinks, sanitizeFileName, shimMissingExports, silent, sourcemap, sourcemapBaseUrl, sourcemapExcludeSources, sourcemapFile, sourcemapFileNames, stdin, strict, strictDeprecations, systemNullSetters, treeshake, v, validate, w, waitForBundleInput, watch'; + 'amd, assetFileNames, banner, bundleConfigAsCjs, c, cache, chunkFileNames, compact, config, configPlugin, context, d, dir, dynamicImportInCjs, e, entryFileNames, environment, esModule, experimentalCacheExpiry, experimentalLogSideEffects, experimentalMinChunkSize, exports, extend, external, externalImportAssertions, externalImportAttributes, externalLiveBindings, f, failAfterWarnings, file, filterLogs, footer, forceExit, format, freeze, g, generatedCode, globals, h, hashCharacters, hoistTransitiveImports, i, indent, inlineDynamicImports, input, interop, intro, logLevel, m, makeAbsoluteExternalsRelative, manualChunks, maxParallelFileOps, minifyInternalExports, moduleContext, n, name, noConflict, o, onLog, onwarn, outro, p, paths, perf, plugin, plugins, preserveEntrySignatures, preserveModules, preserveModulesRoot, preserveSymlinks, sanitizeFileName, shimMissingExports, silent, sourcemap, sourcemapBaseUrl, sourcemapExcludeSources, sourcemapFile, sourcemapFileNames, stdin, strict, strictDeprecations, systemNullSetters, treeshake, v, validate, w, waitForBundleInput, watch'; exports.output = - 'amd, assetFileNames, banner, chunkFileNames, compact, dir, dynamicImportInCjs, entryFileNames, esModule, experimentalMinChunkSize, exports, extend, externalImportAssertions, externalImportAttributes, externalLiveBindings, file, footer, format, freeze, generatedCode, globals, hoistTransitiveImports, indent, inlineDynamicImports, interop, intro, manualChunks, minifyInternalExports, name, noConflict, outro, paths, plugins, preserveModules, preserveModulesRoot, sanitizeFileName, sourcemap, sourcemapBaseUrl, sourcemapExcludeSources, sourcemapFile, sourcemapFileNames, sourcemapIgnoreList, sourcemapPathTransform, strict, systemNullSetters, validate'; + 'amd, assetFileNames, banner, chunkFileNames, compact, dir, dynamicImportInCjs, entryFileNames, esModule, experimentalMinChunkSize, exports, extend, externalImportAssertions, externalImportAttributes, externalLiveBindings, file, footer, format, freeze, generatedCode, globals, hashCharacters, hoistTransitiveImports, indent, inlineDynamicImports, interop, intro, manualChunks, minifyInternalExports, name, noConflict, outro, paths, plugins, preserveModules, preserveModulesRoot, sanitizeFileName, sourcemap, sourcemapBaseUrl, sourcemapExcludeSources, sourcemapFile, sourcemapFileNames, sourcemapIgnoreList, sourcemapPathTransform, strict, systemNullSetters, validate'; diff --git a/wasm/bindings_wasm.d.ts b/wasm/bindings_wasm.d.ts index 9f50667b5..cbf20a765 100644 --- a/wasm/bindings_wasm.d.ts +++ b/wasm/bindings_wasm.d.ts @@ -11,6 +11,16 @@ export function parse(code: string, allow_return_outside_function: boolean): Uin * @returns {string} */ export function xxhashBase64Url(input: Uint8Array): string; +/** +* @param {Uint8Array} input +* @returns {string} +*/ +export function xxhashBase36(input: Uint8Array): string; +/** +* @param {Uint8Array} input +* @returns {string} +*/ +export function xxhashBase16(input: Uint8Array): string; export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module; @@ -18,6 +28,8 @@ export interface InitOutput { readonly memory: WebAssembly.Memory; readonly parse: (a: number, b: number, c: number, d: number) => void; readonly xxhashBase64Url: (a: number, b: number) => void; + readonly xxhashBase36: (a: number, b: number) => void; + readonly xxhashBase16: (a: number, b: number) => void; readonly __wbindgen_add_to_stack_pointer: (a: number) => number; readonly __wbindgen_malloc: (a: number, b: number) => number; readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number; diff --git a/wasm/bindings_wasm_bg.wasm.d.ts b/wasm/bindings_wasm_bg.wasm.d.ts index 7bcafe200..af58c9386 100644 --- a/wasm/bindings_wasm_bg.wasm.d.ts +++ b/wasm/bindings_wasm_bg.wasm.d.ts @@ -3,6 +3,8 @@ export const memory: WebAssembly.Memory; export function parse(a: number, b: number, c: number, d: number): void; export function xxhashBase64Url(a: number, b: number): void; +export function xxhashBase36(a: number, b: number): void; +export function xxhashBase16(a: number, b: number): void; export function __wbindgen_add_to_stack_pointer(a: number): number; export function __wbindgen_malloc(a: number, b: number): number; export function __wbindgen_realloc(a: number, b: number, c: number, d: number): number; From 51226e314c22265704e1bb3356bf3d5eeb38178d Mon Sep 17 00:00:00 2001 From: XiaoPi <530257315@qq.com> Date: Fri, 9 Feb 2024 13:01:58 +0800 Subject: [PATCH 09/15] Catch Rust panics and then throw them in JS (#5383) * Transform rust panic message into Buffer * Update buffer-to-ast.ts * Adapt error function in the Module class --- .../convert_ast/converter/ast_constants.rs | 155 +++++++++--------- rust/parse_ast/src/lib.rs | 54 ++++-- scripts/generate-buffer-to-ast.js | 4 + scripts/generate-rust-constants.js | 10 +- src/Module.ts | 4 +- src/utils/buffer-to-ast.ts | 4 + src/utils/logs.ts | 2 +- .../samples/catch-rust-panic/_config.js | 17 ++ .../function/samples/catch-rust-panic/main.js | 3 + 9 files changed, 154 insertions(+), 99 deletions(-) create mode 100644 test/function/samples/catch-rust-panic/_config.js create mode 100644 test/function/samples/catch-rust-panic/main.js diff --git a/rust/parse_ast/src/convert_ast/converter/ast_constants.rs b/rust/parse_ast/src/convert_ast/converter/ast_constants.rs index ed8c1c031..0cba4035e 100644 --- a/rust/parse_ast/src/convert_ast/converter/ast_constants.rs +++ b/rust/parse_ast/src/convert_ast/converter/ast_constants.rs @@ -2,83 +2,84 @@ // Do not edit this file directly. pub const TYPE_PARSE_ERROR: [u8; 4] = 0u32.to_ne_bytes(); -pub const TYPE_ARRAY_EXPRESSION_INLINED_ELEMENTS: [u8; 4] = 1u32.to_ne_bytes(); -pub const TYPE_ARRAY_PATTERN_INLINED_ELEMENTS: [u8; 4] = 2u32.to_ne_bytes(); -pub const TYPE_ARROW_FUNCTION_EXPRESSION_INLINED_ANNOTATIONS: [u8; 4] = 3u32.to_ne_bytes(); -pub const TYPE_ASSIGNMENT_EXPRESSION_INLINED_LEFT: [u8; 4] = 4u32.to_ne_bytes(); -pub const TYPE_ASSIGNMENT_PATTERN_INLINED_LEFT: [u8; 4] = 5u32.to_ne_bytes(); -pub const TYPE_AWAIT_EXPRESSION_INLINED_ARGUMENT: [u8; 4] = 6u32.to_ne_bytes(); -pub const TYPE_BINARY_EXPRESSION_INLINED_LEFT: [u8; 4] = 7u32.to_ne_bytes(); -pub const TYPE_BLOCK_STATEMENT_INLINED_BODY: [u8; 4] = 8u32.to_ne_bytes(); -pub const TYPE_BREAK_STATEMENT: [u8; 4] = 9u32.to_ne_bytes(); -pub const TYPE_CALL_EXPRESSION_INLINED_ANNOTATIONS: [u8; 4] = 10u32.to_ne_bytes(); -pub const TYPE_CATCH_CLAUSE: [u8; 4] = 11u32.to_ne_bytes(); -pub const TYPE_CHAIN_EXPRESSION_INLINED_EXPRESSION: [u8; 4] = 12u32.to_ne_bytes(); -pub const TYPE_CLASS_BODY_INLINED_BODY: [u8; 4] = 13u32.to_ne_bytes(); -pub const TYPE_CLASS_DECLARATION: [u8; 4] = 14u32.to_ne_bytes(); -pub const TYPE_CLASS_EXPRESSION: [u8; 4] = 15u32.to_ne_bytes(); -pub const TYPE_CONDITIONAL_EXPRESSION_INLINED_TEST: [u8; 4] = 16u32.to_ne_bytes(); -pub const TYPE_CONTINUE_STATEMENT: [u8; 4] = 17u32.to_ne_bytes(); -pub const TYPE_DEBUGGER_STATEMENT: [u8; 4] = 18u32.to_ne_bytes(); -pub const TYPE_DIRECTIVE_INLINED_DIRECTIVE: [u8; 4] = 19u32.to_ne_bytes(); -pub const TYPE_DO_WHILE_STATEMENT_INLINED_BODY: [u8; 4] = 20u32.to_ne_bytes(); -pub const TYPE_EMPTY_STATEMENT: [u8; 4] = 21u32.to_ne_bytes(); -pub const TYPE_EXPORT_ALL_DECLARATION: [u8; 4] = 22u32.to_ne_bytes(); -pub const TYPE_EXPORT_DEFAULT_DECLARATION_INLINED_DECLARATION: [u8; 4] = 23u32.to_ne_bytes(); -pub const TYPE_EXPORT_NAMED_DECLARATION_INLINED_SPECIFIERS: [u8; 4] = 24u32.to_ne_bytes(); -pub const TYPE_EXPORT_SPECIFIER_INLINED_LOCAL: [u8; 4] = 25u32.to_ne_bytes(); -pub const TYPE_EXPRESSION_STATEMENT_INLINED_EXPRESSION: [u8; 4] = 26u32.to_ne_bytes(); -pub const TYPE_FOR_IN_STATEMENT_INLINED_LEFT: [u8; 4] = 27u32.to_ne_bytes(); -pub const TYPE_FOR_OF_STATEMENT_INLINED_LEFT: [u8; 4] = 28u32.to_ne_bytes(); -pub const TYPE_FOR_STATEMENT: [u8; 4] = 29u32.to_ne_bytes(); -pub const TYPE_FUNCTION_DECLARATION_INLINED_ANNOTATIONS: [u8; 4] = 30u32.to_ne_bytes(); -pub const TYPE_FUNCTION_EXPRESSION_INLINED_ANNOTATIONS: [u8; 4] = 31u32.to_ne_bytes(); -pub const TYPE_IDENTIFIER_INLINED_NAME: [u8; 4] = 32u32.to_ne_bytes(); -pub const TYPE_IF_STATEMENT_INLINED_TEST: [u8; 4] = 33u32.to_ne_bytes(); -pub const TYPE_IMPORT_ATTRIBUTE_INLINED_KEY: [u8; 4] = 34u32.to_ne_bytes(); -pub const TYPE_IMPORT_DECLARATION_INLINED_SPECIFIERS: [u8; 4] = 35u32.to_ne_bytes(); -pub const TYPE_IMPORT_DEFAULT_SPECIFIER_INLINED_LOCAL: [u8; 4] = 36u32.to_ne_bytes(); -pub const TYPE_IMPORT_EXPRESSION_INLINED_SOURCE: [u8; 4] = 37u32.to_ne_bytes(); -pub const TYPE_IMPORT_NAMESPACE_SPECIFIER_INLINED_LOCAL: [u8; 4] = 38u32.to_ne_bytes(); -pub const TYPE_IMPORT_SPECIFIER: [u8; 4] = 39u32.to_ne_bytes(); -pub const TYPE_LABELED_STATEMENT_INLINED_LABEL: [u8; 4] = 40u32.to_ne_bytes(); -pub const TYPE_LITERAL_BIG_INT_INLINED_BIGINT: [u8; 4] = 41u32.to_ne_bytes(); -pub const TYPE_LITERAL_BOOLEAN: [u8; 4] = 42u32.to_ne_bytes(); -pub const TYPE_LITERAL_NULL: [u8; 4] = 43u32.to_ne_bytes(); -pub const TYPE_LITERAL_NUMBER: [u8; 4] = 44u32.to_ne_bytes(); -pub const TYPE_LITERAL_REG_EXP_INLINED_FLAGS: [u8; 4] = 45u32.to_ne_bytes(); -pub const TYPE_LITERAL_STRING_INLINED_VALUE: [u8; 4] = 46u32.to_ne_bytes(); -pub const TYPE_LOGICAL_EXPRESSION_INLINED_LEFT: [u8; 4] = 47u32.to_ne_bytes(); -pub const TYPE_MEMBER_EXPRESSION_INLINED_OBJECT: [u8; 4] = 48u32.to_ne_bytes(); -pub const TYPE_META_PROPERTY_INLINED_META: [u8; 4] = 49u32.to_ne_bytes(); -pub const TYPE_METHOD_DEFINITION_INLINED_KEY: [u8; 4] = 50u32.to_ne_bytes(); -pub const TYPE_NEW_EXPRESSION_INLINED_ANNOTATIONS: [u8; 4] = 51u32.to_ne_bytes(); -pub const TYPE_OBJECT_EXPRESSION_INLINED_PROPERTIES: [u8; 4] = 52u32.to_ne_bytes(); -pub const TYPE_OBJECT_PATTERN_INLINED_PROPERTIES: [u8; 4] = 53u32.to_ne_bytes(); -pub const TYPE_PRIVATE_IDENTIFIER_INLINED_NAME: [u8; 4] = 54u32.to_ne_bytes(); -pub const TYPE_PROGRAM_INLINED_BODY: [u8; 4] = 55u32.to_ne_bytes(); -pub const TYPE_PROPERTY: [u8; 4] = 56u32.to_ne_bytes(); -pub const TYPE_PROPERTY_DEFINITION_INLINED_KEY: [u8; 4] = 57u32.to_ne_bytes(); -pub const TYPE_REST_ELEMENT_INLINED_ARGUMENT: [u8; 4] = 58u32.to_ne_bytes(); -pub const TYPE_RETURN_STATEMENT: [u8; 4] = 59u32.to_ne_bytes(); -pub const TYPE_SEQUENCE_EXPRESSION_INLINED_EXPRESSIONS: [u8; 4] = 60u32.to_ne_bytes(); -pub const TYPE_SPREAD_ELEMENT_INLINED_ARGUMENT: [u8; 4] = 61u32.to_ne_bytes(); -pub const TYPE_STATIC_BLOCK_INLINED_BODY: [u8; 4] = 62u32.to_ne_bytes(); -pub const TYPE_SUPER_ELEMENT: [u8; 4] = 63u32.to_ne_bytes(); -pub const TYPE_SWITCH_CASE: [u8; 4] = 64u32.to_ne_bytes(); -pub const TYPE_SWITCH_STATEMENT_INLINED_DISCRIMINANT: [u8; 4] = 65u32.to_ne_bytes(); -pub const TYPE_TAGGED_TEMPLATE_EXPRESSION_INLINED_TAG: [u8; 4] = 66u32.to_ne_bytes(); -pub const TYPE_TEMPLATE_ELEMENT_INLINED_RAW: [u8; 4] = 67u32.to_ne_bytes(); -pub const TYPE_TEMPLATE_LITERAL_INLINED_QUASIS: [u8; 4] = 68u32.to_ne_bytes(); -pub const TYPE_THIS_EXPRESSION: [u8; 4] = 69u32.to_ne_bytes(); -pub const TYPE_THROW_STATEMENT_INLINED_ARGUMENT: [u8; 4] = 70u32.to_ne_bytes(); -pub const TYPE_TRY_STATEMENT_INLINED_BLOCK: [u8; 4] = 71u32.to_ne_bytes(); -pub const TYPE_UNARY_EXPRESSION_INLINED_ARGUMENT: [u8; 4] = 72u32.to_ne_bytes(); -pub const TYPE_UPDATE_EXPRESSION_INLINED_ARGUMENT: [u8; 4] = 73u32.to_ne_bytes(); -pub const TYPE_VARIABLE_DECLARATION_INLINED_DECLARATIONS: [u8; 4] = 74u32.to_ne_bytes(); -pub const TYPE_VARIABLE_DECLARATOR_INLINED_ID: [u8; 4] = 75u32.to_ne_bytes(); -pub const TYPE_WHILE_STATEMENT_INLINED_TEST: [u8; 4] = 76u32.to_ne_bytes(); -pub const TYPE_YIELD_EXPRESSION: [u8; 4] = 77u32.to_ne_bytes(); +pub const TYPE_PANIC_ERROR: [u8; 4] = 1u32.to_ne_bytes(); +pub const TYPE_ARRAY_EXPRESSION_INLINED_ELEMENTS: [u8; 4] = 2u32.to_ne_bytes(); +pub const TYPE_ARRAY_PATTERN_INLINED_ELEMENTS: [u8; 4] = 3u32.to_ne_bytes(); +pub const TYPE_ARROW_FUNCTION_EXPRESSION_INLINED_ANNOTATIONS: [u8; 4] = 4u32.to_ne_bytes(); +pub const TYPE_ASSIGNMENT_EXPRESSION_INLINED_LEFT: [u8; 4] = 5u32.to_ne_bytes(); +pub const TYPE_ASSIGNMENT_PATTERN_INLINED_LEFT: [u8; 4] = 6u32.to_ne_bytes(); +pub const TYPE_AWAIT_EXPRESSION_INLINED_ARGUMENT: [u8; 4] = 7u32.to_ne_bytes(); +pub const TYPE_BINARY_EXPRESSION_INLINED_LEFT: [u8; 4] = 8u32.to_ne_bytes(); +pub const TYPE_BLOCK_STATEMENT_INLINED_BODY: [u8; 4] = 9u32.to_ne_bytes(); +pub const TYPE_BREAK_STATEMENT: [u8; 4] = 10u32.to_ne_bytes(); +pub const TYPE_CALL_EXPRESSION_INLINED_ANNOTATIONS: [u8; 4] = 11u32.to_ne_bytes(); +pub const TYPE_CATCH_CLAUSE: [u8; 4] = 12u32.to_ne_bytes(); +pub const TYPE_CHAIN_EXPRESSION_INLINED_EXPRESSION: [u8; 4] = 13u32.to_ne_bytes(); +pub const TYPE_CLASS_BODY_INLINED_BODY: [u8; 4] = 14u32.to_ne_bytes(); +pub const TYPE_CLASS_DECLARATION: [u8; 4] = 15u32.to_ne_bytes(); +pub const TYPE_CLASS_EXPRESSION: [u8; 4] = 16u32.to_ne_bytes(); +pub const TYPE_CONDITIONAL_EXPRESSION_INLINED_TEST: [u8; 4] = 17u32.to_ne_bytes(); +pub const TYPE_CONTINUE_STATEMENT: [u8; 4] = 18u32.to_ne_bytes(); +pub const TYPE_DEBUGGER_STATEMENT: [u8; 4] = 19u32.to_ne_bytes(); +pub const TYPE_DIRECTIVE_INLINED_DIRECTIVE: [u8; 4] = 20u32.to_ne_bytes(); +pub const TYPE_DO_WHILE_STATEMENT_INLINED_BODY: [u8; 4] = 21u32.to_ne_bytes(); +pub const TYPE_EMPTY_STATEMENT: [u8; 4] = 22u32.to_ne_bytes(); +pub const TYPE_EXPORT_ALL_DECLARATION: [u8; 4] = 23u32.to_ne_bytes(); +pub const TYPE_EXPORT_DEFAULT_DECLARATION_INLINED_DECLARATION: [u8; 4] = 24u32.to_ne_bytes(); +pub const TYPE_EXPORT_NAMED_DECLARATION_INLINED_SPECIFIERS: [u8; 4] = 25u32.to_ne_bytes(); +pub const TYPE_EXPORT_SPECIFIER_INLINED_LOCAL: [u8; 4] = 26u32.to_ne_bytes(); +pub const TYPE_EXPRESSION_STATEMENT_INLINED_EXPRESSION: [u8; 4] = 27u32.to_ne_bytes(); +pub const TYPE_FOR_IN_STATEMENT_INLINED_LEFT: [u8; 4] = 28u32.to_ne_bytes(); +pub const TYPE_FOR_OF_STATEMENT_INLINED_LEFT: [u8; 4] = 29u32.to_ne_bytes(); +pub const TYPE_FOR_STATEMENT: [u8; 4] = 30u32.to_ne_bytes(); +pub const TYPE_FUNCTION_DECLARATION_INLINED_ANNOTATIONS: [u8; 4] = 31u32.to_ne_bytes(); +pub const TYPE_FUNCTION_EXPRESSION_INLINED_ANNOTATIONS: [u8; 4] = 32u32.to_ne_bytes(); +pub const TYPE_IDENTIFIER_INLINED_NAME: [u8; 4] = 33u32.to_ne_bytes(); +pub const TYPE_IF_STATEMENT_INLINED_TEST: [u8; 4] = 34u32.to_ne_bytes(); +pub const TYPE_IMPORT_ATTRIBUTE_INLINED_KEY: [u8; 4] = 35u32.to_ne_bytes(); +pub const TYPE_IMPORT_DECLARATION_INLINED_SPECIFIERS: [u8; 4] = 36u32.to_ne_bytes(); +pub const TYPE_IMPORT_DEFAULT_SPECIFIER_INLINED_LOCAL: [u8; 4] = 37u32.to_ne_bytes(); +pub const TYPE_IMPORT_EXPRESSION_INLINED_SOURCE: [u8; 4] = 38u32.to_ne_bytes(); +pub const TYPE_IMPORT_NAMESPACE_SPECIFIER_INLINED_LOCAL: [u8; 4] = 39u32.to_ne_bytes(); +pub const TYPE_IMPORT_SPECIFIER: [u8; 4] = 40u32.to_ne_bytes(); +pub const TYPE_LABELED_STATEMENT_INLINED_LABEL: [u8; 4] = 41u32.to_ne_bytes(); +pub const TYPE_LITERAL_BIG_INT_INLINED_BIGINT: [u8; 4] = 42u32.to_ne_bytes(); +pub const TYPE_LITERAL_BOOLEAN: [u8; 4] = 43u32.to_ne_bytes(); +pub const TYPE_LITERAL_NULL: [u8; 4] = 44u32.to_ne_bytes(); +pub const TYPE_LITERAL_NUMBER: [u8; 4] = 45u32.to_ne_bytes(); +pub const TYPE_LITERAL_REG_EXP_INLINED_FLAGS: [u8; 4] = 46u32.to_ne_bytes(); +pub const TYPE_LITERAL_STRING_INLINED_VALUE: [u8; 4] = 47u32.to_ne_bytes(); +pub const TYPE_LOGICAL_EXPRESSION_INLINED_LEFT: [u8; 4] = 48u32.to_ne_bytes(); +pub const TYPE_MEMBER_EXPRESSION_INLINED_OBJECT: [u8; 4] = 49u32.to_ne_bytes(); +pub const TYPE_META_PROPERTY_INLINED_META: [u8; 4] = 50u32.to_ne_bytes(); +pub const TYPE_METHOD_DEFINITION_INLINED_KEY: [u8; 4] = 51u32.to_ne_bytes(); +pub const TYPE_NEW_EXPRESSION_INLINED_ANNOTATIONS: [u8; 4] = 52u32.to_ne_bytes(); +pub const TYPE_OBJECT_EXPRESSION_INLINED_PROPERTIES: [u8; 4] = 53u32.to_ne_bytes(); +pub const TYPE_OBJECT_PATTERN_INLINED_PROPERTIES: [u8; 4] = 54u32.to_ne_bytes(); +pub const TYPE_PRIVATE_IDENTIFIER_INLINED_NAME: [u8; 4] = 55u32.to_ne_bytes(); +pub const TYPE_PROGRAM_INLINED_BODY: [u8; 4] = 56u32.to_ne_bytes(); +pub const TYPE_PROPERTY: [u8; 4] = 57u32.to_ne_bytes(); +pub const TYPE_PROPERTY_DEFINITION_INLINED_KEY: [u8; 4] = 58u32.to_ne_bytes(); +pub const TYPE_REST_ELEMENT_INLINED_ARGUMENT: [u8; 4] = 59u32.to_ne_bytes(); +pub const TYPE_RETURN_STATEMENT: [u8; 4] = 60u32.to_ne_bytes(); +pub const TYPE_SEQUENCE_EXPRESSION_INLINED_EXPRESSIONS: [u8; 4] = 61u32.to_ne_bytes(); +pub const TYPE_SPREAD_ELEMENT_INLINED_ARGUMENT: [u8; 4] = 62u32.to_ne_bytes(); +pub const TYPE_STATIC_BLOCK_INLINED_BODY: [u8; 4] = 63u32.to_ne_bytes(); +pub const TYPE_SUPER_ELEMENT: [u8; 4] = 64u32.to_ne_bytes(); +pub const TYPE_SWITCH_CASE: [u8; 4] = 65u32.to_ne_bytes(); +pub const TYPE_SWITCH_STATEMENT_INLINED_DISCRIMINANT: [u8; 4] = 66u32.to_ne_bytes(); +pub const TYPE_TAGGED_TEMPLATE_EXPRESSION_INLINED_TAG: [u8; 4] = 67u32.to_ne_bytes(); +pub const TYPE_TEMPLATE_ELEMENT_INLINED_RAW: [u8; 4] = 68u32.to_ne_bytes(); +pub const TYPE_TEMPLATE_LITERAL_INLINED_QUASIS: [u8; 4] = 69u32.to_ne_bytes(); +pub const TYPE_THIS_EXPRESSION: [u8; 4] = 70u32.to_ne_bytes(); +pub const TYPE_THROW_STATEMENT_INLINED_ARGUMENT: [u8; 4] = 71u32.to_ne_bytes(); +pub const TYPE_TRY_STATEMENT_INLINED_BLOCK: [u8; 4] = 72u32.to_ne_bytes(); +pub const TYPE_UNARY_EXPRESSION_INLINED_ARGUMENT: [u8; 4] = 73u32.to_ne_bytes(); +pub const TYPE_UPDATE_EXPRESSION_INLINED_ARGUMENT: [u8; 4] = 74u32.to_ne_bytes(); +pub const TYPE_VARIABLE_DECLARATION_INLINED_DECLARATIONS: [u8; 4] = 75u32.to_ne_bytes(); +pub const TYPE_VARIABLE_DECLARATOR_INLINED_ID: [u8; 4] = 76u32.to_ne_bytes(); +pub const TYPE_WHILE_STATEMENT_INLINED_TEST: [u8; 4] = 77u32.to_ne_bytes(); +pub const TYPE_YIELD_EXPRESSION: [u8; 4] = 78u32.to_ne_bytes(); pub const ARRAY_EXPRESSION_RESERVED_BYTES: usize = 4; diff --git a/rust/parse_ast/src/lib.rs b/rust/parse_ast/src/lib.rs index 786cdee9f..9a780bc9f 100644 --- a/rust/parse_ast/src/lib.rs +++ b/rust/parse_ast/src/lib.rs @@ -1,4 +1,7 @@ -use convert_ast::converter::AstConverter; +use std::panic::{catch_unwind, AssertUnwindSafe}; + +use convert_ast::converter::ast_constants::TYPE_PANIC_ERROR; +use convert_ast::converter::{convert_string, AstConverter}; use swc_common::sync::Lrc; use swc_common::{FileName, FilePathMapping, Globals, SourceMap, GLOBALS}; use swc_compiler_base::parse_js; @@ -28,23 +31,40 @@ pub fn parse_ast(code: String, allow_return_outside_function: bool) -> Vec { let code_reference = Lrc::clone(&file.src); let comments = SequentialComments::default(); GLOBALS.set(&Globals::default(), || { - let result = try_with_handler(&code_reference, |handler| { - parse_js( - cm, - file, - handler, - target, - syntax, - IsModule::Unknown, - Some(&comments), - ) - }); + let result = catch_unwind(AssertUnwindSafe(|| { + let result = try_with_handler(&code_reference, |handler| { + parse_js( + cm, + file, + handler, + target, + syntax, + IsModule::Unknown, + Some(&comments), + ) + }); + match result { + Err(buffer) => buffer, + Ok(program) => { + let annotations = comments.take_annotations(); + let converter = AstConverter::new(&code_reference, &annotations); + converter.convert_ast_to_buffer(&program) + } + } + })); match result { - Err(buffer) => buffer, - Ok(program) => { - let annotations = comments.take_annotations(); - let converter = AstConverter::new(&code_reference, &annotations); - converter.convert_ast_to_buffer(&program) + Ok(buffer) => buffer, + Err(err) => { + let msg = if let Some(msg) = err.downcast_ref::<&str>() { + msg + } else if let Some(msg) = err.downcast_ref::() { + msg + } else { + "Unknown rust panic message" + }; + let mut buffer = TYPE_PANIC_ERROR.to_vec(); + convert_string(&mut buffer, msg); + buffer } } }) diff --git a/scripts/generate-buffer-to-ast.js b/scripts/generate-buffer-to-ast.js index a00199583..e8cfedb73 100644 --- a/scripts/generate-buffer-to-ast.js +++ b/scripts/generate-buffer-to-ast.js @@ -9,6 +9,10 @@ const jsConverters = [ const pos = buffer[position++]; const message = convertString(position, buffer, readString); error(logParseError(message, pos)); + }`, + `function panicError(position, buffer, readString): never { + const message = convertString(position, buffer, readString); + error(logParseError(message)); }`, ...astNodeNamesWithFieldOrder.map(({ name, inlinedVariableField, reservedFields, allFields }) => { const node = getNode(name); diff --git a/scripts/generate-rust-constants.js b/scripts/generate-rust-constants.js index 193bd8487..93116827d 100644 --- a/scripts/generate-rust-constants.js +++ b/scripts/generate-rust-constants.js @@ -13,13 +13,19 @@ const astConstantsFile = new URL( // Nodes with suffix _SIMPLE have at most one variable child that does not need // an indirect reference (e.g. one non-optional AST Node or a list of AST Nodes) // and can use "add_type_and_start_simple" -const nodeTypes = [ + +const ERROR_TYPES = [ 'pub const TYPE_PARSE_ERROR: [u8; 4] = 0u32.to_ne_bytes();', + 'pub const TYPE_PANIC_ERROR: [u8; 4] = 1u32.to_ne_bytes();' +]; + +const nodeTypes = [ + ...ERROR_TYPES, ...astNodeNamesWithFieldOrder.map( ({ name, inlinedVariableField }, index) => `pub const TYPE_${toScreamingSnakeCase(name)}${ inlinedVariableField ? `_INLINED_${toScreamingSnakeCase(inlinedVariableField[0])}` : '' - }: [u8; 4] = ${index + 1}u32.to_ne_bytes();` + }: [u8; 4] = ${index + ERROR_TYPES.length}u32.to_ne_bytes();` ) ].join('\n'); diff --git a/src/Module.ts b/src/Module.ts index 636b147b6..6121984a9 100644 --- a/src/Module.ts +++ b/src/Module.ts @@ -386,8 +386,8 @@ export default class Module { this.ast!.bind(); } - error(properties: RollupError, pos: number): never { - this.addLocationToLogProps(properties, pos); + error(properties: RollupError, pos: number | undefined): never { + pos !== undefined && this.addLocationToLogProps(properties, pos); return error(properties); } diff --git a/src/utils/buffer-to-ast.ts b/src/utils/buffer-to-ast.ts index 49bcc9a01..583aedbcc 100644 --- a/src/utils/buffer-to-ast.ts +++ b/src/utils/buffer-to-ast.ts @@ -20,6 +20,10 @@ const nodeConverters: ((position: number, buffer: Uint32Array, readString: ReadS const message = convertString(position, buffer, readString); error(logParseError(message, pos)); }, + function panicError(position, buffer, readString): never { + const message = convertString(position, buffer, readString); + error(logParseError(message)); + }, function arrayExpression(position, buffer, readString): ArrayExpressionNode { const start = buffer[position++]; const end = buffer[position++]; diff --git a/src/utils/logs.ts b/src/utils/logs.ts index 8a9127d80..ff11aa398 100644 --- a/src/utils/logs.ts +++ b/src/utils/logs.ts @@ -823,7 +823,7 @@ export function logOptimizeChunkStatus( }; } -export function logParseError(message: string, pos: number): RollupLog { +export function logParseError(message: string, pos?: number): RollupLog { return { code: PARSE_ERROR, message, pos }; } diff --git a/test/function/samples/catch-rust-panic/_config.js b/test/function/samples/catch-rust-panic/_config.js new file mode 100644 index 000000000..d729855c3 --- /dev/null +++ b/test/function/samples/catch-rust-panic/_config.js @@ -0,0 +1,17 @@ +const path = require('node:path'); +const MAIN_ID = path.resolve(__dirname, './main.js'); + +module.exports = defineTest({ + description: 'Catch Rust panics and then throw them in Node', + error: { + cause: { + code: 'PARSE_ERROR', + message: 'not implemented: Cannot convert Prop::Assign', + pos: undefined + }, + code: 'PARSE_ERROR', + id: MAIN_ID, + message: 'not implemented: Cannot convert Prop::Assign', + watchFiles: [MAIN_ID] + } +}); diff --git a/test/function/samples/catch-rust-panic/main.js b/test/function/samples/catch-rust-panic/main.js new file mode 100644 index 000000000..7c907819f --- /dev/null +++ b/test/function/samples/catch-rust-panic/main.js @@ -0,0 +1,3 @@ +const foo = { + bar = baz +}; From cb65c0d25a4f9ec30c27b9698f08c8500eb8671c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 9 Feb 2024 06:58:09 +0100 Subject: [PATCH 10/15] chore(deps): lock file maintenance minor/patch updates (#5385) * chore(deps): lock file maintenance minor/patch updates * Adapt code for new enum structure --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lukas Taegert-Atkinson --- package-lock.json | 653 ++++++++++---------- package.json | 24 +- rust/Cargo.lock | 105 ++-- rust/bindings_napi/Cargo.toml | 2 +- rust/bindings_wasm/Cargo.toml | 4 +- rust/parse_ast/Cargo.toml | 8 +- rust/parse_ast/src/convert_ast/converter.rs | 86 ++- 7 files changed, 472 insertions(+), 410 deletions(-) diff --git a/package-lock.json b/package-lock.json index bb503ff72..fc6739240 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,12 +17,12 @@ "devDependencies": { "@codemirror/commands": "^6.3.3", "@codemirror/lang-javascript": "^6.2.1", - "@codemirror/language": "^6.10.0", + "@codemirror/language": "^6.10.1", "@codemirror/search": "^6.5.5", "@codemirror/state": "^6.4.0", "@codemirror/view": "^6.23.1", "@jridgewell/sourcemap-codec": "^1.4.15", - "@mermaid-js/mermaid-cli": "^10.6.1", + "@mermaid-js/mermaid-cli": "^10.7.0", "@napi-rs/cli": "^2.18.0", "@rollup/plugin-alias": "^5.1.0", "@rollup/plugin-buble": "^1.0.3", @@ -38,8 +38,8 @@ "@types/mocha": "^10.0.6", "@types/node": "~18.18.14", "@types/yargs-parser": "^21.0.3", - "@typescript-eslint/eslint-plugin": "^6.20.0", - "@typescript-eslint/parser": "^6.20.0", + "@typescript-eslint/eslint-plugin": "^6.21.0", + "@typescript-eslint/parser": "^6.21.0", "@vue/eslint-config-prettier": "^9.0.0", "@vue/eslint-config-typescript": "^12.0.0", "acorn": "^8.11.3", @@ -58,28 +58,28 @@ "eslint-plugin-import": "^2.29.1", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-unicorn": "^50.0.1", - "eslint-plugin-vue": "^9.20.1", + "eslint-plugin-vue": "^9.21.1", "fixturify": "^3.0.0", "flru": "^1.0.2", "fs-extra": "^11.2.0", "github-api": "^3.4.0", - "husky": "^9.0.7", - "inquirer": "^9.2.13", + "husky": "^9.0.10", + "inquirer": "^9.2.14", "is-reference": "^3.0.2", - "lint-staged": "^15.2.0", + "lint-staged": "^15.2.2", "locate-character": "^3.0.0", - "magic-string": "^0.30.5", + "magic-string": "^0.30.7", "mocha": "^10.2.0", "nyc": "^15.1.0", "pinia": "^2.1.7", - "prettier": "^3.2.4", + "prettier": "^3.2.5", "pretty-bytes": "^6.1.1", "pretty-ms": "^9.0.0", "requirejs": "^2.3.6", "rollup": "^4.9.6", "rollup-plugin-license": "^3.2.0", "rollup-plugin-string": "^3.0.0", - "semver": "^7.5.4", + "semver": "^7.6.0", "shx": "^0.3.4", "signal-exit": "^4.1.0", "source-map": "^0.7.4", @@ -784,9 +784,9 @@ } }, "node_modules/@codemirror/language": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.10.0.tgz", - "integrity": "sha512-2vaNn9aPGCRFKWcHPFksctzJ8yS5p7YoaT+jHpc0UGKzNuAIx4qy6R5wiqbP+heEEdyaABA582mNqSHzSoYdmg==", + "version": "6.10.1", + "resolved": "https://registry.npmjs.org/@codemirror/language/-/language-6.10.1.tgz", + "integrity": "sha512-5GrXzrhq6k+gL5fjkAwt90nYDmjlzTIJV8THnxNFtNKWotMIlzzN+CpqxqwXOECnUdOndmSeWntVrVcv5axWRQ==", "dev": true, "dependencies": { "@codemirror/state": "^6.0.0", @@ -809,9 +809,9 @@ } }, "node_modules/@codemirror/search": { - "version": "6.5.5", - "resolved": "https://registry.npmjs.org/@codemirror/search/-/search-6.5.5.tgz", - "integrity": "sha512-PIEN3Ke1buPod2EHbJsoQwlbpkz30qGZKcnmH1eihq9+bPQx8gelauUwLYaY4vBOuBAuEhmpDLii4rj/uO0yMA==", + "version": "6.5.6", + "resolved": "https://registry.npmjs.org/@codemirror/search/-/search-6.5.6.tgz", + "integrity": "sha512-rpMgcsh7o0GuCDUXKPvww+muLA1pDJaFrpq/CCHtpQJYz8xopu4D1hPcKRoDD0YlF8gZaqTNIRa4VRBWyhyy7Q==", "dev": true, "dependencies": { "@codemirror/state": "^6.0.0", @@ -1599,9 +1599,9 @@ } }, "node_modules/@mermaid-js/mermaid-cli": { - "version": "10.7.0", - "resolved": "https://registry.npmjs.org/@mermaid-js/mermaid-cli/-/mermaid-cli-10.7.0.tgz", - "integrity": "sha512-b1kHdzSStWaxoNdU5KnzXJ/OQzYqFo4mZsHobX44l6gb2s1O6DzD0g801VzxUmcJ+5OWt6piDL1Ug//cQUsrZg==", + "version": "10.8.0", + "resolved": "https://registry.npmjs.org/@mermaid-js/mermaid-cli/-/mermaid-cli-10.8.0.tgz", + "integrity": "sha512-xZsGR88RsP72SAXyvjU23HzsKHsq6b7/kbnmQrEuIcPrJGPOckFiP9nzHvPh3Z04MjvpDJVjtbIspt2ZQwUzzA==", "dev": true, "dependencies": { "chalk": "^5.0.1", @@ -2290,16 +2290,16 @@ } }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.20.0.tgz", - "integrity": "sha512-fTwGQUnjhoYHeSF6m5pWNkzmDDdsKELYrOBxhjMrofPqCkoC2k3B2wvGHFxa1CTIqkEn88nlW1HVMztjo2K8Hg==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.21.0.tgz", + "integrity": "sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/type-utils": "6.20.0", - "@typescript-eslint/utils": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", + "@typescript-eslint/scope-manager": "6.21.0", + "@typescript-eslint/type-utils": "6.21.0", + "@typescript-eslint/utils": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -2325,15 +2325,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.20.0.tgz", - "integrity": "sha512-bYerPDF/H5v6V76MdMYhjwmwgMA+jlPVqjSDq2cRqMi8bP5sR3Z+RLOiOMad3nsnmDVmn2gAFCyNgh/dIrfP/w==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.21.0.tgz", + "integrity": "sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/typescript-estree": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", + "@typescript-eslint/scope-manager": "6.21.0", + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/typescript-estree": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0", "debug": "^4.3.4" }, "engines": { @@ -2353,13 +2353,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.20.0.tgz", - "integrity": "sha512-p4rvHQRDTI1tGGMDFQm+GtxP1ZHyAh64WANVoyEcNMpaTFn3ox/3CcgtIlELnRfKzSs/DwYlDccJEtr3O6qBvA==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.21.0.tgz", + "integrity": "sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0" + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -2370,13 +2370,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.20.0.tgz", - "integrity": "sha512-qnSobiJQb1F5JjN0YDRPHruQTrX7ICsmltXhkV536mp4idGAYrIyr47zF/JmkJtEcAVnIz4gUYJ7gOZa6SmN4g==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.21.0.tgz", + "integrity": "sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.20.0", - "@typescript-eslint/utils": "6.20.0", + "@typescript-eslint/typescript-estree": "6.21.0", + "@typescript-eslint/utils": "6.21.0", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -2397,9 +2397,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.20.0.tgz", - "integrity": "sha512-MM9mfZMAhiN4cOEcUOEx+0HmuaW3WBfukBZPCfwSqFnQy0grXYtngKCqpQN339X3RrwtzspWJrpbrupKYUSBXQ==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.21.0.tgz", + "integrity": "sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -2410,13 +2410,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.20.0.tgz", - "integrity": "sha512-RnRya9q5m6YYSpBN7IzKu9FmLcYtErkDkc8/dKv81I9QiLLtVBHrjz+Ev/crAqgMNW2FCsoZF4g2QUylMnJz+g==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz", + "integrity": "sha512-6npJTkZcO+y2/kr+z0hc4HwNfrrP4kNYh57ek7yCNlrBjWQ1Y0OS7jiZTkgumrvkX5HkEKXFZkkdFNkaW2wmUQ==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/visitor-keys": "6.20.0", + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/visitor-keys": "6.21.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -2438,17 +2438,17 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.20.0.tgz", - "integrity": "sha512-/EKuw+kRu2vAqCoDwDCBtDRU6CTKbUmwwI7SH7AashZ+W+7o8eiyy6V2cdOqN49KsTcASWsC5QeghYuRDTyOOg==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.21.0.tgz", + "integrity": "sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.20.0", - "@typescript-eslint/types": "6.20.0", - "@typescript-eslint/typescript-estree": "6.20.0", + "@typescript-eslint/scope-manager": "6.21.0", + "@typescript-eslint/types": "6.21.0", + "@typescript-eslint/typescript-estree": "6.21.0", "semver": "^7.5.4" }, "engines": { @@ -2463,12 +2463,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.20.0.tgz", - "integrity": "sha512-E8Cp98kRe4gKHjJD4NExXKz/zOJ1A2hhZc+IMVD6i7w4yjIvh6VyuRI0gRtxAsXtoC35uGMaQ9rjI2zJaXDEAw==", + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz", + "integrity": "sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.20.0", + "@typescript-eslint/types": "6.21.0", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -2499,53 +2499,53 @@ } }, "node_modules/@vue/compiler-core": { - "version": "3.4.15", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.15.tgz", - "integrity": "sha512-XcJQVOaxTKCnth1vCxEChteGuwG6wqnUHxAm1DO3gCz0+uXKaJNx8/digSz4dLALCy8n2lKq24jSUs8segoqIw==", + "version": "3.4.18", + "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.4.18.tgz", + "integrity": "sha512-F7YK8lMK0iv6b9/Gdk15A67wM0KKZvxDxed0RR60C1z9tIJTKta+urs4j0RTN5XqHISzI3etN3mX0uHhjmoqjQ==", "dev": true, "dependencies": { - "@babel/parser": "^7.23.6", - "@vue/shared": "3.4.15", + "@babel/parser": "^7.23.9", + "@vue/shared": "3.4.18", "entities": "^4.5.0", "estree-walker": "^2.0.2", "source-map-js": "^1.0.2" } }, "node_modules/@vue/compiler-dom": { - "version": "3.4.15", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.15.tgz", - "integrity": "sha512-wox0aasVV74zoXyblarOM3AZQz/Z+OunYcIHe1OsGclCHt8RsRm04DObjefaI82u6XDzv+qGWZ24tIsRAIi5MQ==", + "version": "3.4.18", + "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.4.18.tgz", + "integrity": "sha512-24Eb8lcMfInefvQ6YlEVS18w5Q66f4+uXWVA+yb7praKbyjHRNuKVWGuinfSSjM0ZIiPi++QWukhkgznBaqpEA==", "dev": true, "dependencies": { - "@vue/compiler-core": "3.4.15", - "@vue/shared": "3.4.15" + "@vue/compiler-core": "3.4.18", + "@vue/shared": "3.4.18" } }, "node_modules/@vue/compiler-sfc": { - "version": "3.4.15", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.15.tgz", - "integrity": "sha512-LCn5M6QpkpFsh3GQvs2mJUOAlBQcCco8D60Bcqmf3O3w5a+KWS5GvYbrrJBkgvL1BDnTp+e8q0lXCLgHhKguBA==", + "version": "3.4.18", + "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.4.18.tgz", + "integrity": "sha512-rG5tqtnzwrVpMqAQ7FHtvHaV70G6LLfJIWLYZB/jZ9m/hrnZmIQh+H3ewnC5onwe/ibljm9+ZupxeElzqCkTAw==", "dev": true, "dependencies": { - "@babel/parser": "^7.23.6", - "@vue/compiler-core": "3.4.15", - "@vue/compiler-dom": "3.4.15", - "@vue/compiler-ssr": "3.4.15", - "@vue/shared": "3.4.15", + "@babel/parser": "^7.23.9", + "@vue/compiler-core": "3.4.18", + "@vue/compiler-dom": "3.4.18", + "@vue/compiler-ssr": "3.4.18", + "@vue/shared": "3.4.18", "estree-walker": "^2.0.2", - "magic-string": "^0.30.5", + "magic-string": "^0.30.6", "postcss": "^8.4.33", "source-map-js": "^1.0.2" } }, "node_modules/@vue/compiler-ssr": { - "version": "3.4.15", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.15.tgz", - "integrity": "sha512-1jdeQyiGznr8gjFDadVmOJqZiLNSsMa5ZgqavkPZ8O2wjHv0tVuAEsw5hTdUoUW4232vpBbL/wJhzVW/JwY1Uw==", + "version": "3.4.18", + "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.4.18.tgz", + "integrity": "sha512-hSlv20oUhPxo2UYUacHgGaxtqP0tvFo6ixxxD6JlXIkwzwoZ9eKK6PFQN4hNK/R13JlNyldwWt/fqGBKgWJ6nQ==", "dev": true, "dependencies": { - "@vue/compiler-dom": "3.4.15", - "@vue/shared": "3.4.15" + "@vue/compiler-dom": "3.4.18", + "@vue/shared": "3.4.18" } }, "node_modules/@vue/devtools-api": { @@ -2593,52 +2593,52 @@ } }, "node_modules/@vue/reactivity": { - "version": "3.4.15", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.15.tgz", - "integrity": "sha512-55yJh2bsff20K5O84MxSvXKPHHt17I2EomHznvFiJCAZpJTNW8IuLj1xZWMLELRhBK3kkFV/1ErZGHJfah7i7w==", + "version": "3.4.18", + "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.4.18.tgz", + "integrity": "sha512-7uda2/I0jpLiRygprDo5Jxs2HJkOVXcOMlyVlY54yRLxoycBpwGJRwJT9EdGB4adnoqJDXVT2BilUAYwI7qvmg==", "dev": true, "dependencies": { - "@vue/shared": "3.4.15" + "@vue/shared": "3.4.18" } }, "node_modules/@vue/runtime-core": { - "version": "3.4.15", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.15.tgz", - "integrity": "sha512-6E3by5m6v1AkW0McCeAyhHTw+3y17YCOKG0U0HDKDscV4Hs0kgNT5G+GCHak16jKgcCDHpI9xe5NKb8sdLCLdw==", + "version": "3.4.18", + "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.4.18.tgz", + "integrity": "sha512-7mU9diCa+4e+8/wZ7Udw5pwTH10A11sZ1nldmHOUKJnzCwvZxfJqAtw31mIf4T5H2FsLCSBQT3xgioA9vIjyDQ==", "dev": true, "dependencies": { - "@vue/reactivity": "3.4.15", - "@vue/shared": "3.4.15" + "@vue/reactivity": "3.4.18", + "@vue/shared": "3.4.18" } }, "node_modules/@vue/runtime-dom": { - "version": "3.4.15", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.15.tgz", - "integrity": "sha512-EVW8D6vfFVq3V/yDKNPBFkZKGMFSvZrUQmx196o/v2tHKdwWdiZjYUBS+0Ez3+ohRyF8Njwy/6FH5gYJ75liUw==", + "version": "3.4.18", + "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.4.18.tgz", + "integrity": "sha512-2y1Mkzcw1niSfG7z3Qx+2ir9Gb4hdTkZe5p/I8x1aTIKQE0vY0tPAEUPhZm5tx6183gG3D/KwHG728UR0sIufA==", "dev": true, "dependencies": { - "@vue/runtime-core": "3.4.15", - "@vue/shared": "3.4.15", + "@vue/runtime-core": "3.4.18", + "@vue/shared": "3.4.18", "csstype": "^3.1.3" } }, "node_modules/@vue/server-renderer": { - "version": "3.4.15", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.15.tgz", - "integrity": "sha512-3HYzaidu9cHjrT+qGUuDhFYvF/j643bHC6uUN9BgM11DVy+pM6ATsG6uPBLnkwOgs7BpJABReLmpL3ZPAsUaqw==", + "version": "3.4.18", + "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.4.18.tgz", + "integrity": "sha512-YJd1wa7mzUN3NRqLEsrwEYWyO+PUBSROIGlCc3J/cvn7Zu6CxhNLgXa8Z4zZ5ja5/nviYO79J1InoPeXgwBTZA==", "dev": true, "dependencies": { - "@vue/compiler-ssr": "3.4.15", - "@vue/shared": "3.4.15" + "@vue/compiler-ssr": "3.4.18", + "@vue/shared": "3.4.18" }, "peerDependencies": { - "vue": "3.4.15" + "vue": "3.4.18" } }, "node_modules/@vue/shared": { - "version": "3.4.15", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.15.tgz", - "integrity": "sha512-KzfPTxVaWfB+eGcGdbSf4CWdaXcGDqckoeXUh7SB3fZdEtzPCK2Vq9B/lRRL3yutax/LWITz+SwvgyOxz5V75g==", + "version": "3.4.18", + "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.4.18.tgz", + "integrity": "sha512-CxouGFxxaW5r1WbrSmWwck3No58rApXgRSBxrqgnY1K+jk20F6DrXJkHdH9n4HVT+/B6G2CAn213Uq3npWiy8Q==", "dev": true }, "node_modules/@vueuse/core": { @@ -3009,13 +3009,16 @@ "dev": true }, "node_modules/array-buffer-byte-length": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", - "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz", + "integrity": "sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "is-array-buffer": "^3.0.1" + "call-bind": "^1.0.5", + "is-array-buffer": "^3.0.4" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -3058,17 +3061,36 @@ "node": ">=8" } }, - "node_modules/array.prototype.findlastindex": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz", - "integrity": "sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA==", + "node_modules/array.prototype.filter": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array.prototype.filter/-/array.prototype.filter-1.0.3.tgz", + "integrity": "sha512-VizNcj/RGJiUyQBgzwxzE5oHdeuXY5hSbbmKMlphj1cy1Vl7Pn2asCGbSrru6hSQjmCzqTBPVWAF/whmEOVHbw==", "dev": true, "dependencies": { "call-bind": "^1.0.2", "define-properties": "^1.2.0", "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0", - "get-intrinsic": "^1.2.1" + "es-array-method-boxes-properly": "^1.0.0", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.findlastindex": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.4.tgz", + "integrity": "sha512-hzvSHUshSpCflDR1QMUBLHGHP1VIEBegT4pix9H/Z92Xw3ySoy6c2qh7lJWTJnRJ8JCZ9bJNCgTyYaJGcJu6xQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.3.0", + "es-shim-unscopables": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -3114,17 +3136,18 @@ } }, "node_modules/arraybuffer.prototype.slice": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz", - "integrity": "sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", + "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", "dev": true, "dependencies": { - "array-buffer-byte-length": "^1.0.0", - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "get-intrinsic": "^1.2.1", - "is-array-buffer": "^3.0.2", + "array-buffer-byte-length": "^1.0.1", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.2.1", + "get-intrinsic": "^1.2.3", + "is-array-buffer": "^3.0.4", "is-shared-array-buffer": "^1.0.2" }, "engines": { @@ -3460,14 +3483,18 @@ } }, "node_modules/call-bind": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", - "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.6.tgz", + "integrity": "sha512-Mj50FLHtlsoVfRfnHaZvyrooHcrlceNZdL/QBvJJVd9Ta55qCQK0gs4ss2oZDeV9zFCs6ewzYgVE5yfVmfFpVg==", "dev": true, "dependencies": { + "es-errors": "^1.3.0", "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.1", - "set-function-length": "^1.1.1" + "get-intrinsic": "^1.2.3", + "set-function-length": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -3492,9 +3519,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001582", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001582.tgz", - "integrity": "sha512-vsJG3V5vgfduaQGVxL53uSX/HUzxyr2eA8xCo36OLal7sRcSZbibJtLeh0qja4sFOr/QQGt4opB4tOy+eOgAxg==", + "version": "1.0.30001585", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001585.tgz", + "integrity": "sha512-yr2BWR1yLXQ8fMpdS/4ZZXpseBgE7o4g41x3a6AJOqZuOi+iE/WdJYAuZ6Y95i4Ohd2Y+9MzIWRR+uGABH4s3Q==", "dev": true, "funding": [ { @@ -3530,16 +3557,10 @@ "dev": true }, "node_modules/chokidar": { - "version": "3.5.3", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", - "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", + "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://paulmillr.com/funding/" - } - ], "dependencies": { "anymatch": "~3.1.2", "braces": "~3.0.2", @@ -3552,6 +3573,9 @@ "engines": { "node": ">= 8.10.0" }, + "funding": { + "url": "https://paulmillr.com/funding/" + }, "optionalDependencies": { "fsevents": "~2.3.2" } @@ -4134,14 +4158,15 @@ } }, "node_modules/define-data-property": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", - "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.2.tgz", + "integrity": "sha512-SRtsSqsDbgpJBbW3pABMCOt6rQyeM8s8RiyeSN8jYG8sYmt/kGJejbydttUsnDs1tadr19tvhT4ShwMyoqAm4g==", "dev": true, "dependencies": { - "get-intrinsic": "^1.2.1", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.2", "gopd": "^1.0.1", - "has-property-descriptors": "^1.0.0" + "has-property-descriptors": "^1.0.1" }, "engines": { "node": ">= 0.4" @@ -4213,9 +4238,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.655", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.655.tgz", - "integrity": "sha512-2yszojF7vIZ68adIOvzV4bku8OZad9w5H9xF3ZAMZjPuOjBarlflUkjN6DggdV+L71WZuKUfKUhov/34+G5QHg==", + "version": "1.4.663", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.663.tgz", + "integrity": "sha512-P4B6wnMUV2aLvqmny1RPlAQPUBTY+skNw4WLX0cVxYQVEzmLQ2h7K2Knc69szclEjcRW63Uj06IXQwOG7GbInQ==", "dev": true }, "node_modules/emoji-regex": { @@ -4313,6 +4338,21 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/es-array-method-boxes-properly": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz", + "integrity": "sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA==", + "dev": true + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/es-set-tostringtag": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.2.tgz", @@ -4413,9 +4453,9 @@ } }, "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", "dev": true, "engines": { "node": ">=6" @@ -5024,9 +5064,9 @@ "dev": true }, "node_modules/fastq": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.0.tgz", - "integrity": "sha512-zGygtijUMT7jnk3h26kUms3BkSDp4IfIKjmnqI2tvx6nuBfiF1UqOxbnLfzdv+apBy+53oaImsKtMw/xYbW+1w==", + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", "dev": true, "dependencies": { "reusify": "^1.0.4" @@ -5418,16 +5458,20 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", - "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", + "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", "dev": true, "dependencies": { + "es-errors": "^1.3.0", "function-bind": "^1.1.2", "has-proto": "^1.0.1", "has-symbols": "^1.0.3", "hasown": "^2.0.0" }, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -5454,13 +5498,14 @@ } }, "node_modules/get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.2.tgz", + "integrity": "sha512-g0QYk1dZBxGwk+Ngc+ltRH2IBp2f7zBkBMBJZCDerh6EhlhSR6+9irMCuT/09zD6qkarHUSn529sK/yL4S27mg==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" + "call-bind": "^1.0.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4" }, "engines": { "node": ">= 0.4" @@ -5905,9 +5950,9 @@ "dev": true }, "node_modules/inquirer": { - "version": "9.2.13", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-9.2.13.tgz", - "integrity": "sha512-mUlJNemjYioZgaZXqEFlQ0z9GD8/o+pavIF3JyhzWLX4Xa9M1wioGMCxQEFmps70un9lrah2WaBl3kSRVcoV3g==", + "version": "9.2.14", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-9.2.14.tgz", + "integrity": "sha512-4ByIMt677Iz5AvjyKrDpzaepIyMewNvDcvwpVVRZNmy9dLakVoVgdCHZXbK1SlVJra1db0JZ6XkJyHsanpdrdQ==", "dev": true, "dependencies": { "@ljharb/through": "^2.3.12", @@ -5927,16 +5972,16 @@ "wrap-ansi": "^6.2.0" }, "engines": { - "node": ">=14.18.0" + "node": ">=18" } }, "node_modules/internal-slot": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.6.tgz", - "integrity": "sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", + "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", "dev": true, "dependencies": { - "get-intrinsic": "^1.2.2", + "es-errors": "^1.3.0", "hasown": "^2.0.0", "side-channel": "^1.0.4" }, @@ -5954,14 +5999,16 @@ } }, "node_modules/is-array-buffer": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", - "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", + "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", "dev": true, "dependencies": { "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.0", - "is-typed-array": "^1.1.10" + "get-intrinsic": "^1.2.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -6566,9 +6613,9 @@ "dev": true }, "node_modules/lint-staged": { - "version": "15.2.1", - "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.1.tgz", - "integrity": "sha512-dhwAPnM85VdshybV9FWI/9ghTvMLoQLEXgVMx+ua2DN7mdfzd/tRfoU2yhMcBac0RHkofoxdnnJUokr8s4zKmQ==", + "version": "15.2.2", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-15.2.2.tgz", + "integrity": "sha512-TiTt93OPh1OZOsb5B7k96A/ATl2AjIZo+vnzFZ6oHK5FuTk63ByDtxGQpHm+kFETjEWqgkF95M8FRXKR/LEBcw==", "dev": true, "dependencies": { "chalk": "5.3.0", @@ -7016,9 +7063,9 @@ } }, "node_modules/magic-string": { - "version": "0.30.6", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.6.tgz", - "integrity": "sha512-n62qCLbPjNjyo+owKtveQxZFZTBm+Ms6YoGD23Wew6Vw337PElFNifQpknPruVRQV57kVShPnLGo9vWxVhpPvA==", + "version": "0.30.7", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.7.tgz", + "integrity": "sha512-8vBuFF/I/+OSLRmdf2wwFCJCz+nSn0m6DPvGH1fS/KiQoSaR+sETbov0eIk9KhEKy8CYqIkIAnbohxT/4H0kuA==", "dev": true, "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.15" @@ -7251,9 +7298,9 @@ "dev": true }, "node_modules/mocha": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.2.0.tgz", - "integrity": "sha512-IDY7fl/BecMwFHzoqF2sg/SHHANeBoMMXFlS9r0OXKDssYE1M5O43wUY/9BVPeIvfH2zmEbBfseqN9gBQZzXkg==", + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.3.0.tgz", + "integrity": "sha512-uF2XJs+7xSLsrmIvn37i/wnc91nw7XjOQB8ccyx5aEgdnohr7n+rEiZP23WkCYHjilR6+EboEnbq/ZQDz4LSbg==", "dev": true, "dependencies": { "ansi-colors": "4.1.1", @@ -7263,13 +7310,12 @@ "diff": "5.0.0", "escape-string-regexp": "4.0.0", "find-up": "5.0.0", - "glob": "7.2.0", + "glob": "8.1.0", "he": "1.2.0", "js-yaml": "4.1.0", "log-symbols": "4.1.0", "minimatch": "5.0.1", "ms": "2.1.3", - "nanoid": "3.3.3", "serialize-javascript": "6.0.0", "strip-json-comments": "3.1.1", "supports-color": "8.1.1", @@ -7284,10 +7330,6 @@ }, "engines": { "node": ">= 14.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mochajs" } }, "node_modules/mocha/node_modules/ansi-styles": { @@ -7305,6 +7347,33 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, + "node_modules/mocha/node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, "node_modules/mocha/node_modules/cliui": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", @@ -7334,48 +7403,6 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, - "node_modules/mocha/node_modules/glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.0.4", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/mocha/node_modules/glob/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/mocha/node_modules/glob/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, "node_modules/mocha/node_modules/minimatch": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", @@ -7472,10 +7499,16 @@ } }, "node_modules/nanoid": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", - "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", + "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], "bin": { "nanoid": "bin/nanoid.cjs" }, @@ -7860,15 +7893,16 @@ } }, "node_modules/object.groupby": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.1.tgz", - "integrity": "sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.2.tgz", + "integrity": "sha512-bzBq58S+x+uo0VjurFT0UktpKHOZmv4/xePiOA1nbB9pMqpGK7rUPNgf+1YC+7mE+0HzhTMqNUuCqvKhj6FnBw==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "get-intrinsic": "^1.2.1" + "array.prototype.filter": "^1.0.3", + "call-bind": "^1.0.5", + "define-properties": "^1.2.1", + "es-abstract": "^1.22.3", + "es-errors": "^1.0.0" } }, "node_modules/object.values": { @@ -8346,9 +8380,9 @@ } }, "node_modules/postcss": { - "version": "8.4.33", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.33.tgz", - "integrity": "sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==", + "version": "8.4.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.35.tgz", + "integrity": "sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA==", "dev": true, "funding": [ { @@ -8386,28 +8420,10 @@ "node": ">=4" } }, - "node_modules/postcss/node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, "node_modules/preact": { - "version": "10.19.3", - "resolved": "https://registry.npmjs.org/preact/-/preact-10.19.3.tgz", - "integrity": "sha512-nHHTeFVBTHRGxJXKkKu5hT8C/YWBkPso4/Gad6xuj5dbptt9iF9NZr9pHbPhBrnT2klheu7mHTxTZ/LjwJiEiQ==", + "version": "10.19.4", + "resolved": "https://registry.npmjs.org/preact/-/preact-10.19.4.tgz", + "integrity": "sha512-dwaX5jAh0Ga8uENBX1hSOujmKWgx9RtL80KaKUFLc6jb4vCEAc3EeZ0rnQO/FO4VgjfPMfoLFWnNG8bHuZ9VLw==", "dev": true, "funding": { "type": "opencollective", @@ -8424,9 +8440,9 @@ } }, "node_modules/prettier": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.4.tgz", - "integrity": "sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==", + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz", + "integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" @@ -9236,13 +9252,13 @@ ] }, "node_modules/safe-regex-test": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.2.tgz", - "integrity": "sha512-83S9w6eFq12BBIJYvjMux6/dkirb8+4zJRA9cxNBVb7Wq5fJBW+Xze48WqR8pxua7bDuAaaAxtVVd4Idjp1dBQ==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", + "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", "dev": true, "dependencies": { - "call-bind": "^1.0.5", - "get-intrinsic": "^1.2.2", + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", "is-regex": "^1.1.4" }, "engines": { @@ -9266,9 +9282,9 @@ "peer": true }, "node_modules/semver": { - "version": "7.5.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz", - "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==", + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", "dev": true, "dependencies": { "lru-cache": "^6.0.0" @@ -9314,14 +9330,15 @@ "dev": true }, "node_modules/set-function-length": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.0.tgz", - "integrity": "sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.1.tgz", + "integrity": "sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g==", "dev": true, "dependencies": { - "define-data-property": "^1.1.1", + "define-data-property": "^1.1.2", + "es-errors": "^1.3.0", "function-bind": "^1.1.2", - "get-intrinsic": "^1.2.2", + "get-intrinsic": "^1.2.3", "gopd": "^1.0.1", "has-property-descriptors": "^1.0.1" }, @@ -9483,14 +9500,18 @@ } }, "node_modules/side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.5.tgz", + "integrity": "sha512-QcgiIWV4WV7qWExbN5llt6frQB/lBven9pqliLXfGPB+K9ZYXxDozp0wLkHS24kWCm+6YXH/f0HhnObZnZOBnQ==", "dev": true, "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.4", + "object-inspect": "^1.13.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -10119,12 +10140,12 @@ } }, "node_modules/ts-api-utils": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.3.tgz", - "integrity": "sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.2.1.tgz", + "integrity": "sha512-RIYA36cJn2WiH9Hy77hdF9r7oEwxAtB/TS9/S4Qd90Ap4z5FSiin5zEiTL44OII1Y3IIlEvxwxFUVgrHSZ/UpA==", "dev": true, "engines": { - "node": ">=16.13.0" + "node": ">=16" }, "peerDependencies": { "typescript": ">=4.2.0" @@ -10194,14 +10215,14 @@ } }, "node_modules/typed-array-buffer": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz", - "integrity": "sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.1.tgz", + "integrity": "sha512-RSqu1UEuSlrBhHTWC8O9FnPjOduNs4M7rJ4pRKoEjtx1zUNOPN2sSXHLDX+Y2WPbHIxbvg4JFo2DNAEfPIKWoQ==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.1", - "is-typed-array": "^1.1.10" + "call-bind": "^1.0.6", + "es-errors": "^1.3.0", + "is-typed-array": "^1.1.13" }, "engines": { "node": ">= 0.4" @@ -10431,13 +10452,13 @@ } }, "node_modules/vite": { - "version": "5.0.12", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.0.12.tgz", - "integrity": "sha512-4hsnEkG3q0N4Tzf1+t6NdN9dg/L3BM+q8SWgbSPnJvrgH2kgdyzfVJwbR1ic69/4uMJJ/3dqDZZE5/WwqW8U1w==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.1.0.tgz", + "integrity": "sha512-STmSFzhY4ljuhz14bg9LkMTk3d98IO6DIArnTY6MeBwiD1Za2StcQtz7fzOUnRCqrHSD5+OS2reg4HOz1eoLnw==", "dev": true, "dependencies": { "esbuild": "^0.19.3", - "postcss": "^8.4.32", + "postcss": "^8.4.35", "rollup": "^4.2.0" }, "bin": { @@ -10524,16 +10545,16 @@ } }, "node_modules/vue": { - "version": "3.4.15", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.15.tgz", - "integrity": "sha512-jC0GH4KkWLWJOEQjOpkqU1bQsBwf4R1rsFtw5GQJbjHVKWDzO6P0nWWBTmjp1xSemAioDFj1jdaK1qa3DnMQoQ==", + "version": "3.4.18", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.18.tgz", + "integrity": "sha512-0zLRYamFRe0wF4q2L3O24KQzLyLpL64ye1RUToOgOxuWZsb/FhaNRdGmeozdtVYLz6tl94OXLaK7/WQIrVCw1A==", "dev": true, "dependencies": { - "@vue/compiler-dom": "3.4.15", - "@vue/compiler-sfc": "3.4.15", - "@vue/runtime-dom": "3.4.15", - "@vue/server-renderer": "3.4.15", - "@vue/shared": "3.4.15" + "@vue/compiler-dom": "3.4.18", + "@vue/compiler-sfc": "3.4.18", + "@vue/runtime-dom": "3.4.18", + "@vue/server-renderer": "3.4.18", + "@vue/shared": "3.4.18" }, "peerDependencies": { "typescript": "*" diff --git a/package.json b/package.json index 68ca7754c..5af81aef8 100644 --- a/package.json +++ b/package.json @@ -113,12 +113,12 @@ "devDependencies": { "@codemirror/commands": "^6.3.3", "@codemirror/lang-javascript": "^6.2.1", - "@codemirror/language": "^6.10.0", + "@codemirror/language": "^6.10.1", "@codemirror/search": "^6.5.5", "@codemirror/state": "^6.4.0", "@codemirror/view": "^6.23.1", "@jridgewell/sourcemap-codec": "^1.4.15", - "@mermaid-js/mermaid-cli": "^10.6.1", + "@mermaid-js/mermaid-cli": "^10.7.0", "@napi-rs/cli": "^2.18.0", "@rollup/plugin-alias": "^5.1.0", "@rollup/plugin-buble": "^1.0.3", @@ -134,8 +134,8 @@ "@types/mocha": "^10.0.6", "@types/node": "~18.18.14", "@types/yargs-parser": "^21.0.3", - "@typescript-eslint/eslint-plugin": "^6.20.0", - "@typescript-eslint/parser": "^6.20.0", + "@typescript-eslint/eslint-plugin": "^6.21.0", + "@typescript-eslint/parser": "^6.21.0", "@vue/eslint-config-prettier": "^9.0.0", "@vue/eslint-config-typescript": "^12.0.0", "acorn": "^8.11.3", @@ -154,28 +154,28 @@ "eslint-plugin-import": "^2.29.1", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-unicorn": "^50.0.1", - "eslint-plugin-vue": "^9.20.1", + "eslint-plugin-vue": "^9.21.1", "fixturify": "^3.0.0", "flru": "^1.0.2", "fs-extra": "^11.2.0", "github-api": "^3.4.0", - "husky": "^9.0.7", - "inquirer": "^9.2.13", + "husky": "^9.0.10", + "inquirer": "^9.2.14", "is-reference": "^3.0.2", - "lint-staged": "^15.2.0", + "lint-staged": "^15.2.2", "locate-character": "^3.0.0", - "magic-string": "^0.30.5", + "magic-string": "^0.30.7", "mocha": "^10.2.0", "nyc": "^15.1.0", "pinia": "^2.1.7", - "prettier": "^3.2.4", + "prettier": "^3.2.5", "pretty-bytes": "^6.1.1", "pretty-ms": "^9.0.0", "requirejs": "^2.3.6", "rollup": "^4.9.6", "rollup-plugin-license": "^3.2.0", "rollup-plugin-string": "^3.0.0", - "semver": "^7.5.4", + "semver": "^7.6.0", "shx": "^0.3.4", "signal-exit": "^4.1.0", "source-map": "^0.7.4", @@ -193,7 +193,7 @@ }, "overrides": { "axios": "^1.6.7", - "semver": "^7.5.4" + "semver": "^7.6.0" }, "files": [ "dist/*.node", diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 9cecf7a46..5e94a90c5 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -254,9 +254,9 @@ checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" [[package]] name = "hermit-abi" -version = "0.3.4" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d3d0e0f38255e7fa3cf31335b3a56f05febd18025f4db5ef7a0cfb4f8da651f" +checksum = "d0c62115964e08cb8039170eb33c1d0e2388a256930279edca206fff675f82c3" [[package]] name = "hstr" @@ -317,9 +317,9 @@ checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "js-sys" -version = "0.3.67" +version = "0.3.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a1d36f1235bc969acba30b7f5990b864423a6068a10f7c90ae8f0112e3a59d1" +checksum = "406cda4b368d531c842222cf9d2600a9a4acce8d29423695379c6868a143a9ee" dependencies = [ "wasm-bindgen", ] @@ -409,9 +409,9 @@ checksum = "d4b4532cf86bfef556348ac65e561e3123879f0e7566cca6d43a6ff5326f13df" [[package]] name = "napi-derive" -version = "2.15.0" +version = "2.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7622f0dbe0968af2dacdd64870eee6dee94f93c989c841f1ad8f300cf1abd514" +checksum = "8d56bb899c164ab1be5e542ae7db8b26750c864bf2eef07295f17754e6358777" dependencies = [ "cfg-if", "convert_case", @@ -423,9 +423,9 @@ dependencies = [ [[package]] name = "napi-derive-backend" -version = "1.0.59" +version = "1.0.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ec514d65fce18a959be55e7f683ac89c6cb850fb59b09e25ab777fd5a4a8d9e" +checksum = "6cf2d74ac66fd1cccb646be75fdd1c1dce8acfe20a68f61566a31da0d3eb9786" dependencies = [ "convert_case", "once_cell", @@ -465,19 +465,18 @@ dependencies = [ [[package]] name = "num-integer" -version = "0.1.45" +version = "0.1.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" dependencies = [ - "autocfg", "num-traits", ] [[package]] name = "num-traits" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" dependencies = [ "autocfg", ] @@ -890,9 +889,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.33.15" +version = "0.33.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3792c10fa5d3e93a705b31f13fdea4a6e68c3c20d4351e84ed1741b7864399cd" +checksum = "095c158fe55b36faeebb4274692643a6d7cdc5b7902e1d5968ddbe52b7de1d1c" dependencies = [ "ahash", "ast_node", @@ -918,9 +917,9 @@ dependencies = [ [[package]] name = "swc_compiler_base" -version = "0.6.6" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c18e66e2338e06fe234589cf66ae9d0c8d89b3bacd086dd6199ac2ab3c627a2" +checksum = "eebbfcc08363d11cae791e25f504342be79ca8e16bd807a85c71b0a5d97c8c7c" dependencies = [ "anyhow", "base64", @@ -941,9 +940,9 @@ dependencies = [ [[package]] name = "swc_config" -version = "0.1.10" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c29e3b76a63111ef318f161bc413dfc093f21da1afca9ba5cdd6442b7069d65b" +checksum = "ce837c5eae1cb200a310940de989fd9b3d12ed62d7752bc69b39ef8aa775ec04" dependencies = [ "anyhow", "indexmap", @@ -968,9 +967,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.111.1" +version = "0.112.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e12b4d0f3b31d293dac16fc13a50f8a282a3bdb658f2a000ffe09b1b638f45c9" +checksum = "852a48a24a2533de88298c6b25355bc68fdee31ac21cb4fb8939b7001715353c" dependencies = [ "bitflags 2.4.2", "is-macro", @@ -986,9 +985,9 @@ dependencies = [ [[package]] name = "swc_ecma_codegen" -version = "0.147.3" +version = "0.148.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "721e18916b1c7540e37d9791460c92371d2731ea8d11550e090a62226964d58c" +checksum = "d79df3f8c5ed028fce5dc24acb83002c0854f8b9d7e893292aeee394a6b9eaf4" dependencies = [ "memchr", "num-bigint", @@ -1017,9 +1016,9 @@ dependencies = [ [[package]] name = "swc_ecma_minifier" -version = "0.191.8" +version = "0.192.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7500629f51349fa4d754ae65659cdd31a1b9507b7788f95d4a35c7b5f90a25d3" +checksum = "bacdf661c989479adb95505f8c3898a243fa414d786c0b0bcb6531175e5704f8" dependencies = [ "arrayvec", "indexmap", @@ -1050,9 +1049,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.142.1" +version = "0.143.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c3eedda441af51ca25caebb88837649a40e2a39b763344a53cfedd869740c71" +checksum = "90ff55811ed5de14b05e9a2979bae2bce3c807582f559b4325948463265307d9" dependencies = [ "either", "new_debug_unreachable", @@ -1072,9 +1071,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_base" -version = "0.136.4" +version = "0.137.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ac76e9680791b06239fdf69ede6d9f7e6d0e2ae7280adcfa71c5e1af5aa6303" +checksum = "bfd47dd9ccb73a1f5d8d7eff9518554b752b1733b56503af090e78859abb42dd" dependencies = [ "better_scoped_tls", "bitflags 2.4.2", @@ -1107,9 +1106,9 @@ dependencies = [ [[package]] name = "swc_ecma_transforms_optimization" -version = "0.197.8" +version = "0.198.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1481a324eba425d35e7283daa006764234ff679ab02b08c81bed2904de6e4e12" +checksum = "3920268ac8972b494067d0b7c088964b21d08f5d1f58d7151bd1eb7054a137b0" dependencies = [ "dashmap", "indexmap", @@ -1131,9 +1130,9 @@ dependencies = [ [[package]] name = "swc_ecma_usage_analyzer" -version = "0.22.2" +version = "0.23.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9311eb3a2c41c4134b15a69469c096ab715ccdf2eed81f60c91d252514f1bb7f" +checksum = "1ae28fff745a9e581ede62de40f4452064426f137f53192691367439fff48a98" dependencies = [ "indexmap", "rustc-hash", @@ -1148,9 +1147,9 @@ dependencies = [ [[package]] name = "swc_ecma_utils" -version = "0.126.2" +version = "0.127.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f6edc4064cd932c6d267c05f0b161e6aaa4df4f900d5e1db8c92eda8edcc410" +checksum = "4cd185161161dfc65ee0d6f3044c901b766c3abb4efcd0b35c9e76c833724896" dependencies = [ "indexmap", "num_cpus", @@ -1166,9 +1165,9 @@ dependencies = [ [[package]] name = "swc_ecma_visit" -version = "0.97.1" +version = "0.98.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26ecefeec816318f1d449b4bac2e28a4243a167cc16620e15c3c1f2d91085770" +checksum = "cdb71511a816c7c84ddc96e6939389be261caf20858486a5e76948551f110e1f" dependencies = [ "num-bigint", "swc_atoms", @@ -1191,9 +1190,9 @@ dependencies = [ [[package]] name = "swc_fast_graph" -version = "0.21.15" +version = "0.21.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c9c9e567014e157af520f74b1a5bc151fece681136754b80b3fec6b908e26a0" +checksum = "ffd32eda2dd2c725f8d4448d0013c3b5466118e4ff5c30aff2c04f6750f7238b" dependencies = [ "indexmap", "petgraph", @@ -1214,9 +1213,9 @@ dependencies = [ [[package]] name = "swc_timer" -version = "0.21.16" +version = "0.21.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d15ec9bca22690ba9a373af069e366c9f43e48dd4d328aea6ba138f93ff0276" +checksum = "1247df8abb51666eede165577d93c1476b6aca7ab7bf58e0fff6015fad6fb1b5" dependencies = [ "tracing", ] @@ -1337,9 +1336,9 @@ dependencies = [ [[package]] name = "unicode-segmentation" -version = "1.10.1" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1dd624098567895118886609431a7c3b8f516e41d30e0643f03d94592a147e36" +checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" [[package]] name = "unicode-width" @@ -1378,9 +1377,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.90" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1223296a201415c7fad14792dbefaace9bd52b62d33453ade1c5b5f07555406" +checksum = "c1e124130aee3fb58c5bdd6b639a0509486b0338acaaae0c84a5124b0f588b7f" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -1388,9 +1387,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.90" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcdc935b63408d58a32f8cc9738a0bffd8f05cc7c002086c6ef20b7312ad9dcd" +checksum = "c9e7e1900c352b609c8488ad12639a311045f40a35491fb69ba8c12f758af70b" dependencies = [ "bumpalo", "log", @@ -1403,9 +1402,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.90" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e4c238561b2d428924c49815533a8b9121c664599558a5d9ec51f8a1740a999" +checksum = "b30af9e2d358182b5c7449424f017eba305ed32a7010509ede96cdc4696c46ed" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -1413,9 +1412,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.90" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bae1abb6806dc1ad9e560ed242107c0f6c84335f1749dd4e8ddb012ebd5e25a7" +checksum = "642f325be6301eb8107a83d12a8ac6c1e1c54345a7ef1a9261962dfefda09e66" dependencies = [ "proc-macro2", "quote", @@ -1426,9 +1425,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.90" +version = "0.2.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d91413b1c31d7539ba5ef2451af3f0b833a005eb27a631cec32bc0635a8602b" +checksum = "4f186bd2dcf04330886ce82d6f33dd75a7bfcf69ecf5763b89fcde53b6ac9838" [[package]] name = "winapi" diff --git a/rust/bindings_napi/Cargo.toml b/rust/bindings_napi/Cargo.toml index c725b0934..3bc19fac5 100644 --- a/rust/bindings_napi/Cargo.toml +++ b/rust/bindings_napi/Cargo.toml @@ -11,7 +11,7 @@ crate-type = ["cdylib"] [dependencies] # Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix napi = { version = "2.15.1", default-features = false, features = ["napi4"] } -napi-derive = "2.15.0" +napi-derive = "2.15.1" parse_ast = { path = "../parse_ast" } xxhash = { path = "../xxhash" } diff --git a/rust/bindings_wasm/Cargo.toml b/rust/bindings_wasm/Cargo.toml index b83621943..4b19152d9 100644 --- a/rust/bindings_wasm/Cargo.toml +++ b/rust/bindings_wasm/Cargo.toml @@ -4,10 +4,10 @@ version = "0.0.0" edition = "2021" [dependencies] -wasm-bindgen = "0.2.90" +wasm-bindgen = "0.2.91" parse_ast = { path = "../parse_ast" } xxhash = { path = "../xxhash" } -js-sys = "0.3.67" +js-sys = "0.3.68" getrandom = { version = "0.2.12", features = ["js"] } [lib] diff --git a/rust/parse_ast/Cargo.toml b/rust/parse_ast/Cargo.toml index 764ca1c39..cec44aa40 100644 --- a/rust/parse_ast/Cargo.toml +++ b/rust/parse_ast/Cargo.toml @@ -8,8 +8,8 @@ edition = "2021" [dependencies] anyhow = "1.0.79" swc_atoms = "0.6.5" -swc_compiler_base = "0.6.6" -swc_common = { version = "0.33.15", features = ["ahash", "parking_lot"] } -swc_ecma_ast = "0.111.1" -swc_ecma_parser = "0.142.1" +swc_compiler_base = "0.7.3" +swc_common = { version = "0.33.17", features = ["ahash", "parking_lot"] } +swc_ecma_ast = "0.112.2" +swc_ecma_parser = "0.143.3" parking_lot = "0.12.1" diff --git a/rust/parse_ast/src/convert_ast/converter.rs b/rust/parse_ast/src/convert_ast/converter.rs index 11d6def35..a231abecd 100644 --- a/rust/parse_ast/src/convert_ast/converter.rs +++ b/rust/parse_ast/src/convert_ast/converter.rs @@ -1,22 +1,22 @@ use swc_atoms::JsWord; use swc_common::Span; use swc_ecma_ast::{ - ArrayLit, ArrayPat, ArrowExpr, AssignExpr, AssignOp, AssignPat, AssignPatProp, AwaitExpr, BigInt, - BinExpr, BinaryOp, BindingIdent, BlockStmt, BlockStmtOrExpr, Bool, BreakStmt, CallExpr, Callee, - CatchClause, Class, ClassDecl, ClassExpr, ClassMember, ClassMethod, ClassProp, ComputedPropName, - CondExpr, Constructor, ContinueStmt, DebuggerStmt, Decl, DefaultDecl, DoWhileStmt, EmptyStmt, - ExportAll, ExportDecl, ExportDefaultDecl, ExportDefaultExpr, ExportNamedSpecifier, - ExportSpecifier, Expr, ExprOrSpread, ExprStmt, FnExpr, ForHead, ForInStmt, ForOfStmt, ForStmt, - Function, GetterProp, Ident, IfStmt, ImportDecl, ImportDefaultSpecifier, ImportNamedSpecifier, - ImportSpecifier, ImportStarAsSpecifier, KeyValuePatProp, KeyValueProp, LabeledStmt, Lit, - MemberExpr, MemberProp, MetaPropExpr, MetaPropKind, MethodKind, MethodProp, ModuleDecl, - ModuleExportName, ModuleItem, NamedExport, NewExpr, Null, Number, ObjectLit, ObjectPat, - ObjectPatProp, OptCall, OptChainBase, OptChainExpr, ParamOrTsParamProp, ParenExpr, Pat, - PatOrExpr, PrivateMethod, PrivateName, PrivateProp, Program, Prop, PropName, PropOrSpread, Regex, - RestPat, ReturnStmt, SeqExpr, SetterProp, SpreadElement, StaticBlock, Stmt, Str, Super, - SuperProp, SuperPropExpr, SwitchCase, SwitchStmt, TaggedTpl, ThisExpr, ThrowStmt, Tpl, - TplElement, TryStmt, UnaryExpr, UnaryOp, UpdateExpr, UpdateOp, VarDecl, VarDeclKind, - VarDeclOrExpr, VarDeclarator, WhileStmt, YieldExpr, + ArrayLit, ArrayPat, ArrowExpr, AssignExpr, AssignOp, AssignPat, AssignPatProp, AssignTarget, + AssignTargetPat, AwaitExpr, BigInt, BinExpr, BinaryOp, BindingIdent, BlockStmt, BlockStmtOrExpr, + Bool, BreakStmt, CallExpr, Callee, CatchClause, Class, ClassDecl, ClassExpr, ClassMember, + ClassMethod, ClassProp, ComputedPropName, CondExpr, Constructor, ContinueStmt, DebuggerStmt, + Decl, DefaultDecl, DoWhileStmt, EmptyStmt, ExportAll, ExportDecl, ExportDefaultDecl, + ExportDefaultExpr, ExportNamedSpecifier, ExportSpecifier, Expr, ExprOrSpread, ExprStmt, FnExpr, + ForHead, ForInStmt, ForOfStmt, ForStmt, Function, GetterProp, Ident, IfStmt, ImportDecl, + ImportDefaultSpecifier, ImportNamedSpecifier, ImportSpecifier, ImportStarAsSpecifier, + KeyValuePatProp, KeyValueProp, LabeledStmt, Lit, MemberExpr, MemberProp, MetaPropExpr, + MetaPropKind, MethodKind, MethodProp, ModuleDecl, ModuleExportName, ModuleItem, NamedExport, + NewExpr, Null, Number, ObjectLit, ObjectPat, ObjectPatProp, OptCall, OptChainBase, OptChainExpr, + ParamOrTsParamProp, ParenExpr, Pat, PrivateMethod, PrivateName, PrivateProp, Program, Prop, + PropName, PropOrSpread, Regex, RestPat, ReturnStmt, SeqExpr, SetterProp, SimpleAssignTarget, + SpreadElement, StaticBlock, Stmt, Str, Super, SuperProp, SuperPropExpr, SwitchCase, SwitchStmt, + TaggedTpl, ThisExpr, ThrowStmt, Tpl, TplElement, TryStmt, UnaryExpr, UnaryOp, UpdateExpr, + UpdateOp, VarDecl, VarDeclKind, VarDeclOrExpr, VarDeclarator, WhileStmt, YieldExpr, }; use crate::convert_ast::annotations::{AnnotationKind, AnnotationWithType}; @@ -791,17 +791,59 @@ impl<'a> AstConverter<'a> { self.convert_rest_pattern(rest_pattern); None } - Pat::Invalid(_) => unimplemented!("Cannot convert invalid pattern"), + Pat::Invalid(_) => unimplemented!("Cannot convert Pat::Invalid"), } } - fn convert_pattern_or_expression(&mut self, pattern_or_expression: &PatOrExpr) { + fn convert_pattern_or_expression(&mut self, pattern_or_expression: &AssignTarget) { match pattern_or_expression { - PatOrExpr::Pat(pattern) => { - self.convert_pattern(pattern); + AssignTarget::Pat(assignment_target_pattern) => { + self.convert_assignment_target_pattern(assignment_target_pattern); } - PatOrExpr::Expr(expression) => { - self.convert_expression(expression); + AssignTarget::Simple(simple_assigment_target) => { + self.convert_simple_assignment_target(simple_assigment_target); + } + } + } + + fn convert_assignment_target_pattern(&mut self, assignment_target_pattern: &AssignTargetPat) { + match assignment_target_pattern { + AssignTargetPat::Array(array_pattern) => self.convert_array_pattern(array_pattern), + AssignTargetPat::Object(object_pattern) => self.convert_object_pattern(object_pattern), + AssignTargetPat::Invalid(_) => unimplemented!("Cannot convert AssignTargetPat::Invalid"), + } + } + + fn convert_simple_assignment_target(&mut self, simple_assignment_target: &SimpleAssignTarget) { + match simple_assignment_target { + SimpleAssignTarget::Ident(binding_identifier) => { + self.convert_binding_identifier(binding_identifier) + } + SimpleAssignTarget::Member(member_expression) => { + self.convert_member_expression(member_expression, false, false) + } + SimpleAssignTarget::SuperProp(super_property) => self.convert_super_property(super_property), + SimpleAssignTarget::Paren(parenthesized_expression) => { + self.convert_parenthesized_expression(parenthesized_expression); + } + SimpleAssignTarget::OptChain(optional_chain_expression) => { + self.convert_optional_chain_expression(optional_chain_expression, false) + } + SimpleAssignTarget::TsAs(_) => unimplemented!("Cannot convert SimpleAssignTarget::TsAs"), + SimpleAssignTarget::TsSatisfies(_) => { + unimplemented!("Cannot convert SimpleAssignTarget::TsSatisfies") + } + SimpleAssignTarget::TsNonNull(_) => { + unimplemented!("Cannot convert SimpleAssignTarget::TsNonNull") + } + SimpleAssignTarget::TsTypeAssertion(_) => { + unimplemented!("Cannot convert SimpleAssignTarget::TsTypeAssertion") + } + SimpleAssignTarget::TsInstantiation(_) => { + unimplemented!("Cannot convert SimpleAssignTarget::TsInstantiation") + } + SimpleAssignTarget::Invalid(_) => { + unimplemented!("Cannot convert SimpleAssignTarget::Invalid") } } } From 62e6327bb584f2db299af545fdce4fe8dac19828 Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Fri, 9 Feb 2024 21:17:37 +0100 Subject: [PATCH 11/15] Ensure we pull before a release --- scripts/prepare-release.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/prepare-release.js b/scripts/prepare-release.js index a62d427aa..4be0a262f 100755 --- a/scripts/prepare-release.js +++ b/scripts/prepare-release.js @@ -36,8 +36,8 @@ chdir(fileURLToPath(new URL('..', import.meta.url))); const [gh, currentBranch] = await Promise.all([ getGithubApi(), - runAndGetStdout('git', ['branch', '--show-current']) - // runWithEcho('git', ['pull', '--ff-only']) + runAndGetStdout('git', ['branch', '--show-current']), + runWithEcho('git', ['pull', '--ff-only']) ]); const [mainPackage, mainLockFile, browserPackage, repo, changelog] = await Promise.all([ readJson(MAIN_PACKAGE), From 38c9a95e0d62845e596c72df7315d71d4cc90b4e Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Fri, 9 Feb 2024 21:22:15 +0100 Subject: [PATCH 12/15] Fix declaration file --- scripts/declarations.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/declarations.d.ts b/scripts/declarations.d.ts index 01a011b86..65fd2faeb 100644 --- a/scripts/declarations.d.ts +++ b/scripts/declarations.d.ts @@ -1,6 +1,6 @@ declare module 'github-api' { export interface Repo { - listPullRequests({ state: string }): Promise<{ + listPullRequests(filter: { state: string }): Promise<{ data: { number: number; title: string; head: { sha: string } }[]; }>; @@ -14,7 +14,7 @@ declare module 'github-api' { } export default class GitHub { - constructor({ token: string }); + constructor(options: { token: string }); getRepo(organization: string, repository: string): Repo; From e5e26b1ebb6674cc166bf97b22771a36aa4a4bec Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Fri, 9 Feb 2024 21:36:30 +0100 Subject: [PATCH 13/15] Do not copy types on test build to avoid type conflict --- rollup.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.ts b/rollup.config.ts index 6a89a23a1..fdedf3795 100644 --- a/rollup.config.ts +++ b/rollup.config.ts @@ -89,7 +89,7 @@ export default async function ( addCliEntry(), esmDynamicImport(), !command.configTest && collectLicenses(), - copyNodeTypes() + !command.configTest && copyNodeTypes() ], strictDeprecations: true, treeshake From 5101ee6840f1a08744d7246a8c62c9073394d783 Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Fri, 9 Feb 2024 21:52:44 +0100 Subject: [PATCH 14/15] Add skipLibCheck to build calls --- package.json | 10 +++++----- rollup.config.ts | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 5af81aef8..c0fe5d0a0 100644 --- a/package.json +++ b/package.json @@ -39,14 +39,14 @@ "build:wasm": "wasm-pack build rust/bindings_wasm --out-dir ../../wasm --target web --no-pack && shx rm wasm/.gitignore", "build:wasm:node": "wasm-pack build rust/bindings_wasm --out-dir ../../wasm-node --target nodejs --no-pack && shx rm wasm-node/.gitignore", "update:napi": "npm run build:napi && npm run build:copy-native", - "build:js": "rollup --config rollup.config.ts --configPlugin typescript --forceExit", - "build:js:node": "rollup --config rollup.config.ts --configPlugin typescript --configIsBuildNode --forceExit", + "build:js": "rollup --config rollup.config.ts --configPlugin 'typescript={skipLibCheck:true}' --forceExit", + "build:js:node": "rollup --config rollup.config.ts --configPlugin 'typescript={skipLibCheck:true}' --configIsBuildNode --forceExit", "build:prepare": "concurrently -c green,blue \"npm run build:napi -- --release\" \"npm:build:js:node\" && npm run build:copy-native", "update:js": "npm run build:js && npm run build:copy-native", "build:copy-native": "shx mkdir -p dist && shx cp rollup.*.node dist/", "dev": "vitepress dev docs", - "build:cjs": "rollup --config rollup.config.ts --configPlugin typescript --configTest --forceExit", - "build:bootstrap": "shx mv dist dist-build && node dist-build/bin/rollup --config rollup.config.ts --configPlugin typescript --forceExit && shx rm -rf dist-build", + "build:cjs": "rollup --config rollup.config.ts --configPlugin 'typescript={skipLibCheck:true}' --configTest --forceExit", + "build:bootstrap": "shx mv dist dist-build && node dist-build/bin/rollup --config rollup.config.ts --configPlugin 'typescript={skipLibCheck:true}' --forceExit && shx rm -rf dist-build", "build:docs": "vitepress build docs", "build:ast-converters": "node scripts/generate-ast-converters.js", "preview:docs": "vitepress preview docs", @@ -84,7 +84,7 @@ "test:only": "mocha test/test.js", "test:typescript": "shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/ && tsc --noEmit -p test/typescript && tsc --noEmit && tsc --noEmit -p scripts", "test:browser": "mocha test/browser/index.js", - "watch": "rollup --config rollup.config.ts --configPlugin typescript --watch" + "watch": "rollup --config rollup.config.ts --configPlugin 'typescript={skipLibCheck:true}' --watch" }, "repository": "rollup/rollup", "keywords": [ diff --git a/rollup.config.ts b/rollup.config.ts index fdedf3795..4a688e588 100644 --- a/rollup.config.ts +++ b/rollup.config.ts @@ -48,7 +48,7 @@ const nodePlugins: readonly Plugin[] = [ ignoreTryCatch: false, include: 'node_modules/**' }), - typescript(), + typescript({ skipLibCheck: true }), cleanBeforeWrite('dist'), externalNativeImport() ]; @@ -89,7 +89,7 @@ export default async function ( addCliEntry(), esmDynamicImport(), !command.configTest && collectLicenses(), - !command.configTest && copyNodeTypes() + copyNodeTypes() ], strictDeprecations: true, treeshake @@ -148,7 +148,7 @@ export default async function ( nodeResolve({ browser: true }), json(), commonjs(), - typescript(), + typescript({ skipLibCheck: true }), terser({ module: true, output: { comments: 'some' } }), collectLicensesBrowser(), writeLicenseBrowser(), From 8b57b74a242d5fd0b37e8bf1b6f21fc7e55231b1 Mon Sep 17 00:00:00 2001 From: Lukas Taegert-Atkinson Date: Fri, 9 Feb 2024 21:54:59 +0100 Subject: [PATCH 15/15] 4.10.0 --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ browser/package.json | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 31 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5fc3b16c1..381fe21e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # rollup changelog +## 4.10.0 + +_2024-02-09_ + +### Features + +- Support base-36 and base-16 hashes again via new `output.hashCharacters` option (#5371) + +### Bug Fixes + +- Do not crash process for panics in native code but throw them as JavaScript errors (#5383) + +### Pull Requests + +- [#5359](https://github.com/rollup/rollup/pull/5359): chore(deps): update actions/cache action to v4 (@renovate[bot]) +- [#5360](https://github.com/rollup/rollup/pull/5360): chore(deps): update dependency pretty-ms to v9 (@renovate[bot]) +- [#5366](https://github.com/rollup/rollup/pull/5366): chore(deps): update dependency husky to v9 (@renovate[bot]) +- [#5367](https://github.com/rollup/rollup/pull/5367): chore(deps): update peter-evans/create-or-update-comment action to v4 (@renovate[bot]) +- [#5368](https://github.com/rollup/rollup/pull/5368): chore(deps): update peter-evans/find-comment action to v3 (@renovate[bot]) +- [#5369](https://github.com/rollup/rollup/pull/5369): chore(deps): lock file maintenance minor/patch updates (@renovate[bot]) +- [#5370](https://github.com/rollup/rollup/pull/5370): Fix dependency range for Node types (@lukastaegert) +- [#5371](https://github.com/rollup/rollup/pull/5371): Implement "output.hashCharacters" option to define character set for file hashes (@lukastaegert) +- [#5372](https://github.com/rollup/rollup/pull/5372): Roll back vitepress as 1.0.0-rc.40 breaks the development build (@lukastaegert) +- [#5382](https://github.com/rollup/rollup/pull/5382): Update documentation (@TrickyPi) +- [#5383](https://github.com/rollup/rollup/pull/5383): Catch Rust panics and then throw them in JS (@TrickyPi) +- [#5385](https://github.com/rollup/rollup/pull/5385): chore(deps): lock file maintenance minor/patch updates (@renovate[bot]) + ## 4.9.6 _2024-01-21_ diff --git a/browser/package.json b/browser/package.json index 33fa4c635..b2e911c8f 100644 --- a/browser/package.json +++ b/browser/package.json @@ -1,6 +1,6 @@ { "name": "@rollup/browser", - "version": "4.9.6", + "version": "4.10.0", "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 fc6739240..858c1011b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rollup", - "version": "4.9.6", + "version": "4.10.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rollup", - "version": "4.9.6", + "version": "4.10.0", "license": "MIT", "dependencies": { "@types/estree": "1.0.5" diff --git a/package.json b/package.json index c0fe5d0a0..6e46ff23c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rollup", - "version": "4.9.6", + "version": "4.10.0", "description": "Next-generation ES module bundler", "main": "dist/rollup.js", "module": "dist/es/rollup.js",