@chakra-ui/dom-utils
Advanced tools
Comparing version 0.0.0-dev-20220819191103 to 0.0.0-dev-20220820120308
@@ -38,5 +38,4 @@ "use strict"; | ||
function isHTMLElement(el) { | ||
if (!isElement(el)) { | ||
if (!isElement(el)) | ||
return false; | ||
} | ||
const win = el.ownerDocument.defaultView ?? window; | ||
@@ -43,0 +42,0 @@ return el instanceof win.HTMLElement; |
@@ -6,5 +6,4 @@ // src/dom.ts | ||
function isHTMLElement(el) { | ||
if (!isElement(el)) { | ||
if (!isElement(el)) | ||
return false; | ||
} | ||
const win = el.ownerDocument.defaultView ?? window; | ||
@@ -11,0 +10,0 @@ return el instanceof win.HTMLElement; |
{ | ||
"name": "@chakra-ui/dom-utils", | ||
"version": "0.0.0-dev-20220819191103", | ||
"version": "0.0.0-dev-20220820120308", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
12770
275