@orpc/zod 0.0.0-next.cdf567b → 0.0.0-next.ce8559f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
@@ -789,7 +789,7 @@ class ZodToJsonSchemaConverter {
|
|
789
789
|
case ZodFirstPartyTypeKind.ZodNullable: {
|
790
790
|
const schema_ = schema;
|
791
791
|
const [required, json] = this.convert(schema_._def.innerType, options, lazyDepth, false, false, structureDepth);
|
792
|
-
return [required, { anyOf: [{ type: "null" }
|
792
|
+
return [required, { anyOf: [json, { type: "null" }] }];
|
793
793
|
}
|
794
794
|
}
|
795
795
|
return [true, this.unsupportedJsonSchema];
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@orpc/zod",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.0.0-next.
|
4
|
+
"version": "0.0.0-next.ce8559f",
|
5
5
|
"license": "MIT",
|
6
6
|
"homepage": "https://orpc.unnoq.com",
|
7
7
|
"repository": {
|
@@ -30,14 +30,14 @@
|
|
30
30
|
],
|
31
31
|
"peerDependencies": {
|
32
32
|
"zod": ">=3.24.2",
|
33
|
-
"@orpc/contract": "0.0.0-next.
|
34
|
-
"@orpc/server": "0.0.0-next.
|
33
|
+
"@orpc/contract": "0.0.0-next.ce8559f",
|
34
|
+
"@orpc/server": "0.0.0-next.ce8559f"
|
35
35
|
},
|
36
36
|
"dependencies": {
|
37
37
|
"escape-string-regexp": "^5.0.0",
|
38
38
|
"wildcard-match": "^5.1.3",
|
39
|
-
"@orpc/
|
40
|
-
"@orpc/
|
39
|
+
"@orpc/shared": "0.0.0-next.ce8559f",
|
40
|
+
"@orpc/openapi": "0.0.0-next.ce8559f"
|
41
41
|
},
|
42
42
|
"devDependencies": {
|
43
43
|
"zod": "^3.25.67",
|