commander
Advanced tools
Comparing version 2.16.0 to 2.17.0
2.17.0 / 2018-08-03 | ||
================== | ||
* fixed newline output after help information (#833) | ||
* Fix to emit the action even without command (#778) | ||
* npm update (#823) | ||
2.16.0 / 2018-06-29 | ||
@@ -3,0 +10,0 @@ ================== |
@@ -663,2 +663,5 @@ /** | ||
} | ||
if (this._args.filter(a => a.required).length === 0) { | ||
this.emit('command:*'); | ||
} | ||
} | ||
@@ -1131,2 +1134,3 @@ | ||
.concat(cmds) | ||
.concat(['']) | ||
.join('\n'); | ||
@@ -1133,0 +1137,0 @@ }; |
{ | ||
"name": "commander", | ||
"version": "2.16.0", | ||
"version": "2.17.0", | ||
"description": "the complete solution for node.js command-line programs", | ||
@@ -20,3 +20,3 @@ "keywords": [ | ||
"test": "node test/run.js && npm run test-typings", | ||
"test-typings": "node_modules/typescript/bin/tsc -p tsconfig.json" | ||
"test-typings": "tsc -p tsconfig.json" | ||
}, | ||
@@ -30,7 +30,7 @@ "main": "index", | ||
"devDependencies": { | ||
"@types/node": "^7.0.66", | ||
"eslint": "^4.19.1", | ||
"should": "^11.2.1", | ||
"sinon": "^2.4.1", | ||
"standard": "^10.0.3", | ||
"@types/node": "^10.5.5", | ||
"eslint": "^5.2.0", | ||
"should": "^13.2.3", | ||
"sinon": "^6.1.4", | ||
"standard": "^11.0.1", | ||
"typescript": "^2.9.2" | ||
@@ -37,0 +37,0 @@ }, |
61027
1346