@clerc/parser 1.0.0-beta.22 → 1.0.0-beta.23
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/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -328,8 +328,8 @@ function createParser(options = {}) {
|
|
|
328
328
|
setValueByType(result.flags, key, chars.slice(j + 1), config);
|
|
329
329
|
break;
|
|
330
330
|
} else {
|
|
331
|
-
const
|
|
332
|
-
|
|
331
|
+
const value = hasNext && !shouldProcessAsFlag(next) ? eat() ?? "" : "";
|
|
332
|
+
setValueByType(result.flags, key, value, config);
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
335
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clerc/parser",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.23",
|
|
4
4
|
"author": "Ray <i@mk1.io> (https://github.com/so1ve)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Clerc parser",
|
|
@@ -56,6 +56,6 @@
|
|
|
56
56
|
"nopt": "^9.0.0",
|
|
57
57
|
"type-flag": "^4.0.3",
|
|
58
58
|
"yargs-parser": "^22.0.0",
|
|
59
|
-
"@clerc/utils": "1.0.0-beta.
|
|
59
|
+
"@clerc/utils": "1.0.0-beta.23"
|
|
60
60
|
}
|
|
61
61
|
}
|