Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zod

Package Overview
Dependencies
Maintainers
1
Versions
372
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zod - npm Package Compare versions

Comparing version 3.24.0-canary.20241210T025401 to 3.24.0-canary.20241210T060351

8

lib/types.d.ts

@@ -166,2 +166,6 @@ import { enumUtil } from "./helpers/enumUtil";

} | {
kind: "jwt";
alg?: string;
message?: string;
} | {
kind: "datetime";

@@ -221,2 +225,6 @@ offset: boolean;

base64url(message?: errorUtil.ErrMessage): ZodString;
jwt(options?: {
alg?: string;
message?: string;
}): ZodString;
ip(options?: string | {

@@ -223,0 +231,0 @@ version?: IpVersion;

2

lib/ZodError.d.ts

@@ -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" | "duration" | "ip" | "cidr" | "base64" | "base64url" | {
export declare type StringValidation = "email" | "url" | "emoji" | "uuid" | "nanoid" | "regex" | "cuid" | "cuid2" | "ulid" | "datetime" | "date" | "time" | "duration" | "ip" | "cidr" | "base64" | "jwt" | "base64url" | {
includes: string;

@@ -76,0 +76,0 @@ position?: number;

{
"name": "zod",
"version": "3.24.0-canary.20241210T025401",
"version": "3.24.0-canary.20241210T060351",
"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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc