Skip to content

build(deps-dev): bump webpack-dev-server from 4.11.1 to 5.2.4#7176

Open
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/npm_and_yarn/webpack-dev-server-5.2.4
Open

build(deps-dev): bump webpack-dev-server from 4.11.1 to 5.2.4#7176
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/npm_and_yarn/webpack-dev-server-5.2.4

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 19, 2026

Bumps webpack-dev-server from 4.11.1 to 5.2.4.

Release notes

Sourced from webpack-dev-server's releases.

v5.2.4

5.2.4 (2026-05-11)

Bug Fixes

  • set Cross-Origin-Resource-Policy header to prevent source code theft over HTTP

v5.2.3

5.2.3 (2026-01-12)

Bug Fixes

  • add cause for errorObject (#5518) (37b033d)
  • compatibility with event target and universal target and lazy compilation (574026c)
  • overlay: add ESC key to dismiss overlay (#5598) (f91baa8)
  • progress indicator styles (#5557) (41a53a1)
  • upgrade selfsigned to v5

v5.2.2

5.2.2 (2025-06-03)

Bug Fixes

  • "Overlay enabled" false positive (18e72ee)
  • do not crush when error is null for runtime errors (#5447) (309991f)
  • remove unnecessary header X_TEST (#5451) (64a6124)
  • respect the allowedHosts option for cross-origin header check (#5510) (03d1214)

v5.2.1

5.2.1 (2025-03-26)

Security

  • cross-origin requests are not allowed unless allowed by Access-Control-Allow-Origin header
  • requests with an IP addresses in the Origin header are not allowed to connect to WebSocket server unless configured by allowedHosts or it different from the Host header

The 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

  • prevent overlay for errors caught by React error boundaries (#5431) (8c1abc9)
  • take the first network found instead of the last one, this restores the same behavior as 5.0.4 (#5411) (ffd0b86)

v5.2.0

5.2.0 (2024-12-11)

Features

... (truncated)

Changelog

Sourced from webpack-dev-server's changelog.

5.2.4 (2026-05-11)

Bug Fixes

  • set Cross-Origin-Resource-Policy header to prevent source code theft over HTTP

5.2.3 (2026-01-12)

Bug Fixes

  • add cause for errorObject (#5518) (37b033d)
  • compatibility with event target and universal target and lazy compilation (574026c)
  • overlay: add ESC key to dismiss overlay (#5598) (f91baa8)
  • progress indicator styles (#5557) (41a53a1)
  • upgrade selfsigned to v5

5.2.2 (2025-06-03)

Bug Fixes

  • "Overlay enabled" false positive (18e72ee)
  • do not crush when error is null for runtime errors (#5447) (309991f)
  • remove unnecessary header X_TEST (#5451) (64a6124)
  • respect the allowedHosts option for cross-origin header check (#5510) (03d1214)

5.2.1 (2025-03-26)

Security

  • cross-origin requests are not allowed unless allowed by Access-Control-Allow-Origin header
  • requests with an IP addresses in the Origin header are not allowed to connect to WebSocket server unless configured by allowedHosts or it different from the Host header

The 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

  • prevent overlay for errors caught by React error boundaries (#5431) (8c1abc9)
  • take the first network found instead of the last one, this restores the same behavior as 5.0.4 (#5411) (ffd0b86)

5.2.0 (2024-12-11)

Features

  • added getClientEntry and getClientHotEntry methods to get clients entries (dc642a8)

Bug Fixes

... (truncated)

Commits
Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.11.1 to 5.2.4.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/main/CHANGELOG.md)
- [Commits](webpack/webpack-dev-server@v4.11.1...v5.2.4)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-version: 5.2.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 19, 2026
@dependabot dependabot Bot requested review from a team and jdstrand as code owners May 19, 2026 06:27
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 19, 2026
@blegesse-w
Copy link
Copy Markdown
Member

looks like all three ci failures are due to @types/express-serve-static-core type incompatibility with the project's TypeScript version. The new webpack-dev-server v5 pulls in a newer version of @types/express-serve-static-core that uses template literal types (like${infer P}${Tail}). The current TypeScript version is just most likely too old to understand this syntax

@blegesse-w
Copy link
Copy Markdown
Member

blegesse-w commented May 20, 2026

@jdstrand hey! this dependabot bump (webpack-dev-server 4to 5) is failing CI because the new @types/express-serve-static-core dropped support for our TS version (4.0.2). I think we have tow options:

  1. Pin @types/express-serve-static-core to 4.17.x via resolutions so we get the security fix without breaking types
  2. Skip this bump since it's a dev-only dep with a moderate severity alert

Do you have a preference?

@jdstrand
Copy link
Copy Markdown
Contributor

@jdstrand hey! this dependabot bump (webpack-dev-server 4to 5) is failing CI because the new @types/express-serve-static-core dropped support for our TS version (4.0.2). I think we have tow options:

1. Pin @types/express-serve-static-core to 4.17.x via resolutions so we get the security fix without breaking types
2. Skip this bump since it's a dev-only dep with a moderate severity alert

Do you have a preference?

Thanks. I do not other than to say that whatever we can do to keep moving forward, even if piecemeal, is good since at some point our hand will be forced (and that never happens at a convenient time).

@blegesse-w
Copy link
Copy Markdown
Member

@jdstrand hey! this dependabot bump (webpack-dev-server 4to 5) is failing CI because the new @types/express-serve-static-core dropped support for our TS version (4.0.2). I think we have tow options:

1. Pin @types/express-serve-static-core to 4.17.x via resolutions so we get the security fix without breaking types
2. Skip this bump since it's a dev-only dep with a moderate severity alert

Do you have a preference?

Thanks. I do not other than to say that whatever we can do to keep moving forward, even if piecemeal, is good since at some point our hand will be forced (and that never happens at a convenient time).

sounds good! Went with option 1 and added a yarn resolution to pin @types/express-serve-static-core to 4.17.21 (this is the latest ersion that doesn't use template literal types incompatible with the TS 4.0.2). Let's see if the checks pass now.

@blegesse-w
Copy link
Copy Markdown
Member

All CI jobs pass except monitor-ci-tests. I don't think it's related to this pr though. looks like infra failure. I will try re-running

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants