Comparing version 3.0.1 to 3.0.2
@@ -122,3 +122,8 @@ 'use strict'; | ||
errors.push(internals.formatError('Invalid value for option:', last.name)); | ||
const validValues = []; | ||
for (let j = 0; j < last.valid.length; ++j) { | ||
const valid = last.valid[j]; | ||
validValues.push(`'${valid}'`); | ||
} | ||
errors.push(internals.formatError('Invalid value for option:', last.name, '(valid: ' + validValues.join(',') + ')')); | ||
continue; | ||
@@ -125,0 +130,0 @@ } |
{ | ||
"name": "bossy", | ||
"description": "Command line options parser", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"repository": "git://github.com/hapijs/bossy", | ||
@@ -6,0 +6,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
15429
315
0