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.9 to 0.0.10

8

dist/index.js

@@ -299,2 +299,5 @@ // src/from-schema.ts

}
case "iterator": {
return z2.unknown();
}
}

@@ -366,4 +369,7 @@ };

}
case "iterator": {
return createZodMethod("unknown");
}
case "object": {
const propertySchemas = mapObjectNode2(node, toZodString).map(([key, zodType]) => `${key}: ${zodType}`).join(", ");
const propertySchemas = mapObjectNode2(node, toZodString).map(([key, zodType]) => `${JSON.stringify(key)}: ${zodType}`).join(", ");
return createZodMethod("object", `{ ${propertySchemas} }`);

@@ -370,0 +376,0 @@ }

4

package.json
{
"name": "@onetyped/zod",
"version": "0.0.9",
"version": "0.0.10",
"type": "module",

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

"devDependencies": {
"@onetyped/core": "0.0.9",
"@onetyped/core": "0.0.10",
"@trpc-labs/eslint-config": "0.1.1",

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

Sorry, the diff of this file is not supported yet

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