Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency webpack to v5.97.0 (#3256)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [webpack](https://redirect.github.com/webpack/webpack) | [`5.96.1` -> `5.97.0`](https://renovatebot.com/diffs/npm/webpack/5.91.0/5.97.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/webpack/5.97.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/webpack/5.97.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/webpack/5.91.0/5.97.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/webpack/5.91.0/5.97.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [webpack](https://redirect.github.com/webpack/webpack) | [`5.96.1` -> `5.97.0`](https://renovatebot.com/diffs/npm/webpack/5.96.1/5.97.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/webpack/5.97.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/webpack/5.97.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/webpack/5.96.1/5.97.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/webpack/5.96.1/5.97.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>webpack/webpack (webpack)</summary> ### [`v5.97.0`](https://redirect.github.com/webpack/webpack/compare/v5.96.1...644f1d12716ba8f3c96d2efa279262560dd8c7fb) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.96.1...v5.97.0) ### [`v5.96.1`](https://redirect.github.com/webpack/webpack/compare/v5.96.0...d4ced7322229c7d72a7a0d2ca955bdde0c910a0b) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.96.0...v5.96.1) ### [`v5.96.0`](https://redirect.github.com/webpack/webpack/releases/tag/v5.96.0) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.95.0...v5.96.0) #### Bug Fixes - Fixed Module Federation should track all referenced chunks - Handle Data URI without base64 word - HotUpdateChunk have correct runtime when modified with new runtime - Order of chunks ids in generated chunk code - No extra Javascript chunks when using asset module as an entrypoint - Use optimistically logic for `output.environment.dynamicImport` to determine chunk format when no browserslist or target - Collision with global variables for `optimization.avoidEntryIife` - Avoid through variables in inlined module - Allow chunk template strings in `output.devtoolNamespace` - No extra runtime for get javascript/css chunk filename - No extra runtime for prefetch and preload in JS runtime when it was unsed in CSS - Avoid cache invalidation using ProgressPlugin - Increase parallelism when using `importModule` on the execution stage - Correctly parsing string in `export` and `import` - Typescript types - **\[CSS]** `css/auto` considers a module depending on its filename as `css` (pure CSS) or `css/local`, before it was `css/global` and `css/local` - **\[CSS]** Always interpolate classes even if they are not involved in export - **\[CSS]** No extra runtime in Javascript runtime chunks for asset modules used in CSS - **\[CSS]** No extra runtime in Javascript runtime chunks for external asset modules used in CSS - **\[CSS]** No extra runtime for the `node` target - **\[CSS]** Fixed `url()`s and `@import` parsing - **\[CSS]** Fixed - emit a warning on broken :local and :global #### New Features - Export CSS and ESM runtime modules - Single Runtime Chunk and Federation eager module hoisting - **\[CSS]** Support `/* webpackIgnore: true */` for CSS files - **\[CSS]** Support `src()` support - **\[CSS]** CSS nesting in CSS modules ### [`v5.95.0`](https://redirect.github.com/webpack/webpack/releases/tag/v5.95.0) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.94.0...v5.95.0) #### Bug Fixes - Fixed hanging when attempting to read a symlink-like file that it can't read - Handle `default` for import context element dependency - Merge duplicate chunks call after split chunks - Generate correctly code for dynamically importing the same file twice and destructuring - Use content hash as \[base] and \[name] for extracted DataURI's - Distinguish `module` and `import` in `module-import` for externals `import`'s - \[Types] Make `EnvironmentPlugin` default values types less strict - \[Types] Typescript 5.6 compatibility #### New Features - Add new `optimization.avoidEntryIife` option (`true` by default for the `production` mode) - Pass output.hash\* options to loader context #### Performance - Avoid unneeded re-visit in build chunk graph ### [`v5.94.0`](https://redirect.github.com/webpack/webpack/compare/v5.93.0...eabf85d8580dfcb876b56957ba5488222a4f7873) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.93.0...v5.94.0) ### [`v5.93.0`](https://redirect.github.com/webpack/webpack/compare/v5.92.1...277460b33bcc49c51acbbcd688672aa4ec685732) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.92.1...v5.93.0) ### [`v5.92.1`](https://redirect.github.com/webpack/webpack/compare/v5.92.0...a82e0cd00e26d8452295f0d680417e4656a6d7cc) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.92.0...v5.92.1) ### [`v5.92.0`](https://redirect.github.com/webpack/webpack/releases/tag/v5.92.0) [Compare Source](https://redirect.github.com/webpack/webpack/compare/v5.91.0...v5.92.0) #### Bug Fixes - Correct tidle range's comutation for module federation - Consider runtime for pure expression dependency update hash - Return value in the `subtractRuntime` function for runtime logic - Fixed failed to resolve promise when eager import a dynamic cjs - Avoid generation extra code for external modules when remapping is not required - The `css/global` type now handles the exports name - Avoid hashing for `@keyframe` and `@property` at-rules in `css/global` type - Fixed mangle with destructuring for JSON modules - The `stats.hasWarnings()` method now respects the `ignoreWarnings` option - Fixed `ArrayQueue` iterator - Correct behavior of `__webpack_exports_info__.a.b.canMangle` - Changed to the correct plugin name for the `CommonJsChunkFormatPlugin` plugin - Set the `chunkLoading` option to the `import` when environment is unknown and output is module - Fixed when runtimeChunk has no exports when `module` chunkFormat used - \[CSS] Fixed parsing minimized CSS import - \[CSS] URLs in CSS files now have correct public path - \[CSS] The `css` module type should not allow parser to switch mode - \[Types] Improved context module types #### New Features - Added platform target properties to compiler - Improved multi compiler cache location and validating it - Support `import attributes` spec (`with` keyword) - Support `node:` prefix for Node.js core modules in runtime code - Support prefetch/preload for module chunk format - Support "..." in the `importsFields` option for resolver - Root module is less prone to be wrapped in IIFE - Export `InitFragment` class for plugins - Export `compileBooleanMatcher` util for plugins - Export `InputFileSystem` and `OutputFileSystem` types - \[CSS] Support the `esModule` generator option for CSS modules - \[CSS] Support CSS when chunk format is module </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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/X-oss-byte/Nextjs).
- Loading branch information