command-line-usage
Advanced tools
Comparing version 7.0.0 to 7.0.1
import arrayify from 'array-back' | ||
import chalk from 'chalk' | ||
import os from 'node:os' | ||
import chalk from './chalk-format.js' | ||
import os from 'os' | ||
@@ -24,3 +24,3 @@ class Section { | ||
if (text) { | ||
this.add(chalk.underline.bold(text)) | ||
this.add(chalk(`{bold ${text}}`)) | ||
this.add() | ||
@@ -27,0 +27,0 @@ } |
{ | ||
"name": "command-line-usage", | ||
"author": "Lloyd Brookes <75pound@gmail.com>", | ||
"version": "7.0.0", | ||
"version": "7.0.1", | ||
"description": "Generates command-line usage information", | ||
@@ -14,4 +14,5 @@ "repository": "https://github.com/75lb/command-line-usage", | ||
"files": [ | ||
"lib/**/*.js", | ||
"index.js" | ||
"lib", | ||
"index.js", | ||
"dist" | ||
], | ||
@@ -29,8 +30,10 @@ "keywords": [ | ||
"docs": "jsdoc2md --no-gfm index.js lib/**/*.js > doc/api.md; echo", | ||
"test": "test-runner test/*.js", | ||
"examples": "for FILE in example/*.js; do printf \"\n\n======== $FILE ========\n\n\"; node $FILE; done" | ||
"test": "npm run dist && npm run test:ci", | ||
"test:ci": "test-runner test/*.js test/*.cjs", | ||
"examples": "for FILE in example/*.js; do printf \"\n\n======== $FILE ========\n\n\"; node $FILE; done", | ||
"dist": "rollup -c" | ||
}, | ||
"dependencies": { | ||
"array-back": "^6.2.2", | ||
"chalk-template": "^0.5.0", | ||
"chalk-template": "^0.4.0", | ||
"table-layout": "^3.0.0", | ||
@@ -40,3 +43,6 @@ "typical": "^7.1.1" | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^24.0.1", | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"jsdoc-to-markdown": "^8.0.0", | ||
"rollup": "^3.18.0", | ||
"test-runner": "^0.10.1" | ||
@@ -43,0 +49,0 @@ }, |
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
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
122319
9
3825
5
1
+ Addedchalk-template@0.4.0(transitive)
- Removedchalk-template@0.5.0(transitive)
Updatedchalk-template@^0.4.0