From e46400c9484f5c66a0ba405eeb8c1340594dbf05 Mon Sep 17 00:00:00 2001 From: isaacs Date: Fri, 10 Jul 2020 18:19:53 -0700 Subject: update dependencies, refactor config loading to async This removes a lot of very outdated dependencies, updates many to their modern (usually promisified) versions, and updates (or removes) code to account for the change. Several dependencies have been completely removed, and others a bit shuffled around, so that the node_modules folder can be bundled somewhat more optimally than it would have otherwise. --- bin/npm-cli.js | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/npm-cli.js') diff --git a/bin/npm-cli.js b/bin/npm-cli.js index 1380e320d..d760e8cdb 100755 --- a/bin/npm-cli.js +++ b/bin/npm-cli.js @@ -68,6 +68,7 @@ npm.load(conf, function (er) { // XXX move update notifier stuff into separate module const pkg = require('../package.json') let notifier = require('update-notifier')({pkg}) + // XXX should use @npmcli/ci-detect const isCI = require('ci-info').isCI if ( notifier.update && -- cgit v1.2.3