pub(crate) fn download_and_verify(
client: &Client,
pkg: &NpmPackage,
) -> Result<(), Error>Expand description
Downloads pkg from the NPM registry, unpacks its files into the vendor
directories, and checks the unpacked files against pkg.digest.