[Snyk] Upgrade webpack from 5.94.0 to 5.99.9 #41
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.99.9.
ℹ️ 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 16 versions ahead of your current version.
The recommended version was released 2 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-CROSSSPAWN-8303230
SNYK-JS-HTTPPROXYMIDDLEWARE-8229906
SNYK-JS-NANOID-8492085
SNYK-JS-PATHTOREGEXP-8482416
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
SNYK-JS-COOKIE-8163060
SNYK-JS-HTTPPROXYMIDDLEWARE-9691387
SNYK-JS-HTTPPROXYMIDDLEWARE-9691389
SNYK-JS-BRACEEXPANSION-9789073
Release notes
Package name: webpack
-
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
- Respect public path for ES modules
- Fixed generation of module for
- Always apply
- Faster logic for dead control flow
- Typescript types
-
5.99.5 - 2025-04-08
- Control dead flow for labeled and blockless statements
-
5.99.4 - 2025-04-08
- Fixed terminated state for
-
5.99.3 - 2025-04-08
- Fixed dead control flow with deep nested
-
5.99.2 - 2025-04-08
- Dead control flow for exotic cases
-
5.99.1 - 2025-04-07
- Dead control flow for many cases
-
5.99.0 - 2025-04-07
- Fixed a lot of types
- Fixed runtime error when using asset module as entrypoint and runtimeChunk
- JSON generator now preserves
- Fixed when entry module isn't executed when targeting webworker with a runtime chunk
- Do not duplicate modules with import attributes and reexport
- The
- Use a valid output path for errored asset modules
- Remove BOM from JavaScript and CSS files when loader was not used
- Create export for externals for module/modern-module library
- Export unprovided variables for
- Forward semicolons from
- Use
- [CSS] Fixed profiling plugin for CSS
- [CSS] Avoid extra module.export output for CSS module
- Add dead control flow check
- Handle
- Added ability to generate custom error content for generators
- Fixed excessive calls of getAllReferences
- Optimize loc for monomorphic inline caching
- Switch on
-
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
@ types/nodeFixes
defaultreexport (#19463)causeof any errors anderrorsof AggregateError in stats output@ types/json-schemain typesFixes
modulelibrary when mixing commonjs and esm modulesFlagDependencyExportsPluginfor libraries where it requiredFixes
Fixes
if/elseFixes
if/elseFixes
Fixes
Fixes
__proto__propertymoduleandmoduleESM libraries have been union and code generation has been improvedcommonjs-staticlibrarymeta.webpackASTxxhash64forcache.hashAlgorithmwhenexperiments.futureDefaultsenabledFeatures
new Worker(import.meta.url)andnew Worker(new URL(import.meta.url))syntaxPerformance Improvements
Chores
stricttypes fortypescriptImportant
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:
Summary by Sourcery
Upgrade webpack to v5.99.9 to mitigate multiple security vulnerabilities and include latest fixes
Bug Fixes:
Build: