@powerlines/plugin-alloy 0.26.179 → 0.26.181

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 (422) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +14 -0
  2. package/dist/_virtual/_rolldown/runtime.mjs +18 -0
  3. package/dist/core/components/infrastructure-file.cjs +8 -1
  4. package/dist/core/components/infrastructure-file.mjs +3 -1
  5. package/dist/core/components/infrastructure-file.mjs.map +1 -1
  6. package/dist/core/components/infrastructure-file.test.cjs +16 -0
  7. package/dist/core/components/infrastructure-file.test.d.cts +1 -0
  8. package/dist/core/components/infrastructure-file.test.d.mts +1 -0
  9. package/dist/core/components/infrastructure-file.test.mjs +18 -0
  10. package/dist/core/components/infrastructure-file.test.mjs.map +1 -0
  11. package/dist/core/components/output.cjs +9 -1
  12. package/dist/core/components/output.d.cts.map +1 -1
  13. package/dist/core/components/output.d.mts.map +1 -1
  14. package/dist/core/components/output.mjs +3 -1
  15. package/dist/core/components/output.mjs.map +1 -1
  16. package/dist/core/components/output.test.cjs +16 -0
  17. package/dist/core/components/output.test.d.cts +1 -0
  18. package/dist/core/components/output.test.d.mts +1 -0
  19. package/dist/core/components/output.test.mjs +18 -0
  20. package/dist/core/components/output.test.mjs.map +1 -0
  21. package/dist/core/components/single-line-comment.cjs +9 -1
  22. package/dist/core/components/single-line-comment.mjs +3 -1
  23. package/dist/core/components/single-line-comment.mjs.map +1 -1
  24. package/dist/core/components/single-line-comment.test.cjs +16 -0
  25. package/dist/core/components/single-line-comment.test.d.cts +1 -0
  26. package/dist/core/components/single-line-comment.test.d.mts +1 -0
  27. package/dist/core/components/single-line-comment.test.mjs +18 -0
  28. package/dist/core/components/single-line-comment.test.mjs.map +1 -0
  29. package/dist/core/components/source-file.cjs +8 -1
  30. package/dist/core/components/source-file.mjs +3 -1
  31. package/dist/core/components/source-file.mjs.map +1 -1
  32. package/dist/core/components/source-file.test.cjs +16 -0
  33. package/dist/core/components/source-file.test.d.cts +1 -0
  34. package/dist/core/components/source-file.test.d.mts +1 -0
  35. package/dist/core/components/source-file.test.mjs +18 -0
  36. package/dist/core/components/source-file.test.mjs.map +1 -0
  37. package/dist/core/components/spacing.cjs +9 -1
  38. package/dist/core/components/spacing.d.cts.map +1 -1
  39. package/dist/core/components/spacing.d.mts.map +1 -1
  40. package/dist/core/components/spacing.mjs +3 -1
  41. package/dist/core/components/spacing.mjs.map +1 -1
  42. package/dist/core/components/spacing.test.cjs +16 -0
  43. package/dist/core/components/spacing.test.d.cts +1 -0
  44. package/dist/core/components/spacing.test.d.mts +1 -0
  45. package/dist/core/components/spacing.test.mjs +18 -0
  46. package/dist/core/components/spacing.test.mjs.map +1 -0
  47. package/dist/core/contexts/context.cjs +13 -0
  48. package/dist/core/contexts/context.d.cts.map +1 -1
  49. package/dist/core/contexts/context.d.mts.map +1 -1
  50. package/dist/core/contexts/context.mjs +8 -1
  51. package/dist/core/contexts/context.mjs.map +1 -1
  52. package/dist/core/contexts/context.test.cjs +16 -0
  53. package/dist/core/contexts/context.test.d.cts +1 -0
  54. package/dist/core/contexts/context.test.d.mts +1 -0
  55. package/dist/core/contexts/context.test.mjs +18 -0
  56. package/dist/core/contexts/context.test.mjs.map +1 -0
  57. package/dist/core/contexts/meta.cjs +13 -0
  58. package/dist/core/contexts/meta.d.cts.map +1 -1
  59. package/dist/core/contexts/meta.d.mts.map +1 -1
  60. package/dist/core/contexts/meta.mjs +8 -1
  61. package/dist/core/contexts/meta.mjs.map +1 -1
  62. package/dist/core/contexts/meta.test.cjs +16 -0
  63. package/dist/core/contexts/meta.test.d.cts +1 -0
  64. package/dist/core/contexts/meta.test.d.mts +1 -0
  65. package/dist/core/contexts/meta.test.mjs +18 -0
  66. package/dist/core/contexts/meta.test.mjs.map +1 -0
  67. package/dist/core/contexts/schema.cjs +13 -0
  68. package/dist/core/contexts/schema.d.cts.map +1 -1
  69. package/dist/core/contexts/schema.d.mts.map +1 -1
  70. package/dist/core/contexts/schema.mjs +8 -1
  71. package/dist/core/contexts/schema.mjs.map +1 -1
  72. package/dist/core/contexts/schema.test.cjs +16 -0
  73. package/dist/core/contexts/schema.test.d.cts +1 -0
  74. package/dist/core/contexts/schema.test.d.mts +1 -0
  75. package/dist/core/contexts/schema.test.mjs +18 -0
  76. package/dist/core/contexts/schema.test.mjs.map +1 -0
  77. package/dist/core/helpers/code.cjs +9 -1
  78. package/dist/core/helpers/code.mjs +3 -1
  79. package/dist/core/helpers/code.mjs.map +1 -1
  80. package/dist/core/helpers/code.test.cjs +16 -0
  81. package/dist/core/helpers/code.test.d.cts +1 -0
  82. package/dist/core/helpers/code.test.d.mts +1 -0
  83. package/dist/core/helpers/code.test.mjs +18 -0
  84. package/dist/core/helpers/code.test.mjs.map +1 -0
  85. package/dist/hcl/components/block-declaration.cjs +9 -1
  86. package/dist/hcl/components/block-declaration.mjs +3 -1
  87. package/dist/hcl/components/block-declaration.mjs.map +1 -1
  88. package/dist/hcl/components/block-declaration.test.cjs +16 -0
  89. package/dist/hcl/components/block-declaration.test.d.cts +1 -0
  90. package/dist/hcl/components/block-declaration.test.d.mts +1 -0
  91. package/dist/hcl/components/block-declaration.test.mjs +18 -0
  92. package/dist/hcl/components/block-declaration.test.mjs.map +1 -0
  93. package/dist/hcl/components/hcl-file.cjs +12 -1
  94. package/dist/hcl/components/hcl-file.mjs +6 -1
  95. package/dist/hcl/components/hcl-file.mjs.map +1 -1
  96. package/dist/hcl/components/hcl-file.test.cjs +16 -0
  97. package/dist/hcl/components/hcl-file.test.d.cts +1 -0
  98. package/dist/hcl/components/hcl-file.test.d.mts +1 -0
  99. package/dist/hcl/components/hcl-file.test.mjs +18 -0
  100. package/dist/hcl/components/hcl-file.test.mjs.map +1 -0
  101. package/dist/hcl/components/packer-file.cjs +9 -1
  102. package/dist/hcl/components/packer-file.mjs +3 -1
  103. package/dist/hcl/components/packer-file.mjs.map +1 -1
  104. package/dist/hcl/components/packer-file.test.cjs +16 -0
  105. package/dist/hcl/components/packer-file.test.d.cts +1 -0
  106. package/dist/hcl/components/packer-file.test.d.mts +1 -0
  107. package/dist/hcl/components/packer-file.test.mjs +18 -0
  108. package/dist/hcl/components/packer-file.test.mjs.map +1 -0
  109. package/dist/hcl/components/terraform-file.cjs +9 -1
  110. package/dist/hcl/components/terraform-file.mjs +3 -1
  111. package/dist/hcl/components/terraform-file.mjs.map +1 -1
  112. package/dist/hcl/components/terraform-file.test.cjs +16 -0
  113. package/dist/hcl/components/terraform-file.test.d.cts +1 -0
  114. package/dist/hcl/components/terraform-file.test.d.mts +1 -0
  115. package/dist/hcl/components/terraform-file.test.mjs +18 -0
  116. package/dist/hcl/components/terraform-file.test.mjs.map +1 -0
  117. package/dist/helpers/capnp.cjs +24 -0
  118. package/dist/helpers/capnp.d.cts.map +1 -1
  119. package/dist/helpers/capnp.d.mts.map +1 -1
  120. package/dist/helpers/capnp.mjs +20 -1
  121. package/dist/helpers/capnp.mjs.map +1 -1
  122. package/dist/helpers/capnp.test.cjs +16 -0
  123. package/dist/helpers/capnp.test.d.cts +1 -0
  124. package/dist/helpers/capnp.test.d.mts +1 -0
  125. package/dist/helpers/capnp.test.mjs +18 -0
  126. package/dist/helpers/capnp.test.mjs.map +1 -0
  127. package/dist/helpers/create-builtin.cjs +9 -1
  128. package/dist/helpers/create-builtin.d.cts.map +1 -1
  129. package/dist/helpers/create-builtin.d.mts.map +1 -1
  130. package/dist/helpers/create-builtin.mjs +3 -1
  131. package/dist/helpers/create-builtin.mjs.map +1 -1
  132. package/dist/helpers/create-builtin.test.cjs +16 -0
  133. package/dist/helpers/create-builtin.test.d.cts +1 -0
  134. package/dist/helpers/create-builtin.test.d.mts +1 -0
  135. package/dist/helpers/create-builtin.test.mjs +18 -0
  136. package/dist/helpers/create-builtin.test.mjs.map +1 -0
  137. package/dist/helpers/refkey.cjs +1 -0
  138. package/dist/helpers/refkey.d.cts.map +1 -1
  139. package/dist/helpers/refkey.d.mts.map +1 -1
  140. package/dist/helpers/refkey.mjs +1 -0
  141. package/dist/helpers/refkey.mjs.map +1 -1
  142. package/dist/helpers/refkey.test.cjs +30 -0
  143. package/dist/helpers/refkey.test.d.cts +1 -0
  144. package/dist/helpers/refkey.test.d.mts +1 -0
  145. package/dist/helpers/refkey.test.mjs +32 -0
  146. package/dist/helpers/refkey.test.mjs.map +1 -0
  147. package/dist/helpers/typescript.cjs +9 -1
  148. package/dist/helpers/typescript.d.cts.map +1 -1
  149. package/dist/helpers/typescript.d.mts.map +1 -1
  150. package/dist/helpers/typescript.mjs +3 -1
  151. package/dist/helpers/typescript.mjs.map +1 -1
  152. package/dist/helpers/typescript.test.cjs +16 -0
  153. package/dist/helpers/typescript.test.d.cts +1 -0
  154. package/dist/helpers/typescript.test.d.mts +1 -0
  155. package/dist/helpers/typescript.test.mjs +18 -0
  156. package/dist/helpers/typescript.test.mjs.map +1 -0
  157. package/dist/markdown/components/front-matter.cjs +9 -1
  158. package/dist/markdown/components/front-matter.mjs +3 -1
  159. package/dist/markdown/components/front-matter.mjs.map +1 -1
  160. package/dist/markdown/components/front-matter.test.cjs +16 -0
  161. package/dist/markdown/components/front-matter.test.d.cts +1 -0
  162. package/dist/markdown/components/front-matter.test.d.mts +1 -0
  163. package/dist/markdown/components/front-matter.test.mjs +18 -0
  164. package/dist/markdown/components/front-matter.test.mjs.map +1 -0
  165. package/dist/markdown/components/heading.cjs +9 -1
  166. package/dist/markdown/components/heading.mjs +3 -1
  167. package/dist/markdown/components/heading.mjs.map +1 -1
  168. package/dist/markdown/components/heading.test.cjs +16 -0
  169. package/dist/markdown/components/heading.test.d.cts +1 -0
  170. package/dist/markdown/components/heading.test.d.mts +1 -0
  171. package/dist/markdown/components/heading.test.mjs +18 -0
  172. package/dist/markdown/components/heading.test.mjs.map +1 -0
  173. package/dist/markdown/components/markdown-file.cjs +12 -1
  174. package/dist/markdown/components/markdown-file.mjs +6 -1
  175. package/dist/markdown/components/markdown-file.mjs.map +1 -1
  176. package/dist/markdown/components/markdown-file.test.cjs +16 -0
  177. package/dist/markdown/components/markdown-file.test.d.cts +1 -0
  178. package/dist/markdown/components/markdown-file.test.d.mts +1 -0
  179. package/dist/markdown/components/markdown-file.test.mjs +18 -0
  180. package/dist/markdown/components/markdown-file.test.mjs.map +1 -0
  181. package/dist/markdown/components/markdown-table.cjs +13 -1
  182. package/dist/markdown/components/markdown-table.d.cts.map +1 -1
  183. package/dist/markdown/components/markdown-table.d.mts.map +1 -1
  184. package/dist/markdown/components/markdown-table.mjs +7 -1
  185. package/dist/markdown/components/markdown-table.mjs.map +1 -1
  186. package/dist/markdown/components/markdown-table.test.cjs +16 -0
  187. package/dist/markdown/components/markdown-table.test.d.cts +1 -0
  188. package/dist/markdown/components/markdown-table.test.d.mts +1 -0
  189. package/dist/markdown/components/markdown-table.test.mjs +18 -0
  190. package/dist/markdown/components/markdown-table.test.mjs.map +1 -0
  191. package/dist/markdown/contexts/markdown-table.cjs +13 -0
  192. package/dist/markdown/contexts/markdown-table.d.cts.map +1 -1
  193. package/dist/markdown/contexts/markdown-table.d.mts.map +1 -1
  194. package/dist/markdown/contexts/markdown-table.mjs +8 -1
  195. package/dist/markdown/contexts/markdown-table.mjs.map +1 -1
  196. package/dist/markdown/contexts/markdown-table.test.cjs +16 -0
  197. package/dist/markdown/contexts/markdown-table.test.d.cts +1 -0
  198. package/dist/markdown/contexts/markdown-table.test.d.mts +1 -0
  199. package/dist/markdown/contexts/markdown-table.test.mjs +18 -0
  200. package/dist/markdown/contexts/markdown-table.test.mjs.map +1 -0
  201. package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.cjs +78 -0
  202. package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +78 -0
  203. package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -0
  204. package/dist/node_modules/.pnpm/@vitest_expect@4.1.7/node_modules/@vitest/expect/dist/index.cjs +1487 -0
  205. package/dist/node_modules/.pnpm/@vitest_expect@4.1.7/node_modules/@vitest/expect/dist/index.mjs +1473 -0
  206. package/dist/node_modules/.pnpm/@vitest_expect@4.1.7/node_modules/@vitest/expect/dist/index.mjs.map +1 -0
  207. package/dist/node_modules/.pnpm/@vitest_pretty-format@4.1.7/node_modules/@vitest/pretty-format/dist/index.cjs +889 -0
  208. package/dist/node_modules/.pnpm/@vitest_pretty-format@4.1.7/node_modules/@vitest/pretty-format/dist/index.mjs +888 -0
  209. package/dist/node_modules/.pnpm/@vitest_pretty-format@4.1.7/node_modules/@vitest/pretty-format/dist/index.mjs.map +1 -0
  210. package/dist/node_modules/.pnpm/@vitest_runner@4.1.7/node_modules/@vitest/runner/dist/chunk-artifact.cjs +1614 -0
  211. package/dist/node_modules/.pnpm/@vitest_runner@4.1.7/node_modules/@vitest/runner/dist/chunk-artifact.mjs +1594 -0
  212. package/dist/node_modules/.pnpm/@vitest_runner@4.1.7/node_modules/@vitest/runner/dist/chunk-artifact.mjs.map +1 -0
  213. package/dist/node_modules/.pnpm/@vitest_runner@4.1.7/node_modules/@vitest/runner/dist/index.cjs +1 -0
  214. package/dist/node_modules/.pnpm/@vitest_runner@4.1.7/node_modules/@vitest/runner/dist/index.mjs +3 -0
  215. package/dist/node_modules/.pnpm/@vitest_runner@4.1.7/node_modules/@vitest/runner/dist/utils.cjs +1 -0
  216. package/dist/node_modules/.pnpm/@vitest_runner@4.1.7/node_modules/@vitest/runner/dist/utils.mjs +3 -0
  217. package/dist/node_modules/.pnpm/@vitest_snapshot@4.1.7/node_modules/@vitest/snapshot/dist/index.cjs +923 -0
  218. package/dist/node_modules/.pnpm/@vitest_snapshot@4.1.7/node_modules/@vitest/snapshot/dist/index.mjs +922 -0
  219. package/dist/node_modules/.pnpm/@vitest_snapshot@4.1.7/node_modules/@vitest/snapshot/dist/index.mjs.map +1 -0
  220. package/dist/node_modules/.pnpm/@vitest_spy@4.1.7/node_modules/@vitest/spy/dist/index.cjs +391 -0
  221. package/dist/node_modules/.pnpm/@vitest_spy@4.1.7/node_modules/@vitest/spy/dist/index.mjs +386 -0
  222. package/dist/node_modules/.pnpm/@vitest_spy@4.1.7/node_modules/@vitest/spy/dist/index.mjs.map +1 -0
  223. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/chunk-pathe.M-eThtNZ.cjs +82 -0
  224. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/chunk-pathe.M-eThtNZ.mjs +82 -0
  225. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/chunk-pathe.M-eThtNZ.mjs.map +1 -0
  226. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/diff.cjs +1358 -0
  227. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/diff.mjs +1357 -0
  228. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/diff.mjs.map +1 -0
  229. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/display.cjs +561 -0
  230. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/display.mjs +559 -0
  231. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/display.mjs.map +1 -0
  232. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/error.cjs +37 -0
  233. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/error.mjs +38 -0
  234. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/error.mjs.map +1 -0
  235. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/helpers.cjs +197 -0
  236. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/helpers.mjs +181 -0
  237. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/helpers.mjs.map +1 -0
  238. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/offset.cjs +29 -0
  239. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/offset.mjs +27 -0
  240. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/offset.mjs.map +1 -0
  241. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/serialize.cjs +77 -0
  242. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/serialize.mjs +77 -0
  243. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/serialize.mjs.map +1 -0
  244. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/source-map.cjs +374 -0
  245. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/source-map.mjs +374 -0
  246. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/source-map.mjs.map +1 -0
  247. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/timers.cjs +38 -0
  248. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/timers.mjs +37 -0
  249. package/dist/node_modules/.pnpm/@vitest_utils@4.1.7/node_modules/@vitest/utils/dist/timers.mjs.map +1 -0
  250. package/dist/node_modules/.pnpm/chai@6.2.2/node_modules/chai/index.cjs +2978 -0
  251. package/dist/node_modules/.pnpm/chai@6.2.2/node_modules/chai/index.mjs +2973 -0
  252. package/dist/node_modules/.pnpm/chai@6.2.2/node_modules/chai/index.mjs.map +1 -0
  253. package/dist/node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.cjs +939 -0
  254. package/dist/node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.mjs +940 -0
  255. package/dist/node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.mjs.map +1 -0
  256. package/dist/node_modules/.pnpm/tinyrainbow@3.1.0/node_modules/tinyrainbow/dist/index.cjs +87 -0
  257. package/dist/node_modules/.pnpm/tinyrainbow@3.1.0/node_modules/tinyrainbow/dist/index.mjs +87 -0
  258. package/dist/node_modules/.pnpm/tinyrainbow@3.1.0/node_modules/tinyrainbow/dist/index.mjs.map +1 -0
  259. package/dist/node_modules/.pnpm/vitest@4.1.7_@opentelemetry_api@1.9.1_@types_node@25.9.1_@vitest_coverage-v8@4.1.7_vite_34dd47607c0af5e5ae7f1b2f95fc48c3/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.cjs +6 -0
  260. package/dist/node_modules/.pnpm/vitest@4.1.7_@opentelemetry_api@1.9.1_@types_node@25.9.1_@vitest_coverage-v8@4.1.7_vite_34dd47607c0af5e5ae7f1b2f95fc48c3/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.mjs +6 -0
  261. package/dist/node_modules/.pnpm/vitest@4.1.7_@opentelemetry_api@1.9.1_@types_node@25.9.1_@vitest_coverage-v8@4.1.7_vite_34dd47607c0af5e5ae7f1b2f95fc48c3/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.mjs.map +1 -0
  262. package/dist/node_modules/.pnpm/vitest@4.1.7_@opentelemetry_api@1.9.1_@types_node@25.9.1_@vitest_coverage-v8@4.1.7_vite_34dd47607c0af5e5ae7f1b2f95fc48c3/node_modules/vitest/dist/chunks/rpc.MzXet3jl.cjs +54 -0
  263. package/dist/node_modules/.pnpm/vitest@4.1.7_@opentelemetry_api@1.9.1_@types_node@25.9.1_@vitest_coverage-v8@4.1.7_vite_34dd47607c0af5e5ae7f1b2f95fc48c3/node_modules/vitest/dist/chunks/rpc.MzXet3jl.mjs +52 -0
  264. package/dist/node_modules/.pnpm/vitest@4.1.7_@opentelemetry_api@1.9.1_@types_node@25.9.1_@vitest_coverage-v8@4.1.7_vite_34dd47607c0af5e5ae7f1b2f95fc48c3/node_modules/vitest/dist/chunks/rpc.MzXet3jl.mjs.map +1 -0
  265. package/dist/node_modules/.pnpm/vitest@4.1.7_@opentelemetry_api@1.9.1_@types_node@25.9.1_@vitest_coverage-v8@4.1.7_vite_34dd47607c0af5e5ae7f1b2f95fc48c3/node_modules/vitest/dist/chunks/test.DNmyFkvJ.cjs +2696 -0
  266. package/dist/node_modules/.pnpm/vitest@4.1.7_@opentelemetry_api@1.9.1_@types_node@25.9.1_@vitest_coverage-v8@4.1.7_vite_34dd47607c0af5e5ae7f1b2f95fc48c3/node_modules/vitest/dist/chunks/test.DNmyFkvJ.mjs +2697 -0
  267. package/dist/node_modules/.pnpm/vitest@4.1.7_@opentelemetry_api@1.9.1_@types_node@25.9.1_@vitest_coverage-v8@4.1.7_vite_34dd47607c0af5e5ae7f1b2f95fc48c3/node_modules/vitest/dist/chunks/test.DNmyFkvJ.mjs.map +1 -0
  268. package/dist/node_modules/.pnpm/vitest@4.1.7_@opentelemetry_api@1.9.1_@types_node@25.9.1_@vitest_coverage-v8@4.1.7_vite_34dd47607c0af5e5ae7f1b2f95fc48c3/node_modules/vitest/dist/chunks/utils.BX5Fg8C4.cjs +47 -0
  269. package/dist/node_modules/.pnpm/vitest@4.1.7_@opentelemetry_api@1.9.1_@types_node@25.9.1_@vitest_coverage-v8@4.1.7_vite_34dd47607c0af5e5ae7f1b2f95fc48c3/node_modules/vitest/dist/chunks/utils.BX5Fg8C4.mjs +45 -0
  270. package/dist/node_modules/.pnpm/vitest@4.1.7_@opentelemetry_api@1.9.1_@types_node@25.9.1_@vitest_coverage-v8@4.1.7_vite_34dd47607c0af5e5ae7f1b2f95fc48c3/node_modules/vitest/dist/chunks/utils.BX5Fg8C4.mjs.map +1 -0
  271. package/dist/render.d.cts.map +1 -1
  272. package/dist/render.d.mts.map +1 -1
  273. package/dist/render.mjs.map +1 -1
  274. package/dist/typescript/components/builtin-file.cjs +9 -1
  275. package/dist/typescript/components/builtin-file.mjs +3 -1
  276. package/dist/typescript/components/builtin-file.mjs.map +1 -1
  277. package/dist/typescript/components/builtin-file.test.cjs +16 -0
  278. package/dist/typescript/components/builtin-file.test.d.cts +1 -0
  279. package/dist/typescript/components/builtin-file.test.d.mts +1 -0
  280. package/dist/typescript/components/builtin-file.test.mjs +18 -0
  281. package/dist/typescript/components/builtin-file.test.mjs.map +1 -0
  282. package/dist/typescript/components/class-declaration.cjs +16 -1
  283. package/dist/typescript/components/class-declaration.mjs +10 -1
  284. package/dist/typescript/components/class-declaration.mjs.map +1 -1
  285. package/dist/typescript/components/class-declaration.test.cjs +16 -0
  286. package/dist/typescript/components/class-declaration.test.d.cts +1 -0
  287. package/dist/typescript/components/class-declaration.test.d.mts +1 -0
  288. package/dist/typescript/components/class-declaration.test.mjs +18 -0
  289. package/dist/typescript/components/class-declaration.test.mjs.map +1 -0
  290. package/dist/typescript/components/dynamic-import-statement.cjs +9 -1
  291. package/dist/typescript/components/dynamic-import-statement.mjs +3 -1
  292. package/dist/typescript/components/dynamic-import-statement.mjs.map +1 -1
  293. package/dist/typescript/components/dynamic-import-statement.test.cjs +16 -0
  294. package/dist/typescript/components/dynamic-import-statement.test.d.cts +1 -0
  295. package/dist/typescript/components/dynamic-import-statement.test.d.mts +1 -0
  296. package/dist/typescript/components/dynamic-import-statement.test.mjs +18 -0
  297. package/dist/typescript/components/dynamic-import-statement.test.mjs.map +1 -0
  298. package/dist/typescript/components/entry-file.cjs +8 -1
  299. package/dist/typescript/components/entry-file.mjs +3 -1
  300. package/dist/typescript/components/entry-file.mjs.map +1 -1
  301. package/dist/typescript/components/entry-file.test.cjs +16 -0
  302. package/dist/typescript/components/entry-file.test.d.cts +1 -0
  303. package/dist/typescript/components/entry-file.test.d.mts +1 -0
  304. package/dist/typescript/components/entry-file.test.mjs +18 -0
  305. package/dist/typescript/components/entry-file.test.mjs.map +1 -0
  306. package/dist/typescript/components/interface-declaration.cjs +14 -1
  307. package/dist/typescript/components/interface-declaration.mjs +8 -1
  308. package/dist/typescript/components/interface-declaration.mjs.map +1 -1
  309. package/dist/typescript/components/interface-declaration.test.cjs +16 -0
  310. package/dist/typescript/components/interface-declaration.test.d.cts +1 -0
  311. package/dist/typescript/components/interface-declaration.test.d.mts +1 -0
  312. package/dist/typescript/components/interface-declaration.test.mjs +18 -0
  313. package/dist/typescript/components/interface-declaration.test.mjs.map +1 -0
  314. package/dist/typescript/components/object-declaration.cjs +12 -1
  315. package/dist/typescript/components/object-declaration.mjs +6 -1
  316. package/dist/typescript/components/object-declaration.mjs.map +1 -1
  317. package/dist/typescript/components/object-declaration.test.cjs +16 -0
  318. package/dist/typescript/components/object-declaration.test.d.cts +1 -0
  319. package/dist/typescript/components/object-declaration.test.d.mts +1 -0
  320. package/dist/typescript/components/object-declaration.test.mjs +18 -0
  321. package/dist/typescript/components/object-declaration.test.mjs.map +1 -0
  322. package/dist/typescript/components/property-name.cjs +9 -1
  323. package/dist/typescript/components/property-name.mjs +3 -1
  324. package/dist/typescript/components/property-name.mjs.map +1 -1
  325. package/dist/typescript/components/property-name.test.cjs +16 -0
  326. package/dist/typescript/components/property-name.test.d.cts +1 -0
  327. package/dist/typescript/components/property-name.test.d.mts +1 -0
  328. package/dist/typescript/components/property-name.test.mjs +18 -0
  329. package/dist/typescript/components/property-name.test.mjs.map +1 -0
  330. package/dist/typescript/components/record-expression.cjs +9 -1
  331. package/dist/typescript/components/record-expression.d.cts.map +1 -1
  332. package/dist/typescript/components/record-expression.d.mts.map +1 -1
  333. package/dist/typescript/components/record-expression.mjs +3 -1
  334. package/dist/typescript/components/record-expression.mjs.map +1 -1
  335. package/dist/typescript/components/record-expression.test.cjs +16 -0
  336. package/dist/typescript/components/record-expression.test.d.cts +1 -0
  337. package/dist/typescript/components/record-expression.test.d.mts +1 -0
  338. package/dist/typescript/components/record-expression.test.mjs +18 -0
  339. package/dist/typescript/components/record-expression.test.mjs.map +1 -0
  340. package/dist/typescript/components/tsdoc-schema.cjs +12 -1
  341. package/dist/typescript/components/tsdoc-schema.mjs +6 -1
  342. package/dist/typescript/components/tsdoc-schema.mjs.map +1 -1
  343. package/dist/typescript/components/tsdoc-schema.test.cjs +16 -0
  344. package/dist/typescript/components/tsdoc-schema.test.d.cts +1 -0
  345. package/dist/typescript/components/tsdoc-schema.test.d.mts +1 -0
  346. package/dist/typescript/components/tsdoc-schema.test.mjs +18 -0
  347. package/dist/typescript/components/tsdoc-schema.test.mjs.map +1 -0
  348. package/dist/typescript/components/tsdoc.cjs +32 -1
  349. package/dist/typescript/components/tsdoc.d.cts.map +1 -1
  350. package/dist/typescript/components/tsdoc.d.mts.map +1 -1
  351. package/dist/typescript/components/tsdoc.mjs +26 -1
  352. package/dist/typescript/components/tsdoc.mjs.map +1 -1
  353. package/dist/typescript/components/tsdoc.test.cjs +16 -0
  354. package/dist/typescript/components/tsdoc.test.d.cts +1 -0
  355. package/dist/typescript/components/tsdoc.test.d.mts +1 -0
  356. package/dist/typescript/components/tsdoc.test.mjs +18 -0
  357. package/dist/typescript/components/tsdoc.test.mjs.map +1 -0
  358. package/dist/typescript/components/type-declaration.cjs +9 -1
  359. package/dist/typescript/components/type-declaration.mjs +3 -1
  360. package/dist/typescript/components/type-declaration.mjs.map +1 -1
  361. package/dist/typescript/components/type-declaration.test.cjs +16 -0
  362. package/dist/typescript/components/type-declaration.test.d.cts +1 -0
  363. package/dist/typescript/components/type-declaration.test.d.mts +1 -0
  364. package/dist/typescript/components/type-declaration.test.mjs +18 -0
  365. package/dist/typescript/components/type-declaration.test.mjs.map +1 -0
  366. package/dist/typescript/components/type-parameters.cjs +9 -1
  367. package/dist/typescript/components/type-parameters.mjs +3 -1
  368. package/dist/typescript/components/type-parameters.mjs.map +1 -1
  369. package/dist/typescript/components/type-parameters.test.cjs +16 -0
  370. package/dist/typescript/components/type-parameters.test.d.cts +1 -0
  371. package/dist/typescript/components/type-parameters.test.d.mts +1 -0
  372. package/dist/typescript/components/type-parameters.test.mjs +18 -0
  373. package/dist/typescript/components/type-parameters.test.mjs.map +1 -0
  374. package/dist/typescript/components/typescript-file.cjs +13 -1
  375. package/dist/typescript/components/typescript-file.mjs +7 -1
  376. package/dist/typescript/components/typescript-file.mjs.map +1 -1
  377. package/dist/typescript/components/typescript-file.test.cjs +16 -0
  378. package/dist/typescript/components/typescript-file.test.d.cts +1 -0
  379. package/dist/typescript/components/typescript-file.test.d.mts +1 -0
  380. package/dist/typescript/components/typescript-file.test.mjs +18 -0
  381. package/dist/typescript/components/typescript-file.test.mjs.map +1 -0
  382. package/dist/typescript/contexts/lexical-scope.cjs +9 -1
  383. package/dist/typescript/contexts/lexical-scope.mjs +3 -1
  384. package/dist/typescript/contexts/lexical-scope.mjs.map +1 -1
  385. package/dist/typescript/contexts/lexical-scope.test.cjs +16 -0
  386. package/dist/typescript/contexts/lexical-scope.test.d.cts +1 -0
  387. package/dist/typescript/contexts/lexical-scope.test.d.mts +1 -0
  388. package/dist/typescript/contexts/lexical-scope.test.mjs +18 -0
  389. package/dist/typescript/contexts/lexical-scope.test.mjs.map +1 -0
  390. package/dist/typescript/contexts/member-scope.cjs +9 -1
  391. package/dist/typescript/contexts/member-scope.mjs +3 -1
  392. package/dist/typescript/contexts/member-scope.mjs.map +1 -1
  393. package/dist/typescript/contexts/member-scope.test.cjs +16 -0
  394. package/dist/typescript/contexts/member-scope.test.d.cts +1 -0
  395. package/dist/typescript/contexts/member-scope.test.d.mts +1 -0
  396. package/dist/typescript/contexts/member-scope.test.mjs +18 -0
  397. package/dist/typescript/contexts/member-scope.test.mjs.map +1 -0
  398. package/dist/typescript/helpers/get-call-signature-props.cjs +9 -1
  399. package/dist/typescript/helpers/get-call-signature-props.mjs +3 -1
  400. package/dist/typescript/helpers/get-call-signature-props.mjs.map +1 -1
  401. package/dist/typescript/helpers/get-call-signature-props.test.cjs +16 -0
  402. package/dist/typescript/helpers/get-call-signature-props.test.d.cts +1 -0
  403. package/dist/typescript/helpers/get-call-signature-props.test.d.mts +1 -0
  404. package/dist/typescript/helpers/get-call-signature-props.test.mjs +18 -0
  405. package/dist/typescript/helpers/get-call-signature-props.test.mjs.map +1 -0
  406. package/dist/typescript/helpers/utilities.cjs +9 -1
  407. package/dist/typescript/helpers/utilities.mjs +4 -1
  408. package/dist/typescript/helpers/utilities.mjs.map +1 -1
  409. package/dist/typescript/helpers/utilities.test.cjs +16 -0
  410. package/dist/typescript/helpers/utilities.test.d.cts +1 -0
  411. package/dist/typescript/helpers/utilities.test.d.mts +1 -0
  412. package/dist/typescript/helpers/utilities.test.mjs +18 -0
  413. package/dist/typescript/helpers/utilities.test.mjs.map +1 -0
  414. package/dist/yaml/components/yaml-file.cjs +12 -1
  415. package/dist/yaml/components/yaml-file.mjs +6 -1
  416. package/dist/yaml/components/yaml-file.mjs.map +1 -1
  417. package/dist/yaml/components/yaml-file.test.cjs +16 -0
  418. package/dist/yaml/components/yaml-file.test.d.cts +1 -0
  419. package/dist/yaml/components/yaml-file.test.d.mts +1 -0
  420. package/dist/yaml/components/yaml-file.test.mjs +18 -0
  421. package/dist/yaml/components/yaml-file.test.mjs.map +1 -0
  422. package/package.json +590 -17
@@ -0,0 +1,561 @@
1
+ const require_index = require('../../../../../@vitest_pretty-format@4.1.7/node_modules/@vitest/pretty-format/dist/index.cjs');
2
+
3
+ //#region ../../../node_modules/.pnpm/@vitest+utils@4.1.7/node_modules/@vitest/utils/dist/display.js
4
+ const ansiColors = {
5
+ bold: ["1", "22"],
6
+ dim: ["2", "22"],
7
+ italic: ["3", "23"],
8
+ underline: ["4", "24"],
9
+ inverse: ["7", "27"],
10
+ hidden: ["8", "28"],
11
+ strike: ["9", "29"],
12
+ black: ["30", "39"],
13
+ red: ["31", "39"],
14
+ green: ["32", "39"],
15
+ yellow: ["33", "39"],
16
+ blue: ["34", "39"],
17
+ magenta: ["35", "39"],
18
+ cyan: ["36", "39"],
19
+ white: ["37", "39"],
20
+ brightblack: ["30;1", "39"],
21
+ brightred: ["31;1", "39"],
22
+ brightgreen: ["32;1", "39"],
23
+ brightyellow: ["33;1", "39"],
24
+ brightblue: ["34;1", "39"],
25
+ brightmagenta: ["35;1", "39"],
26
+ brightcyan: ["36;1", "39"],
27
+ brightwhite: ["37;1", "39"],
28
+ grey: ["90", "39"]
29
+ };
30
+ const styles = {
31
+ special: "cyan",
32
+ number: "yellow",
33
+ bigint: "yellow",
34
+ boolean: "yellow",
35
+ undefined: "grey",
36
+ null: "bold",
37
+ string: "green",
38
+ symbol: "green",
39
+ date: "magenta",
40
+ regexp: "red"
41
+ };
42
+ const truncator = "…";
43
+ function colorise(value, styleType) {
44
+ const color = ansiColors[styles[styleType]] || ansiColors[styleType] || "";
45
+ if (!color) return String(value);
46
+ return `\u001b[${color[0]}m${String(value)}\u001b[${color[1]}m`;
47
+ }
48
+ function normaliseOptions({ showHidden = false, depth = 2, colors = false, customInspect = true, showProxy = false, maxArrayLength = Infinity, breakLength = Infinity, seen = [], truncate = Infinity, stylize = String } = {}, inspect) {
49
+ const options = {
50
+ showHidden: Boolean(showHidden),
51
+ depth: Number(depth),
52
+ colors: Boolean(colors),
53
+ customInspect: Boolean(customInspect),
54
+ showProxy: Boolean(showProxy),
55
+ maxArrayLength: Number(maxArrayLength),
56
+ breakLength: Number(breakLength),
57
+ truncate: Number(truncate),
58
+ seen,
59
+ inspect,
60
+ stylize
61
+ };
62
+ if (options.colors) options.stylize = colorise;
63
+ return options;
64
+ }
65
+ function isHighSurrogate(char) {
66
+ return char >= "\ud800" && char <= "\udbff";
67
+ }
68
+ function truncate(string, length, tail = truncator) {
69
+ string = String(string);
70
+ const tailLength = tail.length;
71
+ const stringLength = string.length;
72
+ if (tailLength > length && stringLength > tailLength) return tail;
73
+ if (stringLength > length && stringLength > tailLength) {
74
+ let end = length - tailLength;
75
+ if (end > 0 && isHighSurrogate(string[end - 1])) end = end - 1;
76
+ return `${string.slice(0, end)}${tail}`;
77
+ }
78
+ return string;
79
+ }
80
+ function inspectList(list, options, inspectItem, separator = ", ") {
81
+ inspectItem = inspectItem || options.inspect;
82
+ const size = list.length;
83
+ if (size === 0) return "";
84
+ const originalLength = options.truncate;
85
+ let output = "";
86
+ let peek = "";
87
+ let truncated = "";
88
+ for (let i = 0; i < size; i += 1) {
89
+ const last = i + 1 === list.length;
90
+ const secondToLast = i + 2 === list.length;
91
+ truncated = `${truncator}(${list.length - i})`;
92
+ const value = list[i];
93
+ options.truncate = originalLength - output.length - (last ? 0 : separator.length);
94
+ const string = peek || inspectItem(value, options) + (last ? "" : separator);
95
+ const nextLength = output.length + string.length;
96
+ const truncatedLength = nextLength + truncated.length;
97
+ if (last && nextLength > originalLength && output.length + truncated.length <= originalLength) break;
98
+ if (!last && !secondToLast && truncatedLength > originalLength) break;
99
+ peek = last ? "" : inspectItem(list[i + 1], options) + (secondToLast ? "" : separator);
100
+ if (!last && secondToLast && truncatedLength > originalLength && nextLength + peek.length > originalLength) break;
101
+ output += string;
102
+ if (!last && !secondToLast && nextLength + peek.length >= originalLength) {
103
+ truncated = `${truncator}(${list.length - i - 1})`;
104
+ break;
105
+ }
106
+ truncated = "";
107
+ }
108
+ return `${output}${truncated}`;
109
+ }
110
+ function quoteComplexKey(key) {
111
+ if (key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)) return key;
112
+ return JSON.stringify(key).replace(/'/g, "\\'").replace(/\\"/g, "\"").replace(/(^"|"$)/g, "'");
113
+ }
114
+ function inspectProperty([key, value], options) {
115
+ options.truncate -= 2;
116
+ if (typeof key === "string") key = quoteComplexKey(key);
117
+ else if (typeof key !== "number") key = `[${options.inspect(key, options)}]`;
118
+ options.truncate -= key.length;
119
+ value = options.inspect(value, options);
120
+ return `${key}: ${value}`;
121
+ }
122
+ function inspectArray(array, options) {
123
+ const nonIndexProperties = Object.keys(array).slice(array.length);
124
+ if (!array.length && !nonIndexProperties.length) return "[]";
125
+ options.truncate -= 4;
126
+ const listContents = inspectList(array, options);
127
+ options.truncate -= listContents.length;
128
+ let propertyContents = "";
129
+ if (nonIndexProperties.length) propertyContents = inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty);
130
+ return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]`;
131
+ }
132
+ const getArrayName = (array) => {
133
+ if (typeof Buffer === "function" && array instanceof Buffer) return "Buffer";
134
+ if (array[Symbol.toStringTag]) return array[Symbol.toStringTag];
135
+ return array.constructor.name;
136
+ };
137
+ function inspectTypedArray(array, options) {
138
+ const name = getArrayName(array);
139
+ options.truncate -= name.length + 4;
140
+ const nonIndexProperties = Object.keys(array).slice(array.length);
141
+ if (!array.length && !nonIndexProperties.length) return `${name}[]`;
142
+ let output = "";
143
+ for (let i = 0; i < array.length; i++) {
144
+ const string = `${options.stylize(truncate(array[i], options.truncate), "number")}${i === array.length - 1 ? "" : ", "}`;
145
+ options.truncate -= string.length;
146
+ if (array[i] !== array.length && options.truncate <= 3) {
147
+ output += `${truncator}(${array.length - array[i] + 1})`;
148
+ break;
149
+ }
150
+ output += string;
151
+ }
152
+ let propertyContents = "";
153
+ if (nonIndexProperties.length) propertyContents = inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty);
154
+ return `${name}[ ${output}${propertyContents ? `, ${propertyContents}` : ""} ]`;
155
+ }
156
+ function inspectDate(dateObject, options) {
157
+ const stringRepresentation = dateObject.toJSON();
158
+ if (stringRepresentation === null) return "Invalid Date";
159
+ const split = stringRepresentation.split("T");
160
+ const date = split[0];
161
+ return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, "date");
162
+ }
163
+ function inspectFunction(func, options) {
164
+ const functionType = func[Symbol.toStringTag] || "Function";
165
+ const name = func.name;
166
+ if (!name) return options.stylize(`[${functionType}]`, "special");
167
+ return options.stylize(`[${functionType} ${truncate(name, options.truncate - 11)}]`, "special");
168
+ }
169
+ function inspectMapEntry([key, value], options) {
170
+ options.truncate -= 4;
171
+ key = options.inspect(key, options);
172
+ options.truncate -= key.length;
173
+ value = options.inspect(value, options);
174
+ return `${key} => ${value}`;
175
+ }
176
+ function mapToEntries(map) {
177
+ const entries = [];
178
+ map.forEach((value, key) => {
179
+ entries.push([key, value]);
180
+ });
181
+ return entries;
182
+ }
183
+ function inspectMap(map, options) {
184
+ if (map.size === 0) return "Map{}";
185
+ options.truncate -= 7;
186
+ return `Map{ ${inspectList(mapToEntries(map), options, inspectMapEntry)} }`;
187
+ }
188
+ const isNaN = Number.isNaN || ((i) => i !== i);
189
+ function inspectNumber(number, options) {
190
+ if (isNaN(number)) return options.stylize("NaN", "number");
191
+ if (number === Infinity) return options.stylize("Infinity", "number");
192
+ if (number === -Infinity) return options.stylize("-Infinity", "number");
193
+ if (number === 0) return options.stylize(1 / number === Infinity ? "+0" : "-0", "number");
194
+ return options.stylize(truncate(String(number), options.truncate), "number");
195
+ }
196
+ function inspectBigInt(number, options) {
197
+ let nums = truncate(number.toString(), options.truncate - 1);
198
+ if (nums !== truncator) nums += "n";
199
+ return options.stylize(nums, "bigint");
200
+ }
201
+ function inspectRegExp(value, options) {
202
+ const flags = value.toString().split("/")[2];
203
+ const sourceLength = options.truncate - (2 + flags.length);
204
+ const source = value.source;
205
+ return options.stylize(`/${truncate(source, sourceLength)}/${flags}`, "regexp");
206
+ }
207
+ function arrayFromSet(set) {
208
+ const values = [];
209
+ set.forEach((value) => {
210
+ values.push(value);
211
+ });
212
+ return values;
213
+ }
214
+ function inspectSet(set, options) {
215
+ if (set.size === 0) return "Set{}";
216
+ options.truncate -= 7;
217
+ return `Set{ ${inspectList(arrayFromSet(set), options)} }`;
218
+ }
219
+ const stringEscapeChars = /* @__PURE__ */ new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]", "g");
220
+ const escapeCharacters = {
221
+ "\b": "\\b",
222
+ " ": "\\t",
223
+ "\n": "\\n",
224
+ "\f": "\\f",
225
+ "\r": "\\r",
226
+ "'": "\\'",
227
+ "\\": "\\\\"
228
+ };
229
+ const hex = 16;
230
+ function escape(char) {
231
+ return escapeCharacters[char] || `\\u${`0000${char.charCodeAt(0).toString(hex)}`.slice(-4)}`;
232
+ }
233
+ function inspectString(string, options) {
234
+ if (stringEscapeChars.test(string)) string = string.replace(stringEscapeChars, escape);
235
+ return options.stylize(`'${truncate(string, options.truncate - 2)}'`, "string");
236
+ }
237
+ function inspectSymbol(value) {
238
+ if ("description" in Symbol.prototype) return value.description ? `Symbol(${value.description})` : "Symbol()";
239
+ return value.toString();
240
+ }
241
+ const getPromiseValue = () => "Promise{…}";
242
+ function inspectObject$1(object, options) {
243
+ const properties = Object.getOwnPropertyNames(object);
244
+ const symbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(object) : [];
245
+ if (properties.length === 0 && symbols.length === 0) return "{}";
246
+ options.truncate -= 4;
247
+ options.seen = options.seen || [];
248
+ if (options.seen.includes(object)) return "[Circular]";
249
+ options.seen.push(object);
250
+ const propertyContents = inspectList(properties.map((key) => [key, object[key]]), options, inspectProperty);
251
+ const symbolContents = inspectList(symbols.map((key) => [key, object[key]]), options, inspectProperty);
252
+ options.seen.pop();
253
+ let sep = "";
254
+ if (propertyContents && symbolContents) sep = ", ";
255
+ return `{ ${propertyContents}${sep}${symbolContents} }`;
256
+ }
257
+ const toStringTag = typeof Symbol !== "undefined" && Symbol.toStringTag ? Symbol.toStringTag : false;
258
+ function inspectClass(value, options) {
259
+ let name = "";
260
+ if (toStringTag && toStringTag in value) name = value[toStringTag];
261
+ name = name || value.constructor.name;
262
+ if (!name || name === "_class") name = "<Anonymous Class>";
263
+ options.truncate -= name.length;
264
+ return `${name}${inspectObject$1(value, options)}`;
265
+ }
266
+ function inspectArguments(args, options) {
267
+ if (args.length === 0) return "Arguments[]";
268
+ options.truncate -= 13;
269
+ return `Arguments[ ${inspectList(args, options)} ]`;
270
+ }
271
+ const errorKeys = [
272
+ "stack",
273
+ "line",
274
+ "column",
275
+ "name",
276
+ "message",
277
+ "fileName",
278
+ "lineNumber",
279
+ "columnNumber",
280
+ "number",
281
+ "description",
282
+ "cause"
283
+ ];
284
+ function inspectObject(error, options) {
285
+ const properties = Object.getOwnPropertyNames(error).filter((key) => errorKeys.indexOf(key) === -1);
286
+ const name = error.name;
287
+ options.truncate -= name.length;
288
+ let message = "";
289
+ if (typeof error.message === "string") message = truncate(error.message, options.truncate);
290
+ else properties.unshift("message");
291
+ message = message ? `: ${message}` : "";
292
+ options.truncate -= message.length + 5;
293
+ options.seen = options.seen || [];
294
+ if (options.seen.includes(error)) return "[Circular]";
295
+ options.seen.push(error);
296
+ const propertyContents = inspectList(properties.map((key) => [key, error[key]]), options, inspectProperty);
297
+ return `${name}${message}${propertyContents ? ` { ${propertyContents} }` : ""}`;
298
+ }
299
+ function inspectAttribute([key, value], options) {
300
+ options.truncate -= 3;
301
+ if (!value) return `${options.stylize(String(key), "yellow")}`;
302
+ return `${options.stylize(String(key), "yellow")}=${options.stylize(`"${value}"`, "string")}`;
303
+ }
304
+ function inspectNodeCollection(collection, options) {
305
+ return inspectList(collection, options, inspectNode, "\n");
306
+ }
307
+ function inspectNode(node, options) {
308
+ switch (node.nodeType) {
309
+ case 1: return inspectHTML(node, options);
310
+ case 3: return options.inspect(node.data, options);
311
+ default: return options.inspect(node, options);
312
+ }
313
+ }
314
+ function inspectHTML(element, options) {
315
+ const properties = element.getAttributeNames();
316
+ const name = element.tagName.toLowerCase();
317
+ const head = options.stylize(`<${name}`, "special");
318
+ const headClose = options.stylize(`>`, "special");
319
+ const tail = options.stylize(`</${name}>`, "special");
320
+ options.truncate -= name.length * 2 + 5;
321
+ let propertyContents = "";
322
+ if (properties.length > 0) {
323
+ propertyContents += " ";
324
+ propertyContents += inspectList(properties.map((key) => [key, element.getAttribute(key)]), options, inspectAttribute, " ");
325
+ }
326
+ options.truncate -= propertyContents.length;
327
+ const truncate = options.truncate;
328
+ let children = inspectNodeCollection(element.children, options);
329
+ if (children && children.length > truncate) children = `${truncator}(${element.children.length})`;
330
+ return `${head}${propertyContents}${headClose}${children}${tail}`;
331
+ }
332
+ const chaiInspect = typeof Symbol === "function" && typeof Symbol.for === "function" ? Symbol.for("chai/inspect") : "@@chai/inspect";
333
+ const nodeInspect = Symbol.for("nodejs.util.inspect.custom");
334
+ const constructorMap = /* @__PURE__ */ new WeakMap();
335
+ const stringTagMap = {};
336
+ const baseTypesMap = {
337
+ undefined: (value, options) => options.stylize("undefined", "undefined"),
338
+ null: (value, options) => options.stylize("null", "null"),
339
+ boolean: (value, options) => options.stylize(String(value), "boolean"),
340
+ Boolean: (value, options) => options.stylize(String(value), "boolean"),
341
+ number: inspectNumber,
342
+ Number: inspectNumber,
343
+ bigint: inspectBigInt,
344
+ BigInt: inspectBigInt,
345
+ string: inspectString,
346
+ String: inspectString,
347
+ function: inspectFunction,
348
+ Function: inspectFunction,
349
+ symbol: inspectSymbol,
350
+ Symbol: inspectSymbol,
351
+ Array: inspectArray,
352
+ Date: inspectDate,
353
+ Map: inspectMap,
354
+ Set: inspectSet,
355
+ RegExp: inspectRegExp,
356
+ Promise: getPromiseValue,
357
+ WeakSet: (value, options) => options.stylize("WeakSet{…}", "special"),
358
+ WeakMap: (value, options) => options.stylize("WeakMap{…}", "special"),
359
+ Arguments: inspectArguments,
360
+ Int8Array: inspectTypedArray,
361
+ Uint8Array: inspectTypedArray,
362
+ Uint8ClampedArray: inspectTypedArray,
363
+ Int16Array: inspectTypedArray,
364
+ Uint16Array: inspectTypedArray,
365
+ Int32Array: inspectTypedArray,
366
+ Uint32Array: inspectTypedArray,
367
+ Float32Array: inspectTypedArray,
368
+ Float64Array: inspectTypedArray,
369
+ Generator: () => "",
370
+ DataView: () => "",
371
+ ArrayBuffer: () => "",
372
+ Error: inspectObject,
373
+ HTMLCollection: inspectNodeCollection,
374
+ NodeList: inspectNodeCollection
375
+ };
376
+ const inspectCustom = (value, options, type, inspectFn) => {
377
+ if (chaiInspect in value && typeof value[chaiInspect] === "function") return value[chaiInspect](options);
378
+ if (nodeInspect in value && typeof value[nodeInspect] === "function") return value[nodeInspect](options.depth, options, inspectFn);
379
+ if ("inspect" in value && typeof value.inspect === "function") return value.inspect(options.depth, options);
380
+ if ("constructor" in value && constructorMap.has(value.constructor)) return constructorMap.get(value.constructor)(value, options);
381
+ if (stringTagMap[type]) return stringTagMap[type](value, options);
382
+ return "";
383
+ };
384
+ const toString = Object.prototype.toString;
385
+ function inspect$1(value, opts = {}) {
386
+ const options = normaliseOptions(opts, inspect$1);
387
+ const { customInspect } = options;
388
+ let type = value === null ? "null" : typeof value;
389
+ if (type === "object") type = toString.call(value).slice(8, -1);
390
+ if (type in baseTypesMap) return baseTypesMap[type](value, options);
391
+ if (customInspect && value) {
392
+ const output = inspectCustom(value, options, type, inspect$1);
393
+ if (output) {
394
+ if (typeof output === "string") return output;
395
+ return inspect$1(output, options);
396
+ }
397
+ }
398
+ const proto = value ? Object.getPrototypeOf(value) : false;
399
+ if (proto === Object.prototype || proto === null) return inspectObject$1(value, options);
400
+ if (value && typeof HTMLElement === "function" && value instanceof HTMLElement) return inspectHTML(value, options);
401
+ if ("constructor" in value) {
402
+ if (value.constructor !== Object) return inspectClass(value, options);
403
+ return inspectObject$1(value, options);
404
+ }
405
+ if (value === Object(value)) return inspectObject$1(value, options);
406
+ return options.stylize(String(value), type);
407
+ }
408
+ const { AsymmetricMatcher, DOMCollection, DOMElement, Immutable, ReactElement, ReactTestComponent } = require_index.plugins;
409
+ const PLUGINS = [
410
+ ReactTestComponent,
411
+ ReactElement,
412
+ DOMElement,
413
+ DOMCollection,
414
+ Immutable,
415
+ AsymmetricMatcher
416
+ ];
417
+ function stringify(object, maxDepth = 10, { maxLength, filterNode, ...options } = {}) {
418
+ const MAX_LENGTH = maxLength ?? 1e4;
419
+ let result;
420
+ const filterFn = typeof filterNode === "string" ? createNodeFilterFromSelector(filterNode) : filterNode;
421
+ const plugins = filterFn ? [
422
+ ReactTestComponent,
423
+ ReactElement,
424
+ require_index.createDOMElementFilter(filterFn),
425
+ DOMCollection,
426
+ Immutable,
427
+ AsymmetricMatcher
428
+ ] : PLUGINS;
429
+ try {
430
+ result = require_index.format(object, {
431
+ maxDepth,
432
+ escapeString: false,
433
+ plugins,
434
+ ...options
435
+ });
436
+ } catch {
437
+ result = require_index.format(object, {
438
+ callToJSON: false,
439
+ maxDepth,
440
+ escapeString: false,
441
+ plugins,
442
+ ...options
443
+ });
444
+ }
445
+ return result.length >= MAX_LENGTH && maxDepth > 1 ? stringify(object, Math.floor(Math.min(maxDepth, Number.MAX_SAFE_INTEGER) / 2), {
446
+ maxLength,
447
+ filterNode,
448
+ ...options
449
+ }) : result;
450
+ }
451
+ function createNodeFilterFromSelector(selector) {
452
+ const ELEMENT_NODE = 1;
453
+ const COMMENT_NODE = 8;
454
+ return (node) => {
455
+ if (node.nodeType === COMMENT_NODE) return false;
456
+ if (node.nodeType === ELEMENT_NODE && node.matches) try {
457
+ return !node.matches(selector);
458
+ } catch {
459
+ return true;
460
+ }
461
+ return true;
462
+ };
463
+ }
464
+ const formatRegExp = /%[sdjifoOc%]/g;
465
+ function baseFormat(args, options = {}) {
466
+ const formatArg = (item, inspecOptions) => {
467
+ if (options.prettifyObject) return stringify(item, void 0, {
468
+ printBasicPrototype: false,
469
+ escapeString: false
470
+ });
471
+ return inspect(item, inspecOptions);
472
+ };
473
+ if (typeof args[0] !== "string") {
474
+ const objects = [];
475
+ for (let i = 0; i < args.length; i++) objects.push(formatArg(args[i], {
476
+ depth: 0,
477
+ colors: false
478
+ }));
479
+ return objects.join(" ");
480
+ }
481
+ const len = args.length;
482
+ let i = 1;
483
+ const template = args[0];
484
+ let str = String(template).replace(formatRegExp, (x) => {
485
+ if (x === "%%") return "%";
486
+ if (i >= len) return x;
487
+ switch (x) {
488
+ case "%s": {
489
+ const value = args[i++];
490
+ if (typeof value === "bigint") return `${value.toString()}n`;
491
+ if (typeof value === "number" && value === 0 && 1 / value < 0) return "-0";
492
+ if (typeof value === "object" && value !== null) {
493
+ if (typeof value.toString === "function" && value.toString !== Object.prototype.toString) return value.toString();
494
+ return formatArg(value, {
495
+ depth: 0,
496
+ colors: false
497
+ });
498
+ }
499
+ return String(value);
500
+ }
501
+ case "%d": {
502
+ const value = args[i++];
503
+ if (typeof value === "bigint") return `${value.toString()}n`;
504
+ if (typeof value === "symbol") return "NaN";
505
+ return Number(value).toString();
506
+ }
507
+ case "%i": {
508
+ const value = args[i++];
509
+ if (typeof value === "bigint") return `${value.toString()}n`;
510
+ return Number.parseInt(String(value)).toString();
511
+ }
512
+ case "%f": return Number.parseFloat(String(args[i++])).toString();
513
+ case "%o": return formatArg(args[i++], {
514
+ showHidden: true,
515
+ showProxy: true
516
+ });
517
+ case "%O": return formatArg(args[i++]);
518
+ case "%c":
519
+ i++;
520
+ return "";
521
+ case "%j": try {
522
+ return JSON.stringify(args[i++]);
523
+ } catch (err) {
524
+ const m = err.message;
525
+ if (m.includes("circular structure") || m.includes("cyclic structures") || m.includes("cyclic object")) return "[Circular]";
526
+ throw err;
527
+ }
528
+ default: return x;
529
+ }
530
+ });
531
+ for (let x = args[i]; i < len; x = args[++i]) if (x === null || typeof x !== "object") str += ` ${typeof x === "symbol" ? x.toString() : x}`;
532
+ else str += ` ${formatArg(x)}`;
533
+ return str;
534
+ }
535
+ function format(...args) {
536
+ return baseFormat(args);
537
+ }
538
+ function inspect(obj, options = {}) {
539
+ if (options.truncate === 0) options.truncate = Number.POSITIVE_INFINITY;
540
+ return inspect$1(obj, options);
541
+ }
542
+ function objDisplay(obj, options = {}) {
543
+ if (typeof options.truncate === "undefined") options.truncate = 40;
544
+ const str = inspect(obj, options);
545
+ const type = Object.prototype.toString.call(obj);
546
+ if (options.truncate && str.length >= options.truncate) if (type === "[object Function]") {
547
+ const fn = obj;
548
+ return !fn.name ? "[Function]" : `[Function: ${fn.name}]`;
549
+ } else if (type === "[object Array]") return `[ Array(${obj.length}) ]`;
550
+ else if (type === "[object Object]") {
551
+ const keys = Object.keys(obj);
552
+ return `{ Object (${keys.length > 2 ? `${keys.splice(0, 2).join(", ")}, ...` : keys.join(", ")}) }`;
553
+ } else return str;
554
+ return str;
555
+ }
556
+
557
+ //#endregion
558
+ exports.format = format;
559
+ exports.formatRegExp = formatRegExp;
560
+ exports.objDisplay = objDisplay;
561
+ exports.stringify = stringify;