Socket
Socket
Sign inDemoInstall

args

Package Overview
Dependencies
10
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0 to 5.0.1

1

lib/command.js

@@ -8,2 +8,3 @@ 'use strict'

}
if (aliases && Array.isArray(aliases)) {

@@ -10,0 +11,0 @@ usage = [].concat([usage], aliases)

@@ -9,2 +9,3 @@ 'use strict'

}
this.details.examples.push({ usage, description })

@@ -11,0 +12,0 @@

@@ -59,1 +59,2 @@ 'use strict'

module.exports = new Args()
module.exports.Args = Args;

@@ -10,2 +10,3 @@ 'use strict'

}
return [short, name]

@@ -12,0 +13,0 @@ }

@@ -186,2 +186,3 @@ 'use strict'

}
const usage = this.printSubColor('$ ' + examples[item].usage)

@@ -277,2 +278,3 @@ const description = this.printMainColor('- ' + examples[item].description)

}
parts.push(

@@ -336,2 +338,3 @@ ' ' +

}
// Run binary of sub command on windows

@@ -338,0 +341,0 @@ args.unshift(full)

@@ -20,2 +20,3 @@ 'use strict'

}
const parent = path.resolve(directory, '..')

@@ -22,0 +23,0 @@ return parent === directory ? null : findPackage(parent)

20

package.json
{
"name": "args",
"version": "5.0.0",
"version": "5.0.1",
"description": "Minimal toolkit for building CLIs",

@@ -44,16 +44,16 @@ "files": [

"devDependencies": {
"ava": "0.25.0",
"eslint-config-prettier": "2.9.0",
"execa": "0.10.0",
"husky": "0.14.3",
"lint-staged": "7.2.0",
"prettier": "1.13.5",
"xo": "0.21.1"
"ava": "1.2.1",
"eslint-config-prettier": "4.1.0",
"execa": "1.0.0",
"husky": "1.3.1",
"lint-staged": "8.1.5",
"prettier": "1.16.4",
"xo": "0.24.0"
},
"dependencies": {
"camelcase": "5.0.0",
"chalk": "2.4.1",
"chalk": "2.4.2",
"leven": "2.1.0",
"mri": "1.1.1"
"mri": "1.1.4"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc