@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.js
CHANGED
|
@@ -5409,17 +5409,6 @@ function getStoreDetails(store) {
|
|
|
5409
5409
|
fields: { abstract: true }
|
|
5410
5410
|
} };
|
|
5411
5411
|
}
|
|
5412
|
-
function getRouterDetails(router) {
|
|
5413
|
-
return { _custom: {
|
|
5414
|
-
type: "router",
|
|
5415
|
-
displayText: "VueRouter",
|
|
5416
|
-
value: {
|
|
5417
|
-
options: router.options,
|
|
5418
|
-
currentRoute: router.currentRoute
|
|
5419
|
-
},
|
|
5420
|
-
fields: { abstract: true }
|
|
5421
|
-
} };
|
|
5422
|
-
}
|
|
5423
5412
|
function getInstanceDetails(instance) {
|
|
5424
5413
|
if (instance._) instance = instance._;
|
|
5425
5414
|
const state = processInstanceState(instance);
|
|
@@ -5515,7 +5504,6 @@ function stringifyReplacer(key, _value, depth, seenInstance) {
|
|
|
5515
5504
|
else if (proto === "[object Date]") return getDateDetails(val);
|
|
5516
5505
|
else if (proto === "[object Error]") return `[native Error ${val.message}<>${val.stack}]`;
|
|
5517
5506
|
else if (ensurePropertyExists(val, "state", true) && ensurePropertyExists(val, "_vm", true)) return getStoreDetails(val);
|
|
5518
|
-
else if (val.constructor && val.constructor.name === "VueRouter") return getRouterDetails(val);
|
|
5519
5507
|
else if (isVueInstance(val)) {
|
|
5520
5508
|
const componentVal = getInstanceDetails(val);
|
|
5521
5509
|
const parentInstanceDepth = seenInstance?.get(val);
|
|
@@ -5526,7 +5514,6 @@ function stringifyReplacer(key, _value, depth, seenInstance) {
|
|
|
5526
5514
|
else if (val.constructor && val.constructor.name === "VNode") return `[native VNode <${val.tag}>]`;
|
|
5527
5515
|
else if (typeof HTMLElement !== "undefined" && val instanceof HTMLElement) return getHTMLElementDetails(val);
|
|
5528
5516
|
else if (val.constructor?.name === "Store" && "_wrappedGetters" in val) return "[object Store]";
|
|
5529
|
-
else if (ensurePropertyExists(val, "currentRoute", true)) return "[object Router]";
|
|
5530
5517
|
const customDetails = getObjectDetails(val);
|
|
5531
5518
|
if (customDetails != null) return customDetails;
|
|
5532
5519
|
} else if (Number.isNaN(val)) return NAN;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/devtools-kit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "8.1.
|
|
4
|
+
"version": "8.1.2",
|
|
5
5
|
"author": "webfansplz",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"birpc": "^2.6.1",
|
|
27
27
|
"hookable": "^5.5.3",
|
|
28
28
|
"perfect-debounce": "^2.0.0",
|
|
29
|
-
"@vue/devtools-shared": "^8.1.
|
|
29
|
+
"@vue/devtools-shared": "^8.1.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/speakingurl": "^13.0.6",
|