@conform-to/zod
Advanced tools
Comparing version 0.8.0-pre.0 to 0.8.0-pre.1
@@ -145,5 +145,5 @@ 'use strict'; | ||
// @ts-expect-error see message above | ||
return new zod.ZodOptional(_rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, schema._def), {}, { | ||
return zod.preprocess(value => coerceString(coerceFile(value)), new zod.ZodOptional(_rollupPluginBabelHelpers.objectSpread2(_rollupPluginBabelHelpers.objectSpread2({}, schema._def), {}, { | ||
innerType: enhanceSchema(schema.unwrap()) | ||
})); | ||
}))); | ||
} else if (schema instanceof zod.ZodDefault) { | ||
@@ -150,0 +150,0 @@ // @ts-expect-error see message above |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "0.8.0-pre.0", | ||
"version": "0.8.0-pre.1", | ||
"main": "index.js", | ||
@@ -29,3 +29,3 @@ "module": "index.mjs", | ||
"peerDependencies": { | ||
"@conform-to/dom": "0.8.0-pre.0", | ||
"@conform-to/dom": "0.8.0-pre.1", | ||
"zod": "^3.21.0" | ||
@@ -32,0 +32,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
38672
0