-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Snyk] Upgrade webpack from 5.82.1 to 5.95.0 #136
base: master
Are you sure you want to change the base?
Conversation
Snyk has created this PR to upgrade webpack from 5.82.1 to 5.95.0. See this package in npm: webpack See this project in Snyk: https://app.snyk.io/org/sammytezzy/project/801c3797-5f02-4e73-9d0b-aff26283dffb?utm_source=github&utm_medium=referral&page=upgrade-pr
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Run & review this pull request in StackBlitz Codeflow. |
|
Reviewer's Guide by SourceryThis PR upgrades webpack from version 5.82.1 to 5.95.0 to address two medium severity Cross-site Scripting (XSS) vulnerabilities. The upgrade includes multiple bug fixes, performance improvements, and new features across 22 versions. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
Snyk has created this PR to upgrade webpack from 5.82.1 to 5.95.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 22 versions ahead of your current version.
The recommended version was released on a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
SNYK-JS-WEBPACK-7840298
Release notes
Package name: webpack
Bug 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
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
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:
Summary by Sourcery
Build: