@thi.ng/args 2.2.22 → 2.2.24
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/coerce.d.ts +1 -1
- package/package.json +10 -10
- package/usage.d.ts +1 -1
package/CHANGELOG.md
CHANGED
package/coerce.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Fn } from "@thi.ng/api";
|
|
2
|
-
import { KVDict, KVMultiDict
|
|
2
|
+
import { Tuple, type KVDict, type KVMultiDict } from "./api.js";
|
|
3
3
|
export declare const coerceString: (x: string) => string;
|
|
4
4
|
export declare const coerceFloat: (x: string) => number;
|
|
5
5
|
export declare const coerceFloats: (xs: string[]) => number[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/args",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.24",
|
|
4
4
|
"description": "Declarative, functional & typechecked CLI argument/options parser, value coercions etc.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,18 +34,18 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.7.
|
|
38
|
-
"@thi.ng/checks": "^3.3.
|
|
39
|
-
"@thi.ng/errors": "^2.2.
|
|
40
|
-
"@thi.ng/strings": "^3.4.
|
|
37
|
+
"@thi.ng/api": "^8.7.6",
|
|
38
|
+
"@thi.ng/checks": "^3.3.12",
|
|
39
|
+
"@thi.ng/errors": "^2.2.15",
|
|
40
|
+
"@thi.ng/strings": "^3.4.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@microsoft/api-extractor": "^7.34.4",
|
|
44
|
-
"@thi.ng/testament": "^0.3.
|
|
45
|
-
"rimraf": "^4.4.
|
|
44
|
+
"@thi.ng/testament": "^0.3.15",
|
|
45
|
+
"rimraf": "^4.4.1",
|
|
46
46
|
"tools": "^0.0.1",
|
|
47
|
-
"typedoc": "^0.23.
|
|
48
|
-
"typescript": "^
|
|
47
|
+
"typedoc": "^0.23.28",
|
|
48
|
+
"typescript": "^5.0.4"
|
|
49
49
|
},
|
|
50
50
|
"keywords": [
|
|
51
51
|
"argument",
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"thi.ng": {
|
|
97
97
|
"year": 2018
|
|
98
98
|
},
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "abcedd9e4e06a4b631f363610eec572f79b571c1\n"
|
|
100
100
|
}
|
package/usage.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { IObjectOf } from "@thi.ng/api";
|
|
2
|
-
import { Args, UsageOpts } from "./api.js";
|
|
2
|
+
import { type Args, type UsageOpts } from "./api.js";
|
|
3
3
|
export declare const usage: <T extends IObjectOf<any>>(specs: Args<T>, opts?: Partial<UsageOpts>) => string;
|
|
4
4
|
//# sourceMappingURL=usage.d.ts.map
|