@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,163 +0,0 @@
1
- import "../../../_dnt.test_polyfills.js";
2
- import { EOL } from 'node:os';
3
- import { expect } from '../../../deps/jsr.io/@std/expect/1.0.12/mod.js';
4
- import { describe, it } from '../../../deps/jsr.io/@std/testing/1.0.9/bdd.js';
5
- import { StringBuilder } from './string-builder.js';
6
- describe('fromString', () => {
7
- it('should create a StringBuilder instance with the given string', () => {
8
- const str = 'test string';
9
- const sb = StringBuilder.fromString(str);
10
- expect(sb.toString()).toEqual(str);
11
- });
12
- it('should create a StringBuilder instance with the given string and options', () => {
13
- const str = 'test string';
14
- const options = {
15
- newLine: '\r\n',
16
- };
17
- const sb = StringBuilder.fromString(str, options);
18
- expect(sb.toString()).toEqual(str);
19
- expect(sb.options).toEqual(expect.objectContaining(options));
20
- });
21
- });
22
- describe('build', () => {
23
- it('should build a string using a StringBuilder build action', () => {
24
- const buildAction = (builder) => {
25
- builder.append('hello');
26
- builder.append('world');
27
- };
28
- const result = StringBuilder.build(buildAction);
29
- expect(result).toEqual('helloworld');
30
- });
31
- it('should build a string using a StringBuilder build action and options', () => {
32
- const buildAction = (builder) => {
33
- builder.appendLine('hello');
34
- builder.append('world');
35
- };
36
- const options = {
37
- newLine: '\r\n--',
38
- };
39
- const result = StringBuilder.build(buildAction, options);
40
- expect(result).toEqual(`hello${options.newLine}world`);
41
- });
42
- });
43
- describe('append', () => {
44
- it('should append a string to the end of the StringBuilder', () => {
45
- const sb = new StringBuilder();
46
- sb.append('hello');
47
- expect(sb.toString()).toEqual('hello');
48
- });
49
- it('should append multiple strings to the end of the StringBuilder', () => {
50
- const sb = new StringBuilder();
51
- sb.append('hello', ' ', 'world');
52
- expect(sb.toString()).toEqual('hello world');
53
- });
54
- it('should ignore nullish or empty strings', () => {
55
- const sb = new StringBuilder();
56
- sb.append('', null, undefined, 'hello');
57
- expect(sb.toString()).toEqual('hello');
58
- });
59
- });
60
- describe('appendLine', () => {
61
- it('should append a string followed by a new line to the end of the StringBuilder', () => {
62
- const sb = new StringBuilder();
63
- sb.appendLine('hello');
64
- expect(sb.toString()).toEqual(`hello${EOL}`);
65
- });
66
- it('should append multiple strings followed by a new line to the end of the StringBuilder', () => {
67
- const sb = new StringBuilder();
68
- sb.appendLine('hello', 'world');
69
- expect(sb.toString()).toEqual(`helloworld${EOL}`);
70
- });
71
- it('should ignore nullish or empty strings', () => {
72
- const sb = new StringBuilder();
73
- sb.appendLine('', null, undefined, 'hello');
74
- expect(sb.toString()).toEqual(`hello${EOL}`);
75
- });
76
- it('should append a string followed by a custom new line to the end of the StringBuilder', () => {
77
- const options = {
78
- newLine: '\r\n--',
79
- };
80
- const sb = new StringBuilder(options);
81
- sb.appendLine('hello');
82
- expect(sb.toString()).toEqual(`hello${options.newLine}`);
83
- });
84
- });
85
- describe('prepend', () => {
86
- it('should prepend a string to the beginning of the StringBuilder', () => {
87
- const sb = new StringBuilder();
88
- sb.append('world');
89
- sb.prepend('hello ');
90
- expect(sb.toString()).toEqual('hello world');
91
- });
92
- it('should prepend multiple strings to the beginning of the StringBuilder', () => {
93
- const sb = new StringBuilder();
94
- sb.append('world');
95
- sb.prepend('hello ', 'there, ');
96
- expect(sb.toString()).toEqual('hello there, world');
97
- });
98
- it('should ignore nullish or empty strings', () => {
99
- const sb = new StringBuilder();
100
- sb.append('world');
101
- sb.prepend('', null, undefined, 'hello ');
102
- expect(sb.toString()).toEqual('hello world');
103
- });
104
- it('should prepend a string built by another StringBuilder', () => {
105
- const sb = new StringBuilder();
106
- sb.append('world');
107
- sb.prepend((builder) => builder.append('hello '));
108
- expect(sb.toString()).toEqual('hello world');
109
- });
110
- it('should create the StringBuilder for the function with the same options as the current StringBuilder', () => {
111
- const options = {
112
- newLine: '\r\n--',
113
- };
114
- const sb = new StringBuilder(options);
115
- sb.append('world');
116
- sb.prepend((builder) => builder.appendLine('hello '));
117
- expect(sb.toString()).toEqual(`hello ${options.newLine}world`);
118
- });
119
- });
120
- describe('prependLine', () => {
121
- it('should prepend a string followed by a new line to the beginning of the StringBuilder', () => {
122
- const sb = new StringBuilder();
123
- sb.append('world');
124
- sb.prependLine('hello');
125
- expect(sb.toString()).toEqual(`hello${EOL}world`);
126
- });
127
- it('should prepend a string followed by a custom new line to the beginning of the StringBuilder', () => {
128
- const options = {
129
- newLine: '\r\n--',
130
- };
131
- const sb = new StringBuilder(options);
132
- sb.append('world');
133
- sb.prependLine('hello');
134
- expect(sb.toString()).toEqual(`hello${options.newLine}world`);
135
- });
136
- it('should prepend multiple strings followed by a new line to the beginning of the StringBuilder', () => {
137
- const sb = new StringBuilder();
138
- sb.append('world');
139
- sb.prependLine('hello', 'there');
140
- expect(sb.toString()).toEqual(`hellothere${EOL}world`);
141
- });
142
- it('should ignore nullish or empty strings', () => {
143
- const sb = new StringBuilder();
144
- sb.append('world');
145
- sb.prependLine('', null, undefined, 'hello');
146
- expect(sb.toString()).toEqual(`hello${EOL}world`);
147
- });
148
- it('should prepend a string built by another StringBuilder', () => {
149
- const sb = new StringBuilder();
150
- sb.append('world');
151
- sb.prependLine((builder) => builder.append('hello '));
152
- expect(sb.toString()).toEqual(`hello ${EOL}world`);
153
- });
154
- it('should create the StringBuilder for the function with the same options as the current StringBuilder', () => {
155
- const options = {
156
- newLine: '\r\n--',
157
- };
158
- const sb = new StringBuilder(options);
159
- sb.append('world');
160
- sb.prependLine((builder) => builder.appendLine('hello '));
161
- expect(sb.toString()).toEqual(`hello ${options.newLine}${options.newLine}world`);
162
- });
163
- });
@@ -1,2 +0,0 @@
1
- import "../../_dnt.test_polyfills.js";
2
- //# sourceMappingURL=string.utils.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"string.utils.test.d.ts","sourceRoot":"","sources":["../../../src/src/utils/string.utils.test.ts"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC"}