@seontechnologies/playwright-utils 3.10.0

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 (933) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +727 -0
  3. package/dist/cjs/api-request/api-request-fixture.d.ts +47 -0
  4. package/dist/cjs/api-request/api-request-fixture.d.ts.map +1 -0
  5. package/dist/cjs/api-request/api-request-fixture.js +26 -0
  6. package/dist/cjs/api-request/api-request-fixture.js.map +1 -0
  7. package/dist/cjs/api-request/api-request.d.ts +108 -0
  8. package/dist/cjs/api-request/api-request.d.ts.map +1 -0
  9. package/dist/cjs/api-request/api-request.js +326 -0
  10. package/dist/cjs/api-request/api-request.js.map +1 -0
  11. package/dist/cjs/api-request/fixtures.d.ts +3 -0
  12. package/dist/cjs/api-request/fixtures.d.ts.map +1 -0
  13. package/dist/cjs/api-request/fixtures.js +13 -0
  14. package/dist/cjs/api-request/fixtures.js.map +1 -0
  15. package/dist/cjs/api-request/index.d.ts +7 -0
  16. package/dist/cjs/api-request/index.d.ts.map +1 -0
  17. package/dist/cjs/api-request/index.js +11 -0
  18. package/dist/cjs/api-request/index.js.map +1 -0
  19. package/dist/cjs/api-request/schema-validation/core.d.ts +13 -0
  20. package/dist/cjs/api-request/schema-validation/core.d.ts.map +1 -0
  21. package/dist/cjs/api-request/schema-validation/core.js +55 -0
  22. package/dist/cjs/api-request/schema-validation/core.js.map +1 -0
  23. package/dist/cjs/api-request/schema-validation/fixture.d.ts +20 -0
  24. package/dist/cjs/api-request/schema-validation/fixture.d.ts.map +1 -0
  25. package/dist/cjs/api-request/schema-validation/fixture.js +17 -0
  26. package/dist/cjs/api-request/schema-validation/fixture.js.map +1 -0
  27. package/dist/cjs/api-request/schema-validation/index.d.ts +6 -0
  28. package/dist/cjs/api-request/schema-validation/index.d.ts.map +1 -0
  29. package/dist/cjs/api-request/schema-validation/index.js +13 -0
  30. package/dist/cjs/api-request/schema-validation/index.js.map +1 -0
  31. package/dist/cjs/api-request/schema-validation/internal/file-loader.d.ts +50 -0
  32. package/dist/cjs/api-request/schema-validation/internal/file-loader.d.ts.map +1 -0
  33. package/dist/cjs/api-request/schema-validation/internal/file-loader.js +126 -0
  34. package/dist/cjs/api-request/schema-validation/internal/file-loader.js.map +1 -0
  35. package/dist/cjs/api-request/schema-validation/internal/openapi-handler.d.ts +43 -0
  36. package/dist/cjs/api-request/schema-validation/internal/openapi-handler.d.ts.map +1 -0
  37. package/dist/cjs/api-request/schema-validation/internal/openapi-handler.js +147 -0
  38. package/dist/cjs/api-request/schema-validation/internal/openapi-handler.js.map +1 -0
  39. package/dist/cjs/api-request/schema-validation/internal/promise-extension.d.ts +10 -0
  40. package/dist/cjs/api-request/schema-validation/internal/promise-extension.d.ts.map +1 -0
  41. package/dist/cjs/api-request/schema-validation/internal/promise-extension.js +14 -0
  42. package/dist/cjs/api-request/schema-validation/internal/promise-extension.js.map +1 -0
  43. package/dist/cjs/api-request/schema-validation/internal/response-extension.d.ts +18 -0
  44. package/dist/cjs/api-request/schema-validation/internal/response-extension.d.ts.map +1 -0
  45. package/dist/cjs/api-request/schema-validation/internal/response-extension.js +212 -0
  46. package/dist/cjs/api-request/schema-validation/internal/response-extension.js.map +1 -0
  47. package/dist/cjs/api-request/schema-validation/internal/result-builder.d.ts +62 -0
  48. package/dist/cjs/api-request/schema-validation/internal/result-builder.d.ts.map +1 -0
  49. package/dist/cjs/api-request/schema-validation/internal/result-builder.js +140 -0
  50. package/dist/cjs/api-request/schema-validation/internal/result-builder.js.map +1 -0
  51. package/dist/cjs/api-request/schema-validation/internal/safe-error-serializer.d.ts +58 -0
  52. package/dist/cjs/api-request/schema-validation/internal/safe-error-serializer.d.ts.map +1 -0
  53. package/dist/cjs/api-request/schema-validation/internal/safe-error-serializer.js +221 -0
  54. package/dist/cjs/api-request/schema-validation/internal/safe-error-serializer.js.map +1 -0
  55. package/dist/cjs/api-request/schema-validation/internal/schema-processors.d.ts +38 -0
  56. package/dist/cjs/api-request/schema-validation/internal/schema-processors.d.ts.map +1 -0
  57. package/dist/cjs/api-request/schema-validation/internal/schema-processors.js +341 -0
  58. package/dist/cjs/api-request/schema-validation/internal/schema-processors.js.map +1 -0
  59. package/dist/cjs/api-request/schema-validation/internal/shape-validator.d.ts +96 -0
  60. package/dist/cjs/api-request/schema-validation/internal/shape-validator.d.ts.map +1 -0
  61. package/dist/cjs/api-request/schema-validation/internal/shape-validator.js +180 -0
  62. package/dist/cjs/api-request/schema-validation/internal/shape-validator.js.map +1 -0
  63. package/dist/cjs/api-request/schema-validation/internal/validation-engine.d.ts +63 -0
  64. package/dist/cjs/api-request/schema-validation/internal/validation-engine.d.ts.map +1 -0
  65. package/dist/cjs/api-request/schema-validation/internal/validation-engine.js +395 -0
  66. package/dist/cjs/api-request/schema-validation/internal/validation-engine.js.map +1 -0
  67. package/dist/cjs/api-request/schema-validation/types.d.ts +92 -0
  68. package/dist/cjs/api-request/schema-validation/types.d.ts.map +1 -0
  69. package/dist/cjs/api-request/schema-validation/types.js +16 -0
  70. package/dist/cjs/api-request/schema-validation/types.js.map +1 -0
  71. package/dist/cjs/api-request/ui-display.d.ts +42 -0
  72. package/dist/cjs/api-request/ui-display.d.ts.map +1 -0
  73. package/dist/cjs/api-request/ui-display.js +370 -0
  74. package/dist/cjs/api-request/ui-display.js.map +1 -0
  75. package/dist/cjs/auth-session/apply-user-cookies-to-browser-context.d.ts +17 -0
  76. package/dist/cjs/auth-session/apply-user-cookies-to-browser-context.d.ts.map +1 -0
  77. package/dist/cjs/auth-session/apply-user-cookies-to-browser-context.js +49 -0
  78. package/dist/cjs/auth-session/apply-user-cookies-to-browser-context.js.map +1 -0
  79. package/dist/cjs/auth-session/core.d.ts +56 -0
  80. package/dist/cjs/auth-session/core.d.ts.map +1 -0
  81. package/dist/cjs/auth-session/core.js +271 -0
  82. package/dist/cjs/auth-session/core.js.map +1 -0
  83. package/dist/cjs/auth-session/fixtures.d.ts +83 -0
  84. package/dist/cjs/auth-session/fixtures.d.ts.map +1 -0
  85. package/dist/cjs/auth-session/fixtures.js +147 -0
  86. package/dist/cjs/auth-session/fixtures.js.map +1 -0
  87. package/dist/cjs/auth-session/global-setup-helper.d.ts +18 -0
  88. package/dist/cjs/auth-session/global-setup-helper.d.ts.map +1 -0
  89. package/dist/cjs/auth-session/global-setup-helper.js +26 -0
  90. package/dist/cjs/auth-session/global-setup-helper.js.map +1 -0
  91. package/dist/cjs/auth-session/index.d.ts +15 -0
  92. package/dist/cjs/auth-session/index.d.ts.map +1 -0
  93. package/dist/cjs/auth-session/index.js +45 -0
  94. package/dist/cjs/auth-session/index.js.map +1 -0
  95. package/dist/cjs/auth-session/internal/auth-configure.d.ts +19 -0
  96. package/dist/cjs/auth-session/internal/auth-configure.d.ts.map +1 -0
  97. package/dist/cjs/auth-session/internal/auth-configure.js +117 -0
  98. package/dist/cjs/auth-session/internal/auth-configure.js.map +1 -0
  99. package/dist/cjs/auth-session/internal/auth-global-setup.d.ts +33 -0
  100. package/dist/cjs/auth-session/internal/auth-global-setup.d.ts.map +1 -0
  101. package/dist/cjs/auth-session/internal/auth-global-setup.js +152 -0
  102. package/dist/cjs/auth-session/internal/auth-global-setup.js.map +1 -0
  103. package/dist/cjs/auth-session/internal/auth-provider-validator.d.ts +36 -0
  104. package/dist/cjs/auth-session/internal/auth-provider-validator.d.ts.map +1 -0
  105. package/dist/cjs/auth-session/internal/auth-provider-validator.js +273 -0
  106. package/dist/cjs/auth-session/internal/auth-provider-validator.js.map +1 -0
  107. package/dist/cjs/auth-session/internal/auth-provider.d.ts +92 -0
  108. package/dist/cjs/auth-session/internal/auth-provider.d.ts.map +1 -0
  109. package/dist/cjs/auth-session/internal/auth-provider.js +40 -0
  110. package/dist/cjs/auth-session/internal/auth-provider.js.map +1 -0
  111. package/dist/cjs/auth-session/internal/auth-session.d.ts +76 -0
  112. package/dist/cjs/auth-session/internal/auth-session.d.ts.map +1 -0
  113. package/dist/cjs/auth-session/internal/auth-session.js +651 -0
  114. package/dist/cjs/auth-session/internal/auth-session.js.map +1 -0
  115. package/dist/cjs/auth-session/internal/auth-storage-utils.d.ts +62 -0
  116. package/dist/cjs/auth-session/internal/auth-storage-utils.d.ts.map +1 -0
  117. package/dist/cjs/auth-session/internal/auth-storage-utils.js +314 -0
  118. package/dist/cjs/auth-session/internal/auth-storage-utils.js.map +1 -0
  119. package/dist/cjs/auth-session/internal/cache-manager.d.ts +116 -0
  120. package/dist/cjs/auth-session/internal/cache-manager.d.ts.map +1 -0
  121. package/dist/cjs/auth-session/internal/cache-manager.js +267 -0
  122. package/dist/cjs/auth-session/internal/cache-manager.js.map +1 -0
  123. package/dist/cjs/auth-session/internal/types.d.ts +132 -0
  124. package/dist/cjs/auth-session/internal/types.d.ts.map +1 -0
  125. package/dist/cjs/auth-session/internal/types.js +4 -0
  126. package/dist/cjs/auth-session/internal/types.js.map +1 -0
  127. package/dist/cjs/burn-in/core/analyzer.d.ts +36 -0
  128. package/dist/cjs/burn-in/core/analyzer.d.ts.map +1 -0
  129. package/dist/cjs/burn-in/core/analyzer.js +329 -0
  130. package/dist/cjs/burn-in/core/analyzer.js.map +1 -0
  131. package/dist/cjs/burn-in/core/config.d.ts +4 -0
  132. package/dist/cjs/burn-in/core/config.d.ts.map +1 -0
  133. package/dist/cjs/burn-in/core/config.js +107 -0
  134. package/dist/cjs/burn-in/core/config.js.map +1 -0
  135. package/dist/cjs/burn-in/core/types.d.ts +24 -0
  136. package/dist/cjs/burn-in/core/types.d.ts.map +1 -0
  137. package/dist/cjs/burn-in/core/types.js +3 -0
  138. package/dist/cjs/burn-in/core/types.js.map +1 -0
  139. package/dist/cjs/burn-in/index.d.ts +3 -0
  140. package/dist/cjs/burn-in/index.d.ts.map +1 -0
  141. package/dist/cjs/burn-in/index.js +7 -0
  142. package/dist/cjs/burn-in/index.js.map +1 -0
  143. package/dist/cjs/burn-in/runner.d.ts +13 -0
  144. package/dist/cjs/burn-in/runner.d.ts.map +1 -0
  145. package/dist/cjs/burn-in/runner.js +61 -0
  146. package/dist/cjs/burn-in/runner.js.map +1 -0
  147. package/dist/cjs/file-utils/core/csv-reader.d.ts +35 -0
  148. package/dist/cjs/file-utils/core/csv-reader.d.ts.map +1 -0
  149. package/dist/cjs/file-utils/core/csv-reader.js +206 -0
  150. package/dist/cjs/file-utils/core/csv-reader.js.map +1 -0
  151. package/dist/cjs/file-utils/core/file-downloader.d.ts +19 -0
  152. package/dist/cjs/file-utils/core/file-downloader.d.ts.map +1 -0
  153. package/dist/cjs/file-utils/core/file-downloader.js +49 -0
  154. package/dist/cjs/file-utils/core/file-downloader.js.map +1 -0
  155. package/dist/cjs/file-utils/core/pdf-reader.d.ts +42 -0
  156. package/dist/cjs/file-utils/core/pdf-reader.d.ts.map +1 -0
  157. package/dist/cjs/file-utils/core/pdf-reader.js +135 -0
  158. package/dist/cjs/file-utils/core/pdf-reader.js.map +1 -0
  159. package/dist/cjs/file-utils/core/types.d.ts +138 -0
  160. package/dist/cjs/file-utils/core/types.d.ts.map +1 -0
  161. package/dist/cjs/file-utils/core/types.js +72 -0
  162. package/dist/cjs/file-utils/core/types.js.map +1 -0
  163. package/dist/cjs/file-utils/core/xlsx-reader.d.ts +31 -0
  164. package/dist/cjs/file-utils/core/xlsx-reader.d.ts.map +1 -0
  165. package/dist/cjs/file-utils/core/xlsx-reader.js +216 -0
  166. package/dist/cjs/file-utils/core/xlsx-reader.js.map +1 -0
  167. package/dist/cjs/file-utils/core/zip-reader.d.ts +26 -0
  168. package/dist/cjs/file-utils/core/zip-reader.d.ts.map +1 -0
  169. package/dist/cjs/file-utils/core/zip-reader.js +95 -0
  170. package/dist/cjs/file-utils/core/zip-reader.js.map +1 -0
  171. package/dist/cjs/file-utils/file-utils-fixture.d.ts +16 -0
  172. package/dist/cjs/file-utils/file-utils-fixture.d.ts.map +1 -0
  173. package/dist/cjs/file-utils/file-utils-fixture.js +65 -0
  174. package/dist/cjs/file-utils/file-utils-fixture.js.map +1 -0
  175. package/dist/cjs/file-utils/fixtures.d.ts +2 -0
  176. package/dist/cjs/file-utils/fixtures.d.ts.map +1 -0
  177. package/dist/cjs/file-utils/fixtures.js +6 -0
  178. package/dist/cjs/file-utils/fixtures.js.map +1 -0
  179. package/dist/cjs/file-utils/index.d.ts +9 -0
  180. package/dist/cjs/file-utils/index.d.ts.map +1 -0
  181. package/dist/cjs/file-utils/index.js +25 -0
  182. package/dist/cjs/file-utils/index.js.map +1 -0
  183. package/dist/cjs/index.d.ts +13 -0
  184. package/dist/cjs/index.d.ts.map +1 -0
  185. package/dist/cjs/index.js +45 -0
  186. package/dist/cjs/index.js.map +1 -0
  187. package/dist/cjs/intercept-network-call/core/fulfill-network-call.d.ts +10 -0
  188. package/dist/cjs/intercept-network-call/core/fulfill-network-call.d.ts.map +1 -0
  189. package/dist/cjs/intercept-network-call/core/fulfill-network-call.js +88 -0
  190. package/dist/cjs/intercept-network-call/core/fulfill-network-call.js.map +1 -0
  191. package/dist/cjs/intercept-network-call/core/observe-network-call.d.ts +4 -0
  192. package/dist/cjs/intercept-network-call/core/observe-network-call.d.ts.map +1 -0
  193. package/dist/cjs/intercept-network-call/core/observe-network-call.js +56 -0
  194. package/dist/cjs/intercept-network-call/core/observe-network-call.js.map +1 -0
  195. package/dist/cjs/intercept-network-call/core/types.d.ts +28 -0
  196. package/dist/cjs/intercept-network-call/core/types.d.ts.map +1 -0
  197. package/dist/cjs/intercept-network-call/core/types.js +28 -0
  198. package/dist/cjs/intercept-network-call/core/types.js.map +1 -0
  199. package/dist/cjs/intercept-network-call/core/utils/matches-request.d.ts +9 -0
  200. package/dist/cjs/intercept-network-call/core/utils/matches-request.d.ts.map +1 -0
  201. package/dist/cjs/intercept-network-call/core/utils/matches-request.js +32 -0
  202. package/dist/cjs/intercept-network-call/core/utils/matches-request.js.map +1 -0
  203. package/dist/cjs/intercept-network-call/fixtures.d.ts +2 -0
  204. package/dist/cjs/intercept-network-call/fixtures.d.ts.map +1 -0
  205. package/dist/cjs/intercept-network-call/fixtures.js +6 -0
  206. package/dist/cjs/intercept-network-call/fixtures.js.map +1 -0
  207. package/dist/cjs/intercept-network-call/index.d.ts +5 -0
  208. package/dist/cjs/intercept-network-call/index.d.ts.map +1 -0
  209. package/dist/cjs/intercept-network-call/index.js +11 -0
  210. package/dist/cjs/intercept-network-call/index.js.map +1 -0
  211. package/dist/cjs/intercept-network-call/intercept-network-call-fixture.d.ts +7 -0
  212. package/dist/cjs/intercept-network-call/intercept-network-call-fixture.d.ts.map +1 -0
  213. package/dist/cjs/intercept-network-call/intercept-network-call-fixture.js +18 -0
  214. package/dist/cjs/intercept-network-call/intercept-network-call-fixture.js.map +1 -0
  215. package/dist/cjs/intercept-network-call/intercept-network-call.d.ts +21 -0
  216. package/dist/cjs/intercept-network-call/intercept-network-call.d.ts.map +1 -0
  217. package/dist/cjs/intercept-network-call/intercept-network-call.js +59 -0
  218. package/dist/cjs/intercept-network-call/intercept-network-call.js.map +1 -0
  219. package/dist/cjs/internal/index.d.ts +2 -0
  220. package/dist/cjs/internal/index.d.ts.map +1 -0
  221. package/dist/cjs/internal/index.js +18 -0
  222. package/dist/cjs/internal/index.js.map +1 -0
  223. package/dist/cjs/internal/logger.d.ts +25 -0
  224. package/dist/cjs/internal/logger.d.ts.map +1 -0
  225. package/dist/cjs/internal/logger.js +33 -0
  226. package/dist/cjs/internal/logger.js.map +1 -0
  227. package/dist/cjs/log/config.d.ts +28 -0
  228. package/dist/cjs/log/config.d.ts.map +1 -0
  229. package/dist/cjs/log/config.js +165 -0
  230. package/dist/cjs/log/config.js.map +1 -0
  231. package/dist/cjs/log/fixtures.d.ts +2 -0
  232. package/dist/cjs/log/fixtures.d.ts.map +1 -0
  233. package/dist/cjs/log/fixtures.js +6 -0
  234. package/dist/cjs/log/fixtures.js.map +1 -0
  235. package/dist/cjs/log/formatters/colors.d.ts +13 -0
  236. package/dist/cjs/log/formatters/colors.d.ts.map +1 -0
  237. package/dist/cjs/log/formatters/colors.js +16 -0
  238. package/dist/cjs/log/formatters/colors.js.map +1 -0
  239. package/dist/cjs/log/formatters/format-message-base.d.ts +57 -0
  240. package/dist/cjs/log/formatters/format-message-base.d.ts.map +1 -0
  241. package/dist/cjs/log/formatters/format-message-base.js +198 -0
  242. package/dist/cjs/log/formatters/format-message-base.js.map +1 -0
  243. package/dist/cjs/log/formatters/format-message.d.ts +13 -0
  244. package/dist/cjs/log/formatters/format-message.d.ts.map +1 -0
  245. package/dist/cjs/log/formatters/format-message.js +127 -0
  246. package/dist/cjs/log/formatters/format-message.js.map +1 -0
  247. package/dist/cjs/log/index.d.ts +4 -0
  248. package/dist/cjs/log/index.d.ts.map +1 -0
  249. package/dist/cjs/log/index.js +14 -0
  250. package/dist/cjs/log/index.js.map +1 -0
  251. package/dist/cjs/log/log-fixture.d.ts +5 -0
  252. package/dist/cjs/log/log-fixture.d.ts.map +1 -0
  253. package/dist/cjs/log/log-fixture.js +23 -0
  254. package/dist/cjs/log/log-fixture.js.map +1 -0
  255. package/dist/cjs/log/log-organizer.d.ts +17 -0
  256. package/dist/cjs/log/log-organizer.d.ts.map +1 -0
  257. package/dist/cjs/log/log-organizer.js +81 -0
  258. package/dist/cjs/log/log-organizer.js.map +1 -0
  259. package/dist/cjs/log/log.d.ts +20 -0
  260. package/dist/cjs/log/log.d.ts.map +1 -0
  261. package/dist/cjs/log/log.js +268 -0
  262. package/dist/cjs/log/log.js.map +1 -0
  263. package/dist/cjs/log/outputs/add-test-header.d.ts +14 -0
  264. package/dist/cjs/log/outputs/add-test-header.d.ts.map +1 -0
  265. package/dist/cjs/log/outputs/add-test-header.js +92 -0
  266. package/dist/cjs/log/outputs/add-test-header.js.map +1 -0
  267. package/dist/cjs/log/outputs/context.d.ts +73 -0
  268. package/dist/cjs/log/outputs/context.d.ts.map +1 -0
  269. package/dist/cjs/log/outputs/context.js +156 -0
  270. package/dist/cjs/log/outputs/context.js.map +1 -0
  271. package/dist/cjs/log/outputs/create-log-file-path.d.ts +6 -0
  272. package/dist/cjs/log/outputs/create-log-file-path.d.ts.map +1 -0
  273. package/dist/cjs/log/outputs/create-log-file-path.js +118 -0
  274. package/dist/cjs/log/outputs/create-log-file-path.js.map +1 -0
  275. package/dist/cjs/log/outputs/log-to-console.d.ts +4 -0
  276. package/dist/cjs/log/outputs/log-to-console.d.ts.map +1 -0
  277. package/dist/cjs/log/outputs/log-to-console.js +26 -0
  278. package/dist/cjs/log/outputs/log-to-console.js.map +1 -0
  279. package/dist/cjs/log/outputs/log-to-file.d.ts +23 -0
  280. package/dist/cjs/log/outputs/log-to-file.d.ts.map +1 -0
  281. package/dist/cjs/log/outputs/log-to-file.js +198 -0
  282. package/dist/cjs/log/outputs/log-to-file.js.map +1 -0
  283. package/dist/cjs/log/test-step.d.ts +42 -0
  284. package/dist/cjs/log/test-step.d.ts.map +1 -0
  285. package/dist/cjs/log/test-step.js +110 -0
  286. package/dist/cjs/log/test-step.js.map +1 -0
  287. package/dist/cjs/log/types.d.ts +81 -0
  288. package/dist/cjs/log/types.d.ts.map +1 -0
  289. package/dist/cjs/log/types.js +13 -0
  290. package/dist/cjs/log/types.js.map +1 -0
  291. package/dist/cjs/log/utils/async.d.ts +6 -0
  292. package/dist/cjs/log/utils/async.d.ts.map +1 -0
  293. package/dist/cjs/log/utils/async.js +15 -0
  294. package/dist/cjs/log/utils/async.js.map +1 -0
  295. package/dist/cjs/log/utils/flag.d.ts +12 -0
  296. package/dist/cjs/log/utils/flag.d.ts.map +1 -0
  297. package/dist/cjs/log/utils/flag.js +19 -0
  298. package/dist/cjs/log/utils/flag.js.map +1 -0
  299. package/dist/cjs/log/utils/options.d.ts +14 -0
  300. package/dist/cjs/log/utils/options.d.ts.map +1 -0
  301. package/dist/cjs/log/utils/options.js +86 -0
  302. package/dist/cjs/log/utils/options.js.map +1 -0
  303. package/dist/cjs/log/utils/playwright-step-utils.d.ts +5 -0
  304. package/dist/cjs/log/utils/playwright-step-utils.d.ts.map +1 -0
  305. package/dist/cjs/log/utils/playwright-step-utils.js +48 -0
  306. package/dist/cjs/log/utils/playwright-step-utils.js.map +1 -0
  307. package/dist/cjs/network-error-monitor/fixtures.d.ts +91 -0
  308. package/dist/cjs/network-error-monitor/fixtures.d.ts.map +1 -0
  309. package/dist/cjs/network-error-monitor/fixtures.js +299 -0
  310. package/dist/cjs/network-error-monitor/fixtures.js.map +1 -0
  311. package/dist/cjs/network-recorder/core/har-builder.d.ts +122 -0
  312. package/dist/cjs/network-recorder/core/har-builder.d.ts.map +1 -0
  313. package/dist/cjs/network-recorder/core/har-builder.js +159 -0
  314. package/dist/cjs/network-recorder/core/har-builder.js.map +1 -0
  315. package/dist/cjs/network-recorder/core/har-manager.d.ts +74 -0
  316. package/dist/cjs/network-recorder/core/har-manager.d.ts.map +1 -0
  317. package/dist/cjs/network-recorder/core/har-manager.js +243 -0
  318. package/dist/cjs/network-recorder/core/har-manager.js.map +1 -0
  319. package/dist/cjs/network-recorder/core/har-playback-handler.d.ts +10 -0
  320. package/dist/cjs/network-recorder/core/har-playback-handler.d.ts.map +1 -0
  321. package/dist/cjs/network-recorder/core/har-playback-handler.js +291 -0
  322. package/dist/cjs/network-recorder/core/har-playback-handler.js.map +1 -0
  323. package/dist/cjs/network-recorder/core/index.d.ts +9 -0
  324. package/dist/cjs/network-recorder/core/index.d.ts.map +1 -0
  325. package/dist/cjs/network-recorder/core/index.js +35 -0
  326. package/dist/cjs/network-recorder/core/index.js.map +1 -0
  327. package/dist/cjs/network-recorder/core/mode-detector.d.ts +64 -0
  328. package/dist/cjs/network-recorder/core/mode-detector.d.ts.map +1 -0
  329. package/dist/cjs/network-recorder/core/mode-detector.js +191 -0
  330. package/dist/cjs/network-recorder/core/mode-detector.js.map +1 -0
  331. package/dist/cjs/network-recorder/core/network-recorder.d.ts +90 -0
  332. package/dist/cjs/network-recorder/core/network-recorder.d.ts.map +1 -0
  333. package/dist/cjs/network-recorder/core/network-recorder.js +260 -0
  334. package/dist/cjs/network-recorder/core/network-recorder.js.map +1 -0
  335. package/dist/cjs/network-recorder/core/stateful-api-mock.d.ts +31 -0
  336. package/dist/cjs/network-recorder/core/stateful-api-mock.d.ts.map +1 -0
  337. package/dist/cjs/network-recorder/core/stateful-api-mock.js +160 -0
  338. package/dist/cjs/network-recorder/core/stateful-api-mock.js.map +1 -0
  339. package/dist/cjs/network-recorder/core/types.d.ts +192 -0
  340. package/dist/cjs/network-recorder/core/types.d.ts.map +1 -0
  341. package/dist/cjs/network-recorder/core/types.js +54 -0
  342. package/dist/cjs/network-recorder/core/types.js.map +1 -0
  343. package/dist/cjs/network-recorder/fixtures.d.ts +2 -0
  344. package/dist/cjs/network-recorder/fixtures.d.ts.map +1 -0
  345. package/dist/cjs/network-recorder/fixtures.js +6 -0
  346. package/dist/cjs/network-recorder/fixtures.js.map +1 -0
  347. package/dist/cjs/network-recorder/index.d.ts +6 -0
  348. package/dist/cjs/network-recorder/index.d.ts.map +1 -0
  349. package/dist/cjs/network-recorder/index.js +22 -0
  350. package/dist/cjs/network-recorder/index.js.map +1 -0
  351. package/dist/cjs/network-recorder/network-recorder-fixture.d.ts +78 -0
  352. package/dist/cjs/network-recorder/network-recorder-fixture.d.ts.map +1 -0
  353. package/dist/cjs/network-recorder/network-recorder-fixture.js +79 -0
  354. package/dist/cjs/network-recorder/network-recorder-fixture.js.map +1 -0
  355. package/dist/cjs/network-recorder/network-recorder.d.ts +11 -0
  356. package/dist/cjs/network-recorder/network-recorder.d.ts.map +1 -0
  357. package/dist/cjs/network-recorder/network-recorder.js +32 -0
  358. package/dist/cjs/network-recorder/network-recorder.js.map +1 -0
  359. package/dist/cjs/recurse/fixtures.d.ts +2 -0
  360. package/dist/cjs/recurse/fixtures.d.ts.map +1 -0
  361. package/dist/cjs/recurse/fixtures.js +6 -0
  362. package/dist/cjs/recurse/fixtures.js.map +1 -0
  363. package/dist/cjs/recurse/index.d.ts +2 -0
  364. package/dist/cjs/recurse/index.d.ts.map +1 -0
  365. package/dist/cjs/recurse/index.js +18 -0
  366. package/dist/cjs/recurse/index.js.map +1 -0
  367. package/dist/cjs/recurse/recurse-fixture.d.ts +35 -0
  368. package/dist/cjs/recurse/recurse-fixture.d.ts.map +1 -0
  369. package/dist/cjs/recurse/recurse-fixture.js +14 -0
  370. package/dist/cjs/recurse/recurse-fixture.js.map +1 -0
  371. package/dist/cjs/recurse/recurse.d.ts +108 -0
  372. package/dist/cjs/recurse/recurse.d.ts.map +1 -0
  373. package/dist/cjs/recurse/recurse.js +298 -0
  374. package/dist/cjs/recurse/recurse.js.map +1 -0
  375. package/dist/esm/api-request/api-request-fixture.d.ts +47 -0
  376. package/dist/esm/api-request/api-request-fixture.d.ts.map +1 -0
  377. package/dist/esm/api-request/api-request-fixture.js +26 -0
  378. package/dist/esm/api-request/api-request-fixture.js.map +1 -0
  379. package/dist/esm/api-request/api-request.d.ts +108 -0
  380. package/dist/esm/api-request/api-request.d.ts.map +1 -0
  381. package/dist/esm/api-request/api-request.js +326 -0
  382. package/dist/esm/api-request/api-request.js.map +1 -0
  383. package/dist/esm/api-request/fixtures.d.ts +3 -0
  384. package/dist/esm/api-request/fixtures.d.ts.map +1 -0
  385. package/dist/esm/api-request/fixtures.js +13 -0
  386. package/dist/esm/api-request/fixtures.js.map +1 -0
  387. package/dist/esm/api-request/index.d.ts +7 -0
  388. package/dist/esm/api-request/index.d.ts.map +1 -0
  389. package/dist/esm/api-request/index.js +11 -0
  390. package/dist/esm/api-request/index.js.map +1 -0
  391. package/dist/esm/api-request/schema-validation/core.d.ts +13 -0
  392. package/dist/esm/api-request/schema-validation/core.d.ts.map +1 -0
  393. package/dist/esm/api-request/schema-validation/core.js +55 -0
  394. package/dist/esm/api-request/schema-validation/core.js.map +1 -0
  395. package/dist/esm/api-request/schema-validation/fixture.d.ts +20 -0
  396. package/dist/esm/api-request/schema-validation/fixture.d.ts.map +1 -0
  397. package/dist/esm/api-request/schema-validation/fixture.js +17 -0
  398. package/dist/esm/api-request/schema-validation/fixture.js.map +1 -0
  399. package/dist/esm/api-request/schema-validation/index.d.ts +6 -0
  400. package/dist/esm/api-request/schema-validation/index.d.ts.map +1 -0
  401. package/dist/esm/api-request/schema-validation/index.js +13 -0
  402. package/dist/esm/api-request/schema-validation/index.js.map +1 -0
  403. package/dist/esm/api-request/schema-validation/internal/file-loader.d.ts +50 -0
  404. package/dist/esm/api-request/schema-validation/internal/file-loader.d.ts.map +1 -0
  405. package/dist/esm/api-request/schema-validation/internal/file-loader.js +126 -0
  406. package/dist/esm/api-request/schema-validation/internal/file-loader.js.map +1 -0
  407. package/dist/esm/api-request/schema-validation/internal/openapi-handler.d.ts +43 -0
  408. package/dist/esm/api-request/schema-validation/internal/openapi-handler.d.ts.map +1 -0
  409. package/dist/esm/api-request/schema-validation/internal/openapi-handler.js +147 -0
  410. package/dist/esm/api-request/schema-validation/internal/openapi-handler.js.map +1 -0
  411. package/dist/esm/api-request/schema-validation/internal/promise-extension.d.ts +10 -0
  412. package/dist/esm/api-request/schema-validation/internal/promise-extension.d.ts.map +1 -0
  413. package/dist/esm/api-request/schema-validation/internal/promise-extension.js +14 -0
  414. package/dist/esm/api-request/schema-validation/internal/promise-extension.js.map +1 -0
  415. package/dist/esm/api-request/schema-validation/internal/response-extension.d.ts +18 -0
  416. package/dist/esm/api-request/schema-validation/internal/response-extension.d.ts.map +1 -0
  417. package/dist/esm/api-request/schema-validation/internal/response-extension.js +212 -0
  418. package/dist/esm/api-request/schema-validation/internal/response-extension.js.map +1 -0
  419. package/dist/esm/api-request/schema-validation/internal/result-builder.d.ts +62 -0
  420. package/dist/esm/api-request/schema-validation/internal/result-builder.d.ts.map +1 -0
  421. package/dist/esm/api-request/schema-validation/internal/result-builder.js +140 -0
  422. package/dist/esm/api-request/schema-validation/internal/result-builder.js.map +1 -0
  423. package/dist/esm/api-request/schema-validation/internal/safe-error-serializer.d.ts +58 -0
  424. package/dist/esm/api-request/schema-validation/internal/safe-error-serializer.d.ts.map +1 -0
  425. package/dist/esm/api-request/schema-validation/internal/safe-error-serializer.js +221 -0
  426. package/dist/esm/api-request/schema-validation/internal/safe-error-serializer.js.map +1 -0
  427. package/dist/esm/api-request/schema-validation/internal/schema-processors.d.ts +38 -0
  428. package/dist/esm/api-request/schema-validation/internal/schema-processors.d.ts.map +1 -0
  429. package/dist/esm/api-request/schema-validation/internal/schema-processors.js +341 -0
  430. package/dist/esm/api-request/schema-validation/internal/schema-processors.js.map +1 -0
  431. package/dist/esm/api-request/schema-validation/internal/shape-validator.d.ts +96 -0
  432. package/dist/esm/api-request/schema-validation/internal/shape-validator.d.ts.map +1 -0
  433. package/dist/esm/api-request/schema-validation/internal/shape-validator.js +180 -0
  434. package/dist/esm/api-request/schema-validation/internal/shape-validator.js.map +1 -0
  435. package/dist/esm/api-request/schema-validation/internal/validation-engine.d.ts +63 -0
  436. package/dist/esm/api-request/schema-validation/internal/validation-engine.d.ts.map +1 -0
  437. package/dist/esm/api-request/schema-validation/internal/validation-engine.js +395 -0
  438. package/dist/esm/api-request/schema-validation/internal/validation-engine.js.map +1 -0
  439. package/dist/esm/api-request/schema-validation/types.d.ts +92 -0
  440. package/dist/esm/api-request/schema-validation/types.d.ts.map +1 -0
  441. package/dist/esm/api-request/schema-validation/types.js +16 -0
  442. package/dist/esm/api-request/schema-validation/types.js.map +1 -0
  443. package/dist/esm/api-request/ui-display.d.ts +42 -0
  444. package/dist/esm/api-request/ui-display.d.ts.map +1 -0
  445. package/dist/esm/api-request/ui-display.js +370 -0
  446. package/dist/esm/api-request/ui-display.js.map +1 -0
  447. package/dist/esm/auth-session/apply-user-cookies-to-browser-context.d.ts +17 -0
  448. package/dist/esm/auth-session/apply-user-cookies-to-browser-context.d.ts.map +1 -0
  449. package/dist/esm/auth-session/apply-user-cookies-to-browser-context.js +49 -0
  450. package/dist/esm/auth-session/apply-user-cookies-to-browser-context.js.map +1 -0
  451. package/dist/esm/auth-session/core.d.ts +56 -0
  452. package/dist/esm/auth-session/core.d.ts.map +1 -0
  453. package/dist/esm/auth-session/core.js +271 -0
  454. package/dist/esm/auth-session/core.js.map +1 -0
  455. package/dist/esm/auth-session/fixtures.d.ts +83 -0
  456. package/dist/esm/auth-session/fixtures.d.ts.map +1 -0
  457. package/dist/esm/auth-session/fixtures.js +147 -0
  458. package/dist/esm/auth-session/fixtures.js.map +1 -0
  459. package/dist/esm/auth-session/global-setup-helper.d.ts +18 -0
  460. package/dist/esm/auth-session/global-setup-helper.d.ts.map +1 -0
  461. package/dist/esm/auth-session/global-setup-helper.js +26 -0
  462. package/dist/esm/auth-session/global-setup-helper.js.map +1 -0
  463. package/dist/esm/auth-session/index.d.ts +15 -0
  464. package/dist/esm/auth-session/index.d.ts.map +1 -0
  465. package/dist/esm/auth-session/index.js +45 -0
  466. package/dist/esm/auth-session/index.js.map +1 -0
  467. package/dist/esm/auth-session/internal/auth-configure.d.ts +19 -0
  468. package/dist/esm/auth-session/internal/auth-configure.d.ts.map +1 -0
  469. package/dist/esm/auth-session/internal/auth-configure.js +117 -0
  470. package/dist/esm/auth-session/internal/auth-configure.js.map +1 -0
  471. package/dist/esm/auth-session/internal/auth-global-setup.d.ts +33 -0
  472. package/dist/esm/auth-session/internal/auth-global-setup.d.ts.map +1 -0
  473. package/dist/esm/auth-session/internal/auth-global-setup.js +152 -0
  474. package/dist/esm/auth-session/internal/auth-global-setup.js.map +1 -0
  475. package/dist/esm/auth-session/internal/auth-provider-validator.d.ts +36 -0
  476. package/dist/esm/auth-session/internal/auth-provider-validator.d.ts.map +1 -0
  477. package/dist/esm/auth-session/internal/auth-provider-validator.js +240 -0
  478. package/dist/esm/auth-session/internal/auth-provider-validator.js.map +1 -0
  479. package/dist/esm/auth-session/internal/auth-provider.d.ts +92 -0
  480. package/dist/esm/auth-session/internal/auth-provider.d.ts.map +1 -0
  481. package/dist/esm/auth-session/internal/auth-provider.js +40 -0
  482. package/dist/esm/auth-session/internal/auth-provider.js.map +1 -0
  483. package/dist/esm/auth-session/internal/auth-session.d.ts +76 -0
  484. package/dist/esm/auth-session/internal/auth-session.d.ts.map +1 -0
  485. package/dist/esm/auth-session/internal/auth-session.js +651 -0
  486. package/dist/esm/auth-session/internal/auth-session.js.map +1 -0
  487. package/dist/esm/auth-session/internal/auth-storage-utils.d.ts +62 -0
  488. package/dist/esm/auth-session/internal/auth-storage-utils.d.ts.map +1 -0
  489. package/dist/esm/auth-session/internal/auth-storage-utils.js +314 -0
  490. package/dist/esm/auth-session/internal/auth-storage-utils.js.map +1 -0
  491. package/dist/esm/auth-session/internal/cache-manager.d.ts +116 -0
  492. package/dist/esm/auth-session/internal/cache-manager.d.ts.map +1 -0
  493. package/dist/esm/auth-session/internal/cache-manager.js +267 -0
  494. package/dist/esm/auth-session/internal/cache-manager.js.map +1 -0
  495. package/dist/esm/auth-session/internal/types.d.ts +132 -0
  496. package/dist/esm/auth-session/internal/types.d.ts.map +1 -0
  497. package/dist/esm/auth-session/internal/types.js +4 -0
  498. package/dist/esm/auth-session/internal/types.js.map +1 -0
  499. package/dist/esm/burn-in/core/analyzer.d.ts +36 -0
  500. package/dist/esm/burn-in/core/analyzer.d.ts.map +1 -0
  501. package/dist/esm/burn-in/core/analyzer.js +329 -0
  502. package/dist/esm/burn-in/core/analyzer.js.map +1 -0
  503. package/dist/esm/burn-in/core/config.d.ts +4 -0
  504. package/dist/esm/burn-in/core/config.d.ts.map +1 -0
  505. package/dist/esm/burn-in/core/config.js +107 -0
  506. package/dist/esm/burn-in/core/config.js.map +1 -0
  507. package/dist/esm/burn-in/core/types.d.ts +24 -0
  508. package/dist/esm/burn-in/core/types.d.ts.map +1 -0
  509. package/dist/esm/burn-in/core/types.js +3 -0
  510. package/dist/esm/burn-in/core/types.js.map +1 -0
  511. package/dist/esm/burn-in/index.d.ts +3 -0
  512. package/dist/esm/burn-in/index.d.ts.map +1 -0
  513. package/dist/esm/burn-in/index.js +7 -0
  514. package/dist/esm/burn-in/index.js.map +1 -0
  515. package/dist/esm/burn-in/runner.d.ts +13 -0
  516. package/dist/esm/burn-in/runner.d.ts.map +1 -0
  517. package/dist/esm/burn-in/runner.js +61 -0
  518. package/dist/esm/burn-in/runner.js.map +1 -0
  519. package/dist/esm/file-utils/core/csv-reader.d.ts +35 -0
  520. package/dist/esm/file-utils/core/csv-reader.d.ts.map +1 -0
  521. package/dist/esm/file-utils/core/csv-reader.js +206 -0
  522. package/dist/esm/file-utils/core/csv-reader.js.map +1 -0
  523. package/dist/esm/file-utils/core/file-downloader.d.ts +19 -0
  524. package/dist/esm/file-utils/core/file-downloader.d.ts.map +1 -0
  525. package/dist/esm/file-utils/core/file-downloader.js +49 -0
  526. package/dist/esm/file-utils/core/file-downloader.js.map +1 -0
  527. package/dist/esm/file-utils/core/pdf-reader.d.ts +42 -0
  528. package/dist/esm/file-utils/core/pdf-reader.d.ts.map +1 -0
  529. package/dist/esm/file-utils/core/pdf-reader.js +135 -0
  530. package/dist/esm/file-utils/core/pdf-reader.js.map +1 -0
  531. package/dist/esm/file-utils/core/types.d.ts +138 -0
  532. package/dist/esm/file-utils/core/types.d.ts.map +1 -0
  533. package/dist/esm/file-utils/core/types.js +72 -0
  534. package/dist/esm/file-utils/core/types.js.map +1 -0
  535. package/dist/esm/file-utils/core/xlsx-reader.d.ts +31 -0
  536. package/dist/esm/file-utils/core/xlsx-reader.d.ts.map +1 -0
  537. package/dist/esm/file-utils/core/xlsx-reader.js +216 -0
  538. package/dist/esm/file-utils/core/xlsx-reader.js.map +1 -0
  539. package/dist/esm/file-utils/core/zip-reader.d.ts +26 -0
  540. package/dist/esm/file-utils/core/zip-reader.d.ts.map +1 -0
  541. package/dist/esm/file-utils/core/zip-reader.js +95 -0
  542. package/dist/esm/file-utils/core/zip-reader.js.map +1 -0
  543. package/dist/esm/file-utils/file-utils-fixture.d.ts +16 -0
  544. package/dist/esm/file-utils/file-utils-fixture.d.ts.map +1 -0
  545. package/dist/esm/file-utils/file-utils-fixture.js +65 -0
  546. package/dist/esm/file-utils/file-utils-fixture.js.map +1 -0
  547. package/dist/esm/file-utils/fixtures.d.ts +2 -0
  548. package/dist/esm/file-utils/fixtures.d.ts.map +1 -0
  549. package/dist/esm/file-utils/fixtures.js +6 -0
  550. package/dist/esm/file-utils/fixtures.js.map +1 -0
  551. package/dist/esm/file-utils/index.d.ts +9 -0
  552. package/dist/esm/file-utils/index.d.ts.map +1 -0
  553. package/dist/esm/file-utils/index.js +25 -0
  554. package/dist/esm/file-utils/index.js.map +1 -0
  555. package/dist/esm/index.d.ts +13 -0
  556. package/dist/esm/index.d.ts.map +1 -0
  557. package/dist/esm/index.js +45 -0
  558. package/dist/esm/index.js.map +1 -0
  559. package/dist/esm/intercept-network-call/core/fulfill-network-call.d.ts +10 -0
  560. package/dist/esm/intercept-network-call/core/fulfill-network-call.d.ts.map +1 -0
  561. package/dist/esm/intercept-network-call/core/fulfill-network-call.js +88 -0
  562. package/dist/esm/intercept-network-call/core/fulfill-network-call.js.map +1 -0
  563. package/dist/esm/intercept-network-call/core/observe-network-call.d.ts +4 -0
  564. package/dist/esm/intercept-network-call/core/observe-network-call.d.ts.map +1 -0
  565. package/dist/esm/intercept-network-call/core/observe-network-call.js +56 -0
  566. package/dist/esm/intercept-network-call/core/observe-network-call.js.map +1 -0
  567. package/dist/esm/intercept-network-call/core/types.d.ts +28 -0
  568. package/dist/esm/intercept-network-call/core/types.d.ts.map +1 -0
  569. package/dist/esm/intercept-network-call/core/types.js +28 -0
  570. package/dist/esm/intercept-network-call/core/types.js.map +1 -0
  571. package/dist/esm/intercept-network-call/core/utils/matches-request.d.ts +9 -0
  572. package/dist/esm/intercept-network-call/core/utils/matches-request.d.ts.map +1 -0
  573. package/dist/esm/intercept-network-call/core/utils/matches-request.js +32 -0
  574. package/dist/esm/intercept-network-call/core/utils/matches-request.js.map +1 -0
  575. package/dist/esm/intercept-network-call/fixtures.d.ts +2 -0
  576. package/dist/esm/intercept-network-call/fixtures.d.ts.map +1 -0
  577. package/dist/esm/intercept-network-call/fixtures.js +6 -0
  578. package/dist/esm/intercept-network-call/fixtures.js.map +1 -0
  579. package/dist/esm/intercept-network-call/index.d.ts +5 -0
  580. package/dist/esm/intercept-network-call/index.d.ts.map +1 -0
  581. package/dist/esm/intercept-network-call/index.js +11 -0
  582. package/dist/esm/intercept-network-call/index.js.map +1 -0
  583. package/dist/esm/intercept-network-call/intercept-network-call-fixture.d.ts +7 -0
  584. package/dist/esm/intercept-network-call/intercept-network-call-fixture.d.ts.map +1 -0
  585. package/dist/esm/intercept-network-call/intercept-network-call-fixture.js +18 -0
  586. package/dist/esm/intercept-network-call/intercept-network-call-fixture.js.map +1 -0
  587. package/dist/esm/intercept-network-call/intercept-network-call.d.ts +21 -0
  588. package/dist/esm/intercept-network-call/intercept-network-call.d.ts.map +1 -0
  589. package/dist/esm/intercept-network-call/intercept-network-call.js +59 -0
  590. package/dist/esm/intercept-network-call/intercept-network-call.js.map +1 -0
  591. package/dist/esm/internal/index.d.ts +2 -0
  592. package/dist/esm/internal/index.d.ts.map +1 -0
  593. package/dist/esm/internal/index.js +18 -0
  594. package/dist/esm/internal/index.js.map +1 -0
  595. package/dist/esm/internal/logger.d.ts +25 -0
  596. package/dist/esm/internal/logger.d.ts.map +1 -0
  597. package/dist/esm/internal/logger.js +33 -0
  598. package/dist/esm/internal/logger.js.map +1 -0
  599. package/dist/esm/log/config.d.ts +28 -0
  600. package/dist/esm/log/config.d.ts.map +1 -0
  601. package/dist/esm/log/config.js +165 -0
  602. package/dist/esm/log/config.js.map +1 -0
  603. package/dist/esm/log/fixtures.d.ts +2 -0
  604. package/dist/esm/log/fixtures.d.ts.map +1 -0
  605. package/dist/esm/log/fixtures.js +6 -0
  606. package/dist/esm/log/fixtures.js.map +1 -0
  607. package/dist/esm/log/formatters/colors.d.ts +13 -0
  608. package/dist/esm/log/formatters/colors.d.ts.map +1 -0
  609. package/dist/esm/log/formatters/colors.js +16 -0
  610. package/dist/esm/log/formatters/colors.js.map +1 -0
  611. package/dist/esm/log/formatters/format-message-base.d.ts +57 -0
  612. package/dist/esm/log/formatters/format-message-base.d.ts.map +1 -0
  613. package/dist/esm/log/formatters/format-message-base.js +198 -0
  614. package/dist/esm/log/formatters/format-message-base.js.map +1 -0
  615. package/dist/esm/log/formatters/format-message.d.ts +13 -0
  616. package/dist/esm/log/formatters/format-message.d.ts.map +1 -0
  617. package/dist/esm/log/formatters/format-message.js +127 -0
  618. package/dist/esm/log/formatters/format-message.js.map +1 -0
  619. package/dist/esm/log/index.d.ts +4 -0
  620. package/dist/esm/log/index.d.ts.map +1 -0
  621. package/dist/esm/log/index.js +14 -0
  622. package/dist/esm/log/index.js.map +1 -0
  623. package/dist/esm/log/log-fixture.d.ts +5 -0
  624. package/dist/esm/log/log-fixture.d.ts.map +1 -0
  625. package/dist/esm/log/log-fixture.js +23 -0
  626. package/dist/esm/log/log-fixture.js.map +1 -0
  627. package/dist/esm/log/log-organizer.d.ts +17 -0
  628. package/dist/esm/log/log-organizer.d.ts.map +1 -0
  629. package/dist/esm/log/log-organizer.js +81 -0
  630. package/dist/esm/log/log-organizer.js.map +1 -0
  631. package/dist/esm/log/log.d.ts +20 -0
  632. package/dist/esm/log/log.d.ts.map +1 -0
  633. package/dist/esm/log/log.js +268 -0
  634. package/dist/esm/log/log.js.map +1 -0
  635. package/dist/esm/log/outputs/add-test-header.d.ts +14 -0
  636. package/dist/esm/log/outputs/add-test-header.d.ts.map +1 -0
  637. package/dist/esm/log/outputs/add-test-header.js +92 -0
  638. package/dist/esm/log/outputs/add-test-header.js.map +1 -0
  639. package/dist/esm/log/outputs/context.d.ts +73 -0
  640. package/dist/esm/log/outputs/context.d.ts.map +1 -0
  641. package/dist/esm/log/outputs/context.js +156 -0
  642. package/dist/esm/log/outputs/context.js.map +1 -0
  643. package/dist/esm/log/outputs/create-log-file-path.d.ts +6 -0
  644. package/dist/esm/log/outputs/create-log-file-path.d.ts.map +1 -0
  645. package/dist/esm/log/outputs/create-log-file-path.js +118 -0
  646. package/dist/esm/log/outputs/create-log-file-path.js.map +1 -0
  647. package/dist/esm/log/outputs/log-to-console.d.ts +4 -0
  648. package/dist/esm/log/outputs/log-to-console.d.ts.map +1 -0
  649. package/dist/esm/log/outputs/log-to-console.js +26 -0
  650. package/dist/esm/log/outputs/log-to-console.js.map +1 -0
  651. package/dist/esm/log/outputs/log-to-file.d.ts +23 -0
  652. package/dist/esm/log/outputs/log-to-file.d.ts.map +1 -0
  653. package/dist/esm/log/outputs/log-to-file.js +198 -0
  654. package/dist/esm/log/outputs/log-to-file.js.map +1 -0
  655. package/dist/esm/log/test-step.d.ts +42 -0
  656. package/dist/esm/log/test-step.d.ts.map +1 -0
  657. package/dist/esm/log/test-step.js +110 -0
  658. package/dist/esm/log/test-step.js.map +1 -0
  659. package/dist/esm/log/types.d.ts +81 -0
  660. package/dist/esm/log/types.d.ts.map +1 -0
  661. package/dist/esm/log/types.js +13 -0
  662. package/dist/esm/log/types.js.map +1 -0
  663. package/dist/esm/log/utils/async.d.ts +6 -0
  664. package/dist/esm/log/utils/async.d.ts.map +1 -0
  665. package/dist/esm/log/utils/async.js +15 -0
  666. package/dist/esm/log/utils/async.js.map +1 -0
  667. package/dist/esm/log/utils/flag.d.ts +12 -0
  668. package/dist/esm/log/utils/flag.d.ts.map +1 -0
  669. package/dist/esm/log/utils/flag.js +19 -0
  670. package/dist/esm/log/utils/flag.js.map +1 -0
  671. package/dist/esm/log/utils/options.d.ts +14 -0
  672. package/dist/esm/log/utils/options.d.ts.map +1 -0
  673. package/dist/esm/log/utils/options.js +86 -0
  674. package/dist/esm/log/utils/options.js.map +1 -0
  675. package/dist/esm/log/utils/playwright-step-utils.d.ts +5 -0
  676. package/dist/esm/log/utils/playwright-step-utils.d.ts.map +1 -0
  677. package/dist/esm/log/utils/playwright-step-utils.js +48 -0
  678. package/dist/esm/log/utils/playwright-step-utils.js.map +1 -0
  679. package/dist/esm/network-error-monitor/fixtures.d.ts +91 -0
  680. package/dist/esm/network-error-monitor/fixtures.d.ts.map +1 -0
  681. package/dist/esm/network-error-monitor/fixtures.js +299 -0
  682. package/dist/esm/network-error-monitor/fixtures.js.map +1 -0
  683. package/dist/esm/network-recorder/core/har-builder.d.ts +122 -0
  684. package/dist/esm/network-recorder/core/har-builder.d.ts.map +1 -0
  685. package/dist/esm/network-recorder/core/har-builder.js +159 -0
  686. package/dist/esm/network-recorder/core/har-builder.js.map +1 -0
  687. package/dist/esm/network-recorder/core/har-manager.d.ts +74 -0
  688. package/dist/esm/network-recorder/core/har-manager.d.ts.map +1 -0
  689. package/dist/esm/network-recorder/core/har-manager.js +243 -0
  690. package/dist/esm/network-recorder/core/har-manager.js.map +1 -0
  691. package/dist/esm/network-recorder/core/har-playback-handler.d.ts +10 -0
  692. package/dist/esm/network-recorder/core/har-playback-handler.d.ts.map +1 -0
  693. package/dist/esm/network-recorder/core/har-playback-handler.js +291 -0
  694. package/dist/esm/network-recorder/core/har-playback-handler.js.map +1 -0
  695. package/dist/esm/network-recorder/core/index.d.ts +9 -0
  696. package/dist/esm/network-recorder/core/index.d.ts.map +1 -0
  697. package/dist/esm/network-recorder/core/index.js +35 -0
  698. package/dist/esm/network-recorder/core/index.js.map +1 -0
  699. package/dist/esm/network-recorder/core/mode-detector.d.ts +64 -0
  700. package/dist/esm/network-recorder/core/mode-detector.d.ts.map +1 -0
  701. package/dist/esm/network-recorder/core/mode-detector.js +191 -0
  702. package/dist/esm/network-recorder/core/mode-detector.js.map +1 -0
  703. package/dist/esm/network-recorder/core/network-recorder.d.ts +90 -0
  704. package/dist/esm/network-recorder/core/network-recorder.d.ts.map +1 -0
  705. package/dist/esm/network-recorder/core/network-recorder.js +260 -0
  706. package/dist/esm/network-recorder/core/network-recorder.js.map +1 -0
  707. package/dist/esm/network-recorder/core/stateful-api-mock.d.ts +31 -0
  708. package/dist/esm/network-recorder/core/stateful-api-mock.d.ts.map +1 -0
  709. package/dist/esm/network-recorder/core/stateful-api-mock.js +160 -0
  710. package/dist/esm/network-recorder/core/stateful-api-mock.js.map +1 -0
  711. package/dist/esm/network-recorder/core/types.d.ts +192 -0
  712. package/dist/esm/network-recorder/core/types.d.ts.map +1 -0
  713. package/dist/esm/network-recorder/core/types.js +54 -0
  714. package/dist/esm/network-recorder/core/types.js.map +1 -0
  715. package/dist/esm/network-recorder/fixtures.d.ts +2 -0
  716. package/dist/esm/network-recorder/fixtures.d.ts.map +1 -0
  717. package/dist/esm/network-recorder/fixtures.js +6 -0
  718. package/dist/esm/network-recorder/fixtures.js.map +1 -0
  719. package/dist/esm/network-recorder/index.d.ts +6 -0
  720. package/dist/esm/network-recorder/index.d.ts.map +1 -0
  721. package/dist/esm/network-recorder/index.js +22 -0
  722. package/dist/esm/network-recorder/index.js.map +1 -0
  723. package/dist/esm/network-recorder/network-recorder-fixture.d.ts +78 -0
  724. package/dist/esm/network-recorder/network-recorder-fixture.d.ts.map +1 -0
  725. package/dist/esm/network-recorder/network-recorder-fixture.js +79 -0
  726. package/dist/esm/network-recorder/network-recorder-fixture.js.map +1 -0
  727. package/dist/esm/network-recorder/network-recorder.d.ts +11 -0
  728. package/dist/esm/network-recorder/network-recorder.d.ts.map +1 -0
  729. package/dist/esm/network-recorder/network-recorder.js +32 -0
  730. package/dist/esm/network-recorder/network-recorder.js.map +1 -0
  731. package/dist/esm/recurse/fixtures.d.ts +2 -0
  732. package/dist/esm/recurse/fixtures.d.ts.map +1 -0
  733. package/dist/esm/recurse/fixtures.js +6 -0
  734. package/dist/esm/recurse/fixtures.js.map +1 -0
  735. package/dist/esm/recurse/index.d.ts +2 -0
  736. package/dist/esm/recurse/index.d.ts.map +1 -0
  737. package/dist/esm/recurse/index.js +18 -0
  738. package/dist/esm/recurse/index.js.map +1 -0
  739. package/dist/esm/recurse/recurse-fixture.d.ts +35 -0
  740. package/dist/esm/recurse/recurse-fixture.d.ts.map +1 -0
  741. package/dist/esm/recurse/recurse-fixture.js +14 -0
  742. package/dist/esm/recurse/recurse-fixture.js.map +1 -0
  743. package/dist/esm/recurse/recurse.d.ts +108 -0
  744. package/dist/esm/recurse/recurse.d.ts.map +1 -0
  745. package/dist/esm/recurse/recurse.js +298 -0
  746. package/dist/esm/recurse/recurse.js.map +1 -0
  747. package/dist/types/api-request/api-request-fixture.d.ts +47 -0
  748. package/dist/types/api-request/api-request-fixture.d.ts.map +1 -0
  749. package/dist/types/api-request/api-request.d.ts +108 -0
  750. package/dist/types/api-request/api-request.d.ts.map +1 -0
  751. package/dist/types/api-request/fixtures.d.ts +3 -0
  752. package/dist/types/api-request/fixtures.d.ts.map +1 -0
  753. package/dist/types/api-request/index.d.ts +7 -0
  754. package/dist/types/api-request/index.d.ts.map +1 -0
  755. package/dist/types/api-request/schema-validation/core.d.ts +13 -0
  756. package/dist/types/api-request/schema-validation/core.d.ts.map +1 -0
  757. package/dist/types/api-request/schema-validation/fixture.d.ts +20 -0
  758. package/dist/types/api-request/schema-validation/fixture.d.ts.map +1 -0
  759. package/dist/types/api-request/schema-validation/index.d.ts +6 -0
  760. package/dist/types/api-request/schema-validation/index.d.ts.map +1 -0
  761. package/dist/types/api-request/schema-validation/internal/file-loader.d.ts +50 -0
  762. package/dist/types/api-request/schema-validation/internal/file-loader.d.ts.map +1 -0
  763. package/dist/types/api-request/schema-validation/internal/openapi-handler.d.ts +43 -0
  764. package/dist/types/api-request/schema-validation/internal/openapi-handler.d.ts.map +1 -0
  765. package/dist/types/api-request/schema-validation/internal/promise-extension.d.ts +10 -0
  766. package/dist/types/api-request/schema-validation/internal/promise-extension.d.ts.map +1 -0
  767. package/dist/types/api-request/schema-validation/internal/response-extension.d.ts +18 -0
  768. package/dist/types/api-request/schema-validation/internal/response-extension.d.ts.map +1 -0
  769. package/dist/types/api-request/schema-validation/internal/result-builder.d.ts +62 -0
  770. package/dist/types/api-request/schema-validation/internal/result-builder.d.ts.map +1 -0
  771. package/dist/types/api-request/schema-validation/internal/safe-error-serializer.d.ts +58 -0
  772. package/dist/types/api-request/schema-validation/internal/safe-error-serializer.d.ts.map +1 -0
  773. package/dist/types/api-request/schema-validation/internal/schema-processors.d.ts +38 -0
  774. package/dist/types/api-request/schema-validation/internal/schema-processors.d.ts.map +1 -0
  775. package/dist/types/api-request/schema-validation/internal/shape-validator.d.ts +96 -0
  776. package/dist/types/api-request/schema-validation/internal/shape-validator.d.ts.map +1 -0
  777. package/dist/types/api-request/schema-validation/internal/validation-engine.d.ts +63 -0
  778. package/dist/types/api-request/schema-validation/internal/validation-engine.d.ts.map +1 -0
  779. package/dist/types/api-request/schema-validation/types.d.ts +92 -0
  780. package/dist/types/api-request/schema-validation/types.d.ts.map +1 -0
  781. package/dist/types/api-request/ui-display.d.ts +42 -0
  782. package/dist/types/api-request/ui-display.d.ts.map +1 -0
  783. package/dist/types/auth-session/apply-user-cookies-to-browser-context.d.ts +17 -0
  784. package/dist/types/auth-session/apply-user-cookies-to-browser-context.d.ts.map +1 -0
  785. package/dist/types/auth-session/core.d.ts +56 -0
  786. package/dist/types/auth-session/core.d.ts.map +1 -0
  787. package/dist/types/auth-session/fixtures.d.ts +83 -0
  788. package/dist/types/auth-session/fixtures.d.ts.map +1 -0
  789. package/dist/types/auth-session/global-setup-helper.d.ts +18 -0
  790. package/dist/types/auth-session/global-setup-helper.d.ts.map +1 -0
  791. package/dist/types/auth-session/index.d.ts +15 -0
  792. package/dist/types/auth-session/index.d.ts.map +1 -0
  793. package/dist/types/auth-session/internal/auth-configure.d.ts +19 -0
  794. package/dist/types/auth-session/internal/auth-configure.d.ts.map +1 -0
  795. package/dist/types/auth-session/internal/auth-global-setup.d.ts +33 -0
  796. package/dist/types/auth-session/internal/auth-global-setup.d.ts.map +1 -0
  797. package/dist/types/auth-session/internal/auth-provider-validator.d.ts +36 -0
  798. package/dist/types/auth-session/internal/auth-provider-validator.d.ts.map +1 -0
  799. package/dist/types/auth-session/internal/auth-provider.d.ts +92 -0
  800. package/dist/types/auth-session/internal/auth-provider.d.ts.map +1 -0
  801. package/dist/types/auth-session/internal/auth-session.d.ts +76 -0
  802. package/dist/types/auth-session/internal/auth-session.d.ts.map +1 -0
  803. package/dist/types/auth-session/internal/auth-storage-utils.d.ts +62 -0
  804. package/dist/types/auth-session/internal/auth-storage-utils.d.ts.map +1 -0
  805. package/dist/types/auth-session/internal/cache-manager.d.ts +116 -0
  806. package/dist/types/auth-session/internal/cache-manager.d.ts.map +1 -0
  807. package/dist/types/auth-session/internal/types.d.ts +132 -0
  808. package/dist/types/auth-session/internal/types.d.ts.map +1 -0
  809. package/dist/types/burn-in/core/analyzer.d.ts +36 -0
  810. package/dist/types/burn-in/core/analyzer.d.ts.map +1 -0
  811. package/dist/types/burn-in/core/config.d.ts +4 -0
  812. package/dist/types/burn-in/core/config.d.ts.map +1 -0
  813. package/dist/types/burn-in/core/types.d.ts +24 -0
  814. package/dist/types/burn-in/core/types.d.ts.map +1 -0
  815. package/dist/types/burn-in/index.d.ts +3 -0
  816. package/dist/types/burn-in/index.d.ts.map +1 -0
  817. package/dist/types/burn-in/runner.d.ts +13 -0
  818. package/dist/types/burn-in/runner.d.ts.map +1 -0
  819. package/dist/types/file-utils/core/csv-reader.d.ts +35 -0
  820. package/dist/types/file-utils/core/csv-reader.d.ts.map +1 -0
  821. package/dist/types/file-utils/core/file-downloader.d.ts +19 -0
  822. package/dist/types/file-utils/core/file-downloader.d.ts.map +1 -0
  823. package/dist/types/file-utils/core/pdf-reader.d.ts +42 -0
  824. package/dist/types/file-utils/core/pdf-reader.d.ts.map +1 -0
  825. package/dist/types/file-utils/core/types.d.ts +138 -0
  826. package/dist/types/file-utils/core/types.d.ts.map +1 -0
  827. package/dist/types/file-utils/core/xlsx-reader.d.ts +31 -0
  828. package/dist/types/file-utils/core/xlsx-reader.d.ts.map +1 -0
  829. package/dist/types/file-utils/core/zip-reader.d.ts +26 -0
  830. package/dist/types/file-utils/core/zip-reader.d.ts.map +1 -0
  831. package/dist/types/file-utils/file-utils-fixture.d.ts +16 -0
  832. package/dist/types/file-utils/file-utils-fixture.d.ts.map +1 -0
  833. package/dist/types/file-utils/fixtures.d.ts +2 -0
  834. package/dist/types/file-utils/fixtures.d.ts.map +1 -0
  835. package/dist/types/file-utils/index.d.ts +9 -0
  836. package/dist/types/file-utils/index.d.ts.map +1 -0
  837. package/dist/types/index.d.ts +13 -0
  838. package/dist/types/index.d.ts.map +1 -0
  839. package/dist/types/intercept-network-call/core/fulfill-network-call.d.ts +10 -0
  840. package/dist/types/intercept-network-call/core/fulfill-network-call.d.ts.map +1 -0
  841. package/dist/types/intercept-network-call/core/observe-network-call.d.ts +4 -0
  842. package/dist/types/intercept-network-call/core/observe-network-call.d.ts.map +1 -0
  843. package/dist/types/intercept-network-call/core/types.d.ts +28 -0
  844. package/dist/types/intercept-network-call/core/types.d.ts.map +1 -0
  845. package/dist/types/intercept-network-call/core/utils/matches-request.d.ts +9 -0
  846. package/dist/types/intercept-network-call/core/utils/matches-request.d.ts.map +1 -0
  847. package/dist/types/intercept-network-call/fixtures.d.ts +2 -0
  848. package/dist/types/intercept-network-call/fixtures.d.ts.map +1 -0
  849. package/dist/types/intercept-network-call/index.d.ts +5 -0
  850. package/dist/types/intercept-network-call/index.d.ts.map +1 -0
  851. package/dist/types/intercept-network-call/intercept-network-call-fixture.d.ts +7 -0
  852. package/dist/types/intercept-network-call/intercept-network-call-fixture.d.ts.map +1 -0
  853. package/dist/types/intercept-network-call/intercept-network-call.d.ts +21 -0
  854. package/dist/types/intercept-network-call/intercept-network-call.d.ts.map +1 -0
  855. package/dist/types/internal/index.d.ts +2 -0
  856. package/dist/types/internal/index.d.ts.map +1 -0
  857. package/dist/types/internal/logger.d.ts +25 -0
  858. package/dist/types/internal/logger.d.ts.map +1 -0
  859. package/dist/types/log/config.d.ts +28 -0
  860. package/dist/types/log/config.d.ts.map +1 -0
  861. package/dist/types/log/fixtures.d.ts +2 -0
  862. package/dist/types/log/fixtures.d.ts.map +1 -0
  863. package/dist/types/log/formatters/colors.d.ts +13 -0
  864. package/dist/types/log/formatters/colors.d.ts.map +1 -0
  865. package/dist/types/log/formatters/format-message-base.d.ts +57 -0
  866. package/dist/types/log/formatters/format-message-base.d.ts.map +1 -0
  867. package/dist/types/log/formatters/format-message.d.ts +13 -0
  868. package/dist/types/log/formatters/format-message.d.ts.map +1 -0
  869. package/dist/types/log/index.d.ts +4 -0
  870. package/dist/types/log/index.d.ts.map +1 -0
  871. package/dist/types/log/log-fixture.d.ts +5 -0
  872. package/dist/types/log/log-fixture.d.ts.map +1 -0
  873. package/dist/types/log/log-organizer.d.ts +17 -0
  874. package/dist/types/log/log-organizer.d.ts.map +1 -0
  875. package/dist/types/log/log.d.ts +20 -0
  876. package/dist/types/log/log.d.ts.map +1 -0
  877. package/dist/types/log/outputs/add-test-header.d.ts +14 -0
  878. package/dist/types/log/outputs/add-test-header.d.ts.map +1 -0
  879. package/dist/types/log/outputs/context.d.ts +73 -0
  880. package/dist/types/log/outputs/context.d.ts.map +1 -0
  881. package/dist/types/log/outputs/create-log-file-path.d.ts +6 -0
  882. package/dist/types/log/outputs/create-log-file-path.d.ts.map +1 -0
  883. package/dist/types/log/outputs/log-to-console.d.ts +4 -0
  884. package/dist/types/log/outputs/log-to-console.d.ts.map +1 -0
  885. package/dist/types/log/outputs/log-to-file.d.ts +23 -0
  886. package/dist/types/log/outputs/log-to-file.d.ts.map +1 -0
  887. package/dist/types/log/test-step.d.ts +42 -0
  888. package/dist/types/log/test-step.d.ts.map +1 -0
  889. package/dist/types/log/types.d.ts +81 -0
  890. package/dist/types/log/types.d.ts.map +1 -0
  891. package/dist/types/log/utils/async.d.ts +6 -0
  892. package/dist/types/log/utils/async.d.ts.map +1 -0
  893. package/dist/types/log/utils/flag.d.ts +12 -0
  894. package/dist/types/log/utils/flag.d.ts.map +1 -0
  895. package/dist/types/log/utils/options.d.ts +14 -0
  896. package/dist/types/log/utils/options.d.ts.map +1 -0
  897. package/dist/types/log/utils/playwright-step-utils.d.ts +5 -0
  898. package/dist/types/log/utils/playwright-step-utils.d.ts.map +1 -0
  899. package/dist/types/network-error-monitor/fixtures.d.ts +91 -0
  900. package/dist/types/network-error-monitor/fixtures.d.ts.map +1 -0
  901. package/dist/types/network-recorder/core/har-builder.d.ts +122 -0
  902. package/dist/types/network-recorder/core/har-builder.d.ts.map +1 -0
  903. package/dist/types/network-recorder/core/har-manager.d.ts +74 -0
  904. package/dist/types/network-recorder/core/har-manager.d.ts.map +1 -0
  905. package/dist/types/network-recorder/core/har-playback-handler.d.ts +10 -0
  906. package/dist/types/network-recorder/core/har-playback-handler.d.ts.map +1 -0
  907. package/dist/types/network-recorder/core/index.d.ts +9 -0
  908. package/dist/types/network-recorder/core/index.d.ts.map +1 -0
  909. package/dist/types/network-recorder/core/mode-detector.d.ts +64 -0
  910. package/dist/types/network-recorder/core/mode-detector.d.ts.map +1 -0
  911. package/dist/types/network-recorder/core/network-recorder.d.ts +90 -0
  912. package/dist/types/network-recorder/core/network-recorder.d.ts.map +1 -0
  913. package/dist/types/network-recorder/core/stateful-api-mock.d.ts +31 -0
  914. package/dist/types/network-recorder/core/stateful-api-mock.d.ts.map +1 -0
  915. package/dist/types/network-recorder/core/types.d.ts +192 -0
  916. package/dist/types/network-recorder/core/types.d.ts.map +1 -0
  917. package/dist/types/network-recorder/fixtures.d.ts +2 -0
  918. package/dist/types/network-recorder/fixtures.d.ts.map +1 -0
  919. package/dist/types/network-recorder/index.d.ts +6 -0
  920. package/dist/types/network-recorder/index.d.ts.map +1 -0
  921. package/dist/types/network-recorder/network-recorder-fixture.d.ts +78 -0
  922. package/dist/types/network-recorder/network-recorder-fixture.d.ts.map +1 -0
  923. package/dist/types/network-recorder/network-recorder.d.ts +11 -0
  924. package/dist/types/network-recorder/network-recorder.d.ts.map +1 -0
  925. package/dist/types/recurse/fixtures.d.ts +2 -0
  926. package/dist/types/recurse/fixtures.d.ts.map +1 -0
  927. package/dist/types/recurse/index.d.ts +2 -0
  928. package/dist/types/recurse/index.d.ts.map +1 -0
  929. package/dist/types/recurse/recurse-fixture.d.ts +35 -0
  930. package/dist/types/recurse/recurse-fixture.d.ts.map +1 -0
  931. package/dist/types/recurse/recurse.d.ts +108 -0
  932. package/dist/types/recurse/recurse.d.ts.map +1 -0
  933. package/package.json +238 -0
