Commit f981a1f
Bump webpack-dev-server from 4.15.2 to 5.2.5 (#824)
Bumps
[webpack-dev-server](https://github.com/webpack/webpack-dev-server) from
4.15.2 to 5.2.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/webpack/webpack-dev-server/releases">webpack-dev-server's
releases</a>.</em></p>
<blockquote>
<h2>v5.2.5</h2>
<h3>Patch Changes</h3>
<ul>
<li>Skip the HMR WebSocket path when forwarding upgrade requests to
user-defined proxies, so custom proxy WebSocket upgrades are no longer
intercepted by the dev server. (by <a
href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5680">#5680</a>)</li>
</ul>
<h2>v5.2.4</h2>
<h3><a
href="https://github.com/webpack/webpack-dev-server/compare/v5.2.3...v5.2.4">5.2.4</a>
(2026-05-11)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>set Cross-Origin-Resource-Policy header to prevent source code theft
over HTTP</li>
</ul>
<h2>v5.2.3</h2>
<h3><a
href="https://github.com/webpack/webpack-dev-server/compare/v5.2.2...v5.2.3">5.2.3</a>
(2026-01-12)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>add <code>cause</code> for <code>errorObject</code> (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5518">#5518</a>)
(<a
href="https://github.com/webpack/webpack-dev-server/commit/37b033da2c48335178495a1987c469a26ef3de60">37b033d</a>)</li>
<li>compatibility with event target and universal target and lazy
compilation (<a
href="https://github.com/webpack/webpack-dev-server/commit/574026c44b9c51f0bbd2f5a2836c54607289a071">574026c</a>)</li>
<li><strong>overlay:</strong> add ESC key to dismiss overlay (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5598">#5598</a>)
(<a
href="https://github.com/webpack/webpack-dev-server/commit/f91baa8831e061e2998849966b8002b40b83fb07">f91baa8</a>)</li>
<li>progress indicator styles (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5557">#5557</a>)
(<a
href="https://github.com/webpack/webpack-dev-server/commit/41a53a1accdb0a90785d82cbe8a079794eeed3c8">41a53a1</a>)</li>
<li>upgrade selfsigned to v5</li>
</ul>
<h2>v5.2.2</h2>
<h3><a
href="https://github.com/webpack/webpack-dev-server/compare/v5.2.1...v5.2.2">5.2.2</a>
(2025-06-03)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>"Overlay enabled" false positive (<a
href="https://github.com/webpack/webpack-dev-server/commit/18e72ee3e57a6e7598a6c068c0ff7c7bb6a857f1">18e72ee</a>)</li>
<li>do not crush when error is null for runtime errors (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5447">#5447</a>)
(<a
href="https://github.com/webpack/webpack-dev-server/commit/309991f947baa0354140b9930a9654ac792e20c4">309991f</a>)</li>
<li>remove unnecessary header <code>X_TEST</code> (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5451">#5451</a>)
(<a
href="https://github.com/webpack/webpack-dev-server/commit/64a6124bf1b4d158bb42a4341dd03121ae3759fa">64a6124</a>)</li>
<li>respect the <code>allowedHosts</code> option for cross-origin header
check (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5510">#5510</a>)
(<a
href="https://github.com/webpack/webpack-dev-server/commit/03d12141bf7be09dfb14e91e5c834ee63bd9a9a2">03d1214</a>)</li>
</ul>
<h2>v5.2.1</h2>
<h2><a
href="https://github.com/webpack/webpack-dev-server/compare/v5.2.0...v6.0.0">5.2.1</a>
(2025-03-26)</h2>
<h3>Security</h3>
<ul>
<li>cross-origin requests are not allowed unless allowed by
<code>Access-Control-Allow-Origin</code> header</li>
<li>requests with an IP addresses in the <code>Origin</code> header are
not allowed to connect to WebSocket server unless configured by
<code>allowedHosts</code> or it different from the <code>Host</code>
header</li>
</ul>
<p>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.</p>
<h3>Bug Fixes</h3>
<ul>
<li>prevent overlay for errors caught by React error boundaries (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5431">#5431</a>)
(<a
href="https://github.com/webpack/webpack-dev-server/commit/8c1abc903ab444d9ce99e567b9a6c603e1ec06be">8c1abc9</a>)</li>
<li>take the first network found instead of the last one, this restores
the same behavior as 5.0.4 (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5411">#5411</a>)
(<a
href="https://github.com/webpack/webpack-dev-server/commit/ffd0b86b790d372f90e17aea92cfd9def83fee96">ffd0b86</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/webpack/webpack-dev-server/blob/main/CHANGELOG.md">webpack-dev-server's
changelog</a>.</em></p>
<blockquote>
<h2>5.2.5</h2>
<h3>Patch Changes</h3>
<ul>
<li>Skip the HMR WebSocket path when forwarding upgrade requests to
user-defined proxies, so custom proxy WebSocket upgrades are no longer
intercepted by the dev server. (by <a
href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in
<a
href="https://redirect.github.com/webpack/webpack-dev-server/pull/5680">#5680</a>)</li>
</ul>
<p>All notable changes to this project will be documented in this file.
See <a
href="https://github.com/conventional-changelog/standard-version">standard-version</a>
for commit guidelines.</p>
<h3><a
href="https://github.com/webpack/webpack-dev-server/compare/v5.2.3...v5.2.4">5.2.4</a>
(2026-05-11)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>set Cross-Origin-Resource-Policy header to prevent source code theft
over HTTP</li>
</ul>
<h3><a
href="https://github.com/webpack/webpack-dev-server/compare/v5.2.2...v5.2.3">5.2.3</a>
(2026-01-12)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>add <code>cause</code> for <code>errorObject</code> (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5518">#5518</a>)
(<a
href="https://github.com/webpack/webpack-dev-server/commit/37b033da2c48335178495a1987c469a26ef3de60">37b033d</a>)</li>
<li>compatibility with event target and universal target and lazy
compilation (<a
href="https://github.com/webpack/webpack-dev-server/commit/574026c44b9c51f0bbd2f5a2836c54607289a071">574026c</a>)</li>
<li><strong>overlay:</strong> add ESC key to dismiss overlay (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5598">#5598</a>)
(<a
href="https://github.com/webpack/webpack-dev-server/commit/f91baa8831e061e2998849966b8002b40b83fb07">f91baa8</a>)</li>
<li>progress indicator styles (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5557">#5557</a>)
(<a
href="https://github.com/webpack/webpack-dev-server/commit/41a53a1accdb0a90785d82cbe8a079794eeed3c8">41a53a1</a>)</li>
<li>upgrade selfsigned to v5</li>
</ul>
<h3><a
href="https://github.com/webpack/webpack-dev-server/compare/v5.2.1...v5.2.2">5.2.2</a>
(2025-06-03)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>"Overlay enabled" false positive (<a
href="https://github.com/webpack/webpack-dev-server/commit/18e72ee3e57a6e7598a6c068c0ff7c7bb6a857f1">18e72ee</a>)</li>
<li>do not crush when error is null for runtime errors (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5447">#5447</a>)
(<a
href="https://github.com/webpack/webpack-dev-server/commit/309991f947baa0354140b9930a9654ac792e20c4">309991f</a>)</li>
<li>remove unnecessary header <code>X_TEST</code> (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5451">#5451</a>)
(<a
href="https://github.com/webpack/webpack-dev-server/commit/64a6124bf1b4d158bb42a4341dd03121ae3759fa">64a6124</a>)</li>
<li>respect the <code>allowedHosts</code> option for cross-origin header
check (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5510">#5510</a>)
(<a
href="https://github.com/webpack/webpack-dev-server/commit/03d12141bf7be09dfb14e91e5c834ee63bd9a9a2">03d1214</a>)</li>
</ul>
<h2><a
href="https://github.com/webpack/webpack-dev-server/compare/v5.2.0...v6.0.0">5.2.1</a>
(2025-03-26)</h2>
<h3>Security</h3>
<ul>
<li>cross-origin requests are not allowed unless allowed by
<code>Access-Control-Allow-Origin</code> header</li>
<li>requests with an IP addresses in the <code>Origin</code> header are
not allowed to connect to WebSocket server unless configured by
<code>allowedHosts</code> or it different from the <code>Host</code>
header</li>
</ul>
<p>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.</p>
<h3>Bug Fixes</h3>
<ul>
<li>prevent overlay for errors caught by React error boundaries (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5431">#5431</a>)
(<a
href="https://github.com/webpack/webpack-dev-server/commit/8c1abc903ab444d9ce99e567b9a6c603e1ec06be">8c1abc9</a>)</li>
<li>take the first network found instead of the last one, this restores
the same behavior as 5.0.4 (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5411">#5411</a>)
(<a
href="https://github.com/webpack/webpack-dev-server/commit/ffd0b86b790d372f90e17aea92cfd9def83fee96">ffd0b86</a>)</li>
</ul>
<h2><a
href="https://github.com/webpack/webpack-dev-server/compare/v5.1.0...v5.2.0">5.2.0</a>
(2024-12-11)</h2>
<h3>Features</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/c3ee325819f64ceb77f85dcf727b6b5ede85cbc4"><code>c3ee325</code></a>
chore(release): new release (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5682">#5682</a>)</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/60173be90873b187b41fc2009a4de253732988a1"><code>60173be</code></a>
feat: add changeset validation and release workflow (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5680">#5680</a>)</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/948d5e6089bebcd801dac2cbe3ed4f80b64f117a"><code>948d5e6</code></a>
fix(proxy): match the HMR upgrade path exactly like the ws server (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5678">#5678</a>)</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/93e8996124332a6c94c4d3e0f8e5f2cf95321c67"><code>93e8996</code></a>
fix: skip HMR websocket path when forwarding upgrades to user-defined
proxies...</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/fd401308f1cc026262880e2dab810004d6444282"><code>fd40130</code></a>
chore(release): 5.2.4</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/ece4f3617bea31fb6d3833f69a32b6c289959a49"><code>ece4f36</code></a>
chore: update deps (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5661">#5661</a>)</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/a2161442a314a06a97e25d1404d08410cb4e9c51"><code>a216144</code></a>
ci: fix test (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5658">#5658</a>)</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/df073c53a8cefb54210b43813fa6ee60364a554e"><code>df073c5</code></a>
Merge commit from fork</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/b550a702bd4246d1724513b70de0bfbe6604672f"><code>b550a70</code></a>
chore(release): 5.2.3</li>
<li><a
href="https://github.com/webpack/webpack-dev-server/commit/9704dc52e3f696ae1446428c25882745e9b65cbb"><code>9704dc5</code></a>
chore: upgrade selfsigned to v5 and remove node-forge dependency (<a
href="https://redirect.github.com/webpack/webpack-dev-server/issues/5618">#5618</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/webpack/webpack-dev-server/compare/v4.15.2...v5.2.5">compare
view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a
href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new
releaser for webpack-dev-server since your current version.</p>
</details>
<details>
<summary>Install script changes</summary>
<p>This version modifies <code>prepare</code> script that runs during
installation. Review the package contents before updating.</p>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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](https://github.com/pnp/vscode-viva/network/alerts).
</details>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Saurabh Tripathi <saurabh7019@gmail.com>1 parent f8ee880 commit f981a1f
3 files changed
Lines changed: 1179 additions & 447 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
0 commit comments