Snyk has created this PR to upgrade webpack from 5.33.2 to 5.65.0.
:information_source: 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 57 versions ahead of your current version.
The recommended version was released 23 days ago, on 2021-12-06.
parser.javascript.reexportExportsPresence: false allows to disable warnings for non-existing exports during the migration from export ... from "..." to export type ... from "..." for type reexports in TypeScript
add experiments.backCompat: false to disable some expensive deprecations for better performance
Bugfixes
use ['catch'] instead of .catch for better ES3 support
fix removed parentheses when using new (require("...")).Something()
fix { require } object literals
splitChunks.chunks option is now correctly used for splitChunks.fallbackCacheGroup.maxSize too
fix schema of listen option, allow to omit port
add better support for Promises from different isolates
Developer Experience
add typings for the webpack API that is available within modules
use /// <reference types="webpack/module" /> to use the typings in typescript modules
Snyk has created this PR to upgrade webpack from 5.33.2 to 5.65.0.
Release notes
Package name: webpack
Features
undefined
nowBugfixes
singleton
flag withoutrequiredVersion
in Module Federationwatchpack
for context time info bugfixPerformance
Developer Experience
output.globalObject
contains a non-trival expressionscript
type external with invalid syntaxResolver
,StatsOptions
andResolvePluginInstance
Preparations for the future
hashDigestLength
will default to 16 in webpack 6 (experiments.futureDefaults
)Bugfixes
Performance
Developer Experience
Performance
Infinity
is used in configurationBugfixes
Bugfixes
require(...).property
inrequire.ensure
output.clean: true
unsafeCache
withinmanagedPaths
(node_modules)Features
asyncChunks: boolean
option to disable creation of async chunksBugfixes
experiments.backCompat: false
Performance
Features
chunkLoading: false
to disable on-demand loadingBugfixes
import 'single-quote'
in esm build dependenciesBugfixes
__system_context__
injection when using thelibrary
option on entrypointexportsPresence: "error"
by default infutureDefaults
exportPresence
->exportsPresence
typoexperiments.cacheUnaffected
Bugfix
;
Features
parser.javascript.reexportExportsPresence: false
allows to disable warnings for non-existing exports during the migration fromexport ... from "..."
toexport type ... from "..."
for type reexports in TypeScriptexperiments.backCompat: false
to disable some expensive deprecations for better performanceBugfixes
['catch']
instead of.catch
for better ES3 supportnew (require("...")).Something()
{ require }
object literalssplitChunks.chunks
option is now correctly used forsplitChunks.fallbackCacheGroup.maxSize
toolisten
option, allow to omitport
Developer Experience
/// <reference types="webpack/module" />
to use the typings in typescript modules"types": [..., "webpack/module"]
in tsconfigCommit messages
Package name: webpack
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:![](https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJjYmI3ZWRlMy1iNmJmLTRjNDgtYmFlOS01ODg3NzY1OGExZGYiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImNiYjdlZGUzLWI2YmYtNGM0OC1iYWU5LTU4ODc3NjU4YTFkZiJ9fQ==)
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs