Comparing version 3.23.0-canary.20240416T233020 to 3.23.0-canary.20240417T001802
@@ -179,2 +179,5 @@ import { enumUtil } from "./helpers/enumUtil"; | ||
message?: string; | ||
} | { | ||
kind: "base64"; | ||
message?: string; | ||
}; | ||
@@ -198,2 +201,3 @@ export interface ZodStringDef extends ZodTypeDef { | ||
ulid(message?: errorUtil.ErrMessage): ZodString; | ||
base64(message?: errorUtil.ErrMessage): ZodString; | ||
ip(options?: string | { | ||
@@ -244,2 +248,3 @@ version?: "v4" | "v6"; | ||
get isIP(): boolean; | ||
get isBase64(): boolean; | ||
get minLength(): number | null; | ||
@@ -246,0 +251,0 @@ get maxLength(): number | null; |
@@ -73,3 +73,3 @@ import type { TypeOf, ZodType } from "."; | ||
} | ||
export declare type StringValidation = "email" | "url" | "emoji" | "uuid" | "nanoid" | "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" | "base64" | { | ||
includes: string; | ||
@@ -76,0 +76,0 @@ position?: number; |
{ | ||
"name": "zod", | ||
"version": "3.23.0-canary.20240416T233020", | ||
"version": "3.23.0-canary.20240417T001802", | ||
"author": "Colin McDonnell <colin@colinhacks.com>", | ||
@@ -15,2 +15,3 @@ "repository": { | ||
"@babel/preset-typescript": "^7.22.5", | ||
"@jest/globals": "^29.4.3", | ||
"@rollup/plugin-typescript": "^8.2.0", | ||
@@ -17,0 +18,0 @@ "@swc/core": "^1.3.66", |
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
664373
14954
3080
35