Merge pull request #2582 from balena-io/https-npm

Use https for the npm deprecation check, avoiding a redirect
This commit is contained in:
Page- 2023-01-18 16:15:01 +00:00 committed by GitHub
commit c535b8e1ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}`;
}
/**