File tree Expand file tree Collapse file tree 3 files changed +5
-1031
lines changed Expand file tree Collapse file tree 3 files changed +5
-1031
lines changed Original file line number Diff line number Diff line change @@ -663,8 +663,6 @@ z.e164();
663
663
z.base64();
664
664
z.base64url();
665
665
z.jwt();
666
- z.ascii();
667
- z.utf8();
668
666
z.lowercase();
669
667
z.iso.date();
670
668
z.iso.datetime();
Original file line number Diff line number Diff line change @@ -314,8 +314,8 @@ export function _ksuid<T extends schemas.$ZodKSUID>(
314
314
}
315
315
316
316
// IPv4
317
- export type $ZodIPv4Params = StringFormatParams < schemas . $ZodIPv4 , "pattern" | "when" > ;
318
- export type $ZodCheckIPv4Params = CheckStringFormatParams < schemas . $ZodIPv4 , "pattern" | "when" > ;
317
+ export type $ZodIPv4Params = StringFormatParams < schemas . $ZodIPv4 , "pattern" | "when" | "version" > ;
318
+ export type $ZodCheckIPv4Params = CheckStringFormatParams < schemas . $ZodIPv4 , "pattern" | "when" | "version" > ;
319
319
export function _ipv4 < T extends schemas . $ZodIPv4 > (
320
320
Class : util . SchemaClass < T > ,
321
321
params ?: string | $ZodIPv4Params | $ZodCheckIPv4Params
@@ -330,8 +330,8 @@ export function _ipv4<T extends schemas.$ZodIPv4>(
330
330
}
331
331
332
332
// IPv6
333
- export type $ZodIPv6Params = StringFormatParams < schemas . $ZodIPv6 , "pattern" | "when" > ;
334
- export type $ZodCheckIPv6Params = CheckStringFormatParams < schemas . $ZodIPv6 , "pattern" | "when" > ;
333
+ export type $ZodIPv6Params = StringFormatParams < schemas . $ZodIPv6 , "pattern" | "when" | "version" > ;
334
+ export type $ZodCheckIPv6Params = CheckStringFormatParams < schemas . $ZodIPv6 , "pattern" | "when" | "version" > ;
335
335
export function _ipv6 < T extends schemas . $ZodIPv6 > (
336
336
Class : util . SchemaClass < T > ,
337
337
params ?: string | $ZodIPv6Params | $ZodCheckIPv6Params
You can’t perform that action at this time.
0 commit comments