@ptolemy2002/regex-utils 2.6.2 → 3.0.0
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.d.ts +28 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -46,5 +46,31 @@ export declare function isValidEmail(v: string): boolean;
|
|
|
46
46
|
export declare function isValidURL(v: string): boolean;
|
|
47
47
|
export declare function isValidPhoneNumber(v: string): boolean;
|
|
48
48
|
export declare function isValidSSN(v: string): boolean;
|
|
49
|
-
export declare const ZodCoercedBooleanEnum: z.ZodEnum<
|
|
50
|
-
|
|
49
|
+
export declare const ZodCoercedBooleanEnum: z.ZodEnum<{
|
|
50
|
+
0: "0";
|
|
51
|
+
1: "1";
|
|
52
|
+
true: "true";
|
|
53
|
+
false: "false";
|
|
54
|
+
t: "t";
|
|
55
|
+
f: "f";
|
|
56
|
+
yes: "yes";
|
|
57
|
+
no: "no";
|
|
58
|
+
y: "y";
|
|
59
|
+
n: "n";
|
|
60
|
+
on: "on";
|
|
61
|
+
off: "off";
|
|
62
|
+
}>;
|
|
63
|
+
export declare const ZodCoercedBoolean: z.ZodPipe<z.ZodEnum<{
|
|
64
|
+
0: "0";
|
|
65
|
+
1: "1";
|
|
66
|
+
true: "true";
|
|
67
|
+
false: "false";
|
|
68
|
+
t: "t";
|
|
69
|
+
f: "f";
|
|
70
|
+
yes: "yes";
|
|
71
|
+
no: "no";
|
|
72
|
+
y: "y";
|
|
73
|
+
n: "n";
|
|
74
|
+
on: "on";
|
|
75
|
+
off: "off";
|
|
76
|
+
}>, z.ZodTransform<boolean, "0" | "1" | "true" | "false" | "t" | "f" | "yes" | "no" | "y" | "n" | "on" | "off">>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ptolemy2002/regex-utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"release-major": "bash ./scripts/release.sh major"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"zod": "^
|
|
30
|
+
"zod": "^4.0.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"zod": "^
|
|
33
|
+
"zod": "^4.0.0"
|
|
34
34
|
}
|
|
35
35
|
}
|