vite-plugin-vue-devtools 8.0.2 → 8.0.4
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-B_FdkgLM.js +1 -0
- package/client/assets/SectionBlock-DpPQ0kPE.js +1 -0
- package/client/assets/assets-CK6y5fUW.js +12 -0
- package/client/assets/components-C_ueBAhv.js +1 -0
- package/client/assets/custom-inspector-tab-view-DeW1pB64.js +1 -0
- package/client/assets/{custom-tab-view-BGjRlmIC.js → custom-tab-view-Brzik6VU.js} +1 -1
- package/client/assets/graph-BOeFouqU.js +1020 -0
- package/client/assets/{index-DkeGUpKU.css → index-DVOrYgP_.css} +1 -1
- package/client/assets/{index-CtdYRAx7.js → index-UN1oN3sU.js} +213 -209
- package/client/assets/index-lUvZHcVj.css +1 -0
- package/client/assets/overview-RP5Dmibr.js +1 -0
- package/client/assets/pages-Dc7L5p5x.js +1 -0
- package/client/assets/pinia-BanCEYKW.js +1 -0
- package/client/assets/{router-BZru8YYb.js → router-B0LIl27Q.js} +1 -1
- package/client/assets/settings-CdmIq4-1.js +1 -0
- package/client/assets/timeline-CBTvOEMI.js +1 -0
- package/client/index.html +2 -2
- package/dist/vite.cjs +141 -65
- package/dist/vite.js +141 -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.d.cts → vite-DYBstpQM.d.ts} +0 -0
- /package/dist/{vite.d.ts → vite-TAG462UM.d.cts} +0 -0
package/dist/vite.js
CHANGED
|
@@ -126,6 +126,7 @@ const DIR_CLIENT = resolve(DIR_DIST, "../client");
|
|
|
126
126
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js
|
|
127
127
|
var require_array = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/array.js": ((exports) => {
|
|
128
128
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
129
|
+
exports.splitWhen = exports.flatten = void 0;
|
|
129
130
|
function flatten(items) {
|
|
130
131
|
return items.reduce((collection, item) => [].concat(collection, item), []);
|
|
131
132
|
}
|
|
@@ -146,6 +147,7 @@ var require_array = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-
|
|
|
146
147
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js
|
|
147
148
|
var require_errno = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/errno.js": ((exports) => {
|
|
148
149
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
150
|
+
exports.isEnoentCodeError = void 0;
|
|
149
151
|
function isEnoentCodeError(error) {
|
|
150
152
|
return error.code === "ENOENT";
|
|
151
153
|
}
|
|
@@ -156,6 +158,7 @@ var require_errno = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-
|
|
|
156
158
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js
|
|
157
159
|
var require_fs$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/fs.js": ((exports) => {
|
|
158
160
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
161
|
+
exports.createDirentFromStats = void 0;
|
|
159
162
|
var DirentFromStats$1 = class {
|
|
160
163
|
constructor(name, stats) {
|
|
161
164
|
this.name = name;
|
|
@@ -178,6 +181,7 @@ var require_fs$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-g
|
|
|
178
181
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js
|
|
179
182
|
var require_path = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/path.js": ((exports) => {
|
|
180
183
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
184
|
+
exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;
|
|
181
185
|
const os$1 = __require("os");
|
|
182
186
|
const path$10 = __require("path");
|
|
183
187
|
const IS_WINDOWS_PLATFORM = os$1.platform() === "win32";
|
|
@@ -504,6 +508,12 @@ var require_stringify = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/b
|
|
|
504
508
|
|
|
505
509
|
//#endregion
|
|
506
510
|
//#region ../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js
|
|
511
|
+
/*!
|
|
512
|
+
* is-number <https://github.com/jonschlinkert/is-number>
|
|
513
|
+
*
|
|
514
|
+
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
515
|
+
* Released under the MIT License.
|
|
516
|
+
*/
|
|
507
517
|
var require_is_number = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js": ((exports, module) => {
|
|
508
518
|
module.exports = function(num) {
|
|
509
519
|
if (typeof num === "number") return num - num === 0;
|
|
@@ -514,6 +524,12 @@ var require_is_number = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/i
|
|
|
514
524
|
|
|
515
525
|
//#endregion
|
|
516
526
|
//#region ../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js
|
|
527
|
+
/*!
|
|
528
|
+
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
|
529
|
+
*
|
|
530
|
+
* Copyright (c) 2015-present, Jon Schlinkert.
|
|
531
|
+
* Released under the MIT License.
|
|
532
|
+
*/
|
|
517
533
|
var require_to_regex_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js": ((exports, module) => {
|
|
518
534
|
const isNumber$1 = require_is_number();
|
|
519
535
|
const toRegexRange$1 = (min, max, options$1) => {
|
|
@@ -708,6 +724,12 @@ var require_to_regex_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.p
|
|
|
708
724
|
|
|
709
725
|
//#endregion
|
|
710
726
|
//#region ../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js
|
|
727
|
+
/*!
|
|
728
|
+
* fill-range <https://github.com/jonschlinkert/fill-range>
|
|
729
|
+
*
|
|
730
|
+
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
731
|
+
* Licensed under the MIT License.
|
|
732
|
+
*/
|
|
711
733
|
var require_fill_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js": ((exports, module) => {
|
|
712
734
|
const util$1 = __require("util");
|
|
713
735
|
const toRegexRange = require_to_regex_range();
|
|
@@ -1197,7 +1219,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/bra
|
|
|
1197
1219
|
*/
|
|
1198
1220
|
if (value === CHAR_LEFT_CURLY_BRACE$1) {
|
|
1199
1221
|
depth$1++;
|
|
1200
|
-
|
|
1222
|
+
block = push({
|
|
1201
1223
|
type: "brace",
|
|
1202
1224
|
open: true,
|
|
1203
1225
|
close: false,
|
|
@@ -1206,8 +1228,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/bra
|
|
|
1206
1228
|
commas: 0,
|
|
1207
1229
|
ranges: 0,
|
|
1208
1230
|
nodes: []
|
|
1209
|
-
};
|
|
1210
|
-
block = push(brace);
|
|
1231
|
+
});
|
|
1211
1232
|
stack.push(block);
|
|
1212
1233
|
push({
|
|
1213
1234
|
type: "open",
|
|
@@ -1471,12 +1492,6 @@ var require_constants$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
1471
1492
|
const END_ANCHOR = `(?:${SLASH_LITERAL}|$)`;
|
|
1472
1493
|
const START_ANCHOR = `(?:^|${SLASH_LITERAL})`;
|
|
1473
1494
|
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
1495
|
const POSIX_CHARS = {
|
|
1481
1496
|
DOT_LITERAL,
|
|
1482
1497
|
PLUS_LITERAL,
|
|
@@ -1486,12 +1501,12 @@ var require_constants$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm
|
|
|
1486
1501
|
QMARK,
|
|
1487
1502
|
END_ANCHOR,
|
|
1488
1503
|
DOTS_SLASH,
|
|
1489
|
-
NO_DOT
|
|
1490
|
-
NO_DOTS
|
|
1491
|
-
NO_DOT_SLASH,
|
|
1492
|
-
NO_DOTS_SLASH
|
|
1493
|
-
QMARK_NO_DOT
|
|
1494
|
-
STAR
|
|
1504
|
+
NO_DOT: `(?!${DOT_LITERAL})`,
|
|
1505
|
+
NO_DOTS: `(?!${START_ANCHOR}${DOTS_SLASH})`,
|
|
1506
|
+
NO_DOT_SLASH: `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`,
|
|
1507
|
+
NO_DOTS_SLASH: `(?!${DOTS_SLASH})`,
|
|
1508
|
+
QMARK_NO_DOT: `[^.${SLASH_LITERAL}]`,
|
|
1509
|
+
STAR: `${QMARK}*?`,
|
|
1495
1510
|
START_ANCHOR
|
|
1496
1511
|
};
|
|
1497
1512
|
/**
|
|
@@ -1663,9 +1678,7 @@ var require_utils$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/pic
|
|
|
1663
1678
|
return output;
|
|
1664
1679
|
};
|
|
1665
1680
|
exports.wrapOutput = (input, state = {}, options$1 = {}) => {
|
|
1666
|
-
|
|
1667
|
-
const append$1 = options$1.contains ? "" : "$";
|
|
1668
|
-
let output = `${prepend}(?:${input})${append$1}`;
|
|
1681
|
+
let output = `${options$1.contains ? "" : "^"}(?:${input})${options$1.contains ? "" : "$"}`;
|
|
1669
1682
|
if (state.negated === true) output = `(?:^(?!${output}).*$)`;
|
|
1670
1683
|
return output;
|
|
1671
1684
|
};
|
|
@@ -2011,13 +2024,13 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2011
2024
|
const win32$1 = utils$12.isWindows(options$1);
|
|
2012
2025
|
const PLATFORM_CHARS = constants$1.globChars(win32$1);
|
|
2013
2026
|
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
|
|
2027
|
+
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
2028
|
const globstar = (opts$1) => {
|
|
2016
2029
|
return `(${capture}(?:(?!${START_ANCHOR$1}${opts$1.dot ? DOTS_SLASH$1 : DOT_LITERAL$1}).)*?)`;
|
|
2017
2030
|
};
|
|
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
|
|
2031
|
+
const nodot = opts.dot ? "" : NO_DOT;
|
|
2032
|
+
const qmarkNoDot = opts.dot ? QMARK$1 : QMARK_NO_DOT;
|
|
2033
|
+
let star = opts.bash === true ? globstar(opts) : STAR;
|
|
2021
2034
|
if (opts.capture) star = `(${star})`;
|
|
2022
2035
|
if (typeof opts.noext === "boolean") opts.noextglob = opts.noext;
|
|
2023
2036
|
const state = {
|
|
@@ -2237,8 +2250,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2237
2250
|
if (inner.includes(":")) {
|
|
2238
2251
|
const idx = prev.value.lastIndexOf("[");
|
|
2239
2252
|
const pre = prev.value.slice(0, idx);
|
|
2240
|
-
const
|
|
2241
|
-
const posix = POSIX_REGEX_SOURCE[rest$1];
|
|
2253
|
+
const posix = POSIX_REGEX_SOURCE[prev.value.slice(idx + 2)];
|
|
2242
2254
|
if (posix) {
|
|
2243
2255
|
prev.value = pre + posix;
|
|
2244
2256
|
state.backtrack = true;
|
|
@@ -2506,7 +2518,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2506
2518
|
push({
|
|
2507
2519
|
type: "qmark",
|
|
2508
2520
|
value,
|
|
2509
|
-
output: QMARK_NO_DOT
|
|
2521
|
+
output: QMARK_NO_DOT
|
|
2510
2522
|
});
|
|
2511
2523
|
continue;
|
|
2512
2524
|
}
|
|
@@ -2725,11 +2737,11 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2725
2737
|
}
|
|
2726
2738
|
if (state.index === state.start || prev.type === "slash" || prev.type === "dot") {
|
|
2727
2739
|
if (prev.type === "dot") {
|
|
2728
|
-
state.output += NO_DOT_SLASH
|
|
2729
|
-
prev.output += NO_DOT_SLASH
|
|
2740
|
+
state.output += NO_DOT_SLASH;
|
|
2741
|
+
prev.output += NO_DOT_SLASH;
|
|
2730
2742
|
} else if (opts.dot === true) {
|
|
2731
|
-
state.output += NO_DOTS_SLASH
|
|
2732
|
-
prev.output += NO_DOTS_SLASH
|
|
2743
|
+
state.output += NO_DOTS_SLASH;
|
|
2744
|
+
prev.output += NO_DOTS_SLASH;
|
|
2733
2745
|
} else {
|
|
2734
2746
|
state.output += nodot;
|
|
2735
2747
|
prev.output += nodot;
|
|
@@ -2782,15 +2794,15 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2782
2794
|
if (len > max) throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`);
|
|
2783
2795
|
input = REPLACEMENTS[input] || input;
|
|
2784
2796
|
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
|
|
2797
|
+
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);
|
|
2798
|
+
const nodot = opts.dot ? NO_DOTS : NO_DOT;
|
|
2799
|
+
const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
|
|
2788
2800
|
const capture = opts.capture ? "" : "?:";
|
|
2789
2801
|
const state = {
|
|
2790
2802
|
negated: false,
|
|
2791
2803
|
prefix: ""
|
|
2792
2804
|
};
|
|
2793
|
-
let star = opts.bash === true ? ".*?" : STAR
|
|
2805
|
+
let star = opts.bash === true ? ".*?" : STAR;
|
|
2794
2806
|
if (opts.capture) star = `(${star})`;
|
|
2795
2807
|
const globstar = (opts$1) => {
|
|
2796
2808
|
if (opts$1.noglobstar === true) return star;
|
|
@@ -2815,8 +2827,7 @@ var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picom
|
|
|
2815
2827
|
}
|
|
2816
2828
|
}
|
|
2817
2829
|
};
|
|
2818
|
-
|
|
2819
|
-
let source = create(output);
|
|
2830
|
+
let source = create(utils$12.removePrefix(input, state));
|
|
2820
2831
|
if (source && opts.strictSlashes !== true) source += `${SLASH_LITERAL$1}?`;
|
|
2821
2832
|
return source;
|
|
2822
2833
|
};
|
|
@@ -3522,6 +3533,7 @@ var require_micromatch = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
3522
3533
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js
|
|
3523
3534
|
var require_pattern = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/pattern.js": ((exports) => {
|
|
3524
3535
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3536
|
+
exports.isAbsolute = exports.partitionAbsoluteAndRelative = exports.removeDuplicateSlashes = exports.matchAny = exports.convertPatternsToRe = exports.makeRe = exports.getPatternParts = exports.expandBraceExpansion = exports.expandPatternsWithBraceExpansion = exports.isAffectDepthOfReadingPattern = exports.endsWithSlashGlobStar = exports.hasGlobStar = exports.getBaseDirectory = exports.isPatternRelatedToParentDirectory = exports.getPatternsOutsideCurrentDirectory = exports.getPatternsInsideCurrentDirectory = exports.getPositivePatterns = exports.getNegativePatterns = exports.isPositivePattern = exports.isNegativePattern = exports.convertToNegativePattern = exports.convertToPositivePattern = exports.isDynamicPattern = exports.isStaticPattern = void 0;
|
|
3525
3537
|
const path$6 = __require("path");
|
|
3526
3538
|
const globParent = require_glob_parent();
|
|
3527
3539
|
const micromatch = require_micromatch();
|
|
@@ -3794,6 +3806,7 @@ var require_merge2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/merg
|
|
|
3794
3806
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js
|
|
3795
3807
|
var require_stream$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/stream.js": ((exports) => {
|
|
3796
3808
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3809
|
+
exports.merge = void 0;
|
|
3797
3810
|
const merge2 = require_merge2();
|
|
3798
3811
|
function merge(streams) {
|
|
3799
3812
|
const mergedStream = merge2(streams);
|
|
@@ -3814,6 +3827,7 @@ var require_stream$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fa
|
|
|
3814
3827
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js
|
|
3815
3828
|
var require_string = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/string.js": ((exports) => {
|
|
3816
3829
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3830
|
+
exports.isEmpty = exports.isString = void 0;
|
|
3817
3831
|
function isString(input) {
|
|
3818
3832
|
return typeof input === "string";
|
|
3819
3833
|
}
|
|
@@ -3828,6 +3842,7 @@ var require_string = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast
|
|
|
3828
3842
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js
|
|
3829
3843
|
var require_utils$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/utils/index.js": ((exports) => {
|
|
3830
3844
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3845
|
+
exports.string = exports.stream = exports.pattern = exports.path = exports.fs = exports.errno = exports.array = void 0;
|
|
3831
3846
|
const array = require_array();
|
|
3832
3847
|
exports.array = array;
|
|
3833
3848
|
const errno = require_errno();
|
|
@@ -3848,6 +3863,7 @@ var require_utils$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fas
|
|
|
3848
3863
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js
|
|
3849
3864
|
var require_tasks = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/managers/tasks.js": ((exports) => {
|
|
3850
3865
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3866
|
+
exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;
|
|
3851
3867
|
const utils$9 = require_utils$1();
|
|
3852
3868
|
function generate(input, settings) {
|
|
3853
3869
|
const patterns = processPatterns(input, settings);
|
|
@@ -3942,6 +3958,7 @@ var require_tasks = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-
|
|
|
3942
3958
|
//#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js
|
|
3943
3959
|
var require_async$5 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/async.js": ((exports) => {
|
|
3944
3960
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3961
|
+
exports.read = void 0;
|
|
3945
3962
|
function read$3(path$11, settings, callback) {
|
|
3946
3963
|
settings.fs.lstat(path$11, (lstatError, lstat) => {
|
|
3947
3964
|
if (lstatError !== null) {
|
|
@@ -3979,6 +3996,7 @@ var require_async$5 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
|
|
|
3979
3996
|
//#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js
|
|
3980
3997
|
var require_sync$5 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/providers/sync.js": ((exports) => {
|
|
3981
3998
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3999
|
+
exports.read = void 0;
|
|
3982
4000
|
function read$2(path$11, settings) {
|
|
3983
4001
|
const lstat = settings.fs.lstatSync(path$11);
|
|
3984
4002
|
if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) return lstat;
|
|
@@ -3998,6 +4016,7 @@ var require_sync$5 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nod
|
|
|
3998
4016
|
//#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/adapters/fs.js
|
|
3999
4017
|
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
4018
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4019
|
+
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
4001
4020
|
const fs$6 = __require("fs");
|
|
4002
4021
|
exports.FILE_SYSTEM_ADAPTER = {
|
|
4003
4022
|
lstat: fs$6.lstat,
|
|
@@ -4036,6 +4055,7 @@ var require_settings$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
4036
4055
|
//#region ../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js
|
|
4037
4056
|
var require_out$3 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.stat@2.0.5/node_modules/@nodelib/fs.stat/out/index.js": ((exports) => {
|
|
4038
4057
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4058
|
+
exports.statSync = exports.stat = exports.Settings = void 0;
|
|
4039
4059
|
const async$1 = require_async$5();
|
|
4040
4060
|
const sync$1 = require_sync$5();
|
|
4041
4061
|
const settings_1$3 = require_settings$3();
|
|
@@ -4117,6 +4137,7 @@ var require_run_parallel = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnp
|
|
|
4117
4137
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js
|
|
4118
4138
|
var require_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js": ((exports) => {
|
|
4119
4139
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4140
|
+
exports.IS_SUPPORT_READDIR_WITH_FILE_TYPES = void 0;
|
|
4120
4141
|
const NODE_PROCESS_VERSION_PARTS = process.versions.node.split(".");
|
|
4121
4142
|
if (NODE_PROCESS_VERSION_PARTS[0] === void 0 || NODE_PROCESS_VERSION_PARTS[1] === void 0) throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);
|
|
4122
4143
|
const MAJOR_VERSION = Number.parseInt(NODE_PROCESS_VERSION_PARTS[0], 10);
|
|
@@ -4135,6 +4156,7 @@ var require_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@
|
|
|
4135
4156
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js
|
|
4136
4157
|
var require_fs$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/fs.js": ((exports) => {
|
|
4137
4158
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4159
|
+
exports.createDirentFromStats = void 0;
|
|
4138
4160
|
var DirentFromStats = class {
|
|
4139
4161
|
constructor(name, stats) {
|
|
4140
4162
|
this.name = name;
|
|
@@ -4157,6 +4179,7 @@ var require_fs$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodel
|
|
|
4157
4179
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js
|
|
4158
4180
|
var require_utils = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js": ((exports) => {
|
|
4159
4181
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4182
|
+
exports.fs = void 0;
|
|
4160
4183
|
const fs$4 = require_fs$1();
|
|
4161
4184
|
exports.fs = fs$4;
|
|
4162
4185
|
}) });
|
|
@@ -4165,6 +4188,7 @@ var require_utils = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@node
|
|
|
4165
4188
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js
|
|
4166
4189
|
var require_common$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/common.js": ((exports) => {
|
|
4167
4190
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4191
|
+
exports.joinPathSegments = void 0;
|
|
4168
4192
|
function joinPathSegments$1(a, b, separator) {
|
|
4169
4193
|
/**
|
|
4170
4194
|
* The correct handling of cases when the first segment is a root (`/`, `C:/`) or UNC path (`//?/C:/`).
|
|
@@ -4179,6 +4203,7 @@ var require_common$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@n
|
|
|
4179
4203
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.js
|
|
4180
4204
|
var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/async.js": ((exports) => {
|
|
4181
4205
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4206
|
+
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
|
|
4182
4207
|
const fsStat$5 = require_out$3();
|
|
4183
4208
|
const rpl = require_run_parallel();
|
|
4184
4209
|
const constants_1$1 = require_constants();
|
|
@@ -4207,8 +4232,7 @@ var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
|
|
|
4207
4232
|
callSuccessCallback$1(callback, entries);
|
|
4208
4233
|
return;
|
|
4209
4234
|
}
|
|
4210
|
-
|
|
4211
|
-
rpl(tasks, (rplError, rplEntries) => {
|
|
4235
|
+
rpl(entries.map((entry) => makeRplTaskEntry(entry, settings)), (rplError, rplEntries) => {
|
|
4212
4236
|
if (rplError !== null) {
|
|
4213
4237
|
callFailureCallback$1(callback, rplError);
|
|
4214
4238
|
return;
|
|
@@ -4244,7 +4268,7 @@ var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
|
|
|
4244
4268
|
callFailureCallback$1(callback, readdirError);
|
|
4245
4269
|
return;
|
|
4246
4270
|
}
|
|
4247
|
-
|
|
4271
|
+
rpl(names.map((name) => {
|
|
4248
4272
|
const path$11 = common$4.joinPathSegments(directory, name, settings.pathSegmentSeparator);
|
|
4249
4273
|
return (done) => {
|
|
4250
4274
|
fsStat$5.stat(path$11, settings.fsStatSettings, (error, stats) => {
|
|
@@ -4261,8 +4285,7 @@ var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
|
|
|
4261
4285
|
done(null, entry);
|
|
4262
4286
|
});
|
|
4263
4287
|
};
|
|
4264
|
-
})
|
|
4265
|
-
rpl(tasks, (rplError, entries) => {
|
|
4288
|
+
}), (rplError, entries) => {
|
|
4266
4289
|
if (rplError !== null) {
|
|
4267
4290
|
callFailureCallback$1(callback, rplError);
|
|
4268
4291
|
return;
|
|
@@ -4284,6 +4307,7 @@ var require_async$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@no
|
|
|
4284
4307
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.js
|
|
4285
4308
|
var require_sync$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/providers/sync.js": ((exports) => {
|
|
4286
4309
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4310
|
+
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
|
|
4287
4311
|
const fsStat$4 = require_out$3();
|
|
4288
4312
|
const constants_1 = require_constants();
|
|
4289
4313
|
const utils$7 = require_utils();
|
|
@@ -4330,6 +4354,7 @@ var require_sync$4 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nod
|
|
|
4330
4354
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/adapters/fs.js
|
|
4331
4355
|
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
4356
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4357
|
+
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
|
|
4333
4358
|
const fs$3 = __require("fs");
|
|
4334
4359
|
exports.FILE_SYSTEM_ADAPTER = {
|
|
4335
4360
|
lstat: fs$3.lstat,
|
|
@@ -4378,6 +4403,7 @@ var require_settings$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
4378
4403
|
//#region ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js
|
|
4379
4404
|
var require_out$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/index.js": ((exports) => {
|
|
4380
4405
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4406
|
+
exports.Settings = exports.scandirSync = exports.scandir = void 0;
|
|
4381
4407
|
const async = require_async$4();
|
|
4382
4408
|
const sync = require_sync$4();
|
|
4383
4409
|
const settings_1$2 = require_settings$2();
|
|
@@ -4670,6 +4696,7 @@ var require_queue = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fastq
|
|
|
4670
4696
|
//#region ../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js
|
|
4671
4697
|
var require_common = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/readers/common.js": ((exports) => {
|
|
4672
4698
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4699
|
+
exports.joinPathSegments = exports.replacePathSegmentSeparator = exports.isAppliedFilter = exports.isFatalError = void 0;
|
|
4673
4700
|
function isFatalError(settings, error) {
|
|
4674
4701
|
if (settings.errorFilter === null) return true;
|
|
4675
4702
|
return !settings.errorFilter(error);
|
|
@@ -4970,6 +4997,7 @@ var require_settings$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/
|
|
|
4970
4997
|
//#region ../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js
|
|
4971
4998
|
var require_out$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/@nodelib+fs.walk@1.2.8/node_modules/@nodelib/fs.walk/out/index.js": ((exports) => {
|
|
4972
4999
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5000
|
+
exports.Settings = exports.walkStream = exports.walkSync = exports.walk = void 0;
|
|
4973
5001
|
const async_1$2 = require_async$2();
|
|
4974
5002
|
const stream_1$4 = require_stream$2();
|
|
4975
5003
|
const sync_1$2 = require_sync$2();
|
|
@@ -5233,8 +5261,7 @@ var require_deep = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-g
|
|
|
5233
5261
|
_getEntryLevel(basePath, entryPath) {
|
|
5234
5262
|
const entryPathDepth = entryPath.split("/").length;
|
|
5235
5263
|
if (basePath === "") return entryPathDepth;
|
|
5236
|
-
|
|
5237
|
-
return entryPathDepth - basePathDepth;
|
|
5264
|
+
return entryPathDepth - basePath.split("/").length;
|
|
5238
5265
|
}
|
|
5239
5266
|
_isSkippedSymbolicLink(entry) {
|
|
5240
5267
|
return !this._settings.followSymbolicLinks && entry.dirent.isSymbolicLink();
|
|
@@ -5535,6 +5562,7 @@ var require_sync = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-g
|
|
|
5535
5562
|
//#region ../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js
|
|
5536
5563
|
var require_settings = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-glob@3.3.3/node_modules/fast-glob/out/settings.js": ((exports) => {
|
|
5537
5564
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5565
|
+
exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
|
|
5538
5566
|
const fs$1 = __require("fs");
|
|
5539
5567
|
const os = __require("os");
|
|
5540
5568
|
/**
|
|
@@ -5687,7 +5715,7 @@ var require_out = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fast-gl
|
|
|
5687
5715
|
}) });
|
|
5688
5716
|
|
|
5689
5717
|
//#endregion
|
|
5690
|
-
//#region ../../node_modules/.pnpm/image-meta@0.2.
|
|
5718
|
+
//#region ../../node_modules/.pnpm/image-meta@0.2.2/node_modules/image-meta/dist/index.mjs
|
|
5691
5719
|
var import_out = /* @__PURE__ */ __toESM(require_out(), 1);
|
|
5692
5720
|
const decoder = new TextDecoder();
|
|
5693
5721
|
const toUTF8String = (input, start = 0, end = input.length) => decoder.decode(input.slice(start, end));
|
|
@@ -5711,8 +5739,7 @@ const methods = {
|
|
|
5711
5739
|
function readUInt(input, bits, offset, isBigEndian) {
|
|
5712
5740
|
offset = offset || 0;
|
|
5713
5741
|
const endian = isBigEndian ? "BE" : "LE";
|
|
5714
|
-
|
|
5715
|
-
return methods[methodName](input, offset);
|
|
5742
|
+
return methods["readUInt" + bits + endian](input, offset);
|
|
5716
5743
|
}
|
|
5717
5744
|
const BMP = {
|
|
5718
5745
|
validate: (input) => toUTF8String(input, 0, 2) === "BM",
|
|
@@ -5780,6 +5807,66 @@ const GIF = {
|
|
|
5780
5807
|
width: readUInt16LE(input, 6)
|
|
5781
5808
|
})
|
|
5782
5809
|
};
|
|
5810
|
+
const HEIC = {
|
|
5811
|
+
validate: (input) => {
|
|
5812
|
+
const ftypBox = findBox$1(input, "ftyp");
|
|
5813
|
+
if (!ftypBox) return false;
|
|
5814
|
+
const majorBrand = toUTF8String(input, ftypBox.offset + 8, ftypBox.offset + 12);
|
|
5815
|
+
return [
|
|
5816
|
+
"heic",
|
|
5817
|
+
"heix",
|
|
5818
|
+
"hevc",
|
|
5819
|
+
"hevx",
|
|
5820
|
+
"mif1",
|
|
5821
|
+
"msf1"
|
|
5822
|
+
].includes(majorBrand);
|
|
5823
|
+
},
|
|
5824
|
+
calculate: (input) => {
|
|
5825
|
+
const metaBox = findBox$1(input, "meta");
|
|
5826
|
+
if (!metaBox) throw new TypeError("heic: meta box not found");
|
|
5827
|
+
const iprpBox = findBox$1(input, "iprp", metaBox.offset + 12, metaBox.offset + metaBox.size);
|
|
5828
|
+
if (!iprpBox) throw new TypeError("heic: iprp box not found");
|
|
5829
|
+
const ipcoBox = findBox$1(input, "ipco", iprpBox.offset + 8, iprpBox.offset + iprpBox.size);
|
|
5830
|
+
if (!ipcoBox) throw new TypeError("heic: ipco box not found");
|
|
5831
|
+
const dimensions = findAllBoxes(input, "ispe", ipcoBox.offset + 8, ipcoBox.offset + ipcoBox.size).map((box) => ({
|
|
5832
|
+
width: readUInt32BE(input, box.offset + 12),
|
|
5833
|
+
height: readUInt32BE(input, box.offset + 16)
|
|
5834
|
+
}));
|
|
5835
|
+
if (dimensions.length === 0) throw new TypeError("heic: ispe box not found");
|
|
5836
|
+
let largestDimension = dimensions[0];
|
|
5837
|
+
for (let i = 1; i < dimensions.length; i++) {
|
|
5838
|
+
const curr = dimensions[i];
|
|
5839
|
+
if (curr.width * curr.height > largestDimension.width * largestDimension.height) largestDimension = curr;
|
|
5840
|
+
}
|
|
5841
|
+
return largestDimension;
|
|
5842
|
+
}
|
|
5843
|
+
};
|
|
5844
|
+
function findBox$1(input, type, startOffset = 0, endOffset = input.length) {
|
|
5845
|
+
let offset = startOffset;
|
|
5846
|
+
while (offset < endOffset) {
|
|
5847
|
+
const size = readUInt32BE(input, offset);
|
|
5848
|
+
if (toUTF8String(input, offset + 4, offset + 8) === type) return {
|
|
5849
|
+
offset,
|
|
5850
|
+
size
|
|
5851
|
+
};
|
|
5852
|
+
if (size <= 0 || offset + size > endOffset) break;
|
|
5853
|
+
offset += size;
|
|
5854
|
+
}
|
|
5855
|
+
}
|
|
5856
|
+
function findAllBoxes(input, type, startOffset = 0, endOffset = input.length) {
|
|
5857
|
+
let offset = startOffset;
|
|
5858
|
+
const boxes = [];
|
|
5859
|
+
while (offset < endOffset) {
|
|
5860
|
+
const size = readUInt32BE(input, offset);
|
|
5861
|
+
if (toUTF8String(input, offset + 4, offset + 8) === type) boxes.push({
|
|
5862
|
+
offset,
|
|
5863
|
+
size
|
|
5864
|
+
});
|
|
5865
|
+
if (size <= 0 || offset + size > endOffset) break;
|
|
5866
|
+
offset += size;
|
|
5867
|
+
}
|
|
5868
|
+
return boxes;
|
|
5869
|
+
}
|
|
5783
5870
|
const SIZE_HEADER = 8;
|
|
5784
5871
|
const FILE_LENGTH_OFFSET = 4;
|
|
5785
5872
|
const ENTRY_LENGTH_OFFSET = 4;
|
|
@@ -5861,11 +5948,9 @@ const J2C = {
|
|
|
5861
5948
|
};
|
|
5862
5949
|
const BoxTypes = {
|
|
5863
5950
|
ftyp: "66747970",
|
|
5864
|
-
ihdr: "69686472",
|
|
5865
5951
|
jp2h: "6a703268",
|
|
5866
5952
|
jp__: "6a502020",
|
|
5867
|
-
rreq: "72726571"
|
|
5868
|
-
xml_: "786d6c20"
|
|
5953
|
+
rreq: "72726571"
|
|
5869
5954
|
};
|
|
5870
5955
|
const calculateRREQLength = (box) => {
|
|
5871
5956
|
const unit = box[0];
|
|
@@ -5888,8 +5973,7 @@ const JP2 = {
|
|
|
5888
5973
|
if (signature !== BoxTypes.jp__ || signatureLength < 1) return false;
|
|
5889
5974
|
const ftypeBoxStart = signatureLength + 4;
|
|
5890
5975
|
const ftypBoxLength = readUInt32BE(input, signatureLength);
|
|
5891
|
-
|
|
5892
|
-
return toHexString(ftypBox, 0, 4) === BoxTypes.ftyp;
|
|
5976
|
+
return toHexString(input.slice(ftypeBoxStart, ftypeBoxStart + ftypBoxLength), 0, 4) === BoxTypes.ftyp;
|
|
5893
5977
|
},
|
|
5894
5978
|
calculate(input) {
|
|
5895
5979
|
const signatureLength = readUInt32BE(input, 0);
|
|
@@ -6046,8 +6130,7 @@ const handlers = {
|
|
|
6046
6130
|
const PNM = {
|
|
6047
6131
|
validate: (input) => toUTF8String(input, 0, 2) in PNMTypes,
|
|
6048
6132
|
calculate(input) {
|
|
6049
|
-
const
|
|
6050
|
-
const type = PNMTypes[signature];
|
|
6133
|
+
const type = PNMTypes[toUTF8String(input, 0, 2)];
|
|
6051
6134
|
const lines = toUTF8String(input, 3).split(/[\n\r]+/);
|
|
6052
6135
|
return (handlers[type] || handlers.default)(lines);
|
|
6053
6136
|
}
|
|
@@ -6184,8 +6267,7 @@ const TIFF = {
|
|
|
6184
6267
|
validate: (input) => signatures.has(toHexString(input, 0, 4)),
|
|
6185
6268
|
calculate(input) {
|
|
6186
6269
|
const isBigEndian = determineEndianness(input) === "BE";
|
|
6187
|
-
const
|
|
6188
|
-
const tags = extractTags(ifdBuffer, isBigEndian);
|
|
6270
|
+
const tags = extractTags(readIFD(input, isBigEndian), isBigEndian);
|
|
6189
6271
|
const width = tags[256];
|
|
6190
6272
|
const height = tags[257];
|
|
6191
6273
|
if (!width || !height) throw new TypeError("Invalid Tiff. Missing tags");
|
|
@@ -6243,11 +6325,9 @@ const AVIF = {
|
|
|
6243
6325
|
const iprpBox = findBox(input, "iprp", metaBox.offset + 12, metaBox.offset + metaBox.size);
|
|
6244
6326
|
const ipcoBox = findBox(input, "ipco", iprpBox.offset + 8, iprpBox.offset + iprpBox.size);
|
|
6245
6327
|
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
6328
|
return {
|
|
6249
|
-
width,
|
|
6250
|
-
height
|
|
6329
|
+
width: readUInt32BE(input, ispeBox.offset + 12),
|
|
6330
|
+
height: readUInt32BE(input, ispeBox.offset + 16)
|
|
6251
6331
|
};
|
|
6252
6332
|
}
|
|
6253
6333
|
};
|
|
@@ -6268,6 +6348,7 @@ const typeHandlers = {
|
|
|
6268
6348
|
cur: CUR,
|
|
6269
6349
|
dds: DDS,
|
|
6270
6350
|
gif: GIF,
|
|
6351
|
+
heic: HEIC,
|
|
6271
6352
|
icns: ICNS,
|
|
6272
6353
|
ico: ICO,
|
|
6273
6354
|
j2c: J2C,
|
|
@@ -6741,12 +6822,11 @@ function VitePluginVueDevTools(options$1) {
|
|
|
6741
6822
|
}
|
|
6742
6823
|
}));
|
|
6743
6824
|
setViteServerContext(server);
|
|
6744
|
-
|
|
6825
|
+
createViteServerRpc(getRpcFunctions({
|
|
6745
6826
|
rpc: inspect.api.rpc,
|
|
6746
6827
|
server,
|
|
6747
6828
|
config
|
|
6748
|
-
});
|
|
6749
|
-
createViteServerRpc(rpcFunctions);
|
|
6829
|
+
}));
|
|
6750
6830
|
const _printUrls = server.printUrls;
|
|
6751
6831
|
const colorUrl = (url) => cyan(url.replace(/:(\d+)\//, (_, port) => `:${bold(port)}/`));
|
|
6752
6832
|
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.4",
|
|
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-kit": "^8.0.
|
|
50
|
+
"@vue/devtools-core": "^8.0.4",
|
|
51
|
+
"@vue/devtools-shared": "^8.0.4",
|
|
52
|
+
"@vue/devtools-kit": "^8.0.4"
|
|
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": {
|