[Snyk] Upgrade webpack from 4.47.0 to 5.96.1 #235
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 4.47.0 to 5.96.1.
ℹ️ 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 244 versions ahead of your current version.
The recommended version was released on 22 days ago.
Issues fixed by the recommended upgrade:
SNYK-JS-BRACES-6838727
SNYK-JS-MICROMATCH-6838728
SNYK-JS-UNSETVALUE-2400660
SNYK-JS-WEBPACK-7840298
Release notes
Package name: webpack
Bug Fixes
@ types/eslint-scope
to dependencieSvalidate
Bug Fixes
output.environment.dynamicImport
to determine chunk format when no browserslist or targetoptimization.avoidEntryIife
output.devtoolNamespace
importModule
on the execution stageexport
andimport
css/auto
considers a module depending on its filename ascss
(pure CSS) orcss/local
, before it wascss/global
andcss/local
node
targeturl()
s and@ import
parsingNew Features
/* webpackIgnore: true */
for CSS filessrc()
supportBug Fixes
default
for import context element dependencymodule
andimport
inmodule-import
for externalsimport
'sEnvironmentPlugin
default values types less strictNew Features
optimization.avoidEntryIife
option (true
by default for theproduction
mode)Performance
Bug Fixes
data
/http
/https
protocols in source mapsbigint
optimistic when browserslist not foundNew Features
webpackIgnore
fornew URL()
construction@ import
pathinfo supportSecurity
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
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: