@milpa/comal 0.0.0-stage → 0.1.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 (1875) hide show
  1. package/README.md +81 -2
  2. package/backend/contracts/artifact-check-v1.schema.json +213 -0
  3. package/backend/verifier/transport.mjs +27 -0
  4. package/bin/comal.mjs +21 -0
  5. package/bin/harness.mjs +3 -0
  6. package/docs/investigation.md +3 -0
  7. package/governance/chrome-task-v1.json +13 -0
  8. package/node_modules/ajv/.runkit_example.js +23 -0
  9. package/node_modules/ajv/LICENSE +22 -0
  10. package/node_modules/ajv/README.md +207 -0
  11. package/node_modules/ajv/dist/2019.d.ts +19 -0
  12. package/node_modules/ajv/dist/2019.js +61 -0
  13. package/node_modules/ajv/dist/2019.js.map +1 -0
  14. package/node_modules/ajv/dist/2020.d.ts +19 -0
  15. package/node_modules/ajv/dist/2020.js +55 -0
  16. package/node_modules/ajv/dist/2020.js.map +1 -0
  17. package/node_modules/ajv/dist/ajv.d.ts +18 -0
  18. package/node_modules/ajv/dist/ajv.js +50 -0
  19. package/node_modules/ajv/dist/ajv.js.map +1 -0
  20. package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
  21. package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
  22. package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
  23. package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
  24. package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
  25. package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
  26. package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
  27. package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
  28. package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
  29. package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
  30. package/node_modules/ajv/dist/compile/errors.js +123 -0
  31. package/node_modules/ajv/dist/compile/errors.js.map +1 -0
  32. package/node_modules/ajv/dist/compile/index.d.ts +80 -0
  33. package/node_modules/ajv/dist/compile/index.js +242 -0
  34. package/node_modules/ajv/dist/compile/index.js.map +1 -0
  35. package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
  36. package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
  37. package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
  38. package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
  39. package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
  40. package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
  41. package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
  42. package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
  43. package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
  44. package/node_modules/ajv/dist/compile/names.d.ts +20 -0
  45. package/node_modules/ajv/dist/compile/names.js +28 -0
  46. package/node_modules/ajv/dist/compile/names.js.map +1 -0
  47. package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
  48. package/node_modules/ajv/dist/compile/ref_error.js +12 -0
  49. package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
  50. package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
  51. package/node_modules/ajv/dist/compile/resolve.js +155 -0
  52. package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
  53. package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
  54. package/node_modules/ajv/dist/compile/rules.js +26 -0
  55. package/node_modules/ajv/dist/compile/rules.js.map +1 -0
  56. package/node_modules/ajv/dist/compile/util.d.ts +40 -0
  57. package/node_modules/ajv/dist/compile/util.js +178 -0
  58. package/node_modules/ajv/dist/compile/util.js.map +1 -0
  59. package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
  60. package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
  61. package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
  62. package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
  63. package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
  64. package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
  65. package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
  66. package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
  67. package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
  68. package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
  69. package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
  70. package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
  71. package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
  72. package/node_modules/ajv/dist/compile/validate/index.js +520 -0
  73. package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
  74. package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
  75. package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
  76. package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
  77. package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
  78. package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
  79. package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
  80. package/node_modules/ajv/dist/core.d.ts +174 -0
  81. package/node_modules/ajv/dist/core.js +618 -0
  82. package/node_modules/ajv/dist/core.js.map +1 -0
  83. package/node_modules/ajv/dist/jtd.d.ts +47 -0
  84. package/node_modules/ajv/dist/jtd.js +72 -0
  85. package/node_modules/ajv/dist/jtd.js.map +1 -0
  86. package/node_modules/ajv/dist/refs/data.json +13 -0
  87. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
  88. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
  89. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
  90. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
  91. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
  92. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
  93. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
  94. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  95. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
  96. package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
  97. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
  98. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
  99. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
  100. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
  101. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
  102. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
  103. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  104. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  105. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  106. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
  107. package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
  108. package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
  109. package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
  110. package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
  111. package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
  112. package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
  113. package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
  114. package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
  115. package/node_modules/ajv/dist/runtime/equal.js +7 -0
  116. package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
  117. package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
  118. package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
  119. package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
  120. package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
  121. package/node_modules/ajv/dist/runtime/quote.js +30 -0
  122. package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
  123. package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
  124. package/node_modules/ajv/dist/runtime/re2.js +6 -0
  125. package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
  126. package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
  127. package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
  128. package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
  129. package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
  130. package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
  131. package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
  132. package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
  133. package/node_modules/ajv/dist/runtime/uri.js +6 -0
  134. package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
  135. package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
  136. package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
  137. package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
  138. package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
  139. package/node_modules/ajv/dist/standalone/index.js +90 -0
  140. package/node_modules/ajv/dist/standalone/index.js.map +1 -0
  141. package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
  142. package/node_modules/ajv/dist/standalone/instance.js +35 -0
  143. package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
  144. package/node_modules/ajv/dist/types/index.d.ts +183 -0
  145. package/node_modules/ajv/dist/types/index.js +3 -0
  146. package/node_modules/ajv/dist/types/index.js.map +1 -0
  147. package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
  148. package/node_modules/ajv/dist/types/json-schema.js +3 -0
  149. package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
  150. package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
  151. package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
  152. package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
  153. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
  154. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
  155. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
  156. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
  157. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
  158. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
  159. package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
  160. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
  161. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
  162. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
  163. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
  164. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
  165. package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
  166. package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
  167. package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
  168. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
  169. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
  170. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
  171. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
  172. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
  173. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
  174. package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
  175. package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
  176. package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
  177. package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
  178. package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
  179. package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
  180. package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
  181. package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
  182. package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
  183. package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
  184. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
  185. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
  186. package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
  187. package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
  188. package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
  189. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
  190. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
  191. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
  192. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
  193. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
  194. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
  195. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
  196. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
  197. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
  198. package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
  199. package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
  200. package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
  201. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
  202. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
  203. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
  204. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
  205. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
  206. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
  207. package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
  208. package/node_modules/ajv/dist/vocabularies/code.js +131 -0
  209. package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
  210. package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
  211. package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
  212. package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
  213. package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
  214. package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
  215. package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
  216. package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
  217. package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
  218. package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
  219. package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
  220. package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
  221. package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
  222. package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
  223. package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
  224. package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
  225. package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
  226. package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
  227. package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
  228. package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
  229. package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
  230. package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
  231. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
  232. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
  233. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
  234. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
  235. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
  236. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
  237. package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
  238. package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
  239. package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
  240. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
  241. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
  242. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
  243. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
  244. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
  245. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
  246. package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
  247. package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
  248. package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
  249. package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
  250. package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
  251. package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
  252. package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
  253. package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
  254. package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
  255. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
  256. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
  257. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
  258. package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
  259. package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
  260. package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
  261. package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
  262. package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
  263. package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
  264. package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
  265. package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
  266. package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
  267. package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
  268. package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
  269. package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
  270. package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
  271. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
  272. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
  273. package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
  274. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
  275. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
  276. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
  277. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
  278. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
  279. package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
  280. package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
  281. package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
  282. package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
  283. package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
  284. package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
  285. package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
  286. package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
  287. package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
  288. package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
  289. package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
  290. package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
  291. package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
  292. package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
  293. package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
  294. package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
  295. package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
  296. package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
  297. package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
  298. package/node_modules/ajv/dist/vocabularies/next.js +8 -0
  299. package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
  300. package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
  301. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
  302. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
  303. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
  304. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
  305. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
  306. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
  307. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
  308. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
  309. package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
  310. package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
  311. package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
  312. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
  313. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
  314. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
  315. package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
  316. package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
  317. package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
  318. package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
  319. package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
  320. package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
  321. package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
  322. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
  323. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
  324. package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
  325. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
  326. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
  327. package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
  328. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
  329. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
  330. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
  331. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
  332. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
  333. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
  334. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
  335. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
  336. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
  337. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
  338. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
  339. package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
  340. package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
  341. package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
  342. package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
  343. package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
  344. package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
  345. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
  346. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
  347. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
  348. package/node_modules/ajv/lib/2019.ts +81 -0
  349. package/node_modules/ajv/lib/2020.ts +75 -0
  350. package/node_modules/ajv/lib/ajv.ts +70 -0
  351. package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
  352. package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
  353. package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
  354. package/node_modules/ajv/lib/compile/errors.ts +184 -0
  355. package/node_modules/ajv/lib/compile/index.ts +324 -0
  356. package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
  357. package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
  358. package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
  359. package/node_modules/ajv/lib/compile/names.ts +27 -0
  360. package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
  361. package/node_modules/ajv/lib/compile/resolve.ts +149 -0
  362. package/node_modules/ajv/lib/compile/rules.ts +50 -0
  363. package/node_modules/ajv/lib/compile/util.ts +213 -0
  364. package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
  365. package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
  366. package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
  367. package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
  368. package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
  369. package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
  370. package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
  371. package/node_modules/ajv/lib/core.ts +892 -0
  372. package/node_modules/ajv/lib/jtd.ts +132 -0
  373. package/node_modules/ajv/lib/refs/data.json +13 -0
  374. package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
  375. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
  376. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
  377. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
  378. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
  379. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  380. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
  381. package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
  382. package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
  383. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
  384. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
  385. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
  386. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  387. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  388. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  389. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
  390. package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
  391. package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
  392. package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
  393. package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
  394. package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
  395. package/node_modules/ajv/lib/runtime/equal.ts +7 -0
  396. package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
  397. package/node_modules/ajv/lib/runtime/quote.ts +31 -0
  398. package/node_modules/ajv/lib/runtime/re2.ts +6 -0
  399. package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
  400. package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
  401. package/node_modules/ajv/lib/runtime/uri.ts +6 -0
  402. package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
  403. package/node_modules/ajv/lib/standalone/index.ts +100 -0
  404. package/node_modules/ajv/lib/standalone/instance.ts +36 -0
  405. package/node_modules/ajv/lib/types/index.ts +244 -0
  406. package/node_modules/ajv/lib/types/json-schema.ts +187 -0
  407. package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
  408. package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
  409. package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
  410. package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
  411. package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
  412. package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
  413. package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
  414. package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
  415. package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
  416. package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
  417. package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
  418. package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
  419. package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
  420. package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
  421. package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
  422. package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
  423. package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
  424. package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
  425. package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
  426. package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
  427. package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
  428. package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
  429. package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
  430. package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
  431. package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
  432. package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
  433. package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
  434. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
  435. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
  436. package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
  437. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
  438. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
  439. package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
  440. package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
  441. package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
  442. package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
  443. package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
  444. package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
  445. package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
  446. package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
  447. package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
  448. package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
  449. package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
  450. package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
  451. package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
  452. package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
  453. package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
  454. package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
  455. package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
  456. package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
  457. package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
  458. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
  459. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
  460. package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
  461. package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
  462. package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
  463. package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
  464. package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
  465. package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
  466. package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
  467. package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
  468. package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
  469. package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
  470. package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
  471. package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
  472. package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
  473. package/node_modules/ajv/package.json +126 -0
  474. package/node_modules/ansi-regex/index.d.ts +33 -0
  475. package/node_modules/ansi-regex/index.js +15 -0
  476. package/node_modules/ansi-regex/license +9 -0
  477. package/node_modules/ansi-regex/package.json +61 -0
  478. package/node_modules/ansi-regex/readme.md +66 -0
  479. package/node_modules/boolbase/README.md +10 -0
  480. package/node_modules/boolbase/index.js +8 -0
  481. package/node_modules/boolbase/package.json +23 -0
  482. package/node_modules/cheerio/LICENSE +21 -0
  483. package/node_modules/cheerio/Readme.md +229 -0
  484. package/node_modules/cheerio/dist/browser/api/attributes.d.ts +385 -0
  485. package/node_modules/cheerio/dist/browser/api/attributes.d.ts.map +1 -0
  486. package/node_modules/cheerio/dist/browser/api/attributes.js +636 -0
  487. package/node_modules/cheerio/dist/browser/api/attributes.js.map +1 -0
  488. package/node_modules/cheerio/dist/browser/api/css.d.ts +42 -0
  489. package/node_modules/cheerio/dist/browser/api/css.d.ts.map +1 -0
  490. package/node_modules/cheerio/dist/browser/api/css.js +116 -0
  491. package/node_modules/cheerio/dist/browser/api/css.js.map +1 -0
  492. package/node_modules/cheerio/dist/browser/api/extract.d.ts +27 -0
  493. package/node_modules/cheerio/dist/browser/api/extract.d.ts.map +1 -0
  494. package/node_modules/cheerio/dist/browser/api/extract.js +42 -0
  495. package/node_modules/cheerio/dist/browser/api/extract.js.map +1 -0
  496. package/node_modules/cheerio/dist/browser/api/forms.d.ts +36 -0
  497. package/node_modules/cheerio/dist/browser/api/forms.d.ts.map +1 -0
  498. package/node_modules/cheerio/dist/browser/api/forms.js +81 -0
  499. package/node_modules/cheerio/dist/browser/api/forms.js.map +1 -0
  500. package/node_modules/cheerio/dist/browser/api/manipulation.d.ts +528 -0
  501. package/node_modules/cheerio/dist/browser/api/manipulation.d.ts.map +1 -0
  502. package/node_modules/cheerio/dist/browser/api/manipulation.js +831 -0
  503. package/node_modules/cheerio/dist/browser/api/manipulation.js.map +1 -0
  504. package/node_modules/cheerio/dist/browser/api/traversing.d.ts +657 -0
  505. package/node_modules/cheerio/dist/browser/api/traversing.d.ts.map +1 -0
  506. package/node_modules/cheerio/dist/browser/api/traversing.js +857 -0
  507. package/node_modules/cheerio/dist/browser/api/traversing.js.map +1 -0
  508. package/node_modules/cheerio/dist/browser/cheerio.d.ts +85 -0
  509. package/node_modules/cheerio/dist/browser/cheerio.d.ts.map +1 -0
  510. package/node_modules/cheerio/dist/browser/cheerio.js +58 -0
  511. package/node_modules/cheerio/dist/browser/cheerio.js.map +1 -0
  512. package/node_modules/cheerio/dist/browser/index-browser.d.mts.map +1 -0
  513. package/node_modules/cheerio/dist/browser/index-browser.mjs.map +1 -0
  514. package/node_modules/cheerio/dist/browser/index.d.ts +5 -0
  515. package/node_modules/cheerio/dist/browser/index.js +3 -0
  516. package/node_modules/cheerio/dist/browser/load-parse.d.ts +20 -0
  517. package/node_modules/cheerio/dist/browser/load-parse.d.ts.map +1 -0
  518. package/node_modules/cheerio/dist/browser/load-parse.js +28 -0
  519. package/node_modules/cheerio/dist/browser/load-parse.js.map +1 -0
  520. package/node_modules/cheerio/dist/browser/load.d.ts +91 -0
  521. package/node_modules/cheerio/dist/browser/load.d.ts.map +1 -0
  522. package/node_modules/cheerio/dist/browser/load.js +129 -0
  523. package/node_modules/cheerio/dist/browser/load.js.map +1 -0
  524. package/node_modules/cheerio/dist/browser/options.d.ts +98 -0
  525. package/node_modules/cheerio/dist/browser/options.d.ts.map +1 -0
  526. package/node_modules/cheerio/dist/browser/options.js +34 -0
  527. package/node_modules/cheerio/dist/browser/options.js.map +1 -0
  528. package/node_modules/cheerio/dist/browser/package.json +3 -0
  529. package/node_modules/cheerio/dist/browser/parse.d.ts +18 -0
  530. package/node_modules/cheerio/dist/browser/parse.d.ts.map +1 -0
  531. package/node_modules/cheerio/dist/browser/parse.js +73 -0
  532. package/node_modules/cheerio/dist/browser/parse.js.map +1 -0
  533. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts +20 -0
  534. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts.map +1 -0
  535. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js +50 -0
  536. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js.map +1 -0
  537. package/node_modules/cheerio/dist/browser/slim.d.ts +25 -0
  538. package/node_modules/cheerio/dist/browser/slim.d.ts.map +1 -0
  539. package/node_modules/cheerio/dist/browser/slim.js +22 -0
  540. package/node_modules/cheerio/dist/browser/slim.js.map +1 -0
  541. package/node_modules/cheerio/dist/browser/static.d.ts +112 -0
  542. package/node_modules/cheerio/dist/browser/static.d.ts.map +1 -0
  543. package/node_modules/cheerio/dist/browser/static.js +204 -0
  544. package/node_modules/cheerio/dist/browser/static.js.map +1 -0
  545. package/node_modules/cheerio/dist/browser/types.d.ts +21 -0
  546. package/node_modules/cheerio/dist/browser/types.d.ts.map +1 -0
  547. package/node_modules/cheerio/dist/browser/types.js +3 -0
  548. package/node_modules/cheerio/dist/browser/types.js.map +1 -0
  549. package/node_modules/cheerio/dist/browser/utils.d.ts +55 -0
  550. package/node_modules/cheerio/dist/browser/utils.d.ts.map +1 -0
  551. package/node_modules/cheerio/dist/browser/utils.js +84 -0
  552. package/node_modules/cheerio/dist/browser/utils.js.map +1 -0
  553. package/node_modules/cheerio/dist/commonjs/api/attributes.d.ts +385 -0
  554. package/node_modules/cheerio/dist/commonjs/api/attributes.d.ts.map +1 -0
  555. package/node_modules/cheerio/dist/commonjs/api/attributes.js +647 -0
  556. package/node_modules/cheerio/dist/commonjs/api/attributes.js.map +1 -0
  557. package/node_modules/cheerio/dist/commonjs/api/css.d.ts +42 -0
  558. package/node_modules/cheerio/dist/commonjs/api/css.d.ts.map +1 -0
  559. package/node_modules/cheerio/dist/commonjs/api/css.js +119 -0
  560. package/node_modules/cheerio/dist/commonjs/api/css.js.map +1 -0
  561. package/node_modules/cheerio/dist/commonjs/api/extract.d.ts +27 -0
  562. package/node_modules/cheerio/dist/commonjs/api/extract.d.ts.map +1 -0
  563. package/node_modules/cheerio/dist/commonjs/api/extract.js +45 -0
  564. package/node_modules/cheerio/dist/commonjs/api/extract.js.map +1 -0
  565. package/node_modules/cheerio/dist/commonjs/api/forms.d.ts +36 -0
  566. package/node_modules/cheerio/dist/commonjs/api/forms.d.ts.map +1 -0
  567. package/node_modules/cheerio/dist/commonjs/api/forms.js +85 -0
  568. package/node_modules/cheerio/dist/commonjs/api/forms.js.map +1 -0
  569. package/node_modules/cheerio/dist/commonjs/api/manipulation.d.ts +528 -0
  570. package/node_modules/cheerio/dist/commonjs/api/manipulation.d.ts.map +1 -0
  571. package/node_modules/cheerio/dist/commonjs/api/manipulation.js +850 -0
  572. package/node_modules/cheerio/dist/commonjs/api/manipulation.js.map +1 -0
  573. package/node_modules/cheerio/dist/commonjs/api/traversing.d.ts +657 -0
  574. package/node_modules/cheerio/dist/commonjs/api/traversing.d.ts.map +1 -0
  575. package/node_modules/cheerio/dist/commonjs/api/traversing.js +914 -0
  576. package/node_modules/cheerio/dist/commonjs/api/traversing.js.map +1 -0
  577. package/node_modules/cheerio/dist/commonjs/cheerio.d.ts +85 -0
  578. package/node_modules/cheerio/dist/commonjs/cheerio.d.ts.map +1 -0
  579. package/node_modules/cheerio/dist/commonjs/cheerio.js +95 -0
  580. package/node_modules/cheerio/dist/commonjs/cheerio.js.map +1 -0
  581. package/node_modules/cheerio/dist/commonjs/index.d.ts +104 -0
  582. package/node_modules/cheerio/dist/commonjs/index.d.ts.map +1 -0
  583. package/node_modules/cheerio/dist/commonjs/index.js +250 -0
  584. package/node_modules/cheerio/dist/commonjs/index.js.map +1 -0
  585. package/node_modules/cheerio/dist/commonjs/load-parse.d.ts +20 -0
  586. package/node_modules/cheerio/dist/commonjs/load-parse.d.ts.map +1 -0
  587. package/node_modules/cheerio/dist/commonjs/load-parse.js +34 -0
  588. package/node_modules/cheerio/dist/commonjs/load-parse.js.map +1 -0
  589. package/node_modules/cheerio/dist/commonjs/load.d.ts +91 -0
  590. package/node_modules/cheerio/dist/commonjs/load.d.ts.map +1 -0
  591. package/node_modules/cheerio/dist/commonjs/load.js +165 -0
  592. package/node_modules/cheerio/dist/commonjs/load.js.map +1 -0
  593. package/node_modules/cheerio/dist/commonjs/options.d.ts +98 -0
  594. package/node_modules/cheerio/dist/commonjs/options.d.ts.map +1 -0
  595. package/node_modules/cheerio/dist/commonjs/options.js +37 -0
  596. package/node_modules/cheerio/dist/commonjs/options.js.map +1 -0
  597. package/node_modules/cheerio/dist/commonjs/package.json +3 -0
  598. package/node_modules/cheerio/dist/commonjs/parse.d.ts +18 -0
  599. package/node_modules/cheerio/dist/commonjs/parse.d.ts.map +1 -0
  600. package/node_modules/cheerio/dist/commonjs/parse.js +77 -0
  601. package/node_modules/cheerio/dist/commonjs/parse.js.map +1 -0
  602. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts +20 -0
  603. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts.map +1 -0
  604. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js +54 -0
  605. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js.map +1 -0
  606. package/node_modules/cheerio/dist/commonjs/slim.d.ts +25 -0
  607. package/node_modules/cheerio/dist/commonjs/slim.d.ts.map +1 -0
  608. package/node_modules/cheerio/dist/commonjs/slim.js +30 -0
  609. package/node_modules/cheerio/dist/commonjs/slim.js.map +1 -0
  610. package/node_modules/cheerio/dist/commonjs/static.d.ts +112 -0
  611. package/node_modules/cheerio/dist/commonjs/static.d.ts.map +1 -0
  612. package/node_modules/cheerio/dist/commonjs/static.js +214 -0
  613. package/node_modules/cheerio/dist/commonjs/static.js.map +1 -0
  614. package/node_modules/cheerio/dist/commonjs/types.d.ts +21 -0
  615. package/node_modules/cheerio/dist/commonjs/types.d.ts.map +1 -0
  616. package/node_modules/cheerio/dist/commonjs/types.js +4 -0
  617. package/node_modules/cheerio/dist/commonjs/types.js.map +1 -0
  618. package/node_modules/cheerio/dist/commonjs/utils.d.ts +55 -0
  619. package/node_modules/cheerio/dist/commonjs/utils.d.ts.map +1 -0
  620. package/node_modules/cheerio/dist/commonjs/utils.js +91 -0
  621. package/node_modules/cheerio/dist/commonjs/utils.js.map +1 -0
  622. package/node_modules/cheerio/dist/esm/api/attributes.d.ts +385 -0
  623. package/node_modules/cheerio/dist/esm/api/attributes.d.ts.map +1 -0
  624. package/node_modules/cheerio/dist/esm/api/attributes.js +636 -0
  625. package/node_modules/cheerio/dist/esm/api/attributes.js.map +1 -0
  626. package/node_modules/cheerio/dist/esm/api/css.d.ts +42 -0
  627. package/node_modules/cheerio/dist/esm/api/css.d.ts.map +1 -0
  628. package/node_modules/cheerio/dist/esm/api/css.js +116 -0
  629. package/node_modules/cheerio/dist/esm/api/css.js.map +1 -0
  630. package/node_modules/cheerio/dist/esm/api/extract.d.ts +27 -0
  631. package/node_modules/cheerio/dist/esm/api/extract.d.ts.map +1 -0
  632. package/node_modules/cheerio/dist/esm/api/extract.js +42 -0
  633. package/node_modules/cheerio/dist/esm/api/extract.js.map +1 -0
  634. package/node_modules/cheerio/dist/esm/api/forms.d.ts +36 -0
  635. package/node_modules/cheerio/dist/esm/api/forms.d.ts.map +1 -0
  636. package/node_modules/cheerio/dist/esm/api/forms.js +81 -0
  637. package/node_modules/cheerio/dist/esm/api/forms.js.map +1 -0
  638. package/node_modules/cheerio/dist/esm/api/manipulation.d.ts +528 -0
  639. package/node_modules/cheerio/dist/esm/api/manipulation.d.ts.map +1 -0
  640. package/node_modules/cheerio/dist/esm/api/manipulation.js +831 -0
  641. package/node_modules/cheerio/dist/esm/api/manipulation.js.map +1 -0
  642. package/node_modules/cheerio/dist/esm/api/traversing.d.ts +657 -0
  643. package/node_modules/cheerio/dist/esm/api/traversing.d.ts.map +1 -0
  644. package/node_modules/cheerio/dist/esm/api/traversing.js +857 -0
  645. package/node_modules/cheerio/dist/esm/api/traversing.js.map +1 -0
  646. package/node_modules/cheerio/dist/esm/cheerio.d.ts +85 -0
  647. package/node_modules/cheerio/dist/esm/cheerio.d.ts.map +1 -0
  648. package/node_modules/cheerio/dist/esm/cheerio.js +58 -0
  649. package/node_modules/cheerio/dist/esm/cheerio.js.map +1 -0
  650. package/node_modules/cheerio/dist/esm/index.d.ts +104 -0
  651. package/node_modules/cheerio/dist/esm/index.d.ts.map +1 -0
  652. package/node_modules/cheerio/dist/esm/index.js +202 -0
  653. package/node_modules/cheerio/dist/esm/index.js.map +1 -0
  654. package/node_modules/cheerio/dist/esm/load-parse.d.ts +20 -0
  655. package/node_modules/cheerio/dist/esm/load-parse.d.ts.map +1 -0
  656. package/node_modules/cheerio/dist/esm/load-parse.js +28 -0
  657. package/node_modules/cheerio/dist/esm/load-parse.js.map +1 -0
  658. package/node_modules/cheerio/dist/esm/load.d.ts +91 -0
  659. package/node_modules/cheerio/dist/esm/load.d.ts.map +1 -0
  660. package/node_modules/cheerio/dist/esm/load.js +129 -0
  661. package/node_modules/cheerio/dist/esm/load.js.map +1 -0
  662. package/node_modules/cheerio/dist/esm/options.d.ts +98 -0
  663. package/node_modules/cheerio/dist/esm/options.d.ts.map +1 -0
  664. package/node_modules/cheerio/dist/esm/options.js +34 -0
  665. package/node_modules/cheerio/dist/esm/options.js.map +1 -0
  666. package/node_modules/cheerio/dist/esm/package.json +3 -0
  667. package/node_modules/cheerio/dist/esm/parse.d.ts +18 -0
  668. package/node_modules/cheerio/dist/esm/parse.d.ts.map +1 -0
  669. package/node_modules/cheerio/dist/esm/parse.js +73 -0
  670. package/node_modules/cheerio/dist/esm/parse.js.map +1 -0
  671. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts +20 -0
  672. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts.map +1 -0
  673. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js +50 -0
  674. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js.map +1 -0
  675. package/node_modules/cheerio/dist/esm/slim.d.ts +25 -0
  676. package/node_modules/cheerio/dist/esm/slim.d.ts.map +1 -0
  677. package/node_modules/cheerio/dist/esm/slim.js +22 -0
  678. package/node_modules/cheerio/dist/esm/slim.js.map +1 -0
  679. package/node_modules/cheerio/dist/esm/static.d.ts +112 -0
  680. package/node_modules/cheerio/dist/esm/static.d.ts.map +1 -0
  681. package/node_modules/cheerio/dist/esm/static.js +204 -0
  682. package/node_modules/cheerio/dist/esm/static.js.map +1 -0
  683. package/node_modules/cheerio/dist/esm/types.d.ts +21 -0
  684. package/node_modules/cheerio/dist/esm/types.d.ts.map +1 -0
  685. package/node_modules/cheerio/dist/esm/types.js +3 -0
  686. package/node_modules/cheerio/dist/esm/types.js.map +1 -0
  687. package/node_modules/cheerio/dist/esm/utils.d.ts +55 -0
  688. package/node_modules/cheerio/dist/esm/utils.d.ts.map +1 -0
  689. package/node_modules/cheerio/dist/esm/utils.js +84 -0
  690. package/node_modules/cheerio/dist/esm/utils.js.map +1 -0
  691. package/node_modules/cheerio/package.json +182 -0
  692. package/node_modules/cheerio/src/api/attributes.ts +1145 -0
  693. package/node_modules/cheerio/src/api/css.ts +224 -0
  694. package/node_modules/cheerio/src/api/extract.ts +92 -0
  695. package/node_modules/cheerio/src/api/forms.ts +103 -0
  696. package/node_modules/cheerio/src/api/manipulation.ts +1115 -0
  697. package/node_modules/cheerio/src/api/traversing.ts +1175 -0
  698. package/node_modules/cheerio/src/cheerio.ts +143 -0
  699. package/node_modules/cheerio/src/index-browser.mts +10 -0
  700. package/node_modules/cheerio/src/index.ts +294 -0
  701. package/node_modules/cheerio/src/load-parse.ts +39 -0
  702. package/node_modules/cheerio/src/load.ts +282 -0
  703. package/node_modules/cheerio/src/options.ts +136 -0
  704. package/node_modules/cheerio/src/parse.ts +105 -0
  705. package/node_modules/cheerio/src/parsers/parse5-adapter.ts +66 -0
  706. package/node_modules/cheerio/src/slim.ts +33 -0
  707. package/node_modules/cheerio/src/static.ts +312 -0
  708. package/node_modules/cheerio/src/types.ts +58 -0
  709. package/node_modules/cheerio/src/utils.ts +99 -0
  710. package/node_modules/cheerio-select/LICENSE +11 -0
  711. package/node_modules/cheerio-select/README.md +18 -0
  712. package/node_modules/cheerio-select/lib/esm/helpers.d.ts +5 -0
  713. package/node_modules/cheerio-select/lib/esm/helpers.d.ts.map +1 -0
  714. package/node_modules/cheerio-select/lib/esm/helpers.js +20 -0
  715. package/node_modules/cheerio-select/lib/esm/helpers.js.map +1 -0
  716. package/node_modules/cheerio-select/lib/esm/index.d.ts +12 -0
  717. package/node_modules/cheerio-select/lib/esm/index.d.ts.map +1 -0
  718. package/node_modules/cheerio-select/lib/esm/index.js +241 -0
  719. package/node_modules/cheerio-select/lib/esm/index.js.map +1 -0
  720. package/node_modules/cheerio-select/lib/esm/package.json +1 -0
  721. package/node_modules/cheerio-select/lib/esm/positionals.d.ts +10 -0
  722. package/node_modules/cheerio-select/lib/esm/positionals.d.ts.map +1 -0
  723. package/node_modules/cheerio-select/lib/esm/positionals.js +47 -0
  724. package/node_modules/cheerio-select/lib/esm/positionals.js.map +1 -0
  725. package/node_modules/cheerio-select/lib/helpers.d.ts +5 -0
  726. package/node_modules/cheerio-select/lib/helpers.d.ts.map +1 -0
  727. package/node_modules/cheerio-select/lib/helpers.js +26 -0
  728. package/node_modules/cheerio-select/lib/helpers.js.map +1 -0
  729. package/node_modules/cheerio-select/lib/index.d.ts +12 -0
  730. package/node_modules/cheerio-select/lib/index.d.ts.map +1 -0
  731. package/node_modules/cheerio-select/lib/index.js +302 -0
  732. package/node_modules/cheerio-select/lib/index.js.map +1 -0
  733. package/node_modules/cheerio-select/lib/positionals.d.ts +10 -0
  734. package/node_modules/cheerio-select/lib/positionals.d.ts.map +1 -0
  735. package/node_modules/cheerio-select/lib/positionals.js +52 -0
  736. package/node_modules/cheerio-select/lib/positionals.js.map +1 -0
  737. package/node_modules/cheerio-select/package.json +76 -0
  738. package/node_modules/css-select/LICENSE +11 -0
  739. package/node_modules/css-select/README.md +264 -0
  740. package/node_modules/css-select/lib/attributes.d.ts +7 -0
  741. package/node_modules/css-select/lib/attributes.d.ts.map +1 -0
  742. package/node_modules/css-select/lib/attributes.js +236 -0
  743. package/node_modules/css-select/lib/attributes.js.map +1 -0
  744. package/node_modules/css-select/lib/compile.d.ts +13 -0
  745. package/node_modules/css-select/lib/compile.d.ts.map +1 -0
  746. package/node_modules/css-select/lib/compile.js +151 -0
  747. package/node_modules/css-select/lib/compile.js.map +1 -0
  748. package/node_modules/css-select/lib/esm/attributes.d.ts +7 -0
  749. package/node_modules/css-select/lib/esm/attributes.d.ts.map +1 -0
  750. package/node_modules/css-select/lib/esm/attributes.js +222 -0
  751. package/node_modules/css-select/lib/esm/attributes.js.map +1 -0
  752. package/node_modules/css-select/lib/esm/compile.d.ts +13 -0
  753. package/node_modules/css-select/lib/esm/compile.d.ts.map +1 -0
  754. package/node_modules/css-select/lib/esm/compile.js +115 -0
  755. package/node_modules/css-select/lib/esm/compile.js.map +1 -0
  756. package/node_modules/css-select/lib/esm/general.d.ts +3 -0
  757. package/node_modules/css-select/lib/esm/general.d.ts.map +1 -0
  758. package/node_modules/css-select/lib/esm/general.js +144 -0
  759. package/node_modules/css-select/lib/esm/general.js.map +1 -0
  760. package/node_modules/css-select/lib/esm/helpers/cache.d.ts +12 -0
  761. package/node_modules/css-select/lib/esm/helpers/cache.d.ts.map +1 -0
  762. package/node_modules/css-select/lib/esm/helpers/cache.js +41 -0
  763. package/node_modules/css-select/lib/esm/helpers/cache.js.map +1 -0
  764. package/node_modules/css-select/lib/esm/helpers/querying.d.ts +24 -0
  765. package/node_modules/css-select/lib/esm/helpers/querying.d.ts.map +1 -0
  766. package/node_modules/css-select/lib/esm/helpers/querying.js +105 -0
  767. package/node_modules/css-select/lib/esm/helpers/querying.js.map +1 -0
  768. package/node_modules/css-select/lib/esm/helpers/selectors.d.ts +20 -0
  769. package/node_modules/css-select/lib/esm/helpers/selectors.d.ts.map +1 -0
  770. package/node_modules/css-select/lib/esm/helpers/selectors.js +103 -0
  771. package/node_modules/css-select/lib/esm/helpers/selectors.js.map +1 -0
  772. package/node_modules/css-select/lib/esm/index.d.ts +50 -0
  773. package/node_modules/css-select/lib/esm/index.d.ts.map +1 -0
  774. package/node_modules/css-select/lib/esm/index.js +115 -0
  775. package/node_modules/css-select/lib/esm/index.js.map +1 -0
  776. package/node_modules/css-select/lib/esm/package.json +1 -0
  777. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts +5 -0
  778. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts.map +1 -0
  779. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js +35 -0
  780. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js.map +1 -0
  781. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts +4 -0
  782. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts.map +1 -0
  783. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js +143 -0
  784. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js.map +1 -0
  785. package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts +8 -0
  786. package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts.map +1 -0
  787. package/node_modules/css-select/lib/esm/pseudo-selectors/index.js +40 -0
  788. package/node_modules/css-select/lib/esm/pseudo-selectors/index.js.map +1 -0
  789. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts +6 -0
  790. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts.map +1 -0
  791. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js +79 -0
  792. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js.map +1 -0
  793. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts +9 -0
  794. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts.map +1 -0
  795. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js +94 -0
  796. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js.map +1 -0
  797. package/node_modules/css-select/lib/esm/sort.d.ts +12 -0
  798. package/node_modules/css-select/lib/esm/sort.d.ts.map +1 -0
  799. package/node_modules/css-select/lib/esm/sort.js +79 -0
  800. package/node_modules/css-select/lib/esm/sort.js.map +1 -0
  801. package/node_modules/css-select/lib/esm/types.d.ts +167 -0
  802. package/node_modules/css-select/lib/esm/types.d.ts.map +1 -0
  803. package/node_modules/css-select/lib/esm/types.js +2 -0
  804. package/node_modules/css-select/lib/esm/types.js.map +1 -0
  805. package/node_modules/css-select/lib/general.d.ts +3 -0
  806. package/node_modules/css-select/lib/general.d.ts.map +1 -0
  807. package/node_modules/css-select/lib/general.js +148 -0
  808. package/node_modules/css-select/lib/general.js.map +1 -0
  809. package/node_modules/css-select/lib/helpers/cache.d.ts +12 -0
  810. package/node_modules/css-select/lib/helpers/cache.d.ts.map +1 -0
  811. package/node_modules/css-select/lib/helpers/cache.js +45 -0
  812. package/node_modules/css-select/lib/helpers/cache.js.map +1 -0
  813. package/node_modules/css-select/lib/helpers/querying.d.ts +24 -0
  814. package/node_modules/css-select/lib/helpers/querying.d.ts.map +1 -0
  815. package/node_modules/css-select/lib/helpers/querying.js +111 -0
  816. package/node_modules/css-select/lib/helpers/querying.js.map +1 -0
  817. package/node_modules/css-select/lib/helpers/selectors.d.ts +20 -0
  818. package/node_modules/css-select/lib/helpers/selectors.d.ts.map +1 -0
  819. package/node_modules/css-select/lib/helpers/selectors.js +111 -0
  820. package/node_modules/css-select/lib/helpers/selectors.js.map +1 -0
  821. package/node_modules/css-select/lib/index.d.ts +50 -0
  822. package/node_modules/css-select/lib/index.d.ts.map +1 -0
  823. package/node_modules/css-select/lib/index.js +154 -0
  824. package/node_modules/css-select/lib/index.js.map +1 -0
  825. package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts +5 -0
  826. package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map +1 -0
  827. package/node_modules/css-select/lib/pseudo-selectors/aliases.js +34 -0
  828. package/node_modules/css-select/lib/pseudo-selectors/aliases.js.map +1 -0
  829. package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts +4 -0
  830. package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map +1 -0
  831. package/node_modules/css-select/lib/pseudo-selectors/filters.js +157 -0
  832. package/node_modules/css-select/lib/pseudo-selectors/filters.js.map +1 -0
  833. package/node_modules/css-select/lib/pseudo-selectors/index.d.ts +8 -0
  834. package/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map +1 -0
  835. package/node_modules/css-select/lib/pseudo-selectors/index.js +46 -0
  836. package/node_modules/css-select/lib/pseudo-selectors/index.js.map +1 -0
  837. package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts +6 -0
  838. package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map +1 -0
  839. package/node_modules/css-select/lib/pseudo-selectors/pseudos.js +93 -0
  840. package/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map +1 -0
  841. package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts +9 -0
  842. package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map +1 -0
  843. package/node_modules/css-select/lib/pseudo-selectors/subselects.js +112 -0
  844. package/node_modules/css-select/lib/pseudo-selectors/subselects.js.map +1 -0
  845. package/node_modules/css-select/lib/sort.d.ts +12 -0
  846. package/node_modules/css-select/lib/sort.d.ts.map +1 -0
  847. package/node_modules/css-select/lib/sort.js +84 -0
  848. package/node_modules/css-select/lib/sort.js.map +1 -0
  849. package/node_modules/css-select/lib/types.d.ts +167 -0
  850. package/node_modules/css-select/lib/types.d.ts.map +1 -0
  851. package/node_modules/css-select/lib/types.js +3 -0
  852. package/node_modules/css-select/lib/types.js.map +1 -0
  853. package/node_modules/css-select/package.json +81 -0
  854. package/node_modules/css-what/LICENSE +11 -0
  855. package/node_modules/css-what/lib/commonjs/index.d.ts +4 -0
  856. package/node_modules/css-what/lib/commonjs/index.d.ts.map +1 -0
  857. package/node_modules/css-what/lib/commonjs/index.js +23 -0
  858. package/node_modules/css-what/lib/commonjs/parse.d.ts +20 -0
  859. package/node_modules/css-what/lib/commonjs/parse.d.ts.map +1 -0
  860. package/node_modules/css-what/lib/commonjs/parse.js +425 -0
  861. package/node_modules/css-what/lib/commonjs/stringify.d.ts +8 -0
  862. package/node_modules/css-what/lib/commonjs/stringify.d.ts.map +1 -0
  863. package/node_modules/css-what/lib/commonjs/stringify.js +138 -0
  864. package/node_modules/css-what/lib/commonjs/types.d.ts +70 -0
  865. package/node_modules/css-what/lib/commonjs/types.d.ts.map +1 -0
  866. package/node_modules/css-what/lib/commonjs/types.js +42 -0
  867. package/node_modules/css-what/lib/es/index.d.ts +4 -0
  868. package/node_modules/css-what/lib/es/index.d.ts.map +1 -0
  869. package/node_modules/css-what/lib/es/index.js +3 -0
  870. package/node_modules/css-what/lib/es/parse.d.ts +20 -0
  871. package/node_modules/css-what/lib/es/parse.d.ts.map +1 -0
  872. package/node_modules/css-what/lib/es/parse.js +420 -0
  873. package/node_modules/css-what/lib/es/stringify.d.ts +8 -0
  874. package/node_modules/css-what/lib/es/stringify.d.ts.map +1 -0
  875. package/node_modules/css-what/lib/es/stringify.js +126 -0
  876. package/node_modules/css-what/lib/es/types.d.ts +70 -0
  877. package/node_modules/css-what/lib/es/types.d.ts.map +1 -0
  878. package/node_modules/css-what/lib/es/types.js +39 -0
  879. package/node_modules/css-what/package.json +59 -0
  880. package/node_modules/css-what/readme.md +69 -0
  881. package/node_modules/dom-serializer/LICENSE +11 -0
  882. package/node_modules/dom-serializer/README.md +109 -0
  883. package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts +3 -0
  884. package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts.map +1 -0
  885. package/node_modules/dom-serializer/lib/esm/foreignNames.js +100 -0
  886. package/node_modules/dom-serializer/lib/esm/index.d.ts +52 -0
  887. package/node_modules/dom-serializer/lib/esm/index.d.ts.map +1 -0
  888. package/node_modules/dom-serializer/lib/esm/index.js +190 -0
  889. package/node_modules/dom-serializer/lib/esm/package.json +1 -0
  890. package/node_modules/dom-serializer/lib/foreignNames.d.ts +3 -0
  891. package/node_modules/dom-serializer/lib/foreignNames.d.ts.map +1 -0
  892. package/node_modules/dom-serializer/lib/foreignNames.js +103 -0
  893. package/node_modules/dom-serializer/lib/index.d.ts +52 -0
  894. package/node_modules/dom-serializer/lib/index.d.ts.map +1 -0
  895. package/node_modules/dom-serializer/lib/index.js +229 -0
  896. package/node_modules/dom-serializer/package.json +69 -0
  897. package/node_modules/domelementtype/LICENSE +11 -0
  898. package/node_modules/domelementtype/lib/esm/index.d.ts +48 -0
  899. package/node_modules/domelementtype/lib/esm/index.d.ts.map +1 -0
  900. package/node_modules/domelementtype/lib/esm/index.js +51 -0
  901. package/node_modules/domelementtype/lib/esm/package.json +1 -0
  902. package/node_modules/domelementtype/lib/index.d.ts +48 -0
  903. package/node_modules/domelementtype/lib/index.d.ts.map +1 -0
  904. package/node_modules/domelementtype/lib/index.js +55 -0
  905. package/node_modules/domelementtype/package.json +54 -0
  906. package/node_modules/domelementtype/readme.md +1 -0
  907. package/node_modules/domhandler/LICENSE +11 -0
  908. package/node_modules/domhandler/lib/esm/index.d.ts +76 -0
  909. package/node_modules/domhandler/lib/esm/index.d.ts.map +1 -0
  910. package/node_modules/domhandler/lib/esm/index.js +146 -0
  911. package/node_modules/domhandler/lib/esm/node.d.ts +245 -0
  912. package/node_modules/domhandler/lib/esm/node.d.ts.map +1 -0
  913. package/node_modules/domhandler/lib/esm/node.js +338 -0
  914. package/node_modules/domhandler/lib/esm/package.json +1 -0
  915. package/node_modules/domhandler/lib/index.d.ts +76 -0
  916. package/node_modules/domhandler/lib/index.d.ts.map +1 -0
  917. package/node_modules/domhandler/lib/index.js +165 -0
  918. package/node_modules/domhandler/lib/node.d.ts +245 -0
  919. package/node_modules/domhandler/lib/node.d.ts.map +1 -0
  920. package/node_modules/domhandler/lib/node.js +474 -0
  921. package/node_modules/domhandler/package.json +73 -0
  922. package/node_modules/domhandler/readme.md +92 -0
  923. package/node_modules/domutils/LICENSE +11 -0
  924. package/node_modules/domutils/lib/esm/feeds.d.ts +71 -0
  925. package/node_modules/domutils/lib/esm/feeds.d.ts.map +1 -0
  926. package/node_modules/domutils/lib/esm/feeds.js +183 -0
  927. package/node_modules/domutils/lib/esm/feeds.js.map +1 -0
  928. package/node_modules/domutils/lib/esm/helpers.d.ts +59 -0
  929. package/node_modules/domutils/lib/esm/helpers.d.ts.map +1 -0
  930. package/node_modules/domutils/lib/esm/helpers.js +136 -0
  931. package/node_modules/domutils/lib/esm/helpers.js.map +1 -0
  932. package/node_modules/domutils/lib/esm/index.d.ts +10 -0
  933. package/node_modules/domutils/lib/esm/index.d.ts.map +1 -0
  934. package/node_modules/domutils/lib/esm/index.js +10 -0
  935. package/node_modules/domutils/lib/esm/index.js.map +1 -0
  936. package/node_modules/domutils/lib/esm/legacy.d.ts +79 -0
  937. package/node_modules/domutils/lib/esm/legacy.d.ts.map +1 -0
  938. package/node_modules/domutils/lib/esm/legacy.js +152 -0
  939. package/node_modules/domutils/lib/esm/legacy.js.map +1 -0
  940. package/node_modules/domutils/lib/esm/manipulation.d.ts +49 -0
  941. package/node_modules/domutils/lib/esm/manipulation.d.ts.map +1 -0
  942. package/node_modules/domutils/lib/esm/manipulation.js +134 -0
  943. package/node_modules/domutils/lib/esm/manipulation.js.map +1 -0
  944. package/node_modules/domutils/lib/esm/package.json +1 -0
  945. package/node_modules/domutils/lib/esm/querying.d.ts +64 -0
  946. package/node_modules/domutils/lib/esm/querying.d.ts.map +1 -0
  947. package/node_modules/domutils/lib/esm/querying.js +142 -0
  948. package/node_modules/domutils/lib/esm/querying.js.map +1 -0
  949. package/node_modules/domutils/lib/esm/stringify.d.ts +46 -0
  950. package/node_modules/domutils/lib/esm/stringify.d.ts.map +1 -0
  951. package/node_modules/domutils/lib/esm/stringify.js +81 -0
  952. package/node_modules/domutils/lib/esm/stringify.js.map +1 -0
  953. package/node_modules/domutils/lib/esm/traversal.d.ts +67 -0
  954. package/node_modules/domutils/lib/esm/traversal.d.ts.map +1 -0
  955. package/node_modules/domutils/lib/esm/traversal.js +112 -0
  956. package/node_modules/domutils/lib/esm/traversal.js.map +1 -0
  957. package/node_modules/domutils/lib/feeds.d.ts +71 -0
  958. package/node_modules/domutils/lib/feeds.d.ts.map +1 -0
  959. package/node_modules/domutils/lib/feeds.js +190 -0
  960. package/node_modules/domutils/lib/feeds.js.map +1 -0
  961. package/node_modules/domutils/lib/helpers.d.ts +59 -0
  962. package/node_modules/domutils/lib/helpers.d.ts.map +1 -0
  963. package/node_modules/domutils/lib/helpers.js +142 -0
  964. package/node_modules/domutils/lib/helpers.js.map +1 -0
  965. package/node_modules/domutils/lib/index.d.ts +10 -0
  966. package/node_modules/domutils/lib/index.d.ts.map +1 -0
  967. package/node_modules/domutils/lib/index.js +33 -0
  968. package/node_modules/domutils/lib/index.js.map +1 -0
  969. package/node_modules/domutils/lib/legacy.d.ts +79 -0
  970. package/node_modules/domutils/lib/legacy.d.ts.map +1 -0
  971. package/node_modules/domutils/lib/legacy.js +168 -0
  972. package/node_modules/domutils/lib/legacy.js.map +1 -0
  973. package/node_modules/domutils/lib/manipulation.d.ts +49 -0
  974. package/node_modules/domutils/lib/manipulation.d.ts.map +1 -0
  975. package/node_modules/domutils/lib/manipulation.js +142 -0
  976. package/node_modules/domutils/lib/manipulation.js.map +1 -0
  977. package/node_modules/domutils/lib/querying.d.ts +64 -0
  978. package/node_modules/domutils/lib/querying.d.ts.map +1 -0
  979. package/node_modules/domutils/lib/querying.js +155 -0
  980. package/node_modules/domutils/lib/querying.js.map +1 -0
  981. package/node_modules/domutils/lib/stringify.d.ts +46 -0
  982. package/node_modules/domutils/lib/stringify.d.ts.map +1 -0
  983. package/node_modules/domutils/lib/stringify.js +91 -0
  984. package/node_modules/domutils/lib/stringify.js.map +1 -0
  985. package/node_modules/domutils/lib/traversal.d.ts +67 -0
  986. package/node_modules/domutils/lib/traversal.d.ts.map +1 -0
  987. package/node_modules/domutils/lib/traversal.js +125 -0
  988. package/node_modules/domutils/lib/traversal.js.map +1 -0
  989. package/node_modules/domutils/package.json +79 -0
  990. package/node_modules/domutils/readme.md +31 -0
  991. package/node_modules/encoding-sniffer/LICENSE +18 -0
  992. package/node_modules/encoding-sniffer/README.md +68 -0
  993. package/node_modules/encoding-sniffer/dist/commonjs/index.d.ts +31 -0
  994. package/node_modules/encoding-sniffer/dist/commonjs/index.d.ts.map +1 -0
  995. package/node_modules/encoding-sniffer/dist/commonjs/index.js +72 -0
  996. package/node_modules/encoding-sniffer/dist/commonjs/index.js.map +1 -0
  997. package/node_modules/encoding-sniffer/dist/commonjs/package.json +3 -0
  998. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.d.ts +148 -0
  999. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.d.ts.map +1 -0
  1000. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.js +990 -0
  1001. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.js.map +1 -0
  1002. package/node_modules/encoding-sniffer/dist/esm/index.d.ts +31 -0
  1003. package/node_modules/encoding-sniffer/dist/esm/index.d.ts.map +1 -0
  1004. package/node_modules/encoding-sniffer/dist/esm/index.js +63 -0
  1005. package/node_modules/encoding-sniffer/dist/esm/index.js.map +1 -0
  1006. package/node_modules/encoding-sniffer/dist/esm/package.json +3 -0
  1007. package/node_modules/encoding-sniffer/dist/esm/sniffer.d.ts +148 -0
  1008. package/node_modules/encoding-sniffer/dist/esm/sniffer.d.ts.map +1 -0
  1009. package/node_modules/encoding-sniffer/dist/esm/sniffer.js +985 -0
  1010. package/node_modules/encoding-sniffer/dist/esm/sniffer.js.map +1 -0
  1011. package/node_modules/encoding-sniffer/package.json +94 -0
  1012. package/node_modules/encoding-sniffer/sniffer.d.ts +2 -0
  1013. package/node_modules/encoding-sniffer/sniffer.js +3 -0
  1014. package/node_modules/entities/LICENSE +11 -0
  1015. package/node_modules/entities/lib/decode.d.ts +211 -0
  1016. package/node_modules/entities/lib/decode.d.ts.map +1 -0
  1017. package/node_modules/entities/lib/decode.js +536 -0
  1018. package/node_modules/entities/lib/decode.js.map +1 -0
  1019. package/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
  1020. package/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
  1021. package/node_modules/entities/lib/decode_codepoint.js +76 -0
  1022. package/node_modules/entities/lib/decode_codepoint.js.map +1 -0
  1023. package/node_modules/entities/lib/encode.d.ts +22 -0
  1024. package/node_modules/entities/lib/encode.d.ts.map +1 -0
  1025. package/node_modules/entities/lib/encode.js +77 -0
  1026. package/node_modules/entities/lib/encode.js.map +1 -0
  1027. package/node_modules/entities/lib/escape.d.ts +43 -0
  1028. package/node_modules/entities/lib/escape.d.ts.map +1 -0
  1029. package/node_modules/entities/lib/escape.js +122 -0
  1030. package/node_modules/entities/lib/escape.js.map +1 -0
  1031. package/node_modules/entities/lib/esm/decode.d.ts +211 -0
  1032. package/node_modules/entities/lib/esm/decode.d.ts.map +1 -0
  1033. package/node_modules/entities/lib/esm/decode.js +496 -0
  1034. package/node_modules/entities/lib/esm/decode.js.map +1 -0
  1035. package/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
  1036. package/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +1 -0
  1037. package/node_modules/entities/lib/esm/decode_codepoint.js +71 -0
  1038. package/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
  1039. package/node_modules/entities/lib/esm/encode.d.ts +22 -0
  1040. package/node_modules/entities/lib/esm/encode.d.ts.map +1 -0
  1041. package/node_modules/entities/lib/esm/encode.js +69 -0
  1042. package/node_modules/entities/lib/esm/encode.js.map +1 -0
  1043. package/node_modules/entities/lib/esm/escape.d.ts +43 -0
  1044. package/node_modules/entities/lib/esm/escape.d.ts.map +1 -0
  1045. package/node_modules/entities/lib/esm/escape.js +116 -0
  1046. package/node_modules/entities/lib/esm/escape.js.map +1 -0
  1047. package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
  1048. package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +1 -0
  1049. package/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
  1050. package/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
  1051. package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
  1052. package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +1 -0
  1053. package/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
  1054. package/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
  1055. package/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
  1056. package/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +1 -0
  1057. package/node_modules/entities/lib/esm/generated/encode-html.js +10 -0
  1058. package/node_modules/entities/lib/esm/generated/encode-html.js.map +1 -0
  1059. package/node_modules/entities/lib/esm/index.d.ts +96 -0
  1060. package/node_modules/entities/lib/esm/index.d.ts.map +1 -0
  1061. package/node_modules/entities/lib/esm/index.js +99 -0
  1062. package/node_modules/entities/lib/esm/index.js.map +1 -0
  1063. package/node_modules/entities/lib/esm/package.json +1 -0
  1064. package/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
  1065. package/node_modules/entities/lib/generated/decode-data-html.d.ts.map +1 -0
  1066. package/node_modules/entities/lib/generated/decode-data-html.js +9 -0
  1067. package/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
  1068. package/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
  1069. package/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +1 -0
  1070. package/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
  1071. package/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
  1072. package/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
  1073. package/node_modules/entities/lib/generated/encode-html.d.ts.map +1 -0
  1074. package/node_modules/entities/lib/generated/encode-html.js +12 -0
  1075. package/node_modules/entities/lib/generated/encode-html.js.map +1 -0
  1076. package/node_modules/entities/lib/index.d.ts +96 -0
  1077. package/node_modules/entities/lib/index.d.ts.map +1 -0
  1078. package/node_modules/entities/lib/index.js +126 -0
  1079. package/node_modules/entities/lib/index.js.map +1 -0
  1080. package/node_modules/entities/package.json +90 -0
  1081. package/node_modules/entities/readme.md +122 -0
  1082. package/node_modules/fast-deep-equal/LICENSE +21 -0
  1083. package/node_modules/fast-deep-equal/README.md +96 -0
  1084. package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
  1085. package/node_modules/fast-deep-equal/es6/index.js +72 -0
  1086. package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
  1087. package/node_modules/fast-deep-equal/es6/react.js +79 -0
  1088. package/node_modules/fast-deep-equal/index.d.ts +4 -0
  1089. package/node_modules/fast-deep-equal/index.js +46 -0
  1090. package/node_modules/fast-deep-equal/package.json +61 -0
  1091. package/node_modules/fast-deep-equal/react.d.ts +2 -0
  1092. package/node_modules/fast-deep-equal/react.js +53 -0
  1093. package/node_modules/fast-uri/.gitattributes +2 -0
  1094. package/node_modules/fast-uri/.github/dependabot.yml +13 -0
  1095. package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
  1096. package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
  1097. package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
  1098. package/node_modules/fast-uri/LICENSE +30 -0
  1099. package/node_modules/fast-uri/README.md +152 -0
  1100. package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
  1101. package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
  1102. package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
  1103. package/node_modules/fast-uri/benchmark/package.json +17 -0
  1104. package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
  1105. package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
  1106. package/node_modules/fast-uri/eslint.config.js +6 -0
  1107. package/node_modules/fast-uri/index.js +631 -0
  1108. package/node_modules/fast-uri/lib/schemes.js +272 -0
  1109. package/node_modules/fast-uri/lib/utils.js +747 -0
  1110. package/node_modules/fast-uri/package.json +68 -0
  1111. package/node_modules/fast-uri/test/ajv.test.js +43 -0
  1112. package/node_modules/fast-uri/test/component-safe-serialization.test.js +163 -0
  1113. package/node_modules/fast-uri/test/equal.test.js +145 -0
  1114. package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +503 -0
  1115. package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
  1116. package/node_modules/fast-uri/test/ipv6-canonical.test.js +34 -0
  1117. package/node_modules/fast-uri/test/ipv6-validation.test.js +124 -0
  1118. package/node_modules/fast-uri/test/malformed-percent.test.js +77 -0
  1119. package/node_modules/fast-uri/test/malformed-urn.test.js +61 -0
  1120. package/node_modules/fast-uri/test/parse.test.js +327 -0
  1121. package/node_modules/fast-uri/test/query-fragment-normalization.test.js +33 -0
  1122. package/node_modules/fast-uri/test/reserved-path-normalization.test.js +109 -0
  1123. package/node_modules/fast-uri/test/resolve.test.js +87 -0
  1124. package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
  1125. package/node_modules/fast-uri/test/scheme-validation.test.js +124 -0
  1126. package/node_modules/fast-uri/test/security-normalization.test.js +178 -0
  1127. package/node_modules/fast-uri/test/security.test.js +431 -0
  1128. package/node_modules/fast-uri/test/serialize.test.js +151 -0
  1129. package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
  1130. package/node_modules/fast-uri/test/uri-js.test.js +912 -0
  1131. package/node_modules/fast-uri/test/urn-full-input.test.js +29 -0
  1132. package/node_modules/fast-uri/test/util.test.js +38 -0
  1133. package/node_modules/fast-uri/test/websocket-query-preservation.test.js +24 -0
  1134. package/node_modules/fast-uri/tsconfig.json +9 -0
  1135. package/node_modules/fast-uri/types/index.d.ts +60 -0
  1136. package/node_modules/fast-uri/types/index.test-d.ts +17 -0
  1137. package/node_modules/get-east-asian-width/index.d.ts +60 -0
  1138. package/node_modules/get-east-asian-width/index.js +35 -0
  1139. package/node_modules/get-east-asian-width/license +9 -0
  1140. package/node_modules/get-east-asian-width/lookup-data.js +21 -0
  1141. package/node_modules/get-east-asian-width/lookup.js +138 -0
  1142. package/node_modules/get-east-asian-width/package.json +71 -0
  1143. package/node_modules/get-east-asian-width/readme.md +65 -0
  1144. package/node_modules/get-east-asian-width/utilities.js +24 -0
  1145. package/node_modules/htmlparser2/LICENSE +18 -0
  1146. package/node_modules/htmlparser2/README.md +171 -0
  1147. package/node_modules/htmlparser2/WritableStream.js +3 -0
  1148. package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts +198 -0
  1149. package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts.map +1 -0
  1150. package/node_modules/htmlparser2/dist/commonjs/Parser.js +527 -0
  1151. package/node_modules/htmlparser2/dist/commonjs/Parser.js.map +1 -0
  1152. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts +126 -0
  1153. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts.map +1 -0
  1154. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +805 -0
  1155. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +1 -0
  1156. package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts +15 -0
  1157. package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts.map +1 -0
  1158. package/node_modules/htmlparser2/dist/commonjs/WritableStream.js +36 -0
  1159. package/node_modules/htmlparser2/dist/commonjs/WritableStream.js.map +1 -0
  1160. package/node_modules/htmlparser2/dist/commonjs/index.d.ts +54 -0
  1161. package/node_modules/htmlparser2/dist/commonjs/index.d.ts.map +1 -0
  1162. package/node_modules/htmlparser2/dist/commonjs/index.js +123 -0
  1163. package/node_modules/htmlparser2/dist/commonjs/index.js.map +1 -0
  1164. package/node_modules/htmlparser2/dist/commonjs/package.json +3 -0
  1165. package/node_modules/htmlparser2/dist/esm/Parser.d.ts +198 -0
  1166. package/node_modules/htmlparser2/dist/esm/Parser.d.ts.map +1 -0
  1167. package/node_modules/htmlparser2/dist/esm/Parser.js +490 -0
  1168. package/node_modules/htmlparser2/dist/esm/Parser.js.map +1 -0
  1169. package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts +126 -0
  1170. package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts.map +1 -0
  1171. package/node_modules/htmlparser2/dist/esm/Tokenizer.js +801 -0
  1172. package/node_modules/htmlparser2/dist/esm/Tokenizer.js.map +1 -0
  1173. package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts +15 -0
  1174. package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts.map +1 -0
  1175. package/node_modules/htmlparser2/dist/esm/WritableStream.js +32 -0
  1176. package/node_modules/htmlparser2/dist/esm/WritableStream.js.map +1 -0
  1177. package/node_modules/htmlparser2/dist/esm/index.d.ts +54 -0
  1178. package/node_modules/htmlparser2/dist/esm/index.d.ts.map +1 -0
  1179. package/node_modules/htmlparser2/dist/esm/index.js +74 -0
  1180. package/node_modules/htmlparser2/dist/esm/index.js.map +1 -0
  1181. package/node_modules/htmlparser2/dist/esm/package.json +3 -0
  1182. package/node_modules/htmlparser2/node_modules/entities/LICENSE +11 -0
  1183. package/node_modules/htmlparser2/node_modules/entities/decode.d.ts +3 -0
  1184. package/node_modules/htmlparser2/node_modules/entities/decode.js +3 -0
  1185. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
  1186. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +1 -0
  1187. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  1188. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
  1189. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts +205 -0
  1190. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts.map +1 -0
  1191. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +568 -0
  1192. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +1 -0
  1193. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
  1194. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts.map +1 -0
  1195. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js +92 -0
  1196. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js.map +1 -0
  1197. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts +46 -0
  1198. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts.map +1 -0
  1199. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js +138 -0
  1200. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js.map +1 -0
  1201. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
  1202. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +1 -0
  1203. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
  1204. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
  1205. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
  1206. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +1 -0
  1207. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
  1208. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
  1209. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +3 -0
  1210. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +1 -0
  1211. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js +14 -0
  1212. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js.map +1 -0
  1213. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts +96 -0
  1214. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts.map +1 -0
  1215. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js +131 -0
  1216. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js.map +1 -0
  1217. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +17 -0
  1218. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts.map +1 -0
  1219. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
  1220. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js.map +1 -0
  1221. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +2 -0
  1222. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts.map +1 -0
  1223. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
  1224. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js.map +1 -0
  1225. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +32 -0
  1226. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts.map +1 -0
  1227. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js +94 -0
  1228. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js.map +1 -0
  1229. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/package.json +3 -0
  1230. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
  1231. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +1 -0
  1232. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js +72 -0
  1233. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js.map +1 -0
  1234. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts +205 -0
  1235. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts.map +1 -0
  1236. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js +554 -0
  1237. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js.map +1 -0
  1238. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts +22 -0
  1239. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts.map +1 -0
  1240. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js +88 -0
  1241. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js.map +1 -0
  1242. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts +46 -0
  1243. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts.map +1 -0
  1244. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js +134 -0
  1245. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js.map +1 -0
  1246. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
  1247. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +1 -0
  1248. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js +4 -0
  1249. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js.map +1 -0
  1250. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
  1251. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +1 -0
  1252. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js +4 -0
  1253. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +1 -0
  1254. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts +3 -0
  1255. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +1 -0
  1256. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js +11 -0
  1257. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js.map +1 -0
  1258. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts +96 -0
  1259. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts.map +1 -0
  1260. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js +107 -0
  1261. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js.map +1 -0
  1262. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +17 -0
  1263. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts.map +1 -0
  1264. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js +18 -0
  1265. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js.map +1 -0
  1266. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts +2 -0
  1267. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts.map +1 -0
  1268. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js +28 -0
  1269. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js.map +1 -0
  1270. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts +32 -0
  1271. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts.map +1 -0
  1272. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js +91 -0
  1273. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js.map +1 -0
  1274. package/node_modules/htmlparser2/node_modules/entities/dist/esm/package.json +3 -0
  1275. package/node_modules/htmlparser2/node_modules/entities/escape.d.ts +3 -0
  1276. package/node_modules/htmlparser2/node_modules/entities/escape.js +3 -0
  1277. package/node_modules/htmlparser2/node_modules/entities/package.json +120 -0
  1278. package/node_modules/htmlparser2/node_modules/entities/readme.md +143 -0
  1279. package/node_modules/htmlparser2/node_modules/entities/src/decode-codepoint.ts +81 -0
  1280. package/node_modules/htmlparser2/node_modules/entities/src/decode.ts +685 -0
  1281. package/node_modules/htmlparser2/node_modules/entities/src/encode.ts +93 -0
  1282. package/node_modules/htmlparser2/node_modules/entities/src/escape.ts +161 -0
  1283. package/node_modules/htmlparser2/node_modules/entities/src/generated/.eslintrc.json +10 -0
  1284. package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-html.ts +6 -0
  1285. package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-xml.ts +6 -0
  1286. package/node_modules/htmlparser2/node_modules/entities/src/generated/encode-html.ts +17 -0
  1287. package/node_modules/htmlparser2/node_modules/entities/src/index.ts +187 -0
  1288. package/node_modules/htmlparser2/node_modules/entities/src/internal/bin-trie-flags.ts +16 -0
  1289. package/node_modules/htmlparser2/node_modules/entities/src/internal/decode-shared.ts +30 -0
  1290. package/node_modules/htmlparser2/node_modules/entities/src/internal/encode-shared.ts +121 -0
  1291. package/node_modules/htmlparser2/package.json +113 -0
  1292. package/node_modules/htmlparser2/src/Parser.ts +663 -0
  1293. package/node_modules/htmlparser2/src/Tokenizer.ts +877 -0
  1294. package/node_modules/htmlparser2/src/WritableStream.ts +43 -0
  1295. package/node_modules/htmlparser2/src/index.ts +115 -0
  1296. package/node_modules/iconv-lite/.github/dependabot.yml +11 -0
  1297. package/node_modules/iconv-lite/.idea/codeStyles/Project.xml +47 -0
  1298. package/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +5 -0
  1299. package/node_modules/iconv-lite/.idea/iconv-lite.iml +12 -0
  1300. package/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +6 -0
  1301. package/node_modules/iconv-lite/.idea/modules.xml +8 -0
  1302. package/node_modules/iconv-lite/.idea/vcs.xml +6 -0
  1303. package/node_modules/iconv-lite/Changelog.md +212 -0
  1304. package/node_modules/iconv-lite/LICENSE +21 -0
  1305. package/node_modules/iconv-lite/README.md +130 -0
  1306. package/node_modules/iconv-lite/encodings/dbcs-codec.js +597 -0
  1307. package/node_modules/iconv-lite/encodings/dbcs-data.js +188 -0
  1308. package/node_modules/iconv-lite/encodings/index.js +23 -0
  1309. package/node_modules/iconv-lite/encodings/internal.js +198 -0
  1310. package/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
  1311. package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  1312. package/node_modules/iconv-lite/encodings/sbcs-data.js +179 -0
  1313. package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  1314. package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  1315. package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  1316. package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  1317. package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  1318. package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  1319. package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  1320. package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  1321. package/node_modules/iconv-lite/encodings/utf16.js +197 -0
  1322. package/node_modules/iconv-lite/encodings/utf32.js +319 -0
  1323. package/node_modules/iconv-lite/encodings/utf7.js +290 -0
  1324. package/node_modules/iconv-lite/lib/bom-handling.js +52 -0
  1325. package/node_modules/iconv-lite/lib/index.d.ts +41 -0
  1326. package/node_modules/iconv-lite/lib/index.js +180 -0
  1327. package/node_modules/iconv-lite/lib/streams.js +109 -0
  1328. package/node_modules/iconv-lite/package.json +44 -0
  1329. package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
  1330. package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
  1331. package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
  1332. package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
  1333. package/node_modules/json-schema-traverse/LICENSE +21 -0
  1334. package/node_modules/json-schema-traverse/README.md +95 -0
  1335. package/node_modules/json-schema-traverse/index.d.ts +40 -0
  1336. package/node_modules/json-schema-traverse/index.js +93 -0
  1337. package/node_modules/json-schema-traverse/package.json +43 -0
  1338. package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
  1339. package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
  1340. package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
  1341. package/node_modules/marked/LICENSE +44 -0
  1342. package/node_modules/marked/README.md +117 -0
  1343. package/node_modules/marked/bin/main.js +284 -0
  1344. package/node_modules/marked/bin/marked.js +16 -0
  1345. package/node_modules/marked/lib/marked.d.ts +841 -0
  1346. package/node_modules/marked/lib/marked.esm.js +78 -0
  1347. package/node_modules/marked/lib/marked.esm.js.map +7 -0
  1348. package/node_modules/marked/lib/marked.umd.js +80 -0
  1349. package/node_modules/marked/lib/marked.umd.js.map +7 -0
  1350. package/node_modules/marked/man/marked.1 +113 -0
  1351. package/node_modules/marked/man/marked.1.md +93 -0
  1352. package/node_modules/marked/package.json +103 -0
  1353. package/node_modules/nth-check/LICENSE +11 -0
  1354. package/node_modules/nth-check/README.md +136 -0
  1355. package/node_modules/nth-check/lib/compile.d.ts +55 -0
  1356. package/node_modules/nth-check/lib/compile.d.ts.map +1 -0
  1357. package/node_modules/nth-check/lib/compile.js +121 -0
  1358. package/node_modules/nth-check/lib/compile.js.map +1 -0
  1359. package/node_modules/nth-check/lib/esm/compile.d.ts +55 -0
  1360. package/node_modules/nth-check/lib/esm/compile.d.ts.map +1 -0
  1361. package/node_modules/nth-check/lib/esm/compile.js +113 -0
  1362. package/node_modules/nth-check/lib/esm/compile.js.map +1 -0
  1363. package/node_modules/nth-check/lib/esm/index.d.ts +59 -0
  1364. package/node_modules/nth-check/lib/esm/index.d.ts.map +1 -0
  1365. package/node_modules/nth-check/lib/esm/index.js +63 -0
  1366. package/node_modules/nth-check/lib/esm/index.js.map +1 -0
  1367. package/node_modules/nth-check/lib/esm/package.json +1 -0
  1368. package/node_modules/nth-check/lib/esm/parse.d.ts +9 -0
  1369. package/node_modules/nth-check/lib/esm/parse.d.ts.map +1 -0
  1370. package/node_modules/nth-check/lib/esm/parse.js +73 -0
  1371. package/node_modules/nth-check/lib/esm/parse.js.map +1 -0
  1372. package/node_modules/nth-check/lib/index.d.ts +59 -0
  1373. package/node_modules/nth-check/lib/index.d.ts.map +1 -0
  1374. package/node_modules/nth-check/lib/index.js +70 -0
  1375. package/node_modules/nth-check/lib/index.js.map +1 -0
  1376. package/node_modules/nth-check/lib/parse.d.ts +9 -0
  1377. package/node_modules/nth-check/lib/parse.d.ts.map +1 -0
  1378. package/node_modules/nth-check/lib/parse.js +77 -0
  1379. package/node_modules/nth-check/lib/parse.js.map +1 -0
  1380. package/node_modules/nth-check/package.json +78 -0
  1381. package/node_modules/parse5/LICENSE +19 -0
  1382. package/node_modules/parse5/README.md +38 -0
  1383. package/node_modules/parse5/dist/cjs/common/doctype.d.ts +4 -0
  1384. package/node_modules/parse5/dist/cjs/common/doctype.js +118 -0
  1385. package/node_modules/parse5/dist/cjs/common/error-codes.d.ts +67 -0
  1386. package/node_modules/parse5/dist/cjs/common/error-codes.js +66 -0
  1387. package/node_modules/parse5/dist/cjs/common/foreign-content.d.ts +9 -0
  1388. package/node_modules/parse5/dist/cjs/common/foreign-content.js +237 -0
  1389. package/node_modules/parse5/dist/cjs/common/html.d.ts +289 -0
  1390. package/node_modules/parse5/dist/cjs/common/html.js +528 -0
  1391. package/node_modules/parse5/dist/cjs/common/token.d.ts +84 -0
  1392. package/node_modules/parse5/dist/cjs/common/token.js +24 -0
  1393. package/node_modules/parse5/dist/cjs/common/unicode.d.ts +42 -0
  1394. package/node_modules/parse5/dist/cjs/common/unicode.js +70 -0
  1395. package/node_modules/parse5/dist/cjs/index.d.ts +71 -0
  1396. package/node_modules/parse5/dist/cjs/index.js +54 -0
  1397. package/node_modules/parse5/dist/cjs/package.json +1 -0
  1398. package/node_modules/parse5/dist/cjs/parser/formatting-element-list.d.ts +36 -0
  1399. package/node_modules/parse5/dist/cjs/parser/formatting-element-list.js +114 -0
  1400. package/node_modules/parse5/dist/cjs/parser/index.d.ts +221 -0
  1401. package/node_modules/parse5/dist/cjs/parser/index.js +3240 -0
  1402. package/node_modules/parse5/dist/cjs/parser/open-element-stack.d.ts +53 -0
  1403. package/node_modules/parse5/dist/cjs/parser/open-element-stack.js +328 -0
  1404. package/node_modules/parse5/dist/cjs/serializer/index.d.ts +60 -0
  1405. package/node_modules/parse5/dist/cjs/serializer/index.js +172 -0
  1406. package/node_modules/parse5/dist/cjs/tokenizer/index.d.ts +247 -0
  1407. package/node_modules/parse5/dist/cjs/tokenizer/index.js +2714 -0
  1408. package/node_modules/parse5/dist/cjs/tokenizer/preprocessor.d.ts +36 -0
  1409. package/node_modules/parse5/dist/cjs/tokenizer/preprocessor.js +200 -0
  1410. package/node_modules/parse5/dist/cjs/tree-adapters/default.d.ts +84 -0
  1411. package/node_modules/parse5/dist/cjs/tree-adapters/default.js +176 -0
  1412. package/node_modules/parse5/dist/cjs/tree-adapters/interface.d.ts +255 -0
  1413. package/node_modules/parse5/dist/cjs/tree-adapters/interface.js +2 -0
  1414. package/node_modules/parse5/dist/common/doctype.d.ts +4 -0
  1415. package/node_modules/parse5/dist/common/doctype.js +114 -0
  1416. package/node_modules/parse5/dist/common/error-codes.d.ts +67 -0
  1417. package/node_modules/parse5/dist/common/error-codes.js +63 -0
  1418. package/node_modules/parse5/dist/common/foreign-content.d.ts +9 -0
  1419. package/node_modules/parse5/dist/common/foreign-content.js +228 -0
  1420. package/node_modules/parse5/dist/common/html.d.ts +289 -0
  1421. package/node_modules/parse5/dist/common/html.js +523 -0
  1422. package/node_modules/parse5/dist/common/token.d.ts +84 -0
  1423. package/node_modules/parse5/dist/common/token.js +20 -0
  1424. package/node_modules/parse5/dist/common/unicode.d.ts +42 -0
  1425. package/node_modules/parse5/dist/common/unicode.js +62 -0
  1426. package/node_modules/parse5/dist/index.d.ts +71 -0
  1427. package/node_modules/parse5/dist/index.js +42 -0
  1428. package/node_modules/parse5/dist/parser/formatting-element-list.d.ts +36 -0
  1429. package/node_modules/parse5/dist/parser/formatting-element-list.js +110 -0
  1430. package/node_modules/parse5/dist/parser/index.d.ts +221 -0
  1431. package/node_modules/parse5/dist/parser/index.js +3245 -0
  1432. package/node_modules/parse5/dist/parser/open-element-stack.d.ts +53 -0
  1433. package/node_modules/parse5/dist/parser/open-element-stack.js +324 -0
  1434. package/node_modules/parse5/dist/serializer/index.d.ts +60 -0
  1435. package/node_modules/parse5/dist/serializer/index.js +168 -0
  1436. package/node_modules/parse5/dist/tokenizer/index.d.ts +247 -0
  1437. package/node_modules/parse5/dist/tokenizer/index.js +2710 -0
  1438. package/node_modules/parse5/dist/tokenizer/preprocessor.d.ts +36 -0
  1439. package/node_modules/parse5/dist/tokenizer/preprocessor.js +196 -0
  1440. package/node_modules/parse5/dist/tree-adapters/default.d.ts +84 -0
  1441. package/node_modules/parse5/dist/tree-adapters/default.js +173 -0
  1442. package/node_modules/parse5/dist/tree-adapters/interface.d.ts +255 -0
  1443. package/node_modules/parse5/dist/tree-adapters/interface.js +1 -0
  1444. package/node_modules/parse5/node_modules/entities/LICENSE +11 -0
  1445. package/node_modules/parse5/node_modules/entities/decode.d.ts +1 -0
  1446. package/node_modules/parse5/node_modules/entities/decode.js +3 -0
  1447. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
  1448. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +1 -0
  1449. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  1450. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
  1451. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts +209 -0
  1452. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts.map +1 -0
  1453. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js +511 -0
  1454. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js.map +1 -0
  1455. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
  1456. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts.map +1 -0
  1457. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js +73 -0
  1458. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js.map +1 -0
  1459. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts +43 -0
  1460. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts.map +1 -0
  1461. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js +121 -0
  1462. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js.map +1 -0
  1463. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
  1464. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +1 -0
  1465. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js +10 -0
  1466. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
  1467. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
  1468. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +1 -0
  1469. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +10 -0
  1470. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
  1471. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +8 -0
  1472. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +1 -0
  1473. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js +13 -0
  1474. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js.map +1 -0
  1475. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts +96 -0
  1476. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts.map +1 -0
  1477. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js +131 -0
  1478. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js.map +1 -0
  1479. package/node_modules/parse5/node_modules/entities/dist/commonjs/package.json +3 -0
  1480. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
  1481. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +1 -0
  1482. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +72 -0
  1483. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js.map +1 -0
  1484. package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts +209 -0
  1485. package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts.map +1 -0
  1486. package/node_modules/parse5/node_modules/entities/dist/esm/decode.js +497 -0
  1487. package/node_modules/parse5/node_modules/entities/dist/esm/decode.js.map +1 -0
  1488. package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts +22 -0
  1489. package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts.map +1 -0
  1490. package/node_modules/parse5/node_modules/entities/dist/esm/encode.js +69 -0
  1491. package/node_modules/parse5/node_modules/entities/dist/esm/encode.js.map +1 -0
  1492. package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts +43 -0
  1493. package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts.map +1 -0
  1494. package/node_modules/parse5/node_modules/entities/dist/esm/escape.js +117 -0
  1495. package/node_modules/parse5/node_modules/entities/dist/esm/escape.js.map +1 -0
  1496. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
  1497. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +1 -0
  1498. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +7 -0
  1499. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js.map +1 -0
  1500. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
  1501. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +1 -0
  1502. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js +7 -0
  1503. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +1 -0
  1504. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts +8 -0
  1505. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +1 -0
  1506. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js +10 -0
  1507. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js.map +1 -0
  1508. package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts +96 -0
  1509. package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts.map +1 -0
  1510. package/node_modules/parse5/node_modules/entities/dist/esm/index.js +107 -0
  1511. package/node_modules/parse5/node_modules/entities/dist/esm/index.js.map +1 -0
  1512. package/node_modules/parse5/node_modules/entities/dist/esm/package.json +3 -0
  1513. package/node_modules/parse5/node_modules/entities/escape.d.ts +1 -0
  1514. package/node_modules/parse5/node_modules/entities/escape.js +3 -0
  1515. package/node_modules/parse5/node_modules/entities/package.json +118 -0
  1516. package/node_modules/parse5/node_modules/entities/readme.md +122 -0
  1517. package/node_modules/parse5/node_modules/entities/src/decode-codepoint.ts +81 -0
  1518. package/node_modules/parse5/node_modules/entities/src/decode.spec.ts +320 -0
  1519. package/node_modules/parse5/node_modules/entities/src/decode.ts +620 -0
  1520. package/node_modules/parse5/node_modules/entities/src/encode.spec.ts +78 -0
  1521. package/node_modules/parse5/node_modules/entities/src/encode.ts +77 -0
  1522. package/node_modules/parse5/node_modules/entities/src/escape.spec.ts +14 -0
  1523. package/node_modules/parse5/node_modules/entities/src/escape.ts +148 -0
  1524. package/node_modules/parse5/node_modules/entities/src/generated/.eslintrc.json +10 -0
  1525. package/node_modules/parse5/node_modules/entities/src/generated/decode-data-html.ts +8 -0
  1526. package/node_modules/parse5/node_modules/entities/src/generated/decode-data-xml.ts +8 -0
  1527. package/node_modules/parse5/node_modules/entities/src/generated/encode-html.ts +17 -0
  1528. package/node_modules/parse5/node_modules/entities/src/index.spec.ts +125 -0
  1529. package/node_modules/parse5/node_modules/entities/src/index.ts +188 -0
  1530. package/node_modules/parse5/package.json +50 -0
  1531. package/node_modules/parse5-htmlparser2-tree-adapter/LICENSE +19 -0
  1532. package/node_modules/parse5-htmlparser2-tree-adapter/README.md +34 -0
  1533. package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.d.ts +6 -0
  1534. package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.js +214 -0
  1535. package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/package.json +1 -0
  1536. package/node_modules/parse5-htmlparser2-tree-adapter/dist/index.d.ts +6 -0
  1537. package/node_modules/parse5-htmlparser2-tree-adapter/dist/index.js +213 -0
  1538. package/node_modules/parse5-htmlparser2-tree-adapter/package.json +40 -0
  1539. package/node_modules/parse5-parser-stream/LICENSE +19 -0
  1540. package/node_modules/parse5-parser-stream/README.md +34 -0
  1541. package/node_modules/parse5-parser-stream/dist/cjs/index.d.ts +85 -0
  1542. package/node_modules/parse5-parser-stream/dist/cjs/index.js +90 -0
  1543. package/node_modules/parse5-parser-stream/dist/cjs/package.json +1 -0
  1544. package/node_modules/parse5-parser-stream/dist/index.d.ts +85 -0
  1545. package/node_modules/parse5-parser-stream/dist/index.js +86 -0
  1546. package/node_modules/parse5-parser-stream/package.json +39 -0
  1547. package/node_modules/require-from-string/index.js +34 -0
  1548. package/node_modules/require-from-string/license +21 -0
  1549. package/node_modules/require-from-string/package.json +28 -0
  1550. package/node_modules/require-from-string/readme.md +56 -0
  1551. package/node_modules/safer-buffer/LICENSE +21 -0
  1552. package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  1553. package/node_modules/safer-buffer/Readme.md +156 -0
  1554. package/node_modules/safer-buffer/dangerous.js +58 -0
  1555. package/node_modules/safer-buffer/package.json +34 -0
  1556. package/node_modules/safer-buffer/safer.js +77 -0
  1557. package/node_modules/safer-buffer/tests.js +406 -0
  1558. package/node_modules/string-width/index.d.ts +39 -0
  1559. package/node_modules/string-width/index.js +203 -0
  1560. package/node_modules/string-width/license +9 -0
  1561. package/node_modules/string-width/package.json +65 -0
  1562. package/node_modules/string-width/readme.md +66 -0
  1563. package/node_modules/strip-ansi/index.d.ts +15 -0
  1564. package/node_modules/strip-ansi/index.js +19 -0
  1565. package/node_modules/strip-ansi/license +9 -0
  1566. package/node_modules/strip-ansi/package.json +59 -0
  1567. package/node_modules/strip-ansi/readme.md +37 -0
  1568. package/node_modules/undici/LICENSE +21 -0
  1569. package/node_modules/undici/README.md +741 -0
  1570. package/node_modules/undici/docs/docs/api/Agent.md +84 -0
  1571. package/node_modules/undici/docs/docs/api/BalancedPool.md +99 -0
  1572. package/node_modules/undici/docs/docs/api/CacheStorage.md +30 -0
  1573. package/node_modules/undici/docs/docs/api/CacheStore.md +164 -0
  1574. package/node_modules/undici/docs/docs/api/Client.md +288 -0
  1575. package/node_modules/undici/docs/docs/api/ClientStats.md +27 -0
  1576. package/node_modules/undici/docs/docs/api/Connector.md +115 -0
  1577. package/node_modules/undici/docs/docs/api/ContentType.md +57 -0
  1578. package/node_modules/undici/docs/docs/api/Cookies.md +128 -0
  1579. package/node_modules/undici/docs/docs/api/Debug.md +62 -0
  1580. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +317 -0
  1581. package/node_modules/undici/docs/docs/api/Dispatcher.md +1393 -0
  1582. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +159 -0
  1583. package/node_modules/undici/docs/docs/api/Errors.md +49 -0
  1584. package/node_modules/undici/docs/docs/api/EventSource.md +45 -0
  1585. package/node_modules/undici/docs/docs/api/Fetch.md +60 -0
  1586. package/node_modules/undici/docs/docs/api/GlobalInstallation.md +139 -0
  1587. package/node_modules/undici/docs/docs/api/H2CClient.md +263 -0
  1588. package/node_modules/undici/docs/docs/api/MockAgent.md +603 -0
  1589. package/node_modules/undici/docs/docs/api/MockCallHistory.md +197 -0
  1590. package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +43 -0
  1591. package/node_modules/undici/docs/docs/api/MockClient.md +81 -0
  1592. package/node_modules/undici/docs/docs/api/MockErrors.md +12 -0
  1593. package/node_modules/undici/docs/docs/api/MockPool.md +555 -0
  1594. package/node_modules/undici/docs/docs/api/Pool.md +84 -0
  1595. package/node_modules/undici/docs/docs/api/PoolStats.md +35 -0
  1596. package/node_modules/undici/docs/docs/api/ProxyAgent.md +229 -0
  1597. package/node_modules/undici/docs/docs/api/RedirectHandler.md +93 -0
  1598. package/node_modules/undici/docs/docs/api/RetryAgent.md +50 -0
  1599. package/node_modules/undici/docs/docs/api/RetryHandler.md +118 -0
  1600. package/node_modules/undici/docs/docs/api/RoundRobinPool.md +145 -0
  1601. package/node_modules/undici/docs/docs/api/SnapshotAgent.md +616 -0
  1602. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +275 -0
  1603. package/node_modules/undici/docs/docs/api/Util.md +25 -0
  1604. package/node_modules/undici/docs/docs/api/WebSocket.md +141 -0
  1605. package/node_modules/undici/docs/docs/api/api-lifecycle.md +91 -0
  1606. package/node_modules/undici/docs/docs/best-practices/client-certificate.md +64 -0
  1607. package/node_modules/undici/docs/docs/best-practices/crawling.md +58 -0
  1608. package/node_modules/undici/docs/docs/best-practices/mocking-request.md +190 -0
  1609. package/node_modules/undici/docs/docs/best-practices/proxy.md +127 -0
  1610. package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +224 -0
  1611. package/node_modules/undici/docs/docs/best-practices/writing-tests.md +63 -0
  1612. package/node_modules/undici/index-fetch.js +65 -0
  1613. package/node_modules/undici/index.d.ts +3 -0
  1614. package/node_modules/undici/index.js +234 -0
  1615. package/node_modules/undici/lib/api/abort-signal.js +59 -0
  1616. package/node_modules/undici/lib/api/api-connect.js +110 -0
  1617. package/node_modules/undici/lib/api/api-pipeline.js +252 -0
  1618. package/node_modules/undici/lib/api/api-request.js +214 -0
  1619. package/node_modules/undici/lib/api/api-stream.js +209 -0
  1620. package/node_modules/undici/lib/api/api-upgrade.js +111 -0
  1621. package/node_modules/undici/lib/api/index.js +7 -0
  1622. package/node_modules/undici/lib/api/readable.js +580 -0
  1623. package/node_modules/undici/lib/cache/memory-cache-store.js +279 -0
  1624. package/node_modules/undici/lib/cache/sqlite-cache-store.js +467 -0
  1625. package/node_modules/undici/lib/core/connect.js +153 -0
  1626. package/node_modules/undici/lib/core/constants.js +143 -0
  1627. package/node_modules/undici/lib/core/diagnostics.js +227 -0
  1628. package/node_modules/undici/lib/core/errors.js +477 -0
  1629. package/node_modules/undici/lib/core/request.js +485 -0
  1630. package/node_modules/undici/lib/core/socks5-client.js +422 -0
  1631. package/node_modules/undici/lib/core/socks5-utils.js +212 -0
  1632. package/node_modules/undici/lib/core/symbols.js +75 -0
  1633. package/node_modules/undici/lib/core/tree.js +160 -0
  1634. package/node_modules/undici/lib/core/util.js +992 -0
  1635. package/node_modules/undici/lib/dispatcher/agent.js +158 -0
  1636. package/node_modules/undici/lib/dispatcher/balanced-pool.js +221 -0
  1637. package/node_modules/undici/lib/dispatcher/client-h1.js +1746 -0
  1638. package/node_modules/undici/lib/dispatcher/client-h2.js +1060 -0
  1639. package/node_modules/undici/lib/dispatcher/client.js +668 -0
  1640. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +184 -0
  1641. package/node_modules/undici/lib/dispatcher/dispatcher.js +48 -0
  1642. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
  1643. package/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
  1644. package/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
  1645. package/node_modules/undici/lib/dispatcher/pool-base.js +214 -0
  1646. package/node_modules/undici/lib/dispatcher/pool.js +118 -0
  1647. package/node_modules/undici/lib/dispatcher/proxy-agent.js +319 -0
  1648. package/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
  1649. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +137 -0
  1650. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +260 -0
  1651. package/node_modules/undici/lib/encoding/index.js +33 -0
  1652. package/node_modules/undici/lib/global.js +59 -0
  1653. package/node_modules/undici/lib/handler/cache-handler.js +776 -0
  1654. package/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
  1655. package/node_modules/undici/lib/handler/decorator-handler.js +67 -0
  1656. package/node_modules/undici/lib/handler/deduplication-handler.js +460 -0
  1657. package/node_modules/undici/lib/handler/redirect-handler.js +238 -0
  1658. package/node_modules/undici/lib/handler/retry-handler.js +504 -0
  1659. package/node_modules/undici/lib/handler/unwrap-handler.js +106 -0
  1660. package/node_modules/undici/lib/handler/wrap-handler.js +105 -0
  1661. package/node_modules/undici/lib/interceptor/cache.js +621 -0
  1662. package/node_modules/undici/lib/interceptor/decompress.js +551 -0
  1663. package/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
  1664. package/node_modules/undici/lib/interceptor/dns.js +571 -0
  1665. package/node_modules/undici/lib/interceptor/dump.js +99 -0
  1666. package/node_modules/undici/lib/interceptor/redirect.js +21 -0
  1667. package/node_modules/undici/lib/interceptor/response-error.js +95 -0
  1668. package/node_modules/undici/lib/interceptor/retry.js +19 -0
  1669. package/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  1670. package/node_modules/undici/lib/llhttp/constants.d.ts +195 -0
  1671. package/node_modules/undici/lib/llhttp/constants.js +531 -0
  1672. package/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
  1673. package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
  1674. package/node_modules/undici/lib/llhttp/utils.d.ts +2 -0
  1675. package/node_modules/undici/lib/llhttp/utils.js +12 -0
  1676. package/node_modules/undici/lib/mock/mock-agent.js +232 -0
  1677. package/node_modules/undici/lib/mock/mock-call-history.js +248 -0
  1678. package/node_modules/undici/lib/mock/mock-client.js +68 -0
  1679. package/node_modules/undici/lib/mock/mock-errors.js +29 -0
  1680. package/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
  1681. package/node_modules/undici/lib/mock/mock-pool.js +68 -0
  1682. package/node_modules/undici/lib/mock/mock-symbols.js +32 -0
  1683. package/node_modules/undici/lib/mock/mock-utils.js +486 -0
  1684. package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
  1685. package/node_modules/undici/lib/mock/snapshot-agent.js +353 -0
  1686. package/node_modules/undici/lib/mock/snapshot-recorder.js +588 -0
  1687. package/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
  1688. package/node_modules/undici/lib/util/cache.js +676 -0
  1689. package/node_modules/undici/lib/util/date.js +670 -0
  1690. package/node_modules/undici/lib/util/promise.js +28 -0
  1691. package/node_modules/undici/lib/util/runtime-features.js +124 -0
  1692. package/node_modules/undici/lib/util/stats.js +32 -0
  1693. package/node_modules/undici/lib/util/timers.js +425 -0
  1694. package/node_modules/undici/lib/web/cache/cache.js +864 -0
  1695. package/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
  1696. package/node_modules/undici/lib/web/cache/util.js +45 -0
  1697. package/node_modules/undici/lib/web/cookies/constants.js +12 -0
  1698. package/node_modules/undici/lib/web/cookies/index.js +199 -0
  1699. package/node_modules/undici/lib/web/cookies/parse.js +314 -0
  1700. package/node_modules/undici/lib/web/cookies/util.js +352 -0
  1701. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +494 -0
  1702. package/node_modules/undici/lib/web/eventsource/eventsource.js +501 -0
  1703. package/node_modules/undici/lib/web/eventsource/util.js +29 -0
  1704. package/node_modules/undici/lib/web/fetch/LICENSE +21 -0
  1705. package/node_modules/undici/lib/web/fetch/body.js +509 -0
  1706. package/node_modules/undici/lib/web/fetch/constants.js +131 -0
  1707. package/node_modules/undici/lib/web/fetch/data-url.js +596 -0
  1708. package/node_modules/undici/lib/web/fetch/formdata-parser.js +586 -0
  1709. package/node_modules/undici/lib/web/fetch/formdata.js +259 -0
  1710. package/node_modules/undici/lib/web/fetch/global.js +40 -0
  1711. package/node_modules/undici/lib/web/fetch/headers.js +719 -0
  1712. package/node_modules/undici/lib/web/fetch/index.js +2413 -0
  1713. package/node_modules/undici/lib/web/fetch/request.js +1115 -0
  1714. package/node_modules/undici/lib/web/fetch/response.js +641 -0
  1715. package/node_modules/undici/lib/web/fetch/util.js +1522 -0
  1716. package/node_modules/undici/lib/web/infra/index.js +229 -0
  1717. package/node_modules/undici/lib/web/subresource-integrity/Readme.md +9 -0
  1718. package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
  1719. package/node_modules/undici/lib/web/webidl/index.js +1006 -0
  1720. package/node_modules/undici/lib/web/websocket/connection.js +339 -0
  1721. package/node_modules/undici/lib/web/websocket/constants.js +126 -0
  1722. package/node_modules/undici/lib/web/websocket/events.js +331 -0
  1723. package/node_modules/undici/lib/web/websocket/frame.js +133 -0
  1724. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +105 -0
  1725. package/node_modules/undici/lib/web/websocket/receiver.js +507 -0
  1726. package/node_modules/undici/lib/web/websocket/sender.js +109 -0
  1727. package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
  1728. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +496 -0
  1729. package/node_modules/undici/lib/web/websocket/util.js +347 -0
  1730. package/node_modules/undici/lib/web/websocket/websocket.js +758 -0
  1731. package/node_modules/undici/package.json +152 -0
  1732. package/node_modules/undici/scripts/strip-comments.js +10 -0
  1733. package/node_modules/undici/types/README.md +6 -0
  1734. package/node_modules/undici/types/agent.d.ts +32 -0
  1735. package/node_modules/undici/types/api.d.ts +43 -0
  1736. package/node_modules/undici/types/balanced-pool.d.ts +30 -0
  1737. package/node_modules/undici/types/cache-interceptor.d.ts +179 -0
  1738. package/node_modules/undici/types/cache.d.ts +36 -0
  1739. package/node_modules/undici/types/client-stats.d.ts +15 -0
  1740. package/node_modules/undici/types/client.d.ts +139 -0
  1741. package/node_modules/undici/types/connector.d.ts +36 -0
  1742. package/node_modules/undici/types/content-type.d.ts +21 -0
  1743. package/node_modules/undici/types/cookies.d.ts +30 -0
  1744. package/node_modules/undici/types/diagnostics-channel.d.ts +74 -0
  1745. package/node_modules/undici/types/dispatcher.d.ts +275 -0
  1746. package/node_modules/undici/types/env-http-proxy-agent.d.ts +22 -0
  1747. package/node_modules/undici/types/errors.d.ts +177 -0
  1748. package/node_modules/undici/types/eventsource.d.ts +66 -0
  1749. package/node_modules/undici/types/fetch.d.ts +231 -0
  1750. package/node_modules/undici/types/formdata.d.ts +114 -0
  1751. package/node_modules/undici/types/global-dispatcher.d.ts +9 -0
  1752. package/node_modules/undici/types/global-origin.d.ts +7 -0
  1753. package/node_modules/undici/types/h2c-client.d.ts +73 -0
  1754. package/node_modules/undici/types/handlers.d.ts +14 -0
  1755. package/node_modules/undici/types/header.d.ts +160 -0
  1756. package/node_modules/undici/types/index.d.ts +91 -0
  1757. package/node_modules/undici/types/interceptors.d.ts +82 -0
  1758. package/node_modules/undici/types/mock-agent.d.ts +68 -0
  1759. package/node_modules/undici/types/mock-call-history.d.ts +111 -0
  1760. package/node_modules/undici/types/mock-client.d.ts +27 -0
  1761. package/node_modules/undici/types/mock-errors.d.ts +12 -0
  1762. package/node_modules/undici/types/mock-interceptor.d.ts +94 -0
  1763. package/node_modules/undici/types/mock-pool.d.ts +27 -0
  1764. package/node_modules/undici/types/patch.d.ts +29 -0
  1765. package/node_modules/undici/types/pool-stats.d.ts +19 -0
  1766. package/node_modules/undici/types/pool.d.ts +41 -0
  1767. package/node_modules/undici/types/proxy-agent.d.ts +29 -0
  1768. package/node_modules/undici/types/readable.d.ts +68 -0
  1769. package/node_modules/undici/types/retry-agent.d.ts +8 -0
  1770. package/node_modules/undici/types/retry-handler.d.ts +125 -0
  1771. package/node_modules/undici/types/round-robin-pool.d.ts +41 -0
  1772. package/node_modules/undici/types/snapshot-agent.d.ts +109 -0
  1773. package/node_modules/undici/types/socks5-proxy-agent.d.ts +25 -0
  1774. package/node_modules/undici/types/util.d.ts +18 -0
  1775. package/node_modules/undici/types/utility.d.ts +7 -0
  1776. package/node_modules/undici/types/webidl.d.ts +347 -0
  1777. package/node_modules/undici/types/websocket.d.ts +188 -0
  1778. package/node_modules/whatwg-encoding/LICENSE.txt +7 -0
  1779. package/node_modules/whatwg-encoding/README.md +50 -0
  1780. package/node_modules/whatwg-encoding/lib/labels-to-names.json +217 -0
  1781. package/node_modules/whatwg-encoding/lib/supported-names.json +38 -0
  1782. package/node_modules/whatwg-encoding/lib/whatwg-encoding.js +60 -0
  1783. package/node_modules/whatwg-encoding/package.json +32 -0
  1784. package/node_modules/whatwg-mimetype/LICENSE.txt +7 -0
  1785. package/node_modules/whatwg-mimetype/README.md +101 -0
  1786. package/node_modules/whatwg-mimetype/lib/mime-type-parameters.js +70 -0
  1787. package/node_modules/whatwg-mimetype/lib/mime-type.js +127 -0
  1788. package/node_modules/whatwg-mimetype/lib/parser.js +105 -0
  1789. package/node_modules/whatwg-mimetype/lib/serializer.js +25 -0
  1790. package/node_modules/whatwg-mimetype/lib/utils.js +60 -0
  1791. package/node_modules/whatwg-mimetype/package.json +45 -0
  1792. package/package.json +38 -4
  1793. package/src/agent-recovery-proof.mjs +63 -0
  1794. package/src/agent.mjs +363 -0
  1795. package/src/artifact-tools.mjs +22 -0
  1796. package/src/audit.mjs +73 -0
  1797. package/src/auto-guard.mjs +85 -0
  1798. package/src/browser-currency.mjs +20 -0
  1799. package/src/chrome-recovery-proof.mjs +43 -0
  1800. package/src/cli.mjs +798 -0
  1801. package/src/cloud-client.mjs +24 -0
  1802. package/src/codex-provider.mjs +219 -0
  1803. package/src/compaction.mjs +233 -0
  1804. package/src/compat.mjs +13 -0
  1805. package/src/context-pressure.mjs +66 -0
  1806. package/src/context.mjs +47 -0
  1807. package/src/durable-agent-runs.mjs +40 -0
  1808. package/src/execution-metrics.mjs +17 -0
  1809. package/src/file-recovery-proof.mjs +45 -0
  1810. package/src/file-recovery.mjs +95 -0
  1811. package/src/gemini-provider.mjs +150 -0
  1812. package/src/goals.mjs +169 -0
  1813. package/src/governance.mjs +81 -0
  1814. package/src/house.mjs +184 -0
  1815. package/src/judges.mjs +72 -0
  1816. package/src/mcp-http.mjs +190 -0
  1817. package/src/mcp-rpc.mjs +84 -0
  1818. package/src/mcp-runtime.mjs +219 -0
  1819. package/src/mcp-sse.mjs +27 -0
  1820. package/src/mcp.mjs +79 -0
  1821. package/src/model-controls.mjs +173 -0
  1822. package/src/model-deadline.mjs +35 -0
  1823. package/src/model-output.mjs +23 -0
  1824. package/src/openai-provider.mjs +249 -0
  1825. package/src/operations.mjs +74 -0
  1826. package/src/peer-message-context.mjs +17 -0
  1827. package/src/peer-tools.mjs +164 -0
  1828. package/src/permissions.mjs +63 -0
  1829. package/src/plugin-config.mjs +95 -0
  1830. package/src/plugins/chrome-lab/bridge.mjs +206 -0
  1831. package/src/plugins/chrome-lab/client.mjs +123 -0
  1832. package/src/plugins/chrome-lab/index.mjs +141 -0
  1833. package/src/plugins/chrome-lab/project.mjs +45 -0
  1834. package/src/plugins.mjs +272 -0
  1835. package/src/process-lock.mjs +70 -0
  1836. package/src/provider-auth.mjs +207 -0
  1837. package/src/provider-profiles.mjs +113 -0
  1838. package/src/provider-scheduler.mjs +18 -0
  1839. package/src/provider.mjs +174 -0
  1840. package/src/read-only-check.mjs +38 -0
  1841. package/src/session-bus.mjs +367 -0
  1842. package/src/session-provider-settings.mjs +39 -0
  1843. package/src/session-read-cache.mjs +20 -0
  1844. package/src/session.mjs +71 -0
  1845. package/src/sessions.mjs +140 -0
  1846. package/src/skill-runtime.mjs +130 -0
  1847. package/src/subagents.mjs +480 -0
  1848. package/src/tool-call-stream.mjs +39 -0
  1849. package/src/tool-catalog.mjs +19 -0
  1850. package/src/tool-input.mjs +20 -0
  1851. package/src/tool-packs.mjs +163 -0
  1852. package/src/tool-scheduler.mjs +21 -0
  1853. package/src/tool-schema.mjs +51 -0
  1854. package/src/tools.mjs +260 -0
  1855. package/src/trusted-context.mjs +23 -0
  1856. package/src/tui/brand.mjs +50 -0
  1857. package/src/tui/clipboard.mjs +28 -0
  1858. package/src/tui/composer.mjs +77 -0
  1859. package/src/tui/controller.mjs +149 -0
  1860. package/src/tui/discovery.mjs +217 -0
  1861. package/src/tui/input.mjs +60 -0
  1862. package/src/tui/markdown.mjs +126 -0
  1863. package/src/tui/message-queue.mjs +56 -0
  1864. package/src/tui/screen.mjs +586 -0
  1865. package/src/tui/text.mjs +113 -0
  1866. package/src/usage-accounting.mjs +43 -0
  1867. package/src/vision.mjs +136 -0
  1868. package/src/web-tools.mjs +120 -0
  1869. package/src/work-assertions.mjs +29 -0
  1870. package/src/work-check-contracts.mjs +95 -0
  1871. package/src/work-intent.mjs +6 -0
  1872. package/src/work-plan.mjs +419 -0
  1873. package/src/work-recovery-proof.mjs +69 -0
  1874. package/src/work-state.mjs +201 -0
  1875. package/src/workflows/chrome-task.mjs +275 -0
