zod-to-json-schema
Advanced tools
Comparing version 3.4.1 to 3.4.2
{ | ||
"name": "zod-to-json-schema", | ||
"version": "3.4.1", | ||
"version": "3.4.2", | ||
"description": "Converts Zod schemas to Json Schemas", | ||
@@ -20,3 +20,4 @@ "main": "index.js", | ||
"contributors": [ | ||
"Hammad Asif (https://github.com/mrhammadasif)" | ||
"Hammad Asif (https://github.com/mrhammadasif)", | ||
"Noah Rosenzweig (https://github.com/Noah2610)" | ||
], | ||
@@ -29,3 +30,3 @@ "repository": { | ||
"dependencies": { | ||
"zod": "^3.7.1" | ||
"zod": "^3.8.1" | ||
}, | ||
@@ -32,0 +33,0 @@ "devDependencies": { |
@@ -56,2 +56,3 @@ # Zod to Json Schema | ||
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| 3.4.2 | Fixed broken intersection parser (Thanks [Noah2610](https://github.com/Noah2610)!) | ||
| 3.4.1 | Fixed pathing bug for nullable items. | ||
@@ -58,0 +59,0 @@ | 3.4.0 | Added support for z.lazy() | |
@@ -7,4 +7,4 @@ "use strict"; | ||
const allOf = [ | ||
parseDef_1.parseDef(def.left._def, path, visited), | ||
parseDef_1.parseDef(def.right._def, path, visited), | ||
parseDef_1.parseDef(def.left, path, visited), | ||
parseDef_1.parseDef(def.right, path, visited), | ||
].filter(Boolean); | ||
@@ -11,0 +11,0 @@ return allOf.length === 2 ? { allOf } : allOf.length === 1 ? allOf[0] : {}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35000
71
Updatedzod@^3.8.1