[Snyk] Upgrade webpack from 5.102.1 to 5.103.0 #471
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade webpack from 5.102.1 to 5.103.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 1 version ahead of your current version.
The recommended version was released 24 days ago.
Release notes
Package name: webpack
-
5.103.0 - 2025-11-18
- Added
- Added
- Added support the
- Allow to use custom javascript parse function
- Added
- Added support for
- Added support
- Handle import.meta.main
- Added suport to setup named exports for JSON modules and disable usage named export for
- Added support
- [CSS] Added the
- [CSS] Added support for
- The
- Return to namespace import when the external request includes a specific export
- No runtime extra runtime code for module libraries
- Delay HMR accept dependencies to preserve import attributes
- Properly handle external presets for universal target
- Fixed incorrect identifier of import binding for module externals
- Fixed when defer import and dynamic default export mixed
- Reduce generated output when
- Fixed loading async modules in defer import
- Reexport module for default import when no used exports for systemjs library
- Rename HarmonyExportDependencyParserPlugin exported id to CompatibilityPlugin tagged id
- Handle
- Rename single nested
- [Types] webpack function type
- [Types] NormalModule type
- [Types] Multi compiler configuration type
- [Types] Fixed regression in custom
- [CSS] No extra runtime for initial chunk
- [CSS] Fixed a lot of CSS modules bugs
-
5.102.1 - 2025-10-07
- Supported
- Supported
- Fixed dynamic import support in workers using
- Fixed default defer import mangling.
- Fixed default import of
- Fixed context modules to the same file with different import attributes.
- Fixed typescript types.
- Improved
- [CSS] Fixed CC_UPPER_U parsing (E -> U) in tokenizer.
from webpack GitHub release notesFeatures
DotenvPluginand top leveldotenvoption to enable this pluginWebpackManifestPluginignoreListoption in devtool pluginsimport.meta.envsupport for environment variablesimport.meta.dirnameandimport.meta.filenameimport.defer()for statistical pathimport file from "./file.json" with { type: "json" }__dirname/__filename/import.meta.dirname/import.meta.filenamefor universal targetexportTypeoption withlink(by default), "text" andcss-style-sheetvaluescomposespropertiesFixes
dependOnchunk must be loaded before the common chunkglobalThissupported__dirnameand__filenamefor ES modules__webpack_export__and__webpack_require__in already bundled codehashDigesttypeFixes
extendswithenvforbrowserslistJSONPfragment format for web workers.browserslist.commonjsexternals forSystemJSformat.import.metawarning messages to be more clear when used directly.Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: