diff options
author | isaacs <i@izs.me> | 2021-04-01 20:44:57 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2021-04-01 20:46:09 +0300 |
commit | 61da39beb5373320e2b591b61ecd6596eeaba6ed (patch) | |
tree | 4dd3c738646e84d1a2ffd9e0bbe1eaf315de17ad /node_modules/@npmcli | |
parent | db7aece1c4839117e1acc2577d887fabcc4fae86 (diff) |
@npmcli/config@2.1.0
Diffstat (limited to 'node_modules/@npmcli')
-rw-r--r-- | node_modules/@npmcli/config/lib/set-envs.js | 4 | ||||
-rw-r--r-- | node_modules/@npmcli/config/package.json | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/@npmcli/config/lib/set-envs.js b/node_modules/@npmcli/config/lib/set-envs.js index ffaf5ab38..370a2f3ff 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 b2b34f6af..767718a9d 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" ], |