From fe91b156132d4b198ed1b4c014903eb2a5376e63 Mon Sep 17 00:00:00 2001 From: yashwanth195 <59129034+yashwanth195@users.noreply.github.com> Date: Wed, 4 Feb 2026 17:03:24 -0800 Subject: [PATCH] [Webpack]Updated version of webpack to newer version(5.105.0) --- .../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 +- ...webpack-version-bump_2026-02-05-01-02.json | 10 + ...webpack-version-bump_2026-02-05-01-02.json | 10 + ...webpack-version-bump_2026-02-05-01-02.json | 10 + ...webpack-version-bump_2026-02-05-01-02.json | 10 + ...webpack-version-bump_2026-02-05-01-02.json | 10 + ...webpack-version-bump_2026-02-05-01-02.json | 10 + ...webpack-version-bump_2026-02-05-01-02.json | 10 + ...webpack-version-bump_2026-02-05-01-02.json | 10 + ...webpack-version-bump_2026-02-05-01-02.json | 10 + ...webpack-version-bump_2026-02-05-01-02.json | 10 + ...webpack-version-bump_2026-02-05-01-02.json | 10 + ...webpack-version-bump_2026-02-05-01-02.json | 10 + ...webpack-version-bump_2026-02-05-01-02.json | 10 + ...webpack-version-bump_2026-02-05-01-02.json | 10 + .../build-tests-subspace/pnpm-lock.yaml | 30 +- .../build-tests-subspace/repo-state.json | 4 +- .../config/subspaces/default/pnpm-lock.yaml | 282 +++++++++--------- .../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-vscode-command-webview/package.json | 2 +- .../hashed-folder-copy-plugin/package.json | 2 +- .../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 +- .../LocalizedAsyncDynamic.test.ts.snap | 8 +- ...micFormatWithNoLocaleFallback.test.ts.snap | 16 +- .../LocalizedNoAsync.test.ts.snap | 16 +- .../MixedAsyncDynamic.test.ts.snap | 8 +- .../package.json | 2 +- .../__snapshots__/AmdExternals.test.ts.snap | 10 +- .../MultipleRuntimes.test.ts.snap | 42 +-- 49 files changed, 375 insertions(+), 235 deletions(-) create mode 100644 common/changes/@microsoft/rush/yverupaka-webpack-version-bump_2026-02-05-01-02.json create mode 100644 common/changes/@microsoft/webpack5-load-themed-styles-loader/yverupaka-webpack-version-bump_2026-02-05-01-02.json create mode 100644 common/changes/@rushstack/hashed-folder-copy-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json create mode 100644 common/changes/@rushstack/heft-rspack-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json create mode 100644 common/changes/@rushstack/heft-web-rig/yverupaka-webpack-version-bump_2026-02-05-01-02.json create mode 100644 common/changes/@rushstack/heft-webpack5-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json create mode 100644 common/changes/@rushstack/package-extractor/yverupaka-webpack-version-bump_2026-02-05-01-02.json create mode 100644 common/changes/@rushstack/set-webpack-public-path-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json create mode 100644 common/changes/@rushstack/webpack-embedded-dependencies-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json create mode 100644 common/changes/@rushstack/webpack-plugin-utilities/yverupaka-webpack-version-bump_2026-02-05-01-02.json create mode 100644 common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json create mode 100644 common/changes/@rushstack/webpack-workspace-resolve-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json create mode 100644 common/changes/@rushstack/webpack5-localization-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json create mode 100644 common/changes/@rushstack/webpack5-module-minifier-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json 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 b54feacecd8..a948379adb9 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 @@ -28,7 +28,7 @@ "style-loader": "~2.0.0", "terser-webpack-plugin": "~3.0.8", "typescript": "~5.8.2", - "webpack": "~5.104.1", + "webpack": "~5.105.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 a18875ef5e9..50172e47a6d 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.104.1", + "webpack": "~5.105.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 7499f90ec1f..f11628537e7 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.104.1" + "webpack": "~5.105.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 51917df4c5d..9568409567f 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.104.1" + "webpack": "~5.105.0" } } diff --git a/build-tests/heft-webpack5-everything-test/package.json b/build-tests/heft-webpack5-everything-test/package.json index 2c335304f2b..9b2c3245335 100644 --- a/build-tests/heft-webpack5-everything-test/package.json +++ b/build-tests/heft-webpack5-everything-test/package.json @@ -31,6 +31,6 @@ "source-map-loader": "~3.0.1", "tslint": "~5.20.1", "typescript": "~5.8.2", - "webpack": "~5.104.1" + "webpack": "~5.105.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 08f4cd74a5c..e66b6c8ea5f 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.104.1" + "webpack": "~5.105.0" } } diff --git a/build-tests/webpack-local-version-test/package.json b/build-tests/webpack-local-version-test/package.json index 90ac799183d..c77095bd4d5 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.104.1" + "webpack": "~5.105.0" } } diff --git a/common/changes/@microsoft/rush/yverupaka-webpack-version-bump_2026-02-05-01-02.json b/common/changes/@microsoft/rush/yverupaka-webpack-version-bump_2026-02-05-01-02.json new file mode 100644 index 00000000000..bd7ff97cb34 --- /dev/null +++ b/common/changes/@microsoft/rush/yverupaka-webpack-version-bump_2026-02-05-01-02.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/rush", + "comment": "", + "type": "none" + } + ], + "packageName": "@microsoft/rush" +} \ No newline at end of file diff --git a/common/changes/@microsoft/webpack5-load-themed-styles-loader/yverupaka-webpack-version-bump_2026-02-05-01-02.json b/common/changes/@microsoft/webpack5-load-themed-styles-loader/yverupaka-webpack-version-bump_2026-02-05-01-02.json new file mode 100644 index 00000000000..bbed8f9189c --- /dev/null +++ b/common/changes/@microsoft/webpack5-load-themed-styles-loader/yverupaka-webpack-version-bump_2026-02-05-01-02.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@microsoft/webpack5-load-themed-styles-loader", + "comment": "", + "type": "none" + } + ], + "packageName": "@microsoft/webpack5-load-themed-styles-loader" +} \ No newline at end of file diff --git a/common/changes/@rushstack/hashed-folder-copy-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json b/common/changes/@rushstack/hashed-folder-copy-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json new file mode 100644 index 00000000000..e8c42a34e96 --- /dev/null +++ b/common/changes/@rushstack/hashed-folder-copy-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/hashed-folder-copy-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/hashed-folder-copy-plugin" +} \ No newline at end of file diff --git a/common/changes/@rushstack/heft-rspack-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json b/common/changes/@rushstack/heft-rspack-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json new file mode 100644 index 00000000000..a4695297016 --- /dev/null +++ b/common/changes/@rushstack/heft-rspack-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-rspack-plugin", + "comment": "Bump `webpack` dependency version to `~5.105.0`", + "type": "patch" + } + ], + "packageName": "@rushstack/heft-rspack-plugin" +} \ No newline at end of file diff --git a/common/changes/@rushstack/heft-web-rig/yverupaka-webpack-version-bump_2026-02-05-01-02.json b/common/changes/@rushstack/heft-web-rig/yverupaka-webpack-version-bump_2026-02-05-01-02.json new file mode 100644 index 00000000000..72600140b7b --- /dev/null +++ b/common/changes/@rushstack/heft-web-rig/yverupaka-webpack-version-bump_2026-02-05-01-02.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-web-rig", + "comment": "Bump `webpack` dependency version to `~5.105.0`", + "type": "patch" + } + ], + "packageName": "@rushstack/heft-web-rig" +} \ No newline at end of file diff --git a/common/changes/@rushstack/heft-webpack5-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json b/common/changes/@rushstack/heft-webpack5-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json new file mode 100644 index 00000000000..e62ded6bf1b --- /dev/null +++ b/common/changes/@rushstack/heft-webpack5-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/heft-webpack5-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/heft-webpack5-plugin" +} \ No newline at end of file diff --git a/common/changes/@rushstack/package-extractor/yverupaka-webpack-version-bump_2026-02-05-01-02.json b/common/changes/@rushstack/package-extractor/yverupaka-webpack-version-bump_2026-02-05-01-02.json new file mode 100644 index 00000000000..672fa0fcb35 --- /dev/null +++ b/common/changes/@rushstack/package-extractor/yverupaka-webpack-version-bump_2026-02-05-01-02.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/package-extractor", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/package-extractor" +} \ No newline at end of file diff --git a/common/changes/@rushstack/set-webpack-public-path-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json b/common/changes/@rushstack/set-webpack-public-path-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json new file mode 100644 index 00000000000..c20361cc891 --- /dev/null +++ b/common/changes/@rushstack/set-webpack-public-path-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/set-webpack-public-path-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/set-webpack-public-path-plugin" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack-embedded-dependencies-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json b/common/changes/@rushstack/webpack-embedded-dependencies-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json new file mode 100644 index 00000000000..0faabd97885 --- /dev/null +++ b/common/changes/@rushstack/webpack-embedded-dependencies-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack-embedded-dependencies-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/webpack-embedded-dependencies-plugin" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack-plugin-utilities/yverupaka-webpack-version-bump_2026-02-05-01-02.json b/common/changes/@rushstack/webpack-plugin-utilities/yverupaka-webpack-version-bump_2026-02-05-01-02.json new file mode 100644 index 00000000000..d21d57bcf4b --- /dev/null +++ b/common/changes/@rushstack/webpack-plugin-utilities/yverupaka-webpack-version-bump_2026-02-05-01-02.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack-plugin-utilities", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/webpack-plugin-utilities" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json b/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json new file mode 100644 index 00000000000..c5e4ec7c3bd --- /dev/null +++ b/common/changes/@rushstack/webpack-preserve-dynamic-require-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack-preserve-dynamic-require-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/webpack-preserve-dynamic-require-plugin" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack-workspace-resolve-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json b/common/changes/@rushstack/webpack-workspace-resolve-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json new file mode 100644 index 00000000000..a7f61b90429 --- /dev/null +++ b/common/changes/@rushstack/webpack-workspace-resolve-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack-workspace-resolve-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/webpack-workspace-resolve-plugin" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack5-localization-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json b/common/changes/@rushstack/webpack5-localization-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json new file mode 100644 index 00000000000..4d848c3d7d8 --- /dev/null +++ b/common/changes/@rushstack/webpack5-localization-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack5-localization-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/webpack5-localization-plugin" +} \ No newline at end of file diff --git a/common/changes/@rushstack/webpack5-module-minifier-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json b/common/changes/@rushstack/webpack5-module-minifier-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json new file mode 100644 index 00000000000..6b6bb2f7f49 --- /dev/null +++ b/common/changes/@rushstack/webpack5-module-minifier-plugin/yverupaka-webpack-version-bump_2026-02-05-01-02.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@rushstack/webpack5-module-minifier-plugin", + "comment": "", + "type": "none" + } + ], + "packageName": "@rushstack/webpack5-module-minifier-plugin" +} \ No newline at end of file diff --git a/common/config/subspaces/build-tests-subspace/pnpm-lock.yaml b/common/config/subspaces/build-tests-subspace/pnpm-lock.yaml index afda51a7af0..607ce57097b 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.104.1) + version: 5.5.4(webpack@5.105.0) typescript: specifier: ~5.8.2 version: 5.8.3 webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 packages: @@ -1682,8 +1682,8 @@ packages: resolution: {integrity: sha512-6qOwkl1g0fv0DN3Y3ggr2EaZXN71aoAqPp3p/pVaWSBSIo+YjLOWN61Fva43oVyQNPf7kgm8lkudzlzojwE2jw==} engines: {node: '>=10'} - enhanced-resolve@5.18.4: - resolution: {integrity: sha512-LgQMM4WXU3QI+SYgEc2liRgznaD5ojbmY3sb8LxyguVkIg5FxdpTkvk72te2R38/TGKxH634oLxXRGY6d7AP+Q==} + enhanced-resolve@5.19.0: + resolution: {integrity: sha512-phv3E1Xl4tQOShqSte26C7Fl84EwUdZsyOuSSk9qtAGyyQs2s3jJzComh+Abf4g187lUUAvH+H26omrqia2aGg==} engines: {node: '>=10.13.0'} entities@2.2.0: @@ -3514,8 +3514,8 @@ packages: resolution: {integrity: sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg==} engines: {node: '>=10.13.0'} - webpack@5.104.1: - resolution: {integrity: sha512-Qphch25abbMNtekmEGJmeRUhLDbe+QfiWTiqpKYkpCOWY64v9eyl+KRRLmqOFA2AvKPpc9DC6+u2n76tQLBoaA==} + webpack@5.105.0: + resolution: {integrity: sha512-gX/dMkRQc7QOMzgTe6KsYFM7DxeIONQSui1s0n/0xht36HvrgbxtM1xBlgx596NbpHuQU8P7QpKwrZYwUX48nw==} engines: {node: '>=10.13.0'} hasBin: true peerDependencies: @@ -5770,7 +5770,7 @@ snapshots: dependencies: mem: 8.1.1 - enhanced-resolve@5.18.4: + enhanced-resolve@5.19.0: dependencies: graceful-fs: 4.2.11 tapable: 2.3.0 @@ -6387,14 +6387,14 @@ snapshots: relateurl: 0.2.7 terser: 5.46.0 - html-webpack-plugin@5.5.4(webpack@5.104.1): + html-webpack-plugin@5.5.4(webpack@5.105.0): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 lodash: 4.17.23 pretty-error: 4.0.0 tapable: 2.3.0 - webpack: 5.104.1 + webpack: 5.105.0 htmlparser2@6.1.0: dependencies: @@ -7968,14 +7968,14 @@ snapshots: minizlib: 3.1.0 yallist: 5.0.0 - terser-webpack-plugin@5.3.16(webpack@5.104.1): + terser-webpack-plugin@5.3.16(webpack@5.105.0): dependencies: '@jridgewell/trace-mapping': 0.3.31 jest-worker: 27.5.1 schema-utils: 4.3.3 serialize-javascript: 6.0.2 terser: 5.46.0 - webpack: 5.104.1 + webpack: 5.105.0 terser@5.46.0: dependencies: @@ -8168,7 +8168,7 @@ snapshots: webpack-sources@3.3.3: {} - webpack@5.104.1: + webpack@5.105.0: dependencies: '@types/eslint-scope': 3.7.7 '@types/estree': 1.0.8 @@ -8180,7 +8180,7 @@ snapshots: acorn-import-phases: 1.0.4(acorn@8.15.0) browserslist: 4.28.1 chrome-trace-event: 1.0.4 - enhanced-resolve: 5.18.4 + enhanced-resolve: 5.19.0 es-module-lexer: 2.0.0 eslint-scope: 5.1.1 events: 3.3.0 @@ -8192,7 +8192,7 @@ snapshots: neo-async: 2.6.2 schema-utils: 4.3.3 tapable: 2.3.0 - terser-webpack-plugin: 5.3.16(webpack@5.104.1) + terser-webpack-plugin: 5.3.16(webpack@5.105.0) watchpack: 2.5.1 webpack-sources: 3.3.3 transitivePeerDependencies: diff --git a/common/config/subspaces/build-tests-subspace/repo-state.json b/common/config/subspaces/build-tests-subspace/repo-state.json index 1859d673170..aacd6b6df03 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": "b2cb1561cac292fce7df073fd38daff0a860de9d", + "pnpmShrinkwrapHash": "5678d05a5d8ff316ed0beb3ddd4b8048823237bf", "preferredVersionsHash": "550b4cee0bef4e97db6c6aad726df5149d20e7d9", - "packageJsonInjectedDependenciesHash": "d9191682d2cd2b01df1eb5ae8bd44a940a5ec2a4" + "packageJsonInjectedDependenciesHash": "5a12096392afaaf176e5134102e4a4d0ed840ada" } diff --git a/common/config/subspaces/default/pnpm-lock.yaml b/common/config/subspaces/default/pnpm-lock.yaml index 2a061d28849..3894f24193d 100644 --- a/common/config/subspaces/default/pnpm-lock.yaml +++ b/common/config/subspaces/default/pnpm-lock.yaml @@ -918,7 +918,7 @@ importers: version: 1.18.8 css-loader: specifier: ~5.2.7 - version: 5.2.7(webpack@5.104.1) + version: 5.2.7(webpack@5.105.0) eslint: specifier: ~9.37.0 version: 9.37.0 @@ -927,25 +927,25 @@ importers: version: link:../heft-storybook-v9-react-tutorial-storykit html-webpack-plugin: specifier: ~5.5.0 - version: 5.5.4(webpack@5.104.1) + version: 5.5.4(webpack@5.105.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.104.1) + version: 1.1.3(webpack@5.105.0) storybook: specifier: ~9.1.6 version: 9.1.17(@testing-library/dom@7.21.8)(prettier@3.8.1) style-loader: specifier: ~2.0.0 - version: 2.0.0(webpack@5.104.1) + version: 2.0.0(webpack@5.105.0) typescript: specifier: ~5.8.2 version: 5.8.2 webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 ../../../build-tests-samples/heft-storybook-v9-react-tutorial-app: dependencies: @@ -1000,10 +1000,10 @@ importers: version: 1.18.8 babel-loader: specifier: ~8.2.3 - version: 8.2.5(@babel/core@7.20.12)(webpack@5.104.1) + version: 8.2.5(@babel/core@7.20.12)(webpack@5.105.0) css-loader: specifier: ~5.2.7 - version: 5.2.7(webpack@5.104.1) + version: 5.2.7(webpack@5.105.0) jest: specifier: ~29.3.1 version: 29.3.1(@types/node@20.17.19) @@ -1018,16 +1018,16 @@ importers: version: 9.1.17(@testing-library/dom@7.21.8)(prettier@3.8.1) style-loader: specifier: ~2.0.0 - version: 2.0.0(webpack@5.104.1) + version: 2.0.0(webpack@5.105.0) terser-webpack-plugin: specifier: ~3.0.8 - version: 3.0.8(webpack@5.104.1) + version: 3.0.8(webpack@5.105.0) typescript: specifier: ~5.8.2 version: 5.8.2 webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 devDependencies: '@rushstack/heft': specifier: workspace:* @@ -1151,28 +1151,28 @@ importers: version: 1.18.8 css-loader: specifier: ~6.6.0 - version: 6.6.0(webpack@5.104.1) + version: 6.6.0(webpack@5.105.0) eslint: specifier: ~9.37.0 version: 9.37.0 html-webpack-plugin: specifier: ~5.5.0 - version: 5.5.4(webpack@5.104.1) + version: 5.5.4(webpack@5.105.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.104.1) + version: 3.0.2(webpack@5.105.0) style-loader: specifier: ~3.3.1 - version: 3.3.4(webpack@5.104.1) + version: 3.3.4(webpack@5.105.0) typescript: specifier: ~5.8.2 version: 5.8.2 webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 ../../../build-tests-samples/packlets-tutorial: devDependencies: @@ -1664,13 +1664,13 @@ importers: version: 1.18.8 html-webpack-plugin: specifier: ~5.5.0 - version: 5.5.4(webpack@5.104.1) + version: 5.5.4(webpack@5.105.0) typescript: specifier: ~5.8.2 version: 5.8.2 webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 webpack-bundle-analyzer: specifier: ~4.5.0 version: 4.5.0 @@ -2490,13 +2490,13 @@ importers: version: 9.37.0 html-webpack-plugin: specifier: ~5.5.0 - version: 5.5.4(webpack@5.104.1) + version: 5.5.4(webpack@5.105.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.104.1) + version: 3.0.2(webpack@5.105.0) tslint: specifier: ~5.20.1 version: 5.20.1(typescript@5.8.2) @@ -2504,8 +2504,8 @@ importers: specifier: ~5.8.2 version: 5.8.2 webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 ../../../build-tests/localization-plugin-test-01: dependencies: @@ -2869,13 +2869,13 @@ importers: version: 8.57.1 html-webpack-plugin: specifier: ~5.5.0 - version: 5.5.4(webpack@5.104.1) + version: 5.5.4(webpack@5.105.0) typescript: specifier: ~5.8.2 version: 5.8.2 webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 ../../../eslint/eslint-bulk: devDependencies: @@ -3340,7 +3340,7 @@ importers: dependencies: '@rspack/dev-server': specifier: ^1.1.4 - version: 1.2.1(@rspack/core@1.6.8(@swc/helpers@0.5.18))(@types/webpack@4.41.32)(webpack@5.104.1) + version: 1.2.1(@rspack/core@1.6.8(@swc/helpers@0.5.18))(@types/webpack@4.41.32)(webpack@5.105.0) '@rushstack/debug-certificate-manager': specifier: workspace:* version: link:../../libraries/debug-certificate-manager @@ -3354,8 +3354,8 @@ importers: specifier: 2.4.0 version: 2.4.0 webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 devDependencies: '@rspack/core': specifier: ~1.6.0-beta.0 @@ -3603,7 +3603,7 @@ importers: version: 2.4.0 webpack-dev-server: specifier: ^5.1.0 - version: 5.2.3(@types/webpack@4.41.32)(webpack@5.104.1) + version: 5.2.3(@types/webpack@4.41.32)(webpack@5.105.0) devDependencies: '@rushstack/heft': specifier: workspace:* @@ -3621,8 +3621,8 @@ importers: specifier: workspace:* version: link:../../rigs/local-node-rig webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 ../../../libraries/api-extractor-model: dependencies: @@ -3977,8 +3977,8 @@ importers: specifier: workspace:* version: link:../../rigs/local-node-rig webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 ../../../libraries/problem-matcher: devDependencies: @@ -4192,8 +4192,8 @@ importers: specifier: workspace:* version: link:../../rigs/local-node-rig webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 ../../../libraries/rush-pnpm-kit-v10: dependencies: @@ -4307,8 +4307,8 @@ importers: specifier: workspace:* version: link:../../rigs/local-node-rig webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 ../../../libraries/rush-themed-ui: dependencies: @@ -4720,52 +4720,52 @@ importers: version: 10.4.23(postcss@8.4.49) css-loader: specifier: ~6.6.0 - version: 6.6.0(webpack@5.104.1) + version: 6.6.0(webpack@5.105.0) css-minimizer-webpack-plugin: specifier: ~3.4.1 - version: 3.4.1(webpack@5.104.1) + version: 3.4.1(webpack@5.105.0) eslint: specifier: ~9.37.0 version: 9.37.0 html-webpack-plugin: specifier: ~5.5.0 - version: 5.5.4(webpack@5.104.1) + version: 5.5.4(webpack@5.105.0) jest-environment-jsdom: specifier: ~29.5.0 version: 29.5.0 mini-css-extract-plugin: specifier: ~2.5.3 - version: 2.5.3(webpack@5.104.1) + version: 2.5.3(webpack@5.105.0) postcss: specifier: ~8.4.6 version: 8.4.49 postcss-loader: specifier: ~6.2.1 - version: 6.2.1(postcss@8.4.49)(webpack@5.104.1) + version: 6.2.1(postcss@8.4.49)(webpack@5.105.0) 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.104.1) + version: 12.4.0(sass@1.49.11)(webpack@5.105.0) source-map-loader: specifier: ~3.0.1 - version: 3.0.2(webpack@5.104.1) + version: 3.0.2(webpack@5.105.0) style-loader: specifier: ~3.3.1 - version: 3.3.4(webpack@5.104.1) + version: 3.3.4(webpack@5.105.0) terser-webpack-plugin: specifier: ~5.3.1 - version: 5.3.16(webpack@5.104.1) + version: 5.3.16(webpack@5.105.0) 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.104.1))(webpack@5.104.1) + version: 4.1.1(file-loader@6.2.0(webpack@5.105.0))(webpack@5.105.0) webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 webpack-bundle-analyzer: specifier: ~4.5.0 version: 4.5.0 @@ -5286,13 +5286,13 @@ importers: version: 9.37.0 html-webpack-plugin: specifier: ~5.5.0 - version: 5.5.4(webpack@5.104.1) + version: 5.5.4(webpack@5.105.0) local-web-rig: specifier: workspace:* version: link:../../rigs/local-web-rig webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 webpack-bundle-analyzer: specifier: ~4.5.0 version: 4.5.0 @@ -5396,8 +5396,8 @@ importers: specifier: 4.12.0 version: 4.12.0 webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 ../../../webpack/loader-load-themed-styles: dependencies: @@ -5452,8 +5452,8 @@ importers: specifier: workspace:* version: link:../../rigs/local-node-rig webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 ../../../webpack/set-webpack-public-path-plugin: dependencies: @@ -5480,8 +5480,8 @@ importers: specifier: 4.12.0 version: 4.12.0 webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 ../../../webpack/webpack-deep-imports-plugin: dependencies: @@ -5499,8 +5499,8 @@ importers: specifier: workspace:* version: link:../../rigs/local-node-rig webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 ../../../webpack/webpack-embedded-dependencies-plugin: dependencies: @@ -5524,8 +5524,8 @@ importers: specifier: 4.12.0 version: 4.12.0 webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 ../../../webpack/webpack-plugin-utilities: dependencies: @@ -5549,8 +5549,8 @@ importers: specifier: workspace:* version: link:../../rigs/local-node-rig webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 ../../../webpack/webpack-workspace-resolve-plugin: dependencies: @@ -5574,8 +5574,8 @@ importers: specifier: 4.12.0 version: 4.12.0 webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 ../../../webpack/webpack4-localization-plugin: dependencies: @@ -5676,7 +5676,7 @@ importers: version: link:../../libraries/node-core-library css-loader: specifier: ~6.6.0 - version: 6.6.0(webpack@5.104.1) + version: 6.6.0(webpack@5.105.0) eslint: specifier: ~9.37.0 version: 9.37.0 @@ -5687,8 +5687,8 @@ importers: specifier: 4.12.0 version: 4.12.0 webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 ../../../webpack/webpack5-localization-plugin: dependencies: @@ -5718,8 +5718,8 @@ importers: specifier: 4.12.0 version: 4.12.0 webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 ../../../webpack/webpack5-module-minifier-plugin: dependencies: @@ -5755,8 +5755,8 @@ importers: specifier: 4.12.0 version: 4.12.0 webpack: - specifier: ~5.104.1 - version: 5.104.1 + specifier: ~5.105.0 + version: 5.105.0 packages: @@ -12455,8 +12455,8 @@ packages: resolution: {integrity: sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==} engines: {node: '>=6.9.0'} - enhanced-resolve@5.18.4: - resolution: {integrity: sha512-LgQMM4WXU3QI+SYgEc2liRgznaD5ojbmY3sb8LxyguVkIg5FxdpTkvk72te2R38/TGKxH634oLxXRGY6d7AP+Q==} + enhanced-resolve@5.19.0: + resolution: {integrity: sha512-phv3E1Xl4tQOShqSte26C7Fl84EwUdZsyOuSSk9qtAGyyQs2s3jJzComh+Abf4g187lUUAvH+H26omrqia2aGg==} engines: {node: '>=10.13.0'} enquirer@2.4.1: @@ -18427,8 +18427,8 @@ packages: webpack-command: optional: true - webpack@5.104.1: - resolution: {integrity: sha512-Qphch25abbMNtekmEGJmeRUhLDbe+QfiWTiqpKYkpCOWY64v9eyl+KRRLmqOFA2AvKPpc9DC6+u2n76tQLBoaA==} + webpack@5.105.0: + resolution: {integrity: sha512-gX/dMkRQc7QOMzgTe6KsYFM7DxeIONQSui1s0n/0xht36HvrgbxtM1xBlgx596NbpHuQU8P7QpKwrZYwUX48nw==} engines: {node: '>=10.13.0'} hasBin: true peerDependencies: @@ -23659,7 +23659,7 @@ snapshots: optionalDependencies: '@swc/helpers': 0.5.18 - '@rspack/dev-server@1.2.1(@rspack/core@1.6.8(@swc/helpers@0.5.18))(@types/webpack@4.41.32)(webpack@5.104.1)': + '@rspack/dev-server@1.2.1(@rspack/core@1.6.8(@swc/helpers@0.5.18))(@types/webpack@4.41.32)(webpack@5.105.0)': dependencies: '@rspack/core': 1.6.8(@swc/helpers@0.5.18) '@types/bonjour': 3.5.13 @@ -23688,7 +23688,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.104.1) + webpack-dev-middleware: 7.4.5(@types/webpack@4.41.32)(webpack@5.105.0) ws: 8.19.0 transitivePeerDependencies: - '@types/webpack' @@ -25062,17 +25062,17 @@ snapshots: '@storybook/core-webpack': 9.1.17(storybook@9.1.17(@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.18))(webpack@5.104.1) + css-loader: 6.11.0(@rspack/core@1.6.8(@swc/helpers@0.5.18))(webpack@5.105.0) es-module-lexer: 1.7.0 - fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.8.2)(webpack@5.104.1) - html-webpack-plugin: 5.5.4(webpack@5.104.1) + fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.8.2)(webpack@5.105.0) + html-webpack-plugin: 5.5.4(webpack@5.105.0) magic-string: 0.30.21 storybook: 9.1.17(@testing-library/dom@7.21.8)(prettier@3.8.1) - style-loader: 3.3.4(webpack@5.104.1) - terser-webpack-plugin: 5.3.16(webpack@5.104.1) + style-loader: 3.3.4(webpack@5.105.0) + terser-webpack-plugin: 5.3.16(webpack@5.105.0) ts-dedent: 2.2.0 - webpack: 5.104.1 - webpack-dev-middleware: 6.1.3(@types/webpack@4.41.32)(webpack@5.104.1) + webpack: 5.105.0 + webpack-dev-middleware: 6.1.3(@types/webpack@4.41.32)(webpack@5.105.0) webpack-hot-middleware: 2.26.1 webpack-virtual-modules: 0.6.2 optionalDependencies: @@ -25549,7 +25549,7 @@ snapshots: '@storybook/preset-react-webpack@9.1.17(react-dom@19.2.4(react@19.2.4))(react@19.2.4)(storybook@9.1.17(@testing-library/dom@7.21.8)(prettier@3.8.1))(typescript@5.8.2)': dependencies: '@storybook/core-webpack': 9.1.17(storybook@9.1.17(@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.104.1) + '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.8.2)(webpack@5.105.0) '@types/semver': 7.5.0 find-up: 7.0.0 magic-string: 0.30.21 @@ -25560,7 +25560,7 @@ snapshots: semver: 7.5.4 storybook: 9.1.17(@testing-library/dom@7.21.8)(prettier@3.8.1) tsconfig-paths: 4.2.0 - webpack: 5.104.1 + webpack: 5.105.0 optionalDependencies: typescript: 5.8.2 transitivePeerDependencies: @@ -25608,7 +25608,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.8.2)(webpack@5.104.1)': + '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.8.2)(webpack@5.105.0)': dependencies: debug: 4.4.3(supports-color@8.1.1) endent: 2.1.0 @@ -25618,7 +25618,7 @@ snapshots: react-docgen-typescript: 2.4.0(typescript@5.8.2) tslib: 2.8.1 typescript: 5.8.2 - webpack: 5.104.1 + webpack: 5.105.0 transitivePeerDependencies: - supports-color @@ -27720,14 +27720,14 @@ snapshots: schema-utils: 2.7.1 webpack: 4.47.0 - babel-loader@8.2.5(@babel/core@7.20.12)(webpack@5.104.1): + babel-loader@8.2.5(@babel/core@7.20.12)(webpack@5.105.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.104.1 + webpack: 5.105.0 babel-plugin-add-react-displayname@0.0.5: {} @@ -28807,7 +28807,7 @@ snapshots: semver: 7.5.4 webpack: 4.47.0 - css-loader@5.2.7(webpack@5.104.1): + css-loader@5.2.7(webpack@5.105.0): dependencies: icss-utils: 5.1.0(postcss@8.4.49) loader-utils: 2.0.4 @@ -28819,9 +28819,9 @@ snapshots: postcss-value-parser: 4.2.0 schema-utils: 3.3.0 semver: 7.5.4 - webpack: 5.104.1 + webpack: 5.105.0 - css-loader@6.11.0(@rspack/core@1.6.8(@swc/helpers@0.5.18))(webpack@5.104.1): + css-loader@6.11.0(@rspack/core@1.6.8(@swc/helpers@0.5.18))(webpack@5.105.0): dependencies: icss-utils: 5.1.0(postcss@8.4.49) postcss: 8.4.49 @@ -28833,9 +28833,9 @@ snapshots: semver: 7.5.4 optionalDependencies: '@rspack/core': 1.6.8(@swc/helpers@0.5.18) - webpack: 5.104.1 + webpack: 5.105.0 - css-loader@6.6.0(webpack@5.104.1): + css-loader@6.6.0(webpack@5.105.0): dependencies: icss-utils: 5.1.0(postcss@8.4.49) postcss: 8.4.49 @@ -28845,9 +28845,9 @@ snapshots: postcss-modules-values: 4.0.0(postcss@8.4.49) postcss-value-parser: 4.2.0 semver: 7.5.4 - webpack: 5.104.1 + webpack: 5.105.0 - css-minimizer-webpack-plugin@3.4.1(webpack@5.104.1): + css-minimizer-webpack-plugin@3.4.1(webpack@5.105.0): dependencies: cssnano: 5.1.15(postcss@8.4.49) jest-worker: 27.5.1 @@ -28855,7 +28855,7 @@ snapshots: schema-utils: 4.3.3 serialize-javascript: 6.0.2 source-map: 0.6.1 - webpack: 5.104.1 + webpack: 5.105.0 css-select@4.3.0: dependencies: @@ -29343,7 +29343,7 @@ snapshots: memory-fs: 0.5.0 tapable: 1.1.3 - enhanced-resolve@5.18.4: + enhanced-resolve@5.19.0: dependencies: graceful-fs: 4.2.11 tapable: 2.3.0 @@ -30701,11 +30701,11 @@ snapshots: schema-utils: 3.3.0 webpack: 4.47.0 - file-loader@6.2.0(webpack@5.104.1): + file-loader@6.2.0(webpack@5.105.0): dependencies: loader-utils: 2.0.4 schema-utils: 3.3.0 - webpack: 5.104.1 + webpack: 5.105.0 optional: true file-system-cache@1.1.0: @@ -30879,7 +30879,7 @@ snapshots: optionalDependencies: eslint: 9.37.0 - fork-ts-checker-webpack-plugin@8.0.0(typescript@5.8.2)(webpack@5.104.1): + fork-ts-checker-webpack-plugin@8.0.0(typescript@5.8.2)(webpack@5.105.0): dependencies: '@babel/code-frame': 7.28.6 chalk: 4.1.2 @@ -30894,7 +30894,7 @@ snapshots: semver: 7.5.4 tapable: 2.3.0 typescript: 5.8.2 - webpack: 5.104.1 + webpack: 5.105.0 form-data@4.0.5: dependencies: @@ -31455,14 +31455,14 @@ snapshots: util.promisify: 1.0.0 webpack: 4.47.0 - html-webpack-plugin@5.5.4(webpack@5.104.1): + html-webpack-plugin@5.5.4(webpack@5.105.0): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 lodash: 4.17.23 pretty-error: 4.0.0 tapable: 2.3.0 - webpack: 5.104.1 + webpack: 5.105.0 htmlparser2@6.1.0: dependencies: @@ -33253,10 +33253,10 @@ snapshots: min-indent@1.0.1: {} - mini-css-extract-plugin@2.5.3(webpack@5.104.1): + mini-css-extract-plugin@2.5.3(webpack@5.105.0): dependencies: schema-utils: 4.3.3 - webpack: 5.104.1 + webpack: 5.105.0 minimalistic-assert@1.0.1: {} @@ -34147,13 +34147,13 @@ snapshots: semver: 7.5.4 webpack: 4.47.0 - postcss-loader@6.2.1(postcss@8.4.49)(webpack@5.104.1): + postcss-loader@6.2.1(postcss@8.4.49)(webpack@5.105.0): dependencies: cosmiconfig: 7.1.0 klona: 2.0.6 postcss: 8.4.49 semver: 7.5.4 - webpack: 5.104.1 + webpack: 5.105.0 postcss-merge-longhand@5.1.7(postcss@8.4.49): dependencies: @@ -35288,11 +35288,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.104.1): + sass-loader@12.4.0(sass@1.49.11)(webpack@5.105.0): dependencies: klona: 2.0.6 neo-async: 2.6.2 - webpack: 5.104.1 + webpack: 5.105.0 optionalDependencies: sass: 1.49.11 @@ -35704,22 +35704,22 @@ snapshots: webpack: 4.47.0 whatwg-mimetype: 2.3.0 - source-map-loader@1.1.3(webpack@5.104.1): + source-map-loader@1.1.3(webpack@5.105.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.104.1 + webpack: 5.105.0 whatwg-mimetype: 2.3.0 - source-map-loader@3.0.2(webpack@5.104.1): + source-map-loader@3.0.2(webpack@5.105.0): dependencies: abab: 2.0.6 iconv-lite: 0.6.3 source-map-js: 1.2.1 - webpack: 5.104.1 + webpack: 5.105.0 source-map-resolve@0.5.3: dependencies: @@ -36047,15 +36047,15 @@ snapshots: schema-utils: 3.3.0 webpack: 4.47.0 - style-loader@2.0.0(webpack@5.104.1): + style-loader@2.0.0(webpack@5.105.0): dependencies: loader-utils: 2.0.4 schema-utils: 3.3.0 - webpack: 5.104.1 + webpack: 5.105.0 - style-loader@3.3.4(webpack@5.104.1): + style-loader@3.3.4(webpack@5.105.0): dependencies: - webpack: 5.104.1 + webpack: 5.105.0 style-to-object@0.3.0: dependencies: @@ -36215,7 +36215,7 @@ snapshots: webpack: 4.47.0 webpack-sources: 1.4.3 - terser-webpack-plugin@3.0.8(webpack@5.104.1): + terser-webpack-plugin@3.0.8(webpack@5.105.0): dependencies: cacache: 15.3.0 find-cache-dir: 3.3.2 @@ -36225,7 +36225,7 @@ snapshots: serialize-javascript: 4.0.0 source-map: 0.6.1 terser: 4.8.1 - webpack: 5.104.1 + webpack: 5.105.0 webpack-sources: 1.4.3 terser-webpack-plugin@4.2.3(webpack@4.47.0): @@ -36241,14 +36241,14 @@ snapshots: webpack: 4.47.0 webpack-sources: 1.4.3 - terser-webpack-plugin@5.3.16(webpack@5.104.1): + terser-webpack-plugin@5.3.16(webpack@5.105.0): dependencies: '@jridgewell/trace-mapping': 0.3.31 jest-worker: 27.5.1 schema-utils: 4.3.3 serialize-javascript: 6.0.2 terser: 5.46.0 - webpack: 5.104.1 + webpack: 5.105.0 terser@4.8.1: dependencies: @@ -36777,14 +36777,14 @@ snapshots: optionalDependencies: file-loader: 6.2.0(webpack@4.47.0) - url-loader@4.1.1(file-loader@6.2.0(webpack@5.104.1))(webpack@5.104.1): + url-loader@4.1.1(file-loader@6.2.0(webpack@5.105.0))(webpack@5.105.0): dependencies: loader-utils: 2.0.4 mime-types: 2.1.35 schema-utils: 3.3.0 - webpack: 5.104.1 + webpack: 5.105.0 optionalDependencies: - file-loader: 6.2.0(webpack@5.104.1) + file-loader: 6.2.0(webpack@5.105.0) url-parse@1.5.10: dependencies: @@ -36986,7 +36986,7 @@ snapshots: optionalDependencies: '@types/webpack': 4.41.32 - webpack-dev-middleware@6.1.3(@types/webpack@4.41.32)(webpack@5.104.1): + webpack-dev-middleware@6.1.3(@types/webpack@4.41.32)(webpack@5.105.0): dependencies: colorette: 2.0.20 memfs: 3.5.3 @@ -36995,7 +36995,7 @@ snapshots: schema-utils: 4.3.3 optionalDependencies: '@types/webpack': 4.41.32 - webpack: 5.104.1 + webpack: 5.105.0 webpack-dev-middleware@7.4.5(@types/webpack@4.41.32)(webpack@4.47.0): dependencies: @@ -37010,7 +37010,7 @@ snapshots: webpack: 4.47.0 optional: true - webpack-dev-middleware@7.4.5(@types/webpack@4.41.32)(webpack@5.104.1): + webpack-dev-middleware@7.4.5(@types/webpack@4.41.32)(webpack@5.105.0): dependencies: colorette: 2.0.20 memfs: 4.56.10 @@ -37020,7 +37020,7 @@ snapshots: schema-utils: 4.3.3 optionalDependencies: '@types/webpack': 4.41.32 - webpack: 5.104.1 + webpack: 5.105.0 webpack-dev-server@4.9.3(@types/webpack@4.41.32)(webpack@4.47.0): dependencies: @@ -37105,7 +37105,7 @@ snapshots: - utf-8-validate optional: true - webpack-dev-server@5.2.3(@types/webpack@4.41.32)(webpack@5.104.1): + webpack-dev-server@5.2.3(@types/webpack@4.41.32)(webpack@5.105.0): dependencies: '@types/bonjour': 3.5.13 '@types/connect-history-api-fallback': 1.5.4 @@ -37134,11 +37134,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.104.1) + webpack-dev-middleware: 7.4.5(@types/webpack@4.41.32)(webpack@5.105.0) ws: 8.19.0 optionalDependencies: '@types/webpack': 4.41.32 - webpack: 5.104.1 + webpack: 5.105.0 transitivePeerDependencies: - bufferutil - debug @@ -37204,7 +37204,7 @@ snapshots: watchpack: 1.7.5 webpack-sources: 1.4.3 - webpack@5.104.1: + webpack@5.105.0: dependencies: '@types/eslint-scope': 3.7.7 '@types/estree': 1.0.8 @@ -37216,7 +37216,7 @@ snapshots: acorn-import-phases: 1.0.4(acorn@8.15.0) browserslist: 4.28.1 chrome-trace-event: 1.0.4 - enhanced-resolve: 5.18.4 + enhanced-resolve: 5.19.0 es-module-lexer: 2.0.0 eslint-scope: 5.1.1 events: 3.3.0 @@ -37228,7 +37228,7 @@ snapshots: neo-async: 2.6.2 schema-utils: 4.3.3 tapable: 2.3.0 - terser-webpack-plugin: 5.3.16(webpack@5.104.1) + terser-webpack-plugin: 5.3.16(webpack@5.105.0) watchpack: 2.5.1 webpack-sources: 3.3.3 transitivePeerDependencies: diff --git a/common/config/subspaces/default/repo-state.json b/common/config/subspaces/default/repo-state.json index d2b1f86401b..52e81c9876a 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": "c6a5c74148e604826cde9d0c1532be2a1630b396", + "pnpmShrinkwrapHash": "08cbc6e2fa404c026eb4c14ab26c1fc17dacf5d2", "preferredVersionsHash": "9ba05fe872434900a0b29c308a94015078f37c47" } diff --git a/heft-plugins/heft-rspack-plugin/package.json b/heft-plugins/heft-rspack-plugin/package.json index e548c53caed..f14617d285c 100644 --- a/heft-plugins/heft-rspack-plugin/package.json +++ b/heft-plugins/heft-rspack-plugin/package.json @@ -27,7 +27,7 @@ "tapable": "2.3.0", "@rspack/dev-server": "^1.1.4", "watchpack": "2.4.0", - "webpack": "~5.104.1" + "webpack": "~5.105.0" }, "devDependencies": { "@rushstack/heft": "workspace:*", diff --git a/heft-plugins/heft-webpack5-plugin/package.json b/heft-plugins/heft-webpack5-plugin/package.json index 6020f7678b5..e999a998e0b 100644 --- a/heft-plugins/heft-webpack5-plugin/package.json +++ b/heft-plugins/heft-webpack5-plugin/package.json @@ -35,6 +35,6 @@ "@types/watchpack": "2.4.0", "eslint": "~9.37.0", "local-node-rig": "workspace:*", - "webpack": "~5.104.1" + "webpack": "~5.105.0" } } diff --git a/libraries/package-extractor/package.json b/libraries/package-extractor/package.json index fb0690a13e4..e9c165385ef 100644 --- a/libraries/package-extractor/package.json +++ b/libraries/package-extractor/package.json @@ -35,7 +35,7 @@ "@types/glob": "7.1.1", "@types/npm-packlist": "~1.1.1", "eslint": "~9.37.0", - "webpack": "~5.104.1", + "webpack": "~5.105.0", "@types/semver": "7.5.0" } } diff --git a/libraries/rush-lib/package.json b/libraries/rush-lib/package.json index ad0e4a33bf2..644cdc0f61c 100644 --- a/libraries/rush-lib/package.json +++ b/libraries/rush-lib/package.json @@ -88,7 +88,7 @@ "@types/webpack-env": "1.18.8", "eslint": "~9.37.0", "local-node-rig": "workspace:*", - "webpack": "~5.104.1" + "webpack": "~5.105.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 9277308243a..cc34b9fa1f7 100644 --- a/libraries/rush-sdk/package.json +++ b/libraries/rush-sdk/package.json @@ -58,6 +58,6 @@ "@types/webpack-env": "1.18.8", "eslint": "~9.37.0", "local-node-rig": "workspace:*", - "webpack": "~5.104.1" + "webpack": "~5.105.0" } } diff --git a/rigs/heft-web-rig/package.json b/rigs/heft-web-rig/package.json index c0a2f2295d1..ad5121190f5 100644 --- a/rigs/heft-web-rig/package.json +++ b/rigs/heft-web-rig/package.json @@ -43,7 +43,7 @@ "url-loader": "~4.1.1", "webpack-bundle-analyzer": "~4.5.0", "webpack-merge": "~5.8.0", - "webpack": "~5.104.1" + "webpack": "~5.105.0" }, "devDependencies": { "@rushstack/heft": "workspace:*" diff --git a/vscode-extensions/rush-vscode-command-webview/package.json b/vscode-extensions/rush-vscode-command-webview/package.json index b23ab2f4a24..6c7e64d4c27 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.104.1", + "webpack": "~5.105.0", "webpack-bundle-analyzer": "~4.5.0" } } diff --git a/webpack/hashed-folder-copy-plugin/package.json b/webpack/hashed-folder-copy-plugin/package.json index e7ed62129b3..345e18cc714 100644 --- a/webpack/hashed-folder-copy-plugin/package.json +++ b/webpack/hashed-folder-copy-plugin/package.json @@ -52,6 +52,6 @@ "eslint": "~9.37.0", "local-node-rig": "workspace:*", "memfs": "4.12.0", - "webpack": "~5.104.1" + "webpack": "~5.105.0" } } diff --git a/webpack/preserve-dynamic-require-plugin/package.json b/webpack/preserve-dynamic-require-plugin/package.json index d49de6003d5..8cac8a5e3e1 100644 --- a/webpack/preserve-dynamic-require-plugin/package.json +++ b/webpack/preserve-dynamic-require-plugin/package.json @@ -22,7 +22,7 @@ "@rushstack/heft": "workspace:*", "eslint": "~9.37.0", "local-node-rig": "workspace:*", - "webpack": "~5.104.1" + "webpack": "~5.105.0" }, "sideEffects": false } diff --git a/webpack/set-webpack-public-path-plugin/package.json b/webpack/set-webpack-public-path-plugin/package.json index caefea5a672..68c5c92079e 100644 --- a/webpack/set-webpack-public-path-plugin/package.json +++ b/webpack/set-webpack-public-path-plugin/package.json @@ -33,6 +33,6 @@ "eslint": "~9.37.0", "local-node-rig": "workspace:*", "memfs": "4.12.0", - "webpack": "~5.104.1" + "webpack": "~5.105.0" } } diff --git a/webpack/webpack-deep-imports-plugin/package.json b/webpack/webpack-deep-imports-plugin/package.json index f1c7991c8a5..6ac5f0dc063 100644 --- a/webpack/webpack-deep-imports-plugin/package.json +++ b/webpack/webpack-deep-imports-plugin/package.json @@ -25,7 +25,7 @@ "local-node-rig": "workspace:*", "@rushstack/heft": "workspace:*", "eslint": "~9.37.0", - "webpack": "~5.104.1" + "webpack": "~5.105.0" }, "sideEffects": false, "dependencies": { diff --git a/webpack/webpack-embedded-dependencies-plugin/package.json b/webpack/webpack-embedded-dependencies-plugin/package.json index 46b19d08304..157b242f8a3 100644 --- a/webpack/webpack-embedded-dependencies-plugin/package.json +++ b/webpack/webpack-embedded-dependencies-plugin/package.json @@ -32,7 +32,7 @@ "@rushstack/heft": "workspace:*", "eslint": "~9.37.0", "local-node-rig": "workspace:*", - "webpack": "~5.104.1", + "webpack": "~5.105.0", "memfs": "4.12.0" } } diff --git a/webpack/webpack-plugin-utilities/package.json b/webpack/webpack-plugin-utilities/package.json index 353ae3dd540..f0847ef20cd 100644 --- a/webpack/webpack-plugin-utilities/package.json +++ b/webpack/webpack-plugin-utilities/package.json @@ -35,6 +35,6 @@ "eslint": "~9.37.0", "local-node-rig": "workspace:*", "@types/tapable": "1.0.6", - "webpack": "~5.104.1" + "webpack": "~5.105.0" } } diff --git a/webpack/webpack-workspace-resolve-plugin/package.json b/webpack/webpack-workspace-resolve-plugin/package.json index 6c8fae3599a..f3d9d1cf43d 100644 --- a/webpack/webpack-workspace-resolve-plugin/package.json +++ b/webpack/webpack-workspace-resolve-plugin/package.json @@ -31,7 +31,7 @@ "eslint": "~9.37.0", "local-node-rig": "workspace:*", "memfs": "4.12.0", - "webpack": "~5.104.1" + "webpack": "~5.105.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 d4f64341864..2bb71948059 100644 --- a/webpack/webpack5-load-themed-styles-loader/package.json +++ b/webpack/webpack5-load-themed-styles-loader/package.json @@ -32,6 +32,6 @@ "eslint": "~9.37.0", "local-node-rig": "workspace:*", "memfs": "4.12.0", - "webpack": "~5.104.1" + "webpack": "~5.105.0" } } 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 4c43f719377..bf15514fa91 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://goo.gl/fbAQLP 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.104.1/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.105.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./MockStyle1.css\\"); var loader = require(\\"../../../lib/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.104.1/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.105.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[0].use[1]!./MockStyle1.css\\"; import { loadStyles } from \\"../../../lib/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 6d5dd5991c9..347a4672a37 100644 --- a/webpack/webpack5-localization-plugin/package.json +++ b/webpack/webpack5-localization-plugin/package.json @@ -30,7 +30,7 @@ "eslint": "~9.37.0", "local-node-rig": "workspace:*", "memfs": "4.12.0", - "webpack": "~5.104.1" + "webpack": "~5.105.0" }, "peerDependenciesMeta": { "@types/node": { 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 dcc81e9cef1..d34ebb97952 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 @@ -6,8 +6,8 @@ Object { "/release/chunks/async1-LOCALE2-c62d8f26f2170bec0273.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-12146d4ab8cc782b3be1.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-12146d4ab8cc782b3be1.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-1933ee7733d3ecefa733.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+\\"-c62d8f26f2170bec0273.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:\\"c62d8f26f2170bec0273\\",421:\\"12146d4ab8cc782b3be1\\"}[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,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+\\"-c62d8f26f2170bec0273.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:\\"c62d8f26f2170bec0273\\",421:\\"12146d4ab8cc782b3be1\\"}[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 { // webpackBootstrap + "/release/mainSingleChunk-none-f4511358092b402a6226.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache @@ -393,7 +393,7 @@ var __webpack_exports__ = {}; __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./a/async1.js\\")); /******/ })() ;", - "/release/mainTwoChunks-none-be45c2a3884f450166e2.js": "/******/ (() => { // webpackBootstrap + "/release/mainTwoChunks-none-6d5fa5fc19ef66c8076e.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache 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 1387016fb06..74a85ce4574 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 @@ -14,10 +14,10 @@ Object { "chunks/async2-LOCALE2/-12146d4ab8cc782b3be1.js": SizeOnlySource { "_size": 329, }, - "mainSingleChunk--57a70ba0941460c40a1b.js": SizeOnlySource { + "mainSingleChunk--d82afa01cd0737acb963.js": SizeOnlySource { "_size": 2530, }, - "mainTwoChunks--c3c2de4da75d59dcb47a.js": SizeOnlySource { + "mainTwoChunks--1db11bae5b2abe40330e.js": SizeOnlySource { "_size": 2641, }, "other--eb41e9703831a390844d.js": SizeOnlySource { @@ -32,8 +32,8 @@ Object { "/release/chunks/async1-LOCALE2/-c62d8f26f2170bec0273.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/-12146d4ab8cc782b3be1.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/-12146d4ab8cc782b3be1.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--57a70ba0941460c40a1b.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+\\"/-c62d8f26f2170bec0273.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:\\"c62d8f26f2170bec0273\\",421:\\"12146d4ab8cc782b3be1\\"}[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,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+\\"/-c62d8f26f2170bec0273.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:\\"c62d8f26f2170bec0273\\",421:\\"12146d4ab8cc782b3be1\\"}[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 { // webpackBootstrap + "/release/mainSingleChunk--a412a0bca14044edf484.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache @@ -446,7 +446,7 @@ var __webpack_exports__ = {}; __webpack_require__.e(/* import() | async1 */ 230).then(__webpack_require__.bind(__webpack_require__, \\"./a/async1.js\\")); /******/ })() ;", - "/release/mainTwoChunks--0971623c5e2faed13cdc.js": "/******/ (() => { // webpackBootstrap + "/release/mainTwoChunks--3e128b3a176db1e95230.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache diff --git a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedNoAsync.test.ts.snap b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedNoAsync.test.ts.snap index 4c28b32ef8d..c8ae8179d1a 100644 --- a/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedNoAsync.test.ts.snap +++ b/webpack/webpack5-localization-plugin/src/test/__snapshots__/LocalizedNoAsync.test.ts.snap @@ -4,13 +4,13 @@ exports[`LocalizationPlugin Handles localized compilation with no async chunks ( Object { "/release/localization-stats.json": "{\\"entrypoints\\":{\\"main\\":{\\"localizedAssets\\":{\\"default\\":\\"main-default-83f4ee1ad53822d08923.js\\",\\"LOCALE2\\":\\"main-LOCALE2-53db16ce65a171b2d58d.js\\",\\"LOCALE1\\":\\"main-LOCALE1-d0826e06031981558e87.js\\",\\"qps-ploc\\":\\"main-qps-ploc-d917b232cbcc8f9aec8d.js\\"}}},\\"namedChunkGroups\\":{}}", "/release/main-LOCALE1-d0826e06031981558e87.js": "(()=>{\\"use strict\\";console.log(\\"blah\\\\r\\\\n\\\\t\\\\\\\\\\\\u0027\\\\u0022\\",\\"something else\\")})();", - "/release/main-LOCALE1-d0826e06031981558e87.js.map": "{\\"version\\":3,\\"file\\":\\"main-LOCALE1-d0826e06031981558e87.js\\",\\"mappings\\":\\"mBAAsFA,QAAQC,ICAtE,CAAC,wBAA4G,ECA1G,CAAC,cAAkH,E\\",\\"sources\\":[\\"source:///./a/entry.js\\",\\"source:///./a/strings1.resjson\\",\\"source:///./a/strings2.resjson\\"],\\"sourcesContent\\":[\\"import strings1 from './strings1.resjson'; import strings2 from './strings2.resjson'; console.log(strings1.test, strings2.another);\\",\\"const strings = {\\\\\\"test\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773312e7265736a736f6e$74657374_\\\\\\"};\\\\nexport default strings;\\",\\"const strings = {\\\\\\"another\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773322e7265736a736f6e$616e6f74686572_\\\\\\"};\\\\nexport default strings;\\"],\\"names\\":[\\"console\\",\\"log\\"],\\"ignoreList\\":[],\\"sourceRoot\\":\\"\\"}", + "/release/main-LOCALE1-d0826e06031981558e87.js.map": "{\\"version\\":3,\\"file\\":\\"main-LOCALE1-d0826e06031981558e87.js\\",\\"mappings\\":\\"mBAAsFA,QAAQC,ICAtE,CAAC,wBAA4G,ECA1G,CAAC,cAAkH,E\\",\\"sources\\":[\\"source:///./a/entry.js\\",\\"source:///./a/strings1.resjson\\",\\"source:///./a/strings2.resjson\\"],\\"sourcesContent\\":[\\"import strings1 from './strings1.resjson'; import strings2 from './strings2.resjson'; console.log(strings1.test, strings2.another);\\",\\"const strings = {\\\\\\"test\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773312e7265736a736f6e$74657374_\\\\\\"};\\\\nexport default strings;\\",\\"const strings = {\\\\\\"another\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773322e7265736a736f6e$616e6f74686572_\\\\\\"};\\\\nexport default strings;\\"],\\"names\\":[\\"console\\",\\"log\\"],\\"sourceRoot\\":\\"\\"}", "/release/main-LOCALE2-53db16ce65a171b2d58d.js": "(()=>{\\"use strict\\";console.log(\\"return:\\\\r,newline:\\\\n,tab:\\\\t,backslash:\\\\\\\\,apos:\\\\u0027,quote:\\\\u0022\\",\\"something else\\")})();", - "/release/main-LOCALE2-53db16ce65a171b2d58d.js.map": "{\\"version\\":3,\\"file\\":\\"main-LOCALE2-53db16ce65a171b2d58d.js\\",\\"mappings\\":\\"mBAAsFA,QAAQC,ICAtE,CAAC,iEAA4G,ECA1G,CAAC,cAAkH,E\\",\\"sources\\":[\\"source:///./a/entry.js\\",\\"source:///./a/strings1.resjson\\",\\"source:///./a/strings2.resjson\\"],\\"sourcesContent\\":[\\"import strings1 from './strings1.resjson'; import strings2 from './strings2.resjson'; console.log(strings1.test, strings2.another);\\",\\"const strings = {\\\\\\"test\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773312e7265736a736f6e$74657374_\\\\\\"};\\\\nexport default strings;\\",\\"const strings = {\\\\\\"another\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773322e7265736a736f6e$616e6f74686572_\\\\\\"};\\\\nexport default strings;\\"],\\"names\\":[\\"console\\",\\"log\\"],\\"ignoreList\\":[],\\"sourceRoot\\":\\"\\"}", + "/release/main-LOCALE2-53db16ce65a171b2d58d.js.map": "{\\"version\\":3,\\"file\\":\\"main-LOCALE2-53db16ce65a171b2d58d.js\\",\\"mappings\\":\\"mBAAsFA,QAAQC,ICAtE,CAAC,iEAA4G,ECA1G,CAAC,cAAkH,E\\",\\"sources\\":[\\"source:///./a/entry.js\\",\\"source:///./a/strings1.resjson\\",\\"source:///./a/strings2.resjson\\"],\\"sourcesContent\\":[\\"import strings1 from './strings1.resjson'; import strings2 from './strings2.resjson'; console.log(strings1.test, strings2.another);\\",\\"const strings = {\\\\\\"test\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773312e7265736a736f6e$74657374_\\\\\\"};\\\\nexport default strings;\\",\\"const strings = {\\\\\\"another\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773322e7265736a736f6e$616e6f74686572_\\\\\\"};\\\\nexport default strings;\\"],\\"names\\":[\\"console\\",\\"log\\"],\\"sourceRoot\\":\\"\\"}", "/release/main-default-83f4ee1ad53822d08923.js": "(()=>{\\"use strict\\";console.log(\\"test\\",\\"another\\")})();", - "/release/main-default-83f4ee1ad53822d08923.js.map": "{\\"version\\":3,\\"file\\":\\"main-default-83f4ee1ad53822d08923.js\\",\\"mappings\\":\\"mBAAsFA,QAAQC,ICAtE,CAAC,IAA4G,ECA1G,CAAC,OAAkH,E\\",\\"sources\\":[\\"source:///./a/entry.js\\",\\"source:///./a/strings1.resjson\\",\\"source:///./a/strings2.resjson\\"],\\"sourcesContent\\":[\\"import strings1 from './strings1.resjson'; import strings2 from './strings2.resjson'; console.log(strings1.test, strings2.another);\\",\\"const strings = {\\\\\\"test\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773312e7265736a736f6e$74657374_\\\\\\"};\\\\nexport default strings;\\",\\"const strings = {\\\\\\"another\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773322e7265736a736f6e$616e6f74686572_\\\\\\"};\\\\nexport default strings;\\"],\\"names\\":[\\"console\\",\\"log\\"],\\"ignoreList\\":[],\\"sourceRoot\\":\\"\\"}", + "/release/main-default-83f4ee1ad53822d08923.js.map": "{\\"version\\":3,\\"file\\":\\"main-default-83f4ee1ad53822d08923.js\\",\\"mappings\\":\\"mBAAsFA,QAAQC,ICAtE,CAAC,IAA4G,ECA1G,CAAC,OAAkH,E\\",\\"sources\\":[\\"source:///./a/entry.js\\",\\"source:///./a/strings1.resjson\\",\\"source:///./a/strings2.resjson\\"],\\"sourcesContent\\":[\\"import strings1 from './strings1.resjson'; import strings2 from './strings2.resjson'; console.log(strings1.test, strings2.another);\\",\\"const strings = {\\\\\\"test\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773312e7265736a736f6e$74657374_\\\\\\"};\\\\nexport default strings;\\",\\"const strings = {\\\\\\"another\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773322e7265736a736f6e$616e6f74686572_\\\\\\"};\\\\nexport default strings;\\"],\\"names\\":[\\"console\\",\\"log\\"],\\"sourceRoot\\":\\"\\"}", "/release/main-qps-ploc-d917b232cbcc8f9aec8d.js": "(()=>{\\"use strict\\";console.log(\\"!--ƀĺàĥ\\\\r\\\\n\\\\t\\\\\\\\\\\\u0027\\\\u0022-|-\\",\\"!--śōmēţĥĩńĝ ēĺśē-|-\\")})();", - "/release/main-qps-ploc-d917b232cbcc8f9aec8d.js.map": "{\\"version\\":3,\\"file\\":\\"main-qps-ploc-d917b232cbcc8f9aec8d.js\\",\\"mappings\\":\\"mBAAsFA,QAAQC,ICAtE,CAAC,8BAA4G,ECA1G,CAAC,oBAAkH,E\\",\\"sources\\":[\\"source:///./a/entry.js\\",\\"source:///./a/strings1.resjson\\",\\"source:///./a/strings2.resjson\\"],\\"sourcesContent\\":[\\"import strings1 from './strings1.resjson'; import strings2 from './strings2.resjson'; console.log(strings1.test, strings2.another);\\",\\"const strings = {\\\\\\"test\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773312e7265736a736f6e$74657374_\\\\\\"};\\\\nexport default strings;\\",\\"const strings = {\\\\\\"another\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773322e7265736a736f6e$616e6f74686572_\\\\\\"};\\\\nexport default strings;\\"],\\"names\\":[\\"console\\",\\"log\\"],\\"ignoreList\\":[],\\"sourceRoot\\":\\"\\"}", + "/release/main-qps-ploc-d917b232cbcc8f9aec8d.js.map": "{\\"version\\":3,\\"file\\":\\"main-qps-ploc-d917b232cbcc8f9aec8d.js\\",\\"mappings\\":\\"mBAAsFA,QAAQC,ICAtE,CAAC,8BAA4G,ECA1G,CAAC,oBAAkH,E\\",\\"sources\\":[\\"source:///./a/entry.js\\",\\"source:///./a/strings1.resjson\\",\\"source:///./a/strings2.resjson\\"],\\"sourcesContent\\":[\\"import strings1 from './strings1.resjson'; import strings2 from './strings2.resjson'; console.log(strings1.test, strings2.another);\\",\\"const strings = {\\\\\\"test\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773312e7265736a736f6e$74657374_\\\\\\"};\\\\nexport default strings;\\",\\"const strings = {\\\\\\"another\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773322e7265736a736f6e$616e6f74686572_\\\\\\"};\\\\nexport default strings;\\"],\\"names\\":[\\"console\\",\\"log\\"],\\"sourceRoot\\":\\"\\"}", } `; @@ -34,7 +34,7 @@ const strings2_resjson_strings = {\\"another\\":\\"something else\\"}; console.log(strings1_resjson.test, strings2_resjson.another); /******/ })() ;", - "/release/main-LOCALE1-f13c9f8d1301f4e49d62.js.map": "{\\"version\\":3,\\"file\\":\\"main-LOCALE1-f13c9f8d1301f4e49d62.js\\",\\"mappings\\":\\";;;;AAAA,iBAAiB,QAAQ,wBAA4G;AACrI,uDAAe,OAAO,E;;ACDtB,MAAM,wBAAO,IAAI,WAAW,cAAkH;AAC9I,uDAAe,wBAAO,E;;ACDoB,CAA2C,CAAC,YAAY,gBAAQ,OAAO,gBAAQ,U\\",\\"sources\\":[\\"source:///./a/strings1.resjson\\",\\"source:///./a/strings2.resjson\\",\\"source:///./a/entry.js\\"],\\"sourcesContent\\":[\\"const strings = {\\\\\\"test\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773312e7265736a736f6e$74657374_\\\\\\"};\\\\nexport default strings;\\",\\"const strings = {\\\\\\"another\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773322e7265736a736f6e$616e6f74686572_\\\\\\"};\\\\nexport default strings;\\",\\"import strings1 from './strings1.resjson'; import strings2 from './strings2.resjson'; console.log(strings1.test, strings2.another);\\"],\\"names\\":[],\\"ignoreList\\":[],\\"sourceRoot\\":\\"\\"}", + "/release/main-LOCALE1-f13c9f8d1301f4e49d62.js.map": "{\\"version\\":3,\\"file\\":\\"main-LOCALE1-f13c9f8d1301f4e49d62.js\\",\\"mappings\\":\\";;;;AAAA,iBAAiB,QAAQ,wBAA4G;AACrI,uDAAe,OAAO,E;;ACDtB,MAAM,wBAAO,IAAI,WAAW,cAAkH;AAC9I,uDAAe,wBAAO,E;;ACDoB,CAA2C,CAAC,YAAY,gBAAQ,OAAO,gBAAQ,U\\",\\"sources\\":[\\"source:///./a/strings1.resjson\\",\\"source:///./a/strings2.resjson\\",\\"source:///./a/entry.js\\"],\\"sourcesContent\\":[\\"const strings = {\\\\\\"test\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773312e7265736a736f6e$74657374_\\\\\\"};\\\\nexport default strings;\\",\\"const strings = {\\\\\\"another\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773322e7265736a736f6e$616e6f74686572_\\\\\\"};\\\\nexport default strings;\\",\\"import strings1 from './strings1.resjson'; import strings2 from './strings2.resjson'; console.log(strings1.test, strings2.another);\\"],\\"names\\":[],\\"sourceRoot\\":\\"\\"}", "/release/main-LOCALE2-41498f590539983b4243.js": "/******/ (() => { // webpackBootstrap /******/ \\"use strict\\"; @@ -48,7 +48,7 @@ const strings2_resjson_strings = {\\"another\\":\\"something else\\"}; console.log(strings1_resjson.test, strings2_resjson.another); /******/ })() ;", - "/release/main-LOCALE2-41498f590539983b4243.js.map": "{\\"version\\":3,\\"file\\":\\"main-LOCALE2-41498f590539983b4243.js\\",\\"mappings\\":\\";;;;AAAA,iBAAiB,QAAQ,iEAA4G;AACrI,uDAAe,OAAO,E;;ACDtB,MAAM,wBAAO,IAAI,WAAW,cAAkH;AAC9I,uDAAe,wBAAO,E;;ACDoB,CAA2C,CAAC,YAAY,gBAAQ,OAAO,gBAAQ,U\\",\\"sources\\":[\\"source:///./a/strings1.resjson\\",\\"source:///./a/strings2.resjson\\",\\"source:///./a/entry.js\\"],\\"sourcesContent\\":[\\"const strings = {\\\\\\"test\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773312e7265736a736f6e$74657374_\\\\\\"};\\\\nexport default strings;\\",\\"const strings = {\\\\\\"another\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773322e7265736a736f6e$616e6f74686572_\\\\\\"};\\\\nexport default strings;\\",\\"import strings1 from './strings1.resjson'; import strings2 from './strings2.resjson'; console.log(strings1.test, strings2.another);\\"],\\"names\\":[],\\"ignoreList\\":[],\\"sourceRoot\\":\\"\\"}", + "/release/main-LOCALE2-41498f590539983b4243.js.map": "{\\"version\\":3,\\"file\\":\\"main-LOCALE2-41498f590539983b4243.js\\",\\"mappings\\":\\";;;;AAAA,iBAAiB,QAAQ,iEAA4G;AACrI,uDAAe,OAAO,E;;ACDtB,MAAM,wBAAO,IAAI,WAAW,cAAkH;AAC9I,uDAAe,wBAAO,E;;ACDoB,CAA2C,CAAC,YAAY,gBAAQ,OAAO,gBAAQ,U\\",\\"sources\\":[\\"source:///./a/strings1.resjson\\",\\"source:///./a/strings2.resjson\\",\\"source:///./a/entry.js\\"],\\"sourcesContent\\":[\\"const strings = {\\\\\\"test\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773312e7265736a736f6e$74657374_\\\\\\"};\\\\nexport default strings;\\",\\"const strings = {\\\\\\"another\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773322e7265736a736f6e$616e6f74686572_\\\\\\"};\\\\nexport default strings;\\",\\"import strings1 from './strings1.resjson'; import strings2 from './strings2.resjson'; console.log(strings1.test, strings2.another);\\"],\\"names\\":[],\\"sourceRoot\\":\\"\\"}", "/release/main-default-d7e97cf591a7391fb602.js": "/******/ (() => { // webpackBootstrap /******/ \\"use strict\\"; @@ -62,7 +62,7 @@ const strings2_resjson_strings = {\\"another\\":\\"another\\"}; console.log(strings1_resjson.test, strings2_resjson.another); /******/ })() ;", - "/release/main-default-d7e97cf591a7391fb602.js.map": "{\\"version\\":3,\\"file\\":\\"main-default-d7e97cf591a7391fb602.js\\",\\"mappings\\":\\";;;;AAAA,iBAAiB,QAAQ,IAA4G;AACrI,uDAAe,OAAO,E;;ACDtB,MAAM,wBAAO,IAAI,WAAW,OAAkH;AAC9I,uDAAe,wBAAO,E;;ACDoB,CAA2C,CAAC,YAAY,gBAAQ,OAAO,gBAAQ,U\\",\\"sources\\":[\\"source:///./a/strings1.resjson\\",\\"source:///./a/strings2.resjson\\",\\"source:///./a/entry.js\\"],\\"sourcesContent\\":[\\"const strings = {\\\\\\"test\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773312e7265736a736f6e$74657374_\\\\\\"};\\\\nexport default strings;\\",\\"const strings = {\\\\\\"another\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773322e7265736a736f6e$616e6f74686572_\\\\\\"};\\\\nexport default strings;\\",\\"import strings1 from './strings1.resjson'; import strings2 from './strings2.resjson'; console.log(strings1.test, strings2.another);\\"],\\"names\\":[],\\"ignoreList\\":[],\\"sourceRoot\\":\\"\\"}", + "/release/main-default-d7e97cf591a7391fb602.js.map": "{\\"version\\":3,\\"file\\":\\"main-default-d7e97cf591a7391fb602.js\\",\\"mappings\\":\\";;;;AAAA,iBAAiB,QAAQ,IAA4G;AACrI,uDAAe,OAAO,E;;ACDtB,MAAM,wBAAO,IAAI,WAAW,OAAkH;AAC9I,uDAAe,wBAAO,E;;ACDoB,CAA2C,CAAC,YAAY,gBAAQ,OAAO,gBAAQ,U\\",\\"sources\\":[\\"source:///./a/strings1.resjson\\",\\"source:///./a/strings2.resjson\\",\\"source:///./a/entry.js\\"],\\"sourcesContent\\":[\\"const strings = {\\\\\\"test\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773312e7265736a736f6e$74657374_\\\\\\"};\\\\nexport default strings;\\",\\"const strings = {\\\\\\"another\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773322e7265736a736f6e$616e6f74686572_\\\\\\"};\\\\nexport default strings;\\",\\"import strings1 from './strings1.resjson'; import strings2 from './strings2.resjson'; console.log(strings1.test, strings2.another);\\"],\\"names\\":[],\\"sourceRoot\\":\\"\\"}", "/release/main-qps-ploc-1086de10c00dc424a3f9.js": "/******/ (() => { // webpackBootstrap /******/ \\"use strict\\"; @@ -76,7 +76,7 @@ const strings2_resjson_strings = {\\"another\\":\\"!--śōmēţĥĩńĝ ēĺśē console.log(strings1_resjson.test, strings2_resjson.another); /******/ })() ;", - "/release/main-qps-ploc-1086de10c00dc424a3f9.js.map": "{\\"version\\":3,\\"file\\":\\"main-qps-ploc-1086de10c00dc424a3f9.js\\",\\"mappings\\":\\";;;;AAAA,iBAAiB,QAAQ,8BAA4G;AACrI,uDAAe,OAAO,E;;ACDtB,MAAM,wBAAO,IAAI,WAAW,oBAAkH;AAC9I,uDAAe,wBAAO,E;;ACDoB,CAA2C,CAAC,YAAY,gBAAQ,OAAO,gBAAQ,U\\",\\"sources\\":[\\"source:///./a/strings1.resjson\\",\\"source:///./a/strings2.resjson\\",\\"source:///./a/entry.js\\"],\\"sourcesContent\\":[\\"const strings = {\\\\\\"test\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773312e7265736a736f6e$74657374_\\\\\\"};\\\\nexport default strings;\\",\\"const strings = {\\\\\\"another\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773322e7265736a736f6e$616e6f74686572_\\\\\\"};\\\\nexport default strings;\\",\\"import strings1 from './strings1.resjson'; import strings2 from './strings2.resjson'; console.log(strings1.test, strings2.another);\\"],\\"names\\":[],\\"ignoreList\\":[],\\"sourceRoot\\":\\"\\"}", + "/release/main-qps-ploc-1086de10c00dc424a3f9.js.map": "{\\"version\\":3,\\"file\\":\\"main-qps-ploc-1086de10c00dc424a3f9.js\\",\\"mappings\\":\\";;;;AAAA,iBAAiB,QAAQ,8BAA4G;AACrI,uDAAe,OAAO,E;;ACDtB,MAAM,wBAAO,IAAI,WAAW,oBAAkH;AAC9I,uDAAe,wBAAO,E;;ACDoB,CAA2C,CAAC,YAAY,gBAAQ,OAAO,gBAAQ,U\\",\\"sources\\":[\\"source:///./a/strings1.resjson\\",\\"source:///./a/strings2.resjson\\",\\"source:///./a/entry.js\\"],\\"sourcesContent\\":[\\"const strings = {\\\\\\"test\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773312e7265736a736f6e$74657374_\\\\\\"};\\\\nexport default strings;\\",\\"const strings = {\\\\\\"another\\\\\\":\\\\\\"_LOCALIZED_STRING_f12dy0i7_n4bo_dqwj_39gf_sasqehjmihz9_A_\\\\\\\\\\\\\\\\_2f612f737472696e6773322e7265736a736f6e$616e6f74686572_\\\\\\"};\\\\nexport default strings;\\",\\"import strings1 from './strings1.resjson'; import strings2 from './strings2.resjson'; console.log(strings1.test, strings2.another);\\"],\\"names\\":[],\\"sourceRoot\\":\\"\\"}", } `; 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 b8985a7ca98..367cecbbe45 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 @@ -8,8 +8,8 @@ Object { "/release/chunks/asyncLoc1-LOCALE2-edcdda2da6a0c4b24c3d.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-c62a85745277a9beadcb.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-c62a85745277a9beadcb.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-ccddccd093fc9176bdd4.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:\\"c62a85745277a9beadcb\\",230:\\"8dcaa77fa40374af52c6\\",410:\\"edcdda2da6a0c4b24c3d\\",421:\\"596e5fc666407c7ae817\\"}[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(d);var o=r[e];if(delete r[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach(e=>e(n)),t)return t(n)},d=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:\\"c62a85745277a9beadcb\\",410:\\"edcdda2da6a0c4b24c3d\\"}[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(p);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},p=setTimeout(d.bind(null,void 0,{type:\\"timeout\\",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.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,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:\\"c62a85745277a9beadcb\\",230:\\"8dcaa77fa40374af52c6\\",410:\\"edcdda2da6a0c4b24c3d\\",421:\\"596e5fc666407c7ae817\\"}[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(d);var o=r[e];if(delete r[e],c.parentNode&&c.parentNode.removeChild(c),o&&o.forEach(e=>e(n)),t)return t(n)},d=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:\\"c62a85745277a9beadcb\\",410:\\"edcdda2da6a0c4b24c3d\\"}[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(p);var n=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(e=>e(o)),t)return t(o)},p=setTimeout(d.bind(null,void 0,{type:\\"timeout\\",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.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 { // webpackBootstrap + "/release/mainFourChunks-none-c2e049d48732ca693471.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache @@ -489,7 +489,7 @@ 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)); /******/ })() ;", - "/release/mainTwoChunks-none-ab341b0767623146342a.js": "/******/ (() => { // webpackBootstrap + "/release/mainTwoChunks-none-3df2ffaf55c9c2e3c8ac.js": "/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({}); /************************************************************************/ /******/ // The module cache diff --git a/webpack/webpack5-module-minifier-plugin/package.json b/webpack/webpack5-module-minifier-plugin/package.json index 39a34032187..b6fdd352a9b 100644 --- a/webpack/webpack5-module-minifier-plugin/package.json +++ b/webpack/webpack5-module-minifier-plugin/package.json @@ -36,7 +36,7 @@ "eslint": "~9.37.0", "local-node-rig": "workspace:*", "memfs": "4.12.0", - "webpack": "~5.104.1" + "webpack": "~5.105.0" }, "sideEffects": false, "peerDependenciesMeta": { 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 2c1caaca7ec..f312cf45b73 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 @@ -34,23 +34,23 @@ 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=52496744d928782ebb773ed47b98f5ee139818e86efddab97192c00b21878fb0 + "/release/main.js": "// Begin Asset Hash=3fdeb2974ad0a9b80a409188038c9e4bea5bb9bbca571254cf7342def65318fa define([\\"bar\\",\\"baz\\"], (__WEBPACK_EXTERNAL_MODULE__885__, __WEBPACK_EXTERNAL_MODULE__653__) => { return /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ -/***/ 653 +/***/ 885 (module) { \\"use strict\\"; -module.exports = __WEBPACK_EXTERNAL_MODULE__653__; +module.exports = __WEBPACK_EXTERNAL_MODULE__885__; /***/ }, -/***/ 885 +/***/ 653 (module) { \\"use strict\\"; -module.exports = __WEBPACK_EXTERNAL_MODULE__885__; +module.exports = __WEBPACK_EXTERNAL_MODULE__653__; /***/ } 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 8ca1a13fa3e..5e35f50f4ce 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,40 +3,40 @@ 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=9714a09e075b61f6e5a35a3722ef23b7bfc9c43542120424eb25511db354f5f6 +// Begin Asset Hash=a1688ad69c48f410b100af6ce42e782e0cdf03d253fe97f335a0f2a4532940f6 \\"use strict\\"; (self[\\"webpackChunk\\"] = self[\\"webpackChunk\\"] || []).push([[527],{ -/***/ 541 +/***/ 923 -// Begin Module Hash=e9b51a8d04b67d47826b5a8e432e98a6f0a3bdb8f91960b6b38ca0b9c4605acf +// Begin Module Hash=cff8175a0574af55cbc63c329b94bbe9a3b655c33d316f21fc148a7a16c7a239 (__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ async1: () => (/* reexport safe */ _async_1__WEBPACK_IMPORTED_MODULE_0__.async1) +/* harmony export */ async1: () => (/* binding */ async1) /* harmony export */ }); -/* harmony import */ var _async_1__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(923); -// @license MIT - - +// @license BAR +function async1() { console.log('async-1'); } /***/ } // End Module , -/***/ 923 +/***/ 541 -// Begin Module Hash=cff8175a0574af55cbc63c329b94bbe9a3b655c33d316f21fc148a7a16c7a239 +// Begin Module Hash=e9b51a8d04b67d47826b5a8e432e98a6f0a3bdb8f91960b6b38ca0b9c4605acf (__unused_webpack_module, __webpack_exports__, __webpack_require__) { /* harmony export */ __webpack_require__.d(__webpack_exports__, { -/* harmony export */ async1: () => (/* binding */ async1) +/* harmony export */ async1: () => (/* reexport safe */ _async_1__WEBPACK_IMPORTED_MODULE_0__.async1) /* harmony export */ }); -// @license BAR -function async1() { console.log('async-1'); } +/* harmony import */ var _async_1__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(923); +// @license MIT + + /***/ } @@ -45,8 +45,8 @@ function async1() { console.log('async-1'); } }]); // End Asset", - "/release/async-1.js.LICENSE.txt": "// @license MIT -// @license BAR + "/release/async-1.js.LICENSE.txt": "// @license BAR +// @license MIT ", "/release/async-2.js": "/*! For license information please see async-2.js.LICENSE.txt */ // Begin Asset Hash=c989959df0b37ccd032e5971a2f21fb94c30ce647806238af544420acab206c2 @@ -610,13 +610,13 @@ Object { }, "async-1.js" => Object { "positionByModuleId": Map { - 541 => Object { - "charLength": 486, - "charOffset": 241, - }, 923 => Object { "charLength": 395, - "charOffset": 741, + "charOffset": 241, + }, + 541 => Object { + "charLength": 486, + "charOffset": 650, }, }, }, @@ -667,7 +667,7 @@ Array [ "message": "Unexpected token punc «{», expected punc «,»", }, Object { - "message": "Unexpected token name «__WEBPACK_CHUNK_MODULE__e9b51a8d04b67d47826b5a8e432e98a6f0a3bdb8f91960b6b38ca0b9c4605acf», expected punc «,»", + "message": "Unexpected token name «__WEBPACK_CHUNK_MODULE__cff8175a0574af55cbc63c329b94bbe9a3b655c33d316f21fc148a7a16c7a239», expected punc «,»", }, Object { "message": "Unexpected token name «__WEBPACK_CHUNK_MODULE__d8feb285437db6618631b5f45ab2c916568525d13ea8c83ec66a12519fee0be1», expected punc «,»",