Socket
Socket
Sign inDemoInstall

cli

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

5

cli.js

@@ -145,4 +145,5 @@ /**

cli.app = arr.shift();
//Strip off argv[0] if it's 'node'
if (!keep_arg0 && 'node' === cli.native.path.basename(cli.app)) {
//Strip off argv[0] if it's a node binary
if (!keep_arg0 && ('node' === cli.native.path.basename(cli.app)
|| process.execPath === cli.app)) {
cli.app = arr.shift();

@@ -149,0 +150,0 @@ }

2

package.json
{ "name" : "cli",
"description" : "A tool for rapidly building command line apps",
"version" : "0.4.1",
"version" : "0.4.2",
"homepage" : "http://github.com/chriso/cli",

@@ -5,0 +5,0 @@ "keywords" : ["cli","command line","opts","parseopt","opt","args","console","argsparse","optparse","daemon","autocomplete","command","autocompletion"],

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