From 2ee7c8a98cf01225a3c9ac247139243f868e2e03 Mon Sep 17 00:00:00 2001 From: Ruy Adorno Date: Tue, 1 Sep 2020 14:49:18 -0400 Subject: [PATCH] @npmcli/config@1.1.7 --- node_modules/@npmcli/config/lib/index.js | 2 +- node_modules/@npmcli/config/package.json | 4 ++-- package-lock.json | 14 +++++++------- package.json | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/node_modules/@npmcli/config/lib/index.js b/node_modules/@npmcli/config/lib/index.js index f8ec551b04625..026cc68b1269f 100644 --- a/node_modules/@npmcli/config/lib/index.js +++ b/node_modules/@npmcli/config/lib/index.js @@ -300,7 +300,7 @@ class Config { const prefix = 'npm_config_' const conf = Object.create(null) for (const [envKey, envVal] of Object.entries(this.env)) { - if (!/^npm_config_/i.test(envKey)) + if (!/^npm_config_/i.test(envKey) || envVal === '') continue const key = envKey.substr('npm_config_'.length) .replace(/(?!^)_/g, '-') // don't replace _ at the start of the key diff --git a/node_modules/@npmcli/config/package.json b/node_modules/@npmcli/config/package.json index ee9db509e1f15..23f964bcbe1a3 100644 --- a/node_modules/@npmcli/config/package.json +++ b/node_modules/@npmcli/config/package.json @@ -1,6 +1,6 @@ { "name": "@npmcli/config", - "version": "1.1.5", + "version": "1.1.7", "files": [ "lib" ], @@ -8,7 +8,7 @@ "description": "Configuration management for the npm cli", "repository": { "type": "git", - "url": "git+https://github.com/npm/npmconf" + "url": "git+https://github.com/npm/config" }, "author": "Isaac Z. Schlueter (https://izs.me)", "license": "ISC", diff --git a/package-lock.json b/package-lock.json index fd935a7e0acf8..32ae01c0067a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -90,7 +90,7 @@ "dependencies": { "@npmcli/arborist": "^0.0.19", "@npmcli/ci-detect": "^1.2.0", - "@npmcli/config": "^1.1.5", + "@npmcli/config": "^1.1.7", "@npmcli/run-script": "^1.5.0", "abbrev": "~1.1.1", "ansicolors": "~0.3.2", @@ -432,9 +432,9 @@ "inBundle": true }, "node_modules/@npmcli/config": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/@npmcli/config/-/config-1.1.5.tgz", - "integrity": "sha512-pPs8/b4zr/9qI5Kh43mxS41o4V16kfq78AA1ZbDzkr07a1ve4vGSAydb04rO3F7rnQfSebmKtHcwRorqfdDywQ==", + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@npmcli/config/-/config-1.1.7.tgz", + "integrity": "sha512-C5apJ5CgpFrqcR7vDG1Zd6fuwQSzkvX5r2g1CCDuSnTfT0kj12SD+r9oCFORfieSfvI1l1oC516Ou//g++h4LA==", "inBundle": true, "dependencies": { "ini": "^1.3.5", @@ -9492,9 +9492,9 @@ "integrity": "sha512-oN3y7FAROHhrAt7Rr7PnTSwrHrZVRTS2ZbyxeQwSSYD0ifwM3YNgQqbaRmjcWoPyq77MjchusjJDspbzMmip1Q==" }, "@npmcli/config": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/@npmcli/config/-/config-1.1.5.tgz", - "integrity": "sha512-pPs8/b4zr/9qI5Kh43mxS41o4V16kfq78AA1ZbDzkr07a1ve4vGSAydb04rO3F7rnQfSebmKtHcwRorqfdDywQ==", + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@npmcli/config/-/config-1.1.7.tgz", + "integrity": "sha512-C5apJ5CgpFrqcR7vDG1Zd6fuwQSzkvX5r2g1CCDuSnTfT0kj12SD+r9oCFORfieSfvI1l1oC516Ou//g++h4LA==", "requires": { "ini": "^1.3.5", "mkdirp-infer-owner": "^2.0.0", diff --git a/package.json b/package.json index 1334dd13cb545..fb29fefd8f694 100644 --- a/package.json +++ b/package.json @@ -117,7 +117,7 @@ "write-file-atomic": "^2.4.3", "make-fetch-happen": "^8.0.9", "leven": "^3.1.0", - "@npmcli/config": "^1.1.5", + "@npmcli/config": "^1.1.7", "read-package-json-fast": "^1.2.1" }, "bundleDependencies": [