@vue/devtools-kit 7.5.2 → 7.5.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 +9 -2
- package/dist/index.js +9 -2
- package/package.json +2 -2
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.3.0_@microsoft+api-extractor@7.43.0_@types+node@20.16.
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.3.0_@microsoft+api-extractor@7.43.0_@types+node@20.16.14__@swc+core@1.5.29_jiti@2.0.0__utvtwgyeu6xd57udthcnogp47u/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var init_cjs_shims = __esm({
|
|
38
|
-
"../../node_modules/.pnpm/tsup@8.3.0_@microsoft+api-extractor@7.43.0_@types+node@20.16.
|
|
38
|
+
"../../node_modules/.pnpm/tsup@8.3.0_@microsoft+api-extractor@7.43.0_@types+node@20.16.14__@swc+core@1.5.29_jiti@2.0.0__utvtwgyeu6xd57udthcnogp47u/node_modules/tsup/assets/cjs_shims.js"() {
|
|
39
39
|
"use strict";
|
|
40
40
|
}
|
|
41
41
|
});
|
|
@@ -6441,6 +6441,10 @@ function isObject(_data, proto) {
|
|
|
6441
6441
|
function isArray3(_data, proto) {
|
|
6442
6442
|
return proto === "[object Array]";
|
|
6443
6443
|
}
|
|
6444
|
+
function isVueReactiveLinkNode(node) {
|
|
6445
|
+
const constructorName = node.constructor.name;
|
|
6446
|
+
return constructorName === "Dep" && "activeLink" in node || constructorName === "Link" && "dep" in node;
|
|
6447
|
+
}
|
|
6444
6448
|
function encode(data, replacer, list, seen, depth = 0, seenVueInstance = /* @__PURE__ */ new Map()) {
|
|
6445
6449
|
let stored;
|
|
6446
6450
|
let key;
|
|
@@ -6453,6 +6457,9 @@ function encode(data, replacer, list, seen, depth = 0, seenVueInstance = /* @__P
|
|
|
6453
6457
|
const index = list.length;
|
|
6454
6458
|
const proto = Object.prototype.toString.call(data);
|
|
6455
6459
|
if (isObject(data, proto)) {
|
|
6460
|
+
if (isVueReactiveLinkNode(data)) {
|
|
6461
|
+
return index;
|
|
6462
|
+
}
|
|
6456
6463
|
stored = {};
|
|
6457
6464
|
seen.set(data, index);
|
|
6458
6465
|
list.push(stored);
|
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.3.0_@microsoft+api-extractor@7.43.0_@types+node@20.16.
|
|
30
|
+
// ../../node_modules/.pnpm/tsup@8.3.0_@microsoft+api-extractor@7.43.0_@types+node@20.16.14__@swc+core@1.5.29_jiti@2.0.0__utvtwgyeu6xd57udthcnogp47u/node_modules/tsup/assets/esm_shims.js
|
|
31
31
|
var init_esm_shims = __esm({
|
|
32
|
-
"../../node_modules/.pnpm/tsup@8.3.0_@microsoft+api-extractor@7.43.0_@types+node@20.16.
|
|
32
|
+
"../../node_modules/.pnpm/tsup@8.3.0_@microsoft+api-extractor@7.43.0_@types+node@20.16.14__@swc+core@1.5.29_jiti@2.0.0__utvtwgyeu6xd57udthcnogp47u/node_modules/tsup/assets/esm_shims.js"() {
|
|
33
33
|
"use strict";
|
|
34
34
|
}
|
|
35
35
|
});
|
|
@@ -6350,6 +6350,10 @@ function isObject(_data, proto) {
|
|
|
6350
6350
|
function isArray3(_data, proto) {
|
|
6351
6351
|
return proto === "[object Array]";
|
|
6352
6352
|
}
|
|
6353
|
+
function isVueReactiveLinkNode(node) {
|
|
6354
|
+
const constructorName = node.constructor.name;
|
|
6355
|
+
return constructorName === "Dep" && "activeLink" in node || constructorName === "Link" && "dep" in node;
|
|
6356
|
+
}
|
|
6353
6357
|
function encode(data, replacer, list, seen, depth = 0, seenVueInstance = /* @__PURE__ */ new Map()) {
|
|
6354
6358
|
let stored;
|
|
6355
6359
|
let key;
|
|
@@ -6362,6 +6366,9 @@ function encode(data, replacer, list, seen, depth = 0, seenVueInstance = /* @__P
|
|
|
6362
6366
|
const index = list.length;
|
|
6363
6367
|
const proto = Object.prototype.toString.call(data);
|
|
6364
6368
|
if (isObject(data, proto)) {
|
|
6369
|
+
if (isVueReactiveLinkNode(data)) {
|
|
6370
|
+
return index;
|
|
6371
|
+
}
|
|
6365
6372
|
stored = {};
|
|
6366
6373
|
seen.set(data, index);
|
|
6367
6374
|
list.push(stored);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/devtools-kit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.5.
|
|
4
|
+
"version": "7.5.3",
|
|
5
5
|
"author": "webfansplz",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"perfect-debounce": "^1.0.0",
|
|
30
30
|
"speakingurl": "^14.0.1",
|
|
31
31
|
"superjson": "^2.2.1",
|
|
32
|
-
"@vue/devtools-shared": "^7.5.
|
|
32
|
+
"@vue/devtools-shared": "^7.5.3"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/speakingurl": "^13.0.6",
|