Comparing version 1.3.3 to 1.3.4
@@ -576,3 +576,2 @@ 'use strict' | ||
Object.defineProperty(j.result._, 'usage', { | ||
@@ -591,7 +590,10 @@ value: () => console.log(usage(j)) | ||
if (spec && spec.implies) { | ||
if (!val) | ||
if (val === false) | ||
delete j.implies[key] | ||
else | ||
j.implies[key] = spec.implies | ||
j.implies[key] = {...spec.implies} | ||
} | ||
// delete implications about this, since we have an explicit value | ||
for (const i in j.implies) | ||
delete j.implies[i][key] | ||
} | ||
@@ -598,0 +600,0 @@ |
{ | ||
"name": "jackspeak", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "A very strict and proper argument parser.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
30019
514