@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,52 +0,0 @@
1
- const require_runtime = require('../../../../../../_virtual/_rolldown/runtime.cjs');
2
- const require_index = require('../../../../js-tokens@9.0.1/node_modules/js-tokens/index.cjs');
3
-
4
- //#region node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.mjs
5
- var import_js_tokens = /* @__PURE__ */ require_runtime.__toESM(require_index.default, 1);
6
- const FILL_COMMENT = " ";
7
- function stripLiteralFromToken(token, fillChar, filter) {
8
- if (token.type === "SingleLineComment") return FILL_COMMENT.repeat(token.value.length);
9
- if (token.type === "MultiLineComment") return token.value.replace(/[^\n]/g, FILL_COMMENT);
10
- if (token.type === "StringLiteral") {
11
- if (!token.closed) return token.value;
12
- const body = token.value.slice(1, -1);
13
- if (filter(body)) return token.value[0] + fillChar.repeat(body.length) + token.value[token.value.length - 1];
14
- }
15
- if (token.type === "NoSubstitutionTemplate") {
16
- const body = token.value.slice(1, -1);
17
- if (filter(body)) return `\`${body.replace(/[^\n]/g, fillChar)}\``;
18
- }
19
- if (token.type === "RegularExpressionLiteral") {
20
- const body = token.value;
21
- if (filter(body)) return body.replace(/\/(.*)\/(\w?)$/g, (_, $1, $2) => `/${fillChar.repeat($1.length)}/${$2}`);
22
- }
23
- if (token.type === "TemplateHead") {
24
- const body = token.value.slice(1, -2);
25
- if (filter(body)) return `\`${body.replace(/[^\n]/g, fillChar)}\${`;
26
- }
27
- if (token.type === "TemplateTail") {
28
- const body = token.value.slice(0, -2);
29
- if (filter(body)) return `}${body.replace(/[^\n]/g, fillChar)}\``;
30
- }
31
- if (token.type === "TemplateMiddle") {
32
- const body = token.value.slice(1, -2);
33
- if (filter(body)) return `}${body.replace(/[^\n]/g, fillChar)}\${`;
34
- }
35
- return token.value;
36
- }
37
- function optionsWithDefaults(options) {
38
- return {
39
- fillChar: options?.fillChar ?? " ",
40
- filter: options?.filter ?? (() => true)
41
- };
42
- }
43
- function stripLiteral(code, options) {
44
- let result = "";
45
- const _options = optionsWithDefaults(options);
46
- for (const token of (0, import_js_tokens.default)(code, { jsx: false })) result += stripLiteralFromToken(token, _options.fillChar, _options.filter);
47
- return result;
48
- }
49
-
50
- //#endregion
51
- exports.stripLiteral = stripLiteral;
52
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs","names":[],"sources":["../../../../../../../node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.mjs"],"sourcesContent":["import jsTokens from 'js-tokens';\n\nconst FILL_COMMENT = \" \";\nfunction stripLiteralFromToken(token, fillChar, filter) {\n if (token.type === \"SingleLineComment\") {\n return FILL_COMMENT.repeat(token.value.length);\n }\n if (token.type === \"MultiLineComment\") {\n return token.value.replace(/[^\\n]/g, FILL_COMMENT);\n }\n if (token.type === \"StringLiteral\") {\n if (!token.closed) {\n return token.value;\n }\n const body = token.value.slice(1, -1);\n if (filter(body)) {\n return token.value[0] + fillChar.repeat(body.length) + token.value[token.value.length - 1];\n }\n }\n if (token.type === \"NoSubstitutionTemplate\") {\n const body = token.value.slice(1, -1);\n if (filter(body)) {\n return `\\`${body.replace(/[^\\n]/g, fillChar)}\\``;\n }\n }\n if (token.type === \"RegularExpressionLiteral\") {\n const body = token.value;\n if (filter(body)) {\n return body.replace(/\\/(.*)\\/(\\w?)$/g, (_, $1, $2) => `/${fillChar.repeat($1.length)}/${$2}`);\n }\n }\n if (token.type === \"TemplateHead\") {\n const body = token.value.slice(1, -2);\n if (filter(body)) {\n return `\\`${body.replace(/[^\\n]/g, fillChar)}\\${`;\n }\n }\n if (token.type === \"TemplateTail\") {\n const body = token.value.slice(0, -2);\n if (filter(body)) {\n return `}${body.replace(/[^\\n]/g, fillChar)}\\``;\n }\n }\n if (token.type === \"TemplateMiddle\") {\n const body = token.value.slice(1, -2);\n if (filter(body)) {\n return `}${body.replace(/[^\\n]/g, fillChar)}\\${`;\n }\n }\n return token.value;\n}\nfunction optionsWithDefaults(options) {\n return {\n fillChar: options?.fillChar ?? \" \",\n filter: options?.filter ?? (() => true)\n };\n}\nfunction stripLiteral(code, options) {\n let result = \"\";\n const _options = optionsWithDefaults(options);\n for (const token of jsTokens(code, { jsx: false })) {\n result += stripLiteralFromToken(token, _options.fillChar, _options.filter);\n }\n return result;\n}\nfunction stripLiteralDetailed(code, options) {\n let result = \"\";\n const tokens = [];\n const _options = optionsWithDefaults(options);\n for (const token of jsTokens(code, { jsx: false })) {\n tokens.push(token);\n result += stripLiteralFromToken(token, _options.fillChar, _options.filter);\n }\n return {\n result,\n tokens\n };\n}\n\nexport { stripLiteral, stripLiteralDetailed, stripLiteralDetailed as stripLiteralJsTokens };\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAEA,MAAM,eAAe;AACrB,SAAS,sBAAsB,OAAO,UAAU,QAAQ;AACtD,KAAI,MAAM,SAAS,oBACjB,QAAO,aAAa,OAAO,MAAM,MAAM,OAAO;AAEhD,KAAI,MAAM,SAAS,mBACjB,QAAO,MAAM,MAAM,QAAQ,UAAU,aAAa;AAEpD,KAAI,MAAM,SAAS,iBAAiB;AAClC,MAAI,CAAC,MAAM,OACT,QAAO,MAAM;EAEf,MAAM,OAAO,MAAM,MAAM,MAAM,GAAG,GAAG;AACrC,MAAI,OAAO,KAAK,CACd,QAAO,MAAM,MAAM,KAAK,SAAS,OAAO,KAAK,OAAO,GAAG,MAAM,MAAM,MAAM,MAAM,SAAS;;AAG5F,KAAI,MAAM,SAAS,0BAA0B;EAC3C,MAAM,OAAO,MAAM,MAAM,MAAM,GAAG,GAAG;AACrC,MAAI,OAAO,KAAK,CACd,QAAO,KAAK,KAAK,QAAQ,UAAU,SAAS,CAAC;;AAGjD,KAAI,MAAM,SAAS,4BAA4B;EAC7C,MAAM,OAAO,MAAM;AACnB,MAAI,OAAO,KAAK,CACd,QAAO,KAAK,QAAQ,oBAAoB,GAAG,IAAI,OAAO,IAAI,SAAS,OAAO,GAAG,OAAO,CAAC,GAAG,KAAK;;AAGjG,KAAI,MAAM,SAAS,gBAAgB;EACjC,MAAM,OAAO,MAAM,MAAM,MAAM,GAAG,GAAG;AACrC,MAAI,OAAO,KAAK,CACd,QAAO,KAAK,KAAK,QAAQ,UAAU,SAAS,CAAC;;AAGjD,KAAI,MAAM,SAAS,gBAAgB;EACjC,MAAM,OAAO,MAAM,MAAM,MAAM,GAAG,GAAG;AACrC,MAAI,OAAO,KAAK,CACd,QAAO,IAAI,KAAK,QAAQ,UAAU,SAAS,CAAC;;AAGhD,KAAI,MAAM,SAAS,kBAAkB;EACnC,MAAM,OAAO,MAAM,MAAM,MAAM,GAAG,GAAG;AACrC,MAAI,OAAO,KAAK,CACd,QAAO,IAAI,KAAK,QAAQ,UAAU,SAAS,CAAC;;AAGhD,QAAO,MAAM;;AAEf,SAAS,oBAAoB,SAAS;AACpC,QAAO;EACL,UAAU,SAAS,YAAY;EAC/B,QAAQ,SAAS,iBAAiB;EACnC;;AAEH,SAAS,aAAa,MAAM,SAAS;CACnC,IAAI,SAAS;CACb,MAAM,WAAW,oBAAoB,QAAQ;AAC7C,MAAK,MAAM,uCAAkB,MAAM,EAAE,KAAK,OAAO,CAAC,CAChD,WAAU,sBAAsB,OAAO,SAAS,UAAU,SAAS,OAAO;AAE5E,QAAO"}
@@ -1,52 +0,0 @@
1
- import { __toESM } from "../../../../../../_virtual/_rolldown/runtime.js";
2
- import { require_js_tokens } from "../../../../js-tokens@9.0.1/node_modules/js-tokens/index.js";
3
-
4
- //#region node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.mjs
5
- var import_js_tokens = /* @__PURE__ */ __toESM(require_js_tokens(), 1);
6
- const FILL_COMMENT = " ";
7
- function stripLiteralFromToken(token, fillChar, filter) {
8
- if (token.type === "SingleLineComment") return FILL_COMMENT.repeat(token.value.length);
9
- if (token.type === "MultiLineComment") return token.value.replace(/[^\n]/g, FILL_COMMENT);
10
- if (token.type === "StringLiteral") {
11
- if (!token.closed) return token.value;
12
- const body = token.value.slice(1, -1);
13
- if (filter(body)) return token.value[0] + fillChar.repeat(body.length) + token.value[token.value.length - 1];
14
- }
15
- if (token.type === "NoSubstitutionTemplate") {
16
- const body = token.value.slice(1, -1);
17
- if (filter(body)) return `\`${body.replace(/[^\n]/g, fillChar)}\``;
18
- }
19
- if (token.type === "RegularExpressionLiteral") {
20
- const body = token.value;
21
- if (filter(body)) return body.replace(/\/(.*)\/(\w?)$/g, (_, $1, $2) => `/${fillChar.repeat($1.length)}/${$2}`);
22
- }
23
- if (token.type === "TemplateHead") {
24
- const body = token.value.slice(1, -2);
25
- if (filter(body)) return `\`${body.replace(/[^\n]/g, fillChar)}\${`;
26
- }
27
- if (token.type === "TemplateTail") {
28
- const body = token.value.slice(0, -2);
29
- if (filter(body)) return `}${body.replace(/[^\n]/g, fillChar)}\``;
30
- }
31
- if (token.type === "TemplateMiddle") {
32
- const body = token.value.slice(1, -2);
33
- if (filter(body)) return `}${body.replace(/[^\n]/g, fillChar)}\${`;
34
- }
35
- return token.value;
36
- }
37
- function optionsWithDefaults(options) {
38
- return {
39
- fillChar: options?.fillChar ?? " ",
40
- filter: options?.filter ?? (() => true)
41
- };
42
- }
43
- function stripLiteral(code, options) {
44
- let result = "";
45
- const _options = optionsWithDefaults(options);
46
- for (const token of (0, import_js_tokens.default)(code, { jsx: false })) result += stripLiteralFromToken(token, _options.fillChar, _options.filter);
47
- return result;
48
- }
49
-
50
- //#endregion
51
- export { stripLiteral };
52
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../../../../../../node_modules/.pnpm/strip-literal@3.1.0/node_modules/strip-literal/dist/index.mjs"],"sourcesContent":["import jsTokens from 'js-tokens';\n\nconst FILL_COMMENT = \" \";\nfunction stripLiteralFromToken(token, fillChar, filter) {\n if (token.type === \"SingleLineComment\") {\n return FILL_COMMENT.repeat(token.value.length);\n }\n if (token.type === \"MultiLineComment\") {\n return token.value.replace(/[^\\n]/g, FILL_COMMENT);\n }\n if (token.type === \"StringLiteral\") {\n if (!token.closed) {\n return token.value;\n }\n const body = token.value.slice(1, -1);\n if (filter(body)) {\n return token.value[0] + fillChar.repeat(body.length) + token.value[token.value.length - 1];\n }\n }\n if (token.type === \"NoSubstitutionTemplate\") {\n const body = token.value.slice(1, -1);\n if (filter(body)) {\n return `\\`${body.replace(/[^\\n]/g, fillChar)}\\``;\n }\n }\n if (token.type === \"RegularExpressionLiteral\") {\n const body = token.value;\n if (filter(body)) {\n return body.replace(/\\/(.*)\\/(\\w?)$/g, (_, $1, $2) => `/${fillChar.repeat($1.length)}/${$2}`);\n }\n }\n if (token.type === \"TemplateHead\") {\n const body = token.value.slice(1, -2);\n if (filter(body)) {\n return `\\`${body.replace(/[^\\n]/g, fillChar)}\\${`;\n }\n }\n if (token.type === \"TemplateTail\") {\n const body = token.value.slice(0, -2);\n if (filter(body)) {\n return `}${body.replace(/[^\\n]/g, fillChar)}\\``;\n }\n }\n if (token.type === \"TemplateMiddle\") {\n const body = token.value.slice(1, -2);\n if (filter(body)) {\n return `}${body.replace(/[^\\n]/g, fillChar)}\\${`;\n }\n }\n return token.value;\n}\nfunction optionsWithDefaults(options) {\n return {\n fillChar: options?.fillChar ?? \" \",\n filter: options?.filter ?? (() => true)\n };\n}\nfunction stripLiteral(code, options) {\n let result = \"\";\n const _options = optionsWithDefaults(options);\n for (const token of jsTokens(code, { jsx: false })) {\n result += stripLiteralFromToken(token, _options.fillChar, _options.filter);\n }\n return result;\n}\nfunction stripLiteralDetailed(code, options) {\n let result = \"\";\n const tokens = [];\n const _options = optionsWithDefaults(options);\n for (const token of jsTokens(code, { jsx: false })) {\n tokens.push(token);\n result += stripLiteralFromToken(token, _options.fillChar, _options.filter);\n }\n return {\n result,\n tokens\n };\n}\n\nexport { stripLiteral, stripLiteralDetailed, stripLiteralDetailed as stripLiteralJsTokens };\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAEA,MAAM,eAAe;AACrB,SAAS,sBAAsB,OAAO,UAAU,QAAQ;AACtD,KAAI,MAAM,SAAS,oBACjB,QAAO,aAAa,OAAO,MAAM,MAAM,OAAO;AAEhD,KAAI,MAAM,S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,SAAS;CACnC,IAAI,SAAS;CACb,MAAM,WAAW,oBAAoB,QAAQ;AAC7C,MAAK,MAAM,uCAAkB,MAAM,EAAE,KAAK,OAAO,CAAC,CAChD,WAAU,sBAAsB,OAAO,SAAS,UAAU,SAAS,OAAO;AAE5E,QAAO"}
@@ -1,83 +0,0 @@
1
-
2
- //#region node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js
3
- var h = Object.entries({
4
- reset: [0, 0],
5
- bold: [
6
- 1,
7
- 22,
8
- "\x1B[22m\x1B[1m"
9
- ],
10
- dim: [
11
- 2,
12
- 22,
13
- "\x1B[22m\x1B[2m"
14
- ],
15
- italic: [3, 23],
16
- underline: [4, 24],
17
- inverse: [7, 27],
18
- hidden: [8, 28],
19
- strikethrough: [9, 29],
20
- black: [30, 39],
21
- red: [31, 39],
22
- green: [32, 39],
23
- yellow: [33, 39],
24
- blue: [34, 39],
25
- magenta: [35, 39],
26
- cyan: [36, 39],
27
- white: [37, 39],
28
- gray: [90, 39],
29
- bgBlack: [40, 49],
30
- bgRed: [41, 49],
31
- bgGreen: [42, 49],
32
- bgYellow: [43, 49],
33
- bgBlue: [44, 49],
34
- bgMagenta: [45, 49],
35
- bgCyan: [46, 49],
36
- bgWhite: [47, 49],
37
- blackBright: [90, 39],
38
- redBright: [91, 39],
39
- greenBright: [92, 39],
40
- yellowBright: [93, 39],
41
- blueBright: [94, 39],
42
- magentaBright: [95, 39],
43
- cyanBright: [96, 39],
44
- whiteBright: [97, 39],
45
- bgBlackBright: [100, 49],
46
- bgRedBright: [101, 49],
47
- bgGreenBright: [102, 49],
48
- bgYellowBright: [103, 49],
49
- bgBlueBright: [104, 49],
50
- bgMagentaBright: [105, 49],
51
- bgCyanBright: [106, 49],
52
- bgWhiteBright: [107, 49]
53
- });
54
- function a(n) {
55
- return String(n);
56
- }
57
- a.open = "";
58
- a.close = "";
59
- function C(n = !1) {
60
- let e = typeof process != "undefined" ? process : void 0, i = (e == null ? void 0 : e.env) || {}, g = (e == null ? void 0 : e.argv) || [];
61
- 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;
62
- }
63
- function p(n = !1) {
64
- let e = C(n), i = (r, t, c, o) => {
65
- let l = "", s = 0;
66
- do
67
- l += r.substring(s, o) + c, s = o + t.length, o = r.indexOf(t, s);
68
- while (~o);
69
- return l + r.substring(s);
70
- }, g = (r, t, c = r) => {
71
- let o = (l) => {
72
- let s = String(l), b = s.indexOf(t, r.length);
73
- return ~b ? r + i(s, t, c, b) + t : r + s + t;
74
- };
75
- return o.open = r, o.close = t, o;
76
- }, u = { isColorSupported: e }, d = (r) => `\x1B[${r}m`;
77
- for (let [r, t] of h) u[r] = e ? g(d(t[0]), d(t[1]), t[2]) : a;
78
- return u;
79
- }
80
-
81
- //#endregion
82
- exports.p = p;
83
- //# sourceMappingURL=chunk-BVHSVHOK.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chunk-BVHSVHOK.cjs","names":[],"sources":["../../../../../../../node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js"],"sourcesContent":["// src/index.ts\nvar f = {\n reset: [0, 0],\n bold: [1, 22, \"\\x1B[22m\\x1B[1m\"],\n dim: [2, 22, \"\\x1B[22m\\x1B[2m\"],\n italic: [3, 23],\n underline: [4, 24],\n inverse: [7, 27],\n hidden: [8, 28],\n strikethrough: [9, 29],\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 gray: [90, 39],\n bgBlack: [40, 49],\n bgRed: [41, 49],\n bgGreen: [42, 49],\n bgYellow: [43, 49],\n bgBlue: [44, 49],\n bgMagenta: [45, 49],\n bgCyan: [46, 49],\n bgWhite: [47, 49],\n blackBright: [90, 39],\n redBright: [91, 39],\n greenBright: [92, 39],\n yellowBright: [93, 39],\n blueBright: [94, 39],\n magentaBright: [95, 39],\n cyanBright: [96, 39],\n whiteBright: [97, 39],\n bgBlackBright: [100, 49],\n bgRedBright: [101, 49],\n bgGreenBright: [102, 49],\n bgYellowBright: [103, 49],\n bgBlueBright: [104, 49],\n bgMagentaBright: [105, 49],\n bgCyanBright: [106, 49],\n bgWhiteBright: [107, 49]\n}, h = Object.entries(f);\nfunction a(n) {\n return String(n);\n}\na.open = \"\";\na.close = \"\";\nvar B = /* @__PURE__ */ h.reduce(\n (n, [e]) => (n[e] = a, n),\n { isColorSupported: !1 }\n);\nfunction m() {\n return { ...B };\n}\nfunction C(n = !1) {\n let e = typeof process != \"undefined\" ? process : void 0, i = (e == null ? void 0 : e.env) || {}, g = (e == null ? void 0 : e.argv) || [];\n 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;\n}\nfunction p(n = !1) {\n let e = C(n), i = (r, t, c, o) => {\n let l = \"\", s = 0;\n do\n l += r.substring(s, o) + c, s = o + t.length, o = r.indexOf(t, s);\n while (~o);\n return l + r.substring(s);\n }, g = (r, t, c = r) => {\n let o = (l) => {\n let s = String(l), b = s.indexOf(t, r.length);\n return ~b ? r + i(s, t, c, b) + t : r + s + t;\n };\n return o.open = r, o.close = t, o;\n }, u = {\n isColorSupported: e\n }, d = (r) => `\\x1B[${r}m`;\n for (let [r, t] of h)\n u[r] = e ? g(\n d(t[0]),\n d(t[1]),\n t[2]\n ) : a;\n return u;\n}\n\nexport {\n m as a,\n C as b,\n p as c\n};\n"],"x_google_ignoreList":[0],"mappings":";;AACA,IA0CG,IAAI,OAAO,QA1CN;CACN,OAAO,CAAC,GAAG,EAAE;CACb,MAAM;EAAC;EA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
@@ -1,82 +0,0 @@
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
-
80
- //#endregion
81
- export { p };
82
- //# sourceMappingURL=chunk-BVHSVHOK.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chunk-BVHSVHOK.js","names":[],"sources":["../../../../../../../node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js"],"sourcesContent":["// src/index.ts\nvar f = {\n reset: [0, 0],\n bold: [1, 22, \"\\x1B[22m\\x1B[1m\"],\n dim: [2, 22, \"\\x1B[22m\\x1B[2m\"],\n italic: [3, 23],\n underline: [4, 24],\n inverse: [7, 27],\n hidden: [8, 28],\n strikethrough: [9, 29],\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 gray: [90, 39],\n bgBlack: [40, 49],\n bgRed: [41, 49],\n bgGreen: [42, 49],\n bgYellow: [43, 49],\n bgBlue: [44, 49],\n bgMagenta: [45, 49],\n bgCyan: [46, 49],\n bgWhite: [47, 49],\n blackBright: [90, 39],\n redBright: [91, 39],\n greenBright: [92, 39],\n yellowBright: [93, 39],\n blueBright: [94, 39],\n magentaBright: [95, 39],\n cyanBright: [96, 39],\n whiteBright: [97, 39],\n bgBlackBright: [100, 49],\n bgRedBright: [101, 49],\n bgGreenBright: [102, 49],\n bgYellowBright: [103, 49],\n bgBlueBright: [104, 49],\n bgMagentaBright: [105, 49],\n bgCyanBright: [106, 49],\n bgWhiteBright: [107, 49]\n}, h = Object.entries(f);\nfunction a(n) {\n return String(n);\n}\na.open = \"\";\na.close = \"\";\nvar B = /* @__PURE__ */ h.reduce(\n (n, [e]) => (n[e] = a, n),\n { isColorSupported: !1 }\n);\nfunction m() {\n return { ...B };\n}\nfunction C(n = !1) {\n let e = typeof process != \"undefined\" ? process : void 0, i = (e == null ? void 0 : e.env) || {}, g = (e == null ? void 0 : e.argv) || [];\n 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;\n}\nfunction p(n = !1) {\n let e = C(n), i = (r, t, c, o) => {\n let l = \"\", s = 0;\n do\n l += r.substring(s, o) + c, s = o + t.length, o = r.indexOf(t, s);\n while (~o);\n return l + r.substring(s);\n }, g = (r, t, c = r) => {\n let o = (l) => {\n let s = String(l), b = s.indexOf(t, r.length);\n return ~b ? r + i(s, t, c, b) + t : r + s + t;\n };\n return o.open = r, o.close = t, o;\n }, u = {\n isColorSupported: e\n }, d = (r) => `\\x1B[${r}m`;\n for (let [r, t] of h)\n u[r] = e ? g(\n d(t[0]),\n d(t[1]),\n t[2]\n ) : a;\n return u;\n}\n\nexport {\n m as a,\n C as b,\n p as c\n};\n"],"x_google_ignoreList":[0],"mappings":";AACA,IA0CG,IAAI,OAAO,QA1CN;CACN,OAAO,CAAC,GAAG,EAAE;CACb,MAAM;EAAC;EAAG;EAAI;EAAkB;CAChC,KAAK;EAAC;EAAG;EAAI;EAAkB;CAC/B,QAAQ,CAAC,GAAG,GAAG;CACf,WAAW,CAAC,GAAG,GAAG;CAClB,SAAS,CAAC,GAAG,GAAG;CAChB,QAAQ,CAAC,GAAG,GAAG;CACf,eAAe,CAAC,G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Q,EAAE,EAAE,KAAK,KAAK,OAAO,KAAK,IAAI,EAAE,SAAS,EAAE;AACzI,QAAO,EAAE,cAAc,KAAK,EAAE,SAAS,aAAa,MAAM,iBAAiB,KAAK,EAAE,SAAS,UAAU,KAAK,KAAK,OAAO,KAAK,IAAI,EAAE,cAAc,WAAW,KAAK,EAAE,SAAS,UAAU,QAAQ,MAAM,OAAO,UAAU,eAAe,CAAC,CAAC,OAAO;;AAE7O,SAAS,EAAE,IAAI,CAAC,GAAG;CACjB,IAAI,IAAI,EAAE,EAAE,EAAE,KAAK,GAAG,GAAG,GAAG,MAAM;EAChC,IAAI,IAAI,IAAI,IAAI;AAChB;AACE,QAAK,EAAE,UAAU,GAAG,EAAE,GAAG,GAAG,IAAI,IAAI,EAAE,QAAQ,IAAI,EAAE,QAAQ,GAAG,EAAE;SAC5D,CAAC;AACR,SAAO,IAAI,EAAE,UAAU,EAAE;IACxB,KAAK,GAAG,GAAG,IAAI,MAAM;EACtB,IAAI,KAAK,MAAM;GACb,IAAI,IAAI,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,GAAG,EAAE,OAAO;AAC7C,UAAO,CAAC,IAAI,IAAI,EAAE,GAAG,GAAG,GAAG,EAAE,GAAG,IAAI,IAAI,IAAI;;AAE9C,SAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,GAAG;IAC/B,IAAI,EACL,kBAAkB,GACnB,EAAE,KAAK,MAAM,QAAQ,EAAE;AACxB,MAAK,IAAI,CAAC,GAAG,MAAM,EACjB,GAAE,KAAK,IAAI,EACT,EAAE,EAAE,GAAG,EACP,EAAE,EAAE,GAAG,EACP,EAAE,GACH,GAAG;AACN,QAAO"}
@@ -1,10 +0,0 @@
1
- const require_runtime = require('../../../../../../_virtual/_rolldown/runtime.cjs');
2
- const require_chunk_BVHSVHOK = require('./chunk-BVHSVHOK.cjs');
3
- let tty = require("tty");
4
-
5
- //#region node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js
6
- var r = process.env.FORCE_TTY !== void 0 || (0, tty.isatty)(1);
7
- var u = require_chunk_BVHSVHOK.p(r);
8
-
9
- //#endregion
10
- //# sourceMappingURL=node.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"node.cjs","names":["o"],"sources":["../../../../../../../node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js"],"sourcesContent":["import {\n a as e,\n b as t,\n c as o\n} from \"./chunk-BVHSVHOK.js\";\n\n// src/node.ts\nimport { isatty as s } from \"tty\";\nvar r = process.env.FORCE_TTY !== void 0 || s(1);\nfunction n() {\n return t(r);\n}\nfunction a() {\n return o(r);\n}\nvar u = o(r);\nexport {\n a as createColors,\n u as default,\n e as getDefaultColors,\n n as isSupported\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAQA,IAAI,IAAI,QAAQ,IAAI,cAAc,KAAK,qBAAO,EAAE;AAOhD,IAAI,IAAIA,yBAAE,EAAE"}
@@ -1,10 +0,0 @@
1
- import { p } from "./chunk-BVHSVHOK.js";
2
- import { isatty } from "tty";
3
-
4
- //#region node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js
5
- var r = process.env.FORCE_TTY !== void 0 || isatty(1);
6
- var u = p(r);
7
-
8
- //#endregion
9
- export { };
10
- //# sourceMappingURL=node.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"node.js","names":["s","o"],"sources":["../../../../../../../node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js"],"sourcesContent":["import {\n a as e,\n b as t,\n c as o\n} from \"./chunk-BVHSVHOK.js\";\n\n// src/node.ts\nimport { isatty as s } from \"tty\";\nvar r = process.env.FORCE_TTY !== void 0 || s(1);\nfunction n() {\n return t(r);\n}\nfunction a() {\n return o(r);\n}\nvar u = o(r);\nexport {\n a as createColors,\n u as default,\n e as getDefaultColors,\n n as isSupported\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;AAQA,IAAI,IAAI,QAAQ,IAAI,cAAc,KAAK,KAAKA,OAAE,EAAE;AAOhD,IAAI,IAAIC,EAAE,EAAE"}