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();
663663z.base64();
664664z.base64url();
665665z.jwt();
666- z.ascii();
667- z.utf8();
668666z.lowercase();
669667z.iso.date();
670668z.iso.datetime();
Original file line number Diff line number Diff line change @@ -314,8 +314,8 @@ export function _ksuid<T extends schemas.$ZodKSUID>(
314314}
315315
316316// 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" > ;
319319export function _ipv4 < T extends schemas . $ZodIPv4 > (
320320 Class : util . SchemaClass < T > ,
321321 params ?: string | $ZodIPv4Params | $ZodCheckIPv4Params
@@ -330,8 +330,8 @@ export function _ipv4<T extends schemas.$ZodIPv4>(
330330}
331331
332332// 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" > ;
335335export function _ipv6 < T extends schemas . $ZodIPv6 > (
336336 Class : util . SchemaClass < T > ,
337337 params ?: string | $ZodIPv6Params | $ZodCheckIPv6Params
You can’t perform that action at this time.
0 commit comments