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

@onetyped/zod

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onetyped/zod - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12-canary.2df8e02lkmd

dist/from-schema.d.ts

15

dist/index.d.ts

@@ -1,11 +0,4 @@

import { CustomTypeNode, AnyNode, DefinitionMap, Infer } from '@onetyped/core';
import { z } from 'zod';
declare const fromZodSchema: <TZodType extends z.ZodTypeAny>(schema: TZodType) => CustomTypeNode<z.TypeOf<TZodType>>;
type ToZodSchema<TNode extends AnyNode> = z.ZodType<Infer<TNode>>;
declare const toZodSchema: <TNode extends AnyNode>(node: TNode, definitions?: DefinitionMap) => ToZodSchema<TNode>;
declare const toZodString: (node: AnyNode) => string;
export { fromZodSchema, toZodSchema, toZodString };
export { fromZodSchema } from './from-schema';
export { toZodSchema } from './to-schema';
export { toZodString } from './to-string';
//# sourceMappingURL=index.d.ts.map
{
"name": "@onetyped/zod",
"version": "0.0.11",
"version": "0.0.12-canary.2df8e02lkmd",
"type": "module",

@@ -44,3 +44,3 @@ "description": "onetyped Zod integration",

"devDependencies": {
"@onetyped/core": "0.0.11",
"@onetyped/core": "0.0.12",
"@trpc-labs/eslint-config": "0.1.1",

@@ -47,0 +47,0 @@ "@trpc-labs/tsconfig": "0.1.1",

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