command-line-usage
Advanced tools
Comparing version 7.0.2 to 7.0.3
import Section from '../section.js' | ||
import Table from 'table-layout' | ||
import chalk from '../chalk-format.js' | ||
import t from 'typical' | ||
import arrayify from 'array-back' | ||
@@ -25,3 +24,3 @@ | ||
definitions = definitions.filter(def => { | ||
const noGroupMatch = groups.indexOf('_none') > -1 && !t.isDefined(def.group) | ||
const noGroupMatch = groups.indexOf('_none') > -1 && def.group === undefined | ||
const groupMatch = intersect(arrayify(def.group), groups) | ||
@@ -28,0 +27,0 @@ return (noGroupMatch || groupMatch) ? def : undefined |
{ | ||
"name": "command-line-usage", | ||
"author": "Lloyd Brookes <75pound@gmail.com>", | ||
"version": "7.0.2", | ||
"version": "7.0.3", | ||
"description": "Generates command-line usage information", | ||
@@ -37,3 +37,3 @@ "repository": "https://github.com/75lb/command-line-usage", | ||
"chalk-template": "^0.4.0", | ||
"table-layout": "^3.0.2", | ||
"table-layout": "^4.1.0", | ||
"typical": "^7.1.1" | ||
@@ -45,3 +45,3 @@ }, | ||
"jsdoc-to-markdown": "^8.0.1", | ||
"rollup": "^4.18.0", | ||
"rollup": "^4.18.1", | ||
"test-runner": "^0.10.1" | ||
@@ -51,5 +51,6 @@ }, | ||
"ignore": [ | ||
"example" | ||
"example", | ||
"dist" | ||
] | ||
} | ||
} |
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
122773
3833
+ Addedtable-layout@4.1.1(transitive)
- Removed@75lb/deep-merge@1.1.2(transitive)
- Removedarray-back@3.1.0(transitive)
- Removedcommand-line-args@5.2.1(transitive)
- Removedfind-replace@3.0.0(transitive)
- Removedlodash@4.17.21(transitive)
- Removedlodash.camelcase@4.3.0(transitive)
- Removedstream-read-all@3.0.1(transitive)
- Removedtable-layout@3.0.2(transitive)
- Removedtypical@4.0.0(transitive)
Updatedtable-layout@^4.1.0