Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2020-07-11 04:19:53 +0300
committerisaacs <i@izs.me>2020-07-29 21:53:10 +0300
commite46400c9484f5c66a0ba405eeb8c1340594dbf05 (patch)
tree1c3c13d9024752c4b3dc129e2f86c7963544c5a4 /bin/npm-cli.js
parent73657ae140810da50847d0ff729ddbab99ba5aac (diff)
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.
Diffstat (limited to 'bin/npm-cli.js')
-rwxr-xr-xbin/npm-cli.js1
1 files changed, 1 insertions, 0 deletions
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 &&