Use https for the npm deprecation check, avoiding a redirect

Change-type: patch
This commit is contained in:
Pagan Gazzard 2023-01-18 13:11:31 +00:00
parent 8714830b48
commit 234fb6cd39

View File

@ -86,7 +86,7 @@ export class DeprecationChecker {
* @param version Semver without 'v' prefix, e.g. '12.0.0.'
*/
protected getNpmUrl(version: string) {
return `http://registry.npmjs.org/balena-cli/${version}`;
return `https://registry.npmjs.org/balena-cli/${version}`;
}
/**