From 61da39beb5373320e2b591b61ecd6596eeaba6ed Mon Sep 17 00:00:00 2001 From: isaacs Date: Thu, 1 Apr 2021 10:44:57 -0700 Subject: [PATCH] @npmcli/config@2.1.0 --- node_modules/@npmcli/config/lib/set-envs.js | 4 ++-- node_modules/@npmcli/config/package.json | 2 +- package-lock.json | 14 +++++++------- package.json | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/node_modules/@npmcli/config/lib/set-envs.js b/node_modules/@npmcli/config/lib/set-envs.js index ffaf5ab383c75..370a2f3ffd34b 100644 --- a/node_modules/@npmcli/config/lib/set-envs.js +++ b/node_modules/@npmcli/config/lib/set-envs.js @@ -67,8 +67,8 @@ const setEnvs = (config) => { const cliSet = new Set(Object.keys(cliConf)) const envSet = new Set(Object.keys(envConf)) for (const key in cliConf) { - const { deprecated } = definitions[key] || {} - if (deprecated) + const { deprecated, envExport = true } = definitions[key] || {} + if (deprecated || envExport === false) continue if (sameConfigValue(defaults[key], cliConf[key])) { diff --git a/node_modules/@npmcli/config/package.json b/node_modules/@npmcli/config/package.json index b2b34f6af2712..767718a9d61c7 100644 --- a/node_modules/@npmcli/config/package.json +++ b/node_modules/@npmcli/config/package.json @@ -1,6 +1,6 @@ { "name": "@npmcli/config", - "version": "2.0.0", + "version": "2.1.0", "files": [ "lib" ], diff --git a/package-lock.json b/package-lock.json index 6f81519099473..0c5c1377c1186 100644 --- a/package-lock.json +++ b/package-lock.json @@ -253,7 +253,7 @@ "dependencies": { "@npmcli/arborist": "^2.2.9", "@npmcli/ci-detect": "^1.2.0", - "@npmcli/config": "^2.0.0", + "@npmcli/config": "^2.1.0", "@npmcli/run-script": "^1.8.4", "abbrev": "~1.1.1", "ansicolors": "~0.3.2", @@ -827,9 +827,9 @@ "inBundle": true }, "node_modules/@npmcli/config": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/config/-/config-2.0.0.tgz", - "integrity": "sha512-3OKVmO63FJRIrcsVI/njCC7QGKSfdCrIUUV+sP5ql8QdaPqXuaFCImqCYFDzGkcrP8PTOS3jbrRsU0Yzm04n3g==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/config/-/config-2.1.0.tgz", + "integrity": "sha512-vYTUs6b1ORqWgWFrLkyscdhyhtB1YhbtEM2iaH5rM5Bv1/tWqZEpspGLh+Re6YuPRUmXulzkf3iWhu9ntz8cVw==", "inBundle": true, "dependencies": { "ini": "^2.0.0", @@ -11086,9 +11086,9 @@ "integrity": "sha512-oN3y7FAROHhrAt7Rr7PnTSwrHrZVRTS2ZbyxeQwSSYD0ifwM3YNgQqbaRmjcWoPyq77MjchusjJDspbzMmip1Q==" }, "@npmcli/config": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/config/-/config-2.0.0.tgz", - "integrity": "sha512-3OKVmO63FJRIrcsVI/njCC7QGKSfdCrIUUV+sP5ql8QdaPqXuaFCImqCYFDzGkcrP8PTOS3jbrRsU0Yzm04n3g==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/config/-/config-2.1.0.tgz", + "integrity": "sha512-vYTUs6b1ORqWgWFrLkyscdhyhtB1YhbtEM2iaH5rM5Bv1/tWqZEpspGLh+Re6YuPRUmXulzkf3iWhu9ntz8cVw==", "requires": { "ini": "^2.0.0", "mkdirp-infer-owner": "^2.0.0", diff --git a/package.json b/package.json index 0f078d18be573..8376790b10970 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "dependencies": { "@npmcli/arborist": "^2.2.9", "@npmcli/ci-detect": "^1.2.0", - "@npmcli/config": "^2.0.0", + "@npmcli/config": "^2.1.0", "@npmcli/run-script": "^1.8.4", "abbrev": "~1.1.1", "ansicolors": "~0.3.2",