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

zod-to-json-schema

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zod-to-json-schema - npm Package Compare versions

Comparing version 3.22.3 to 3.22.4

2

changelog.md

@@ -5,2 +5,4 @@ # Changelog

| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 3.22.4 | Adds fix for nullable references in OpenAPI mode |
| 3.22.3 | Adjust root path from "#/" to "#" according to RFC 6901 |
| 3.22.2 | Adds "output" pipe strategy |

@@ -7,0 +9,0 @@ | 3.22.1 | Fixes broken imports when using some bundlers |

@@ -27,2 +27,4 @@ "use strict";

});
if (base && '$ref' in base)
return { allOf: [base], nullable: true };
return base && { ...base, nullable: true };

@@ -29,0 +31,0 @@ }

@@ -24,2 +24,4 @@ import { parseDef } from "../parseDef.js";

});
if (base && '$ref' in base)
return { allOf: [base], nullable: true };
return base && { ...base, nullable: true };

@@ -26,0 +28,0 @@ }

5

package.json
{
"name": "zod-to-json-schema",
"version": "3.22.3",
"version": "3.22.4",
"description": "Converts Zod schemas to Json Schemas",

@@ -49,3 +49,4 @@ "types": "./dist/types/index.d.ts",

"Santiago Cammi (https://github.com/scammi)",
"Philipp Burckhardt (https://github.com/Planeshifter)"
"Philipp Burckhardt (https://github.com/Planeshifter)",
"Bram del Canho (https://github.com/Bram-dc)"
],

@@ -52,0 +53,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