@onetyped/zod
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -12,2 +12,3 @@ // src/from-schema.ts | ||
map, | ||
never, | ||
nullable, | ||
@@ -58,2 +59,5 @@ nullType, | ||
} | ||
case ZodFirstPartyTypeKind.ZodNever: { | ||
return never(); | ||
} | ||
case ZodFirstPartyTypeKind.ZodBigInt: { | ||
@@ -165,2 +169,5 @@ return bigint(); | ||
} | ||
case "never": { | ||
return z2.never(); | ||
} | ||
case "regexp": { | ||
@@ -270,2 +277,5 @@ return z2.instanceof(RegExp); | ||
} | ||
case "never": { | ||
return createZodMethod("never"); | ||
} | ||
case "regexp": { | ||
@@ -272,0 +282,0 @@ return createZodMethod("instanceof", "RegExp"); |
{ | ||
"name": "@onetyped/zod", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"type": "module", | ||
@@ -38,3 +38,3 @@ "description": "onetyped Zod integration", | ||
"devDependencies": { | ||
"@onetyped/core": "0.0.4", | ||
"@onetyped/core": "0.0.6", | ||
"zod": "3.19.1" | ||
@@ -41,0 +41,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
25486
678