dependabot[bot] opened a new pull request, #11977: URL: https://github.com/apache/nifi/pull/11977
Removes [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware). It's no longer used after updating ancestor dependency [webpack-dev-server](https://github.com/webpack/webpack-dev-server). These dependencies need to be updated together. Removes `webpack-dev-middleware` Updates `webpack-dev-server` from 4.7.3 to 6.1.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.1.0</h2> <h3>Minor Changes</h3> <ul> <li> <p>Run as a plugin from the top-level <code>plugins</code> of a multi-configuration, serving every configuration from one server. (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5765">#5765</a>)</p> </li> <li> <p>Fix client progress modes, socket URL credentials, overlay and progress lifecycles, server startup error handling and local IP lookup; export <code>BaseServer</code>. (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5739">#5739</a>)</p> </li> <li> <p>The browser client, the error overlay and both transports now come from webpack-dev-middleware, so this package has no client code of its own. Every option keeps its name and meaning, <code>allowedHosts</code> and the origin checks still apply here, and this server's <code>{ type }</code> messages are still sent next to the middleware's, so React Refresh keeps working. <code>client/index.js</code>, <code>client/socket.js</code> and <code>client/clients/WebSocketClient.js</code> still resolve while the client's internal files are gone, and the console wording, the overlay and the progress indicator are now the middleware's. <code>client.webSocketTransport: "sse"</code> adds Server-Sent Events, a universal build now runs in Node without the client throwing, and <code>sendMessage()</code>, <code>getClientEntry()</code> and <code>getClientHotEntry()</code> still work, a subclass's overrides included, but are deprecated. (by <a href="https://github.com/alexander-akait"><co de>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5750">#5750</a>)</p> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p>Keep hot and live reload working after a cancelled "Leave site?" dialog. (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5744">#5744</a>)</p> </li> <li> <p>Keep the overlay for a runtime error thrown while the page is still loading. (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5745">#5745</a>)</p> </li> <li> <p>Validate the <code>Host</code> and <code>Origin</code> headers and enforce same-origin checks on WebSocket upgrade requests handled by proxies with <code>ws: true</code>. This prevents cross-origin pages from connecting to proxied WebSocket services through the development server. (by <a href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a> in <a href="https://github.com/webpack/webpack-dev-server/commit/cb1534a097f21cf611995d70d83eb4ead69d1b64"><code>cb1534a</code></a>)</p> </li> <li> <p>Validate options with a precompiled schema to cut ~115ms from startup. (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5746">#5746</a>)</p> </li> <li> <p>Validate Host and HTTP/2 authority headers independently of Origin protocol exceptions, including when <code>allowedHosts</code> is <code>"all"</code>. Handle malformed open-editor URLs with a controlled response and parse their query without relying on the Host header. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5771">#5771</a>)</p> </li> </ul> <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>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>)</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.1.0</h2> <h3>Minor Changes</h3> <ul> <li> <p>Run as a plugin from the top-level <code>plugins</code> of a multi-configuration, serving every configuration from one server. (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5765">#5765</a>)</p> </li> <li> <p>Fix client progress modes, socket URL credentials, overlay and progress lifecycles, server startup error handling and local IP lookup; export <code>BaseServer</code>. (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5739">#5739</a>)</p> </li> <li> <p>The browser client, the error overlay and both transports now come from webpack-dev-middleware, so this package has no client code of its own. Every option keeps its name and meaning, <code>allowedHosts</code> and the origin checks still apply here, and this server's <code>{ type }</code> messages are still sent next to the middleware's, so React Refresh keeps working. <code>client/index.js</code>, <code>client/socket.js</code> and <code>client/clients/WebSocketClient.js</code> still resolve while the client's internal files are gone, and the console wording, the overlay and the progress indicator are now the middleware's. <code>client.webSocketTransport: "sse"</code> adds Server-Sent Events, a universal build now runs in Node without the client throwing, and <code>sendMessage()</code>, <code>getClientEntry()</code> and <code>getClientHotEntry()</code> still work, a subclass's overrides included, but are deprecated. (by <a href="https://github.com/alexander-akait"><co de>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5750">#5750</a>)</p> </li> </ul> <h3>Patch Changes</h3> <ul> <li> <p>Keep hot and live reload working after a cancelled "Leave site?" dialog. (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5744">#5744</a>)</p> </li> <li> <p>Keep the overlay for a runtime error thrown while the page is still loading. (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5745">#5745</a>)</p> </li> <li> <p>Validate the <code>Host</code> and <code>Origin</code> headers and enforce same-origin checks on WebSocket upgrade requests handled by proxies with <code>ws: true</code>. This prevents cross-origin pages from connecting to proxied WebSocket services through the development server. (by <a href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a> in <a href="https://github.com/webpack/webpack-dev-server/commit/cb1534a097f21cf611995d70d83eb4ead69d1b64"><code>cb1534a</code></a>)</p> </li> <li> <p>Validate options with a precompiled schema to cut ~115ms from startup. (by <a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5746">#5746</a>)</p> </li> <li> <p>Validate Host and HTTP/2 authority headers independently of Origin protocol exceptions, including when <code>allowedHosts</code> is <code>"all"</code>. Handle malformed open-editor URLs with a controlled response and parse their query without relying on the Host header. (by <a href="https://github.com/bjohansebas"><code>@bjohansebas</code></a> in <a href="https://redirect.github.com/webpack/webpack-dev-server/pull/5771">#5771</a>)</p> </li> </ul> <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> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/webpack/webpack-dev-server/commit/50f2c4349b64fed708cf7cee0b65d31e40b4595b"><code>50f2c43</code></a> chore(release): new release (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5740">#5740</a>)</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/807c441233bc4ef5f81f9a800393c36e18122cfa"><code>807c441</code></a> fix: validate host headers and handle malformed editor URLs (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5771">#5771</a>)</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/b4eb7976e7b175f8b9ae51e44ecc50dc774f3a06"><code>b4eb797</code></a> feat: run as a plugin from the top-level plugins of a multi-configuration (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5">#5</a>...</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/9915359090c4b8862fcbfacdb30dd447a8aad3d5"><code>9915359</code></a> fix: update generated websocket proxy types (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5767">#5767</a>)</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/cb1534a097f21cf611995d70d83eb4ead69d1b64"><code>cb1534a</code></a> Merge commit from fork</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/be1ca904cca85fa7867a1fb672e8f3df12969460"><code>be1ca90</code></a> chore(deps): bump the dependencies group across 1 directory with 19 updates (...</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/dc9a72c17927d74d794d666bec3a7569e0d979af"><code>dc9a72c</code></a> feat: run on webpack-dev-middleware's client, with compatibility kept here (#...</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/d16ad96506da065f9e7e9df12345f715344b6603"><code>d16ad96</code></a> chore(deps): bump the dependencies group with 3 updates (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5762">#5762</a>)</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/69077c9d6a4db8fc846ad82457ea21b08d09f9ea"><code>69077c9</code></a> chore(deps-dev): bump hono (<a href="https://redirect.github.com/webpack/webpack-dev-server/issues/5756">#5756</a>)</li> <li><a href="https://github.com/webpack/webpack-dev-server/commit/6a11ab11a134cdb0ee7cf90291d4a3f99fef821c"><code>6a11ab1</code></a> chore(deps): bump the dependencies group across 1 directory with 4 updates (#...</li> <li>Additional commits viewable in <a href="https://github.com/webpack/webpack-dev-server/compare/v4.7.3...v6.1.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 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 /> 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/nifi/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]
