Snyk has created this PR to upgrade webpack from 5.24.2 to 5.38.1.
: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 31 versions ahead of your current version.
The recommended version was released 6 days ago, on 2021-05-27.
When using multiple configurations in watch mode and calling Watching.invalidate, dependencies and parallelism of the config array is now respected correctly
Fix a crash when accessing the stats after the next compilation has started
fix collecting changes when using Watching.suspend
fix schema of RuleCondition.not and allow passing a condition directly instead of only an array
Developer Experience
typings accept a ReadonlyArray of configurations now
improve memory usage when using the filesystem cache
When reading a file into a Buffer and picking smaller slices of the Buffer
the small slices still keep a reference to the large original Buffer.
The leads to increased memory usage. A fix would be to clone the slice into
a smaller Buffer when wasting too much memory, but this has a performance cost.
There is now a new option cache.allowCollectingMemory which controls that.
For one-off builds you probably want allowCollectingMemory: false and
for watch builds you probably want allowCollectingMemory: true.
It defaults to false in production mode and true in development mode.
Snyk has created this PR to upgrade webpack from 5.24.2 to 5.38.1.
Release notes
Package name: webpack
Performance
Features
new URL("data:...", import.meta.url)
is now supportedmodule.rules[].scheme
as condition to match the request scheme (likedata
,http
, etc.)Bugfixes
Performance
Bugfixes
Watching.invalidate
,dependencies
andparallelism
of the config array is now respected correctlystats
after the next compilation has startedWatching.suspend
RuleCondition.not
and allow passing a condition directly instead of only an arrayDeveloper Experience
Contributing
Features
output.trustedTypes
Bugfixes
dependOn
null
in fs callbacksDeveloper Experiences
Bugfixes
output.clean
is against this assumptionPerformance
cache.profile
(type: "filesystem"
only) flag for more info about (de)serialization timingsFeatures
Performance
Bugfixes
__webpack_exports__ is not defined
error with some library typesperformance
Bugfixes
#
in pathPerformance
Features
resolve.extensions
and handle them in this orderpnpapi
as builtin external when usingtarget: "node"
Bugfixes
target: "node"
Performance
Developer Experience
store: 'idle'
from schema descriptionCommit 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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI2ZTAyMmNhYy03NDQ2LTQ2OTctYjFlNi1iNDA5YjY5ODQ4OTAiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjZlMDIyY2FjLTc0NDYtNDY5Ny1iMWU2LWI0MDliNjk4NDg5MCJ9fQ==)
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs