-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
fix: limit module readable identifier length in stats #16882
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
For maintainers only:
|
96a1dd6
to
d9683a8
Compare
Copilot is cool 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets move this to DefaultStatsPrinterPlugin. This will also prevent unexpected behavior of the identifiers in Stats.json getting truncated also.
@snitin315 Thanks for your update. I labeled the Pull Request so reviewers will review it again. @TheLarkInn Please review the new changes. |
@alexander-akait @TheLarkInn I've moved the logic inside |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work 💯
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [webpack](https://togithub.com/webpack/webpack) | [`5.78.0` -> `5.79.0`](https://renovatebot.com/diffs/npm/webpack/5.78.0/5.79.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>webpack/webpack</summary> ### [`v5.79.0`](https://togithub.com/webpack/webpack/releases/tag/v5.79.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.78.0...v5.79.0) ##### New Features - webpack will now support simple destructuring scenarios for treeshaking namespaced imports and `DefinePlugin` by [@​vankop](https://togithub.com/vankop) in [https://github.com/webpack/webpack/pull/16941](https://togithub.com/webpack/webpack/pull/16941) ##### Bugfixes - Truncate extremely long module names in `DefaultStatsPrinter` by [@​snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16882](https://togithub.com/webpack/webpack/pull/16882) - Add `[contenthash]` template support in `DllPlugin`'s `name` option by [@​snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16935](https://togithub.com/webpack/webpack/pull/16935) - Fixed a bug where `readRecords` compiler hook was causing hangs in conjunction with the `ReadRecordsPlugin` by [@​snitin315](https://togithub.com/snitin315) & [@​zookatron](https://togithub.com/zookatron) in [https://github.com/webpack/webpack/pull/16944](https://togithub.com/webpack/webpack/pull/16944) - webpack can now consume ESM bundles generated by webpack's esm output support by [@​vankop](https://togithub.com/vankop) in [https://github.com/webpack/webpack/pull/15608](https://togithub.com/webpack/webpack/pull/15608) - \[CSS] - webpack now respects CSS's case-insensitivity with atTags like `@MEDIA` by [@​alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16915](https://togithub.com/webpack/webpack/pull/16915) - \[CSS] - Fixes a bug where crossOriginLoading anonymous would not work when loading styles by [@​chenjiahan](https://togithub.com/chenjiahan) in [https://github.com/webpack/webpack/pull/16925](https://togithub.com/webpack/webpack/pull/16925) ##### Developer Experience - Fix broken links and typos found in examples by [@​snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16937](https://togithub.com/webpack/webpack/pull/16937) - Export more `Externals` Option types by [@​snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/12774](https://togithub.com/webpack/webpack/pull/12774) ##### Contributor Experience - Add new test case for ModuleFederationPlugin usage with `shareScope` option by [@​snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16943](https://togithub.com/webpack/webpack/pull/16943) - Bump core-js from 3.20.3 to 3.30.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/16905](https://togithub.com/webpack/webpack/pull/16905) - Update all applicable local dependencies and devDependencies by [@​alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16919](https://togithub.com/webpack/webpack/pull/16919), [https://github.com/webpack/webpack/pull/16924](https://togithub.com/webpack/webpack/pull/16924), [https://github.com/webpack/webpack/pull/16936](https://togithub.com/webpack/webpack/pull/16936), [https://github.com/webpack/webpack/pull/16968](https://togithub.com/webpack/webpack/pull/16968) - Update to Jest 29 by [@​alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16947](https://togithub.com/webpack/webpack/pull/16947) ##### New Contributors - [@​chenjiahan](https://togithub.com/chenjiahan) made their first contribution in [https://github.com/webpack/webpack/pull/16925](https://togithub.com/webpack/webpack/pull/16925) - [@​karlhorky](https://togithub.com/karlhorky) made their first contribution in [https://github.com/webpack/webpack/pull/16419](https://togithub.com/webpack/webpack/pull/16419) - [@​zookatron](https://togithub.com/zookatron) made their first contribution in [https://github.com/webpack/webpack/pull/16301](https://togithub.com/webpack/webpack/pull/16301) **Full Changelog**: webpack/webpack@v5.78.0...v5.79.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/ariakit/ariakit). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDAuMCJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@aws-sdk/client-cognito-identity-provider](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity-provider) ([source](https://togithub.com/aws/aws-sdk-js-v3)) | [`3.310.0` -> `3.312.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-cognito-identity-provider/3.310.0/3.312.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@aws-sdk/client-s3](https://togithub.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3) ([source](https://togithub.com/aws/aws-sdk-js-v3)) | [`3.310.0` -> `3.312.0`](https://renovatebot.com/diffs/npm/@aws-sdk%2fclient-s3/3.310.0/3.312.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/addon-a11y](https://togithub.com/storybookjs/storybook/tree/next/code/addons/a11y) ([source](https://togithub.com/storybookjs/storybook)) | [`7.0.3` -> `7.0.4`](https://renovatebot.com/diffs/npm/@storybook%2faddon-a11y/7.0.3/7.0.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/addon-actions](https://togithub.com/storybookjs/storybook/tree/next/code/addons/actions) ([source](https://togithub.com/storybookjs/storybook)) | [`7.0.3` -> `7.0.4`](https://renovatebot.com/diffs/npm/@storybook%2faddon-actions/7.0.3/7.0.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/addon-docs](https://togithub.com/storybookjs/storybook/tree/next/code/addons/docs) ([source](https://togithub.com/storybookjs/storybook)) | [`7.0.3` -> `7.0.4`](https://renovatebot.com/diffs/npm/@storybook%2faddon-docs/7.0.3/7.0.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/addon-essentials](https://togithub.com/storybookjs/storybook/tree/next/code/addons/essentials) ([source](https://togithub.com/storybookjs/storybook)) | [`7.0.3` -> `7.0.4`](https://renovatebot.com/diffs/npm/@storybook%2faddon-essentials/7.0.3/7.0.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/addon-interactions](https://togithub.com/storybookjs/storybook/tree/next/code/addons/interactions) ([source](https://togithub.com/storybookjs/storybook)) | [`7.0.3` -> `7.0.4`](https://renovatebot.com/diffs/npm/@storybook%2faddon-interactions/7.0.3/7.0.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/addon-links](https://togithub.com/storybookjs/storybook/tree/next/code/addons/links) ([source](https://togithub.com/storybookjs/storybook)) | [`7.0.3` -> `7.0.4`](https://renovatebot.com/diffs/npm/@storybook%2faddon-links/7.0.3/7.0.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/addon-viewport](https://togithub.com/storybookjs/storybook/tree/next/code/addons/viewport) ([source](https://togithub.com/storybookjs/storybook)) | [`7.0.3` -> `7.0.4`](https://renovatebot.com/diffs/npm/@storybook%2faddon-viewport/7.0.3/7.0.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/manager-api](https://togithub.com/storybookjs/storybook/tree/main/lib/manager-api) ([source](https://togithub.com/storybookjs/storybook)) | [`7.0.3` -> `7.0.4`](https://renovatebot.com/diffs/npm/@storybook%2fmanager-api/7.0.3/7.0.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/nextjs](https://togithub.com/storybookjs/storybook/tree/next/code/frameworks/nextjs) ([source](https://togithub.com/storybookjs/storybook)) | [`7.0.3` -> `7.0.4`](https://renovatebot.com/diffs/npm/@storybook%2fnextjs/7.0.3/7.0.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/preview-api](https://togithub.com/storybookjs/storybook/tree/main/code/lib/preview-api) ([source](https://togithub.com/storybookjs/storybook)) | [`7.0.3` -> `7.0.4`](https://renovatebot.com/diffs/npm/@storybook%2fpreview-api/7.0.3/7.0.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/react](https://togithub.com/storybookjs/storybook/tree/main/renderers/react) ([source](https://togithub.com/storybookjs/storybook)) | [`7.0.3` -> `7.0.4`](https://renovatebot.com/diffs/npm/@storybook%2freact/7.0.3/7.0.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/theming](https://togithub.com/storybookjs/storybook/tree/main/lib/theming) ([source](https://togithub.com/storybookjs/storybook)) | [`7.0.3` -> `7.0.4`](https://renovatebot.com/diffs/npm/@storybook%2ftheming/7.0.3/7.0.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [@storybook/types](https://togithub.com/storybookjs/storybook/tree/main/code/lib/types) ([source](https://togithub.com/storybookjs/storybook)) | [`7.0.3` -> `7.0.4`](https://renovatebot.com/diffs/npm/@storybook%2ftypes/7.0.3/7.0.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [eslint-plugin-turbo](https://togithub.com/vercel/turbo) | [`1.9.0` -> `1.9.1`](https://renovatebot.com/diffs/npm/eslint-plugin-turbo/1.9.0/1.9.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [storybook](https://togithub.com/storybookjs/storybook/tree/main/lib/cli) ([source](https://togithub.com/storybookjs/storybook)) | [`7.0.3` -> `7.0.4`](https://renovatebot.com/diffs/npm/storybook/7.0.3/7.0.4) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [turbo](https://turbo.build/repo) ([source](https://togithub.com/vercel/turbo)) | [`1.9.0` -> `1.9.1`](https://renovatebot.com/diffs/npm/turbo/1.9.0/1.9.1) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | | [webpack](https://togithub.com/webpack/webpack) | [`5.78.0` -> `5.79.0`](https://renovatebot.com/diffs/npm/webpack/5.78.0/5.79.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-cognito-identity-provider)</summary> ### [`v3.312.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-cognito-identity-provider/CHANGELOG.md#​33120-httpsgithubcomawsaws-sdk-js-v3comparev33110v33120-2023-04-12) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.310.0...v3.312.0) ##### Features - **client:** reduce generated HTTP request header code size ([#​4594](https://togithub.com/aws/aws-sdk-js-v3/issues/4594)) ([fe91123](https://togithub.com/aws/aws-sdk-js-v3/commit/fe91123411499b5932b406fb813e69f4a0d36503)) </details> <details> <summary>aws/aws-sdk-js-v3 (@​aws-sdk/client-s3)</summary> ### [`v3.312.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-s3/CHANGELOG.md#​33120-httpsgithubcomawsaws-sdk-js-v3comparev33110v33120-2023-04-12) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.310.0...v3.312.0) **Note:** Version bump only for package [@​aws-sdk/client-s3](https://togithub.com/aws-sdk/client-s3) </details> <details> <summary>storybookjs/storybook</summary> ### [`v7.0.4`](https://togithub.com/storybookjs/storybook/releases/tag/v7.0.4) [Compare Source](https://togithub.com/storybookjs/storybook/compare/v7.0.3...v7.0.4) Storybook 7.0 is here! 🎉 - ⚡️ [First-class Vite](https://storybook.js.org/blog/first-class-vite-support-in-storybook/) - 🔼 [Zero-config NextJS](https://storybook.js.org/blog/integrate-nextjs-and-storybook-automatically/) - 🇸 [Zero-config SvelteKit](https://storybook.js.org/blog/storybook-for-sveltekit/) - 🏗️ [Frameworks API](https://storybook.js.org/blog/framework-api/) - 3️⃣ [Component Story Format v3](https://storybook.js.org/blog/storybook-csf3-is-here/) - 🛡️ [Improved type safety](https://storybook.js.org/blog/improved-type-safety-in-storybook-7/) - 📚 [Docs overhaul with MDx2 support](https://storybook.js.org/blog/storybook-7-docs/) - ☂️ [Code coverage for interaction testing](https://storybook.js.org/blog/code-coverage-with-the-storybook-test-runner/) - 🖼️ [UI design refresh](https://storybook.js.org/blog/7-0-design-alpha/) - 🏛️ [Improved stability](https://storybook.js.org/blog/storybook-ecosystem-ci/) 7.0 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching `7.0.0-alpha.*`, `7.0.0-beta.*`, and `7.0.0-rc.*` for the full list of changes. See our [Migration guide](https://storybook.js.org/migration-guides/7.0) to upgrade from earlier versions of Storybook. ##### Bug Fixes - CLI: Catch errors thrown on sanity check of SB installs [#​22039](https://togithub.com/storybooks/storybook/pull/22039) ##### Dependency Upgrades - Addon-docs: Remove mdx1-csf as optional peer dep [#​22038](https://togithub.com/storybooks/storybook/pull/22038) </details> <details> <summary>vercel/turbo</summary> ### [`v1.9.1`](https://togithub.com/vercel/turbo/releases/tag/v1.9.1): Turborepo v1.9.1 [Compare Source](https://togithub.com/vercel/turbo/compare/v1.9.0...v1.9.1) #### What's Changed ##### Changelog - Add more readme for integration tests by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4515](https://togithub.com/vercel/turbo/pull/4515) - Deprecate `THASH`. by [@​nathanhammond](https://togithub.com/nathanhammond) in [https://github.com/vercel/turbo/pull/4526](https://togithub.com/vercel/turbo/pull/4526) - oldGlobalHash can be named by [@​nathanhammond](https://togithub.com/nathanhammond) in [https://github.com/vercel/turbo/pull/4528](https://togithub.com/vercel/turbo/pull/4528) - feat(summary): add taskId to single package task by [@​tknickman](https://togithub.com/tknickman) in [https://github.com/vercel/turbo/pull/4530](https://togithub.com/vercel/turbo/pull/4530) - Document --summarize flag and include in Troubleshooting doc by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4467](https://togithub.com/vercel/turbo/pull/4467) - feat(examples): update READMEs for create-turbo by [@​tknickman](https://togithub.com/tknickman) in [https://github.com/vercel/turbo/pull/4451](https://togithub.com/vercel/turbo/pull/4451) - Documentation for Strict Environments by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4490](https://togithub.com/vercel/turbo/pull/4490) - chore(turborepo): Make rustls the default feature for turborepo-lib by [@​NicholasLYang](https://togithub.com/NicholasLYang) in [https://github.com/vercel/turbo/pull/4537](https://togithub.com/vercel/turbo/pull/4537) - fix(turborepo): SCM tests and renaming by [@​NicholasLYang](https://togithub.com/NicholasLYang) in [https://github.com/vercel/turbo/pull/4462](https://togithub.com/vercel/turbo/pull/4462) - Update data sent to vercel for runs by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4495](https://togithub.com/vercel/turbo/pull/4495) - Gather Run Summary even when tasks fail by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4524](https://togithub.com/vercel/turbo/pull/4524) - Update old testbed make target to fixture- for new fixtures layout by [@​gsoltis](https://togithub.com/gsoltis) in [https://github.com/vercel/turbo/pull/4538](https://togithub.com/vercel/turbo/pull/4538) - Use both key and version when sorting lockfile entries by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4541](https://togithub.com/vercel/turbo/pull/4541) - Save task duration correctly by [@​mehulkar](https://togithub.com/mehulkar) in [https://github.com/vercel/turbo/pull/4540](https://togithub.com/vercel/turbo/pull/4540) **Full Changelog**: vercel/turborepo@v1.9.0...v1.9.1 </details> <details> <summary>webpack/webpack</summary> ### [`v5.79.0`](https://togithub.com/webpack/webpack/releases/tag/v5.79.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.78.0...v5.79.0) #### New Features - webpack will now support simple destructuring scenarios for treeshaking namespaced imports and `DefinePlugin` by [@​vankop](https://togithub.com/vankop) in [https://github.com/webpack/webpack/pull/16941](https://togithub.com/webpack/webpack/pull/16941) #### Bugfixes - Truncate extremely long module names in `DefaultStatsPrinter` by [@​snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16882](https://togithub.com/webpack/webpack/pull/16882) - Add `[contenthash]` template support in `DllPlugin`'s `name` option by [@​snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16935](https://togithub.com/webpack/webpack/pull/16935) - Fixed a bug where `readRecords` compiler hook was causing hangs in conjunction with the `ReadRecordsPlugin` by [@​snitin315](https://togithub.com/snitin315) & [@​zookatron](https://togithub.com/zookatron) in [https://github.com/webpack/webpack/pull/16944](https://togithub.com/webpack/webpack/pull/16944) - webpack can now consume ESM bundles generated by webpack's esm output support by [@​vankop](https://togithub.com/vankop) in [https://github.com/webpack/webpack/pull/15608](https://togithub.com/webpack/webpack/pull/15608) - \[CSS] - webpack now respects CSS's case-insensitivity with atTags like `@MEDIA` by [@​alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16915](https://togithub.com/webpack/webpack/pull/16915) - \[CSS] - Fixes a bug where crossOriginLoading anonymous would not work when loading styles by [@​chenjiahan](https://togithub.com/chenjiahan) in [https://github.com/webpack/webpack/pull/16925](https://togithub.com/webpack/webpack/pull/16925) #### Developer Experience - Fix broken links and typos found in examples by [@​snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16937](https://togithub.com/webpack/webpack/pull/16937) - Export more `Externals` Option types by [@​snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/12774](https://togithub.com/webpack/webpack/pull/12774) #### Contributor Experience - Add new test case for ModuleFederationPlugin usage with `shareScope` option by [@​snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16943](https://togithub.com/webpack/webpack/pull/16943) - Bump core-js from 3.20.3 to 3.30.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/16905](https://togithub.com/webpack/webpack/pull/16905) - Update all applicable local dependencies and devDependencies by [@​alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16919](https://togithub.com/webpack/webpack/pull/16919), [https://github.com/webpack/webpack/pull/16924](https://togithub.com/webpack/webpack/pull/16924), [https://github.com/webpack/webpack/pull/16936](https://togithub.com/webpack/webpack/pull/16936), [https://github.com/webpack/webpack/pull/16968](https://togithub.com/webpack/webpack/pull/16968) - Update to Jest 29 by [@​alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16947](https://togithub.com/webpack/webpack/pull/16947) #### New Contributors - [@​chenjiahan](https://togithub.com/chenjiahan) made their first contribution in [https://github.com/webpack/webpack/pull/16925](https://togithub.com/webpack/webpack/pull/16925) - [@​karlhorky](https://togithub.com/karlhorky) made their first contribution in [https://github.com/webpack/webpack/pull/16419](https://togithub.com/webpack/webpack/pull/16419) - [@​zookatron](https://togithub.com/zookatron) made their first contribution in [https://github.com/webpack/webpack/pull/16301](https://togithub.com/webpack/webpack/pull/16301) **Full Changelog**: webpack/webpack@v5.78.0...v5.79.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/weareinreach/InReach). PR-URL: #407 Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [webpack](https://togithub.com/webpack/webpack) | [`5.78.0` -> `5.79.0`](https://renovatebot.com/diffs/npm/webpack/5.78.0/5.79.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>webpack/webpack</summary> ### [`v5.79.0`](https://togithub.com/webpack/webpack/releases/tag/v5.79.0) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.78.0...v5.79.0) #### New Features - webpack will now support simple destructuring scenarios for treeshaking namespaced imports and `DefinePlugin` by [@​vankop](https://togithub.com/vankop) in [https://github.com/webpack/webpack/pull/16941](https://togithub.com/webpack/webpack/pull/16941) #### Bugfixes - Truncate extremely long module names in `DefaultStatsPrinter` by [@​snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16882](https://togithub.com/webpack/webpack/pull/16882) - Add `[contenthash]` template support in `DllPlugin`'s `name` option by [@​snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16935](https://togithub.com/webpack/webpack/pull/16935) - Fixed a bug where `readRecords` compiler hook was causing hangs in conjunction with the `ReadRecordsPlugin` by [@​snitin315](https://togithub.com/snitin315) & [@​zookatron](https://togithub.com/zookatron) in [https://github.com/webpack/webpack/pull/16944](https://togithub.com/webpack/webpack/pull/16944) - webpack can now consume ESM bundles generated by webpack's esm output support by [@​vankop](https://togithub.com/vankop) in [https://github.com/webpack/webpack/pull/15608](https://togithub.com/webpack/webpack/pull/15608) - \[CSS] - webpack now respects CSS's case-insensitivity with atTags like `@MEDIA` by [@​alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16915](https://togithub.com/webpack/webpack/pull/16915) - \[CSS] - Fixes a bug where crossOriginLoading anonymous would not work when loading styles by [@​chenjiahan](https://togithub.com/chenjiahan) in [https://github.com/webpack/webpack/pull/16925](https://togithub.com/webpack/webpack/pull/16925) #### Developer Experience - Fix broken links and typos found in examples by [@​snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16937](https://togithub.com/webpack/webpack/pull/16937) - Export more `Externals` Option types by [@​snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/12774](https://togithub.com/webpack/webpack/pull/12774) #### Contributor Experience - Add new test case for ModuleFederationPlugin usage with `shareScope` option by [@​snitin315](https://togithub.com/snitin315) in [https://github.com/webpack/webpack/pull/16943](https://togithub.com/webpack/webpack/pull/16943) - Bump core-js from 3.20.3 to 3.30.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/webpack/webpack/pull/16905](https://togithub.com/webpack/webpack/pull/16905) - Update all applicable local dependencies and devDependencies by [@​alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16919](https://togithub.com/webpack/webpack/pull/16919), [https://github.com/webpack/webpack/pull/16924](https://togithub.com/webpack/webpack/pull/16924), [https://github.com/webpack/webpack/pull/16936](https://togithub.com/webpack/webpack/pull/16936), [https://github.com/webpack/webpack/pull/16968](https://togithub.com/webpack/webpack/pull/16968) - Update to Jest 29 by [@​alexander-akait](https://togithub.com/alexander-akait) in [https://github.com/webpack/webpack/pull/16947](https://togithub.com/webpack/webpack/pull/16947) #### New Contributors - [@​chenjiahan](https://togithub.com/chenjiahan) made their first contribution in [https://github.com/webpack/webpack/pull/16925](https://togithub.com/webpack/webpack/pull/16925) - [@​karlhorky](https://togithub.com/karlhorky) made their first contribution in [https://github.com/webpack/webpack/pull/16419](https://togithub.com/webpack/webpack/pull/16419) - [@​zookatron](https://togithub.com/zookatron) made their first contribution in [https://github.com/webpack/webpack/pull/16301](https://togithub.com/webpack/webpack/pull/16301) **Full Changelog**: webpack/webpack@v5.78.0...v5.79.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/ziyadedher/ziyadedher). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiMzUuNDAuMCJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Summary
Fixes #16479
🤖 Generated by Copilot at 1f11b06
Add a test case for webpack's truncation of long external module names. The test case uses a
test
module with a very long name as an external dependency inindex.js
andwebpack.config.js
.Details
🤖 Generated by Copilot at 1f11b06
maxModuleReadableIdentifierLength
option (F0,F1)index.js
file that requires thetest
module, which is declared as an external dependency (link)webpack.config.js
file that sets the mode, entry point, and external module options (link)