From 81cda824d3091be08fc6a87109d71558c43cb234 Mon Sep 17 00:00:00 2001 From: iclanton <5010588+iclanton@users.noreply.github.com> Date: Thu, 26 Nov 2026 00:49:51 +0000 Subject: [PATCH 1/5] Bump webpack 5 dependencies to 5.113.0 Preserve webpack 4 and peer compatibility ranges, update subspace lockfiles and consumer-aware changefiles, and adapt affected types and output tests. Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --- .../src/styles/terminalPane.module.css | 4 +- .../package.json | 2 +- .../package.json | 2 +- .../heft-webpack-basic-tutorial/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../webpack-local-version-test/package.json | 2 +- .../rush/bump-webpack-5_2026-11-25-19-08.json | 10 + .../bump-webpack-5_2026-11-25-19-08.json | 10 + .../bump-webpack-5_2026-11-25-19-08.json | 10 + .../bump-webpack-5_2026-11-25-19-08.json | 10 + .../bump-webpack-5_2026-11-25-19-08.json | 10 + .../bump-webpack-5_2026-11-25-19-08.json | 10 + .../bump-webpack-5_2026-11-25-19-08.json | 10 + .../bump-webpack-5_2026-11-25-19-08.json | 10 + .../bump-webpack-5_2026-11-25-19-08.json | 10 + .../bump-webpack-5_2026-11-25-19-08.json | 10 + .../bump-webpack-5_2026-11-25-19-08.json | 10 + .../bump-webpack-5_2026-11-25-19-08.json | 10 + .../bump-webpack-5_2026-11-25-19-08.json | 10 + .../bump-webpack-5_2026-11-25-19-08.json | 10 + .../build-tests-subspace/pnpm-lock.yaml | 287 ++++--- .../build-tests-subspace/repo-state.json | 2 +- .../config/subspaces/default/pnpm-lock.yaml | 594 +++++++++----- .../config/subspaces/default/repo-state.json | 2 +- heft-plugins/heft-rspack-plugin/package.json | 2 +- .../heft-webpack5-plugin/package.json | 2 +- libraries/package-extractor/package.json | 2 +- libraries/rush-lib/package.json | 2 +- libraries/rush-sdk/package.json | 2 +- rigs/heft-web-rig/package.json | 2 +- rush-plugins/rush-serve-plugin/package.json | 2 +- .../rush-vscode-command-webview/package.json | 2 +- .../hashed-folder-copy-plugin/package.json | 2 +- .../HashedFolderCopyPlugin.test.ts.snap | 78 +- .../package.json | 2 +- .../package.json | 2 +- .../webpack-deep-imports-plugin/package.json | 2 +- .../package.json | 2 +- webpack/webpack-plugin-utilities/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../LoadThemedStylesLoader.test.ts.snap | 4 +- .../webpack5-localization-plugin/package.json | 2 +- .../src/AssetProcessor.ts | 4 +- .../src/LocalizationPlugin.ts | 2 +- .../LocalizedAsyncDynamic.test.ts.snap | 326 ++++---- ...micFormatWithNoLocaleFallback.test.ts.snap | 382 ++++----- .../LocalizedRuntime.test.ts.snap | 728 ++++++++---------- ...edRuntimeDifferentHashLengths.test.ts.snap | 728 ++++++++---------- .../__snapshots__/MixedAsync.test.ts.snap | 450 +++++------ .../MixedAsyncDynamic.test.ts.snap | 434 +++++------ .../MixedAsyncNonHashed.test.ts.snap | 414 +++++----- .../NoLocalizedFiles.test.ts.snap | 304 +++----- .../NonHashedNonLocalizedAssets.test.ts.snap | 296 +++---- .../package.json | 2 +- .../src/test/LicenseComments.test.ts | 2 +- .../__snapshots__/AmdExternals.test.ts.snap | 174 ++--- .../MultipleRuntimes.test.ts.snap | 324 ++++---- .../WebpackOutputFormats.test.ts.snap | 404 ++++------ 61 files changed, 2876 insertions(+), 3257 deletions(-) create mode 100644 common/changes/@microsoft/rush/bump-webpack-5_2026-11-25-19-08.json create mode 100644 common/changes/@microsoft/webpack5-load-themed-styles-loader/bump-webpack-5_2026-11-25-19-08.json create mode 100644 common/changes/@rushstack/hashed-folder-copy-plugin/bump-webpack-5_2026-11-25-19-08.json create mode 100644 common/changes/@rushstack/heft-rspack-plugin/bump-webpack-5_2026-11-25-19-08.json create mode 100644 common/changes/@rushstack/heft-web-rig/bump-webpack-5_2026-11-25-19-08.json create mode 100644 common/changes/@rushstack/heft-webpack5-plugin/bump-webpack-5_2026-11-25-19-08.json create mode 100644 common/changes/@rushstack/package-extractor/bump-webpack-5_2026-11-25-19-08.json create mode 100644 common/changes/@rushstack/set-webpack-public-path-plugin/bump-webpack-5_2026-11-25-19-08.json create mode 100644 common/changes/@rushstack/webpack-embedded-dependencies-plugin/bump-webpack-5_2026-11-25-19-08.json create mode 100644 common/changes/@rushstack/webpack-plugin-utilities/bump-webpack-5_2026-11-25-19-08.json create mode 100644 common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/bump-webpack-5_2026-11-25-19-08.json create mode 100644 common/changes/@rushstack/webpack-workspace-resolve-plugin/bump-webpack-5_2026-11-25-19-08.json create mode 100644 common/changes/@rushstack/webpack5-localization-plugin/bump-webpack-5_2026-11-25-19-08.json create mode 100644 common/changes/@rushstack/webpack5-module-minifier-plugin/bump-webpack-5_2026-11-25-19-08.json diff --git a/apps/rush-serve-dashboard/src/styles/terminalPane.module.css b/apps/rush-serve-dashboard/src/styles/terminalPane.module.css index 24908205c54..6624a0bc3bb 100644 --- a/apps/rush-serve-dashboard/src/styles/terminalPane.module.css +++ b/apps/rush-serve-dashboard/src/styles/terminalPane.module.css @@ -70,7 +70,7 @@ padding: 4px 8px; } .terminalContainer.termFlash .terminalHeader { - animation: termFlash 300ms ease-in-out; + animation: termFlashAnimation 300ms ease-in-out; } .toggleTerminalButton[aria-pressed='true'], .toggleTerminalButton[aria-pressed='true'] :global(.codicon) { @@ -81,7 +81,7 @@ display: inline-block; transform: rotate(90deg); } -@keyframes termFlash { +@keyframes termFlashAnimation { 0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); diff --git a/build-tests-samples/heft-storybook-v9-react-tutorial-storykit/package.json b/build-tests-samples/heft-storybook-v9-react-tutorial-storykit/package.json index fd0b2858e4c..70ed9e774e3 100644 --- a/build-tests-samples/heft-storybook-v9-react-tutorial-storykit/package.json +++ b/build-tests-samples/heft-storybook-v9-react-tutorial-storykit/package.json @@ -48,7 +48,7 @@ "style-loader": "~2.0.0", "terser-webpack-plugin": "~3.0.8", "typescript": "~5.8.2", - "webpack": "~5.105.2", + "webpack": "~5.113.0", "storybook": "~9.1.6", "@testing-library/dom": "~7.21.4" }, diff --git a/build-tests-samples/heft-storybook-v9-react-tutorial/package.json b/build-tests-samples/heft-storybook-v9-react-tutorial/package.json index 73511728e84..9bccb477cfa 100644 --- a/build-tests-samples/heft-storybook-v9-react-tutorial/package.json +++ b/build-tests-samples/heft-storybook-v9-react-tutorial/package.json @@ -40,7 +40,7 @@ "source-map-loader": "~1.1.3", "style-loader": "~2.0.0", "typescript": "~5.8.2", - "webpack": "~5.105.2", + "webpack": "~5.113.0", "storybook": "~9.1.6", "@testing-library/dom": "~7.21.4", "@rushstack/module-minifier": "workspace:*", diff --git a/build-tests-samples/heft-webpack-basic-tutorial/package.json b/build-tests-samples/heft-webpack-basic-tutorial/package.json index 9935de8db91..ff4524f17cc 100644 --- a/build-tests-samples/heft-webpack-basic-tutorial/package.json +++ b/build-tests-samples/heft-webpack-basic-tutorial/package.json @@ -31,6 +31,6 @@ "source-map-loader": "~3.0.1", "style-loader": "~3.3.1", "typescript": "~5.8.2", - "webpack": "~5.105.2" + "webpack": "~5.113.0" } } diff --git a/build-tests/hashed-folder-copy-plugin-webpack5-test/package.json b/build-tests/hashed-folder-copy-plugin-webpack5-test/package.json index 3261d033cae..882aa8692b3 100644 --- a/build-tests/hashed-folder-copy-plugin-webpack5-test/package.json +++ b/build-tests/hashed-folder-copy-plugin-webpack5-test/package.json @@ -18,6 +18,6 @@ "html-webpack-plugin": "~5.5.0", "typescript": "~5.8.2", "webpack-bundle-analyzer": "~4.5.0", - "webpack": "~5.105.2" + "webpack": "~5.113.0" } } diff --git a/build-tests/heft-webpack5-everything-test/package.json b/build-tests/heft-webpack5-everything-test/package.json index 61ef576df2e..150b57b73e9 100644 --- a/build-tests/heft-webpack5-everything-test/package.json +++ b/build-tests/heft-webpack5-everything-test/package.json @@ -32,6 +32,6 @@ "source-map-loader": "~3.0.1", "tslint": "~5.20.1", "typescript": "~5.8.2", - "webpack": "~5.105.2" + "webpack": "~5.113.0" } } diff --git a/build-tests/set-webpack-public-path-plugin-test/package.json b/build-tests/set-webpack-public-path-plugin-test/package.json index ad22692b7c5..703f0f786a9 100644 --- a/build-tests/set-webpack-public-path-plugin-test/package.json +++ b/build-tests/set-webpack-public-path-plugin-test/package.json @@ -20,6 +20,6 @@ "eslint": "~8.57.0", "html-webpack-plugin": "~5.5.0", "typescript": "~5.8.2", - "webpack": "~5.105.2" + "webpack": "~5.113.0" } } diff --git a/build-tests/webpack-local-version-test/package.json b/build-tests/webpack-local-version-test/package.json index c77095bd4d5..6a8a20236f9 100644 --- a/build-tests/webpack-local-version-test/package.json +++ b/build-tests/webpack-local-version-test/package.json @@ -17,6 +17,6 @@ "eslint": "~9.25.1", "html-webpack-plugin": "~5.5.0", "typescript": "~5.8.2", - "webpack": "~5.105.0" + "webpack": "~5.113.0" } } diff --git a/common/changes/@microsoft/rush/bump-webpack-5_2026-11-25-19-08.json b/common/changes/@microsoft/rush/bump-webpack-5_2026-11-25-19-08.json new file mode 100644 index 00000000000..d6966620b9d --- /dev/null +++ b/common/changes/@microsoft/rush/bump-webpack-5_2026-11-25-19-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/rush", + "comment": "", + "type": "none" + } + ], + "packageName": "@microsoft/rush" +} diff --git a/common/changes/@microsoft/webpack5-load-themed-styles-loader/bump-webpack-5_2026-11-25-19-08.json b/common/changes/@microsoft/webpack5-load-themed-styles-loader/bump-webpack-5_2026-11-25-19-08.json new file mode 100644 index 00000000000..2da1ba8cc1c --- /dev/null +++ b/common/changes/@microsoft/webpack5-load-themed-styles-loader/bump-webpack-5_2026-11-25-19-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/webpack5-load-themed-styles-loader", + "comment": "", + "type": "none" + } + ], + "packageName": "@microsoft/webpack5-load-themed-styles-loader" +} diff --git a/common/changes/@rushstack/hashed-folder-copy-plugin/bump-webpack-5_2026-11-25-19-08.json b/common/changes/@rushstack/hashed-folder-copy-plugin/bump-webpack-5_2026-11-25-19-08.json new file mode 100644 index 00000000000..400cb7afc51 --- /dev/null +++ b/common/changes/@rushstack/hashed-folder-copy-plugin/bump-webpack-5_2026-11-25-19-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/hashed-folder-copy-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/hashed-folder-copy-plugin" +} diff --git a/common/changes/@rushstack/heft-rspack-plugin/bump-webpack-5_2026-11-25-19-08.json b/common/changes/@rushstack/heft-rspack-plugin/bump-webpack-5_2026-11-25-19-08.json new file mode 100644 index 00000000000..8085c3943d4 --- /dev/null +++ b/common/changes/@rushstack/heft-rspack-plugin/bump-webpack-5_2026-11-25-19-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-rspack-plugin", + "comment": "Bump the webpack dependency to ~5.113.0.", + "type": "patch" + } + ], + "packageName": "@rushstack/heft-rspack-plugin" +} diff --git a/common/changes/@rushstack/heft-web-rig/bump-webpack-5_2026-11-25-19-08.json b/common/changes/@rushstack/heft-web-rig/bump-webpack-5_2026-11-25-19-08.json new file mode 100644 index 00000000000..c2225af3de2 --- /dev/null +++ b/common/changes/@rushstack/heft-web-rig/bump-webpack-5_2026-11-25-19-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-web-rig", + "comment": "Bump the webpack dependency to ~5.113.0.", + "type": "patch" + } + ], + "packageName": "@rushstack/heft-web-rig" +} diff --git a/common/changes/@rushstack/heft-webpack5-plugin/bump-webpack-5_2026-11-25-19-08.json b/common/changes/@rushstack/heft-webpack5-plugin/bump-webpack-5_2026-11-25-19-08.json new file mode 100644 index 00000000000..693b90033db --- /dev/null +++ b/common/changes/@rushstack/heft-webpack5-plugin/bump-webpack-5_2026-11-25-19-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-webpack5-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/heft-webpack5-plugin" +} diff --git a/common/changes/@rushstack/package-extractor/bump-webpack-5_2026-11-25-19-08.json b/common/changes/@rushstack/package-extractor/bump-webpack-5_2026-11-25-19-08.json new file mode 100644 index 00000000000..d09659a9f0c --- /dev/null +++ b/common/changes/@rushstack/package-extractor/bump-webpack-5_2026-11-25-19-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/package-extractor", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/package-extractor" +} diff --git a/common/changes/@rushstack/set-webpack-public-path-plugin/bump-webpack-5_2026-11-25-19-08.json b/common/changes/@rushstack/set-webpack-public-path-plugin/bump-webpack-5_2026-11-25-19-08.json new file mode 100644 index 00000000000..2ea81350376 --- /dev/null +++ b/common/changes/@rushstack/set-webpack-public-path-plugin/bump-webpack-5_2026-11-25-19-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/set-webpack-public-path-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/set-webpack-public-path-plugin" +} diff --git a/common/changes/@rushstack/webpack-embedded-dependencies-plugin/bump-webpack-5_2026-11-25-19-08.json b/common/changes/@rushstack/webpack-embedded-dependencies-plugin/bump-webpack-5_2026-11-25-19-08.json new file mode 100644 index 00000000000..e5a2bf6652c --- /dev/null +++ b/common/changes/@rushstack/webpack-embedded-dependencies-plugin/bump-webpack-5_2026-11-25-19-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack-embedded-dependencies-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/webpack-embedded-dependencies-plugin" +} diff --git a/common/changes/@rushstack/webpack-plugin-utilities/bump-webpack-5_2026-11-25-19-08.json b/common/changes/@rushstack/webpack-plugin-utilities/bump-webpack-5_2026-11-25-19-08.json new file mode 100644 index 00000000000..cd840879eea --- /dev/null +++ b/common/changes/@rushstack/webpack-plugin-utilities/bump-webpack-5_2026-11-25-19-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack-plugin-utilities", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/webpack-plugin-utilities" +} diff --git a/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/bump-webpack-5_2026-11-25-19-08.json b/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/bump-webpack-5_2026-11-25-19-08.json new file mode 100644 index 00000000000..802e1729a2a --- /dev/null +++ b/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/bump-webpack-5_2026-11-25-19-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack-preserve-dynamic-require-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/webpack-preserve-dynamic-require-plugin" +} diff --git a/common/changes/@rushstack/webpack-workspace-resolve-plugin/bump-webpack-5_2026-11-25-19-08.json b/common/changes/@rushstack/webpack-workspace-resolve-plugin/bump-webpack-5_2026-11-25-19-08.json new file mode 100644 index 00000000000..2849cf760e1 --- /dev/null +++ b/common/changes/@rushstack/webpack-workspace-resolve-plugin/bump-webpack-5_2026-11-25-19-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack-workspace-resolve-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/webpack-workspace-resolve-plugin" +} diff --git a/common/changes/@rushstack/webpack5-localization-plugin/bump-webpack-5_2026-11-25-19-08.json b/common/changes/@rushstack/webpack5-localization-plugin/bump-webpack-5_2026-11-25-19-08.json new file mode 100644 index 00000000000..63f7f9c7a5e --- /dev/null +++ b/common/changes/@rushstack/webpack5-localization-plugin/bump-webpack-5_2026-11-25-19-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack5-localization-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/webpack5-localization-plugin" +} diff --git a/common/changes/@rushstack/webpack5-module-minifier-plugin/bump-webpack-5_2026-11-25-19-08.json b/common/changes/@rushstack/webpack5-module-minifier-plugin/bump-webpack-5_2026-11-25-19-08.json new file mode 100644 index 00000000000..cb3223d486f --- /dev/null +++ b/common/changes/@rushstack/webpack5-module-minifier-plugin/bump-webpack-5_2026-11-25-19-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack5-module-minifier-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/webpack5-module-minifier-plugin" +} diff --git a/common/config/subspaces/build-tests-subspace/pnpm-lock.yaml b/common/config/subspaces/build-tests-subspace/pnpm-lock.yaml index 08f760e7c08..4c025ece49e 100644 --- a/common/config/subspaces/build-tests-subspace/pnpm-lock.yaml +++ b/common/config/subspaces/build-tests-subspace/pnpm-lock.yaml @@ -156,13 +156,13 @@ importers: version: 9.25.1 html-webpack-plugin: specifier: ~5.5.0 - version: 5.5.4(webpack@5.105.4) + version: 5.5.4(webpack@5.113.0) typescript: specifier: ~5.8.2 version: 5.8.3 webpack: - specifier: ~5.105.0 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 packages: @@ -919,7 +919,7 @@ packages: resolution: {directory: ../../../heft-plugins/heft-api-extractor-plugin, type: directory} engines: {node: '>=20.9.0'} peerDependencies: - '@rushstack/heft': 1.3.4 + '@rushstack/heft': 1.3.5 '@rushstack/heft-config-file@file:../../../libraries/heft-config-file': resolution: {directory: ../../../libraries/heft-config-file, type: directory} @@ -929,7 +929,7 @@ packages: resolution: {directory: ../../../heft-plugins/heft-jest-plugin, type: directory} engines: {node: '>=20.9.0'} peerDependencies: - '@rushstack/heft': ^1.3.4 + '@rushstack/heft': ^1.3.5 '@types/jest': ^30.0.0 jest-environment-jsdom: ^30.3.0 jest-environment-node: ^30.3.0 @@ -945,18 +945,18 @@ packages: resolution: {directory: ../../../heft-plugins/heft-lint-plugin, type: directory} engines: {node: '>=20.9.0'} peerDependencies: - '@rushstack/heft': 1.3.4 + '@rushstack/heft': 1.3.5 '@rushstack/heft-node-rig@file:../../../rigs/heft-node-rig': resolution: {directory: ../../../rigs/heft-node-rig, type: directory} peerDependencies: - '@rushstack/heft': ^1.3.4 + '@rushstack/heft': ^1.3.5 '@rushstack/heft-typescript-plugin@file:../../../heft-plugins/heft-typescript-plugin': resolution: {directory: ../../../heft-plugins/heft-typescript-plugin, type: directory} engines: {node: '>=20.9.0'} peerDependencies: - '@rushstack/heft': 1.3.4 + '@rushstack/heft': 1.3.5 '@rushstack/heft@file:../../../apps/heft': resolution: {directory: ../../../apps/heft, type: directory} @@ -1087,12 +1087,6 @@ packages: '@types/babel__traverse@7.28.0': resolution: {integrity: sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==} - '@types/eslint-scope@3.7.7': - resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==} - - '@types/eslint@9.6.1': - resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==} - '@types/estree@1.0.8': resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==} @@ -1384,12 +1378,6 @@ packages: engines: {node: '>= 8'} hasBin: true - acorn-import-phases@1.0.4: - resolution: {integrity: sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==} - engines: {node: '>=10.13.0'} - peerDependencies: - acorn: ^8.14.0 - acorn-jsx@5.3.2: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: @@ -1412,9 +1400,6 @@ packages: ajv: optional: true - ajv-formats@2.1.1: - resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} - ajv-formats@3.0.1: resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==} @@ -1854,8 +1839,8 @@ packages: resolution: {integrity: sha512-6qOwkl1g0fv0DN3Y3ggr2EaZXN71aoAqPp3p/pVaWSBSIo+YjLOWN61Fva43oVyQNPf7kgm8lkudzlzojwE2jw==} engines: {node: '>=10'} - enhanced-resolve@5.20.1: - resolution: {integrity: sha512-Qohcme7V1inbAfvjItgw0EaxVX5q2rdVEZHRBrEQdRZTssLDGsL8Lwrznl8oQ/6kuTJONLaDcGjkNP247XEhcA==} + enhanced-resolve@5.27.0: + resolution: {integrity: sha512-Do6BB2xzlcc/odFg+XEYyneAx4T/WfywO71yw9ePS2tVfRsf7JVR4mUeELadIeHzixkzbG5DpluiEFPi2WGfYQ==} engines: {node: '>=10.13.0'} entities@2.2.0: @@ -1880,9 +1865,6 @@ packages: resolution: {integrity: sha512-zWwRvqWiuBPr0muUG/78cW3aHROFCNIQ3zpmYDpwdbnt2m+xlNyRWpHBpa2lJjSBit7BQ+RXA1iwbSmu5yJ/EQ==} engines: {node: '>= 0.4'} - es-module-lexer@2.0.0: - resolution: {integrity: sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw==} - es-object-atoms@1.1.1: resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==} engines: {node: '>= 0.4'} @@ -1976,10 +1958,6 @@ packages: eslint: optional: true - eslint-scope@5.1.1: - resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} - engines: {node: '>=8.0.0'} - eslint-scope@8.4.0: resolution: {integrity: sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2033,10 +2011,6 @@ packages: resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} engines: {node: '>=4.0'} - estraverse@4.3.0: - resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} - engines: {node: '>=4.0'} - estraverse@5.3.0: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} engines: {node: '>=4.0'} @@ -2724,10 +2698,6 @@ packages: resolution: {integrity: sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ==} engines: {node: '>=8'} - loader-runner@4.3.1: - resolution: {integrity: sha512-IWqP2SCPhyVFTBtRcgMHdzlf9ul25NwaFx4wCEH/KjAXuuHY4yNjvPXsBokp8jCB936PyWRaPKUNh8NvylLp2Q==} - engines: {node: '>=6.11.5'} - local-eslint-config@file:../../../eslint/local-eslint-config: resolution: {directory: ../../../eslint/local-eslint-config, type: directory} peerDependencies: @@ -2798,12 +2768,8 @@ packages: resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} engines: {node: '>=8.6'} - mime-db@1.52.0: - resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} - engines: {node: '>= 0.6'} - - mime-types@2.1.35: - resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + mime-db@1.54.0: + resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==} engines: {node: '>= 0.6'} mimic-fn@2.1.0: @@ -2836,6 +2802,61 @@ packages: minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} + minimizer-webpack-plugin@5.14.1: + resolution: {integrity: sha512-qsfTb5Ao4nre9krFweqj8k5bVU7KxgsP4WkLO/ITTuiJkbitCzYBY+Aum5KTKRhY0wDr8VJ1RILsTCSUtPd1kQ==} + engines: {node: '>= 10.13.0'} + peerDependencies: + '@minify-html/node': '*' + '@napi-rs/image': '*' + '@swc/core': '*' + '@swc/css': '*' + '@swc/html': '*' + clean-css: '*' + cssnano: '*' + csso: '*' + esbuild: '*' + html-minifier-terser: '*' + imagemin: '*' + lightningcss: '*' + postcss: '*' + sharp: '*' + svgo: '*' + uglify-js: '*' + webpack: ^5.1.0 + peerDependenciesMeta: + '@minify-html/node': + optional: true + '@napi-rs/image': + optional: true + '@swc/core': + optional: true + '@swc/css': + optional: true + '@swc/html': + optional: true + clean-css: + optional: true + cssnano: + optional: true + csso: + optional: true + esbuild: + optional: true + html-minifier-terser: + optional: true + imagemin: + optional: true + lightningcss: + optional: true + postcss: + optional: true + sharp: + optional: true + svgo: + optional: true + uglify-js: + optional: true + minipass@3.3.6: resolution: {integrity: sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==} engines: {node: '>=8'} @@ -2880,9 +2901,6 @@ packages: engines: {node: '>=10'} hasBin: true - neo-async@2.6.2: - resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} - no-case@3.0.4: resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} @@ -3235,9 +3253,15 @@ packages: resolution: {integrity: sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==} engines: {node: '>= 0.4'} - schema-utils@4.3.3: - resolution: {integrity: sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA==} + schema-utils@4.8.5: + resolution: {integrity: sha512-K1RRP7aTUAY2lGXNzPwjMK6AMMzbETdpF3pTPMEnH/RrpmPx6K1X47/gSebrV+1I9pRcgpwZwqpYBlyZAsliiw==} engines: {node: '>= 10.13.0'} + hasBin: true + peerDependencies: + webpack: ^5.0.0 + peerDependenciesMeta: + webpack: + optional: true semver@5.7.2: resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} @@ -3463,31 +3487,24 @@ packages: resolution: {integrity: sha512-1MOpMXuhGzGL5TTCZFItxCc0AARf1EZFQkGqMm7ERKj8+Hgr5oLvJOVFcC+lRmR8hCe2S3jC4T5D7Vg/d7/fhA==} engines: {node: '>=6'} + tapable@2.3.4: + resolution: {integrity: sha512-NHFiWnAbMJxNNpBwiO7jJVGDuqMxT9/oV8v57RR+fgBQShkJil5inGD8/xWy0hjLyHQyX1tu27QANhlz3KBqCg==} + engines: {node: '>=6'} + tar@7.5.13: resolution: {integrity: sha512-tOG/7GyXpFevhXVh8jOPJrmtRpOTsYqUIkVdVooZYJS/z8WhfQUX8RJILmeuJNinGAMSu1veBr4asSHFt5/hng==} engines: {node: '>=18'} - terser-webpack-plugin@5.4.0: - resolution: {integrity: sha512-Bn5vxm48flOIfkdl5CaD2+1CiUVbonWQ3KQPyP7/EuIl9Gbzq/gQFOzaMFUEgVjB1396tcK0SG8XcNJ/2kDH8g==} - engines: {node: '>= 10.13.0'} - peerDependencies: - '@swc/core': '*' - esbuild: '*' - uglify-js: '*' - webpack: ^5.1.0 - peerDependenciesMeta: - '@swc/core': - optional: true - esbuild: - optional: true - uglify-js: - optional: true - terser@5.46.1: resolution: {integrity: sha512-vzCjQO/rgUuK9sf8VJZvjqiqiHFaZLnOiimmUuOKODxWL8mm/xua7viT7aqX7dgPY60otQjUotzFMmCB4VdmqQ==} engines: {node: '>=10'} hasBin: true + terser@5.51.4: + resolution: {integrity: sha512-VPi1CkDvCWLGUVIToctNBG+NdHbSXwOPjHJnQ3pdB0XknaldnI76wSkAFOGxV2ZdkzOP5d6gpQ5c58XvDghRvw==} + engines: {node: '>=10'} + hasBin: true + test-exclude@6.0.0: resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} engines: {node: '>=8'} @@ -3643,16 +3660,16 @@ packages: resolution: {integrity: sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==} engines: {node: '>=10.13.0'} - watchpack@2.5.1: - resolution: {integrity: sha512-Zn5uXdcFNIA1+1Ei5McRd+iRzfhENPCe7LeABkJtNulSxjma+l7ltNx55BWZkRlwRnpOgHqxnjyaDgJnNXnqzg==} + watchpack@2.6.4: + resolution: {integrity: sha512-5H3Tce2GfzWbcr9VnSqyak2whFaONw4BdmI5BDnMXold4qSlCFd64XaMQESRh2vkDKmdUkv6rUo17UvZ9f9nXw==} engines: {node: '>=10.13.0'} - webpack-sources@3.3.4: - resolution: {integrity: sha512-7tP1PdV4vF+lYPnkMR0jMY5/la2ub5Fc/8VQrrU+lXkiM6C4TjVfGw7iKfyhnTQOsD+6Q/iKw0eFciziRgD58Q==} + webpack-sources@3.7.1: + resolution: {integrity: sha512-mcxs7A2LsEdwsNqQburqS4QHPR2Ca3NGplUakn6J5GPQvnVZ4oD4IM4FJcT3f8AVN2e2EsjuIVxKj4rorHvyuQ==} engines: {node: '>=10.13.0'} - webpack@5.105.4: - resolution: {integrity: sha512-jTywjboN9aHxFlToqb0K0Zs9SbBoW4zRUlGzI2tYNxVYcEi/IPpn+Xi4ye5jTLvX2YeLuic/IvxNot+Q1jMoOw==} + webpack@5.113.0: + resolution: {integrity: sha512-q54iF0LNaAAdLEt3al9qMXC2zARvcx7LVKjHp+ExjCRkGx0M8TmawGHAXykXwofWzxhNzPTAh3kLVXvNg0El4A==} engines: {node: '>=10.13.0'} hasBin: true peerDependencies: @@ -5069,16 +5086,6 @@ snapshots: dependencies: '@babel/types': 7.29.0 - '@types/eslint-scope@3.7.7': - dependencies: - '@types/eslint': 9.6.1 - '@types/estree': 1.0.8 - - '@types/eslint@9.6.1': - dependencies: - '@types/estree': 1.0.8 - '@types/json-schema': 7.0.15 - '@types/estree@1.0.8': {} '@types/html-minifier-terser@6.1.0': {} @@ -5481,10 +5488,6 @@ snapshots: dependencies: isexe: 2.0.0 - acorn-import-phases@1.0.4(acorn@8.16.0): - dependencies: - acorn: 8.16.0 - acorn-jsx@5.3.2(acorn@8.16.0): dependencies: acorn: 8.16.0 @@ -5501,17 +5504,13 @@ snapshots: optionalDependencies: ajv: 8.20.0 - ajv-formats@2.1.1: - dependencies: - ajv: 8.18.0 - ajv-formats@3.0.1: dependencies: ajv: 8.20.0 - ajv-keywords@5.1.0(ajv@8.18.0): + ajv-keywords@5.1.0(ajv@8.20.0): dependencies: - ajv: 8.18.0 + ajv: 8.20.0 fast-deep-equal: 3.1.3 ajv@6.14.0: @@ -5977,10 +5976,10 @@ snapshots: dependencies: mem: 8.1.1 - enhanced-resolve@5.20.1: + enhanced-resolve@5.27.0: dependencies: graceful-fs: 4.2.11 - tapable: 2.3.2 + tapable: 2.3.4 entities@2.2.0: {} @@ -6069,8 +6068,6 @@ snapshots: math-intrinsics: 1.1.0 safe-array-concat: 1.1.3 - es-module-lexer@2.0.0: {} - es-object-atoms@1.1.1: dependencies: es-errors: 1.3.0 @@ -6239,11 +6236,6 @@ snapshots: - supports-color - typescript - eslint-scope@5.1.1: - dependencies: - esrecurse: 4.3.0 - estraverse: 4.3.0 - eslint-scope@8.4.0: dependencies: esrecurse: 4.3.0 @@ -6351,8 +6343,6 @@ snapshots: dependencies: estraverse: 5.3.0 - estraverse@4.3.0: {} - estraverse@5.3.0: {} esutils@2.0.3: {} @@ -6609,14 +6599,14 @@ snapshots: relateurl: 0.2.7 terser: 5.46.1 - html-webpack-plugin@5.5.4(webpack@5.105.4): + html-webpack-plugin@5.5.4(webpack@5.113.0): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 lodash: 4.18.1 pretty-error: 4.0.0 tapable: 2.3.2 - webpack: 5.105.4 + webpack: 5.113.0 htmlparser2@6.1.0: dependencies: @@ -7230,8 +7220,6 @@ snapshots: strip-bom: 4.0.0 type-fest: 0.6.0 - loader-runner@4.3.1: {} - local-eslint-config@file:../../../eslint/local-eslint-config(eslint@9.37.0)(typescript@5.8.3): dependencies: '@rushstack/eslint-config': file:../../../eslint/eslint-config(eslint@9.37.0)(typescript@5.8.3) @@ -7329,11 +7317,7 @@ snapshots: braces: 3.0.3 picomatch: 2.3.2 - mime-db@1.52.0: {} - - mime-types@2.1.35: - dependencies: - mime-db: 1.52.0 + mime-db@1.54.0: {} mimic-fn@2.1.0: {} @@ -7361,6 +7345,13 @@ snapshots: minimist@1.2.8: {} + minimizer-webpack-plugin@5.14.1(webpack@5.113.0): + dependencies: + jest-worker: 27.5.1 + schema-utils: 4.8.5(webpack@5.113.0) + terser: 5.51.4 + webpack: 5.113.0 + minipass@3.3.6: dependencies: yallist: 4.0.0 @@ -7399,8 +7390,6 @@ snapshots: split2: 3.2.2 through2: 4.0.2 - neo-async@2.6.2: {} - no-case@3.0.4: dependencies: lower-case: 2.0.2 @@ -7803,12 +7792,14 @@ snapshots: es-errors: 1.3.0 is-regex: 1.2.1 - schema-utils@4.3.3: + schema-utils@4.8.5(webpack@5.113.0): dependencies: '@types/json-schema': 7.0.15 - ajv: 8.18.0 - ajv-formats: 2.1.1 - ajv-keywords: 5.1.0(ajv@8.18.0) + ajv: 8.20.0 + ajv-formats: 3.0.1 + ajv-keywords: 5.1.0(ajv@8.20.0) + optionalDependencies: + webpack: 5.113.0 semver@5.7.2: {} @@ -8057,6 +8048,8 @@ snapshots: tapable@2.3.2: {} + tapable@2.3.4: {} + tar@7.5.13: dependencies: '@isaacs/fs-minipass': 4.0.1 @@ -8065,15 +8058,14 @@ snapshots: minizlib: 3.1.0 yallist: 5.0.0 - terser-webpack-plugin@5.4.0(webpack@5.105.4): + terser@5.46.1: dependencies: - '@jridgewell/trace-mapping': 0.3.31 - jest-worker: 27.5.1 - schema-utils: 4.3.3 - terser: 5.46.1 - webpack: 5.105.4 + '@jridgewell/source-map': 0.3.11 + acorn: 8.16.0 + commander: 2.20.3 + source-map-support: 0.5.21 - terser@5.46.1: + terser@5.51.4: dependencies: '@jridgewell/source-map': 0.3.11 acorn: 8.16.0 @@ -8280,43 +8272,46 @@ snapshots: glob-to-regexp: 0.4.1 graceful-fs: 4.2.11 - watchpack@2.5.1: + watchpack@2.6.4: dependencies: - glob-to-regexp: 0.4.1 graceful-fs: 4.2.11 - webpack-sources@3.3.4: {} + webpack-sources@3.7.1: {} - webpack@5.105.4: + webpack@5.113.0: dependencies: - '@types/eslint-scope': 3.7.7 '@types/estree': 1.0.8 '@types/json-schema': 7.0.15 '@webassemblyjs/ast': 1.14.1 '@webassemblyjs/wasm-edit': 1.14.1 '@webassemblyjs/wasm-parser': 1.14.1 - acorn: 8.16.0 - acorn-import-phases: 1.0.4(acorn@8.16.0) browserslist: 4.28.2 chrome-trace-event: 1.0.4 - enhanced-resolve: 5.20.1 - es-module-lexer: 2.0.0 - eslint-scope: 5.1.1 + enhanced-resolve: 5.27.0 events: 3.3.0 - glob-to-regexp: 0.4.1 graceful-fs: 4.2.11 - json-parse-even-better-errors: 2.3.1 - loader-runner: 4.3.1 - mime-types: 2.1.35 - neo-async: 2.6.2 - schema-utils: 4.3.3 - tapable: 2.3.2 - terser-webpack-plugin: 5.4.0(webpack@5.105.4) - watchpack: 2.5.1 - webpack-sources: 3.3.4 + mime-db: 1.54.0 + minimizer-webpack-plugin: 5.14.1(webpack@5.113.0) + schema-utils: 4.8.5(webpack@5.113.0) + tapable: 2.3.4 + watchpack: 2.6.4 + webpack-sources: 3.7.1 transitivePeerDependencies: + - '@minify-html/node' + - '@napi-rs/image' - '@swc/core' + - '@swc/css' + - '@swc/html' + - clean-css + - cssnano + - csso - esbuild + - html-minifier-terser + - imagemin + - lightningcss + - postcss + - sharp + - svgo - uglify-js which-boxed-primitive@1.1.1: diff --git a/common/config/subspaces/build-tests-subspace/repo-state.json b/common/config/subspaces/build-tests-subspace/repo-state.json index 1449961bcde..f5937cf7b1a 100644 --- a/common/config/subspaces/build-tests-subspace/repo-state.json +++ b/common/config/subspaces/build-tests-subspace/repo-state.json @@ -1,6 +1,6 @@ // DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush. { - "pnpmShrinkwrapHash": "18a657d83020df41f6602b7c9087b7253cfee8e0", + "pnpmShrinkwrapHash": "c7f651110602bd49c543f2aee9dace6c1f511a8b", "preferredVersionsHash": "550b4cee0bef4e97db6c6aad726df5149d20e7d9", "packageJsonInjectedDependenciesHash": "293debc6ed16567f5567a7748229a73be6647cc6" } diff --git a/common/config/subspaces/default/pnpm-lock.yaml b/common/config/subspaces/default/pnpm-lock.yaml index 2ba67bda337..d9ec310a774 100644 --- a/common/config/subspaces/default/pnpm-lock.yaml +++ b/common/config/subspaces/default/pnpm-lock.yaml @@ -968,7 +968,7 @@ importers: version: 1.18.8 css-loader: specifier: ~5.2.7 - version: 5.2.7(webpack@5.105.4) + version: 5.2.7(webpack@5.113.0) eslint: specifier: ~9.37.0 version: 9.37.0 @@ -977,25 +977,25 @@ importers: version: link:../heft-storybook-v9-react-tutorial-storykit html-webpack-plugin: specifier: ~5.5.0 - version: 5.5.4(webpack@5.105.4) + version: 5.5.4(webpack@5.113.0) local-eslint-config: specifier: workspace:* version: link:../../eslint/local-eslint-config source-map-loader: specifier: ~1.1.3 - version: 1.1.3(webpack@5.105.4) + version: 1.1.3(webpack@5.113.0) storybook: specifier: ~9.1.6 version: 9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1) style-loader: specifier: ~2.0.0 - version: 2.0.0(webpack@5.105.4) + version: 2.0.0(webpack@5.113.0) typescript: specifier: ~5.8.2 version: 5.8.2 webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 ../../../build-tests-samples/heft-storybook-v9-react-tutorial-app: dependencies: @@ -1050,10 +1050,10 @@ importers: version: 1.18.8 babel-loader: specifier: ~8.2.3 - version: 8.2.5(@babel/core@7.20.12)(webpack@5.105.4) + version: 8.2.5(@babel/core@7.20.12)(webpack@5.113.0) css-loader: specifier: ~5.2.7 - version: 5.2.7(webpack@5.105.4) + version: 5.2.7(webpack@5.113.0) jest: specifier: ~29.3.1 version: 29.3.1(@types/node@20.17.19)(babel-plugin-macros@3.1.0) @@ -1068,16 +1068,16 @@ importers: version: 9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1) style-loader: specifier: ~2.0.0 - version: 2.0.0(webpack@5.105.4) + version: 2.0.0(webpack@5.113.0) terser-webpack-plugin: specifier: ~3.0.8 - version: 3.0.8(webpack@5.105.4) + version: 3.0.8(webpack@5.113.0) typescript: specifier: ~5.8.2 version: 5.8.2 webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 devDependencies: '@rushstack/heft': specifier: workspace:* @@ -1201,28 +1201,28 @@ importers: version: 1.18.8 css-loader: specifier: ~6.6.0 - version: 6.6.0(webpack@5.105.4) + version: 6.6.0(webpack@5.113.0(postcss@8.5.12)) eslint: specifier: ~9.37.0 version: 9.37.0 html-webpack-plugin: specifier: ~5.5.0 - version: 5.5.4(webpack@5.105.4) + version: 5.5.4(webpack@5.113.0(postcss@8.5.12)) local-eslint-config: specifier: workspace:* version: link:../../eslint/local-eslint-config source-map-loader: specifier: ~3.0.1 - version: 3.0.2(webpack@5.105.4) + version: 3.0.2(webpack@5.113.0(postcss@8.5.12)) style-loader: specifier: ~3.3.1 - version: 3.3.4(webpack@5.105.4) + version: 3.3.4(webpack@5.113.0(postcss@8.5.12)) typescript: specifier: ~5.8.2 version: 5.8.2 webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0(postcss@8.5.12) ../../../build-tests-samples/packlets-tutorial: devDependencies: @@ -1730,13 +1730,13 @@ importers: version: 1.18.8 html-webpack-plugin: specifier: ~5.5.0 - version: 5.5.4(webpack@5.105.4) + version: 5.5.4(webpack@5.113.0) typescript: specifier: ~5.8.2 version: 5.8.2 webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 webpack-bundle-analyzer: specifier: ~4.5.0 version: 4.5.0 @@ -2568,13 +2568,13 @@ importers: version: 9.37.0 html-webpack-plugin: specifier: ~5.5.0 - version: 5.5.4(webpack@5.105.4) + version: 5.5.4(webpack@5.113.0) local-eslint-config: specifier: workspace:* version: link:../../eslint/local-eslint-config source-map-loader: specifier: ~3.0.1 - version: 3.0.2(webpack@5.105.4) + version: 3.0.2(webpack@5.113.0) tslint: specifier: ~5.20.1 version: 5.20.1(typescript@5.8.2) @@ -2582,8 +2582,8 @@ importers: specifier: ~5.8.2 version: 5.8.2 webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 ../../../build-tests/localization-plugin-test-01: dependencies: @@ -2977,13 +2977,13 @@ importers: version: 8.57.1 html-webpack-plugin: specifier: ~5.5.0 - version: 5.5.4(webpack@5.105.4) + version: 5.5.4(webpack@5.113.0) typescript: specifier: ~5.8.2 version: 5.8.2 webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 ../../../eslint/eslint-bulk: devDependencies: @@ -3445,7 +3445,7 @@ importers: dependencies: '@rspack/dev-server': specifier: ^1.1.4 - version: 1.2.1(@rspack/core@1.6.8(@swc/helpers@0.5.21))(@types/webpack@4.41.32)(webpack@5.105.4) + version: 1.2.1(@rspack/core@1.6.8(@swc/helpers@0.5.21))(@types/webpack@4.41.32)(webpack@5.113.0) '@rushstack/debug-certificate-manager': specifier: workspace:* version: link:../../libraries/debug-certificate-manager @@ -3459,8 +3459,8 @@ importers: specifier: 2.4.0 version: 2.4.0 webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 devDependencies: '@rspack/core': specifier: ~1.6.0-beta.0 @@ -3736,7 +3736,7 @@ importers: version: 2.4.0 webpack-dev-server: specifier: ^5.1.0 - version: 5.2.3(@types/webpack@4.41.32)(webpack@5.105.4) + version: 5.2.3(@types/webpack@4.41.32)(webpack@5.113.0) devDependencies: '@rushstack/heft': specifier: workspace:* @@ -3754,8 +3754,8 @@ importers: specifier: workspace:* version: link:../../rigs/local-node-rig webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 ../../../libraries/api-extractor-model: dependencies: @@ -4095,8 +4095,8 @@ importers: specifier: workspace:* version: link:../../rigs/local-node-rig webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 ../../../libraries/problem-matcher: devDependencies: @@ -4425,8 +4425,8 @@ importers: specifier: workspace:* version: link:../../rigs/local-node-rig webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 ../../../libraries/rush-pnpm-kit-v10: dependencies: @@ -4543,8 +4543,8 @@ importers: specifier: workspace:* version: link:../../rigs/local-node-rig webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 ../../../libraries/rush-terminal-renderer: dependencies: @@ -4838,7 +4838,7 @@ importers: version: 1.3.4(@types/node@20.17.19) '@rushstack/heft-node-rig': specifier: 2.11.55 - version: 2.11.55(@rushstack/heft@1.3.4(@types/node@20.17.19))(@types/node@20.17.19)(babel-plugin-macros@3.1.0)(esbuild-register@3.6.0(esbuild@0.28.0))(jest-environment-jsdom@30.3.0) + version: 2.11.55(@rushstack/heft@1.3.4(@types/node@20.17.19))(@types/node@20.17.19)(esbuild-register@3.6.0(esbuild@0.28.0))(jest-environment-jsdom@30.3.0) '@types/jest': specifier: 30.0.0 version: 30.0.0 @@ -4987,52 +4987,52 @@ importers: version: 10.4.27(postcss@8.5.12) css-loader: specifier: ~6.6.0 - version: 6.6.0(webpack@5.105.4) + version: 6.6.0(webpack@5.113.0(postcss@8.5.12)) css-minimizer-webpack-plugin: specifier: ~3.4.1 - version: 3.4.1(webpack@5.105.4) + version: 3.4.1(webpack@5.113.0(postcss@8.5.12)) eslint: specifier: ~9.37.0 version: 9.37.0 html-webpack-plugin: specifier: ~5.5.0 - version: 5.5.4(webpack@5.105.4) + version: 5.5.4(webpack@5.113.0(postcss@8.5.12)) jest-environment-jsdom: specifier: ~30.3.0 version: 30.3.0 mini-css-extract-plugin: specifier: ~2.5.3 - version: 2.5.3(webpack@5.105.4) + version: 2.5.3(webpack@5.113.0(postcss@8.5.12)) postcss: specifier: ~8.5.10 version: 8.5.12 postcss-loader: specifier: ~6.2.1 - version: 6.2.1(postcss@8.5.12)(webpack@5.105.4) + version: 6.2.1(postcss@8.5.12)(webpack@5.113.0(postcss@8.5.12)) sass: specifier: ~1.49.7 version: 1.49.11 sass-loader: specifier: ~12.4.0 - version: 12.4.0(sass@1.49.11)(webpack@5.105.4) + version: 12.4.0(sass@1.49.11)(webpack@5.113.0(postcss@8.5.12)) source-map-loader: specifier: ~3.0.1 - version: 3.0.2(webpack@5.105.4) + version: 3.0.2(webpack@5.113.0(postcss@8.5.12)) style-loader: specifier: ~3.3.1 - version: 3.3.4(webpack@5.105.4) + version: 3.3.4(webpack@5.113.0(postcss@8.5.12)) terser-webpack-plugin: specifier: ~5.3.1 - version: 5.3.17(webpack@5.105.4) + version: 5.3.17(webpack@5.113.0(postcss@8.5.12)) typescript: specifier: ~5.8.2 version: 5.8.2 url-loader: specifier: ~4.1.1 - version: 4.1.1(file-loader@6.2.0(webpack@5.105.4))(webpack@5.105.4) + version: 4.1.1(file-loader@6.2.0(webpack@5.113.0(postcss@8.5.12)))(webpack@5.113.0(postcss@8.5.12)) webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0(postcss@8.5.12) webpack-bundle-analyzer: specifier: ~4.5.0 version: 4.5.0 @@ -5452,13 +5452,13 @@ importers: version: 9.37.0 html-webpack-plugin: specifier: ~5.5.0 - version: 5.5.4(webpack@5.105.4) + version: 5.5.4(webpack@5.113.0) local-node-rig: specifier: workspace:* version: link:../../rigs/local-node-rig webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 ../../../vscode-extensions/debug-certificate-manager-vscode-extension: dependencies: @@ -5587,13 +5587,13 @@ importers: version: 9.37.0 html-webpack-plugin: specifier: ~5.5.0 - version: 5.5.4(webpack@5.105.4) + version: 5.5.4(webpack@5.113.0) local-web-rig: specifier: workspace:* version: link:../../rigs/local-web-rig webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 webpack-bundle-analyzer: specifier: ~4.5.0 version: 4.5.0 @@ -5700,8 +5700,8 @@ importers: specifier: 4.12.0 version: 4.12.0 webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 ../../../webpack/loader-load-themed-styles: dependencies: @@ -5756,8 +5756,8 @@ importers: specifier: workspace:* version: link:../../rigs/local-node-rig webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 ../../../webpack/set-webpack-public-path-plugin: dependencies: @@ -5784,8 +5784,8 @@ importers: specifier: 4.12.0 version: 4.12.0 webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 ../../../webpack/webpack-deep-imports-plugin: dependencies: @@ -5803,8 +5803,8 @@ importers: specifier: workspace:* version: link:../../rigs/local-node-rig webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 ../../../webpack/webpack-embedded-dependencies-plugin: dependencies: @@ -5828,8 +5828,8 @@ importers: specifier: 4.12.0 version: 4.12.0 webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 ../../../webpack/webpack-plugin-utilities: dependencies: @@ -5856,8 +5856,8 @@ importers: specifier: workspace:* version: link:../../rigs/local-node-rig webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 ../../../webpack/webpack-workspace-resolve-plugin: dependencies: @@ -5881,8 +5881,8 @@ importers: specifier: 4.12.0 version: 4.12.0 webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 ../../../webpack/webpack4-localization-plugin: dependencies: @@ -5983,7 +5983,7 @@ importers: version: link:../../libraries/node-core-library css-loader: specifier: ~6.6.0 - version: 6.6.0(webpack@5.105.4) + version: 6.6.0(webpack@5.113.0(postcss@8.5.12)) eslint: specifier: ~9.37.0 version: 9.37.0 @@ -5994,8 +5994,8 @@ importers: specifier: 4.12.0 version: 4.12.0 webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0(postcss@8.5.12) ../../../webpack/webpack5-localization-plugin: dependencies: @@ -6025,8 +6025,8 @@ importers: specifier: 4.12.0 version: 4.12.0 webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 ../../../webpack/webpack5-module-minifier-plugin: dependencies: @@ -6062,8 +6062,8 @@ importers: specifier: 4.12.0 version: 4.12.0 webpack: - specifier: ~5.105.2 - version: 5.105.4 + specifier: ~5.113.0 + version: 5.113.0 packages: @@ -10444,9 +10444,6 @@ packages: '@types/doctrine@0.0.9': resolution: {integrity: sha512-eOIHzCUSH7SMfonMG1LsC2f8vxBFtho6NGBznK41R84YzPuvSBzrhEps33IsQiOW9+VL6NQ9DbjQJznk/S4uRA==} - '@types/eslint-scope@3.7.7': - resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==} - '@types/eslint@8.56.10': resolution: {integrity: sha512-Shavhk87gCtY2fhXDctcfS3e6FdxWkCx1iUZ9eEUbh7rTqlZT0/IzOkCOVt0fCjcFuZ9FPYfuezTBImfHCDBGQ==} @@ -11229,12 +11226,6 @@ packages: resolution: {integrity: sha512-5cvg6CtKwfgdmVqY1WIiXKc3Q1bkRqGLi+2W/6ao+6Y7gu/RCwRuAhGEzh5B4KlszSuTLgZYuqFqo5bImjNKng==} engines: {node: '>= 0.6'} - acorn-import-phases@1.0.4: - resolution: {integrity: sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==} - engines: {node: '>=10.13.0'} - peerDependencies: - acorn: ^8.14.0 - acorn-jsx@5.3.2: resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} peerDependencies: @@ -13038,8 +13029,8 @@ packages: resolution: {integrity: sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==} engines: {node: '>=6.9.0'} - enhanced-resolve@5.20.1: - resolution: {integrity: sha512-Qohcme7V1inbAfvjItgw0EaxVX5q2rdVEZHRBrEQdRZTssLDGsL8Lwrznl8oQ/6kuTJONLaDcGjkNP247XEhcA==} + enhanced-resolve@5.27.0: + resolution: {integrity: sha512-Do6BB2xzlcc/odFg+XEYyneAx4T/WfywO71yw9ePS2tVfRsf7JVR4mUeELadIeHzixkzbG5DpluiEFPi2WGfYQ==} engines: {node: '>=10.13.0'} enquirer@2.4.1: @@ -13108,9 +13099,6 @@ packages: es-module-lexer@1.7.0: resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==} - es-module-lexer@2.0.0: - resolution: {integrity: sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw==} - es-object-atoms@1.1.1: resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==} engines: {node: '>= 0.4'} @@ -15475,10 +15463,6 @@ packages: resolution: {integrity: sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==} engines: {node: '>=4.3.0 <5.0.0 || >=5.10'} - loader-runner@4.3.1: - resolution: {integrity: sha512-IWqP2SCPhyVFTBtRcgMHdzlf9ul25NwaFx4wCEH/KjAXuuHY4yNjvPXsBokp8jCB936PyWRaPKUNh8NvylLp2Q==} - engines: {node: '>=6.11.5'} - loader-utils@1.4.2: resolution: {integrity: sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==} engines: {node: '>=4.0.0'} @@ -15845,6 +15829,61 @@ packages: minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} + minimizer-webpack-plugin@5.14.1: + resolution: {integrity: sha512-qsfTb5Ao4nre9krFweqj8k5bVU7KxgsP4WkLO/ITTuiJkbitCzYBY+Aum5KTKRhY0wDr8VJ1RILsTCSUtPd1kQ==} + engines: {node: '>= 10.13.0'} + peerDependencies: + '@minify-html/node': '*' + '@napi-rs/image': '*' + '@swc/core': '*' + '@swc/css': '*' + '@swc/html': '*' + clean-css: '*' + cssnano: '*' + csso: '*' + esbuild: '*' + html-minifier-terser: '*' + imagemin: '*' + lightningcss: '*' + postcss: '*' + sharp: '*' + svgo: '*' + uglify-js: '*' + webpack: ^5.1.0 + peerDependenciesMeta: + '@minify-html/node': + optional: true + '@napi-rs/image': + optional: true + '@swc/core': + optional: true + '@swc/css': + optional: true + '@swc/html': + optional: true + clean-css: + optional: true + cssnano: + optional: true + csso: + optional: true + esbuild: + optional: true + html-minifier-terser: + optional: true + imagemin: + optional: true + lightningcss: + optional: true + postcss: + optional: true + sharp: + optional: true + svgo: + optional: true + uglify-js: + optional: true + minipass-collect@1.0.2: resolution: {integrity: sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==} engines: {node: '>= 8'} @@ -17729,6 +17768,16 @@ packages: resolution: {integrity: sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA==} engines: {node: '>= 10.13.0'} + schema-utils@4.8.5: + resolution: {integrity: sha512-K1RRP7aTUAY2lGXNzPwjMK6AMMzbETdpF3pTPMEnH/RrpmPx6K1X47/gSebrV+1I9pRcgpwZwqpYBlyZAsliiw==} + engines: {node: '>= 10.13.0'} + hasBin: true + peerDependencies: + webpack: ^5.0.0 + peerDependenciesMeta: + webpack: + optional: true + secure-json-parse@2.7.0: resolution: {integrity: sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==} @@ -18348,6 +18397,10 @@ packages: resolution: {integrity: sha512-g9ljZiwki/LfxmQADO3dEY1CbpmXT5Hm2fJ+QaGKwSXUylMybePR7/67YW7jOrrvjEgL1Fmz5kzyAjWVWLlucg==} engines: {node: '>=6'} + tapable@2.3.4: + resolution: {integrity: sha512-NHFiWnAbMJxNNpBwiO7jJVGDuqMxT9/oV8v57RR+fgBQShkJil5inGD8/xWy0hjLyHQyX1tu27QANhlz3KBqCg==} + engines: {node: '>=6'} + tar-fs@2.1.4: resolution: {integrity: sha512-mDAjwmZdh7LTT6pNleZ05Yt65HC3E+NiQzl672vQG38jIrehtJk/J3mNwIg+vShQPcLF/LV7CMnDW6vjj6sfYQ==} @@ -18416,6 +18469,11 @@ packages: engines: {node: '>=10'} hasBin: true + terser@5.51.4: + resolution: {integrity: sha512-VPi1CkDvCWLGUVIToctNBG+NdHbSXwOPjHJnQ3pdB0XknaldnI76wSkAFOGxV2ZdkzOP5d6gpQ5c58XvDghRvw==} + engines: {node: '>=10'} + hasBin: true + test-exclude@6.0.0: resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} engines: {node: '>=8'} @@ -19004,8 +19062,8 @@ packages: resolution: {integrity: sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg==} engines: {node: '>=10.13.0'} - watchpack@2.5.1: - resolution: {integrity: sha512-Zn5uXdcFNIA1+1Ei5McRd+iRzfhENPCe7LeABkJtNulSxjma+l7ltNx55BWZkRlwRnpOgHqxnjyaDgJnNXnqzg==} + watchpack@2.6.4: + resolution: {integrity: sha512-5H3Tce2GfzWbcr9VnSqyak2whFaONw4BdmI5BDnMXold4qSlCFd64XaMQESRh2vkDKmdUkv6rUo17UvZ9f9nXw==} engines: {node: '>=10.13.0'} wbuf@1.7.3: @@ -19120,8 +19178,8 @@ packages: webpack-sources@1.4.3: resolution: {integrity: sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==} - webpack-sources@3.3.4: - resolution: {integrity: sha512-7tP1PdV4vF+lYPnkMR0jMY5/la2ub5Fc/8VQrrU+lXkiM6C4TjVfGw7iKfyhnTQOsD+6Q/iKw0eFciziRgD58Q==} + webpack-sources@3.7.1: + resolution: {integrity: sha512-mcxs7A2LsEdwsNqQburqS4QHPR2Ca3NGplUakn6J5GPQvnVZ4oD4IM4FJcT3f8AVN2e2EsjuIVxKj4rorHvyuQ==} engines: {node: '>=10.13.0'} webpack-virtual-modules@0.2.2: @@ -19143,8 +19201,8 @@ packages: webpack-command: optional: true - webpack@5.105.4: - resolution: {integrity: sha512-jTywjboN9aHxFlToqb0K0Zs9SbBoW4zRUlGzI2tYNxVYcEi/IPpn+Xi4ye5jTLvX2YeLuic/IvxNot+Q1jMoOw==} + webpack@5.113.0: + resolution: {integrity: sha512-q54iF0LNaAAdLEt3al9qMXC2zARvcx7LVKjHp+ExjCRkGx0M8TmawGHAXykXwofWzxhNzPTAh3kLVXvNg0El4A==} engines: {node: '>=10.13.0'} hasBin: true peerDependencies: @@ -24682,7 +24740,7 @@ snapshots: optionalDependencies: '@swc/helpers': 0.5.21 - '@rspack/dev-server@1.2.1(@rspack/core@1.6.8(@swc/helpers@0.5.21))(@types/webpack@4.41.32)(webpack@5.105.4)': + '@rspack/dev-server@1.2.1(@rspack/core@1.6.8(@swc/helpers@0.5.21))(@types/webpack@4.41.32)(webpack@5.113.0)': dependencies: '@rspack/core': 1.6.8(@swc/helpers@0.5.21) '@types/bonjour': 3.5.13 @@ -24711,7 +24769,7 @@ snapshots: serve-index: 1.9.2 sockjs: 0.3.24 spdy: 4.0.2 - webpack-dev-middleware: 7.4.5(@types/webpack@4.41.32)(webpack@5.105.4) + webpack-dev-middleware: 7.4.5(@types/webpack@4.41.32)(webpack@5.113.0) ws: 8.21.0 transitivePeerDependencies: - '@types/webpack' @@ -25025,7 +25083,7 @@ snapshots: transitivePeerDependencies: - '@types/node' - '@rushstack/heft-jest-plugin@2.0.21(@rushstack/heft@1.3.4(@types/node@20.17.19))(@types/jest@30.0.0)(@types/node@20.17.19)(babel-plugin-macros@3.1.0)(esbuild-register@3.6.0(esbuild@0.28.0))(jest-environment-jsdom@30.3.0)(jest-environment-node@30.3.0)': + '@rushstack/heft-jest-plugin@2.0.21(@rushstack/heft@1.3.4(@types/node@20.17.19))(@types/jest@30.0.0)(@types/node@20.17.19)(esbuild-register@3.6.0(esbuild@0.28.0))(jest-environment-jsdom@30.3.0)(jest-environment-node@30.3.0)': dependencies: '@jest/core': 30.3.0(babel-plugin-macros@3.1.0)(esbuild-register@3.6.0(esbuild@0.28.0)) '@jest/reporters': 30.3.0 @@ -25058,13 +25116,13 @@ snapshots: transitivePeerDependencies: - '@types/node' - '@rushstack/heft-node-rig@2.11.55(@rushstack/heft@1.3.4(@types/node@20.17.19))(@types/node@20.17.19)(babel-plugin-macros@3.1.0)(esbuild-register@3.6.0(esbuild@0.28.0))(jest-environment-jsdom@30.3.0)': + '@rushstack/heft-node-rig@2.11.55(@rushstack/heft@1.3.4(@types/node@20.17.19))(@types/node@20.17.19)(esbuild-register@3.6.0(esbuild@0.28.0))(jest-environment-jsdom@30.3.0)': dependencies: '@microsoft/api-extractor': 7.60.0(@types/node@20.17.19) '@rushstack/eslint-config': 4.9.0(eslint@9.37.0)(typescript@5.8.2) '@rushstack/heft': 1.3.4(@types/node@20.17.19) '@rushstack/heft-api-extractor-plugin': 1.3.31(@rushstack/heft@1.3.4(@types/node@20.17.19))(@types/node@20.17.19) - '@rushstack/heft-jest-plugin': 2.0.21(@rushstack/heft@1.3.4(@types/node@20.17.19))(@types/jest@30.0.0)(@types/node@20.17.19)(babel-plugin-macros@3.1.0)(esbuild-register@3.6.0(esbuild@0.28.0))(jest-environment-jsdom@30.3.0)(jest-environment-node@30.3.0) + '@rushstack/heft-jest-plugin': 2.0.21(@rushstack/heft@1.3.4(@types/node@20.17.19))(@types/jest@30.0.0)(@types/node@20.17.19)(esbuild-register@3.6.0(esbuild@0.28.0))(jest-environment-jsdom@30.3.0)(jest-environment-node@30.3.0) '@rushstack/heft-lint-plugin': 1.4.1(@rushstack/heft@1.3.4(@types/node@20.17.19))(@types/node@20.17.19) '@rushstack/heft-typescript-plugin': 1.3.26(@rushstack/heft@1.3.4(@types/node@20.17.19))(@types/node@20.17.19) '@types/jest': 30.0.0 @@ -26087,26 +26145,39 @@ snapshots: '@storybook/core-webpack': 9.1.20(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1)) case-sensitive-paths-webpack-plugin: 2.4.0 cjs-module-lexer: 1.4.3 - css-loader: 6.11.0(@rspack/core@1.6.8(@swc/helpers@0.5.21))(webpack@5.105.4) + css-loader: 6.11.0(@rspack/core@1.6.8(@swc/helpers@0.5.21))(webpack@5.113.0) es-module-lexer: 1.7.0 - fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.8.2)(webpack@5.105.4) - html-webpack-plugin: 5.5.4(webpack@5.105.4) + fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.8.2)(webpack@5.113.0) + html-webpack-plugin: 5.5.4(webpack@5.113.0) magic-string: 0.30.21 storybook: 9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1) - style-loader: 3.3.4(webpack@5.105.4) - terser-webpack-plugin: 5.3.17(webpack@5.105.4) + style-loader: 3.3.4(webpack@5.113.0) + terser-webpack-plugin: 5.3.17(webpack@5.113.0) ts-dedent: 2.2.0 - webpack: 5.105.4 - webpack-dev-middleware: 6.1.3(@types/webpack@4.41.32)(webpack@5.105.4) + webpack: 5.113.0 + webpack-dev-middleware: 6.1.3(@types/webpack@4.41.32)(webpack@5.113.0) webpack-hot-middleware: 2.26.1 webpack-virtual-modules: 0.6.2 optionalDependencies: typescript: 5.8.2 transitivePeerDependencies: + - '@minify-html/node' + - '@napi-rs/image' - '@rspack/core' - '@swc/core' + - '@swc/css' + - '@swc/html' - '@types/webpack' + - clean-css + - cssnano + - csso - esbuild + - html-minifier-terser + - imagemin + - lightningcss + - postcss + - sharp + - svgo - uglify-js - webpack-cli @@ -26574,7 +26645,7 @@ snapshots: '@storybook/preset-react-webpack@9.1.20(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2)': dependencies: '@storybook/core-webpack': 9.1.20(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1)) - '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.8.2)(webpack@5.105.4) + '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.8.2)(webpack@5.113.0) '@types/semver': 7.7.1 find-up: 7.0.0 magic-string: 0.30.21 @@ -26585,13 +26656,26 @@ snapshots: semver: 7.7.4 storybook: 9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1) tsconfig-paths: 4.2.0 - webpack: 5.105.4 + webpack: 5.113.0 optionalDependencies: typescript: 5.8.2 transitivePeerDependencies: + - '@minify-html/node' + - '@napi-rs/image' - '@swc/core' + - '@swc/css' + - '@swc/html' + - clean-css + - cssnano + - csso - esbuild + - html-minifier-terser + - imagemin + - lightningcss + - postcss + - sharp - supports-color + - svgo - uglify-js - webpack-cli @@ -26633,7 +26717,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.8.2)(webpack@5.105.4)': + '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.8.2)(webpack@5.113.0)': dependencies: debug: 4.4.3(supports-color@8.1.1) endent: 2.1.0 @@ -26643,7 +26727,7 @@ snapshots: react-docgen-typescript: 2.4.0(typescript@5.8.2) tslib: 2.8.1 typescript: 5.8.2 - webpack: 5.105.4 + webpack: 5.113.0 transitivePeerDependencies: - supports-color @@ -26664,13 +26748,26 @@ snapshots: optionalDependencies: typescript: 5.8.2 transitivePeerDependencies: + - '@minify-html/node' + - '@napi-rs/image' - '@rspack/core' - '@swc/core' + - '@swc/css' + - '@swc/html' - '@types/node' - '@types/react' - '@types/webpack' + - clean-css + - cssnano + - csso - esbuild + - html-minifier-terser + - imagemin + - lightningcss + - postcss + - sharp - supports-color + - svgo - uglify-js - webpack-cli @@ -27028,11 +27125,6 @@ snapshots: '@types/doctrine@0.0.9': {} - '@types/eslint-scope@3.7.7': - dependencies: - '@types/eslint': 9.6.1 - '@types/estree': 1.0.8 - '@types/eslint@8.56.10': dependencies: '@types/estree': 1.0.8 @@ -28258,10 +28350,6 @@ snapshots: mime-types: 3.0.2 negotiator: 1.0.0 - acorn-import-phases@1.0.4(acorn@8.16.0): - dependencies: - acorn: 8.16.0 - acorn-jsx@5.3.2(acorn@7.4.1): dependencies: acorn: 7.4.1 @@ -28775,14 +28863,14 @@ snapshots: schema-utils: 2.7.1 webpack: 4.47.0 - babel-loader@8.2.5(@babel/core@7.20.12)(webpack@5.105.4): + babel-loader@8.2.5(@babel/core@7.20.12)(webpack@5.113.0): dependencies: '@babel/core': 7.20.12 find-cache-dir: 3.3.2 loader-utils: 2.0.4 make-dir: 3.1.0 schema-utils: 2.7.1 - webpack: 5.105.4 + webpack: 5.113.0 babel-plugin-add-react-displayname@0.0.5: {} @@ -29880,7 +29968,7 @@ snapshots: semver: 7.7.4 webpack: 4.47.0 - css-loader@5.2.7(webpack@5.105.4): + css-loader@5.2.7(webpack@5.113.0): dependencies: icss-utils: 5.1.0(postcss@8.4.49) loader-utils: 2.0.4 @@ -29892,9 +29980,9 @@ snapshots: postcss-value-parser: 4.2.0 schema-utils: 3.3.0 semver: 7.7.4 - webpack: 5.105.4 + webpack: 5.113.0 - css-loader@6.11.0(@rspack/core@1.6.8(@swc/helpers@0.5.21))(webpack@5.105.4): + css-loader@6.11.0(@rspack/core@1.6.8(@swc/helpers@0.5.21))(webpack@5.113.0): dependencies: icss-utils: 5.1.0(postcss@8.5.12) postcss: 8.5.12 @@ -29906,9 +29994,9 @@ snapshots: semver: 7.7.4 optionalDependencies: '@rspack/core': 1.6.8(@swc/helpers@0.5.21) - webpack: 5.105.4 + webpack: 5.113.0 - css-loader@6.6.0(webpack@5.105.4): + css-loader@6.6.0(webpack@5.113.0(postcss@8.5.12)): dependencies: icss-utils: 5.1.0(postcss@8.4.49) postcss: 8.4.49 @@ -29918,9 +30006,9 @@ snapshots: postcss-modules-values: 4.0.0(postcss@8.4.49) postcss-value-parser: 4.2.0 semver: 7.7.4 - webpack: 5.105.4 + webpack: 5.113.0(postcss@8.5.12) - css-minimizer-webpack-plugin@3.4.1(webpack@5.105.4): + css-minimizer-webpack-plugin@3.4.1(webpack@5.113.0(postcss@8.5.12)): dependencies: cssnano: 5.1.15(postcss@8.5.12) jest-worker: 27.5.1 @@ -29928,7 +30016,7 @@ snapshots: schema-utils: 4.3.3 serialize-javascript: 6.0.2 source-map: 0.6.1 - webpack: 5.105.4 + webpack: 5.113.0(postcss@8.5.12) css-select@4.3.0: dependencies: @@ -30414,10 +30502,10 @@ snapshots: memory-fs: 0.5.0 tapable: 1.1.3 - enhanced-resolve@5.20.1: + enhanced-resolve@5.27.0: dependencies: graceful-fs: 4.2.11 - tapable: 2.3.0 + tapable: 2.3.4 enquirer@2.4.1: dependencies: @@ -30547,8 +30635,6 @@ snapshots: es-module-lexer@1.7.0: {} - es-module-lexer@2.0.0: {} - es-object-atoms@1.1.1: dependencies: es-errors: 1.3.0 @@ -31802,11 +31888,11 @@ snapshots: schema-utils: 3.3.0 webpack: 4.47.0 - file-loader@6.2.0(webpack@5.105.4): + file-loader@6.2.0(webpack@5.113.0(postcss@8.5.12)): dependencies: loader-utils: 2.0.4 schema-utils: 3.3.0 - webpack: 5.105.4 + webpack: 5.113.0(postcss@8.5.12) optional: true file-system-cache@1.1.0: @@ -31980,7 +32066,7 @@ snapshots: optionalDependencies: eslint: 9.37.0 - fork-ts-checker-webpack-plugin@8.0.0(typescript@5.8.2)(webpack@5.105.4): + fork-ts-checker-webpack-plugin@8.0.0(typescript@5.8.2)(webpack@5.113.0): dependencies: '@babel/code-frame': 7.29.0 chalk: 4.1.2 @@ -31995,7 +32081,7 @@ snapshots: semver: 7.7.4 tapable: 2.3.0 typescript: 5.8.2 - webpack: 5.105.4 + webpack: 5.113.0 form-data@4.0.5: dependencies: @@ -32561,14 +32647,23 @@ snapshots: util.promisify: 1.0.0 webpack: 4.47.0 - html-webpack-plugin@5.5.4(webpack@5.105.4): + html-webpack-plugin@5.5.4(webpack@5.113.0(postcss@8.5.12)): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 lodash: 4.18.1 pretty-error: 4.0.0 tapable: 2.3.0 - webpack: 5.105.4 + webpack: 5.113.0(postcss@8.5.12) + + html-webpack-plugin@5.5.4(webpack@5.113.0): + dependencies: + '@types/html-minifier-terser': 6.1.0 + html-minifier-terser: 6.1.0 + lodash: 4.18.1 + pretty-error: 4.0.0 + tapable: 2.3.0 + webpack: 5.113.0 htmlparser2@10.1.0: dependencies: @@ -34193,8 +34288,6 @@ snapshots: loader-runner@2.4.0: {} - loader-runner@4.3.1: {} - loader-utils@1.4.2: dependencies: big.js: 5.2.2 @@ -34538,10 +34631,10 @@ snapshots: min-indent@1.0.1: {} - mini-css-extract-plugin@2.5.3(webpack@5.105.4): + mini-css-extract-plugin@2.5.3(webpack@5.113.0(postcss@8.5.12)): dependencies: schema-utils: 4.3.3 - webpack: 5.105.4 + webpack: 5.113.0(postcss@8.5.12) minimalistic-assert@1.0.1: {} @@ -34569,6 +34662,22 @@ snapshots: minimist@1.2.8: {} + minimizer-webpack-plugin@5.14.1(postcss@8.5.12)(webpack@5.113.0(postcss@8.5.12)): + dependencies: + jest-worker: 27.5.1 + schema-utils: 4.8.5(webpack@5.113.0(postcss@8.5.12)) + terser: 5.51.4 + webpack: 5.113.0(postcss@8.5.12) + optionalDependencies: + postcss: 8.5.12 + + minimizer-webpack-plugin@5.14.1(webpack@5.113.0): + dependencies: + jest-worker: 27.5.1 + schema-utils: 4.8.5(webpack@5.113.0) + terser: 5.51.4 + webpack: 5.113.0 + minipass-collect@1.0.2: dependencies: minipass: 3.3.6 @@ -35445,13 +35554,13 @@ snapshots: semver: 7.7.4 webpack: 4.47.0 - postcss-loader@6.2.1(postcss@8.5.12)(webpack@5.105.4): + postcss-loader@6.2.1(postcss@8.5.12)(webpack@5.113.0(postcss@8.5.12)): dependencies: cosmiconfig: 7.1.0 klona: 2.0.6 postcss: 8.5.12 semver: 7.7.4 - webpack: 5.105.4 + webpack: 5.113.0(postcss@8.5.12) postcss-merge-longhand@5.1.7(postcss@8.5.12): dependencies: @@ -36621,11 +36730,11 @@ snapshots: sass-embedded-win32-ia32: 1.85.1 sass-embedded-win32-x64: 1.85.1 - sass-loader@12.4.0(sass@1.49.11)(webpack@5.105.4): + sass-loader@12.4.0(sass@1.49.11)(webpack@5.113.0(postcss@8.5.12)): dependencies: klona: 2.0.6 neo-async: 2.6.2 - webpack: 5.105.4 + webpack: 5.113.0(postcss@8.5.12) optionalDependencies: sass: 1.49.11 @@ -36681,6 +36790,24 @@ snapshots: ajv-formats: 2.1.1 ajv-keywords: 5.1.0(ajv@8.20.0) + schema-utils@4.8.5(webpack@5.113.0(postcss@8.5.12)): + dependencies: + '@types/json-schema': 7.0.15 + ajv: 8.20.0 + ajv-formats: 3.0.1(ajv@8.20.0) + ajv-keywords: 5.1.0(ajv@8.20.0) + optionalDependencies: + webpack: 5.113.0(postcss@8.5.12) + + schema-utils@4.8.5(webpack@5.113.0): + dependencies: + '@types/json-schema': 7.0.15 + ajv: 8.20.0 + ajv-formats: 3.0.1(ajv@8.20.0) + ajv-keywords: 5.1.0(ajv@8.20.0) + optionalDependencies: + webpack: 5.113.0 + secure-json-parse@2.7.0: {} select-hose@2.0.0: {} @@ -37034,22 +37161,29 @@ snapshots: webpack: 4.47.0 whatwg-mimetype: 2.3.0 - source-map-loader@1.1.3(webpack@5.105.4): + source-map-loader@1.1.3(webpack@5.113.0): dependencies: abab: 2.0.6 iconv-lite: 0.6.3 loader-utils: 2.0.4 schema-utils: 3.3.0 source-map: 0.6.1 - webpack: 5.105.4 + webpack: 5.113.0 whatwg-mimetype: 2.3.0 - source-map-loader@3.0.2(webpack@5.105.4): + source-map-loader@3.0.2(webpack@5.113.0(postcss@8.5.12)): dependencies: abab: 2.0.6 iconv-lite: 0.6.3 source-map-js: 1.2.1 - webpack: 5.105.4 + webpack: 5.113.0(postcss@8.5.12) + + source-map-loader@3.0.2(webpack@5.113.0): + dependencies: + abab: 2.0.6 + iconv-lite: 0.6.3 + source-map-js: 1.2.1 + webpack: 5.113.0 source-map-resolve@0.5.3: dependencies: @@ -37375,15 +37509,19 @@ snapshots: schema-utils: 3.3.0 webpack: 4.47.0 - style-loader@2.0.0(webpack@5.105.4): + style-loader@2.0.0(webpack@5.113.0): dependencies: loader-utils: 2.0.4 schema-utils: 3.3.0 - webpack: 5.105.4 + webpack: 5.113.0 + + style-loader@3.3.4(webpack@5.113.0(postcss@8.5.12)): + dependencies: + webpack: 5.113.0(postcss@8.5.12) - style-loader@3.3.4(webpack@5.105.4): + style-loader@3.3.4(webpack@5.113.0): dependencies: - webpack: 5.105.4 + webpack: 5.113.0 style-to-object@0.3.0: dependencies: @@ -37473,6 +37611,8 @@ snapshots: tapable@2.3.0: {} + tapable@2.3.4: {} + tar-fs@2.1.4: dependencies: chownr: 1.1.4 @@ -37547,7 +37687,7 @@ snapshots: webpack: 4.47.0 webpack-sources: 1.4.3 - terser-webpack-plugin@3.0.8(webpack@5.105.4): + terser-webpack-plugin@3.0.8(webpack@5.113.0): dependencies: cacache: 15.3.0 find-cache-dir: 3.3.2 @@ -37557,7 +37697,7 @@ snapshots: serialize-javascript: 4.0.0 source-map: 0.6.1 terser: 4.8.1 - webpack: 5.105.4 + webpack: 5.113.0 webpack-sources: 1.4.3 terser-webpack-plugin@4.2.3(webpack@4.47.0): @@ -37573,13 +37713,21 @@ snapshots: webpack: 4.47.0 webpack-sources: 1.4.3 - terser-webpack-plugin@5.3.17(webpack@5.105.4): + terser-webpack-plugin@5.3.17(webpack@5.113.0(postcss@8.5.12)): + dependencies: + '@jridgewell/trace-mapping': 0.3.31 + jest-worker: 27.5.1 + schema-utils: 4.3.3 + terser: 5.46.1 + webpack: 5.113.0(postcss@8.5.12) + + terser-webpack-plugin@5.3.17(webpack@5.113.0): dependencies: '@jridgewell/trace-mapping': 0.3.31 jest-worker: 27.5.1 schema-utils: 4.3.3 terser: 5.46.1 - webpack: 5.105.4 + webpack: 5.113.0 terser@4.8.1: dependencies: @@ -37594,6 +37742,13 @@ snapshots: commander: 2.20.3 source-map-support: 0.5.21 + terser@5.51.4: + dependencies: + '@jridgewell/source-map': 0.3.11 + acorn: 8.16.0 + commander: 2.20.3 + source-map-support: 0.5.21 + test-exclude@6.0.0: dependencies: '@istanbuljs/schema': 0.1.3 @@ -38133,14 +38288,14 @@ snapshots: optionalDependencies: file-loader: 6.2.0(webpack@4.47.0) - url-loader@4.1.1(file-loader@6.2.0(webpack@5.105.4))(webpack@5.105.4): + url-loader@4.1.1(file-loader@6.2.0(webpack@5.113.0(postcss@8.5.12)))(webpack@5.113.0(postcss@8.5.12)): dependencies: loader-utils: 2.0.4 mime-types: 2.1.35 schema-utils: 3.3.0 - webpack: 5.105.4 + webpack: 5.113.0(postcss@8.5.12) optionalDependencies: - file-loader: 6.2.0(webpack@5.105.4) + file-loader: 6.2.0(webpack@5.113.0(postcss@8.5.12)) url@0.10.3: dependencies: @@ -38281,9 +38436,8 @@ snapshots: glob-to-regexp: 0.4.1 graceful-fs: 4.2.11 - watchpack@2.5.1: + watchpack@2.6.4: dependencies: - glob-to-regexp: 0.4.1 graceful-fs: 4.2.11 wbuf@1.7.3: @@ -38333,7 +38487,7 @@ snapshots: optionalDependencies: '@types/webpack': 4.41.32 - webpack-dev-middleware@6.1.3(@types/webpack@4.41.32)(webpack@5.105.4): + webpack-dev-middleware@6.1.3(@types/webpack@4.41.32)(webpack@5.113.0): dependencies: colorette: 2.0.20 memfs: 3.5.3 @@ -38342,7 +38496,7 @@ snapshots: schema-utils: 4.3.3 optionalDependencies: '@types/webpack': 4.41.32 - webpack: 5.105.4 + webpack: 5.113.0 webpack-dev-middleware@7.4.5(@types/webpack@4.41.32)(webpack@4.47.0): dependencies: @@ -38357,7 +38511,7 @@ snapshots: webpack: 4.47.0 optional: true - webpack-dev-middleware@7.4.5(@types/webpack@4.41.32)(webpack@5.105.4): + webpack-dev-middleware@7.4.5(@types/webpack@4.41.32)(webpack@5.113.0): dependencies: colorette: 2.0.20 memfs: 4.57.1 @@ -38367,7 +38521,7 @@ snapshots: schema-utils: 4.3.3 optionalDependencies: '@types/webpack': 4.41.32 - webpack: 5.105.4 + webpack: 5.113.0 webpack-dev-server@4.9.3(@types/webpack@4.41.32)(webpack@4.47.0): dependencies: @@ -38452,7 +38606,7 @@ snapshots: - utf-8-validate optional: true - webpack-dev-server@5.2.3(@types/webpack@4.41.32)(webpack@5.105.4): + webpack-dev-server@5.2.3(@types/webpack@4.41.32)(webpack@5.113.0): dependencies: '@types/bonjour': 3.5.13 '@types/connect-history-api-fallback': 1.5.4 @@ -38481,11 +38635,11 @@ snapshots: serve-index: 1.9.2 sockjs: 0.3.24 spdy: 4.0.2 - webpack-dev-middleware: 7.4.5(@types/webpack@4.41.32)(webpack@5.105.4) + webpack-dev-middleware: 7.4.5(@types/webpack@4.41.32)(webpack@5.113.0) ws: 8.21.0 optionalDependencies: '@types/webpack': 4.41.32 - webpack: 5.105.4 + webpack: 5.113.0 transitivePeerDependencies: - bufferutil - debug @@ -38517,7 +38671,7 @@ snapshots: source-list-map: 2.0.1 source-map: 0.6.1 - webpack-sources@3.3.4: {} + webpack-sources@3.7.1: {} webpack-virtual-modules@0.2.2: dependencies: @@ -38551,36 +38705,76 @@ snapshots: watchpack: 1.7.5 webpack-sources: 1.4.3 - webpack@5.105.4: + webpack@5.113.0: dependencies: - '@types/eslint-scope': 3.7.7 '@types/estree': 1.0.8 '@types/json-schema': 7.0.15 '@webassemblyjs/ast': 1.14.1 '@webassemblyjs/wasm-edit': 1.14.1 '@webassemblyjs/wasm-parser': 1.14.1 - acorn: 8.16.0 - acorn-import-phases: 1.0.4(acorn@8.16.0) browserslist: 4.28.2 chrome-trace-event: 1.0.4 - enhanced-resolve: 5.20.1 - es-module-lexer: 2.0.0 - eslint-scope: 5.1.1 + enhanced-resolve: 5.27.0 events: 3.3.0 - glob-to-regexp: 0.4.1 graceful-fs: 4.2.11 - json-parse-even-better-errors: 2.3.1 - loader-runner: 4.3.1 - mime-types: 2.1.35 - neo-async: 2.6.2 - schema-utils: 4.3.3 - tapable: 2.3.0 - terser-webpack-plugin: 5.3.17(webpack@5.105.4) - watchpack: 2.5.1 - webpack-sources: 3.3.4 - transitivePeerDependencies: + mime-db: 1.54.0 + minimizer-webpack-plugin: 5.14.1(webpack@5.113.0) + schema-utils: 4.8.5(webpack@5.113.0) + tapable: 2.3.4 + watchpack: 2.6.4 + webpack-sources: 3.7.1 + transitivePeerDependencies: + - '@minify-html/node' + - '@napi-rs/image' + - '@swc/core' + - '@swc/css' + - '@swc/html' + - clean-css + - cssnano + - csso + - esbuild + - html-minifier-terser + - imagemin + - lightningcss + - postcss + - sharp + - svgo + - uglify-js + + webpack@5.113.0(postcss@8.5.12): + dependencies: + '@types/estree': 1.0.8 + '@types/json-schema': 7.0.15 + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/wasm-edit': 1.14.1 + '@webassemblyjs/wasm-parser': 1.14.1 + browserslist: 4.28.2 + chrome-trace-event: 1.0.4 + enhanced-resolve: 5.27.0 + events: 3.3.0 + graceful-fs: 4.2.11 + mime-db: 1.54.0 + minimizer-webpack-plugin: 5.14.1(postcss@8.5.12)(webpack@5.113.0(postcss@8.5.12)) + schema-utils: 4.8.5(webpack@5.113.0(postcss@8.5.12)) + tapable: 2.3.4 + watchpack: 2.6.4 + webpack-sources: 3.7.1 + transitivePeerDependencies: + - '@minify-html/node' + - '@napi-rs/image' - '@swc/core' + - '@swc/css' + - '@swc/html' + - clean-css + - cssnano + - csso - esbuild + - html-minifier-terser + - imagemin + - lightningcss + - postcss + - sharp + - svgo - uglify-js websocket-driver@0.7.4: diff --git a/common/config/subspaces/default/repo-state.json b/common/config/subspaces/default/repo-state.json index 4505e496b98..ac164e5b4d6 100644 --- a/common/config/subspaces/default/repo-state.json +++ b/common/config/subspaces/default/repo-state.json @@ -1,5 +1,5 @@ // DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush. { - "pnpmShrinkwrapHash": "8f020f103f3d96f0cf229925e61fe39e0c44e9f6", + "pnpmShrinkwrapHash": "6be8f9a2cecba2da1b6dac127739ffc872e1b261", "preferredVersionsHash": "029c99bd6e65c5e1f25e2848340509811ff9753c" } diff --git a/heft-plugins/heft-rspack-plugin/package.json b/heft-plugins/heft-rspack-plugin/package.json index 31485a8e071..88a176b5d27 100644 --- a/heft-plugins/heft-rspack-plugin/package.json +++ b/heft-plugins/heft-rspack-plugin/package.json @@ -56,7 +56,7 @@ "tapable": "2.3.0", "@rspack/dev-server": "^1.1.4", "watchpack": "2.4.0", - "webpack": "~5.105.2" + "webpack": "~5.113.0" }, "devDependencies": { "@rushstack/heft": "workspace:*", diff --git a/heft-plugins/heft-webpack5-plugin/package.json b/heft-plugins/heft-webpack5-plugin/package.json index 7c7b4f39c91..cde036abcb7 100644 --- a/heft-plugins/heft-webpack5-plugin/package.json +++ b/heft-plugins/heft-webpack5-plugin/package.json @@ -64,7 +64,7 @@ "@types/watchpack": "2.4.0", "eslint": "~9.37.0", "local-node-rig": "workspace:*", - "webpack": "~5.105.2" + "webpack": "~5.113.0" }, "sideEffects": false } diff --git a/libraries/package-extractor/package.json b/libraries/package-extractor/package.json index 9e7e116df2d..c55cd8497c8 100644 --- a/libraries/package-extractor/package.json +++ b/libraries/package-extractor/package.json @@ -62,7 +62,7 @@ "@types/glob": "7.1.1", "@types/npm-packlist": "~1.1.1", "eslint": "~9.37.0", - "webpack": "~5.105.2", + "webpack": "~5.113.0", "@types/semver": "7.7.1" }, "sideEffects": false diff --git a/libraries/rush-lib/package.json b/libraries/rush-lib/package.json index a4920c16f95..ee1cd2e6e06 100644 --- a/libraries/rush-lib/package.json +++ b/libraries/rush-lib/package.json @@ -100,7 +100,7 @@ "@types/webpack-env": "1.18.8", "eslint": "~9.37.0", "local-node-rig": "workspace:*", - "webpack": "~5.105.2" + "webpack": "~5.113.0" }, "publishOnlyDependencies": { "@rushstack/rush-amazon-s3-build-cache-plugin": "workspace:*", diff --git a/libraries/rush-sdk/package.json b/libraries/rush-sdk/package.json index 0f1da0288e6..0bbf34de7dd 100644 --- a/libraries/rush-sdk/package.json +++ b/libraries/rush-sdk/package.json @@ -66,7 +66,7 @@ "@types/webpack-env": "1.18.8", "eslint": "~9.37.0", "local-node-rig": "workspace:*", - "webpack": "~5.105.2" + "webpack": "~5.113.0" }, "sideEffects": false } diff --git a/rigs/heft-web-rig/package.json b/rigs/heft-web-rig/package.json index 3acfb019d6b..e0e01f514a2 100644 --- a/rigs/heft-web-rig/package.json +++ b/rigs/heft-web-rig/package.json @@ -45,7 +45,7 @@ "url-loader": "~4.1.1", "webpack-bundle-analyzer": "~4.5.0", "webpack-merge": "~5.8.0", - "webpack": "~5.105.2" + "webpack": "~5.113.0" }, "devDependencies": { "@rushstack/heft": "workspace:*" diff --git a/rush-plugins/rush-serve-plugin/package.json b/rush-plugins/rush-serve-plugin/package.json index 20b3a187b1c..dcba0a12fcc 100644 --- a/rush-plugins/rush-serve-plugin/package.json +++ b/rush-plugins/rush-serve-plugin/package.json @@ -45,7 +45,7 @@ "@types/cors": "~2.8.12", "@types/express": "4.17.21", "@types/ws": "8.18.1", - "webpack": "~5.105.2" + "webpack": "~5.113.0" }, "exports": { ".": { diff --git a/vscode-extensions/rush-vscode-command-webview/package.json b/vscode-extensions/rush-vscode-command-webview/package.json index df97c90bcbc..98fa4064281 100644 --- a/vscode-extensions/rush-vscode-command-webview/package.json +++ b/vscode-extensions/rush-vscode-command-webview/package.json @@ -39,7 +39,7 @@ "eslint": "~9.37.0", "html-webpack-plugin": "~5.5.0", "local-web-rig": "workspace:*", - "webpack": "~5.105.2", + "webpack": "~5.113.0", "webpack-bundle-analyzer": "~4.5.0" }, "sideEffects": false diff --git a/webpack/hashed-folder-copy-plugin/package.json b/webpack/hashed-folder-copy-plugin/package.json index 5815ac2b5dc..311b31b4ec5 100644 --- a/webpack/hashed-folder-copy-plugin/package.json +++ b/webpack/hashed-folder-copy-plugin/package.json @@ -65,7 +65,7 @@ "eslint": "~9.37.0", "local-node-rig": "workspace:*", "memfs": "4.12.0", - "webpack": "~5.105.2" + "webpack": "~5.113.0" }, "sideEffects": false } diff --git a/webpack/hashed-folder-copy-plugin/src/test/__snapshots__/HashedFolderCopyPlugin.test.ts.snap b/webpack/hashed-folder-copy-plugin/src/test/__snapshots__/HashedFolderCopyPlugin.test.ts.snap index 9b5c3f43320..810938eead4 100644 --- a/webpack/hashed-folder-copy-plugin/src/test/__snapshots__/HashedFolderCopyPlugin.test.ts.snap +++ b/webpack/hashed-folder-copy-plugin/src/test/__snapshots__/HashedFolderCopyPlugin.test.ts.snap @@ -8,42 +8,27 @@ Object { "/release/main.js": "/******/ (() => { // webpackBootstrap /******/ \\"use strict\\"; /******/ // The require scope -/******/ var __webpack_require__ = {}; +/******/ const __webpack_require__ = {}; /******/ /************************************************************************/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); -/******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /************************************************************************/ @@ -76,42 +61,27 @@ Object { "/release/main.js": "/******/ (() => { // webpackBootstrap /******/ \\"use strict\\"; /******/ // The require scope -/******/ var __webpack_require__ = {}; +/******/ const __webpack_require__ = {}; /******/ /************************************************************************/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); -/******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /************************************************************************/ diff --git a/webpack/preserve-dynamic-require-plugin/package.json b/webpack/preserve-dynamic-require-plugin/package.json index ac05e94bd68..bf808184e47 100644 --- a/webpack/preserve-dynamic-require-plugin/package.json +++ b/webpack/preserve-dynamic-require-plugin/package.json @@ -46,7 +46,7 @@ "@rushstack/heft": "workspace:*", "eslint": "~9.37.0", "local-node-rig": "workspace:*", - "webpack": "~5.105.2" + "webpack": "~5.113.0" }, "sideEffects": false } diff --git a/webpack/set-webpack-public-path-plugin/package.json b/webpack/set-webpack-public-path-plugin/package.json index 53ab4bb7b4e..e94cbf1b606 100644 --- a/webpack/set-webpack-public-path-plugin/package.json +++ b/webpack/set-webpack-public-path-plugin/package.json @@ -60,7 +60,7 @@ "eslint": "~9.37.0", "local-node-rig": "workspace:*", "memfs": "4.12.0", - "webpack": "~5.105.2" + "webpack": "~5.113.0" }, "sideEffects": false } diff --git a/webpack/webpack-deep-imports-plugin/package.json b/webpack/webpack-deep-imports-plugin/package.json index 0e56aafcd7a..0f78c0db21f 100644 --- a/webpack/webpack-deep-imports-plugin/package.json +++ b/webpack/webpack-deep-imports-plugin/package.json @@ -46,7 +46,7 @@ "local-node-rig": "workspace:*", "@rushstack/heft": "workspace:*", "eslint": "~9.37.0", - "webpack": "~5.105.2" + "webpack": "~5.113.0" }, "sideEffects": false, "dependencies": { diff --git a/webpack/webpack-embedded-dependencies-plugin/package.json b/webpack/webpack-embedded-dependencies-plugin/package.json index 02b7739adb6..9060ca527f3 100644 --- a/webpack/webpack-embedded-dependencies-plugin/package.json +++ b/webpack/webpack-embedded-dependencies-plugin/package.json @@ -59,7 +59,7 @@ "@rushstack/heft": "workspace:*", "eslint": "~9.37.0", "local-node-rig": "workspace:*", - "webpack": "~5.105.2", + "webpack": "~5.113.0", "memfs": "4.12.0" }, "sideEffects": false diff --git a/webpack/webpack-plugin-utilities/package.json b/webpack/webpack-plugin-utilities/package.json index 5902db89de8..189f0ed7369 100644 --- a/webpack/webpack-plugin-utilities/package.json +++ b/webpack/webpack-plugin-utilities/package.json @@ -65,7 +65,7 @@ "@types/tapable": "1.0.6", "eslint": "~9.37.0", "local-node-rig": "workspace:*", - "webpack": "~5.105.2" + "webpack": "~5.113.0" }, "sideEffects": false } diff --git a/webpack/webpack-workspace-resolve-plugin/package.json b/webpack/webpack-workspace-resolve-plugin/package.json index b495910f256..83724d8d11e 100644 --- a/webpack/webpack-workspace-resolve-plugin/package.json +++ b/webpack/webpack-workspace-resolve-plugin/package.json @@ -55,7 +55,7 @@ "eslint": "~9.37.0", "local-node-rig": "workspace:*", "memfs": "4.12.0", - "webpack": "~5.105.2" + "webpack": "~5.113.0" }, "sideEffects": false, "peerDependenciesMeta": { diff --git a/webpack/webpack5-load-themed-styles-loader/package.json b/webpack/webpack5-load-themed-styles-loader/package.json index e755dea89f0..ffaa8c03c98 100644 --- a/webpack/webpack5-load-themed-styles-loader/package.json +++ b/webpack/webpack5-load-themed-styles-loader/package.json @@ -59,7 +59,7 @@ "eslint": "~9.37.0", "local-node-rig": "workspace:*", "memfs": "4.12.0", - "webpack": "~5.105.2" + "webpack": "~5.113.0" }, "sideEffects": false } diff --git a/webpack/webpack5-load-themed-styles-loader/src/test/__snapshots__/LoadThemedStylesLoader.test.ts.snap b/webpack/webpack5-load-themed-styles-loader/src/test/__snapshots__/LoadThemedStylesLoader.test.ts.snap index 2dea7287bda..5a775bb5063 100644 --- a/webpack/webpack5-load-themed-styles-loader/src/test/__snapshots__/LoadThemedStylesLoader.test.ts.snap +++ b/webpack/webpack5-load-themed-styles-loader/src/test/__snapshots__/LoadThemedStylesLoader.test.ts.snap @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`webpack5-load-themed-style-loader generates desired loader output snapshot: LoaderContent 1`] = ` -"var content = require(\\"!!../../../../../common/temp/default/node_modules/.pnpm/css-loader@6.6.0_webpack@5.105.4/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./MockStyle1.css\\"); +"var content = require(\\"!!../../../../../common/temp/default/node_modules/.pnpm/css-loader@6.6.0_webpack@5.113.0_postcss@8.5.12_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./MockStyle1.css\\"); var loader = require(\\"../../../lib-commonjs/test/testData/LoadThemedStylesMock\\"); if(typeof content === \\"string\\") content = [[module.id, content]]; @@ -13,7 +13,7 @@ if(content.locals) module.exports = content.locals;" `; exports[`webpack5-load-themed-style-loader generates desired output for esModule option set to "true" as a snapshot: LoaderContent ESModule 1`] = ` -"import content from \\"!!../../../../../common/temp/default/node_modules/.pnpm/css-loader@6.6.0_webpack@5.105.4/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./MockStyle1.css\\"; +"import content from \\"!!../../../../../common/temp/default/node_modules/.pnpm/css-loader@6.6.0_webpack@5.113.0_postcss@8.5.12_/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./MockStyle1.css\\"; import { loadStyles } from \\"../../../lib-commonjs/test/testData/LoadThemedStylesMock\\"; if(typeof content === \\"string\\") content = [[module.id, content]]; diff --git a/webpack/webpack5-localization-plugin/package.json b/webpack/webpack5-localization-plugin/package.json index 8156683819a..7370b8c2a7e 100644 --- a/webpack/webpack5-localization-plugin/package.json +++ b/webpack/webpack5-localization-plugin/package.json @@ -57,7 +57,7 @@ "eslint": "~9.37.0", "local-node-rig": "workspace:*", "memfs": "4.12.0", - "webpack": "~5.105.2" + "webpack": "~5.113.0" }, "peerDependenciesMeta": { "@types/node": { diff --git a/webpack/webpack5-localization-plugin/src/AssetProcessor.ts b/webpack/webpack5-localization-plugin/src/AssetProcessor.ts index b9169c4c9a9..998b62e5cfc 100644 --- a/webpack/webpack5-localization-plugin/src/AssetProcessor.ts +++ b/webpack/webpack5-localization-plugin/src/AssetProcessor.ts @@ -73,7 +73,7 @@ export interface IProcessLocalizedAssetOptions extends IProcessAssetOptionsBase fillMissingTranslationStrings: boolean; defaultLocale: string; passthroughLocaleName: string | undefined; - filenameTemplate: Parameters[0]; + filenameTemplate: NonNullable; formatLocaleForFilenameFn: FormatLocaleForFilenameFn; } @@ -180,7 +180,7 @@ export function processLocalizedAsset(options: IProcessLocalizedAssetOptions): I issues.push(issue); } - const data: IAssetPathOptions = { + const data: IAssetPathOptions & { chunk: Chunk } = { chunk, contentHashType: 'javascript', // The locale property will get processed by the extension to the getAssetPath hook diff --git a/webpack/webpack5-localization-plugin/src/LocalizationPlugin.ts b/webpack/webpack5-localization-plugin/src/LocalizationPlugin.ts index 44b84f34a52..b39d35617df 100644 --- a/webpack/webpack5-localization-plugin/src/LocalizationPlugin.ts +++ b/webpack/webpack5-localization-plugin/src/LocalizationPlugin.ts @@ -368,7 +368,7 @@ export class LocalizationPlugin implements WebpackPluginInstance { runtimeLocaleExpression ); - const template: Parameters[0] = + const template: NonNullable = chunk.filenameTemplate || (chunk.hasRuntime() ? outputOptions.filename : outputOptions.chunkFilename)!; diff --git a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedAsyncDynamic.test.ts.snap b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedAsyncDynamic.test.ts.snap index d8692101d4c..506685782ec 100644 --- a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedAsyncDynamic.test.ts.snap +++ b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedAsyncDynamic.test.ts.snap @@ -2,12 +2,12 @@ exports[`LocalizationPlugin Handles async localized chunks with a runtime locale expression (minified): Content 1`] = ` Object { - "/release/chunks/async1-LOCALE1-a59123fdd4758d220b8f.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.resjson\\"),r=_(\\"./a/strings2.resjson\\");console.log(a.t,r.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"blah\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"something else\\"}')}}]);", - "/release/chunks/async1-LOCALE2-a59123fdd4758d220b8f.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.resjson\\"),r=_(\\"./a/strings2.resjson\\");console.log(a.t,r.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"baz\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"some random translation\\"}')}}]);", - "/release/chunks/async2-LOCALE1-c04c304d02cb11706caf.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.resjson\\"),r=_(\\"./a/strings2.resjson\\");console.log(a.t+r.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"blah\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"something else\\"}')}}]);", - "/release/chunks/async2-LOCALE2-c04c304d02cb11706caf.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.resjson\\"),r=_(\\"./a/strings2.resjson\\");console.log(a.t+r.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"baz\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"some random translation\\"}')}}]);", - "/release/mainSingleChunk-none-49f8039ab1d9fcda59cc.js": "(()=>{var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>\\"chunks/async1-\\"+self.__locale+\\"-a59123fdd4758d220b8f.js\\",o.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,l;if(void 0!==n)for(var c=document.getElementsByTagName(\\"script\\"),s=0;s{i.onerror=i.onload=null,clearTimeout(d);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},d=setTimeout(p.bind(null,void 0,{type:\\"timeout\\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),l&&document.head.appendChild(i)}},o.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;o.g.importScripts&&(e=o.g.location+\\"\\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\\"SCRIPT\\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\\"script\\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),o.p=e})(),(()=>{var e={331:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),l=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\\"load\\"===t.type?\\"missing\\":t.type),i=t&&t.target&&t.target.src;l.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+a+\\": \\"+i+\\")\\",l.name=\\"ChunkLoadError\\",l.type=a,l.request=i,n[1](l)}},\\"chunk-\\"+r,r)}};var r=(r,t)=>{var n,a,[i,l,c]=t,s=0;if(i.some(r=>0!==e[r])){for(n in l)o.o(l,n)&&(o.m[n]=l[n]);c&&c(o)}for(r&&r(t);s{var e,r={},t={};function n(e){var o=t[e];if(void 0!==o)return o.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,n),a.exports}n.m=r,n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((r,t)=>(n.f[t](e,r),r),[])),n.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+self.__locale+\\"-\\"+{230:\\"a59123fdd4758d220b8f\\",421:\\"c04c304d02cb11706caf\\"}[e]+\\".js\\",n.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},n.l=(r,t,o,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==o)for(var l=document.getElementsByTagName(\\"script\\"),s=0;s{i.onerror=i.onload=null,clearTimeout(d);var o=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),t)return t(n)},d=setTimeout(p.bind(null,void 0,{type:\\"timeout\\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},n.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;n.g.importScripts&&(e=n.g.location+\\"\\");var r=n.g.document;if(!e&&r&&(r.currentScript&&\\"SCRIPT\\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\\"script\\");if(t.length)for(var o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),n.p=e})(),(()=>{var e={580:0};n.f.j=(r,t)=>{var o=n.o(e,r)?e[r]:void 0;if(0!==o)if(o)t.push(o[2]);else{var a=new Promise((t,n)=>o=e[r]=[t,n]);t.push(o[2]=a);var i=n.p+n.u(r),c=new Error;n.l(i,t=>{if(n.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var a=t&&(\\"load\\"===t.type?\\"missing\\":t.type),i=t&&t.target&&t.target.src;c.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+a+\\": \\"+i+\\")\\",c.name=\\"ChunkLoadError\\",c.type=a,c.request=i,o[1](c)}},\\"chunk-\\"+r,r)}};var r=(r,t)=>{var o,a,[i,c,l]=t,s=0;if(i.some(r=>0!==e[r])){for(o in c)n.o(c,o)&&(n.m[o]=c[o]);l&&l(n)}for(r&&r(t);s{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"chunks/async1-\\"+self.__locale+\\"-7dfba9e088246d0a9b95.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./a/async1.js\\"))})();", + "/release/mainTwoChunks-none-2e06e104454e3b4a8650.js": "(()=>{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+self.__locale+\\"-\\"+{230:\\"7dfba9e088246d0a9b95\\",421:\\"9832ac678dadee4b38d4\\"}[e]+\\".js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./a/async1.js\\")),o.e(421).then(()=>o(\\"./a/async2.js\\"))})();", } `; @@ -19,14 +19,14 @@ Object { "namedChunkGroups": Object { "async1": Object { "localizedAssets": Object { - "LOCALE1": "chunks/async1-LOCALE1-a59123fdd4758d220b8f.js", - "LOCALE2": "chunks/async1-LOCALE2-a59123fdd4758d220b8f.js", + "LOCALE1": "chunks/async1-LOCALE1-7dfba9e088246d0a9b95.js", + "LOCALE2": "chunks/async1-LOCALE2-7dfba9e088246d0a9b95.js", }, }, "async2": Object { "localizedAssets": Object { - "LOCALE1": "chunks/async2-LOCALE1-c04c304d02cb11706caf.js", - "LOCALE2": "chunks/async2-LOCALE2-c04c304d02cb11706caf.js", + "LOCALE1": "chunks/async2-LOCALE1-9832ac678dadee4b38d4.js", + "LOCALE2": "chunks/async2-LOCALE2-9832ac678dadee4b38d4.js", }, }, }, @@ -37,8 +37,8 @@ exports[`LocalizationPlugin Handles async localized chunks with a runtime locale exports[`LocalizationPlugin Handles async localized chunks with a runtime locale expression (unminified): Content 1`] = ` Object { - "/release/chunks/async1-LOCALE1-276405669810f9fc3a39.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[230],{ + "/release/chunks/async1-LOCALE1-404f699f5d7698a3fb56.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[230],{ /***/ \\"./a/async1.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -65,8 +65,8 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"something else\\"}'); /***/ } }]);", - "/release/chunks/async1-LOCALE2-276405669810f9fc3a39.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[230],{ + "/release/chunks/async1-LOCALE2-404f699f5d7698a3fb56.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[230],{ /***/ \\"./a/async1.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -93,8 +93,8 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"some random translation\\" /***/ } }]);", - "/release/chunks/async2-LOCALE1-4886e85e3e8dd2d558bf.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[421],{ + "/release/chunks/async2-LOCALE1-164c66d068396d63a276.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[421],{ /***/ \\"./a/async2.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -121,8 +121,8 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"something else\\"}'); /***/ } }]);", - "/release/chunks/async2-LOCALE2-4886e85e3e8dd2d558bf.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[421],{ + "/release/chunks/async2-LOCALE2-164c66d068396d63a276.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[421],{ /***/ \\"./a/async2.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -149,21 +149,21 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"some random translation\\" /***/ } }]);", - "/release/mainSingleChunk-none-f4511358092b402a6226.js": "/******/ (() => { // webpackBootstrap + "/release/mainSingleChunk-none-6fdb7cab7aeef9d4a622.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -181,56 +181,34 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"some random translation\\" /******/ /************************************************************************/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + \\"async1\\" + \\"-\\" + self.__locale + \\"-\\" + \\"276405669810f9fc3a39\\" + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + \\"async1\\" + \\"-\\" + self.__locale + \\"-\\" + \\"404f699f5d7698a3fb56\\" + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -247,55 +225,47 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"some random translation\\" /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -305,13 +275,13 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"some random translation\\" /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 331: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -320,29 +290,28 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"some random translation\\" /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -359,8 +328,8 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"some random translation\\" /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -383,31 +352,31 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"some random translation\\" /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./a/async1.js\\")); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__(\\"./a/async1.js\\"))); /******/ })() ;", - "/release/mainTwoChunks-none-6d5fa5fc19ef66c8076e.js": "/******/ (() => { // webpackBootstrap + "/release/mainTwoChunks-none-73c01be343ba350130f1.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -425,56 +394,34 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ /************************************************************************/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + {\\"230\\":\\"async1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + self.__locale + \\"-\\" + {\\"230\\":\\"276405669810f9fc3a39\\",\\"421\\":\\"4886e85e3e8dd2d558bf\\"}[chunkId] + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + {\\"230\\":\\"async1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + self.__locale + \\"-\\" + {\\"230\\":\\"404f699f5d7698a3fb56\\",\\"421\\":\\"164c66d068396d63a276\\"}[chunkId] + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -491,55 +438,47 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -549,13 +488,13 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 580: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -564,29 +503,28 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -603,8 +541,8 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -627,14 +565,14 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./a/async1.js\\"));__webpack_require__.e(/* import() | async2 */ 421).then(__webpack_require__.bind(__webpack_require__, \\"./a/async2.js\\")); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__(\\"./a/async1.js\\")));__webpack_require__.e(/* import() | async2 */ 421).then(() => (__webpack_require__(\\"./a/async2.js\\"))); /******/ })() ;", } @@ -648,14 +586,14 @@ Object { "namedChunkGroups": Object { "async1": Object { "localizedAssets": Object { - "LOCALE1": "chunks/async1-LOCALE1-276405669810f9fc3a39.js", - "LOCALE2": "chunks/async1-LOCALE2-276405669810f9fc3a39.js", + "LOCALE1": "chunks/async1-LOCALE1-404f699f5d7698a3fb56.js", + "LOCALE2": "chunks/async1-LOCALE2-404f699f5d7698a3fb56.js", }, }, "async2": Object { "localizedAssets": Object { - "LOCALE1": "chunks/async2-LOCALE1-4886e85e3e8dd2d558bf.js", - "LOCALE2": "chunks/async2-LOCALE2-4886e85e3e8dd2d558bf.js", + "LOCALE1": "chunks/async2-LOCALE1-164c66d068396d63a276.js", + "LOCALE2": "chunks/async2-LOCALE2-164c66d068396d63a276.js", }, }, }, diff --git a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedAsyncDynamicFormatWithNoLocaleFallback.test.ts.snap b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedAsyncDynamicFormatWithNoLocaleFallback.test.ts.snap index e8aacb3940c..9671f49419e 100644 --- a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedAsyncDynamicFormatWithNoLocaleFallback.test.ts.snap +++ b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedAsyncDynamicFormatWithNoLocaleFallback.test.ts.snap @@ -2,25 +2,25 @@ exports[`LocalizationPlugin Handles async localized chunks with a runtime locale expression (minified): Assets 1`] = ` Object { - "chunks/async1-LOCALE1/-a59123fdd4758d220b8f.js": SizeOnlySource { - "_size": 321, + "chunks/async1-LOCALE1/-7dfba9e088246d0a9b95.js": SizeOnlySource { + "_size": 353, }, - "chunks/async1-LOCALE2/-a59123fdd4758d220b8f.js": SizeOnlySource { - "_size": 329, + "chunks/async1-LOCALE2/-7dfba9e088246d0a9b95.js": SizeOnlySource { + "_size": 361, }, - "chunks/async2-LOCALE1/-c04c304d02cb11706caf.js": SizeOnlySource { - "_size": 321, + "chunks/async2-LOCALE1/-9832ac678dadee4b38d4.js": SizeOnlySource { + "_size": 353, }, - "chunks/async2-LOCALE2/-c04c304d02cb11706caf.js": SizeOnlySource { - "_size": 329, + "chunks/async2-LOCALE2/-9832ac678dadee4b38d4.js": SizeOnlySource { + "_size": 361, }, - "mainSingleChunk--f8e8b40460bea7245e84.js": SizeOnlySource { - "_size": 2530, + "mainSingleChunk--b14119c2b16ece14b7d1.js": SizeOnlySource { + "_size": 2298, }, - "mainTwoChunks--8efaf15c9bdd9d8357d1.js": SizeOnlySource { - "_size": 2641, + "mainTwoChunks--3d3963a9d441d086dd92.js": SizeOnlySource { + "_size": 2406, }, - "other--13d4973e831a1603ef06.js": SizeOnlySource { + "other--925a3d27f2b7529d18f1.js": SizeOnlySource { "_size": 27, }, } @@ -28,13 +28,13 @@ Object { exports[`LocalizationPlugin Handles async localized chunks with a runtime locale expression (minified): Content 1`] = ` Object { - "/release/chunks/async1-LOCALE1/-a59123fdd4758d220b8f.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.resjson\\"),r=_(\\"./a/strings2.resjson\\");console.log(a.t,r.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"blah\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"something else\\"}')}}]);", - "/release/chunks/async1-LOCALE2/-a59123fdd4758d220b8f.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.resjson\\"),r=_(\\"./a/strings2.resjson\\");console.log(a.t,r.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"baz\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"some random translation\\"}')}}]);", - "/release/chunks/async2-LOCALE1/-c04c304d02cb11706caf.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.resjson\\"),r=_(\\"./a/strings2.resjson\\");console.log(a.t+r.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"blah\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"something else\\"}')}}]);", - "/release/chunks/async2-LOCALE2/-c04c304d02cb11706caf.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.resjson\\"),r=_(\\"./a/strings2.resjson\\");console.log(a.t+r.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"baz\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"some random translation\\"}')}}]);", - "/release/mainSingleChunk--f8e8b40460bea7245e84.js": "(()=>{var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>\\"chunks/async1-\\"+self.__locale+\\"/-a59123fdd4758d220b8f.js\\",o.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,l;if(void 0!==n)for(var c=document.getElementsByTagName(\\"script\\"),s=0;s{i.onerror=i.onload=null,clearTimeout(d);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},d=setTimeout(p.bind(null,void 0,{type:\\"timeout\\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),l&&document.head.appendChild(i)}},o.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;o.g.importScripts&&(e=o.g.location+\\"\\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\\"SCRIPT\\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\\"script\\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),o.p=e})(),(()=>{var e={331:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),l=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\\"load\\"===t.type?\\"missing\\":t.type),i=t&&t.target&&t.target.src;l.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+a+\\": \\"+i+\\")\\",l.name=\\"ChunkLoadError\\",l.type=a,l.request=i,n[1](l)}},\\"chunk-\\"+r,r)}};var r=(r,t)=>{var n,a,[i,l,c]=t,s=0;if(i.some(r=>0!==e[r])){for(n in l)o.o(l,n)&&(o.m[n]=l[n]);c&&c(o)}for(r&&r(t);s{var e,r={},t={};function n(e){var o=t[e];if(void 0!==o)return o.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,n),a.exports}n.m=r,n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce((r,t)=>(n.f[t](e,r),r),[])),n.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+self.__locale+\\"/-\\"+{230:\\"a59123fdd4758d220b8f\\",421:\\"c04c304d02cb11706caf\\"}[e]+\\".js\\",n.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},n.l=(r,t,o,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==o)for(var l=document.getElementsByTagName(\\"script\\"),s=0;s{i.onerror=i.onload=null,clearTimeout(d);var o=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),t)return t(n)},d=setTimeout(p.bind(null,void 0,{type:\\"timeout\\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},n.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;n.g.importScripts&&(e=n.g.location+\\"\\");var r=n.g.document;if(!e&&r&&(r.currentScript&&\\"SCRIPT\\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\\"script\\");if(t.length)for(var o=t.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=t[o--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),n.p=e})(),(()=>{var e={580:0};n.f.j=(r,t)=>{var o=n.o(e,r)?e[r]:void 0;if(0!==o)if(o)t.push(o[2]);else{var a=new Promise((t,n)=>o=e[r]=[t,n]);t.push(o[2]=a);var i=n.p+n.u(r),c=new Error;n.l(i,t=>{if(n.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var a=t&&(\\"load\\"===t.type?\\"missing\\":t.type),i=t&&t.target&&t.target.src;c.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+a+\\": \\"+i+\\")\\",c.name=\\"ChunkLoadError\\",c.type=a,c.request=i,o[1](c)}},\\"chunk-\\"+r,r)}};var r=(r,t)=>{var o,a,[i,c,l]=t,s=0;if(i.some(r=>0!==e[r])){for(o in c)n.o(c,o)&&(n.m[o]=c[o]);l&&l(n)}for(r&&r(t);s{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"chunks/async1-\\"+self.__locale+\\"/-7dfba9e088246d0a9b95.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./a/async1.js\\"))})();", + "/release/mainTwoChunks--3d3963a9d441d086dd92.js": "(()=>{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+self.__locale+\\"/-\\"+{230:\\"7dfba9e088246d0a9b95\\",421:\\"9832ac678dadee4b38d4\\"}[e]+\\".js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./a/async1.js\\")),o.e(421).then(()=>o(\\"./a/async2.js\\"))})();", + "/release/other--925a3d27f2b7529d18f1.js": "console.log(\\"hello world\\");", } `; @@ -46,14 +46,14 @@ Object { "namedChunkGroups": Object { "async1": Object { "localizedAssets": Object { - "LOCALE1": "chunks/async1-LOCALE1/-a59123fdd4758d220b8f.js", - "LOCALE2": "chunks/async1-LOCALE2/-a59123fdd4758d220b8f.js", + "LOCALE1": "chunks/async1-LOCALE1/-7dfba9e088246d0a9b95.js", + "LOCALE2": "chunks/async1-LOCALE2/-7dfba9e088246d0a9b95.js", }, }, "async2": Object { "localizedAssets": Object { - "LOCALE1": "chunks/async2-LOCALE1/-c04c304d02cb11706caf.js", - "LOCALE2": "chunks/async2-LOCALE2/-c04c304d02cb11706caf.js", + "LOCALE1": "chunks/async2-LOCALE1/-9832ac678dadee4b38d4.js", + "LOCALE2": "chunks/async2-LOCALE2/-9832ac678dadee4b38d4.js", }, }, }, @@ -64,25 +64,25 @@ exports[`LocalizationPlugin Handles async localized chunks with a runtime locale exports[`LocalizationPlugin Handles async localized chunks with a runtime locale expression (unminified): Assets 1`] = ` Object { - "chunks/async1-LOCALE1/-276405669810f9fc3a39.js": SizeOnlySource { - "_size": 842, + "chunks/async1-LOCALE1/-404f699f5d7698a3fb56.js": SizeOnlySource { + "_size": 881, }, - "chunks/async1-LOCALE2/-276405669810f9fc3a39.js": SizeOnlySource { - "_size": 850, + "chunks/async1-LOCALE2/-404f699f5d7698a3fb56.js": SizeOnlySource { + "_size": 889, }, - "chunks/async2-LOCALE1/-4886e85e3e8dd2d558bf.js": SizeOnlySource { - "_size": 843, + "chunks/async2-LOCALE1/-164c66d068396d63a276.js": SizeOnlySource { + "_size": 882, }, - "chunks/async2-LOCALE2/-4886e85e3e8dd2d558bf.js": SizeOnlySource { - "_size": 851, + "chunks/async2-LOCALE2/-164c66d068396d63a276.js": SizeOnlySource { + "_size": 890, }, - "mainSingleChunk--a412a0bca14044edf484.js": SizeOnlySource { - "_size": 10771, + "mainSingleChunk--32a6099d74bba87a85ff.js": SizeOnlySource { + "_size": 9731, }, - "mainTwoChunks--3e128b3a176db1e95230.js": SizeOnlySource { - "_size": 10969, + "mainTwoChunks--421eaaf8b73db6c10c95.js": SizeOnlySource { + "_size": 9911, }, - "other--0a22a28bc727b811fbb2.js": SizeOnlySource { + "other--06481b04ca24af7f03c5.js": SizeOnlySource { "_size": 81, }, } @@ -90,8 +90,8 @@ Object { exports[`LocalizationPlugin Handles async localized chunks with a runtime locale expression (unminified): Content 1`] = ` Object { - "/release/chunks/async1-LOCALE1/-276405669810f9fc3a39.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[230],{ + "/release/chunks/async1-LOCALE1/-404f699f5d7698a3fb56.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[230],{ /***/ \\"./a/async1.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -118,8 +118,8 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"something else\\"}'); /***/ } }]);", - "/release/chunks/async1-LOCALE2/-276405669810f9fc3a39.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[230],{ + "/release/chunks/async1-LOCALE2/-404f699f5d7698a3fb56.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[230],{ /***/ \\"./a/async1.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -146,8 +146,8 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"some random translation\\" /***/ } }]);", - "/release/chunks/async2-LOCALE1/-4886e85e3e8dd2d558bf.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[421],{ + "/release/chunks/async2-LOCALE1/-164c66d068396d63a276.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[421],{ /***/ \\"./a/async2.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -174,8 +174,8 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"something else\\"}'); /***/ } }]);", - "/release/chunks/async2-LOCALE2/-4886e85e3e8dd2d558bf.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[421],{ + "/release/chunks/async2-LOCALE2/-164c66d068396d63a276.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[421],{ /***/ \\"./a/async2.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -202,21 +202,21 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"some random translation\\" /***/ } }]);", - "/release/mainSingleChunk--a412a0bca14044edf484.js": "/******/ (() => { // webpackBootstrap + "/release/mainSingleChunk--32a6099d74bba87a85ff.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -234,56 +234,34 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"some random translation\\" /******/ /************************************************************************/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + \\"async1\\" + \\"-\\" + self.__locale + \\"/\\" + \\"-\\" + \\"276405669810f9fc3a39\\" + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + \\"async1\\" + \\"-\\" + self.__locale + \\"/\\" + \\"-\\" + \\"404f699f5d7698a3fb56\\" + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -300,55 +278,47 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"some random translation\\" /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -358,13 +328,13 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"some random translation\\" /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 331: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -373,29 +343,28 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"some random translation\\" /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -412,8 +381,8 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"some random translation\\" /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -436,31 +405,31 @@ module.exports = /*#__PURE__*/JSON.parse('{\\"S\\":\\"some random translation\\" /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./a/async1.js\\")); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__(\\"./a/async1.js\\"))); /******/ })() ;", - "/release/mainTwoChunks--3e128b3a176db1e95230.js": "/******/ (() => { // webpackBootstrap + "/release/mainTwoChunks--421eaaf8b73db6c10c95.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -478,56 +447,34 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ /************************************************************************/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + {\\"230\\":\\"async1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + self.__locale + \\"/\\" + \\"-\\" + {\\"230\\":\\"276405669810f9fc3a39\\",\\"421\\":\\"4886e85e3e8dd2d558bf\\"}[chunkId] + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + {\\"230\\":\\"async1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + self.__locale + \\"/\\" + \\"-\\" + {\\"230\\":\\"404f699f5d7698a3fb56\\",\\"421\\":\\"164c66d068396d63a276\\"}[chunkId] + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -544,55 +491,47 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -602,13 +541,13 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 580: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -617,29 +556,28 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -656,8 +594,8 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -680,17 +618,17 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./a/async1.js\\"));__webpack_require__.e(/* import() | async2 */ 421).then(__webpack_require__.bind(__webpack_require__, \\"./a/async2.js\\")); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__(\\"./a/async1.js\\")));__webpack_require__.e(/* import() | async2 */ 421).then(() => (__webpack_require__(\\"./a/async2.js\\"))); /******/ })() ;", - "/release/other--0a22a28bc727b811fbb2.js": "/******/ (() => { // webpackBootstrap + "/release/other--06481b04ca24af7f03c5.js": "/******/ (() => { // webpackBootstrap console.log('hello world'); /******/ })() ;", @@ -705,14 +643,14 @@ Object { "namedChunkGroups": Object { "async1": Object { "localizedAssets": Object { - "LOCALE1": "chunks/async1-LOCALE1/-276405669810f9fc3a39.js", - "LOCALE2": "chunks/async1-LOCALE2/-276405669810f9fc3a39.js", + "LOCALE1": "chunks/async1-LOCALE1/-404f699f5d7698a3fb56.js", + "LOCALE2": "chunks/async1-LOCALE2/-404f699f5d7698a3fb56.js", }, }, "async2": Object { "localizedAssets": Object { - "LOCALE1": "chunks/async2-LOCALE1/-4886e85e3e8dd2d558bf.js", - "LOCALE2": "chunks/async2-LOCALE2/-4886e85e3e8dd2d558bf.js", + "LOCALE1": "chunks/async2-LOCALE1/-164c66d068396d63a276.js", + "LOCALE2": "chunks/async2-LOCALE2/-164c66d068396d63a276.js", }, }, }, diff --git a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedRuntime.test.ts.snap b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedRuntime.test.ts.snap index 91ea0707c9f..4ca08fd1d0c 100644 --- a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedRuntime.test.ts.snap +++ b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedRuntime.test.ts.snap @@ -2,14 +2,14 @@ exports[`LocalizationPlugin Handles async localized chunks (minified): Content 1`] = ` Object { - "/release/chunks/async1-LOCALE1-f327df81529fa99e5b0a.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var n=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(n.A.test,a.A.another)},\\"./a/strings1.resjson\\"(s,e,_){_.d(e,{A:()=>n});const n={test:\\"blah\\"}},\\"./a/strings2.resjson\\"(s,e,_){_.d(e,{A:()=>n});const n={another:\\"something else\\"}}}]);", - "/release/chunks/async1-LOCALE2-fa1fc4a872cc770bdca2.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var n=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(n.A.test,a.A.another)},\\"./a/strings1.resjson\\"(s,e,_){_.d(e,{A:()=>n});const n={test:\\"baz\\"}},\\"./a/strings2.resjson\\"(s,e,_){_.d(e,{A:()=>n});const n={another:\\"some random translation\\"}}}]);", - "/release/chunks/async2-LOCALE1-4511258032a496f1b996.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var n=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(n.A.test+a.A.another)},\\"./a/strings1.resjson\\"(s,e,_){_.d(e,{A:()=>n});const n={test:\\"blah\\"}},\\"./a/strings2.resjson\\"(s,e,_){_.d(e,{A:()=>n});const n={another:\\"something else\\"}}}]);", - "/release/chunks/async2-LOCALE2-e48820dee94759a72c5d.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var n=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(n.A.test+a.A.another)},\\"./a/strings1.resjson\\"(s,e,_){_.d(e,{A:()=>n});const n={test:\\"baz\\"}},\\"./a/strings2.resjson\\"(s,e,_){_.d(e,{A:()=>n});const n={another:\\"some random translation\\"}}}]);", - "/release/mainSingleChunk-LOCALE1-09dd485671c3b9e57442.js": "(()=>{var e={},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={exports:{}};return e[o](a,a.exports,t),a.exports}t.m=e;var o,n=/* LOCALE1 */ {\\"async1\\":\\"async1-LOCALE1-123456\\",\\"async2\\":\\"async2-LOCALE1-123456\\"};t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/async1-\\"+\\"LOCALE1\\"+\\"-f327df81529fa99e5b0a.js\\",t.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o={},t.l=(e,r,a,i)=>{if(o[e])o[e].push(r);else{var c,l;if(void 0!==a)for(var s=document.getElementsByTagName(\\"script\\"),u=0;u{c.onerror=c.onload=null,clearTimeout(f);var n=o[e];if(delete o[e],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach(e=>e(t)),r)return r(t)},f=setTimeout(p.bind(null,void 0,{type:\\"timeout\\",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),l&&document.head.appendChild(c)}},t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;t.g.importScripts&&(e=t.g.location+\\"\\");var r=t.g.document;if(!e&&r&&(r.currentScript&&\\"SCRIPT\\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var o=r.getElementsByTagName(\\"script\\");if(o.length)for(var n=o.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=o[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),t.p=e})(),(()=>{var e={331:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);o.push(n[2]=a);var i=t.p+t.u(r),c=new Error;t.l(i,o=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=o&&(\\"load\\"===o.type?\\"missing\\":o.type),i=o&&o.target&&o.target.src;c.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+a+\\": \\"+i+\\")\\",c.name=\\"ChunkLoadError\\",c.type=a,c.request=i,n[1](c)}},\\"chunk-\\"+r,r)}};var r=(r,o)=>{var n,a,[i,c,l]=o,s=0;if(i.some(r=>0!==e[r])){for(n in c)t.o(c,n)&&(t.m[n]=c[n]);l&&l(t)}for(r&&r(o);s{var e={},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={exports:{}};return e[o](a,a.exports,t),a.exports}t.m=e;var o,n=/* LOCALE2 */ {\\"async1\\":\\"async1-LOCALE2-abcdef\\",\\"async2\\":\\"async2-LOCALE2-abcdef\\"};t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/async1-\\"+\\"LOCALE2\\"+\\"-fa1fc4a872cc770bdca2.js\\",t.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o={},t.l=(e,r,a,i)=>{if(o[e])o[e].push(r);else{var c,l;if(void 0!==a)for(var s=document.getElementsByTagName(\\"script\\"),u=0;u{c.onerror=c.onload=null,clearTimeout(f);var n=o[e];if(delete o[e],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach(e=>e(t)),r)return r(t)},f=setTimeout(p.bind(null,void 0,{type:\\"timeout\\",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),l&&document.head.appendChild(c)}},t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;t.g.importScripts&&(e=t.g.location+\\"\\");var r=t.g.document;if(!e&&r&&(r.currentScript&&\\"SCRIPT\\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var o=r.getElementsByTagName(\\"script\\");if(o.length)for(var n=o.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=o[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),t.p=e})(),(()=>{var e={331:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);o.push(n[2]=a);var i=t.p+t.u(r),c=new Error;t.l(i,o=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=o&&(\\"load\\"===o.type?\\"missing\\":o.type),i=o&&o.target&&o.target.src;c.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+a+\\": \\"+i+\\")\\",c.name=\\"ChunkLoadError\\",c.type=a,c.request=i,n[1](c)}},\\"chunk-\\"+r,r)}};var r=(r,o)=>{var n,a,[i,c,l]=o,s=0;if(i.some(r=>0!==e[r])){for(n in c)t.o(c,n)&&(t.m[n]=c[n]);l&&l(t)}for(r&&r(o);s{var e={},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={exports:{}};return e[o](a,a.exports,t),a.exports}t.m=e;var o,n=/* LOCALE1 */ {\\"async1\\":\\"async1-LOCALE1-123456\\",\\"async2\\":\\"async2-LOCALE1-123456\\"};t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+\\"LOCALE1\\"+\\"-\\"+{230:\\"f327df81529fa99e5b0a\\",421:\\"4511258032a496f1b996\\"}[e]+\\".js\\",t.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o={},t.l=(e,r,a,i)=>{if(o[e])o[e].push(r);else{var c,s;if(void 0!==a)for(var l=document.getElementsByTagName(\\"script\\"),u=0;u{c.onerror=c.onload=null,clearTimeout(f);var n=o[e];if(delete o[e],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach(e=>e(t)),r)return r(t)},f=setTimeout(p.bind(null,void 0,{type:\\"timeout\\",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),s&&document.head.appendChild(c)}},t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;t.g.importScripts&&(e=t.g.location+\\"\\");var r=t.g.document;if(!e&&r&&(r.currentScript&&\\"SCRIPT\\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var o=r.getElementsByTagName(\\"script\\");if(o.length)for(var n=o.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=o[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),t.p=e})(),(()=>{var e={580:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);o.push(n[2]=a);var i=t.p+t.u(r),c=new Error;t.l(i,o=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=o&&(\\"load\\"===o.type?\\"missing\\":o.type),i=o&&o.target&&o.target.src;c.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+a+\\": \\"+i+\\")\\",c.name=\\"ChunkLoadError\\",c.type=a,c.request=i,n[1](c)}},\\"chunk-\\"+r,r)}};var r=(r,o)=>{var n,a,[i,c,s]=o,l=0;if(i.some(r=>0!==e[r])){for(n in c)t.o(c,n)&&(t.m[n]=c[n]);s&&s(t)}for(r&&r(o);l{var e={},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={exports:{}};return e[o](a,a.exports,t),a.exports}t.m=e;var o,n=/* LOCALE2 */ {\\"async1\\":\\"async1-LOCALE2-abcdef\\",\\"async2\\":\\"async2-LOCALE2-abcdef\\"};t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+\\"LOCALE2\\"+\\"-\\"+{230:\\"fa1fc4a872cc770bdca2\\",421:\\"e48820dee94759a72c5d\\"}[e]+\\".js\\",t.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o={},t.l=(e,r,a,i)=>{if(o[e])o[e].push(r);else{var c,s;if(void 0!==a)for(var l=document.getElementsByTagName(\\"script\\"),u=0;u{c.onerror=c.onload=null,clearTimeout(f);var n=o[e];if(delete o[e],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach(e=>e(t)),r)return r(t)},f=setTimeout(p.bind(null,void 0,{type:\\"timeout\\",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),s&&document.head.appendChild(c)}},t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;t.g.importScripts&&(e=t.g.location+\\"\\");var r=t.g.document;if(!e&&r&&(r.currentScript&&\\"SCRIPT\\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var o=r.getElementsByTagName(\\"script\\");if(o.length)for(var n=o.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=o[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),t.p=e})(),(()=>{var e={580:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);o.push(n[2]=a);var i=t.p+t.u(r),c=new Error;t.l(i,o=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=o&&(\\"load\\"===o.type?\\"missing\\":o.type),i=o&&o.target&&o.target.src;c.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+a+\\": \\"+i+\\")\\",c.name=\\"ChunkLoadError\\",c.type=a,c.request=i,n[1](c)}},\\"chunk-\\"+r,r)}};var r=(r,o)=>{var n,a,[i,c,s]=o,l=0;if(i.some(r=>0!==e[r])){for(n in c)t.o(c,n)&&(t.m[n]=c[n]);s&&s(t)}for(r&&r(o);l{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE1 */ {\\"async1\\":\\"async1-LOCALE1-123456\\",\\"async2\\":\\"async2-LOCALE1-123456\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/async1-\\"+\\"LOCALE1\\"+\\"-814298bc359dde87fc03.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,i)=>{if(e[t])return void e[t].push(n);let c,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{c.onerror=c.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],c.parentNode?.removeChild(c),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=u.bind(0,c.onerror),c.onload=u.bind(0,c.onload),a&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const i=new Error,c=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;i.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",i.name=\\"ChunkLoadError\\",i.type=e,i.request=o,i.event=r,n[1](i)}};o.l(o.p+o.u(t),c,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,i]=r;var c,a,l=0;if(n.some(t=>0!==e[t])){for(c in s)o.o(s,c)&&(o.m[c]=s[c]);i&&i(o)}for(t&&t(r);lo(\\"./a/async1.js\\"))})();", + "/release/mainSingleChunk-LOCALE2-73e489714b11cbea67c4.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE2 */ {\\"async1\\":\\"async1-LOCALE2-abcdef\\",\\"async2\\":\\"async2-LOCALE2-abcdef\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/async1-\\"+\\"LOCALE2\\"+\\"-e9ec961ace54d8b61181.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,i)=>{if(e[t])return void e[t].push(n);let c,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{c.onerror=c.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],c.parentNode?.removeChild(c),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=u.bind(0,c.onerror),c.onload=u.bind(0,c.onload),a&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const i=new Error,c=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;i.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",i.name=\\"ChunkLoadError\\",i.type=e,i.request=o,i.event=r,n[1](i)}};o.l(o.p+o.u(t),c,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,i]=r;var c,a,l=0;if(n.some(t=>0!==e[t])){for(c in s)o.o(s,c)&&(o.m[c]=s[c]);i&&i(o)}for(t&&t(r);lo(\\"./a/async1.js\\"))})();", + "/release/mainTwoChunks-LOCALE1-957f235ff184cfa8e5c5.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE1 */ {\\"async1\\":\\"async1-LOCALE1-123456\\",\\"async2\\":\\"async2-LOCALE1-123456\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+\\"LOCALE1\\"+\\"-\\"+{230:\\"814298bc359dde87fc03\\",421:\\"1d8197ef25efa79d9932\\"}[e]+\\".js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,c)=>{if(e[t])return void e[t].push(n);let i,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{i.onerror=i.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],i.parentNode?.removeChild(i),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:i}),12e4);i.onerror=u.bind(0,i.onerror),i.onload=u.bind(0,i.onload),a&&document.head.appendChild(i)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const c=new Error,i=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=r,n[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,c]=r;var i,a,l=0;if(n.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(r);lo(\\"./a/async1.js\\")),o.e(421).then(()=>o(\\"./a/async2.js\\"))})();", + "/release/mainTwoChunks-LOCALE2-07d2775a73480fee0ac4.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE2 */ {\\"async1\\":\\"async1-LOCALE2-abcdef\\",\\"async2\\":\\"async2-LOCALE2-abcdef\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+\\"LOCALE2\\"+\\"-\\"+{230:\\"e9ec961ace54d8b61181\\",421:\\"566aa65daefdd30eb324\\"}[e]+\\".js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,c)=>{if(e[t])return void e[t].push(n);let i,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{i.onerror=i.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],i.parentNode?.removeChild(i),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:i}),12e4);i.onerror=u.bind(0,i.onerror),i.onload=u.bind(0,i.onload),a&&document.head.appendChild(i)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const c=new Error,i=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=r,n[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,c]=r;var i,a,l=0;if(n.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(r);lo(\\"./a/async1.js\\")),o.e(421).then(()=>o(\\"./a/async2.js\\"))})();", } `; @@ -19,8 +19,8 @@ exports[`LocalizationPlugin Handles async localized chunks (minified): Warnings exports[`LocalizationPlugin Handles async localized chunks (unminified): Content 1`] = ` Object { - "/release/chunks/async1-LOCALE1-c0ec48f0f7c2fb48b15f.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[230],{ + "/release/chunks/async1-LOCALE1-dcfc54c176380552daf5.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[230],{ /***/ \\"./a/async1.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -35,28 +35,30 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.resjson\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"blah\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.resjson\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"something else\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", - "/release/chunks/async1-LOCALE2-fa2c9efb07c51fd9bae5.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[230],{ + "/release/chunks/async1-LOCALE2-37f274ad897fbcea898f.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[230],{ /***/ \\"./a/async1.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -71,28 +73,30 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.resjson\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"baz\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.resjson\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"some random translation\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", - "/release/chunks/async2-LOCALE1-63a6250dce3df159a50b.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[421],{ + "/release/chunks/async2-LOCALE1-0d4fc910667f30ac3d41.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[421],{ /***/ \\"./a/async2.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -107,28 +111,30 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.resjson\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"blah\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.resjson\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"something else\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", - "/release/chunks/async2-LOCALE2-169706a26d0272f1f88d.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[421],{ + "/release/chunks/async2-LOCALE2-2930512d10510b9af30e.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[421],{ /***/ \\"./a/async2.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -143,41 +149,43 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.resjson\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"baz\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.resjson\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"some random translation\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", - "/release/mainSingleChunk-LOCALE1-be7237a0036637d905b9.js": "/******/ (() => { // webpackBootstrap + "/release/mainSingleChunk-LOCALE1-533b8e1b40e064c81777.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -201,68 +209,55 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ } /******/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ if(Array.isArray(definition)) { +/******/ var i = 0; +/******/ while(i < definition.length) { +/******/ var key = definition[i++]; +/******/ var binding = definition[i++]; +/******/ var descriptor = binding ? { enumerable: true, get: binding } : { enumerable: true, value: definition[i++] }; +/******/ if(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor); +/******/ } +/******/ } else { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { +/******/ __webpack_require__.f[key](chunkId, promises); +/******/ return promises; +/******/ }, [])); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + \\"async1\\" + \\"-\\" + \\"LOCALE1\\" + \\"-\\" + \\"c0ec48f0f7c2fb48b15f\\" + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + \\"async1\\" + \\"-\\" + \\"LOCALE1\\" + \\"-\\" + \\"dcfc54c176380552daf5\\" + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -282,55 +277,47 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ printLocalizedChunkName(chunkId); /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -340,13 +327,13 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 331: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -355,29 +342,28 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -394,8 +380,8 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -418,31 +404,31 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./a/async1.js\\")); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__(\\"./a/async1.js\\"))); /******/ })() ;", - "/release/mainSingleChunk-LOCALE2-3dffd10c24f70bd94173.js": "/******/ (() => { // webpackBootstrap + "/release/mainSingleChunk-LOCALE2-bef892bb3b22e0d44dbe.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -466,68 +452,55 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ } /******/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ if(Array.isArray(definition)) { +/******/ var i = 0; +/******/ while(i < definition.length) { +/******/ var key = definition[i++]; +/******/ var binding = definition[i++]; +/******/ var descriptor = binding ? { enumerable: true, get: binding } : { enumerable: true, value: definition[i++] }; +/******/ if(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor); +/******/ } +/******/ } else { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { +/******/ __webpack_require__.f[key](chunkId, promises); +/******/ return promises; +/******/ }, [])); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + \\"async1\\" + \\"-\\" + \\"LOCALE2\\" + \\"-\\" + \\"fa2c9efb07c51fd9bae5\\" + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + \\"async1\\" + \\"-\\" + \\"LOCALE2\\" + \\"-\\" + \\"37f274ad897fbcea898f\\" + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -547,55 +520,47 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ printLocalizedChunkName(chunkId); /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -605,13 +570,13 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 331: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -620,29 +585,28 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -659,8 +623,8 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -683,31 +647,31 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./a/async1.js\\")); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__(\\"./a/async1.js\\"))); /******/ })() ;", - "/release/mainTwoChunks-LOCALE1-e7c5f352c25e2ccae36c.js": "/******/ (() => { // webpackBootstrap + "/release/mainTwoChunks-LOCALE1-ed3706e2dc668b81d6d1.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -731,68 +695,55 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ } /******/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ if(Array.isArray(definition)) { +/******/ var i = 0; +/******/ while(i < definition.length) { +/******/ var key = definition[i++]; +/******/ var binding = definition[i++]; +/******/ var descriptor = binding ? { enumerable: true, get: binding } : { enumerable: true, value: definition[i++] }; +/******/ if(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor); +/******/ } +/******/ } else { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { +/******/ __webpack_require__.f[key](chunkId, promises); +/******/ return promises; +/******/ }, [])); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + {\\"230\\":\\"async1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + \\"LOCALE1\\" + \\"-\\" + {\\"230\\":\\"c0ec48f0f7c2fb48b15f\\",\\"421\\":\\"63a6250dce3df159a50b\\"}[chunkId] + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + {\\"230\\":\\"async1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + \\"LOCALE1\\" + \\"-\\" + {\\"230\\":\\"dcfc54c176380552daf5\\",\\"421\\":\\"0d4fc910667f30ac3d41\\"}[chunkId] + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -812,55 +763,47 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ printLocalizedChunkName(chunkId); /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -870,13 +813,13 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 580: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -885,29 +828,28 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -924,8 +866,8 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -948,31 +890,31 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./a/async1.js\\"));__webpack_require__.e(/* import() | async2 */ 421).then(__webpack_require__.bind(__webpack_require__, \\"./a/async2.js\\")); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__(\\"./a/async1.js\\")));__webpack_require__.e(/* import() | async2 */ 421).then(() => (__webpack_require__(\\"./a/async2.js\\"))); /******/ })() ;", - "/release/mainTwoChunks-LOCALE2-ec024a58ae03427539e3.js": "/******/ (() => { // webpackBootstrap + "/release/mainTwoChunks-LOCALE2-e7a236e9111f5f28bbe8.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -996,68 +938,55 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ } /******/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ if(Array.isArray(definition)) { +/******/ var i = 0; +/******/ while(i < definition.length) { +/******/ var key = definition[i++]; +/******/ var binding = definition[i++]; +/******/ var descriptor = binding ? { enumerable: true, get: binding } : { enumerable: true, value: definition[i++] }; +/******/ if(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor); +/******/ } +/******/ } else { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { +/******/ __webpack_require__.f[key](chunkId, promises); +/******/ return promises; +/******/ }, [])); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + {\\"230\\":\\"async1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + \\"LOCALE2\\" + \\"-\\" + {\\"230\\":\\"fa2c9efb07c51fd9bae5\\",\\"421\\":\\"169706a26d0272f1f88d\\"}[chunkId] + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + {\\"230\\":\\"async1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + \\"LOCALE2\\" + \\"-\\" + {\\"230\\":\\"37f274ad897fbcea898f\\",\\"421\\":\\"2930512d10510b9af30e\\"}[chunkId] + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -1077,55 +1006,47 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ printLocalizedChunkName(chunkId); /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -1135,13 +1056,13 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 580: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -1150,29 +1071,28 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -1189,8 +1109,8 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -1213,14 +1133,14 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./a/async1.js\\"));__webpack_require__.e(/* import() | async2 */ 421).then(__webpack_require__.bind(__webpack_require__, \\"./a/async2.js\\")); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__(\\"./a/async1.js\\")));__webpack_require__.e(/* import() | async2 */ 421).then(() => (__webpack_require__(\\"./a/async2.js\\"))); /******/ })() ;", } diff --git a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedRuntimeDifferentHashLengths.test.ts.snap b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedRuntimeDifferentHashLengths.test.ts.snap index 38f4d571a47..ae3ca8e41d7 100644 --- a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedRuntimeDifferentHashLengths.test.ts.snap +++ b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedRuntimeDifferentHashLengths.test.ts.snap @@ -2,14 +2,14 @@ exports[`LocalizationPlugin Handles async localized chunks (minified): Content 1`] = ` Object { - "/release/chunks/async1-LOCALE1-35796bd5d0905626f7997ea77b5d10ed3dad3bcf88790661f6327aba77ec89de.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var n=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(n.A.test,a.A.another)},\\"./a/strings1.resjson\\"(s,e,_){_.d(e,{A:()=>n});const n={test:\\"blah\\"}},\\"./a/strings2.resjson\\"(s,e,_){_.d(e,{A:()=>n});const n={another:\\"something else\\"}}}]);", - "/release/chunks/async1-LOCALE2-0a9e4f760344ecb2fdf79a248de3b310a7872fa41ddeaaa1287210d7c65c0b88.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var n=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(n.A.test,a.A.another)},\\"./a/strings1.resjson\\"(s,e,_){_.d(e,{A:()=>n});const n={test:\\"baz\\"}},\\"./a/strings2.resjson\\"(s,e,_){_.d(e,{A:()=>n});const n={another:\\"some random translation\\"}}}]);", - "/release/chunks/async2-LOCALE1-2aa1ae71f62940f35e729b89d05da09f9265a60dcc4843cfab77dc28d32371d5.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var n=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(n.A.test+a.A.another)},\\"./a/strings1.resjson\\"(s,e,_){_.d(e,{A:()=>n});const n={test:\\"blah\\"}},\\"./a/strings2.resjson\\"(s,e,_){_.d(e,{A:()=>n});const n={another:\\"something else\\"}}}]);", - "/release/chunks/async2-LOCALE2-1db9f08ad0b1e29ade0a2240effaa91baa05860f5ccc54f3022d8d4c128bd2db.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var n=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(n.A.test+a.A.another)},\\"./a/strings1.resjson\\"(s,e,_){_.d(e,{A:()=>n});const n={test:\\"baz\\"}},\\"./a/strings2.resjson\\"(s,e,_){_.d(e,{A:()=>n});const n={another:\\"some random translation\\"}}}]);", - "/release/mainSingleChunk-LOCALE1-a01fe7a7cd4a5ab34f553e9e6969f70b7d61458527bfec65858e3c10e5ab864e.js": "(()=>{var e={},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={exports:{}};return e[o](a,a.exports,t),a.exports}t.m=e;var o,n=/* LOCALE1 */ {\\"async1\\":\\"async1-LOCALE1-123456\\",\\"async2\\":\\"async2-LOCALE1-123456\\"};t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/async1-\\"+\\"LOCALE1\\"+\\"-35796bd5d0905626f7997ea77b5d10ed3dad3bcf88790661f6327aba77ec89de.js\\",t.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o={},t.l=(e,r,a,i)=>{if(o[e])o[e].push(r);else{var c,l;if(void 0!==a)for(var s=document.getElementsByTagName(\\"script\\"),u=0;u{c.onerror=c.onload=null,clearTimeout(f);var n=o[e];if(delete o[e],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach(e=>e(t)),r)return r(t)},f=setTimeout(p.bind(null,void 0,{type:\\"timeout\\",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),l&&document.head.appendChild(c)}},t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;t.g.importScripts&&(e=t.g.location+\\"\\");var r=t.g.document;if(!e&&r&&(r.currentScript&&\\"SCRIPT\\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var o=r.getElementsByTagName(\\"script\\");if(o.length)for(var n=o.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=o[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),t.p=e})(),(()=>{var e={331:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);o.push(n[2]=a);var i=t.p+t.u(r),c=new Error;t.l(i,o=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=o&&(\\"load\\"===o.type?\\"missing\\":o.type),i=o&&o.target&&o.target.src;c.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+a+\\": \\"+i+\\")\\",c.name=\\"ChunkLoadError\\",c.type=a,c.request=i,n[1](c)}},\\"chunk-\\"+r,r)}};var r=(r,o)=>{var n,a,[i,c,l]=o,s=0;if(i.some(r=>0!==e[r])){for(n in c)t.o(c,n)&&(t.m[n]=c[n]);l&&l(t)}for(r&&r(o);s{var e={},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={exports:{}};return e[o](a,a.exports,t),a.exports}t.m=e;var o,n=/* LOCALE2 */ {\\"async1\\":\\"async1-LOCALE2-abcdef\\",\\"async2\\":\\"async2-LOCALE2-abcdef\\"};t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/async1-\\"+\\"LOCALE2\\"+\\"-0a9e4f760344ecb2fdf79a248de3b310a7872fa41ddeaaa1287210d7c65c0b88.js\\",t.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o={},t.l=(e,r,a,i)=>{if(o[e])o[e].push(r);else{var c,l;if(void 0!==a)for(var s=document.getElementsByTagName(\\"script\\"),u=0;u{c.onerror=c.onload=null,clearTimeout(f);var n=o[e];if(delete o[e],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach(e=>e(t)),r)return r(t)},f=setTimeout(p.bind(null,void 0,{type:\\"timeout\\",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),l&&document.head.appendChild(c)}},t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;t.g.importScripts&&(e=t.g.location+\\"\\");var r=t.g.document;if(!e&&r&&(r.currentScript&&\\"SCRIPT\\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var o=r.getElementsByTagName(\\"script\\");if(o.length)for(var n=o.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=o[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),t.p=e})(),(()=>{var e={331:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);o.push(n[2]=a);var i=t.p+t.u(r),c=new Error;t.l(i,o=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=o&&(\\"load\\"===o.type?\\"missing\\":o.type),i=o&&o.target&&o.target.src;c.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+a+\\": \\"+i+\\")\\",c.name=\\"ChunkLoadError\\",c.type=a,c.request=i,n[1](c)}},\\"chunk-\\"+r,r)}};var r=(r,o)=>{var n,a,[i,c,l]=o,s=0;if(i.some(r=>0!==e[r])){for(n in c)t.o(c,n)&&(t.m[n]=c[n]);l&&l(t)}for(r&&r(o);s{var e={},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={exports:{}};return e[o](a,a.exports,t),a.exports}t.m=e;var o,n=/* LOCALE1 */ {\\"async1\\":\\"async1-LOCALE1-123456\\",\\"async2\\":\\"async2-LOCALE1-123456\\"};t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+\\"LOCALE1\\"+\\"-\\"+{230:\\"35796bd5d0905626f7997ea77b5d10ed3dad3bcf88790661f6327aba77ec89de\\",421:\\"2aa1ae71f62940f35e729b89d05da09f9265a60dcc4843cfab77dc28d32371d5\\"}[e]+\\".js\\",t.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o={},t.l=(e,r,a,i)=>{if(o[e])o[e].push(r);else{var c,s;if(void 0!==a)for(var l=document.getElementsByTagName(\\"script\\"),u=0;u{c.onerror=c.onload=null,clearTimeout(f);var n=o[e];if(delete o[e],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach(e=>e(t)),r)return r(t)},f=setTimeout(p.bind(null,void 0,{type:\\"timeout\\",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),s&&document.head.appendChild(c)}},t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;t.g.importScripts&&(e=t.g.location+\\"\\");var r=t.g.document;if(!e&&r&&(r.currentScript&&\\"SCRIPT\\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var o=r.getElementsByTagName(\\"script\\");if(o.length)for(var n=o.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=o[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),t.p=e})(),(()=>{var e={580:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);o.push(n[2]=a);var i=t.p+t.u(r),c=new Error;t.l(i,o=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=o&&(\\"load\\"===o.type?\\"missing\\":o.type),i=o&&o.target&&o.target.src;c.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+a+\\": \\"+i+\\")\\",c.name=\\"ChunkLoadError\\",c.type=a,c.request=i,n[1](c)}},\\"chunk-\\"+r,r)}};var r=(r,o)=>{var n,a,[i,c,s]=o,l=0;if(i.some(r=>0!==e[r])){for(n in c)t.o(c,n)&&(t.m[n]=c[n]);s&&s(t)}for(r&&r(o);l{var e={},r={};function t(o){var n=r[o];if(void 0!==n)return n.exports;var a=r[o]={exports:{}};return e[o](a,a.exports,t),a.exports}t.m=e;var o,n=/* LOCALE2 */ {\\"async1\\":\\"async1-LOCALE2-abcdef\\",\\"async2\\":\\"async2-LOCALE2-abcdef\\"};t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.f={},t.e=e=>Promise.all(Object.keys(t.f).reduce((r,o)=>(t.f[o](e,r),r),[])),t.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+\\"LOCALE2\\"+\\"-\\"+{230:\\"0a9e4f760344ecb2fdf79a248de3b310a7872fa41ddeaaa1287210d7c65c0b88\\",421:\\"1db9f08ad0b1e29ade0a2240effaa91baa05860f5ccc54f3022d8d4c128bd2db\\"}[e]+\\".js\\",t.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o={},t.l=(e,r,a,i)=>{if(o[e])o[e].push(r);else{var c,s;if(void 0!==a)for(var l=document.getElementsByTagName(\\"script\\"),u=0;u{c.onerror=c.onload=null,clearTimeout(f);var n=o[e];if(delete o[e],c.parentNode&&c.parentNode.removeChild(c),n&&n.forEach(e=>e(t)),r)return r(t)},f=setTimeout(p.bind(null,void 0,{type:\\"timeout\\",target:c}),12e4);c.onerror=p.bind(null,c.onerror),c.onload=p.bind(null,c.onload),s&&document.head.appendChild(c)}},t.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;t.g.importScripts&&(e=t.g.location+\\"\\");var r=t.g.document;if(!e&&r&&(r.currentScript&&\\"SCRIPT\\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var o=r.getElementsByTagName(\\"script\\");if(o.length)for(var n=o.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=o[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),t.p=e})(),(()=>{var e={580:0};t.f.j=(r,o)=>{var n=t.o(e,r)?e[r]:void 0;if(0!==n)if(n)o.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);o.push(n[2]=a);var i=t.p+t.u(r),c=new Error;t.l(i,o=>{if(t.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=o&&(\\"load\\"===o.type?\\"missing\\":o.type),i=o&&o.target&&o.target.src;c.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+a+\\": \\"+i+\\")\\",c.name=\\"ChunkLoadError\\",c.type=a,c.request=i,n[1](c)}},\\"chunk-\\"+r,r)}};var r=(r,o)=>{var n,a,[i,c,s]=o,l=0;if(i.some(r=>0!==e[r])){for(n in c)t.o(c,n)&&(t.m[n]=c[n]);s&&s(t)}for(r&&r(o);l{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE1 */ {\\"async1\\":\\"async1-LOCALE1-123456\\",\\"async2\\":\\"async2-LOCALE1-123456\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/async1-\\"+\\"LOCALE1\\"+\\"-2b91b947a1bacbf80e0ee0f30c700ee5ce7ecadcaa0ee5aa4bb4711d32a6e229.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,i)=>{if(e[t])return void e[t].push(n);let c,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{c.onerror=c.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],c.parentNode?.removeChild(c),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=u.bind(0,c.onerror),c.onload=u.bind(0,c.onload),a&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const i=new Error,c=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;i.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",i.name=\\"ChunkLoadError\\",i.type=e,i.request=o,i.event=r,n[1](i)}};o.l(o.p+o.u(t),c,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,i]=r;var c,a,l=0;if(n.some(t=>0!==e[t])){for(c in s)o.o(s,c)&&(o.m[c]=s[c]);i&&i(o)}for(t&&t(r);lo(\\"./a/async1.js\\"))})();", + "/release/mainSingleChunk-LOCALE2-e2e1f79b62b341f21d1a2654ac1526caedb84ae5295a621457110373a131fc72.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE2 */ {\\"async1\\":\\"async1-LOCALE2-abcdef\\",\\"async2\\":\\"async2-LOCALE2-abcdef\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/async1-\\"+\\"LOCALE2\\"+\\"-af676f9e766f5d434f53ae272b86154e5daf22f671662370fafac345275540ab.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,i)=>{if(e[t])return void e[t].push(n);let c,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{c.onerror=c.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],c.parentNode?.removeChild(c),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=u.bind(0,c.onerror),c.onload=u.bind(0,c.onload),a&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const i=new Error,c=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;i.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",i.name=\\"ChunkLoadError\\",i.type=e,i.request=o,i.event=r,n[1](i)}};o.l(o.p+o.u(t),c,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,i]=r;var c,a,l=0;if(n.some(t=>0!==e[t])){for(c in s)o.o(s,c)&&(o.m[c]=s[c]);i&&i(o)}for(t&&t(r);lo(\\"./a/async1.js\\"))})();", + "/release/mainTwoChunks-LOCALE1-0a5ffb7ec17dc909368f70699b72b5d19b12f0b67d63d7546abbfe0e6d189e74.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE1 */ {\\"async1\\":\\"async1-LOCALE1-123456\\",\\"async2\\":\\"async2-LOCALE1-123456\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+\\"LOCALE1\\"+\\"-\\"+{230:\\"2b91b947a1bacbf80e0ee0f30c700ee5ce7ecadcaa0ee5aa4bb4711d32a6e229\\",421:\\"04f311b2240ea26d57bd065cb3fa6fc453a383f7a3b6d0d67aa0a920e3c3d443\\"}[e]+\\".js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,c)=>{if(e[t])return void e[t].push(n);let i,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{i.onerror=i.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],i.parentNode?.removeChild(i),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:i}),12e4);i.onerror=u.bind(0,i.onerror),i.onload=u.bind(0,i.onload),a&&document.head.appendChild(i)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const c=new Error,i=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=r,n[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,c]=r;var i,a,l=0;if(n.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(r);lo(\\"./a/async1.js\\")),o.e(421).then(()=>o(\\"./a/async2.js\\"))})();", + "/release/mainTwoChunks-LOCALE2-f6d9e3063d1438cc71bc198d9629695945a2f58f563a2188e05469eb9aaaf23b.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE2 */ {\\"async1\\":\\"async1-LOCALE2-abcdef\\",\\"async2\\":\\"async2-LOCALE2-abcdef\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+\\"LOCALE2\\"+\\"-\\"+{230:\\"af676f9e766f5d434f53ae272b86154e5daf22f671662370fafac345275540ab\\",421:\\"72ad03834ec9eb78b014c60368cdc32025285c52d392fd9add55451196134da6\\"}[e]+\\".js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,c)=>{if(e[t])return void e[t].push(n);let i,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{i.onerror=i.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],i.parentNode?.removeChild(i),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:i}),12e4);i.onerror=u.bind(0,i.onerror),i.onload=u.bind(0,i.onload),a&&document.head.appendChild(i)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const c=new Error,i=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=r,n[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,c]=r;var i,a,l=0;if(n.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(r);lo(\\"./a/async1.js\\")),o.e(421).then(()=>o(\\"./a/async2.js\\"))})();", } `; @@ -19,8 +19,8 @@ exports[`LocalizationPlugin Handles async localized chunks (minified): Warnings exports[`LocalizationPlugin Handles async localized chunks (unminified): Content 1`] = ` Object { - "/release/chunks/async1-LOCALE1-8d6b29c3cee43ab2396d51ad59dc3625445bed8f61e4cef0f59784b2b3c04a3b.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[230],{ + "/release/chunks/async1-LOCALE1-7cde047b6cb9e28235151e2e3761aa7fa1108d8c8bcbac06fc7025b74e30a93f.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[230],{ /***/ \\"./a/async1.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -35,28 +35,30 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.resjson\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"blah\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.resjson\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"something else\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", - "/release/chunks/async1-LOCALE2-4f2fc8a930561d39c26bf1e020a38bb3b766cb0896d78f27d40c1722022c0f66.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[230],{ + "/release/chunks/async1-LOCALE2-53b0d0c09081d572389d47205b6181fe370c46eb565b3fceb67d1f882363e99a.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[230],{ /***/ \\"./a/async1.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -71,28 +73,30 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.resjson\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"baz\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.resjson\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"some random translation\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", - "/release/chunks/async2-LOCALE1-1b527047a1247c76d1b81187c2b89a97f1517366c0e087e13857e4a4a1287a07.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[421],{ + "/release/chunks/async2-LOCALE1-06bac77edc658d7ec501c17b16906a7e009a7dbb16448f66de49986841cce2d5.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[421],{ /***/ \\"./a/async2.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -107,28 +111,30 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.resjson\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"blah\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.resjson\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"something else\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", - "/release/chunks/async2-LOCALE2-eee354bdb04cdde2e3ea418050d476711d4b56f8b7368c9c7132b7cd2ed9df3b.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[421],{ + "/release/chunks/async2-LOCALE2-9efc4489a19d29eccc5a19bafea9d6d56fb0aeac1c321fd3f2ad8253af5ec0a1.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[421],{ /***/ \\"./a/async2.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -143,41 +149,43 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.resjson\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"baz\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.resjson\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"some random translation\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", - "/release/mainSingleChunk-LOCALE1-a694850d0eaf85f13282e36484ba7394935153dc76dc185a804b216f53b437cc.js": "/******/ (() => { // webpackBootstrap + "/release/mainSingleChunk-LOCALE1-8d195fcbaac41840586f985ab74d6b4be36b06bce579d83e069ba4dcf4466dd6.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -201,68 +209,55 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ } /******/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ if(Array.isArray(definition)) { +/******/ var i = 0; +/******/ while(i < definition.length) { +/******/ var key = definition[i++]; +/******/ var binding = definition[i++]; +/******/ var descriptor = binding ? { enumerable: true, get: binding } : { enumerable: true, value: definition[i++] }; +/******/ if(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor); +/******/ } +/******/ } else { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { +/******/ __webpack_require__.f[key](chunkId, promises); +/******/ return promises; +/******/ }, [])); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + \\"async1\\" + \\"-\\" + \\"LOCALE1\\" + \\"-\\" + \\"8d6b29c3cee43ab2396d51ad59dc3625445bed8f61e4cef0f59784b2b3c04a3b\\" + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + \\"async1\\" + \\"-\\" + \\"LOCALE1\\" + \\"-\\" + \\"7cde047b6cb9e28235151e2e3761aa7fa1108d8c8bcbac06fc7025b74e30a93f\\" + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -282,55 +277,47 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ printLocalizedChunkName(chunkId); /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -340,13 +327,13 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 331: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -355,29 +342,28 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -394,8 +380,8 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -418,31 +404,31 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./a/async1.js\\")); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__(\\"./a/async1.js\\"))); /******/ })() ;", - "/release/mainSingleChunk-LOCALE2-a7ba424ecc1a0ae4cd5145ae2d11ba858eb38a2cfdf3554fb95a2655da089e91.js": "/******/ (() => { // webpackBootstrap + "/release/mainSingleChunk-LOCALE2-31c611b063cfd9e269654577333623d066e39496edd530d60c1732d4397482b2.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -466,68 +452,55 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ } /******/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ if(Array.isArray(definition)) { +/******/ var i = 0; +/******/ while(i < definition.length) { +/******/ var key = definition[i++]; +/******/ var binding = definition[i++]; +/******/ var descriptor = binding ? { enumerable: true, get: binding } : { enumerable: true, value: definition[i++] }; +/******/ if(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor); +/******/ } +/******/ } else { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { +/******/ __webpack_require__.f[key](chunkId, promises); +/******/ return promises; +/******/ }, [])); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + \\"async1\\" + \\"-\\" + \\"LOCALE2\\" + \\"-\\" + \\"4f2fc8a930561d39c26bf1e020a38bb3b766cb0896d78f27d40c1722022c0f66\\" + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + \\"async1\\" + \\"-\\" + \\"LOCALE2\\" + \\"-\\" + \\"53b0d0c09081d572389d47205b6181fe370c46eb565b3fceb67d1f882363e99a\\" + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -547,55 +520,47 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ printLocalizedChunkName(chunkId); /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -605,13 +570,13 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 331: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -620,29 +585,28 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -659,8 +623,8 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -683,31 +647,31 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./a/async1.js\\")); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__(\\"./a/async1.js\\"))); /******/ })() ;", - "/release/mainTwoChunks-LOCALE1-a5c1d96daabe3634eef5c96c95cbe2040abeb611c0d9435a2f3e1f537ad1e67c.js": "/******/ (() => { // webpackBootstrap + "/release/mainTwoChunks-LOCALE1-282d0281420393f5f639b60627fb7c8e0536836fb469088c335da3cfa2cf0206.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -731,68 +695,55 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ } /******/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ if(Array.isArray(definition)) { +/******/ var i = 0; +/******/ while(i < definition.length) { +/******/ var key = definition[i++]; +/******/ var binding = definition[i++]; +/******/ var descriptor = binding ? { enumerable: true, get: binding } : { enumerable: true, value: definition[i++] }; +/******/ if(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor); +/******/ } +/******/ } else { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { +/******/ __webpack_require__.f[key](chunkId, promises); +/******/ return promises; +/******/ }, [])); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + {\\"230\\":\\"async1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + \\"LOCALE1\\" + \\"-\\" + {\\"230\\":\\"8d6b29c3cee43ab2396d51ad59dc3625445bed8f61e4cef0f59784b2b3c04a3b\\",\\"421\\":\\"1b527047a1247c76d1b81187c2b89a97f1517366c0e087e13857e4a4a1287a07\\"}[chunkId] + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + {\\"230\\":\\"async1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + \\"LOCALE1\\" + \\"-\\" + {\\"230\\":\\"7cde047b6cb9e28235151e2e3761aa7fa1108d8c8bcbac06fc7025b74e30a93f\\",\\"421\\":\\"06bac77edc658d7ec501c17b16906a7e009a7dbb16448f66de49986841cce2d5\\"}[chunkId] + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -812,55 +763,47 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ printLocalizedChunkName(chunkId); /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -870,13 +813,13 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 580: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -885,29 +828,28 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -924,8 +866,8 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -948,31 +890,31 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./a/async1.js\\"));__webpack_require__.e(/* import() | async2 */ 421).then(__webpack_require__.bind(__webpack_require__, \\"./a/async2.js\\")); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__(\\"./a/async1.js\\")));__webpack_require__.e(/* import() | async2 */ 421).then(() => (__webpack_require__(\\"./a/async2.js\\"))); /******/ })() ;", - "/release/mainTwoChunks-LOCALE2-6a78a37293b98a89c3e107a482ea485af63ba9f97d215e591f46621946dcab52.js": "/******/ (() => { // webpackBootstrap + "/release/mainTwoChunks-LOCALE2-a591ad832d18158e4666c4b035e7e72b8800bf40d5a72f2ef5266cf71d09729b.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -996,68 +938,55 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ } /******/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ if(Array.isArray(definition)) { +/******/ var i = 0; +/******/ while(i < definition.length) { +/******/ var key = definition[i++]; +/******/ var binding = definition[i++]; +/******/ var descriptor = binding ? { enumerable: true, get: binding } : { enumerable: true, value: definition[i++] }; +/******/ if(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor); +/******/ } +/******/ } else { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { +/******/ __webpack_require__.f[key](chunkId, promises); +/******/ return promises; +/******/ }, [])); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + {\\"230\\":\\"async1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + \\"LOCALE2\\" + \\"-\\" + {\\"230\\":\\"4f2fc8a930561d39c26bf1e020a38bb3b766cb0896d78f27d40c1722022c0f66\\",\\"421\\":\\"eee354bdb04cdde2e3ea418050d476711d4b56f8b7368c9c7132b7cd2ed9df3b\\"}[chunkId] + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + {\\"230\\":\\"async1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + \\"LOCALE2\\" + \\"-\\" + {\\"230\\":\\"53b0d0c09081d572389d47205b6181fe370c46eb565b3fceb67d1f882363e99a\\",\\"421\\":\\"9efc4489a19d29eccc5a19bafea9d6d56fb0aeac1c321fd3f2ad8253af5ec0a1\\"}[chunkId] + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -1077,55 +1006,47 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ printLocalizedChunkName(chunkId); /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -1135,13 +1056,13 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 580: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -1150,29 +1071,28 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -1189,8 +1109,8 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -1213,14 +1133,14 @@ __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./a/async1.js\\"));__webpack_require__.e(/* import() | async2 */ 421).then(__webpack_require__.bind(__webpack_require__, \\"./a/async2.js\\")); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__(\\"./a/async1.js\\")));__webpack_require__.e(/* import() | async2 */ 421).then(() => (__webpack_require__(\\"./a/async2.js\\"))); /******/ })() ;", } diff --git a/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsync.test.ts.snap b/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsync.test.ts.snap index 69403ede1e9..5319b159281 100644 --- a/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsync.test.ts.snap +++ b/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsync.test.ts.snap @@ -2,14 +2,14 @@ exports[`LocalizationPlugin Handles async localized and non-localized chunks (minified): Content 1`] = ` Object { - "/release/chunks/async1-none-ce8921222513d795983d.js": "(self.webpackChunk=self.webpackChunk||[]).push([[230],{\\"./a/async1.js\\"(){console.log(\\"blah1\\")}}]);", - "/release/chunks/async2-none-fc09185ee60175177398.js": "(self.webpackChunk=self.webpackChunk||[]).push([[421],{\\"./a/async2.js\\"(){console.log(\\"blah2\\")}}]);", - "/release/chunks/asyncLoc1-LOCALE1-062edb5879708f9fb249.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[410],{\\"./a/asyncLoc1.js\\"(s,_,e){e.r(_);var n=e(\\"./a/strings1.loc.json\\"),o=e(\\"./a/strings2.loc.json\\");console.log(n.A.test,o.A.another)},\\"./a/strings1.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={test:\\"blah\\"}},\\"./a/strings2.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={another:\\"something else\\"}}}]);", - "/release/chunks/asyncLoc1-LOCALE2-2504e57dfecd2054cd5b.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[410],{\\"./a/asyncLoc1.js\\"(s,_,e){e.r(_);var n=e(\\"./a/strings1.loc.json\\"),o=e(\\"./a/strings2.loc.json\\");console.log(n.A.test,o.A.another)},\\"./a/strings1.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={test:\\"baz\\"}},\\"./a/strings2.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={another:\\"some random translation\\"}}}]);", - "/release/chunks/asyncLoc2-LOCALE1-b760f298d7bc1f62e3b1.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[17],{\\"./a/asyncLoc2.js\\"(s,_,e){e.r(_);var n=e(\\"./a/strings1.loc.json\\"),o=e(\\"./a/strings2.loc.json\\");console.log(n.A.test+o.A.another)},\\"./a/strings1.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={test:\\"blah\\"}},\\"./a/strings2.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={another:\\"something else\\"}}}]);", - "/release/chunks/asyncLoc2-LOCALE2-ef5398180b583e8de437.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[17],{\\"./a/asyncLoc2.js\\"(s,_,e){e.r(_);var n=e(\\"./a/strings1.loc.json\\"),o=e(\\"./a/strings2.loc.json\\");console.log(n.A.test+o.A.another)},\\"./a/strings1.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={test:\\"baz\\"}},\\"./a/strings2.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={another:\\"some random translation\\"}}}]);", - "/release/main-LOCALE1-1ec39d0fc22fe64babfa.js": "(()=>{var e,t,r,n={},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return n[e](r,r.exports,a),r.exports}a.m=n,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if(\\"object\\"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&\\"function\\"==typeof r.then)return r}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;(\\"object\\"==typeof c||\\"function\\"==typeof c)&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(e=>i[e]=()=>r[e]);return i.default=()=>r,a.d(o,i),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,r)=>(a.f[r](e,t),t),[])),a.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",230:\\"async1\\",410:\\"asyncLoc1\\",421:\\"async2\\"}[e]+\\"-\\"+({17:1,410:1}[e]?\\"LOCALE1\\":\\"none\\")+\\"-\\"+{17:\\"b760f298d7bc1f62e3b1\\",230:\\"ce8921222513d795983d\\",410:\\"062edb5879708f9fb249\\",421:\\"fc09185ee60175177398\\"}[e]+\\".js\\",a.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},a.l=(e,t,n,o)=>{if(r[e])r[e].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\\"script\\"),u=0;u{i.onerror=i.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),t)return t(n)},p=setTimeout(l.bind(null,void 0,{type:\\"timeout\\",target:i}),12e4);i.onerror=l.bind(null,i.onerror),i.onload=l.bind(null,i.onload),c&&document.head.appendChild(i)}},a.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;a.g.importScripts&&(e=a.g.location+\\"\\");var t=a.g.document;if(!e&&t&&(t.currentScript&&\\"SCRIPT\\"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName(\\"script\\");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),a.p=e})(),(()=>{var e={792:0};a.f.j=(t,r)=>{var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var i=a.p+a.u(t),c=new Error;a.l(i,r=>{if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&(\\"load\\"===r.type?\\"missing\\":r.type),i=r&&r.target&&r.target.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+o+\\": \\"+i+\\")\\",c.name=\\"ChunkLoadError\\",c.type=o,c.request=i,n[1](c)}},\\"chunk-\\"+t,t)}};var t=(t,r)=>{var n,o,[i,c,s]=r,u=0;if(i.some(t=>0!==e[t])){for(n in c)a.o(c,n)&&(a.m[n]=c[n]);s&&s(a)}for(t&&t(r);u{var e,t,r,n={},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return n[e](r,r.exports,a),r.exports}a.m=n,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if(\\"object\\"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&\\"function\\"==typeof r.then)return r}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;(\\"object\\"==typeof c||\\"function\\"==typeof c)&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(e=>i[e]=()=>r[e]);return i.default=()=>r,a.d(o,i),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,r)=>(a.f[r](e,t),t),[])),a.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",230:\\"async1\\",410:\\"asyncLoc1\\",421:\\"async2\\"}[e]+\\"-\\"+({17:1,410:1}[e]?\\"LOCALE2\\":\\"none\\")+\\"-\\"+{17:\\"ef5398180b583e8de437\\",230:\\"ce8921222513d795983d\\",410:\\"2504e57dfecd2054cd5b\\",421:\\"fc09185ee60175177398\\"}[e]+\\".js\\",a.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},a.l=(e,t,n,o)=>{if(r[e])r[e].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\\"script\\"),u=0;u{i.onerror=i.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),t)return t(n)},p=setTimeout(l.bind(null,void 0,{type:\\"timeout\\",target:i}),12e4);i.onerror=l.bind(null,i.onerror),i.onload=l.bind(null,i.onload),c&&document.head.appendChild(i)}},a.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;a.g.importScripts&&(e=a.g.location+\\"\\");var t=a.g.document;if(!e&&t&&(t.currentScript&&\\"SCRIPT\\"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName(\\"script\\");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),a.p=e})(),(()=>{var e={792:0};a.f.j=(t,r)=>{var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var i=a.p+a.u(t),c=new Error;a.l(i,r=>{if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&(\\"load\\"===r.type?\\"missing\\":r.type),i=r&&r.target&&r.target.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+o+\\": \\"+i+\\")\\",c.name=\\"ChunkLoadError\\",c.type=o,c.request=i,n[1](c)}},\\"chunk-\\"+t,t)}};var t=(t,r)=>{var n,o,[i,c,s]=r,u=0;if(i.some(t=>0!==e[t])){for(n in c)a.o(c,n)&&(a.m[n]=c[n]);s&&s(a)}for(t&&t(r);u{var e={};const t={};function n(o){const r=t[o];if(void 0!==r)return r.exports;const c=t[o]={exports:{}};return e[o](c,c.exports,n),c.exports}n.m=e,(()=>{const e=Object.getPrototypeOf;let t;n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if(\\"object\\"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&\\"function\\"==typeof o.then)return o}const c=Object.create(null);n.r(c);const s=Object.create(null);t=t||[null,e({}),e([]),e(e)];for(var a=2&r&&o;(\\"object\\"==typeof a||\\"function\\"==typeof a)&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(e=>s[e]=()=>o[e]);return s.default=()=>o,n.d(c,s),c}})(),n.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o{const t=[];return n.f.j(e,t),Promise.all(t)},n.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",230:\\"async1\\",410:\\"asyncLoc1\\",421:\\"async2\\"}[e]+\\"-\\"+({17:1,410:1}[e]?\\"LOCALE1\\":\\"none\\")+\\"-\\"+{17:\\"22a01352300a9e1e10fb\\",230:\\"dff9e5f9011a8c0da93a\\",410:\\"c61c520a577f3d743eee\\",421:\\"73d2312af1808114494b\\"}[e]+\\".js\\",n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};n.l=(t,o,r,c)=>{if(e[t])return void e[t].push(o);let s,a;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var i=0;i{s.onerror=s.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],s.parentNode?.removeChild(s),r?.forEach(e=>e(o)),n)return n(o)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:s}),12e4);s.onerror=l.bind(0,s.onerror),s.onload=l.bind(0,s.onload),a&&document.head.appendChild(s)}})(),n.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let n=t.length;for(;n&&(!e||!/^https?:/.test(e));)e=t[--n].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");n.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={792:0};n.f.j=(t,o)=>{let r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{const c=new Promise((n,o)=>r=e[t]=[n,o]);o.push(r[2]=c);const s=new Error,a=o=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=o&&(\\"load\\"===o.type?\\"missing\\":o.type),n=o?.target?.src;s.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+n+\\")\\",s.name=\\"ChunkLoadError\\",s.type=e,s.request=n,s.event=o,r[1](s)}};n.l(n.p+n.u(t),a,\\"chunk-\\"+t,t)}};const t=(t,o)=>{let[r,c,s]=o;var a,i,l=0;if(r.some(t=>0!==e[t])){for(a in c)n.o(c,a)&&(n.m[a]=c[a]);s&&s(n)}for(t&&t(o);ln(\\"./a/asyncLoc1.js\\")),n.e(17).then(()=>n(\\"./a/asyncLoc2.js\\")),n.e(230).then(()=>n.t(\\"./a/async1.js\\",23)),n.e(421).then(()=>n.t(\\"./a/async2.js\\",23))})();", + "/release/main-LOCALE2-e8a8ed0a4a07e926a902.js": "(()=>{var e={};const t={};function n(o){const r=t[o];if(void 0!==r)return r.exports;const c=t[o]={exports:{}};return e[o](c,c.exports,n),c.exports}n.m=e,(()=>{const e=Object.getPrototypeOf;let t;n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if(\\"object\\"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&\\"function\\"==typeof o.then)return o}const c=Object.create(null);n.r(c);const s=Object.create(null);t=t||[null,e({}),e([]),e(e)];for(var a=2&r&&o;(\\"object\\"==typeof a||\\"function\\"==typeof a)&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(e=>s[e]=()=>o[e]);return s.default=()=>o,n.d(c,s),c}})(),n.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o{const t=[];return n.f.j(e,t),Promise.all(t)},n.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",230:\\"async1\\",410:\\"asyncLoc1\\",421:\\"async2\\"}[e]+\\"-\\"+({17:1,410:1}[e]?\\"LOCALE2\\":\\"none\\")+\\"-\\"+{17:\\"16b3c7b97c1a1756d3ad\\",230:\\"dff9e5f9011a8c0da93a\\",410:\\"de65ea469caf12e2c16b\\",421:\\"73d2312af1808114494b\\"}[e]+\\".js\\",n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};n.l=(t,o,r,c)=>{if(e[t])return void e[t].push(o);let s,a;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var i=0;i{s.onerror=s.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],s.parentNode?.removeChild(s),r?.forEach(e=>e(o)),n)return n(o)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:s}),12e4);s.onerror=l.bind(0,s.onerror),s.onload=l.bind(0,s.onload),a&&document.head.appendChild(s)}})(),n.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let n=t.length;for(;n&&(!e||!/^https?:/.test(e));)e=t[--n].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");n.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={792:0};n.f.j=(t,o)=>{let r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{const c=new Promise((n,o)=>r=e[t]=[n,o]);o.push(r[2]=c);const s=new Error,a=o=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=o&&(\\"load\\"===o.type?\\"missing\\":o.type),n=o?.target?.src;s.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+n+\\")\\",s.name=\\"ChunkLoadError\\",s.type=e,s.request=n,s.event=o,r[1](s)}};n.l(n.p+n.u(t),a,\\"chunk-\\"+t,t)}};const t=(t,o)=>{let[r,c,s]=o;var a,i,l=0;if(r.some(t=>0!==e[t])){for(a in c)n.o(c,a)&&(n.m[a]=c[a]);s&&s(n)}for(t&&t(o);ln(\\"./a/asyncLoc1.js\\")),n.e(17).then(()=>n(\\"./a/asyncLoc2.js\\")),n.e(230).then(()=>n.t(\\"./a/async1.js\\",23)),n.e(421).then(()=>n.t(\\"./a/async2.js\\",23))})();", } `; @@ -20,22 +20,22 @@ Object { "entrypoints": Object { "main": Object { "localizedAssets": Object { - "LOCALE1": "main-LOCALE1-1ec39d0fc22fe64babfa.js", - "LOCALE2": "main-LOCALE2-447106f943d91610caad.js", + "LOCALE1": "main-LOCALE1-db4e103b361e4980472b.js", + "LOCALE2": "main-LOCALE2-e8a8ed0a4a07e926a902.js", }, }, }, "namedChunkGroups": Object { "asyncLoc1": Object { "localizedAssets": Object { - "LOCALE1": "chunks/asyncLoc1-LOCALE1-062edb5879708f9fb249.js", - "LOCALE2": "chunks/asyncLoc1-LOCALE2-2504e57dfecd2054cd5b.js", + "LOCALE1": "chunks/asyncLoc1-LOCALE1-c61c520a577f3d743eee.js", + "LOCALE2": "chunks/asyncLoc1-LOCALE2-de65ea469caf12e2c16b.js", }, }, "asyncLoc2": Object { "localizedAssets": Object { - "LOCALE1": "chunks/asyncLoc2-LOCALE1-b760f298d7bc1f62e3b1.js", - "LOCALE2": "chunks/asyncLoc2-LOCALE2-ef5398180b583e8de437.js", + "LOCALE1": "chunks/asyncLoc2-LOCALE1-22a01352300a9e1e10fb.js", + "LOCALE2": "chunks/asyncLoc2-LOCALE2-16b3c7b97c1a1756d3ad.js", }, }, }, @@ -46,7 +46,7 @@ exports[`LocalizationPlugin Handles async localized and non-localized chunks (mi exports[`LocalizationPlugin Handles async localized and non-localized chunks (unminified): Content 1`] = ` Object { - "/release/chunks/async1-none-1a0fbdf5d7b98dab1dbc.js": "(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[230],{ + "/release/chunks/async1-none-a0cce43bc76278ad240a.js": "(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[230],{ /***/ \\"./a/async1.js\\" () { @@ -56,7 +56,7 @@ console.log(\\"blah1\\"); /***/ } }]);", - "/release/chunks/async2-none-6103efda0304bd6514b5.js": "(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[421],{ + "/release/chunks/async2-none-2a855e486664b540fc88.js": "(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[421],{ /***/ \\"./a/async2.js\\" () { @@ -66,8 +66,8 @@ console.log(\\"blah2\\"); /***/ } }]);", - "/release/chunks/asyncLoc1-LOCALE1-ec1accc9a7f442ca2a3e.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[410],{ + "/release/chunks/asyncLoc1-LOCALE1-b0ed2fbc34e7d31d53ab.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[410],{ /***/ \\"./a/asyncLoc1.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -82,28 +82,30 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"blah\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"something else\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", - "/release/chunks/asyncLoc1-LOCALE2-a1a41403b97aaaea6241.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[410],{ + "/release/chunks/asyncLoc1-LOCALE2-c2355c5684b88a3aceed.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[410],{ /***/ \\"./a/asyncLoc1.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -118,28 +120,30 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"baz\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"some random translation\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", - "/release/chunks/asyncLoc2-LOCALE1-6e6d077d84da2cb1a30c.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[17],{ + "/release/chunks/asyncLoc2-LOCALE1-70ce26b97a777930e8bf.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[17],{ /***/ \\"./a/asyncLoc2.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -154,28 +158,30 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"blah\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"something else\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", - "/release/chunks/asyncLoc2-LOCALE2-df9e6e0098352a8ce57b.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[17],{ + "/release/chunks/asyncLoc2-LOCALE2-188e7ad299b6c3974a1c.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[17],{ /***/ \\"./a/asyncLoc2.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -190,41 +196,43 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"baz\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"some random translation\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", - "/release/main-LOCALE1-a05f102d60dfc5a98eb4.js": "/******/ (() => { // webpackBootstrap + "/release/main-LOCALE1-31c7c1d87c0e3994c5ad.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -243,8 +251,8 @@ const strings = {\\"another\\":\\"some random translation\\"}; /************************************************************************/ /******/ /* webpack/runtime/create fake namespace object */ /******/ (() => { -/******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__); -/******/ var leafPrototypes; +/******/ const getProto = Object.getPrototypeOf; +/******/ let leafPrototypes; /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns @@ -258,9 +266,9 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ if((mode & 4) && value.__esModule) return value; /******/ if((mode & 16) && typeof value.then === 'function') return value; /******/ } -/******/ var ns = Object.create(null); +/******/ const ns = Object.create(null); /******/ __webpack_require__.r(ns); -/******/ var def = {}; +/******/ const def = Object.create(null); /******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)]; /******/ for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) { /******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key]))); @@ -272,68 +280,54 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ })(); /******/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ if(Array.isArray(definition)) { +/******/ var i = 0; +/******/ while(i < definition.length) { +/******/ var key = definition[i++]; +/******/ var binding = definition[i++]; +/******/ var descriptor = binding ? { enumerable: true, get: binding } : { enumerable: true, value: definition[i++] }; +/******/ if(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor); +/******/ } +/******/ } else { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + {\\"17\\":\\"asyncLoc2\\",\\"230\\":\\"async1\\",\\"410\\":\\"asyncLoc1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + ({\\"17\\":1,\\"410\\":1}[chunkId]?\\"LOCALE1\\":\\"none\\") + \\"-\\" + {\\"17\\":\\"6e6d077d84da2cb1a30c\\",\\"230\\":\\"1a0fbdf5d7b98dab1dbc\\",\\"410\\":\\"ec1accc9a7f442ca2a3e\\",\\"421\\":\\"6103efda0304bd6514b5\\"}[chunkId] + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + {\\"17\\":\\"asyncLoc2\\",\\"230\\":\\"async1\\",\\"410\\":\\"asyncLoc1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + ({\\"17\\":1,\\"410\\":1}[chunkId]?\\"LOCALE1\\":\\"none\\") + \\"-\\" + {\\"17\\":\\"70ce26b97a777930e8bf\\",\\"230\\":\\"a0cce43bc76278ad240a\\",\\"410\\":\\"b0ed2fbc34e7d31d53ab\\",\\"421\\":\\"2a855e486664b540fc88\\"}[chunkId] + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -350,55 +344,47 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -408,13 +394,13 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 792: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -423,29 +409,28 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -462,8 +447,8 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -486,31 +471,31 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.bind(__webpack_require__, \\"./a/asyncLoc1.js\\"));__webpack_require__.e(/* import() | asyncLoc2 */ 17).then(__webpack_require__.bind(__webpack_require__, \\"./a/asyncLoc2.js\\"));__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.t.bind(__webpack_require__, \\"./a/async1.js\\", 23));__webpack_require__.e(/* import() | async2 */ 421).then(__webpack_require__.t.bind(__webpack_require__, \\"./a/async2.js\\", 23)); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | asyncLoc1 */ 410).then(() => (__webpack_require__(\\"./a/asyncLoc1.js\\")));__webpack_require__.e(/* import() | asyncLoc2 */ 17).then(() => (__webpack_require__(\\"./a/asyncLoc2.js\\")));__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__.t(\\"./a/async1.js\\", 23)));__webpack_require__.e(/* import() | async2 */ 421).then(() => (__webpack_require__.t(\\"./a/async2.js\\", 23))); /******/ })() ;", - "/release/main-LOCALE2-95149f7ac7c9c4b7c845.js": "/******/ (() => { // webpackBootstrap + "/release/main-LOCALE2-06db9bfad122c69a3312.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -529,8 +514,8 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /************************************************************************/ /******/ /* webpack/runtime/create fake namespace object */ /******/ (() => { -/******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__); -/******/ var leafPrototypes; +/******/ const getProto = Object.getPrototypeOf; +/******/ let leafPrototypes; /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns @@ -544,9 +529,9 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ if((mode & 4) && value.__esModule) return value; /******/ if((mode & 16) && typeof value.then === 'function') return value; /******/ } -/******/ var ns = Object.create(null); +/******/ const ns = Object.create(null); /******/ __webpack_require__.r(ns); -/******/ var def = {}; +/******/ const def = Object.create(null); /******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)]; /******/ for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) { /******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key]))); @@ -558,68 +543,54 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ })(); /******/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ if(Array.isArray(definition)) { +/******/ var i = 0; +/******/ while(i < definition.length) { +/******/ var key = definition[i++]; +/******/ var binding = definition[i++]; +/******/ var descriptor = binding ? { enumerable: true, get: binding } : { enumerable: true, value: definition[i++] }; +/******/ if(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor); +/******/ } +/******/ } else { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + {\\"17\\":\\"asyncLoc2\\",\\"230\\":\\"async1\\",\\"410\\":\\"asyncLoc1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + ({\\"17\\":1,\\"410\\":1}[chunkId]?\\"LOCALE2\\":\\"none\\") + \\"-\\" + {\\"17\\":\\"df9e6e0098352a8ce57b\\",\\"230\\":\\"1a0fbdf5d7b98dab1dbc\\",\\"410\\":\\"a1a41403b97aaaea6241\\",\\"421\\":\\"6103efda0304bd6514b5\\"}[chunkId] + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + {\\"17\\":\\"asyncLoc2\\",\\"230\\":\\"async1\\",\\"410\\":\\"asyncLoc1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + ({\\"17\\":1,\\"410\\":1}[chunkId]?\\"LOCALE2\\":\\"none\\") + \\"-\\" + {\\"17\\":\\"188e7ad299b6c3974a1c\\",\\"230\\":\\"a0cce43bc76278ad240a\\",\\"410\\":\\"c2355c5684b88a3aceed\\",\\"421\\":\\"2a855e486664b540fc88\\"}[chunkId] + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -636,55 +607,47 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -694,13 +657,13 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 792: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -709,29 +672,28 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -748,8 +710,8 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -772,14 +734,14 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.bind(__webpack_require__, \\"./a/asyncLoc1.js\\"));__webpack_require__.e(/* import() | asyncLoc2 */ 17).then(__webpack_require__.bind(__webpack_require__, \\"./a/asyncLoc2.js\\"));__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.t.bind(__webpack_require__, \\"./a/async1.js\\", 23));__webpack_require__.e(/* import() | async2 */ 421).then(__webpack_require__.t.bind(__webpack_require__, \\"./a/async2.js\\", 23)); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | asyncLoc1 */ 410).then(() => (__webpack_require__(\\"./a/asyncLoc1.js\\")));__webpack_require__.e(/* import() | asyncLoc2 */ 17).then(() => (__webpack_require__(\\"./a/asyncLoc2.js\\")));__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__.t(\\"./a/async1.js\\", 23)));__webpack_require__.e(/* import() | async2 */ 421).then(() => (__webpack_require__.t(\\"./a/async2.js\\", 23))); /******/ })() ;", } @@ -792,22 +754,22 @@ Object { "entrypoints": Object { "main": Object { "localizedAssets": Object { - "LOCALE1": "main-LOCALE1-a05f102d60dfc5a98eb4.js", - "LOCALE2": "main-LOCALE2-95149f7ac7c9c4b7c845.js", + "LOCALE1": "main-LOCALE1-31c7c1d87c0e3994c5ad.js", + "LOCALE2": "main-LOCALE2-06db9bfad122c69a3312.js", }, }, }, "namedChunkGroups": Object { "asyncLoc1": Object { "localizedAssets": Object { - "LOCALE1": "chunks/asyncLoc1-LOCALE1-ec1accc9a7f442ca2a3e.js", - "LOCALE2": "chunks/asyncLoc1-LOCALE2-a1a41403b97aaaea6241.js", + "LOCALE1": "chunks/asyncLoc1-LOCALE1-b0ed2fbc34e7d31d53ab.js", + "LOCALE2": "chunks/asyncLoc1-LOCALE2-c2355c5684b88a3aceed.js", }, }, "asyncLoc2": Object { "localizedAssets": Object { - "LOCALE1": "chunks/asyncLoc2-LOCALE1-6e6d077d84da2cb1a30c.js", - "LOCALE2": "chunks/asyncLoc2-LOCALE2-df9e6e0098352a8ce57b.js", + "LOCALE1": "chunks/asyncLoc2-LOCALE1-70ce26b97a777930e8bf.js", + "LOCALE2": "chunks/asyncLoc2-LOCALE2-188e7ad299b6c3974a1c.js", }, }, }, diff --git a/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsyncDynamic.test.ts.snap b/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsyncDynamic.test.ts.snap index 844fdd0ab6d..c6f0194cde0 100644 --- a/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsyncDynamic.test.ts.snap +++ b/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsyncDynamic.test.ts.snap @@ -2,14 +2,14 @@ exports[`LocalizationPlugin Handles async localized and non-localized chunks with a runtime locale expression (minified): Content 1`] = ` Object { - "/release/chunks/async1-none-32ce9abf1782d4e3237b.js": "(self.webpackChunk=self.webpackChunk||[]).push([[230],{\\"./a/async1.js\\"(){console.log(\\"blah1\\")}}]);", - "/release/chunks/async2-none-1284119be66c26ee2b30.js": "(self.webpackChunk=self.webpackChunk||[]).push([[421],{\\"./a/async2.js\\"(){console.log(\\"blah2\\")}}]);", - "/release/chunks/asyncLoc1-LOCALE1-5bbdbc0ff0b150348192.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[410],{\\"./a/asyncLoc1.js\\"(s,_,e){e.r(_);var n=e(\\"./a/strings1.loc.json\\"),o=e(\\"./a/strings2.loc.json\\");console.log(n.A.test,o.A.another)},\\"./a/strings1.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={test:\\"blah\\"}},\\"./a/strings2.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={another:\\"something else\\"}}}]);", - "/release/chunks/asyncLoc1-LOCALE2-5bbdbc0ff0b150348192.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[410],{\\"./a/asyncLoc1.js\\"(s,_,e){e.r(_);var n=e(\\"./a/strings1.loc.json\\"),o=e(\\"./a/strings2.loc.json\\");console.log(n.A.test,o.A.another)},\\"./a/strings1.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={test:\\"baz\\"}},\\"./a/strings2.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={another:\\"some random translation\\"}}}]);", - "/release/chunks/asyncLoc2-LOCALE1-2f5276aad39c19003c8a.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[17],{\\"./a/asyncLoc2.js\\"(s,_,e){e.r(_);var n=e(\\"./a/strings1.loc.json\\"),o=e(\\"./a/strings2.loc.json\\");console.log(n.A.test+o.A.another)},\\"./a/strings1.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={test:\\"blah\\"}},\\"./a/strings2.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={another:\\"something else\\"}}}]);", - "/release/chunks/asyncLoc2-LOCALE2-2f5276aad39c19003c8a.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[17],{\\"./a/asyncLoc2.js\\"(s,_,e){e.r(_);var n=e(\\"./a/strings1.loc.json\\"),o=e(\\"./a/strings2.loc.json\\");console.log(n.A.test+o.A.another)},\\"./a/strings1.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={test:\\"baz\\"}},\\"./a/strings2.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={another:\\"some random translation\\"}}}]);", - "/release/mainFourChunks-none-f956dad41e66f1ffb6fd.js": "(()=>{var e,t,r,n={},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return n[e](r,r.exports,a),r.exports}a.m=n,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if(\\"object\\"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&\\"function\\"==typeof r.then)return r}var o=Object.create(null);a.r(o);var c={};e=e||[null,t({}),t([]),t(t)];for(var i=2&n&&r;(\\"object\\"==typeof i||\\"function\\"==typeof i)&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach(e=>c[e]=()=>r[e]);return c.default=()=>r,a.d(o,c),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,r)=>(a.f[r](e,t),t),[])),a.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",230:\\"async1\\",410:\\"asyncLoc1\\",421:\\"async2\\"}[e]+\\"-\\"+({17:1,410:1}[e]?self.__locale:\\"none\\")+\\"-\\"+{17:\\"2f5276aad39c19003c8a\\",230:\\"32ce9abf1782d4e3237b\\",410:\\"5bbdbc0ff0b150348192\\",421:\\"1284119be66c26ee2b30\\"}[e]+\\".js\\",a.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},a.l=(e,t,n,o)=>{if(r[e])r[e].push(t);else{var c,i;if(void 0!==n)for(var s=document.getElementsByTagName(\\"script\\"),l=0;l{c.onerror=c.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach(e=>e(n)),t)return t(n)},p=setTimeout(f.bind(null,void 0,{type:\\"timeout\\",target:c}),12e4);c.onerror=f.bind(null,c.onerror),c.onload=f.bind(null,c.onload),i&&document.head.appendChild(c)}},a.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;a.g.importScripts&&(e=a.g.location+\\"\\");var t=a.g.document;if(!e&&t&&(t.currentScript&&\\"SCRIPT\\"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName(\\"script\\");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),a.p=e})(),(()=>{var e={882:0};a.f.j=(t,r)=>{var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var c=a.p+a.u(t),i=new Error;a.l(c,r=>{if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&(\\"load\\"===r.type?\\"missing\\":r.type),c=r&&r.target&&r.target.src;i.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+o+\\": \\"+c+\\")\\",i.name=\\"ChunkLoadError\\",i.type=o,i.request=c,n[1](i)}},\\"chunk-\\"+t,t)}};var t=(t,r)=>{var n,o,[c,i,s]=r,l=0;if(c.some(t=>0!==e[t])){for(n in i)a.o(i,n)&&(a.m[n]=i[n]);s&&s(a)}for(t&&t(r);l{var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",410:\\"asyncLoc1\\"}[e]+\\"-\\"+self.__locale+\\"-\\"+{17:\\"2f5276aad39c19003c8a\\",410:\\"5bbdbc0ff0b150348192\\"}[e]+\\".js\\",o.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var l=document.getElementsByTagName(\\"script\\"),s=0;s{i.onerror=i.onload=null,clearTimeout(d);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},d=setTimeout(p.bind(null,void 0,{type:\\"timeout\\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},o.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;o.g.importScripts&&(e=o.g.location+\\"\\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\\"SCRIPT\\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\\"script\\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),o.p=e})(),(()=>{var e={580:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\\"load\\"===t.type?\\"missing\\":t.type),i=t&&t.target&&t.target.src;c.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+a+\\": \\"+i+\\")\\",c.name=\\"ChunkLoadError\\",c.type=a,c.request=i,n[1](c)}},\\"chunk-\\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,l]=t,s=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);l&&l(o)}for(r&&r(t);s{var e={};const t={};function n(o){const r=t[o];if(void 0!==r)return r.exports;const c=t[o]={exports:{}};return e[o](c,c.exports,n),c.exports}n.m=e,(()=>{const e=Object.getPrototypeOf;let t;n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if(\\"object\\"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&\\"function\\"==typeof o.then)return o}const c=Object.create(null);n.r(c);const s=Object.create(null);t=t||[null,e({}),e([]),e(e)];for(var a=2&r&&o;(\\"object\\"==typeof a||\\"function\\"==typeof a)&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(e=>s[e]=()=>o[e]);return s.default=()=>o,n.d(c,s),c}})(),n.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o{const t=[];return n.f.j(e,t),Promise.all(t)},n.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",230:\\"async1\\",410:\\"asyncLoc1\\",421:\\"async2\\"}[e]+\\"-\\"+({17:1,410:1}[e]?self.__locale:\\"none\\")+\\"-\\"+{17:\\"6c21a38480b635fe9520\\",230:\\"fb31d5cbb11961eebd2d\\",410:\\"c4213813b19afe41407e\\",421:\\"2ecd288593c4bec7381d\\"}[e]+\\".js\\",n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};n.l=(t,o,r,c)=>{if(e[t])return void e[t].push(o);let s,a;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var i=0;i{s.onerror=s.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],s.parentNode?.removeChild(s),r?.forEach(e=>e(o)),n)return n(o)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:s}),12e4);s.onerror=l.bind(0,s.onerror),s.onload=l.bind(0,s.onload),a&&document.head.appendChild(s)}})(),n.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let n=t.length;for(;n&&(!e||!/^https?:/.test(e));)e=t[--n].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");n.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={882:0};n.f.j=(t,o)=>{let r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{const c=new Promise((n,o)=>r=e[t]=[n,o]);o.push(r[2]=c);const s=new Error,a=o=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=o&&(\\"load\\"===o.type?\\"missing\\":o.type),n=o?.target?.src;s.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+n+\\")\\",s.name=\\"ChunkLoadError\\",s.type=e,s.request=n,s.event=o,r[1](s)}};n.l(n.p+n.u(t),a,\\"chunk-\\"+t,t)}};const t=(t,o)=>{let[r,c,s]=o;var a,i,l=0;if(r.some(t=>0!==e[t])){for(a in c)n.o(c,a)&&(n.m[a]=c[a]);s&&s(n)}for(t&&t(o);ln(\\"./a/asyncLoc1.js\\")),n.e(17).then(()=>n(\\"./a/asyncLoc2.js\\")),n.e(230).then(()=>n.t(\\"./a/async1.js\\",23)),n.e(421).then(()=>n.t(\\"./a/async2.js\\",23))})();", + "/release/mainTwoChunks-none-2da5c2085b25c08f9980.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e,o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;r{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",410:\\"asyncLoc1\\"}[e]+\\"-\\"+self.__locale+\\"-\\"+{17:\\"6c21a38480b635fe9520\\",410:\\"c4213813b19afe41407e\\"}[e]+\\".js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,r,n,s)=>{if(e[t])return void e[t].push(r);let c,a;if(void 0!==n){const e=document.getElementsByTagName(\\"script\\");for(var i=0;i{c.onerror=c.onload=null,clearTimeout(u);const n=e[t];if(delete e[t],c.parentNode?.removeChild(c),n?.forEach(e=>e(r)),o)return o(r)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),a&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const c=new Error,a=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=r,n[1](c)}};o.l(o.p+o.u(t),a,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,c]=r;var a,i,l=0;if(n.some(t=>0!==e[t])){for(a in s)o.o(s,a)&&(o.m[a]=s[a]);c&&c(o)}for(t&&t(r);lo(\\"./a/asyncLoc1.js\\")),o.e(17).then(()=>o(\\"./a/asyncLoc2.js\\"))})();", } `; @@ -21,14 +21,14 @@ Object { "namedChunkGroups": Object { "asyncLoc1": Object { "localizedAssets": Object { - "LOCALE1": "chunks/asyncLoc1-LOCALE1-5bbdbc0ff0b150348192.js", - "LOCALE2": "chunks/asyncLoc1-LOCALE2-5bbdbc0ff0b150348192.js", + "LOCALE1": "chunks/asyncLoc1-LOCALE1-c4213813b19afe41407e.js", + "LOCALE2": "chunks/asyncLoc1-LOCALE2-c4213813b19afe41407e.js", }, }, "asyncLoc2": Object { "localizedAssets": Object { - "LOCALE1": "chunks/asyncLoc2-LOCALE1-2f5276aad39c19003c8a.js", - "LOCALE2": "chunks/asyncLoc2-LOCALE2-2f5276aad39c19003c8a.js", + "LOCALE1": "chunks/asyncLoc2-LOCALE1-6c21a38480b635fe9520.js", + "LOCALE2": "chunks/asyncLoc2-LOCALE2-6c21a38480b635fe9520.js", }, }, }, @@ -39,7 +39,7 @@ exports[`LocalizationPlugin Handles async localized and non-localized chunks wit exports[`LocalizationPlugin Handles async localized and non-localized chunks with a runtime locale expression (unminified): Content 1`] = ` Object { - "/release/chunks/async1-none-0b9a18e34a186770e865.js": "(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[230],{ + "/release/chunks/async1-none-777f45109a6c93dc3d84.js": "(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[230],{ /***/ \\"./a/async1.js\\" () { @@ -49,7 +49,7 @@ console.log(\\"blah1\\"); /***/ } }]);", - "/release/chunks/async2-none-403f7af31493ef9e3d3b.js": "(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[421],{ + "/release/chunks/async2-none-b038e9366ef037480c26.js": "(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[421],{ /***/ \\"./a/async2.js\\" () { @@ -59,8 +59,8 @@ console.log(\\"blah2\\"); /***/ } }]);", - "/release/chunks/asyncLoc1-LOCALE1-1e30c626bc07e02e5b94.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[410],{ + "/release/chunks/asyncLoc1-LOCALE1-2ced14eb40c53d495f2b.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[410],{ /***/ \\"./a/asyncLoc1.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -75,28 +75,30 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"blah\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"something else\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", - "/release/chunks/asyncLoc1-LOCALE2-1e30c626bc07e02e5b94.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[410],{ + "/release/chunks/asyncLoc1-LOCALE2-2ced14eb40c53d495f2b.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[410],{ /***/ \\"./a/asyncLoc1.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -111,28 +113,30 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"baz\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"some random translation\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", - "/release/chunks/asyncLoc2-LOCALE1-ec0512268756941c4c69.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[17],{ + "/release/chunks/asyncLoc2-LOCALE1-75103b9c6f18a703ddd3.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[17],{ /***/ \\"./a/asyncLoc2.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -147,28 +151,30 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"blah\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"something else\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", - "/release/chunks/asyncLoc2-LOCALE2-ec0512268756941c4c69.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[17],{ + "/release/chunks/asyncLoc2-LOCALE2-75103b9c6f18a703ddd3.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[17],{ /***/ \\"./a/asyncLoc2.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -183,41 +189,43 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"baz\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"some random translation\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", - "/release/mainFourChunks-none-c2e049d48732ca693471.js": "/******/ (() => { // webpackBootstrap + "/release/mainFourChunks-none-97341c01cbfca1b3779e.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -236,8 +244,8 @@ const strings = {\\"another\\":\\"some random translation\\"}; /************************************************************************/ /******/ /* webpack/runtime/create fake namespace object */ /******/ (() => { -/******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__); -/******/ var leafPrototypes; +/******/ const getProto = Object.getPrototypeOf; +/******/ let leafPrototypes; /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns @@ -251,9 +259,9 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ if((mode & 4) && value.__esModule) return value; /******/ if((mode & 16) && typeof value.then === 'function') return value; /******/ } -/******/ var ns = Object.create(null); +/******/ const ns = Object.create(null); /******/ __webpack_require__.r(ns); -/******/ var def = {}; +/******/ const def = Object.create(null); /******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)]; /******/ for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) { /******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key]))); @@ -265,68 +273,54 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ })(); /******/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ if(Array.isArray(definition)) { +/******/ var i = 0; +/******/ while(i < definition.length) { +/******/ var key = definition[i++]; +/******/ var binding = definition[i++]; +/******/ var descriptor = binding ? { enumerable: true, get: binding } : { enumerable: true, value: definition[i++] }; +/******/ if(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor); +/******/ } +/******/ } else { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + {\\"17\\":\\"asyncLoc2\\",\\"230\\":\\"async1\\",\\"410\\":\\"asyncLoc1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + ({\\"17\\":1,\\"410\\":1}[chunkId]?self.__locale:\\"none\\") + \\"-\\" + {\\"17\\":\\"ec0512268756941c4c69\\",\\"230\\":\\"0b9a18e34a186770e865\\",\\"410\\":\\"1e30c626bc07e02e5b94\\",\\"421\\":\\"403f7af31493ef9e3d3b\\"}[chunkId] + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + {\\"17\\":\\"asyncLoc2\\",\\"230\\":\\"async1\\",\\"410\\":\\"asyncLoc1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + ({\\"17\\":1,\\"410\\":1}[chunkId]?self.__locale:\\"none\\") + \\"-\\" + {\\"17\\":\\"75103b9c6f18a703ddd3\\",\\"230\\":\\"777f45109a6c93dc3d84\\",\\"410\\":\\"2ced14eb40c53d495f2b\\",\\"421\\":\\"b038e9366ef037480c26\\"}[chunkId] + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -343,55 +337,47 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -401,13 +387,13 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 882: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -416,29 +402,28 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -455,8 +440,8 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -479,31 +464,31 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.bind(__webpack_require__, \\"./a/asyncLoc1.js\\"));__webpack_require__.e(/* import() | asyncLoc2 */ 17).then(__webpack_require__.bind(__webpack_require__, \\"./a/asyncLoc2.js\\"));__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.t.bind(__webpack_require__, \\"./a/async1.js\\", 23));__webpack_require__.e(/* import() | async2 */ 421).then(__webpack_require__.t.bind(__webpack_require__, \\"./a/async2.js\\", 23)); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | asyncLoc1 */ 410).then(() => (__webpack_require__(\\"./a/asyncLoc1.js\\")));__webpack_require__.e(/* import() | asyncLoc2 */ 17).then(() => (__webpack_require__(\\"./a/asyncLoc2.js\\")));__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__.t(\\"./a/async1.js\\", 23)));__webpack_require__.e(/* import() | async2 */ 421).then(() => (__webpack_require__.t(\\"./a/async2.js\\", 23))); /******/ })() ;", - "/release/mainTwoChunks-none-3df2ffaf55c9c2e3c8ac.js": "/******/ (() => { // webpackBootstrap + "/release/mainTwoChunks-none-a04bdfc3d1be4602457a.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -521,68 +506,54 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ /************************************************************************/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ if(Array.isArray(definition)) { +/******/ var i = 0; +/******/ while(i < definition.length) { +/******/ var key = definition[i++]; +/******/ var binding = definition[i++]; +/******/ var descriptor = binding ? { enumerable: true, get: binding } : { enumerable: true, value: definition[i++] }; +/******/ if(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor); +/******/ } +/******/ } else { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + {\\"17\\":\\"asyncLoc2\\",\\"410\\":\\"asyncLoc1\\"}[chunkId] + \\"-\\" + self.__locale + \\"-\\" + {\\"17\\":\\"ec0512268756941c4c69\\",\\"410\\":\\"1e30c626bc07e02e5b94\\"}[chunkId] + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + {\\"17\\":\\"asyncLoc2\\",\\"410\\":\\"asyncLoc1\\"}[chunkId] + \\"-\\" + self.__locale + \\"-\\" + {\\"17\\":\\"75103b9c6f18a703ddd3\\",\\"410\\":\\"2ced14eb40c53d495f2b\\"}[chunkId] + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -599,55 +570,47 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -657,13 +620,13 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 580: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -672,29 +635,28 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -711,8 +673,8 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -735,14 +697,14 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.bind(__webpack_require__, \\"./a/asyncLoc1.js\\"));__webpack_require__.e(/* import() | asyncLoc2 */ 17).then(__webpack_require__.bind(__webpack_require__, \\"./a/asyncLoc2.js\\")); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | asyncLoc1 */ 410).then(() => (__webpack_require__(\\"./a/asyncLoc1.js\\")));__webpack_require__.e(/* import() | asyncLoc2 */ 17).then(() => (__webpack_require__(\\"./a/asyncLoc2.js\\"))); /******/ })() ;", } @@ -756,14 +718,14 @@ Object { "namedChunkGroups": Object { "asyncLoc1": Object { "localizedAssets": Object { - "LOCALE1": "chunks/asyncLoc1-LOCALE1-1e30c626bc07e02e5b94.js", - "LOCALE2": "chunks/asyncLoc1-LOCALE2-1e30c626bc07e02e5b94.js", + "LOCALE1": "chunks/asyncLoc1-LOCALE1-2ced14eb40c53d495f2b.js", + "LOCALE2": "chunks/asyncLoc1-LOCALE2-2ced14eb40c53d495f2b.js", }, }, "asyncLoc2": Object { "localizedAssets": Object { - "LOCALE1": "chunks/asyncLoc2-LOCALE1-ec0512268756941c4c69.js", - "LOCALE2": "chunks/asyncLoc2-LOCALE2-ec0512268756941c4c69.js", + "LOCALE1": "chunks/asyncLoc2-LOCALE1-75103b9c6f18a703ddd3.js", + "LOCALE2": "chunks/asyncLoc2-LOCALE2-75103b9c6f18a703ddd3.js", }, }, }, diff --git a/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsyncNonHashed.test.ts.snap b/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsyncNonHashed.test.ts.snap index 9e3791f9eaa..c22c8856356 100644 --- a/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsyncNonHashed.test.ts.snap +++ b/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsyncNonHashed.test.ts.snap @@ -2,14 +2,14 @@ exports[`LocalizationPlugin Handles async localized and non-localized chunks with a runtime locale expression and without an asset filename hash (minified): Content 1`] = ` Object { - "/release/chunks/async1-none.js": "(self.webpackChunk=self.webpackChunk||[]).push([[230],{\\"./a/async1.js\\"(){console.log(\\"blah1\\")}}]);", - "/release/chunks/async2-none.js": "(self.webpackChunk=self.webpackChunk||[]).push([[421],{\\"./a/async2.js\\"(){console.log(\\"blah2\\")}}]);", - "/release/chunks/asyncLoc1-LOCALE1.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[410],{\\"./a/asyncLoc1.js\\"(s,_,e){e.r(_);var n=e(\\"./a/strings1.loc.json\\"),o=e(\\"./a/strings2.loc.json\\");console.log(n.A.test,o.A.another)},\\"./a/strings1.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={test:\\"blah\\"}},\\"./a/strings2.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={another:\\"something else\\"}}}]);", - "/release/chunks/asyncLoc1-LOCALE2.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[410],{\\"./a/asyncLoc1.js\\"(s,_,e){e.r(_);var n=e(\\"./a/strings1.loc.json\\"),o=e(\\"./a/strings2.loc.json\\");console.log(n.A.test,o.A.another)},\\"./a/strings1.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={test:\\"baz\\"}},\\"./a/strings2.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={another:\\"some random translation\\"}}}]);", - "/release/chunks/asyncLoc2-LOCALE1.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[17],{\\"./a/asyncLoc2.js\\"(s,_,e){e.r(_);var n=e(\\"./a/strings1.loc.json\\"),o=e(\\"./a/strings2.loc.json\\");console.log(n.A.test+o.A.another)},\\"./a/strings1.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={test:\\"blah\\"}},\\"./a/strings2.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={another:\\"something else\\"}}}]);", - "/release/chunks/asyncLoc2-LOCALE2.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[17],{\\"./a/asyncLoc2.js\\"(s,_,e){e.r(_);var n=e(\\"./a/strings1.loc.json\\"),o=e(\\"./a/strings2.loc.json\\");console.log(n.A.test+o.A.another)},\\"./a/strings1.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={test:\\"baz\\"}},\\"./a/strings2.loc.json\\"(s,_,e){e.d(_,{A:()=>n});const n={another:\\"some random translation\\"}}}]);", - "/release/main-LOCALE1.js": "(()=>{var e,t,r,n={},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return n[e](r,r.exports,a),r.exports}a.m=n,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if(\\"object\\"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&\\"function\\"==typeof r.then)return r}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;(\\"object\\"==typeof c||\\"function\\"==typeof c)&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(e=>i[e]=()=>r[e]);return i.default=()=>r,a.d(o,i),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,r)=>(a.f[r](e,t),t),[])),a.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",230:\\"async1\\",410:\\"asyncLoc1\\",421:\\"async2\\"}[e]+\\"-\\"+({17:1,410:1}[e]?\\"LOCALE1\\":\\"none\\")+\\".js\\",a.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},a.l=(e,t,n,o)=>{if(r[e])r[e].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\\"script\\"),u=0;u{i.onerror=i.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),t)return t(n)},p=setTimeout(f.bind(null,void 0,{type:\\"timeout\\",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),c&&document.head.appendChild(i)}},a.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;a.g.importScripts&&(e=a.g.location+\\"\\");var t=a.g.document;if(!e&&t&&(t.currentScript&&\\"SCRIPT\\"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName(\\"script\\");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),a.p=e})(),(()=>{var e={792:0};a.f.j=(t,r)=>{var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var i=a.p+a.u(t),c=new Error;a.l(i,r=>{if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&(\\"load\\"===r.type?\\"missing\\":r.type),i=r&&r.target&&r.target.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+o+\\": \\"+i+\\")\\",c.name=\\"ChunkLoadError\\",c.type=o,c.request=i,n[1](c)}},\\"chunk-\\"+t,t)}};var t=(t,r)=>{var n,o,[i,c,s]=r,u=0;if(i.some(t=>0!==e[t])){for(n in c)a.o(c,n)&&(a.m[n]=c[n]);s&&s(a)}for(t&&t(r);u{var e,t,r,n={},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return n[e](r,r.exports,a),r.exports}a.m=n,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if(\\"object\\"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&\\"function\\"==typeof r.then)return r}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;(\\"object\\"==typeof c||\\"function\\"==typeof c)&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach(e=>i[e]=()=>r[e]);return i.default=()=>r,a.d(o,i),o},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,r)=>(a.f[r](e,t),t),[])),a.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",230:\\"async1\\",410:\\"asyncLoc1\\",421:\\"async2\\"}[e]+\\"-\\"+({17:1,410:1}[e]?\\"LOCALE2\\":\\"none\\")+\\".js\\",a.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},a.l=(e,t,n,o)=>{if(r[e])r[e].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\\"script\\"),u=0;u{i.onerror=i.onload=null,clearTimeout(p);var o=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach(e=>e(n)),t)return t(n)},p=setTimeout(f.bind(null,void 0,{type:\\"timeout\\",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),c&&document.head.appendChild(i)}},a.r=e=>{\\"undefined\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\"Module\\"}),Object.defineProperty(e,\\"__esModule\\",{value:!0})},(()=>{var e;a.g.importScripts&&(e=a.g.location+\\"\\");var t=a.g.document;if(!e&&t&&(t.currentScript&&\\"SCRIPT\\"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName(\\"script\\");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),a.p=e})(),(()=>{var e={792:0};a.f.j=(t,r)=>{var n=a.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var i=a.p+a.u(t),c=new Error;a.l(i,r=>{if(a.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&(\\"load\\"===r.type?\\"missing\\":r.type),i=r&&r.target&&r.target.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+o+\\": \\"+i+\\")\\",c.name=\\"ChunkLoadError\\",c.type=o,c.request=i,n[1](c)}},\\"chunk-\\"+t,t)}};var t=(t,r)=>{var n,o,[i,c,s]=r,u=0;if(i.some(t=>0!==e[t])){for(n in c)a.o(c,n)&&(a.m[n]=c[n]);s&&s(a)}for(t&&t(r);u{var e={};const t={};function n(o){const r=t[o];if(void 0!==r)return r.exports;const s=t[o]={exports:{}};return e[o](s,s.exports,n),s.exports}n.m=e,(()=>{const e=Object.getPrototypeOf;let t;n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if(\\"object\\"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&\\"function\\"==typeof o.then)return o}const s=Object.create(null);n.r(s);const c=Object.create(null);t=t||[null,e({}),e([]),e(e)];for(var i=2&r&&o;(\\"object\\"==typeof i||\\"function\\"==typeof i)&&!~t.indexOf(i);i=e(i))Object.getOwnPropertyNames(i).forEach(e=>c[e]=()=>o[e]);return c.default=()=>o,n.d(s,c),s}})(),n.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o{const t=[];return n.f.j(e,t),Promise.all(t)},n.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",230:\\"async1\\",410:\\"asyncLoc1\\",421:\\"async2\\"}[e]+\\"-\\"+({17:1,410:1}[e]?\\"LOCALE1\\":\\"none\\")+\\".js\\",n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};n.l=(t,o,r,s)=>{if(e[t])return void e[t].push(o);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(o)),n)return n(o)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),n.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let n=t.length;for(;n&&(!e||!/^https?:/.test(e));)e=t[--n].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");n.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={792:0};n.f.j=(t,o)=>{let r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{const s=new Promise((n,o)=>r=e[t]=[n,o]);o.push(r[2]=s);const c=new Error,i=o=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=o&&(\\"load\\"===o.type?\\"missing\\":o.type),n=o?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+n+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=n,c.event=o,r[1](c)}};n.l(n.p+n.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,o)=>{let[r,s,c]=o;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)n.o(s,i)&&(n.m[i]=s[i]);c&&c(n)}for(t&&t(o);ln(\\"./a/asyncLoc1.js\\")),n.e(17).then(()=>n(\\"./a/asyncLoc2.js\\")),n.e(230).then(()=>n.t(\\"./a/async1.js\\",23)),n.e(421).then(()=>n.t(\\"./a/async2.js\\",23))})();", + "/release/main-LOCALE2.js": "(()=>{var e={};const t={};function n(o){const r=t[o];if(void 0!==r)return r.exports;const s=t[o]={exports:{}};return e[o](s,s.exports,n),s.exports}n.m=e,(()=>{const e=Object.getPrototypeOf;let t;n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if(\\"object\\"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&\\"function\\"==typeof o.then)return o}const s=Object.create(null);n.r(s);const c=Object.create(null);t=t||[null,e({}),e([]),e(e)];for(var i=2&r&&o;(\\"object\\"==typeof i||\\"function\\"==typeof i)&&!~t.indexOf(i);i=e(i))Object.getOwnPropertyNames(i).forEach(e=>c[e]=()=>o[e]);return c.default=()=>o,n.d(s,c),s}})(),n.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o{const t=[];return n.f.j(e,t),Promise.all(t)},n.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",230:\\"async1\\",410:\\"asyncLoc1\\",421:\\"async2\\"}[e]+\\"-\\"+({17:1,410:1}[e]?\\"LOCALE2\\":\\"none\\")+\\".js\\",n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};n.l=(t,o,r,s)=>{if(e[t])return void e[t].push(o);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(o)),n)return n(o)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),n.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let n=t.length;for(;n&&(!e||!/^https?:/.test(e));)e=t[--n].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");n.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={792:0};n.f.j=(t,o)=>{let r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{const s=new Promise((n,o)=>r=e[t]=[n,o]);o.push(r[2]=s);const c=new Error,i=o=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=o&&(\\"load\\"===o.type?\\"missing\\":o.type),n=o?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+n+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=n,c.event=o,r[1](c)}};n.l(n.p+n.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,o)=>{let[r,s,c]=o;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)n.o(s,i)&&(n.m[i]=s[i]);c&&c(n)}for(t&&t(o);ln(\\"./a/asyncLoc1.js\\")),n.e(17).then(()=>n(\\"./a/asyncLoc2.js\\")),n.e(230).then(()=>n.t(\\"./a/async1.js\\",23)),n.e(421).then(()=>n.t(\\"./a/async2.js\\",23))})();", } `; @@ -46,7 +46,7 @@ exports[`LocalizationPlugin Handles async localized and non-localized chunks wit exports[`LocalizationPlugin Handles async localized and non-localized chunks with a runtime locale expression and without an asset filename hash (unminified): Content 1`] = ` Object { - "/release/chunks/async1-none.js": "(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[230],{ + "/release/chunks/async1-none.js": "(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[230],{ /***/ \\"./a/async1.js\\" () { @@ -56,7 +56,7 @@ console.log(\\"blah1\\"); /***/ } }]);", - "/release/chunks/async2-none.js": "(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[421],{ + "/release/chunks/async2-none.js": "(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[421],{ /***/ \\"./a/async2.js\\" () { @@ -67,7 +67,7 @@ console.log(\\"blah2\\"); }]);", "/release/chunks/asyncLoc1-LOCALE1.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[410],{ +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[410],{ /***/ \\"./a/asyncLoc1.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -82,28 +82,30 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"blah\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"something else\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", "/release/chunks/asyncLoc1-LOCALE2.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[410],{ +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[410],{ /***/ \\"./a/asyncLoc1.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -118,28 +120,30 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"baz\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"some random translation\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", "/release/chunks/asyncLoc2-LOCALE1.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[17],{ +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[17],{ /***/ \\"./a/asyncLoc2.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -154,28 +158,30 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"blah\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"something else\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } }]);", "/release/chunks/asyncLoc2-LOCALE2.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[17],{ +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[17],{ /***/ \\"./a/asyncLoc2.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -190,22 +196,24 @@ __webpack_require__.r(__webpack_exports__); /***/ \\"./a/strings1.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"test\\":\\"baz\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ }, /***/ \\"./a/strings2.loc.json\\" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { -/* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ A: () => (__WEBPACK_DEFAULT_EXPORT__) -/* harmony export */ }); const strings = {\\"another\\":\\"some random translation\\"}; /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (strings); +/* harmony export */ __webpack_require__.d(__webpack_exports__, [ +/* harmony export */ \\"A\\", 0, __WEBPACK_DEFAULT_EXPORT__ +/* harmony export */ ]); + /***/ } @@ -214,17 +222,17 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -243,8 +251,8 @@ const strings = {\\"another\\":\\"some random translation\\"}; /************************************************************************/ /******/ /* webpack/runtime/create fake namespace object */ /******/ (() => { -/******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__); -/******/ var leafPrototypes; +/******/ const getProto = Object.getPrototypeOf; +/******/ let leafPrototypes; /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns @@ -258,9 +266,9 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ if((mode & 4) && value.__esModule) return value; /******/ if((mode & 16) && typeof value.then === 'function') return value; /******/ } -/******/ var ns = Object.create(null); +/******/ const ns = Object.create(null); /******/ __webpack_require__.r(ns); -/******/ var def = {}; +/******/ const def = Object.create(null); /******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)]; /******/ for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) { /******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key]))); @@ -272,68 +280,54 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ })(); /******/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ if(Array.isArray(definition)) { +/******/ var i = 0; +/******/ while(i < definition.length) { +/******/ var key = definition[i++]; +/******/ var binding = definition[i++]; +/******/ var descriptor = binding ? { enumerable: true, get: binding } : { enumerable: true, value: definition[i++] }; +/******/ if(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor); +/******/ } +/******/ } else { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + {\\"17\\":\\"asyncLoc2\\",\\"230\\":\\"async1\\",\\"410\\":\\"asyncLoc1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + ({\\"17\\":1,\\"410\\":1}[chunkId]?\\"LOCALE1\\":\\"none\\") + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + {\\"17\\":\\"asyncLoc2\\",\\"230\\":\\"async1\\",\\"410\\":\\"asyncLoc1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + ({\\"17\\":1,\\"410\\":1}[chunkId]?\\"LOCALE1\\":\\"none\\") + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -350,55 +344,47 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -408,13 +394,13 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 792: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -423,29 +409,28 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -462,8 +447,8 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -486,31 +471,31 @@ const strings = {\\"another\\":\\"some random translation\\"}; /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.bind(__webpack_require__, \\"./a/asyncLoc1.js\\"));__webpack_require__.e(/* import() | asyncLoc2 */ 17).then(__webpack_require__.bind(__webpack_require__, \\"./a/asyncLoc2.js\\"));__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.t.bind(__webpack_require__, \\"./a/async1.js\\", 23));__webpack_require__.e(/* import() | async2 */ 421).then(__webpack_require__.t.bind(__webpack_require__, \\"./a/async2.js\\", 23)); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | asyncLoc1 */ 410).then(() => (__webpack_require__(\\"./a/asyncLoc1.js\\")));__webpack_require__.e(/* import() | asyncLoc2 */ 17).then(() => (__webpack_require__(\\"./a/asyncLoc2.js\\")));__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__.t(\\"./a/async1.js\\", 23)));__webpack_require__.e(/* import() | async2 */ 421).then(() => (__webpack_require__.t(\\"./a/async2.js\\", 23))); /******/ })() ;", "/release/main-LOCALE2.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -529,8 +514,8 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /************************************************************************/ /******/ /* webpack/runtime/create fake namespace object */ /******/ (() => { -/******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__); -/******/ var leafPrototypes; +/******/ const getProto = Object.getPrototypeOf; +/******/ let leafPrototypes; /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns @@ -544,9 +529,9 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ if((mode & 4) && value.__esModule) return value; /******/ if((mode & 16) && typeof value.then === 'function') return value; /******/ } -/******/ var ns = Object.create(null); +/******/ const ns = Object.create(null); /******/ __webpack_require__.r(ns); -/******/ var def = {}; +/******/ const def = Object.create(null); /******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)]; /******/ for(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) { /******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key]))); @@ -558,68 +543,54 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ })(); /******/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ if(Array.isArray(definition)) { +/******/ var i = 0; +/******/ while(i < definition.length) { +/******/ var key = definition[i++]; +/******/ var binding = definition[i++]; +/******/ var descriptor = binding ? { enumerable: true, get: binding } : { enumerable: true, value: definition[i++] }; +/******/ if(!__webpack_require__.o(exports, key)) Object.defineProperty(exports, key, descriptor); +/******/ } +/******/ } else { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"chunks/\\" + {\\"17\\":\\"asyncLoc2\\",\\"230\\":\\"async1\\",\\"410\\":\\"asyncLoc1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + ({\\"17\\":1,\\"410\\":1}[chunkId]?\\"LOCALE2\\":\\"none\\") + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"chunks/\\" + {\\"17\\":\\"asyncLoc2\\",\\"230\\":\\"async1\\",\\"410\\":\\"asyncLoc1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-\\" + ({\\"17\\":1,\\"410\\":1}[chunkId]?\\"LOCALE2\\":\\"none\\") + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -636,55 +607,47 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ Object.defineProperties(exports, { [Symbol.toStringTag]: { value: 'Module' }, __esModule: { value: true } }); +/******/ }; /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -694,13 +657,13 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 792: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -709,29 +672,28 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -748,8 +710,8 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -772,14 +734,14 @@ __webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.b /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() | asyncLoc1 */ 410).then(__webpack_require__.bind(__webpack_require__, \\"./a/asyncLoc1.js\\"));__webpack_require__.e(/* import() | asyncLoc2 */ 17).then(__webpack_require__.bind(__webpack_require__, \\"./a/asyncLoc2.js\\"));__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.t.bind(__webpack_require__, \\"./a/async1.js\\", 23));__webpack_require__.e(/* import() | async2 */ 421).then(__webpack_require__.t.bind(__webpack_require__, \\"./a/async2.js\\", 23)); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() | asyncLoc1 */ 410).then(() => (__webpack_require__(\\"./a/asyncLoc1.js\\")));__webpack_require__.e(/* import() | asyncLoc2 */ 17).then(() => (__webpack_require__(\\"./a/asyncLoc2.js\\")));__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__.t(\\"./a/async1.js\\", 23)));__webpack_require__.e(/* import() | async2 */ 421).then(() => (__webpack_require__.t(\\"./a/async2.js\\", 23))); /******/ })() ;", } diff --git a/webpack/webpack5-localization-plugin/src/test/__snapshots__/NoLocalizedFiles.test.ts.snap b/webpack/webpack5-localization-plugin/src/test/__snapshots__/NoLocalizedFiles.test.ts.snap index bfd24581825..e5aacd72778 100644 --- a/webpack/webpack5-localization-plugin/src/test/__snapshots__/NoLocalizedFiles.test.ts.snap +++ b/webpack/webpack5-localization-plugin/src/test/__snapshots__/NoLocalizedFiles.test.ts.snap @@ -2,10 +2,10 @@ exports[`LocalizationPlugin Handles non-localized compilations (minified): Content 1`] = ` Object { - "/release/async1-none-9638e21c27af72a33e31.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[230],{\\"./async1.js\\"(o,s,c){function e(){console.log(\\"foo1\\")}c.d(s,{foo:()=>e})}}]);", - "/release/async2-none-f52a3886a4ea74a13738.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[421],{\\"./async2.js\\"(o,s,c){function e(){console.log(\\"foo2\\")}c.d(s,{foo:()=>e})}}]);", - "/release/mainSingleChunk-none-38bb86c949afe73dd49b.js": "(()=>{var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>\\"async1-none-9638e21c27af72a33e31.js\\",o.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\\"script\\"),l=0;l{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\\"timeout\\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\\"\\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\\"SCRIPT\\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\\"script\\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),o.p=e})(),(()=>{var e={331:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\\"load\\"===t.type?\\"missing\\":t.type),i=t&&t.target&&t.target.src;c.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+a+\\": \\"+i+\\")\\",c.name=\\"ChunkLoadError\\",c.type=a,c.request=i,n[1](c)}},\\"chunk-\\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);le.foo())})();", - "/release/mainTwoChunks-none-e514f5cdd9f602a197b7.js": "(()=>{var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>({230:\\"async1\\",421:\\"async2\\"}[e]+\\"-none-\\"+{230:\\"9638e21c27af72a33e31\\",421:\\"f52a3886a4ea74a13738\\"}[e]+\\".js\\"),o.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,c;if(void 0!==n)for(var s=document.getElementsByTagName(\\"script\\"),l=0;l{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\\"timeout\\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),c&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\\"\\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\\"SCRIPT\\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\\"script\\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),o.p=e})(),(()=>{var e={580:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),c=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\\"load\\"===t.type?\\"missing\\":t.type),i=t&&t.target&&t.target.src;c.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+a+\\": \\"+i+\\")\\",c.name=\\"ChunkLoadError\\",c.type=a,c.request=i,n[1](c)}},\\"chunk-\\"+r,r)}};var r=(r,t)=>{var n,a,[i,c,s]=t,l=0;if(i.some(r=>0!==e[r])){for(n in c)o.o(c,n)&&(o.m[n]=c[n]);s&&s(o)}for(r&&r(t);le.foo()),o.e(421).then(o.bind(o,\\"./async2.js\\")).then(e=>e.foo())})();", + "/release/async1-none-474800c1fa4d0b839108.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[230],{\\"./async1.js\\"(s,e,o){function c(){console.log(\\"foo1\\")}o.d(e,{foo:()=>c})}}]);", + "/release/async2-none-4d8c5fd2e584a2be5dea.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[421],{\\"./async2.js\\"(s,e,o){function c(){console.log(\\"foo2\\")}o.d(e,{foo:()=>c})}}]);", + "/release/mainSingleChunk-none-7558557d726d2934f33a.js": "(()=>{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"async1-none-474800c1fa4d0b839108.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./async1.js\\")).then(e=>e.foo())})();", + "/release/mainTwoChunks-none-da2b2e6288c0498e2760.js": "(()=>{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>({230:\\"async1\\",421:\\"async2\\"}[e]+\\"-none-\\"+{230:\\"474800c1fa4d0b839108\\",421:\\"4d8c5fd2e584a2be5dea\\"}[e]+\\".js\\"),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./async1.js\\")).then(e=>e.foo()),o.e(421).then(()=>o(\\"./async2.js\\")).then(e=>e.foo())})();", } `; @@ -15,8 +15,8 @@ exports[`LocalizationPlugin Handles non-localized compilations (minified): Warni exports[`LocalizationPlugin Handles non-localized compilations (unminified): Content 1`] = ` Object { - "/release/async1-none-9943d911ece295d1aa04.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[230],{ + "/release/async1-none-c2f42ca7b5b47e079af1.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[230],{ /***/ \\"./async1.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -29,8 +29,8 @@ function foo() { console.log('foo1'); } /***/ } }]);", - "/release/async2-none-95ff2f558e97320ecc93.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[421],{ + "/release/async2-none-ad0bec26fc01f415c956.js": "\\"use strict\\"; +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[421],{ /***/ \\"./async2.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -43,21 +43,21 @@ function foo() { console.log('foo2'); } /***/ } }]);", - "/release/mainSingleChunk-none-0834d4584ce74c92a078.js": "/******/ (() => { // webpackBootstrap + "/release/mainSingleChunk-none-f12b50f774ba626a80cf.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -75,68 +75,44 @@ function foo() { console.log('foo2'); } /******/ /************************************************************************/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"\\" + \\"async1\\" + \\"-none-\\" + \\"9943d911ece295d1aa04\\" + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"async1\\" + \\"-none-\\" + \\"c2f42ca7b5b47e079af1\\" + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -153,44 +129,41 @@ function foo() { console.log('foo2'); } /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -200,13 +173,13 @@ function foo() { console.log('foo2'); } /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 331: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -215,29 +188,28 @@ function foo() { console.log('foo2'); } /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -254,8 +226,8 @@ function foo() { console.log('foo2'); } /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -278,31 +250,31 @@ function foo() { console.log('foo2'); } /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./async1.js\\")).then(mod => mod.foo()); +let __webpack_exports__ = {}; +console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__(\\"./async1.js\\"))).then(mod => mod.foo()); /******/ })() ;", - "/release/mainTwoChunks-none-85f267eae0d7078ca289.js": "/******/ (() => { // webpackBootstrap + "/release/mainTwoChunks-none-bd9c17d4ae8ca7212607.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -320,68 +292,44 @@ console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).t /******/ /************************************************************************/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"\\" + {\\"230\\":\\"async1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-none-\\" + {\\"230\\":\\"9943d911ece295d1aa04\\",\\"421\\":\\"95ff2f558e97320ecc93\\"}[chunkId] + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => ({\\"230\\":\\"async1\\",\\"421\\":\\"async2\\"}[chunkId] + \\"-none-\\" + {\\"230\\":\\"c2f42ca7b5b47e079af1\\",\\"421\\":\\"ad0bec26fc01f415c956\\"}[chunkId] + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -398,44 +346,41 @@ console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).t /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -445,13 +390,13 @@ console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).t /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 580: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -460,29 +405,28 @@ console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).t /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -499,8 +443,8 @@ console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).t /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -523,14 +467,14 @@ console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).t /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./async1.js\\")).then(mod => mod.foo());__webpack_require__.e(/* import() | async2 */ 421).then(__webpack_require__.bind(__webpack_require__, \\"./async2.js\\")).then(mod => mod.foo()); +let __webpack_exports__ = {}; +console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__(\\"./async1.js\\"))).then(mod => mod.foo());__webpack_require__.e(/* import() | async2 */ 421).then(() => (__webpack_require__(\\"./async2.js\\"))).then(mod => mod.foo()); /******/ })() ;", } diff --git a/webpack/webpack5-localization-plugin/src/test/__snapshots__/NonHashedNonLocalizedAssets.test.ts.snap b/webpack/webpack5-localization-plugin/src/test/__snapshots__/NonHashedNonLocalizedAssets.test.ts.snap index 9a455259e23..6107d1deb3a 100644 --- a/webpack/webpack5-localization-plugin/src/test/__snapshots__/NonHashedNonLocalizedAssets.test.ts.snap +++ b/webpack/webpack5-localization-plugin/src/test/__snapshots__/NonHashedNonLocalizedAssets.test.ts.snap @@ -2,10 +2,10 @@ exports[`TrueHashPlugin Handles non-localized non-hashed compilations (minified): Content 1`] = ` Object { - "/release/async1.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[230],{\\"./async1.js\\"(o,s,c){function e(){console.log(\\"foo1\\")}c.d(s,{foo:()=>e})}}]);", - "/release/async2.js": "\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[421],{\\"./async2.js\\"(o,s,c){function e(){console.log(\\"foo2\\")}c.d(s,{foo:()=>e})}}]);", - "/release/mainSingleChunk.js": "(()=>{var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>\\"async1.js\\",o.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,s;if(void 0!==n)for(var c=document.getElementsByTagName(\\"script\\"),l=0;l{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\\"timeout\\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),s&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\\"\\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\\"SCRIPT\\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\\"script\\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),o.p=e})(),(()=>{var e={331:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),s=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\\"load\\"===t.type?\\"missing\\":t.type),i=t&&t.target&&t.target.src;s.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+a+\\": \\"+i+\\")\\",s.name=\\"ChunkLoadError\\",s.type=a,s.request=i,n[1](s)}},\\"chunk-\\"+r,r)}};var r=(r,t)=>{var n,a,[i,s,c]=t,l=0;if(i.some(r=>0!==e[r])){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);c&&c(o)}for(r&&r(t);le.foo())})();", - "/release/mainTwoChunks.js": "(()=>{var e,r={},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={exports:{}};return r[e](a,a.exports,o),a.exports}o.m=r,o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((r,t)=>(o.f[t](e,r),r),[])),o.u=e=>({230:\\"async1\\",421:\\"async2\\"}[e]+\\".js\\"),o.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},o.l=(r,t,n,a)=>{if(e[r])e[r].push(t);else{var i,s;if(void 0!==n)for(var c=document.getElementsByTagName(\\"script\\"),l=0;l{i.onerror=i.onload=null,clearTimeout(f);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},f=setTimeout(p.bind(null,void 0,{type:\\"timeout\\",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),s&&document.head.appendChild(i)}},(()=>{var e;o.g.importScripts&&(e=o.g.location+\\"\\");var r=o.g.document;if(!e&&r&&(r.currentScript&&\\"SCRIPT\\"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName(\\"script\\");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),o.p=e})(),(()=>{var e={580:0};o.f.j=(r,t)=>{var n=o.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((t,o)=>n=e[r]=[t,o]);t.push(n[2]=a);var i=o.p+o.u(r),s=new Error;o.l(i,t=>{if(o.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&(\\"load\\"===t.type?\\"missing\\":t.type),i=t&&t.target&&t.target.src;s.message=\\"Loading chunk \\"+r+\\" failed.\\\\n(\\"+a+\\": \\"+i+\\")\\",s.name=\\"ChunkLoadError\\",s.type=a,s.request=i,n[1](s)}},\\"chunk-\\"+r,r)}};var r=(r,t)=>{var n,a,[i,s,c]=t,l=0;if(i.some(r=>0!==e[r])){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);c&&c(o)}for(r&&r(t);le.foo()),o.e(421).then(o.bind(o,\\"./async2.js\\")).then(e=>e.foo())})();", + "/release/async1.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[230],{\\"./async1.js\\"(s,e,o){function c(){console.log(\\"foo1\\")}o.d(e,{foo:()=>c})}}]);", + "/release/async2.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[421],{\\"./async2.js\\"(s,e,o){function c(){console.log(\\"foo2\\")}o.d(e,{foo:()=>c})}}]);", + "/release/mainSingleChunk.js": "(()=>{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"async1.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./async1.js\\")).then(e=>e.foo())})();", + "/release/mainTwoChunks.js": "(()=>{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>({230:\\"async1\\",421:\\"async2\\"}[e]+\\".js\\"),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./async1.js\\")).then(e=>e.foo()),o.e(421).then(()=>o(\\"./async2.js\\")).then(e=>e.foo())})();", } `; @@ -16,7 +16,7 @@ exports[`TrueHashPlugin Handles non-localized non-hashed compilations (minified) exports[`TrueHashPlugin Handles non-localized non-hashed compilations (unminified): Content 1`] = ` Object { "/release/async1.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[230],{ +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[230],{ /***/ \\"./async1.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -30,7 +30,7 @@ function foo() { console.log('foo1'); } }]);", "/release/async2.js": "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[421],{ +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[421],{ /***/ \\"./async2.js\\" (__unused_webpack_module, __webpack_exports__, __webpack_require__) { @@ -47,17 +47,17 @@ function foo() { console.log('foo2'); } /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -75,68 +75,44 @@ function foo() { console.log('foo2'); } /******/ /************************************************************************/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"\\" + \\"async1\\" + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"async1\\" + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -153,44 +129,41 @@ function foo() { console.log('foo2'); } /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -200,13 +173,13 @@ function foo() { console.log('foo2'); } /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 331: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -215,29 +188,28 @@ function foo() { console.log('foo2'); } /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -254,8 +226,8 @@ function foo() { console.log('foo2'); } /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -278,31 +250,31 @@ function foo() { console.log('foo2'); } /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./async1.js\\")).then(mod => mod.foo()); +let __webpack_exports__ = {}; +console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__(\\"./async1.js\\"))).then(mod => mod.foo()); /******/ })() ;", "/release/mainTwoChunks.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -320,68 +292,44 @@ console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).t /******/ /************************************************************************/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"\\" + {\\"230\\":\\"async1\\",\\"421\\":\\"async2\\"}[chunkId] + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => ({\\"230\\":\\"async1\\",\\"421\\":\\"async2\\"}[chunkId] + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -398,44 +346,41 @@ console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).t /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -445,13 +390,13 @@ console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).t /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 580: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -460,29 +405,28 @@ console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).t /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -499,8 +443,8 @@ console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).t /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -523,14 +467,14 @@ console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).t /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./async1.js\\")).then(mod => mod.foo());__webpack_require__.e(/* import() | async2 */ 421).then(__webpack_require__.bind(__webpack_require__, \\"./async2.js\\")).then(mod => mod.foo()); +let __webpack_exports__ = {}; +console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async1 */ 230).then(() => (__webpack_require__(\\"./async1.js\\"))).then(mod => mod.foo());__webpack_require__.e(/* import() | async2 */ 421).then(() => (__webpack_require__(\\"./async2.js\\"))).then(mod => mod.foo()); /******/ })() ;", } diff --git a/webpack/webpack5-module-minifier-plugin/package.json b/webpack/webpack5-module-minifier-plugin/package.json index 6388b016303..88f310f3e5d 100644 --- a/webpack/webpack5-module-minifier-plugin/package.json +++ b/webpack/webpack5-module-minifier-plugin/package.json @@ -60,7 +60,7 @@ "eslint": "~9.37.0", "local-node-rig": "workspace:*", "memfs": "4.12.0", - "webpack": "~5.105.2" + "webpack": "~5.113.0" }, "sideEffects": false, "peerDependenciesMeta": { diff --git a/webpack/webpack5-module-minifier-plugin/src/test/LicenseComments.test.ts b/webpack/webpack5-module-minifier-plugin/src/test/LicenseComments.test.ts index 2e5918797ea..2338a2b34f0 100644 --- a/webpack/webpack5-module-minifier-plugin/src/test/LicenseComments.test.ts +++ b/webpack/webpack5-module-minifier-plugin/src/test/LicenseComments.test.ts @@ -251,7 +251,7 @@ describe('License comments', () => { const options: ITestOptions = { sourceMap: true, entry: `${license}import { value } from './value.js'; console.log(value);`, - modules: { '/value.js': 'export const value = 42;' } + modules: { '/value.js': 'export const value = Math.random();' } }; const { files: external, compilation: externalCompilation } = await runWebpackAsync(options); const { files, compilation } = await runWebpackAsync({ ...options, inlineShortLicenses: true }); diff --git a/webpack/webpack5-module-minifier-plugin/src/test/__snapshots__/AmdExternals.test.ts.snap b/webpack/webpack5-module-minifier-plugin/src/test/__snapshots__/AmdExternals.test.ts.snap index 9d0035cac1b..778d38830bb 100644 --- a/webpack/webpack5-module-minifier-plugin/src/test/__snapshots__/AmdExternals.test.ts.snap +++ b/webpack/webpack5-module-minifier-plugin/src/test/__snapshots__/AmdExternals.test.ts.snap @@ -3,9 +3,9 @@ exports[`ModuleMinifierPlugin Handles AMD externals (mock): Content 1`] = ` Object { "/release/async.js": "/*! For license information please see async.js.LICENSE.txt */ -// Begin Asset Hash=2b90e947f1aba7d9ab9f0b62e1ede9281ad8fb42f6ede6f7b4213d5d1356ab8e +// Begin Asset Hash=4583116385a4b54bebcc252da0722c5cfdac1a55422747a41fda0c699e6cbbf7 \\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[157],{ +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[157],{ /***/ 541 @@ -33,7 +33,7 @@ function foo() { bar__WEBPACK_IMPORTED_MODULE_0___default().a(); baz__WEBPACK_IM // End Asset", "/release/async.js.LICENSE.txt": "// @license MIT ", - "/release/main.js": "// Begin Asset Hash=3fdeb2974ad0a9b80a409188038c9e4bea5bb9bbca571254cf7342def65318fa + "/release/main.js": "// Begin Asset Hash=462321422cc5e8c56df26fdc8e0352bf197a2b5b5b8593aad7a559032980c73b define([\\"bar\\",\\"baz\\"], (__WEBPACK_EXTERNAL_MODULE__885__, __WEBPACK_EXTERNAL_MODULE__653__) => { return /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ @@ -56,17 +56,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__653__; /******/ }); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -84,80 +84,54 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__653__; /******/ /************************************************************************/ /******/ /* webpack/runtime/compat get default export */ -/******/ (() => { -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = (module) => { -/******/ var getter = module && module.__esModule ? -/******/ () => (module['default']) : -/******/ () => (module); -/******/ __webpack_require__.d(getter, { a: getter }); -/******/ return getter; -/******/ }; -/******/ })(); +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = (module) => { +/******/ const getter = module && module.__esModule ? +/******/ () => (module['default']) : +/******/ () => (module); +/******/ __webpack_require__.d(getter, { a: getter }); +/******/ return getter; +/******/ }; /******/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"\\" + \\"async\\" + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"async\\" + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -174,44 +148,41 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__653__; /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -221,13 +192,13 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__653__; /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 792: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -236,29 +207,28 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__653__; /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -275,8 +245,8 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__653__; /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -299,15 +269,15 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__653__; /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; +let __webpack_exports__ = {}; // A comment -console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async */ 157).then(__webpack_require__.bind(__webpack_require__, 541)).then(mod => mod.foo()); +console.log(\\"Do stuff\\");__webpack_require__.e(/* import() | async */ 157).then(() => (__webpack_require__(541))).then(mod => mod.foo()); /******/ return __webpack_exports__; /******/ })() ; @@ -328,7 +298,7 @@ Object { "positionByModuleId": Map { 541 => Object { "charLength": 948, - "charOffset": 239, + "charOffset": 278, }, }, }, @@ -346,11 +316,11 @@ exports[`ModuleMinifierPlugin Handles AMD externals (mock): Warnings 1`] = `Arra exports[`ModuleMinifierPlugin Handles AMD externals (terser): Content 1`] = ` Object { "/release/async.js": "/*! For license information please see async.js.LICENSE.txt */ -\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[157],{541(e,t,n){n.d(t,{foo:()=>s});var a=n(885),i=n.n(a),r=n(653),o=n.n(r);function s(){i().a(),o().b()}console.log(\\"Test character lengths: \\\\ufeff￯\\")} +\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[157],{541(e,t,n){n.d(t,{foo:()=>s});var a=n(885),i=n.n(a),r=n(653),o=n.n(r);function s(){i().a(),o().b()}console.log(\\"Test character lengths: \\\\ufeff￯\\")} }]);", "/release/async.js.LICENSE.txt": "// @license MIT ", - "/release/main.js": "define([\\"bar\\",\\"baz\\"],(e,t)=>(()=>{var n,a={885(t){\\"use strict\\";t.exports=e},653(e){\\"use strict\\";e.exports=t}},i={};function r(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return a[e](n,n.exports,r),n.exports}r.m=a,r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,n)=>(r.f[n](e,t),t),[])),r.u=e=>\\"async.js\\",r.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r.l=(e,t,a,i)=>{if(n[e])n[e].push(t);else{var o,s;if(void 0!==a)for(var c=document.getElementsByTagName(\\"script\\"),d=0;d{o.onerror=o.onload=null,clearTimeout(f);var i=n[e];if(delete n[e],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach(e=>e(a)),t)return t(a)},f=setTimeout(u.bind(null,void 0,{type:\\"timeout\\",target:o}),12e4);o.onerror=u.bind(null,o.onerror),o.onload=u.bind(null,o.onload),s&&document.head.appendChild(o)}},(()=>{var e;r.g.importScripts&&(e=r.g.location+\\"\\");var t=r.g.document;if(!e&&t&&(t.currentScript&&\\"SCRIPT\\"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName(\\"script\\");if(n.length)for(var a=n.length-1;a>-1&&(!e||!/^http(s?):/.test(e));)e=n[a--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),r.p=e})(),(()=>{var e={792:0};r.f.j=(t,n)=>{var a=r.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{var i=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=i);var o=r.p+r.u(t),s=new Error;r.l(o,n=>{if(r.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var i=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n&&n.target&&n.target.src;s.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+i+\\": \\"+o+\\")\\",s.name=\\"ChunkLoadError\\",s.type=i,s.request=o,a[1](s)}},\\"chunk-\\"+t,t)}};var t=(t,n)=>{var a,i,[o,s,c]=n,d=0;if(o.some(t=>0!==e[t])){for(a in s)r.o(s,a)&&(r.m[a]=s[a]);if(c)c(r)}for(t&&t(n);de.foo()),{}})());", + "/release/main.js": "define([\\"bar\\",\\"baz\\"],(e,t)=>(()=>{var n={885(t){\\"use strict\\";t.exports=e},653(e){\\"use strict\\";e.exports=t}};const a={};function i(e){const t=a[e];if(void 0!==t)return t.exports;const r=a[e]={exports:{}};return n[e](r,r.exports,i),r.exports}i.m=n,i.n=e=>{const t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=e=>{const t=[];return i.f.j(e,t),Promise.all(t)},i.u=e=>\\"async.js\\",i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};i.l=(t,n,a,r)=>{if(e[t])return void e[t].push(n);let o,s;if(void 0!==a){const e=document.getElementsByTagName(\\"script\\");for(var c=0;c{o.onerror=o.onload=null,clearTimeout(l);const i=e[t];if(delete e[t],o.parentNode?.removeChild(o),i?.forEach(e=>e(a)),n)return n(a)},l=setTimeout(d.bind(0,0,{type:\\"timeout\\",target:o}),12e4);o.onerror=d.bind(0,o.onerror),o.onload=d.bind(0,o.onload),s&&document.head.appendChild(o)}})(),(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let n=t.length;for(;n&&(!e||!/^https?:/.test(e));)e=t[--n].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");i.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={792:0};i.f.j=(t,n)=>{let a=i.o(e,t)?e[t]:void 0;if(0!==a)if(a)n.push(a[2]);else{const r=new Promise((n,i)=>a=e[t]=[n,i]);n.push(a[2]=r);const o=new Error,s=n=>{if(i.o(e,t)&&(a=e[t],0!==a&&(e[t]=void 0),a)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),i=n?.target?.src;o.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+i+\\")\\",o.name=\\"ChunkLoadError\\",o.type=e,o.request=i,o.event=n,a[1](o)}};i.l(i.p+i.u(t),s,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[a,r,o]=n;var s,c,d=0;if(a.some(t=>0!==e[t])){for(s in r)i.o(r,s)&&(i.m[s]=r[s]);if(o)o(i)}for(t&&t(n);di(541)).then(e=>e.foo()),{}})());", } `; @@ -366,7 +336,7 @@ Object { "positionByModuleId": Map { 541 => Object { "charLength": 143, - "charOffset": 134, + "charOffset": 166, }, }, }, diff --git a/webpack/webpack5-module-minifier-plugin/src/test/__snapshots__/MultipleRuntimes.test.ts.snap b/webpack/webpack5-module-minifier-plugin/src/test/__snapshots__/MultipleRuntimes.test.ts.snap index 4bde5e449cd..204ad359cb4 100644 --- a/webpack/webpack5-module-minifier-plugin/src/test/__snapshots__/MultipleRuntimes.test.ts.snap +++ b/webpack/webpack5-module-minifier-plugin/src/test/__snapshots__/MultipleRuntimes.test.ts.snap @@ -3,9 +3,9 @@ exports[`ModuleMinifierPlugin Handles multiple runtimes (mock): Content 1`] = ` Object { "/release/async-1.js": "/*! For license information please see async-1.js.LICENSE.txt */ -// Begin Asset Hash=085012829ea4cae1a903bd58aaadebd847ce0c282dc4eebe4c2d3e3be29033fa +// Begin Asset Hash=0a715e84e98711b010afd24f9e98183ce2431025c927b42b03cf9364b76946ff \\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[527],{ +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[527],{ /***/ 923 @@ -47,9 +47,9 @@ function async1() { console.log('async-1'); } // @license MIT ", "/release/async-2.js": "/*! For license information please see async-2.js.LICENSE.txt */ -// Begin Asset Hash=8b416dc2fd2e47bba393fe80905d8387a2191ab33a079e6a9f31cef8099e7fb7 +// Begin Asset Hash=58c1182a1a29e59a23b6fc4a0f67655870faba99d32ac996d14355b9167edabc \\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[324],{ +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[324],{ /***/ 454 @@ -90,22 +90,22 @@ function a2() { console.log('async-2'); } "/release/async-2.js.LICENSE.txt": "// @license BAZ // @license MIT ", - "/release/entry1.js": "// Begin Asset Hash=a069747d0d3b2254dd6fe8ef5f497aa5aa36423abd4c9a0681844c6ca71db45b + "/release/entry1.js": "// Begin Asset Hash=a640428f12f7e9cded96c5dde1f009db1d78e974fb2872fb7ff554e090a37966 /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -123,68 +123,44 @@ function a2() { console.log('async-2'); } /******/ /************************************************************************/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"\\" + \\"async-1\\" + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"async-1\\" + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -201,44 +177,41 @@ function a2() { console.log('async-2'); } /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -248,13 +221,13 @@ function a2() { console.log('async-2'); } /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 834: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -263,29 +236,28 @@ function a2() { console.log('async-2'); } /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -302,8 +274,8 @@ function a2() { console.log('async-2'); } /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -326,36 +298,36 @@ function a2() { console.log('async-2'); } /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; +let __webpack_exports__ = {}; // A comment console.log(\\"Do stuff\\"); -__webpack_require__.e(/* import() | async-1 */ 527).then(__webpack_require__.bind(__webpack_require__, 541)).then(mod => mod.async1()); -__webpack_require__.e(/* import() | async-1 */ 527).then(__webpack_require__.bind(__webpack_require__, 923)).then(mod => mod.async1()); +__webpack_require__.e(/* import() | async-1 */ 527).then(() => (__webpack_require__(541))).then(mod => mod.async1()); +__webpack_require__.e(/* import() | async-1 */ 527).then(() => (__webpack_require__(923))).then(mod => mod.async1()); /******/ })() ; // End Asset", - "/release/entry2.js": "// Begin Asset Hash=8826bd8e2a6052f4d9aad52ddc5c8384370b57a34771eb8e8289a647f6f39e5d + "/release/entry2.js": "// Begin Asset Hash=ee5d8f215458087acd65dd39f7cf9db4c2a98eb28a072e1c896c789e1fe3256e /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -373,68 +345,44 @@ __webpack_require__.e(/* import() | async-1 */ 527).then(__webpack_require__.bin /******/ /************************************************************************/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"\\" + \\"async-2\\" + \\".js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (\\"async-2\\" + \\".js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -451,44 +399,41 @@ __webpack_require__.e(/* import() | async-1 */ 527).then(__webpack_require__.bin /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -498,13 +443,13 @@ __webpack_require__.e(/* import() | async-1 */ 527).then(__webpack_require__.bin /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 441: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -513,29 +458,28 @@ __webpack_require__.e(/* import() | async-1 */ 527).then(__webpack_require__.bin /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -552,8 +496,8 @@ __webpack_require__.e(/* import() | async-1 */ 527).then(__webpack_require__.bin /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -576,17 +520,17 @@ __webpack_require__.e(/* import() | async-1 */ 527).then(__webpack_require__.bin /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; +let __webpack_exports__ = {}; // A comment console.log(\\"Do stuff\\"); -__webpack_require__.e(/* import() | async-2 */ 324).then(__webpack_require__.bind(__webpack_require__, 541)).then(mod => mod.a2()); -__webpack_require__.e(/* import() | async-2 */ 324).then(__webpack_require__.bind(__webpack_require__, 454)).then(mod => mod.a2()); +__webpack_require__.e(/* import() | async-2 */ 324).then(() => (__webpack_require__(541))).then(mod => mod.a2()); +__webpack_require__.e(/* import() | async-2 */ 324).then(() => (__webpack_require__(454))).then(mod => mod.a2()); /******/ })() ; // End Asset", @@ -608,11 +552,11 @@ Object { "positionByModuleId": Map { 923 => Object { "charLength": 394, - "charOffset": 241, + "charOffset": 280, }, 541 => Object { "charLength": 485, - "charOffset": 649, + "charOffset": 688, }, }, }, @@ -620,11 +564,11 @@ Object { "positionByModuleId": Map { 454 => Object { "charLength": 382, - "charOffset": 241, + "charOffset": 280, }, 541 => Object { "charLength": 477, - "charOffset": 637, + "charOffset": 676, }, }, }, @@ -649,21 +593,21 @@ exports[`ModuleMinifierPlugin Handles multiple runtimes (mock): Warnings 1`] = ` exports[`ModuleMinifierPlugin Handles multiple runtimes (terser): Content 1`] = ` Object { "/release/async-1.js": "/*! For license information please see async-1.js.LICENSE.txt */ -\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[527],{923(e,t,n){function a(){console.log(\\"async-1\\")}n.d(t,{async1:()=>a})} +\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[527],{923(e,t,n){function a(){console.log(\\"async-1\\")}n.d(t,{async1:()=>a})} ,541(e,t,n){n.d(t,{async1:()=>a.async1});var a=n(923)} }]);", "/release/async-1.js.LICENSE.txt": "// @license BAR // @license MIT ", "/release/async-2.js": "/*! For license information please see async-2.js.LICENSE.txt */ -\\"use strict\\";(self.webpackChunk=self.webpackChunk||[]).push([[324],{454(e,t,n){function a(){console.log(\\"async-2\\")}n.d(t,{a2:()=>a})} +\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[324],{454(e,t,n){function a(){console.log(\\"async-2\\")}n.d(t,{a2:()=>a})} ,541(e,t,n){n.d(t,{a2:()=>a.a2});var a=n(454)} }]);", "/release/async-2.js.LICENSE.txt": "// @license BAZ // @license MIT ", - "/release/entry1.js": "(()=>{var e,t={},n={};function a(e){var i=n[e];if(void 0!==i)return i.exports;var r=n[e]={exports:{}};return t[e](r,r.exports,a),r.exports}a.m=t,a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,n)=>(a.f[n](e,t),t),[])),a.u=e=>\\"async-1.js\\",a.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},a.l=(t,n,i,r)=>{if(e[t])e[t].push(n);else{var o,s;if(void 0!==i)for(var c=document.getElementsByTagName(\\"script\\"),d=0;d{o.onerror=o.onload=null,clearTimeout(f);var i=e[t];if(delete e[t],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach(e=>e(a)),n)return n(a)},f=setTimeout(u.bind(null,void 0,{type:\\"timeout\\",target:o}),12e4);o.onerror=u.bind(null,o.onerror),o.onload=u.bind(null,o.onload),s&&document.head.appendChild(o)}},(()=>{var e;a.g.importScripts&&(e=a.g.location+\\"\\");var t=a.g.document;if(!e&&t&&(t.currentScript&&\\"SCRIPT\\"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName(\\"script\\");if(n.length)for(var i=n.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=n[i--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),a.p=e})(),(()=>{var e={834:0};a.f.j=(t,n)=>{var i=a.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{var r=new Promise((n,a)=>i=e[t]=[n,a]);n.push(i[2]=r);var o=a.p+a.u(t),s=new Error;a.l(o,n=>{if(a.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var r=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n&&n.target&&n.target.src;s.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+r+\\": \\"+o+\\")\\",s.name=\\"ChunkLoadError\\",s.type=r,s.request=o,i[1](s)}},\\"chunk-\\"+t,t)}};var t=(t,n)=>{var i,r,[o,s,c]=n,d=0;if(o.some(t=>0!==e[t])){for(i in s)a.o(s,i)&&(a.m[i]=s[i]);if(c)c(a)}for(t&&t(n);de.async1()),a.e(527).then(a.bind(a,923)).then(e=>e.async1())})();", - "/release/entry2.js": "(()=>{var e,t={},n={};function a(e){var i=n[e];if(void 0!==i)return i.exports;var r=n[e]={exports:{}};return t[e](r,r.exports,a),r.exports}a.m=t,a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,n)=>(a.f[n](e,t),t),[])),a.u=e=>\\"async-2.js\\",a.g=function(){if(\\"object\\"==typeof globalThis)return globalThis;try{return this||new Function(\\"return this\\")()}catch(e){if(\\"object\\"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},a.l=(t,n,i,r)=>{if(e[t])e[t].push(n);else{var o,s;if(void 0!==i)for(var c=document.getElementsByTagName(\\"script\\"),d=0;d{o.onerror=o.onload=null,clearTimeout(f);var i=e[t];if(delete e[t],o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach(e=>e(a)),n)return n(a)},f=setTimeout(u.bind(null,void 0,{type:\\"timeout\\",target:o}),12e4);o.onerror=u.bind(null,o.onerror),o.onload=u.bind(null,o.onload),s&&document.head.appendChild(o)}},(()=>{var e;a.g.importScripts&&(e=a.g.location+\\"\\");var t=a.g.document;if(!e&&t&&(t.currentScript&&\\"SCRIPT\\"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName(\\"script\\");if(n.length)for(var i=n.length-1;i>-1&&(!e||!/^http(s?):/.test(e));)e=n[i--].src}if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");e=e.replace(/^blob:/,\\"\\").replace(/#.*$/,\\"\\").replace(/\\\\?.*$/,\\"\\").replace(/\\\\/[^\\\\/]+$/,\\"/\\"),a.p=e})(),(()=>{var e={441:0};a.f.j=(t,n)=>{var i=a.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{var r=new Promise((n,a)=>i=e[t]=[n,a]);n.push(i[2]=r);var o=a.p+a.u(t),s=new Error;a.l(o,n=>{if(a.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var r=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n&&n.target&&n.target.src;s.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+r+\\": \\"+o+\\")\\",s.name=\\"ChunkLoadError\\",s.type=r,s.request=o,i[1](s)}},\\"chunk-\\"+t,t)}};var t=(t,n)=>{var i,r,[o,s,c]=n,d=0;if(o.some(t=>0!==e[t])){for(i in s)a.o(s,i)&&(a.m[i]=s[i]);if(c)c(a)}for(t&&t(n);de.a2()),a.e(324).then(a.bind(a,454)).then(e=>e.a2())})();", + "/release/entry1.js": "(()=>{var e={};const t={};function n(a){const i=t[a];if(void 0!==i)return i.exports;const r=t[a]={exports:{}};return e[a](r,r.exports,n),r.exports}n.m=e,n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.f={},n.e=e=>{const t=[];return n.f.j(e,t),Promise.all(t)},n.u=e=>\\"async-1.js\\",n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};n.l=(t,a,i,r)=>{if(e[t])return void e[t].push(a);let o,s;if(void 0!==i){const e=document.getElementsByTagName(\\"script\\");for(var c=0;c{o.onerror=o.onload=null,clearTimeout(l);const i=e[t];if(delete e[t],o.parentNode?.removeChild(o),i?.forEach(e=>e(a)),n)return n(a)},l=setTimeout(d.bind(0,0,{type:\\"timeout\\",target:o}),12e4);o.onerror=d.bind(0,o.onerror),o.onload=d.bind(0,o.onload),s&&document.head.appendChild(o)}})(),(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let n=t.length;for(;n&&(!e||!/^https?:/.test(e));)e=t[--n].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");n.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={834:0};n.f.j=(t,a)=>{let i=n.o(e,t)?e[t]:void 0;if(0!==i)if(i)a.push(i[2]);else{const r=new Promise((n,a)=>i=e[t]=[n,a]);a.push(i[2]=r);const o=new Error,s=a=>{if(n.o(e,t)&&(i=e[t],0!==i&&(e[t]=void 0),i)){const e=a&&(\\"load\\"===a.type?\\"missing\\":a.type),n=a?.target?.src;o.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+n+\\")\\",o.name=\\"ChunkLoadError\\",o.type=e,o.request=n,o.event=a,i[1](o)}};n.l(n.p+n.u(t),s,\\"chunk-\\"+t,t)}};const t=(t,a)=>{let[i,r,o]=a;var s,c,d=0;if(i.some(t=>0!==e[t])){for(s in r)n.o(r,s)&&(n.m[s]=r[s]);if(o)o(n)}for(t&&t(a);dn(541)).then(e=>e.async1()),n.e(527).then(()=>n(923)).then(e=>e.async1())})();", + "/release/entry2.js": "(()=>{var e={};const t={};function n(a){const i=t[a];if(void 0!==i)return i.exports;const r=t[a]={exports:{}};return e[a](r,r.exports,n),r.exports}n.m=e,n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.f={},n.e=e=>{const t=[];return n.f.j(e,t),Promise.all(t)},n.u=e=>\\"async-2.js\\",n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};n.l=(t,a,i,r)=>{if(e[t])return void e[t].push(a);let o,s;if(void 0!==i){const e=document.getElementsByTagName(\\"script\\");for(var c=0;c{o.onerror=o.onload=null,clearTimeout(l);const i=e[t];if(delete e[t],o.parentNode?.removeChild(o),i?.forEach(e=>e(a)),n)return n(a)},l=setTimeout(d.bind(0,0,{type:\\"timeout\\",target:o}),12e4);o.onerror=d.bind(0,o.onerror),o.onload=d.bind(0,o.onload),s&&document.head.appendChild(o)}})(),(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let n=t.length;for(;n&&(!e||!/^https?:/.test(e));)e=t[--n].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");n.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={441:0};n.f.j=(t,a)=>{let i=n.o(e,t)?e[t]:void 0;if(0!==i)if(i)a.push(i[2]);else{const r=new Promise((n,a)=>i=e[t]=[n,a]);a.push(i[2]=r);const o=new Error,s=a=>{if(n.o(e,t)&&(i=e[t],0!==i&&(e[t]=void 0),i)){const e=a&&(\\"load\\"===a.type?\\"missing\\":a.type),n=a?.target?.src;o.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+n+\\")\\",o.name=\\"ChunkLoadError\\",o.type=e,o.request=n,o.event=a,i[1](o)}};n.l(n.p+n.u(t),s,\\"chunk-\\"+t,t)}};const t=(t,a)=>{let[i,r,o]=a;var s,c,d=0;if(i.some(t=>0!==e[t])){for(s in r)n.o(r,s)&&(n.m[s]=r[s]);if(o)o(n)}for(t&&t(a);dn(541)).then(e=>e.a2()),n.e(324).then(()=>n(454)).then(e=>e.a2())})();", } `; @@ -682,11 +626,11 @@ Object { "positionByModuleId": Map { 923 => Object { "charLength": 66, - "charOffset": 136, + "charOffset": 168, }, 541 => Object { "charLength": 50, - "charOffset": 207, + "charOffset": 239, }, }, }, @@ -694,11 +638,11 @@ Object { "positionByModuleId": Map { 454 => Object { "charLength": 62, - "charOffset": 136, + "charOffset": 168, }, 541 => Object { "charLength": 42, - "charOffset": 203, + "charOffset": 235, }, }, }, diff --git a/webpack/webpack5-module-minifier-plugin/src/test/__snapshots__/WebpackOutputFormats.test.ts.snap b/webpack/webpack5-module-minifier-plugin/src/test/__snapshots__/WebpackOutputFormats.test.ts.snap index a85132a229d..27e9ce290e1 100644 --- a/webpack/webpack5-module-minifier-plugin/src/test/__snapshots__/WebpackOutputFormats.test.ts.snap +++ b/webpack/webpack5-module-minifier-plugin/src/test/__snapshots__/WebpackOutputFormats.test.ts.snap @@ -18,7 +18,7 @@ function test() { console.log(\\"test\\"); } );", ], Array [ - "07362ab528d006b3b2ea7adecb8c2a4a2ceae2528a2a33308d555a1b9aa50a8b", + "4c84e9830a6d2773bdd1f914da8c087f257d8d7bc0a71dd0ff03acdf4064b3af", "/******/ (function() { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ @@ -51,55 +51,31 @@ function test() { console.log(\\"test\\"); } /******/ /************************************************************************/ /******/ /* webpack/runtime/define property getters */ -/******/ !function() { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = function(exports, definition) { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = function(exports, definition) { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } -/******/ }; -/******/ }(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ !function() { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function(chunkId) { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ }(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = function(chunkId) { +/******/ var promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ !function() { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = function(chunkId) { -/******/ // return url for filenames based on template -/******/ return \\"\\" + chunkId + \\".bundle.js\\"; -/******/ }; -/******/ }(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ !function() { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ }(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = function(chunkId) { return chunkId + \\".bundle.js\\"; }; /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ !function() { -/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } -/******/ }(); +/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }; /******/ /******/ /* webpack/runtime/load script */ /******/ !function() { @@ -135,13 +111,13 @@ function test() { console.log(\\"test\\"); } /******/ clearTimeout(timeout); /******/ var doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach(function(fn) { return fn(event); }); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach(function(fn) { return fn(event); }); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ var timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ }(); @@ -149,24 +125,21 @@ function test() { console.log(\\"test\\"); } /******/ /* webpack/runtime/publicPath */ /******/ !function() { /******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ if (typeof document !== \\"undefined\\") { +/******/ var currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ var i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ }(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -194,8 +167,6 @@ function test() { console.log(\\"test\\"); } /******/ var promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; }); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later /******/ var error = new Error(); /******/ var loadingEnded = function(event) { @@ -204,16 +175,17 @@ function test() { console.log(\\"test\\"); } /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ var realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -256,7 +228,7 @@ function test() { console.log(\\"test\\"); } /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ var chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ }(); @@ -268,9 +240,9 @@ __webpack_require__.e(/* import() */ 93).then(__webpack_require__.bind(__webpack ;", ], Array [ - "40e3e96266b692566423502f3086614f2ff2a9fde3e8bef48a4baddb650bcb69", + "a55619c27f6017ad1a239ba08f76cb99801d22862919185a352eb014df1d8b38", "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[93],{ +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[93],{ /***/ 93: __WEBPACK_CHUNK_MODULE__4eb58e74a75784b7e5717fbef0522215be2694128456291ca643dff55c30e49d @@ -300,22 +272,22 @@ function test() { console.log(\\"test\\"); } );", ], Array [ - "f718caead6acd912defaa08887a9e7ef1e32b1408df9bf552487b71bb437718b", + "717253aeb27656eeb42015c7361946bcf0697f1a22fc02881de30ce6806a16c6", "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -333,68 +305,44 @@ function test() { console.log(\\"test\\"); } /******/ /************************************************************************/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"\\" + chunkId + \\".bundle.js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (chunkId + \\".bundle.js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -411,44 +359,41 @@ function test() { console.log(\\"test\\"); } /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -458,13 +403,13 @@ function test() { console.log(\\"test\\"); } /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 792: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -473,29 +418,28 @@ function test() { console.log(\\"test\\"); } /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -512,8 +456,8 @@ function test() { console.log(\\"test\\"); } /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -536,21 +480,21 @@ function test() { console.log(\\"test\\"); } /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() */ 93).then(__webpack_require__.bind(__webpack_require__, 93)).then(m => m.test()); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() */ 93).then(() => (__webpack_require__(93))).then(m => m.test()); /******/ })() ;", ], Array [ - "bf6f984ec3f861c1468f0002d67bfabfd75f07c8495709561fc5f7b6033523ba", + "22a3f7a630f9a7756a517ad0edfaf0673413a0240e96aa0e2fc13ffa78045d97", "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[93],{ +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[93],{ /***/ 93: __WEBPACK_CHUNK_MODULE__1d3f0f2f97e8093d393756ee6123f0f316590565da717a4f2d04d19f5e41279d @@ -578,22 +522,22 @@ function test() { console.log(\\"test\\"); } /***/ }});", ], Array [ - "f718caead6acd912defaa08887a9e7ef1e32b1408df9bf552487b71bb437718b", + "717253aeb27656eeb42015c7361946bcf0697f1a22fc02881de30ce6806a16c6", "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache -/******/ var __webpack_module_cache__ = {}; +/******/ const __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache -/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ const cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) -/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ const module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} @@ -611,68 +555,44 @@ function test() { console.log(\\"test\\"); } /******/ /************************************************************************/ /******/ /* webpack/runtime/define property getters */ -/******/ (() => { -/******/ // define getter functions for harmony exports -/******/ __webpack_require__.d = (exports, definition) => { -/******/ for(var key in definition) { -/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { -/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); -/******/ } +/******/ // define getter/value functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } -/******/ }; -/******/ })(); +/******/ } +/******/ }; /******/ /******/ /* webpack/runtime/ensure chunk */ -/******/ (() => { -/******/ __webpack_require__.f = {}; -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = (chunkId) => { -/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => { -/******/ __webpack_require__.f[key](chunkId, promises); -/******/ return promises; -/******/ }, [])); -/******/ }; -/******/ })(); +/******/ __webpack_require__.f = {}; +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = (chunkId) => { +/******/ const promises = []; +/******/ __webpack_require__.f.j(chunkId, promises); +/******/ return Promise.all(promises); +/******/ }; /******/ /******/ /* webpack/runtime/get javascript chunk filename */ -/******/ (() => { -/******/ // This function allow to reference async chunks -/******/ __webpack_require__.u = (chunkId) => { -/******/ // return url for filenames based on template -/******/ return \\"\\" + chunkId + \\".bundle.js\\"; -/******/ }; -/******/ })(); -/******/ -/******/ /* webpack/runtime/global */ -/******/ (() => { -/******/ __webpack_require__.g = (function() { -/******/ if (typeof globalThis === 'object') return globalThis; -/******/ try { -/******/ return this || new Function('return this')(); -/******/ } catch (e) { -/******/ if (typeof window === 'object') return window; -/******/ } -/******/ })(); -/******/ })(); +/******/ // This function allow to reference async chunks +/******/ __webpack_require__.u = (chunkId) => (chunkId + \\".bundle.js\\"); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)); /******/ /******/ /* webpack/runtime/load script */ /******/ (() => { -/******/ var inProgress = {}; +/******/ const inProgress = {}; /******/ // data-webpack is not used as build has no uniqueName /******/ // loadScript function to load a script via script tag /******/ __webpack_require__.l = (url, done, key, chunkId) => { /******/ if(inProgress[url]) { inProgress[url].push(done); return; } -/******/ var script, needAttach; +/******/ let script, needAttach; /******/ if(key !== undefined) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); +/******/ const scripts = document.getElementsByTagName(\\"script\\"); /******/ for(var i = 0; i < scripts.length; i++) { -/******/ var s = scripts[i]; +/******/ const s = scripts[i]; /******/ if(s.getAttribute(\\"src\\") == url) { script = s; break; } /******/ } /******/ } @@ -689,44 +609,41 @@ function test() { console.log(\\"test\\"); } /******/ script.src = url; /******/ } /******/ inProgress[url] = [done]; -/******/ var onScriptComplete = (prev, event) => { +/******/ const onScriptComplete = (prev, event) => { /******/ // avoid mem leaks in IE. /******/ script.onerror = script.onload = null; /******/ clearTimeout(timeout); -/******/ var doneFns = inProgress[url]; +/******/ const doneFns = inProgress[url]; /******/ delete inProgress[url]; -/******/ script.parentNode && script.parentNode.removeChild(script); -/******/ doneFns && doneFns.forEach((fn) => (fn(event))); +/******/ script.parentNode?.removeChild(script); +/******/ doneFns?.forEach((fn) => (fn(event))); /******/ if(prev) return prev(event); /******/ } -/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000); -/******/ script.onerror = onScriptComplete.bind(null, script.onerror); -/******/ script.onload = onScriptComplete.bind(null, script.onload); +/******/ const timeout = setTimeout(onScriptComplete.bind(0, 0, { type: 'timeout', target: script }), 120000); +/******/ script.onerror = onScriptComplete.bind(0, script.onerror); +/******/ script.onload = onScriptComplete.bind(0, script.onload); /******/ needAttach && document.head.appendChild(script); /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/publicPath */ /******/ (() => { -/******/ var scriptUrl; -/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \\"\\"; -/******/ var document = __webpack_require__.g.document; -/******/ if (!scriptUrl && document) { -/******/ if (document.currentScript && document.currentScript.tagName.toUpperCase() === 'SCRIPT') -/******/ scriptUrl = document.currentScript.src; -/******/ if (!scriptUrl) { -/******/ var scripts = document.getElementsByTagName(\\"script\\"); -/******/ if(scripts.length) { -/******/ var i = scripts.length - 1; -/******/ while (i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl))) scriptUrl = scripts[i--].src; +/******/ let scriptUrl; +/******/ if (typeof document !== \\"undefined\\") { +/******/ const currentScript = document.currentScript; +/******/ if (!currentScript || /^script$/i.test(currentScript.tagName)) { +/******/ scriptUrl = currentScript?.src; +/******/ if (!scriptUrl) { +/******/ const scripts = document.getElementsByTagName(\\"script\\"); +/******/ let i = scripts.length; +/******/ while (i && (!scriptUrl || !/^https?:/.test(scriptUrl))) scriptUrl = scripts[--i].src; /******/ } /******/ } -/******/ } +/******/ } else if (typeof importScripts !== \\"undefined\\") scriptUrl = location + \\"\\"; /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration /******/ // or pass an empty string (\\"\\") and set the __webpack_public_path__ variable from your code to use your own logic. /******/ if (!scriptUrl) throw new Error(\\"Automatic publicPath is not supported in this browser\\"); -/******/ scriptUrl = scriptUrl.replace(/^blob:/, \\"\\").replace(/#.*$/, \\"\\").replace(/\\\\?.*$/, \\"\\").replace(/\\\\/[^\\\\/]+$/, \\"/\\"); -/******/ __webpack_require__.p = scriptUrl; +/******/ __webpack_require__.p = scriptUrl.replace(/^blob:|[?#].*$/g, \\"\\").replace(/\\\\/[^/]+$/, \\"/\\"); /******/ })(); /******/ /******/ /* webpack/runtime/jsonp chunk loading */ @@ -736,13 +653,13 @@ function test() { console.log(\\"test\\"); } /******/ // object to store loaded and loading chunks /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { +/******/ const installedChunks = { /******/ 792: 0 /******/ }; /******/ /******/ __webpack_require__.f.j = (chunkId, promises) => { /******/ // JSONP chunk loading for javascript -/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; +/******/ let installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined; /******/ if(installedChunkData !== 0) { // 0 means \\"already installed\\". /******/ /******/ // a Promise means \\"currently loading\\". @@ -751,29 +668,28 @@ function test() { console.log(\\"test\\"); } /******/ } else { /******/ if(true) { // all chunks have JS /******/ // setup Promise in chunk cache -/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); +/******/ const promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject])); /******/ promises.push(installedChunkData[2] = promise); /******/ -/******/ // start chunk loading -/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId); /******/ // create error before stack unwound to get useful stacktrace later -/******/ var error = new Error(); -/******/ var loadingEnded = (event) => { +/******/ const error = new Error(); +/******/ const loadingEnded = (event) => { /******/ if(__webpack_require__.o(installedChunks, chunkId)) { /******/ installedChunkData = installedChunks[chunkId]; /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined; /******/ if(installedChunkData) { -/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); -/******/ var realSrc = event && event.target && event.target.src; +/******/ const errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ const realSrc = event?.target?.src; /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\\\\n(' + errorType + ': ' + realSrc + ')'; /******/ error.name = 'ChunkLoadError'; /******/ error.type = errorType; /******/ error.request = realSrc; +/******/ error.event = event; /******/ installedChunkData[1](error); /******/ } /******/ } /******/ }; -/******/ __webpack_require__.l(url, loadingEnded, \\"chunk-\\" + chunkId, chunkId); +/******/ __webpack_require__.l(__webpack_require__.p + __webpack_require__.u(chunkId), loadingEnded, \\"chunk-\\" + chunkId, chunkId); /******/ } /******/ } /******/ } @@ -790,8 +706,8 @@ function test() { console.log(\\"test\\"); } /******/ // no on chunks loaded /******/ /******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; +/******/ const webpackJsonpCallback = (parentChunkLoadingFunction, data) => { +/******/ let [chunkIds, moreModules, runtime] = data; /******/ // add \\"moreModules\\" to the modules object, /******/ // then flag all \\"chunkIds\\" as loaded and fire callback /******/ var moduleId, chunkId, i = 0; @@ -814,21 +730,21 @@ function test() { console.log(\\"test\\"); } /******/ /******/ } /******/ -/******/ var chunkLoadingGlobal = self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []; +/******/ const chunkLoadingGlobal = Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = []); /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); /******/ })(); /******/ /************************************************************************/ -var __webpack_exports__ = {}; -__webpack_require__.e(/* import() */ 93).then(__webpack_require__.bind(__webpack_require__, 93)).then(m => m.test()); +let __webpack_exports__ = {}; +__webpack_require__.e(/* import() */ 93).then(() => (__webpack_require__(93))).then(m => m.test()); /******/ })() ;", ], Array [ - "735c5a00c9550935174621d8349cd087e1f2c3384eefb4fe5601e17ef7b8b1dd", + "39873113e23174b4ad996bd1238ea4e013bdf6e9df9455d36ee24564aab2358f", "\\"use strict\\"; -(self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[93],{ +(Array.isArray(self[\\"webpackChunk\\"]) ? self[\\"webpackChunk\\"] : (self[\\"webpackChunk\\"] = [])).push([[93],{ /***/ 93 :__WEBPACK_CHUNK_MODULE__eb1ac8562b7834b56d1fea53ba5efad6fe29b66ef335b63e0723c38e162a92b0 From 014b47add4d03df5e6b8bbc969a4711875ed8dd9 Mon Sep 17 00:00:00 2001 From: iclanton <5010588+iclanton@users.noreply.github.com> Date: Thu, 26 Nov 2026 20:54:22 +0000 Subject: [PATCH 2/5] fixup! Bump webpack 5 dependencies to 5.113.0 Use a minor release for the web rig and explain why the metadata fixture must avoid constant-export inlining. Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --- .../heft-web-rig/bump-webpack-5_2026-11-25-19-08.json | 2 +- .../src/test/LicenseComments.test.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/changes/@rushstack/heft-web-rig/bump-webpack-5_2026-11-25-19-08.json b/common/changes/@rushstack/heft-web-rig/bump-webpack-5_2026-11-25-19-08.json index c2225af3de2..dd7997f96f8 100644 --- a/common/changes/@rushstack/heft-web-rig/bump-webpack-5_2026-11-25-19-08.json +++ b/common/changes/@rushstack/heft-web-rig/bump-webpack-5_2026-11-25-19-08.json @@ -3,7 +3,7 @@ { "packageName": "@rushstack/heft-web-rig", "comment": "Bump the webpack dependency to ~5.113.0.", - "type": "patch" + "type": "minor" } ], "packageName": "@rushstack/heft-web-rig" diff --git a/webpack/webpack5-module-minifier-plugin/src/test/LicenseComments.test.ts b/webpack/webpack5-module-minifier-plugin/src/test/LicenseComments.test.ts index 2338a2b34f0..1656501fc94 100644 --- a/webpack/webpack5-module-minifier-plugin/src/test/LicenseComments.test.ts +++ b/webpack/webpack5-module-minifier-plugin/src/test/LicenseComments.test.ts @@ -251,6 +251,7 @@ describe('License comments', () => { const options: ITestOptions = { sourceMap: true, entry: `${license}import { value } from './value.js'; console.log(value);`, + // Keep a rendered module: webpack inlines constant exports and removes their module-position metadata. modules: { '/value.js': 'export const value = Math.random();' } }; const { files: external, compilation: externalCompilation } = await runWebpackAsync(options); From 4309ec397af73485854df49ad71a5798f6b1dc98 Mon Sep 17 00:00:00 2001 From: Ian Clanton-Thuon Date: Thu, 26 Nov 2026 15:48:01 -0800 Subject: [PATCH 3/5] Update lockfiles. --- .../build-tests-subspace/pnpm-lock.yaml | 72 +++---- .../build-tests-subspace/repo-state.json | 2 +- .../config/subspaces/default/pnpm-lock.yaml | 186 ++++++++---------- .../config/subspaces/default/repo-state.json | 2 +- 4 files changed, 125 insertions(+), 137 deletions(-) diff --git a/common/config/subspaces/build-tests-subspace/pnpm-lock.yaml b/common/config/subspaces/build-tests-subspace/pnpm-lock.yaml index 4c025ece49e..75cc998773b 100644 --- a/common/config/subspaces/build-tests-subspace/pnpm-lock.yaml +++ b/common/config/subspaces/build-tests-subspace/pnpm-lock.yaml @@ -1300,55 +1300,55 @@ packages: os: [win32] '@webassemblyjs/ast@1.14.1': - resolution: {integrity: sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==} + resolution: {integrity: sha1-qfagfysDyVyNOMRTah/ftSH/VbY=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/ast/-/ast-1.14.1.tgz} '@webassemblyjs/floating-point-hex-parser@1.13.2': - resolution: {integrity: sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==} + resolution: {integrity: sha1-/Moe7dscxOe27tT8eVbWgTshufs=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz} '@webassemblyjs/helper-api-error@1.13.2': - resolution: {integrity: sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==} + resolution: {integrity: sha1-4KFhUiSLw42u523X4h8Vxe86sec=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz} '@webassemblyjs/helper-buffer@1.14.1': - resolution: {integrity: sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==} + resolution: {integrity: sha1-giqbxgMWZTH31d+E5ntb+ZtyuWs=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz} '@webassemblyjs/helper-numbers@1.13.2': - resolution: {integrity: sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==} + resolution: {integrity: sha1-29kyVI5xGfS4p4d/1ajSDmNJCy0=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz} '@webassemblyjs/helper-wasm-bytecode@1.13.2': - resolution: {integrity: sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==} + resolution: {integrity: sha1-5VYQh1j0SKroTIUOWTzhig6zHgs=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz} '@webassemblyjs/helper-wasm-section@1.14.1': - resolution: {integrity: sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==} + resolution: {integrity: sha1-lindqcRDDqtUtZEFPW3G87oFA0g=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz} '@webassemblyjs/ieee754@1.13.2': - resolution: {integrity: sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==} + resolution: {integrity: sha1-HF6qzh1gatosf9cEXqk1bFnuDbo=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz} '@webassemblyjs/leb128@1.13.2': - resolution: {integrity: sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==} + resolution: {integrity: sha1-V8XD3rAQXQLOJfo/109OvJ/Qu7A=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/leb128/-/leb128-1.13.2.tgz} '@webassemblyjs/utf8@1.13.2': - resolution: {integrity: sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==} + resolution: {integrity: sha1-kXog6T9xrVYClmwtaFrgxsIfYPE=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/utf8/-/utf8-1.13.2.tgz} '@webassemblyjs/wasm-edit@1.14.1': - resolution: {integrity: sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==} + resolution: {integrity: sha1-rGaJ9QIhm1kZjd7ELc1JaxAE1Zc=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz} '@webassemblyjs/wasm-gen@1.14.1': - resolution: {integrity: sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==} + resolution: {integrity: sha1-mR5/DAkMsLtiu6yIIHbj0hnalXA=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz} '@webassemblyjs/wasm-opt@1.14.1': - resolution: {integrity: sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==} + resolution: {integrity: sha1-5vce18yuRngcIGAX08FMUO+oEGs=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz} '@webassemblyjs/wasm-parser@1.14.1': - resolution: {integrity: sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==} + resolution: {integrity: sha1-s+E/GJNgXKeLUsaOVM9qhl+Qufs=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz} '@webassemblyjs/wast-printer@1.14.1': - resolution: {integrity: sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==} + resolution: {integrity: sha1-O7PpY4qK5f2vlhDnoGtNn5qm/gc=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz} '@xtuc/ieee754@1.2.0': - resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==} + resolution: {integrity: sha1-7vAUoxRa5Hehy8AM0eVSM23Ot5A=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@xtuc/ieee754/-/ieee754-1.2.0.tgz} '@xtuc/long@4.2.2': - resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} + resolution: {integrity: sha1-0pHGpOl5ibXGHZrPOWrk/hM6cY0=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@xtuc/long/-/long-4.2.2.tgz} '@yarnpkg/lockfile@1.0.2': resolution: {integrity: sha512-MqJ00WXw89ga0rK6GZkdmmgv3bAsxpJixyTthjcix73O44pBqotyU2BejBkLuIsaOBI6SEu77vAnSyLe5iIHkw==} @@ -1404,7 +1404,7 @@ packages: resolution: {integrity: sha512-8iUql50EUR+uUcdRQ3HDqa6EVyo3docL8g5WJ3FNcWmu62IbkGUue/pEyLBW8VGKKucTPgqeks4fIU1DA4yowQ==} ajv-keywords@5.1.0: - resolution: {integrity: sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==} + resolution: {integrity: sha1-adTThaRzPNvqtElkoRcKiPh/DhY=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/ajv-keywords/-/ajv-keywords-5.1.0.tgz} peerDependencies: ajv: ^8.8.2 @@ -1635,7 +1635,7 @@ packages: engines: {node: '>=18'} chrome-trace-event@1.0.4: - resolution: {integrity: sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==} + resolution: {integrity: sha1-Bb/9f/koRlCTMUcIyTvfqb0fD1s=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz} engines: {node: '>=6.0'} ci-info@4.4.0: @@ -1840,7 +1840,7 @@ packages: engines: {node: '>=10'} enhanced-resolve@5.27.0: - resolution: {integrity: sha512-Do6BB2xzlcc/odFg+XEYyneAx4T/WfywO71yw9ePS2tVfRsf7JVR4mUeELadIeHzixkzbG5DpluiEFPi2WGfYQ==} + resolution: {integrity: sha512-Do6BB2xzlcc/odFg+XEYyneAx4T/WfywO71yw9ePS2tVfRsf7JVR4mUeELadIeHzixkzbG5DpluiEFPi2WGfYQ==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/enhanced-resolve/-/enhanced-resolve-5.27.0.tgz} engines: {node: '>=10.13.0'} entities@2.2.0: @@ -2020,7 +2020,7 @@ packages: engines: {node: '>=0.10.0'} events@3.3.0: - resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} + resolution: {integrity: sha1-Mala0Kkk4tLEGagTrrLE6HjqdAA=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/events/-/events-3.3.0.tgz} engines: {node: '>=0.8.x'} execa@5.1.1: @@ -2597,7 +2597,7 @@ packages: engines: {node: ^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0} jest-worker@27.5.1: - resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} + resolution: {integrity: sha1-jRRvCQDolzsQa29zzB6ajLhvjbA=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/jest-worker/-/jest-worker-27.5.1.tgz} engines: {node: '>= 10.13.0'} jest-worker@30.3.0: @@ -2769,7 +2769,7 @@ packages: engines: {node: '>=8.6'} mime-db@1.54.0: - resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==} + resolution: {integrity: sha1-zds+5PnGRTDf9kAjZmHULLajFPU=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/mime-db/-/mime-db-1.54.0.tgz} engines: {node: '>= 0.6'} mimic-fn@2.1.0: @@ -2802,8 +2802,8 @@ packages: minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - minimizer-webpack-plugin@5.14.1: - resolution: {integrity: sha512-qsfTb5Ao4nre9krFweqj8k5bVU7KxgsP4WkLO/ITTuiJkbitCzYBY+Aum5KTKRhY0wDr8VJ1RILsTCSUtPd1kQ==} + minimizer-webpack-plugin@5.14.0: + resolution: {integrity: sha512-PnvQXCJxhgH2ZVVO7Lj0sM6q8L1XGxnUvd8wVQIRwi8khMCLq5wg0Ngxe44bcuZL2FSN81RdVE7YHEVzTKsQDQ==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/minimizer-webpack-plugin/-/minimizer-webpack-plugin-5.14.0.tgz} engines: {node: '>= 10.13.0'} peerDependencies: '@minify-html/node': '*' @@ -3254,7 +3254,7 @@ packages: engines: {node: '>= 0.4'} schema-utils@4.8.5: - resolution: {integrity: sha512-K1RRP7aTUAY2lGXNzPwjMK6AMMzbETdpF3pTPMEnH/RrpmPx6K1X47/gSebrV+1I9pRcgpwZwqpYBlyZAsliiw==} + resolution: {integrity: sha512-K1RRP7aTUAY2lGXNzPwjMK6AMMzbETdpF3pTPMEnH/RrpmPx6K1X47/gSebrV+1I9pRcgpwZwqpYBlyZAsliiw==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/schema-utils/-/schema-utils-4.8.5.tgz} engines: {node: '>= 10.13.0'} hasBin: true peerDependencies: @@ -3488,7 +3488,7 @@ packages: engines: {node: '>=6'} tapable@2.3.4: - resolution: {integrity: sha512-NHFiWnAbMJxNNpBwiO7jJVGDuqMxT9/oV8v57RR+fgBQShkJil5inGD8/xWy0hjLyHQyX1tu27QANhlz3KBqCg==} + resolution: {integrity: sha512-NHFiWnAbMJxNNpBwiO7jJVGDuqMxT9/oV8v57RR+fgBQShkJil5inGD8/xWy0hjLyHQyX1tu27QANhlz3KBqCg==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/tapable/-/tapable-2.3.4.tgz} engines: {node: '>=6'} tar@7.5.13: @@ -3500,8 +3500,8 @@ packages: engines: {node: '>=10'} hasBin: true - terser@5.51.4: - resolution: {integrity: sha512-VPi1CkDvCWLGUVIToctNBG+NdHbSXwOPjHJnQ3pdB0XknaldnI76wSkAFOGxV2ZdkzOP5d6gpQ5c58XvDghRvw==} + terser@5.51.2: + resolution: {integrity: sha1-VVkSQlp/L/dzdCXDcY+nbHBp9u8=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/terser/-/terser-5.51.2.tgz} engines: {node: '>=10'} hasBin: true @@ -3661,15 +3661,15 @@ packages: engines: {node: '>=10.13.0'} watchpack@2.6.4: - resolution: {integrity: sha512-5H3Tce2GfzWbcr9VnSqyak2whFaONw4BdmI5BDnMXold4qSlCFd64XaMQESRh2vkDKmdUkv6rUo17UvZ9f9nXw==} + resolution: {integrity: sha512-5H3Tce2GfzWbcr9VnSqyak2whFaONw4BdmI5BDnMXold4qSlCFd64XaMQESRh2vkDKmdUkv6rUo17UvZ9f9nXw==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/watchpack/-/watchpack-2.6.4.tgz} engines: {node: '>=10.13.0'} webpack-sources@3.7.1: - resolution: {integrity: sha512-mcxs7A2LsEdwsNqQburqS4QHPR2Ca3NGplUakn6J5GPQvnVZ4oD4IM4FJcT3f8AVN2e2EsjuIVxKj4rorHvyuQ==} + resolution: {integrity: sha512-mcxs7A2LsEdwsNqQburqS4QHPR2Ca3NGplUakn6J5GPQvnVZ4oD4IM4FJcT3f8AVN2e2EsjuIVxKj4rorHvyuQ==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/webpack-sources/-/webpack-sources-3.7.1.tgz} engines: {node: '>=10.13.0'} webpack@5.113.0: - resolution: {integrity: sha512-q54iF0LNaAAdLEt3al9qMXC2zARvcx7LVKjHp+ExjCRkGx0M8TmawGHAXykXwofWzxhNzPTAh3kLVXvNg0El4A==} + resolution: {integrity: sha512-q54iF0LNaAAdLEt3al9qMXC2zARvcx7LVKjHp+ExjCRkGx0M8TmawGHAXykXwofWzxhNzPTAh3kLVXvNg0El4A==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/webpack/-/webpack-5.113.0.tgz} engines: {node: '>=10.13.0'} hasBin: true peerDependencies: @@ -7345,11 +7345,11 @@ snapshots: minimist@1.2.8: {} - minimizer-webpack-plugin@5.14.1(webpack@5.113.0): + minimizer-webpack-plugin@5.14.0(webpack@5.113.0): dependencies: jest-worker: 27.5.1 schema-utils: 4.8.5(webpack@5.113.0) - terser: 5.51.4 + terser: 5.51.2 webpack: 5.113.0 minipass@3.3.6: @@ -8065,7 +8065,7 @@ snapshots: commander: 2.20.3 source-map-support: 0.5.21 - terser@5.51.4: + terser@5.51.2: dependencies: '@jridgewell/source-map': 0.3.11 acorn: 8.16.0 @@ -8291,7 +8291,7 @@ snapshots: events: 3.3.0 graceful-fs: 4.2.11 mime-db: 1.54.0 - minimizer-webpack-plugin: 5.14.1(webpack@5.113.0) + minimizer-webpack-plugin: 5.14.0(webpack@5.113.0) schema-utils: 4.8.5(webpack@5.113.0) tapable: 2.3.4 watchpack: 2.6.4 diff --git a/common/config/subspaces/build-tests-subspace/repo-state.json b/common/config/subspaces/build-tests-subspace/repo-state.json index f5937cf7b1a..b697aa005bf 100644 --- a/common/config/subspaces/build-tests-subspace/repo-state.json +++ b/common/config/subspaces/build-tests-subspace/repo-state.json @@ -1,6 +1,6 @@ // DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush. { - "pnpmShrinkwrapHash": "c7f651110602bd49c543f2aee9dace6c1f511a8b", + "pnpmShrinkwrapHash": "51cb42ed20d4c81b4e56806e900a7783e200ffee", "preferredVersionsHash": "550b4cee0bef4e97db6c6aad726df5149d20e7d9", "packageJsonInjectedDependenciesHash": "293debc6ed16567f5567a7748229a73be6647cc6" } diff --git a/common/config/subspaces/default/pnpm-lock.yaml b/common/config/subspaces/default/pnpm-lock.yaml index d9ec310a774..ef2fe90d490 100644 --- a/common/config/subspaces/default/pnpm-lock.yaml +++ b/common/config/subspaces/default/pnpm-lock.yaml @@ -947,7 +947,7 @@ importers: version: 9.1.20(@types/node@20.17.19)(@types/react@19.2.7)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2) '@storybook/react-webpack5': specifier: ~9.1.6 - version: 9.1.20(@rspack/core@1.6.8(@swc/helpers@0.5.21))(@types/node@20.17.19)(@types/react@19.2.7)(@types/webpack@4.41.32)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2) + version: 9.1.20(@rspack/core@1.6.8(@swc/helpers@0.5.21))(@types/node@20.17.19)(@types/react@19.2.7)(@types/webpack@4.41.32)(postcss@8.5.12)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2) '@testing-library/dom': specifier: ~7.21.4 version: 7.21.8 @@ -968,7 +968,7 @@ importers: version: 1.18.8 css-loader: specifier: ~5.2.7 - version: 5.2.7(webpack@5.113.0) + version: 5.2.7(webpack@5.113.0(postcss@8.5.12)) eslint: specifier: ~9.37.0 version: 9.37.0 @@ -977,25 +977,25 @@ importers: version: link:../heft-storybook-v9-react-tutorial-storykit html-webpack-plugin: specifier: ~5.5.0 - version: 5.5.4(webpack@5.113.0) + version: 5.5.4(webpack@5.113.0(postcss@8.5.12)) local-eslint-config: specifier: workspace:* version: link:../../eslint/local-eslint-config source-map-loader: specifier: ~1.1.3 - version: 1.1.3(webpack@5.113.0) + version: 1.1.3(webpack@5.113.0(postcss@8.5.12)) storybook: specifier: ~9.1.6 version: 9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1) style-loader: specifier: ~2.0.0 - version: 2.0.0(webpack@5.113.0) + version: 2.0.0(webpack@5.113.0(postcss@8.5.12)) typescript: specifier: ~5.8.2 version: 5.8.2 webpack: specifier: ~5.113.0 - version: 5.113.0 + version: 5.113.0(postcss@8.5.12) ../../../build-tests-samples/heft-storybook-v9-react-tutorial-app: dependencies: @@ -1029,7 +1029,7 @@ importers: version: 9.1.20(@types/node@20.17.19)(@types/react@19.2.7)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2) '@storybook/react-webpack5': specifier: ~9.1.6 - version: 9.1.20(@rspack/core@1.6.8(@swc/helpers@0.5.21))(@types/node@20.17.19)(@types/react@19.2.7)(@types/webpack@4.41.32)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2) + version: 9.1.20(@rspack/core@1.6.8(@swc/helpers@0.5.21))(@types/node@20.17.19)(@types/react@19.2.7)(@types/webpack@4.41.32)(postcss@8.5.12)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2) '@testing-library/dom': specifier: ~7.21.4 version: 7.21.8 @@ -1050,10 +1050,10 @@ importers: version: 1.18.8 babel-loader: specifier: ~8.2.3 - version: 8.2.5(@babel/core@7.20.12)(webpack@5.113.0) + version: 8.2.5(@babel/core@7.20.12)(webpack@5.113.0(postcss@8.5.12)) css-loader: specifier: ~5.2.7 - version: 5.2.7(webpack@5.113.0) + version: 5.2.7(webpack@5.113.0(postcss@8.5.12)) jest: specifier: ~29.3.1 version: 29.3.1(@types/node@20.17.19)(babel-plugin-macros@3.1.0) @@ -1068,16 +1068,16 @@ importers: version: 9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1) style-loader: specifier: ~2.0.0 - version: 2.0.0(webpack@5.113.0) + version: 2.0.0(webpack@5.113.0(postcss@8.5.12)) terser-webpack-plugin: specifier: ~3.0.8 - version: 3.0.8(webpack@5.113.0) + version: 3.0.8(webpack@5.113.0(postcss@8.5.12)) typescript: specifier: ~5.8.2 version: 5.8.2 webpack: specifier: ~5.113.0 - version: 5.113.0 + version: 5.113.0(postcss@8.5.12) devDependencies: '@rushstack/heft': specifier: workspace:* @@ -11076,25 +11076,25 @@ packages: hasBin: true '@webassemblyjs/ast@1.14.1': - resolution: {integrity: sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==} + resolution: {integrity: sha1-qfagfysDyVyNOMRTah/ftSH/VbY=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/ast/-/ast-1.14.1.tgz} '@webassemblyjs/ast@1.9.0': resolution: {integrity: sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==} '@webassemblyjs/floating-point-hex-parser@1.13.2': - resolution: {integrity: sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==} + resolution: {integrity: sha1-/Moe7dscxOe27tT8eVbWgTshufs=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.13.2.tgz} '@webassemblyjs/floating-point-hex-parser@1.9.0': resolution: {integrity: sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA==} '@webassemblyjs/helper-api-error@1.13.2': - resolution: {integrity: sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==} + resolution: {integrity: sha1-4KFhUiSLw42u523X4h8Vxe86sec=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/helper-api-error/-/helper-api-error-1.13.2.tgz} '@webassemblyjs/helper-api-error@1.9.0': resolution: {integrity: sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==} '@webassemblyjs/helper-buffer@1.14.1': - resolution: {integrity: sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==} + resolution: {integrity: sha1-giqbxgMWZTH31d+E5ntb+ZtyuWs=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/helper-buffer/-/helper-buffer-1.14.1.tgz} '@webassemblyjs/helper-buffer@1.9.0': resolution: {integrity: sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA==} @@ -11109,58 +11109,58 @@ packages: resolution: {integrity: sha512-MJCW8iGC08tMk2enck1aPW+BE5Cw8/7ph/VGZxwyvGbJwjktKkDK7vy7gAmMDx88D7mhDTCNKAW5tED+gZ0W8g==} '@webassemblyjs/helper-numbers@1.13.2': - resolution: {integrity: sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==} + resolution: {integrity: sha1-29kyVI5xGfS4p4d/1ajSDmNJCy0=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/helper-numbers/-/helper-numbers-1.13.2.tgz} '@webassemblyjs/helper-wasm-bytecode@1.13.2': - resolution: {integrity: sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==} + resolution: {integrity: sha1-5VYQh1j0SKroTIUOWTzhig6zHgs=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.13.2.tgz} '@webassemblyjs/helper-wasm-bytecode@1.9.0': resolution: {integrity: sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==} '@webassemblyjs/helper-wasm-section@1.14.1': - resolution: {integrity: sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==} + resolution: {integrity: sha1-lindqcRDDqtUtZEFPW3G87oFA0g=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.14.1.tgz} '@webassemblyjs/helper-wasm-section@1.9.0': resolution: {integrity: sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw==} '@webassemblyjs/ieee754@1.13.2': - resolution: {integrity: sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==} + resolution: {integrity: sha1-HF6qzh1gatosf9cEXqk1bFnuDbo=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/ieee754/-/ieee754-1.13.2.tgz} '@webassemblyjs/ieee754@1.9.0': resolution: {integrity: sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg==} '@webassemblyjs/leb128@1.13.2': - resolution: {integrity: sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==} + resolution: {integrity: sha1-V8XD3rAQXQLOJfo/109OvJ/Qu7A=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/leb128/-/leb128-1.13.2.tgz} '@webassemblyjs/leb128@1.9.0': resolution: {integrity: sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw==} '@webassemblyjs/utf8@1.13.2': - resolution: {integrity: sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==} + resolution: {integrity: sha1-kXog6T9xrVYClmwtaFrgxsIfYPE=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/utf8/-/utf8-1.13.2.tgz} '@webassemblyjs/utf8@1.9.0': resolution: {integrity: sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w==} '@webassemblyjs/wasm-edit@1.14.1': - resolution: {integrity: sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==} + resolution: {integrity: sha1-rGaJ9QIhm1kZjd7ELc1JaxAE1Zc=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/wasm-edit/-/wasm-edit-1.14.1.tgz} '@webassemblyjs/wasm-edit@1.9.0': resolution: {integrity: sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw==} '@webassemblyjs/wasm-gen@1.14.1': - resolution: {integrity: sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==} + resolution: {integrity: sha1-mR5/DAkMsLtiu6yIIHbj0hnalXA=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/wasm-gen/-/wasm-gen-1.14.1.tgz} '@webassemblyjs/wasm-gen@1.9.0': resolution: {integrity: sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA==} '@webassemblyjs/wasm-opt@1.14.1': - resolution: {integrity: sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==} + resolution: {integrity: sha1-5vce18yuRngcIGAX08FMUO+oEGs=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/wasm-opt/-/wasm-opt-1.14.1.tgz} '@webassemblyjs/wasm-opt@1.9.0': resolution: {integrity: sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A==} '@webassemblyjs/wasm-parser@1.14.1': - resolution: {integrity: sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==} + resolution: {integrity: sha1-s+E/GJNgXKeLUsaOVM9qhl+Qufs=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/wasm-parser/-/wasm-parser-1.14.1.tgz} '@webassemblyjs/wasm-parser@1.9.0': resolution: {integrity: sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA==} @@ -11169,16 +11169,16 @@ packages: resolution: {integrity: sha512-qsqSAP3QQ3LyZjNC/0jBJ/ToSxfYJ8kYyuiGvtn/8MK89VrNEfwj7BPQzJVHi0jGTRK2dGdJ5PRqhtjzoww+bw==} '@webassemblyjs/wast-printer@1.14.1': - resolution: {integrity: sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==} + resolution: {integrity: sha1-O7PpY4qK5f2vlhDnoGtNn5qm/gc=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@webassemblyjs/wast-printer/-/wast-printer-1.14.1.tgz} '@webassemblyjs/wast-printer@1.9.0': resolution: {integrity: sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==} '@xtuc/ieee754@1.2.0': - resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==} + resolution: {integrity: sha1-7vAUoxRa5Hehy8AM0eVSM23Ot5A=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@xtuc/ieee754/-/ieee754-1.2.0.tgz} '@xtuc/long@4.2.2': - resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} + resolution: {integrity: sha1-0pHGpOl5ibXGHZrPOWrk/hM6cY0=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/@xtuc/long/-/long-4.2.2.tgz} '@yarnpkg/lockfile@1.0.2': resolution: {integrity: sha512-MqJ00WXw89ga0rK6GZkdmmgv3bAsxpJixyTthjcix73O44pBqotyU2BejBkLuIsaOBI6SEu77vAnSyLe5iIHkw==} @@ -13030,7 +13030,7 @@ packages: engines: {node: '>=6.9.0'} enhanced-resolve@5.27.0: - resolution: {integrity: sha512-Do6BB2xzlcc/odFg+XEYyneAx4T/WfywO71yw9ePS2tVfRsf7JVR4mUeELadIeHzixkzbG5DpluiEFPi2WGfYQ==} + resolution: {integrity: sha512-Do6BB2xzlcc/odFg+XEYyneAx4T/WfywO71yw9ePS2tVfRsf7JVR4mUeELadIeHzixkzbG5DpluiEFPi2WGfYQ==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/enhanced-resolve/-/enhanced-resolve-5.27.0.tgz} engines: {node: '>=10.13.0'} enquirer@2.4.1: @@ -13533,7 +13533,7 @@ packages: engines: {node: '>=0.4.x'} events@3.3.0: - resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} + resolution: {integrity: sha1-Mala0Kkk4tLEGagTrrLE6HjqdAA=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/events/-/events-3.3.0.tgz} engines: {node: '>=0.8.x'} eventsource-parser@3.0.6: @@ -15751,7 +15751,7 @@ packages: engines: {node: '>= 0.6'} mime-db@1.54.0: - resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==} + resolution: {integrity: sha1-zds+5PnGRTDf9kAjZmHULLajFPU=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/mime-db/-/mime-db-1.54.0.tgz} engines: {node: '>= 0.6'} mime-types@2.1.35: @@ -15829,8 +15829,8 @@ packages: minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - minimizer-webpack-plugin@5.14.1: - resolution: {integrity: sha512-qsfTb5Ao4nre9krFweqj8k5bVU7KxgsP4WkLO/ITTuiJkbitCzYBY+Aum5KTKRhY0wDr8VJ1RILsTCSUtPd1kQ==} + minimizer-webpack-plugin@5.14.0: + resolution: {integrity: sha512-PnvQXCJxhgH2ZVVO7Lj0sM6q8L1XGxnUvd8wVQIRwi8khMCLq5wg0Ngxe44bcuZL2FSN81RdVE7YHEVzTKsQDQ==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/minimizer-webpack-plugin/-/minimizer-webpack-plugin-5.14.0.tgz} engines: {node: '>= 10.13.0'} peerDependencies: '@minify-html/node': '*' @@ -17586,7 +17586,7 @@ packages: hasBin: true sass-embedded-android-arm64@1.85.1: - resolution: {integrity: sha512-27oRheqNA3SJM2hAxpVbs7mCKUwKPWmEEhyiNFpBINb5ELVLg+Ck5RsGg+SJmo130ul5YX0vinmVB5uPWc8X5w==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-android-arm64/-/sass-embedded-android-arm64-1.85.1.tgz} + resolution: {integrity: sha1-HKnF4G6hqOz3T/f76mcXBs/lAyA=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-android-arm64/-/sass-embedded-android-arm64-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [arm64] os: [android] @@ -17604,7 +17604,7 @@ packages: os: [android] sass-embedded-android-riscv64@1.85.1: - resolution: {integrity: sha512-IP6OijpJ8Mqo7XqCe0LsuZVbAxEFVboa0kXqqR5K55LebEplsTIA2GnmRyMay3Yr/2FVGsZbCb6Wlgkw23eCiA==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-android-riscv64/-/sass-embedded-android-riscv64-1.85.1.tgz} + resolution: {integrity: sha1-sgJKrrdUVAEb0qOujuTKwnO15xE=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-android-riscv64/-/sass-embedded-android-riscv64-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [riscv64] os: [android] @@ -17622,7 +17622,7 @@ packages: os: [darwin] sass-embedded-darwin-x64@1.85.1: - resolution: {integrity: sha512-J4UFHUiyI9Z+mwYMwz11Ky9TYr3hY1fCxeQddjNGL/+ovldtb0yAIHvoVM0BGprQDm5JqhtUk8KyJ3RMJqpaAA==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-darwin-x64/-/sass-embedded-darwin-x64-1.85.1.tgz} + resolution: {integrity: sha1-FH7PSb8tGC295s7zN6WKBbepOrE=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-darwin-x64/-/sass-embedded-darwin-x64-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [x64] os: [darwin] @@ -17634,7 +17634,7 @@ packages: os: [linux] sass-embedded-linux-arm@1.85.1: - resolution: {integrity: sha512-X0fDh95nNSw1wfRlnkE4oscoEA5Au4nnk785s9jghPFkTBg+A+5uB6trCjf0fM22+Iw6kiP4YYmDdw3BqxAKLQ==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-arm/-/sass-embedded-linux-arm-1.85.1.tgz} + resolution: {integrity: sha1-iZy6lLc+sRn2Q0aInkZt4xtvXTw=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-arm/-/sass-embedded-linux-arm-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [arm] os: [linux] @@ -17658,13 +17658,13 @@ packages: os: [linux] sass-embedded-linux-musl-ia32@1.85.1: - resolution: {integrity: sha512-N1093T84zQJor1yyIAdYScB5eAuQarGK1tKgZ4uTnxVlgA7Xi1lXV8Eh7ox9sDqKCaWkVQ3MjqU26vYRBeRWyw==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-musl-ia32/-/sass-embedded-linux-musl-ia32-1.85.1.tgz} + resolution: {integrity: sha1-BwYJr9mc0Pnq5yGGyfSi0M32lE0=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-musl-ia32/-/sass-embedded-linux-musl-ia32-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [ia32] os: [linux] sass-embedded-linux-musl-riscv64@1.85.1: - resolution: {integrity: sha512-WRsZS/7qlfYXsa93FBpSruieuURIu7ySfFhzYfF1IbKrNAGwmbduutkHZh2ddm5/vQMvQ0Rdosgv+CslaQHMcw==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-musl-riscv64/-/sass-embedded-linux-musl-riscv64-1.85.1.tgz} + resolution: {integrity: sha1-D0JkvkAnfXzBgUnJ4PA68JVi5vc=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/sass-embedded-linux-musl-riscv64/-/sass-embedded-linux-musl-riscv64-1.85.1.tgz} engines: {node: '>=14.0.0'} cpu: [riscv64] os: [linux] @@ -17753,7 +17753,7 @@ packages: engines: {node: '>= 4'} schema-utils@2.7.0: - resolution: {integrity: sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A==} + resolution: {integrity: sha1-FxUfdtjq5n+793lgwzxnatn078c=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/schema-utils/-/schema-utils-2.7.0.tgz} engines: {node: '>= 8.9.0'} schema-utils@2.7.1: @@ -17769,7 +17769,7 @@ packages: engines: {node: '>= 10.13.0'} schema-utils@4.8.5: - resolution: {integrity: sha512-K1RRP7aTUAY2lGXNzPwjMK6AMMzbETdpF3pTPMEnH/RrpmPx6K1X47/gSebrV+1I9pRcgpwZwqpYBlyZAsliiw==} + resolution: {integrity: sha512-K1RRP7aTUAY2lGXNzPwjMK6AMMzbETdpF3pTPMEnH/RrpmPx6K1X47/gSebrV+1I9pRcgpwZwqpYBlyZAsliiw==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/schema-utils/-/schema-utils-4.8.5.tgz} engines: {node: '>= 10.13.0'} hasBin: true peerDependencies: @@ -18398,7 +18398,7 @@ packages: engines: {node: '>=6'} tapable@2.3.4: - resolution: {integrity: sha512-NHFiWnAbMJxNNpBwiO7jJVGDuqMxT9/oV8v57RR+fgBQShkJil5inGD8/xWy0hjLyHQyX1tu27QANhlz3KBqCg==} + resolution: {integrity: sha512-NHFiWnAbMJxNNpBwiO7jJVGDuqMxT9/oV8v57RR+fgBQShkJil5inGD8/xWy0hjLyHQyX1tu27QANhlz3KBqCg==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/tapable/-/tapable-2.3.4.tgz} engines: {node: '>=6'} tar-fs@2.1.4: @@ -18469,8 +18469,8 @@ packages: engines: {node: '>=10'} hasBin: true - terser@5.51.4: - resolution: {integrity: sha512-VPi1CkDvCWLGUVIToctNBG+NdHbSXwOPjHJnQ3pdB0XknaldnI76wSkAFOGxV2ZdkzOP5d6gpQ5c58XvDghRvw==} + terser@5.51.2: + resolution: {integrity: sha1-VVkSQlp/L/dzdCXDcY+nbHBp9u8=, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/terser/-/terser-5.51.2.tgz} engines: {node: '>=10'} hasBin: true @@ -19063,7 +19063,7 @@ packages: engines: {node: '>=10.13.0'} watchpack@2.6.4: - resolution: {integrity: sha512-5H3Tce2GfzWbcr9VnSqyak2whFaONw4BdmI5BDnMXold4qSlCFd64XaMQESRh2vkDKmdUkv6rUo17UvZ9f9nXw==} + resolution: {integrity: sha512-5H3Tce2GfzWbcr9VnSqyak2whFaONw4BdmI5BDnMXold4qSlCFd64XaMQESRh2vkDKmdUkv6rUo17UvZ9f9nXw==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/watchpack/-/watchpack-2.6.4.tgz} engines: {node: '>=10.13.0'} wbuf@1.7.3: @@ -19179,7 +19179,7 @@ packages: resolution: {integrity: sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==} webpack-sources@3.7.1: - resolution: {integrity: sha512-mcxs7A2LsEdwsNqQburqS4QHPR2Ca3NGplUakn6J5GPQvnVZ4oD4IM4FJcT3f8AVN2e2EsjuIVxKj4rorHvyuQ==} + resolution: {integrity: sha512-mcxs7A2LsEdwsNqQburqS4QHPR2Ca3NGplUakn6J5GPQvnVZ4oD4IM4FJcT3f8AVN2e2EsjuIVxKj4rorHvyuQ==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/webpack-sources/-/webpack-sources-3.7.1.tgz} engines: {node: '>=10.13.0'} webpack-virtual-modules@0.2.2: @@ -19202,7 +19202,7 @@ packages: optional: true webpack@5.113.0: - resolution: {integrity: sha512-q54iF0LNaAAdLEt3al9qMXC2zARvcx7LVKjHp+ExjCRkGx0M8TmawGHAXykXwofWzxhNzPTAh3kLVXvNg0El4A==} + resolution: {integrity: sha512-q54iF0LNaAAdLEt3al9qMXC2zARvcx7LVKjHp+ExjCRkGx0M8TmawGHAXykXwofWzxhNzPTAh3kLVXvNg0El4A==, tarball: https://ms-feed-25.pkgs.visualstudio.com/1es-public/_packaging/npm-public/npm/registry/webpack/-/webpack-5.113.0.tgz} engines: {node: '>=10.13.0'} hasBin: true peerDependencies: @@ -26140,22 +26140,22 @@ snapshots: - webpack-cli - webpack-command - '@storybook/builder-webpack5@9.1.20(@rspack/core@1.6.8(@swc/helpers@0.5.21))(@types/webpack@4.41.32)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2)': + '@storybook/builder-webpack5@9.1.20(@rspack/core@1.6.8(@swc/helpers@0.5.21))(@types/webpack@4.41.32)(postcss@8.5.12)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2)': dependencies: '@storybook/core-webpack': 9.1.20(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1)) case-sensitive-paths-webpack-plugin: 2.4.0 cjs-module-lexer: 1.4.3 - css-loader: 6.11.0(@rspack/core@1.6.8(@swc/helpers@0.5.21))(webpack@5.113.0) + css-loader: 6.11.0(@rspack/core@1.6.8(@swc/helpers@0.5.21))(webpack@5.113.0(postcss@8.5.12)) es-module-lexer: 1.7.0 - fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.8.2)(webpack@5.113.0) - html-webpack-plugin: 5.5.4(webpack@5.113.0) + fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.8.2)(webpack@5.113.0(postcss@8.5.12)) + html-webpack-plugin: 5.5.4(webpack@5.113.0(postcss@8.5.12)) magic-string: 0.30.21 storybook: 9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1) - style-loader: 3.3.4(webpack@5.113.0) - terser-webpack-plugin: 5.3.17(webpack@5.113.0) + style-loader: 3.3.4(webpack@5.113.0(postcss@8.5.12)) + terser-webpack-plugin: 5.3.17(webpack@5.113.0(postcss@8.5.12)) ts-dedent: 2.2.0 - webpack: 5.113.0 - webpack-dev-middleware: 6.1.3(@types/webpack@4.41.32)(webpack@5.113.0) + webpack: 5.113.0(postcss@8.5.12) + webpack-dev-middleware: 6.1.3(@types/webpack@4.41.32)(webpack@5.113.0(postcss@8.5.12)) webpack-hot-middleware: 2.26.1 webpack-virtual-modules: 0.6.2 optionalDependencies: @@ -26642,10 +26642,10 @@ snapshots: dependencies: core-js: 3.49.0 - '@storybook/preset-react-webpack@9.1.20(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2)': + '@storybook/preset-react-webpack@9.1.20(postcss@8.5.12)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2)': dependencies: '@storybook/core-webpack': 9.1.20(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1)) - '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.8.2)(webpack@5.113.0) + '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.8.2)(webpack@5.113.0(postcss@8.5.12)) '@types/semver': 7.7.1 find-up: 7.0.0 magic-string: 0.30.21 @@ -26656,7 +26656,7 @@ snapshots: semver: 7.7.4 storybook: 9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1) tsconfig-paths: 4.2.0 - webpack: 5.113.0 + webpack: 5.113.0(postcss@8.5.12) optionalDependencies: typescript: 5.8.2 transitivePeerDependencies: @@ -26717,7 +26717,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.8.2)(webpack@5.113.0)': + '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.8.2)(webpack@5.113.0(postcss@8.5.12))': dependencies: debug: 4.4.3(supports-color@8.1.1) endent: 2.1.0 @@ -26727,7 +26727,7 @@ snapshots: react-docgen-typescript: 2.4.0(typescript@5.8.2) tslib: 2.8.1 typescript: 5.8.2 - webpack: 5.113.0 + webpack: 5.113.0(postcss@8.5.12) transitivePeerDependencies: - supports-color @@ -26737,10 +26737,10 @@ snapshots: react-dom: 19.2.4(react@19.2.4) storybook: 9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1) - '@storybook/react-webpack5@9.1.20(@rspack/core@1.6.8(@swc/helpers@0.5.21))(@types/node@20.17.19)(@types/react@19.2.7)(@types/webpack@4.41.32)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2)': + '@storybook/react-webpack5@9.1.20(@rspack/core@1.6.8(@swc/helpers@0.5.21))(@types/node@20.17.19)(@types/react@19.2.7)(@types/webpack@4.41.32)(postcss@8.5.12)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2)': dependencies: - '@storybook/builder-webpack5': 9.1.20(@rspack/core@1.6.8(@swc/helpers@0.5.21))(@types/webpack@4.41.32)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2) - '@storybook/preset-react-webpack': 9.1.20(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2) + '@storybook/builder-webpack5': 9.1.20(@rspack/core@1.6.8(@swc/helpers@0.5.21))(@types/webpack@4.41.32)(postcss@8.5.12)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2) + '@storybook/preset-react-webpack': 9.1.20(postcss@8.5.12)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2) '@storybook/react': 9.1.20(@types/node@20.17.19)(@types/react@19.2.7)(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(storybook@9.1.20(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2) react: 19.2.4 react-dom: 19.2.4(react@19.2.4) @@ -28863,14 +28863,14 @@ snapshots: schema-utils: 2.7.1 webpack: 4.47.0 - babel-loader@8.2.5(@babel/core@7.20.12)(webpack@5.113.0): + babel-loader@8.2.5(@babel/core@7.20.12)(webpack@5.113.0(postcss@8.5.12)): dependencies: '@babel/core': 7.20.12 find-cache-dir: 3.3.2 loader-utils: 2.0.4 make-dir: 3.1.0 schema-utils: 2.7.1 - webpack: 5.113.0 + webpack: 5.113.0(postcss@8.5.12) babel-plugin-add-react-displayname@0.0.5: {} @@ -29968,7 +29968,7 @@ snapshots: semver: 7.7.4 webpack: 4.47.0 - css-loader@5.2.7(webpack@5.113.0): + css-loader@5.2.7(webpack@5.113.0(postcss@8.5.12)): dependencies: icss-utils: 5.1.0(postcss@8.4.49) loader-utils: 2.0.4 @@ -29980,9 +29980,9 @@ snapshots: postcss-value-parser: 4.2.0 schema-utils: 3.3.0 semver: 7.7.4 - webpack: 5.113.0 + webpack: 5.113.0(postcss@8.5.12) - css-loader@6.11.0(@rspack/core@1.6.8(@swc/helpers@0.5.21))(webpack@5.113.0): + css-loader@6.11.0(@rspack/core@1.6.8(@swc/helpers@0.5.21))(webpack@5.113.0(postcss@8.5.12)): dependencies: icss-utils: 5.1.0(postcss@8.5.12) postcss: 8.5.12 @@ -29994,7 +29994,7 @@ snapshots: semver: 7.7.4 optionalDependencies: '@rspack/core': 1.6.8(@swc/helpers@0.5.21) - webpack: 5.113.0 + webpack: 5.113.0(postcss@8.5.12) css-loader@6.6.0(webpack@5.113.0(postcss@8.5.12)): dependencies: @@ -32066,7 +32066,7 @@ snapshots: optionalDependencies: eslint: 9.37.0 - fork-ts-checker-webpack-plugin@8.0.0(typescript@5.8.2)(webpack@5.113.0): + fork-ts-checker-webpack-plugin@8.0.0(typescript@5.8.2)(webpack@5.113.0(postcss@8.5.12)): dependencies: '@babel/code-frame': 7.29.0 chalk: 4.1.2 @@ -32081,7 +32081,7 @@ snapshots: semver: 7.7.4 tapable: 2.3.0 typescript: 5.8.2 - webpack: 5.113.0 + webpack: 5.113.0(postcss@8.5.12) form-data@4.0.5: dependencies: @@ -34662,20 +34662,20 @@ snapshots: minimist@1.2.8: {} - minimizer-webpack-plugin@5.14.1(postcss@8.5.12)(webpack@5.113.0(postcss@8.5.12)): + minimizer-webpack-plugin@5.14.0(postcss@8.5.12)(webpack@5.113.0(postcss@8.5.12)): dependencies: jest-worker: 27.5.1 schema-utils: 4.8.5(webpack@5.113.0(postcss@8.5.12)) - terser: 5.51.4 + terser: 5.51.2 webpack: 5.113.0(postcss@8.5.12) optionalDependencies: postcss: 8.5.12 - minimizer-webpack-plugin@5.14.1(webpack@5.113.0): + minimizer-webpack-plugin@5.14.0(webpack@5.113.0): dependencies: jest-worker: 27.5.1 schema-utils: 4.8.5(webpack@5.113.0) - terser: 5.51.4 + terser: 5.51.2 webpack: 5.113.0 minipass-collect@1.0.2: @@ -37161,14 +37161,14 @@ snapshots: webpack: 4.47.0 whatwg-mimetype: 2.3.0 - source-map-loader@1.1.3(webpack@5.113.0): + source-map-loader@1.1.3(webpack@5.113.0(postcss@8.5.12)): dependencies: abab: 2.0.6 iconv-lite: 0.6.3 loader-utils: 2.0.4 schema-utils: 3.3.0 source-map: 0.6.1 - webpack: 5.113.0 + webpack: 5.113.0(postcss@8.5.12) whatwg-mimetype: 2.3.0 source-map-loader@3.0.2(webpack@5.113.0(postcss@8.5.12)): @@ -37509,20 +37509,16 @@ snapshots: schema-utils: 3.3.0 webpack: 4.47.0 - style-loader@2.0.0(webpack@5.113.0): + style-loader@2.0.0(webpack@5.113.0(postcss@8.5.12)): dependencies: loader-utils: 2.0.4 schema-utils: 3.3.0 - webpack: 5.113.0 + webpack: 5.113.0(postcss@8.5.12) style-loader@3.3.4(webpack@5.113.0(postcss@8.5.12)): dependencies: webpack: 5.113.0(postcss@8.5.12) - style-loader@3.3.4(webpack@5.113.0): - dependencies: - webpack: 5.113.0 - style-to-object@0.3.0: dependencies: inline-style-parser: 0.1.1 @@ -37687,7 +37683,7 @@ snapshots: webpack: 4.47.0 webpack-sources: 1.4.3 - terser-webpack-plugin@3.0.8(webpack@5.113.0): + terser-webpack-plugin@3.0.8(webpack@5.113.0(postcss@8.5.12)): dependencies: cacache: 15.3.0 find-cache-dir: 3.3.2 @@ -37697,7 +37693,7 @@ snapshots: serialize-javascript: 4.0.0 source-map: 0.6.1 terser: 4.8.1 - webpack: 5.113.0 + webpack: 5.113.0(postcss@8.5.12) webpack-sources: 1.4.3 terser-webpack-plugin@4.2.3(webpack@4.47.0): @@ -37721,14 +37717,6 @@ snapshots: terser: 5.46.1 webpack: 5.113.0(postcss@8.5.12) - terser-webpack-plugin@5.3.17(webpack@5.113.0): - dependencies: - '@jridgewell/trace-mapping': 0.3.31 - jest-worker: 27.5.1 - schema-utils: 4.3.3 - terser: 5.46.1 - webpack: 5.113.0 - terser@4.8.1: dependencies: commander: 2.20.3 @@ -37742,7 +37730,7 @@ snapshots: commander: 2.20.3 source-map-support: 0.5.21 - terser@5.51.4: + terser@5.51.2: dependencies: '@jridgewell/source-map': 0.3.11 acorn: 8.16.0 @@ -38487,7 +38475,7 @@ snapshots: optionalDependencies: '@types/webpack': 4.41.32 - webpack-dev-middleware@6.1.3(@types/webpack@4.41.32)(webpack@5.113.0): + webpack-dev-middleware@6.1.3(@types/webpack@4.41.32)(webpack@5.113.0(postcss@8.5.12)): dependencies: colorette: 2.0.20 memfs: 3.5.3 @@ -38496,7 +38484,7 @@ snapshots: schema-utils: 4.3.3 optionalDependencies: '@types/webpack': 4.41.32 - webpack: 5.113.0 + webpack: 5.113.0(postcss@8.5.12) webpack-dev-middleware@7.4.5(@types/webpack@4.41.32)(webpack@4.47.0): dependencies: @@ -38718,7 +38706,7 @@ snapshots: events: 3.3.0 graceful-fs: 4.2.11 mime-db: 1.54.0 - minimizer-webpack-plugin: 5.14.1(webpack@5.113.0) + minimizer-webpack-plugin: 5.14.0(webpack@5.113.0) schema-utils: 4.8.5(webpack@5.113.0) tapable: 2.3.4 watchpack: 2.6.4 @@ -38754,7 +38742,7 @@ snapshots: events: 3.3.0 graceful-fs: 4.2.11 mime-db: 1.54.0 - minimizer-webpack-plugin: 5.14.1(postcss@8.5.12)(webpack@5.113.0(postcss@8.5.12)) + minimizer-webpack-plugin: 5.14.0(postcss@8.5.12)(webpack@5.113.0(postcss@8.5.12)) schema-utils: 4.8.5(webpack@5.113.0(postcss@8.5.12)) tapable: 2.3.4 watchpack: 2.6.4 diff --git a/common/config/subspaces/default/repo-state.json b/common/config/subspaces/default/repo-state.json index ac164e5b4d6..e985b419740 100644 --- a/common/config/subspaces/default/repo-state.json +++ b/common/config/subspaces/default/repo-state.json @@ -1,5 +1,5 @@ // DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush. { - "pnpmShrinkwrapHash": "6be8f9a2cecba2da1b6dac127739ffc872e1b261", + "pnpmShrinkwrapHash": "88560f6b240f7b9d9e6e5b80ae1363a7e5ef018f", "preferredVersionsHash": "029c99bd6e65c5e1f25e2848340509811ff9753c" } From d47b5246f6f74219c1994b8cc90c9cb08fb56189 Mon Sep 17 00:00:00 2001 From: iclanton <5010588+iclanton@users.noreply.github.com> Date: Fri, 27 Nov 2026 00:17:02 +0000 Subject: [PATCH 4/5] fixup! Bump webpack 5 dependencies to 5.113.0 Preserve all exports used through Rush deep-import facades, refresh localization snapshots for the updated lockfiles, and suppress Browserslist age warnings across CI build and test processes. Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --- .github/workflows/ci.yml | 1 + libraries/rush-lib/webpack.config.js | 2 ++ .../LocalizedAsyncDynamic.test.ts.snap | 20 +++++------ ...micFormatWithNoLocaleFallback.test.ts.snap | 36 +++++++++---------- .../LocalizedRuntime.test.ts.snap | 4 +-- ...edRuntimeDifferentHashLengths.test.ts.snap | 4 +-- .../__snapshots__/MixedAsync.test.ts.snap | 8 ++--- .../MixedAsyncDynamic.test.ts.snap | 24 ++++++------- .../NoLocalizedFiles.test.ts.snap | 2 +- 9 files changed, 52 insertions(+), 49 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd5f510a9c3..304e3cf9b6c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,7 @@ jobs: runs-on: ${{ matrix.OS }} env: INSTALL_RUN_RUSH_LOCKFILE_PATH: ${{ github.workspace }}/repo-a/common/config/validation/rush-package-lock.json + BROWSERSLIST_IGNORE_OLD_DATA: '1' steps: - name: Create ~/.rush-user/settings.json shell: pwsh diff --git a/libraries/rush-lib/webpack.config.js b/libraries/rush-lib/webpack.config.js index fd758205ace..bb9d596be1d 100644 --- a/libraries/rush-lib/webpack.config.js +++ b/libraries/rush-lib/webpack.config.js @@ -94,6 +94,8 @@ module.exports = () => { }, [ new DeepImportsPlugin({ + // Deep-import facades expose non-entry modules and all of their exports. + entryOnly: false, // A manifest will be produced for each entry point, so since this compilation has multiple entry points, // it needs to specify a template for the manifest filename. // Otherwise webpack will throw an error about multiple writes to the same manifest file. diff --git a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedAsyncDynamic.test.ts.snap b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedAsyncDynamic.test.ts.snap index 506685782ec..b8f8f490101 100644 --- a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedAsyncDynamic.test.ts.snap +++ b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedAsyncDynamic.test.ts.snap @@ -2,12 +2,12 @@ exports[`LocalizationPlugin Handles async localized chunks with a runtime locale expression (minified): Content 1`] = ` Object { - "/release/chunks/async1-LOCALE1-7dfba9e088246d0a9b95.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var r=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(r.t,a.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"blah\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"something else\\"}')}}]);", - "/release/chunks/async1-LOCALE2-7dfba9e088246d0a9b95.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var r=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(r.t,a.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"baz\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"some random translation\\"}')}}]);", - "/release/chunks/async2-LOCALE1-9832ac678dadee4b38d4.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var r=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(r.t+a.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"blah\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"something else\\"}')}}]);", - "/release/chunks/async2-LOCALE2-9832ac678dadee4b38d4.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var r=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(r.t+a.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"baz\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"some random translation\\"}')}}]);", - "/release/mainSingleChunk-none-5fc4673121cbeae690c1.js": "(()=>{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"chunks/async1-\\"+self.__locale+\\"-7dfba9e088246d0a9b95.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./a/async1.js\\"))})();", - "/release/mainTwoChunks-none-2e06e104454e3b4a8650.js": "(()=>{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+self.__locale+\\"-\\"+{230:\\"7dfba9e088246d0a9b95\\",421:\\"9832ac678dadee4b38d4\\"}[e]+\\".js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./a/async1.js\\")),o.e(421).then(()=>o(\\"./a/async2.js\\"))})();", + "/release/chunks/async1-LOCALE1-f8e2eb5a2e724259e2d8.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var r=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(r.t,a.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"blah\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"something else\\"}')}}]);", + "/release/chunks/async1-LOCALE2-f8e2eb5a2e724259e2d8.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var r=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(r.t,a.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"baz\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"some random translation\\"}')}}]);", + "/release/chunks/async2-LOCALE1-06188a3e340bedf8f6a8.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var r=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(r.t+a.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"blah\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"something else\\"}')}}]);", + "/release/chunks/async2-LOCALE2-06188a3e340bedf8f6a8.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var r=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(r.t+a.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"baz\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"some random translation\\"}')}}]);", + "/release/mainSingleChunk-none-ae3c2d50d869b497b4ad.js": "(()=>{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"chunks/async1-\\"+self.__locale+\\"-f8e2eb5a2e724259e2d8.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./a/async1.js\\"))})();", + "/release/mainTwoChunks-none-cc1a09b80b85106f52dc.js": "(()=>{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+self.__locale+\\"-\\"+{230:\\"f8e2eb5a2e724259e2d8\\",421:\\"06188a3e340bedf8f6a8\\"}[e]+\\".js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./a/async1.js\\")),o.e(421).then(()=>o(\\"./a/async2.js\\"))})();", } `; @@ -19,14 +19,14 @@ Object { "namedChunkGroups": Object { "async1": Object { "localizedAssets": Object { - "LOCALE1": "chunks/async1-LOCALE1-7dfba9e088246d0a9b95.js", - "LOCALE2": "chunks/async1-LOCALE2-7dfba9e088246d0a9b95.js", + "LOCALE1": "chunks/async1-LOCALE1-f8e2eb5a2e724259e2d8.js", + "LOCALE2": "chunks/async1-LOCALE2-f8e2eb5a2e724259e2d8.js", }, }, "async2": Object { "localizedAssets": Object { - "LOCALE1": "chunks/async2-LOCALE1-9832ac678dadee4b38d4.js", - "LOCALE2": "chunks/async2-LOCALE2-9832ac678dadee4b38d4.js", + "LOCALE1": "chunks/async2-LOCALE1-06188a3e340bedf8f6a8.js", + "LOCALE2": "chunks/async2-LOCALE2-06188a3e340bedf8f6a8.js", }, }, }, diff --git a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedAsyncDynamicFormatWithNoLocaleFallback.test.ts.snap b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedAsyncDynamicFormatWithNoLocaleFallback.test.ts.snap index 9671f49419e..b796447561e 100644 --- a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedAsyncDynamicFormatWithNoLocaleFallback.test.ts.snap +++ b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedAsyncDynamicFormatWithNoLocaleFallback.test.ts.snap @@ -2,25 +2,25 @@ exports[`LocalizationPlugin Handles async localized chunks with a runtime locale expression (minified): Assets 1`] = ` Object { - "chunks/async1-LOCALE1/-7dfba9e088246d0a9b95.js": SizeOnlySource { + "chunks/async1-LOCALE1/-f8e2eb5a2e724259e2d8.js": SizeOnlySource { "_size": 353, }, - "chunks/async1-LOCALE2/-7dfba9e088246d0a9b95.js": SizeOnlySource { + "chunks/async1-LOCALE2/-f8e2eb5a2e724259e2d8.js": SizeOnlySource { "_size": 361, }, - "chunks/async2-LOCALE1/-9832ac678dadee4b38d4.js": SizeOnlySource { + "chunks/async2-LOCALE1/-06188a3e340bedf8f6a8.js": SizeOnlySource { "_size": 353, }, - "chunks/async2-LOCALE2/-9832ac678dadee4b38d4.js": SizeOnlySource { + "chunks/async2-LOCALE2/-06188a3e340bedf8f6a8.js": SizeOnlySource { "_size": 361, }, - "mainSingleChunk--b14119c2b16ece14b7d1.js": SizeOnlySource { + "mainSingleChunk--b2132a7b010274a2fbd6.js": SizeOnlySource { "_size": 2298, }, - "mainTwoChunks--3d3963a9d441d086dd92.js": SizeOnlySource { + "mainTwoChunks--db92c7b5412c93c3c35f.js": SizeOnlySource { "_size": 2406, }, - "other--925a3d27f2b7529d18f1.js": SizeOnlySource { + "other--f27f95663b20793c9e5e.js": SizeOnlySource { "_size": 27, }, } @@ -28,13 +28,13 @@ Object { exports[`LocalizationPlugin Handles async localized chunks with a runtime locale expression (minified): Content 1`] = ` Object { - "/release/chunks/async1-LOCALE1/-7dfba9e088246d0a9b95.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var r=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(r.t,a.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"blah\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"something else\\"}')}}]);", - "/release/chunks/async1-LOCALE2/-7dfba9e088246d0a9b95.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var r=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(r.t,a.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"baz\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"some random translation\\"}')}}]);", - "/release/chunks/async2-LOCALE1/-9832ac678dadee4b38d4.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var r=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(r.t+a.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"blah\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"something else\\"}')}}]);", - "/release/chunks/async2-LOCALE2/-9832ac678dadee4b38d4.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var r=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(r.t+a.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"baz\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"some random translation\\"}')}}]);", - "/release/mainSingleChunk--b14119c2b16ece14b7d1.js": "(()=>{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"chunks/async1-\\"+self.__locale+\\"/-7dfba9e088246d0a9b95.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./a/async1.js\\"))})();", - "/release/mainTwoChunks--3d3963a9d441d086dd92.js": "(()=>{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+self.__locale+\\"/-\\"+{230:\\"7dfba9e088246d0a9b95\\",421:\\"9832ac678dadee4b38d4\\"}[e]+\\".js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./a/async1.js\\")),o.e(421).then(()=>o(\\"./a/async2.js\\"))})();", - "/release/other--925a3d27f2b7529d18f1.js": "console.log(\\"hello world\\");", + "/release/chunks/async1-LOCALE1/-f8e2eb5a2e724259e2d8.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var r=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(r.t,a.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"blah\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"something else\\"}')}}]);", + "/release/chunks/async1-LOCALE2/-f8e2eb5a2e724259e2d8.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var r=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(r.t,a.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"baz\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"some random translation\\"}')}}]);", + "/release/chunks/async2-LOCALE1/-06188a3e340bedf8f6a8.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var r=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(r.t+a.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"blah\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"something else\\"}')}}]);", + "/release/chunks/async2-LOCALE2/-06188a3e340bedf8f6a8.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var r=_(\\"./a/strings1.resjson\\"),a=_(\\"./a/strings2.resjson\\");console.log(r.t+a.S)},\\"./a/strings1.resjson\\"(s){s.exports=JSON.parse('{\\"t\\":\\"baz\\"}')},\\"./a/strings2.resjson\\"(s){s.exports=JSON.parse('{\\"S\\":\\"some random translation\\"}')}}]);", + "/release/mainSingleChunk--b2132a7b010274a2fbd6.js": "(()=>{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"chunks/async1-\\"+self.__locale+\\"/-f8e2eb5a2e724259e2d8.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./a/async1.js\\"))})();", + "/release/mainTwoChunks--db92c7b5412c93c3c35f.js": "(()=>{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+self.__locale+\\"/-\\"+{230:\\"f8e2eb5a2e724259e2d8\\",421:\\"06188a3e340bedf8f6a8\\"}[e]+\\".js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./a/async1.js\\")),o.e(421).then(()=>o(\\"./a/async2.js\\"))})();", + "/release/other--f27f95663b20793c9e5e.js": "console.log(\\"hello world\\");", } `; @@ -46,14 +46,14 @@ Object { "namedChunkGroups": Object { "async1": Object { "localizedAssets": Object { - "LOCALE1": "chunks/async1-LOCALE1/-7dfba9e088246d0a9b95.js", - "LOCALE2": "chunks/async1-LOCALE2/-7dfba9e088246d0a9b95.js", + "LOCALE1": "chunks/async1-LOCALE1/-f8e2eb5a2e724259e2d8.js", + "LOCALE2": "chunks/async1-LOCALE2/-f8e2eb5a2e724259e2d8.js", }, }, "async2": Object { "localizedAssets": Object { - "LOCALE1": "chunks/async2-LOCALE1/-9832ac678dadee4b38d4.js", - "LOCALE2": "chunks/async2-LOCALE2/-9832ac678dadee4b38d4.js", + "LOCALE1": "chunks/async2-LOCALE1/-06188a3e340bedf8f6a8.js", + "LOCALE2": "chunks/async2-LOCALE2/-06188a3e340bedf8f6a8.js", }, }, }, diff --git a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedRuntime.test.ts.snap b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedRuntime.test.ts.snap index 4ca08fd1d0c..bfe6a4b5ba1 100644 --- a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedRuntime.test.ts.snap +++ b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedRuntime.test.ts.snap @@ -6,8 +6,8 @@ Object { "/release/chunks/async1-LOCALE2-e9ec961ace54d8b61181.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.resjson\\"),n=_(\\"./a/strings2.resjson\\");console.log(a.A.test,n.A.another)},\\"./a/strings1.resjson\\"(s,e,_){_.d(e,[\\"A\\",0,{test:\\"baz\\"}])},\\"./a/strings2.resjson\\"(s,e,_){_.d(e,[\\"A\\",0,{another:\\"some random translation\\"}])}}]);", "/release/chunks/async2-LOCALE1-1d8197ef25efa79d9932.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.resjson\\"),n=_(\\"./a/strings2.resjson\\");console.log(a.A.test+n.A.another)},\\"./a/strings1.resjson\\"(s,e,_){_.d(e,[\\"A\\",0,{test:\\"blah\\"}])},\\"./a/strings2.resjson\\"(s,e,_){_.d(e,[\\"A\\",0,{another:\\"something else\\"}])}}]);", "/release/chunks/async2-LOCALE2-566aa65daefdd30eb324.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.resjson\\"),n=_(\\"./a/strings2.resjson\\");console.log(a.A.test+n.A.another)},\\"./a/strings1.resjson\\"(s,e,_){_.d(e,[\\"A\\",0,{test:\\"baz\\"}])},\\"./a/strings2.resjson\\"(s,e,_){_.d(e,[\\"A\\",0,{another:\\"some random translation\\"}])}}]);", - "/release/mainSingleChunk-LOCALE1-9cd0c384ca32226b7727.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE1 */ {\\"async1\\":\\"async1-LOCALE1-123456\\",\\"async2\\":\\"async2-LOCALE1-123456\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/async1-\\"+\\"LOCALE1\\"+\\"-814298bc359dde87fc03.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,i)=>{if(e[t])return void e[t].push(n);let c,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{c.onerror=c.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],c.parentNode?.removeChild(c),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=u.bind(0,c.onerror),c.onload=u.bind(0,c.onload),a&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const i=new Error,c=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;i.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",i.name=\\"ChunkLoadError\\",i.type=e,i.request=o,i.event=r,n[1](i)}};o.l(o.p+o.u(t),c,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,i]=r;var c,a,l=0;if(n.some(t=>0!==e[t])){for(c in s)o.o(s,c)&&(o.m[c]=s[c]);i&&i(o)}for(t&&t(r);lo(\\"./a/async1.js\\"))})();", - "/release/mainSingleChunk-LOCALE2-73e489714b11cbea67c4.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE2 */ {\\"async1\\":\\"async1-LOCALE2-abcdef\\",\\"async2\\":\\"async2-LOCALE2-abcdef\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/async1-\\"+\\"LOCALE2\\"+\\"-e9ec961ace54d8b61181.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,i)=>{if(e[t])return void e[t].push(n);let c,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{c.onerror=c.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],c.parentNode?.removeChild(c),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=u.bind(0,c.onerror),c.onload=u.bind(0,c.onload),a&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const i=new Error,c=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;i.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",i.name=\\"ChunkLoadError\\",i.type=e,i.request=o,i.event=r,n[1](i)}};o.l(o.p+o.u(t),c,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,i]=r;var c,a,l=0;if(n.some(t=>0!==e[t])){for(c in s)o.o(s,c)&&(o.m[c]=s[c]);i&&i(o)}for(t&&t(r);lo(\\"./a/async1.js\\"))})();", + "/release/mainSingleChunk-LOCALE1-1596c55268b5ea58a7a7.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE1 */ {\\"async1\\":\\"async1-LOCALE1-123456\\",\\"async2\\":\\"async2-LOCALE1-123456\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/async1-\\"+\\"LOCALE1\\"+\\"-814298bc359dde87fc03.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,c)=>{if(e[t])return void e[t].push(n);let i,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{i.onerror=i.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],i.parentNode?.removeChild(i),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:i}),12e4);i.onerror=u.bind(0,i.onerror),i.onload=u.bind(0,i.onload),a&&document.head.appendChild(i)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const c=new Error,i=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=r,n[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,c]=r;var i,a,l=0;if(n.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(r);lo(\\"./a/async1.js\\"))})();", + "/release/mainSingleChunk-LOCALE2-8ea8185706cf3b4b066e.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE2 */ {\\"async1\\":\\"async1-LOCALE2-abcdef\\",\\"async2\\":\\"async2-LOCALE2-abcdef\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/async1-\\"+\\"LOCALE2\\"+\\"-e9ec961ace54d8b61181.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,c)=>{if(e[t])return void e[t].push(n);let i,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{i.onerror=i.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],i.parentNode?.removeChild(i),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:i}),12e4);i.onerror=u.bind(0,i.onerror),i.onload=u.bind(0,i.onload),a&&document.head.appendChild(i)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const c=new Error,i=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=r,n[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,c]=r;var i,a,l=0;if(n.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(r);lo(\\"./a/async1.js\\"))})();", "/release/mainTwoChunks-LOCALE1-957f235ff184cfa8e5c5.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE1 */ {\\"async1\\":\\"async1-LOCALE1-123456\\",\\"async2\\":\\"async2-LOCALE1-123456\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+\\"LOCALE1\\"+\\"-\\"+{230:\\"814298bc359dde87fc03\\",421:\\"1d8197ef25efa79d9932\\"}[e]+\\".js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,c)=>{if(e[t])return void e[t].push(n);let i,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{i.onerror=i.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],i.parentNode?.removeChild(i),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:i}),12e4);i.onerror=u.bind(0,i.onerror),i.onload=u.bind(0,i.onload),a&&document.head.appendChild(i)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const c=new Error,i=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=r,n[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,c]=r;var i,a,l=0;if(n.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(r);lo(\\"./a/async1.js\\")),o.e(421).then(()=>o(\\"./a/async2.js\\"))})();", "/release/mainTwoChunks-LOCALE2-07d2775a73480fee0ac4.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE2 */ {\\"async1\\":\\"async1-LOCALE2-abcdef\\",\\"async2\\":\\"async2-LOCALE2-abcdef\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+\\"LOCALE2\\"+\\"-\\"+{230:\\"e9ec961ace54d8b61181\\",421:\\"566aa65daefdd30eb324\\"}[e]+\\".js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,c)=>{if(e[t])return void e[t].push(n);let i,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{i.onerror=i.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],i.parentNode?.removeChild(i),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:i}),12e4);i.onerror=u.bind(0,i.onerror),i.onload=u.bind(0,i.onload),a&&document.head.appendChild(i)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const c=new Error,i=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=r,n[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,c]=r;var i,a,l=0;if(n.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(r);lo(\\"./a/async1.js\\")),o.e(421).then(()=>o(\\"./a/async2.js\\"))})();", } diff --git a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedRuntimeDifferentHashLengths.test.ts.snap b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedRuntimeDifferentHashLengths.test.ts.snap index ae3ca8e41d7..180449da725 100644 --- a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedRuntimeDifferentHashLengths.test.ts.snap +++ b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedRuntimeDifferentHashLengths.test.ts.snap @@ -6,8 +6,8 @@ Object { "/release/chunks/async1-LOCALE2-af676f9e766f5d434f53ae272b86154e5daf22f671662370fafac345275540ab.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[230],{\\"./a/async1.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.resjson\\"),n=_(\\"./a/strings2.resjson\\");console.log(a.A.test,n.A.another)},\\"./a/strings1.resjson\\"(s,e,_){_.d(e,[\\"A\\",0,{test:\\"baz\\"}])},\\"./a/strings2.resjson\\"(s,e,_){_.d(e,[\\"A\\",0,{another:\\"some random translation\\"}])}}]);", "/release/chunks/async2-LOCALE1-04f311b2240ea26d57bd065cb3fa6fc453a383f7a3b6d0d67aa0a920e3c3d443.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.resjson\\"),n=_(\\"./a/strings2.resjson\\");console.log(a.A.test+n.A.another)},\\"./a/strings1.resjson\\"(s,e,_){_.d(e,[\\"A\\",0,{test:\\"blah\\"}])},\\"./a/strings2.resjson\\"(s,e,_){_.d(e,[\\"A\\",0,{another:\\"something else\\"}])}}]);", "/release/chunks/async2-LOCALE2-72ad03834ec9eb78b014c60368cdc32025285c52d392fd9add55451196134da6.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[421],{\\"./a/async2.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.resjson\\"),n=_(\\"./a/strings2.resjson\\");console.log(a.A.test+n.A.another)},\\"./a/strings1.resjson\\"(s,e,_){_.d(e,[\\"A\\",0,{test:\\"baz\\"}])},\\"./a/strings2.resjson\\"(s,e,_){_.d(e,[\\"A\\",0,{another:\\"some random translation\\"}])}}]);", - "/release/mainSingleChunk-LOCALE1-2b7d8339c45e6b5c1cf8b355350db7fe3f03feb1f08fd3a854c5a62f2d5d76cf.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE1 */ {\\"async1\\":\\"async1-LOCALE1-123456\\",\\"async2\\":\\"async2-LOCALE1-123456\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/async1-\\"+\\"LOCALE1\\"+\\"-2b91b947a1bacbf80e0ee0f30c700ee5ce7ecadcaa0ee5aa4bb4711d32a6e229.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,i)=>{if(e[t])return void e[t].push(n);let c,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{c.onerror=c.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],c.parentNode?.removeChild(c),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=u.bind(0,c.onerror),c.onload=u.bind(0,c.onload),a&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const i=new Error,c=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;i.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",i.name=\\"ChunkLoadError\\",i.type=e,i.request=o,i.event=r,n[1](i)}};o.l(o.p+o.u(t),c,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,i]=r;var c,a,l=0;if(n.some(t=>0!==e[t])){for(c in s)o.o(s,c)&&(o.m[c]=s[c]);i&&i(o)}for(t&&t(r);lo(\\"./a/async1.js\\"))})();", - "/release/mainSingleChunk-LOCALE2-e2e1f79b62b341f21d1a2654ac1526caedb84ae5295a621457110373a131fc72.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE2 */ {\\"async1\\":\\"async1-LOCALE2-abcdef\\",\\"async2\\":\\"async2-LOCALE2-abcdef\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/async1-\\"+\\"LOCALE2\\"+\\"-af676f9e766f5d434f53ae272b86154e5daf22f671662370fafac345275540ab.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,i)=>{if(e[t])return void e[t].push(n);let c,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{c.onerror=c.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],c.parentNode?.removeChild(c),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=u.bind(0,c.onerror),c.onload=u.bind(0,c.onload),a&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const i=new Error,c=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;i.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",i.name=\\"ChunkLoadError\\",i.type=e,i.request=o,i.event=r,n[1](i)}};o.l(o.p+o.u(t),c,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,i]=r;var c,a,l=0;if(n.some(t=>0!==e[t])){for(c in s)o.o(s,c)&&(o.m[c]=s[c]);i&&i(o)}for(t&&t(r);lo(\\"./a/async1.js\\"))})();", + "/release/mainSingleChunk-LOCALE1-fa76d12462b32a55269d7861f1fd6fad8e38c9b1dc07b41bddde5592f47005d9.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE1 */ {\\"async1\\":\\"async1-LOCALE1-123456\\",\\"async2\\":\\"async2-LOCALE1-123456\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/async1-\\"+\\"LOCALE1\\"+\\"-2b91b947a1bacbf80e0ee0f30c700ee5ce7ecadcaa0ee5aa4bb4711d32a6e229.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,c)=>{if(e[t])return void e[t].push(n);let i,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{i.onerror=i.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],i.parentNode?.removeChild(i),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:i}),12e4);i.onerror=u.bind(0,i.onerror),i.onload=u.bind(0,i.onload),a&&document.head.appendChild(i)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const c=new Error,i=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=r,n[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,c]=r;var i,a,l=0;if(n.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(r);lo(\\"./a/async1.js\\"))})();", + "/release/mainSingleChunk-LOCALE2-4db5234c545df8b29d0ef722159625c3de600f936b33e6969fb58c41abf3af44.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE2 */ {\\"async1\\":\\"async1-LOCALE2-abcdef\\",\\"async2\\":\\"async2-LOCALE2-abcdef\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/async1-\\"+\\"LOCALE2\\"+\\"-af676f9e766f5d434f53ae272b86154e5daf22f671662370fafac345275540ab.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,c)=>{if(e[t])return void e[t].push(n);let i,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{i.onerror=i.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],i.parentNode?.removeChild(i),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:i}),12e4);i.onerror=u.bind(0,i.onerror),i.onload=u.bind(0,i.onload),a&&document.head.appendChild(i)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const c=new Error,i=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=r,n[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,c]=r;var i,a,l=0;if(n.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(r);lo(\\"./a/async1.js\\"))})();", "/release/mainTwoChunks-LOCALE1-0a5ffb7ec17dc909368f70699b72b5d19b12f0b67d63d7546abbfe0e6d189e74.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE1 */ {\\"async1\\":\\"async1-LOCALE1-123456\\",\\"async2\\":\\"async2-LOCALE1-123456\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+\\"LOCALE1\\"+\\"-\\"+{230:\\"2b91b947a1bacbf80e0ee0f30c700ee5ce7ecadcaa0ee5aa4bb4711d32a6e229\\",421:\\"04f311b2240ea26d57bd065cb3fa6fc453a383f7a3b6d0d67aa0a920e3c3d443\\"}[e]+\\".js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,c)=>{if(e[t])return void e[t].push(n);let i,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{i.onerror=i.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],i.parentNode?.removeChild(i),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:i}),12e4);i.onerror=u.bind(0,i.onerror),i.onload=u.bind(0,i.onload),a&&document.head.appendChild(i)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const c=new Error,i=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=r,n[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,c]=r;var i,a,l=0;if(n.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(r);lo(\\"./a/async1.js\\")),o.e(421).then(()=>o(\\"./a/async2.js\\"))})();", "/release/mainTwoChunks-LOCALE2-f6d9e3063d1438cc71bc198d9629695945a2f58f563a2188e05469eb9aaaf23b.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e;var r=/* LOCALE2 */ {\\"async1\\":\\"async1-LOCALE2-abcdef\\",\\"async2\\":\\"async2-LOCALE2-abcdef\\"};o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;rPromise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>\\"chunks/\\"+{230:\\"async1\\",421:\\"async2\\"}[e]+\\"-\\"+\\"LOCALE2\\"+\\"-\\"+{230:\\"af676f9e766f5d434f53ae272b86154e5daf22f671662370fafac345275540ab\\",421:\\"72ad03834ec9eb78b014c60368cdc32025285c52d392fd9add55451196134da6\\"}[e]+\\".js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,s,c)=>{if(e[t])return void e[t].push(n);let i,a;if(void 0!==s){const e=document.getElementsByTagName(\\"script\\");for(var l=0;l{i.onerror=i.onload=null,clearTimeout(d);const n=e[t];if(delete e[t],i.parentNode?.removeChild(i),n?.forEach(e=>e(r)),o)return o(r)},d=setTimeout(u.bind(0,0,{type:\\"timeout\\",target:i}),12e4);i.onerror=u.bind(0,i.onerror),i.onload=u.bind(0,i.onload),a&&document.head.appendChild(i)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const c=new Error,i=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=r,n[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,c]=r;var i,a,l=0;if(n.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(r);lo(\\"./a/async1.js\\")),o.e(421).then(()=>o(\\"./a/async2.js\\"))})();", } diff --git a/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsync.test.ts.snap b/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsync.test.ts.snap index 5319b159281..62aae9f1612 100644 --- a/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsync.test.ts.snap +++ b/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsync.test.ts.snap @@ -8,8 +8,8 @@ Object { "/release/chunks/asyncLoc1-LOCALE2-de65ea469caf12e2c16b.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[410],{\\"./a/asyncLoc1.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.loc.json\\"),n=_(\\"./a/strings2.loc.json\\");console.log(a.A.test,n.A.another)},\\"./a/strings1.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{test:\\"baz\\"}])},\\"./a/strings2.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{another:\\"some random translation\\"}])}}]);", "/release/chunks/asyncLoc2-LOCALE1-22a01352300a9e1e10fb.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[17],{\\"./a/asyncLoc2.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.loc.json\\"),n=_(\\"./a/strings2.loc.json\\");console.log(a.A.test+n.A.another)},\\"./a/strings1.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{test:\\"blah\\"}])},\\"./a/strings2.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{another:\\"something else\\"}])}}]);", "/release/chunks/asyncLoc2-LOCALE2-16b3c7b97c1a1756d3ad.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[17],{\\"./a/asyncLoc2.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.loc.json\\"),n=_(\\"./a/strings2.loc.json\\");console.log(a.A.test+n.A.another)},\\"./a/strings1.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{test:\\"baz\\"}])},\\"./a/strings2.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{another:\\"some random translation\\"}])}}]);", - "/release/main-LOCALE1-db4e103b361e4980472b.js": "(()=>{var e={};const t={};function n(o){const r=t[o];if(void 0!==r)return r.exports;const c=t[o]={exports:{}};return e[o](c,c.exports,n),c.exports}n.m=e,(()=>{const e=Object.getPrototypeOf;let t;n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if(\\"object\\"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&\\"function\\"==typeof o.then)return o}const c=Object.create(null);n.r(c);const s=Object.create(null);t=t||[null,e({}),e([]),e(e)];for(var a=2&r&&o;(\\"object\\"==typeof a||\\"function\\"==typeof a)&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(e=>s[e]=()=>o[e]);return s.default=()=>o,n.d(c,s),c}})(),n.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o{const t=[];return n.f.j(e,t),Promise.all(t)},n.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",230:\\"async1\\",410:\\"asyncLoc1\\",421:\\"async2\\"}[e]+\\"-\\"+({17:1,410:1}[e]?\\"LOCALE1\\":\\"none\\")+\\"-\\"+{17:\\"22a01352300a9e1e10fb\\",230:\\"dff9e5f9011a8c0da93a\\",410:\\"c61c520a577f3d743eee\\",421:\\"73d2312af1808114494b\\"}[e]+\\".js\\",n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};n.l=(t,o,r,c)=>{if(e[t])return void e[t].push(o);let s,a;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var i=0;i{s.onerror=s.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],s.parentNode?.removeChild(s),r?.forEach(e=>e(o)),n)return n(o)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:s}),12e4);s.onerror=l.bind(0,s.onerror),s.onload=l.bind(0,s.onload),a&&document.head.appendChild(s)}})(),n.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let n=t.length;for(;n&&(!e||!/^https?:/.test(e));)e=t[--n].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");n.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={792:0};n.f.j=(t,o)=>{let r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{const c=new Promise((n,o)=>r=e[t]=[n,o]);o.push(r[2]=c);const s=new Error,a=o=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=o&&(\\"load\\"===o.type?\\"missing\\":o.type),n=o?.target?.src;s.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+n+\\")\\",s.name=\\"ChunkLoadError\\",s.type=e,s.request=n,s.event=o,r[1](s)}};n.l(n.p+n.u(t),a,\\"chunk-\\"+t,t)}};const t=(t,o)=>{let[r,c,s]=o;var a,i,l=0;if(r.some(t=>0!==e[t])){for(a in c)n.o(c,a)&&(n.m[a]=c[a]);s&&s(n)}for(t&&t(o);ln(\\"./a/asyncLoc1.js\\")),n.e(17).then(()=>n(\\"./a/asyncLoc2.js\\")),n.e(230).then(()=>n.t(\\"./a/async1.js\\",23)),n.e(421).then(()=>n.t(\\"./a/async2.js\\",23))})();", - "/release/main-LOCALE2-e8a8ed0a4a07e926a902.js": "(()=>{var e={};const t={};function n(o){const r=t[o];if(void 0!==r)return r.exports;const c=t[o]={exports:{}};return e[o](c,c.exports,n),c.exports}n.m=e,(()=>{const e=Object.getPrototypeOf;let t;n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if(\\"object\\"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&\\"function\\"==typeof o.then)return o}const c=Object.create(null);n.r(c);const s=Object.create(null);t=t||[null,e({}),e([]),e(e)];for(var a=2&r&&o;(\\"object\\"==typeof a||\\"function\\"==typeof a)&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(e=>s[e]=()=>o[e]);return s.default=()=>o,n.d(c,s),c}})(),n.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o{const t=[];return n.f.j(e,t),Promise.all(t)},n.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",230:\\"async1\\",410:\\"asyncLoc1\\",421:\\"async2\\"}[e]+\\"-\\"+({17:1,410:1}[e]?\\"LOCALE2\\":\\"none\\")+\\"-\\"+{17:\\"16b3c7b97c1a1756d3ad\\",230:\\"dff9e5f9011a8c0da93a\\",410:\\"de65ea469caf12e2c16b\\",421:\\"73d2312af1808114494b\\"}[e]+\\".js\\",n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};n.l=(t,o,r,c)=>{if(e[t])return void e[t].push(o);let s,a;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var i=0;i{s.onerror=s.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],s.parentNode?.removeChild(s),r?.forEach(e=>e(o)),n)return n(o)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:s}),12e4);s.onerror=l.bind(0,s.onerror),s.onload=l.bind(0,s.onload),a&&document.head.appendChild(s)}})(),n.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let n=t.length;for(;n&&(!e||!/^https?:/.test(e));)e=t[--n].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");n.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={792:0};n.f.j=(t,o)=>{let r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{const c=new Promise((n,o)=>r=e[t]=[n,o]);o.push(r[2]=c);const s=new Error,a=o=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=o&&(\\"load\\"===o.type?\\"missing\\":o.type),n=o?.target?.src;s.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+n+\\")\\",s.name=\\"ChunkLoadError\\",s.type=e,s.request=n,s.event=o,r[1](s)}};n.l(n.p+n.u(t),a,\\"chunk-\\"+t,t)}};const t=(t,o)=>{let[r,c,s]=o;var a,i,l=0;if(r.some(t=>0!==e[t])){for(a in c)n.o(c,a)&&(n.m[a]=c[a]);s&&s(n)}for(t&&t(o);ln(\\"./a/asyncLoc1.js\\")),n.e(17).then(()=>n(\\"./a/asyncLoc2.js\\")),n.e(230).then(()=>n.t(\\"./a/async1.js\\",23)),n.e(421).then(()=>n.t(\\"./a/async2.js\\",23))})();", + "/release/main-LOCALE1-1a2626013e123ff0fec3.js": "(()=>{var e={};const t={};function n(o){const r=t[o];if(void 0!==r)return r.exports;const c=t[o]={exports:{}};return e[o](c,c.exports,n),c.exports}n.m=e,(()=>{const e=Object.getPrototypeOf;let t;n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if(\\"object\\"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&\\"function\\"==typeof o.then)return o}const c=Object.create(null);n.r(c);const s=Object.create(null);t=t||[null,e({}),e([]),e(e)];for(var a=2&r&&o;(\\"object\\"==typeof a||\\"function\\"==typeof a)&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(e=>s[e]=()=>o[e]);return s.default=()=>o,n.d(c,s),c}})(),n.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o{const t=[];return n.f.j(e,t),Promise.all(t)},n.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",230:\\"async1\\",410:\\"asyncLoc1\\",421:\\"async2\\"}[e]+\\"-\\"+({17:1,410:1}[e]?\\"LOCALE1\\":\\"none\\")+\\"-\\"+{17:\\"22a01352300a9e1e10fb\\",230:\\"dff9e5f9011a8c0da93a\\",410:\\"c61c520a577f3d743eee\\",421:\\"73d2312af1808114494b\\"}[e]+\\".js\\",n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};n.l=(t,o,r,c)=>{if(e[t])return void e[t].push(o);let s,a;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var i=0;i{s.onerror=s.onload=null,clearTimeout(l);const r=e[t];if(delete e[t],s.parentNode?.removeChild(s),r?.forEach(e=>e(o)),n)return n(o)},l=setTimeout(f.bind(0,0,{type:\\"timeout\\",target:s}),12e4);s.onerror=f.bind(0,s.onerror),s.onload=f.bind(0,s.onload),a&&document.head.appendChild(s)}})(),n.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let n=t.length;for(;n&&(!e||!/^https?:/.test(e));)e=t[--n].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");n.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={792:0};n.f.j=(t,o)=>{let r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{const c=new Promise((n,o)=>r=e[t]=[n,o]);o.push(r[2]=c);const s=new Error,a=o=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=o&&(\\"load\\"===o.type?\\"missing\\":o.type),n=o?.target?.src;s.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+n+\\")\\",s.name=\\"ChunkLoadError\\",s.type=e,s.request=n,s.event=o,r[1](s)}};n.l(n.p+n.u(t),a,\\"chunk-\\"+t,t)}};const t=(t,o)=>{let[r,c,s]=o;var a,i,f=0;if(r.some(t=>0!==e[t])){for(a in c)n.o(c,a)&&(n.m[a]=c[a]);s&&s(n)}for(t&&t(o);fn(\\"./a/asyncLoc1.js\\")),n.e(17).then(()=>n(\\"./a/asyncLoc2.js\\")),n.e(230).then(()=>n.t(\\"./a/async1.js\\",23)),n.e(421).then(()=>n.t(\\"./a/async2.js\\",23))})();", + "/release/main-LOCALE2-a0c31dd948ed53c5c5ee.js": "(()=>{var e={};const t={};function n(o){const r=t[o];if(void 0!==r)return r.exports;const c=t[o]={exports:{}};return e[o](c,c.exports,n),c.exports}n.m=e,(()=>{const e=Object.getPrototypeOf;let t;n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if(\\"object\\"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&\\"function\\"==typeof o.then)return o}const c=Object.create(null);n.r(c);const s=Object.create(null);t=t||[null,e({}),e([]),e(e)];for(var a=2&r&&o;(\\"object\\"==typeof a||\\"function\\"==typeof a)&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(e=>s[e]=()=>o[e]);return s.default=()=>o,n.d(c,s),c}})(),n.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o{const t=[];return n.f.j(e,t),Promise.all(t)},n.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",230:\\"async1\\",410:\\"asyncLoc1\\",421:\\"async2\\"}[e]+\\"-\\"+({17:1,410:1}[e]?\\"LOCALE2\\":\\"none\\")+\\"-\\"+{17:\\"16b3c7b97c1a1756d3ad\\",230:\\"dff9e5f9011a8c0da93a\\",410:\\"de65ea469caf12e2c16b\\",421:\\"73d2312af1808114494b\\"}[e]+\\".js\\",n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};n.l=(t,o,r,c)=>{if(e[t])return void e[t].push(o);let s,a;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var i=0;i{s.onerror=s.onload=null,clearTimeout(l);const r=e[t];if(delete e[t],s.parentNode?.removeChild(s),r?.forEach(e=>e(o)),n)return n(o)},l=setTimeout(f.bind(0,0,{type:\\"timeout\\",target:s}),12e4);s.onerror=f.bind(0,s.onerror),s.onload=f.bind(0,s.onload),a&&document.head.appendChild(s)}})(),n.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let n=t.length;for(;n&&(!e||!/^https?:/.test(e));)e=t[--n].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");n.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={792:0};n.f.j=(t,o)=>{let r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{const c=new Promise((n,o)=>r=e[t]=[n,o]);o.push(r[2]=c);const s=new Error,a=o=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=o&&(\\"load\\"===o.type?\\"missing\\":o.type),n=o?.target?.src;s.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+n+\\")\\",s.name=\\"ChunkLoadError\\",s.type=e,s.request=n,s.event=o,r[1](s)}};n.l(n.p+n.u(t),a,\\"chunk-\\"+t,t)}};const t=(t,o)=>{let[r,c,s]=o;var a,i,f=0;if(r.some(t=>0!==e[t])){for(a in c)n.o(c,a)&&(n.m[a]=c[a]);s&&s(n)}for(t&&t(o);fn(\\"./a/asyncLoc1.js\\")),n.e(17).then(()=>n(\\"./a/asyncLoc2.js\\")),n.e(230).then(()=>n.t(\\"./a/async1.js\\",23)),n.e(421).then(()=>n.t(\\"./a/async2.js\\",23))})();", } `; @@ -20,8 +20,8 @@ Object { "entrypoints": Object { "main": Object { "localizedAssets": Object { - "LOCALE1": "main-LOCALE1-db4e103b361e4980472b.js", - "LOCALE2": "main-LOCALE2-e8a8ed0a4a07e926a902.js", + "LOCALE1": "main-LOCALE1-1a2626013e123ff0fec3.js", + "LOCALE2": "main-LOCALE2-a0c31dd948ed53c5c5ee.js", }, }, }, diff --git a/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsyncDynamic.test.ts.snap b/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsyncDynamic.test.ts.snap index c6f0194cde0..c7de78dbd22 100644 --- a/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsyncDynamic.test.ts.snap +++ b/webpack/webpack5-localization-plugin/src/test/__snapshots__/MixedAsyncDynamic.test.ts.snap @@ -2,14 +2,14 @@ exports[`LocalizationPlugin Handles async localized and non-localized chunks with a runtime locale expression (minified): Content 1`] = ` Object { - "/release/chunks/async1-none-fb31d5cbb11961eebd2d.js": "(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[230],{\\"./a/async1.js\\"(){console.log(\\"blah1\\")}}]);", - "/release/chunks/async2-none-2ecd288593c4bec7381d.js": "(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[421],{\\"./a/async2.js\\"(){console.log(\\"blah2\\")}}]);", - "/release/chunks/asyncLoc1-LOCALE1-c4213813b19afe41407e.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[410],{\\"./a/asyncLoc1.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.loc.json\\"),n=_(\\"./a/strings2.loc.json\\");console.log(a.A.test,n.A.another)},\\"./a/strings1.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{test:\\"blah\\"}])},\\"./a/strings2.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{another:\\"something else\\"}])}}]);", - "/release/chunks/asyncLoc1-LOCALE2-c4213813b19afe41407e.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[410],{\\"./a/asyncLoc1.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.loc.json\\"),n=_(\\"./a/strings2.loc.json\\");console.log(a.A.test,n.A.another)},\\"./a/strings1.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{test:\\"baz\\"}])},\\"./a/strings2.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{another:\\"some random translation\\"}])}}]);", - "/release/chunks/asyncLoc2-LOCALE1-6c21a38480b635fe9520.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[17],{\\"./a/asyncLoc2.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.loc.json\\"),n=_(\\"./a/strings2.loc.json\\");console.log(a.A.test+n.A.another)},\\"./a/strings1.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{test:\\"blah\\"}])},\\"./a/strings2.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{another:\\"something else\\"}])}}]);", - "/release/chunks/asyncLoc2-LOCALE2-6c21a38480b635fe9520.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[17],{\\"./a/asyncLoc2.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.loc.json\\"),n=_(\\"./a/strings2.loc.json\\");console.log(a.A.test+n.A.another)},\\"./a/strings1.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{test:\\"baz\\"}])},\\"./a/strings2.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{another:\\"some random translation\\"}])}}]);", - "/release/mainFourChunks-none-bc61e9acba5e09db5d8a.js": "(()=>{var e={};const t={};function n(o){const r=t[o];if(void 0!==r)return r.exports;const c=t[o]={exports:{}};return e[o](c,c.exports,n),c.exports}n.m=e,(()=>{const e=Object.getPrototypeOf;let t;n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if(\\"object\\"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&\\"function\\"==typeof o.then)return o}const c=Object.create(null);n.r(c);const s=Object.create(null);t=t||[null,e({}),e([]),e(e)];for(var a=2&r&&o;(\\"object\\"==typeof a||\\"function\\"==typeof a)&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(e=>s[e]=()=>o[e]);return s.default=()=>o,n.d(c,s),c}})(),n.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o{const t=[];return n.f.j(e,t),Promise.all(t)},n.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",230:\\"async1\\",410:\\"asyncLoc1\\",421:\\"async2\\"}[e]+\\"-\\"+({17:1,410:1}[e]?self.__locale:\\"none\\")+\\"-\\"+{17:\\"6c21a38480b635fe9520\\",230:\\"fb31d5cbb11961eebd2d\\",410:\\"c4213813b19afe41407e\\",421:\\"2ecd288593c4bec7381d\\"}[e]+\\".js\\",n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};n.l=(t,o,r,c)=>{if(e[t])return void e[t].push(o);let s,a;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var i=0;i{s.onerror=s.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],s.parentNode?.removeChild(s),r?.forEach(e=>e(o)),n)return n(o)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:s}),12e4);s.onerror=l.bind(0,s.onerror),s.onload=l.bind(0,s.onload),a&&document.head.appendChild(s)}})(),n.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let n=t.length;for(;n&&(!e||!/^https?:/.test(e));)e=t[--n].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");n.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={882:0};n.f.j=(t,o)=>{let r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{const c=new Promise((n,o)=>r=e[t]=[n,o]);o.push(r[2]=c);const s=new Error,a=o=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=o&&(\\"load\\"===o.type?\\"missing\\":o.type),n=o?.target?.src;s.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+n+\\")\\",s.name=\\"ChunkLoadError\\",s.type=e,s.request=n,s.event=o,r[1](s)}};n.l(n.p+n.u(t),a,\\"chunk-\\"+t,t)}};const t=(t,o)=>{let[r,c,s]=o;var a,i,l=0;if(r.some(t=>0!==e[t])){for(a in c)n.o(c,a)&&(n.m[a]=c[a]);s&&s(n)}for(t&&t(o);ln(\\"./a/asyncLoc1.js\\")),n.e(17).then(()=>n(\\"./a/asyncLoc2.js\\")),n.e(230).then(()=>n.t(\\"./a/async1.js\\",23)),n.e(421).then(()=>n.t(\\"./a/async2.js\\",23))})();", - "/release/mainTwoChunks-none-2da5c2085b25c08f9980.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e,o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;r{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",410:\\"asyncLoc1\\"}[e]+\\"-\\"+self.__locale+\\"-\\"+{17:\\"6c21a38480b635fe9520\\",410:\\"c4213813b19afe41407e\\"}[e]+\\".js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,r,n,s)=>{if(e[t])return void e[t].push(r);let c,a;if(void 0!==n){const e=document.getElementsByTagName(\\"script\\");for(var i=0;i{c.onerror=c.onload=null,clearTimeout(u);const n=e[t];if(delete e[t],c.parentNode?.removeChild(c),n?.forEach(e=>e(r)),o)return o(r)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),a&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const c=new Error,a=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=r,n[1](c)}};o.l(o.p+o.u(t),a,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,c]=r;var a,i,l=0;if(n.some(t=>0!==e[t])){for(a in s)o.o(s,a)&&(o.m[a]=s[a]);c&&c(o)}for(t&&t(r);lo(\\"./a/asyncLoc1.js\\")),o.e(17).then(()=>o(\\"./a/asyncLoc2.js\\"))})();", + "/release/chunks/async1-none-8fad3d2ab3a18d68606e.js": "(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[230],{\\"./a/async1.js\\"(){console.log(\\"blah1\\")}}]);", + "/release/chunks/async2-none-cd0dc77511011fe0bef4.js": "(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[421],{\\"./a/async2.js\\"(){console.log(\\"blah2\\")}}]);", + "/release/chunks/asyncLoc1-LOCALE1-91bc1da587e369825c34.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[410],{\\"./a/asyncLoc1.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.loc.json\\"),n=_(\\"./a/strings2.loc.json\\");console.log(a.A.test,n.A.another)},\\"./a/strings1.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{test:\\"blah\\"}])},\\"./a/strings2.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{another:\\"something else\\"}])}}]);", + "/release/chunks/asyncLoc1-LOCALE2-91bc1da587e369825c34.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[410],{\\"./a/asyncLoc1.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.loc.json\\"),n=_(\\"./a/strings2.loc.json\\");console.log(a.A.test,n.A.another)},\\"./a/strings1.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{test:\\"baz\\"}])},\\"./a/strings2.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{another:\\"some random translation\\"}])}}]);", + "/release/chunks/asyncLoc2-LOCALE1-24708309e4abef4ff2d5.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[17],{\\"./a/asyncLoc2.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.loc.json\\"),n=_(\\"./a/strings2.loc.json\\");console.log(a.A.test+n.A.another)},\\"./a/strings1.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{test:\\"blah\\"}])},\\"./a/strings2.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{another:\\"something else\\"}])}}]);", + "/release/chunks/asyncLoc2-LOCALE2-24708309e4abef4ff2d5.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[17],{\\"./a/asyncLoc2.js\\"(s,e,_){_.r(e);var a=_(\\"./a/strings1.loc.json\\"),n=_(\\"./a/strings2.loc.json\\");console.log(a.A.test+n.A.another)},\\"./a/strings1.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{test:\\"baz\\"}])},\\"./a/strings2.loc.json\\"(s,e,_){_.d(e,[\\"A\\",0,{another:\\"some random translation\\"}])}}]);", + "/release/mainFourChunks-none-21dd16b41197b60b431a.js": "(()=>{var e={};const t={};function n(o){const r=t[o];if(void 0!==r)return r.exports;const c=t[o]={exports:{}};return e[o](c,c.exports,n),c.exports}n.m=e,(()=>{const e=Object.getPrototypeOf;let t;n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if(\\"object\\"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&\\"function\\"==typeof o.then)return o}const c=Object.create(null);n.r(c);const s=Object.create(null);t=t||[null,e({}),e([]),e(e)];for(var a=2&r&&o;(\\"object\\"==typeof a||\\"function\\"==typeof a)&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach(e=>s[e]=()=>o[e]);return s.default=()=>o,n.d(c,s),c}})(),n.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o{const t=[];return n.f.j(e,t),Promise.all(t)},n.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",230:\\"async1\\",410:\\"asyncLoc1\\",421:\\"async2\\"}[e]+\\"-\\"+({17:1,410:1}[e]?self.__locale:\\"none\\")+\\"-\\"+{17:\\"24708309e4abef4ff2d5\\",230:\\"8fad3d2ab3a18d68606e\\",410:\\"91bc1da587e369825c34\\",421:\\"cd0dc77511011fe0bef4\\"}[e]+\\".js\\",n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};n.l=(t,o,r,c)=>{if(e[t])return void e[t].push(o);let s,a;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var i=0;i{s.onerror=s.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],s.parentNode?.removeChild(s),r?.forEach(e=>e(o)),n)return n(o)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:s}),12e4);s.onerror=l.bind(0,s.onerror),s.onload=l.bind(0,s.onload),a&&document.head.appendChild(s)}})(),n.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let n=t.length;for(;n&&(!e||!/^https?:/.test(e));)e=t[--n].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");n.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={882:0};n.f.j=(t,o)=>{let r=n.o(e,t)?e[t]:void 0;if(0!==r)if(r)o.push(r[2]);else{const c=new Promise((n,o)=>r=e[t]=[n,o]);o.push(r[2]=c);const s=new Error,a=o=>{if(n.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=o&&(\\"load\\"===o.type?\\"missing\\":o.type),n=o?.target?.src;s.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+n+\\")\\",s.name=\\"ChunkLoadError\\",s.type=e,s.request=n,s.event=o,r[1](s)}};n.l(n.p+n.u(t),a,\\"chunk-\\"+t,t)}};const t=(t,o)=>{let[r,c,s]=o;var a,i,l=0;if(r.some(t=>0!==e[t])){for(a in c)n.o(c,a)&&(n.m[a]=c[a]);s&&s(n)}for(t&&t(o);ln(\\"./a/asyncLoc1.js\\")),n.e(17).then(()=>n(\\"./a/asyncLoc2.js\\")),n.e(230).then(()=>n.t(\\"./a/async1.js\\",23)),n.e(421).then(()=>n.t(\\"./a/async2.js\\",23))})();", + "/release/mainTwoChunks-none-36543ba23c2ea6cb50ef.js": "(()=>{var e={};const t={};function o(r){const n=t[r];if(void 0!==n)return n.exports;const s=t[r]={exports:{}};return e[r](s,s.exports,o),s.exports}o.m=e,o.d=(e,t)=>{if(Array.isArray(t))for(var r=0;r{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"chunks/\\"+{17:\\"asyncLoc2\\",410:\\"asyncLoc1\\"}[e]+\\"-\\"+self.__locale+\\"-\\"+{17:\\"24708309e4abef4ff2d5\\",410:\\"91bc1da587e369825c34\\"}[e]+\\".js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,r,n,s)=>{if(e[t])return void e[t].push(r);let c,a;if(void 0!==n){const e=document.getElementsByTagName(\\"script\\");for(var i=0;i{c.onerror=c.onload=null,clearTimeout(u);const n=e[t];if(delete e[t],c.parentNode?.removeChild(c),n?.forEach(e=>e(r)),o)return o(r)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),a&&document.head.appendChild(c)}})(),o.r=e=>{Object.defineProperties(e,{[Symbol.toStringTag]:{value:\\"Module\\"},__esModule:{value:!0}})},(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,r)=>{let n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{const s=new Promise((o,r)=>n=e[t]=[o,r]);r.push(n[2]=s);const c=new Error,a=r=>{if(o.o(e,t)&&(n=e[t],0!==n&&(e[t]=void 0),n)){const e=r&&(\\"load\\"===r.type?\\"missing\\":r.type),o=r?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=r,n[1](c)}};o.l(o.p+o.u(t),a,\\"chunk-\\"+t,t)}};const t=(t,r)=>{let[n,s,c]=r;var a,i,l=0;if(n.some(t=>0!==e[t])){for(a in s)o.o(s,a)&&(o.m[a]=s[a]);c&&c(o)}for(t&&t(r);lo(\\"./a/asyncLoc1.js\\")),o.e(17).then(()=>o(\\"./a/asyncLoc2.js\\"))})();", } `; @@ -21,14 +21,14 @@ Object { "namedChunkGroups": Object { "asyncLoc1": Object { "localizedAssets": Object { - "LOCALE1": "chunks/asyncLoc1-LOCALE1-c4213813b19afe41407e.js", - "LOCALE2": "chunks/asyncLoc1-LOCALE2-c4213813b19afe41407e.js", + "LOCALE1": "chunks/asyncLoc1-LOCALE1-91bc1da587e369825c34.js", + "LOCALE2": "chunks/asyncLoc1-LOCALE2-91bc1da587e369825c34.js", }, }, "asyncLoc2": Object { "localizedAssets": Object { - "LOCALE1": "chunks/asyncLoc2-LOCALE1-6c21a38480b635fe9520.js", - "LOCALE2": "chunks/asyncLoc2-LOCALE2-6c21a38480b635fe9520.js", + "LOCALE1": "chunks/asyncLoc2-LOCALE1-24708309e4abef4ff2d5.js", + "LOCALE2": "chunks/asyncLoc2-LOCALE2-24708309e4abef4ff2d5.js", }, }, }, diff --git a/webpack/webpack5-localization-plugin/src/test/__snapshots__/NoLocalizedFiles.test.ts.snap b/webpack/webpack5-localization-plugin/src/test/__snapshots__/NoLocalizedFiles.test.ts.snap index e5aacd72778..1bbcdc82b32 100644 --- a/webpack/webpack5-localization-plugin/src/test/__snapshots__/NoLocalizedFiles.test.ts.snap +++ b/webpack/webpack5-localization-plugin/src/test/__snapshots__/NoLocalizedFiles.test.ts.snap @@ -5,7 +5,7 @@ Object { "/release/async1-none-474800c1fa4d0b839108.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[230],{\\"./async1.js\\"(s,e,o){function c(){console.log(\\"foo1\\")}o.d(e,{foo:()=>c})}}]);", "/release/async2-none-4d8c5fd2e584a2be5dea.js": "\\"use strict\\";(Array.isArray(self.webpackChunk)?self.webpackChunk:self.webpackChunk=[]).push([[421],{\\"./async2.js\\"(s,e,o){function c(){console.log(\\"foo2\\")}o.d(e,{foo:()=>c})}}]);", "/release/mainSingleChunk-none-7558557d726d2934f33a.js": "(()=>{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>\\"async1-none-474800c1fa4d0b839108.js\\",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={331:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./async1.js\\")).then(e=>e.foo())})();", - "/release/mainTwoChunks-none-da2b2e6288c0498e2760.js": "(()=>{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>({230:\\"async1\\",421:\\"async2\\"}[e]+\\"-none-\\"+{230:\\"474800c1fa4d0b839108\\",421:\\"4d8c5fd2e584a2be5dea\\"}[e]+\\".js\\"),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(u);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},u=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./async1.js\\")).then(e=>e.foo()),o.e(421).then(()=>o(\\"./async2.js\\")).then(e=>e.foo())})();", + "/release/mainTwoChunks-none-6fa1ec3689c42f898897.js": "(()=>{var e={};const t={};function o(n){const r=t[n];if(void 0!==r)return r.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,o),s.exports}o.m=e,o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.f={},o.e=e=>{const t=[];return o.f.j(e,t),Promise.all(t)},o.u=e=>({230:\\"async1\\",421:\\"async2\\"}[e]+\\"-none-\\"+{230:\\"474800c1fa4d0b839108\\",421:\\"4d8c5fd2e584a2be5dea\\"}[e]+\\".js\\"),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={};o.l=(t,n,r,s)=>{if(e[t])return void e[t].push(n);let c,i;if(void 0!==r){const e=document.getElementsByTagName(\\"script\\");for(var a=0;a{c.onerror=c.onload=null,clearTimeout(d);const r=e[t];if(delete e[t],c.parentNode?.removeChild(c),r?.forEach(e=>e(n)),o)return o(n)},d=setTimeout(l.bind(0,0,{type:\\"timeout\\",target:c}),12e4);c.onerror=l.bind(0,c.onerror),c.onload=l.bind(0,c.onload),i&&document.head.appendChild(c)}})(),(()=>{let e;if(\\"undefined\\"!=typeof document){const t=document.currentScript;if((!t||/^script$/i.test(t.tagName))&&(e=t?.src,!e)){const t=document.getElementsByTagName(\\"script\\");let o=t.length;for(;o&&(!e||!/^https?:/.test(e));)e=t[--o].src}}else\\"undefined\\"!=typeof importScripts&&(e=location+\\"\\");if(!e)throw new Error(\\"Automatic publicPath is not supported in this browser\\");o.p=e.replace(/^blob:|[?#].*$/g,\\"\\").replace(/\\\\/[^/]+$/,\\"/\\")})(),(()=>{const e={580:0};o.f.j=(t,n)=>{let r=o.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{const s=new Promise((o,n)=>r=e[t]=[o,n]);n.push(r[2]=s);const c=new Error,i=n=>{if(o.o(e,t)&&(r=e[t],0!==r&&(e[t]=void 0),r)){const e=n&&(\\"load\\"===n.type?\\"missing\\":n.type),o=n?.target?.src;c.message=\\"Loading chunk \\"+t+\\" failed.\\\\n(\\"+e+\\": \\"+o+\\")\\",c.name=\\"ChunkLoadError\\",c.type=e,c.request=o,c.event=n,r[1](c)}};o.l(o.p+o.u(t),i,\\"chunk-\\"+t,t)}};const t=(t,n)=>{let[r,s,c]=n;var i,a,l=0;if(r.some(t=>0!==e[t])){for(i in s)o.o(s,i)&&(o.m[i]=s[i]);c&&c(o)}for(t&&t(n);lo(\\"./async1.js\\")).then(e=>e.foo()),o.e(421).then(()=>o(\\"./async2.js\\")).then(e=>e.foo())})();", } `; From 5f9b36e2a9b9e614103d4f8a5facfd0a7b9c9dfe Mon Sep 17 00:00:00 2001 From: iclanton <5010588+iclanton@users.noreply.github.com> Date: Fri, 27 Nov 2026 00:26:22 +0000 Subject: [PATCH 5/5] fixup! Bump webpack 5 dependencies to 5.113.0 Configure Browserslist suppression via dependent Heft environment-setting tasks for standalone webpack builds, Storybook builds, and localization tests instead of a CI-wide environment variable. Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> --- .github/workflows/ci.yml | 1 - .../config/heft.json | 12 +++++++++ .../config/heft.json | 15 +++++++++-- .../config/heft.json | 13 +++++++++- .../config/heft.json | 13 +++++++++- .../rush-serve-plugin/config/heft.json | 13 +++++++++- .../config/heft.json | 25 +++++++++++++++++++ 7 files changed, 86 insertions(+), 6 deletions(-) create mode 100644 webpack/webpack5-localization-plugin/config/heft.json diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 304e3cf9b6c..fd5f510a9c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,6 @@ jobs: runs-on: ${{ matrix.OS }} env: INSTALL_RUN_RUSH_LOCKFILE_PATH: ${{ github.workspace }}/repo-a/common/config/validation/rush-package-lock.json - BROWSERSLIST_IGNORE_OLD_DATA: '1' steps: - name: Create ~/.rush-user/settings.json shell: pwsh diff --git a/build-tests-samples/heft-storybook-v6-react-tutorial-app/config/heft.json b/build-tests-samples/heft-storybook-v6-react-tutorial-app/config/heft.json index 01ed5752bcb..b4771e10931 100644 --- a/build-tests-samples/heft-storybook-v6-react-tutorial-app/config/heft.json +++ b/build-tests-samples/heft-storybook-v6-react-tutorial-app/config/heft.json @@ -7,7 +7,19 @@ "phasesByName": { "build": { "tasksByName": { + "set-browserslist-ignore-old-data-env-var": { + "taskPlugin": { + "pluginPackage": "@rushstack/heft", + "pluginName": "set-environment-variables-plugin", + "options": { + "environmentVariablesToSet": { + "BROWSERSLIST_IGNORE_OLD_DATA": "1" + } + } + } + }, "storybook": { + "taskDependencies": ["set-browserslist-ignore-old-data-env-var"], "taskPlugin": { "pluginPackage": "@rushstack/heft-storybook-plugin", "options": { diff --git a/build-tests-samples/heft-storybook-v6-react-tutorial/config/heft.json b/build-tests-samples/heft-storybook-v6-react-tutorial/config/heft.json index efe61e5d669..a945aa45be5 100644 --- a/build-tests-samples/heft-storybook-v6-react-tutorial/config/heft.json +++ b/build-tests-samples/heft-storybook-v6-react-tutorial/config/heft.json @@ -10,6 +10,17 @@ "cleanFiles": [{ "includeGlobs": ["dist", "dist-storybook", "lib", "lib-commonjs"] }], "tasksByName": { + "set-browserslist-ignore-old-data-env-var": { + "taskPlugin": { + "pluginPackage": "@rushstack/heft", + "pluginName": "set-environment-variables-plugin", + "options": { + "environmentVariablesToSet": { + "BROWSERSLIST_IGNORE_OLD_DATA": "1" + } + } + } + }, "typescript": { "taskPlugin": { "pluginPackage": "@rushstack/heft-typescript-plugin" @@ -22,13 +33,13 @@ } }, "webpack": { - "taskDependencies": ["typescript"], + "taskDependencies": ["typescript", "set-browserslist-ignore-old-data-env-var"], "taskPlugin": { "pluginPackage": "@rushstack/heft-webpack4-plugin" } }, "storybook": { - "taskDependencies": ["typescript"], + "taskDependencies": ["typescript", "set-browserslist-ignore-old-data-env-var"], "taskPlugin": { "pluginPackage": "@rushstack/heft-storybook-plugin", "options": { diff --git a/build-tests-samples/heft-webpack-basic-tutorial/config/heft.json b/build-tests-samples/heft-webpack-basic-tutorial/config/heft.json index b78b27272ac..bccc4e8a359 100644 --- a/build-tests-samples/heft-webpack-basic-tutorial/config/heft.json +++ b/build-tests-samples/heft-webpack-basic-tutorial/config/heft.json @@ -10,6 +10,17 @@ "cleanFiles": [{ "includeGlobs": ["dist", "lib", "lib-commonjs"] }], "tasksByName": { + "set-browserslist-ignore-old-data-env-var": { + "taskPlugin": { + "pluginPackage": "@rushstack/heft", + "pluginName": "set-environment-variables-plugin", + "options": { + "environmentVariablesToSet": { + "BROWSERSLIST_IGNORE_OLD_DATA": "1" + } + } + } + }, "typescript": { "taskPlugin": { "pluginPackage": "@rushstack/heft-typescript-plugin" @@ -22,7 +33,7 @@ } }, "webpack": { - "taskDependencies": ["typescript"], + "taskDependencies": ["typescript", "set-browserslist-ignore-old-data-env-var"], "taskPlugin": { "pluginPackage": "@rushstack/heft-webpack5-plugin" } diff --git a/build-tests/hashed-folder-copy-plugin-webpack5-test/config/heft.json b/build-tests/hashed-folder-copy-plugin-webpack5-test/config/heft.json index 09e8cc23d23..5a0ed3a0559 100644 --- a/build-tests/hashed-folder-copy-plugin-webpack5-test/config/heft.json +++ b/build-tests/hashed-folder-copy-plugin-webpack5-test/config/heft.json @@ -10,6 +10,17 @@ "cleanFiles": [{ "includeGlobs": ["dist-dev", "dist-prod", "lib"] }], "tasksByName": { + "set-browserslist-ignore-old-data-env-var": { + "taskPlugin": { + "pluginPackage": "@rushstack/heft", + "pluginName": "set-environment-variables-plugin", + "options": { + "environmentVariablesToSet": { + "BROWSERSLIST_IGNORE_OLD_DATA": "1" + } + } + } + }, "typescript": { "taskPlugin": { "pluginPackage": "@rushstack/heft-typescript-plugin" @@ -24,7 +35,7 @@ }, "webpack5": { - "taskDependencies": ["typescript"], + "taskDependencies": ["typescript", "set-browserslist-ignore-old-data-env-var"], "taskPlugin": { "pluginPackage": "@rushstack/heft-webpack5-plugin" } diff --git a/rush-plugins/rush-serve-plugin/config/heft.json b/rush-plugins/rush-serve-plugin/config/heft.json index d440396ec4e..7ba2e11ad83 100644 --- a/rush-plugins/rush-serve-plugin/config/heft.json +++ b/rush-plugins/rush-serve-plugin/config/heft.json @@ -5,6 +5,17 @@ "phasesByName": { "build": { "tasksByName": { + "set-browserslist-ignore-old-data-env-var": { + "taskPlugin": { + "pluginPackage": "@rushstack/heft", + "pluginName": "set-environment-variables-plugin", + "options": { + "environmentVariablesToSet": { + "BROWSERSLIST_IGNORE_OLD_DATA": "1" + } + } + } + }, "copy-json-schemas": { "taskPlugin": { "pluginPackage": "@rushstack/heft", @@ -22,7 +33,7 @@ } }, "webpack": { - "taskDependencies": ["typescript"], + "taskDependencies": ["typescript", "set-browserslist-ignore-old-data-env-var"], "taskPlugin": { "pluginPackage": "@rushstack/heft-webpack5-plugin" } diff --git a/webpack/webpack5-localization-plugin/config/heft.json b/webpack/webpack5-localization-plugin/config/heft.json new file mode 100644 index 00000000000..581d1e04f4f --- /dev/null +++ b/webpack/webpack5-localization-plugin/config/heft.json @@ -0,0 +1,25 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/heft/v0/heft.schema.json", + + "extends": "local-node-rig/profiles/default/config/heft.json", + "phasesByName": { + "test": { + "tasksByName": { + "set-browserslist-ignore-old-data-env-var": { + "taskPlugin": { + "pluginPackage": "@rushstack/heft", + "pluginName": "set-environment-variables-plugin", + "options": { + "environmentVariablesToSet": { + "BROWSERSLIST_IGNORE_OLD_DATA": "1" + } + } + } + }, + "jest": { + "taskDependencies": ["set-browserslist-ignore-old-data-env-var"] + } + } + } + } +}