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

@conform-to/yup

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@conform-to/yup - npm Package Compare versions

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

4

package.json

@@ -6,3 +6,3 @@ {

"license": "MIT",
"version": "0.8.0-pre.1",
"version": "0.8.0-pre.2",
"main": "index.js",

@@ -29,3 +29,3 @@ "module": "index.mjs",

"peerDependencies": {
"@conform-to/dom": "0.8.0-pre.1",
"@conform-to/dom": "0.8.0-pre.2",
"yup": ">=0.32.0"

@@ -32,0 +32,0 @@ },

@@ -68,3 +68,3 @@ # @conform-to/yup

```tsx
import { useForm, report } from '@conform-to/react';
import { useForm } from '@conform-to/react';
import { parse } from '@conform-to/yup';

@@ -87,4 +87,4 @@ import * as yup from 'yup';

if (!submission.value || submission.intent !== 'submit') {
return report(submission);
if (submission.intent !== 'submit' || !submission.value) {
return submission;
}

@@ -91,0 +91,0 @@

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