dependabot[bot] opened a new pull request, #1032: URL: https://github.com/apache/myfaces/pull/1032
Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) to 4.2.0 and updates ancestor dependencies [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware), [webpack-cli](https://github.com/webpack/webpack-cli) and [webpack-dev-server](https://github.com/webpack/webpack-dev-server). These dependencies need to be updated together. Updates `http-proxy-middleware` from 2.0.9 to 4.2.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/chimurai/http-proxy-middleware/releases">http-proxy-middleware's releases</a>.</em></p> <blockquote> <h2>v4.2.0</h2> <h2>What's Changed</h2> <ul> <li>feat(types): export OnProxyEvent type by <a href="https://github.com/Netail"><code>@Netail</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1263">chimurai/http-proxy-middleware#1263</a></li> <li>refactor(errors): use HttpProxyMiddlewareError class by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1264">chimurai/http-proxy-middleware#1264</a></li> <li>chore(package.json): bump dev deps by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1265">chimurai/http-proxy-middleware#1265</a></li> <li>test(e2e): add HttpAgent keepAlive test (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/472">#472</a>) by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1267">chimurai/http-proxy-middleware#1267</a></li> <li>test(e2e): assert invalid multipart error log by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1272">chimurai/http-proxy-middleware#1272</a></li> <li>feat(debug-proxy-errors-plugin): diagnostic message for POST + bodyParser + ECONNRESET error by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1273">chimurai/http-proxy-middleware#1273</a></li> <li>chore(debug-proxy-errors-plugin): fix BODY_PARSER_ERROR_MESSAGE formatting by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1274">chimurai/http-proxy-middleware#1274</a></li> <li>chore(package.json): update dependencies by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1275">chimurai/http-proxy-middleware#1275</a></li> <li>chore(package.json): v4.2.0 by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1276">chimurai/http-proxy-middleware#1276</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Netail"><code>@Netail</code></a> made their first contribution in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1263">chimurai/http-proxy-middleware#1263</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/chimurai/http-proxy-middleware/compare/v4.1.1...v4.2.0">https://github.com/chimurai/http-proxy-middleware/compare/v4.1.1...v4.2.0</a></p> <h2>v4.1.1</h2> <h2>What's Changed</h2> <ul> <li>fix(fixRequestBody): harden form-data stringification by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1260">chimurai/http-proxy-middleware#1260</a></li> <li>chore(package.json): v4.1.1 by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1262">chimurai/http-proxy-middleware#1262</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/chimurai/http-proxy-middleware/compare/v4.1.0...v4.1.1">https://github.com/chimurai/http-proxy-middleware/compare/v4.1.0...v4.1.1</a></p> <h2>v4.1.0</h2> <h2>What's Changed</h2> <ul> <li>docs(MIGRATION.md): restore MIGRATION.md by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1226">chimurai/http-proxy-middleware#1226</a></li> <li>ci(ci.yml): add permissions by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1227">chimurai/http-proxy-middleware#1227</a></li> <li>test: add http2 tests by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1228">chimurai/http-proxy-middleware#1228</a></li> <li>feat(definePlugin): helper function to create plugins by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1229">chimurai/http-proxy-middleware#1229</a></li> <li>docs: improve jsdoc for responseInterceptor and fixRequestBody by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1230">chimurai/http-proxy-middleware#1230</a></li> <li>chore(package.json): update dev deps by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1231">chimurai/http-proxy-middleware#1231</a></li> <li>fix(types): widen Filter callback return type by <a href="https://github.com/Mallikarjun-0"><code>@Mallikarjun-0</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1232">chimurai/http-proxy-middleware#1232</a></li> <li>chore(package.json): update to [email protected] by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1234">chimurai/http-proxy-middleware#1234</a></li> <li>test(logger): add e2e test for ENOTFOUND error log by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1233">chimurai/http-proxy-middleware#1233</a></li> <li>fix(response-interceptor): reduce responseInterceptor buffer churn by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1236">chimurai/http-proxy-middleware#1236</a></li> <li>fix(ws): handle multi-server upgrade subscription and safe proxy shutdown by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1237">chimurai/http-proxy-middleware#1237</a></li> <li>test(ws): add tests docs by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1238">chimurai/http-proxy-middleware#1238</a></li> <li>ci(publish.yml): npm stage publish by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1239">chimurai/http-proxy-middleware#1239</a></li> <li>chore(package.json): v4.1.0-beta.0 by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1240">chimurai/http-proxy-middleware#1240</a></li> <li>ci(publish.yml): unpin npm version by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1241">chimurai/http-proxy-middleware#1241</a></li> <li>chore(package.json): v4.1.0-beta.1 by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1242">chimurai/http-proxy-middleware#1242</a></li> <li>test(ws): on error event with unreachable websocket target by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1243">chimurai/http-proxy-middleware#1243</a></li> <li>feat(router): add 'res' and 'options' to router function by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1244">chimurai/http-proxy-middleware#1244</a></li> <li>test(http2): improve test by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1245">chimurai/http-proxy-middleware#1245</a></li> <li>test(router): add dynamic agent test by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1246">chimurai/http-proxy-middleware#1246</a></li> <li>feat(pathRewrite): add 'res' and 'options' to custom pathRewrite function by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1247">chimurai/http-proxy-middleware#1247</a></li> <li>docs: fix documentation drift by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1248">chimurai/http-proxy-middleware#1248</a></li> <li>fix(responseInterceptor): prevent trailer/content-length conflict by <a href="https://github.com/chimurai"><code>@chimurai</code></a> in <a href="https://redirect.github.com/chimurai/http-proxy-middleware/pull/1249">chimurai/http-proxy-middleware#1249</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/chimurai/http-proxy-middleware/blob/master/CHANGELOG.md">http-proxy-middleware's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/chimurai/http-proxy-middleware/releases/tag/v4.2.0">v4.2.0</a></h2> <ul> <li>feat(types): export OnProxyEvent type</li> <li>feat(debug-proxy-errors-plugin): diagnostic message for POST + bodyParser + ECONNRESET error</li> <li>chore(package.json): update to httpxy v0.5.4</li> </ul> <h2><a href="https://github.com/chimurai/http-proxy-middleware/releases/tag/v4.1.1">v4.1.1</a></h2> <ul> <li>fix(fixRequestBody): harden form-data stringification</li> </ul> <h2><a href="https://github.com/chimurai/http-proxy-middleware/releases/tag/v4.1.0">v4.1.0</a></h2> <ul> <li>feat(definePlugin): helper function to create plugins</li> <li>chore(package.json): update to [email protected]</li> <li>fix(ipv6): preserve credentials when normalizing bracketed IPv6 target string</li> <li>fix(ipv6): unspecified IPv6 target hostname (::)</li> <li>fix(response-interceptor): reduce responseInterceptor buffer churn</li> <li>fix(ws): handle multi-server upgrade subscription and safe proxy shutdown</li> <li>feat(router): add 'res' and 'options' to router function</li> <li>feat(pathRewrite): add 'res' and 'options' to custom pathRewrite function</li> <li>fix(responseInterceptor): prevent trailer/content-length conflict</li> <li>feat(zstd): support zstd compression in responseInterceptor and fixRequestBody</li> <li>fix(responseInterceptor): handle bodyless responses (HEAD/1xx/204/304) with content-encoding</li> <li>fix(router): harden proxy-table matching</li> </ul> <h2><a href="https://github.com/chimurai/http-proxy-middleware/releases/tag/v4.0.0">v4.0.0</a></h2> <ul> <li>fix(types): fix Logger type</li> <li>fix(error-response-plugin): sanitize input</li> <li>feat: drop node v14/v16/v18 [BREAKING CHANGE]</li> <li>refactor: replace http-proxy w/ httpxy</li> <li>chore: remove legacyCreateProxyMiddleware() [BREAKING CHANGE]</li> <li>ci: migrate from jest to vitest</li> <li>chore(package.json): esm only [BREAKING CHANGE]</li> <li>chore(package.json): bump to httpxy 0.5.0 (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1183">#1183</a>)</li> <li>chore(package.json): drop node20 [BREAKING CHANGE] (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1179">#1179</a>)</li> <li>refactor: remove deprecated url.parse() (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1176">#1176</a>)</li> <li>fix(fixRequestBody): support content-encoding on request body (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1142">#1142</a>)</li> <li>fix: prevent TypeError when ws enabled but server is undefined (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1163">#1163</a>)</li> <li>fix: applyPathRewrite logs old req.url instead of rewritten path (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1157">#1157</a>)</li> <li>feat(hono): support for hono with createHonoProxyMiddleware</li> <li>feat(ipv6): support literal IPv6 addresses in <code>target</code> and <code>forward</code> options (ie. "http://[::1]:8000")</li> <li>chore(package.json): bump httpxy to ^0.5.1</li> <li>fix(logger-plugin): support ipv6 host and handle undefined protocol/host</li> <li>ci(publish.yml): pin github.triggering_actor</li> <li>chore(package.json): node ^22.15.0 (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1218">#1218</a>)</li> <li>refactor(package): subpath 'http-proxy-middleware/hono' (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1220">#1220</a>)</li> <li>chore: node 26 support</li> </ul> <h2><a href="https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.5">v3.0.5</a></h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/chimurai/http-proxy-middleware/commit/4abb1ba10e72f4fb1208d95f3f5d45352b38e440"><code>4abb1ba</code></a> chore(package.json): v4.2.0 (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1276">#1276</a>)</li> <li><a href="https://github.com/chimurai/http-proxy-middleware/commit/d40ae3eedcc79983358dfc09b8a010062a00393c"><code>d40ae3e</code></a> chore(package.json): update dependencies (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1275">#1275</a>)</li> <li><a href="https://github.com/chimurai/http-proxy-middleware/commit/89a78d0958542605189c3712342b223959001ddf"><code>89a78d0</code></a> chore(debug-proxy-errors-plugin): fix BODY_PARSER_ERROR_MESSAGE formatting (#...</li> <li><a href="https://github.com/chimurai/http-proxy-middleware/commit/7ba87a9e74fa1a9a47eecf9e68b4cdaa254183c4"><code>7ba87a9</code></a> feat(debug-proxy-errors-plugin): debug message for bodyParser + ECONNRESET er...</li> <li><a href="https://github.com/chimurai/http-proxy-middleware/commit/006f1a45bb198f60f59a1074fe18e2565d33566c"><code>006f1a4</code></a> test(e2e): assert invalid multipart error log (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1272">#1272</a>)</li> <li><a href="https://github.com/chimurai/http-proxy-middleware/commit/22281bf762872103f244d03340c7d22ea6e294c6"><code>22281bf</code></a> test(e2e): add HttpAgent keepAlive test (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/472">#472</a>) (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1267">#1267</a>)</li> <li><a href="https://github.com/chimurai/http-proxy-middleware/commit/5b37301903e9921e9cde0a25244c2a6a836b2252"><code>5b37301</code></a> chore(package.json): bump dev deps (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1265">#1265</a>)</li> <li><a href="https://github.com/chimurai/http-proxy-middleware/commit/3695b935892099661460004c87d2128687ce7b60"><code>3695b93</code></a> refactor(errors): use HttpProxyMiddlewareError class (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1264">#1264</a>)</li> <li><a href="https://github.com/chimurai/http-proxy-middleware/commit/b9242af2c471e726a08f123ae6acc2006d294d9c"><code>b9242af</code></a> feat(types): export OnProxyEvent type (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1263">#1263</a>)</li> <li><a href="https://github.com/chimurai/http-proxy-middleware/commit/b3b98d2846aa6a0cc9a1a08b8b152a634bb4741e"><code>b3b98d2</code></a> chore(package.json): v4.1.1 (<a href="https://redirect.github.com/chimurai/http-proxy-middleware/issues/1262">#1262</a>)</li> <li>Additional commits viewable in <a href="https://github.com/chimurai/http-proxy-middleware/compare/v2.0.9...v4.2.0">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 http-proxy-middleware 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 /> Updates `webpack-cli` from 7.0.3 to 7.2.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/webpack/webpack-cli/releases">webpack-cli's releases</a>.</em></p> <blockquote> <h2>[email protected]</h2> <h3>Patch Changes</h3> <ul> <li>fix: <code>CLIPlugin</code> dynamic import interop under Bun (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-cli/pull/4799">#4799</a>)</li> </ul> <h2>[email protected]</h2> <h3>Minor Changes</h3> <ul> <li> <p>feat: allow <code>webpack-dev-server</code> v6 as an optional peer dependency (<code>^5.0.0 || ^6.0.0</code>) (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-cli/pull/4793">#4793</a>)</p> </li> <li> <p>Support <code>tsx</code> as a fallback loader for TypeScript and JSX configuration files (<code>.ts</code>, <code>.tsx</code>, <code>.cts</code>, <code>.mts</code> and <code>.jsx</code>), used when none of the loaders known to <code>interpret</code> (such as <code>ts-node</code>) are installed. (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-cli/pull/4796">#4796</a>)</p> </li> </ul> <h2>[email protected]</h2> <h3>Minor Changes</h3> <ul> <li> <p>feat(cli): refresh the <code>--help</code> output using commander's <code>configureHelp</code> API — branded headers, section dividers, colorized terms and a clearer footer. Colors and chrome collapse to plain text when output is piped or <code>--no-color</code> is used, so scripts keep working. (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-cli/pull/4779">#4779</a>)</p> </li> <li> <p>feat: support <code>.json5</code>, <code>.yaml</code>/<code>.yml</code> and <code>.toml</code> configuration files by parsing them directly, with the parser package (<code>json5</code>, <code>js-yaml</code>, <code>toml</code>) installed on demand by the user and declared as optional <code>peerDependencies</code> so the parsers resolve correctly under Yarn PnP (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-cli/pull/4777">#4777</a>)</p> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/webpack/webpack-cli/blob/main/CHANGELOG.md">webpack-cli's changelog</a>.</em></p> <blockquote> <h2>7.2.1</h2> <h3>Patch Changes</h3> <ul> <li>fix: <code>CLIPlugin</code> dynamic import interop under Bun (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-cli/pull/4799">#4799</a>)</li> </ul> <h2>7.2.0</h2> <h3>Minor Changes</h3> <ul> <li> <p>feat: allow <code>webpack-dev-server</code> v6 as an optional peer dependency (<code>^5.0.0 || ^6.0.0</code>) (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-cli/pull/4793">#4793</a>)</p> </li> <li> <p>Support <code>tsx</code> as a fallback loader for TypeScript and JSX configuration files (<code>.ts</code>, <code>.tsx</code>, <code>.cts</code>, <code>.mts</code> and <code>.jsx</code>), used when none of the loaders known to <code>interpret</code> (such as <code>ts-node</code>) are installed. (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-cli/pull/4796">#4796</a>)</p> </li> </ul> <h2>7.1.0</h2> <h3>Minor Changes</h3> <ul> <li> <p>feat(cli): refresh the <code>--help</code> output using commander's <code>configureHelp</code> API — branded headers, section dividers, colorized terms and a clearer footer. Colors and chrome collapse to plain text when output is piped or <code>--no-color</code> is used, so scripts keep working. (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-cli/pull/4779">#4779</a>)</p> </li> <li> <p>feat: support <code>.json5</code>, <code>.yaml</code>/<code>.yml</code> and <code>.toml</code> configuration files by parsing them directly, with the parser package (<code>json5</code>, <code>js-yaml</code>, <code>toml</code>) installed on demand by the user and declared as optional <code>peerDependencies</code> so the parsers resolve correctly under Yarn PnP (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-cli/pull/4777">#4777</a>)</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/webpack/webpack-cli/commit/71e34dbf3926f9f16204454afa410be6bb0facd1"><code>71e34db</code></a> chore(release): new release (<a href="https://redirect.github.com/webpack/webpack-cli/issues/4800">#4800</a>)</li> <li><a href="https://github.com/webpack/webpack-cli/commit/97c5541d915c2a038f57e7be5c33c8482b2e15cb"><code>97c5541</code></a> fix: CLIPlugin dynamic import interop under Bun (<a href="https://redirect.github.com/webpack/webpack-cli/issues/4799">#4799</a>)</li> <li><a href="https://github.com/webpack/webpack-cli/commit/40b631fcd72bfcbca1b0597fae72d71d59b17b15"><code>40b631f</code></a> chore(release): new release (<a href="https://redirect.github.com/webpack/webpack-cli/issues/4794">#4794</a>)</li> <li><a href="https://github.com/webpack/webpack-cli/commit/f896a9c47e228d247bb6bdb1d163c567c984255b"><code>f896a9c</code></a> chore(deps-dev): bump the dependencies group across 1 directory with 4 update...</li> <li><a href="https://github.com/webpack/webpack-cli/commit/b4ea5a79e949faa2ff2a86206a5453d5ed469caf"><code>b4ea5a7</code></a> test: update target flag tests for webpack 5.108 (<a href="https://redirect.github.com/webpack/webpack-cli/issues/4797">#4797</a>)</li> <li><a href="https://github.com/webpack/webpack-cli/commit/9a5fef939a41fb3183607618eb0d9dda8ce4482a"><code>9a5fef9</code></a> feat: support tsx as a fallback loader for TypeScript and JSX configs (<a href="https://redirect.github.com/webpack/webpack-cli/issues/4796">#4796</a>)</li> <li><a href="https://github.com/webpack/webpack-cli/commit/6cafa001e30c6a3f28bb35b49ddb40e6db5fbb5a"><code>6cafa00</code></a> chore(deps): bump http-proxy-middleware from 2.0.9 to 2.0.10 (<a href="https://redirect.github.com/webpack/webpack-cli/issues/4795">#4795</a>)</li> <li><a href="https://github.com/webpack/webpack-cli/commit/3bfa81ce1b7e08513e94435fe0faa9f43f7f0d58"><code>3bfa81c</code></a> docs: update (<a href="https://redirect.github.com/webpack/webpack-cli/issues/4789">#4789</a>)</li> <li><a href="https://github.com/webpack/webpack-cli/commit/d12291138e811450d08970b598fbbcbe51aae640"><code>d122911</code></a> chore: update webpack-dev-server peer dependency version (<a href="https://redirect.github.com/webpack/webpack-cli/issues/4793">#4793</a>)</li> <li><a href="https://github.com/webpack/webpack-cli/commit/3cd7423fa3639b061bc181188372a703fec71ec4"><code>3cd7423</code></a> chore(release): new release (<a href="https://redirect.github.com/webpack/webpack-cli/issues/4778">#4778</a>)</li> <li>Additional commits viewable in <a href="https://github.com/webpack/webpack-cli/compare/[email protected]@7.2.1">compare view</a></li> </ul> </details> <br /> Updates `webpack-dev-server` from 5.2.5 to 6.0.0 <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>v6.0.0</h2> <h3>Major Changes</h3> <ul> <li> <p>Bump Express to v5. See the <a href="https://expressjs.com/en/guide/migrating-5.html">Express 5 migration guide</a> for the full list of breaking changes. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Bump the <code>webpack</code> peer dependency range from <code>^5.0.0</code> to <code>^5.101.0</code>. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Drop support for Node.js < 22.15.0. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Convert the source to native ES modules. The package keeps <code>"type": "module"</code> and now exposes both an ESM and a CommonJS build via the <code>exports</code> field: ESM consumers import the native <code>lib/</code>, while CommonJS consumers <code>require()</code> a transpiled <code>dist/</code> build, allowing the package to be consumed from both ESM and CommonJS without relying on <code>require(ESM)</code> for CommonJS consumers. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5674">#5674</a>)</p> </li> <li> <p>Remove CLI flags. Use the <code>serve</code> command from <code>webpack-cli</code> together with a configuration file or the programmatic API instead. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Remove the <code>internalIP</code> and <code>internalIPSync</code> static methods from <code>Server</code>. Resolve the local IP yourself if you need it. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Remove the <code>bypass</code> option from proxy configuration. Use the <code>router</code> or <code>context</code> options provided by <code>http-proxy-middleware</code> instead. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Remove SockJS support. The <code>webSocketServer</code> option no longer accepts <code>"sockjs"</code>; use the default <code>"ws"</code> transport instead. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Remove the <code>spdy</code> dependency. Use the built-in <code>node:http2</code> module via the <code>server</code> option for HTTP/2 support. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Update <code>http-proxy-middleware</code> to v4. See the <a href="https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.0">http-proxy-middleware v3 release notes</a> and <a href="https://github.com/chimurai/http-proxy-middleware/releases/tag/v4.0.0">v4 release notes</a> for the full list of breaking changes. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Update <code>webpack-dev-middleware</code> to v8 and sync <code>originalUrl</code> for middleware compatibility. <code>server.middleware.getFilenameFromUrl()</code> is now asynchronous and resolves to <code>{ filename, extra: { stats, outputFileSystem } }</code>. See the <a href="https://github.com/webpack/webpack-dev-middleware/releases/tag/v8.0.0">webpack-dev-middleware v8 release notes</a> for details. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> </ul> <h3>Minor Changes</h3> <ul> <li> <p>Add plugin support. <code>webpack-dev-server</code> can now be used as a webpack plugin, integrating with the compiler lifecycle without explicitly passing a compiler, preventing multiple server starts on recompilation, ensuring clean shutdown, and supporting <code>MultiCompiler</code> setups with multiple independent plugin servers. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Enable the compression middleware for HTTP/2 connections. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Remove the <code>colorette</code> dependency in favor of native ANSI styling. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Update <code>chokidar</code> to v5 and extend <code>watchFiles.options.ignored</code> to support glob string patterns via <code>tinyglobby</code>. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Use <code>compiler.platform</code> to determine the target environment instead of inspecting the resolved <code>target</code> string. Universal targets (<code>"universal"</code> or <code>["web", "node"]</code>, where <code>compiler.platform.universal</code> is <code>true</code> since webpack <code>5.108.0</code>) are treated as web targets so the client runtime is injected. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Use the WHATWG <code>URL</code> API instead of the deprecated <code>url.parse</code>. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p>Bump production dependencies, notably <code>open</code> to v11 and <code>p-retry</code> to v8. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Reject cross-site requests to the internal <code>open-editor</code> and <code>invalidate</code> endpoints. They performed state-changing actions (opening a file in the editor, forcing a recompilation) on any GET request, so a page the developer visited could trigger them. They now require a same-origin request, validated via <code>Sec-Fetch-Site</code> with an <code>Origin</code>/<code>Host</code> fallback. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5691">#5691</a>)</p> </li> <li> <p>Treat loopback aliases (<code>127.0.0.1</code>, <code>::1</code>, <code>localhost</code>) as equivalent in <code>isSameOrigin</code> so the WebSocket client does not reject valid same-origin connections. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Migrate the test suite from Jest to <code>node:test</code> and set up the jsdom environment. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </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>6.0.0</h2> <h3>Major Changes</h3> <ul> <li> <p>Bump Express to v5. See the <a href="https://expressjs.com/en/guide/migrating-5.html">Express 5 migration guide</a> for the full list of breaking changes. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Bump the <code>webpack</code> peer dependency range from <code>^5.0.0</code> to <code>^5.101.0</code>. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Drop support for Node.js < 22.15.0. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Convert the source to native ES modules. The package keeps <code>"type": "module"</code> and now exposes both an ESM and a CommonJS build via the <code>exports</code> field: ESM consumers <code>import</code> the native <code>lib/</code>, while CommonJS consumers <code>require()</code> a transpiled <code>dist/</code> build — so the package works from both ESM and CommonJS, including environments where <code>require(ESM)</code> is not supported. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Remove CLI flags. Use the <code>serve</code> command from <code>webpack-cli</code> together with a configuration file or the programmatic API instead. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Remove the <code>internalIP</code> and <code>internalIPSync</code> static methods from <code>Server</code>. Resolve the local IP yourself if you need it. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Remove the <code>bypass</code> option from proxy configuration. Use the <code>router</code> or <code>context</code> options provided by <code>http-proxy-middleware</code> instead. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Remove SockJS support. The <code>webSocketServer</code> option no longer accepts <code>"sockjs"</code>; use the default <code>"ws"</code> transport instead. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Remove the <code>spdy</code> dependency. Use the built-in <code>node:http2</code> module via the <code>server</code> option for HTTP/2 support. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Update <code>http-proxy-middleware</code> to v4. See the <a href="https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.0">http-proxy-middleware v3 release notes</a> and <a href="https://github.com/chimurai/http-proxy-middleware/releases/tag/v4.0.0">v4 release notes</a> for the full list of breaking changes. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Update <code>webpack-dev-middleware</code> to v8 and sync <code>originalUrl</code> for middleware compatibility. <code>server.middleware.getFilenameFromUrl()</code> is now asynchronous and resolves to <code>{ filename, extra: { stats, outputFileSystem } }</code>. See the <a href="https://github.com/webpack/webpack-dev-middleware/releases/tag/v8.0.0">webpack-dev-middleware v8 release notes</a> for details. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> </ul> <h3>Minor Changes</h3> <ul> <li> <p>Add plugin support. <code>webpack-dev-server</code> can now be used as a webpack plugin, integrating with the compiler lifecycle without explicitly passing a compiler, preventing multiple server starts on recompilation, ensuring clean shutdown, and supporting <code>MultiCompiler</code> setups with multiple independent plugin servers. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Enable the compression middleware for HTTP/2 connections. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Remove the <code>colorette</code> dependency in favor of native ANSI styling. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Update <code>chokidar</code> to v5 and extend <code>watchFiles.options.ignored</code> to support glob string patterns via <code>tinyglobby</code>. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Use <code>compiler.platform</code> to determine the target environment instead of inspecting the resolved <code>target</code> string. Universal targets (<code>"universal"</code> or <code>["web", "node"]</code>, where <code>compiler.platform.universal</code> is <code>true</code> since webpack <code>5.108.0</code>) are treated as web targets so the client runtime is injected. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Use the WHATWG <code>URL</code> API instead of the deprecated <code>url.parse</code>. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p>Bump production dependencies, notably <code>open</code> to v11 and <code>p-retry</code> to v8. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Reject cross-site requests to the internal <code>open-editor</code> and <code>invalidate</code> endpoints. They performed state-changing actions (opening a file in the editor, forcing a recompilation) on any GET request, so a page the developer visited could trigger them. They now require a same-origin request, validated via <code>Sec-Fetch-Site</code> with an <code>Origin</code>/<code>Host</code> fallback. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5691">#5691</a>)</p> </li> <li> <p>Treat loopback aliases (<code>127.0.0.1</code>, <code>::1</code>, <code>localhost</code>) as equivalent in <code>isSameOrigin</code> so the WebSocket client does not reject valid same-origin connections. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> <li> <p>Migrate the test suite from Jest to <code>node:test</code> and set up the jsdom environment. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5674">#5674</a>)</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/webpack/webpack-dev-server/commit/05cb7921b2cd216f8caa74d2bdcc39b3f0d05bea"><code>05cb792</code></a> chore(release): new release (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5692">#5692</a>)</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/a451839256733b37c8b71d15b9e22a55db3290d1"><code>a451839</code></a> fix: handle middleware teardown in plugin mode (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5703">#5703</a>)</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/c2d23a7e9f8562c634b3f3cabf8cee18123a402b"><code>c2d23a7</code></a> fix: load ESM-only dependencies with native import() in the CommonJS build (#...</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/ba54764c65464b43ab695ab8e7f20ca8e6c92e8d"><code>ba54764</code></a> fix: reject cross-site requests to open-editor and invalidate endpoints (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5691">#5691</a>)</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/2b369b39d537331fc44df3d3c1d62f2ac4598016"><code>2b369b3</code></a> fixup!</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/08a0ea7e92b2f954d2ab88e4b9669a45108cf0c8"><code>08a0ea7</code></a> fix: ensure undefined options default to an empty object in Server constructor</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/797b9e7d780eb5202895021bbd47253774a0135d"><code>797b9e7</code></a> fix: handle undefined options in Server constructor</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/e90221cd422dbaa71b3a870538be1c88caf98361"><code>e90221c</code></a> feat: plugin support (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5650">#5650</a>)</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/4c351e1b45f6a0bcc5fb3ef1e6bfad2d0c4fdd8b"><code>4c351e1</code></a> feat: support universal platform as a web target (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5690">#5690</a>)</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/2236aa4b490a0b6abfd9e234beb3da5a32da91e7"><code>2236aa4</code></a> chore: update http-proxy-middleware to version 4.1.1 and add tests for pathRe...</li> <li>Additional commits viewable in <a href="https://github.com/webpack/webpack-dev-server/compare/v5.2.5...v6.0.0">compare view</a></li> </ul> </details> <br /> 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/apache/myfaces/network/alerts). </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
