Socket
Socket
Sign inDemoInstall

command-line-usage

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

command-line-usage - npm Package Compare versions

Comparing version 7.0.0 to 7.0.1

dist/index.cjs

6

lib/section.js
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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc