@magic/cli 0.0.38 → 0.0.41

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
@@ -459,5 +459,15 @@ update dependencies
459
459
  ##### 0.0.38
460
460
  update dependencies
461
461
 
462
- ##### 0.0.39 - unreleased
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
470
+ update dependencies
471
+
472
+ ##### 0.0.42 - unreleased
463
473
  ...
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magic/cli",
3
- "version": "0.0.38",
3
+ "version": "0.0.41",
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,21 +32,21 @@
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.13",
39
- "@magic/types": "0.1.18"
35
+ "@magic/cases": "0.0.8",
36
+ "@magic/deep": "0.1.13",
37
+ "@magic/error": "0.0.14",
38
+ "@magic/log": "0.1.15",
39
+ "@magic/types": "0.1.20"
40
40
  },
41
41
  "devDependencies": {
42
- "@magic-modules/git-badges": "0.0.11",
43
- "@magic-modules/light-switch": "0.0.10",
44
- "@magic-modules/no-spy": "0.0.6",
42
+ "@magic-modules/git-badges": "0.0.12",
43
+ "@magic-modules/light-switch": "0.0.11",
44
+ "@magic-modules/no-spy": "0.0.7",
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.36",
49
- "@magic/test": "0.2.2"
47
+ "@magic/core": "0.0.140",
48
+ "@magic/format": "0.0.39",
49
+ "@magic/test": "0.2.10"
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