Socket
Socket
Sign inDemoInstall

zod

Package Overview
Dependencies
0
Maintainers
2
Versions
359
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.23.0-canary.20240417T001802 to 3.23.0-canary.20240417T010051

lib/benchmarks/datetime.d.ts

8

lib/benchmarks/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc