@featherds/composables
Advanced tools
Comparing version 0.2.3 to 0.2.4
{ | ||
"name": "@featherds/composables", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"publishConfig": { | ||
@@ -10,3 +10,3 @@ "access": "public" | ||
"dependencies": { | ||
"@featherds/utils": "^0.2.3", | ||
"@featherds/utils": "^0.2.4", | ||
"lodash.debounce": "^4.0.8", | ||
@@ -20,3 +20,3 @@ "vue": "^3.1.0-0" | ||
"types": "./index.d.ts", | ||
"gitHead": "fad5ee7b18e9e7682050e129629a9da8276adff7" | ||
"gitHead": "14a6e4fa352587dafe9f5e533d289439b8c3ca74" | ||
} |
@@ -28,3 +28,3 @@ import { ref, inject, computed, onMounted } from "vue"; | ||
thisEl = tab.value.parentElement; | ||
parent = thisEl?.parentNode; | ||
parent = (thisEl && thisEl.parentNode) ? thisEl.parentNode : []; | ||
childNodes = [].filter.call(parent.children, function (el) { | ||
@@ -31,0 +31,0 @@ return el.querySelectorAll("[role=tab]").length; |
@@ -22,3 +22,3 @@ import { ref, inject, computed, onMounted } from "vue"; | ||
thisEl = panel.value; | ||
parent = thisEl?.parentNode; | ||
parent = (thisEl && thisEl.parentNode) ? thisEl.parentNode : []; | ||
index = thisEl | ||
@@ -25,0 +25,0 @@ ? Array.prototype.indexOf.call(parent.children, thisEl) |
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
40284
Updated@featherds/utils@^0.2.4