chore(deps): update dependency webpack-dev-server to v6 - #5723
chore(deps): update dependency webpack-dev-server to v6#5723renovate[bot] wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5723 +/- ##
=======================================
Coverage 70.37% 70.38%
=======================================
Files 349 349
Lines 16680 16680
Branches 2613 2613
=======================================
+ Hits 11739 11740 +1
+ Misses 4393 4392 -1
Partials 548 548 🚀 New features to boost your workflow:
|
376027f to
78186b2
Compare
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request upgrades webpack-dev-server to ^6.0.0 in the examples directory and updates the lockfile accordingly. The reviewer correctly identified a potential peer dependency conflict, noting that webpack-dev-server v6 requires webpack to be at least ^5.101.0, whereas the current configuration allows ^5.76.0. It is recommended to apply the suggested update to webpack to prevent installation warnings or resolution failures.
| "webpack": "^5.76.0", | ||
| "webpack-cli": "^7.0.0", | ||
| "webpack-dev-server": "^5.0.0", | ||
| "webpack-dev-server": "^6.0.0", |
There was a problem hiding this comment.
Updating webpack-dev-server to ^6.0.0 introduces a peer dependency requirement of webpack: ^5.101.0 (as noted in the release notes and transitive dependencies like webpack-dev-middleware@8). The current webpack version is set to ^5.76.0, which allows older versions that do not satisfy this requirement and will cause peer dependency resolution warnings or failures during installation. Please update webpack to at least ^5.101.0 to ensure compatibility.
| "webpack": "^5.76.0", | |
| "webpack-cli": "^7.0.0", | |
| "webpack-dev-server": "^5.0.0", | |
| "webpack-dev-server": "^6.0.0", | |
| "webpack": "^5.101.0", | |
| "webpack-cli": "^7.0.0", | |
| "webpack-dev-server": "^6.0.0", |
897db34 to
18f641b
Compare
4137ef8 to
5ce52ff
Compare
60deace to
a59f59b
Compare
c4199d2 to
e5c756a
Compare
e5c756a to
0e23ff9
Compare
This PR contains the following updates:
^5.0.0→^6.0.0Release Notes
webpack/webpack-dev-server (webpack-dev-server)
v6.0.0Compare Source
Major Changes
Bump Express to v5. See the Express 5 migration guide for the full list of breaking changes. (by @bjohansebas in #5674)
Bump the
webpackpeer dependency range from^5.0.0to^5.101.0. (by @bjohansebas in #5674)Drop support for Node.js < 22.15.0. (by @bjohansebas in #5674)
Convert the source to native ES modules. The package keeps
"type": "module"and now exposes both an ESM and a CommonJS build via theexportsfield: ESM consumersimportthe nativelib/, while CommonJS consumersrequire()a transpileddist/build — so the package works from both ESM and CommonJS, including environments whererequire(ESM)is not supported. (by @bjohansebas in #5674)Remove CLI flags. Use the
servecommand fromwebpack-clitogether with a configuration file or the programmatic API instead. (by @bjohansebas in #5674)Remove the
internalIPandinternalIPSyncstatic methods fromServer. Resolve the local IP yourself if you need it. (by @bjohansebas in #5674)Remove the
bypassoption from proxy configuration. Use therouterorcontextoptions provided byhttp-proxy-middlewareinstead. (by @bjohansebas in #5674)Remove SockJS support. The
webSocketServeroption no longer accepts"sockjs"; use the default"ws"transport instead. (by @bjohansebas in #5674)Remove the
spdydependency. Use the built-innode:http2module via theserveroption for HTTP/2 support. (by @bjohansebas in #5674)Update
http-proxy-middlewareto v4. See the http-proxy-middleware v3 release notes and v4 release notes for the full list of breaking changes. (by @bjohansebas in #5674)Update
webpack-dev-middlewareto v8 and syncoriginalUrlfor middleware compatibility.server.middleware.getFilenameFromUrl()is now asynchronous and resolves to{ filename, extra: { stats, outputFileSystem } }. See the webpack-dev-middleware v8 release notes for details. (by @bjohansebas in #5674)Minor Changes
Add plugin support.
webpack-dev-servercan 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 supportingMultiCompilersetups with multiple independent plugin servers. (by @bjohansebas in #5674)Enable the compression middleware for HTTP/2 connections. (by @bjohansebas in #5674)
Remove the
colorettedependency in favor of native ANSI styling. (by @bjohansebas in #5674)Update
chokidarto v5 and extendwatchFiles.options.ignoredto support glob string patterns viatinyglobby. (by @bjohansebas in #5674)Use
compiler.platformto determine the target environment instead of inspecting the resolvedtargetstring. Universal targets ("universal"or["web", "node"], wherecompiler.platform.universalistruesince webpack5.108.0) are treated as web targets so the client runtime is injected. (by @bjohansebas in #5674)Use the WHATWG
URLAPI instead of the deprecatedurl.parse. (by @bjohansebas in #5674)Patch Changes
Bump production dependencies, notably
opento v11 andp-retryto v8. (by @bjohansebas in #5674)Reject cross-site requests to the internal
open-editorandinvalidateendpoints. 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 viaSec-Fetch-Sitewith anOrigin/Hostfallback. (by @bjohansebas in #5691)Treat loopback aliases (
127.0.0.1,::1,localhost) as equivalent inisSameOriginso the WebSocket client does not reject valid same-origin connections. (by @bjohansebas in #5674)Migrate the test suite from Jest to
node:testand set up the jsdom environment. (by @bjohansebas in #5674)Update
webpack-clito v7.0.2. (by @bjohansebas in #5674)Configuration
📅 Schedule: (in timezone Europe/Oslo)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.