@gunshi/combinators 0.29.5 → 0.30.1
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/lib/index.d.ts +7 -0
- package/lib/index.js +6 -0
- package/package.json +6 -6
package/lib/index.d.ts
CHANGED
|
@@ -1069,5 +1069,12 @@ declare function merge<T extends Args[]>(...schemas: T): MergeArgs<T>;
|
|
|
1069
1069
|
*/
|
|
1070
1070
|
declare function extend<T extends Args, U extends Args>(base: T, overrides: U): Omit<T, keyof U> & U;
|
|
1071
1071
|
//#endregion
|
|
1072
|
+
//#endregion
|
|
1073
|
+
//#region src/index.d.ts
|
|
1074
|
+
/**
|
|
1075
|
+
* @author kazuya kawaguchi (a.k.a. kazupon)
|
|
1076
|
+
* @license MIT
|
|
1077
|
+
*/
|
|
1078
|
+
|
|
1072
1079
|
//#endregion
|
|
1073
1080
|
export { BaseOptions, BooleanOptions, Combinator, CombinatorOptions, CombinatorSchema, FloatOptions, IntegerOptions, NumberOptions, StringOptions, args, boolean, choice, combinator, describe, extend, float, integer, map, merge, multiple, number, positional, required, short, string, unrequired, withDefault };
|
package/lib/index.js
CHANGED
|
@@ -517,4 +517,10 @@ function extend(base, overrides) {
|
|
|
517
517
|
return result;
|
|
518
518
|
}
|
|
519
519
|
//#endregion
|
|
520
|
+
//#region src/index.ts
|
|
521
|
+
/**
|
|
522
|
+
* @author kazuya kawaguchi (a.k.a. kazupon)
|
|
523
|
+
* @license MIT
|
|
524
|
+
*/
|
|
525
|
+
//#endregion
|
|
520
526
|
export { args, boolean, choice, combinator, describe, extend, float, integer, map, merge, multiple, number, positional, required, short, string, unrequired, withDefault };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gunshi/combinators",
|
|
3
3
|
"description": "parser combinators for gunshi argument schema",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.30.1",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "kazuya kawaguchi",
|
|
7
7
|
"email": "kawakazu80@gmail.com"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"access": "public"
|
|
27
27
|
},
|
|
28
28
|
"engines": {
|
|
29
|
-
"node": ">=
|
|
29
|
+
"node": ">= 22"
|
|
30
30
|
},
|
|
31
31
|
"type": "module",
|
|
32
32
|
"files": [
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"deno": "^2.7.
|
|
55
|
+
"deno": "^2.7.14",
|
|
56
56
|
"jsr": "^0.14.3",
|
|
57
57
|
"jsr-exports-lint": "^0.4.2",
|
|
58
|
-
"publint": "^0.3.
|
|
59
|
-
"tsdown": "0.
|
|
60
|
-
"gunshi": "0.
|
|
58
|
+
"publint": "^0.3.20",
|
|
59
|
+
"tsdown": "0.21.0",
|
|
60
|
+
"gunshi": "0.30.1"
|
|
61
61
|
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"build": "tsdown",
|