@goast/core 0.4.0 → 0.4.1

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 (387) hide show
  1. package/esm/_dnt.test_polyfills.d.ts +11 -0
  2. package/esm/_dnt.test_polyfills.d.ts.map +1 -1
  3. package/esm/_dnt.test_polyfills.js +14 -0
  4. package/esm/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts.map +1 -0
  5. package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/assertion_error.js +1 -1
  6. package/esm/deps/jsr.io/@std/assert/1.0.11/false.d.ts.map +1 -0
  7. package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/false.js +1 -1
  8. package/esm/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts.map +1 -0
  9. package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/instance_of.js +1 -1
  10. package/esm/deps/jsr.io/@std/assert/1.0.11/match.d.ts.map +1 -0
  11. package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/match.js +1 -1
  12. package/esm/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts.map +1 -0
  13. package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_instance_of.js +1 -1
  14. package/esm/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts.map +1 -0
  15. package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_match.js +1 -1
  16. package/esm/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts.map +1 -0
  17. package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_strict_equals.js +2 -2
  18. package/esm/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts.map +1 -0
  19. package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/strict_equals.js +6 -6
  20. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts.map +1 -0
  21. package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_equals.js +2 -2
  22. package/{script/deps/jsr.io/@std/assert/1.0.6/is_error.d.ts → esm/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts} +1 -12
  23. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts.map +1 -0
  24. package/esm/deps/jsr.io/@std/{assert/1.0.6/is_error.js → expect/1.0.12/_assert_is_error.js} +8 -19
  25. package/esm/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts.map +1 -0
  26. package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_not_equals.js +3 -3
  27. package/esm/deps/jsr.io/@std/expect/{1.0.5/_assertion.d.ts → 1.0.12/_assertions.d.ts} +2 -1
  28. package/esm/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts.map +1 -0
  29. package/esm/deps/jsr.io/@std/expect/1.0.12/_assertions.js +13 -0
  30. package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_asymmetric_matchers.d.ts +14 -4
  31. package/esm/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts.map +1 -0
  32. package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_asymmetric_matchers.js +54 -17
  33. package/esm/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts.map +1 -0
  34. package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_build_message.js +9 -9
  35. package/esm/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts.map +1 -0
  36. package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_custom_equality_tester.js +1 -1
  37. package/esm/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts.map +1 -0
  38. package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_equal.js +8 -8
  39. package/esm/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts.map +1 -0
  40. package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_extend.js +1 -1
  41. package/esm/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts.map +1 -0
  42. package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_inspect_args.js +1 -1
  43. package/esm/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts.map +1 -0
  44. package/esm/deps/jsr.io/@std/expect/1.0.12/_matchers.js +714 -0
  45. package/esm/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts.map +1 -0
  46. package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_mock_util.js +1 -1
  47. package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts +4 -0
  48. package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts.map +1 -0
  49. package/esm/deps/jsr.io/@std/expect/1.0.12/_serializer.js +10 -0
  50. package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_types.d.ts +7 -2
  51. package/esm/deps/jsr.io/@std/expect/1.0.12/_types.d.ts.map +1 -0
  52. package/esm/deps/jsr.io/@std/expect/1.0.12/_types.js +3 -0
  53. package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_utils.d.ts +1 -0
  54. package/esm/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts.map +1 -0
  55. package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_utils.js +60 -1
  56. package/{script/deps/jsr.io/@std/expect/1.0.5 → esm/deps/jsr.io/@std/expect/1.0.12}/expect.d.ts +10 -1
  57. package/esm/deps/jsr.io/@std/expect/1.0.12/expect.d.ts.map +1 -0
  58. package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/expect.js +101 -3
  59. package/esm/deps/jsr.io/@std/expect/1.0.12/fn.d.ts.map +1 -0
  60. package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/fn.js +1 -1
  61. package/{script/deps/jsr.io/@std/expect/1.0.5 → esm/deps/jsr.io/@std/expect/1.0.12}/mod.d.ts +8 -7
  62. package/esm/deps/jsr.io/@std/expect/1.0.12/mod.d.ts.map +1 -0
  63. package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/mod.js +9 -8
  64. package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts +160 -0
  65. package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts.map +1 -0
  66. package/esm/deps/jsr.io/@std/internal/1.0.5/assertion_state.js +199 -0
  67. package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts.map +1 -1
  68. package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts.map +1 -1
  69. package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts.map +1 -1
  70. package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts.map +1 -1
  71. package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts.map +1 -1
  72. package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts.map +1 -1
  73. package/esm/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/_test_suite.d.ts +6 -1
  74. package/esm/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts.map +1 -0
  75. package/esm/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/_test_suite.js +45 -5
  76. package/esm/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/bdd.d.ts +12 -5
  77. package/{script/deps/jsr.io/@std/testing/1.0.3 → esm/deps/jsr.io/@std/testing/1.0.9}/bdd.d.ts.map +1 -1
  78. package/esm/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/bdd.js +85 -7
  79. package/esm/src/collect/helpers.test.js +2 -2
  80. package/esm/src/transform/helpers.test.js +2 -2
  81. package/esm/src/utils/action-provider.test.js +2 -2
  82. package/esm/src/utils/asset-manager.d.ts +1 -0
  83. package/esm/src/utils/asset-manager.d.ts.map +1 -1
  84. package/esm/src/utils/asset-manager.js +1 -1
  85. package/esm/src/utils/common.utils.test.js +2 -2
  86. package/esm/src/utils/condition.test.js +2 -2
  87. package/esm/src/utils/endpoint.utils.test.js +2 -2
  88. package/esm/src/utils/factory.test.js +2 -2
  89. package/esm/src/utils/generator.utils.test.js +2 -2
  90. package/esm/src/utils/object.utils.test.js +2 -2
  91. package/esm/src/utils/schema.utils.test.js +59 -67
  92. package/esm/src/utils/source-builder.test.js +3 -4
  93. package/esm/src/utils/string-builder/string-builder.test.js +11 -12
  94. package/esm/src/utils/string.utils.test.js +2 -2
  95. package/esm/tests/openapi.test.js +1 -1
  96. package/package.json +2 -2
  97. package/script/_dnt.test_polyfills.d.ts +11 -0
  98. package/script/_dnt.test_polyfills.d.ts.map +1 -1
  99. package/script/_dnt.test_polyfills.js +14 -0
  100. package/script/deps/jsr.io/@std/assert/1.0.11/assertion_error.d.ts.map +1 -0
  101. package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/assertion_error.js +1 -1
  102. package/script/deps/jsr.io/@std/assert/1.0.11/false.d.ts.map +1 -0
  103. package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/false.js +1 -1
  104. package/script/deps/jsr.io/@std/assert/1.0.11/instance_of.d.ts.map +1 -0
  105. package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/instance_of.js +1 -1
  106. package/script/deps/jsr.io/@std/assert/1.0.11/match.d.ts.map +1 -0
  107. package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/match.js +1 -1
  108. package/script/deps/jsr.io/@std/assert/1.0.11/not_instance_of.d.ts.map +1 -0
  109. package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_instance_of.js +1 -1
  110. package/script/deps/jsr.io/@std/assert/1.0.11/not_match.d.ts.map +1 -0
  111. package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_match.js +1 -1
  112. package/script/deps/jsr.io/@std/assert/1.0.11/not_strict_equals.d.ts.map +1 -0
  113. package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_strict_equals.js +2 -2
  114. package/script/deps/jsr.io/@std/assert/1.0.11/strict_equals.d.ts.map +1 -0
  115. package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/strict_equals.js +6 -6
  116. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_equals.d.ts.map +1 -0
  117. package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_equals.js +2 -2
  118. package/{esm/deps/jsr.io/@std/assert/1.0.6/is_error.d.ts → script/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts} +1 -12
  119. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_is_error.d.ts.map +1 -0
  120. package/script/deps/jsr.io/@std/{assert/1.0.6/is_error.js → expect/1.0.12/_assert_is_error.js} +8 -19
  121. package/script/deps/jsr.io/@std/expect/1.0.12/_assert_not_equals.d.ts.map +1 -0
  122. package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_not_equals.js +3 -3
  123. package/script/deps/jsr.io/@std/expect/{1.0.5/_assertion.d.ts → 1.0.12/_assertions.d.ts} +2 -1
  124. package/script/deps/jsr.io/@std/expect/1.0.12/_assertions.d.ts.map +1 -0
  125. package/script/deps/jsr.io/@std/expect/{1.0.5/_assertion.js → 1.0.12/_assertions.js} +7 -2
  126. package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_asymmetric_matchers.d.ts +14 -4
  127. package/script/deps/jsr.io/@std/expect/1.0.12/_asymmetric_matchers.d.ts.map +1 -0
  128. package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_asymmetric_matchers.js +61 -18
  129. package/script/deps/jsr.io/@std/expect/1.0.12/_build_message.d.ts.map +1 -0
  130. package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_build_message.js +9 -9
  131. package/script/deps/jsr.io/@std/expect/1.0.12/_custom_equality_tester.d.ts.map +1 -0
  132. package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_custom_equality_tester.js +1 -1
  133. package/script/deps/jsr.io/@std/expect/1.0.12/_equal.d.ts.map +1 -0
  134. package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_equal.js +8 -8
  135. package/script/deps/jsr.io/@std/expect/1.0.12/_extend.d.ts.map +1 -0
  136. package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_extend.js +1 -1
  137. package/script/deps/jsr.io/@std/expect/1.0.12/_inspect_args.d.ts.map +1 -0
  138. package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_inspect_args.js +1 -1
  139. package/script/deps/jsr.io/@std/expect/1.0.12/_matchers.d.ts.map +1 -0
  140. package/script/deps/jsr.io/@std/expect/1.0.12/_matchers.js +748 -0
  141. package/script/deps/jsr.io/@std/expect/1.0.12/_mock_util.d.ts.map +1 -0
  142. package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_mock_util.js +1 -1
  143. package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts +4 -0
  144. package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.d.ts.map +1 -0
  145. package/script/deps/jsr.io/@std/expect/1.0.12/_serializer.js +14 -0
  146. package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_types.d.ts +7 -2
  147. package/script/deps/jsr.io/@std/expect/1.0.12/_types.d.ts.map +1 -0
  148. package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_types.js +1 -1
  149. package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_utils.d.ts +1 -0
  150. package/script/deps/jsr.io/@std/expect/1.0.12/_utils.d.ts.map +1 -0
  151. package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_utils.js +61 -1
  152. package/{esm/deps/jsr.io/@std/expect/1.0.5 → script/deps/jsr.io/@std/expect/1.0.12}/expect.d.ts +10 -1
  153. package/script/deps/jsr.io/@std/expect/1.0.12/expect.d.ts.map +1 -0
  154. package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/expect.js +103 -5
  155. package/script/deps/jsr.io/@std/expect/1.0.12/fn.d.ts.map +1 -0
  156. package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/fn.js +1 -1
  157. package/{esm/deps/jsr.io/@std/expect/1.0.5 → script/deps/jsr.io/@std/expect/1.0.12}/mod.d.ts +8 -7
  158. package/script/deps/jsr.io/@std/expect/1.0.12/mod.d.ts.map +1 -0
  159. package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/mod.js +9 -8
  160. package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts +160 -0
  161. package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.d.ts.map +1 -0
  162. package/script/deps/jsr.io/@std/internal/1.0.5/assertion_state.js +204 -0
  163. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts.map +1 -1
  164. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts.map +1 -1
  165. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts.map +1 -1
  166. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts.map +1 -1
  167. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts.map +1 -1
  168. package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts.map +1 -1
  169. package/script/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/_test_suite.d.ts +6 -1
  170. package/script/deps/jsr.io/@std/testing/1.0.9/_test_suite.d.ts.map +1 -0
  171. package/script/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/_test_suite.js +46 -6
  172. package/script/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/bdd.d.ts +12 -5
  173. package/{esm/deps/jsr.io/@std/testing/1.0.3 → script/deps/jsr.io/@std/testing/1.0.9}/bdd.d.ts.map +1 -1
  174. package/script/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/bdd.js +84 -6
  175. package/script/src/collect/helpers.test.js +2 -2
  176. package/script/src/transform/helpers.test.js +2 -2
  177. package/script/src/utils/action-provider.test.js +2 -2
  178. package/script/src/utils/asset-manager.d.ts +1 -0
  179. package/script/src/utils/asset-manager.d.ts.map +1 -1
  180. package/script/src/utils/asset-manager.js +1 -1
  181. package/script/src/utils/common.utils.test.js +2 -2
  182. package/script/src/utils/condition.test.js +2 -2
  183. package/script/src/utils/endpoint.utils.test.js +2 -2
  184. package/script/src/utils/factory.test.js +2 -2
  185. package/script/src/utils/generator.utils.test.js +2 -2
  186. package/script/src/utils/object.utils.test.js +2 -2
  187. package/script/src/utils/schema.utils.test.js +58 -66
  188. package/script/src/utils/source-builder.test.js +3 -4
  189. package/script/src/utils/string-builder/string-builder.test.js +11 -12
  190. package/script/src/utils/string.utils.test.js +2 -2
  191. package/script/tests/openapi.test.js +1 -1
  192. package/src/_dnt.test_polyfills.ts +27 -0
  193. package/src/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/assertion_error.ts +1 -1
  194. package/src/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/false.ts +1 -1
  195. package/src/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/instance_of.ts +1 -1
  196. package/src/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/match.ts +1 -1
  197. package/src/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_instance_of.ts +1 -1
  198. package/src/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_match.ts +1 -1
  199. package/src/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_strict_equals.ts +2 -2
  200. package/src/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/strict_equals.ts +6 -6
  201. package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_equals.ts +2 -2
  202. package/src/deps/jsr.io/@std/{assert/1.0.6/is_error.ts → expect/1.0.12/_assert_is_error.ts} +8 -19
  203. package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_not_equals.ts +3 -3
  204. package/src/deps/jsr.io/@std/expect/1.0.12/_assertions.ts +18 -0
  205. package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_asymmetric_matchers.ts +69 -18
  206. package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_build_message.ts +9 -9
  207. package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_custom_equality_tester.ts +1 -1
  208. package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_equal.ts +10 -9
  209. package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_extend.ts +1 -1
  210. package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_inspect_args.ts +1 -1
  211. package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_matchers.ts +308 -108
  212. package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_mock_util.ts +1 -1
  213. package/src/deps/jsr.io/@std/expect/1.0.12/_serializer.ts +15 -0
  214. package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_types.ts +9 -3
  215. package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_utils.ts +83 -1
  216. package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/expect.ts +113 -4
  217. package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/fn.ts +1 -1
  218. package/src/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/mod.ts +9 -8
  219. package/src/deps/jsr.io/@std/internal/1.0.5/assertion_state.ts +214 -0
  220. package/src/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/_test_suite.ts +68 -9
  221. package/src/deps/jsr.io/@std/testing/{1.0.3 → 1.0.9}/bdd.ts +98 -12
  222. package/src/src/collect/helpers.test.ts +2 -2
  223. package/src/src/transform/helpers.test.ts +2 -2
  224. package/src/src/utils/action-provider.test.ts +2 -2
  225. package/src/src/utils/asset-manager.ts +1 -1
  226. package/src/src/utils/common.utils.test.ts +2 -2
  227. package/src/src/utils/condition.test.ts +2 -2
  228. package/src/src/utils/endpoint.utils.test.ts +2 -2
  229. package/src/src/utils/factory.test.ts +2 -2
  230. package/src/src/utils/generator.utils.test.ts +2 -2
  231. package/src/src/utils/object.utils.test.ts +2 -2
  232. package/src/src/utils/schema.utils.test.ts +68 -67
  233. package/src/src/utils/source-builder.test.ts +3 -4
  234. package/src/src/utils/string-builder/string-builder.test.ts +11 -12
  235. package/src/src/utils/string.utils.test.ts +2 -2
  236. package/src/tests/openapi.test.ts +1 -1
  237. package/esm/deps/jsr.io/@std/assert/1.0.6/assertion_error.d.ts.map +0 -1
  238. package/esm/deps/jsr.io/@std/assert/1.0.6/equal.d.ts +0 -17
  239. package/esm/deps/jsr.io/@std/assert/1.0.6/equal.d.ts.map +0 -1
  240. package/esm/deps/jsr.io/@std/assert/1.0.6/equal.js +0 -136
  241. package/esm/deps/jsr.io/@std/assert/1.0.6/equals.d.ts +0 -22
  242. package/esm/deps/jsr.io/@std/assert/1.0.6/equals.d.ts.map +0 -1
  243. package/esm/deps/jsr.io/@std/assert/1.0.6/equals.js +0 -45
  244. package/esm/deps/jsr.io/@std/assert/1.0.6/false.d.ts.map +0 -1
  245. package/esm/deps/jsr.io/@std/assert/1.0.6/instance_of.d.ts.map +0 -1
  246. package/esm/deps/jsr.io/@std/assert/1.0.6/is_error.d.ts.map +0 -1
  247. package/esm/deps/jsr.io/@std/assert/1.0.6/match.d.ts.map +0 -1
  248. package/esm/deps/jsr.io/@std/assert/1.0.6/not_instance_of.d.ts.map +0 -1
  249. package/esm/deps/jsr.io/@std/assert/1.0.6/not_match.d.ts.map +0 -1
  250. package/esm/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.d.ts.map +0 -1
  251. package/esm/deps/jsr.io/@std/assert/1.0.6/object_match.d.ts +0 -28
  252. package/esm/deps/jsr.io/@std/assert/1.0.6/object_match.d.ts.map +0 -1
  253. package/esm/deps/jsr.io/@std/assert/1.0.6/object_match.js +0 -159
  254. package/esm/deps/jsr.io/@std/assert/1.0.6/strict_equals.d.ts.map +0 -1
  255. package/esm/deps/jsr.io/@std/expect/1.0.5/_assert_equals.d.ts.map +0 -1
  256. package/esm/deps/jsr.io/@std/expect/1.0.5/_assert_not_equals.d.ts.map +0 -1
  257. package/esm/deps/jsr.io/@std/expect/1.0.5/_assertion.d.ts.map +0 -1
  258. package/esm/deps/jsr.io/@std/expect/1.0.5/_assertion.js +0 -9
  259. package/esm/deps/jsr.io/@std/expect/1.0.5/_asymmetric_matchers.d.ts.map +0 -1
  260. package/esm/deps/jsr.io/@std/expect/1.0.5/_build_message.d.ts.map +0 -1
  261. package/esm/deps/jsr.io/@std/expect/1.0.5/_custom_equality_tester.d.ts.map +0 -1
  262. package/esm/deps/jsr.io/@std/expect/1.0.5/_equal.d.ts.map +0 -1
  263. package/esm/deps/jsr.io/@std/expect/1.0.5/_extend.d.ts.map +0 -1
  264. package/esm/deps/jsr.io/@std/expect/1.0.5/_inspect_args.d.ts.map +0 -1
  265. package/esm/deps/jsr.io/@std/expect/1.0.5/_matchers.d.ts.map +0 -1
  266. package/esm/deps/jsr.io/@std/expect/1.0.5/_matchers.js +0 -564
  267. package/esm/deps/jsr.io/@std/expect/1.0.5/_mock_util.d.ts.map +0 -1
  268. package/esm/deps/jsr.io/@std/expect/1.0.5/_types.d.ts.map +0 -1
  269. package/esm/deps/jsr.io/@std/expect/1.0.5/_types.js +0 -3
  270. package/esm/deps/jsr.io/@std/expect/1.0.5/_utils.d.ts.map +0 -1
  271. package/esm/deps/jsr.io/@std/expect/1.0.5/expect.d.ts.map +0 -1
  272. package/esm/deps/jsr.io/@std/expect/1.0.5/fn.d.ts.map +0 -1
  273. package/esm/deps/jsr.io/@std/expect/1.0.5/mod.d.ts.map +0 -1
  274. package/esm/deps/jsr.io/@std/internal/1.0.4/assertion_state.d.ts +0 -75
  275. package/esm/deps/jsr.io/@std/internal/1.0.4/assertion_state.d.ts.map +0 -1
  276. package/esm/deps/jsr.io/@std/internal/1.0.4/assertion_state.js +0 -101
  277. package/esm/deps/jsr.io/@std/testing/1.0.3/_test_suite.d.ts.map +0 -1
  278. package/script/deps/jsr.io/@std/assert/1.0.6/assertion_error.d.ts.map +0 -1
  279. package/script/deps/jsr.io/@std/assert/1.0.6/equal.d.ts +0 -17
  280. package/script/deps/jsr.io/@std/assert/1.0.6/equal.d.ts.map +0 -1
  281. package/script/deps/jsr.io/@std/assert/1.0.6/equal.js +0 -139
  282. package/script/deps/jsr.io/@std/assert/1.0.6/equals.d.ts +0 -22
  283. package/script/deps/jsr.io/@std/assert/1.0.6/equals.d.ts.map +0 -1
  284. package/script/deps/jsr.io/@std/assert/1.0.6/equals.js +0 -48
  285. package/script/deps/jsr.io/@std/assert/1.0.6/false.d.ts.map +0 -1
  286. package/script/deps/jsr.io/@std/assert/1.0.6/instance_of.d.ts.map +0 -1
  287. package/script/deps/jsr.io/@std/assert/1.0.6/is_error.d.ts.map +0 -1
  288. package/script/deps/jsr.io/@std/assert/1.0.6/match.d.ts.map +0 -1
  289. package/script/deps/jsr.io/@std/assert/1.0.6/not_instance_of.d.ts.map +0 -1
  290. package/script/deps/jsr.io/@std/assert/1.0.6/not_match.d.ts.map +0 -1
  291. package/script/deps/jsr.io/@std/assert/1.0.6/not_strict_equals.d.ts.map +0 -1
  292. package/script/deps/jsr.io/@std/assert/1.0.6/object_match.d.ts +0 -28
  293. package/script/deps/jsr.io/@std/assert/1.0.6/object_match.d.ts.map +0 -1
  294. package/script/deps/jsr.io/@std/assert/1.0.6/object_match.js +0 -162
  295. package/script/deps/jsr.io/@std/assert/1.0.6/strict_equals.d.ts.map +0 -1
  296. package/script/deps/jsr.io/@std/expect/1.0.5/_assert_equals.d.ts.map +0 -1
  297. package/script/deps/jsr.io/@std/expect/1.0.5/_assert_not_equals.d.ts.map +0 -1
  298. package/script/deps/jsr.io/@std/expect/1.0.5/_assertion.d.ts.map +0 -1
  299. package/script/deps/jsr.io/@std/expect/1.0.5/_asymmetric_matchers.d.ts.map +0 -1
  300. package/script/deps/jsr.io/@std/expect/1.0.5/_build_message.d.ts.map +0 -1
  301. package/script/deps/jsr.io/@std/expect/1.0.5/_custom_equality_tester.d.ts.map +0 -1
  302. package/script/deps/jsr.io/@std/expect/1.0.5/_equal.d.ts.map +0 -1
  303. package/script/deps/jsr.io/@std/expect/1.0.5/_extend.d.ts.map +0 -1
  304. package/script/deps/jsr.io/@std/expect/1.0.5/_inspect_args.d.ts.map +0 -1
  305. package/script/deps/jsr.io/@std/expect/1.0.5/_matchers.d.ts.map +0 -1
  306. package/script/deps/jsr.io/@std/expect/1.0.5/_matchers.js +0 -598
  307. package/script/deps/jsr.io/@std/expect/1.0.5/_mock_util.d.ts.map +0 -1
  308. package/script/deps/jsr.io/@std/expect/1.0.5/_types.d.ts.map +0 -1
  309. package/script/deps/jsr.io/@std/expect/1.0.5/_utils.d.ts.map +0 -1
  310. package/script/deps/jsr.io/@std/expect/1.0.5/expect.d.ts.map +0 -1
  311. package/script/deps/jsr.io/@std/expect/1.0.5/fn.d.ts.map +0 -1
  312. package/script/deps/jsr.io/@std/expect/1.0.5/mod.d.ts.map +0 -1
  313. package/script/deps/jsr.io/@std/internal/1.0.4/assertion_state.d.ts +0 -75
  314. package/script/deps/jsr.io/@std/internal/1.0.4/assertion_state.d.ts.map +0 -1
  315. package/script/deps/jsr.io/@std/internal/1.0.4/assertion_state.js +0 -106
  316. package/script/deps/jsr.io/@std/testing/1.0.3/_test_suite.d.ts.map +0 -1
  317. package/src/deps/jsr.io/@std/assert/1.0.6/equal.ts +0 -152
  318. package/src/deps/jsr.io/@std/assert/1.0.6/equals.ts +0 -52
  319. package/src/deps/jsr.io/@std/assert/1.0.6/object_match.ts +0 -202
  320. package/src/deps/jsr.io/@std/expect/1.0.5/_assertion.ts +0 -13
  321. package/src/deps/jsr.io/@std/internal/1.0.4/assertion_state.ts +0 -111
  322. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/assertion_error.d.ts +0 -0
  323. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/false.d.ts +0 -0
  324. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/instance_of.d.ts +0 -0
  325. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/match.d.ts +0 -0
  326. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_instance_of.d.ts +0 -0
  327. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_match.d.ts +0 -0
  328. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_strict_equals.d.ts +0 -0
  329. /package/esm/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/strict_equals.d.ts +0 -0
  330. /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_equals.d.ts +0 -0
  331. /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_not_equals.d.ts +0 -0
  332. /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_build_message.d.ts +0 -0
  333. /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_custom_equality_tester.d.ts +0 -0
  334. /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_equal.d.ts +0 -0
  335. /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_extend.d.ts +0 -0
  336. /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_inspect_args.d.ts +0 -0
  337. /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_matchers.d.ts +0 -0
  338. /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_mock_util.d.ts +0 -0
  339. /package/esm/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/fn.d.ts +0 -0
  340. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts +0 -0
  341. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.js +0 -0
  342. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts +0 -0
  343. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.js +0 -0
  344. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts +0 -0
  345. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.js +0 -0
  346. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts +0 -0
  347. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.js +0 -0
  348. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts +0 -0
  349. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.js +0 -0
  350. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts +0 -0
  351. /package/esm/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.js +0 -0
  352. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/assertion_error.d.ts +0 -0
  353. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/false.d.ts +0 -0
  354. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/instance_of.d.ts +0 -0
  355. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/match.d.ts +0 -0
  356. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_instance_of.d.ts +0 -0
  357. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_match.d.ts +0 -0
  358. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/not_strict_equals.d.ts +0 -0
  359. /package/script/deps/jsr.io/@std/assert/{1.0.6 → 1.0.11}/strict_equals.d.ts +0 -0
  360. /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_equals.d.ts +0 -0
  361. /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_assert_not_equals.d.ts +0 -0
  362. /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_build_message.d.ts +0 -0
  363. /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_custom_equality_tester.d.ts +0 -0
  364. /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_equal.d.ts +0 -0
  365. /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_extend.d.ts +0 -0
  366. /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_inspect_args.d.ts +0 -0
  367. /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_matchers.d.ts +0 -0
  368. /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/_mock_util.d.ts +0 -0
  369. /package/script/deps/jsr.io/@std/expect/{1.0.5 → 1.0.12}/fn.d.ts +0 -0
  370. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.d.ts +0 -0
  371. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.js +0 -0
  372. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.d.ts +0 -0
  373. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.js +0 -0
  374. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.d.ts +0 -0
  375. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.js +0 -0
  376. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.d.ts +0 -0
  377. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.js +0 -0
  378. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.d.ts +0 -0
  379. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.js +0 -0
  380. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.d.ts +0 -0
  381. /package/script/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.js +0 -0
  382. /package/src/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/build_message.ts +0 -0
  383. /package/src/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff.ts +0 -0
  384. /package/src/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/diff_str.ts +0 -0
  385. /package/src/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/format.ts +0 -0
  386. /package/src/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/styles.ts +0 -0
  387. /package/src/deps/jsr.io/@std/internal/{1.0.4 → 1.0.5}/types.ts +0 -0
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  require("../../_dnt.test_polyfills.js");
4
- const mod_js_1 = require("../../deps/jsr.io/@std/expect/1.0.5/mod.js");
5
- const bdd_js_1 = require("../../deps/jsr.io/@std/testing/1.0.3/bdd.js");
4
+ const mod_js_1 = require("../../deps/jsr.io/@std/expect/1.0.12/mod.js");
5
+ const bdd_js_1 = require("../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
6
6
  const factory_js_1 = require("./factory.js");
7
7
  (0, bdd_js_1.describe)('Factory', () => {
8
8
  (0, bdd_js_1.describe)('create', () => {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  require("../../_dnt.test_polyfills.js");
4
- const mod_js_1 = require("../../deps/jsr.io/@std/expect/1.0.5/mod.js");
5
- const bdd_js_1 = require("../../deps/jsr.io/@std/testing/1.0.3/bdd.js");
4
+ const mod_js_1 = require("../../deps/jsr.io/@std/expect/1.0.12/mod.js");
5
+ const bdd_js_1 = require("../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
6
6
  const generator_utils_js_1 = require("./generator.utils.js");
7
7
  (0, bdd_js_1.describe)('getInitializedValue', () => {
8
8
  (0, bdd_js_1.it)('should return the value if it is not undefined', () => {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  require("../../_dnt.test_polyfills.js");
4
- const mod_js_1 = require("../../deps/jsr.io/@std/expect/1.0.5/mod.js");
5
- const bdd_js_1 = require("../../deps/jsr.io/@std/testing/1.0.3/bdd.js");
4
+ const mod_js_1 = require("../../deps/jsr.io/@std/expect/1.0.12/mod.js");
5
+ const bdd_js_1 = require("../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
6
6
  const object_utils_js_1 = require("./object.utils.js");
7
7
  (0, bdd_js_1.describe)('createOverwriteProxy', () => {
8
8
  (0, bdd_js_1.it)('should return an object that overwrites specified properties', () => {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  require("../../_dnt.test_polyfills.js");
4
- const mod_js_1 = require("../../deps/jsr.io/@std/expect/1.0.5/mod.js");
5
- const bdd_js_1 = require("../../deps/jsr.io/@std/testing/1.0.3/bdd.js");
4
+ const mod_js_1 = require("../../deps/jsr.io/@std/expect/1.0.12/mod.js");
5
+ const bdd_js_1 = require("../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
6
6
  const schema_factory_js_1 = require("../../tests/schema-factory.js");
7
7
  const schema_utils_js_1 = require("./schema.utils.js");
8
8
  (0, bdd_js_1.describe)('resolveAnyOfAndAllOf', () => {
@@ -13,68 +13,60 @@ const schema_utils_js_1 = require("./schema.utils.js");
13
13
  const result = (0, schema_utils_js_1.resolveAnyOfAndAllOf)(schema, false);
14
14
  (0, mod_js_1.expect)(result).toBeUndefined();
15
15
  });
16
- // TODO: Uncomment as soon as @std/expect has new version (https://github.com/denoland/std/pull/6065)
17
- // it('should resolve schema from allOf and anyOf', () => {
18
- // const schema = createObjectSchema({
19
- // name: 'root',
20
- // properties: [createUnknownProperty('prop0')],
21
- // required: ['prop0'],
22
- // allOf: [createObjectSchema({ properties: [createUnknownProperty('prop1')], required: ['prop1'] })],
23
- // anyOf: [createObjectSchema({ properties: [createUnknownProperty('prop2')], required: ['prop2'] })],
24
- // });
25
- // const expectedResult = expect.objectContaining(
26
- // createObjectSchema({
27
- // name: 'root',
28
- // properties: [
29
- // expect.objectContaining(createUnknownProperty('prop0')),
30
- // expect.objectContaining(createUnknownProperty('prop1')),
31
- // expect.objectContaining(createUnknownProperty('prop2')),
32
- // ],
33
- // required: ['prop0', 'prop1', 'prop2'],
34
- // }),
35
- // );
36
- // const result = resolveAnyOfAndAllOf(schema, true);
37
- // expect(result).toEqual(expectedResult);
38
- // });
39
- // TODO: Uncomment as soon as @std/expect has new version (https://github.com/denoland/std/pull/6065)
40
- // it('should merge properties from allOf and anyOf recursively', () => {
41
- // const schema = createCombinedSchema({
42
- // name: 'root',
43
- // allOf: [
44
- // createObjectSchema({
45
- // properties: [createUnknownProperty('prop1')],
46
- // required: ['prop1'],
47
- // }),
48
- // ],
49
- // anyOf: [
50
- // createCombinedSchema({
51
- // allOf: [
52
- // createObjectSchema({
53
- // properties: [createUnknownProperty('prop2')],
54
- // required: ['prop2'],
55
- // }),
56
- // ],
57
- // anyOf: [
58
- // createObjectSchema({
59
- // properties: [createUnknownProperty('prop3')],
60
- // required: ['prop3'],
61
- // }),
62
- // ],
63
- // }),
64
- // ],
65
- // });
66
- // const expectedResult = expect.objectContaining(
67
- // createObjectSchema({
68
- // name: 'root',
69
- // properties: [
70
- // expect.objectContaining(createUnknownProperty('prop1')),
71
- // expect.objectContaining(createUnknownProperty('prop2')),
72
- // expect.objectContaining(createUnknownProperty('prop3')),
73
- // ],
74
- // required: ['prop1'],
75
- // }),
76
- // );
77
- // const result = resolveAnyOfAndAllOf(schema, true);
78
- // expect(result).toEqual(expectedResult);
79
- // });
16
+ (0, bdd_js_1.it)('should resolve schema from allOf and anyOf', () => {
17
+ const prop0 = (0, schema_factory_js_1.createUnknownProperty)('prop0');
18
+ const prop1 = (0, schema_factory_js_1.createUnknownProperty)('prop1');
19
+ const prop2 = (0, schema_factory_js_1.createUnknownProperty)('prop2');
20
+ const schema = (0, schema_factory_js_1.createObjectSchema)({
21
+ name: 'root',
22
+ properties: [prop0],
23
+ required: ['prop0'],
24
+ allOf: [(0, schema_factory_js_1.createObjectSchema)({ properties: [prop1], required: ['prop1'] })],
25
+ anyOf: [(0, schema_factory_js_1.createObjectSchema)({ properties: [prop2], required: ['prop2'] })],
26
+ });
27
+ const expectedResult = mod_js_1.expect.objectContaining((0, schema_factory_js_1.createObjectSchema)({
28
+ name: 'root',
29
+ properties: [prop0, prop1, prop2],
30
+ required: ['prop0', 'prop1'],
31
+ }));
32
+ const result = (0, schema_utils_js_1.resolveAnyOfAndAllOf)(schema, true);
33
+ (0, mod_js_1.expect)(result).toEqual(expectedResult);
34
+ });
35
+ (0, bdd_js_1.it)('should merge properties from allOf and anyOf recursively', () => {
36
+ const prop1 = (0, schema_factory_js_1.createUnknownProperty)('prop1');
37
+ const prop2 = (0, schema_factory_js_1.createUnknownProperty)('prop2');
38
+ const prop3 = (0, schema_factory_js_1.createUnknownProperty)('prop3');
39
+ const schema = (0, schema_factory_js_1.createCombinedSchema)({
40
+ name: 'root',
41
+ allOf: [
42
+ (0, schema_factory_js_1.createObjectSchema)({
43
+ properties: [prop1],
44
+ required: ['prop1'],
45
+ }),
46
+ ],
47
+ anyOf: [
48
+ (0, schema_factory_js_1.createCombinedSchema)({
49
+ allOf: [
50
+ (0, schema_factory_js_1.createObjectSchema)({
51
+ properties: [prop2],
52
+ required: ['prop2'],
53
+ }),
54
+ ],
55
+ anyOf: [
56
+ (0, schema_factory_js_1.createObjectSchema)({
57
+ properties: [prop3],
58
+ required: ['prop3'],
59
+ }),
60
+ ],
61
+ }),
62
+ ],
63
+ });
64
+ const expectedResult = mod_js_1.expect.objectContaining((0, schema_factory_js_1.createObjectSchema)({
65
+ name: 'root',
66
+ properties: [prop1, prop2, prop3],
67
+ required: ['prop1'],
68
+ }));
69
+ const result = (0, schema_utils_js_1.resolveAnyOfAndAllOf)(schema, true);
70
+ (0, mod_js_1.expect)(result).toEqual(expectedResult);
71
+ });
80
72
  });
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  require("../../_dnt.test_polyfills.js");
4
4
  const node_os_1 = require("node:os");
5
- const mod_js_1 = require("../../deps/jsr.io/@std/expect/1.0.5/mod.js");
6
- const bdd_js_1 = require("../../deps/jsr.io/@std/testing/1.0.3/bdd.js");
5
+ const mod_js_1 = require("../../deps/jsr.io/@std/expect/1.0.12/mod.js");
6
+ const bdd_js_1 = require("../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
7
7
  const source_builder_js_1 = require("./source-builder.js");
8
8
  const utils_js_1 = require("./string-builder/utils.js");
9
9
  (0, bdd_js_1.describe)('SourceBuilder', () => {
@@ -32,8 +32,7 @@ const utils_js_1 = require("./string-builder/utils.js");
32
32
  };
33
33
  const sb = source_builder_js_1.SourceBuilder.fromString(str, options);
34
34
  (0, mod_js_1.expect)(sb.toString()).toEqual(str);
35
- // TODO: Uncomment as soon as @std/expect has new version (https://github.com/denoland/std/pull/6065)
36
- // expect(sb.options).toEqual(expect.objectContaining(options));
35
+ (0, mod_js_1.expect)(sb.options).toEqual(mod_js_1.expect.objectContaining(options));
37
36
  });
38
37
  });
39
38
  (0, bdd_js_1.describe)('build', () => {
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  require("../../../_dnt.test_polyfills.js");
4
4
  const node_os_1 = require("node:os");
5
- const mod_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.5/mod.js");
6
- const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.3/bdd.js");
5
+ const mod_js_1 = require("../../../deps/jsr.io/@std/expect/1.0.12/mod.js");
6
+ const bdd_js_1 = require("../../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
7
7
  const string_builder_js_1 = require("./string-builder.js");
8
8
  (0, bdd_js_1.describe)('fromString', () => {
9
9
  (0, bdd_js_1.it)('should create a StringBuilder instance with the given string', () => {
@@ -11,16 +11,15 @@ const string_builder_js_1 = require("./string-builder.js");
11
11
  const sb = string_builder_js_1.StringBuilder.fromString(str);
12
12
  (0, mod_js_1.expect)(sb.toString()).toEqual(str);
13
13
  });
14
- // TODO: Uncomment as soon as @std/expect has new version (https://github.com/denoland/std/pull/6065)
15
- // it('should create a StringBuilder instance with the given string and options', () => {
16
- // const str = 'test string';
17
- // const options: Partial<StringBuilderOptions> = {
18
- // newLine: '\r\n',
19
- // };
20
- // const sb = StringBuilder.fromString(str, options);
21
- // expect(sb.toString()).toEqual(str);
22
- // expect(sb.options).toEqual(expect.objectContaining(options));
23
- // });
14
+ (0, bdd_js_1.it)('should create a StringBuilder instance with the given string and options', () => {
15
+ const str = 'test string';
16
+ const options = {
17
+ newLine: '\r\n',
18
+ };
19
+ const sb = string_builder_js_1.StringBuilder.fromString(str, options);
20
+ (0, mod_js_1.expect)(sb.toString()).toEqual(str);
21
+ (0, mod_js_1.expect)(sb.options).toEqual(mod_js_1.expect.objectContaining(options));
22
+ });
24
23
  });
25
24
  (0, bdd_js_1.describe)('build', () => {
26
25
  (0, bdd_js_1.it)('should build a string using a StringBuilder build action', () => {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  require("../../_dnt.test_polyfills.js");
4
- const mod_js_1 = require("../../deps/jsr.io/@std/expect/1.0.5/mod.js");
5
- const bdd_js_1 = require("../../deps/jsr.io/@std/testing/1.0.3/bdd.js");
4
+ const mod_js_1 = require("../../deps/jsr.io/@std/expect/1.0.12/mod.js");
5
+ const bdd_js_1 = require("../../deps/jsr.io/@std/testing/1.0.9/bdd.js");
6
6
  const string_utils_js_1 = require("./string.utils.js");
7
7
  (0, bdd_js_1.describe)('getWords', () => {
8
8
  (0, bdd_js_1.it)('should return an empty array for a nullish string', () => {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  require("../_dnt.test_polyfills.js");
4
4
  const node_path_1 = require("node:path");
5
5
  const test_utils_1 = require("@goast/test-utils");
6
- const bdd_js_1 = require("../deps/jsr.io/@std/testing/1.0.3/bdd.js");
6
+ const bdd_js_1 = require("../deps/jsr.io/@std/testing/1.0.9/bdd.js");
7
7
  const mod_js_1 = require("../mod.js");
8
8
  const filePaths = {
9
9
  '2.0': test_utils_1.openApiV2FilesDir,
@@ -1,3 +1,30 @@
1
+ // https://github.com/tc39/proposal-accessible-object-hasownproperty/blob/main/polyfill.js
2
+ if (!Object.hasOwn) {
3
+ Object.defineProperty(Object, "hasOwn", {
4
+ value: function (object: any, property: any) {
5
+ if (object == null) {
6
+ throw new TypeError("Cannot convert undefined or null to object");
7
+ }
8
+ return Object.prototype.hasOwnProperty.call(Object(object), property);
9
+ },
10
+ configurable: true,
11
+ enumerable: false,
12
+ writable: true,
13
+ });
14
+ }
15
+
16
+ declare global {
17
+ interface Object {
18
+ /**
19
+ * Determines whether an object has a property with the specified name.
20
+ * @param o An object.
21
+ * @param v A property name.
22
+ */
23
+ hasOwn(o: object, v: PropertyKey): boolean;
24
+ }
25
+ }
26
+
27
+ export {};
1
28
  declare global {
2
29
  // https://github.com/microsoft/TypeScript/blob/main/lib/lib.es2021.string.d.ts
3
30
  interface String {
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { AssertionError } from "./assertion_error.js";
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { AssertionError } from "./assertion_error.js";
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { AssertionError } from "./assertion_error.js";
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { assertFalse } from "./false.js";
4
4
 
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { AssertionError } from "./assertion_error.js";
4
4
 
@@ -1,7 +1,7 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { AssertionError } from "./assertion_error.js";
4
- import { format } from "../../internal/1.0.4/format.js";
4
+ import { format } from "../../internal/1.0.5/format.js";
5
5
 
6
6
  /**
7
7
  * Make an assertion that `actual` and `expected` are not strictly equal, using
@@ -1,10 +1,10 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
- import { buildMessage } from "../../internal/1.0.4/build_message.js";
4
- import { diff } from "../../internal/1.0.4/diff.js";
5
- import { diffStr } from "../../internal/1.0.4/diff_str.js";
6
- import { format } from "../../internal/1.0.4/format.js";
7
- import { red } from "../../internal/1.0.4/styles.js";
3
+ import { buildMessage } from "../../internal/1.0.5/build_message.js";
4
+ import { diff } from "../../internal/1.0.5/diff.js";
5
+ import { diffStr } from "../../internal/1.0.5/diff_str.js";
6
+ import { format } from "../../internal/1.0.5/format.js";
7
+ import { red } from "../../internal/1.0.5/styles.js";
8
8
  import { AssertionError } from "./assertion_error.js";
9
9
 
10
10
  /**
@@ -1,8 +1,8 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
 
3
3
  // This file is copied from `std/assert`.
4
4
 
5
- import { AssertionError } from "../../assert/1.0.6/assertion_error.js";
5
+ import { AssertionError } from "../../assert/1.0.11/assertion_error.js";
6
6
  import { buildEqualErrorMessage } from "./_build_message.js";
7
7
  import { equal } from "./_equal.js";
8
8
  import type { EqualOptions } from "./_types.js";
@@ -1,7 +1,7 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
- import { AssertionError } from "./assertion_error.js";
4
- import { stripAnsiCode } from "../../internal/1.0.4/styles.js";
3
+ import { AssertionError } from "../../assert/1.0.11/assertion_error.js";
4
+ import { stripAnsiCode } from "../../internal/1.0.5/styles.js";
5
5
 
6
6
  /**
7
7
  * Make an assertion that `error` is an `Error`.
@@ -9,17 +9,6 @@ import { stripAnsiCode } from "../../internal/1.0.4/styles.js";
9
9
  * An error class and a string that should be included in the
10
10
  * error message can also be asserted.
11
11
  *
12
- * @example Usage
13
- * ```ts ignore
14
- * import { assertIsError } from "@std/assert";
15
- *
16
- * assertIsError(null); // Throws
17
- * assertIsError(new RangeError("Out of range")); // Doesn't throw
18
- * assertIsError(new RangeError("Out of range"), SyntaxError); // Throws
19
- * assertIsError(new RangeError("Out of range"), SyntaxError, "Out of range"); // Doesn't throw
20
- * assertIsError(new RangeError("Out of range"), SyntaxError, "Within range"); // Throws
21
- * ```
22
- *
23
12
  * @typeParam E The type of the error to assert.
24
13
  * @param error The error to assert.
25
14
  * @param ErrorClass The optional error class to assert.
@@ -33,15 +22,15 @@ export function assertIsError<E extends Error = Error>(
33
22
  msgMatches?: string | RegExp,
34
23
  msg?: string,
35
24
  ): asserts error is E {
36
- const msgSuffix = msg ? `: ${msg}` : ".";
25
+ const msgPrefix = msg ? `${msg}: ` : "";
37
26
  if (!(error instanceof Error)) {
38
27
  throw new AssertionError(
39
- `Expected "error" to be an Error object${msgSuffix}}`,
28
+ `${msgPrefix}Expected "error" to be an Error object.`,
40
29
  );
41
30
  }
42
31
  if (ErrorClass && !(error instanceof ErrorClass)) {
43
32
  msg =
44
- `Expected error to be instance of "${ErrorClass.name}", but was "${error?.constructor?.name}"${msgSuffix}`;
33
+ `${msgPrefix}Expected error to be instance of "${ErrorClass.name}", but was "${error?.constructor?.name}".`;
45
34
  throw new AssertionError(msg);
46
35
  }
47
36
  let msgCheck;
@@ -55,11 +44,11 @@ export function assertIsError<E extends Error = Error>(
55
44
  }
56
45
 
57
46
  if (msgMatches && !msgCheck) {
58
- msg = `Expected error message to include ${
47
+ msg = `${msgPrefix}Expected error message to include ${
59
48
  msgMatches instanceof RegExp
60
49
  ? msgMatches.toString()
61
50
  : JSON.stringify(msgMatches)
62
- }, but got ${JSON.stringify(error?.message)}${msgSuffix}`;
51
+ }, but got ${JSON.stringify(error?.message)}.`;
63
52
  throw new AssertionError(msg);
64
53
  }
65
54
  }
@@ -1,8 +1,8 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
 
3
3
  // This file is copied from `std/assert`.
4
4
 
5
- import { AssertionError } from "../../assert/1.0.6/assertion_error.js";
5
+ import { AssertionError } from "../../assert/1.0.11/assertion_error.js";
6
6
  import { buildNotEqualErrorMessage } from "./_build_message.js";
7
7
  import { equal } from "./_equal.js";
8
8
  import type { EqualOptions } from "./_types.js";
@@ -30,6 +30,6 @@ export function assertNotEquals<T>(
30
30
  return;
31
31
  }
32
32
 
33
- const message = buildNotEqualErrorMessage(actual, expected, options);
33
+ const message = buildNotEqualErrorMessage(actual, expected, options ?? {});
34
34
  throw new AssertionError(message);
35
35
  }
@@ -0,0 +1,18 @@
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
+
3
+ import { getAssertionState } from "../../internal/1.0.5/assertion_state.js";
4
+
5
+ const assertionState = getAssertionState();
6
+
7
+ export function hasAssertions() {
8
+ assertionState.setAssertionCheck(true);
9
+ }
10
+
11
+ export function assertions(num: number) {
12
+ assertionState.setAssertionCount(num);
13
+ }
14
+
15
+ export function emitAssertionTrigger() {
16
+ assertionState.setAssertionTriggered(true);
17
+ assertionState.updateAssertionTriggerCount();
18
+ }
@@ -1,9 +1,13 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // deno-lint-ignore-file no-explicit-any
3
3
 
4
+ import { getCustomEqualityTesters } from "./_custom_equality_tester.js";
5
+ import { equal } from "./_equal.js";
6
+
4
7
  export abstract class AsymmetricMatcher<T> {
5
8
  constructor(
6
9
  protected value: T,
10
+ protected inverse: boolean = false,
7
11
  ) {}
8
12
  abstract equals(other: unknown): boolean;
9
13
  }
@@ -67,12 +71,18 @@ export function any(c: unknown): Any {
67
71
  }
68
72
 
69
73
  export class ArrayContaining extends AsymmetricMatcher<any[]> {
70
- constructor(arr: any[]) {
71
- super(arr);
74
+ constructor(arr: any[], inverse = false) {
75
+ super(arr, inverse);
72
76
  }
73
77
 
74
78
  equals(other: any[]): boolean {
75
- return Array.isArray(other) && this.value.every((e) => other.includes(e));
79
+ const res = Array.isArray(other) &&
80
+ this.value.every((e) =>
81
+ other.some((another) =>
82
+ equal(e, another, { customTesters: getCustomEqualityTesters() })
83
+ )
84
+ );
85
+ return this.inverse ? !res : res;
76
86
  }
77
87
  }
78
88
 
@@ -80,6 +90,10 @@ export function arrayContaining(c: any[]): ArrayContaining {
80
90
  return new ArrayContaining(c);
81
91
  }
82
92
 
93
+ export function arrayNotContaining(c: any[]): ArrayContaining {
94
+ return new ArrayContaining(c, true);
95
+ }
96
+
83
97
  export class CloseTo extends AsymmetricMatcher<number> {
84
98
  readonly #precision: number;
85
99
 
@@ -111,16 +125,13 @@ export function closeTo(num: number, numDigits?: number): CloseTo {
111
125
  }
112
126
 
113
127
  export class StringContaining extends AsymmetricMatcher<string> {
114
- constructor(str: string) {
115
- super(str);
128
+ constructor(str: string, inverse = false) {
129
+ super(str, inverse);
116
130
  }
117
131
 
118
132
  equals(other: string): boolean {
119
- if (typeof other !== "string") {
120
- return false;
121
- }
122
-
123
- return other.includes(this.value);
133
+ const res = typeof other !== "string" ? false : other.includes(this.value);
134
+ return this.inverse ? !res : res;
124
135
  }
125
136
  }
126
137
 
@@ -128,20 +139,60 @@ export function stringContaining(str: string): StringContaining {
128
139
  return new StringContaining(str);
129
140
  }
130
141
 
142
+ export function stringNotContaining(str: string): StringContaining {
143
+ return new StringContaining(str, true);
144
+ }
145
+
131
146
  export class StringMatching extends AsymmetricMatcher<RegExp> {
132
- constructor(pattern: string | RegExp) {
133
- super(new RegExp(pattern));
147
+ constructor(pattern: string | RegExp, inverse = false) {
148
+ super(new RegExp(pattern), inverse);
134
149
  }
135
150
 
136
151
  equals(other: string): boolean {
137
- if (typeof other !== "string") {
138
- return false;
139
- }
140
-
141
- return this.value.test(other);
152
+ const res = typeof other !== "string" ? false : this.value.test(other);
153
+ return this.inverse ? !res : res;
142
154
  }
143
155
  }
144
156
 
145
157
  export function stringMatching(pattern: string | RegExp): StringMatching {
146
158
  return new StringMatching(pattern);
147
159
  }
160
+
161
+ export function stringNotMatching(pattern: string | RegExp): StringMatching {
162
+ return new StringMatching(pattern, true);
163
+ }
164
+
165
+ export class ObjectContaining
166
+ extends AsymmetricMatcher<Record<string, unknown>> {
167
+ constructor(obj: Record<string, unknown>, inverse = false) {
168
+ super(obj, inverse);
169
+ }
170
+
171
+ equals(other: Record<string, unknown>): boolean {
172
+ const keys = Object.keys(this.value);
173
+ let res = true;
174
+
175
+ for (const key of keys) {
176
+ if (
177
+ !Object.hasOwn(other, key) ||
178
+ !equal(this.value[key], other[key])
179
+ ) {
180
+ res = false;
181
+ }
182
+ }
183
+
184
+ return this.inverse ? !res : res;
185
+ }
186
+ }
187
+
188
+ export function objectContaining(
189
+ obj: Record<string, unknown>,
190
+ ): ObjectContaining {
191
+ return new ObjectContaining(obj);
192
+ }
193
+
194
+ export function objectNotContaining(
195
+ obj: Record<string, unknown>,
196
+ ): ObjectContaining {
197
+ return new ObjectContaining(obj, true);
198
+ }