(options: HostedHttpClientOptions)
| 612 | // guardFetch so several adapters over the same options can share a single |
| 613 | // cache instead of one each. |
| 614 | const makeSharedResolver = (options: HostedHttpClientOptions): GuardResolver => |
| 615 | withResolutionCache( |
| 616 | toGuardResolver(options.resolveHostname ?? resolveHostnameWithNodeDns), |
| 617 | options, |
| 618 | ); |
| 619 | |
| 620 | const guardFetch = ( |
| 621 | underlying: typeof globalThis.fetch, |
no test coverage detected