diligent doesn't work with NPM scoped packages (eg. @angular/cli).
This is because 44419b8 changed the NPM registry URL from https://registry.npmjs.org/{package}/{version} to https://registry.npmjs.org/{package}?version={version}, which for some weird reason doesn't support scoped packages, even if the slash (/) is URL encoded as %2F.
I've sent an email to NPM support about this behavior, but its unlikely that they will address it anytime soon.
To revert back to using https://registry.npmjs.org/{package}/{version}, we need to strip any symbols before the version, as https://registry.npmjs.org/{package}/{version} only supports exact versions, unlike https://registry.npmjs.org/{package}?version={version}.
diligentdoesn't work with NPM scoped packages (eg.@angular/cli).This is because 44419b8 changed the NPM registry URL from
https://registry.npmjs.org/{package}/{version}tohttps://registry.npmjs.org/{package}?version={version}, which for some weird reason doesn't support scoped packages, even if the slash (/) is URL encoded as%2F.I've sent an email to NPM support about this behavior, but its unlikely that they will address it anytime soon.
To revert back to using
https://registry.npmjs.org/{package}/{version}, we need to strip any symbols before the version, ashttps://registry.npmjs.org/{package}/{version}only supports exact versions, unlikehttps://registry.npmjs.org/{package}?version={version}.