@goast/core 0.4.1 → 0.4.2

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 (378) hide show
  1. package/esm/src/transform/helpers.d.ts.map +1 -1
  2. package/esm/src/transform/helpers.js +5 -1
  3. package/esm/src/utils/source-builder.d.ts +2 -0
  4. package/esm/src/utils/source-builder.d.ts.map +1 -1
  5. package/esm/src/utils/source-builder.js +7 -1
  6. package/package.json +1 -4
  7. package/script/src/transform/helpers.d.ts.map +1 -1
  8. package/script/src/transform/helpers.js +5 -1
  9. package/script/src/utils/source-builder.d.ts +2 -0
  10. package/script/src/utils/source-builder.d.ts.map +1 -1
  11. package/script/src/utils/source-builder.js +8 -1
  12. package/src/src/transform/helpers.ts +6 -1
  13. package/src/src/utils/source-builder.ts +9 -1
  14. package/esm/_dnt.test_polyfills.d.ts +0 -29
  15. package/esm/_dnt.test_polyfills.d.ts.map +0 -1
  16. package/esm/_dnt.test_polyfills.js +0 -31
  17. package/esm/_dnt.test_shims.d.ts +0 -14
  18. package/esm/_dnt.test_shims.d.ts.map +0 -1
  19. package/esm/_dnt.test_shims.js +0 -69
  20. package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts +0 -26
  21. package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts.map +0 -1
  22. package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.js +0 -30
  23. package/esm/deps/jsr.io/@std/assert/1.0.11/false.d.ts +0 -18
  24. package/esm/deps/jsr.io/@std/assert/1.0.11/false.d.ts.map +0 -1
  25. package/esm/deps/jsr.io/@std/assert/1.0.11/false.js +0 -22
  26. package/esm/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts +0 -23
  27. package/esm/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts.map +0 -1
  28. package/esm/deps/jsr.io/@std/assert/1.0.11/instance_of.js +0 -53
  29. package/esm/deps/jsr.io/@std/assert/1.0.11/match.d.ts +0 -18
  30. package/esm/deps/jsr.io/@std/assert/1.0.11/match.d.ts.map +0 -1
  31. package/esm/deps/jsr.io/@std/assert/1.0.11/match.js +0 -26
  32. package/esm/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts +0 -20
  33. package/esm/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts.map +0 -1
  34. package/esm/deps/jsr.io/@std/assert/1.0.11/not_instance_of.js +0 -29
  35. package/esm/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts +0 -18
  36. package/esm/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts.map +0 -1
  37. package/esm/deps/jsr.io/@std/assert/1.0.11/not_match.js +0 -26
  38. package/esm/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts +0 -23
  39. package/esm/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts.map +0 -1
  40. package/esm/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.js +0 -32
  41. package/esm/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts +0 -24
  42. package/esm/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts.map +0 -1
  43. package/esm/deps/jsr.io/@std/assert/1.0.11/strict_equals.js +0 -57
  44. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts +0 -20
  45. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts.map +0 -1
  46. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_equals.js +0 -29
  47. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts +0 -14
  48. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts.map +0 -1
  49. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.js +0 -43
  50. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts +0 -17
  51. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts.map +0 -1
  52. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.js +0 -26
  53. package/esm/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts +0 -4
  54. package/esm/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts.map +0 -1
  55. package/esm/deps/jsr.io/@std/expect/1.0.12/_assertions.js +0 -13
  56. package/esm/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts +0 -46
  57. package/esm/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts.map +0 -1
  58. package/esm/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.js +0 -161
  59. package/esm/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts +0 -6
  60. package/esm/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts.map +0 -1
  61. package/esm/deps/jsr.io/@std/expect/1.0.12/_build_message.js +0 -29
  62. package/esm/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts +0 -4
  63. package/esm/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts.map +0 -1
  64. package/esm/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.js +0 -11
  65. package/esm/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts +0 -9
  66. package/esm/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts.map +0 -1
  67. package/esm/deps/jsr.io/@std/expect/1.0.12/_equal.js +0 -191
  68. package/esm/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts +0 -4
  69. package/esm/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts.map +0 -1
  70. package/esm/deps/jsr.io/@std/expect/1.0.12/_extend.js +0 -11
  71. package/esm/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts +0 -3
  72. package/esm/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts.map +0 -1
  73. package/esm/deps/jsr.io/@std/expect/1.0.12/_inspect_args.js +0 -12
  74. package/esm/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts +0 -34
  75. package/esm/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts.map +0 -1
  76. package/esm/deps/jsr.io/@std/expect/1.0.12/_matchers.js +0 -714
  77. package/esm/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts +0 -11
  78. package/esm/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts.map +0 -1
  79. package/esm/deps/jsr.io/@std/expect/1.0.12/_mock_util.js +0 -10
  80. package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts +0 -4
  81. package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts.map +0 -1
  82. package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.js +0 -10
  83. package/esm/deps/jsr.io/@std/expect/1.0.12/_types.d.ts +0 -843
  84. package/esm/deps/jsr.io/@std/expect/1.0.12/_types.d.ts.map +0 -1
  85. package/esm/deps/jsr.io/@std/expect/1.0.12/_types.js +0 -3
  86. package/esm/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts +0 -9
  87. package/esm/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts.map +0 -1
  88. package/esm/deps/jsr.io/@std/expect/1.0.12/_utils.js +0 -218
  89. package/esm/deps/jsr.io/@std/expect/1.0.12/expect.d.ts +0 -60
  90. package/esm/deps/jsr.io/@std/expect/1.0.12/expect.d.ts.map +0 -1
  91. package/esm/deps/jsr.io/@std/expect/1.0.12/expect.js +0 -523
  92. package/esm/deps/jsr.io/@std/expect/1.0.12/fn.d.ts +0 -29
  93. package/esm/deps/jsr.io/@std/expect/1.0.12/fn.d.ts.map +0 -1
  94. package/esm/deps/jsr.io/@std/expect/1.0.12/fn.js +0 -85
  95. package/esm/deps/jsr.io/@std/expect/1.0.12/mod.d.ts +0 -86
  96. package/esm/deps/jsr.io/@std/expect/1.0.12/mod.d.ts.map +0 -1
  97. package/esm/deps/jsr.io/@std/expect/1.0.12/mod.js +0 -88
  98. package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts +0 -160
  99. package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts.map +0 -1
  100. package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.js +0 -199
  101. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts +0 -82
  102. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +0 -1
  103. package/esm/deps/jsr.io/@std/internal/1.0.5/build_message.js +0 -111
  104. package/esm/deps/jsr.io/@std/internal/1.0.5/diff.d.ts +0 -140
  105. package/esm/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +0 -1
  106. package/esm/deps/jsr.io/@std/internal/1.0.5/diff.js +0 -277
  107. package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts +0 -99
  108. package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +0 -1
  109. package/esm/deps/jsr.io/@std/internal/1.0.5/diff_str.js +0 -180
  110. package/esm/deps/jsr.io/@std/internal/1.0.5/format.d.ts +0 -2
  111. package/esm/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +0 -1
  112. package/esm/deps/jsr.io/@std/internal/1.0.5/format.js +0 -37
  113. package/esm/deps/jsr.io/@std/internal/1.0.5/styles.d.ts +0 -159
  114. package/esm/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +0 -1
  115. package/esm/deps/jsr.io/@std/internal/1.0.5/styles.js +0 -207
  116. package/esm/deps/jsr.io/@std/internal/1.0.5/types.d.ts +0 -16
  117. package/esm/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +0 -1
  118. package/esm/deps/jsr.io/@std/internal/1.0.5/types.js +0 -2
  119. package/esm/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts +0 -79
  120. package/esm/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts.map +0 -1
  121. package/esm/deps/jsr.io/@std/testing/1.0.9/_test_suite.js +0 -380
  122. package/esm/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts +0 -738
  123. package/esm/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts.map +0 -1
  124. package/esm/deps/jsr.io/@std/testing/1.0.9/bdd.js +0 -654
  125. package/esm/src/collect/helpers.test.d.ts +0 -2
  126. package/esm/src/collect/helpers.test.d.ts.map +0 -1
  127. package/esm/src/collect/helpers.test.js +0 -77
  128. package/esm/src/transform/helpers.test.d.ts +0 -2
  129. package/esm/src/transform/helpers.test.d.ts.map +0 -1
  130. package/esm/src/transform/helpers.test.js +0 -265
  131. package/esm/src/utils/action-provider.test.d.ts +0 -2
  132. package/esm/src/utils/action-provider.test.d.ts.map +0 -1
  133. package/esm/src/utils/action-provider.test.js +0 -28
  134. package/esm/src/utils/common.utils.test.d.ts +0 -2
  135. package/esm/src/utils/common.utils.test.d.ts.map +0 -1
  136. package/esm/src/utils/common.utils.test.js +0 -18
  137. package/esm/src/utils/condition.test.d.ts +0 -2
  138. package/esm/src/utils/condition.test.d.ts.map +0 -1
  139. package/esm/src/utils/condition.test.js +0 -31
  140. package/esm/src/utils/endpoint.utils.test.d.ts +0 -2
  141. package/esm/src/utils/endpoint.utils.test.d.ts.map +0 -1
  142. package/esm/src/utils/endpoint.utils.test.js +0 -31
  143. package/esm/src/utils/factory.test.d.ts +0 -2
  144. package/esm/src/utils/factory.test.d.ts.map +0 -1
  145. package/esm/src/utils/factory.test.js +0 -34
  146. package/esm/src/utils/generator.utils.test.d.ts +0 -2
  147. package/esm/src/utils/generator.utils.test.d.ts.map +0 -1
  148. package/esm/src/utils/generator.utils.test.js +0 -13
  149. package/esm/src/utils/object.utils.test.d.ts +0 -2
  150. package/esm/src/utils/object.utils.test.d.ts.map +0 -1
  151. package/esm/src/utils/object.utils.test.js +0 -29
  152. package/esm/src/utils/schema.utils.test.d.ts +0 -2
  153. package/esm/src/utils/schema.utils.test.d.ts.map +0 -1
  154. package/esm/src/utils/schema.utils.test.js +0 -70
  155. package/esm/src/utils/source-builder.test.d.ts +0 -2
  156. package/esm/src/utils/source-builder.test.d.ts.map +0 -1
  157. package/esm/src/utils/source-builder.test.js +0 -505
  158. package/esm/src/utils/string-builder/string-builder.test.d.ts +0 -2
  159. package/esm/src/utils/string-builder/string-builder.test.d.ts.map +0 -1
  160. package/esm/src/utils/string-builder/string-builder.test.js +0 -163
  161. package/esm/src/utils/string.utils.test.d.ts +0 -2
  162. package/esm/src/utils/string.utils.test.d.ts.map +0 -1
  163. package/esm/src/utils/string.utils.test.js +0 -528
  164. package/esm/tests/openapi.test.d.ts +0 -2
  165. package/esm/tests/openapi.test.d.ts.map +0 -1
  166. package/esm/tests/openapi.test.js +0 -33
  167. package/esm/tests/schema-factory.d.ts +0 -42
  168. package/esm/tests/schema-factory.d.ts.map +0 -1
  169. package/esm/tests/schema-factory.js +0 -138
  170. package/script/_dnt.test_polyfills.d.ts +0 -29
  171. package/script/_dnt.test_polyfills.d.ts.map +0 -1
  172. package/script/_dnt.test_polyfills.js +0 -32
  173. package/script/_dnt.test_shims.d.ts +0 -14
  174. package/script/_dnt.test_shims.d.ts.map +0 -1
  175. package/script/_dnt.test_shims.js +0 -79
  176. package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts +0 -26
  177. package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts.map +0 -1
  178. package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.js +0 -34
  179. package/script/deps/jsr.io/@std/assert/1.0.11/false.d.ts +0 -18
  180. package/script/deps/jsr.io/@std/assert/1.0.11/false.d.ts.map +0 -1
  181. package/script/deps/jsr.io/@std/assert/1.0.11/false.js +0 -25
  182. package/script/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts +0 -23
  183. package/script/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts.map +0 -1
  184. package/script/deps/jsr.io/@std/assert/1.0.11/instance_of.js +0 -56
  185. package/script/deps/jsr.io/@std/assert/1.0.11/match.d.ts +0 -18
  186. package/script/deps/jsr.io/@std/assert/1.0.11/match.d.ts.map +0 -1
  187. package/script/deps/jsr.io/@std/assert/1.0.11/match.js +0 -29
  188. package/script/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts +0 -20
  189. package/script/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts.map +0 -1
  190. package/script/deps/jsr.io/@std/assert/1.0.11/not_instance_of.js +0 -32
  191. package/script/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts +0 -18
  192. package/script/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts.map +0 -1
  193. package/script/deps/jsr.io/@std/assert/1.0.11/not_match.js +0 -29
  194. package/script/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts +0 -23
  195. package/script/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts.map +0 -1
  196. package/script/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.js +0 -35
  197. package/script/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts +0 -24
  198. package/script/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts.map +0 -1
  199. package/script/deps/jsr.io/@std/assert/1.0.11/strict_equals.js +0 -60
  200. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts +0 -20
  201. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts.map +0 -1
  202. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_equals.js +0 -32
  203. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts +0 -14
  204. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts.map +0 -1
  205. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.js +0 -46
  206. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts +0 -17
  207. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts.map +0 -1
  208. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.js +0 -29
  209. package/script/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts +0 -4
  210. package/script/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts.map +0 -1
  211. package/script/deps/jsr.io/@std/expect/1.0.12/_assertions.js +0 -18
  212. package/script/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts +0 -46
  213. package/script/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts.map +0 -1
  214. package/script/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.js +0 -183
  215. package/script/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts +0 -6
  216. package/script/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts.map +0 -1
  217. package/script/deps/jsr.io/@std/expect/1.0.12/_build_message.js +0 -33
  218. package/script/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts +0 -4
  219. package/script/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts.map +0 -1
  220. package/script/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.js +0 -15
  221. package/script/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts +0 -9
  222. package/script/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts.map +0 -1
  223. package/script/deps/jsr.io/@std/expect/1.0.12/_equal.js +0 -194
  224. package/script/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts +0 -4
  225. package/script/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts.map +0 -1
  226. package/script/deps/jsr.io/@std/expect/1.0.12/_extend.js +0 -15
  227. package/script/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts +0 -3
  228. package/script/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts.map +0 -1
  229. package/script/deps/jsr.io/@std/expect/1.0.12/_inspect_args.js +0 -17
  230. package/script/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts +0 -34
  231. package/script/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts.map +0 -1
  232. package/script/deps/jsr.io/@std/expect/1.0.12/_matchers.js +0 -748
  233. package/script/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts +0 -11
  234. package/script/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts.map +0 -1
  235. package/script/deps/jsr.io/@std/expect/1.0.12/_mock_util.js +0 -14
  236. package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts +0 -4
  237. package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts.map +0 -1
  238. package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.js +0 -14
  239. package/script/deps/jsr.io/@std/expect/1.0.12/_types.d.ts +0 -843
  240. package/script/deps/jsr.io/@std/expect/1.0.12/_types.d.ts.map +0 -1
  241. package/script/deps/jsr.io/@std/expect/1.0.12/_types.js +0 -4
  242. package/script/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts +0 -9
  243. package/script/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts.map +0 -1
  244. package/script/deps/jsr.io/@std/expect/1.0.12/_utils.js +0 -226
  245. package/script/deps/jsr.io/@std/expect/1.0.12/expect.d.ts +0 -60
  246. package/script/deps/jsr.io/@std/expect/1.0.12/expect.d.ts.map +0 -1
  247. package/script/deps/jsr.io/@std/expect/1.0.12/expect.js +0 -527
  248. package/script/deps/jsr.io/@std/expect/1.0.12/fn.d.ts +0 -29
  249. package/script/deps/jsr.io/@std/expect/1.0.12/fn.d.ts.map +0 -1
  250. package/script/deps/jsr.io/@std/expect/1.0.12/fn.js +0 -88
  251. package/script/deps/jsr.io/@std/expect/1.0.12/mod.d.ts +0 -86
  252. package/script/deps/jsr.io/@std/expect/1.0.12/mod.d.ts.map +0 -1
  253. package/script/deps/jsr.io/@std/expect/1.0.12/mod.js +0 -91
  254. package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts +0 -160
  255. package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts.map +0 -1
  256. package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.js +0 -204
  257. package/script/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts +0 -82
  258. package/script/deps/jsr.io/@std/internal/1.0.5/build_message.d.ts.map +0 -1
  259. package/script/deps/jsr.io/@std/internal/1.0.5/build_message.js +0 -116
  260. package/script/deps/jsr.io/@std/internal/1.0.5/diff.d.ts +0 -140
  261. package/script/deps/jsr.io/@std/internal/1.0.5/diff.d.ts.map +0 -1
  262. package/script/deps/jsr.io/@std/internal/1.0.5/diff.js +0 -284
  263. package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts +0 -99
  264. package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.d.ts.map +0 -1
  265. package/script/deps/jsr.io/@std/internal/1.0.5/diff_str.js +0 -186
  266. package/script/deps/jsr.io/@std/internal/1.0.5/format.d.ts +0 -2
  267. package/script/deps/jsr.io/@std/internal/1.0.5/format.d.ts.map +0 -1
  268. package/script/deps/jsr.io/@std/internal/1.0.5/format.js +0 -41
  269. package/script/deps/jsr.io/@std/internal/1.0.5/styles.d.ts +0 -159
  270. package/script/deps/jsr.io/@std/internal/1.0.5/styles.d.ts.map +0 -1
  271. package/script/deps/jsr.io/@std/internal/1.0.5/styles.js +0 -220
  272. package/script/deps/jsr.io/@std/internal/1.0.5/types.d.ts +0 -16
  273. package/script/deps/jsr.io/@std/internal/1.0.5/types.d.ts.map +0 -1
  274. package/script/deps/jsr.io/@std/internal/1.0.5/types.js +0 -3
  275. package/script/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts +0 -79
  276. package/script/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts.map +0 -1
  277. package/script/deps/jsr.io/@std/testing/1.0.9/_test_suite.js +0 -385
  278. package/script/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts +0 -738
  279. package/script/deps/jsr.io/@std/testing/1.0.9/bdd.d.ts.map +0 -1
  280. package/script/deps/jsr.io/@std/testing/1.0.9/bdd.js +0 -665
  281. package/script/src/collect/helpers.test.d.ts +0 -2
  282. package/script/src/collect/helpers.test.d.ts.map +0 -1
  283. package/script/src/collect/helpers.test.js +0 -79
  284. package/script/src/transform/helpers.test.d.ts +0 -2
  285. package/script/src/transform/helpers.test.d.ts.map +0 -1
  286. package/script/src/transform/helpers.test.js +0 -267
  287. package/script/src/utils/action-provider.test.d.ts +0 -2
  288. package/script/src/utils/action-provider.test.d.ts.map +0 -1
  289. package/script/src/utils/action-provider.test.js +0 -30
  290. package/script/src/utils/common.utils.test.d.ts +0 -2
  291. package/script/src/utils/common.utils.test.d.ts.map +0 -1
  292. package/script/src/utils/common.utils.test.js +0 -20
  293. package/script/src/utils/condition.test.d.ts +0 -2
  294. package/script/src/utils/condition.test.d.ts.map +0 -1
  295. package/script/src/utils/condition.test.js +0 -33
  296. package/script/src/utils/endpoint.utils.test.d.ts +0 -2
  297. package/script/src/utils/endpoint.utils.test.d.ts.map +0 -1
  298. package/script/src/utils/endpoint.utils.test.js +0 -33
  299. package/script/src/utils/factory.test.d.ts +0 -2
  300. package/script/src/utils/factory.test.d.ts.map +0 -1
  301. package/script/src/utils/factory.test.js +0 -36
  302. package/script/src/utils/generator.utils.test.d.ts +0 -2
  303. package/script/src/utils/generator.utils.test.d.ts.map +0 -1
  304. package/script/src/utils/generator.utils.test.js +0 -15
  305. package/script/src/utils/object.utils.test.d.ts +0 -2
  306. package/script/src/utils/object.utils.test.d.ts.map +0 -1
  307. package/script/src/utils/object.utils.test.js +0 -31
  308. package/script/src/utils/schema.utils.test.d.ts +0 -2
  309. package/script/src/utils/schema.utils.test.d.ts.map +0 -1
  310. package/script/src/utils/schema.utils.test.js +0 -72
  311. package/script/src/utils/source-builder.test.d.ts +0 -2
  312. package/script/src/utils/source-builder.test.d.ts.map +0 -1
  313. package/script/src/utils/source-builder.test.js +0 -507
  314. package/script/src/utils/string-builder/string-builder.test.d.ts +0 -2
  315. package/script/src/utils/string-builder/string-builder.test.d.ts.map +0 -1
  316. package/script/src/utils/string-builder/string-builder.test.js +0 -165
  317. package/script/src/utils/string.utils.test.d.ts +0 -2
  318. package/script/src/utils/string.utils.test.d.ts.map +0 -1
  319. package/script/src/utils/string.utils.test.js +0 -530
  320. package/script/tests/openapi.test.d.ts +0 -2
  321. package/script/tests/openapi.test.d.ts.map +0 -1
  322. package/script/tests/openapi.test.js +0 -35
  323. package/script/tests/schema-factory.d.ts +0 -42
  324. package/script/tests/schema-factory.d.ts.map +0 -1
  325. package/script/tests/schema-factory.js +0 -162
  326. package/src/_dnt.test_polyfills.ts +0 -70
  327. package/src/_dnt.test_shims.ts +0 -72
  328. package/src/deps/jsr.io/@std/assert/1.0.11/assertion_error.ts +0 -31
  329. package/src/deps/jsr.io/@std/assert/1.0.11/false.ts +0 -26
  330. package/src/deps/jsr.io/@std/assert/1.0.11/instance_of.ts +0 -64
  331. package/src/deps/jsr.io/@std/assert/1.0.11/match.ts +0 -30
  332. package/src/deps/jsr.io/@std/assert/1.0.11/not_instance_of.ts +0 -33
  333. package/src/deps/jsr.io/@std/assert/1.0.11/not_match.ts +0 -30
  334. package/src/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.ts +0 -42
  335. package/src/deps/jsr.io/@std/assert/1.0.11/strict_equals.ts +0 -67
  336. package/src/deps/jsr.io/@std/expect/1.0.12/_assert_equals.ts +0 -38
  337. package/src/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.ts +0 -54
  338. package/src/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.ts +0 -35
  339. package/src/deps/jsr.io/@std/expect/1.0.12/_assertions.ts +0 -18
  340. package/src/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.ts +0 -198
  341. package/src/deps/jsr.io/@std/expect/1.0.12/_build_message.ts +0 -51
  342. package/src/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.ts +0 -19
  343. package/src/deps/jsr.io/@std/expect/1.0.12/_equal.ts +0 -230
  344. package/src/deps/jsr.io/@std/expect/1.0.12/_extend.ts +0 -16
  345. package/src/deps/jsr.io/@std/expect/1.0.12/_inspect_args.ts +0 -15
  346. package/src/deps/jsr.io/@std/expect/1.0.12/_matchers.ts +0 -1028
  347. package/src/deps/jsr.io/@std/expect/1.0.12/_mock_util.ts +0 -22
  348. package/src/deps/jsr.io/@std/expect/1.0.12/_serializer.ts +0 -15
  349. package/src/deps/jsr.io/@std/expect/1.0.12/_types.ts +0 -923
  350. package/src/deps/jsr.io/@std/expect/1.0.12/_utils.ts +0 -283
  351. package/src/deps/jsr.io/@std/expect/1.0.12/expect.ts +0 -620
  352. package/src/deps/jsr.io/@std/expect/1.0.12/fn.ts +0 -91
  353. package/src/deps/jsr.io/@std/expect/1.0.12/mod.ts +0 -89
  354. package/src/deps/jsr.io/@std/internal/1.0.5/assertion_state.ts +0 -214
  355. package/src/deps/jsr.io/@std/internal/1.0.5/build_message.ts +0 -134
  356. package/src/deps/jsr.io/@std/internal/1.0.5/diff.ts +0 -317
  357. package/src/deps/jsr.io/@std/internal/1.0.5/diff_str.ts +0 -204
  358. package/src/deps/jsr.io/@std/internal/1.0.5/format.ts +0 -39
  359. package/src/deps/jsr.io/@std/internal/1.0.5/styles.ts +0 -233
  360. package/src/deps/jsr.io/@std/internal/1.0.5/types.ts +0 -18
  361. package/src/deps/jsr.io/@std/testing/1.0.9/_test_suite.ts +0 -448
  362. package/src/deps/jsr.io/@std/testing/1.0.9/bdd.ts +0 -1288
  363. package/src/src/collect/helpers.test.ts +0 -91
  364. package/src/src/transform/helpers.test.ts +0 -316
  365. package/src/src/utils/action-provider.test.ts +0 -32
  366. package/src/src/utils/common.utils.test.ts +0 -22
  367. package/src/src/utils/condition.test.ts +0 -36
  368. package/src/src/utils/endpoint.utils.test.ts +0 -36
  369. package/src/src/utils/factory.test.ts +0 -31
  370. package/src/src/utils/generator.utils.test.ts +0 -16
  371. package/src/src/utils/object.utils.test.ts +0 -33
  372. package/src/src/utils/schema.utils.test.ts +0 -88
  373. package/src/src/utils/source-builder.test.ts +0 -657
  374. package/src/src/utils/string-builder/string-builder.test.ts +0 -188
  375. package/src/src/utils/string.utils.test.ts +0 -691
  376. package/src/tests/openapi.test.ts +0 -50
  377. package/src/tests/schema-factory.ts +0 -185
  378. package/test_runner.js +0 -221
@@ -1,29 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.assertNotMatch = assertNotMatch;
4
- // Copyright 2018-2025 the Deno authors. MIT license.
5
- // This module is browser compatible.
6
- const assertion_error_js_1 = require("./assertion_error.js");
7
- /**
8
- * Make an assertion that `actual` not match RegExp `expected`. If match
9
- * then throw.
10
- *
11
- * @example Usage
12
- * ```ts ignore
13
- * import { assertNotMatch } from "@std/assert";
14
- *
15
- * assertNotMatch("Denosaurus", /Raptor/); // Doesn't throw
16
- * assertNotMatch("Raptor", /Raptor/); // Throws
17
- * ```
18
- *
19
- * @param actual The actual value to match.
20
- * @param expected The expected value to not match.
21
- * @param msg The optional message to display if the assertion fails.
22
- */
23
- function assertNotMatch(actual, expected, msg) {
24
- if (!expected.test(actual))
25
- return;
26
- const msgSuffix = msg ? `: ${msg}` : ".";
27
- msg = `Expected actual: "${actual}" to not match: "${expected}"${msgSuffix}`;
28
- throw new assertion_error_js_1.AssertionError(msg);
29
- }
@@ -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.11/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,35 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.assertNotStrictEquals = assertNotStrictEquals;
4
- // Copyright 2018-2025 the Deno authors. MIT license.
5
- // This module is browser compatible.
6
- const assertion_error_js_1 = require("./assertion_error.js");
7
- const format_js_1 = require("../../internal/1.0.5/format.js");
8
- /**
9
- * Make an assertion that `actual` and `expected` are not strictly equal, using
10
- * {@linkcode Object.is} for equality comparison. If the values are strictly
11
- * equal then throw.
12
- *
13
- * @example Usage
14
- * ```ts ignore
15
- * import { assertNotStrictEquals } from "@std/assert";
16
- *
17
- * assertNotStrictEquals(1, 1); // Throws
18
- * assertNotStrictEquals(1, 2); // Doesn't throw
19
- *
20
- * assertNotStrictEquals(0, 0); // Throws
21
- * assertNotStrictEquals(0, -0); // Doesn't throw
22
- * ```
23
- *
24
- * @typeParam T The type of the values to compare.
25
- * @param actual The actual value to compare.
26
- * @param expected The expected value to compare.
27
- * @param msg The optional message to display if the assertion fails.
28
- */
29
- function assertNotStrictEquals(actual, expected, msg) {
30
- if (!Object.is(actual, expected)) {
31
- return;
32
- }
33
- const msgSuffix = msg ? `: ${msg}` : ".";
34
- throw new assertion_error_js_1.AssertionError(`Expected "actual" to not be strictly equal to: ${(0, format_js_1.format)(actual)}${msgSuffix}\n`);
35
- }
@@ -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.11/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,60 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.assertStrictEquals = assertStrictEquals;
4
- // Copyright 2018-2025 the Deno authors. MIT license.
5
- // This module is browser compatible.
6
- const build_message_js_1 = require("../../internal/1.0.5/build_message.js");
7
- const diff_js_1 = require("../../internal/1.0.5/diff.js");
8
- const diff_str_js_1 = require("../../internal/1.0.5/diff_str.js");
9
- const format_js_1 = require("../../internal/1.0.5/format.js");
10
- const styles_js_1 = require("../../internal/1.0.5/styles.js");
11
- const assertion_error_js_1 = require("./assertion_error.js");
12
- /**
13
- * Make an assertion that `actual` and `expected` are strictly equal, using
14
- * {@linkcode Object.is} for equality comparison. If not, then throw.
15
- *
16
- * @example Usage
17
- * ```ts ignore
18
- * import { assertStrictEquals } from "@std/assert";
19
- *
20
- * const a = {};
21
- * const b = a;
22
- * assertStrictEquals(a, b); // Doesn't throw
23
- *
24
- * const c = {};
25
- * const d = {};
26
- * assertStrictEquals(c, d); // Throws
27
- * ```
28
- *
29
- * @typeParam T The type of the expected value.
30
- * @param actual The actual value to compare.
31
- * @param expected The expected value to compare.
32
- * @param msg The optional message to display if the assertion fails.
33
- */
34
- function assertStrictEquals(actual, expected, msg) {
35
- if (Object.is(actual, expected)) {
36
- return;
37
- }
38
- const msgSuffix = msg ? `: ${msg}` : ".";
39
- let message;
40
- const actualString = (0, format_js_1.format)(actual);
41
- const expectedString = (0, format_js_1.format)(expected);
42
- if (actualString === expectedString) {
43
- const withOffset = actualString
44
- .split("\n")
45
- .map((l) => ` ${l}`)
46
- .join("\n");
47
- message =
48
- `Values have the same structure but are not reference-equal${msgSuffix}\n\n${(0, styles_js_1.red)(withOffset)}\n`;
49
- }
50
- else {
51
- const stringDiff = (typeof actual === "string") &&
52
- (typeof expected === "string");
53
- const diffResult = stringDiff
54
- ? (0, diff_str_js_1.diffStr)(actual, expected)
55
- : (0, diff_js_1.diff)(actualString.split("\n"), expectedString.split("\n"));
56
- const diffMsg = (0, build_message_js_1.buildMessage)(diffResult, { stringDiff }).join("\n");
57
- message = `Values are not strictly equal${msgSuffix}\n${diffMsg}`;
58
- }
59
- throw new assertion_error_js_1.AssertionError(message);
60
- }
@@ -1,20 +0,0 @@
1
- import type { EqualOptions } from "./_types.js";
2
- /**
3
- * Make an assertion that `actual` and `expected` are equal, deeply. If not
4
- * deeply equal, then throw.
5
- *
6
- * Type parameter can be specified to ensure values under comparison have the
7
- * same type.
8
- *
9
- * @example
10
- * ```ts ignore
11
- * import { assertEquals } from "@std/assert";
12
- *
13
- * assertEquals("world", "world"); // Doesn't throw
14
- * assertEquals("hello", "world"); // Throws
15
- * ```
16
- *
17
- * Note: formatter option is experimental and may be removed in the future.
18
- */
19
- export declare function assertEquals<T>(actual: T, expected: T, options?: EqualOptions): void;
20
- //# sourceMappingURL=_assert_equals.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_assert_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.12/_assert_equals.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,YAAY,CAAC,CAAC,EAC5B,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,OAAO,CAAC,EAAE,YAAY,QAQvB"}
@@ -1,32 +0,0 @@
1
- "use strict";
2
- // Copyright 2018-2025 the Deno authors. MIT license.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.assertEquals = assertEquals;
5
- // This file is copied from `std/assert`.
6
- const assertion_error_js_1 = require("../../assert/1.0.11/assertion_error.js");
7
- const _build_message_js_1 = require("./_build_message.js");
8
- const _equal_js_1 = require("./_equal.js");
9
- /**
10
- * Make an assertion that `actual` and `expected` are equal, deeply. If not
11
- * deeply equal, then throw.
12
- *
13
- * Type parameter can be specified to ensure values under comparison have the
14
- * same type.
15
- *
16
- * @example
17
- * ```ts ignore
18
- * import { assertEquals } from "@std/assert";
19
- *
20
- * assertEquals("world", "world"); // Doesn't throw
21
- * assertEquals("hello", "world"); // Throws
22
- * ```
23
- *
24
- * Note: formatter option is experimental and may be removed in the future.
25
- */
26
- function assertEquals(actual, expected, options) {
27
- if ((0, _equal_js_1.equal)(actual, expected, options)) {
28
- return;
29
- }
30
- const message = (0, _build_message_js_1.buildEqualErrorMessage)(actual, expected, options !== null && options !== void 0 ? options : {});
31
- throw new assertion_error_js_1.AssertionError(message);
32
- }
@@ -1,14 +0,0 @@
1
- /**
2
- * Make an assertion that `error` is an `Error`.
3
- * If not then an error will be thrown.
4
- * An error class and a string that should be included in the
5
- * error message can also be asserted.
6
- *
7
- * @typeParam E The type of the error to assert.
8
- * @param error The error to assert.
9
- * @param ErrorClass The optional error class to assert.
10
- * @param msgMatches The optional string or RegExp to assert in the error message.
11
- * @param msg The optional message to display if the assertion fails.
12
- */
13
- export declare function assertIsError<E extends Error = Error>(error: unknown, ErrorClass?: abstract new (...args: any[]) => E, msgMatches?: string | RegExp, msg?: string): asserts error is E;
14
- //# sourceMappingURL=_assert_is_error.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_assert_is_error.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,GAAG,KAAK,EACnD,KAAK,EAAE,OAAO,EAEd,UAAU,CAAC,EAAE,QAAQ,MAAM,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAC/C,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAC5B,GAAG,CAAC,EAAE,MAAM,GACX,OAAO,CAAC,KAAK,IAAI,CAAC,CA8BpB"}
@@ -1,46 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.assertIsError = assertIsError;
4
- // Copyright 2018-2025 the Deno authors. MIT license.
5
- // This module is browser compatible.
6
- const assertion_error_js_1 = require("../../assert/1.0.11/assertion_error.js");
7
- const styles_js_1 = require("../../internal/1.0.5/styles.js");
8
- /**
9
- * Make an assertion that `error` is an `Error`.
10
- * If not then an error will be thrown.
11
- * An error class and a string that should be included in the
12
- * error message can also be asserted.
13
- *
14
- * @typeParam E The type of the error to assert.
15
- * @param error The error to assert.
16
- * @param ErrorClass The optional error class to assert.
17
- * @param msgMatches The optional string or RegExp to assert in the error message.
18
- * @param msg The optional message to display if the assertion fails.
19
- */
20
- function assertIsError(error,
21
- // deno-lint-ignore no-explicit-any
22
- ErrorClass, msgMatches, msg) {
23
- var _a;
24
- const msgPrefix = msg ? `${msg}: ` : "";
25
- if (!(error instanceof Error)) {
26
- throw new assertion_error_js_1.AssertionError(`${msgPrefix}Expected "error" to be an Error object.`);
27
- }
28
- if (ErrorClass && !(error instanceof ErrorClass)) {
29
- msg =
30
- `${msgPrefix}Expected error to be instance of "${ErrorClass.name}", but was "${(_a = error === null || error === void 0 ? void 0 : error.constructor) === null || _a === void 0 ? void 0 : _a.name}".`;
31
- throw new assertion_error_js_1.AssertionError(msg);
32
- }
33
- let msgCheck;
34
- if (typeof msgMatches === "string") {
35
- msgCheck = (0, styles_js_1.stripAnsiCode)(error.message).includes((0, styles_js_1.stripAnsiCode)(msgMatches));
36
- }
37
- if (msgMatches instanceof RegExp) {
38
- msgCheck = msgMatches.test((0, styles_js_1.stripAnsiCode)(error.message));
39
- }
40
- if (msgMatches && !msgCheck) {
41
- msg = `${msgPrefix}Expected error message to include ${msgMatches instanceof RegExp
42
- ? msgMatches.toString()
43
- : JSON.stringify(msgMatches)}, but got ${JSON.stringify(error === null || error === void 0 ? void 0 : error.message)}.`;
44
- throw new assertion_error_js_1.AssertionError(msg);
45
- }
46
- }
@@ -1,17 +0,0 @@
1
- import type { EqualOptions } from "./_types.js";
2
- /**
3
- * Make an assertion that `actual` and `expected` are not equal, deeply.
4
- * If not then throw.
5
- *
6
- * Type parameter can be specified to ensure values under comparison have the same type.
7
- *
8
- * @example
9
- * ```ts ignore
10
- * import { assertNotEquals } from "@std/assert";
11
- *
12
- * assertNotEquals(1, 2); // Doesn't throw
13
- * assertNotEquals(1, 1); // Throws
14
- * ```
15
- */
16
- export declare function assertNotEquals<T>(actual: T, expected: T, options?: EqualOptions): void;
17
- //# sourceMappingURL=_assert_not_equals.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_assert_not_equals.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAC/B,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,OAAO,GAAE,YAAiB,QAQ3B"}
@@ -1,29 +0,0 @@
1
- "use strict";
2
- // Copyright 2018-2025 the Deno authors. MIT license.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.assertNotEquals = assertNotEquals;
5
- // This file is copied from `std/assert`.
6
- const assertion_error_js_1 = require("../../assert/1.0.11/assertion_error.js");
7
- const _build_message_js_1 = require("./_build_message.js");
8
- const _equal_js_1 = require("./_equal.js");
9
- /**
10
- * Make an assertion that `actual` and `expected` are not equal, deeply.
11
- * If not then throw.
12
- *
13
- * Type parameter can be specified to ensure values under comparison have the same type.
14
- *
15
- * @example
16
- * ```ts ignore
17
- * import { assertNotEquals } from "@std/assert";
18
- *
19
- * assertNotEquals(1, 2); // Doesn't throw
20
- * assertNotEquals(1, 1); // Throws
21
- * ```
22
- */
23
- function assertNotEquals(actual, expected, options = {}) {
24
- if (!(0, _equal_js_1.equal)(actual, expected, options)) {
25
- return;
26
- }
27
- const message = (0, _build_message_js_1.buildNotEqualErrorMessage)(actual, expected, options !== null && options !== void 0 ? options : {});
28
- throw new assertion_error_js_1.AssertionError(message);
29
- }
@@ -1,4 +0,0 @@
1
- export declare function hasAssertions(): void;
2
- export declare function assertions(num: number): void;
3
- export declare function emitAssertionTrigger(): void;
4
- //# sourceMappingURL=_assertions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_assertions.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.12/_assertions.ts"],"names":[],"mappings":"AAMA,wBAAgB,aAAa,SAE5B;AAED,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,QAErC;AAED,wBAAgB,oBAAoB,SAGnC"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- // Copyright 2018-2025 the Deno authors. MIT license.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.hasAssertions = hasAssertions;
5
- exports.assertions = assertions;
6
- exports.emitAssertionTrigger = emitAssertionTrigger;
7
- const assertion_state_js_1 = require("../../internal/1.0.5/assertion_state.js");
8
- const assertionState = (0, assertion_state_js_1.getAssertionState)();
9
- function hasAssertions() {
10
- assertionState.setAssertionCheck(true);
11
- }
12
- function assertions(num) {
13
- assertionState.setAssertionCount(num);
14
- }
15
- function emitAssertionTrigger() {
16
- assertionState.setAssertionTriggered(true);
17
- assertionState.updateAssertionTriggerCount();
18
- }
@@ -1,46 +0,0 @@
1
- export declare abstract class AsymmetricMatcher<T> {
2
- protected value: T;
3
- protected inverse: boolean;
4
- constructor(value: T, inverse?: boolean);
5
- abstract equals(other: unknown): boolean;
6
- }
7
- export declare class Anything extends AsymmetricMatcher<void> {
8
- equals(other: unknown): boolean;
9
- }
10
- export declare function anything(): Anything;
11
- export declare class Any extends AsymmetricMatcher<any> {
12
- constructor(value: unknown);
13
- equals(other: unknown): boolean;
14
- }
15
- export declare function any(c: unknown): Any;
16
- export declare class ArrayContaining extends AsymmetricMatcher<any[]> {
17
- constructor(arr: any[], inverse?: boolean);
18
- equals(other: any[]): boolean;
19
- }
20
- export declare function arrayContaining(c: any[]): ArrayContaining;
21
- export declare function arrayNotContaining(c: any[]): ArrayContaining;
22
- export declare class CloseTo extends AsymmetricMatcher<number> {
23
- #private;
24
- constructor(num: number, precision?: number);
25
- equals(other: number): boolean;
26
- }
27
- export declare function closeTo(num: number, numDigits?: number): CloseTo;
28
- export declare class StringContaining extends AsymmetricMatcher<string> {
29
- constructor(str: string, inverse?: boolean);
30
- equals(other: string): boolean;
31
- }
32
- export declare function stringContaining(str: string): StringContaining;
33
- export declare function stringNotContaining(str: string): StringContaining;
34
- export declare class StringMatching extends AsymmetricMatcher<RegExp> {
35
- constructor(pattern: string | RegExp, inverse?: boolean);
36
- equals(other: string): boolean;
37
- }
38
- export declare function stringMatching(pattern: string | RegExp): StringMatching;
39
- export declare function stringNotMatching(pattern: string | RegExp): StringMatching;
40
- export declare class ObjectContaining extends AsymmetricMatcher<Record<string, unknown>> {
41
- constructor(obj: Record<string, unknown>, inverse?: boolean);
42
- equals(other: Record<string, unknown>): boolean;
43
- }
44
- export declare function objectContaining(obj: Record<string, unknown>): ObjectContaining;
45
- export declare function objectNotContaining(obj: Record<string, unknown>): ObjectContaining;
46
- //# sourceMappingURL=_asymmetric_matchers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_asymmetric_matchers.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.ts"],"names":[],"mappings":"AAMA,8BAAsB,iBAAiB,CAAC,CAAC;IAErC,SAAS,CAAC,KAAK,EAAE,CAAC;IAClB,SAAS,CAAC,OAAO,EAAE,OAAO;gBADhB,KAAK,EAAE,CAAC,EACR,OAAO,GAAE,OAAe;IAEpC,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;CACzC;AAED,qBAAa,QAAS,SAAQ,iBAAiB,CAAC,IAAI,CAAC;IACnD,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;CAGhC;AAED,wBAAgB,QAAQ,IAAI,QAAQ,CAEnC;AAED,qBAAa,GAAI,SAAQ,iBAAiB,CAAC,GAAG,CAAC;gBACjC,KAAK,EAAE,OAAO;IAO1B,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;CAkChC;AAED,wBAAgB,GAAG,CAAC,CAAC,EAAE,OAAO,GAAG,GAAG,CAEnC;AAED,qBAAa,eAAgB,SAAQ,iBAAiB,CAAC,GAAG,EAAE,CAAC;gBAC/C,GAAG,EAAE,GAAG,EAAE,EAAE,OAAO,UAAQ;IAIvC,MAAM,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,OAAO;CAS9B;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,eAAe,CAEzD;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,eAAe,CAE5D;AAED,qBAAa,OAAQ,SAAQ,iBAAiB,CAAC,MAAM,CAAC;;gBAGxC,GAAG,EAAE,MAAM,EAAE,SAAS,GAAE,MAAU;IAK9C,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;CAgB/B;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAEhE;AAED,qBAAa,gBAAiB,SAAQ,iBAAiB,CAAC,MAAM,CAAC;gBACjD,GAAG,EAAE,MAAM,EAAE,OAAO,UAAQ;IAIxC,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;CAI/B;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,CAE9D;AAED,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,CAEjE;AAED,qBAAa,cAAe,SAAQ,iBAAiB,CAAC,MAAM,CAAC;gBAC/C,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,OAAO,UAAQ;IAIrD,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO;CAI/B;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,cAAc,CAEvE;AAED,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,cAAc,CAE1E;AAED,qBAAa,gBACX,SAAQ,iBAAiB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;gBACtC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,UAAQ;IAIzD,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO;CAehD;AAED,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC3B,gBAAgB,CAElB;AAED,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC3B,gBAAgB,CAElB"}
@@ -1,183 +0,0 @@
1
- "use strict";
2
- // Copyright 2018-2025 the Deno authors. MIT license.
3
- // deno-lint-ignore-file no-explicit-any
4
- var _CloseTo_precision;
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.ObjectContaining = exports.StringMatching = exports.StringContaining = exports.CloseTo = exports.ArrayContaining = exports.Any = exports.Anything = exports.AsymmetricMatcher = void 0;
7
- exports.anything = anything;
8
- exports.any = any;
9
- exports.arrayContaining = arrayContaining;
10
- exports.arrayNotContaining = arrayNotContaining;
11
- exports.closeTo = closeTo;
12
- exports.stringContaining = stringContaining;
13
- exports.stringNotContaining = stringNotContaining;
14
- exports.stringMatching = stringMatching;
15
- exports.stringNotMatching = stringNotMatching;
16
- exports.objectContaining = objectContaining;
17
- exports.objectNotContaining = objectNotContaining;
18
- const tslib_1 = require("tslib");
19
- const _custom_equality_tester_js_1 = require("./_custom_equality_tester.js");
20
- const _equal_js_1 = require("./_equal.js");
21
- class AsymmetricMatcher {
22
- constructor(value, inverse = false) {
23
- Object.defineProperty(this, "value", {
24
- enumerable: true,
25
- configurable: true,
26
- writable: true,
27
- value: value
28
- });
29
- Object.defineProperty(this, "inverse", {
30
- enumerable: true,
31
- configurable: true,
32
- writable: true,
33
- value: inverse
34
- });
35
- }
36
- }
37
- exports.AsymmetricMatcher = AsymmetricMatcher;
38
- class Anything extends AsymmetricMatcher {
39
- equals(other) {
40
- return other !== null && other !== undefined;
41
- }
42
- }
43
- exports.Anything = Anything;
44
- function anything() {
45
- return new Anything();
46
- }
47
- class Any extends AsymmetricMatcher {
48
- constructor(value) {
49
- if (value === undefined) {
50
- throw new TypeError("Expected a constructor function");
51
- }
52
- super(value);
53
- }
54
- equals(other) {
55
- if (typeof other === "object") {
56
- return other instanceof this.value;
57
- }
58
- else {
59
- if (this.value === Number) {
60
- return typeof other === "number";
61
- }
62
- if (this.value === String) {
63
- return typeof other === "string";
64
- }
65
- if (this.value === Number) {
66
- return typeof other === "number";
67
- }
68
- if (this.value === Function) {
69
- return typeof other === "function";
70
- }
71
- if (this.value === Boolean) {
72
- return typeof other === "boolean";
73
- }
74
- if (this.value === BigInt) {
75
- return typeof other === "bigint";
76
- }
77
- if (this.value === Symbol) {
78
- return typeof other === "symbol";
79
- }
80
- }
81
- return false;
82
- }
83
- }
84
- exports.Any = Any;
85
- function any(c) {
86
- return new Any(c);
87
- }
88
- class ArrayContaining extends AsymmetricMatcher {
89
- constructor(arr, inverse = false) {
90
- super(arr, inverse);
91
- }
92
- equals(other) {
93
- const res = Array.isArray(other) &&
94
- this.value.every((e) => other.some((another) => (0, _equal_js_1.equal)(e, another, { customTesters: (0, _custom_equality_tester_js_1.getCustomEqualityTesters)() })));
95
- return this.inverse ? !res : res;
96
- }
97
- }
98
- exports.ArrayContaining = ArrayContaining;
99
- function arrayContaining(c) {
100
- return new ArrayContaining(c);
101
- }
102
- function arrayNotContaining(c) {
103
- return new ArrayContaining(c, true);
104
- }
105
- class CloseTo extends AsymmetricMatcher {
106
- constructor(num, precision = 2) {
107
- super(num);
108
- _CloseTo_precision.set(this, void 0);
109
- tslib_1.__classPrivateFieldSet(this, _CloseTo_precision, precision, "f");
110
- }
111
- equals(other) {
112
- if (typeof other !== "number") {
113
- return false;
114
- }
115
- if ((this.value === Number.POSITIVE_INFINITY &&
116
- other === Number.POSITIVE_INFINITY) ||
117
- (this.value === Number.NEGATIVE_INFINITY &&
118
- other === Number.NEGATIVE_INFINITY)) {
119
- return true;
120
- }
121
- return Math.abs(this.value - other) < Math.pow(10, -tslib_1.__classPrivateFieldGet(this, _CloseTo_precision, "f")) / 2;
122
- }
123
- }
124
- exports.CloseTo = CloseTo;
125
- _CloseTo_precision = new WeakMap();
126
- function closeTo(num, numDigits) {
127
- return new CloseTo(num, numDigits);
128
- }
129
- class StringContaining extends AsymmetricMatcher {
130
- constructor(str, inverse = false) {
131
- super(str, inverse);
132
- }
133
- equals(other) {
134
- const res = typeof other !== "string" ? false : other.includes(this.value);
135
- return this.inverse ? !res : res;
136
- }
137
- }
138
- exports.StringContaining = StringContaining;
139
- function stringContaining(str) {
140
- return new StringContaining(str);
141
- }
142
- function stringNotContaining(str) {
143
- return new StringContaining(str, true);
144
- }
145
- class StringMatching extends AsymmetricMatcher {
146
- constructor(pattern, inverse = false) {
147
- super(new RegExp(pattern), inverse);
148
- }
149
- equals(other) {
150
- const res = typeof other !== "string" ? false : this.value.test(other);
151
- return this.inverse ? !res : res;
152
- }
153
- }
154
- exports.StringMatching = StringMatching;
155
- function stringMatching(pattern) {
156
- return new StringMatching(pattern);
157
- }
158
- function stringNotMatching(pattern) {
159
- return new StringMatching(pattern, true);
160
- }
161
- class ObjectContaining extends AsymmetricMatcher {
162
- constructor(obj, inverse = false) {
163
- super(obj, inverse);
164
- }
165
- equals(other) {
166
- const keys = Object.keys(this.value);
167
- let res = true;
168
- for (const key of keys) {
169
- if (!Object.hasOwn(other, key) ||
170
- !(0, _equal_js_1.equal)(this.value[key], other[key])) {
171
- res = false;
172
- }
173
- }
174
- return this.inverse ? !res : res;
175
- }
176
- }
177
- exports.ObjectContaining = ObjectContaining;
178
- function objectContaining(obj) {
179
- return new ObjectContaining(obj);
180
- }
181
- function objectNotContaining(obj) {
182
- return new ObjectContaining(obj, true);
183
- }
@@ -1,6 +0,0 @@
1
- import type { EqualOptions } from "./_types.js";
2
- type EqualErrorMessageOptions = Pick<EqualOptions, "formatter" | "msg">;
3
- export declare function buildEqualErrorMessage<T>(actual: T, expected: T, options: EqualErrorMessageOptions): string;
4
- export declare function buildNotEqualErrorMessage<T>(actual: T, expected: T, options: EqualErrorMessageOptions): string;
5
- export {};
6
- //# sourceMappingURL=_build_message.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_build_message.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/expect/1.0.12/_build_message.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,KAAK,wBAAwB,GAAG,IAAI,CAClC,YAAY,EACZ,WAAW,GAAG,KAAK,CACpB,CAAC;AAMF,wBAAgB,sBAAsB,CAAC,CAAC,EACtC,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,OAAO,EAAE,wBAAwB,GAChC,MAAM,CAgBR;AAED,wBAAgB,yBAAyB,CAAC,CAAC,EACzC,MAAM,EAAE,CAAC,EACT,QAAQ,EAAE,CAAC,EACX,OAAO,EAAE,wBAAwB,GAChC,MAAM,CAOR"}