net - chore: upgrade undici to 8.7.0#1684
Merged
Merged
Conversation
Catch-up minor bump within undici 8 (8.6.0 -> 8.7.0), following the undici 8 major migration in #1682. `undici` is used type-only in @cacheable/net (the RequestInit / Response types); the actual fetch runs through Node's global fetch, so this only refreshes the type definitions. Verified: build, `tsc --noEmit` on net, 212/212 net tests, and the build-artifact validation (runtime + publint + attw) all pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01P1TBuMiXotBjpNHYcbwvqf
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1684 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 29 29
Lines 3504 3504
Branches 809 809
=========================================
Hits 3504 3504 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Please check if the PR fulfills these requirements
No new tests are required — this is a dependency version bump with no behavioral change.
@cacheable/net's existing suite (212 tests) continues to pass at 100% coverage.What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Chore — catch-up dependency bump. No runtime or public-API changes.
Change
undici 8.6.0 → 8.7.0 in
packages/netundiciis consumed type-only in@cacheable/net(import type { RequestInit, Response } from "undici"plus aFetchRequestInittype re-export). The actual fetch runs through the runtime's ownglobalThis.fetch— a deliberate choice documented insrc/fetch.tsso body classes (FormData,Blob, …) satisfy Node's bundled-undiciinstanceofchecks. So this bump only refreshes the imported type definitions.minimumReleaseAgewindow (published 2026-07-04).Verification
pnpm build— all packages build.tsc --noEmitonpackages/net— clean; undici 8.7.0'sRequestInit/Responsetypes are compatible (tsdown doesn't full type-check, so this is checked explicitly).pnpm --filter @cacheable/net test— 212/212 pass, coverage maintained.node scripts/test-build.mjs— runtime import, publint, and attw all pass for every package.Generated by Claude Code