From 7e241ae27bc44443a54d598da8336517a214859b Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 8 Jul 2026 20:24:55 +0000 Subject: [PATCH] net - chore: upgrade undici to 8 (breaking) undici ^7.24.5 -> ^8.6.0 (@cacheable/net dependency). No code changes required. @cacheable/net uses undici only for its types (RequestInit, Response) and re-exports RequestInit as FetchRequestInit; runtime fetching uses Node's global fetch (to keep instanceof checks aligned with Node's bundled undici). net's source type-checks cleanly against undici 8 (verified with tsc --noEmit, since net builds with tsdown which doesn't type-check), and its 212 tests pass at 100%. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01P1TBuMiXotBjpNHYcbwvqf --- packages/net/package.json | 2 +- pnpm-lock.yaml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/net/package.json b/packages/net/package.json index 89f2bb3e..95278bec 100644 --- a/packages/net/package.json +++ b/packages/net/package.json @@ -44,7 +44,7 @@ "cacheable": "workspace:^", "hookified": "^3.0.1", "http-cache-semantics": "^4.2.0", - "undici": "^7.24.5" + "undici": "^8.6.0" }, "keywords": [ "cacheable", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e3d2b7db..89786be8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -262,8 +262,8 @@ importers: specifier: ^4.2.0 version: 4.2.0 undici: - specifier: ^7.24.5 - version: 7.24.5 + specifier: ^8.6.0 + version: 8.6.0 devDependencies: '@types/http-cache-semantics': specifier: ^4.2.0 @@ -3658,10 +3658,6 @@ packages: undici-types@7.18.2: resolution: {integrity: sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==} - undici@7.24.5: - resolution: {integrity: sha512-3IWdCpjgxp15CbJnsi/Y9TCDE7HWVN19j1hmzVhoAkY/+CJx449tVxT5wZc1Gwg8J+P0LWvzlBzxYRnHJ+1i7Q==} - engines: {node: '>=20.18.1'} - undici@7.28.0: resolution: {integrity: sha512-cRZYrTDwWznlnRiPjggAGxZXanty6M8RV1ff8Wm4LWXBp7/IG8v5DnOm74DtUBp9OONpK75YlPnIjQqX0dBDtA==} engines: {node: '>=20.18.1'} @@ -3670,6 +3666,10 @@ packages: resolution: {integrity: sha512-RNHlB4fxZK0IrkhBsxhlbx7s8kFWwr7rzzOqj5nvZugw3ig3RsB7KW3zVlV0eu8POl+rx5d1hmL7rRg0z1owow==} engines: {node: '>=22.19.0'} + undici@8.6.0: + resolution: {integrity: sha512-l2FlC6I510GawyEd1qgcE/okihKrzy+BRTEBlu6T0fdbM9m5yxtIH5Oa3ysRsH0zC4EhmWUEaSDsy2QngBeRlw==} + engines: {node: '>=22.19.0'} + unenv@2.0.0-rc.24: resolution: {integrity: sha512-i7qRCmY42zmCwnYlh9H2SvLEypEFGye5iRmEMKjcGi7zk9UquigRjFtTLz0TYqr0ZGLZhaMHl/foy1bZR+Cwlw==} @@ -7419,12 +7419,12 @@ snapshots: undici-types@7.18.2: {} - undici@7.24.5: {} - undici@7.28.0: {} undici@8.4.1: {} + undici@8.6.0: {} + unenv@2.0.0-rc.24: dependencies: pathe: 2.0.3