(context = {})
| 233 | } |
| 234 | |
| 235 | function resolveAllowPrivateHost(context = {}) { |
| 236 | if (typeof context.allowPrivateHost === "boolean") { |
| 237 | return context.allowPrivateHost; |
| 238 | } |
| 239 | |
| 240 | return getGlobalAllowPrivateNetworkCalls(); |
| 241 | } |
| 242 | |
| 243 | async function resolveTargetAddresses(hostname) { |
| 244 | const addresses = []; |
no test coverage detected