@neon/sdk 0.1.0 → 0.2.0

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.
Files changed (76) hide show
  1. package/README.md +1 -1
  2. package/dist/_virtual/_rolldown/runtime.js +2 -1
  3. package/dist/neon/client.test-d.d.ts +1 -0
  4. package/dist/neon/client.test-d.js +76 -0
  5. package/dist/neon/client.test-d.js.map +1 -0
  6. package/dist/neon/resources/postgres.d.ts +1 -1
  7. package/dist/neon/resources/postgres.js.map +1 -1
  8. package/dist/node_modules/.pnpm/@vitest_pretty-format@3.0.9/node_modules/@vitest/pretty-format/dist/index.js +879 -0
  9. package/dist/node_modules/.pnpm/@vitest_pretty-format@3.0.9/node_modules/@vitest/pretty-format/dist/index.js.map +1 -0
  10. package/dist/node_modules/.pnpm/@vitest_runner@3.0.9/node_modules/@vitest/runner/dist/chunk-tasks.js +30 -0
  11. package/dist/node_modules/.pnpm/@vitest_runner@3.0.9/node_modules/@vitest/runner/dist/chunk-tasks.js.map +1 -0
  12. package/dist/node_modules/.pnpm/@vitest_runner@3.0.9/node_modules/@vitest/runner/dist/index.js +578 -0
  13. package/dist/node_modules/.pnpm/@vitest_runner@3.0.9/node_modules/@vitest/runner/dist/index.js.map +1 -0
  14. package/dist/node_modules/.pnpm/@vitest_utils@3.0.9/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js +92 -0
  15. package/dist/node_modules/.pnpm/@vitest_utils@3.0.9/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js.map +1 -0
  16. package/dist/node_modules/.pnpm/@vitest_utils@3.0.9/node_modules/@vitest/utils/dist/helpers.js +43 -0
  17. package/dist/node_modules/.pnpm/@vitest_utils@3.0.9/node_modules/@vitest/utils/dist/helpers.js.map +1 -0
  18. package/dist/node_modules/.pnpm/@vitest_utils@3.0.9/node_modules/@vitest/utils/dist/index.js +450 -0
  19. package/dist/node_modules/.pnpm/@vitest_utils@3.0.9/node_modules/@vitest/utils/dist/index.js.map +1 -0
  20. package/dist/node_modules/.pnpm/@vitest_utils@3.0.9/node_modules/@vitest/utils/dist/source-map.js +168 -0
  21. package/dist/node_modules/.pnpm/@vitest_utils@3.0.9/node_modules/@vitest/utils/dist/source-map.js.map +1 -0
  22. package/dist/node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/branding.js +10 -0
  23. package/dist/node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/branding.js.map +1 -0
  24. package/dist/node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/index.js +109 -0
  25. package/dist/node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/index.js.map +1 -0
  26. package/dist/node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/messages.js +10 -0
  27. package/dist/node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/messages.js.map +1 -0
  28. package/dist/node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/overloads.js +10 -0
  29. package/dist/node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/overloads.js.map +1 -0
  30. package/dist/node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/utils.js +10 -0
  31. package/dist/node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/utils.js.map +1 -0
  32. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js +11 -0
  33. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js.map +1 -0
  34. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js +16 -0
  35. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js.map +1 -0
  36. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js +11 -0
  37. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js.map +1 -0
  38. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js +15 -0
  39. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js.map +1 -0
  40. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js +13 -0
  41. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js.map +1 -0
  42. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.js +34 -0
  43. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.js.map +1 -0
  44. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.js +12 -0
  45. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.js.map +1 -0
  46. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.js +122 -0
  47. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.js.map +1 -0
  48. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js +39 -0
  49. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js.map +1 -0
  50. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js +99 -0
  51. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js.map +1 -0
  52. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.js +25 -0
  53. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.js.map +1 -0
  54. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.js +14 -0
  55. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.js.map +1 -0
  56. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.js +21 -0
  57. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.js.map +1 -0
  58. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js +6 -0
  59. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js.map +1 -0
  60. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.js +12 -0
  61. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.js.map +1 -0
  62. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.js +18 -0
  63. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.js.map +1 -0
  64. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.js +24 -0
  65. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.js.map +1 -0
  66. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.js +9 -0
  67. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.js.map +1 -0
  68. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.js +30 -0
  69. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.js.map +1 -0
  70. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js +82 -0
  71. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js.map +1 -0
  72. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js +7 -0
  73. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js.map +1 -0
  74. package/dist/node_modules/.pnpm/vitest@3.0.9_@types_debug@4.1.13_@types_node@20.19.17_jiti@2.7.0_jsdom@26.1.0_lightning_fb7ae83398b95c49208c9194029bba02/node_modules/vitest/dist/index.js +8 -0
  75. package/dist/node_modules/.pnpm/vitest@3.0.9_@types_debug@4.1.13_@types_node@20.19.17_jiti@2.7.0_jsdom@26.1.0_lightning_fb7ae83398b95c49208c9194029bba02/node_modules/vitest/dist/index.js.map +1 -0
  76. package/package.json +3 -2
@@ -0,0 +1,122 @@
1
+ //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.js
2
+ const ansiColors = {
3
+ bold: ["1", "22"],
4
+ dim: ["2", "22"],
5
+ italic: ["3", "23"],
6
+ underline: ["4", "24"],
7
+ inverse: ["7", "27"],
8
+ hidden: ["8", "28"],
9
+ strike: ["9", "29"],
10
+ black: ["30", "39"],
11
+ red: ["31", "39"],
12
+ green: ["32", "39"],
13
+ yellow: ["33", "39"],
14
+ blue: ["34", "39"],
15
+ magenta: ["35", "39"],
16
+ cyan: ["36", "39"],
17
+ white: ["37", "39"],
18
+ brightblack: ["30;1", "39"],
19
+ brightred: ["31;1", "39"],
20
+ brightgreen: ["32;1", "39"],
21
+ brightyellow: ["33;1", "39"],
22
+ brightblue: ["34;1", "39"],
23
+ brightmagenta: ["35;1", "39"],
24
+ brightcyan: ["36;1", "39"],
25
+ brightwhite: ["37;1", "39"],
26
+ grey: ["90", "39"]
27
+ };
28
+ const styles = {
29
+ special: "cyan",
30
+ number: "yellow",
31
+ bigint: "yellow",
32
+ boolean: "yellow",
33
+ undefined: "grey",
34
+ null: "bold",
35
+ string: "green",
36
+ symbol: "green",
37
+ date: "magenta",
38
+ regexp: "red"
39
+ };
40
+ function colorise(value, styleType) {
41
+ const color = ansiColors[styles[styleType]] || ansiColors[styleType] || "";
42
+ if (!color) return String(value);
43
+ return `\u001b[${color[0]}m${String(value)}\u001b[${color[1]}m`;
44
+ }
45
+ function normaliseOptions({ showHidden = false, depth = 2, colors = false, customInspect = true, showProxy = false, maxArrayLength = Infinity, breakLength = Infinity, seen = [], truncate = Infinity, stylize = String } = {}, inspect) {
46
+ const options = {
47
+ showHidden: Boolean(showHidden),
48
+ depth: Number(depth),
49
+ colors: Boolean(colors),
50
+ customInspect: Boolean(customInspect),
51
+ showProxy: Boolean(showProxy),
52
+ maxArrayLength: Number(maxArrayLength),
53
+ breakLength: Number(breakLength),
54
+ truncate: Number(truncate),
55
+ seen,
56
+ inspect,
57
+ stylize
58
+ };
59
+ if (options.colors) options.stylize = colorise;
60
+ return options;
61
+ }
62
+ function isHighSurrogate(char) {
63
+ return char >= "\ud800" && char <= "\udbff";
64
+ }
65
+ function truncate(string, length, tail = "…") {
66
+ string = String(string);
67
+ const tailLength = tail.length;
68
+ const stringLength = string.length;
69
+ if (tailLength > length && stringLength > tailLength) return tail;
70
+ if (stringLength > length && stringLength > tailLength) {
71
+ let end = length - tailLength;
72
+ if (end > 0 && isHighSurrogate(string[end - 1])) end = end - 1;
73
+ return `${string.slice(0, end)}${tail}`;
74
+ }
75
+ return string;
76
+ }
77
+ function inspectList(list, options, inspectItem, separator = ", ") {
78
+ inspectItem = inspectItem || options.inspect;
79
+ const size = list.length;
80
+ if (size === 0) return "";
81
+ const originalLength = options.truncate;
82
+ let output = "";
83
+ let peek = "";
84
+ let truncated = "";
85
+ for (let i = 0; i < size; i += 1) {
86
+ const last = i + 1 === list.length;
87
+ const secondToLast = i + 2 === list.length;
88
+ truncated = `…(${list.length - i})`;
89
+ const value = list[i];
90
+ options.truncate = originalLength - output.length - (last ? 0 : separator.length);
91
+ const string = peek || inspectItem(value, options) + (last ? "" : separator);
92
+ const nextLength = output.length + string.length;
93
+ const truncatedLength = nextLength + truncated.length;
94
+ if (last && nextLength > originalLength && output.length + truncated.length <= originalLength) break;
95
+ if (!last && !secondToLast && truncatedLength > originalLength) break;
96
+ peek = last ? "" : inspectItem(list[i + 1], options) + (secondToLast ? "" : separator);
97
+ if (!last && secondToLast && truncatedLength > originalLength && nextLength + peek.length > originalLength) break;
98
+ output += string;
99
+ if (!last && !secondToLast && nextLength + peek.length >= originalLength) {
100
+ truncated = `…(${list.length - i - 1})`;
101
+ break;
102
+ }
103
+ truncated = "";
104
+ }
105
+ return `${output}${truncated}`;
106
+ }
107
+ function quoteComplexKey(key) {
108
+ if (key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)) return key;
109
+ return JSON.stringify(key).replace(/'/g, "\\'").replace(/\\"/g, "\"").replace(/(^"|"$)/g, "'");
110
+ }
111
+ function inspectProperty([key, value], options) {
112
+ options.truncate -= 2;
113
+ if (typeof key === "string") key = quoteComplexKey(key);
114
+ else if (typeof key !== "number") key = `[${options.inspect(key, options)}]`;
115
+ options.truncate -= key.length;
116
+ value = options.inspect(value, options);
117
+ return `${key}: ${value}`;
118
+ }
119
+ //#endregion
120
+ export { inspectList, inspectProperty, normaliseOptions, truncate };
121
+
122
+ //# sourceMappingURL=helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.js"],"sourcesContent":["const ansiColors = {\n bold: ['1', '22'],\n dim: ['2', '22'],\n italic: ['3', '23'],\n underline: ['4', '24'],\n // 5 & 6 are blinking\n inverse: ['7', '27'],\n hidden: ['8', '28'],\n strike: ['9', '29'],\n // 10-20 are fonts\n // 21-29 are resets for 1-9\n black: ['30', '39'],\n red: ['31', '39'],\n green: ['32', '39'],\n yellow: ['33', '39'],\n blue: ['34', '39'],\n magenta: ['35', '39'],\n cyan: ['36', '39'],\n white: ['37', '39'],\n brightblack: ['30;1', '39'],\n brightred: ['31;1', '39'],\n brightgreen: ['32;1', '39'],\n brightyellow: ['33;1', '39'],\n brightblue: ['34;1', '39'],\n brightmagenta: ['35;1', '39'],\n brightcyan: ['36;1', '39'],\n brightwhite: ['37;1', '39'],\n grey: ['90', '39'],\n};\nconst styles = {\n special: 'cyan',\n number: 'yellow',\n bigint: 'yellow',\n boolean: 'yellow',\n undefined: 'grey',\n null: 'bold',\n string: 'green',\n symbol: 'green',\n date: 'magenta',\n regexp: 'red',\n};\nexport const truncator = '…';\nfunction colorise(value, styleType) {\n const color = ansiColors[styles[styleType]] || ansiColors[styleType] || '';\n if (!color) {\n return String(value);\n }\n return `\\u001b[${color[0]}m${String(value)}\\u001b[${color[1]}m`;\n}\nexport function normaliseOptions({ showHidden = false, depth = 2, colors = false, customInspect = true, showProxy = false, maxArrayLength = Infinity, breakLength = Infinity, seen = [], \n// eslint-disable-next-line no-shadow\ntruncate = Infinity, stylize = String, } = {}, inspect) {\n const options = {\n showHidden: Boolean(showHidden),\n depth: Number(depth),\n colors: Boolean(colors),\n customInspect: Boolean(customInspect),\n showProxy: Boolean(showProxy),\n maxArrayLength: Number(maxArrayLength),\n breakLength: Number(breakLength),\n truncate: Number(truncate),\n seen,\n inspect,\n stylize,\n };\n if (options.colors) {\n options.stylize = colorise;\n }\n return options;\n}\nfunction isHighSurrogate(char) {\n return char >= '\\ud800' && char <= '\\udbff';\n}\nexport function truncate(string, length, tail = truncator) {\n string = String(string);\n const tailLength = tail.length;\n const stringLength = string.length;\n if (tailLength > length && stringLength > tailLength) {\n return tail;\n }\n if (stringLength > length && stringLength > tailLength) {\n let end = length - tailLength;\n if (end > 0 && isHighSurrogate(string[end - 1])) {\n end = end - 1;\n }\n return `${string.slice(0, end)}${tail}`;\n }\n return string;\n}\n// eslint-disable-next-line complexity\nexport function inspectList(list, options, inspectItem, separator = ', ') {\n inspectItem = inspectItem || options.inspect;\n const size = list.length;\n if (size === 0)\n return '';\n const originalLength = options.truncate;\n let output = '';\n let peek = '';\n let truncated = '';\n for (let i = 0; i < size; i += 1) {\n const last = i + 1 === list.length;\n const secondToLast = i + 2 === list.length;\n truncated = `${truncator}(${list.length - i})`;\n const value = list[i];\n // If there is more than one remaining we need to account for a separator of `, `\n options.truncate = originalLength - output.length - (last ? 0 : separator.length);\n const string = peek || inspectItem(value, options) + (last ? '' : separator);\n const nextLength = output.length + string.length;\n const truncatedLength = nextLength + truncated.length;\n // If this is the last element, and adding it would\n // take us over length, but adding the truncator wouldn't - then break now\n if (last && nextLength > originalLength && output.length + truncated.length <= originalLength) {\n break;\n }\n // If this isn't the last or second to last element to scan,\n // but the string is already over length then break here\n if (!last && !secondToLast && truncatedLength > originalLength) {\n break;\n }\n // Peek at the next string to determine if we should\n // break early before adding this item to the output\n peek = last ? '' : inspectItem(list[i + 1], options) + (secondToLast ? '' : separator);\n // If we have one element left, but this element and\n // the next takes over length, the break early\n if (!last && secondToLast && truncatedLength > originalLength && nextLength + peek.length > originalLength) {\n break;\n }\n output += string;\n // If the next element takes us to length -\n // but there are more after that, then we should truncate now\n if (!last && !secondToLast && nextLength + peek.length >= originalLength) {\n truncated = `${truncator}(${list.length - i - 1})`;\n break;\n }\n truncated = '';\n }\n return `${output}${truncated}`;\n}\nfunction quoteComplexKey(key) {\n if (key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)) {\n return key;\n }\n return JSON.stringify(key)\n .replace(/'/g, \"\\\\'\")\n .replace(/\\\\\"/g, '\"')\n .replace(/(^\"|\"$)/g, \"'\");\n}\nexport function inspectProperty([key, value], options) {\n options.truncate -= 2;\n if (typeof key === 'string') {\n key = quoteComplexKey(key);\n }\n else if (typeof key !== 'number') {\n key = `[${options.inspect(key, options)}]`;\n }\n options.truncate -= key.length;\n value = options.inspect(value, options);\n return `${key}: ${value}`;\n}\n"],"x_google_ignoreList":[0],"mappings":";AAAA,MAAM,aAAa;CACf,MAAM,CAAC,KAAK,IAAI;CAChB,KAAK,CAAC,KAAK,IAAI;CACf,QAAQ,CAAC,KAAK,IAAI;CAClB,WAAW,CAAC,KAAK,IAAI;CAErB,SAAS,CAAC,KAAK,IAAI;CACnB,QAAQ,CAAC,KAAK,IAAI;CAClB,QAAQ,CAAC,KAAK,IAAI;CAGlB,OAAO,CAAC,MAAM,IAAI;CAClB,KAAK,CAAC,MAAM,IAAI;CAChB,OAAO,CAAC,MAAM,IAAI;CAClB,QAAQ,CAAC,MAAM,IAAI;CACnB,MAAM,CAAC,MAAM,IAAI;CACjB,SAAS,CAAC,MAAM,IAAI;CACpB,MAAM,CAAC,MAAM,IAAI;CACjB,OAAO,CAAC,MAAM,IAAI;CAClB,aAAa,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gB;GACtE,YAAY,KAAgB,KAAK,SAAS,IAAI,EAAE;GAChD;EACJ;EACA,YAAY;CAChB;CACA,OAAO,GAAG,SAAS;AACvB;AACA,SAAS,gBAAgB,KAAK;CAC1B,IAAI,IAAI,MAAM,0BAA0B,GACpC,OAAO;CAEX,OAAO,KAAK,UAAU,GAAG,CAAC,CACrB,QAAQ,MAAM,KAAK,CAAC,CACpB,QAAQ,QAAQ,IAAG,CAAC,CACpB,QAAQ,YAAY,GAAG;AAChC;AACA,SAAgB,gBAAgB,CAAC,KAAK,QAAQ,SAAS;CACnD,QAAQ,YAAY;CACpB,IAAI,OAAO,QAAQ,UACf,MAAM,gBAAgB,GAAG;MAExB,IAAI,OAAO,QAAQ,UACpB,MAAM,IAAI,QAAQ,QAAQ,KAAK,OAAO,EAAE;CAE5C,QAAQ,YAAY,IAAI;CACxB,QAAQ,QAAQ,QAAQ,OAAO,OAAO;CACtC,OAAO,GAAG,IAAI,IAAI;AACtB"}
@@ -0,0 +1,39 @@
1
+ import { inspectList } from "./helpers.js";
2
+ //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js
3
+ function inspectAttribute([key, value], options) {
4
+ options.truncate -= 3;
5
+ if (!value) return `${options.stylize(String(key), "yellow")}`;
6
+ return `${options.stylize(String(key), "yellow")}=${options.stylize(`"${value}"`, "string")}`;
7
+ }
8
+ function inspectNodeCollection(collection, options) {
9
+ return inspectList(collection, options, inspectNode, "\n");
10
+ }
11
+ function inspectNode(node, options) {
12
+ switch (node.nodeType) {
13
+ case 1: return inspectHTML(node, options);
14
+ case 3: return options.inspect(node.data, options);
15
+ default: return options.inspect(node, options);
16
+ }
17
+ }
18
+ function inspectHTML(element, options) {
19
+ const properties = element.getAttributeNames();
20
+ const name = element.tagName.toLowerCase();
21
+ const head = options.stylize(`<${name}`, "special");
22
+ const headClose = options.stylize(`>`, "special");
23
+ const tail = options.stylize(`</${name}>`, "special");
24
+ options.truncate -= name.length * 2 + 5;
25
+ let propertyContents = "";
26
+ if (properties.length > 0) {
27
+ propertyContents += " ";
28
+ propertyContents += inspectList(properties.map((key) => [key, element.getAttribute(key)]), options, inspectAttribute, " ");
29
+ }
30
+ options.truncate -= propertyContents.length;
31
+ const truncate = options.truncate;
32
+ let children = inspectNodeCollection(element.children, options);
33
+ if (children && children.length > truncate) children = `…(${element.children.length})`;
34
+ return `${head}${propertyContents}${headClose}${children}${tail}`;
35
+ }
36
+ //#endregion
37
+ export { inspectHTML as default, inspectNodeCollection };
38
+
39
+ //# sourceMappingURL=html.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"html.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js"],"sourcesContent":["import { inspectList, truncator } from './helpers.js';\nexport function inspectAttribute([key, value], options) {\n options.truncate -= 3;\n if (!value) {\n return `${options.stylize(String(key), 'yellow')}`;\n }\n return `${options.stylize(String(key), 'yellow')}=${options.stylize(`\"${value}\"`, 'string')}`;\n}\nexport function inspectNodeCollection(collection, options) {\n return inspectList(collection, options, inspectNode, '\\n');\n}\nexport function inspectNode(node, options) {\n switch (node.nodeType) {\n case 1:\n return inspectHTML(node, options);\n case 3:\n return options.inspect(node.data, options);\n default:\n return options.inspect(node, options);\n }\n}\n// @ts-ignore (Deno doesn't have Element)\nexport default function inspectHTML(element, options) {\n const properties = element.getAttributeNames();\n const name = element.tagName.toLowerCase();\n const head = options.stylize(`<${name}`, 'special');\n const headClose = options.stylize(`>`, 'special');\n const tail = options.stylize(`</${name}>`, 'special');\n options.truncate -= name.length * 2 + 5;\n let propertyContents = '';\n if (properties.length > 0) {\n propertyContents += ' ';\n propertyContents += inspectList(properties.map((key) => [key, element.getAttribute(key)]), options, inspectAttribute, ' ');\n }\n options.truncate -= propertyContents.length;\n const truncate = options.truncate;\n let children = inspectNodeCollection(element.children, options);\n if (children && children.length > truncate) {\n children = `${truncator}(${element.children.length})`;\n }\n return `${head}${propertyContents}${headClose}${children}${tail}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vD,OAAO,GAAG,OAAO,mBAAmB,YAAY,WAAW;AAC/D"}
@@ -0,0 +1,99 @@
1
+ import { normaliseOptions } from "./helpers.js";
2
+ import inspectArray from "./array.js";
3
+ import inspectTypedArray from "./typedarray.js";
4
+ import inspectDate from "./date.js";
5
+ import inspectFunction from "./function.js";
6
+ import inspectMap from "./map.js";
7
+ import inspectNumber from "./number.js";
8
+ import inspectBigInt from "./bigint.js";
9
+ import inspectRegExp from "./regexp.js";
10
+ import inspectSet from "./set.js";
11
+ import inspectString from "./string.js";
12
+ import inspectSymbol from "./symbol.js";
13
+ import getPromiseValue from "./promise.js";
14
+ import inspectObject from "./object.js";
15
+ import inspectClass from "./class.js";
16
+ import inspectArguments from "./arguments.js";
17
+ import inspectObject$1 from "./error.js";
18
+ import inspectHTML, { inspectNodeCollection } from "./html.js";
19
+ //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js
20
+ const chaiInspect = typeof Symbol === "function" && typeof Symbol.for === "function" ? Symbol.for("chai/inspect") : "@@chai/inspect";
21
+ const nodeInspect = Symbol.for("nodejs.util.inspect.custom");
22
+ const constructorMap = /* @__PURE__ */ new WeakMap();
23
+ const stringTagMap = {};
24
+ const baseTypesMap = {
25
+ undefined: (value, options) => options.stylize("undefined", "undefined"),
26
+ null: (value, options) => options.stylize("null", "null"),
27
+ boolean: (value, options) => options.stylize(String(value), "boolean"),
28
+ Boolean: (value, options) => options.stylize(String(value), "boolean"),
29
+ number: inspectNumber,
30
+ Number: inspectNumber,
31
+ bigint: inspectBigInt,
32
+ BigInt: inspectBigInt,
33
+ string: inspectString,
34
+ String: inspectString,
35
+ function: inspectFunction,
36
+ Function: inspectFunction,
37
+ symbol: inspectSymbol,
38
+ Symbol: inspectSymbol,
39
+ Array: inspectArray,
40
+ Date: inspectDate,
41
+ Map: inspectMap,
42
+ Set: inspectSet,
43
+ RegExp: inspectRegExp,
44
+ Promise: getPromiseValue,
45
+ WeakSet: (value, options) => options.stylize("WeakSet{…}", "special"),
46
+ WeakMap: (value, options) => options.stylize("WeakMap{…}", "special"),
47
+ Arguments: inspectArguments,
48
+ Int8Array: inspectTypedArray,
49
+ Uint8Array: inspectTypedArray,
50
+ Uint8ClampedArray: inspectTypedArray,
51
+ Int16Array: inspectTypedArray,
52
+ Uint16Array: inspectTypedArray,
53
+ Int32Array: inspectTypedArray,
54
+ Uint32Array: inspectTypedArray,
55
+ Float32Array: inspectTypedArray,
56
+ Float64Array: inspectTypedArray,
57
+ Generator: () => "",
58
+ DataView: () => "",
59
+ ArrayBuffer: () => "",
60
+ Error: inspectObject$1,
61
+ HTMLCollection: inspectNodeCollection,
62
+ NodeList: inspectNodeCollection
63
+ };
64
+ const inspectCustom = (value, options, type, inspectFn) => {
65
+ if (chaiInspect in value && typeof value[chaiInspect] === "function") return value[chaiInspect](options);
66
+ if (nodeInspect in value && typeof value[nodeInspect] === "function") return value[nodeInspect](options.depth, options, inspectFn);
67
+ if ("inspect" in value && typeof value.inspect === "function") return value.inspect(options.depth, options);
68
+ if ("constructor" in value && constructorMap.has(value.constructor)) return constructorMap.get(value.constructor)(value, options);
69
+ if (stringTagMap[type]) return stringTagMap[type](value, options);
70
+ return "";
71
+ };
72
+ const toString = Object.prototype.toString;
73
+ function inspect(value, opts = {}) {
74
+ const options = normaliseOptions(opts, inspect);
75
+ const { customInspect } = options;
76
+ let type = value === null ? "null" : typeof value;
77
+ if (type === "object") type = toString.call(value).slice(8, -1);
78
+ if (type in baseTypesMap) return baseTypesMap[type](value, options);
79
+ if (customInspect && value) {
80
+ const output = inspectCustom(value, options, type, inspect);
81
+ if (output) {
82
+ if (typeof output === "string") return output;
83
+ return inspect(output, options);
84
+ }
85
+ }
86
+ const proto = value ? Object.getPrototypeOf(value) : false;
87
+ if (proto === Object.prototype || proto === null) return inspectObject(value, options);
88
+ if (value && typeof HTMLElement === "function" && value instanceof HTMLElement) return inspectHTML(value, options);
89
+ if ("constructor" in value) {
90
+ if (value.constructor !== Object) return inspectClass(value, options);
91
+ return inspectObject(value, options);
92
+ }
93
+ if (value === Object(value)) return inspectObject(value, options);
94
+ return options.stylize(String(value), type);
95
+ }
96
+ //#endregion
97
+ export { inspect as default };
98
+
99
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["inspectPromise","inspectError","inspectHTMLElement"],"sources":["../../../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js"],"sourcesContent":["/* !\n * loupe\n * Copyright(c) 2013 Jake Luer <jake@alogicalparadox.com>\n * MIT Licensed\n */\nimport inspectArray from './array.js';\nimport inspectTypedArray from './typedarray.js';\nimport inspectDate from './date.js';\nimport inspectFunction from './function.js';\nimport inspectMap from './map.js';\nimport inspectNumber from './number.js';\nimport inspectBigInt from './bigint.js';\nimport inspectRegExp from './regexp.js';\nimport inspectSet from './set.js';\nimport inspectString from './string.js';\nimport inspectSymbol from './symbol.js';\nimport inspectPromise from './promise.js';\nimport inspectClass from './class.js';\nimport inspectObject from './object.js';\nimport inspectArguments from './arguments.js';\nimport inspectError from './error.js';\nimport inspectHTMLElement, { inspectNodeCollection } from './html.js';\nimport { normaliseOptions } from './helpers.js';\nconst symbolsSupported = typeof Symbol === 'function' && typeof Symbol.for === 'function';\nconst chaiInspect = symbolsSupported ? Symbol.for('chai/inspect') : '@@chai/inspect';\nconst nodeInspect = Symbol.for('nodejs.util.inspect.custom');\nconst constructorMap = new WeakMap();\nconst stringTagMap = {};\nconst baseTypesMap = {\n undefined: (value, options) => options.stylize('undefined', 'undefined'),\n null: (value, options) => options.stylize('null', 'null'),\n boolean: (value, options) => options.stylize(String(value), 'boolean'),\n Boolean: (value, options) => options.stylize(String(value), 'boolean'),\n number: inspectNumber,\n Number: inspectNumber,\n bigint: inspectBigInt,\n BigInt: inspectBigInt,\n string: inspectString,\n String: inspectString,\n function: inspectFunction,\n Function: inspectFunction,\n symbol: inspectSymbol,\n // A Symbol polyfill will return `Symbol` not `symbol` from typedetect\n Symbol: inspectSymbol,\n Array: inspectArray,\n Date: inspectDate,\n Map: inspectMap,\n Set: inspectSet,\n RegExp: inspectRegExp,\n Promise: inspectPromise,\n // WeakSet, WeakMap are totally opaque to us\n WeakSet: (value, options) => options.stylize('WeakSet{…}', 'special'),\n WeakMap: (value, options) => options.stylize('WeakMap{…}', 'special'),\n Arguments: inspectArguments,\n Int8Array: inspectTypedArray,\n Uint8Array: inspectTypedArray,\n Uint8ClampedArray: inspectTypedArray,\n Int16Array: inspectTypedArray,\n Uint16Array: inspectTypedArray,\n Int32Array: inspectTypedArray,\n Uint32Array: inspectTypedArray,\n Float32Array: inspectTypedArray,\n Float64Array: inspectTypedArray,\n Generator: () => '',\n DataView: () => '',\n ArrayBuffer: () => '',\n Error: inspectError,\n HTMLCollection: inspectNodeCollection,\n NodeList: inspectNodeCollection,\n};\n// eslint-disable-next-line complexity\nconst inspectCustom = (value, options, type, inspectFn) => {\n if (chaiInspect in value && typeof value[chaiInspect] === 'function') {\n return value[chaiInspect](options);\n }\n if (nodeInspect in value && typeof value[nodeInspect] === 'function') {\n return value[nodeInspect](options.depth, options, inspectFn);\n }\n if ('inspect' in value && typeof value.inspect === 'function') {\n return value.inspect(options.depth, options);\n }\n if ('constructor' in value && constructorMap.has(value.constructor)) {\n return constructorMap.get(value.constructor)(value, options);\n }\n if (stringTagMap[type]) {\n return stringTagMap[type](value, options);\n }\n return '';\n};\nconst toString = Object.prototype.toString;\n// eslint-disable-next-line complexity\nexport function inspect(value, opts = {}) {\n const options = normaliseOptions(opts, inspect);\n const { customInspect } = options;\n let type = value === null ? 'null' : typeof value;\n if (type === 'object') {\n type = toString.call(value).slice(8, -1);\n }\n // If it is a base value that we already support, then use Loupe's inspector\n if (type in baseTypesMap) {\n return baseTypesMap[type](value, options);\n }\n // If `options.customInspect` is set to true then try to use the custom inspector\n if (customInspect && value) {\n const output = inspectCustom(value, options, type, inspect);\n if (output) {\n if (typeof output === 'string')\n return output;\n return inspect(output, options);\n }\n }\n const proto = value ? Object.getPrototypeOf(value) : false;\n // If it's a plain Object then use Loupe's inspector\n if (proto === Object.prototype || proto === null) {\n return inspectObject(value, options);\n }\n // Specifically account for HTMLElements\n // @ts-ignore\n if (value && typeof HTMLElement === 'function' && value instanceof HTMLElement) {\n return inspectHTMLElement(value, options);\n }\n if ('constructor' in value) {\n // If it is a class, inspect it like an object but add the constructor name\n if (value.constructor !== Object) {\n return inspectClass(value, options);\n }\n // If it is an object with an anonymous prototype, display it as an object.\n return inspectObject(value, options);\n }\n // last chance to check if it's an object\n if (value === Object(value)) {\n return inspectObject(value, options);\n }\n // We have run out of options! Just stringify the value\n return options.stylize(String(value), type);\n}\nexport function registerConstructor(constructor, inspector) {\n if (constructorMap.has(constructor)) {\n return false;\n }\n constructorMap.set(constructor, inspector);\n return true;\n}\nexport function registerStringTag(stringTag, inspector) {\n if (stringTag in stringTagMap) {\n return false;\n }\n stringTagMap[stringTag] = inspector;\n return true;\n}\nexport const custom = chaiInspect;\nexport default inspect;\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;AAwBA,MAAM,cADmB,OAAO,WAAW,cAAc,OAAO,OAAO,QAAQ,aACxC,OAAO,IAAI,cAAc,IAAI;AACpE,MAAM,cAAc,OAAO,IAAI,4BAA4B;AAC3D,MAAM,iCAAiB,IAAI,QAAQ;AACnC,MAAM,eAAe,CAAC;AACtB,MAAM,eAAe;CACjB,YAAY,OAAO,YAAY,QAAQ,QAAQ,aAAa,WAAW;CACvE,OAAO,OAAO,YAAY,QAAQ,QAAQ,QAAQ,MAAM;CACxD,UAAU,OAAO,YAAY,QAAQ,QAAQ,OAAO,KAAK,GAAG,SAAS;CACrE,UAAU,OAAO,YAAY,QAAQ,QAAQ,OAAO,KAAK,GAAG,SAAS;CACrE,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,QAAQ;CACR,UAAU;CACV,UAAU;CACV,QAAQ;CAER,QAAQ;CACR,OAAO;CACP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,OAAO,SAAS,MAAM,OAAO;EAC1D,IAAI,QAAQ;GACR,IAAI,OAAO,WAAW,UAClB,OAAO;GACX,OAAO,QAAQ,QAAQ,OAAO;EAClC;CACJ;CACA,MAAM,QAAQ,QAAQ,OAAO,eAAe,KAAK,IAAI;CAErD,IAAI,UAAU,OAAO,aAAa,UAAU,MACxC,OAAO,cAAc,OAAO,OAAO;CAIvC,IAAI,SAAS,OAAO,gBAAgB,cAAc,iBAAiB,aAC/D,OAAOC,YAAmB,OAAO,OAAO;CAE5C,IAAI,iBAAiB,OAAO;EAExB,IAAI,MAAM,gBAAgB,QACtB,OAAO,aAAa,OAAO,OAAO;EAGtC,OAAO,cAAc,OAAO,OAAO;CACvC;CAEA,IAAI,UAAU,OAAO,KAAK,GACtB,OAAO,cAAc,OAAO,OAAO;CAGvC,OAAO,QAAQ,QAAQ,OAAO,KAAK,GAAG,IAAI;AAC9C"}
@@ -0,0 +1,25 @@
1
+ import { inspectList } from "./helpers.js";
2
+ //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.js
3
+ function inspectMapEntry([key, value], options) {
4
+ options.truncate -= 4;
5
+ key = options.inspect(key, options);
6
+ options.truncate -= key.length;
7
+ value = options.inspect(value, options);
8
+ return `${key} => ${value}`;
9
+ }
10
+ function mapToEntries(map) {
11
+ const entries = [];
12
+ map.forEach((value, key) => {
13
+ entries.push([key, value]);
14
+ });
15
+ return entries;
16
+ }
17
+ function inspectMap(map, options) {
18
+ if (map.size === 0) return "Map{}";
19
+ options.truncate -= 7;
20
+ return `Map{ ${inspectList(mapToEntries(map), options, inspectMapEntry)} }`;
21
+ }
22
+ //#endregion
23
+ export { inspectMap as default };
24
+
25
+ //# sourceMappingURL=map.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.js"],"sourcesContent":["import { inspectList } from './helpers.js';\nfunction inspectMapEntry([key, value], options) {\n options.truncate -= 4;\n key = options.inspect(key, options);\n options.truncate -= key.length;\n value = options.inspect(value, options);\n return `${key} => ${value}`;\n}\n// IE11 doesn't support `map.entries()`\nfunction mapToEntries(map) {\n const entries = [];\n map.forEach((value, key) => {\n entries.push([key, value]);\n });\n return entries;\n}\nexport default function inspectMap(map, options) {\n if (map.size === 0)\n return 'Map{}';\n options.truncate -= 7;\n return `Map{ ${inspectList(mapToEntries(map), options, inspectMapEntry)} }`;\n}\n"],"x_google_ignoreList":[0],"mappings":";;AACA,SAAS,gBAAgB,CAAC,KAAK,QAAQ,SAAS;CAC5C,QAAQ,YAAY;CACpB,MAAM,QAAQ,QAAQ,KAAK,OAAO;CAClC,QAAQ,YAAY,IAAI;CACxB,QAAQ,QAAQ,QAAQ,OAAO,OAAO;CACtC,OAAO,GAAG,IAAI,MAAM;AACxB;AAEA,SAAS,aAAa,KAAK;CACvB,MAAM,UAAU,CAAC;CACjB,IAAI,SAAS,OAAO,QAAQ;EACxB,QAAQ,KAAK,CAAC,KAAK,KAAK,CAAC;CAC7B,CAAC;CACD,OAAO;AACX;AACA,SAAwB,WAAW,KAAK,SAAS;CAC7C,IAAI,IAAI,SAAS,GACb,OAAO;CACX,QAAQ,YAAY;CACpB,OAAO,QAAQ,YAAY,aAAa,GAAG,GAAG,SAAS,eAAe,EAAE;AAC5E"}
@@ -0,0 +1,14 @@
1
+ import { truncate } from "./helpers.js";
2
+ //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.js
3
+ const isNaN = Number.isNaN || ((i) => i !== i);
4
+ function inspectNumber(number, options) {
5
+ if (isNaN(number)) return options.stylize("NaN", "number");
6
+ if (number === Infinity) return options.stylize("Infinity", "number");
7
+ if (number === -Infinity) return options.stylize("-Infinity", "number");
8
+ if (number === 0) return options.stylize(1 / number === Infinity ? "+0" : "-0", "number");
9
+ return options.stylize(truncate(String(number), options.truncate), "number");
10
+ }
11
+ //#endregion
12
+ export { inspectNumber as default };
13
+
14
+ //# sourceMappingURL=number.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"number.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.js"],"sourcesContent":["import { truncate } from './helpers.js';\nconst isNaN = Number.isNaN || (i => i !== i); // eslint-disable-line no-self-compare\nexport default function inspectNumber(number, options) {\n if (isNaN(number)) {\n return options.stylize('NaN', 'number');\n }\n if (number === Infinity) {\n return options.stylize('Infinity', 'number');\n }\n if (number === -Infinity) {\n return options.stylize('-Infinity', 'number');\n }\n if (number === 0) {\n return options.stylize(1 / number === Infinity ? '+0' : '-0', 'number');\n }\n return options.stylize(truncate(String(number), options.truncate), 'number');\n}\n"],"x_google_ignoreList":[0],"mappings":";;AACA,MAAM,QAAQ,OAAO,WAAU,MAAK,MAAM;AAC1C,SAAwB,cAAc,QAAQ,SAAS;CACnD,IAAI,MAAM,MAAM,GACZ,OAAO,QAAQ,QAAQ,OAAO,QAAQ;CAE1C,IAAI,WAAW,UACX,OAAO,QAAQ,QAAQ,YAAY,QAAQ;CAE/C,IAAI,WAAW,WACX,OAAO,QAAQ,QAAQ,aAAa,QAAQ;CAEhD,IAAI,WAAW,GACX,OAAO,QAAQ,QAAQ,IAAI,WAAW,WAAW,OAAO,MAAM,QAAQ;CAE1E,OAAO,QAAQ,QAAQ,SAAS,OAAO,MAAM,GAAG,QAAQ,QAAQ,GAAG,QAAQ;AAC/E"}
@@ -0,0 +1,21 @@
1
+ import { inspectList, inspectProperty } from "./helpers.js";
2
+ //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.js
3
+ function inspectObject(object, options) {
4
+ const properties = Object.getOwnPropertyNames(object);
5
+ const symbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(object) : [];
6
+ if (properties.length === 0 && symbols.length === 0) return "{}";
7
+ options.truncate -= 4;
8
+ options.seen = options.seen || [];
9
+ if (options.seen.includes(object)) return "[Circular]";
10
+ options.seen.push(object);
11
+ const propertyContents = inspectList(properties.map((key) => [key, object[key]]), options, inspectProperty);
12
+ const symbolContents = inspectList(symbols.map((key) => [key, object[key]]), options, inspectProperty);
13
+ options.seen.pop();
14
+ let sep = "";
15
+ if (propertyContents && symbolContents) sep = ", ";
16
+ return `{ ${propertyContents}${sep}${symbolContents} }`;
17
+ }
18
+ //#endregion
19
+ export { inspectObject as default };
20
+
21
+ //# sourceMappingURL=object.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"object.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.js"],"sourcesContent":["import { inspectList, inspectProperty } from './helpers.js';\nexport default function inspectObject(object, options) {\n const properties = Object.getOwnPropertyNames(object);\n const symbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(object) : [];\n if (properties.length === 0 && symbols.length === 0) {\n return '{}';\n }\n options.truncate -= 4;\n options.seen = options.seen || [];\n if (options.seen.includes(object)) {\n return '[Circular]';\n }\n options.seen.push(object);\n const propertyContents = inspectList(properties.map(key => [key, object[key]]), options, inspectProperty);\n const symbolContents = inspectList(symbols.map(key => [key, object[key]]), options, inspectProperty);\n options.seen.pop();\n let sep = '';\n if (propertyContents && symbolContents) {\n sep = ', ';\n }\n return `{ ${propertyContents}${sep}${symbolContents} }`;\n}\n"],"x_google_ignoreList":[0],"mappings":";;AACA,SAAwB,cAAc,QAAQ,SAAS;CACnD,MAAM,aAAa,OAAO,oBAAoB,MAAM;CACpD,MAAM,UAAU,OAAO,wBAAwB,OAAO,sBAAsB,MAAM,IAAI,CAAC;CACvF,IAAI,WAAW,WAAW,KAAK,QAAQ,WAAW,GAC9C,OAAO;CAEX,QAAQ,YAAY;CACpB,QAAQ,OAAO,QAAQ,QAAQ,CAAC;CAChC,IAAI,QAAQ,KAAK,SAAS,MAAM,GAC5B,OAAO;CAEX,QAAQ,KAAK,KAAK,MAAM;CACxB,MAAM,mBAAmB,YAAY,WAAW,KAAI,QAAO,CAAC,KAAK,OAAO,IAAI,CAAC,GAAG,SAAS,eAAe;CACxG,MAAM,iBAAiB,YAAY,QAAQ,KAAI,QAAO,CAAC,KAAK,OAAO,IAAI,CAAC,GAAG,SAAS,eAAe;CACnG,QAAQ,KAAK,IAAI;CACjB,IAAI,MAAM;CACV,IAAI,oBAAoB,gBACpB,MAAM;CAEV,OAAO,KAAK,mBAAmB,MAAM,eAAe;AACxD"}
@@ -0,0 +1,6 @@
1
+ //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js
2
+ const getPromiseValue = () => "Promise{…}";
3
+ //#endregion
4
+ export { getPromiseValue as default };
5
+
6
+ //# sourceMappingURL=promise.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promise.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js"],"sourcesContent":["const getPromiseValue = () => 'Promise{…}';\nexport default getPromiseValue;\n"],"x_google_ignoreList":[0],"mappings":";AAAA,MAAM,wBAAwB"}
@@ -0,0 +1,12 @@
1
+ import { truncate } from "./helpers.js";
2
+ //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.js
3
+ function inspectRegExp(value, options) {
4
+ const flags = value.toString().split("/")[2];
5
+ const sourceLength = options.truncate - (2 + flags.length);
6
+ const source = value.source;
7
+ return options.stylize(`/${truncate(source, sourceLength)}/${flags}`, "regexp");
8
+ }
9
+ //#endregion
10
+ export { inspectRegExp as default };
11
+
12
+ //# sourceMappingURL=regexp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"regexp.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.js"],"sourcesContent":["import { truncate } from './helpers.js';\nexport default function inspectRegExp(value, options) {\n const flags = value.toString().split('/')[2];\n const sourceLength = options.truncate - (2 + flags.length);\n const source = value.source;\n return options.stylize(`/${truncate(source, sourceLength)}/${flags}`, 'regexp');\n}\n"],"x_google_ignoreList":[0],"mappings":";;AACA,SAAwB,cAAc,OAAO,SAAS;CAClD,MAAM,QAAQ,MAAM,SAAS,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;CAC1C,MAAM,eAAe,QAAQ,YAAY,IAAI,MAAM;CACnD,MAAM,SAAS,MAAM;CACrB,OAAO,QAAQ,QAAQ,IAAI,SAAS,QAAQ,YAAY,EAAE,GAAG,SAAS,QAAQ;AAClF"}
@@ -0,0 +1,18 @@
1
+ import { inspectList } from "./helpers.js";
2
+ //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.js
3
+ function arrayFromSet(set) {
4
+ const values = [];
5
+ set.forEach((value) => {
6
+ values.push(value);
7
+ });
8
+ return values;
9
+ }
10
+ function inspectSet(set, options) {
11
+ if (set.size === 0) return "Set{}";
12
+ options.truncate -= 7;
13
+ return `Set{ ${inspectList(arrayFromSet(set), options)} }`;
14
+ }
15
+ //#endregion
16
+ export { inspectSet as default };
17
+
18
+ //# sourceMappingURL=set.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.js"],"sourcesContent":["import { inspectList } from './helpers.js';\n// IE11 doesn't support `Array.from(set)`\nfunction arrayFromSet(set) {\n const values = [];\n set.forEach(value => {\n values.push(value);\n });\n return values;\n}\nexport default function inspectSet(set, options) {\n if (set.size === 0)\n return 'Set{}';\n options.truncate -= 7;\n return `Set{ ${inspectList(arrayFromSet(set), options)} }`;\n}\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,SAAS,aAAa,KAAK;CACvB,MAAM,SAAS,CAAC;CAChB,IAAI,SAAQ,UAAS;EACjB,OAAO,KAAK,KAAK;CACrB,CAAC;CACD,OAAO;AACX;AACA,SAAwB,WAAW,KAAK,SAAS;CAC7C,IAAI,IAAI,SAAS,GACb,OAAO;CACX,QAAQ,YAAY;CACpB,OAAO,QAAQ,YAAY,aAAa,GAAG,GAAG,OAAO,EAAE;AAC3D"}
@@ -0,0 +1,24 @@
1
+ import { truncate } from "./helpers.js";
2
+ //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.js
3
+ const stringEscapeChars = /* @__PURE__ */ new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]", "g");
4
+ const escapeCharacters = {
5
+ "\b": "\\b",
6
+ " ": "\\t",
7
+ "\n": "\\n",
8
+ "\f": "\\f",
9
+ "\r": "\\r",
10
+ "'": "\\'",
11
+ "\\": "\\\\"
12
+ };
13
+ const hex = 16;
14
+ function escape(char) {
15
+ return escapeCharacters[char] || `\\u${`0000${char.charCodeAt(0).toString(hex)}`.slice(-4)}`;
16
+ }
17
+ function inspectString(string, options) {
18
+ if (stringEscapeChars.test(string)) string = string.replace(stringEscapeChars, escape);
19
+ return options.stylize(`'${truncate(string, options.truncate - 2)}'`, "string");
20
+ }
21
+ //#endregion
22
+ export { inspectString as default };
23
+
24
+ //# sourceMappingURL=string.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.js"],"sourcesContent":["import { truncate } from './helpers.js';\nconst stringEscapeChars = new RegExp(\"['\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f\\\\u00ad\\\\u0600-\\\\u0604\\\\u070f\\\\u17b4\\\\u17b5\" +\n '\\\\u200c-\\\\u200f\\\\u2028-\\\\u202f\\\\u2060-\\\\u206f\\\\ufeff\\\\ufff0-\\\\uffff]', 'g');\nconst escapeCharacters = {\n '\\b': '\\\\b',\n '\\t': '\\\\t',\n '\\n': '\\\\n',\n '\\f': '\\\\f',\n '\\r': '\\\\r',\n \"'\": \"\\\\'\",\n '\\\\': '\\\\\\\\',\n};\nconst hex = 16;\nconst unicodeLength = 4;\nfunction escape(char) {\n return (escapeCharacters[char] ||\n `\\\\u${`0000${char.charCodeAt(0).toString(hex)}`.slice(-unicodeLength)}`);\n}\nexport default function inspectString(string, options) {\n if (stringEscapeChars.test(string)) {\n string = string.replace(stringEscapeChars, escape);\n }\n return options.stylize(`'${truncate(string, options.truncate - 2)}'`, 'string');\n}\n"],"x_google_ignoreList":[0],"mappings":";;AACA,MAAM,oCAAoB,IAAI,OAAO,mJACuC,GAAG;AAC/E,MAAM,mBAAmB;CACrB,MAAM;CACN,KAAM;CACN,MAAM;CACN,MAAM;CACN,MAAM;CACN,KAAK;CACL,MAAM;AACV;AACA,MAAM,MAAM;AAEZ,SAAS,OAAO,MAAM;CAClB,OAAQ,iBAAiB,SACrB,MAAM,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,SAAS,GAAG,IAAI,MAAM,EAAc;AAC5E;AACA,SAAwB,cAAc,QAAQ,SAAS;CACnD,IAAI,kBAAkB,KAAK,MAAM,GAC7B,SAAS,OAAO,QAAQ,mBAAmB,MAAM;CAErD,OAAO,QAAQ,QAAQ,IAAI,SAAS,QAAQ,QAAQ,WAAW,CAAC,EAAE,IAAI,QAAQ;AAClF"}
@@ -0,0 +1,9 @@
1
+ //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.js
2
+ function inspectSymbol(value) {
3
+ if ("description" in Symbol.prototype) return value.description ? `Symbol(${value.description})` : "Symbol()";
4
+ return value.toString();
5
+ }
6
+ //#endregion
7
+ export { inspectSymbol as default };
8
+
9
+ //# sourceMappingURL=symbol.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"symbol.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.js"],"sourcesContent":["export default function inspectSymbol(value) {\n if ('description' in Symbol.prototype) {\n return value.description ? `Symbol(${value.description})` : 'Symbol()';\n }\n return value.toString();\n}\n"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAwB,cAAc,OAAO;CACzC,IAAI,iBAAiB,OAAO,WACxB,OAAO,MAAM,cAAc,UAAU,MAAM,YAAY,KAAK;CAEhE,OAAO,MAAM,SAAS;AAC1B"}
@@ -0,0 +1,30 @@
1
+ import { inspectList, inspectProperty, truncate } from "./helpers.js";
2
+ //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.js
3
+ const getArrayName = (array) => {
4
+ if (typeof Buffer === "function" && array instanceof Buffer) return "Buffer";
5
+ if (array[Symbol.toStringTag]) return array[Symbol.toStringTag];
6
+ return array.constructor.name;
7
+ };
8
+ function inspectTypedArray(array, options) {
9
+ const name = getArrayName(array);
10
+ options.truncate -= name.length + 4;
11
+ const nonIndexProperties = Object.keys(array).slice(array.length);
12
+ if (!array.length && !nonIndexProperties.length) return `${name}[]`;
13
+ let output = "";
14
+ for (let i = 0; i < array.length; i++) {
15
+ const string = `${options.stylize(truncate(array[i], options.truncate), "number")}${i === array.length - 1 ? "" : ", "}`;
16
+ options.truncate -= string.length;
17
+ if (array[i] !== array.length && options.truncate <= 3) {
18
+ output += `…(${array.length - array[i] + 1})`;
19
+ break;
20
+ }
21
+ output += string;
22
+ }
23
+ let propertyContents = "";
24
+ if (nonIndexProperties.length) propertyContents = inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty);
25
+ return `${name}[ ${output}${propertyContents ? `, ${propertyContents}` : ""} ]`;
26
+ }
27
+ //#endregion
28
+ export { inspectTypedArray as default };
29
+
30
+ //# sourceMappingURL=typedarray.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typedarray.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.js"],"sourcesContent":["import { inspectList, inspectProperty, truncate, truncator } from './helpers.js';\nconst getArrayName = (array) => {\n // We need to special case Node.js' Buffers, which report to be Uint8Array\n // @ts-ignore\n if (typeof Buffer === 'function' && array instanceof Buffer) {\n return 'Buffer';\n }\n if (array[Symbol.toStringTag]) {\n return array[Symbol.toStringTag];\n }\n return array.constructor.name;\n};\nexport default function inspectTypedArray(array, options) {\n const name = getArrayName(array);\n options.truncate -= name.length + 4;\n // Object.keys will always output the Array indices first, so we can slice by\n // `array.length` to get non-index properties\n const nonIndexProperties = Object.keys(array).slice(array.length);\n if (!array.length && !nonIndexProperties.length)\n return `${name}[]`;\n // As we know TypedArrays only contain Unsigned Integers, we can skip inspecting each one and simply\n // stylise the toString() value of them\n let output = '';\n for (let i = 0; i < array.length; i++) {\n const string = `${options.stylize(truncate(array[i], options.truncate), 'number')}${i === array.length - 1 ? '' : ', '}`;\n options.truncate -= string.length;\n if (array[i] !== array.length && options.truncate <= 3) {\n output += `${truncator}(${array.length - array[i] + 1})`;\n break;\n }\n output += string;\n }\n let propertyContents = '';\n if (nonIndexProperties.length) {\n propertyContents = inspectList(nonIndexProperties.map(key => [key, array[key]]), options, inspectProperty);\n }\n return `${name}[ ${output}${propertyContents ? `, ${propertyContents}` : ''} ]`;\n}\n"],"x_google_ignoreList":[0],"mappings":";;AACA,MAAM,gBAAgB,UAAU;CAG5B,IAAI,OAAO,WAAW,cAAc,iBAAiB,QACjD,OAAO;CAEX,IAAI,MAAM,OAAO,cACb,OAAO,MAAM,OAAO;CAExB,OAAO,MAAM,YAAY;AAC7B;AACA,SAAwB,kBAAkB,OAAO,SAAS;CACtD,MAAM,OAAO,aAAa,KAAK;CAC/B,QAAQ,YAAY,KAAK,SAAS;CAGlC,MAAM,qBAAqB,OAAO,KAAK,KAAK,CAAC,CAAC,MAAM,MAAM,MAAM;CAChE,IAAI,CAAC,MAAM,UAAU,CAAC,mBAAmB,QACrC,OAAO,GAAG,KAAK;CAGnB,IAAI,SAAS;CACb,KAAK,IAAI,IAAI,GAAG,IAAI,MAAM,QAAQ,KAAK;EACnC,MAAM,SAAS,GAAG,QAAQ,QAAQ,SAAS,MAAM,IAAI,QAAQ,QAAQ,GAAG,QAAQ,IAAI,MAAM,MAAM,SAAS,IAAI,KAAK;EAClH,QAAQ,YAAY,OAAO;EAC3B,IAAI,MAAM,OAAO,MAAM,UAAU,QAAQ,YAAY,GAAG;GACpD,UAAU,KAAgB,MAAM,SAAS,MAAM,KAAK,EAAE;GACtD;EACJ;EACA,UAAU;CACd;CACA,IAAI,mBAAmB;CACvB,IAAI,mBAAmB,QACnB,mBAAmB,YAAY,mBAAmB,KAAI,QAAO,CAAC,KAAK,MAAM,IAAI,CAAC,GAAG,SAAS,eAAe;CAE7G,OAAO,GAAG,KAAK,IAAI,SAAS,mBAAmB,KAAK,qBAAqB,GAAG;AAChF"}
@@ -0,0 +1,82 @@
1
+ //#region ../../node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js
2
+ var h = Object.entries({
3
+ reset: [0, 0],
4
+ bold: [
5
+ 1,
6
+ 22,
7
+ "\x1B[22m\x1B[1m"
8
+ ],
9
+ dim: [
10
+ 2,
11
+ 22,
12
+ "\x1B[22m\x1B[2m"
13
+ ],
14
+ italic: [3, 23],
15
+ underline: [4, 24],
16
+ inverse: [7, 27],
17
+ hidden: [8, 28],
18
+ strikethrough: [9, 29],
19
+ black: [30, 39],
20
+ red: [31, 39],
21
+ green: [32, 39],
22
+ yellow: [33, 39],
23
+ blue: [34, 39],
24
+ magenta: [35, 39],
25
+ cyan: [36, 39],
26
+ white: [37, 39],
27
+ gray: [90, 39],
28
+ bgBlack: [40, 49],
29
+ bgRed: [41, 49],
30
+ bgGreen: [42, 49],
31
+ bgYellow: [43, 49],
32
+ bgBlue: [44, 49],
33
+ bgMagenta: [45, 49],
34
+ bgCyan: [46, 49],
35
+ bgWhite: [47, 49],
36
+ blackBright: [90, 39],
37
+ redBright: [91, 39],
38
+ greenBright: [92, 39],
39
+ yellowBright: [93, 39],
40
+ blueBright: [94, 39],
41
+ magentaBright: [95, 39],
42
+ cyanBright: [96, 39],
43
+ whiteBright: [97, 39],
44
+ bgBlackBright: [100, 49],
45
+ bgRedBright: [101, 49],
46
+ bgGreenBright: [102, 49],
47
+ bgYellowBright: [103, 49],
48
+ bgBlueBright: [104, 49],
49
+ bgMagentaBright: [105, 49],
50
+ bgCyanBright: [106, 49],
51
+ bgWhiteBright: [107, 49]
52
+ });
53
+ function a(n) {
54
+ return String(n);
55
+ }
56
+ a.open = "";
57
+ a.close = "";
58
+ function C(n = !1) {
59
+ let e = typeof process != "undefined" ? process : void 0, i = (e == null ? void 0 : e.env) || {}, g = (e == null ? void 0 : e.argv) || [];
60
+ return !("NO_COLOR" in i || g.includes("--no-color")) && ("FORCE_COLOR" in i || g.includes("--color") || (e == null ? void 0 : e.platform) === "win32" || n && i.TERM !== "dumb" || "CI" in i) || typeof window != "undefined" && !!window.chrome;
61
+ }
62
+ function p(n = !1) {
63
+ let e = C(n), i = (r, t, c, o) => {
64
+ let l = "", s = 0;
65
+ do
66
+ l += r.substring(s, o) + c, s = o + t.length, o = r.indexOf(t, s);
67
+ while (~o);
68
+ return l + r.substring(s);
69
+ }, g = (r, t, c = r) => {
70
+ let o = (l) => {
71
+ let s = String(l), b = s.indexOf(t, r.length);
72
+ return ~b ? r + i(s, t, c, b) + t : r + s + t;
73
+ };
74
+ return o.open = r, o.close = t, o;
75
+ }, u = { isColorSupported: e }, d = (r) => `\x1B[${r}m`;
76
+ for (let [r, t] of h) u[r] = e ? g(d(t[0]), d(t[1]), t[2]) : a;
77
+ return u;
78
+ }
79
+ //#endregion
80
+ export { p };
81
+
82
+ //# sourceMappingURL=chunk-BVHSVHOK.js.map