Socket
Socket
Sign inDemoInstall

react-hook-form

Package Overview
Dependencies
Maintainers
1
Versions
1030
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-hook-form - npm Package Compare versions

Comparing version 2.0.0-beta.1 to 2.0.0-beta.2

2

dist/index.d.ts

@@ -59,3 +59,3 @@ declare type Validate = (data: string | number) => boolean | string | number | Date;

export default function useForm({ mode, validationSchema }?: Props): {
register: (data: RegisterInput | HTMLInputElement | HTMLSelectElement) => (ref: any) => void;
register: (data: any) => (ref: any) => void;
handleSubmit: (callback: (Object: any, e: any) => void) => (e: any) => Promise<void>;

@@ -62,0 +62,0 @@ errors: ErrorMessages;

{
"name": "react-hook-form",
"version": "2.0.0-beta.1",
"version": "2.0.0-beta.2",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "module": "dist/index.es.js",

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