Socket
Socket
Sign inDemoInstall

commander

Package Overview
Dependencies
0
Maintainers
6
Versions
114
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 3.0.2

10

CHANGELOG.md

@@ -8,2 +8,12 @@ # Changelog

## [3.0.2] (2019-09-27)
### Fixed
* Improve tracking of executable subcommands.
### Changed
* update development dependencies
## [3.0.1] (2019-08-30)

@@ -10,0 +20,0 @@

6

index.js

@@ -100,3 +100,3 @@ /**

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

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

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

@@ -503,3 +503,3 @@ }

if (this._execs[name] && typeof this._execs[name] !== 'function') {
if (this._execs.has(name)) {
return this.executeSubCommand(argv, args, parsed.unknown, subCommand ? subCommand._executableFile : undefined);

@@ -506,0 +506,0 @@ }

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

@@ -29,11 +29,11 @@ "keywords": [

"devDependencies": {
"@types/node": "^12.7.2",
"eslint": "^6.1.0",
"@types/node": "^12.7.8",
"eslint": "^6.4.0",
"should": "^13.2.3",
"sinon": "^7.4.1",
"sinon": "^7.5.0",
"standard": "^13.1.0",
"ts-node": "^8.3.0",
"typescript": "^3.5.3"
"ts-node": "^8.4.1",
"typescript": "^3.6.3"
},
"typings": "typings/index.d.ts"
}
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