@@ -0,0 +1,1393 @@
1
+ # Dispatcher
2
+
3
+ Extends: `events.EventEmitter`
4
+
5
+ Dispatcher is the core API used to dispatch requests.
6
+
7
+ Requests are not guaranteed to be dispatched in order of invocation.
8
+
9
+ ## Instance Methods
10
+
11
+ ### `Dispatcher.close([callback]): Promise`
12
+
13
+ Closes the dispatcher and gracefully waits for enqueued requests to complete before resolving.
14
+
15
+ Arguments:
16
+
17
+ * **callback** `(error: Error | null, data: null) => void` (optional)
18
+
19
+ Returns: `void | Promise<null>` - Only returns a `Promise` if no `callback` argument was passed
20
+
21
+ ```js
22
+ dispatcher.close() // -> Promise
23
+ dispatcher.close(() => {}) // -> void
24
+ ```
25
+
26
+ #### Example - Request resolves before Client closes
27
+
28
+ ```js
29
+ import { createServer } from 'http'
30
+ import { Client } from 'undici'
31
+ import { once } from 'events'
32
+
33
+ const server = createServer((request, response) => {
34
+ response.end('undici')
35
+ }).listen()
36
+
37
+ await once(server, 'listening')
38
+
39
+ const client = new Client(`http://localhost:${server.address().port}`)
40
+
41
+ try {
42
+ const { body } = await client.request({
43
+ path: '/',
44
+ method: 'GET'
45
+ })
46
+ body.setEncoding('utf8')
47
+ body.on('data', console.log)
48
+ } catch (error) {}
49
+
50
+ await client.close()
51
+
52
+ console.log('Client closed')
53
+ server.close()
54
+ ```
55
+
56
+ ### `Dispatcher.connect(options[, callback])`
57
+
58
+ Starts two-way communications with the requested resource using [HTTP CONNECT](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/CONNECT).
59
+
60
+ Arguments:
61
+
62
+ * **options** `ConnectOptions`
63
+ * **callback** `(err: Error | null, data: ConnectData | null) => void` (optional)
64
+
65
+ Returns: `void | Promise<ConnectData>` - Only returns a `Promise` if no `callback` argument was passed
66
+
67
+ #### Parameter: `ConnectOptions`
68
+
69
+ * **path** `string`
70
+ * **headers** `UndiciHeaders` (optional) - Default: `null`
71
+ * **signal** `AbortSignal | events.EventEmitter | null` (optional) - Default: `null`
72
+ * **opaque** `unknown` (optional) - This argument parameter is passed through to `ConnectData`
73
+
74
+ #### Parameter: `ConnectData`
75
+
76
+ * **statusCode** `number`
77
+ * **headers** `Record<string, string | string[] | undefined>`
78
+ * **socket** `stream.Duplex`
79
+ * **opaque** `unknown`
80
+
81
+ #### Example - Connect request with echo
82
+
83
+ ```js
84
+ import { createServer } from 'http'
85
+ import { Client } from 'undici'
86
+ import { once } from 'events'
87
+
88
+ const server = createServer((request, response) => {
89
+ throw Error('should never get here')
90
+ }).listen()
91
+
92
+ server.on('connect', (req, socket, head) => {
93
+ socket.write('HTTP/1.1 200 Connection established\r\n\r\n')
94
+
95
+ let data = head.toString()
96
+ socket.on('data', (buf) => {
97
+ data += buf.toString()
98
+ })
99
+
100
+ socket.on('end', () => {
101
+ socket.end(data)
102
+ })
103
+ })
104
+
105
+ await once(server, 'listening')
106
+
107
+ const client = new Client(`http://localhost:${server.address().port}`)
108
+
109
+ try {
110
+ const { socket } = await client.connect({
111
+ path: '/'
112
+ })
113
+ const wanted = 'Body'
114
+ let data = ''
115
+ socket.on('data', d => { data += d })
116
+ socket.on('end', () => {
117
+ console.log(`Data received: ${data.toString()} | Data wanted: ${wanted}`)
118
+ client.close()
119
+ server.close()
120
+ })
121
+ socket.write(wanted)
122
+ socket.end()
123
+ } catch (error) { }
124
+ ```
125
+
126
+ ### `Dispatcher.destroy([error, callback]): Promise`
127
+
128
+ Destroy the dispatcher abruptly with the given error. All the pending and running requests will be asynchronously aborted and error. Since this operation is asynchronously dispatched there might still be some progress on dispatched requests.
129
+
130
+ Both arguments are optional; the method can be called in four different ways:
131
+
132
+ Arguments:
133
+
134
+ * **error** `Error | null` (optional)
135
+ * **callback** `(error: Error | null, data: null) => void` (optional)
136
+
137
+ Returns: `void | Promise<void>` - Only returns a `Promise` if no `callback` argument was passed
138
+
139
+ ```js
140
+ dispatcher.destroy() // -> Promise
141
+ dispatcher.destroy(new Error()) // -> Promise
142
+ dispatcher.destroy(() => {}) // -> void
143
+ dispatcher.destroy(new Error(), () => {}) // -> void
144
+ ```
145
+
146
+ #### Example - Request is aborted when Client is destroyed
147
+
148
+ ```js
149
+ import { createServer } from 'http'
150
+ import { Client } from 'undici'
151
+ import { once } from 'events'
152
+
153
+ const server = createServer((request, response) => {
154
+ response.end()
155
+ }).listen()
156
+
157
+ await once(server, 'listening')
158
+
159
+ const client = new Client(`http://localhost:${server.address().port}`)
160
+
161
+ try {
162
+ const request = client.request({
163
+ path: '/',
164
+ method: 'GET'
165
+ })
166
+ client.destroy()
167
+ .then(() => {
168
+ console.log('Client destroyed')
169
+ server.close()
170
+ })
171
+ await request
172
+ } catch (error) {
173
+ console.error(error)
174
+ }
175
+ ```
176
+
177
+ ### `Dispatcher.dispatch(options, handler)`
178
+
179
+ This is the low level API which all the preceding APIs are implemented on top of.
180
+ This API is expected to evolve through semver-major versions and is less stable than the preceding higher level APIs.
181
+ It is primarily intended for library developers who implement higher level APIs on top of this.
182
+
183
+ Arguments:
184
+
185
+ * **options** `DispatchOptions`
186
+ * **handler** `DispatchHandler`
187
+
188
+ Returns: `Boolean` - `false` if dispatcher is busy and further dispatch calls won't make any progress until the `'drain'` event has been emitted.
189
+
190
+ #### Parameter: `DispatchOptions`
191
+
192
+ * **origin** `string | URL`
193
+ * **path** `string`
194
+ * **method** `string`
195
+ * **reset** `boolean` (optional) - Default: `false` - If `false`, the request will attempt to create a long-living connection by sending the `connection: keep-alive` header,otherwise will attempt to close it immediately after response by sending `connection: close` within the request and closing the socket afterwards.
196
+ * **body** `string | Buffer | Uint8Array | stream.Readable | Iterable | AsyncIterable | null` (optional) - Default: `null`
197
+ * **headers** `UndiciHeaders` (optional) - Default: `null`.
198
+ * **query** `Record<string, any> | null` (optional) - Default: `null` - Query string params to be embedded in the request URL. Note that both keys and values of query are encoded using `encodeURIComponent`. If for some reason you need to send them unencoded, embed query params into path directly instead.
199
+ * **idempotent** `boolean` (optional) - Default: `true` if `method` is `'HEAD'` or `'GET'` - Whether the requests can be safely retried or not. If `false` the request won't be sent until all preceding requests in the pipeline has completed.
200
+ * **blocking** `boolean` (optional) - Default: `method !== 'HEAD'` - Whether the response is expected to take a long time and would end up blocking the pipeline. When this is set to `true` further pipelining will be avoided on the same connection until headers have been received.
201
+ * **upgrade** `string | null` (optional) - Default: `null` - Upgrade the request. Should be used to specify the kind of upgrade i.e. `'Websocket'`.
202
+ * **bodyTimeout** `number | null` (optional) - The timeout after which a request will time out, in milliseconds. Monitors time between receiving body data. Use `0` to disable it entirely. Defaults to 300 seconds.
203
+ * **headersTimeout** `number | null` (optional) - The amount of time, in milliseconds, the parser will wait to receive the complete HTTP headers while not sending the request. Defaults to 300 seconds.
204
+ * **expectContinue** `boolean` (optional) - Default: `false` - For H2, it appends the expect: 100-continue header, and halts the request body until a 100-continue is received from the remote server
205
+
206
+ #### Parameter: `DispatchHandler`
207
+
208
+ * **onRequestStart** `(controller: DispatchController, context: object) => void` - Invoked before request is dispatched on socket. May be invoked multiple times when a request is retried when the request at the head of the pipeline fails.
209
+ * **onRequestUpgrade** `(controller: DispatchController, statusCode: number, headers: Record<string, string | string[]>, socket: Duplex) => void` (optional) - Invoked when request is upgraded. Required if `DispatchOptions.upgrade` is defined or `DispatchOptions.method === 'CONNECT'`.
210
+ * **onResponseStart** `(controller: DispatchController, statusCode: number, headers: Record<string, string | string []>, statusMessage?: string) => void` - Invoked when statusCode and headers have been received. May be invoked multiple times due to 1xx informational headers. Not required for `upgrade` requests. Any return value is ignored.
211
+ * **onResponseData** `(controller: DispatchController, chunk: Buffer) => void` - Invoked when response payload data is received. Not required for `upgrade` requests.
212
+ * **onResponseEnd** `(controller: DispatchController, trailers: Record<string, string | string[]>) => void` - Invoked when response payload and trailers have been received and the request has completed. Not required for `upgrade` requests.
213
+ * **onResponseError** `(controller: DispatchController, error: Error) => void` - Invoked when an error has occurred. May not throw.
214
+
215
+ #### Example 1 - Dispatch GET request
216
+
217
+ ```js
218
+ import { createServer } from 'http'
219
+ import { Client } from 'undici'
220
+ import { once } from 'events'
221
+
222
+ const server = createServer((request, response) => {
223
+ response.end('Hello, World!')
224
+ }).listen()
225
+
226
+ await once(server, 'listening')
227
+
228
+ const client = new Client(`http://localhost:${server.address().port}`)
229
+
230
+ const data = []
231
+
232
+ client.dispatch({
233
+ path: '/',
234
+ method: 'GET',
235
+ headers: {
236
+ 'x-foo': 'bar'
237
+ }
238
+ }, {
239
+ onConnect: () => {
240
+ console.log('Connected!')
241
+ },
242
+ onError: (error) => {
243
+ console.error(error)
244
+ },
245
+ onHeaders: (statusCode, headers) => {
246
+ console.log(`onHeaders | statusCode: ${statusCode} | headers: ${headers}`)
247
+ },
248
+ onData: (chunk) => {
249
+ console.log('onData: chunk received')
250
+ data.push(chunk)
251
+ },
252
+ onComplete: (trailers) => {
253
+ console.log(`onComplete | trailers: ${trailers}`)
254
+ const res = Buffer.concat(data).toString('utf8')
255
+ console.log(`Data: ${res}`)
256
+ client.close()
257
+ server.close()
258
+ }
259
+ })
260
+ ```
261
+
262
+ #### Example 2 - Dispatch Upgrade Request
263
+
264
+ ```js
265
+ import { createServer } from 'http'
266
+ import { Client } from 'undici'
267
+ import { once } from 'events'
268
+
269
+ const server = createServer((request, response) => {
270
+ response.end()
271
+ }).listen()
272
+
273
+ await once(server, 'listening')
274
+
275
+ server.on('upgrade', (request, socket, head) => {
276
+ console.log('Node.js Server - upgrade event')
277
+ socket.write('HTTP/1.1 101 Web Socket Protocol Handshake\r\n')
278
+ socket.write('Upgrade: WebSocket\r\n')
279
+ socket.write('Connection: Upgrade\r\n')
280
+ socket.write('\r\n')
281
+ socket.end()
282
+ })
283
+
284
+ const client = new Client(`http://localhost:${server.address().port}`)
285
+
286
+ client.dispatch({
287
+ path: '/',
288
+ method: 'GET',
289
+ upgrade: 'websocket'
290
+ }, {
291
+ onConnect: () => {
292
+ console.log('Undici Client - onConnect')
293
+ },
294
+ onError: (error) => {
295
+ console.log('onError') // shouldn't print
296
+ },
297
+ onUpgrade: (statusCode, headers, socket) => {
298
+ console.log('Undici Client - onUpgrade')
299
+ console.log(`onUpgrade Headers: ${headers}`)
300
+ socket.on('data', buffer => {
301
+ console.log(buffer.toString('utf8'))
302
+ })
303
+ socket.on('end', () => {
304
+ client.close()
305
+ server.close()
306
+ })
307
+ socket.end()
308
+ }
309
+ })
310
+ ```
311
+
312
+ #### Example 3 - Dispatch POST request
313
+
314
+ ```js
315
+ import { createServer } from 'http'
316
+ import { Client } from 'undici'
317
+ import { once } from 'events'
318
+
319
+ const server = createServer((request, response) => {
320
+ request.on('data', (data) => {
321
+ console.log(`Request Data: ${data.toString('utf8')}`)
322
+ const body = JSON.parse(data)
323
+ body.message = 'World'
324
+ response.end(JSON.stringify(body))
325
+ })
326
+ }).listen()
327
+
328
+ await once(server, 'listening')
329
+
330
+ const client = new Client(`http://localhost:${server.address().port}`)
331
+
332
+ const data = []
333
+
334
+ client.dispatch({
335
+ path: '/',
336
+ method: 'POST',
337
+ headers: {
338
+ 'content-type': 'application/json'
339
+ },
340
+ body: JSON.stringify({ message: 'Hello' })
341
+ }, {
342
+ onConnect: () => {
343
+ console.log('Connected!')
344
+ },
345
+ onError: (error) => {
346
+ console.error(error)
347
+ },
348
+ onHeaders: (statusCode, headers) => {
349
+ console.log(`onHeaders | statusCode: ${statusCode} | headers: ${headers}`)
350
+ },
351
+ onData: (chunk) => {
352
+ console.log('onData: chunk received')
353
+ data.push(chunk)
354
+ },
355
+ onComplete: (trailers) => {
356
+ console.log(`onComplete | trailers: ${trailers}`)
357
+ const res = Buffer.concat(data).toString('utf8')
358
+ console.log(`Response Data: ${res}`)
359
+ client.close()
360
+ server.close()
361
+ }
362
+ })
363
+ ```
364
+
365
+ ### `Dispatcher.pipeline(options, handler)`
366
+
367
+ For easy use with [stream.pipeline](https://nodejs.org/api/stream.html#streampipelinesource-transforms-destination-options). The `handler` argument should return a `Readable` from which the result will be read. Usually it should just return the `body` argument unless some kind of transformation needs to be performed based on e.g. `headers` or `statusCode`. The `handler` should validate the response and save any required state. If there is an error, it should be thrown. The function returns a `Duplex` which writes to the request and reads from the response.
368
+
369
+ Arguments:
370
+
371
+ * **options** `PipelineOptions`
372
+ * **handler** `(data: PipelineHandlerData) => stream.Readable`
373
+
374
+ Returns: `stream.Duplex`
375
+
376
+ #### Parameter: PipelineOptions
377
+
378
+ Extends: [`RequestOptions`](/docs/docs/api/Dispatcher.md#parameter-requestoptions)
379
+
380
+ * **objectMode** `boolean` (optional) - Default: `false` - Set to `true` if the `handler` will return an object stream.
381
+
382
+ #### Parameter: PipelineHandlerData
383
+
384
+ * **statusCode** `number`
385
+ * **headers** `Record<string, string | string[] | undefined>`
386
+ * **opaque** `unknown`
387
+ * **body** `stream.Readable`
388
+ * **context** `object`
389
+ * **onInfo** `({statusCode: number, headers: Record<string, string | string[]>}) => void | null` (optional) - Default: `null` - Callback collecting all the info headers (HTTP 100-199) received.
390
+
391
+ #### Example 1 - Pipeline Echo
392
+
393
+ ```js
394
+ import { Readable, Writable, PassThrough, pipeline } from 'stream'
395
+ import { createServer } from 'http'
396
+ import { Client } from 'undici'
397
+ import { once } from 'events'
398
+
399
+ const server = createServer((request, response) => {
400
+ request.pipe(response)
401
+ }).listen()
402
+
403
+ await once(server, 'listening')
404
+
405
+ const client = new Client(`http://localhost:${server.address().port}`)
406
+
407
+ let res = ''
408
+
409
+ pipeline(
410
+ new Readable({
411
+ read () {
412
+ this.push(Buffer.from('undici'))
413
+ this.push(null)
414
+ }
415
+ }),
416
+ client.pipeline({
417
+ path: '/',
418
+ method: 'GET'
419
+ }, ({ statusCode, headers, body }) => {
420
+ console.log(`response received ${statusCode}`)
421
+ console.log('headers', headers)
422
+ return pipeline(body, new PassThrough(), () => {})
423
+ }),
424
+ new Writable({
425
+ write (chunk, _, callback) {
426
+ res += chunk.toString()
427
+ callback()
428
+ },
429
+ final (callback) {
430
+ console.log(`Response pipelined to writable: ${res}`)
431
+ callback()
432
+ }
433
+ }),
434
+ error => {
435
+ if (error) {
436
+ console.error(error)
437
+ }
438
+
439
+ client.close()
440
+ server.close()
441
+ }
442
+ )
443
+ ```
444
+
445
+ ### `Dispatcher.request(options[, callback])`
446
+
447
+ Performs a HTTP request.
448
+
449
+ Non-idempotent requests will not be pipelined in order
450
+ to avoid indirect failures.
451
+
452
+ Idempotent requests will be automatically retried if
453
+ they fail due to indirect failure from the request
454
+ at the head of the pipeline. This does not apply to
455
+ idempotent requests with a stream request body.
456
+
457
+ All response bodies must always be fully consumed or destroyed.
458
+
459
+ Arguments:
460
+
461
+ * **options** `RequestOptions`
462
+ * **callback** `(error: Error | null, data: ResponseData) => void` (optional)
463
+
464
+ Returns: `void | Promise<ResponseData>` - Only returns a `Promise` if no `callback` argument was passed.
465
+
466
+ #### Parameter: `RequestOptions`
467
+
468
+ Extends: [`DispatchOptions`](/docs/docs/api/Dispatcher.md#parameter-dispatchoptions)
469
+
470
+ * **opaque** `unknown` (optional) - Default: `null` - Used for passing through context to `ResponseData`.
471
+ * **signal** `AbortSignal | events.EventEmitter | null` (optional) - Default: `null`.
472
+ * **onInfo** `({statusCode: number, headers: Record<string, string | string[]>}) => void | null` (optional) - Default: `null` - Callback collecting all the info headers (HTTP 100-199) received.
473
+
474
+ The `RequestOptions.method` property should not be value `'CONNECT'`.
475
+
476
+ #### Parameter: `ResponseData`
477
+
478
+ * **statusCode** `number`
479
+ * **statusText** `string` - The status message from the response (e.g., "OK", "Not Found").
480
+ * **headers** `Record<string, string | string[]>` - Note that all header keys are lower-cased, e.g. `content-type`.
481
+ * **body** `stream.Readable` which also implements [the body mixin from the Fetch Standard](https://fetch.spec.whatwg.org/#body-mixin).
482
+ * **trailers** `Record<string, string>` - This object starts out
483
+ as empty and will be mutated to contain trailers after `body` has emitted `'end'`.
484
+ * **opaque** `unknown`
485
+ * **context** `object`
486
+
487
+ `body` contains the following additional [body mixin](https://fetch.spec.whatwg.org/#body-mixin) methods and properties:
488
+
489
+ * [`.arrayBuffer()`](https://fetch.spec.whatwg.org/#dom-body-arraybuffer)
490
+ * [`.blob()`](https://fetch.spec.whatwg.org/#dom-body-blob)
491
+ * [`.bytes()`](https://fetch.spec.whatwg.org/#dom-body-bytes)
492
+ * [`.json()`](https://fetch.spec.whatwg.org/#dom-body-json)
493
+ * [`.text()`](https://fetch.spec.whatwg.org/#dom-body-text)
494
+ * `body`
495
+ * `bodyUsed`
496
+
497
+ `body` can not be consumed twice. For example, calling `text()` after `json()` throws `TypeError`.
498
+
499
+ `body` contains the following additional extensions:
500
+
501
+ - `dump({ limit: Integer })`, dump the response by reading up to `limit` bytes without killing the socket (optional) - Default: 262144.
502
+
503
+ Note that body will still be a `Readable` even if it is empty, but attempting to deserialize it with `json()` will result in an exception. Recommended way to ensure there is a body to deserialize is to check if status code is not 204, and `content-type` header starts with `application/json`.
504
+
505
+ #### Example 1 - Basic GET Request
506
+
507
+ ```js
508
+ import { createServer } from 'http'
509
+ import { Client } from 'undici'
510
+ import { once } from 'events'
511
+
512
+ const server = createServer((request, response) => {
513
+ response.end('Hello, World!')
514
+ }).listen()
515
+
516
+ await once(server, 'listening')
517
+
518
+ const client = new Client(`http://localhost:${server.address().port}`)
519
+
520
+ try {
521
+ const { body, headers, statusCode, statusText, trailers } = await client.request({
522
+ path: '/',
523
+ method: 'GET'
524
+ })
525
+ console.log(`response received ${statusCode}`)
526
+ console.log('headers', headers)
527
+ body.setEncoding('utf8')
528
+ body.on('data', console.log)
529
+ body.on('error', console.error)
530
+ body.on('end', () => {
531
+ console.log('trailers', trailers)
532
+ })
533
+
534
+ client.close()
535
+ server.close()
536
+ } catch (error) {
537
+ console.error(error)
538
+ }
539
+ ```
540
+
541
+ #### Example 2 - Aborting a request
542
+
543
+ > Node.js v15+ is required to run this example
544
+
545
+ ```js
546
+ import { createServer } from 'http'
547
+ import { Client } from 'undici'
548
+ import { once } from 'events'
549
+
550
+ const server = createServer((request, response) => {
551
+ response.end('Hello, World!')
552
+ }).listen()
553
+
554
+ await once(server, 'listening')
555
+
556
+ const client = new Client(`http://localhost:${server.address().port}`)
557
+ const abortController = new AbortController()
558
+
559
+ try {
560
+ client.request({
561
+ path: '/',
562
+ method: 'GET',
563
+ signal: abortController.signal
564
+ })
565
+ } catch (error) {
566
+ console.error(error) // should print an RequestAbortedError
567
+ client.close()
568
+ server.close()
569
+ }
570
+
571
+ abortController.abort()
572
+ ```
573
+
574
+ Alternatively, any `EventEmitter` that emits an `'abort'` event may be used as an abort controller:
575
+
576
+ ```js
577
+ import { createServer } from 'http'
578
+ import { Client } from 'undici'
579
+ import EventEmitter, { once } from 'events'
580
+
581
+ const server = createServer((request, response) => {
582
+ response.end('Hello, World!')
583
+ }).listen()
584
+
585
+ await once(server, 'listening')
586
+
587
+ const client = new Client(`http://localhost:${server.address().port}`)
588
+ const ee = new EventEmitter()
589
+
590
+ try {
591
+ client.request({
592
+ path: '/',
593
+ method: 'GET',
594
+ signal: ee
595
+ })
596
+ } catch (error) {
597
+ console.error(error) // should print an RequestAbortedError
598
+ client.close()
599
+ server.close()
600
+ }
601
+
602
+ ee.emit('abort')
603
+ ```
604
+
605
+ Destroying the request or response body will have the same effect.
606
+
607
+ ```js
608
+ import { createServer } from 'http'
609
+ import { Client } from 'undici'
610
+ import { once } from 'events'
611
+
612
+ const server = createServer((request, response) => {
613
+ response.end('Hello, World!')
614
+ }).listen()
615
+
616
+ await once(server, 'listening')
617
+
618
+ const client = new Client(`http://localhost:${server.address().port}`)
619
+
620
+ try {
621
+ const { body } = await client.request({
622
+ path: '/',
623
+ method: 'GET'
624
+ })
625
+ body.destroy()
626
+ } catch (error) {
627
+ console.error(error) // should print an RequestAbortedError
628
+ client.close()
629
+ server.close()
630
+ }
631
+ ```
632
+
633
+ #### Example 3 - Conditionally reading the body
634
+
635
+ Remember to fully consume the body even in the case when it is not read.
636
+
637
+ ```js
638
+ const { body, statusCode } = await client.request({
639
+ path: '/',
640
+ method: 'GET'
641
+ })
642
+
643
+ if (statusCode === 200) {
644
+ return await body.arrayBuffer()
645
+ }
646
+
647
+ await body.dump()
648
+
649
+ return null
650
+ ```
651
+
652
+ ### `Dispatcher.stream(options, factory[, callback])`
653
+
654
+ A faster version of `Dispatcher.request`. This method expects the second argument `factory` to return a [`stream.Writable`](https://nodejs.org/api/stream.html#stream_class_stream_writable) stream which the response will be written to. This improves performance by avoiding creating an intermediate [`stream.Readable`](https://nodejs.org/api/stream.html#stream_readable_streams) stream when the user expects to directly pipe the response body to a [`stream.Writable`](https://nodejs.org/api/stream.html#stream_class_stream_writable) stream.
655
+
656
+ As demonstrated in [Example 1 - Basic GET stream request](/docs/docs/api/Dispatcher.md#example-1-basic-get-stream-request), it is recommended to use the `option.opaque` property to avoid creating a closure for the `factory` method. This pattern works well with Node.js Web Frameworks such as [Fastify](https://fastify.io). See [Example 2 - Stream to Fastify Response](/docs/docs/api/Dispatch.md#example-2-stream-to-fastify-response) for more details.
657
+
658
+ Arguments:
659
+
660
+ * **options** `RequestOptions`
661
+ * **factory** `(data: StreamFactoryData) => stream.Writable`
662
+ * **callback** `(error: Error | null, data: StreamData) => void` (optional)
663
+
664
+ Returns: `void | Promise<StreamData>` - Only returns a `Promise` if no `callback` argument was passed
665
+
666
+ #### Parameter: `StreamFactoryData`
667
+
668
+ * **statusCode** `number`
669
+ * **headers** `Record<string, string | string[] | undefined>`
670
+ * **opaque** `unknown`
671
+ * **onInfo** `({statusCode: number, headers: Record<string, string | string[]>}) => void | null` (optional) - Default: `null` - Callback collecting all the info headers (HTTP 100-199) received.
672
+
673
+ #### Parameter: `StreamData`
674
+
675
+ * **opaque** `unknown`
676
+ * **trailers** `Record<string, string>`
677
+ * **context** `object`
678
+
679
+ #### Example 1 - Basic GET stream request
680
+
681
+ ```js
682
+ import { createServer } from 'http'
683
+ import { Client } from 'undici'
684
+ import { once } from 'events'
685
+ import { Writable } from 'stream'
686
+
687
+ const server = createServer((request, response) => {
688
+ response.end('Hello, World!')
689
+ }).listen()
690
+
691
+ await once(server, 'listening')
692
+
693
+ const client = new Client(`http://localhost:${server.address().port}`)
694
+
695
+ const bufs = []
696
+
697
+ try {
698
+ await client.stream({
699
+ path: '/',
700
+ method: 'GET',
701
+ opaque: { bufs }
702
+ }, ({ statusCode, headers, opaque: { bufs } }) => {
703
+ console.log(`response received ${statusCode}`)
704
+ console.log('headers', headers)
705
+ return new Writable({
706
+ write (chunk, encoding, callback) {
707
+ bufs.push(chunk)
708
+ callback()
709
+ }
710
+ })
711
+ })
712
+
713
+ console.log(Buffer.concat(bufs).toString('utf-8'))
714
+
715
+ client.close()
716
+ server.close()
717
+ } catch (error) {
718
+ console.error(error)
719
+ }
720
+ ```
721
+
722
+ #### Example 2 - Stream to Fastify Response
723
+
724
+ In this example, a (fake) request is made to the fastify server using `fastify.inject()`. This request then executes the fastify route handler which makes a subsequent request to the raw Node.js http server using `undici.dispatcher.stream()`. The fastify response is passed to the `opaque` option so that undici can tap into the underlying writable stream using `response.raw`. This methodology demonstrates how one could use undici and fastify together to create fast-as-possible requests from one backend server to another.
725
+
726
+ ```js
727
+ import { createServer } from 'http'
728
+ import { Client } from 'undici'
729
+ import { once } from 'events'
730
+ import fastify from 'fastify'
731
+
732
+ const nodeServer = createServer((request, response) => {
733
+ response.end('Hello, World! From Node.js HTTP Server')
734
+ }).listen()
735
+
736
+ await once(nodeServer, 'listening')
737
+
738
+ console.log('Node Server listening')
739
+
740
+ const nodeServerUndiciClient = new Client(`http://localhost:${nodeServer.address().port}`)
741
+
742
+ const fastifyServer = fastify()
743
+
744
+ fastifyServer.route({
745
+ url: '/',
746
+ method: 'GET',
747
+ handler: (request, response) => {
748
+ nodeServerUndiciClient.stream({
749
+ path: '/',
750
+ method: 'GET',
751
+ opaque: response
752
+ }, ({ opaque }) => opaque.raw)
753
+ }
754
+ })
755
+
756
+ await fastifyServer.listen()
757
+
758
+ console.log('Fastify Server listening')
759
+
760
+ const fastifyServerUndiciClient = new Client(`http://localhost:${fastifyServer.server.address().port}`)
761
+
762
+ try {
763
+ const { statusCode, body } = await fastifyServerUndiciClient.request({
764
+ path: '/',
765
+ method: 'GET'
766
+ })
767
+
768
+ console.log(`response received ${statusCode}`)
769
+ body.setEncoding('utf8')
770
+ body.on('data', console.log)
771
+
772
+ nodeServerUndiciClient.close()
773
+ fastifyServerUndiciClient.close()
774
+ fastifyServer.close()
775
+ nodeServer.close()
776
+ } catch (error) { }
777
+ ```
778
+
779
+ ### `Dispatcher.upgrade(options[, callback])`
780
+
781
+ Upgrade to a different protocol. Visit [MDN - HTTP - Protocol upgrade mechanism](https://developer.mozilla.org/en-US/docs/Web/HTTP/Protocol_upgrade_mechanism) for more details.
782
+
783
+ Arguments:
784
+
785
+ * **options** `UpgradeOptions`
786
+
787
+ * **callback** `(error: Error | null, data: UpgradeData) => void` (optional)
788
+
789
+ Returns: `void | Promise<UpgradeData>` - Only returns a `Promise` if no `callback` argument was passed
790
+
791
+ #### Parameter: `UpgradeOptions`
792
+
793
+ * **path** `string`
794
+ * **method** `string` (optional) - Default: `'GET'`
795
+ * **headers** `UndiciHeaders` (optional) - Default: `null`
796
+ * **protocol** `string` (optional) - Default: `'Websocket'` - A string of comma separated protocols, in descending preference order.
797
+ * **signal** `AbortSignal | EventEmitter | null` (optional) - Default: `null`
798
+
799
+ #### Parameter: `UpgradeData`
800
+
801
+ * **headers** `http.IncomingHeaders`
802
+ * **socket** `stream.Duplex`
803
+ * **opaque** `unknown`
804
+
805
+ #### Example 1 - Basic Upgrade Request
806
+
807
+ ```js
808
+ import { createServer } from 'http'
809
+ import { Client } from 'undici'
810
+ import { once } from 'events'
811
+
812
+ const server = createServer((request, response) => {
813
+ response.statusCode = 101
814
+ response.setHeader('connection', 'upgrade')
815
+ response.setHeader('upgrade', request.headers.upgrade)
816
+ response.end()
817
+ }).listen()
818
+
819
+ await once(server, 'listening')
820
+
821
+ const client = new Client(`http://localhost:${server.address().port}`)
822
+
823
+ try {
824
+ const { headers, socket } = await client.upgrade({
825
+ path: '/',
826
+ })
827
+ socket.on('end', () => {
828
+ console.log(`upgrade: ${headers.upgrade}`) // upgrade: Websocket
829
+ client.close()
830
+ server.close()
831
+ })
832
+ socket.end()
833
+ } catch (error) {
834
+ console.error(error)
835
+ client.close()
836
+ server.close()
837
+ }
838
+ ```
839
+
840
+ ### `Dispatcher.compose(interceptors[, interceptor])`
841
+
842
+ Compose a new dispatcher from the current dispatcher and the given interceptors.
843
+
844
+ > _Notes_:
845
+ > - The order of the interceptors matters. The last interceptor will be the first to be called.
846
+ > - It is important to note that the `interceptor` function should return a function that follows the `Dispatcher.dispatch` signature.
847
+ > - Any fork of the chain of `interceptors` can lead to unexpected results.
848
+ >
849
+ > **Interceptor Stack Visualization:**
850
+ > ```
851
+ > compose([interceptor1, interceptor2, interceptor3])
852
+ >
853
+ > Request Flow:
854
+ > ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
855
+ > │ Request │───▶│interceptor3 │───▶│interceptor2 │───▶│interceptor1 │───▶│ dispatcher │
856
+ > └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘ │ .dispatch │
857
+ > ▲ ▲ ▲ └─────────────┘
858
+ > │ │ │ ▲
859
+ > (called first) (called second) (called last) │
860
+ > │
861
+ > ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
862
+ > │ Response │◀───│interceptor3 │◀───│interceptor2 │◀───│interceptor1 │◀─────────┘
863
+ > └─────────────┘ └─────────────┘ └─────────────┘ └─────────────┘
864
+ >
865
+ > The interceptors are composed in reverse order due to function composition.
866
+ > ```
867
+
868
+ Arguments:
869
+
870
+ * **interceptors** `Interceptor[interceptor[]]`: It is an array of `Interceptor` functions passed as only argument, or several interceptors passed as separate arguments.
871
+
872
+ Returns: `Dispatcher`.
873
+
874
+ #### Parameter: `Interceptor`
875
+
876
+ A function that takes a `dispatch` method and returns a `dispatch`-like function.
877
+
878
+ #### Example 1 - Basic Compose
879
+
880
+ ```js
881
+ const { Client, RedirectHandler } = require('undici')
882
+
883
+ const redirectInterceptor = dispatch => {
884
+ return (opts, handler) => {
885
+ const { maxRedirections } = opts
886
+
887
+ if (!maxRedirections) {
888
+ return dispatch(opts, handler)
889
+ }
890
+
891
+ const redirectHandler = new RedirectHandler(
892
+ dispatch,
893
+ maxRedirections,
894
+ opts,
895
+ handler
896
+ )
897
+ opts = { ...opts, maxRedirections: 0 } // Stop sub dispatcher from also redirecting.
898
+ return dispatch(opts, redirectHandler)
899
+ }
900
+ }
901
+
902
+ const client = new Client('http://localhost:3000')
903
+ .compose(redirectInterceptor)
904
+
905
+ await client.request({ path: '/', method: 'GET' })
906
+ ```
907
+
908
+ #### Example 2 - Chained Compose
909
+
910
+ ```js
911
+ const { Client, RedirectHandler, RetryHandler } = require('undici')
912
+
913
+ const redirectInterceptor = dispatch => {
914
+ return (opts, handler) => {
915
+ const { maxRedirections } = opts
916
+
917
+ if (!maxRedirections) {
918
+ return dispatch(opts, handler)
919
+ }
920
+
921
+ const redirectHandler = new RedirectHandler(
922
+ dispatch,
923
+ maxRedirections,
924
+ opts,
925
+ handler
926
+ )
927
+ opts = { ...opts, maxRedirections: 0 }
928
+ return dispatch(opts, redirectHandler)
929
+ }
930
+ }
931
+
932
+ const retryInterceptor = dispatch => {
933
+ return function retryInterceptor (opts, handler) {
934
+ return dispatch(
935
+ opts,
936
+ new RetryHandler(opts, {
937
+ handler,
938
+ dispatch
939
+ })
940
+ )
941
+ }
942
+ }
943
+
944
+ const client = new Client('http://localhost:3000')
945
+ .compose(redirectInterceptor)
946
+ .compose(retryInterceptor)
947
+
948
+ await client.request({ path: '/', method: 'GET' })
949
+ ```
950
+
951
+ #### Pre-built interceptors
952
+
953
+ ##### `redirect`
954
+
955
+ The `redirect` interceptor allows you to customize the way your dispatcher handles redirects.
956
+
957
+ It accepts the same arguments as the [`RedirectHandler` constructor](/docs/docs/api/RedirectHandler.md).
958
+
959
+ **Example - Basic Redirect Interceptor**
960
+
961
+ ```js
962
+ const { Client, interceptors } = require("undici");
963
+ const { redirect } = interceptors;
964
+
965
+ const client = new Client("http://service.example").compose(
966
+ redirect({ maxRedirections: 3, throwOnMaxRedirect: true })
967
+ );
968
+ client.request({ path: "/" })
969
+ ```
970
+
971
+ ##### `retry`
972
+
973
+ The `retry` interceptor allows you to customize the way your dispatcher handles retries.
974
+
975
+ It accepts the same arguments as the [`RetryHandler` constructor](/docs/docs/api/RetryHandler.md).
976
+
977
+ **Example - Basic Redirect Interceptor**
978
+
979
+ ```js
980
+ const { Client, interceptors } = require("undici");
981
+ const { retry } = interceptors;
982
+
983
+ const client = new Client("http://service.example").compose(
984
+ retry({
985
+ maxRetries: 3,
986
+ minTimeout: 1000,
987
+ maxTimeout: 10000,
988
+ timeoutFactor: 2,
989
+ retryAfter: true,
990
+ })
991
+ );
992
+ ```
993
+
994
+ ##### `dump`
995
+
996
+ The `dump` interceptor enables you to dump the response body from a request upon a given limit.
997
+
998
+ **Options**
999
+ - `maxSize` - The maximum size (in bytes) of the response body to dump. If the size of the request's body exceeds this value then the connection will be closed. Default: `1048576`.
1000
+
1001
+ > The `Dispatcher#options` also gets extended with the options `dumpMaxSize`, `abortOnDumped`, and `waitForTrailers` which can be used to configure the interceptor at a request-per-request basis.
1002
+
1003
+ **Example - Basic Dump Interceptor**
1004
+
1005
+ ```js
1006
+ const { Client, interceptors } = require("undici");
1007
+ const { dump } = interceptors;
1008
+
1009
+ const client = new Client("http://service.example").compose(
1010
+ dump({
1011
+ maxSize: 1024,
1012
+ })
1013
+ );
1014
+
1015
+ // or
1016
+ client.dispatch(
1017
+ {
1018
+ path: "/",
1019
+ method: "GET",
1020
+ dumpMaxSize: 1024,
1021
+ },
1022
+ handler
1023
+ );
1024
+ ```
1025
+
1026
+ ##### `dns`
1027
+
1028
+ The `dns` interceptor enables you to cache DNS lookups for a given duration, per origin.
1029
+
1030
+ >It is well suited for scenarios where you want to cache DNS lookups to avoid the overhead of resolving the same domain multiple times
1031
+
1032
+ **Options**
1033
+ - `maxTTL` - The maximum time-to-live (in milliseconds) of the DNS cache. It should be a positive integer. Default: `10000`.
1034
+ - Set `0` to disable TTL.
1035
+ - `maxItems` - The maximum number of items to cache. It should be a positive integer. Default: `Infinity`.
1036
+ - `dualStack` - Whether to resolve both IPv4 and IPv6 addresses. Default: `true`.
1037
+ - It will also attempt a happy-eyeballs-like approach to connect to the available addresses in case of a connection failure.
1038
+ - `affinity` - Whether to use IPv4 or IPv6 addresses. Default: `4`.
1039
+ - It can be either `4` or `6`.
1040
+ - It will only take effect if `dualStack` is `false`.
1041
+ - `lookup: (hostname: string, options: LookupOptions, callback: (err: NodeJS.ErrnoException | null, addresses: DNSInterceptorRecord[]) => void) => void` - Custom lookup function. Default: `dns.lookup`.
1042
+ - For more info see [dns.lookup](https://nodejs.org/api/dns.html#dnslookuphostname-options-callback).
1043
+ - `pick: (origin: URL, records: DNSInterceptorRecords, affinity: 4 | 6) => DNSInterceptorRecord` - Custom pick function. Default: `RoundRobin`.
1044
+ - The function should return a single record from the records array.
1045
+ - By default a simplified version of Round Robin is used.
1046
+ - The `records` property can be mutated to store the state of the balancing algorithm.
1047
+ - `storage: DNSStorage` - Custom storage for resolved DNS records
1048
+
1049
+ > The `Dispatcher#options` also gets extended with the options `dns.affinity`, `dns.dualStack`, `dns.lookup` and `dns.pick` which can be used to configure the interceptor at a request-per-request basis.
1050
+
1051
+
1052
+ **DNSInterceptorRecord**
1053
+ It represents a DNS record.
1054
+ - `family` - (`number`) The IP family of the address. It can be either `4` or `6`.
1055
+ - `address` - (`string`) The IP address.
1056
+
1057
+ **DNSInterceptorOriginRecords**
1058
+ It represents a map of DNS IP addresses records for a single origin.
1059
+ - `4.ips` - (`DNSInterceptorRecord[] | null`) The IPv4 addresses.
1060
+ - `6.ips` - (`DNSInterceptorRecord[] | null`) The IPv6 addresses.
1061
+
1062
+ **DNSStorage**
1063
+ It represents a storage object for resolved DNS records.
1064
+ - `size` - (`number`) current size of the storage.
1065
+ - `get` - (`(origin: string) => DNSInterceptorOriginRecords | null`) method to get the records for a given origin.
1066
+ - `set` - (`(origin: string, records: DNSInterceptorOriginRecords | null, options: { ttl: number }) => void`) method to set the records for a given origin.
1067
+ - `delete` - (`(origin: string) => void`) method to delete records for a given origin.
1068
+ - `full` - (`() => boolean`) method to check if the storage is full, if returns `true`, DNS lookup will be skipped in this interceptor and new records will not be stored.
1069
+
1070
+ **Example - Basic DNS Interceptor**
1071
+
1072
+ ```js
1073
+ const { Client, interceptors } = require("undici");
1074
+ const { dns } = interceptors;
1075
+
1076
+ const client = new Agent().compose([
1077
+ dns({ ...opts })
1078
+ ])
1079
+
1080
+ const response = await client.request({
1081
+ origin: `http://localhost:3030`,
1082
+ ...requestOpts
1083
+ })
1084
+ ```
1085
+
1086
+ **Example - DNS Interceptor and LRU cache as a storage**
1087
+
1088
+ ```js
1089
+ const { Client, interceptors } = require("undici");
1090
+ const QuickLRU = require("quick-lru");
1091
+ const { dns } = interceptors;
1092
+
1093
+ const lru = new QuickLRU({ maxSize: 100 });
1094
+
1095
+ const lruAdapter = {
1096
+ get size() {
1097
+ return lru.size;
1098
+ },
1099
+ get(origin) {
1100
+ return lru.get(origin);
1101
+ },
1102
+ set(origin, records, { ttl }) {
1103
+ lru.set(origin, records, { maxAge: ttl });
1104
+ },
1105
+ delete(origin) {
1106
+ lru.delete(origin);
1107
+ },
1108
+ full() {
1109
+ // For LRU cache, we can always store new records,
1110
+ // old records will be evicted automatically
1111
+ return false;
1112
+ }
1113
+ }
1114
+
1115
+ const client = new Agent().compose([
1116
+ dns({ storage: lruAdapter })
1117
+ ])
1118
+
1119
+ const response = await client.request({
1120
+ origin: `http://localhost:3030`,
1121
+ ...requestOpts
1122
+ })
1123
+ ```
1124
+
1125
+ ##### `responseError`
1126
+
1127
+ The `responseError` interceptor throws an error for responses with status code errors (>= 400).
1128
+
1129
+ **Example**
1130
+
1131
+ ```js
1132
+ const { Client, interceptors } = require("undici");
1133
+ const { responseError } = interceptors;
1134
+
1135
+ const client = new Client("http://service.example").compose(
1136
+ responseError()
1137
+ );
1138
+
1139
+ // Will throw a ResponseError for status codes >= 400
1140
+ await client.request({
1141
+ method: "GET",
1142
+ path: "/"
1143
+ });
1144
+ ```
1145
+
1146
+ ##### `decompress`
1147
+
1148
+ ⚠️ The decompress interceptor is experimental and subject to change.
1149
+
1150
+ The `decompress` interceptor automatically decompresses response bodies that are compressed with gzip, deflate, brotli, or zstd compression. It removes the `content-encoding` and `content-length` headers from decompressed responses and supports RFC-9110 compliant multiple encodings.
1151
+
1152
+ **Options**
1153
+
1154
+ - `skipErrorResponses` - Whether to skip decompression for error responses (status codes >= 400). Default: `true`.
1155
+ - `skipStatusCodes` - Array of status codes to skip decompression for. Default: `[204, 304]`.
1156
+ - `maxSize` - Maximum decompressed response size in bytes for each decompression stage. Set to `0` to disable the limit. Default: `0`.
1157
+
1158
+ **Example - Basic Decompress Interceptor**
1159
+
1160
+ ```js
1161
+ const { Client, interceptors } = require("undici");
1162
+ const { decompress } = interceptors;
1163
+
1164
+ const client = new Client("http://service.example").compose(
1165
+ decompress()
1166
+ );
1167
+
1168
+ // Automatically decompresses gzip/deflate/brotli/zstd responses
1169
+ const response = await client.request({
1170
+ method: "GET",
1171
+ path: "/"
1172
+ });
1173
+ ```
1174
+
1175
+ **Example - Custom Options**
1176
+
1177
+ ```js
1178
+ const { Client, interceptors } = require("undici");
1179
+ const { decompress } = interceptors;
1180
+
1181
+ const client = new Client("http://service.example").compose(
1182
+ decompress({
1183
+ skipErrorResponses: false, // Decompress 5xx responses
1184
+ skipStatusCodes: [204, 304, 201] // Skip these status codes
1185
+ })
1186
+ );
1187
+ ```
1188
+
1189
+ **Supported Encodings**
1190
+
1191
+ - `gzip` / `x-gzip` - GZIP compression
1192
+ - `deflate` / `x-compress` - DEFLATE compression
1193
+ - `br` - Brotli compression
1194
+ - `zstd` - Zstandard compression
1195
+ - Multiple encodings (e.g., `gzip, deflate`) are supported per RFC-9110
1196
+
1197
+ **Behavior**
1198
+
1199
+ - Skips decompression for status codes < 200 or >= 400 (configurable)
1200
+ - Skips decompression for 204 No Content and 304 Not Modified by default
1201
+ - Removes `content-encoding` and `content-length` headers when decompressing
1202
+ - Passes through unsupported encodings unchanged
1203
+ - Handles case-insensitive encoding names
1204
+ - Supports streaming decompression without buffering
1205
+
1206
+ ##### `Cache Interceptor`
1207
+
1208
+ The `cache` interceptor implements client-side response caching as described in
1209
+ [RFC9111](https://www.rfc-editor.org/rfc/rfc9111.html).
1210
+
1211
+ **Options**
1212
+
1213
+ - `store` - The [`CacheStore`](/docs/docs/api/CacheStore.md) to store and retrieve responses from. Default is [`MemoryCacheStore`](/docs/docs/api/CacheStore.md#memorycachestore).
1214
+ - `methods` - The [**safe** HTTP methods](https://www.rfc-editor.org/rfc/rfc9110#section-9.2.1) to cache the response of.
1215
+ - `cacheByDefault` - The default expiration time to cache responses by if they don't have an explicit expiration and cannot have an heuristic expiry computed. If this isn't present, responses neither with an explicit expiration nor heuristically cacheable will not be cached. Default `undefined`.
1216
+ - `type` - The [type of cache](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Caching#types_of_caches) for Undici to act as. Can be `shared` or `private`. Default `shared`. `private` implies privately cacheable responses will be cached and potentially shared with other users of your application.
1217
+
1218
+ **Usage with `fetch`**
1219
+
1220
+ ```js
1221
+ const { Agent, cacheStores, interceptors, setGlobalDispatcher } = require('undici')
1222
+
1223
+ const client = new Agent().compose(interceptors.cache({
1224
+ store: new cacheStores.MemoryCacheStore({
1225
+ maxSize: 100 * 1024 * 1024, // 100MB
1226
+ maxCount: 1000,
1227
+ maxEntrySize: 5 * 1024 * 1024 // 5MB
1228
+ })
1229
+ }))
1230
+
1231
+ setGlobalDispatcher(client)
1232
+
1233
+ // First request goes to the network and is cached when cache headers allow it.
1234
+ const first = await fetch('https://example.com/data')
1235
+
1236
+ // Second request can be served from cache according to RFC9111 rules.
1237
+ const second = await fetch('https://example.com/data')
1238
+ ```
1239
+
1240
+ ##### `Deduplicate Interceptor`
1241
+
1242
+ The `deduplicate` interceptor deduplicates concurrent identical requests. When multiple identical requests are made while one is already in-flight, only one request is sent to the origin server, and all waiting handlers receive the same response. This reduces server load and improves performance.
1243
+
1244
+ **Options**
1245
+
1246
+ - `methods` - The [**safe** HTTP methods](https://www.rfc-editor.org/rfc/rfc9110#section-9.2.1) to deduplicate. Default `['GET']`.
1247
+ - `skipHeaderNames` - Header names that, if present in a request, will cause the request to skip deduplication entirely. Useful for headers like `idempotency-key` where presence indicates unique processing. Header name matching is case-insensitive. Default `[]`.
1248
+ - `excludeHeaderNames` - Header names to exclude from the deduplication key. Requests with different values for these headers will still be deduplicated together. Useful for headers like `x-request-id` that vary per request but shouldn't affect deduplication. Header name matching is case-insensitive. Default `[]`.
1249
+ - `maxBufferSize` - Maximum bytes buffered per paused waiting deduplicated handler. If a waiting handler remains paused and exceeds this threshold, it is failed with an abort error to prevent unbounded memory growth. Default `5 * 1024 * 1024`.
1250
+
1251
+ **Usage**
1252
+
1253
+ ```js
1254
+ const { Client, interceptors } = require("undici");
1255
+ const { deduplicate, cache } = interceptors;
1256
+
1257
+ // Deduplicate only
1258
+ const client = new Client("http://service.example").compose(
1259
+ deduplicate()
1260
+ );
1261
+
1262
+ // Deduplicate with caching
1263
+ const clientWithCache = new Client("http://service.example").compose(
1264
+ deduplicate(),
1265
+ cache()
1266
+ );
1267
+ ```
1268
+
1269
+ Requests are considered identical if they have the same:
1270
+ - Origin
1271
+ - HTTP method
1272
+ - Path
1273
+ - Request headers (excluding any headers specified in `excludeHeaderNames`)
1274
+
1275
+ All deduplicated requests receive the complete response including status code, headers, and body.
1276
+
1277
+ For observability, request deduplication events are published to the `undici:request:pending-requests` [diagnostic channel](/docs/docs/api/DiagnosticsChannel.md#undicirequestpending-requests).
1278
+
1279
+ ## Instance Events
1280
+
1281
+ ### Event: `'connect'`
1282
+
1283
+ Parameters:
1284
+
1285
+ * **origin** `URL`
1286
+ * **targets** `Array<Dispatcher>`
1287
+
1288
+ ### Event: `'disconnect'`
1289
+
1290
+ Parameters:
1291
+
1292
+ * **origin** `URL`
1293
+ * **targets** `Array<Dispatcher>`
1294
+ * **error** `Error`
1295
+
1296
+ Emitted when the dispatcher has been disconnected from the origin.
1297
+
1298
+ > **Note**: For HTTP/2, this event is also emitted when the dispatcher has received the [GOAWAY Frame](https://webconcepts.info/concepts/http2-frame-type/0x7) with an Error with the message `HTTP/2: "GOAWAY" frame received` and the code `UND_ERR_INFO`.
1299
+ > Due to nature of the protocol of using binary frames, it is possible that requests gets hanging as a frame can be received between the `HEADER` and `DATA` frames.
1300
+ > It is recommended to handle this event and close the dispatcher to create a new HTTP/2 session.
1301
+
1302
+ ### Event: `'connectionError'`
1303
+
1304
+ Parameters:
1305
+
1306
+ * **origin** `URL`
1307
+ * **targets** `Array<Dispatcher>`
1308
+ * **error** `Error`
1309
+
1310
+ Emitted when dispatcher fails to connect to
1311
+ origin.
1312
+
1313
+ ### Event: `'drain'`
1314
+
1315
+ Parameters:
1316
+
1317
+ * **origin** `URL`
1318
+
1319
+ Emitted when dispatcher is no longer busy.
1320
+
1321
+ ## Parameter: `UndiciHeaders`
1322
+
1323
+ * `Record<string, string | string[] | undefined> | string[] | Iterable<[string, string | string[] | undefined]> | null`
1324
+
1325
+ Header arguments such as `options.headers` in [`Client.dispatch`](/docs/docs/api/Client.md#clientdispatchoptions-handlers) can be specified in three forms:
1326
+ * As an object specified by the `Record<string, string | string[] | undefined>` (`IncomingHttpHeaders`) type.
1327
+ * As an array of strings. An array representation of a header list must have an even length, or an `InvalidArgumentError` will be thrown.
1328
+ * As an iterable that can encompass `Headers`, `Map`, or a custom iterator returning key-value pairs.
1329
+ Keys are lowercase and values are not modified.
1330
+
1331
+ Undici validates header syntax at the protocol level (for example, invalid header names and invalid control characters in string values), but it does not sanitize untrusted application input. Validate and sanitize any user-provided header names and values before passing them to Undici to prevent header/body injection vulnerabilities.
1332
+
1333
+ When using the array header format (`string[]`), Undici processes only indexed elements. Additional properties assigned to the array object are ignored.
1334
+
1335
+ Response headers will derive a `host` from the `url` of the [Client](/docs/docs/api/Client.md#class-client) instance if no `host` header was previously specified.
1336
+
1337
+ ### Example 1 - Object
1338
+
1339
+ ```js
1340
+ {
1341
+ 'content-length': '123',
1342
+ 'content-type': 'text/plain',
1343
+ connection: 'keep-alive',
1344
+ host: 'mysite.com',
1345
+ accept: '*/*'
1346
+ }
1347
+ ```
1348
+
1349
+ ### Example 2 - Array
1350
+
1351
+ ```js
1352
+ [
1353
+ 'content-length', '123',
1354
+ 'content-type', 'text/plain',
1355
+ 'connection', 'keep-alive',
1356
+ 'host', 'mysite.com',
1357
+ 'accept', '*/*'
1358
+ ]
1359
+ ```
1360
+
1361
+ ### Example 3 - Iterable
1362
+
1363
+ ```js
1364
+ new Headers({
1365
+ 'content-length': '123',
1366
+ 'content-type': 'text/plain',
1367
+ connection: 'keep-alive',
1368
+ host: 'mysite.com',
1369
+ accept: '*/*'
1370
+ })
1371
+ ```
1372
+ or
1373
+ ```js
1374
+ new Map([
1375
+ ['content-length', '123'],
1376
+ ['content-type', 'text/plain'],
1377
+ ['connection', 'keep-alive'],
1378
+ ['host', 'mysite.com'],
1379
+ ['accept', '*/*']
1380
+ ])
1381
+ ```
1382
+ or
1383
+ ```js
1384
+ {
1385
+ *[Symbol.iterator] () {
1386
+ yield ['content-length', '123']
1387
+ yield ['content-type', 'text/plain']
1388
+ yield ['connection', 'keep-alive']
1389
+ yield ['host', 'mysite.com']
1390
+ yield ['accept', '*/*']
1391
+ }
1392
+ }
1393
+ ```