command-line-args
Advanced tools
Comparing version 5.2.0 to 5.2.1
@@ -932,3 +932,3 @@ 'use strict'; | ||
const duplicateDefaultOption = hasDuplicates(this.map(def => def.defaultOption)); | ||
const duplicateDefaultOption = this.filter(def => def.defaultOption === true).length > 1; | ||
if (duplicateDefaultOption) { | ||
@@ -935,0 +935,0 @@ halt( |
{ | ||
"name": "command-line-args", | ||
"version": "5.2.0", | ||
"version": "5.2.1", | ||
"description": "A mature, feature-complete library to parse command-line options.", | ||
@@ -42,3 +42,3 @@ "repository": "https://github.com/75lb/command-line-args", | ||
"coveralls": "^3.1.1", | ||
"jsdoc-to-markdown": "^7.0.1", | ||
"jsdoc-to-markdown": "^7.1.1", | ||
"rollup": "~1.7.4", | ||
@@ -45,0 +45,0 @@ "test-runner": "^0.5.1" |
@@ -105,2 +105,2 @@ [![view on npm](https://badgen.net/npm/v/command-line-args)](https://www.npmjs.org/package/command-line-args) | ||
© 2014-21 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/75lb/jsdoc-to-markdown). | ||
© 2014-22 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/75lb/jsdoc-to-markdown). |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
116754