Update dependency webpack to v5.94.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
webpack | devDependencies | minor | 5.90.3 -> 5.94.0 |
Release Notes
webpack/webpack (webpack)
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 @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
fornew URL()
construction - [CSS]
@import
pathinfo support
Security
- Fixed DOM clobbering in auto public path
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
Bug Fixes
- Doesn't crash with an error when the css experiment is enabled and contenthash is used
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 incss/global
type - Fixed mangle with destructuring for JSON modules
- The
stats.hasWarnings()
method now respects theignoreWarnings
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 theimport
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
andOutputFileSystem
types - [CSS] Support the
esModule
generator option for CSS modules - [CSS] Support CSS when chunk format is module
v5.91.0
Bug Fixes
- Deserializer for ignored modules doesn't crash
- Allow the
unsafeCache
option to be a proxy object - Normalize the
snapshot.unmanagedPaths
option - Fixed
fs
types - Fixed resolve's plugins types
- Fixed wrongly calculate postOrderIndex
- Fixed watching types
- Output import attrbiutes/import assertions for external JS imports
- Throw an error when DllPlugin needs to generate multiple manifest files, but the path is the same
- [CSS] Output
layer
/supports
/media
for external CSS imports
New Features
- Allow to customize the stage of BannerPlugin
- [CSS] Support CSS exports convention
- [CSS] support CSS local ident name
- [CSS] Support
__webpack_nonce__
for CSS chunks - [CSS] Support
fetchPriority
for CSS chunks - [CSS] Allow to use LZW to compress css head meta (enabled in the
production
mode by default) - [CSS] Support prefetch/preload for CSS chunks
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate Bot