@vue/devtools-kit 8.1.0 → 8.1.2
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 -13
- package/dist/index.d.cts +707 -22757
- package/dist/index.d.ts +707 -22757
- package/dist/index.js +0 -13
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -5410,17 +5410,6 @@ function getStoreDetails(store) {
|
|
|
5410
5410
|
fields: { abstract: true }
|
|
5411
5411
|
} };
|
|
5412
5412
|
}
|
|
5413
|
-
function getRouterDetails(router) {
|
|
5414
|
-
return { _custom: {
|
|
5415
|
-
type: "router",
|
|
5416
|
-
displayText: "VueRouter",
|
|
5417
|
-
value: {
|
|
5418
|
-
options: router.options,
|
|
5419
|
-
currentRoute: router.currentRoute
|
|
5420
|
-
},
|
|
5421
|
-
fields: { abstract: true }
|
|
5422
|
-
} };
|
|
5423
|
-
}
|
|
5424
5413
|
function getInstanceDetails(instance) {
|
|
5425
5414
|
if (instance._) instance = instance._;
|
|
5426
5415
|
const state = processInstanceState(instance);
|
|
@@ -5516,7 +5505,6 @@ function stringifyReplacer(key, _value, depth, seenInstance) {
|
|
|
5516
5505
|
else if (proto === "[object Date]") return getDateDetails(val);
|
|
5517
5506
|
else if (proto === "[object Error]") return `[native Error ${val.message}<>${val.stack}]`;
|
|
5518
5507
|
else if (ensurePropertyExists(val, "state", true) && ensurePropertyExists(val, "_vm", true)) return getStoreDetails(val);
|
|
5519
|
-
else if (val.constructor && val.constructor.name === "VueRouter") return getRouterDetails(val);
|
|
5520
5508
|
else if (isVueInstance(val)) {
|
|
5521
5509
|
const componentVal = getInstanceDetails(val);
|
|
5522
5510
|
const parentInstanceDepth = seenInstance?.get(val);
|
|
@@ -5527,7 +5515,6 @@ function stringifyReplacer(key, _value, depth, seenInstance) {
|
|
|
5527
5515
|
else if (val.constructor && val.constructor.name === "VNode") return `[native VNode <${val.tag}>]`;
|
|
5528
5516
|
else if (typeof HTMLElement !== "undefined" && val instanceof HTMLElement) return getHTMLElementDetails(val);
|
|
5529
5517
|
else if (val.constructor?.name === "Store" && "_wrappedGetters" in val) return "[object Store]";
|
|
5530
|
-
else if (ensurePropertyExists(val, "currentRoute", true)) return "[object Router]";
|
|
5531
5518
|
const customDetails = getObjectDetails(val);
|
|
5532
5519
|
if (customDetails != null) return customDetails;
|
|
5533
5520
|
} else if (Number.isNaN(val)) return NAN;
|