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 3.0.5 to 3.0.6

4

es5/content.js

@@ -52,6 +52,6 @@ 'use strict';

}
Object.assign({ padding: defaultPadding }, content.options);
var options = Object.assign({ padding: defaultPadding }, content.options);
_this.add(tableLayout.lines(content.data.map(function (row) {
return ansiFormatRow(row);
}), content.options));
}), options));
} else {

@@ -58,0 +58,0 @@ var message = 'invalid input - \'content\' must be a string, array of strings, or array of plain objects:\n\n' + JSON.stringify(content);

@@ -42,3 +42,3 @@ 'use strict'

/* { options: object, content: object[] } */
/* { options: object, data: object[] } */
} else if (t.isPlainObject(content)) {

@@ -48,3 +48,3 @@ if (!content.options || !content.data) {

}
Object.assign(
const options = Object.assign(
{ padding: defaultPadding },

@@ -55,3 +55,3 @@ content.options

content.data.map(row => ansiFormatRow(row)),
content.options
options
))

@@ -58,0 +58,0 @@ } else {

{
"name": "command-line-usage",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "3.0.5",
"version": "3.0.6",
"description": "Generates command-line usage information",

@@ -21,3 +21,3 @@ "repository": "https://github.com/75lb/command-line-usage.git",

"test": "test-runner test/*.js",
"es5": "babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"
"es5": "rm -rf es5 && babel --presets babel-preset-es2015 --no-comments lib --out-dir es5"
},

@@ -27,3 +27,3 @@ "dependencies": {

"array-back": "^1.0.3",
"table-layout": "~0.2.2",
"table-layout": "~0.2.3",
"feature-detect-es6": "^1.3.1",

@@ -33,5 +33,5 @@ "typical": "^2.6.0"

"devDependencies": {
"babel-preset-es2015": "^6.16.0",
"babel-preset-es2015": "^6.18.0",
"core-assert": "^0.2.1",
"jsdoc-to-markdown": "^2.0.0",
"jsdoc-to-markdown": "^2.0.1",
"test-runner": "^0.2.5"

@@ -38,0 +38,0 @@ },

Sorry, the diff of this file is not supported yet

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