react-hook-form
Advanced tools
Comparing version 1.1.0-beta.4 to 1.1.0-beta.5
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
48881
- Removedstyled-components@^4.1.3
- Removed@ampproject/remapping@2.3.0(transitive)
- Removed@babel/code-frame@7.24.7(transitive)
- Removed@babel/compat-data@7.25.4(transitive)
- Removed@babel/core@7.25.2(transitive)
- Removed@babel/generator@7.25.6(transitive)
- Removed@babel/helper-annotate-as-pure@7.24.7(transitive)
- Removed@babel/helper-compilation-targets@7.25.2(transitive)
- Removed@babel/helper-module-imports@7.24.7(transitive)
- Removed@babel/helper-module-transforms@7.25.2(transitive)
- Removed@babel/helper-plugin-utils@7.24.8(transitive)
- Removed@babel/helper-simple-access@7.24.7(transitive)
- Removed@babel/helper-string-parser@7.24.8(transitive)
- Removed@babel/helper-validator-identifier@7.24.7(transitive)
- Removed@babel/helper-validator-option@7.24.8(transitive)
- Removed@babel/helpers@7.25.6(transitive)
- Removed@babel/highlight@7.24.7(transitive)
- Removed@babel/parser@7.25.6(transitive)
- Removed@babel/plugin-syntax-jsx@7.24.7(transitive)
- Removed@babel/template@7.25.0(transitive)
- Removed@babel/traverse@7.25.6(transitive)
- Removed@babel/types@7.25.6(transitive)
- Removed@emotion/is-prop-valid@0.8.8(transitive)
- Removed@emotion/memoize@0.7.4(transitive)
- Removed@emotion/unitless@0.7.5(transitive)
- Removed@jridgewell/gen-mapping@0.3.5(transitive)
- Removed@jridgewell/resolve-uri@3.1.2(transitive)
- Removed@jridgewell/set-array@1.2.1(transitive)
- Removed@jridgewell/sourcemap-codec@1.5.0(transitive)
- Removed@jridgewell/trace-mapping@0.3.25(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedbabel-plugin-styled-components@2.1.4(transitive)
- Removedbrowserslist@4.24.0(transitive)
- Removedcamelize@1.0.1(transitive)
- Removedcaniuse-lite@1.0.30001664(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedconvert-source-map@2.0.0(transitive)
- Removedcss-color-keywords@1.0.0(transitive)
- Removedcss-to-react-native@2.3.2(transitive)
- Removeddebug@4.3.7(transitive)
- Removedelectron-to-chromium@1.5.29(transitive)
- Removedescalade@3.2.0(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedgensync@1.0.0-beta.2(transitive)
- Removedglobals@11.12.0(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedis-what@3.14.1(transitive)
- Removedjsesc@2.5.2(transitive)
- Removedjson5@2.2.3(transitive)
- Removedlodash@4.17.21(transitive)
- Removedlru-cache@5.1.1(transitive)
- Removedmemoize-one@5.2.1(transitive)
- Removedmerge-anything@2.4.4(transitive)
- Removedms@2.1.3(transitive)
- Removednode-releases@2.0.18(transitive)
- Removedpicocolors@1.1.0(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedpostcss-value-parser@3.3.1(transitive)
- Removedsemver@6.3.1(transitive)
- Removedstyled-components@4.4.1(transitive)
- Removedstylis@3.5.4(transitive)
- Removedstylis-rule-sheet@0.0.10(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedto-fast-properties@2.0.0(transitive)
- Removedupdate-browserslist-db@1.1.1(transitive)
- Removedyallist@3.1.1(transitive)