@npmcli/config
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -333,2 +333,3 @@ // TODO: set the scope config from package.json or explicit cli config | ||
if (!where) { | ||
let valid = true | ||
for (const [where, obj] of this.data.entries()) { | ||
@@ -339,4 +340,6 @@ // no need to validate our defaults, we know they're fine | ||
continue | ||
this.validate(where) | ||
const ret = this.validate(where) | ||
valid = valid && ret | ||
} | ||
return valid | ||
} else { | ||
@@ -352,5 +355,4 @@ const obj = this.data.get(where) | ||
nopt.invalidHandler = null | ||
return obj[_valid] | ||
} | ||
return this.valid | ||
} | ||
@@ -357,0 +359,0 @@ |
{ | ||
"name": "@npmcli/config", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "lib" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41979
909