[Snyk] Upgrade webpack-dev-server from 4.15.1 to 5.2.1 #30
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-dev-server from 4.15.1 to 5.2.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 9 versions ahead of your current version.
The recommended version was released 3 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-WEBPACKDEVSERVER-10300775
SNYK-JS-CROSSSPAWN-8303230
SNYK-JS-HTTPPROXYMIDDLEWARE-8229906
SNYK-JS-PATHTOREGEXP-8482416
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
SNYK-JS-WEBPACKDEVSERVER-10300777
SNYK-JS-COOKIE-8163060
SNYK-JS-HTTPPROXYMIDDLEWARE-9691387
SNYK-JS-HTTPPROXYMIDDLEWARE-9691389
SNYK-JS-NANOID-8492085
Release notes
Package name: webpack-dev-server
5.2.1 (2025-03-26)
Security
Access-Control-Allow-Origin
headerOrigin
header are not allowed to connect to WebSocket server unless configured byallowedHosts
or it different from theHost
headerThe above changes may make the dev server not work if you relied on such behavior, but unfortunately they carry security risks, so they were considered as fixes.
Bug Fixes
5.2.0 (2024-12-11)
Features
getClientEntry
andgetClientHotEntry
methods to get clients entries (dc642a8)Bug Fixes
5.1.0 (2024-09-03)
Features
app
option to beFunction
(by default only withconnect
compatibility frameworks) (3096148)server
option to beFunction
(#5275) (02a1c6d)connect
andconnect
compatibility frameworks which support HTTP2 (#5267) (6509a3f)Bug Fixes
platform
property to determinate the target (#5269) (c3b532c)rimraf
withrm
(#5162) (1a1561f)devServer: false
(#5272) (8b341cb)5.0.4 (2024-03-19)
Bug Fixes
5.0.3 (2024-03-12)
Bug Fixes
5.0.2 (2024-02-16)
Bug Fixes
5.0.1 (2024-02-13)
Bug Fixes
require-trusted-types-for
(#5046) (e115436)5.0.0 (2024-02-12)
Migration Guide and Changes.
4.15.2 (2024-03-20)
Bug Fixes
4.15.1 (2023-06-09)
Bug Fixes
::
withlocalhost
before openBrowser() (#4856) (874c44b)@ types/ws
(#4899) (34bcec2)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
Upgrade webpack-dev-server from 4.15.1 to 5.2.1 to address multiple security vulnerabilities and bring in the latest upstream fixes and enhancements.
Bug Fixes:
Enhancements: