chore(deps): update dependency webpack to v5.98.0 #10

Merged
kumi merged 1 commit from renovate/webpack-5.x-lockfile into main 2025-03-10 06:37:11 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
webpack devDependencies minor 5.91.0 -> 5.98.0

Release Notes

webpack/webpack (webpack)

v5.98.0

Compare Source

Fixes
Performance Improvements
Chores
Features
Continuous Integration

New Contributors

Full Changelog: https://github.com/webpack/webpack/compare/v5.97.1...v5.98.0

v5.97.1

Compare Source

Bug Fixes

  • Performance regression
  • Sub define key should't be renamed when it's a defined variable

v5.97.0

Compare Source

Bug Fixes

  • Don't crash with filesystem cache and unknown scheme
  • Generate a valid code when output.iife is true and output.library.type is umd
  • Fixed conflict variable name with concatenate modules and runtime code
  • Merge duplicate chunks before
  • Collisions in ESM library
  • Use recursive search for versions of shared dependencies
  • [WASM] Don't crash WebAssembly with Reference Types (sync and async)
  • [WASM] Fixed wasm loading for sync and async webassembly
  • [CSS] Don't add [uniqueName] to localIdentName when it is empty
  • [CSS] Parsing strings on Windows
  • [CSS] Fixed CSS local escaping

New Features

  • Added support for injecting debug IDs
  • Export the MergeDuplicateChunks plugin
  • Added universal loading for JS chunks and JS worker chunks (only ES modules)
  • [WASM] Added universal loading for WebAssembly chunks (only for async WebAssembly)
  • [CSS] Allow initial CSS chunks to be placed anywhere - the output.cssHeadDataCompression option was deleted
  • [CSS] Added universal loading for CSS chunks
  • [CSS] Parse ICSS @value at-rules in CSS modules
  • [CSS] Parse ICSS :import rules in CSS modules
  • [CSS] Added the url and import options for CSS
  • [CSS] Allow to import custom properties in CSS modules

Performance

  • Faster Queue implementation, also fixed queue iterator state in dequeue method to ensure correct behavior after item removal

v5.96.1

Compare Source

Bug Fixes

  • [Types] Add @types/eslint-scope to dependencieS
  • [Types] Fixed regression in validate

v5.96.0

Compare Source

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

Compare Source

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

Compare Source

Bug Fixes

  • Added runtime condition for harmony reexport checked
  • Handle properly data/http/https protocols in source maps
  • Make bigint optimistic when browserslist not found
  • Move @​types/eslint-scope to dev deps
  • Related in asset stats is now always an array when no related found
  • Handle ASI for export declarations
  • Mangle destruction incorrect with export named default properly
  • Fixed unexpected asi generation with sequence expression
  • Fixed a lot of types

New Features

  • Added new external type "module-import"
  • Support webpackIgnore for new URL() construction
  • [CSS] @import pathinfo support

Security

  • Fixed DOM clobbering in auto public path

v5.93.0

Compare Source

Bug Fixes

  • Generate correct relative path to runtime chunks
  • Makes DefinePlugin quieter under default log level
  • Fixed mangle destructuring default in namespace import
  • Fixed consumption of eager shared modules for module federation
  • Strip slash for pretty regexp
  • Calculate correct contenthash for CSS generator options

New Features

  • Added the binary generator option for asset modules to explicitly keep source maps produced by loaders
  • Added the modern-module library value for tree shakable output
  • Added the overrideStrict option to override strict or non-strict mode for javascript modules

v5.92.1

Compare Source

Bug Fixes

  • Doesn't crash with an error when the css experiment is enabled and contenthash is used

v5.92.0

Compare Source

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

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 this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [webpack](https://github.com/webpack/webpack) | devDependencies | minor | [`5.91.0` -> `5.98.0`](https://renovatebot.com/diffs/npm/webpack/5.91.0/5.98.0) | --- ### Release Notes <details> <summary>webpack/webpack (webpack)</summary> ### [`v5.98.0`](https://github.com/webpack/webpack/releases/tag/v5.98.0) [Compare Source](https://github.com/webpack/webpack/compare/v5.97.1...v5.98.0) ##### Fixes - Avoid the deprecation message [#&#8203;19062](https://github.com/webpack/webpack/issues/19062) by [@&#8203;alexander-akait](https://github.com/alexander-akait) - Should not escape CSS local ident in JS [#&#8203;19060](https://github.com/webpack/webpack/issues/19060) by [@&#8203;JSerFeng](https://github.com/JSerFeng) - MF parse range not compatible with Safari [#&#8203;19083](https://github.com/webpack/webpack/issues/19083) by [@&#8203;alexander-akait](https://github.com/alexander-akait) - Preserve `filenameTemplate` in new split chunk [#&#8203;19104](https://github.com/webpack/webpack/issues/19104) by [@&#8203;henryqdineen](https://github.com/henryqdineen) - Use module IDs for final render order [#&#8203;19184](https://github.com/webpack/webpack/issues/19184) by [@&#8203;dmichon-msft](https://github.com/dmichon-msft) - Strip `blob:` protocol when public path is `auto` [#&#8203;19199](https://github.com/webpack/webpack/issues/19199) by [@&#8203;alexander-akait](https://github.com/alexander-akait) - Respect `output.charset` everywhere [#&#8203;19202](https://github.com/webpack/webpack/issues/19202) by [@&#8203;alexander-akait](https://github.com/alexander-akait) - Node async WASM loader generation [#&#8203;19210](https://github.com/webpack/webpack/issues/19210) by [@&#8203;ashi009](https://github.com/ashi009) - Correct `BuildInfo` and `BuildMeta` type definitions [#&#8203;19200](https://github.com/webpack/webpack/issues/19200) by [@&#8203;inottn](https://github.com/inottn) ##### Performance Improvements - Improve `FlagDependencyExportsPlugin` for large JSON by depth [#&#8203;19058](https://github.com/webpack/webpack/issues/19058) by [@&#8203;hai-x](https://github.com/hai-x) - Optimize assign-depths [#&#8203;19193](https://github.com/webpack/webpack/issues/19193) by [@&#8203;dmichon-msft](https://github.com/dmichon-msft) - Use `startsWith` for matching instead of converting the string to a regex [#&#8203;19207](https://github.com/webpack/webpack/issues/19207) by [@&#8203;inottn](https://github.com/inottn) ##### Chores - Bump `nanoid` from 3.3.7 to 3.3.8 [#&#8203;19063](https://github.com/webpack/webpack/issues/19063) by [@&#8203;dependabot](https://github.com/dependabot) - Fixed incorrect typecast in `DefaultStatsFactoryPlugin` [#&#8203;19156](https://github.com/webpack/webpack/issues/19156) by [@&#8203;Andarist](https://github.com/Andarist) - Improved `readme.md` by adding video links for understanding webpack [#&#8203;19101](https://github.com/webpack/webpack/issues/19101) by [@&#8203;Vansh5632](https://github.com/Vansh5632) - Typo fix [#&#8203;19205](https://github.com/webpack/webpack/issues/19205) by [@&#8203;hai-x](https://github.com/hai-x) - Adopt the new webpack governance model [#&#8203;18804](https://github.com/webpack/webpack/issues/18804) by [@&#8203;ovflowd](https://github.com/ovflowd) ##### Features - Implement `/* webpackIgnore: true */` for `require.resolve` [#&#8203;19201](https://github.com/webpack/webpack/issues/19201) by [@&#8203;alexander-akait](https://github.com/alexander-akait) ##### Continuous Integration - CI fix [#&#8203;19196](https://github.com/webpack/webpack/issues/19196) by [@&#8203;alexander-akait](https://github.com/alexander-akait) #### New Contributors - [@&#8203;Andarist](https://github.com/Andarist) made their first contribution in https://github.com/webpack/webpack/pull/19156 - [@&#8203;Vansh5632](https://github.com/Vansh5632) made their first contribution in https://github.com/webpack/webpack/pull/19101 - [@&#8203;ashi009](https://github.com/ashi009) made their first contribution in https://github.com/webpack/webpack/pull/19210 - [@&#8203;ovflowd](https://github.com/ovflowd) made their first contribution in https://github.com/webpack/webpack/pull/18804 **Full Changelog**: https://github.com/webpack/webpack/compare/v5.97.1...v5.98.0 ### [`v5.97.1`](https://github.com/webpack/webpack/releases/tag/v5.97.1) [Compare Source](https://github.com/webpack/webpack/compare/v5.97.0...v5.97.1) #### Bug Fixes - Performance regression - Sub define key should't be renamed when it's a defined variable ### [`v5.97.0`](https://github.com/webpack/webpack/releases/tag/v5.97.0) [Compare Source](https://github.com/webpack/webpack/compare/v5.96.1...v5.97.0) #### Bug Fixes - Don't crash with filesystem cache and unknown scheme - Generate a valid code when `output.iife` is `true` and output.library.type is `umd` - Fixed conflict variable name with concatenate modules and runtime code - Merge duplicate chunks before - Collisions in ESM library - Use recursive search for versions of shared dependencies - **\[WASM]** Don't crash WebAssembly with Reference Types (sync and async) - **\[WASM]** Fixed wasm loading for sync and async webassembly - **\[CSS]** Don't add `[uniqueName]` to `localIdentName` when it is empty - **\[CSS]** Parsing strings on Windows - **\[CSS]** Fixed CSS local escaping #### New Features - Added support for injecting debug IDs - Export the `MergeDuplicateChunks` plugin - Added universal loading for JS chunks and JS worker chunks (only ES modules) - **\[WASM]** Added universal loading for WebAssembly chunks (only for async WebAssembly) - **\[CSS]** Allow initial CSS chunks to be placed anywhere - **the `output.cssHeadDataCompression` option was deleted** - **\[CSS]** Added universal loading for CSS chunks - **\[CSS]** Parse ICSS `@value` at-rules in CSS modules - **\[CSS]** Parse ICSS `:import` rules in CSS modules - **\[CSS]** Added the `url` and `import` options for CSS - **\[CSS]** Allow to import custom properties in CSS modules #### Performance - Faster Queue implementation, also fixed queue iterator state in dequeue method to ensure correct behavior after item removal ### [`v5.96.1`](https://github.com/webpack/webpack/releases/tag/v5.96.1) [Compare Source](https://github.com/webpack/webpack/compare/v5.96.0...v5.96.1) #### Bug Fixes - **\[Types]** Add `@types/eslint-scope` to dependencieS - **\[Types]** Fixed regression in `validate` ### [`v5.96.0`](https://github.com/webpack/webpack/releases/tag/v5.96.0) [Compare Source](https://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://github.com/webpack/webpack/releases/tag/v5.95.0) [Compare Source](https://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://github.com/webpack/webpack/releases/tag/v5.94.0) [Compare Source](https://github.com/webpack/webpack/compare/v5.93.0...v5.94.0) #### Bug Fixes - Added runtime condition for harmony reexport checked - Handle properly `data`/`http`/`https` protocols in source maps - Make `bigint` optimistic when browserslist not found - Move [@&#8203;types/eslint-scope](https://github.com/types/eslint-scope) to dev deps - Related in asset stats is now always an array when no related found - Handle ASI for export declarations - Mangle destruction incorrect with export named default properly - Fixed unexpected asi generation with sequence expression - Fixed a lot of types #### New Features - Added new external type "module-import" - Support `webpackIgnore` for `new URL()` construction - \[CSS] `@import` pathinfo support #### Security - Fixed DOM clobbering in auto public path ### [`v5.93.0`](https://github.com/webpack/webpack/releases/tag/v5.93.0) [Compare Source](https://github.com/webpack/webpack/compare/v5.92.1...v5.93.0) #### Bug Fixes - Generate correct relative path to runtime chunks - Makes `DefinePlugin` quieter under default log level - Fixed mangle destructuring default in namespace import - Fixed consumption of eager shared modules for module federation - Strip slash for pretty regexp - Calculate correct contenthash for CSS generator options #### New Features - Added the `binary` generator option for asset modules to explicitly keep source maps produced by loaders - Added the `modern-module` library value for tree shakable output - Added the `overrideStrict` option to override strict or non-strict mode for javascript modules ### [`v5.92.1`](https://github.com/webpack/webpack/releases/tag/v5.92.1) [Compare Source](https://github.com/webpack/webpack/compare/v5.92.0...v5.92.1) #### Bug Fixes - Doesn't crash with an error when the css experiment is enabled and contenthash is used ### [`v5.92.0`](https://github.com/webpack/webpack/releases/tag/v5.92.0) [Compare Source](https://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 this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODUuOCIsInVwZGF0ZWRJblZlciI6IjM5LjE4NS44IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
renovate-bot added 1 commit 2025-03-06 11:29:04 +00:00
renovate-bot force-pushed renovate/webpack-5.x-lockfile from fce4b174c1 to a7bbd89eb2 2025-03-06 13:26:53 +00:00 Compare
renovate-bot force-pushed renovate/webpack-5.x-lockfile from a7bbd89eb2 to b165f1211c 2025-03-06 23:15:14 +00:00 Compare
renovate-bot force-pushed renovate/webpack-5.x-lockfile from b165f1211c to 6165a852fd 2025-03-08 08:30:31 +00:00 Compare
renovate-bot force-pushed renovate/webpack-5.x-lockfile from 6165a852fd to 95fef9d953 2025-03-09 21:23:08 +00:00 Compare
renovate-bot force-pushed renovate/webpack-5.x-lockfile from 95fef9d953 to 488939185b 2025-03-10 06:36:20 +00:00 Compare
kumi merged commit 412dd11fa6 into main 2025-03-10 06:37:11 +00:00
kumi deleted branch renovate/webpack-5.x-lockfile 2025-03-10 06:37:11 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: kumi/great-website#10
No description provided.