Socket
Socket
Sign inDemoInstall

zod

Package Overview
Dependencies
Maintainers
2
Versions
361
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.23.0-canary.20240414T000556 to 3.23.0-canary.20240416T051357

7

lib/helpers/util.d.ts

@@ -34,5 +34,2 @@ export declare namespace util {

}[keyof T];
type optionalUnknown<K extends string | number | symbol> = {
[k in K]?: unknown;
};
type pickRequired<T extends object, R extends keyof T = requiredKeys<T>> = {

@@ -44,3 +41,5 @@ [k in R]: T[k];

};
export type addQuestionMarks<T extends object> = pickRequired<T> & pickOptional<T> & optionalUnknown<keyof T>;
export type addQuestionMarks<T extends object> = pickRequired<T> & pickOptional<T> & {
[k in keyof T]?: unknown;
};
export type identity<T> = T;

@@ -47,0 +46,0 @@ export type flatten<T> = identity<{

{
"name": "zod",
"version": "3.23.0-canary.20240414T000556",
"version": "3.23.0-canary.20240416T051357",
"author": "Colin McDonnell <colin@colinhacks.com>",

@@ -5,0 +5,0 @@ "repository": {

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