Comparing version 3.23.0-canary.20240417T001802 to 3.23.0-canary.20240417T010051
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const datetime_1 = __importDefault(require("./datetime")); | ||
const discriminatedUnion_1 = __importDefault(require("./discriminatedUnion")); | ||
@@ -42,7 +43,10 @@ const object_1 = __importDefault(require("./object")); | ||
if (argv.includes("--discriminatedUnion")) { | ||
suites.push(...discriminatedUnion_1.default.suites); | ||
suites.push(...datetime_1.default.suites); | ||
} | ||
if (argv.includes("--datetime")) { | ||
suites.push(...datetime_1.default.suites); | ||
} | ||
} | ||
for (const suite of suites) { | ||
suite.run(); | ||
suite.run({}); | ||
} | ||
@@ -49,0 +53,0 @@ // exit on Ctrl-C |
@@ -188,2 +188,7 @@ import { enumUtil } from "./helpers/enumUtil"; | ||
} | ||
export declare function datetimeRegex(args: { | ||
precision?: number | null; | ||
offset?: boolean; | ||
local?: boolean; | ||
}): RegExp; | ||
export declare class ZodString extends ZodType<string, ZodStringDef> { | ||
@@ -190,0 +195,0 @@ _parse(input: ParseInput): ParseReturnType<string>; |
{ | ||
"name": "zod", | ||
"version": "3.23.0-canary.20240417T001802", | ||
"version": "3.23.0-canary.20240417T010051", | ||
"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
666750
48
15025