Commit 8e3decb
chore(deps): remove dead undici HTTP/2 adapter and dependency
The SDK's HTTP/2 transport is the native `node:http2` implementation
(`makeHttp2Fetch` → `createH2Fetch`). The old undici-based adapter,
`src/lib/undici-fetch.ts`, is no longer imported anywhere — it's dead code, and
`undici` is a dependency only that file used.
Remove the dead adapter, its test, and the `undici` dependency. This also drops
undici 7's transitive Node >= 20.18.1 install constraint.
Stale undici references in doc comments are cleaned up separately in the
HTTP/2-default PR (#815).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 6ceb236 commit 8e3decb
4 files changed
Lines changed: 0 additions & 171 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3844 | 3844 | | |
3845 | 3845 | | |
3846 | 3846 | | |
3847 | | - | |
3848 | | - | |
3849 | | - | |
3850 | | - | |
3851 | | - | |
3852 | 3847 | | |
3853 | 3848 | | |
3854 | 3849 | | |
| |||
0 commit comments