structured-outputs 0.1.0-beta.20 → 0.1.0-beta.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (320) hide show
  1. package/esm/ResponseFormat.d.ts +21 -0
  2. package/esm/ResponseFormat.d.ts.map +1 -0
  3. package/esm/ResponseFormat.js +43 -19
  4. package/esm/ResponseFormat.js.map +1 -1
  5. package/esm/oai.d.ts +5 -0
  6. package/esm/oai.d.ts.map +1 -0
  7. package/esm/oai.js +2 -0
  8. package/esm/oai.js.map +1 -0
  9. package/package.json +5 -10
  10. package/src/ResponseFormat.ts +48 -41
  11. package/src/oai.ts +5 -0
  12. package/esm/_dnt.shims.js +0 -58
  13. package/esm/_dnt.shims.js.map +0 -1
  14. package/esm/deps/jsr.io/@std/assert/1.0.8/almost_equals.js +0 -47
  15. package/esm/deps/jsr.io/@std/assert/1.0.8/almost_equals.js.map +0 -1
  16. package/esm/deps/jsr.io/@std/assert/1.0.8/array_includes.js +0 -47
  17. package/esm/deps/jsr.io/@std/assert/1.0.8/array_includes.js.map +0 -1
  18. package/esm/deps/jsr.io/@std/assert/1.0.8/assert.js +0 -23
  19. package/esm/deps/jsr.io/@std/assert/1.0.8/assert.js.map +0 -1
  20. package/esm/deps/jsr.io/@std/assert/1.0.8/assertion_error.js +0 -31
  21. package/esm/deps/jsr.io/@std/assert/1.0.8/assertion_error.js.map +0 -1
  22. package/esm/deps/jsr.io/@std/assert/1.0.8/equal.js +0 -184
  23. package/esm/deps/jsr.io/@std/assert/1.0.8/equal.js.map +0 -1
  24. package/esm/deps/jsr.io/@std/assert/1.0.8/equals.js +0 -46
  25. package/esm/deps/jsr.io/@std/assert/1.0.8/equals.js.map +0 -1
  26. package/esm/deps/jsr.io/@std/assert/1.0.8/exists.js +0 -28
  27. package/esm/deps/jsr.io/@std/assert/1.0.8/exists.js.map +0 -1
  28. package/esm/deps/jsr.io/@std/assert/1.0.8/fail.js +0 -21
  29. package/esm/deps/jsr.io/@std/assert/1.0.8/fail.js.map +0 -1
  30. package/esm/deps/jsr.io/@std/assert/1.0.8/false.js +0 -23
  31. package/esm/deps/jsr.io/@std/assert/1.0.8/false.js.map +0 -1
  32. package/esm/deps/jsr.io/@std/assert/1.0.8/greater.js +0 -30
  33. package/esm/deps/jsr.io/@std/assert/1.0.8/greater.js.map +0 -1
  34. package/esm/deps/jsr.io/@std/assert/1.0.8/greater_or_equal.js +0 -30
  35. package/esm/deps/jsr.io/@std/assert/1.0.8/greater_or_equal.js.map +0 -1
  36. package/esm/deps/jsr.io/@std/assert/1.0.8/instance_of.js +0 -53
  37. package/esm/deps/jsr.io/@std/assert/1.0.8/instance_of.js.map +0 -1
  38. package/esm/deps/jsr.io/@std/assert/1.0.8/is_error.js +0 -54
  39. package/esm/deps/jsr.io/@std/assert/1.0.8/is_error.js.map +0 -1
  40. package/esm/deps/jsr.io/@std/assert/1.0.8/less.js +0 -29
  41. package/esm/deps/jsr.io/@std/assert/1.0.8/less.js.map +0 -1
  42. package/esm/deps/jsr.io/@std/assert/1.0.8/less_or_equal.js +0 -30
  43. package/esm/deps/jsr.io/@std/assert/1.0.8/less_or_equal.js.map +0 -1
  44. package/esm/deps/jsr.io/@std/assert/1.0.8/match.js +0 -27
  45. package/esm/deps/jsr.io/@std/assert/1.0.8/match.js.map +0 -1
  46. package/esm/deps/jsr.io/@std/assert/1.0.8/mod.js +0 -46
  47. package/esm/deps/jsr.io/@std/assert/1.0.8/mod.js.map +0 -1
  48. package/esm/deps/jsr.io/@std/assert/1.0.8/not_equals.js +0 -33
  49. package/esm/deps/jsr.io/@std/assert/1.0.8/not_equals.js.map +0 -1
  50. package/esm/deps/jsr.io/@std/assert/1.0.8/not_instance_of.js +0 -30
  51. package/esm/deps/jsr.io/@std/assert/1.0.8/not_instance_of.js.map +0 -1
  52. package/esm/deps/jsr.io/@std/assert/1.0.8/not_match.js +0 -27
  53. package/esm/deps/jsr.io/@std/assert/1.0.8/not_match.js.map +0 -1
  54. package/esm/deps/jsr.io/@std/assert/1.0.8/not_strict_equals.js +0 -33
  55. package/esm/deps/jsr.io/@std/assert/1.0.8/not_strict_equals.js.map +0 -1
  56. package/esm/deps/jsr.io/@std/assert/1.0.8/object_match.js +0 -160
  57. package/esm/deps/jsr.io/@std/assert/1.0.8/object_match.js.map +0 -1
  58. package/esm/deps/jsr.io/@std/assert/1.0.8/rejects.js +0 -54
  59. package/esm/deps/jsr.io/@std/assert/1.0.8/rejects.js.map +0 -1
  60. package/esm/deps/jsr.io/@std/assert/1.0.8/strict_equals.js +0 -58
  61. package/esm/deps/jsr.io/@std/assert/1.0.8/strict_equals.js.map +0 -1
  62. package/esm/deps/jsr.io/@std/assert/1.0.8/string_includes.js +0 -27
  63. package/esm/deps/jsr.io/@std/assert/1.0.8/string_includes.js.map +0 -1
  64. package/esm/deps/jsr.io/@std/assert/1.0.8/throws.js +0 -45
  65. package/esm/deps/jsr.io/@std/assert/1.0.8/throws.js.map +0 -1
  66. package/esm/deps/jsr.io/@std/assert/1.0.8/unimplemented.js +0 -21
  67. package/esm/deps/jsr.io/@std/assert/1.0.8/unimplemented.js.map +0 -1
  68. package/esm/deps/jsr.io/@std/assert/1.0.8/unreachable.js +0 -21
  69. package/esm/deps/jsr.io/@std/assert/1.0.8/unreachable.js.map +0 -1
  70. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.js +0 -111
  71. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.js.map +0 -1
  72. package/esm/deps/jsr.io/@std/internal/1.0.5/diff.js +0 -277
  73. package/esm/deps/jsr.io/@std/internal/1.0.5/diff.js.map +0 -1
  74. package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.js +0 -180
  75. package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.js.map +0 -1
  76. package/esm/deps/jsr.io/@std/internal/1.0.5/format.js +0 -38
  77. package/esm/deps/jsr.io/@std/internal/1.0.5/format.js.map +0 -1
  78. package/esm/deps/jsr.io/@std/internal/1.0.5/styles.js +0 -208
  79. package/esm/deps/jsr.io/@std/internal/1.0.5/styles.js.map +0 -1
  80. package/esm/deps/jsr.io/@std/internal/1.0.5/types.js +0 -3
  81. package/esm/deps/jsr.io/@std/internal/1.0.5/types.js.map +0 -1
  82. package/src/_dnt.shims.ts +0 -60
  83. package/src/deps/jsr.io/@std/assert/1.0.8/almost_equals.ts +0 -55
  84. package/src/deps/jsr.io/@std/assert/1.0.8/array_includes.ts +0 -57
  85. package/src/deps/jsr.io/@std/assert/1.0.8/assert.ts +0 -23
  86. package/src/deps/jsr.io/@std/assert/1.0.8/assertion_error.ts +0 -31
  87. package/src/deps/jsr.io/@std/assert/1.0.8/equal.ts +0 -210
  88. package/src/deps/jsr.io/@std/assert/1.0.8/equals.ts +0 -52
  89. package/src/deps/jsr.io/@std/assert/1.0.8/exists.ts +0 -31
  90. package/src/deps/jsr.io/@std/assert/1.0.8/fail.ts +0 -21
  91. package/src/deps/jsr.io/@std/assert/1.0.8/false.ts +0 -26
  92. package/src/deps/jsr.io/@std/assert/1.0.8/greater.ts +0 -30
  93. package/src/deps/jsr.io/@std/assert/1.0.8/greater_or_equal.ts +0 -36
  94. package/src/deps/jsr.io/@std/assert/1.0.8/instance_of.ts +0 -64
  95. package/src/deps/jsr.io/@std/assert/1.0.8/is_error.ts +0 -65
  96. package/src/deps/jsr.io/@std/assert/1.0.8/less.ts +0 -29
  97. package/src/deps/jsr.io/@std/assert/1.0.8/less_or_equal.ts +0 -36
  98. package/src/deps/jsr.io/@std/assert/1.0.8/match.ts +0 -30
  99. package/src/deps/jsr.io/@std/assert/1.0.8/mod.ts +0 -47
  100. package/src/deps/jsr.io/@std/assert/1.0.8/not_equals.ts +0 -36
  101. package/src/deps/jsr.io/@std/assert/1.0.8/not_instance_of.ts +0 -33
  102. package/src/deps/jsr.io/@std/assert/1.0.8/not_match.ts +0 -30
  103. package/src/deps/jsr.io/@std/assert/1.0.8/not_strict_equals.ts +0 -42
  104. package/src/deps/jsr.io/@std/assert/1.0.8/object_match.ts +0 -202
  105. package/src/deps/jsr.io/@std/assert/1.0.8/rejects.ts +0 -123
  106. package/src/deps/jsr.io/@std/assert/1.0.8/strict_equals.ts +0 -67
  107. package/src/deps/jsr.io/@std/assert/1.0.8/string_includes.ts +0 -30
  108. package/src/deps/jsr.io/@std/assert/1.0.8/throws.ts +0 -111
  109. package/src/deps/jsr.io/@std/assert/1.0.8/unimplemented.ts +0 -21
  110. package/src/deps/jsr.io/@std/assert/1.0.8/unreachable.ts +0 -21
  111. package/src/deps/jsr.io/@std/internal/1.0.5/build_message.ts +0 -134
  112. package/src/deps/jsr.io/@std/internal/1.0.5/diff.ts +0 -317
  113. package/src/deps/jsr.io/@std/internal/1.0.5/diff_str.ts +0 -204
  114. package/src/deps/jsr.io/@std/internal/1.0.5/format.ts +0 -39
  115. package/src/deps/jsr.io/@std/internal/1.0.5/styles.ts +0 -233
  116. package/src/deps/jsr.io/@std/internal/1.0.5/types.ts +0 -18
  117. package/types/ResponseFormat.d.ts +0 -26
  118. package/types/ResponseFormat.d.ts.map +0 -1
  119. package/types/_dnt.shims.d.ts +0 -2
  120. package/types/_dnt.shims.d.ts.map +0 -1
  121. package/types/deps/jsr.io/@std/assert/1.0.8/almost_equals.d.ts +0 -29
  122. package/types/deps/jsr.io/@std/assert/1.0.8/almost_equals.d.ts.map +0 -1
  123. package/types/deps/jsr.io/@std/assert/1.0.8/array_includes.d.ts +0 -24
  124. package/types/deps/jsr.io/@std/assert/1.0.8/array_includes.d.ts.map +0 -1
  125. package/types/deps/jsr.io/@std/assert/1.0.8/assert.d.ts +0 -16
  126. package/types/deps/jsr.io/@std/assert/1.0.8/assert.d.ts.map +0 -1
  127. package/types/deps/jsr.io/@std/assert/1.0.8/assertion_error.d.ts +0 -26
  128. package/types/deps/jsr.io/@std/assert/1.0.8/assertion_error.d.ts.map +0 -1
  129. package/types/deps/jsr.io/@std/assert/1.0.8/equal.d.ts +0 -17
  130. package/types/deps/jsr.io/@std/assert/1.0.8/equal.d.ts.map +0 -1
  131. package/types/deps/jsr.io/@std/assert/1.0.8/equals.d.ts +0 -22
  132. package/types/deps/jsr.io/@std/assert/1.0.8/equals.d.ts.map +0 -1
  133. package/types/deps/jsr.io/@std/assert/1.0.8/exists.d.ts +0 -18
  134. package/types/deps/jsr.io/@std/assert/1.0.8/exists.d.ts.map +0 -1
  135. package/types/deps/jsr.io/@std/assert/1.0.8/fail.d.ts +0 -15
  136. package/types/deps/jsr.io/@std/assert/1.0.8/fail.d.ts.map +0 -1
  137. package/types/deps/jsr.io/@std/assert/1.0.8/false.d.ts +0 -18
  138. package/types/deps/jsr.io/@std/assert/1.0.8/false.d.ts.map +0 -1
  139. package/types/deps/jsr.io/@std/assert/1.0.8/greater.d.ts +0 -20
  140. package/types/deps/jsr.io/@std/assert/1.0.8/greater.d.ts.map +0 -1
  141. package/types/deps/jsr.io/@std/assert/1.0.8/greater_or_equal.d.ts +0 -20
  142. package/types/deps/jsr.io/@std/assert/1.0.8/greater_or_equal.d.ts.map +0 -1
  143. package/types/deps/jsr.io/@std/assert/1.0.8/instance_of.d.ts +0 -23
  144. package/types/deps/jsr.io/@std/assert/1.0.8/instance_of.d.ts.map +0 -1
  145. package/types/deps/jsr.io/@std/assert/1.0.8/is_error.d.ts +0 -25
  146. package/types/deps/jsr.io/@std/assert/1.0.8/is_error.d.ts.map +0 -1
  147. package/types/deps/jsr.io/@std/assert/1.0.8/less.d.ts +0 -19
  148. package/types/deps/jsr.io/@std/assert/1.0.8/less.d.ts.map +0 -1
  149. package/types/deps/jsr.io/@std/assert/1.0.8/less_or_equal.d.ts +0 -20
  150. package/types/deps/jsr.io/@std/assert/1.0.8/less_or_equal.d.ts.map +0 -1
  151. package/types/deps/jsr.io/@std/assert/1.0.8/match.d.ts +0 -18
  152. package/types/deps/jsr.io/@std/assert/1.0.8/match.d.ts.map +0 -1
  153. package/types/deps/jsr.io/@std/assert/1.0.8/mod.d.ts +0 -44
  154. package/types/deps/jsr.io/@std/assert/1.0.8/mod.d.ts.map +0 -1
  155. package/types/deps/jsr.io/@std/assert/1.0.8/not_equals.d.ts +0 -21
  156. package/types/deps/jsr.io/@std/assert/1.0.8/not_equals.d.ts.map +0 -1
  157. package/types/deps/jsr.io/@std/assert/1.0.8/not_instance_of.d.ts +0 -20
  158. package/types/deps/jsr.io/@std/assert/1.0.8/not_instance_of.d.ts.map +0 -1
  159. package/types/deps/jsr.io/@std/assert/1.0.8/not_match.d.ts +0 -18
  160. package/types/deps/jsr.io/@std/assert/1.0.8/not_match.d.ts.map +0 -1
  161. package/types/deps/jsr.io/@std/assert/1.0.8/not_strict_equals.d.ts +0 -23
  162. package/types/deps/jsr.io/@std/assert/1.0.8/not_strict_equals.d.ts.map +0 -1
  163. package/types/deps/jsr.io/@std/assert/1.0.8/object_match.d.ts +0 -28
  164. package/types/deps/jsr.io/@std/assert/1.0.8/object_match.d.ts.map +0 -1
  165. package/types/deps/jsr.io/@std/assert/1.0.8/rejects.d.ts +0 -42
  166. package/types/deps/jsr.io/@std/assert/1.0.8/rejects.d.ts.map +0 -1
  167. package/types/deps/jsr.io/@std/assert/1.0.8/strict_equals.d.ts +0 -24
  168. package/types/deps/jsr.io/@std/assert/1.0.8/strict_equals.d.ts.map +0 -1
  169. package/types/deps/jsr.io/@std/assert/1.0.8/string_includes.d.ts +0 -18
  170. package/types/deps/jsr.io/@std/assert/1.0.8/string_includes.d.ts.map +0 -1
  171. package/types/deps/jsr.io/@std/assert/1.0.8/throws.d.ts +0 -45
  172. package/types/deps/jsr.io/@std/assert/1.0.8/throws.d.ts.map +0 -1
  173. package/types/deps/jsr.io/@std/assert/1.0.8/unimplemented.d.ts +0 -15
  174. package/types/deps/jsr.io/@std/assert/1.0.8/unimplemented.d.ts.map +0 -1
  175. package/types/deps/jsr.io/@std/assert/1.0.8/unreachable.d.ts +0 -15
  176. package/types/deps/jsr.io/@std/assert/1.0.8/unreachable.d.ts.map +0 -1
  177. package/types/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts +0 -82
  178. package/types/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +0 -1
  179. package/types/deps/jsr.io/@std/internal/1.0.5/diff.d.ts +0 -140
  180. package/types/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +0 -1
  181. package/types/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts +0 -99
  182. package/types/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +0 -1
  183. package/types/deps/jsr.io/@std/internal/1.0.5/format.d.ts +0 -2
  184. package/types/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +0 -1
  185. package/types/deps/jsr.io/@std/internal/1.0.5/styles.d.ts +0 -159
  186. package/types/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +0 -1
  187. package/types/deps/jsr.io/@std/internal/1.0.5/types.d.ts +0 -16
  188. package/types/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +0 -1
  189. /package/{types → esm}/Tool.d.ts +0 -0
  190. /package/{types → esm}/Tool.d.ts.map +0 -0
  191. /package/{types → esm}/_dnt.polyfills.d.ts +0 -0
  192. /package/{types → esm}/_dnt.polyfills.d.ts.map +0 -0
  193. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/_utils.d.ts +0 -0
  194. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/_utils.d.ts.map +0 -0
  195. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/aggregate_groups.d.ts +0 -0
  196. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/aggregate_groups.d.ts.map +0 -0
  197. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/associate_by.d.ts +0 -0
  198. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/associate_by.d.ts.map +0 -0
  199. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/associate_with.d.ts +0 -0
  200. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/associate_with.d.ts.map +0 -0
  201. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/chunk.d.ts +0 -0
  202. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/chunk.d.ts.map +0 -0
  203. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/deep_merge.d.ts +0 -0
  204. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/deep_merge.d.ts.map +0 -0
  205. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/distinct.d.ts +0 -0
  206. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/distinct.d.ts.map +0 -0
  207. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/distinct_by.d.ts +0 -0
  208. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/distinct_by.d.ts.map +0 -0
  209. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/drop_last_while.d.ts +0 -0
  210. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/drop_last_while.d.ts.map +0 -0
  211. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/drop_while.d.ts +0 -0
  212. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/drop_while.d.ts.map +0 -0
  213. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/filter_entries.d.ts +0 -0
  214. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/filter_entries.d.ts.map +0 -0
  215. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/filter_keys.d.ts +0 -0
  216. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/filter_keys.d.ts.map +0 -0
  217. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/filter_values.d.ts +0 -0
  218. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/filter_values.d.ts.map +0 -0
  219. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/find_single.d.ts +0 -0
  220. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/find_single.d.ts.map +0 -0
  221. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/first_not_nullish_of.d.ts +0 -0
  222. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/first_not_nullish_of.d.ts.map +0 -0
  223. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/includes_value.d.ts +0 -0
  224. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/includes_value.d.ts.map +0 -0
  225. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/intersect.d.ts +0 -0
  226. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/intersect.d.ts.map +0 -0
  227. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/invert.d.ts +0 -0
  228. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/invert.d.ts.map +0 -0
  229. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/invert_by.d.ts +0 -0
  230. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/invert_by.d.ts.map +0 -0
  231. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/join_to_string.d.ts +0 -0
  232. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/join_to_string.d.ts.map +0 -0
  233. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/map_entries.d.ts +0 -0
  234. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/map_entries.d.ts.map +0 -0
  235. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/map_keys.d.ts +0 -0
  236. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/map_keys.d.ts.map +0 -0
  237. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/map_not_nullish.d.ts +0 -0
  238. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/map_not_nullish.d.ts.map +0 -0
  239. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/map_values.d.ts +0 -0
  240. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/map_values.d.ts.map +0 -0
  241. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/max_by.d.ts +0 -0
  242. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/max_by.d.ts.map +0 -0
  243. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/max_of.d.ts +0 -0
  244. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/max_of.d.ts.map +0 -0
  245. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/max_with.d.ts +0 -0
  246. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/max_with.d.ts.map +0 -0
  247. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/min_by.d.ts +0 -0
  248. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/min_by.d.ts.map +0 -0
  249. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/min_of.d.ts +0 -0
  250. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/min_of.d.ts.map +0 -0
  251. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/min_with.d.ts +0 -0
  252. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/min_with.d.ts.map +0 -0
  253. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/mod.d.ts +0 -0
  254. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/mod.d.ts.map +0 -0
  255. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/omit.d.ts +0 -0
  256. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/omit.d.ts.map +0 -0
  257. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/partition.d.ts +0 -0
  258. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/partition.d.ts.map +0 -0
  259. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/partition_entries.d.ts +0 -0
  260. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/partition_entries.d.ts.map +0 -0
  261. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/permutations.d.ts +0 -0
  262. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/permutations.d.ts.map +0 -0
  263. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/pick.d.ts +0 -0
  264. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/pick.d.ts.map +0 -0
  265. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/reduce_groups.d.ts +0 -0
  266. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/reduce_groups.d.ts.map +0 -0
  267. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/running_reduce.d.ts +0 -0
  268. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/running_reduce.d.ts.map +0 -0
  269. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/sample.d.ts +0 -0
  270. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/sample.d.ts.map +0 -0
  271. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/sliding_windows.d.ts +0 -0
  272. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/sliding_windows.d.ts.map +0 -0
  273. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/sort_by.d.ts +0 -0
  274. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/sort_by.d.ts.map +0 -0
  275. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/sum_of.d.ts +0 -0
  276. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/sum_of.d.ts.map +0 -0
  277. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/take_last_while.d.ts +0 -0
  278. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/take_last_while.d.ts.map +0 -0
  279. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/take_while.d.ts +0 -0
  280. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/take_while.d.ts.map +0 -0
  281. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/union.d.ts +0 -0
  282. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/union.d.ts.map +0 -0
  283. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/unzip.d.ts +0 -0
  284. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/unzip.d.ts.map +0 -0
  285. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/without_all.d.ts +0 -0
  286. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/without_all.d.ts.map +0 -0
  287. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/zip.d.ts +0 -0
  288. /package/{types → esm}/deps/jsr.io/@std/collections/1.0.9/zip.d.ts.map +0 -0
  289. /package/{types → esm}/mod.d.ts +0 -0
  290. /package/{types → esm}/mod.d.ts.map +0 -0
  291. /package/{types → esm}/types/Ref.d.ts +0 -0
  292. /package/{types → esm}/types/Ref.d.ts.map +0 -0
  293. /package/{types → esm}/types/RootTy.d.ts +0 -0
  294. /package/{types → esm}/types/RootTy.d.ts.map +0 -0
  295. /package/{types → esm}/types/Ty.d.ts +0 -0
  296. /package/{types → esm}/types/Ty.d.ts.map +0 -0
  297. /package/{types → esm}/types/array.d.ts +0 -0
  298. /package/{types → esm}/types/array.d.ts.map +0 -0
  299. /package/{types → esm}/types/constant.d.ts +0 -0
  300. /package/{types → esm}/types/constant.d.ts.map +0 -0
  301. /package/{types → esm}/types/constantUnion.d.ts +0 -0
  302. /package/{types → esm}/types/constantUnion.d.ts.map +0 -0
  303. /package/{types → esm}/types/leaves.d.ts +0 -0
  304. /package/{types → esm}/types/leaves.d.ts.map +0 -0
  305. /package/{types → esm}/types/mod.d.ts +0 -0
  306. /package/{types → esm}/types/mod.d.ts.map +0 -0
  307. /package/{types → esm}/types/object.d.ts +0 -0
  308. /package/{types → esm}/types/object.d.ts.map +0 -0
  309. /package/{types → esm}/types/std/Option.d.ts +0 -0
  310. /package/{types → esm}/types/std/Option.d.ts.map +0 -0
  311. /package/{types → esm}/types/std/Wrapper.d.ts +0 -0
  312. /package/{types → esm}/types/std/Wrapper.d.ts.map +0 -0
  313. /package/{types → esm}/types/std/mod.d.ts +0 -0
  314. /package/{types → esm}/types/std/mod.d.ts.map +0 -0
  315. /package/{types → esm}/types/taggedUnion.d.ts +0 -0
  316. /package/{types → esm}/types/taggedUnion.d.ts.map +0 -0
  317. /package/{types → esm}/util/phantoms.d.ts +0 -0
  318. /package/{types → esm}/util/phantoms.d.ts.map +0 -0
  319. /package/{types → esm}/util/recombineTaggedTemplateArgs.d.ts +0 -0
  320. /package/{types → esm}/util/recombineTaggedTemplateArgs.d.ts.map +0 -0
@@ -1,20 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` is less than or equal to `expected`.
3
- * If not then throw.
4
- *
5
- * @example Usage
6
- * ```ts ignore
7
- * import { assertLessOrEqual } from "@std/assert";
8
- *
9
- * assertLessOrEqual(1, 2); // Doesn't throw
10
- * assertLessOrEqual(1, 1); // Doesn't throw
11
- * assertLessOrEqual(1, 0); // Throws
12
- * ```
13
- *
14
- * @typeParam T The type of the values to compare.
15
- * @param actual The actual value to compare.
16
- * @param expected The expected value to compare.
17
- * @param msg The optional message to display if the assertion fails.
18
- */
19
- export declare function assertLessOrEqual<T>(actual: T, expected: T, msg?: string): void;
20
- //# sourceMappingURL=less_or_equal.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"less_or_equal.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.8/less_or_equal.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,EACjC,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,QASb"}
@@ -1,18 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` match RegExp `expected`. If not
3
- * then throw.
4
- *
5
- * @example Usage
6
- * ```ts ignore
7
- * import { assertMatch } from "@std/assert";
8
- *
9
- * assertMatch("Raptor", /Raptor/); // Doesn't throw
10
- * assertMatch("Denosaurus", /Raptor/); // Throws
11
- * ```
12
- *
13
- * @param actual The actual value to be matched.
14
- * @param expected The expected pattern to match.
15
- * @param msg The optional message to display if the assertion fails.
16
- */
17
- export declare function assertMatch(actual: string, expected: RegExp, msg?: string): void;
18
- //# sourceMappingURL=match.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"match.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.8/match.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,WAAW,CACzB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,GAAG,CAAC,EAAE,MAAM,QAMb"}
@@ -1,44 +0,0 @@
1
- /** A library of assertion functions.
2
- * If the assertion is false an `AssertionError` will be thrown which will
3
- * result in pretty-printed diff of failing assertion.
4
- *
5
- * This module is browser compatible, but do not rely on good formatting of
6
- * values for AssertionError messages in browsers.
7
- *
8
- * ```ts ignore
9
- * import { assert } from "@std/assert";
10
- *
11
- * assert("I am truthy"); // Doesn't throw
12
- * assert(false); // Throws `AssertionError`
13
- * ```
14
- *
15
- * @module
16
- */
17
- export * from "./almost_equals.js";
18
- export * from "./array_includes.js";
19
- export * from "./equals.js";
20
- export * from "./exists.js";
21
- export * from "./false.js";
22
- export * from "./greater_or_equal.js";
23
- export * from "./greater.js";
24
- export * from "./instance_of.js";
25
- export * from "./is_error.js";
26
- export * from "./less_or_equal.js";
27
- export * from "./less.js";
28
- export * from "./match.js";
29
- export * from "./not_equals.js";
30
- export * from "./not_instance_of.js";
31
- export * from "./not_match.js";
32
- export * from "./not_strict_equals.js";
33
- export * from "./object_match.js";
34
- export * from "./rejects.js";
35
- export * from "./strict_equals.js";
36
- export * from "./string_includes.js";
37
- export * from "./throws.js";
38
- export * from "./assert.js";
39
- export * from "./assertion_error.js";
40
- export * from "./equal.js";
41
- export * from "./fail.js";
42
- export * from "./unimplemented.js";
43
- export * from "./unreachable.js";
44
- //# sourceMappingURL=mod.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.8/mod.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;GAeG;AAEH,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
@@ -1,21 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` and `expected` are not equal, deeply.
3
- * If not then throw.
4
- *
5
- * Type parameter can be specified to ensure values under comparison have the same type.
6
- *
7
- * @example Usage
8
- * ```ts ignore
9
- * import { assertNotEquals } from "@std/assert";
10
- *
11
- * assertNotEquals(1, 2); // Doesn't throw
12
- * assertNotEquals(1, 1); // Throws
13
- * ```
14
- *
15
- * @typeParam T The type of the values to compare.
16
- * @param actual The actual value to compare.
17
- * @param expected The expected value to compare.
18
- * @param msg The optional message to display if the assertion fails.
19
- */
20
- export declare function assertNotEquals<T>(actual: T, expected: T, msg?: string): void;
21
- //# sourceMappingURL=not_equals.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"not_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.8/not_equals.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,MAAM,QAUtE"}
@@ -1,20 +0,0 @@
1
- /**
2
- * Make an assertion that `obj` is not an instance of `type`.
3
- * If so, then throw.
4
- *
5
- * @example Usage
6
- * ```ts ignore
7
- * import { assertNotInstanceOf } from "@std/assert";
8
- *
9
- * assertNotInstanceOf(new Date(), Number); // Doesn't throw
10
- * assertNotInstanceOf(new Date(), Date); // Throws
11
- * ```
12
- *
13
- * @typeParam A The type of the object to check.
14
- * @typeParam T The type of the class to check against.
15
- * @param actual The object to check.
16
- * @param unexpectedType The class constructor to check against.
17
- * @param msg The optional message to display if the assertion fails.
18
- */
19
- export declare function assertNotInstanceOf<A, T>(actual: A, unexpectedType: abstract new (...args: any[]) => T, msg?: string): asserts actual is Exclude<A, T>;
20
- //# sourceMappingURL=not_instance_of.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"not_instance_of.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.8/not_instance_of.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,CAAC,EACtC,MAAM,EAAE,CAAC,EAET,cAAc,EAAE,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAClD,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,MAAM,IAAI,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAKjC"}
@@ -1,18 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` not match RegExp `expected`. If match
3
- * then throw.
4
- *
5
- * @example Usage
6
- * ```ts ignore
7
- * import { assertNotMatch } from "@std/assert";
8
- *
9
- * assertNotMatch("Denosaurus", /Raptor/); // Doesn't throw
10
- * assertNotMatch("Raptor", /Raptor/); // Throws
11
- * ```
12
- *
13
- * @param actual The actual value to match.
14
- * @param expected The expected value to not match.
15
- * @param msg The optional message to display if the assertion fails.
16
- */
17
- export declare function assertNotMatch(actual: string, expected: RegExp, msg?: string): void;
18
- //# sourceMappingURL=not_match.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"not_match.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.8/not_match.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,GAAG,CAAC,EAAE,MAAM,QAMb"}
@@ -1,23 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` and `expected` are not strictly equal, using
3
- * {@linkcode Object.is} for equality comparison. If the values are strictly
4
- * equal then throw.
5
- *
6
- * @example Usage
7
- * ```ts ignore
8
- * import { assertNotStrictEquals } from "@std/assert";
9
- *
10
- * assertNotStrictEquals(1, 1); // Throws
11
- * assertNotStrictEquals(1, 2); // Doesn't throw
12
- *
13
- * assertNotStrictEquals(0, 0); // Throws
14
- * assertNotStrictEquals(0, -0); // Doesn't throw
15
- * ```
16
- *
17
- * @typeParam T The type of the values to compare.
18
- * @param actual The actual value to compare.
19
- * @param expected The expected value to compare.
20
- * @param msg The optional message to display if the assertion fails.
21
- */
22
- export declare function assertNotStrictEquals<T>(actual: T, expected: T, msg?: string): void;
23
- //# sourceMappingURL=not_strict_equals.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"not_strict_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.8/not_strict_equals.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,EACrC,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,QAYb"}
@@ -1,28 +0,0 @@
1
- /**
2
- * Make an assertion that `expected` object is a subset of `actual` object,
3
- * deeply. If not, then throw.
4
- *
5
- * @example Usage
6
- * ```ts ignore
7
- * import { assertObjectMatch } from "@std/assert";
8
- *
9
- * assertObjectMatch({ foo: "bar" }, { foo: "bar" }); // Doesn't throw
10
- * assertObjectMatch({ foo: "bar" }, { foo: "baz" }); // Throws
11
- * assertObjectMatch({ foo: 1, bar: 2 }, { foo: 1 }); // Doesn't throw
12
- * assertObjectMatch({ foo: 1 }, { foo: 1, bar: 2 }); // Throws
13
- * ```
14
- *
15
- * @example Usage with nested objects
16
- * ```ts ignore
17
- * import { assertObjectMatch } from "@std/assert";
18
- *
19
- * assertObjectMatch({ foo: { bar: 3, baz: 4 } }, { foo: { bar: 3 } }); // Doesn't throw
20
- * assertObjectMatch({ foo: { bar: 3 } }, { foo: { bar: 3, baz: 4 } }); // Throws
21
- * ```
22
- *
23
- * @param actual The actual value to be matched.
24
- * @param expected The expected value to match.
25
- * @param msg The optional message to display if the assertion fails.
26
- */
27
- export declare function assertObjectMatch(actual: Record<PropertyKey, any>, expected: Record<PropertyKey, unknown>, msg?: string): void;
28
- //# sourceMappingURL=object_match.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"object_match.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.8/object_match.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,iBAAiB,CAE/B,MAAM,EAAE,MAAM,CAAC,WAAW,EAAE,GAAG,CAAC,EAChC,QAAQ,EAAE,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,EACtC,GAAG,CAAC,EAAE,MAAM,GACX,IAAI,CAUN"}
@@ -1,42 +0,0 @@
1
- /**
2
- * Executes a function which returns a promise, expecting it to reject.
3
- *
4
- * To assert that a synchronous function throws, use {@linkcode assertThrows}.
5
- *
6
- * @example Usage
7
- * ```ts ignore
8
- * import { assertRejects } from "@std/assert";
9
- *
10
- * await assertRejects(async () => Promise.reject(new Error())); // Doesn't throw
11
- * await assertRejects(async () => console.log("Hello world")); // Throws
12
- * ```
13
- *
14
- * @param fn The function to execute.
15
- * @param msg The optional message to display if the assertion fails.
16
- * @returns The promise which resolves to the thrown error.
17
- */
18
- export declare function assertRejects(fn: () => PromiseLike<unknown>, msg?: string): Promise<unknown>;
19
- /**
20
- * Executes a function which returns a promise, expecting it to reject.
21
- * If it does not, then it throws. An error class and a string that should be
22
- * included in the error message can also be asserted.
23
- *
24
- * To assert that a synchronous function throws, use {@linkcode assertThrows}.
25
- *
26
- * @example Usage
27
- * ```ts ignore
28
- * import { assertRejects } from "@std/assert";
29
- *
30
- * await assertRejects(async () => Promise.reject(new Error()), Error); // Doesn't throw
31
- * await assertRejects(async () => Promise.reject(new Error()), SyntaxError); // Throws
32
- * ```
33
- *
34
- * @typeParam E The error class to assert.
35
- * @param fn The function to execute.
36
- * @param ErrorClass The error class to assert.
37
- * @param msgIncludes The string that should be included in the error message.
38
- * @param msg The optional message to display if the assertion fails.
39
- * @returns The promise which resolves to the thrown error.
40
- */
41
- export declare function assertRejects<E extends Error = Error>(fn: () => PromiseLike<unknown>, ErrorClass: abstract new (...args: any[]) => E, msgIncludes?: string, msg?: string): Promise<E>;
42
- //# sourceMappingURL=rejects.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rejects.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.8/rejects.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,aAAa,CAC3B,EAAE,EAAE,MAAM,WAAW,CAAC,OAAO,CAAC,EAC9B,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,OAAO,CAAC,CAAC;AACpB;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,EACnD,EAAE,EAAE,MAAM,WAAW,CAAC,OAAO,CAAC,EAE9B,UAAU,EAAE,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAC9C,WAAW,CAAC,EAAE,MAAM,EACpB,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,CAAC,CAAC,CAAC"}
@@ -1,24 +0,0 @@
1
- /**
2
- * Make an assertion that `actual` and `expected` are strictly equal, using
3
- * {@linkcode Object.is} for equality comparison. If not, then throw.
4
- *
5
- * @example Usage
6
- * ```ts ignore
7
- * import { assertStrictEquals } from "@std/assert";
8
- *
9
- * const a = {};
10
- * const b = a;
11
- * assertStrictEquals(a, b); // Doesn't throw
12
- *
13
- * const c = {};
14
- * const d = {};
15
- * assertStrictEquals(c, d); // Throws
16
- * ```
17
- *
18
- * @typeParam T The type of the expected value.
19
- * @param actual The actual value to compare.
20
- * @param expected The expected value to compare.
21
- * @param msg The optional message to display if the assertion fails.
22
- */
23
- export declare function assertStrictEquals<T>(actual: unknown, expected: T, msg?: string): asserts actual is T;
24
- //# sourceMappingURL=strict_equals.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"strict_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.8/strict_equals.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAClC,MAAM,EAAE,OAAO,EACf,QAAQ,EAAE,CAAC,EACX,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,MAAM,IAAI,CAAC,CA+BrB"}
@@ -1,18 +0,0 @@
1
- /**
2
- * Make an assertion that actual includes expected. If not
3
- * then throw.
4
- *
5
- * @example Usage
6
- * ```ts ignore
7
- * import { assertStringIncludes } from "@std/assert";
8
- *
9
- * assertStringIncludes("Hello", "ello"); // Doesn't throw
10
- * assertStringIncludes("Hello", "world"); // Throws
11
- * ```
12
- *
13
- * @param actual The actual string to check for inclusion.
14
- * @param expected The expected string to check for inclusion.
15
- * @param msg The optional message to display if the assertion fails.
16
- */
17
- export declare function assertStringIncludes(actual: string, expected: string, msg?: string): void;
18
- //# sourceMappingURL=string_includes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"string_includes.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.8/string_includes.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,GAAG,CAAC,EAAE,MAAM,QAMb"}
@@ -1,45 +0,0 @@
1
- /**
2
- * Executes a function, expecting it to throw. If it does not, then it
3
- * throws.
4
- *
5
- * To assert that an asynchronous function rejects, use
6
- * {@linkcode assertRejects}.
7
- *
8
- * @example Usage
9
- * ```ts ignore
10
- * import { assertThrows } from "@std/assert";
11
- *
12
- * assertThrows(() => { throw new TypeError("hello world!"); }); // Doesn't throw
13
- * assertThrows(() => console.log("hello world!")); // Throws
14
- * ```
15
- *
16
- * @param fn The function to execute.
17
- * @param msg The optional message to display if the assertion fails.
18
- * @returns The error that was thrown.
19
- */
20
- export declare function assertThrows(fn: () => unknown, msg?: string): unknown;
21
- /**
22
- * Executes a function, expecting it to throw. If it does not, then it
23
- * throws. An error class and a string that should be included in the
24
- * error message can also be asserted.
25
- *
26
- * To assert that an asynchronous function rejects, use
27
- * {@linkcode assertRejects}.
28
- *
29
- * @example Usage
30
- * ```ts ignore
31
- * import { assertThrows } from "@std/assert";
32
- *
33
- * assertThrows(() => { throw new TypeError("hello world!"); }, TypeError); // Doesn't throw
34
- * assertThrows(() => { throw new TypeError("hello world!"); }, RangeError); // Throws
35
- * ```
36
- *
37
- * @typeParam E The error class to assert.
38
- * @param fn The function to execute.
39
- * @param ErrorClass The error class to assert.
40
- * @param msgIncludes The string that should be included in the error message.
41
- * @param msg The optional message to display if the assertion fails.
42
- * @returns The error that was thrown.
43
- */
44
- export declare function assertThrows<E extends Error = Error>(fn: () => unknown, ErrorClass: abstract new (...args: any[]) => E, msgIncludes?: string, msg?: string): E;
45
- //# sourceMappingURL=throws.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"throws.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.8/throws.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,YAAY,CAC1B,EAAE,EAAE,MAAM,OAAO,EACjB,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC;AACX;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,EAClD,EAAE,EAAE,MAAM,OAAO,EAEjB,UAAU,EAAE,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAC9C,WAAW,CAAC,EAAE,MAAM,EACpB,GAAG,CAAC,EAAE,MAAM,GACX,CAAC,CAAC"}
@@ -1,15 +0,0 @@
1
- /**
2
- * Use this to stub out methods that will throw when invoked.
3
- *
4
- * @example Usage
5
- * ```ts ignore
6
- * import { unimplemented } from "@std/assert";
7
- *
8
- * unimplemented(); // Throws
9
- * ```
10
- *
11
- * @param msg Optional message to include in the error.
12
- * @returns Never returns, always throws.
13
- */
14
- export declare function unimplemented(msg?: string): never;
15
- //# sourceMappingURL=unimplemented.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unimplemented.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.8/unimplemented.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,KAAK,CAGjD"}
@@ -1,15 +0,0 @@
1
- /**
2
- * Use this to assert unreachable code.
3
- *
4
- * @example Usage
5
- * ```ts ignore
6
- * import { unreachable } from "@std/assert";
7
- *
8
- * unreachable(); // Throws
9
- * ```
10
- *
11
- * @param msg Optional message to include in the error.
12
- * @returns Never returns, always throws.
13
- */
14
- export declare function unreachable(msg?: string): never;
15
- //# sourceMappingURL=unreachable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unreachable.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/assert/1.0.8/unreachable.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,KAAK,CAG/C"}
@@ -1,82 +0,0 @@
1
- import type { DiffResult, DiffType } from "./types.js";
2
- /**
3
- * Colors the output of assertion diffs.
4
- *
5
- * @param diffType Difference type, either added or removed.
6
- * @param background If true, colors the background instead of the text.
7
- *
8
- * @returns A function that colors the input string.
9
- *
10
- * @example Usage
11
- * ```ts
12
- * import { createColor } from "@std/internal";
13
- * import { assertEquals } from "@std/assert";
14
- * import { bold, green, red, white } from "@std/fmt/colors";
15
- *
16
- * assertEquals(createColor("added")("foo"), green(bold("foo")));
17
- * assertEquals(createColor("removed")("foo"), red(bold("foo")));
18
- * assertEquals(createColor("common")("foo"), white("foo"));
19
- * ```
20
- */
21
- export declare function createColor(diffType: DiffType,
22
- /**
23
- * TODO(@littledivy): Remove this when we can detect true color terminals. See
24
- * https://github.com/denoland/deno_std/issues/2575.
25
- */
26
- background?: boolean): (s: string) => string;
27
- /**
28
- * Prefixes `+` or `-` in diff output.
29
- *
30
- * @param diffType Difference type, either added or removed
31
- *
32
- * @returns A string representing the sign.
33
- *
34
- * @example Usage
35
- * ```ts
36
- * import { createSign } from "@std/internal";
37
- * import { assertEquals } from "@std/assert";
38
- *
39
- * assertEquals(createSign("added"), "+ ");
40
- * assertEquals(createSign("removed"), "- ");
41
- * assertEquals(createSign("common"), " ");
42
- * ```
43
- */
44
- export declare function createSign(diffType: DiffType): string;
45
- /** Options for {@linkcode buildMessage}. */
46
- export interface BuildMessageOptions {
47
- /**
48
- * Whether to output the diff as a single string.
49
- *
50
- * @default {false}
51
- */
52
- stringDiff?: boolean;
53
- }
54
- /**
55
- * Builds a message based on the provided diff result.
56
- *
57
- * @param diffResult The diff result array.
58
- * @param options Optional parameters for customizing the message.
59
- *
60
- * @returns An array of strings representing the built message.
61
- *
62
- * @example Usage
63
- * ```ts no-assert
64
- * import { diffStr, buildMessage } from "@std/internal";
65
- *
66
- * const diffResult = diffStr("Hello, world!", "Hello, world");
67
- *
68
- * console.log(buildMessage(diffResult));
69
- * // [
70
- * // "",
71
- * // "",
72
- * // " [Diff] Actual / Expected",
73
- * // "",
74
- * // "",
75
- * // "- Hello, world!",
76
- * // "+ Hello, world",
77
- * // "",
78
- * // ]
79
- * ```
80
- */
81
- export declare function buildMessage(diffResult: ReadonlyArray<DiffResult<string>>, options?: BuildMessageOptions): string[];
82
- //# sourceMappingURL=build_message.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"build_message.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.5/build_message.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEvD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,WAAW,CACzB,QAAQ,EAAE,QAAQ;AAClB;;;GAGG;AACH,UAAU,UAAQ,GACjB,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CASvB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,CASrD;AAED,4CAA4C;AAC5C,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,YAAY,CAC1B,UAAU,EAAE,aAAa,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,EAC7C,OAAO,GAAE,mBAAwB,GAChC,MAAM,EAAE,CAsBV"}
@@ -1,140 +0,0 @@
1
- import type { DiffResult, DiffType } from "./types.js";
2
- /** Represents the farthest point in the diff algorithm. */
3
- export interface FarthestPoint {
4
- /** The y-coordinate of the point. */
5
- y: number;
6
- /** The id of the point. */
7
- id: number;
8
- }
9
- /**
10
- * Creates an array of common elements between two arrays.
11
- *
12
- * @typeParam T The type of elements in the arrays.
13
- *
14
- * @param A The first array.
15
- * @param B The second array.
16
- *
17
- * @returns An array containing the common elements between the two arrays.
18
- *
19
- * @example Usage
20
- * ```ts
21
- * import { createCommon } from "@std/internal/diff";
22
- * import { assertEquals } from "@std/assert";
23
- *
24
- * const a = [1, 2, 3];
25
- * const b = [1, 2, 4];
26
- *
27
- * assertEquals(createCommon(a, b), [1, 2]);
28
- * ```
29
- */
30
- export declare function createCommon<T>(A: T[], B: T[]): T[];
31
- /**
32
- * Asserts that the value is a {@linkcode FarthestPoint}.
33
- * If not, an error is thrown.
34
- *
35
- * @param value The value to check.
36
- *
37
- * @returns A void value that returns once the assertion completes.
38
- *
39
- * @example Usage
40
- * ```ts
41
- * import { assertFp } from "@std/internal/diff";
42
- * import { assertThrows } from "@std/assert";
43
- *
44
- * assertFp({ y: 0, id: 0 });
45
- * assertThrows(() => assertFp({ id: 0 }));
46
- * assertThrows(() => assertFp({ y: 0 }));
47
- * assertThrows(() => assertFp(undefined));
48
- * ```
49
- */
50
- export declare function assertFp(value: unknown): asserts value is FarthestPoint;
51
- /**
52
- * Creates an array of backtraced differences.
53
- *
54
- * @typeParam T The type of elements in the arrays.
55
- *
56
- * @param A The first array.
57
- * @param B The second array.
58
- * @param current The current {@linkcode FarthestPoint}.
59
- * @param swapped Boolean indicating if the arrays are swapped.
60
- * @param routes The routes array.
61
- * @param diffTypesPtrOffset The offset of the diff types in the routes array.
62
- *
63
- * @returns An array of backtraced differences.
64
- *
65
- * @example Usage
66
- * ```ts
67
- * import { backTrace } from "@std/internal/diff";
68
- * import { assertEquals } from "@std/assert";
69
- *
70
- * assertEquals(
71
- * backTrace([], [], { y: 0, id: 0 }, false, new Uint32Array(0), 0),
72
- * [],
73
- * );
74
- * ```
75
- */
76
- export declare function backTrace<T>(A: T[], B: T[], current: FarthestPoint, swapped: boolean, routes: Uint32Array, diffTypesPtrOffset: number): Array<{
77
- type: DiffType;
78
- value: T;
79
- }>;
80
- /**
81
- * Creates a {@linkcode FarthestPoint}.
82
- *
83
- * @param k The current index.
84
- * @param M The length of the first array.
85
- * @param routes The routes array.
86
- * @param diffTypesPtrOffset The offset of the diff types in the routes array.
87
- * @param ptr The current pointer.
88
- * @param slide The slide {@linkcode FarthestPoint}.
89
- * @param down The down {@linkcode FarthestPoint}.
90
- *
91
- * @returns A {@linkcode FarthestPoint}.
92
- *
93
- * @example Usage
94
- * ```ts
95
- * import { createFp } from "@std/internal/diff";
96
- * import { assertEquals } from "@std/assert";
97
- *
98
- * assertEquals(
99
- * createFp(
100
- * 0,
101
- * 0,
102
- * new Uint32Array(0),
103
- * 0,
104
- * 0,
105
- * { y: -1, id: 0 },
106
- * { y: 0, id: 0 },
107
- * ),
108
- * { y: -1, id: 1 },
109
- * );
110
- * ```
111
- */
112
- export declare function createFp(k: number, M: number, routes: Uint32Array, diffTypesPtrOffset: number, ptr: number, slide?: FarthestPoint, down?: FarthestPoint): FarthestPoint;
113
- /**
114
- * Renders the differences between the actual and expected values.
115
- *
116
- * @typeParam T The type of elements in the arrays.
117
- *
118
- * @param A Actual value
119
- * @param B Expected value
120
- *
121
- * @returns An array of differences between the actual and expected values.
122
- *
123
- * @example Usage
124
- * ```ts
125
- * import { diff } from "@std/internal/diff";
126
- * import { assertEquals } from "@std/assert";
127
- *
128
- * const a = [1, 2, 3];
129
- * const b = [1, 2, 4];
130
- *
131
- * assertEquals(diff(a, b), [
132
- * { type: "common", value: 1 },
133
- * { type: "common", value: 2 },
134
- * { type: "removed", value: 3 },
135
- * { type: "added", value: 4 },
136
- * ]);
137
- * ```
138
- */
139
- export declare function diff<T>(A: T[], B: T[]): DiffResult<T>[];
140
- //# sourceMappingURL=diff.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"diff.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/internal/1.0.5/diff.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEvD,2DAA2D;AAC3D,MAAM,WAAW,aAAa;IAC5B,qCAAqC;IACrC,CAAC,EAAE,MAAM,CAAC;IACV,2BAA2B;IAC3B,EAAE,EAAE,MAAM,CAAC;CACZ;AAMD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAanD;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,KAAK,IAAI,aAAa,CAWvE;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,SAAS,CAAC,CAAC,EACzB,CAAC,EAAE,CAAC,EAAE,EACN,CAAC,EAAE,CAAC,EAAE,EACN,OAAO,EAAE,aAAa,EACtB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,WAAW,EACnB,kBAAkB,EAAE,MAAM,GACzB,KAAK,CAAC;IACP,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,CAAC,CAAC;CACV,CAAC,CAgCD;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,QAAQ,CACtB,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,MAAM,EAAE,WAAW,EACnB,kBAAkB,EAAE,MAAM,EAC1B,GAAG,EAAE,MAAM,EACX,KAAK,CAAC,EAAE,aAAa,EACrB,IAAI,CAAC,EAAE,aAAa,GACnB,aAAa,CAsBf;AAED;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,UAAU,CAAC,CAAC,CAAC,EAAE,CAwEvD"}