[Snyk] Upgrade webpack from 5.11.0 to 5.93.0 #1991
Open
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.11.0 to 5.93.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 144 versions ahead of your current version.
The recommended version was released on 2 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-WEBPACK-3358798
Release notes
Package name: webpack
Bug Fixes
DefinePlugin
quieter under default log levelNew Features
binary
generator option for asset modules to explicitly keep source maps produced by loadersmodern-module
library value for tree shakable outputoverrideStrict
option to override strict or non-strict mode for javascript modulesBug Fixes
Bug Fixes
subtractRuntime
function for runtime logiccss/global
type now handles the exports name@ keyframe
and@ property
at-rules incss/global
typestats.hasWarnings()
method now respects theignoreWarnings
optionArrayQueue
iterator__webpack_exports_info__.a.b.canMangle
CommonJsChunkFormatPlugin
pluginchunkLoading
option to theimport
when environment is unknown and output is modulemodule
chunkFormat usedcss
module type should not allow parser to switch modeNew Features
import attributes
spec (with
keyword)node:
prefix for Node.js core modules in runtime codeimportsFields
option for resolverInitFragment
class for pluginscompileBooleanMatcher
util for pluginsInputFileSystem
andOutputFileSystem
typesesModule
generator option for CSS modulesBug Fixes
unsafeCache
option to be a proxy objectsnapshot.unmanagedPaths
optionfs
typeslayer
/supports
/media
for external CSS importsNew Features
__webpack_nonce__
for CSS chunksfetchPriority
for CSS chunksproduction
mode by default)Bug Fixes
Stats.toJson()
andStats.toString()
Perf
Bug Fixes
Math.imul
infnv1a32
to avoid loss of precision, directly hash UTF16 valuessetStatus()
of the HMR module should not return an array, which may cause infinite recursion__webpack_exports_info__.xxx.canMangle
shouldn't always same as defaultactiveState
try/catch
Dependencies & Maintenance
Bug Fixes
unmanagedPaths
in defaultspreOrderIndex
andpostOrderIndex
Performance
compareStringsNumeric
numberHash
using 32-bit FNV1a for small ranges, 64-bit for largerBug Fixes
RemoveParentModulesPlugin
via bigint arithmeticServer
andDirent
fetchPriority
to hmr runtime'sensureChunk
functionoutput.environment.arrowFunction
option/*#__PURE__*/
to generatedJSON.parse()
amd
externals andamd
librarySideEffectsFlagPlugin
with namespace re-exportsor
strictModuleErrorHandling
is now workingNew Features
false
for dev server inwebpack.config.js
node-module
option for thenode.__filename/__dirname
and enable it by default for ESM targetsnapshot.unmanagedPaths
optionMultiCompilerOptions
typeexportsOnly
option to CSS generator optionsDependencies & Maintenance
Full Changelog: v5.89.0...v5.90.0
New Features
Dependencies & Maintenance
Full Changelog: v5.88.2...v5.89.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: