@thi.ng/args 2.3.16 → 2.3.18
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/CHANGELOG.md +1 -1
- package/args.d.ts +2 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
package/args.d.ts
CHANGED
|
@@ -202,6 +202,8 @@ export declare const kvPairsMulti: <S extends Partial<ArgSpec<KVMultiDict>>>(spe
|
|
|
202
202
|
*
|
|
203
203
|
* @example
|
|
204
204
|
* ```ts
|
|
205
|
+
* import { coerceInt, parse, tuple } from "@thi.ng/args";
|
|
206
|
+
*
|
|
205
207
|
* parse({ a: tuple(coerceInt, 2, {})}, ["--a", "1,2"])
|
|
206
208
|
* // {
|
|
207
209
|
* // result: { a: Tuple { value: [1, 2] } },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/args",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.18",
|
|
4
4
|
"description": "Declarative, functional & typechecked CLI argument/options parser, value coercions etc.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"test": "bun test"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@thi.ng/api": "^8.9.
|
|
38
|
+
"@thi.ng/api": "^8.9.26",
|
|
39
39
|
"@thi.ng/checks": "^3.5.0",
|
|
40
40
|
"@thi.ng/errors": "^2.4.18",
|
|
41
|
-
"@thi.ng/logger": "^3.0.
|
|
42
|
-
"@thi.ng/strings": "^3.7.
|
|
43
|
-
"@thi.ng/text-format": "^2.1.
|
|
41
|
+
"@thi.ng/logger": "^3.0.3",
|
|
42
|
+
"@thi.ng/strings": "^3.7.18",
|
|
43
|
+
"@thi.ng/text-format": "^2.1.3"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@microsoft/api-extractor": "^7.40.1",
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"thi.ng": {
|
|
103
103
|
"year": 2018
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "190d68e7f7524631b333cfdbf32c6a23be27c166\n"
|
|
106
106
|
}
|