| 23 | * blocks both `localhost` and `*.localhost`, which resolve to loopback). |
| 24 | */ |
| 25 | export interface NetworkRangeSet { |
| 26 | ipv4Prefixes: string[]; |
| 27 | ipv6Prefixes: string[]; |
| 28 | protocols: string[]; |
| 29 | hostnames: string[]; |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * A host made only of digits and dots is an IPv4 literal — `new URL()` has |
nothing calls this directly
no outgoing calls
no test coverage detected