@anxin233/gitviz 1.0.1 → 1.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/dist/{cli.js → cli.cjs} +179 -166
- package/package.json +2 -2
- package/scripts/build-esbuild.js +14 -8
- package/dist/cli/index.js +0 -67
- package/dist/core/analyzer.js +0 -99
- package/dist/core/git-parser.js +0 -53
- package/dist/core/types.js +0 -1
- package/dist/visualizers/html-generator.js +0 -292
package/dist/{cli.js → cli.cjs}
RENAMED
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
"use strict";
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
7
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var
|
|
10
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
11
|
-
}) : x)(function(x) {
|
|
12
|
-
if (typeof require !== "undefined")
|
|
13
|
-
return require.apply(this, arguments);
|
|
14
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
15
|
-
});
|
|
16
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
9
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
17
10
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
18
11
|
};
|
|
19
12
|
var __copyProps = (to, from, except, desc) => {
|
|
@@ -35,7 +28,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
35
28
|
|
|
36
29
|
// node_modules/.store/commander@12.1.0/node_modules/commander/lib/error.js
|
|
37
30
|
var require_error = __commonJS({
|
|
38
|
-
"node_modules/.store/commander@12.1.0/node_modules/commander/lib/error.js"(
|
|
31
|
+
"node_modules/.store/commander@12.1.0/node_modules/commander/lib/error.js"(exports2) {
|
|
39
32
|
var CommanderError2 = class extends Error {
|
|
40
33
|
/**
|
|
41
34
|
* Constructs the CommanderError class
|
|
@@ -63,14 +56,14 @@ var require_error = __commonJS({
|
|
|
63
56
|
this.name = this.constructor.name;
|
|
64
57
|
}
|
|
65
58
|
};
|
|
66
|
-
|
|
67
|
-
|
|
59
|
+
exports2.CommanderError = CommanderError2;
|
|
60
|
+
exports2.InvalidArgumentError = InvalidArgumentError2;
|
|
68
61
|
}
|
|
69
62
|
});
|
|
70
63
|
|
|
71
64
|
// node_modules/.store/commander@12.1.0/node_modules/commander/lib/argument.js
|
|
72
65
|
var require_argument = __commonJS({
|
|
73
|
-
"node_modules/.store/commander@12.1.0/node_modules/commander/lib/argument.js"(
|
|
66
|
+
"node_modules/.store/commander@12.1.0/node_modules/commander/lib/argument.js"(exports2) {
|
|
74
67
|
var { InvalidArgumentError: InvalidArgumentError2 } = require_error();
|
|
75
68
|
var Argument2 = class {
|
|
76
69
|
/**
|
|
@@ -190,14 +183,14 @@ var require_argument = __commonJS({
|
|
|
190
183
|
const nameOutput = arg.name() + (arg.variadic === true ? "..." : "");
|
|
191
184
|
return arg.required ? "<" + nameOutput + ">" : "[" + nameOutput + "]";
|
|
192
185
|
}
|
|
193
|
-
|
|
194
|
-
|
|
186
|
+
exports2.Argument = Argument2;
|
|
187
|
+
exports2.humanReadableArgName = humanReadableArgName;
|
|
195
188
|
}
|
|
196
189
|
});
|
|
197
190
|
|
|
198
191
|
// node_modules/.store/commander@12.1.0/node_modules/commander/lib/help.js
|
|
199
192
|
var require_help = __commonJS({
|
|
200
|
-
"node_modules/.store/commander@12.1.0/node_modules/commander/lib/help.js"(
|
|
193
|
+
"node_modules/.store/commander@12.1.0/node_modules/commander/lib/help.js"(exports2) {
|
|
201
194
|
var { humanReadableArgName } = require_argument();
|
|
202
195
|
var Help2 = class {
|
|
203
196
|
constructor() {
|
|
@@ -609,13 +602,13 @@ var require_help = __commonJS({
|
|
|
609
602
|
}).join("\n");
|
|
610
603
|
}
|
|
611
604
|
};
|
|
612
|
-
|
|
605
|
+
exports2.Help = Help2;
|
|
613
606
|
}
|
|
614
607
|
});
|
|
615
608
|
|
|
616
609
|
// node_modules/.store/commander@12.1.0/node_modules/commander/lib/option.js
|
|
617
610
|
var require_option = __commonJS({
|
|
618
|
-
"node_modules/.store/commander@12.1.0/node_modules/commander/lib/option.js"(
|
|
611
|
+
"node_modules/.store/commander@12.1.0/node_modules/commander/lib/option.js"(exports2) {
|
|
619
612
|
var { InvalidArgumentError: InvalidArgumentError2 } = require_error();
|
|
620
613
|
var Option2 = class {
|
|
621
614
|
/**
|
|
@@ -881,14 +874,14 @@ var require_option = __commonJS({
|
|
|
881
874
|
}
|
|
882
875
|
return { shortFlag, longFlag };
|
|
883
876
|
}
|
|
884
|
-
|
|
885
|
-
|
|
877
|
+
exports2.Option = Option2;
|
|
878
|
+
exports2.DualOptions = DualOptions;
|
|
886
879
|
}
|
|
887
880
|
});
|
|
888
881
|
|
|
889
882
|
// node_modules/.store/commander@12.1.0/node_modules/commander/lib/suggestSimilar.js
|
|
890
883
|
var require_suggestSimilar = __commonJS({
|
|
891
|
-
"node_modules/.store/commander@12.1.0/node_modules/commander/lib/suggestSimilar.js"(
|
|
884
|
+
"node_modules/.store/commander@12.1.0/node_modules/commander/lib/suggestSimilar.js"(exports2) {
|
|
892
885
|
var maxDistance = 3;
|
|
893
886
|
function editDistance(a, b) {
|
|
894
887
|
if (Math.abs(a.length - b.length) > maxDistance)
|
|
@@ -964,18 +957,18 @@ var require_suggestSimilar = __commonJS({
|
|
|
964
957
|
}
|
|
965
958
|
return "";
|
|
966
959
|
}
|
|
967
|
-
|
|
960
|
+
exports2.suggestSimilar = suggestSimilar;
|
|
968
961
|
}
|
|
969
962
|
});
|
|
970
963
|
|
|
971
964
|
// node_modules/.store/commander@12.1.0/node_modules/commander/lib/command.js
|
|
972
965
|
var require_command = __commonJS({
|
|
973
|
-
"node_modules/.store/commander@12.1.0/node_modules/commander/lib/command.js"(
|
|
974
|
-
var EventEmitter2 =
|
|
975
|
-
var childProcess =
|
|
976
|
-
var path =
|
|
977
|
-
var fs =
|
|
978
|
-
var process10 =
|
|
966
|
+
"node_modules/.store/commander@12.1.0/node_modules/commander/lib/command.js"(exports2) {
|
|
967
|
+
var EventEmitter2 = require("node:events").EventEmitter;
|
|
968
|
+
var childProcess = require("node:child_process");
|
|
969
|
+
var path = require("node:path");
|
|
970
|
+
var fs = require("node:fs");
|
|
971
|
+
var process10 = require("node:process");
|
|
979
972
|
var { Argument: Argument2, humanReadableArgName } = require_argument();
|
|
980
973
|
var { CommanderError: CommanderError2 } = require_error();
|
|
981
974
|
var { Help: Help2 } = require_help();
|
|
@@ -3038,36 +3031,36 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
3038
3031
|
return arg;
|
|
3039
3032
|
});
|
|
3040
3033
|
}
|
|
3041
|
-
|
|
3034
|
+
exports2.Command = Command2;
|
|
3042
3035
|
}
|
|
3043
3036
|
});
|
|
3044
3037
|
|
|
3045
3038
|
// node_modules/.store/commander@12.1.0/node_modules/commander/index.js
|
|
3046
3039
|
var require_commander = __commonJS({
|
|
3047
|
-
"node_modules/.store/commander@12.1.0/node_modules/commander/index.js"(
|
|
3040
|
+
"node_modules/.store/commander@12.1.0/node_modules/commander/index.js"(exports2) {
|
|
3048
3041
|
var { Argument: Argument2 } = require_argument();
|
|
3049
3042
|
var { Command: Command2 } = require_command();
|
|
3050
3043
|
var { CommanderError: CommanderError2, InvalidArgumentError: InvalidArgumentError2 } = require_error();
|
|
3051
3044
|
var { Help: Help2 } = require_help();
|
|
3052
3045
|
var { Option: Option2 } = require_option();
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3046
|
+
exports2.program = new Command2();
|
|
3047
|
+
exports2.createCommand = (name) => new Command2(name);
|
|
3048
|
+
exports2.createOption = (flags, description) => new Option2(flags, description);
|
|
3049
|
+
exports2.createArgument = (name, description) => new Argument2(name, description);
|
|
3050
|
+
exports2.Command = Command2;
|
|
3051
|
+
exports2.Option = Option2;
|
|
3052
|
+
exports2.Argument = Argument2;
|
|
3053
|
+
exports2.Help = Help2;
|
|
3054
|
+
exports2.CommanderError = CommanderError2;
|
|
3055
|
+
exports2.InvalidArgumentError = InvalidArgumentError2;
|
|
3056
|
+
exports2.InvalidOptionArgumentError = InvalidArgumentError2;
|
|
3064
3057
|
}
|
|
3065
3058
|
});
|
|
3066
3059
|
|
|
3067
3060
|
// node_modules/.store/cli-spinners@2.9.2/node_modules/cli-spinners/spinners.json
|
|
3068
3061
|
var require_spinners = __commonJS({
|
|
3069
|
-
"node_modules/.store/cli-spinners@2.9.2/node_modules/cli-spinners/spinners.json"(
|
|
3070
|
-
|
|
3062
|
+
"node_modules/.store/cli-spinners@2.9.2/node_modules/cli-spinners/spinners.json"(exports2, module2) {
|
|
3063
|
+
module2.exports = {
|
|
3071
3064
|
dots: {
|
|
3072
3065
|
interval: 80,
|
|
3073
3066
|
frames: [
|
|
@@ -4694,7 +4687,7 @@ var require_spinners = __commonJS({
|
|
|
4694
4687
|
|
|
4695
4688
|
// node_modules/.store/cli-spinners@2.9.2/node_modules/cli-spinners/index.js
|
|
4696
4689
|
var require_cli_spinners = __commonJS({
|
|
4697
|
-
"node_modules/.store/cli-spinners@2.9.2/node_modules/cli-spinners/index.js"(
|
|
4690
|
+
"node_modules/.store/cli-spinners@2.9.2/node_modules/cli-spinners/index.js"(exports2, module2) {
|
|
4698
4691
|
"use strict";
|
|
4699
4692
|
var spinners = Object.assign({}, require_spinners());
|
|
4700
4693
|
var spinnersList = Object.keys(spinners);
|
|
@@ -4705,14 +4698,14 @@ var require_cli_spinners = __commonJS({
|
|
|
4705
4698
|
return spinners[spinnerName];
|
|
4706
4699
|
}
|
|
4707
4700
|
});
|
|
4708
|
-
|
|
4701
|
+
module2.exports = spinners;
|
|
4709
4702
|
}
|
|
4710
4703
|
});
|
|
4711
4704
|
|
|
4712
4705
|
// node_modules/.store/emoji-regex@10.6.0/node_modules/emoji-regex/index.js
|
|
4713
4706
|
var require_emoji_regex = __commonJS({
|
|
4714
|
-
"node_modules/.store/emoji-regex@10.6.0/node_modules/emoji-regex/index.js"(
|
|
4715
|
-
|
|
4707
|
+
"node_modules/.store/emoji-regex@10.6.0/node_modules/emoji-regex/index.js"(exports2, module2) {
|
|
4708
|
+
module2.exports = () => {
|
|
4716
4709
|
return /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
|
|
4717
4710
|
};
|
|
4718
4711
|
}
|
|
@@ -4720,14 +4713,14 @@ var require_emoji_regex = __commonJS({
|
|
|
4720
4713
|
|
|
4721
4714
|
// node_modules/.store/ms@2.1.3/node_modules/ms/index.js
|
|
4722
4715
|
var require_ms = __commonJS({
|
|
4723
|
-
"node_modules/.store/ms@2.1.3/node_modules/ms/index.js"(
|
|
4716
|
+
"node_modules/.store/ms@2.1.3/node_modules/ms/index.js"(exports2, module2) {
|
|
4724
4717
|
var s = 1e3;
|
|
4725
4718
|
var m = s * 60;
|
|
4726
4719
|
var h = m * 60;
|
|
4727
4720
|
var d = h * 24;
|
|
4728
4721
|
var w = d * 7;
|
|
4729
4722
|
var y = d * 365.25;
|
|
4730
|
-
|
|
4723
|
+
module2.exports = function(val, options) {
|
|
4731
4724
|
options = options || {};
|
|
4732
4725
|
var type = typeof val;
|
|
4733
4726
|
if (type === "string" && val.length > 0) {
|
|
@@ -4836,7 +4829,7 @@ var require_ms = __commonJS({
|
|
|
4836
4829
|
|
|
4837
4830
|
// node_modules/.store/debug@4.4.3/node_modules/debug/src/common.js
|
|
4838
4831
|
var require_common = __commonJS({
|
|
4839
|
-
"node_modules/.store/debug@4.4.3/node_modules/debug/src/common.js"(
|
|
4832
|
+
"node_modules/.store/debug@4.4.3/node_modules/debug/src/common.js"(exports2, module2) {
|
|
4840
4833
|
function setup(env2) {
|
|
4841
4834
|
createDebug.debug = createDebug;
|
|
4842
4835
|
createDebug.default = createDebug;
|
|
@@ -5007,19 +5000,19 @@ var require_common = __commonJS({
|
|
|
5007
5000
|
createDebug.enable(createDebug.load());
|
|
5008
5001
|
return createDebug;
|
|
5009
5002
|
}
|
|
5010
|
-
|
|
5003
|
+
module2.exports = setup;
|
|
5011
5004
|
}
|
|
5012
5005
|
});
|
|
5013
5006
|
|
|
5014
5007
|
// node_modules/.store/debug@4.4.3/node_modules/debug/src/browser.js
|
|
5015
5008
|
var require_browser = __commonJS({
|
|
5016
|
-
"node_modules/.store/debug@4.4.3/node_modules/debug/src/browser.js"(
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5009
|
+
"node_modules/.store/debug@4.4.3/node_modules/debug/src/browser.js"(exports2, module2) {
|
|
5010
|
+
exports2.formatArgs = formatArgs;
|
|
5011
|
+
exports2.save = save;
|
|
5012
|
+
exports2.load = load2;
|
|
5013
|
+
exports2.useColors = useColors;
|
|
5014
|
+
exports2.storage = localstorage();
|
|
5015
|
+
exports2.destroy = /* @__PURE__ */ (() => {
|
|
5023
5016
|
let warned = false;
|
|
5024
5017
|
return () => {
|
|
5025
5018
|
if (!warned) {
|
|
@@ -5028,7 +5021,7 @@ var require_browser = __commonJS({
|
|
|
5028
5021
|
}
|
|
5029
5022
|
};
|
|
5030
5023
|
})();
|
|
5031
|
-
|
|
5024
|
+
exports2.colors = [
|
|
5032
5025
|
"#0000CC",
|
|
5033
5026
|
"#0000FF",
|
|
5034
5027
|
"#0033CC",
|
|
@@ -5121,7 +5114,7 @@ var require_browser = __commonJS({
|
|
|
5121
5114
|
typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
|
|
5122
5115
|
}
|
|
5123
5116
|
function formatArgs(args) {
|
|
5124
|
-
args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" +
|
|
5117
|
+
args[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + args[0] + (this.useColors ? "%c " : " ") + "+" + module2.exports.humanize(this.diff);
|
|
5125
5118
|
if (!this.useColors) {
|
|
5126
5119
|
return;
|
|
5127
5120
|
}
|
|
@@ -5140,14 +5133,14 @@ var require_browser = __commonJS({
|
|
|
5140
5133
|
});
|
|
5141
5134
|
args.splice(lastC, 0, c);
|
|
5142
5135
|
}
|
|
5143
|
-
|
|
5136
|
+
exports2.log = console.debug || console.log || (() => {
|
|
5144
5137
|
});
|
|
5145
5138
|
function save(namespaces) {
|
|
5146
5139
|
try {
|
|
5147
5140
|
if (namespaces) {
|
|
5148
|
-
|
|
5141
|
+
exports2.storage.setItem("debug", namespaces);
|
|
5149
5142
|
} else {
|
|
5150
|
-
|
|
5143
|
+
exports2.storage.removeItem("debug");
|
|
5151
5144
|
}
|
|
5152
5145
|
} catch (error) {
|
|
5153
5146
|
}
|
|
@@ -5155,7 +5148,7 @@ var require_browser = __commonJS({
|
|
|
5155
5148
|
function load2() {
|
|
5156
5149
|
let r;
|
|
5157
5150
|
try {
|
|
5158
|
-
r =
|
|
5151
|
+
r = exports2.storage.getItem("debug") || exports2.storage.getItem("DEBUG");
|
|
5159
5152
|
} catch (error) {
|
|
5160
5153
|
}
|
|
5161
5154
|
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
@@ -5169,8 +5162,8 @@ var require_browser = __commonJS({
|
|
|
5169
5162
|
} catch (error) {
|
|
5170
5163
|
}
|
|
5171
5164
|
}
|
|
5172
|
-
|
|
5173
|
-
var { formatters } =
|
|
5165
|
+
module2.exports = require_common()(exports2);
|
|
5166
|
+
var { formatters } = module2.exports;
|
|
5174
5167
|
formatters.j = function(v) {
|
|
5175
5168
|
try {
|
|
5176
5169
|
return JSON.stringify(v);
|
|
@@ -5183,25 +5176,25 @@ var require_browser = __commonJS({
|
|
|
5183
5176
|
|
|
5184
5177
|
// node_modules/.store/debug@4.4.3/node_modules/debug/src/node.js
|
|
5185
5178
|
var require_node = __commonJS({
|
|
5186
|
-
"node_modules/.store/debug@4.4.3/node_modules/debug/src/node.js"(
|
|
5187
|
-
var tty2 =
|
|
5188
|
-
var util =
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
|
|
5195
|
-
|
|
5179
|
+
"node_modules/.store/debug@4.4.3/node_modules/debug/src/node.js"(exports2, module2) {
|
|
5180
|
+
var tty2 = require("tty");
|
|
5181
|
+
var util = require("util");
|
|
5182
|
+
exports2.init = init;
|
|
5183
|
+
exports2.log = log;
|
|
5184
|
+
exports2.formatArgs = formatArgs;
|
|
5185
|
+
exports2.save = save;
|
|
5186
|
+
exports2.load = load2;
|
|
5187
|
+
exports2.useColors = useColors;
|
|
5188
|
+
exports2.destroy = util.deprecate(
|
|
5196
5189
|
() => {
|
|
5197
5190
|
},
|
|
5198
5191
|
"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
|
|
5199
5192
|
);
|
|
5200
|
-
|
|
5193
|
+
exports2.colors = [6, 2, 3, 4, 5, 1];
|
|
5201
5194
|
try {
|
|
5202
|
-
const supportsColor2 =
|
|
5195
|
+
const supportsColor2 = require("supports-color");
|
|
5203
5196
|
if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
|
|
5204
|
-
|
|
5197
|
+
exports2.colors = [
|
|
5205
5198
|
20,
|
|
5206
5199
|
21,
|
|
5207
5200
|
26,
|
|
@@ -5282,7 +5275,7 @@ var require_node = __commonJS({
|
|
|
5282
5275
|
}
|
|
5283
5276
|
} catch (error) {
|
|
5284
5277
|
}
|
|
5285
|
-
|
|
5278
|
+
exports2.inspectOpts = Object.keys(process.env).filter((key) => {
|
|
5286
5279
|
return /^debug_/i.test(key);
|
|
5287
5280
|
}).reduce((obj, key) => {
|
|
5288
5281
|
const prop = key.substring(6).toLowerCase().replace(/_([a-z])/g, (_, k) => {
|
|
@@ -5302,7 +5295,7 @@ var require_node = __commonJS({
|
|
|
5302
5295
|
return obj;
|
|
5303
5296
|
}, {});
|
|
5304
5297
|
function useColors() {
|
|
5305
|
-
return "colors" in
|
|
5298
|
+
return "colors" in exports2.inspectOpts ? Boolean(exports2.inspectOpts.colors) : tty2.isatty(process.stderr.fd);
|
|
5306
5299
|
}
|
|
5307
5300
|
function formatArgs(args) {
|
|
5308
5301
|
const { namespace: name, useColors: useColors2 } = this;
|
|
@@ -5311,19 +5304,19 @@ var require_node = __commonJS({
|
|
|
5311
5304
|
const colorCode = "\x1B[3" + (c < 8 ? c : "8;5;" + c);
|
|
5312
5305
|
const prefix = ` ${colorCode};1m${name} \x1B[0m`;
|
|
5313
5306
|
args[0] = prefix + args[0].split("\n").join("\n" + prefix);
|
|
5314
|
-
args.push(colorCode + "m+" +
|
|
5307
|
+
args.push(colorCode + "m+" + module2.exports.humanize(this.diff) + "\x1B[0m");
|
|
5315
5308
|
} else {
|
|
5316
5309
|
args[0] = getDate() + name + " " + args[0];
|
|
5317
5310
|
}
|
|
5318
5311
|
}
|
|
5319
5312
|
function getDate() {
|
|
5320
|
-
if (
|
|
5313
|
+
if (exports2.inspectOpts.hideDate) {
|
|
5321
5314
|
return "";
|
|
5322
5315
|
}
|
|
5323
5316
|
return (/* @__PURE__ */ new Date()).toISOString() + " ";
|
|
5324
5317
|
}
|
|
5325
5318
|
function log(...args) {
|
|
5326
|
-
return process.stderr.write(util.formatWithOptions(
|
|
5319
|
+
return process.stderr.write(util.formatWithOptions(exports2.inspectOpts, ...args) + "\n");
|
|
5327
5320
|
}
|
|
5328
5321
|
function save(namespaces) {
|
|
5329
5322
|
if (namespaces) {
|
|
@@ -5337,13 +5330,13 @@ var require_node = __commonJS({
|
|
|
5337
5330
|
}
|
|
5338
5331
|
function init(debug2) {
|
|
5339
5332
|
debug2.inspectOpts = {};
|
|
5340
|
-
const keys = Object.keys(
|
|
5333
|
+
const keys = Object.keys(exports2.inspectOpts);
|
|
5341
5334
|
for (let i = 0; i < keys.length; i++) {
|
|
5342
|
-
debug2.inspectOpts[keys[i]] =
|
|
5335
|
+
debug2.inspectOpts[keys[i]] = exports2.inspectOpts[keys[i]];
|
|
5343
5336
|
}
|
|
5344
5337
|
}
|
|
5345
|
-
|
|
5346
|
-
var { formatters } =
|
|
5338
|
+
module2.exports = require_common()(exports2);
|
|
5339
|
+
var { formatters } = module2.exports;
|
|
5347
5340
|
formatters.o = function(v) {
|
|
5348
5341
|
this.inspectOpts.colors = this.useColors;
|
|
5349
5342
|
return util.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
|
|
@@ -5357,24 +5350,24 @@ var require_node = __commonJS({
|
|
|
5357
5350
|
|
|
5358
5351
|
// node_modules/.store/debug@4.4.3/node_modules/debug/src/index.js
|
|
5359
5352
|
var require_src = __commonJS({
|
|
5360
|
-
"node_modules/.store/debug@4.4.3/node_modules/debug/src/index.js"(
|
|
5353
|
+
"node_modules/.store/debug@4.4.3/node_modules/debug/src/index.js"(exports2, module2) {
|
|
5361
5354
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
5362
|
-
|
|
5355
|
+
module2.exports = require_browser();
|
|
5363
5356
|
} else {
|
|
5364
|
-
|
|
5357
|
+
module2.exports = require_node();
|
|
5365
5358
|
}
|
|
5366
5359
|
}
|
|
5367
5360
|
});
|
|
5368
5361
|
|
|
5369
5362
|
// node_modules/.store/@kwsites+file-exists@1.1.1/node_modules/@kwsites/file-exists/dist/src/index.js
|
|
5370
5363
|
var require_src2 = __commonJS({
|
|
5371
|
-
"node_modules/.store/@kwsites+file-exists@1.1.1/node_modules/@kwsites/file-exists/dist/src/index.js"(
|
|
5364
|
+
"node_modules/.store/@kwsites+file-exists@1.1.1/node_modules/@kwsites/file-exists/dist/src/index.js"(exports2) {
|
|
5372
5365
|
"use strict";
|
|
5373
|
-
var __importDefault =
|
|
5366
|
+
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
5374
5367
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
5375
5368
|
};
|
|
5376
|
-
Object.defineProperty(
|
|
5377
|
-
var fs_1 =
|
|
5369
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5370
|
+
var fs_1 = require("fs");
|
|
5378
5371
|
var debug_1 = __importDefault(require_src());
|
|
5379
5372
|
var log = debug_1.default("@kwsites/file-exists");
|
|
5380
5373
|
function check(path, isFile, isDirectory) {
|
|
@@ -5400,36 +5393,36 @@ var require_src2 = __commonJS({
|
|
|
5400
5393
|
throw e;
|
|
5401
5394
|
}
|
|
5402
5395
|
}
|
|
5403
|
-
function exists2(path, type =
|
|
5404
|
-
return check(path, (type &
|
|
5396
|
+
function exists2(path, type = exports2.READABLE) {
|
|
5397
|
+
return check(path, (type & exports2.FILE) > 0, (type & exports2.FOLDER) > 0);
|
|
5405
5398
|
}
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5399
|
+
exports2.exists = exists2;
|
|
5400
|
+
exports2.FILE = 1;
|
|
5401
|
+
exports2.FOLDER = 2;
|
|
5402
|
+
exports2.READABLE = exports2.FILE + exports2.FOLDER;
|
|
5410
5403
|
}
|
|
5411
5404
|
});
|
|
5412
5405
|
|
|
5413
5406
|
// node_modules/.store/@kwsites+file-exists@1.1.1/node_modules/@kwsites/file-exists/dist/index.js
|
|
5414
5407
|
var require_dist = __commonJS({
|
|
5415
|
-
"node_modules/.store/@kwsites+file-exists@1.1.1/node_modules/@kwsites/file-exists/dist/index.js"(
|
|
5408
|
+
"node_modules/.store/@kwsites+file-exists@1.1.1/node_modules/@kwsites/file-exists/dist/index.js"(exports2) {
|
|
5416
5409
|
"use strict";
|
|
5417
5410
|
function __export2(m) {
|
|
5418
5411
|
for (var p in m)
|
|
5419
|
-
if (!
|
|
5420
|
-
|
|
5412
|
+
if (!exports2.hasOwnProperty(p))
|
|
5413
|
+
exports2[p] = m[p];
|
|
5421
5414
|
}
|
|
5422
|
-
Object.defineProperty(
|
|
5415
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5423
5416
|
__export2(require_src2());
|
|
5424
5417
|
}
|
|
5425
5418
|
});
|
|
5426
5419
|
|
|
5427
5420
|
// node_modules/.store/@kwsites+promise-deferred@1.1.1/node_modules/@kwsites/promise-deferred/dist/index.js
|
|
5428
5421
|
var require_dist2 = __commonJS({
|
|
5429
|
-
"node_modules/.store/@kwsites+promise-deferred@1.1.1/node_modules/@kwsites/promise-deferred/dist/index.js"(
|
|
5422
|
+
"node_modules/.store/@kwsites+promise-deferred@1.1.1/node_modules/@kwsites/promise-deferred/dist/index.js"(exports2) {
|
|
5430
5423
|
"use strict";
|
|
5431
|
-
Object.defineProperty(
|
|
5432
|
-
|
|
5424
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5425
|
+
exports2.createDeferred = exports2.deferred = void 0;
|
|
5433
5426
|
function deferred2() {
|
|
5434
5427
|
let done;
|
|
5435
5428
|
let fail;
|
|
@@ -5460,9 +5453,9 @@ var require_dist2 = __commonJS({
|
|
|
5460
5453
|
}
|
|
5461
5454
|
};
|
|
5462
5455
|
}
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5456
|
+
exports2.deferred = deferred2;
|
|
5457
|
+
exports2.createDeferred = deferred2;
|
|
5458
|
+
exports2.default = deferred2;
|
|
5466
5459
|
}
|
|
5467
5460
|
});
|
|
5468
5461
|
|
|
@@ -5670,16 +5663,16 @@ var ansiStyles = assembleStyles();
|
|
|
5670
5663
|
var ansi_styles_default = ansiStyles;
|
|
5671
5664
|
|
|
5672
5665
|
// node_modules/.store/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.js
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args :
|
|
5666
|
+
var import_node_process = __toESM(require("node:process"), 1);
|
|
5667
|
+
var import_node_os = __toESM(require("node:os"), 1);
|
|
5668
|
+
var import_node_tty = __toESM(require("node:tty"), 1);
|
|
5669
|
+
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process.default.argv) {
|
|
5677
5670
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
5678
5671
|
const position = argv.indexOf(prefix + flag);
|
|
5679
5672
|
const terminatorPosition = argv.indexOf("--");
|
|
5680
5673
|
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
5681
5674
|
}
|
|
5682
|
-
var { env } =
|
|
5675
|
+
var { env } = import_node_process.default;
|
|
5683
5676
|
var flagForceColor;
|
|
5684
5677
|
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
|
5685
5678
|
flagForceColor = 0;
|
|
@@ -5735,8 +5728,8 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
|
5735
5728
|
if (env.TERM === "dumb") {
|
|
5736
5729
|
return min;
|
|
5737
5730
|
}
|
|
5738
|
-
if (
|
|
5739
|
-
const osRelease =
|
|
5731
|
+
if (import_node_process.default.platform === "win32") {
|
|
5732
|
+
const osRelease = import_node_os.default.release().split(".");
|
|
5740
5733
|
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
5741
5734
|
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
5742
5735
|
}
|
|
@@ -5767,10 +5760,10 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
|
5767
5760
|
return 3;
|
|
5768
5761
|
}
|
|
5769
5762
|
if ("TERM_PROGRAM" in env) {
|
|
5770
|
-
const
|
|
5763
|
+
const version2 = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
5771
5764
|
switch (env.TERM_PROGRAM) {
|
|
5772
5765
|
case "iTerm.app": {
|
|
5773
|
-
return
|
|
5766
|
+
return version2 >= 3 ? 3 : 2;
|
|
5774
5767
|
}
|
|
5775
5768
|
case "Apple_Terminal": {
|
|
5776
5769
|
return 2;
|
|
@@ -5796,8 +5789,8 @@ function createSupportsColor(stream, options = {}) {
|
|
|
5796
5789
|
return translateLevel(level);
|
|
5797
5790
|
}
|
|
5798
5791
|
var supportsColor = {
|
|
5799
|
-
stdout: createSupportsColor({ isTTY:
|
|
5800
|
-
stderr: createSupportsColor({ isTTY:
|
|
5792
|
+
stdout: createSupportsColor({ isTTY: import_node_tty.default.isatty(1) }),
|
|
5793
|
+
stderr: createSupportsColor({ isTTY: import_node_tty.default.isatty(2) })
|
|
5801
5794
|
};
|
|
5802
5795
|
var supports_color_default = supportsColor;
|
|
5803
5796
|
|
|
@@ -5979,13 +5972,13 @@ var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
|
|
|
5979
5972
|
var source_default = chalk;
|
|
5980
5973
|
|
|
5981
5974
|
// node_modules/.store/ora@8.2.0/node_modules/ora/index.js
|
|
5982
|
-
|
|
5975
|
+
var import_node_process7 = __toESM(require("node:process"), 1);
|
|
5983
5976
|
|
|
5984
5977
|
// node_modules/.store/cli-cursor@5.0.0/node_modules/cli-cursor/index.js
|
|
5985
|
-
|
|
5978
|
+
var import_node_process3 = __toESM(require("node:process"), 1);
|
|
5986
5979
|
|
|
5987
5980
|
// node_modules/.store/restore-cursor@5.1.0/node_modules/restore-cursor/index.js
|
|
5988
|
-
|
|
5981
|
+
var import_node_process2 = __toESM(require("node:process"), 1);
|
|
5989
5982
|
|
|
5990
5983
|
// node_modules/.store/mimic-function@5.0.1/node_modules/mimic-function/index.js
|
|
5991
5984
|
var copyProperty = (to, from, property, ignoreNonConfigurable) => {
|
|
@@ -6316,7 +6309,7 @@ var {
|
|
|
6316
6309
|
} = signalExitWrap(processOk(process3) ? new SignalExit(process3) : new SignalExitFallback());
|
|
6317
6310
|
|
|
6318
6311
|
// node_modules/.store/restore-cursor@5.1.0/node_modules/restore-cursor/index.js
|
|
6319
|
-
var terminal =
|
|
6312
|
+
var terminal = import_node_process2.default.stderr.isTTY ? import_node_process2.default.stderr : import_node_process2.default.stdout.isTTY ? import_node_process2.default.stdout : void 0;
|
|
6320
6313
|
var restoreCursor = terminal ? onetime_default(() => {
|
|
6321
6314
|
onExit(() => {
|
|
6322
6315
|
terminal.write("\x1B[?25h");
|
|
@@ -6328,14 +6321,14 @@ var restore_cursor_default = restoreCursor;
|
|
|
6328
6321
|
// node_modules/.store/cli-cursor@5.0.0/node_modules/cli-cursor/index.js
|
|
6329
6322
|
var isHidden = false;
|
|
6330
6323
|
var cliCursor = {};
|
|
6331
|
-
cliCursor.show = (writableStream =
|
|
6324
|
+
cliCursor.show = (writableStream = import_node_process3.default.stderr) => {
|
|
6332
6325
|
if (!writableStream.isTTY) {
|
|
6333
6326
|
return;
|
|
6334
6327
|
}
|
|
6335
6328
|
isHidden = false;
|
|
6336
6329
|
writableStream.write("\x1B[?25h");
|
|
6337
6330
|
};
|
|
6338
|
-
cliCursor.hide = (writableStream =
|
|
6331
|
+
cliCursor.hide = (writableStream = import_node_process3.default.stderr) => {
|
|
6339
6332
|
if (!writableStream.isTTY) {
|
|
6340
6333
|
return;
|
|
6341
6334
|
}
|
|
@@ -6359,12 +6352,12 @@ var cli_cursor_default = cliCursor;
|
|
|
6359
6352
|
var import_cli_spinners = __toESM(require_cli_spinners(), 1);
|
|
6360
6353
|
|
|
6361
6354
|
// node_modules/.store/is-unicode-supported@1.3.0/node_modules/is-unicode-supported/index.js
|
|
6362
|
-
|
|
6355
|
+
var import_node_process4 = __toESM(require("node:process"), 1);
|
|
6363
6356
|
function isUnicodeSupported() {
|
|
6364
|
-
if (
|
|
6365
|
-
return
|
|
6357
|
+
if (import_node_process4.default.platform !== "win32") {
|
|
6358
|
+
return import_node_process4.default.env.TERM !== "linux";
|
|
6366
6359
|
}
|
|
6367
|
-
return Boolean(
|
|
6360
|
+
return Boolean(import_node_process4.default.env.CI) || Boolean(import_node_process4.default.env.WT_SESSION) || Boolean(import_node_process4.default.env.TERMINUS_SUBLIME) || import_node_process4.default.env.ConEmuTask === "{cmd::Cmder}" || import_node_process4.default.env.TERM_PROGRAM === "Terminus-Sublime" || import_node_process4.default.env.TERM_PROGRAM === "vscode" || import_node_process4.default.env.TERM === "xterm-256color" || import_node_process4.default.env.TERM === "alacritty" || import_node_process4.default.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
6368
6361
|
}
|
|
6369
6362
|
|
|
6370
6363
|
// node_modules/.store/log-symbols@6.0.0/node_modules/log-symbols/index.js
|
|
@@ -6551,18 +6544,18 @@ function isInteractive({ stream = process.stdout } = {}) {
|
|
|
6551
6544
|
}
|
|
6552
6545
|
|
|
6553
6546
|
// node_modules/.store/is-unicode-supported@2.1.0/node_modules/is-unicode-supported/index.js
|
|
6554
|
-
|
|
6547
|
+
var import_node_process5 = __toESM(require("node:process"), 1);
|
|
6555
6548
|
function isUnicodeSupported2() {
|
|
6556
|
-
const { env: env2 } =
|
|
6549
|
+
const { env: env2 } = import_node_process5.default;
|
|
6557
6550
|
const { TERM, TERM_PROGRAM } = env2;
|
|
6558
|
-
if (
|
|
6551
|
+
if (import_node_process5.default.platform !== "win32") {
|
|
6559
6552
|
return TERM !== "linux";
|
|
6560
6553
|
}
|
|
6561
6554
|
return Boolean(env2.WT_SESSION) || Boolean(env2.TERMINUS_SUBLIME) || env2.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env2.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
6562
6555
|
}
|
|
6563
6556
|
|
|
6564
6557
|
// node_modules/.store/stdin-discarder@0.2.2/node_modules/stdin-discarder/index.js
|
|
6565
|
-
|
|
6558
|
+
var import_node_process6 = __toESM(require("node:process"), 1);
|
|
6566
6559
|
var ASCII_ETX_CODE = 3;
|
|
6567
6560
|
var StdinDiscarder = class {
|
|
6568
6561
|
#activeCount = 0;
|
|
@@ -6582,24 +6575,24 @@ var StdinDiscarder = class {
|
|
|
6582
6575
|
}
|
|
6583
6576
|
}
|
|
6584
6577
|
#realStart() {
|
|
6585
|
-
if (
|
|
6578
|
+
if (import_node_process6.default.platform === "win32" || !import_node_process6.default.stdin.isTTY) {
|
|
6586
6579
|
return;
|
|
6587
6580
|
}
|
|
6588
|
-
|
|
6589
|
-
|
|
6590
|
-
|
|
6581
|
+
import_node_process6.default.stdin.setRawMode(true);
|
|
6582
|
+
import_node_process6.default.stdin.on("data", this.#handleInput);
|
|
6583
|
+
import_node_process6.default.stdin.resume();
|
|
6591
6584
|
}
|
|
6592
6585
|
#realStop() {
|
|
6593
|
-
if (!
|
|
6586
|
+
if (!import_node_process6.default.stdin.isTTY) {
|
|
6594
6587
|
return;
|
|
6595
6588
|
}
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6589
|
+
import_node_process6.default.stdin.off("data", this.#handleInput);
|
|
6590
|
+
import_node_process6.default.stdin.pause();
|
|
6591
|
+
import_node_process6.default.stdin.setRawMode(false);
|
|
6599
6592
|
}
|
|
6600
6593
|
#handleInput(chunk) {
|
|
6601
6594
|
if (chunk[0] === ASCII_ETX_CODE) {
|
|
6602
|
-
|
|
6595
|
+
import_node_process6.default.emit("SIGINT");
|
|
6603
6596
|
}
|
|
6604
6597
|
}
|
|
6605
6598
|
};
|
|
@@ -6634,7 +6627,7 @@ var Ora = class {
|
|
|
6634
6627
|
}
|
|
6635
6628
|
this.#options = {
|
|
6636
6629
|
color: "cyan",
|
|
6637
|
-
stream:
|
|
6630
|
+
stream: import_node_process7.default.stderr,
|
|
6638
6631
|
discardStdin: true,
|
|
6639
6632
|
hideCursor: true,
|
|
6640
6633
|
...options
|
|
@@ -6649,7 +6642,7 @@ var Ora = class {
|
|
|
6649
6642
|
this.prefixText = this.#options.prefixText;
|
|
6650
6643
|
this.suffixText = this.#options.suffixText;
|
|
6651
6644
|
this.indent = this.#options.indent;
|
|
6652
|
-
if (
|
|
6645
|
+
if (import_node_process7.default.env.NODE_ENV === "test") {
|
|
6653
6646
|
this._stream = this.#stream;
|
|
6654
6647
|
this._isEnabled = this.#isEnabled;
|
|
6655
6648
|
Object.defineProperty(this, "_linesToClear", {
|
|
@@ -6839,7 +6832,7 @@ var Ora = class {
|
|
|
6839
6832
|
if (this.#options.hideCursor) {
|
|
6840
6833
|
cli_cursor_default.hide(this.#stream);
|
|
6841
6834
|
}
|
|
6842
|
-
if (this.#options.discardStdin &&
|
|
6835
|
+
if (this.#options.discardStdin && import_node_process7.default.stdin.isTTY) {
|
|
6843
6836
|
this.#isDiscardingStdin = true;
|
|
6844
6837
|
stdin_discarder_default.start();
|
|
6845
6838
|
}
|
|
@@ -6858,7 +6851,7 @@ var Ora = class {
|
|
|
6858
6851
|
if (this.#options.hideCursor) {
|
|
6859
6852
|
cli_cursor_default.show(this.#stream);
|
|
6860
6853
|
}
|
|
6861
|
-
if (this.#options.discardStdin &&
|
|
6854
|
+
if (this.#options.discardStdin && import_node_process7.default.stdin.isTTY && this.#isDiscardingStdin) {
|
|
6862
6855
|
stdin_discarder_default.stop();
|
|
6863
6856
|
this.#isDiscardingStdin = false;
|
|
6864
6857
|
}
|
|
@@ -6899,18 +6892,18 @@ function ora(options) {
|
|
|
6899
6892
|
}
|
|
6900
6893
|
|
|
6901
6894
|
// src/cli/index.ts
|
|
6902
|
-
|
|
6903
|
-
|
|
6895
|
+
var import_fs = require("fs");
|
|
6896
|
+
var import_path = require("path");
|
|
6904
6897
|
|
|
6905
6898
|
// node_modules/.store/simple-git@3.32.3/node_modules/simple-git/dist/esm/index.js
|
|
6899
|
+
var import_node_buffer = require("node:buffer");
|
|
6906
6900
|
var import_file_exists = __toESM(require_dist(), 1);
|
|
6907
6901
|
var import_debug = __toESM(require_src(), 1);
|
|
6902
|
+
var import_child_process = require("child_process");
|
|
6908
6903
|
var import_promise_deferred = __toESM(require_dist2(), 1);
|
|
6904
|
+
var import_node_path = require("node:path");
|
|
6909
6905
|
var import_promise_deferred2 = __toESM(require_dist2(), 1);
|
|
6910
|
-
|
|
6911
|
-
import { spawn } from "child_process";
|
|
6912
|
-
import { normalize } from "node:path";
|
|
6913
|
-
import { EventEmitter } from "node:events";
|
|
6906
|
+
var import_node_events = require("node:events");
|
|
6914
6907
|
var __defProp2 = Object.defineProperty;
|
|
6915
6908
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
6916
6909
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -6918,7 +6911,7 @@ var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
|
6918
6911
|
var __esm = (fn, res) => function __init() {
|
|
6919
6912
|
return fn && (res = (0, fn[__getOwnPropNames2(fn)[0]])(fn = 0)), res;
|
|
6920
6913
|
};
|
|
6921
|
-
var __commonJS2 = (cb, mod) => function
|
|
6914
|
+
var __commonJS2 = (cb, mod) => function __require() {
|
|
6922
6915
|
return mod || (0, cb[__getOwnPropNames2(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
6923
6916
|
};
|
|
6924
6917
|
var __export = (target, all) => {
|
|
@@ -7087,7 +7080,7 @@ function prefixedArray(input, prefix) {
|
|
|
7087
7080
|
return output;
|
|
7088
7081
|
}
|
|
7089
7082
|
function bufferToString(input) {
|
|
7090
|
-
return (Array.isArray(input) ?
|
|
7083
|
+
return (Array.isArray(input) ? import_node_buffer.Buffer.concat(input) : input).toString("utf-8");
|
|
7091
7084
|
}
|
|
7092
7085
|
function pick(source, properties) {
|
|
7093
7086
|
const out = {};
|
|
@@ -8296,7 +8289,7 @@ var init_git_executor_chain = __esm({
|
|
|
8296
8289
|
rejection = reason || rejection;
|
|
8297
8290
|
}
|
|
8298
8291
|
});
|
|
8299
|
-
const spawned = spawn(command, args, spawnOptions);
|
|
8292
|
+
const spawned = (0, import_child_process.spawn)(command, args, spawnOptions);
|
|
8300
8293
|
spawned.stdout.on(
|
|
8301
8294
|
"data",
|
|
8302
8295
|
onDataReceived(stdOut, "stdOut", logger, outputLogger.step("stdOut"))
|
|
@@ -10212,7 +10205,7 @@ var init_branch = __esm({
|
|
|
10212
10205
|
});
|
|
10213
10206
|
function toPath(input) {
|
|
10214
10207
|
const path = input.trim().replace(/^["']|["']$/g, "");
|
|
10215
|
-
return path && normalize(path);
|
|
10208
|
+
return path && (0, import_node_path.normalize)(path);
|
|
10216
10209
|
}
|
|
10217
10210
|
var parseCheckIgnore;
|
|
10218
10211
|
var init_CheckIgnore = __esm({
|
|
@@ -10643,7 +10636,7 @@ var init_tag = __esm({
|
|
|
10643
10636
|
}
|
|
10644
10637
|
});
|
|
10645
10638
|
var require_git = __commonJS2({
|
|
10646
|
-
"src/git.js"(
|
|
10639
|
+
"src/git.js"(exports2, module2) {
|
|
10647
10640
|
"use strict";
|
|
10648
10641
|
var { GitExecutor: GitExecutor2 } = (init_git_executor(), __toCommonJS(git_executor_exports));
|
|
10649
10642
|
var { SimpleGitApi: SimpleGitApi2 } = (init_simple_git_api(), __toCommonJS(simple_git_api_exports));
|
|
@@ -11026,7 +11019,7 @@ var require_git = __commonJS2({
|
|
|
11026
11019
|
trailingFunctionArgument2(arguments)
|
|
11027
11020
|
);
|
|
11028
11021
|
};
|
|
11029
|
-
|
|
11022
|
+
module2.exports = Git2;
|
|
11030
11023
|
}
|
|
11031
11024
|
});
|
|
11032
11025
|
init_pathspec();
|
|
@@ -11288,7 +11281,7 @@ init_utils();
|
|
|
11288
11281
|
var PluginStore = class {
|
|
11289
11282
|
constructor() {
|
|
11290
11283
|
this.plugins = /* @__PURE__ */ new Set();
|
|
11291
|
-
this.events = new EventEmitter();
|
|
11284
|
+
this.events = new import_node_events.EventEmitter();
|
|
11292
11285
|
}
|
|
11293
11286
|
on(type, listener) {
|
|
11294
11287
|
this.events.on(type, listener);
|
|
@@ -11485,7 +11478,21 @@ var GitParser = class {
|
|
|
11485
11478
|
});
|
|
11486
11479
|
const commits = [];
|
|
11487
11480
|
for (const commit of log.all) {
|
|
11488
|
-
|
|
11481
|
+
let diffSummary;
|
|
11482
|
+
try {
|
|
11483
|
+
diffSummary = await this.git.diffSummary([`${commit.hash}^`, commit.hash]);
|
|
11484
|
+
} catch {
|
|
11485
|
+
try {
|
|
11486
|
+
diffSummary = await this.git.diffSummary(["4b825dc642cb6eb9a060e54bf8d69288fbee4904", commit.hash]);
|
|
11487
|
+
} catch {
|
|
11488
|
+
diffSummary = {
|
|
11489
|
+
files: [],
|
|
11490
|
+
insertions: 0,
|
|
11491
|
+
deletions: 0,
|
|
11492
|
+
changed: 0
|
|
11493
|
+
};
|
|
11494
|
+
}
|
|
11495
|
+
}
|
|
11489
11496
|
commits.push({
|
|
11490
11497
|
hash: commit.hash,
|
|
11491
11498
|
author: commit.author_name || "Unknown",
|
|
@@ -11901,8 +11908,14 @@ function generateHTML(data, repoName) {
|
|
|
11901
11908
|
}
|
|
11902
11909
|
|
|
11903
11910
|
// src/cli/index.ts
|
|
11911
|
+
var version = "1.0.2";
|
|
11912
|
+
try {
|
|
11913
|
+
const packageJson = JSON.parse((0, import_fs.readFileSync)((0, import_path.join)(__dirname, "../package.json"), "utf-8"));
|
|
11914
|
+
version = packageJson.version;
|
|
11915
|
+
} catch {
|
|
11916
|
+
}
|
|
11904
11917
|
var program2 = new Command();
|
|
11905
|
-
program2.name("gitviz").description("\u{1F3A8} Beautiful, interactive Git repository visualizations").version(
|
|
11918
|
+
program2.name("gitviz").description("\u{1F3A8} Beautiful, interactive Git repository visualizations").version(version);
|
|
11906
11919
|
program2.command("analyze").description("Analyze a Git repository and generate visualizations").option("-p, --path <path>", "Path to Git repository", ".").option("-o, --output <file>", "Output HTML file", "gitviz-report.html").option("-l, --limit <number>", "Limit number of commits to analyze", "1000").action(async (options) => {
|
|
11907
11920
|
const spinner = ora("Initializing GitViz...").start();
|
|
11908
11921
|
try {
|
|
@@ -11927,8 +11940,8 @@ program2.command("analyze").description("Analyze a Git repository and generate v
|
|
|
11927
11940
|
spinner.text = "Creating HTML report...";
|
|
11928
11941
|
const repoName = options.path === "." ? "Current Repository" : options.path;
|
|
11929
11942
|
const html = generateHTML(vizData, repoName);
|
|
11930
|
-
const outputPath = join(process.cwd(), options.output);
|
|
11931
|
-
writeFileSync(outputPath, html, "utf-8");
|
|
11943
|
+
const outputPath = (0, import_path.join)(process.cwd(), options.output);
|
|
11944
|
+
(0, import_fs.writeFileSync)(outputPath, html, "utf-8");
|
|
11932
11945
|
spinner.succeed(source_default.green("\u2728 Visualization generated successfully!"));
|
|
11933
11946
|
console.log("\n" + source_default.bold("\u{1F4CA} Repository Statistics:"));
|
|
11934
11947
|
console.log(source_default.cyan(` Total Commits: ${analysis.totalCommits}`));
|