vite-plugin-vue-devtools 8.0.2 → 8.0.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/client/assets/IconTitle.vue_vue_type_script_setup_true_lang-Enp_Ksfn.js +1 -0
- package/client/assets/SectionBlock-BTPkVZM2.js +1 -0
- package/client/assets/assets-D3XLNB-6.js +12 -0
- package/client/assets/components-Dza6_XRl.js +1 -0
- package/client/assets/custom-inspector-tab-view-_L81oF56.js +1 -0
- package/client/assets/{custom-tab-view-BGjRlmIC.js → custom-tab-view-CmLn18C4.js} +1 -1
- package/client/assets/graph-fTuEulvH.js +1020 -0
- package/client/assets/{index-CtdYRAx7.js → index-DH8HZ7DP.js} +213 -209
- package/client/assets/{index-DkeGUpKU.css → index-DVOrYgP_.css} +1 -1
- package/client/assets/index-lUvZHcVj.css +1 -0
- package/client/assets/overview-DFLns6CN.js +1 -0
- package/client/assets/pages-yIVwEfZL.js +1 -0
- package/client/assets/pinia-Cq2YPuZV.js +1 -0
- package/client/assets/{router-BZru8YYb.js → router-Drkf543k.js} +1 -1
- package/client/assets/settings-DyJW_A0F.js +1 -0
- package/client/assets/timeline-R3j-Lp7H.js +1 -0
- package/client/index.html +2 -2
- package/dist/vite.cjs +102 -61
- package/dist/vite.js +102 -61
- package/package.json +6 -7
- package/src/overlay/devtools-overlay.mjs +3 -3
- package/client/assets/IconTitle.vue_vue_type_script_setup_true_lang-B9Nj8PlY.js +0 -1
- package/client/assets/SectionBlock-BrHcKx8P.js +0 -1
- package/client/assets/assets-tWZ16yre.js +0 -12
- package/client/assets/components-EaHI7FxW.js +0 -1
- package/client/assets/custom-inspector-tab-view-CZIfhGNk.js +0 -1
- package/client/assets/graph-Dvz7NSzX.js +0 -1068
- package/client/assets/index-ENvNlo7R.css +0 -1
- package/client/assets/overview-CXo9qbzV.js +0 -1
- package/client/assets/pages-BLZMWMb9.js +0 -1
- package/client/assets/pinia-CsnX6hr4.js +0 -1
- package/client/assets/settings-C2YlJymx.js +0 -1
- package/client/assets/timeline-B5ZeLLK0.js +0 -1
package/dist/vite.js
CHANGED
|
@@ -1197,7 +1197,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/bra
|
|
|
1197
1197
|
*/
|
|
1198
1198
|
if (value === CHAR_LEFT_CURLY_BRACE$1) {
|
|
1199
1199
|
depth$1++;
|
|
1200
|
-
|
|
1200
|
+
block = push({
|
|
1201
1201
|
type: "brace",
|
|
1202
1202
|
open: true,
|
|
1203
1203
|
close: false,
|
|
@@ -1206,8 +1206,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/bra
|
|
|
1206
1206
|
commas: 0,
|
|
1207
1207
|
ranges: 0,
|
|
1208
1208
|
nodes: []
|
|
1209
|
-
};
|
|
1210
|
-
block = push(brace);
|
|
1209
|
+
});
|
|
1211
1210
|
stack.push(block);
|
|
1212
1211
|
push({
|
|
1213
1212
|
type: "open",
|
|
@@ -1471,12 +1470,6 @@ var require_constants$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
1471
1470
|
const END_ANCHOR = `(?:${SLASH_LITERAL}|$)`;
|
|
1472
1471
|
const START_ANCHOR = `(?:^|${SLASH_LITERAL})`;
|
|
1473
1472
|
const DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`;
|
|
1474
|
-
const NO_DOT = `(?!${DOT_LITERAL})`;
|
|
1475
|
-
const NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`;
|
|
1476
|
-
const NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`;
|
|
1477
|
-
const NO_DOTS_SLASH = `(?!${DOTS_SLASH})`;
|
|
1478
|
-
const QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`;
|
|
1479
|
-
const STAR = `${QMARK}*?`;
|
|
1480
1473
|
const POSIX_CHARS = {
|
|
1481
1474
|
DOT_LITERAL,
|
|
1482
1475
|
PLUS_LITERAL,
|
|
@@ -1486,12 +1479,12 @@ var require_constants$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
1486
1479
|
QMARK,
|
|
1487
1480
|
END_ANCHOR,
|
|
1488
1481
|
DOTS_SLASH,
|
|
1489
|
-
NO_DOT
|
|
1490
|
-
NO_DOTS
|
|
1491
|
-
NO_DOT_SLASH,
|
|
1492
|
-
NO_DOTS_SLASH
|
|
1493
|
-
QMARK_NO_DOT
|
|
1494
|
-
STAR
|
|
1482
|
+
NO_DOT: `(?!${DOT_LITERAL})`,
|
|
1483
|
+
NO_DOTS: `(?!${START_ANCHOR}${DOTS_SLASH})`,
|
|
1484
|
+
NO_DOT_SLASH: `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`,
|
|
1485
|
+
NO_DOTS_SLASH: `(?!${DOTS_SLASH})`,
|
|
1486
|
+
QMARK_NO_DOT: `[^.${SLASH_LITERAL}]`,
|
|
1487
|
+
STAR: `${QMARK}*?`,
|
|
1495
1488
|
START_ANCHOR
|
|
1496
1489
|
};
|
|
1497
1490
|
/**
|
|
@@ -1663,9 +1656,7 @@ var require_utils$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pic
|
|
|
1663
1656
|
return output;
|
|
1664
1657
|
};
|
|
1665
1658
|
exports.wrapOutput = (input, state = {}, options$1 = {}) => {
|
|
1666
|
-
|
|
1667
|
-
const append$1 = options$1.contains ? "" : "$";
|
|
1668
|
-
let output = `${prepend}(?:${input})${append$1}`;
|
|
1659
|
+
let output = `${options$1.contains ? "" : "^"}(?:${input})${options$1.contains ? "" : "$"}`;
|
|
1669
1660
|
if (state.negated === true) output = `(?:^(?!${output}).*$)`;
|
|
1670
1661
|
return output;
|
|
1671
1662
|
};
|
|
@@ -2011,13 +2002,13 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2011
2002
|
const win32$1 = utils$12.isWindows(options$1);
|
|
2012
2003
|
const PLATFORM_CHARS = constants$1.globChars(win32$1);
|
|
2013
2004
|
const EXTGLOB_CHARS = constants$1.extglobChars(PLATFORM_CHARS);
|
|
2014
|
-
const { DOT_LITERAL: DOT_LITERAL$1, PLUS_LITERAL: PLUS_LITERAL$1, SLASH_LITERAL: SLASH_LITERAL$1, ONE_CHAR: ONE_CHAR$1, DOTS_SLASH: DOTS_SLASH$1, NO_DOT
|
|
2005
|
+
const { DOT_LITERAL: DOT_LITERAL$1, PLUS_LITERAL: PLUS_LITERAL$1, SLASH_LITERAL: SLASH_LITERAL$1, ONE_CHAR: ONE_CHAR$1, DOTS_SLASH: DOTS_SLASH$1, NO_DOT, NO_DOT_SLASH, NO_DOTS_SLASH, QMARK: QMARK$1, QMARK_NO_DOT, STAR, START_ANCHOR: START_ANCHOR$1 } = PLATFORM_CHARS;
|
|
2015
2006
|
const globstar = (opts$1) => {
|
|
2016
2007
|
return `(${capture}(?:(?!${START_ANCHOR$1}${opts$1.dot ? DOTS_SLASH$1 : DOT_LITERAL$1}).)*?)`;
|
|
2017
2008
|
};
|
|
2018
|
-
const nodot = opts.dot ? "" : NO_DOT
|
|
2019
|
-
const qmarkNoDot = opts.dot ? QMARK$1 : QMARK_NO_DOT
|
|
2020
|
-
let star = opts.bash === true ? globstar(opts) : STAR
|
|
2009
|
+
const nodot = opts.dot ? "" : NO_DOT;
|
|
2010
|
+
const qmarkNoDot = opts.dot ? QMARK$1 : QMARK_NO_DOT;
|
|
2011
|
+
let star = opts.bash === true ? globstar(opts) : STAR;
|
|
2021
2012
|
if (opts.capture) star = `(${star})`;
|
|
2022
2013
|
if (typeof opts.noext === "boolean") opts.noextglob = opts.noext;
|
|
2023
2014
|
const state = {
|
|
@@ -2237,8 +2228,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2237
2228
|
if (inner.includes(":")) {
|
|
2238
2229
|
const idx = prev.value.lastIndexOf("[");
|
|
2239
2230
|
const pre = prev.value.slice(0, idx);
|
|
2240
|
-
const
|
|
2241
|
-
const posix = POSIX_REGEX_SOURCE[rest$1];
|
|
2231
|
+
const posix = POSIX_REGEX_SOURCE[prev.value.slice(idx + 2)];
|
|
2242
2232
|
if (posix) {
|
|
2243
2233
|
prev.value = pre + posix;
|
|
2244
2234
|
state.backtrack = true;
|
|
@@ -2506,7 +2496,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2506
2496
|
push({
|
|
2507
2497
|
type: "qmark",
|
|
2508
2498
|
value,
|
|
2509
|
-
output: QMARK_NO_DOT
|
|
2499
|
+
output: QMARK_NO_DOT
|
|
2510
2500
|
});
|
|
2511
2501
|
continue;
|
|
2512
2502
|
}
|
|
@@ -2725,11 +2715,11 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2725
2715
|
}
|
|
2726
2716
|
if (state.index === state.start || prev.type === "slash" || prev.type === "dot") {
|
|
2727
2717
|
if (prev.type === "dot") {
|
|
2728
|
-
state.output += NO_DOT_SLASH
|
|
2729
|
-
prev.output += NO_DOT_SLASH
|
|
2718
|
+
state.output += NO_DOT_SLASH;
|
|
2719
|
+
prev.output += NO_DOT_SLASH;
|
|
2730
2720
|
} else if (opts.dot === true) {
|
|
2731
|
-
state.output += NO_DOTS_SLASH
|
|
2732
|
-
prev.output += NO_DOTS_SLASH
|
|
2721
|
+
state.output += NO_DOTS_SLASH;
|
|
2722
|
+
prev.output += NO_DOTS_SLASH;
|
|
2733
2723
|
} else {
|
|
2734
2724
|
state.output += nodot;
|
|
2735
2725
|
prev.output += nodot;
|
|
@@ -2782,15 +2772,15 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2782
2772
|
if (len > max) throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
|
|
2783
2773
|
input = REPLACEMENTS[input] || input;
|
|
2784
2774
|
const win32$1 = utils$12.isWindows(options$1);
|
|
2785
|
-
const { DOT_LITERAL: DOT_LITERAL$1, SLASH_LITERAL: SLASH_LITERAL$1, ONE_CHAR: ONE_CHAR$1, DOTS_SLASH: DOTS_SLASH$1, NO_DOT
|
|
2786
|
-
const nodot = opts.dot ? NO_DOTS
|
|
2787
|
-
const slashDot = opts.dot ? NO_DOTS_SLASH
|
|
2775
|
+
const { DOT_LITERAL: DOT_LITERAL$1, SLASH_LITERAL: SLASH_LITERAL$1, ONE_CHAR: ONE_CHAR$1, DOTS_SLASH: DOTS_SLASH$1, NO_DOT, NO_DOTS, NO_DOTS_SLASH, STAR, START_ANCHOR: START_ANCHOR$1 } = constants$1.globChars(win32$1);
|
|
2776
|
+
const nodot = opts.dot ? NO_DOTS : NO_DOT;
|
|
2777
|
+
const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
|
|
2788
2778
|
const capture = opts.capture ? "" : "?:";
|
|
2789
2779
|
const state = {
|
|
2790
2780
|
negated: false,
|
|
2791
2781
|
prefix: ""
|
|
2792
2782
|
};
|
|
2793
|
-
let star = opts.bash === true ? ".*?" : STAR
|
|
2783
|
+
let star = opts.bash === true ? ".*?" : STAR;
|
|
2794
2784
|
if (opts.capture) star = `(${star})`;
|
|
2795
2785
|
const globstar = (opts$1) => {
|
|
2796
2786
|
if (opts$1.noglobstar === true) return star;
|
|
@@ -2815,8 +2805,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2815
2805
|
}
|
|
2816
2806
|
}
|
|
2817
2807
|
};
|
|
2818
|
-
|
|
2819
|
-
let source = create(output);
|
|
2808
|
+
let source = create(utils$12.removePrefix(input, state));
|
|
2820
2809
|
if (source && opts.strictSlashes !== true) source += `${SLASH_LITERAL$1}?`;
|
|
2821
2810
|
return source;
|
|
2822
2811
|
};
|
|
@@ -3998,6 +3987,7 @@ var require_sync$5 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nod
|
|
|
3998
3987
|
//#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js
|
|
3999
3988
|
var require_fs$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js": ((exports) => {
|
|
4000
3989
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3990
|
+
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
4001
3991
|
const fs$6 = __require("fs");
|
|
4002
3992
|
exports.FILE_SYSTEM_ADAPTER = {
|
|
4003
3993
|
lstat: fs$6.lstat,
|
|
@@ -4207,8 +4197,7 @@ var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
|
|
|
4207
4197
|
callSuccessCallback$1(callback, entries);
|
|
4208
4198
|
return;
|
|
4209
4199
|
}
|
|
4210
|
-
|
|
4211
|
-
rpl(tasks, (rplError, rplEntries) => {
|
|
4200
|
+
rpl(entries.map((entry) => makeRplTaskEntry(entry, settings)), (rplError, rplEntries) => {
|
|
4212
4201
|
if (rplError !== null) {
|
|
4213
4202
|
callFailureCallback$1(callback, rplError);
|
|
4214
4203
|
return;
|
|
@@ -4244,7 +4233,7 @@ var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
|
|
|
4244
4233
|
callFailureCallback$1(callback, readdirError);
|
|
4245
4234
|
return;
|
|
4246
4235
|
}
|
|
4247
|
-
|
|
4236
|
+
rpl(names.map((name) => {
|
|
4248
4237
|
const path$11 = common$4.joinPathSegments(directory, name, settings.pathSegmentSeparator);
|
|
4249
4238
|
return (done) => {
|
|
4250
4239
|
fsStat$5.stat(path$11, settings.fsStatSettings, (error, stats) => {
|
|
@@ -4261,8 +4250,7 @@ var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
|
|
|
4261
4250
|
done(null, entry);
|
|
4262
4251
|
});
|
|
4263
4252
|
};
|
|
4264
|
-
})
|
|
4265
|
-
rpl(tasks, (rplError, entries) => {
|
|
4253
|
+
}), (rplError, entries) => {
|
|
4266
4254
|
if (rplError !== null) {
|
|
4267
4255
|
callFailureCallback$1(callback, rplError);
|
|
4268
4256
|
return;
|
|
@@ -4330,6 +4318,7 @@ var require_sync$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nod
|
|
|
4330
4318
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js
|
|
4331
4319
|
var require_fs = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js": ((exports) => {
|
|
4332
4320
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4321
|
+
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
4333
4322
|
const fs$3 = __require("fs");
|
|
4334
4323
|
exports.FILE_SYSTEM_ADAPTER = {
|
|
4335
4324
|
lstat: fs$3.lstat,
|
|
@@ -5233,8 +5222,7 @@ var require_deep = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-g
|
|
|
5233
5222
|
_getEntryLevel(basePath, entryPath) {
|
|
5234
5223
|
const entryPathDepth = entryPath.split("/").length;
|
|
5235
5224
|
if (basePath === "") return entryPathDepth;
|
|
5236
|
-
|
|
5237
|
-
return entryPathDepth - basePathDepth;
|
|
5225
|
+
return entryPathDepth - basePath.split("/").length;
|
|
5238
5226
|
}
|
|
5239
5227
|
_isSkippedSymbolicLink(entry) {
|
|
5240
5228
|
return !this._settings.followSymbolicLinks && entry.dirent.isSymbolicLink();
|
|
@@ -5535,6 +5523,7 @@ var require_sync = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-g
|
|
|
5535
5523
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js
|
|
5536
5524
|
var require_settings = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js": ((exports) => {
|
|
5537
5525
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5526
|
+
exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
|
|
5538
5527
|
const fs$1 = __require("fs");
|
|
5539
5528
|
const os = __require("os");
|
|
5540
5529
|
/**
|
|
@@ -5687,7 +5676,7 @@ var require_out = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-gl
|
|
|
5687
5676
|
}) });
|
|
5688
5677
|
|
|
5689
5678
|
//#endregion
|
|
5690
|
-
//#region ../../node_modules/.pnpm/image-meta@0.2.
|
|
5679
|
+
//#region ../../node_modules/.pnpm/image-meta@0.2.2/node_modules/image-meta/dist/index.mjs
|
|
5691
5680
|
var import_out = /* @__PURE__ */ __toESM(require_out(), 1);
|
|
5692
5681
|
const decoder = new TextDecoder();
|
|
5693
5682
|
const toUTF8String = (input, start = 0, end = input.length) => decoder.decode(input.slice(start, end));
|
|
@@ -5711,8 +5700,7 @@ const methods = {
|
|
|
5711
5700
|
function readUInt(input, bits, offset, isBigEndian) {
|
|
5712
5701
|
offset = offset || 0;
|
|
5713
5702
|
const endian = isBigEndian ? "BE" : "LE";
|
|
5714
|
-
|
|
5715
|
-
return methods[methodName](input, offset);
|
|
5703
|
+
return methods["readUInt" + bits + endian](input, offset);
|
|
5716
5704
|
}
|
|
5717
5705
|
const BMP = {
|
|
5718
5706
|
validate: (input) => toUTF8String(input, 0, 2) === "BM",
|
|
@@ -5780,6 +5768,66 @@ const GIF = {
|
|
|
5780
5768
|
width: readUInt16LE(input, 6)
|
|
5781
5769
|
})
|
|
5782
5770
|
};
|
|
5771
|
+
const HEIC = {
|
|
5772
|
+
validate: (input) => {
|
|
5773
|
+
const ftypBox = findBox$1(input, "ftyp");
|
|
5774
|
+
if (!ftypBox) return false;
|
|
5775
|
+
const majorBrand = toUTF8String(input, ftypBox.offset + 8, ftypBox.offset + 12);
|
|
5776
|
+
return [
|
|
5777
|
+
"heic",
|
|
5778
|
+
"heix",
|
|
5779
|
+
"hevc",
|
|
5780
|
+
"hevx",
|
|
5781
|
+
"mif1",
|
|
5782
|
+
"msf1"
|
|
5783
|
+
].includes(majorBrand);
|
|
5784
|
+
},
|
|
5785
|
+
calculate: (input) => {
|
|
5786
|
+
const metaBox = findBox$1(input, "meta");
|
|
5787
|
+
if (!metaBox) throw new TypeError("heic: meta box not found");
|
|
5788
|
+
const iprpBox = findBox$1(input, "iprp", metaBox.offset + 12, metaBox.offset + metaBox.size);
|
|
5789
|
+
if (!iprpBox) throw new TypeError("heic: iprp box not found");
|
|
5790
|
+
const ipcoBox = findBox$1(input, "ipco", iprpBox.offset + 8, iprpBox.offset + iprpBox.size);
|
|
5791
|
+
if (!ipcoBox) throw new TypeError("heic: ipco box not found");
|
|
5792
|
+
const dimensions = findAllBoxes(input, "ispe", ipcoBox.offset + 8, ipcoBox.offset + ipcoBox.size).map((box) => ({
|
|
5793
|
+
width: readUInt32BE(input, box.offset + 12),
|
|
5794
|
+
height: readUInt32BE(input, box.offset + 16)
|
|
5795
|
+
}));
|
|
5796
|
+
if (dimensions.length === 0) throw new TypeError("heic: ispe box not found");
|
|
5797
|
+
let largestDimension = dimensions[0];
|
|
5798
|
+
for (let i = 1; i < dimensions.length; i++) {
|
|
5799
|
+
const curr = dimensions[i];
|
|
5800
|
+
if (curr.width * curr.height > largestDimension.width * largestDimension.height) largestDimension = curr;
|
|
5801
|
+
}
|
|
5802
|
+
return largestDimension;
|
|
5803
|
+
}
|
|
5804
|
+
};
|
|
5805
|
+
function findBox$1(input, type, startOffset = 0, endOffset = input.length) {
|
|
5806
|
+
let offset = startOffset;
|
|
5807
|
+
while (offset < endOffset) {
|
|
5808
|
+
const size = readUInt32BE(input, offset);
|
|
5809
|
+
if (toUTF8String(input, offset + 4, offset + 8) === type) return {
|
|
5810
|
+
offset,
|
|
5811
|
+
size
|
|
5812
|
+
};
|
|
5813
|
+
if (size <= 0 || offset + size > endOffset) break;
|
|
5814
|
+
offset += size;
|
|
5815
|
+
}
|
|
5816
|
+
}
|
|
5817
|
+
function findAllBoxes(input, type, startOffset = 0, endOffset = input.length) {
|
|
5818
|
+
let offset = startOffset;
|
|
5819
|
+
const boxes = [];
|
|
5820
|
+
while (offset < endOffset) {
|
|
5821
|
+
const size = readUInt32BE(input, offset);
|
|
5822
|
+
if (toUTF8String(input, offset + 4, offset + 8) === type) boxes.push({
|
|
5823
|
+
offset,
|
|
5824
|
+
size
|
|
5825
|
+
});
|
|
5826
|
+
if (size <= 0 || offset + size > endOffset) break;
|
|
5827
|
+
offset += size;
|
|
5828
|
+
}
|
|
5829
|
+
return boxes;
|
|
5830
|
+
}
|
|
5783
5831
|
const SIZE_HEADER = 8;
|
|
5784
5832
|
const FILE_LENGTH_OFFSET = 4;
|
|
5785
5833
|
const ENTRY_LENGTH_OFFSET = 4;
|
|
@@ -5861,11 +5909,9 @@ const J2C = {
|
|
|
5861
5909
|
};
|
|
5862
5910
|
const BoxTypes = {
|
|
5863
5911
|
ftyp: "66747970",
|
|
5864
|
-
ihdr: "69686472",
|
|
5865
5912
|
jp2h: "6a703268",
|
|
5866
5913
|
jp__: "6a502020",
|
|
5867
|
-
rreq: "72726571"
|
|
5868
|
-
xml_: "786d6c20"
|
|
5914
|
+
rreq: "72726571"
|
|
5869
5915
|
};
|
|
5870
5916
|
const calculateRREQLength = (box) => {
|
|
5871
5917
|
const unit = box[0];
|
|
@@ -5888,8 +5934,7 @@ const JP2 = {
|
|
|
5888
5934
|
if (signature !== BoxTypes.jp__ || signatureLength < 1) return false;
|
|
5889
5935
|
const ftypeBoxStart = signatureLength + 4;
|
|
5890
5936
|
const ftypBoxLength = readUInt32BE(input, signatureLength);
|
|
5891
|
-
|
|
5892
|
-
return toHexString(ftypBox, 0, 4) === BoxTypes.ftyp;
|
|
5937
|
+
return toHexString(input.slice(ftypeBoxStart, ftypeBoxStart + ftypBoxLength), 0, 4) === BoxTypes.ftyp;
|
|
5893
5938
|
},
|
|
5894
5939
|
calculate(input) {
|
|
5895
5940
|
const signatureLength = readUInt32BE(input, 0);
|
|
@@ -6046,8 +6091,7 @@ const handlers = {
|
|
|
6046
6091
|
const PNM = {
|
|
6047
6092
|
validate: (input) => toUTF8String(input, 0, 2) in PNMTypes,
|
|
6048
6093
|
calculate(input) {
|
|
6049
|
-
const
|
|
6050
|
-
const type = PNMTypes[signature];
|
|
6094
|
+
const type = PNMTypes[toUTF8String(input, 0, 2)];
|
|
6051
6095
|
const lines = toUTF8String(input, 3).split(/[\n\r]+/);
|
|
6052
6096
|
return (handlers[type] || handlers.default)(lines);
|
|
6053
6097
|
}
|
|
@@ -6184,8 +6228,7 @@ const TIFF = {
|
|
|
6184
6228
|
validate: (input) => signatures.has(toHexString(input, 0, 4)),
|
|
6185
6229
|
calculate(input) {
|
|
6186
6230
|
const isBigEndian = determineEndianness(input) === "BE";
|
|
6187
|
-
const
|
|
6188
|
-
const tags = extractTags(ifdBuffer, isBigEndian);
|
|
6231
|
+
const tags = extractTags(readIFD(input, isBigEndian), isBigEndian);
|
|
6189
6232
|
const width = tags[256];
|
|
6190
6233
|
const height = tags[257];
|
|
6191
6234
|
if (!width || !height) throw new TypeError("Invalid Tiff. Missing tags");
|
|
@@ -6243,11 +6286,9 @@ const AVIF = {
|
|
|
6243
6286
|
const iprpBox = findBox(input, "iprp", metaBox.offset + 12, metaBox.offset + metaBox.size);
|
|
6244
6287
|
const ipcoBox = findBox(input, "ipco", iprpBox.offset + 8, iprpBox.offset + iprpBox.size);
|
|
6245
6288
|
const ispeBox = findBox(input, "ispe", ipcoBox.offset + 8, ipcoBox.offset + ipcoBox.size);
|
|
6246
|
-
const width = readUInt32BE(input, ispeBox.offset + 12);
|
|
6247
|
-
const height = readUInt32BE(input, ispeBox.offset + 16);
|
|
6248
6289
|
return {
|
|
6249
|
-
width,
|
|
6250
|
-
height
|
|
6290
|
+
width: readUInt32BE(input, ispeBox.offset + 12),
|
|
6291
|
+
height: readUInt32BE(input, ispeBox.offset + 16)
|
|
6251
6292
|
};
|
|
6252
6293
|
}
|
|
6253
6294
|
};
|
|
@@ -6268,6 +6309,7 @@ const typeHandlers = {
|
|
|
6268
6309
|
cur: CUR,
|
|
6269
6310
|
dds: DDS,
|
|
6270
6311
|
gif: GIF,
|
|
6312
|
+
heic: HEIC,
|
|
6271
6313
|
icns: ICNS,
|
|
6272
6314
|
ico: ICO,
|
|
6273
6315
|
j2c: J2C,
|
|
@@ -6741,12 +6783,11 @@ function VitePluginVueDevTools(options$1) {
|
|
|
6741
6783
|
}
|
|
6742
6784
|
}));
|
|
6743
6785
|
setViteServerContext(server);
|
|
6744
|
-
|
|
6786
|
+
createViteServerRpc(getRpcFunctions({
|
|
6745
6787
|
rpc: inspect.api.rpc,
|
|
6746
6788
|
server,
|
|
6747
6789
|
config
|
|
6748
|
-
});
|
|
6749
|
-
createViteServerRpc(rpcFunctions);
|
|
6790
|
+
}));
|
|
6750
6791
|
const _printUrls = server.printUrls;
|
|
6751
6792
|
const colorUrl = (url) => cyan(url.replace(/:(\d+)\//, (_, port) => `:${bold(port)}/`));
|
|
6752
6793
|
server.printUrls = () => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-plugin-vue-devtools",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "8.0.
|
|
4
|
+
"version": "8.0.3",
|
|
5
5
|
"description": "A vite plugin for Vue DevTools",
|
|
6
6
|
"author": "webfansplz",
|
|
7
7
|
"license": "MIT",
|
|
@@ -44,18 +44,17 @@
|
|
|
44
44
|
"vite": "^6.0.0 || ^7.0.0-0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"execa": "^9.6.0",
|
|
48
47
|
"sirv": "^3.0.2",
|
|
49
48
|
"vite-plugin-inspect": "^11.3.3",
|
|
50
49
|
"vite-plugin-vue-inspector": "^5.3.2",
|
|
51
|
-
"@vue/devtools-
|
|
52
|
-
"@vue/devtools-
|
|
53
|
-
"@vue/devtools-
|
|
50
|
+
"@vue/devtools-core": "^8.0.3",
|
|
51
|
+
"@vue/devtools-kit": "^8.0.3",
|
|
52
|
+
"@vue/devtools-shared": "^8.0.3"
|
|
54
53
|
},
|
|
55
54
|
"devDependencies": {
|
|
56
|
-
"@types/node": "^24.
|
|
55
|
+
"@types/node": "^24.7.2",
|
|
57
56
|
"fast-glob": "^3.3.3",
|
|
58
|
-
"image-meta": "^0.2.
|
|
57
|
+
"image-meta": "^0.2.2",
|
|
59
58
|
"pathe": "^2.0.3"
|
|
60
59
|
},
|
|
61
60
|
"scripts": {
|