From 66809bbcc815b36efd28295524463c1c35fc61f2 Mon Sep 17 00:00:00 2001 From: Dmitry Dodzin Date: Mon, 16 Oct 2023 22:03:49 +0300 Subject: [PATCH] Change default registry to use https --- lib/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config.js b/lib/config.js index f4482e8..c634997 100644 --- a/lib/config.js +++ b/lib/config.js @@ -1,6 +1,6 @@ const fs = require('fs') -let defaultNpmRegistry = 'http://registry.npmjs.org'; +let defaultNpmRegistry = 'https://registry.npmjs.org'; try { const USER_HOME = process.env.HOME || process.env.USERPROFILE; const npmrc = fs.readFileSync(USER_HOME+'/.npmrc', 'utf8' );