fn build_probe_client(direct: bool) -> Option<Client>Expand description
Build the reqwest client for a single npm probe. direct adds
.no_proxy() so the request bypasses any ambient proxy env and
connects straight to the registry; both variants keep
with_extra_roots so a corporate / mitmproxy CA still validates.