[Snyk] Upgrade webpack from 5.98.0 to 5.99.8 #925
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.98.0 to 5.99.8.
ℹ️ 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 9 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: webpack
-
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
- Avoid the deprecation message #19062 by @ alexander-akait
- Should not escape CSS local ident in JS #19060 by @ JSerFeng
- MF parse range not compatible with Safari #19083 by @ alexander-akait
- Preserve
- Use module IDs for final render order #19184 by @ dmichon-msft
- Strip
- Respect
- Node async WASM loader generation #19210 by @ ashi009
- Correct
- Improve
- Optimize assign-depths #19193 by @ dmichon-msft
- Use
- Bump
- Fixed incorrect typecast in
- Improved
- Typo fix #19205 by @ hai-x
- Adopt the new webpack governance model #18804 by @ ovflowd
- Implement
- CI fix #19196 by @ alexander-akait
- @ Andarist made their first contribution in #19156
- @ Vansh5632 made their first contribution in #19101
- @ ashi009 made their first contribution in #19210
- @ ovflowd made their first contribution in #18804
from webpack GitHub release notesFixes
@ 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 fortypescriptFixes
filenameTemplatein new split chunk #19104 by @ henryqdineenblob:protocol when public path isauto#19199 by @ alexander-akaitoutput.charseteverywhere #19202 by @ alexander-akaitBuildInfoandBuildMetatype definitions #19200 by @ inottnPerformance Improvements
FlagDependencyExportsPluginfor large JSON by depth #19058 by @ hai-xstartsWithfor matching instead of converting the string to a regex #19207 by @ inottnChores
nanoidfrom 3.3.7 to 3.3.8 #19063 by @ dependabotDefaultStatsFactoryPlugin#19156 by @ Andaristreadme.mdby adding video links for understanding webpack #19101 by @ Vansh5632Features
/* webpackIgnore: true */forrequire.resolve#19201 by @ alexander-akaitContinuous Integration
New Contributors
Full Changelog: v5.97.1...v5.98.0
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: