@copilotkit/aimock 1.14.5 → 1.14.7

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 (135) hide show
  1. package/CHANGELOG.md +384 -0
  2. package/README.md +35 -14
  3. package/dist/_virtual/_rolldown/runtime.cjs +0 -2
  4. package/dist/cli.cjs +68 -24
  5. package/dist/cli.cjs.map +1 -1
  6. package/dist/cli.js +68 -24
  7. package/dist/cli.js.map +1 -1
  8. package/dist/config-loader.d.ts.map +1 -1
  9. package/dist/fixtures-remote.cjs +225 -0
  10. package/dist/fixtures-remote.cjs.map +1 -0
  11. package/dist/fixtures-remote.js +224 -0
  12. package/dist/fixtures-remote.js.map +1 -0
  13. package/dist/vitest.cjs +4 -4
  14. package/dist/vitest.cjs.map +1 -1
  15. package/dist/vitest.js +1 -1
  16. package/package.json +31 -12
  17. package/dist/_virtual/_rolldown/runtime.js +0 -29
  18. package/dist/node_modules/.pnpm/@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.cjs +0 -934
  19. package/dist/node_modules/.pnpm/@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.cjs.map +0 -1
  20. package/dist/node_modules/.pnpm/@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js +0 -934
  21. package/dist/node_modules/.pnpm/@vitest_pretty-format@3.2.4/node_modules/@vitest/pretty-format/dist/index.js.map +0 -1
  22. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/chunk-hooks.cjs +0 -1051
  23. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/chunk-hooks.cjs.map +0 -1
  24. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/chunk-hooks.js +0 -1042
  25. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/chunk-hooks.js.map +0 -1
  26. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/index.cjs +0 -1
  27. package/dist/node_modules/.pnpm/@vitest_runner@3.2.4/node_modules/@vitest/runner/dist/index.js +0 -3
  28. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.cjs +0 -96
  29. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.cjs.map +0 -1
  30. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js +0 -93
  31. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js.map +0 -1
  32. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/helpers.cjs +0 -49
  33. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/helpers.cjs.map +0 -1
  34. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/helpers.js +0 -43
  35. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/helpers.js.map +0 -1
  36. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/index.cjs +0 -456
  37. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/index.cjs.map +0 -1
  38. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/index.js +0 -456
  39. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/index.js.map +0 -1
  40. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/source-map.cjs +0 -170
  41. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/source-map.cjs.map +0 -1
  42. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/source-map.js +0 -169
  43. package/dist/node_modules/.pnpm/@vitest_utils@3.2.4/node_modules/@vitest/utils/dist/source-map.js.map +0 -1
  44. package/dist/node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.cjs +0 -388
  45. package/dist/node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.cjs.map +0 -1
  46. package/dist/node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js +0 -385
  47. package/dist/node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js.map +0 -1
  48. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.cjs +0 -12
  49. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.cjs.map +0 -1
  50. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js +0 -12
  51. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js.map +0 -1
  52. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.cjs +0 -17
  53. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.cjs.map +0 -1
  54. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js +0 -17
  55. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js.map +0 -1
  56. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.cjs +0 -12
  57. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.cjs.map +0 -1
  58. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js +0 -12
  59. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js.map +0 -1
  60. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.cjs +0 -16
  61. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.cjs.map +0 -1
  62. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js +0 -16
  63. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js.map +0 -1
  64. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.cjs +0 -14
  65. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.cjs.map +0 -1
  66. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js +0 -14
  67. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js.map +0 -1
  68. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.cjs +0 -35
  69. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.cjs.map +0 -1
  70. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.js +0 -35
  71. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.js.map +0 -1
  72. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.cjs +0 -13
  73. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.cjs.map +0 -1
  74. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.js +0 -13
  75. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.js.map +0 -1
  76. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.cjs +0 -128
  77. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.cjs.map +0 -1
  78. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.js +0 -123
  79. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.js.map +0 -1
  80. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.cjs +0 -41
  81. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.cjs.map +0 -1
  82. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js +0 -40
  83. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js.map +0 -1
  84. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.cjs +0 -100
  85. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.cjs.map +0 -1
  86. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js +0 -100
  87. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js.map +0 -1
  88. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.cjs +0 -26
  89. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.cjs.map +0 -1
  90. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.js +0 -26
  91. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.js.map +0 -1
  92. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.cjs +0 -15
  93. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.cjs.map +0 -1
  94. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.js +0 -15
  95. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.js.map +0 -1
  96. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.cjs +0 -22
  97. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.cjs.map +0 -1
  98. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.js +0 -22
  99. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.js.map +0 -1
  100. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.cjs +0 -7
  101. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.cjs.map +0 -1
  102. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js +0 -6
  103. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js.map +0 -1
  104. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.cjs +0 -13
  105. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.cjs.map +0 -1
  106. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.js +0 -13
  107. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.js.map +0 -1
  108. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.cjs +0 -19
  109. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.cjs.map +0 -1
  110. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.js +0 -19
  111. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.js.map +0 -1
  112. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.cjs +0 -26
  113. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.cjs.map +0 -1
  114. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.js +0 -26
  115. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.js.map +0 -1
  116. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.cjs +0 -10
  117. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.cjs.map +0 -1
  118. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.js +0 -9
  119. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.js.map +0 -1
  120. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.cjs +0 -31
  121. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.cjs.map +0 -1
  122. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.js +0 -31
  123. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.js.map +0 -1
  124. package/dist/node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.cjs +0 -52
  125. package/dist/node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.cjs.map +0 -1
  126. package/dist/node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.js +0 -52
  127. package/dist/node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.js.map +0 -1
  128. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.cjs +0 -83
  129. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.cjs.map +0 -1
  130. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js +0 -82
  131. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js.map +0 -1
  132. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.cjs +0 -10
  133. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.cjs.map +0 -1
  134. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js +0 -10
  135. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js.map +0 -1
@@ -1,385 +0,0 @@
1
- import { __commonJSMin } from "../../../../../_virtual/_rolldown/runtime.js";
2
-
3
- //#region node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js
4
- var require_js_tokens = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5
- var HashbangComment, Identifier, JSXIdentifier, JSXPunctuator, JSXString, JSXText, KeywordsWithExpressionAfter, KeywordsWithNoLineTerminatorAfter, LineTerminatorSequence, MultiLineComment, Newline, NumericLiteral, Punctuator, RegularExpressionLiteral = /\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]?|[^\/[\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/uy, SingleLineComment, StringLiteral, Template, TokensNotPrecedingObjectLiteral, TokensPrecedingExpression, WhiteSpace;
6
- Punctuator = /--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;
7
- Identifier = /(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/uy;
8
- StringLiteral = /(['"])(?:[^'"\\\n\r]+|(?!\1)['"]|\\(?:\r\n|[^]))*(\1)?/y;
9
- NumericLiteral = /(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;
10
- Template = /[`}](?:[^`\\$]+|\\[^]|\$(?!\{))*(`|\$\{)?/y;
11
- WhiteSpace = /[\t\v\f\ufeff\p{Zs}]+/uy;
12
- LineTerminatorSequence = /\r?\n|[\r\u2028\u2029]/y;
13
- MultiLineComment = /\/\*(?:[^*]+|\*(?!\/))*(\*\/)?/y;
14
- SingleLineComment = /\/\/.*/y;
15
- HashbangComment = /^#!.*/;
16
- JSXPunctuator = /[<>.:={}]|\/(?![\/*])/y;
17
- JSXIdentifier = /[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/uy;
18
- JSXString = /(['"])(?:[^'"]+|(?!\1)['"])*(\1)?/y;
19
- JSXText = /[^<>{}]+/y;
20
- TokensPrecedingExpression = /^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;
21
- TokensNotPrecedingObjectLiteral = /^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;
22
- KeywordsWithExpressionAfter = /^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;
23
- KeywordsWithNoLineTerminatorAfter = /^(?:return|throw|yield)$/;
24
- Newline = RegExp(LineTerminatorSequence.source);
25
- module.exports = function* (input, { jsx = false } = {}) {
26
- var braces, firstCodePoint, isExpression, lastIndex, lastSignificantToken, length, match, mode, nextLastIndex, nextLastSignificantToken, parenNesting, postfixIncDec, punctuator, stack;
27
- ({length} = input);
28
- lastIndex = 0;
29
- lastSignificantToken = "";
30
- stack = [{ tag: "JS" }];
31
- braces = [];
32
- parenNesting = 0;
33
- postfixIncDec = false;
34
- if (match = HashbangComment.exec(input)) {
35
- yield {
36
- type: "HashbangComment",
37
- value: match[0]
38
- };
39
- lastIndex = match[0].length;
40
- }
41
- while (lastIndex < length) {
42
- mode = stack[stack.length - 1];
43
- switch (mode.tag) {
44
- case "JS":
45
- case "JSNonExpressionParen":
46
- case "InterpolationInTemplate":
47
- case "InterpolationInJSX":
48
- if (input[lastIndex] === "/" && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken))) {
49
- RegularExpressionLiteral.lastIndex = lastIndex;
50
- if (match = RegularExpressionLiteral.exec(input)) {
51
- lastIndex = RegularExpressionLiteral.lastIndex;
52
- lastSignificantToken = match[0];
53
- postfixIncDec = true;
54
- yield {
55
- type: "RegularExpressionLiteral",
56
- value: match[0],
57
- closed: match[1] !== void 0 && match[1] !== "\\"
58
- };
59
- continue;
60
- }
61
- }
62
- Punctuator.lastIndex = lastIndex;
63
- if (match = Punctuator.exec(input)) {
64
- punctuator = match[0];
65
- nextLastIndex = Punctuator.lastIndex;
66
- nextLastSignificantToken = punctuator;
67
- switch (punctuator) {
68
- case "(":
69
- if (lastSignificantToken === "?NonExpressionParenKeyword") stack.push({
70
- tag: "JSNonExpressionParen",
71
- nesting: parenNesting
72
- });
73
- parenNesting++;
74
- postfixIncDec = false;
75
- break;
76
- case ")":
77
- parenNesting--;
78
- postfixIncDec = true;
79
- if (mode.tag === "JSNonExpressionParen" && parenNesting === mode.nesting) {
80
- stack.pop();
81
- nextLastSignificantToken = "?NonExpressionParenEnd";
82
- postfixIncDec = false;
83
- }
84
- break;
85
- case "{":
86
- Punctuator.lastIndex = 0;
87
- isExpression = !TokensNotPrecedingObjectLiteral.test(lastSignificantToken) && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken));
88
- braces.push(isExpression);
89
- postfixIncDec = false;
90
- break;
91
- case "}":
92
- switch (mode.tag) {
93
- case "InterpolationInTemplate":
94
- if (braces.length === mode.nesting) {
95
- Template.lastIndex = lastIndex;
96
- match = Template.exec(input);
97
- lastIndex = Template.lastIndex;
98
- lastSignificantToken = match[0];
99
- if (match[1] === "${") {
100
- lastSignificantToken = "?InterpolationInTemplate";
101
- postfixIncDec = false;
102
- yield {
103
- type: "TemplateMiddle",
104
- value: match[0]
105
- };
106
- } else {
107
- stack.pop();
108
- postfixIncDec = true;
109
- yield {
110
- type: "TemplateTail",
111
- value: match[0],
112
- closed: match[1] === "`"
113
- };
114
- }
115
- continue;
116
- }
117
- break;
118
- case "InterpolationInJSX": if (braces.length === mode.nesting) {
119
- stack.pop();
120
- lastIndex += 1;
121
- lastSignificantToken = "}";
122
- yield {
123
- type: "JSXPunctuator",
124
- value: "}"
125
- };
126
- continue;
127
- }
128
- }
129
- postfixIncDec = braces.pop();
130
- nextLastSignificantToken = postfixIncDec ? "?ExpressionBraceEnd" : "}";
131
- break;
132
- case "]":
133
- postfixIncDec = true;
134
- break;
135
- case "++":
136
- case "--":
137
- nextLastSignificantToken = postfixIncDec ? "?PostfixIncDec" : "?UnaryIncDec";
138
- break;
139
- case "<":
140
- if (jsx && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken))) {
141
- stack.push({ tag: "JSXTag" });
142
- lastIndex += 1;
143
- lastSignificantToken = "<";
144
- yield {
145
- type: "JSXPunctuator",
146
- value: punctuator
147
- };
148
- continue;
149
- }
150
- postfixIncDec = false;
151
- break;
152
- default: postfixIncDec = false;
153
- }
154
- lastIndex = nextLastIndex;
155
- lastSignificantToken = nextLastSignificantToken;
156
- yield {
157
- type: "Punctuator",
158
- value: punctuator
159
- };
160
- continue;
161
- }
162
- Identifier.lastIndex = lastIndex;
163
- if (match = Identifier.exec(input)) {
164
- lastIndex = Identifier.lastIndex;
165
- nextLastSignificantToken = match[0];
166
- switch (match[0]) {
167
- case "for":
168
- case "if":
169
- case "while":
170
- case "with": if (lastSignificantToken !== "." && lastSignificantToken !== "?.") nextLastSignificantToken = "?NonExpressionParenKeyword";
171
- }
172
- lastSignificantToken = nextLastSignificantToken;
173
- postfixIncDec = !KeywordsWithExpressionAfter.test(match[0]);
174
- yield {
175
- type: match[1] === "#" ? "PrivateIdentifier" : "IdentifierName",
176
- value: match[0]
177
- };
178
- continue;
179
- }
180
- StringLiteral.lastIndex = lastIndex;
181
- if (match = StringLiteral.exec(input)) {
182
- lastIndex = StringLiteral.lastIndex;
183
- lastSignificantToken = match[0];
184
- postfixIncDec = true;
185
- yield {
186
- type: "StringLiteral",
187
- value: match[0],
188
- closed: match[2] !== void 0
189
- };
190
- continue;
191
- }
192
- NumericLiteral.lastIndex = lastIndex;
193
- if (match = NumericLiteral.exec(input)) {
194
- lastIndex = NumericLiteral.lastIndex;
195
- lastSignificantToken = match[0];
196
- postfixIncDec = true;
197
- yield {
198
- type: "NumericLiteral",
199
- value: match[0]
200
- };
201
- continue;
202
- }
203
- Template.lastIndex = lastIndex;
204
- if (match = Template.exec(input)) {
205
- lastIndex = Template.lastIndex;
206
- lastSignificantToken = match[0];
207
- if (match[1] === "${") {
208
- lastSignificantToken = "?InterpolationInTemplate";
209
- stack.push({
210
- tag: "InterpolationInTemplate",
211
- nesting: braces.length
212
- });
213
- postfixIncDec = false;
214
- yield {
215
- type: "TemplateHead",
216
- value: match[0]
217
- };
218
- } else {
219
- postfixIncDec = true;
220
- yield {
221
- type: "NoSubstitutionTemplate",
222
- value: match[0],
223
- closed: match[1] === "`"
224
- };
225
- }
226
- continue;
227
- }
228
- break;
229
- case "JSXTag":
230
- case "JSXTagEnd":
231
- JSXPunctuator.lastIndex = lastIndex;
232
- if (match = JSXPunctuator.exec(input)) {
233
- lastIndex = JSXPunctuator.lastIndex;
234
- nextLastSignificantToken = match[0];
235
- switch (match[0]) {
236
- case "<":
237
- stack.push({ tag: "JSXTag" });
238
- break;
239
- case ">":
240
- stack.pop();
241
- if (lastSignificantToken === "/" || mode.tag === "JSXTagEnd") {
242
- nextLastSignificantToken = "?JSX";
243
- postfixIncDec = true;
244
- } else stack.push({ tag: "JSXChildren" });
245
- break;
246
- case "{":
247
- stack.push({
248
- tag: "InterpolationInJSX",
249
- nesting: braces.length
250
- });
251
- nextLastSignificantToken = "?InterpolationInJSX";
252
- postfixIncDec = false;
253
- break;
254
- case "/": if (lastSignificantToken === "<") {
255
- stack.pop();
256
- if (stack[stack.length - 1].tag === "JSXChildren") stack.pop();
257
- stack.push({ tag: "JSXTagEnd" });
258
- }
259
- }
260
- lastSignificantToken = nextLastSignificantToken;
261
- yield {
262
- type: "JSXPunctuator",
263
- value: match[0]
264
- };
265
- continue;
266
- }
267
- JSXIdentifier.lastIndex = lastIndex;
268
- if (match = JSXIdentifier.exec(input)) {
269
- lastIndex = JSXIdentifier.lastIndex;
270
- lastSignificantToken = match[0];
271
- yield {
272
- type: "JSXIdentifier",
273
- value: match[0]
274
- };
275
- continue;
276
- }
277
- JSXString.lastIndex = lastIndex;
278
- if (match = JSXString.exec(input)) {
279
- lastIndex = JSXString.lastIndex;
280
- lastSignificantToken = match[0];
281
- yield {
282
- type: "JSXString",
283
- value: match[0],
284
- closed: match[2] !== void 0
285
- };
286
- continue;
287
- }
288
- break;
289
- case "JSXChildren":
290
- JSXText.lastIndex = lastIndex;
291
- if (match = JSXText.exec(input)) {
292
- lastIndex = JSXText.lastIndex;
293
- lastSignificantToken = match[0];
294
- yield {
295
- type: "JSXText",
296
- value: match[0]
297
- };
298
- continue;
299
- }
300
- switch (input[lastIndex]) {
301
- case "<":
302
- stack.push({ tag: "JSXTag" });
303
- lastIndex++;
304
- lastSignificantToken = "<";
305
- yield {
306
- type: "JSXPunctuator",
307
- value: "<"
308
- };
309
- continue;
310
- case "{":
311
- stack.push({
312
- tag: "InterpolationInJSX",
313
- nesting: braces.length
314
- });
315
- lastIndex++;
316
- lastSignificantToken = "?InterpolationInJSX";
317
- postfixIncDec = false;
318
- yield {
319
- type: "JSXPunctuator",
320
- value: "{"
321
- };
322
- continue;
323
- }
324
- }
325
- WhiteSpace.lastIndex = lastIndex;
326
- if (match = WhiteSpace.exec(input)) {
327
- lastIndex = WhiteSpace.lastIndex;
328
- yield {
329
- type: "WhiteSpace",
330
- value: match[0]
331
- };
332
- continue;
333
- }
334
- LineTerminatorSequence.lastIndex = lastIndex;
335
- if (match = LineTerminatorSequence.exec(input)) {
336
- lastIndex = LineTerminatorSequence.lastIndex;
337
- postfixIncDec = false;
338
- if (KeywordsWithNoLineTerminatorAfter.test(lastSignificantToken)) lastSignificantToken = "?NoLineTerminatorHere";
339
- yield {
340
- type: "LineTerminatorSequence",
341
- value: match[0]
342
- };
343
- continue;
344
- }
345
- MultiLineComment.lastIndex = lastIndex;
346
- if (match = MultiLineComment.exec(input)) {
347
- lastIndex = MultiLineComment.lastIndex;
348
- if (Newline.test(match[0])) {
349
- postfixIncDec = false;
350
- if (KeywordsWithNoLineTerminatorAfter.test(lastSignificantToken)) lastSignificantToken = "?NoLineTerminatorHere";
351
- }
352
- yield {
353
- type: "MultiLineComment",
354
- value: match[0],
355
- closed: match[1] !== void 0
356
- };
357
- continue;
358
- }
359
- SingleLineComment.lastIndex = lastIndex;
360
- if (match = SingleLineComment.exec(input)) {
361
- lastIndex = SingleLineComment.lastIndex;
362
- postfixIncDec = false;
363
- yield {
364
- type: "SingleLineComment",
365
- value: match[0]
366
- };
367
- continue;
368
- }
369
- firstCodePoint = String.fromCodePoint(input.codePointAt(lastIndex));
370
- lastIndex += firstCodePoint.length;
371
- lastSignificantToken = firstCodePoint;
372
- postfixIncDec = false;
373
- yield {
374
- type: mode.tag.startsWith("JSX") ? "JSXInvalid" : "Invalid",
375
- value: firstCodePoint
376
- };
377
- }
378
- };
379
- }));
380
-
381
- //#endregion
382
- export default require_js_tokens();
383
-
384
- export { require_js_tokens };
385
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../../../node_modules/.pnpm/js-tokens@9.0.1/node_modules/js-tokens/index.js"],"sourcesContent":["// Copyright 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 Simon Lydell\n// License: MIT.\nvar HashbangComment, Identifier, JSXIdentifier, JSXPunctuator, JSXString, JSXText, KeywordsWithExpressionAfter, KeywordsWithNoLineTerminatorAfter, LineTerminatorSequence, MultiLineComment, Newline, NumericLiteral, Punctuator, RegularExpressionLiteral, SingleLineComment, StringLiteral, Template, TokensNotPrecedingObjectLiteral, TokensPrecedingExpression, WhiteSpace, jsTokens;\nRegularExpressionLiteral = /\\/(?![*\\/])(?:\\[(?:[^\\]\\\\\\n\\r\\u2028\\u2029]+|\\\\.)*\\]?|[^\\/[\\\\\\n\\r\\u2028\\u2029]+|\\\\.)*(\\/[$_\\u200C\\u200D\\p{ID_Continue}]*|\\\\)?/yu;\nPunctuator = /--|\\+\\+|=>|\\.{3}|\\??\\.(?!\\d)|(?:&&|\\|\\||\\?\\?|[+\\-%&|^]|\\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\\/(?![\\/*]))=?|[?~,:;[\\](){}]/y;\nIdentifier = /(\\x23?)(?=[$_\\p{ID_Start}\\\\])(?:[$_\\u200C\\u200D\\p{ID_Continue}]+|\\\\u[\\da-fA-F]{4}|\\\\u\\{[\\da-fA-F]+\\})+/yu;\nStringLiteral = /(['\"])(?:[^'\"\\\\\\n\\r]+|(?!\\1)['\"]|\\\\(?:\\r\\n|[^]))*(\\1)?/y;\nNumericLiteral = /(?:0[xX][\\da-fA-F](?:_?[\\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\\d)*n|(?:(?:0(?!\\d)|0\\d*[89]\\d*|[1-9](?:_?\\d)*)(?:\\.(?:\\d(?:_?\\d)*)?)?|\\.\\d(?:_?\\d)*)(?:[eE][+-]?\\d(?:_?\\d)*)?|0[0-7]+/y;\nTemplate = /[`}](?:[^`\\\\$]+|\\\\[^]|\\$(?!\\{))*(`|\\$\\{)?/y;\nWhiteSpace = /[\\t\\v\\f\\ufeff\\p{Zs}]+/yu;\nLineTerminatorSequence = /\\r?\\n|[\\r\\u2028\\u2029]/y;\nMultiLineComment = /\\/\\*(?:[^*]+|\\*(?!\\/))*(\\*\\/)?/y;\nSingleLineComment = /\\/\\/.*/y;\nHashbangComment = /^#!.*/;\nJSXPunctuator = /[<>.:={}]|\\/(?![\\/*])/y;\nJSXIdentifier = /[$_\\p{ID_Start}][$_\\u200C\\u200D\\p{ID_Continue}-]*/yu;\nJSXString = /(['\"])(?:[^'\"]+|(?!\\1)['\"])*(\\1)?/y;\nJSXText = /[^<>{}]+/y;\nTokensPrecedingExpression = /^(?:[\\/+-]|\\.{3}|\\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;\nTokensNotPrecedingObjectLiteral = /^(?:=>|[;\\]){}]|else|\\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;\nKeywordsWithExpressionAfter = /^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;\nKeywordsWithNoLineTerminatorAfter = /^(?:return|throw|yield)$/;\nNewline = RegExp(LineTerminatorSequence.source);\nmodule.exports = jsTokens = function*(input, {jsx = false} = {}) {\n\tvar braces, firstCodePoint, isExpression, lastIndex, lastSignificantToken, length, match, mode, nextLastIndex, nextLastSignificantToken, parenNesting, postfixIncDec, punctuator, stack;\n\t({length} = input);\n\tlastIndex = 0;\n\tlastSignificantToken = \"\";\n\tstack = [\n\t\t{tag: \"JS\"}\n\t];\n\tbraces = [];\n\tparenNesting = 0;\n\tpostfixIncDec = false;\n\tif (match = HashbangComment.exec(input)) {\n\t\tyield ({\n\t\t\ttype: \"HashbangComment\",\n\t\t\tvalue: match[0]\n\t\t});\n\t\tlastIndex = match[0].length;\n\t}\n\twhile (lastIndex < length) {\n\t\tmode = stack[stack.length - 1];\n\t\tswitch (mode.tag) {\n\t\t\tcase \"JS\":\n\t\t\tcase \"JSNonExpressionParen\":\n\t\t\tcase \"InterpolationInTemplate\":\n\t\t\tcase \"InterpolationInJSX\":\n\t\t\t\tif (input[lastIndex] === \"/\" && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken))) {\n\t\t\t\t\tRegularExpressionLiteral.lastIndex = lastIndex;\n\t\t\t\t\tif (match = RegularExpressionLiteral.exec(input)) {\n\t\t\t\t\t\tlastIndex = RegularExpressionLiteral.lastIndex;\n\t\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: \"RegularExpressionLiteral\",\n\t\t\t\t\t\t\tvalue: match[0],\n\t\t\t\t\t\t\tclosed: match[1] !== void 0 && match[1] !== \"\\\\\"\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tPunctuator.lastIndex = lastIndex;\n\t\t\t\tif (match = Punctuator.exec(input)) {\n\t\t\t\t\tpunctuator = match[0];\n\t\t\t\t\tnextLastIndex = Punctuator.lastIndex;\n\t\t\t\t\tnextLastSignificantToken = punctuator;\n\t\t\t\t\tswitch (punctuator) {\n\t\t\t\t\t\tcase \"(\":\n\t\t\t\t\t\t\tif (lastSignificantToken === \"?NonExpressionParenKeyword\") {\n\t\t\t\t\t\t\t\tstack.push({\n\t\t\t\t\t\t\t\t\ttag: \"JSNonExpressionParen\",\n\t\t\t\t\t\t\t\t\tnesting: parenNesting\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tparenNesting++;\n\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \")\":\n\t\t\t\t\t\t\tparenNesting--;\n\t\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\t\tif (mode.tag === \"JSNonExpressionParen\" && parenNesting === mode.nesting) {\n\t\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\t\tnextLastSignificantToken = \"?NonExpressionParenEnd\";\n\t\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"{\":\n\t\t\t\t\t\t\tPunctuator.lastIndex = 0;\n\t\t\t\t\t\t\tisExpression = !TokensNotPrecedingObjectLiteral.test(lastSignificantToken) && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken));\n\t\t\t\t\t\t\tbraces.push(isExpression);\n\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"}\":\n\t\t\t\t\t\t\tswitch (mode.tag) {\n\t\t\t\t\t\t\t\tcase \"InterpolationInTemplate\":\n\t\t\t\t\t\t\t\t\tif (braces.length === mode.nesting) {\n\t\t\t\t\t\t\t\t\t\tTemplate.lastIndex = lastIndex;\n\t\t\t\t\t\t\t\t\t\tmatch = Template.exec(input);\n\t\t\t\t\t\t\t\t\t\tlastIndex = Template.lastIndex;\n\t\t\t\t\t\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\t\t\t\t\t\tif (match[1] === \"${\") {\n\t\t\t\t\t\t\t\t\t\t\tlastSignificantToken = \"?InterpolationInTemplate\";\n\t\t\t\t\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\t\t\t\t\t\ttype: \"TemplateMiddle\",\n\t\t\t\t\t\t\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\t\t\t\t\t\ttype: \"TemplateTail\",\n\t\t\t\t\t\t\t\t\t\t\t\tvalue: match[0],\n\t\t\t\t\t\t\t\t\t\t\t\tclosed: match[1] === \"`\"\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\tcase \"InterpolationInJSX\":\n\t\t\t\t\t\t\t\t\tif (braces.length === mode.nesting) {\n\t\t\t\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\t\t\t\tlastIndex += 1;\n\t\t\t\t\t\t\t\t\t\tlastSignificantToken = \"}\";\n\t\t\t\t\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\t\t\t\t\ttype: \"JSXPunctuator\",\n\t\t\t\t\t\t\t\t\t\t\tvalue: \"}\"\n\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tpostfixIncDec = braces.pop();\n\t\t\t\t\t\t\tnextLastSignificantToken = postfixIncDec ? \"?ExpressionBraceEnd\" : \"}\";\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"]\":\n\t\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"++\":\n\t\t\t\t\t\tcase \"--\":\n\t\t\t\t\t\t\tnextLastSignificantToken = postfixIncDec ? \"?PostfixIncDec\" : \"?UnaryIncDec\";\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"<\":\n\t\t\t\t\t\t\tif (jsx && (TokensPrecedingExpression.test(lastSignificantToken) || KeywordsWithExpressionAfter.test(lastSignificantToken))) {\n\t\t\t\t\t\t\t\tstack.push({tag: \"JSXTag\"});\n\t\t\t\t\t\t\t\tlastIndex += 1;\n\t\t\t\t\t\t\t\tlastSignificantToken = \"<\";\n\t\t\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\t\t\ttype: \"JSXPunctuator\",\n\t\t\t\t\t\t\t\t\tvalue: punctuator\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t}\n\t\t\t\t\tlastIndex = nextLastIndex;\n\t\t\t\t\tlastSignificantToken = nextLastSignificantToken;\n\t\t\t\t\tyield ({\n\t\t\t\t\t\ttype: \"Punctuator\",\n\t\t\t\t\t\tvalue: punctuator\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tIdentifier.lastIndex = lastIndex;\n\t\t\t\tif (match = Identifier.exec(input)) {\n\t\t\t\t\tlastIndex = Identifier.lastIndex;\n\t\t\t\t\tnextLastSignificantToken = match[0];\n\t\t\t\t\tswitch (match[0]) {\n\t\t\t\t\t\tcase \"for\":\n\t\t\t\t\t\tcase \"if\":\n\t\t\t\t\t\tcase \"while\":\n\t\t\t\t\t\tcase \"with\":\n\t\t\t\t\t\t\tif (lastSignificantToken !== \".\" && lastSignificantToken !== \"?.\") {\n\t\t\t\t\t\t\t\tnextLastSignificantToken = \"?NonExpressionParenKeyword\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tlastSignificantToken = nextLastSignificantToken;\n\t\t\t\t\tpostfixIncDec = !KeywordsWithExpressionAfter.test(match[0]);\n\t\t\t\t\tyield ({\n\t\t\t\t\t\ttype: match[1] === \"#\" ? \"PrivateIdentifier\" : \"IdentifierName\",\n\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tStringLiteral.lastIndex = lastIndex;\n\t\t\t\tif (match = StringLiteral.exec(input)) {\n\t\t\t\t\tlastIndex = StringLiteral.lastIndex;\n\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\tyield ({\n\t\t\t\t\t\ttype: \"StringLiteral\",\n\t\t\t\t\t\tvalue: match[0],\n\t\t\t\t\t\tclosed: match[2] !== void 0\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tNumericLiteral.lastIndex = lastIndex;\n\t\t\t\tif (match = NumericLiteral.exec(input)) {\n\t\t\t\t\tlastIndex = NumericLiteral.lastIndex;\n\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\tyield ({\n\t\t\t\t\t\ttype: \"NumericLiteral\",\n\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tTemplate.lastIndex = lastIndex;\n\t\t\t\tif (match = Template.exec(input)) {\n\t\t\t\t\tlastIndex = Template.lastIndex;\n\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\tif (match[1] === \"${\") {\n\t\t\t\t\t\tlastSignificantToken = \"?InterpolationInTemplate\";\n\t\t\t\t\t\tstack.push({\n\t\t\t\t\t\t\ttag: \"InterpolationInTemplate\",\n\t\t\t\t\t\t\tnesting: braces.length\n\t\t\t\t\t\t});\n\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: \"TemplateHead\",\n\t\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: \"NoSubstitutionTemplate\",\n\t\t\t\t\t\t\tvalue: match[0],\n\t\t\t\t\t\t\tclosed: match[1] === \"`\"\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"JSXTag\":\n\t\t\tcase \"JSXTagEnd\":\n\t\t\t\tJSXPunctuator.lastIndex = lastIndex;\n\t\t\t\tif (match = JSXPunctuator.exec(input)) {\n\t\t\t\t\tlastIndex = JSXPunctuator.lastIndex;\n\t\t\t\t\tnextLastSignificantToken = match[0];\n\t\t\t\t\tswitch (match[0]) {\n\t\t\t\t\t\tcase \"<\":\n\t\t\t\t\t\t\tstack.push({tag: \"JSXTag\"});\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \">\":\n\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\tif (lastSignificantToken === \"/\" || mode.tag === \"JSXTagEnd\") {\n\t\t\t\t\t\t\t\tnextLastSignificantToken = \"?JSX\";\n\t\t\t\t\t\t\t\tpostfixIncDec = true;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tstack.push({tag: \"JSXChildren\"});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"{\":\n\t\t\t\t\t\t\tstack.push({\n\t\t\t\t\t\t\t\ttag: \"InterpolationInJSX\",\n\t\t\t\t\t\t\t\tnesting: braces.length\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tnextLastSignificantToken = \"?InterpolationInJSX\";\n\t\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\tif (lastSignificantToken === \"<\") {\n\t\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\t\tif (stack[stack.length - 1].tag === \"JSXChildren\") {\n\t\t\t\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tstack.push({tag: \"JSXTagEnd\"});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tlastSignificantToken = nextLastSignificantToken;\n\t\t\t\t\tyield ({\n\t\t\t\t\t\ttype: \"JSXPunctuator\",\n\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tJSXIdentifier.lastIndex = lastIndex;\n\t\t\t\tif (match = JSXIdentifier.exec(input)) {\n\t\t\t\t\tlastIndex = JSXIdentifier.lastIndex;\n\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\tyield ({\n\t\t\t\t\t\ttype: \"JSXIdentifier\",\n\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tJSXString.lastIndex = lastIndex;\n\t\t\t\tif (match = JSXString.exec(input)) {\n\t\t\t\t\tlastIndex = JSXString.lastIndex;\n\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\tyield ({\n\t\t\t\t\t\ttype: \"JSXString\",\n\t\t\t\t\t\tvalue: match[0],\n\t\t\t\t\t\tclosed: match[2] !== void 0\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase \"JSXChildren\":\n\t\t\t\tJSXText.lastIndex = lastIndex;\n\t\t\t\tif (match = JSXText.exec(input)) {\n\t\t\t\t\tlastIndex = JSXText.lastIndex;\n\t\t\t\t\tlastSignificantToken = match[0];\n\t\t\t\t\tyield ({\n\t\t\t\t\t\ttype: \"JSXText\",\n\t\t\t\t\t\tvalue: match[0]\n\t\t\t\t\t});\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tswitch (input[lastIndex]) {\n\t\t\t\t\tcase \"<\":\n\t\t\t\t\t\tstack.push({tag: \"JSXTag\"});\n\t\t\t\t\t\tlastIndex++;\n\t\t\t\t\t\tlastSignificantToken = \"<\";\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: \"JSXPunctuator\",\n\t\t\t\t\t\t\tvalue: \"<\"\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\tcase \"{\":\n\t\t\t\t\t\tstack.push({\n\t\t\t\t\t\t\ttag: \"InterpolationInJSX\",\n\t\t\t\t\t\t\tnesting: braces.length\n\t\t\t\t\t\t});\n\t\t\t\t\t\tlastIndex++;\n\t\t\t\t\t\tlastSignificantToken = \"?InterpolationInJSX\";\n\t\t\t\t\t\tpostfixIncDec = false;\n\t\t\t\t\t\tyield ({\n\t\t\t\t\t\t\ttype: \"JSXPunctuator\",\n\t\t\t\t\t\t\tvalue: \"{\"\n\t\t\t\t\t\t});\n\t\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t}\n\t\tWhiteSpace.lastIndex = lastIndex;\n\t\tif (match = WhiteSpace.exec(input)) {\n\t\t\tlastIndex = WhiteSpace.lastIndex;\n\t\t\tyield ({\n\t\t\t\ttype: \"WhiteSpace\",\n\t\t\t\tvalue: match[0]\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tLineTerminatorSequence.lastIndex = lastIndex;\n\t\tif (match = LineTerminatorSequence.exec(input)) {\n\t\t\tlastIndex = LineTerminatorSequence.lastIndex;\n\t\t\tpostfixIncDec = false;\n\t\t\tif (KeywordsWithNoLineTerminatorAfter.test(lastSignificantToken)) {\n\t\t\t\tlastSignificantToken = \"?NoLineTerminatorHere\";\n\t\t\t}\n\t\t\tyield ({\n\t\t\t\ttype: \"LineTerminatorSequence\",\n\t\t\t\tvalue: match[0]\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tMultiLineComment.lastIndex = lastIndex;\n\t\tif (match = MultiLineComment.exec(input)) {\n\t\t\tlastIndex = MultiLineComment.lastIndex;\n\t\t\tif (Newline.test(match[0])) {\n\t\t\t\tpostfixIncDec = false;\n\t\t\t\tif (KeywordsWithNoLineTerminatorAfter.test(lastSignificantToken)) {\n\t\t\t\t\tlastSignificantToken = \"?NoLineTerminatorHere\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tyield ({\n\t\t\t\ttype: \"MultiLineComment\",\n\t\t\t\tvalue: match[0],\n\t\t\t\tclosed: match[1] !== void 0\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tSingleLineComment.lastIndex = lastIndex;\n\t\tif (match = SingleLineComment.exec(input)) {\n\t\t\tlastIndex = SingleLineComment.lastIndex;\n\t\t\tpostfixIncDec = false;\n\t\t\tyield ({\n\t\t\t\ttype: \"SingleLineComment\",\n\t\t\t\tvalue: match[0]\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tfirstCodePoint = String.fromCodePoint(input.codePointAt(lastIndex));\n\t\tlastIndex += firstCodePoint.length;\n\t\tlastSignificantToken = firstCodePoint;\n\t\tpostfixIncDec = false;\n\t\tyield ({\n\t\t\ttype: mode.tag.startsWith(\"JSX\") ? \"JSXInvalid\" : \"Invalid\",\n\t\t\tvalue: firstCodePoint\n\t\t});\n\t}\n\treturn void 0;\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;CAEA,IAAI,iBAAiB,YAAY,eAAe,eAAe,WAAW,SAAS,6BAA6B,mCAAmC,wBAAwB,kBAAkB,SAAS,gBAAgB,YAAY,2BACvM,kIADiO,mBAAmB,eAAe,UAAU,iCAAiC,2BAA2B;AAEpW,cAAa;AACb,cAAa;AACb,iBAAgB;AAChB,kBAAiB;AACjB,YAAW;AACX,cAAa;AACb,0BAAyB;AACzB,oBAAmB;AACnB,qBAAoB;AACpB,mBAAkB;AAClB,iBAAgB;AAChB,iBAAgB;AAChB,aAAY;AACZ,WAAU;AACV,6BAA4B;AAC5B,mCAAkC;AAClC,+BAA8B;AAC9B,qCAAoC;AACpC,WAAU,OAAO,uBAAuB,OAAO;AAC/C,QAAO,UAAqB,WAAU,OAAO,EAAC,MAAM,UAAS,EAAE,EAAE;EAChE,IAAI,QAAQ,gBAAgB,cAAc,WAAW,sBAAsB,QAAQ,OAAO,MAAM,eAAe,0BAA0B,cAAc,eAAe,YAAY;AAClL,GAAC,CAAC,UAAU;AACZ,cAAY;AACZ,yBAAuB;AACvB,UAAQ,CACP,EAAC,KAAK,MAAK,CACX;AACD,WAAS,EAAE;AACX,iBAAe;AACf,kBAAgB;AAChB,MAAI,QAAQ,gBAAgB,KAAK,MAAM,EAAE;AACxC,SAAO;IACN,MAAM;IACN,OAAO,MAAM;IACb;AACD,eAAY,MAAM,GAAG;;AAEtB,SAAO,YAAY,QAAQ;AAC1B,UAAO,MAAM,MAAM,SAAS;AAC5B,WAAQ,KAAK,KAAb;IACC,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;AACJ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KAAK,MAAM,GAAG,EAAE;AAC3B,qBAAgB;AAChB,SAAI,kCAAkC,KAAK,qBAAqB,CAC/D,wBAAuB;;AAGzB,UAAO;KACN,MAAM;KACN,OAAO,MAAM;KACb,QAAQ,MAAM,OAAO,KAAK;KAC1B;AACD;;AAED,qBAAkB,YAAY;AAC9B,OAAI,QAAQ,kBAAkB,KAAK,MAAM,EAAE;AAC1C,gBAAY,kBAAkB;AAC9B,oBAAgB;AAChB,UAAO;KACN,MAAM;KACN,OAAO,MAAM;KACb;AACD;;AAED,oBAAiB,OAAO,cAAc,MAAM,YAAY,UAAU,CAAC;AACnE,gBAAa,eAAe;AAC5B,0BAAuB;AACvB,mBAAgB;AAChB,SAAO;IACN,MAAM,KAAK,IAAI,WAAW,MAAM,GAAG,eAAe;IAClD,OAAO;IACP"}
@@ -1,12 +0,0 @@
1
- const require_helpers = require('./helpers.cjs');
2
-
3
- //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js
4
- function inspectArguments(args, options) {
5
- if (args.length === 0) return "Arguments[]";
6
- options.truncate -= 13;
7
- return `Arguments[ ${require_helpers.inspectList(args, options)} ]`;
8
- }
9
-
10
- //#endregion
11
- exports.default = inspectArguments;
12
- //# sourceMappingURL=arguments.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"arguments.cjs","names":["inspectList"],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js"],"sourcesContent":["import { inspectList } from './helpers.js';\nexport default function inspectArguments(args, options) {\n if (args.length === 0)\n return 'Arguments[]';\n options.truncate -= 13;\n return `Arguments[ ${inspectList(args, options)} ]`;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAwB,iBAAiB,MAAM,SAAS;AACpD,KAAI,KAAK,WAAW,EAChB,QAAO;AACX,SAAQ,YAAY;AACpB,QAAO,cAAcA,4BAAY,MAAM,QAAQ,CAAC"}
@@ -1,12 +0,0 @@
1
- import { inspectList } from "./helpers.js";
2
-
3
- //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js
4
- function inspectArguments(args, options) {
5
- if (args.length === 0) return "Arguments[]";
6
- options.truncate -= 13;
7
- return `Arguments[ ${inspectList(args, options)} ]`;
8
- }
9
-
10
- //#endregion
11
- export { inspectArguments as default };
12
- //# sourceMappingURL=arguments.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"arguments.js","names":[],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js"],"sourcesContent":["import { inspectList } from './helpers.js';\nexport default function inspectArguments(args, options) {\n if (args.length === 0)\n return 'Arguments[]';\n options.truncate -= 13;\n return `Arguments[ ${inspectList(args, options)} ]`;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAwB,iBAAiB,MAAM,SAAS;AACpD,KAAI,KAAK,WAAW,EAChB,QAAO;AACX,SAAQ,YAAY;AACpB,QAAO,cAAc,YAAY,MAAM,QAAQ,CAAC"}
@@ -1,17 +0,0 @@
1
- const require_helpers = require('./helpers.cjs');
2
-
3
- //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js
4
- function inspectArray(array, options) {
5
- const nonIndexProperties = Object.keys(array).slice(array.length);
6
- if (!array.length && !nonIndexProperties.length) return "[]";
7
- options.truncate -= 4;
8
- const listContents = require_helpers.inspectList(array, options);
9
- options.truncate -= listContents.length;
10
- let propertyContents = "";
11
- if (nonIndexProperties.length) propertyContents = require_helpers.inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, require_helpers.inspectProperty);
12
- return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]`;
13
- }
14
-
15
- //#endregion
16
- exports.default = inspectArray;
17
- //# sourceMappingURL=array.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"array.cjs","names":["inspectList","inspectProperty"],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js"],"sourcesContent":["import { inspectList, inspectProperty } from './helpers.js';\nexport default function inspectArray(array, options) {\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 '[]';\n options.truncate -= 4;\n const listContents = inspectList(array, options);\n options.truncate -= listContents.length;\n let propertyContents = '';\n if (nonIndexProperties.length) {\n propertyContents = inspectList(nonIndexProperties.map(key => [key, array[key]]), options, inspectProperty);\n }\n return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ''} ]`;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAwB,aAAa,OAAO,SAAS;CAGjD,MAAM,qBAAqB,OAAO,KAAK,MAAM,CAAC,MAAM,MAAM,OAAO;AACjE,KAAI,CAAC,MAAM,UAAU,CAAC,mBAAmB,OACrC,QAAO;AACX,SAAQ,YAAY;CACpB,MAAM,eAAeA,4BAAY,OAAO,QAAQ;AAChD,SAAQ,YAAY,aAAa;CACjC,IAAI,mBAAmB;AACvB,KAAI,mBAAmB,OACnB,oBAAmBA,4BAAY,mBAAmB,KAAI,QAAO,CAAC,KAAK,MAAM,KAAK,CAAC,EAAE,SAASC,gCAAgB;AAE9G,QAAO,KAAK,eAAe,mBAAmB,KAAK,qBAAqB,GAAG"}
@@ -1,17 +0,0 @@
1
- import { inspectList, inspectProperty } from "./helpers.js";
2
-
3
- //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js
4
- function inspectArray(array, options) {
5
- const nonIndexProperties = Object.keys(array).slice(array.length);
6
- if (!array.length && !nonIndexProperties.length) return "[]";
7
- options.truncate -= 4;
8
- const listContents = inspectList(array, options);
9
- options.truncate -= listContents.length;
10
- let propertyContents = "";
11
- if (nonIndexProperties.length) propertyContents = inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty);
12
- return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]`;
13
- }
14
-
15
- //#endregion
16
- export { inspectArray as default };
17
- //# sourceMappingURL=array.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"array.js","names":[],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js"],"sourcesContent":["import { inspectList, inspectProperty } from './helpers.js';\nexport default function inspectArray(array, options) {\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 '[]';\n options.truncate -= 4;\n const listContents = inspectList(array, options);\n options.truncate -= listContents.length;\n let propertyContents = '';\n if (nonIndexProperties.length) {\n propertyContents = inspectList(nonIndexProperties.map(key => [key, array[key]]), options, inspectProperty);\n }\n return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ''} ]`;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAwB,aAAa,OAAO,SAAS;CAGjD,MAAM,qBAAqB,OAAO,KAAK,MAAM,CAAC,MAAM,MAAM,OAAO;AACjE,KAAI,CAAC,MAAM,UAAU,CAAC,mBAAmB,OACrC,QAAO;AACX,SAAQ,YAAY;CACpB,MAAM,eAAe,YAAY,OAAO,QAAQ;AAChD,SAAQ,YAAY,aAAa;CACjC,IAAI,mBAAmB;AACvB,KAAI,mBAAmB,OACnB,oBAAmB,YAAY,mBAAmB,KAAI,QAAO,CAAC,KAAK,MAAM,KAAK,CAAC,EAAE,SAAS,gBAAgB;AAE9G,QAAO,KAAK,eAAe,mBAAmB,KAAK,qBAAqB,GAAG"}
@@ -1,12 +0,0 @@
1
- const require_helpers = require('./helpers.cjs');
2
-
3
- //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js
4
- function inspectBigInt(number, options) {
5
- let nums = require_helpers.truncate(number.toString(), options.truncate - 1);
6
- if (nums !== require_helpers.truncator) nums += "n";
7
- return options.stylize(nums, "bigint");
8
- }
9
-
10
- //#endregion
11
- exports.default = inspectBigInt;
12
- //# sourceMappingURL=bigint.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bigint.cjs","names":["truncate","truncator"],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js"],"sourcesContent":["import { truncate, truncator } from './helpers.js';\nexport default function inspectBigInt(number, options) {\n let nums = truncate(number.toString(), options.truncate - 1);\n if (nums !== truncator)\n nums += 'n';\n return options.stylize(nums, 'bigint');\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAwB,cAAc,QAAQ,SAAS;CACnD,IAAI,OAAOA,yBAAS,OAAO,UAAU,EAAE,QAAQ,WAAW,EAAE;AAC5D,KAAI,SAASC,0BACT,SAAQ;AACZ,QAAO,QAAQ,QAAQ,MAAM,SAAS"}
@@ -1,12 +0,0 @@
1
- import { truncate, truncator } from "./helpers.js";
2
-
3
- //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js
4
- function inspectBigInt(number, options) {
5
- let nums = truncate(number.toString(), options.truncate - 1);
6
- if (nums !== truncator) nums += "n";
7
- return options.stylize(nums, "bigint");
8
- }
9
-
10
- //#endregion
11
- export { inspectBigInt as default };
12
- //# sourceMappingURL=bigint.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bigint.js","names":[],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js"],"sourcesContent":["import { truncate, truncator } from './helpers.js';\nexport default function inspectBigInt(number, options) {\n let nums = truncate(number.toString(), options.truncate - 1);\n if (nums !== truncator)\n nums += 'n';\n return options.stylize(nums, 'bigint');\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAwB,cAAc,QAAQ,SAAS;CACnD,IAAI,OAAO,SAAS,OAAO,UAAU,EAAE,QAAQ,WAAW,EAAE;AAC5D,KAAI,SAAS,UACT,SAAQ;AACZ,QAAO,QAAQ,QAAQ,MAAM,SAAS"}
@@ -1,16 +0,0 @@
1
- const require_object = require('./object.cjs');
2
-
3
- //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js
4
- const toStringTag = typeof Symbol !== "undefined" && Symbol.toStringTag ? Symbol.toStringTag : false;
5
- function inspectClass(value, options) {
6
- let name = "";
7
- if (toStringTag && toStringTag in value) name = value[toStringTag];
8
- name = name || value.constructor.name;
9
- if (!name || name === "_class") name = "<Anonymous Class>";
10
- options.truncate -= name.length;
11
- return `${name}${require_object.default(value, options)}`;
12
- }
13
-
14
- //#endregion
15
- exports.default = inspectClass;
16
- //# sourceMappingURL=class.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"class.cjs","names":["inspectObject"],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js"],"sourcesContent":["import inspectObject from './object.js';\nconst toStringTag = typeof Symbol !== 'undefined' && Symbol.toStringTag ? Symbol.toStringTag : false;\nexport default function inspectClass(value, options) {\n let name = '';\n if (toStringTag && toStringTag in value) {\n name = value[toStringTag];\n }\n name = name || value.constructor.name;\n // Babel transforms anonymous classes to the name `_class`\n if (!name || name === '_class') {\n name = '<Anonymous Class>';\n }\n options.truncate -= name.length;\n return `${name}${inspectObject(value, options)}`;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,MAAM,cAAc,OAAO,WAAW,eAAe,OAAO,cAAc,OAAO,cAAc;AAC/F,SAAwB,aAAa,OAAO,SAAS;CACjD,IAAI,OAAO;AACX,KAAI,eAAe,eAAe,MAC9B,QAAO,MAAM;AAEjB,QAAO,QAAQ,MAAM,YAAY;AAEjC,KAAI,CAAC,QAAQ,SAAS,SAClB,QAAO;AAEX,SAAQ,YAAY,KAAK;AACzB,QAAO,GAAG,OAAOA,uBAAc,OAAO,QAAQ"}
@@ -1,16 +0,0 @@
1
- import inspectObject from "./object.js";
2
-
3
- //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js
4
- const toStringTag = typeof Symbol !== "undefined" && Symbol.toStringTag ? Symbol.toStringTag : false;
5
- function inspectClass(value, options) {
6
- let name = "";
7
- if (toStringTag && toStringTag in value) name = value[toStringTag];
8
- name = name || value.constructor.name;
9
- if (!name || name === "_class") name = "<Anonymous Class>";
10
- options.truncate -= name.length;
11
- return `${name}${inspectObject(value, options)}`;
12
- }
13
-
14
- //#endregion
15
- export { inspectClass as default };
16
- //# sourceMappingURL=class.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"class.js","names":[],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js"],"sourcesContent":["import inspectObject from './object.js';\nconst toStringTag = typeof Symbol !== 'undefined' && Symbol.toStringTag ? Symbol.toStringTag : false;\nexport default function inspectClass(value, options) {\n let name = '';\n if (toStringTag && toStringTag in value) {\n name = value[toStringTag];\n }\n name = name || value.constructor.name;\n // Babel transforms anonymous classes to the name `_class`\n if (!name || name === '_class') {\n name = '<Anonymous Class>';\n }\n options.truncate -= name.length;\n return `${name}${inspectObject(value, options)}`;\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,MAAM,cAAc,OAAO,WAAW,eAAe,OAAO,cAAc,OAAO,cAAc;AAC/F,SAAwB,aAAa,OAAO,SAAS;CACjD,IAAI,OAAO;AACX,KAAI,eAAe,eAAe,MAC9B,QAAO,MAAM;AAEjB,QAAO,QAAQ,MAAM,YAAY;AAEjC,KAAI,CAAC,QAAQ,SAAS,SAClB,QAAO;AAEX,SAAQ,YAAY,KAAK;AACzB,QAAO,GAAG,OAAO,cAAc,OAAO,QAAQ"}
@@ -1,14 +0,0 @@
1
- const require_helpers = require('./helpers.cjs');
2
-
3
- //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js
4
- function inspectDate(dateObject, options) {
5
- const stringRepresentation = dateObject.toJSON();
6
- if (stringRepresentation === null) return "Invalid Date";
7
- const split = stringRepresentation.split("T");
8
- const date = split[0];
9
- return options.stylize(`${date}T${require_helpers.truncate(split[1], options.truncate - date.length - 1)}`, "date");
10
- }
11
-
12
- //#endregion
13
- exports.default = inspectDate;
14
- //# sourceMappingURL=date.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"date.cjs","names":["truncate"],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js"],"sourcesContent":["import { truncate } from './helpers.js';\nexport default function inspectDate(dateObject, options) {\n const stringRepresentation = dateObject.toJSON();\n if (stringRepresentation === null) {\n return 'Invalid Date';\n }\n const split = stringRepresentation.split('T');\n const date = split[0];\n // If we need to - truncate the time portion, but never the date\n return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, 'date');\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAwB,YAAY,YAAY,SAAS;CACrD,MAAM,uBAAuB,WAAW,QAAQ;AAChD,KAAI,yBAAyB,KACzB,QAAO;CAEX,MAAM,QAAQ,qBAAqB,MAAM,IAAI;CAC7C,MAAM,OAAO,MAAM;AAEnB,QAAO,QAAQ,QAAQ,GAAG,KAAK,GAAGA,yBAAS,MAAM,IAAI,QAAQ,WAAW,KAAK,SAAS,EAAE,IAAI,OAAO"}
@@ -1,14 +0,0 @@
1
- import { truncate } from "./helpers.js";
2
-
3
- //#region node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js
4
- function inspectDate(dateObject, options) {
5
- const stringRepresentation = dateObject.toJSON();
6
- if (stringRepresentation === null) return "Invalid Date";
7
- const split = stringRepresentation.split("T");
8
- const date = split[0];
9
- return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, "date");
10
- }
11
-
12
- //#endregion
13
- export { inspectDate as default };
14
- //# sourceMappingURL=date.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"date.js","names":[],"sources":["../../../../../../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js"],"sourcesContent":["import { truncate } from './helpers.js';\nexport default function inspectDate(dateObject, options) {\n const stringRepresentation = dateObject.toJSON();\n if (stringRepresentation === null) {\n return 'Invalid Date';\n }\n const split = stringRepresentation.split('T');\n const date = split[0];\n // If we need to - truncate the time portion, but never the date\n return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, 'date');\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,SAAwB,YAAY,YAAY,SAAS;CACrD,MAAM,uBAAuB,WAAW,QAAQ;AAChD,KAAI,yBAAyB,KACzB,QAAO;CAEX,MAAM,QAAQ,qBAAqB,MAAM,IAAI;CAC7C,MAAM,OAAO,MAAM;AAEnB,QAAO,QAAQ,QAAQ,GAAG,KAAK,GAAG,SAAS,MAAM,IAAI,QAAQ,WAAW,KAAK,SAAS,EAAE,IAAI,OAAO"}