@magic/cli 0.0.37 → 0.0.40

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.
package/README.md CHANGED
@@ -453,5 +453,18 @@ update dependencies
453
453
  ##### 0.0.36
454
454
  update dependencies
455
455
 
456
- ##### 0.0.37 - unreleased
456
+ ##### 0.0.37
457
+ update dependencies
458
+
459
+ ##### 0.0.38
460
+ update dependencies
461
+
462
+ ##### 0.0.39
463
+ * update devdependencies
464
+ * parse.argv does not error if args do not have a length
465
+
466
+ ##### 0.0.40
467
+ update dependencies
468
+
469
+ ##### 0.0.41 - unreleased
457
470
  ...
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magic/cli",
3
- "version": "0.0.37",
3
+ "version": "0.0.40",
4
4
  "homepage": "https://magic.github.io/cli",
5
5
  "description": "declarative command line interfaces with aliasing, commands and environment sanitization",
6
6
  "scripts": {
@@ -32,11 +32,11 @@
32
32
  "declarative"
33
33
  ],
34
34
  "dependencies": {
35
- "@magic/cases": "0.0.6",
36
- "@magic/deep": "0.1.10",
37
- "@magic/error": "0.0.12",
38
- "@magic/log": "0.1.12",
39
- "@magic/types": "0.1.18"
35
+ "@magic/cases": "0.0.7",
36
+ "@magic/deep": "0.1.11",
37
+ "@magic/error": "0.0.13",
38
+ "@magic/log": "0.1.14",
39
+ "@magic/types": "0.1.19"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@magic-modules/git-badges": "0.0.11",
@@ -44,9 +44,9 @@
44
44
  "@magic-modules/no-spy": "0.0.6",
45
45
  "@magic-modules/pre": "0.0.11",
46
46
  "@magic-themes/docs": "0.0.14",
47
- "@magic/core": "0.0.133",
48
- "@magic/format": "0.0.35",
49
- "@magic/test": "0.2.0"
47
+ "@magic/core": "0.0.139",
48
+ "@magic/format": "0.0.38",
49
+ "@magic/test": "0.2.8"
50
50
  },
51
51
  "author": "Wizards & Witches",
52
52
  "license": "AGPL-3.0",
@@ -99,7 +99,7 @@ export const parseArgv = ({
99
99
 
100
100
  if (!pure) {
101
101
  const argvArgs = [argv1, argv2, ...argvAppend, ...argvRest, ...argvPrepend].filter(
102
- a => a.length > 0,
102
+ a => a && a.length > 0,
103
103
  )
104
104
 
105
105
  process.argv = argvArgs