@zhennann/common-bin 2.9.8 → 2.9.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/command.js +8 -4
  2. package/package.json +2 -2
package/lib/command.js CHANGED
@@ -275,10 +275,14 @@ class CommonBin {
275
275
  rawArgv: this.rawArgv,
276
276
  };
277
277
 
278
- argv.help = undefined;
279
- argv.h = undefined;
280
- argv.version = undefined;
281
- argv.v = undefined;
278
+ delete argv.help;
279
+ delete argv.h;
280
+ delete argv.version;
281
+ delete argv.v;
282
+ // argv.help = undefined;
283
+ // argv.h = undefined;
284
+ // argv.version = undefined;
285
+ // argv.v = undefined;
282
286
 
283
287
  // remove alias result
284
288
  if (this.parserOptions.removeAlias) {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@zhennann/common-bin",
3
- "version": "2.9.8",
3
+ "version": "2.9.10",
4
4
  "description": "Abstraction bin tool",
5
5
  "main": "index.js",
6
6
  "dependencies": {
7
7
  "@types/dargs": "^5.1.0",
8
8
  "@types/node": "^10.12.18",
9
9
  "@types/yargs": "^12.0.4",
10
- "chalk": "^2.4.1",
10
+ "chalk": "^3.0.0",
11
11
  "change-case": "^3.0.2",
12
12
  "co": "^4.6.0",
13
13
  "dargs": "^6.0.0",