commander
Advanced tools
Comparing version 2.20.1 to 2.20.3
@@ -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 @@ ================== |
@@ -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": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
62442
1