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.1.0-beta.4 to 1.1.0-beta.5

2

dist/index.es.js

@@ -428,3 +428,3 @@ import { useRef, useState, useEffect } from 'react';

}
else if (fields.current[name].eventAttached && !fields.current[name].eventAttached.includes('input')) {
else if (!fields.current[name].eventAttached || !fields.current[name].eventAttached.includes('input')) {
ref.addEventListener('input', validateWithStateUpdate);

@@ -431,0 +431,0 @@ data.eventAttached = [...(data.eventAttached || []), 'input'];

@@ -430,3 +430,3 @@ 'use strict';

}
else if (fields.current[name].eventAttached && !fields.current[name].eventAttached.includes('input')) {
else if (!fields.current[name].eventAttached || !fields.current[name].eventAttached.includes('input')) {
ref.addEventListener('input', validateWithStateUpdate);

@@ -433,0 +433,0 @@ data.eventAttached = [...(data.eventAttached || []), 'input'];

{
"name": "react-hook-form",
"version": "1.1.0-beta.4",
"version": "1.1.0-beta.5",
"main": "dist/index.js",

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

},
"dependencies": {
"styled-components": "^4.1.3"
},
"peerDependencies": {

@@ -57,0 +54,0 @@ "react": "^16.8.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