@npmcli/config
Advanced tools
Comparing version 6.1.7 to 6.2.0
@@ -578,2 +578,9 @@ // TODO: set the scope config from package.json or explicit cli config | ||
this.#checkDeprecated(k, where, obj, [key, value]) | ||
if (this.definitions[key]?.exclusive) { | ||
for (const exclusive of this.definitions[key].exclusive) { | ||
if (!this.isDefault(exclusive)) { | ||
throw new TypeError(`--${key} can not be provided when using --${exclusive}`) | ||
} | ||
} | ||
} | ||
} | ||
@@ -580,0 +587,0 @@ conf.data[k] = v |
{ | ||
"name": "@npmcli/config", | ||
"version": "6.1.7", | ||
"version": "6.2.0", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "bin/", |
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
51158
1130