use-email-autocomplete
Advanced tools
Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "use-email-autocomplete", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"homepage": "https://codepen.io/alex-cory/pen/daLjKj?editors=0010", | ||
@@ -5,0 +5,0 @@ "github": "https://github.com/alex-cory/use-email-autocomplete", |
@@ -38,3 +38,3 @@ import { useState, useRef, useCallback, useEffect } from 'react' | ||
if (!partialDomain || email.length <= prevVal.current.length) return '' | ||
const domain = theDomains.current.find(d => d.indexOf(partialDomain) === 0) || '' | ||
const domain = theDomains.find(d => d.indexOf(partialDomain) === 0) || '' | ||
return domain.replace(partialDomain, '') | ||
@@ -41,0 +41,0 @@ }, [theDomains]) |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
11433