@@ -0,0 +1,341 @@
1
+ "use strict";
2
+ /**
3
+ * Schema Processing Strategies
4
+ *
5
+ * This module implements the Strategy pattern for processing different schema formats.
6
+ * Each processor handles a specific schema type and validation logic.
7
+ *
8
+ * @module SchemaProcessors
9
+ */
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.processSchema = processSchema;
12
+ const file_loader_1 = require("./file-loader");
13
+ const openapi_handler_1 = require("./openapi-handler");
14
+ const validation_engine_1 = require("./validation-engine");
15
+ /**
16
+ * Maximum input size for validation (1MB)
17
+ */
18
+ const MAX_INPUT_SIZE = 1024 * 1024;
19
+ /**
20
+ * Validates input data before processing to prevent DoS attacks
21
+ *
22
+ * @param data - Input data to validate
23
+ * @throws Error if input is invalid or too large
24
+ */
25
+ function validateInput(data) {
26
+ if (data === null || data === undefined) {
27
+ throw new Error('Input cannot be null or undefined');
28
+ }
29
+ try {
30
+ const serialized = JSON.stringify(data);
31
+ if (serialized.length > MAX_INPUT_SIZE) {
32
+ throw new Error(`Input too large for validation (${serialized.length} bytes, max: ${MAX_INPUT_SIZE})`);
33
+ }
34
+ }
35
+ catch (error) {
36
+ if (error instanceof Error && error.message.includes('circular')) {
37
+ throw new Error('Input contains circular references and cannot be validated');
38
+ }
39
+ throw error;
40
+ }
41
+ }
42
+ /**
43
+ * Standardized error transformation utility
44
+ *
45
+ * @param error - Raw error from validation library
46
+ * @param schemaType - Type of schema that produced the error
47
+ * @param path - Path context for the error
48
+ * @returns Standardized validation error
49
+ */
50
+ function createStandardValidationError(error, schemaType, path = 'root') {
51
+ if (error instanceof Error) {
52
+ return {
53
+ path,
54
+ message: `${schemaType} validation failed: ${error.message}`,
55
+ expected: 'valid data',
56
+ actual: 'invalid'
57
+ };
58
+ }
59
+ return {
60
+ path,
61
+ message: `${schemaType} validation failed: Unknown error`,
62
+ expected: 'valid data',
63
+ actual: 'invalid'
64
+ };
65
+ }
66
+ /**
67
+ * AJV instance cache for schema compilation with memory management
68
+ */
69
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
70
+ const ajvInstanceCache = new Map();
71
+ const MAX_AJV_INSTANCE_CACHE_SIZE = 50;
72
+ /**
73
+ * Get or create cached AJV instance for specs with components
74
+ */
75
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
76
+ function getAjvInstance(fullSpec) {
77
+ if (!fullSpec?.components) {
78
+ return getDefaultAjv();
79
+ }
80
+ // Create a stable cache key from components
81
+ const cacheKey = JSON.stringify(fullSpec.components);
82
+ if (!ajvInstanceCache.has(cacheKey)) {
83
+ // Implement LRU-style eviction if cache is too large
84
+ if (ajvInstanceCache.size >= MAX_AJV_INSTANCE_CACHE_SIZE) {
85
+ const firstKey = ajvInstanceCache.keys().next().value;
86
+ if (firstKey) {
87
+ ajvInstanceCache.delete(firstKey);
88
+ }
89
+ }
90
+ try {
91
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
92
+ const Ajv = require('ajv');
93
+ ajvInstanceCache.set(cacheKey, new Ajv({
94
+ strict: false,
95
+ schemas: [fullSpec]
96
+ }));
97
+ }
98
+ catch {
99
+ throw new Error('AJV is required for JSON Schema validation. Install with: npm install ajv');
100
+ }
101
+ }
102
+ return ajvInstanceCache.get(cacheKey);
103
+ }
104
+ /**
105
+ * Creates a default AJV instance
106
+ */
107
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
108
+ function getDefaultAjv() {
109
+ try {
110
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
111
+ const Ajv = require('ajv');
112
+ return new Ajv({
113
+ allErrors: true,
114
+ verbose: true,
115
+ strict: false
116
+ });
117
+ }
118
+ catch {
119
+ throw new Error('AJV is required for JSON Schema validation. Install with: npm install ajv');
120
+ }
121
+ }
122
+ /**
123
+ * Validate data against JSON Schema
124
+ */
125
+ function validateWithJsonSchema(data, schema, fullSpec) {
126
+ // Check if schema has anyOf/oneOf at the property level
127
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
128
+ const schemaObj = schema;
129
+ const hasAnyOfProperties = schemaObj.properties &&
130
+ Object.values(schemaObj.properties).some(
131
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
132
+ (prop) => prop?.anyOf || prop?.oneOf);
133
+ if (hasAnyOfProperties) {
134
+ // Handle anyOf/oneOf validation manually for better control
135
+ return (0, validation_engine_1.validateWithAnyOfSupport)(data, schema);
136
+ }
137
+ // Standard validation for schemas without anyOf/oneOf
138
+ const ajvInstance = getAjvInstance(fullSpec);
139
+ const validate = ajvInstance.compile(schema);
140
+ const valid = validate(data);
141
+ if (valid) {
142
+ return [];
143
+ }
144
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
145
+ return (validate.errors || []).map((error) => ({
146
+ path: error.instancePath || error.schemaPath || 'root',
147
+ message: error.message || 'Validation failed',
148
+ expected: error.schema,
149
+ actual: error.data
150
+ }));
151
+ }
152
+ /**
153
+ * Validate data against Zod Schema
154
+ */
155
+ function validateWithZodSchema(data,
156
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
157
+ schema) {
158
+ try {
159
+ // Lazy load Zod only when needed
160
+ try {
161
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
162
+ require('zod');
163
+ }
164
+ catch {
165
+ throw new Error('Zod is required for Zod schema validation. Install with: npm install zod');
166
+ }
167
+ schema.parse(data);
168
+ return [];
169
+ }
170
+ catch (error) {
171
+ // Try to access ZodError for error handling
172
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
173
+ let ZodError = null;
174
+ try {
175
+ // eslint-disable-next-line @typescript-eslint/no-var-requires
176
+ const zod = require('zod');
177
+ ZodError = zod.ZodError;
178
+ }
179
+ catch {
180
+ // Zod not available, handle gracefully
181
+ }
182
+ if (ZodError && error instanceof ZodError) {
183
+ // Handle both Zod v3 and v4 compatibility
184
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
185
+ const issues = error.issues;
186
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
187
+ return issues.map((zodError) => ({
188
+ path: zodError.path.join('.') || 'root',
189
+ message: zodError.message,
190
+ expected: zodError.code,
191
+ actual: 'invalid'
192
+ }));
193
+ }
194
+ return [
195
+ {
196
+ path: 'root',
197
+ message: error instanceof Error ? error.message : 'Unknown validation error',
198
+ expected: 'valid data',
199
+ actual: 'invalid'
200
+ }
201
+ ];
202
+ }
203
+ }
204
+ /**
205
+ * File-based schema processor (JSON/YAML files)
206
+ */
207
+ class FileSchemaProcessor {
208
+ async validate(data, schema, options) {
209
+ try {
210
+ // Security: Validate input before processing
211
+ validateInput(data);
212
+ }
213
+ catch (error) {
214
+ return {
215
+ validationErrors: [
216
+ createStandardValidationError(error, 'File Schema', 'input')
217
+ ],
218
+ processedSchema: {},
219
+ schemaForResult: undefined
220
+ };
221
+ }
222
+ const loadedSchema = await (0, file_loader_1.loadSchemaFromFile)(schema);
223
+ // Check if it's an OpenAPI file
224
+ const schemaObj = loadedSchema;
225
+ const isOpenApi = schemaObj.openapi || schemaObj.swagger;
226
+ if (isOpenApi) {
227
+ const targetPath = options.path || options.endpoint;
228
+ const processedSchema = (0, openapi_handler_1.extractOpenApiSchema)(schemaObj, targetPath, options.method, options.status);
229
+ const validationErrors = validateWithJsonSchema(data, processedSchema, schemaObj);
230
+ return {
231
+ validationErrors,
232
+ processedSchema,
233
+ schemaForResult: processedSchema
234
+ };
235
+ }
236
+ else {
237
+ // Regular JSON Schema file
238
+ const validationErrors = validateWithJsonSchema(data, loadedSchema);
239
+ return {
240
+ validationErrors,
241
+ processedSchema: loadedSchema,
242
+ schemaForResult: loadedSchema
243
+ };
244
+ }
245
+ }
246
+ }
247
+ /**
248
+ * Zod schema processor
249
+ */
250
+ class ZodSchemaProcessor {
251
+ async validate(data, schema,
252
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
253
+ options) {
254
+ try {
255
+ // Security: Validate input before processing
256
+ validateInput(data);
257
+ }
258
+ catch (error) {
259
+ return {
260
+ validationErrors: [
261
+ createStandardValidationError(error, 'Zod Schema', 'input')
262
+ ],
263
+ processedSchema: {},
264
+ schemaForResult: undefined
265
+ };
266
+ }
267
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
268
+ const zodSchema = schema;
269
+ const validationErrors = validateWithZodSchema(data, zodSchema);
270
+ return {
271
+ validationErrors,
272
+ processedSchema: zodSchema,
273
+ schemaForResult: { type: 'ZodSchema', shape: 'See Zod definition' }
274
+ };
275
+ }
276
+ }
277
+ /**
278
+ * OpenAPI object processor
279
+ */
280
+ class OpenApiSchemaProcessor {
281
+ async validate(data, schema, options) {
282
+ // Security: Validate input before processing
283
+ validateInput(data);
284
+ const openApiSpec = schema;
285
+ const targetPath = options.path || options.endpoint;
286
+ const processedSchema = (0, openapi_handler_1.extractOpenApiSchema)(openApiSpec, targetPath, options.method, options.status);
287
+ const validationErrors = validateWithJsonSchema(data, processedSchema, openApiSpec);
288
+ return {
289
+ validationErrors,
290
+ processedSchema,
291
+ schemaForResult: processedSchema
292
+ };
293
+ }
294
+ }
295
+ /**
296
+ * JSON Schema object processor
297
+ */
298
+ class JsonSchemaProcessor {
299
+ async validate(data, schema,
300
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
301
+ options) {
302
+ // Security: Validate input before processing
303
+ validateInput(data);
304
+ const processedSchema = schema;
305
+ const validationErrors = validateWithJsonSchema(data, processedSchema);
306
+ return {
307
+ validationErrors,
308
+ processedSchema,
309
+ schemaForResult: processedSchema
310
+ };
311
+ }
312
+ }
313
+ /**
314
+ * Schema processor registry
315
+ */
316
+ const processors = {
317
+ file: new FileSchemaProcessor(),
318
+ zod: new ZodSchemaProcessor(),
319
+ openapi: new OpenApiSchemaProcessor(),
320
+ json: new JsonSchemaProcessor()
321
+ };
322
+ /**
323
+ * Convenience function to process any schema type
324
+ */
325
+ async function processSchema(data, schema, schemaFormat, options = {}) {
326
+ // Special handling for file paths
327
+ if (typeof schema === 'string') {
328
+ return processors.file.validate(data, schema, options);
329
+ }
330
+ // Handle object schemas based on format
331
+ if (schemaFormat === 'JSON OpenAPI') {
332
+ return processors.openapi.validate(data, schema, options);
333
+ }
334
+ else if (schemaFormat === 'Zod Schema') {
335
+ return processors.zod.validate(data, schema, options);
336
+ }
337
+ else {
338
+ return processors.json.validate(data, schema, options);
339
+ }
340
+ }
341
+ //# sourceMappingURL=schema-processors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema-processors.js","sourceRoot":"","sources":["../../../../../src/api-request/schema-validation/internal/schema-processors.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;AAmbH,sCAmBC;AAncD,+CAAkD;AAClD,uDAAwD;AACxD,2DAA8D;AAsB9D;;GAEG;AACH,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,CAAA;AAalC;;;;;GAKG;AACH,SAAS,aAAa,CAAC,IAAa;IAClC,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;QACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAA;IACtD,CAAC;IAED,IAAI,CAAC;QACH,MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAA;QACvC,IAAI,UAAU,CAAC,MAAM,GAAG,cAAc,EAAE,CAAC;YACvC,MAAM,IAAI,KAAK,CACb,mCAAmC,UAAU,CAAC,MAAM,gBAAgB,cAAc,GAAG,CACtF,CAAA;QACH,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,IAAI,KAAK,YAAY,KAAK,IAAI,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC;YACjE,MAAM,IAAI,KAAK,CACb,4DAA4D,CAC7D,CAAA;QACH,CAAC;QACD,MAAM,KAAK,CAAA;IACb,CAAC;AACH,CAAC;AAED;;;;;;;GAOG;AACH,SAAS,6BAA6B,CACpC,KAAc,EACd,UAAkB,EAClB,IAAI,GAAG,MAAM;IAEb,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;QAC3B,OAAO;YACL,IAAI;YACJ,OAAO,EAAE,GAAG,UAAU,uBAAuB,KAAK,CAAC,OAAO,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AE,OAAO,CAAC,CAAA;IAC3D,CAAC;SAAM,IAAI,YAAY,KAAK,YAAY,EAAE,CAAC;QACzC,OAAO,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAA;IACvD,CAAC;SAAM,CAAC;QACN,OAAO,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,CAAA;IACxD,CAAC;AACH,CAAC"}
@@ -0,0 +1,96 @@
1
+ /**
2
+ * Shape Validation Engine
3
+ *
4
+ * This module provides advanced shape validation capabilities for API responses,
5
+ * allowing flexible validation patterns including nested objects, functions, and
6
+ * direct value comparisons.
7
+ *
8
+ * @module ShapeValidator
9
+ */
10
+ import type { ValidationErrorDetail, ShapeAssertion } from '../types';
11
+ /**
12
+ * Execute shape validation assertions against data
13
+ *
14
+ * Shape validation provides a flexible way to validate data structure and values
15
+ * without requiring formal schemas. It supports:
16
+ * - Direct value comparisons
17
+ * - Function-based validators
18
+ * - Nested object validation
19
+ * - Custom validation logic
20
+ *
21
+ * @param data - Data to validate against shape assertions
22
+ * @param shapeAssertion - Shape validation rules
23
+ * @param basePath - Base path for error reporting (used internally for nesting)
24
+ * @returns Array of validation errors (empty if valid)
25
+ *
26
+ * @example
27
+ * ```typescript
28
+ * // Direct value validation
29
+ * const errors = await validateShape(
30
+ * { status: 200, name: "test" },
31
+ * { status: 200, name: (value) => typeof value === 'string' }
32
+ * )
33
+ *
34
+ * // Nested validation
35
+ * const errors = await validateShape(
36
+ * { user: { id: 123, name: "John" } },
37
+ * { user: { id: 123, name: (value) => value.length > 0 } }
38
+ * )
39
+ * ```
40
+ */
41
+ export declare function validateShape(data: unknown, shapeAssertion: ShapeAssertion, basePath?: string): Promise<ValidationErrorDetail[]>;
42
+ /**
43
+ * Create a shape validator function for common validation patterns
44
+ *
45
+ * @param validatorFn - Function that returns true if value is valid
46
+ * @param errorMessage - Custom error message for validation failures
47
+ * @returns Shape validator function
48
+ *
49
+ * @example
50
+ * ```typescript
51
+ * const emailValidator = createShapeValidator(
52
+ * (value) => typeof value === 'string' && value.includes('@'),
53
+ * 'Must be a valid email address'
54
+ * )
55
+ *
56
+ * const errors = await validateShape(
57
+ * { email: 'invalid-email' },
58
+ * { email: emailValidator }
59
+ * )
60
+ * ```
61
+ */
62
+ export declare function createShapeValidator(validatorFn: (value: unknown) => boolean, errorMessage: string): (value: unknown) => boolean;
63
+ /**
64
+ * Common shape validators for typical validation scenarios
65
+ */
66
+ export declare const ShapeValidators: {
67
+ /**
68
+ * Validates that a value is a non-empty string
69
+ */
70
+ readonly nonEmptyString: (value: unknown) => boolean;
71
+ /**
72
+ * Validates that a value is a positive number
73
+ */
74
+ readonly positiveNumber: (value: unknown) => boolean;
75
+ /**
76
+ * Validates that a value is a non-empty array
77
+ */
78
+ readonly nonEmptyArray: (value: unknown) => boolean;
79
+ /**
80
+ * Validates that a value exists (not null or undefined)
81
+ */
82
+ readonly exists: (value: unknown) => value is {};
83
+ /**
84
+ * Creates a validator for string length constraints
85
+ */
86
+ readonly stringLength: (min: number, max?: number) => (value: unknown) => boolean;
87
+ /**
88
+ * Creates a validator for numeric range constraints
89
+ */
90
+ readonly numberRange: (min: number, max: number) => (value: unknown) => boolean;
91
+ /**
92
+ * Creates a validator that checks if value matches one of the allowed values
93
+ */
94
+ readonly oneOf: <T>(...allowedValues: T[]) => (value: unknown) => value is T;
95
+ };
96
+ //# sourceMappingURL=shape-validator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shape-validator.d.ts","sourceRoot":"","sources":["../../../../../src/api-request/schema-validation/internal/shape-validator.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAsB,aAAa,CACjC,IAAI,EAAE,OAAO,EACb,cAAc,EAAE,cAAc,EAC9B,QAAQ,SAAK,GACZ,OAAO,CAAC,qBAAqB,EAAE,CAAC,CA+DlC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,EACxC,YAAY,EAAE,MAAM,GACnB,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAQ7B;AAED;;GAEG;AACH,eAAO,MAAM,eAAe;IAC1B;;OAEG;qCACqB,OAAO;IAG/B;;OAEG;qCACqB,OAAO;IAE/B;;OAEG;oCACoB,OAAO;IAE9B;;OAEG;6BACa,OAAO;IAEvB;;OAEG;iCACiB,MAAM,QAAQ,MAAM,aAAa,OAAO;IAO5D;;OAEG;gCACgB,MAAM,OAAO,MAAM,aAAa,OAAO;IAK1D;;OAEG;qBAEA,CAAC,oBAAoB,CAAC,EAAE,aACjB,OAAO,KAAG,KAAK,IAAI,CAAC;CAGtB,CAAA"}
@@ -0,0 +1,180 @@
1
+ "use strict";
2
+ /**
3
+ * Shape Validation Engine
4
+ *
5
+ * This module provides advanced shape validation capabilities for API responses,
6
+ * allowing flexible validation patterns including nested objects, functions, and
7
+ * direct value comparisons.
8
+ *
9
+ * @module ShapeValidator
10
+ */
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ShapeValidators = void 0;
13
+ exports.validateShape = validateShape;
14
+ exports.createShapeValidator = createShapeValidator;
15
+ /**
16
+ * Execute shape validation assertions against data
17
+ *
18
+ * Shape validation provides a flexible way to validate data structure and values
19
+ * without requiring formal schemas. It supports:
20
+ * - Direct value comparisons
21
+ * - Function-based validators
22
+ * - Nested object validation
23
+ * - Custom validation logic
24
+ *
25
+ * @param data - Data to validate against shape assertions
26
+ * @param shapeAssertion - Shape validation rules
27
+ * @param basePath - Base path for error reporting (used internally for nesting)
28
+ * @returns Array of validation errors (empty if valid)
29
+ *
30
+ * @example
31
+ * ```typescript
32
+ * // Direct value validation
33
+ * const errors = await validateShape(
34
+ * { status: 200, name: "test" },
35
+ * { status: 200, name: (value) => typeof value === 'string' }
36
+ * )
37
+ *
38
+ * // Nested validation
39
+ * const errors = await validateShape(
40
+ * { user: { id: 123, name: "John" } },
41
+ * { user: { id: 123, name: (value) => value.length > 0 } }
42
+ * )
43
+ * ```
44
+ */
45
+ async function validateShape(data, shapeAssertion, basePath = '') {
46
+ const errors = [];
47
+ for (const [key, assertion] of Object.entries(shapeAssertion)) {
48
+ const currentPath = basePath ? `${basePath}.${key}` : key;
49
+ const dataObj = data;
50
+ const value = dataObj[key];
51
+ if (typeof assertion === 'function') {
52
+ // Shape validator function
53
+ try {
54
+ const result = assertion(value);
55
+ if (result === false) {
56
+ errors.push({
57
+ path: currentPath,
58
+ message: `Shape validation failed for ${key}`,
59
+ expected: 'validation to pass',
60
+ actual: value
61
+ });
62
+ }
63
+ }
64
+ catch (error) {
65
+ errors.push({
66
+ path: currentPath,
67
+ message: `Shape validation error: ${error instanceof Error ? error.message : String(error)}`,
68
+ expected: 'validation to pass',
69
+ actual: value
70
+ });
71
+ }
72
+ }
73
+ else if (typeof assertion === 'object' &&
74
+ assertion !== null &&
75
+ !Array.isArray(assertion)) {
76
+ // Nested shape assertion
77
+ if (typeof value === 'object' && value !== null) {
78
+ const nestedErrors = await validateShape(value, assertion, currentPath);
79
+ errors.push(...nestedErrors);
80
+ }
81
+ else {
82
+ errors.push({
83
+ path: currentPath,
84
+ message: 'Expected object for nested shape validation',
85
+ expected: 'object',
86
+ actual: typeof value
87
+ });
88
+ }
89
+ }
90
+ else {
91
+ // Direct value comparison
92
+ if (value !== assertion) {
93
+ errors.push({
94
+ path: currentPath,
95
+ message: `Shape assertion failed: expected ${assertion}, got ${value}`,
96
+ expected: assertion,
97
+ actual: value
98
+ });
99
+ }
100
+ }
101
+ }
102
+ return errors;
103
+ }
104
+ /**
105
+ * Create a shape validator function for common validation patterns
106
+ *
107
+ * @param validatorFn - Function that returns true if value is valid
108
+ * @param errorMessage - Custom error message for validation failures
109
+ * @returns Shape validator function
110
+ *
111
+ * @example
112
+ * ```typescript
113
+ * const emailValidator = createShapeValidator(
114
+ * (value) => typeof value === 'string' && value.includes('@'),
115
+ * 'Must be a valid email address'
116
+ * )
117
+ *
118
+ * const errors = await validateShape(
119
+ * { email: 'invalid-email' },
120
+ * { email: emailValidator }
121
+ * )
122
+ * ```
123
+ */
124
+ function createShapeValidator(validatorFn, errorMessage) {
125
+ return (value) => {
126
+ const isValid = validatorFn(value);
127
+ if (!isValid) {
128
+ throw new Error(errorMessage);
129
+ }
130
+ return isValid;
131
+ };
132
+ }
133
+ /**
134
+ * Common shape validators for typical validation scenarios
135
+ */
136
+ exports.ShapeValidators = {
137
+ /**
138
+ * Validates that a value is a non-empty string
139
+ */
140
+ nonEmptyString: (value) => typeof value === 'string' && value.length > 0,
141
+ /**
142
+ * Validates that a value is a positive number
143
+ */
144
+ positiveNumber: (value) => typeof value === 'number' && value > 0,
145
+ /**
146
+ * Validates that a value is a non-empty array
147
+ */
148
+ nonEmptyArray: (value) => Array.isArray(value) && value.length > 0,
149
+ /**
150
+ * Validates that a value exists (not null or undefined)
151
+ */
152
+ exists: (value) => value !== null && value !== undefined,
153
+ /**
154
+ * Creates a validator for string length constraints
155
+ */
156
+ stringLength: (min, max) => (value) => {
157
+ if (typeof value !== 'string')
158
+ return false;
159
+ if (value.length < min)
160
+ return false;
161
+ if (max !== undefined && value.length > max)
162
+ return false;
163
+ return true;
164
+ },
165
+ /**
166
+ * Creates a validator for numeric range constraints
167
+ */
168
+ numberRange: (min, max) => (value) => {
169
+ if (typeof value !== 'number')
170
+ return false;
171
+ return value >= min && value <= max;
172
+ },
173
+ /**
174
+ * Creates a validator that checks if value matches one of the allowed values
175
+ */
176
+ oneOf: (...allowedValues) => (value) => {
177
+ return allowedValues.includes(value);
178
+ }
179
+ };
180
+ //# sourceMappingURL=shape-validator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shape-validator.js","sourceRoot":"","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