@deot/vc-hooks 1.0.57 → 1.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +0 -1
- package/dist/index.iife.js +0 -1
- package/dist/index.js +0 -1
- package/dist/index.umd.cjs +0 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -61,7 +61,6 @@ const getInstance = (componentName, privateKey) => {
|
|
|
61
61
|
const instance = vue.getCurrentInstance();
|
|
62
62
|
const regex = new RegExp(`${componentName}$`);
|
|
63
63
|
let parent = instance.parent;
|
|
64
|
-
/* istanbul ignore next -- @preserve */
|
|
65
64
|
while (parent && !(parent?.type?.name && regex.test(parent.type.name)) && (!privateKey || !parent?.[privateKey] || !parent?.proxy?.[privateKey])) {
|
|
66
65
|
parent = parent.parent || parent?.type?.parent;
|
|
67
66
|
}
|
package/dist/index.iife.js
CHANGED
|
@@ -58,7 +58,6 @@ var VcHooks = (function (exports, vue) {
|
|
|
58
58
|
const instance = vue.getCurrentInstance();
|
|
59
59
|
const regex = new RegExp(`${componentName}$`);
|
|
60
60
|
let parent = instance.parent;
|
|
61
|
-
/* istanbul ignore next -- @preserve */
|
|
62
61
|
while (parent && !(parent?.type?.name && regex.test(parent.type.name)) && (!privateKey || !parent?.[privateKey] || !parent?.proxy?.[privateKey])) {
|
|
63
62
|
parent = parent.parent || parent?.type?.parent;
|
|
64
63
|
}
|
package/dist/index.js
CHANGED
|
@@ -57,7 +57,6 @@ const getInstance = (componentName, privateKey) => {
|
|
|
57
57
|
const instance = getCurrentInstance();
|
|
58
58
|
const regex = new RegExp(`${componentName}$`);
|
|
59
59
|
let parent = instance.parent;
|
|
60
|
-
/* istanbul ignore next -- @preserve */
|
|
61
60
|
while (parent && !(parent?.type?.name && regex.test(parent.type.name)) && (!privateKey || !parent?.[privateKey] || !parent?.proxy?.[privateKey])) {
|
|
62
61
|
parent = parent.parent || parent?.type?.parent;
|
|
63
62
|
}
|
package/dist/index.umd.cjs
CHANGED
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
const instance = vue.getCurrentInstance();
|
|
62
62
|
const regex = new RegExp(`${componentName}$`);
|
|
63
63
|
let parent = instance.parent;
|
|
64
|
-
/* istanbul ignore next -- @preserve */
|
|
65
64
|
while (parent && !(parent?.type?.name && regex.test(parent.type.name)) && (!privateKey || !parent?.[privateKey] || !parent?.proxy?.[privateKey])) {
|
|
66
65
|
parent = parent.parent || parent?.type?.parent;
|
|
67
66
|
}
|