Socket
Socket
Sign inDemoInstall

commander

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commander - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

test/test.options.large-only-with-value.js

5

History.md
0.3.2 / 2011-11-01
==================
* Fixed long flag definitions with values [felixge]
0.3.1 / 2011-10-31

@@ -3,0 +8,0 @@ ==================

2

lib/commander.js

@@ -48,3 +48,3 @@ /*!

flags = flags.split(/[ ,|]+/);
if (flags.length > 1) this.short = flags.shift();
if (flags.length > 1 && !/^[[<]/.test(flags[1])) this.short = flags.shift();
this.long = flags.shift();

@@ -51,0 +51,0 @@ this.description = description;

{
"name": "commander"
, "version": "0.3.1"
, "version": "0.3.2"
, "description": "the complete solution for node.js command-line programs"

@@ -5,0 +5,0 @@ , "keywords": ["command", "option", "parser", "prompt", "stdin"]

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