Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

commander

Package Overview
Dependencies
Maintainers
6
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 2.20.1 to 2.20.3

6

CHANGELOG.md

@@ -0,1 +1,7 @@

2.20.3 / 2019-10-11
==================
* Support Node.js 0.10 (Revert #1059)
* Ran "npm unpublish commander@2.20.2". There is no 2.20.2.
2.20.1 / 2019-09-29

@@ -2,0 +8,0 @@ ==================

6

index.js

@@ -102,3 +102,3 @@ /**

this.options = [];
this._execs = new Set();
this._execs = {};
this._allowUnknownOption = false;

@@ -182,3 +182,3 @@ this._args = [];

this.executables = true;
this._execs.add(cmd._name);
this._execs[cmd._name] = true;
if (opts.isDefault) this.defaultExecutable = cmd._name;

@@ -489,3 +489,3 @@ }

if (this._execs.has(name)) {
if (this._execs[name] === true) {
return this.executeSubCommand(argv, args, parsed.unknown);

@@ -492,0 +492,0 @@ } else if (aliasCommand) {

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

@@ -5,0 +5,0 @@ "keywords": [

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