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 1.0.0 to 1.0.1

examples/basic.tsx

8

dist/index.es.js

@@ -395,6 +395,6 @@ import { useRef, useState, useEffect } from 'react';

}
if (JSON.stringify(localErrorMessages.current) !== JSON.stringify(localErrors)) {
updateErrorMessage(localErrors);
localErrorMessages.current = localErrors;
}
// if (JSON.stringify(localErrorMessages.current) !== JSON.stringify(localErrors)) {
updateErrorMessage(localErrors);
localErrorMessages.current = localErrors;
// }
if (!Object.values(localErrors).length)

@@ -401,0 +401,0 @@ callback(values, e);

@@ -397,6 +397,6 @@ 'use strict';

}
if (JSON.stringify(localErrorMessages.current) !== JSON.stringify(localErrors)) {
updateErrorMessage(localErrors);
localErrorMessages.current = localErrors;
}
// if (JSON.stringify(localErrorMessages.current) !== JSON.stringify(localErrors)) {
updateErrorMessage(localErrors);
localErrorMessages.current = localErrors;
// }
if (!Object.values(localErrors).length)

@@ -403,0 +403,0 @@ callback(values, e);

{
"name": "react-hook-form",
"version": "1.0.0",
"version": "1.0.1",
"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