@vue/devtools-kit 7.7.1 → 7.7.3
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 +4 -4
- package/dist/index.js +4 -4
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target22) => (target22 = mod != null ? __create(
|
|
|
33
33
|
));
|
|
34
34
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@8.
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var init_cjs_shims = __esm({
|
|
38
|
-
"../../node_modules/.pnpm/tsup@8.
|
|
38
|
+
"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/cjs_shims.js"() {
|
|
39
39
|
"use strict";
|
|
40
40
|
}
|
|
41
41
|
});
|
|
@@ -2198,7 +2198,7 @@ var StateEditor = class {
|
|
|
2198
2198
|
const section = sections.shift();
|
|
2199
2199
|
if (object instanceof Map)
|
|
2200
2200
|
object = object.get(section);
|
|
2201
|
-
if (object instanceof Set)
|
|
2201
|
+
else if (object instanceof Set)
|
|
2202
2202
|
object = Array.from(object.values())[section];
|
|
2203
2203
|
else object = object[section];
|
|
2204
2204
|
if (this.refEditor.isRef(object))
|
|
@@ -4433,7 +4433,7 @@ function createDevToolsApi(hooks2) {
|
|
|
4433
4433
|
getComponentRenderCode(id) {
|
|
4434
4434
|
const instance = getComponentInstance(activeAppRecord.value, id);
|
|
4435
4435
|
if (instance)
|
|
4436
|
-
return !((instance == null ? void 0 : instance.type)
|
|
4436
|
+
return !(typeof (instance == null ? void 0 : instance.type) === "function") ? instance.render.toString() : instance.type.toString();
|
|
4437
4437
|
},
|
|
4438
4438
|
// scroll to component
|
|
4439
4439
|
scrollToComponent(id) {
|
package/dist/index.js
CHANGED
|
@@ -27,9 +27,9 @@ var __toESM = (mod, isNodeMode, target22) => (target22 = mod != null ? __create(
|
|
|
27
27
|
mod
|
|
28
28
|
));
|
|
29
29
|
|
|
30
|
-
// ../../node_modules/.pnpm/tsup@8.
|
|
30
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js
|
|
31
31
|
var init_esm_shims = __esm({
|
|
32
|
-
"../../node_modules/.pnpm/tsup@8.
|
|
32
|
+
"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"() {
|
|
33
33
|
"use strict";
|
|
34
34
|
}
|
|
35
35
|
});
|
|
@@ -2106,7 +2106,7 @@ var StateEditor = class {
|
|
|
2106
2106
|
const section = sections.shift();
|
|
2107
2107
|
if (object instanceof Map)
|
|
2108
2108
|
object = object.get(section);
|
|
2109
|
-
if (object instanceof Set)
|
|
2109
|
+
else if (object instanceof Set)
|
|
2110
2110
|
object = Array.from(object.values())[section];
|
|
2111
2111
|
else object = object[section];
|
|
2112
2112
|
if (this.refEditor.isRef(object))
|
|
@@ -4341,7 +4341,7 @@ function createDevToolsApi(hooks2) {
|
|
|
4341
4341
|
getComponentRenderCode(id) {
|
|
4342
4342
|
const instance = getComponentInstance(activeAppRecord.value, id);
|
|
4343
4343
|
if (instance)
|
|
4344
|
-
return !((instance == null ? void 0 : instance.type)
|
|
4344
|
+
return !(typeof (instance == null ? void 0 : instance.type) === "function") ? instance.render.toString() : instance.type.toString();
|
|
4345
4345
|
},
|
|
4346
4346
|
// scroll to component
|
|
4347
4347
|
scrollToComponent(id) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/devtools-kit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.7.
|
|
4
|
+
"version": "7.7.3",
|
|
5
5
|
"author": "webfansplz",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"dist"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"birpc": "^
|
|
26
|
+
"birpc": "^2.3.0",
|
|
27
27
|
"hookable": "^5.5.3",
|
|
28
28
|
"mitt": "^3.0.1",
|
|
29
29
|
"perfect-debounce": "^1.0.0",
|
|
30
30
|
"speakingurl": "^14.0.1",
|
|
31
|
-
"superjson": "^2.2.
|
|
32
|
-
"@vue/devtools-shared": "^7.7.
|
|
31
|
+
"superjson": "^2.2.2",
|
|
32
|
+
"@vue/devtools-shared": "^7.7.3"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/speakingurl": "^13.0.6",
|