[Snyk] Upgrade webpack from 5.30.0 to 5.74.0 #2
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.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade webpack from 5.30.0 to 5.74.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 fixes:
SNYK-JS-TERSER-2806366
Why? CVSS 5.3
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: webpack
Features
resolve.extensionAlias
option which allows to alias extensions.js
extension to imports when the file really has a.ts
extension (typescript +"type": "module"
)ProvidePlugin
Bugfixes
shareScope
option forModuleFederationPlugin
"use-credentials"
also for same origin scriptsPerformance
Extensibility
HarmonyImportDependency
for pluginsFeatures
dynamicImportMode
and prefetch and preloadimport { createRequire } from "module"
in source codeBugfixes
return"field"in Module
Developer Experience
PathData
in typingsBugfixes
__webpack_nonce__
with HMRin
operator in some casesthis.importModule
Features
Bugfixes
in
operator with nested exportsFeatures
uniqueName
when using aoutput.library
which includes placeholdersin
of a imported bindingBugfixes
chunkLoading
option in module moduleevaluateExpression
returnsnull
lazy-once
Context modulesrunAsChild
callbackFeatures
baseUri
toentry
options to configure a static base uri (the base ofnew URL()
)__webpack_exports_info__.name.canMangle
experiments.buildHttp
import.meta.webpackContext
as ESM alternative torequire.context
Bugfixes
global
to a variableexperiments.outputModule
andloaderContext.importModule
with multiple chunksoutput.clean
will keep HMR assets for at least 10s to allow HMR to access them even when compilation is faster then the browserPerformance
Developer Experience
Contributing
Revert
Features
resolve.alias
orresolve.modules
) when creating an context moduleutil/types
to node.js built-in modules__webpack_exports_info__.<name>.canMangle
apiBugfixes
stage
option when instrumenting plugins for the ProfilingPlugin#
in paths of loadersexperiments.buildHttp
Contributing
Developer Experience
Features
__webpack_module__
and__webpack_module__.id
to the apiBugfixes
Features
experiments.css
SyncModuleIdsPlugin
to sync module ids between server and client compilationDeterministicModuleIdsPlugin
to allow to generate equal idsDeveloper Experience
null
to errors in callbacksBugfixes
experiments.css
|
webpack-hot-middleware/client
from lazy compilationContributing
Commit messages
Package name: webpack
Compare
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:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs