[Snyk] Upgrade webpack from 5.94.0 to 5.101.3 #59
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.94.0 to 5.101.3.
ℹ️ 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 23 versions ahead of your current version.
The recommended version was released a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-CROSSSPAWN-8303230
SNYK-JS-HTTPPROXYMIDDLEWARE-8229906
SNYK-JS-COOKIE-8163060
SNYK-JS-HTTPPROXYMIDDLEWARE-9691387
SNYK-JS-HTTPPROXYMIDDLEWARE-9691389
SNYK-JS-NANOID-8492085
SNYK-JS-ONHEADERS-10773729
SNYK-JS-PATHTOREGEXP-8482416
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
SNYK-JS-BRACEEXPANSION-9789073
Release notes
Package name: webpack
-
5.101.3 - 2025-08-18
- Fixed resolve execution order issue from extra await in async modules
- Avoid empty block for unused statement
- Collect only specific expressions for destructuring assignment
-
5.101.2 - 2025-08-14
- Fixed syntax error when comment is on the last line
- Handle var declaration for
- Distinguish free variable and tagged variable
-
5.101.1 - 2025-08-12
- Filter deleted assets in
- HMR failure in defer module
- Emit assets even if invalidation occurs again
- Export types for serialization and deserialization in plugins and export the
- Fixed the failure export of internal function for ES module chunk format
- Fixed
- Fixed the import of missing dependency chunks
- Fixed when entry chunk depends on the runtime chunk hash
- Fixed
- Adjusted the time of adding a group depending on the fragment of execution time
- Fixed circle dependencies when require
- Tree-shakable module library should align preconditions of
-
5.101.0 - 2025-07-28
- Fixed concatenate optimization for ESM that caused undefined export
- Respect the
- Respect the
- Fixed await async dependencies when accepting them during HMR
- Better typescript types
- Added colors helpers for CLI
- Enable tree-shaking for ESM external modules with named imports
- Added the
- Fixed a regression in module concatenation after implementing deferred import support
- Fixed a potential performance issue in CleanPlugin
- Avoid extra
-
5.100.2 - 2025-07-15
- Keep consistent CSS order
- Dependency without the source order attribute must keep their original index
- Keep module traversal consistent across reexport scenarios
- Extend
-
5.100.1 - 2025-07-11
- Tree-shaking unused ignored modules
- [Types] Compatibility with old Node.js versions
-
5.100.0 - 2025-07-09
- Fixed the case where an ES modules entry chunk depends on the runtime chunk hash
- Handle function exports in webpack module wrapper
- Ensure dependent chunks are imported before startup & fix duplicate export of 'default'
- Generate lose closing brace when exports are unprovided
- CleanPlugin doesn't unlink same file twice
- Fixed unexpected error codes from fs.unlink on Windows
- Typescript types
- HMR support for ES modules output
- ES module output mode now fully supports
- Added support
- Implemented tc39 Defer Module Evaluation (experiment)
- Support dynamic template literals expressions for
- Enable ES modules worker chunk loading for Node.js targets
- Improved support for destructing in DefinePlugin
- Added VirtualUrlPlugin to support
- Remove useless startup entrypoint runtime for ES modules output
- Cache
-
5.99.9 - 2025-05-20
- HMR might fail if there are new initial chunks
- Destructuring namespace import with default
- Destructuring namespace import with computed-property
- Generate valid code for es export generation for multiple module entries
- Fixed public path issue for ES modules
- Asset modules work when lazy compilation used
- Eliminate unused statements in certain scenarios
- Fixed regression with location and order of dependencies
- Fixed typescript types
-
5.99.8 - 2025-05-06
- Fixed type error with latest
- Fixed typescript types
-
5.99.7 - 2025-04-25
- Don't skip export generation for
- Fixed module library export generation for reexport (#19459)
- Avoid module concatenation in child compilation for module library (#19457)
- Ensure HMR recover gracefully when CSS module with error
- Respect
- Added missing
-
5.99.6 - 2025-04-18
-
5.99.5 - 2025-04-08
-
5.99.4 - 2025-04-08
-
5.99.3 - 2025-04-08
-
5.99.2 - 2025-04-08
-
5.99.1 - 2025-04-07
-
5.99.0 - 2025-04-07
-
5.98.0 - 2025-02-13
-
5.97.1 - 2024-12-05
-
5.97.0 - 2024-12-03
-
5.96.1 - 2024-11-01
-
5.96.0 - 2024-10-31
-
5.95.0 - 2024-09-25
-
5.94.0 - 2024-08-22
from webpack GitHub release notesFixes
Fixes
createRequireFixes
processAdditionalAssetshookModuleFactoryclassGetChunkFilenamefailure caused bydependOnentrymodule.exportsbundle to ESM libraryRawModuleand condition ofisDeferredallowInlineStartupFixes
output.environment.nodePrefixForCoreModulesoption everywhereoutput.importMetaNameoption everywhereFeatures
deferImportoption to parser optionsPerformance Improvements
requirein some placesFixes
Performance Improvements
importPhasesPluginonly when enabledeferImport(#19689)Fixes
Fixes
Features
splitChunkswhen external variables and runtimeChunk are not set.usingkeywordnew URL(...)virtual:schemePerformance Improvements
new URL(...)evaluate expressionFixes
Fixes
@ types/nodeFixes
defaultreexport (#19463)causeof any errors anderrorsof AggregateError in stats output@ types/json-schemain typesImportant
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: