Bump uuid and webpack-dev-server
Type: Pull Request
State: Closed
Association: Unknown
Comments: 1
(8 days ago)
(8 days ago)
(8 days ago)
dependencies javascript
Removes uuid. It's no longer used after updating ancestor dependency webpack-dev-server. These dependencies need to be updated together.
Removes uuid
Updates webpack-dev-server from 5.2.5 to 6.0.0
Release notes
Sourced from webpack-dev-server's releases.
v6.0.0
Major Changes
Bump Express to v5. See the Express 5 migration guide for the full list of breaking changes. (by
@bjohansebasin #5674)Bump the
webpackpeer dependency range from^5.0.0to^5.101.0. (by@bjohansebasin #5674)Drop support for Node.js < 22.15.0. (by
@bjohansebasin #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 consumers import the nativelib/, while CommonJS consumersrequire()a transpileddist/build, allowing the package to be consumed from both ESM and CommonJS without relying onrequire(ESM)for CommonJS consumers. (by@bjohansebasin #5674)Remove CLI flags. Use the
servecommand fromwebpack-clitogether with a configuration file or the programmatic API instead. (by@bjohansebasin #5674)Remove the
internalIPandinternalIPSyncstatic methods fromServer. Resolve the local IP yourself if you need it. (by@bjohansebasin #5674)Remove the
bypassoption from proxy configuration. Use therouterorcontextoptions provided byhttp-proxy-middlewareinstead. (by@bjohansebasin #5674)Remove SockJS support. The
webSocketServeroption no longer accepts"sockjs"; use the default"ws"transport instead. (by@bjohansebasin #5674)Remove the
spdydependency. Use the built-innode:http2module via theserveroption for HTTP/2 support. (by@bjohansebasin #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@bjohansebasin #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@bjohansebasin #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@bjohansebasin #5674)Enable the compression middleware for HTTP/2 connections. (by
@bjohansebasin #5674)Remove the
colorettedependency in favor of native ANSI styling. (by@bjohansebasin #5674)Update
chokidarto v5 and extendwatchFiles.options.ignoredto support glob string patterns viatinyglobby. (by@bjohansebasin #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@bjohansebasin #5674)Use the WHATWG
URLAPI instead of the deprecatedurl.parse. (by@bjohansebasin #5674)Patch Changes
Bump production dependencies, notably
opento v11 andp-retryto v8. (by@bjohansebasin #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@bjohansebasin #5691)Treat loopback aliases (
127.0.0.1,::1,localhost) as equivalent inisSameOriginso the WebSocket client does not reject valid same-origin connections. (by@bjohansebasin #5674)Migrate the test suite from Jest to
node:testand set up the jsdom environment. (by@bjohansebasin #5674)
... (truncated)
Changelog
Sourced from webpack-dev-server's changelog.
6.0.0
Major Changes
Bump Express to v5. See the Express 5 migration guide for the full list of breaking changes. (by
@bjohansebasin #5674)Bump the
webpackpeer dependency range from^5.0.0to^5.101.0. (by@bjohansebasin #5674)Drop support for Node.js < 22.15.0. (by
@bjohansebasin #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@bjohansebasin #5674)Remove CLI flags. Use the
servecommand fromwebpack-clitogether with a configuration file or the programmatic API instead. (by@bjohansebasin #5674)Remove the
internalIPandinternalIPSyncstatic methods fromServer. Resolve the local IP yourself if you need it. (by@bjohansebasin #5674)Remove the
bypassoption from proxy configuration. Use therouterorcontextoptions provided byhttp-proxy-middlewareinstead. (by@bjohansebasin #5674)Remove SockJS support. The
webSocketServeroption no longer accepts"sockjs"; use the default"ws"transport instead. (by@bjohansebasin #5674)Remove the
spdydependency. Use the built-innode:http2module via theserveroption for HTTP/2 support. (by@bjohansebasin #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@bjohansebasin #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@bjohansebasin #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@bjohansebasin #5674)Enable the compression middleware for HTTP/2 connections. (by
@bjohansebasin #5674)Remove the
colorettedependency in favor of native ANSI styling. (by@bjohansebasin #5674)Update
chokidarto v5 and extendwatchFiles.options.ignoredto support glob string patterns viatinyglobby. (by@bjohansebasin #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@bjohansebasin #5674)Use the WHATWG
URLAPI instead of the deprecatedurl.parse. (by@bjohansebasin #5674)Patch Changes
Bump production dependencies, notably
opento v11 andp-retryto v8. (by@bjohansebasin #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@bjohansebasin #5691)Treat loopback aliases (
127.0.0.1,::1,localhost) as equivalent inisSameOriginso the WebSocket client does not reject valid same-origin connections. (by@bjohansebasin #5674)Migrate the test suite from Jest to
node:testand set up the jsdom environment. (by@bjohansebasin #5674)
... (truncated)
Commits
05cb792chore(release): new release (#5692)a451839fix: handle middleware teardown in plugin mode (#5703)c2d23a7fix: load ESM-only dependencies with native import() in the CommonJS build (#...ba54764fix: reject cross-site requests to open-editor and invalidate endpoints (#5691)2b369b3fixup!08a0ea7fix: ensure undefined options default to an empty object in Server constructor797b9e7fix: handle undefined options in Server constructore90221cfeat: plugin support (#5650)4c351e1feat: support universal platform as a web target (#5690)2236aa4chore: update http-proxy-middleware to version 4.1.1 and add tests for pathRe...- Additional commits viewable in compare view
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.
Package Dependencies
Technical Details
| ID: | 16130416 |
| UUID: | 4897660612 |
| Node ID: | PR_kwDOCXvAnM7ySN_U |
| Host: | GitHub |
| Repository: | movabletype/mt-docs-data-api-reference |