Comparing version 3.23.0-canary.20240408T222819 to 3.23.0-canary.20240409T032832
@@ -124,2 +124,5 @@ import { enumUtil } from "./helpers/enumUtil"; | ||
} | { | ||
kind: "nanoid"; | ||
message?: string; | ||
} | { | ||
kind: "cuid"; | ||
@@ -194,2 +197,3 @@ message?: string; | ||
uuid(message?: errorUtil.ErrMessage): ZodString; | ||
nanoid(message?: errorUtil.ErrMessage): ZodString; | ||
cuid(message?: errorUtil.ErrMessage): ZodString; | ||
@@ -238,2 +242,3 @@ cuid2(message?: errorUtil.ErrMessage): ZodString; | ||
get isUUID(): boolean; | ||
get isNANOID(): boolean; | ||
get isCUID(): boolean; | ||
@@ -240,0 +245,0 @@ get isCUID2(): boolean; |
@@ -73,3 +73,3 @@ import type { TypeOf, ZodType } from "."; | ||
} | ||
export declare type StringValidation = "email" | "url" | "emoji" | "uuid" | "regex" | "cuid" | "cuid2" | "ulid" | "datetime" | "date" | "time" | "ip" | { | ||
export declare type StringValidation = "email" | "url" | "emoji" | "uuid" | "nanoid" | "regex" | "cuid" | "cuid2" | "ulid" | "datetime" | "date" | "time" | "ip" | { | ||
includes: string; | ||
@@ -76,0 +76,0 @@ position?: number; |
{ | ||
"name": "zod", | ||
"version": "3.23.0-canary.20240408T222819", | ||
"version": "3.23.0-canary.20240409T032832", | ||
"author": "Colin McDonnell <colin@colinhacks.com>", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
653328
14695
3062