Skip to content

Commit 0c79a4a

Browse files
chore: Bump webpack-dev-server from 4.15.1 to 5.2.1 in the npm_and_yarn group across 1 directory (#3439)
Bumps the npm_and_yarn group with 1 update in the / directory: [webpack-dev-server](https://github.com/webpack/webpack-dev-server). Updates `webpack-dev-server` from 4.15.1 to 5.2.1 <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.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> <h2>v5.2.0</h2> <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> <ul> <li>added <code>getClientEntry</code> and <code>getClientHotEntry</code> methods to get clients entries (<a href="https://github.com/webpack/webpack-dev-server/commit/dc642a832d45c23c5c7a08fbf29995e0db7e0d95">dc642a8</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li>speed up initial client bundling (<a href="https://github.com/webpack/webpack-dev-server/commit/145b5d01610a16468fc32719a20366682b0e8572">145b5d0</a>)</li> </ul> <h2>v5.1.0</h2> <h2><a href="https://github.com/webpack/webpack-dev-server/compare/v5.0.4...v5.1.0">5.1.0</a> (2024-09-03)</h2> <h3>Features</h3> <ul> <li>add visual progress indicators (<a href="https://github.com/webpack/webpack-dev-server/commit/a8f40b74e6439a8281b9fe8868eb9db7e4c5de50">a8f40b7</a>)</li> <li>added the <code>app</code> option to be <code>Function</code> (by default only with <code>connect</code> compatibility frameworks) (<a href="https://github.com/webpack/webpack-dev-server/commit/3096148746c906105c4424352f5b5ad1bff0fd4f">3096148</a>)</li> <li>allow the <code>server</code> option to be <code>Function</code> (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5275">#5275</a>) (<a href="https://github.com/webpack/webpack-dev-server/commit/02a1c6d788f5fc47c11cc7d910fd1b5e17aed886">02a1c6d</a>)</li> <li>http2 support for <code>connect</code> and <code>connect</code> compatibility frameworks which support HTTP2 (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5267">#5267</a>) (<a href="https://github.com/webpack/webpack-dev-server/commit/6509a3fd3eb5decb61f60a9f2db97d76f71ecb99">6509a3f</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li>check the <code>platform</code> property to determinate the target (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5269">#5269</a>) (<a href="https://github.com/webpack/webpack-dev-server/commit/c3b532c6360317319793dcda22c76fbfc05fbdcf">c3b532c</a>)</li> <li>ipv6 output (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5270">#5270</a>) (<a href="https://github.com/webpack/webpack-dev-server/commit/06005e7cb99e4c412b968ed3fb786acfb8c2e037">06005e7</a>)</li> <li>replace <code>rimraf</code> with <code>rm</code> (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5162">#5162</a>) (<a href="https://github.com/webpack/webpack-dev-server/commit/1a1561f09bdfa7a98434d7d9cd62e323b887dfbf">1a1561f</a>)</li> <li>replace default gateway (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5255">#5255</a>) (<a href="https://github.com/webpack/webpack-dev-server/commit/f5f09024ff4fe6625aa94bcd69439462d74013f0">f5f0902</a>)</li> <li>support <code>devServer: false</code> (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5272">#5272</a>) (<a href="https://github.com/webpack/webpack-dev-server/commit/8b341cb8c1dc01cef62c70959620cd0cbd87fee7">8b341cb</a>)</li> </ul> <h2>v5.0.4</h2> <h3><a href="https://github.com/webpack/webpack-dev-server/compare/v5.0.3...v5.0.4">5.0.4</a> (2024-03-19)</h3> <!-- 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/master/CHANGELOG.md">webpack-dev-server's changelog</a>.</em></p> <blockquote> <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> <ul> <li>added <code>getClientEntry</code> and <code>getClientHotEntry</code> methods to get clients entries (<a href="https://github.com/webpack/webpack-dev-server/commit/dc642a832d45c23c5c7a08fbf29995e0db7e0d95">dc642a8</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li>speed up initial client bundling (<a href="https://github.com/webpack/webpack-dev-server/commit/145b5d01610a16468fc32719a20366682b0e8572">145b5d0</a>)</li> </ul> <h2><a href="https://github.com/webpack/webpack-dev-server/compare/v5.0.4...v5.1.0">5.1.0</a> (2024-09-03)</h2> <h3>Features</h3> <ul> <li>add visual progress indicators (<a href="https://github.com/webpack/webpack-dev-server/commit/a8f40b74e6439a8281b9fe8868eb9db7e4c5de50">a8f40b7</a>)</li> <li>added the <code>app</code> option to be <code>Function</code> (by default only with <code>connect</code> compatibility frameworks) (<a href="https://github.com/webpack/webpack-dev-server/commit/3096148746c906105c4424352f5b5ad1bff0fd4f">3096148</a>)</li> <li>allow the <code>server</code> option to be <code>Function</code> (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5275">#5275</a>) (<a href="https://github.com/webpack/webpack-dev-server/commit/02a1c6d788f5fc47c11cc7d910fd1b5e17aed886">02a1c6d</a>)</li> <li>http2 support for <code>connect</code> and <code>connect</code> compatibility frameworks which support HTTP2 (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5267">#5267</a>) (<a href="https://github.com/webpack/webpack-dev-server/commit/6509a3fd3eb5decb61f60a9f2db97d76f71ecb99">6509a3f</a>)</li> </ul> <h3>Bug Fixes</h3> <ul> <li>check the <code>platform</code> property to determinate the target (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5269">#5269</a>) (<a href="https://github.com/webpack/webpack-dev-server/commit/c3b532c6360317319793dcda22c76fbfc05fbdcf">c3b532c</a>)</li> <li>ipv6 output (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5270">#5270</a>) (<a href="https://github.com/webpack/webpack-dev-server/commit/06005e7cb99e4c412b968ed3fb786acfb8c2e037">06005e7</a>)</li> <li>replace <code>rimraf</code> with <code>rm</code> (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5162">#5162</a>) (<a href="https://github.com/webpack/webpack-dev-server/commit/1a1561f09bdfa7a98434d7d9cd62e323b887dfbf">1a1561f</a>)</li> <li>replace default gateway (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5255">#5255</a>) (<a href="https://github.com/webpack/webpack-dev-server/commit/f5f09024ff4fe6625aa94bcd69439462d74013f0">f5f0902</a>)</li> <li>support <code>devServer: false</code> (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5272">#5272</a>) (<a href="https://github.com/webpack/webpack-dev-server/commit/8b341cb8c1dc01cef62c70959620cd0cbd87fee7">8b341cb</a>)</li> </ul> <h3><a href="https://github.com/webpack/webpack-dev-server/compare/v5.0.3...v5.0.4">5.0.4</a> (2024-03-19)</h3> <h3>Bug Fixes</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/0d22a08cc96deeb4421251ff41a915dcda1b59c5"><code>0d22a08</code></a> chore(release): 5.2.1</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/6045b1e9d63078fb24cac52eb361b7356944cddd"><code>6045b1e</code></a> chore(deps): update (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5444">#5444</a>)</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/ffd0b86b790d372f90e17aea92cfd9def83fee96"><code>ffd0b86</code></a> fix: take the first network found instead of the last one, this restores the ...</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/9ea7b0856a72b92b1444ef6a0087f90b883500dd"><code>9ea7b08</code></a> ci: update dependency-review-action (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5442">#5442</a>)</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/5c9378bb01276357d7af208a0856ca2163db188e"><code>5c9378b</code></a> Merge commit from fork</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/d2575ad8dfed9207ed810b5ea0ccf465115a2239"><code>d2575ad</code></a> Merge commit from fork</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/8c1abc903ab444d9ce99e567b9a6c603e1ec06be"><code>8c1abc9</code></a> fix: prevent overlay for errors caught by React error boundaries (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5431">#5431</a>)</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/5a39c7099ab2908251ff759f311e1d4e85b4b3e8"><code>5a39c70</code></a> ci: update codecov/codecov-action to v5 (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5406">#5406</a>)</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/55220a800ba4e30dbde2d98785ecf4c80b32f711"><code>55220a8</code></a> chore(deps-dev): bump the dependencies group across 1 directory with 4 update...</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/09f6f8eb46abce836acbc1b8c892e348106c924e"><code>09f6f8e</code></a> chore(deps): bump the dependencies group across 1 directory with 2 updates (#...</li> <li>Additional commits viewable in <a href="https://github.com/webpack/webpack-dev-server/compare/v4.15.1...v5.2.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=webpack-dev-server&package-manager=npm_and_yarn&previous-version=4.15.1&new-version=5.2.1)](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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/MetaMask/snaps/network/alerts). </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: MetaMask Bot <[email protected]>
1 parent 8bdbb3b commit 0c79a4a

File tree

2 files changed

+221
-185
lines changed

2 files changed

+221
-185
lines changed

packages/test-snaps/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
"typescript": "~5.3.3",
115115
"webpack": "^5.97.1",
116116
"webpack-cli": "^5.1.4",
117-
"webpack-dev-server": "^4.15.1"
117+
"webpack-dev-server": "^5.2.1"
118118
},
119119
"engines": {
120120
"node": "^18.16 || >=20"

0 commit comments

Comments
 (0)