From 234fb6cd39fe0a935f73e84a2ddecf2d77e257aa Mon Sep 17 00:00:00 2001 From: Pagan Gazzard Date: Wed, 18 Jan 2023 13:11:31 +0000 Subject: [PATCH] Use https for the npm deprecation check, avoiding a redirect Change-type: patch --- lib/deprecation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/deprecation.ts b/lib/deprecation.ts index 44239dc4..7dd965b3 100644 --- a/lib/deprecation.ts +++ b/lib/deprecation.ts @@ -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}`; } /**