Socket
Socket
Sign inDemoInstall

@conform-to/zod

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@conform-to/zod - npm Package Compare versions

Comparing version 0.8.0-pre.0 to 0.8.0-pre.1

4

coercion.js

@@ -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

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