@node-core/utils 7.2.1 → 7.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1354) hide show
  1. package/lib/ci/build-types/normal_build.js +1 -1
  2. package/lib/ci/build-types/pr_build.js +11 -1
  3. package/lib/ci/build-types/test_run.js +1 -1
  4. package/lib/cli.js +3 -6
  5. package/lib/links.js +27 -15
  6. package/lib/pr_checker.js +45 -34
  7. package/lib/queries/PR.gql +1 -0
  8. package/node_modules/htmlparser2/README.md +112 -26
  9. package/node_modules/htmlparser2/dist/Parser.d.ts +257 -0
  10. package/node_modules/htmlparser2/dist/Parser.d.ts.map +1 -0
  11. package/node_modules/htmlparser2/dist/Parser.js +644 -0
  12. package/node_modules/htmlparser2/dist/Parser.js.map +1 -0
  13. package/node_modules/htmlparser2/dist/Tokenizer.d.ts +194 -0
  14. package/node_modules/htmlparser2/dist/Tokenizer.d.ts.map +1 -0
  15. package/node_modules/htmlparser2/dist/Tokenizer.js +1056 -0
  16. package/node_modules/htmlparser2/dist/Tokenizer.js.map +1 -0
  17. package/node_modules/htmlparser2/dist/WebWritableStream.d.ts +24 -0
  18. package/node_modules/htmlparser2/dist/WebWritableStream.d.ts.map +1 -0
  19. package/node_modules/htmlparser2/dist/WebWritableStream.js +44 -0
  20. package/node_modules/htmlparser2/dist/WebWritableStream.js.map +1 -0
  21. package/node_modules/htmlparser2/dist/WritableStream.d.ts +14 -0
  22. package/node_modules/htmlparser2/dist/WritableStream.d.ts.map +1 -0
  23. package/node_modules/htmlparser2/dist/WritableStream.js +32 -0
  24. package/node_modules/htmlparser2/dist/WritableStream.js.map +1 -0
  25. package/node_modules/htmlparser2/dist/index.d.ts +34 -0
  26. package/node_modules/htmlparser2/dist/index.d.ts.map +1 -0
  27. package/node_modules/htmlparser2/dist/index.js +46 -0
  28. package/node_modules/htmlparser2/dist/index.js.map +1 -0
  29. package/node_modules/htmlparser2/node_modules/dom-serializer/LICENSE +7 -0
  30. package/node_modules/htmlparser2/node_modules/dom-serializer/README.md +115 -0
  31. package/node_modules/htmlparser2/node_modules/dom-serializer/dist/foreign-names.d.ts +11 -0
  32. package/node_modules/htmlparser2/node_modules/dom-serializer/dist/foreign-names.d.ts.map +1 -0
  33. package/node_modules/htmlparser2/node_modules/dom-serializer/dist/foreign-names.js +15 -0
  34. package/node_modules/htmlparser2/node_modules/dom-serializer/dist/foreign-names.js.map +1 -0
  35. package/node_modules/htmlparser2/node_modules/dom-serializer/dist/index.d.ts +72 -0
  36. package/node_modules/htmlparser2/node_modules/dom-serializer/dist/index.d.ts.map +1 -0
  37. package/node_modules/htmlparser2/node_modules/dom-serializer/dist/index.js +173 -0
  38. package/node_modules/htmlparser2/node_modules/dom-serializer/dist/index.js.map +1 -0
  39. package/node_modules/htmlparser2/node_modules/dom-serializer/package.json +69 -0
  40. package/node_modules/htmlparser2/node_modules/dom-serializer/src/foreign-names.ts +19 -0
  41. package/node_modules/htmlparser2/node_modules/dom-serializer/src/index.ts +315 -0
  42. package/node_modules/htmlparser2/node_modules/domelementtype/dist/index.d.ts +48 -0
  43. package/node_modules/htmlparser2/node_modules/domelementtype/dist/index.d.ts.map +1 -0
  44. package/node_modules/htmlparser2/node_modules/domelementtype/dist/index.js +60 -0
  45. package/node_modules/htmlparser2/node_modules/domelementtype/package.json +59 -0
  46. package/node_modules/htmlparser2/node_modules/domhandler/dist/index.d.ts +79 -0
  47. package/node_modules/htmlparser2/node_modules/domhandler/dist/index.d.ts.map +1 -0
  48. package/node_modules/htmlparser2/node_modules/domhandler/dist/index.js +155 -0
  49. package/node_modules/htmlparser2/node_modules/domhandler/dist/node.d.ts +264 -0
  50. package/node_modules/htmlparser2/node_modules/domhandler/dist/node.d.ts.map +1 -0
  51. package/node_modules/htmlparser2/node_modules/domhandler/dist/node.js +359 -0
  52. package/node_modules/htmlparser2/node_modules/domhandler/package.json +65 -0
  53. package/node_modules/htmlparser2/node_modules/domhandler/readme.md +86 -0
  54. package/node_modules/htmlparser2/node_modules/domutils/dist/feeds.d.ts +71 -0
  55. package/node_modules/htmlparser2/node_modules/domutils/dist/feeds.d.ts.map +1 -0
  56. package/node_modules/htmlparser2/node_modules/domutils/dist/feeds.js +180 -0
  57. package/node_modules/htmlparser2/node_modules/domutils/dist/feeds.js.map +1 -0
  58. package/node_modules/htmlparser2/node_modules/domutils/dist/helpers.d.ts +59 -0
  59. package/node_modules/htmlparser2/node_modules/domutils/dist/helpers.d.ts.map +1 -0
  60. package/node_modules/htmlparser2/node_modules/domutils/dist/helpers.js +136 -0
  61. package/node_modules/htmlparser2/node_modules/domutils/dist/helpers.js.map +1 -0
  62. package/node_modules/htmlparser2/node_modules/domutils/dist/index.d.ts +8 -0
  63. package/node_modules/htmlparser2/node_modules/domutils/dist/index.d.ts.map +1 -0
  64. package/node_modules/htmlparser2/node_modules/domutils/dist/index.js +8 -0
  65. package/node_modules/htmlparser2/node_modules/domutils/dist/index.js.map +1 -0
  66. package/node_modules/htmlparser2/node_modules/domutils/dist/legacy.d.ts +79 -0
  67. package/node_modules/htmlparser2/node_modules/domutils/dist/legacy.d.ts.map +1 -0
  68. package/node_modules/htmlparser2/node_modules/domutils/dist/legacy.js +152 -0
  69. package/node_modules/htmlparser2/node_modules/domutils/dist/legacy.js.map +1 -0
  70. package/node_modules/htmlparser2/node_modules/domutils/dist/manipulation.d.ts +49 -0
  71. package/node_modules/htmlparser2/node_modules/domutils/dist/manipulation.d.ts.map +1 -0
  72. package/node_modules/htmlparser2/node_modules/domutils/dist/manipulation.js +138 -0
  73. package/node_modules/htmlparser2/node_modules/domutils/dist/manipulation.js.map +1 -0
  74. package/node_modules/htmlparser2/node_modules/domutils/dist/querying.d.ts +54 -0
  75. package/node_modules/htmlparser2/node_modules/domutils/dist/querying.d.ts.map +1 -0
  76. package/node_modules/htmlparser2/node_modules/domutils/dist/querying.js +129 -0
  77. package/node_modules/htmlparser2/node_modules/domutils/dist/querying.js.map +1 -0
  78. package/node_modules/htmlparser2/node_modules/domutils/dist/stringify.d.ts +46 -0
  79. package/node_modules/htmlparser2/node_modules/domutils/dist/stringify.d.ts.map +1 -0
  80. package/node_modules/htmlparser2/node_modules/domutils/dist/stringify.js +81 -0
  81. package/node_modules/htmlparser2/node_modules/domutils/dist/stringify.js.map +1 -0
  82. package/node_modules/htmlparser2/node_modules/domutils/dist/traversal.d.ts +74 -0
  83. package/node_modules/htmlparser2/node_modules/domutils/dist/traversal.d.ts.map +1 -0
  84. package/node_modules/htmlparser2/node_modules/domutils/dist/traversal.js +105 -0
  85. package/node_modules/htmlparser2/node_modules/domutils/dist/traversal.js.map +1 -0
  86. package/node_modules/htmlparser2/node_modules/domutils/package.json +69 -0
  87. package/node_modules/htmlparser2/node_modules/domutils/readme.md +25 -0
  88. package/node_modules/htmlparser2/node_modules/domutils/src/__snapshots__/feeds.spec.ts.snap +103 -0
  89. package/node_modules/htmlparser2/node_modules/domutils/src/feeds.ts +301 -0
  90. package/node_modules/htmlparser2/node_modules/domutils/src/helpers.ts +154 -0
  91. package/node_modules/htmlparser2/node_modules/domutils/src/index.ts +7 -0
  92. package/node_modules/htmlparser2/node_modules/domutils/src/legacy.ts +224 -0
  93. package/node_modules/htmlparser2/node_modules/domutils/src/manipulation.ts +156 -0
  94. package/node_modules/htmlparser2/node_modules/domutils/src/querying.ts +172 -0
  95. package/node_modules/htmlparser2/node_modules/domutils/src/stringify.ts +90 -0
  96. package/node_modules/htmlparser2/node_modules/domutils/src/traversal.ts +132 -0
  97. package/node_modules/htmlparser2/node_modules/entities/dist/decode-codepoint.d.ts +8 -0
  98. package/node_modules/htmlparser2/node_modules/entities/dist/decode-codepoint.d.ts.map +1 -0
  99. package/node_modules/htmlparser2/node_modules/entities/dist/decode-codepoint.js +46 -0
  100. package/node_modules/htmlparser2/node_modules/entities/dist/decode-codepoint.js.map +1 -0
  101. package/node_modules/htmlparser2/node_modules/entities/dist/decode.d.ts +194 -0
  102. package/node_modules/htmlparser2/node_modules/entities/dist/decode.d.ts.map +1 -0
  103. package/node_modules/htmlparser2/node_modules/entities/dist/decode.js +544 -0
  104. package/node_modules/htmlparser2/node_modules/entities/dist/decode.js.map +1 -0
  105. package/node_modules/htmlparser2/node_modules/entities/dist/encode.d.ts +24 -0
  106. package/node_modules/htmlparser2/node_modules/entities/dist/encode.d.ts.map +1 -0
  107. package/node_modules/htmlparser2/node_modules/entities/dist/encode.js +90 -0
  108. package/node_modules/htmlparser2/node_modules/entities/dist/encode.js.map +1 -0
  109. package/node_modules/htmlparser2/node_modules/entities/dist/escape.d.ts +48 -0
  110. package/node_modules/htmlparser2/node_modules/entities/dist/escape.d.ts.map +1 -0
  111. package/node_modules/htmlparser2/node_modules/entities/dist/escape.js +132 -0
  112. package/node_modules/htmlparser2/node_modules/entities/dist/escape.js.map +1 -0
  113. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-html.d.ts +3 -0
  114. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-html.d.ts.map +1 -0
  115. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-html.js +5 -0
  116. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-html.js.map +1 -0
  117. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-xml.d.ts +3 -0
  118. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-xml.d.ts.map +1 -0
  119. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-xml.js +5 -0
  120. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-xml.js.map +1 -0
  121. package/node_modules/htmlparser2/node_modules/entities/dist/generated/encode-html.d.ts +5 -0
  122. package/node_modules/htmlparser2/node_modules/entities/dist/generated/encode-html.d.ts.map +1 -0
  123. package/node_modules/htmlparser2/node_modules/entities/dist/generated/encode-html.js +12 -0
  124. package/node_modules/htmlparser2/node_modules/entities/dist/generated/encode-html.js.map +1 -0
  125. package/node_modules/htmlparser2/node_modules/entities/dist/index.d.ts +89 -0
  126. package/node_modules/htmlparser2/node_modules/entities/dist/index.d.ts.map +1 -0
  127. package/node_modules/htmlparser2/node_modules/entities/dist/index.js +91 -0
  128. package/node_modules/htmlparser2/node_modules/entities/dist/index.js.map +1 -0
  129. package/node_modules/htmlparser2/node_modules/entities/dist/internal/bin-trie-flags.d.ts.map +1 -0
  130. package/node_modules/htmlparser2/node_modules/entities/dist/internal/bin-trie-flags.js.map +1 -0
  131. package/node_modules/htmlparser2/node_modules/entities/dist/internal/decode-shared.d.ts +7 -0
  132. package/node_modules/htmlparser2/node_modules/entities/dist/internal/decode-shared.d.ts.map +1 -0
  133. package/node_modules/htmlparser2/node_modules/entities/dist/internal/decode-shared.js +17 -0
  134. package/node_modules/htmlparser2/node_modules/entities/dist/internal/decode-shared.js.map +1 -0
  135. package/node_modules/htmlparser2/node_modules/entities/dist/internal/encode-shared.d.ts +33 -0
  136. package/node_modules/htmlparser2/node_modules/entities/dist/internal/encode-shared.d.ts.map +1 -0
  137. package/node_modules/htmlparser2/node_modules/entities/dist/internal/encode-shared.js +93 -0
  138. package/node_modules/htmlparser2/node_modules/entities/dist/internal/encode-shared.js.map +1 -0
  139. package/node_modules/htmlparser2/node_modules/entities/package.json +25 -62
  140. package/node_modules/htmlparser2/node_modules/entities/readme.md +4 -16
  141. package/node_modules/htmlparser2/node_modules/entities/src/decode-codepoint.ts +1 -32
  142. package/node_modules/htmlparser2/node_modules/entities/src/decode.ts +12 -26
  143. package/node_modules/htmlparser2/node_modules/entities/src/encode.ts +2 -0
  144. package/node_modules/htmlparser2/node_modules/entities/src/escape.ts +11 -12
  145. package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-html.ts +1 -0
  146. package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-xml.ts +1 -0
  147. package/node_modules/htmlparser2/node_modules/entities/src/generated/encode-html.ts +2 -1
  148. package/node_modules/htmlparser2/node_modules/entities/src/index.ts +8 -33
  149. package/node_modules/htmlparser2/node_modules/entities/src/internal/decode-shared.ts +3 -15
  150. package/node_modules/htmlparser2/node_modules/entities/src/internal/encode-shared.ts +4 -2
  151. package/node_modules/htmlparser2/package.json +34 -61
  152. package/node_modules/htmlparser2/src/Parser.ts +260 -100
  153. package/node_modules/htmlparser2/src/Tokenizer.ts +438 -165
  154. package/node_modules/htmlparser2/src/WebWritableStream.ts +47 -0
  155. package/node_modules/htmlparser2/src/WritableStream.ts +1 -2
  156. package/node_modules/htmlparser2/src/index.ts +14 -43
  157. package/node_modules/yocto-spinner/index.d.ts +162 -0
  158. package/node_modules/yocto-spinner/index.js +432 -0
  159. package/node_modules/yocto-spinner/package.json +64 -0
  160. package/node_modules/yocto-spinner/readme.md +237 -0
  161. package/package.json +4 -4
  162. package/node_modules/boolbase/README.md +0 -10
  163. package/node_modules/boolbase/index.js +0 -8
  164. package/node_modules/boolbase/package.json +0 -23
  165. package/node_modules/cheerio/LICENSE +0 -21
  166. package/node_modules/cheerio/Readme.md +0 -229
  167. package/node_modules/cheerio/dist/browser/api/attributes.d.ts +0 -385
  168. package/node_modules/cheerio/dist/browser/api/attributes.d.ts.map +0 -1
  169. package/node_modules/cheerio/dist/browser/api/attributes.js +0 -636
  170. package/node_modules/cheerio/dist/browser/api/attributes.js.map +0 -1
  171. package/node_modules/cheerio/dist/browser/api/css.d.ts +0 -42
  172. package/node_modules/cheerio/dist/browser/api/css.d.ts.map +0 -1
  173. package/node_modules/cheerio/dist/browser/api/css.js +0 -116
  174. package/node_modules/cheerio/dist/browser/api/css.js.map +0 -1
  175. package/node_modules/cheerio/dist/browser/api/extract.d.ts +0 -27
  176. package/node_modules/cheerio/dist/browser/api/extract.d.ts.map +0 -1
  177. package/node_modules/cheerio/dist/browser/api/extract.js +0 -42
  178. package/node_modules/cheerio/dist/browser/api/extract.js.map +0 -1
  179. package/node_modules/cheerio/dist/browser/api/forms.d.ts +0 -36
  180. package/node_modules/cheerio/dist/browser/api/forms.d.ts.map +0 -1
  181. package/node_modules/cheerio/dist/browser/api/forms.js +0 -81
  182. package/node_modules/cheerio/dist/browser/api/forms.js.map +0 -1
  183. package/node_modules/cheerio/dist/browser/api/manipulation.d.ts +0 -528
  184. package/node_modules/cheerio/dist/browser/api/manipulation.d.ts.map +0 -1
  185. package/node_modules/cheerio/dist/browser/api/manipulation.js +0 -831
  186. package/node_modules/cheerio/dist/browser/api/manipulation.js.map +0 -1
  187. package/node_modules/cheerio/dist/browser/api/traversing.d.ts +0 -657
  188. package/node_modules/cheerio/dist/browser/api/traversing.d.ts.map +0 -1
  189. package/node_modules/cheerio/dist/browser/api/traversing.js +0 -857
  190. package/node_modules/cheerio/dist/browser/api/traversing.js.map +0 -1
  191. package/node_modules/cheerio/dist/browser/cheerio.d.ts +0 -85
  192. package/node_modules/cheerio/dist/browser/cheerio.d.ts.map +0 -1
  193. package/node_modules/cheerio/dist/browser/cheerio.js +0 -58
  194. package/node_modules/cheerio/dist/browser/cheerio.js.map +0 -1
  195. package/node_modules/cheerio/dist/browser/index-browser.d.mts.map +0 -1
  196. package/node_modules/cheerio/dist/browser/index-browser.mjs.map +0 -1
  197. package/node_modules/cheerio/dist/browser/index.d.ts +0 -5
  198. package/node_modules/cheerio/dist/browser/index.js +0 -3
  199. package/node_modules/cheerio/dist/browser/load-parse.d.ts +0 -20
  200. package/node_modules/cheerio/dist/browser/load-parse.d.ts.map +0 -1
  201. package/node_modules/cheerio/dist/browser/load-parse.js +0 -28
  202. package/node_modules/cheerio/dist/browser/load-parse.js.map +0 -1
  203. package/node_modules/cheerio/dist/browser/load.d.ts +0 -91
  204. package/node_modules/cheerio/dist/browser/load.d.ts.map +0 -1
  205. package/node_modules/cheerio/dist/browser/load.js +0 -129
  206. package/node_modules/cheerio/dist/browser/load.js.map +0 -1
  207. package/node_modules/cheerio/dist/browser/options.d.ts +0 -98
  208. package/node_modules/cheerio/dist/browser/options.d.ts.map +0 -1
  209. package/node_modules/cheerio/dist/browser/options.js +0 -34
  210. package/node_modules/cheerio/dist/browser/options.js.map +0 -1
  211. package/node_modules/cheerio/dist/browser/package.json +0 -3
  212. package/node_modules/cheerio/dist/browser/parse.d.ts +0 -18
  213. package/node_modules/cheerio/dist/browser/parse.d.ts.map +0 -1
  214. package/node_modules/cheerio/dist/browser/parse.js +0 -73
  215. package/node_modules/cheerio/dist/browser/parse.js.map +0 -1
  216. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts +0 -20
  217. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts.map +0 -1
  218. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js +0 -50
  219. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js.map +0 -1
  220. package/node_modules/cheerio/dist/browser/slim.d.ts +0 -25
  221. package/node_modules/cheerio/dist/browser/slim.d.ts.map +0 -1
  222. package/node_modules/cheerio/dist/browser/slim.js +0 -22
  223. package/node_modules/cheerio/dist/browser/slim.js.map +0 -1
  224. package/node_modules/cheerio/dist/browser/static.d.ts +0 -112
  225. package/node_modules/cheerio/dist/browser/static.d.ts.map +0 -1
  226. package/node_modules/cheerio/dist/browser/static.js +0 -204
  227. package/node_modules/cheerio/dist/browser/static.js.map +0 -1
  228. package/node_modules/cheerio/dist/browser/types.d.ts +0 -21
  229. package/node_modules/cheerio/dist/browser/types.d.ts.map +0 -1
  230. package/node_modules/cheerio/dist/browser/types.js +0 -3
  231. package/node_modules/cheerio/dist/browser/types.js.map +0 -1
  232. package/node_modules/cheerio/dist/browser/utils.d.ts +0 -55
  233. package/node_modules/cheerio/dist/browser/utils.d.ts.map +0 -1
  234. package/node_modules/cheerio/dist/browser/utils.js +0 -84
  235. package/node_modules/cheerio/dist/browser/utils.js.map +0 -1
  236. package/node_modules/cheerio/dist/commonjs/api/attributes.d.ts +0 -385
  237. package/node_modules/cheerio/dist/commonjs/api/attributes.d.ts.map +0 -1
  238. package/node_modules/cheerio/dist/commonjs/api/attributes.js +0 -647
  239. package/node_modules/cheerio/dist/commonjs/api/attributes.js.map +0 -1
  240. package/node_modules/cheerio/dist/commonjs/api/css.d.ts +0 -42
  241. package/node_modules/cheerio/dist/commonjs/api/css.d.ts.map +0 -1
  242. package/node_modules/cheerio/dist/commonjs/api/css.js +0 -119
  243. package/node_modules/cheerio/dist/commonjs/api/css.js.map +0 -1
  244. package/node_modules/cheerio/dist/commonjs/api/extract.d.ts +0 -27
  245. package/node_modules/cheerio/dist/commonjs/api/extract.d.ts.map +0 -1
  246. package/node_modules/cheerio/dist/commonjs/api/extract.js +0 -45
  247. package/node_modules/cheerio/dist/commonjs/api/extract.js.map +0 -1
  248. package/node_modules/cheerio/dist/commonjs/api/forms.d.ts +0 -36
  249. package/node_modules/cheerio/dist/commonjs/api/forms.d.ts.map +0 -1
  250. package/node_modules/cheerio/dist/commonjs/api/forms.js +0 -85
  251. package/node_modules/cheerio/dist/commonjs/api/forms.js.map +0 -1
  252. package/node_modules/cheerio/dist/commonjs/api/manipulation.d.ts +0 -528
  253. package/node_modules/cheerio/dist/commonjs/api/manipulation.d.ts.map +0 -1
  254. package/node_modules/cheerio/dist/commonjs/api/manipulation.js +0 -850
  255. package/node_modules/cheerio/dist/commonjs/api/manipulation.js.map +0 -1
  256. package/node_modules/cheerio/dist/commonjs/api/traversing.d.ts +0 -657
  257. package/node_modules/cheerio/dist/commonjs/api/traversing.d.ts.map +0 -1
  258. package/node_modules/cheerio/dist/commonjs/api/traversing.js +0 -914
  259. package/node_modules/cheerio/dist/commonjs/api/traversing.js.map +0 -1
  260. package/node_modules/cheerio/dist/commonjs/cheerio.d.ts +0 -85
  261. package/node_modules/cheerio/dist/commonjs/cheerio.d.ts.map +0 -1
  262. package/node_modules/cheerio/dist/commonjs/cheerio.js +0 -95
  263. package/node_modules/cheerio/dist/commonjs/cheerio.js.map +0 -1
  264. package/node_modules/cheerio/dist/commonjs/index.d.ts +0 -104
  265. package/node_modules/cheerio/dist/commonjs/index.d.ts.map +0 -1
  266. package/node_modules/cheerio/dist/commonjs/index.js +0 -250
  267. package/node_modules/cheerio/dist/commonjs/index.js.map +0 -1
  268. package/node_modules/cheerio/dist/commonjs/load-parse.d.ts +0 -20
  269. package/node_modules/cheerio/dist/commonjs/load-parse.d.ts.map +0 -1
  270. package/node_modules/cheerio/dist/commonjs/load-parse.js +0 -34
  271. package/node_modules/cheerio/dist/commonjs/load-parse.js.map +0 -1
  272. package/node_modules/cheerio/dist/commonjs/load.d.ts +0 -91
  273. package/node_modules/cheerio/dist/commonjs/load.d.ts.map +0 -1
  274. package/node_modules/cheerio/dist/commonjs/load.js +0 -165
  275. package/node_modules/cheerio/dist/commonjs/load.js.map +0 -1
  276. package/node_modules/cheerio/dist/commonjs/options.d.ts +0 -98
  277. package/node_modules/cheerio/dist/commonjs/options.d.ts.map +0 -1
  278. package/node_modules/cheerio/dist/commonjs/options.js +0 -37
  279. package/node_modules/cheerio/dist/commonjs/options.js.map +0 -1
  280. package/node_modules/cheerio/dist/commonjs/package.json +0 -3
  281. package/node_modules/cheerio/dist/commonjs/parse.d.ts +0 -18
  282. package/node_modules/cheerio/dist/commonjs/parse.d.ts.map +0 -1
  283. package/node_modules/cheerio/dist/commonjs/parse.js +0 -77
  284. package/node_modules/cheerio/dist/commonjs/parse.js.map +0 -1
  285. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts +0 -20
  286. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts.map +0 -1
  287. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js +0 -54
  288. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js.map +0 -1
  289. package/node_modules/cheerio/dist/commonjs/slim.d.ts +0 -25
  290. package/node_modules/cheerio/dist/commonjs/slim.d.ts.map +0 -1
  291. package/node_modules/cheerio/dist/commonjs/slim.js +0 -30
  292. package/node_modules/cheerio/dist/commonjs/slim.js.map +0 -1
  293. package/node_modules/cheerio/dist/commonjs/static.d.ts +0 -112
  294. package/node_modules/cheerio/dist/commonjs/static.d.ts.map +0 -1
  295. package/node_modules/cheerio/dist/commonjs/static.js +0 -214
  296. package/node_modules/cheerio/dist/commonjs/static.js.map +0 -1
  297. package/node_modules/cheerio/dist/commonjs/types.d.ts +0 -21
  298. package/node_modules/cheerio/dist/commonjs/types.d.ts.map +0 -1
  299. package/node_modules/cheerio/dist/commonjs/types.js +0 -4
  300. package/node_modules/cheerio/dist/commonjs/types.js.map +0 -1
  301. package/node_modules/cheerio/dist/commonjs/utils.d.ts +0 -55
  302. package/node_modules/cheerio/dist/commonjs/utils.d.ts.map +0 -1
  303. package/node_modules/cheerio/dist/commonjs/utils.js +0 -91
  304. package/node_modules/cheerio/dist/commonjs/utils.js.map +0 -1
  305. package/node_modules/cheerio/dist/esm/api/attributes.d.ts +0 -385
  306. package/node_modules/cheerio/dist/esm/api/attributes.d.ts.map +0 -1
  307. package/node_modules/cheerio/dist/esm/api/attributes.js +0 -636
  308. package/node_modules/cheerio/dist/esm/api/attributes.js.map +0 -1
  309. package/node_modules/cheerio/dist/esm/api/css.d.ts +0 -42
  310. package/node_modules/cheerio/dist/esm/api/css.d.ts.map +0 -1
  311. package/node_modules/cheerio/dist/esm/api/css.js +0 -116
  312. package/node_modules/cheerio/dist/esm/api/css.js.map +0 -1
  313. package/node_modules/cheerio/dist/esm/api/extract.d.ts +0 -27
  314. package/node_modules/cheerio/dist/esm/api/extract.d.ts.map +0 -1
  315. package/node_modules/cheerio/dist/esm/api/extract.js +0 -42
  316. package/node_modules/cheerio/dist/esm/api/extract.js.map +0 -1
  317. package/node_modules/cheerio/dist/esm/api/forms.d.ts +0 -36
  318. package/node_modules/cheerio/dist/esm/api/forms.d.ts.map +0 -1
  319. package/node_modules/cheerio/dist/esm/api/forms.js +0 -81
  320. package/node_modules/cheerio/dist/esm/api/forms.js.map +0 -1
  321. package/node_modules/cheerio/dist/esm/api/manipulation.d.ts +0 -528
  322. package/node_modules/cheerio/dist/esm/api/manipulation.d.ts.map +0 -1
  323. package/node_modules/cheerio/dist/esm/api/manipulation.js +0 -831
  324. package/node_modules/cheerio/dist/esm/api/manipulation.js.map +0 -1
  325. package/node_modules/cheerio/dist/esm/api/traversing.d.ts +0 -657
  326. package/node_modules/cheerio/dist/esm/api/traversing.d.ts.map +0 -1
  327. package/node_modules/cheerio/dist/esm/api/traversing.js +0 -857
  328. package/node_modules/cheerio/dist/esm/api/traversing.js.map +0 -1
  329. package/node_modules/cheerio/dist/esm/cheerio.d.ts +0 -85
  330. package/node_modules/cheerio/dist/esm/cheerio.d.ts.map +0 -1
  331. package/node_modules/cheerio/dist/esm/cheerio.js +0 -58
  332. package/node_modules/cheerio/dist/esm/cheerio.js.map +0 -1
  333. package/node_modules/cheerio/dist/esm/index.d.ts +0 -104
  334. package/node_modules/cheerio/dist/esm/index.d.ts.map +0 -1
  335. package/node_modules/cheerio/dist/esm/index.js +0 -202
  336. package/node_modules/cheerio/dist/esm/index.js.map +0 -1
  337. package/node_modules/cheerio/dist/esm/load-parse.d.ts +0 -20
  338. package/node_modules/cheerio/dist/esm/load-parse.d.ts.map +0 -1
  339. package/node_modules/cheerio/dist/esm/load-parse.js +0 -28
  340. package/node_modules/cheerio/dist/esm/load-parse.js.map +0 -1
  341. package/node_modules/cheerio/dist/esm/load.d.ts +0 -91
  342. package/node_modules/cheerio/dist/esm/load.d.ts.map +0 -1
  343. package/node_modules/cheerio/dist/esm/load.js +0 -129
  344. package/node_modules/cheerio/dist/esm/load.js.map +0 -1
  345. package/node_modules/cheerio/dist/esm/options.d.ts +0 -98
  346. package/node_modules/cheerio/dist/esm/options.d.ts.map +0 -1
  347. package/node_modules/cheerio/dist/esm/options.js +0 -34
  348. package/node_modules/cheerio/dist/esm/options.js.map +0 -1
  349. package/node_modules/cheerio/dist/esm/package.json +0 -3
  350. package/node_modules/cheerio/dist/esm/parse.d.ts +0 -18
  351. package/node_modules/cheerio/dist/esm/parse.d.ts.map +0 -1
  352. package/node_modules/cheerio/dist/esm/parse.js +0 -73
  353. package/node_modules/cheerio/dist/esm/parse.js.map +0 -1
  354. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts +0 -20
  355. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts.map +0 -1
  356. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js +0 -50
  357. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js.map +0 -1
  358. package/node_modules/cheerio/dist/esm/slim.d.ts +0 -25
  359. package/node_modules/cheerio/dist/esm/slim.d.ts.map +0 -1
  360. package/node_modules/cheerio/dist/esm/slim.js +0 -22
  361. package/node_modules/cheerio/dist/esm/slim.js.map +0 -1
  362. package/node_modules/cheerio/dist/esm/static.d.ts +0 -112
  363. package/node_modules/cheerio/dist/esm/static.d.ts.map +0 -1
  364. package/node_modules/cheerio/dist/esm/static.js +0 -204
  365. package/node_modules/cheerio/dist/esm/static.js.map +0 -1
  366. package/node_modules/cheerio/dist/esm/types.d.ts +0 -21
  367. package/node_modules/cheerio/dist/esm/types.d.ts.map +0 -1
  368. package/node_modules/cheerio/dist/esm/types.js +0 -3
  369. package/node_modules/cheerio/dist/esm/types.js.map +0 -1
  370. package/node_modules/cheerio/dist/esm/utils.d.ts +0 -55
  371. package/node_modules/cheerio/dist/esm/utils.d.ts.map +0 -1
  372. package/node_modules/cheerio/dist/esm/utils.js +0 -84
  373. package/node_modules/cheerio/dist/esm/utils.js.map +0 -1
  374. package/node_modules/cheerio/node_modules/undici/LICENSE +0 -21
  375. package/node_modules/cheerio/node_modules/undici/README.md +0 -741
  376. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Agent.md +0 -84
  377. package/node_modules/cheerio/node_modules/undici/docs/docs/api/BalancedPool.md +0 -99
  378. package/node_modules/cheerio/node_modules/undici/docs/docs/api/CacheStorage.md +0 -30
  379. package/node_modules/cheerio/node_modules/undici/docs/docs/api/CacheStore.md +0 -164
  380. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Client.md +0 -285
  381. package/node_modules/cheerio/node_modules/undici/docs/docs/api/ClientStats.md +0 -27
  382. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Connector.md +0 -115
  383. package/node_modules/cheerio/node_modules/undici/docs/docs/api/ContentType.md +0 -57
  384. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Cookies.md +0 -101
  385. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Debug.md +0 -62
  386. package/node_modules/cheerio/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -315
  387. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Dispatcher.md +0 -1392
  388. package/node_modules/cheerio/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -159
  389. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Errors.md +0 -49
  390. package/node_modules/cheerio/node_modules/undici/docs/docs/api/EventSource.md +0 -45
  391. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Fetch.md +0 -60
  392. package/node_modules/cheerio/node_modules/undici/docs/docs/api/GlobalInstallation.md +0 -139
  393. package/node_modules/cheerio/node_modules/undici/docs/docs/api/H2CClient.md +0 -263
  394. package/node_modules/cheerio/node_modules/undici/docs/docs/api/MockAgent.md +0 -603
  395. package/node_modules/cheerio/node_modules/undici/docs/docs/api/MockCallHistory.md +0 -197
  396. package/node_modules/cheerio/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +0 -43
  397. package/node_modules/cheerio/node_modules/undici/docs/docs/api/MockClient.md +0 -81
  398. package/node_modules/cheerio/node_modules/undici/docs/docs/api/MockErrors.md +0 -12
  399. package/node_modules/cheerio/node_modules/undici/docs/docs/api/MockPool.md +0 -555
  400. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Pool.md +0 -84
  401. package/node_modules/cheerio/node_modules/undici/docs/docs/api/PoolStats.md +0 -35
  402. package/node_modules/cheerio/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -229
  403. package/node_modules/cheerio/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -93
  404. package/node_modules/cheerio/node_modules/undici/docs/docs/api/RetryAgent.md +0 -50
  405. package/node_modules/cheerio/node_modules/undici/docs/docs/api/RetryHandler.md +0 -118
  406. package/node_modules/cheerio/node_modules/undici/docs/docs/api/RoundRobinPool.md +0 -145
  407. package/node_modules/cheerio/node_modules/undici/docs/docs/api/SnapshotAgent.md +0 -616
  408. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +0 -274
  409. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Util.md +0 -25
  410. package/node_modules/cheerio/node_modules/undici/docs/docs/api/WebSocket.md +0 -141
  411. package/node_modules/cheerio/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -91
  412. package/node_modules/cheerio/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -64
  413. package/node_modules/cheerio/node_modules/undici/docs/docs/best-practices/crawling.md +0 -58
  414. package/node_modules/cheerio/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -190
  415. package/node_modules/cheerio/node_modules/undici/docs/docs/best-practices/proxy.md +0 -127
  416. package/node_modules/cheerio/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -224
  417. package/node_modules/cheerio/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -63
  418. package/node_modules/cheerio/node_modules/undici/index-fetch.js +0 -65
  419. package/node_modules/cheerio/node_modules/undici/index.d.ts +0 -3
  420. package/node_modules/cheerio/node_modules/undici/index.js +0 -234
  421. package/node_modules/cheerio/node_modules/undici/lib/api/abort-signal.js +0 -59
  422. package/node_modules/cheerio/node_modules/undici/lib/api/api-connect.js +0 -110
  423. package/node_modules/cheerio/node_modules/undici/lib/api/api-pipeline.js +0 -252
  424. package/node_modules/cheerio/node_modules/undici/lib/api/api-request.js +0 -214
  425. package/node_modules/cheerio/node_modules/undici/lib/api/api-stream.js +0 -209
  426. package/node_modules/cheerio/node_modules/undici/lib/api/api-upgrade.js +0 -111
  427. package/node_modules/cheerio/node_modules/undici/lib/api/index.js +0 -7
  428. package/node_modules/cheerio/node_modules/undici/lib/api/readable.js +0 -580
  429. package/node_modules/cheerio/node_modules/undici/lib/cache/memory-cache-store.js +0 -234
  430. package/node_modules/cheerio/node_modules/undici/lib/cache/sqlite-cache-store.js +0 -461
  431. package/node_modules/cheerio/node_modules/undici/lib/core/connect.js +0 -153
  432. package/node_modules/cheerio/node_modules/undici/lib/core/constants.js +0 -143
  433. package/node_modules/cheerio/node_modules/undici/lib/core/diagnostics.js +0 -227
  434. package/node_modules/cheerio/node_modules/undici/lib/core/errors.js +0 -477
  435. package/node_modules/cheerio/node_modules/undici/lib/core/request.js +0 -453
  436. package/node_modules/cheerio/node_modules/undici/lib/core/socks5-client.js +0 -412
  437. package/node_modules/cheerio/node_modules/undici/lib/core/socks5-utils.js +0 -198
  438. package/node_modules/cheerio/node_modules/undici/lib/core/symbols.js +0 -75
  439. package/node_modules/cheerio/node_modules/undici/lib/core/tree.js +0 -160
  440. package/node_modules/cheerio/node_modules/undici/lib/core/util.js +0 -992
  441. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/agent.js +0 -158
  442. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -219
  443. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/client-h1.js +0 -1654
  444. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/client-h2.js +0 -995
  445. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/client.js +0 -663
  446. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -165
  447. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/dispatcher.js +0 -48
  448. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -146
  449. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -135
  450. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/h2c-client.js +0 -51
  451. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/pool-base.js +0 -214
  452. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/pool.js +0 -118
  453. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -318
  454. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/retry-agent.js +0 -35
  455. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/round-robin-pool.js +0 -137
  456. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +0 -249
  457. package/node_modules/cheerio/node_modules/undici/lib/encoding/index.js +0 -33
  458. package/node_modules/cheerio/node_modules/undici/lib/global.js +0 -50
  459. package/node_modules/cheerio/node_modules/undici/lib/handler/cache-handler.js +0 -578
  460. package/node_modules/cheerio/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -124
  461. package/node_modules/cheerio/node_modules/undici/lib/handler/decorator-handler.js +0 -67
  462. package/node_modules/cheerio/node_modules/undici/lib/handler/deduplication-handler.js +0 -460
  463. package/node_modules/cheerio/node_modules/undici/lib/handler/redirect-handler.js +0 -238
  464. package/node_modules/cheerio/node_modules/undici/lib/handler/retry-handler.js +0 -394
  465. package/node_modules/cheerio/node_modules/undici/lib/handler/unwrap-handler.js +0 -100
  466. package/node_modules/cheerio/node_modules/undici/lib/handler/wrap-handler.js +0 -105
  467. package/node_modules/cheerio/node_modules/undici/lib/interceptor/cache.js +0 -495
  468. package/node_modules/cheerio/node_modules/undici/lib/interceptor/decompress.js +0 -259
  469. package/node_modules/cheerio/node_modules/undici/lib/interceptor/deduplicate.js +0 -117
  470. package/node_modules/cheerio/node_modules/undici/lib/interceptor/dns.js +0 -571
  471. package/node_modules/cheerio/node_modules/undici/lib/interceptor/dump.js +0 -112
  472. package/node_modules/cheerio/node_modules/undici/lib/interceptor/redirect.js +0 -21
  473. package/node_modules/cheerio/node_modules/undici/lib/interceptor/response-error.js +0 -95
  474. package/node_modules/cheerio/node_modules/undici/lib/interceptor/retry.js +0 -19
  475. package/node_modules/cheerio/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  476. package/node_modules/cheerio/node_modules/undici/lib/llhttp/constants.d.ts +0 -195
  477. package/node_modules/cheerio/node_modules/undici/lib/llhttp/constants.js +0 -531
  478. package/node_modules/cheerio/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -15
  479. package/node_modules/cheerio/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -15
  480. package/node_modules/cheerio/node_modules/undici/lib/llhttp/utils.d.ts +0 -2
  481. package/node_modules/cheerio/node_modules/undici/lib/llhttp/utils.js +0 -12
  482. package/node_modules/cheerio/node_modules/undici/lib/mock/mock-agent.js +0 -232
  483. package/node_modules/cheerio/node_modules/undici/lib/mock/mock-call-history.js +0 -248
  484. package/node_modules/cheerio/node_modules/undici/lib/mock/mock-client.js +0 -68
  485. package/node_modules/cheerio/node_modules/undici/lib/mock/mock-errors.js +0 -29
  486. package/node_modules/cheerio/node_modules/undici/lib/mock/mock-interceptor.js +0 -209
  487. package/node_modules/cheerio/node_modules/undici/lib/mock/mock-pool.js +0 -68
  488. package/node_modules/cheerio/node_modules/undici/lib/mock/mock-symbols.js +0 -32
  489. package/node_modules/cheerio/node_modules/undici/lib/mock/mock-utils.js +0 -486
  490. package/node_modules/cheerio/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
  491. package/node_modules/cheerio/node_modules/undici/lib/mock/snapshot-agent.js +0 -353
  492. package/node_modules/cheerio/node_modules/undici/lib/mock/snapshot-recorder.js +0 -588
  493. package/node_modules/cheerio/node_modules/undici/lib/mock/snapshot-utils.js +0 -158
  494. package/node_modules/cheerio/node_modules/undici/lib/util/cache.js +0 -408
  495. package/node_modules/cheerio/node_modules/undici/lib/util/date.js +0 -653
  496. package/node_modules/cheerio/node_modules/undici/lib/util/promise.js +0 -28
  497. package/node_modules/cheerio/node_modules/undici/lib/util/runtime-features.js +0 -124
  498. package/node_modules/cheerio/node_modules/undici/lib/util/stats.js +0 -32
  499. package/node_modules/cheerio/node_modules/undici/lib/util/timers.js +0 -425
  500. package/node_modules/cheerio/node_modules/undici/lib/web/cache/cache.js +0 -864
  501. package/node_modules/cheerio/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
  502. package/node_modules/cheerio/node_modules/undici/lib/web/cache/util.js +0 -45
  503. package/node_modules/cheerio/node_modules/undici/lib/web/cookies/constants.js +0 -12
  504. package/node_modules/cheerio/node_modules/undici/lib/web/cookies/index.js +0 -199
  505. package/node_modules/cheerio/node_modules/undici/lib/web/cookies/parse.js +0 -322
  506. package/node_modules/cheerio/node_modules/undici/lib/web/cookies/util.js +0 -282
  507. package/node_modules/cheerio/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -399
  508. package/node_modules/cheerio/node_modules/undici/lib/web/eventsource/eventsource.js +0 -501
  509. package/node_modules/cheerio/node_modules/undici/lib/web/eventsource/util.js +0 -29
  510. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/LICENSE +0 -21
  511. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/body.js +0 -509
  512. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/constants.js +0 -131
  513. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/data-url.js +0 -596
  514. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -586
  515. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/formdata.js +0 -259
  516. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/global.js +0 -40
  517. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/headers.js +0 -719
  518. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/index.js +0 -2413
  519. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/request.js +0 -1115
  520. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/response.js +0 -641
  521. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/util.js +0 -1522
  522. package/node_modules/cheerio/node_modules/undici/lib/web/infra/index.js +0 -229
  523. package/node_modules/cheerio/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
  524. package/node_modules/cheerio/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +0 -307
  525. package/node_modules/cheerio/node_modules/undici/lib/web/webidl/index.js +0 -1006
  526. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/connection.js +0 -329
  527. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/constants.js +0 -126
  528. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/events.js +0 -331
  529. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/frame.js +0 -133
  530. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -118
  531. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/receiver.js +0 -450
  532. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/sender.js +0 -109
  533. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/stream/websocketerror.js +0 -104
  534. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/stream/websocketstream.js +0 -491
  535. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/util.js +0 -347
  536. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/websocket.js +0 -751
  537. package/node_modules/cheerio/node_modules/undici/package.json +0 -152
  538. package/node_modules/cheerio/node_modules/undici/scripts/strip-comments.js +0 -10
  539. package/node_modules/cheerio/node_modules/undici/types/README.md +0 -6
  540. package/node_modules/cheerio/node_modules/undici/types/agent.d.ts +0 -32
  541. package/node_modules/cheerio/node_modules/undici/types/api.d.ts +0 -43
  542. package/node_modules/cheerio/node_modules/undici/types/balanced-pool.d.ts +0 -30
  543. package/node_modules/cheerio/node_modules/undici/types/cache-interceptor.d.ts +0 -179
  544. package/node_modules/cheerio/node_modules/undici/types/cache.d.ts +0 -36
  545. package/node_modules/cheerio/node_modules/undici/types/client-stats.d.ts +0 -15
  546. package/node_modules/cheerio/node_modules/undici/types/client.d.ts +0 -123
  547. package/node_modules/cheerio/node_modules/undici/types/connector.d.ts +0 -36
  548. package/node_modules/cheerio/node_modules/undici/types/content-type.d.ts +0 -21
  549. package/node_modules/cheerio/node_modules/undici/types/cookies.d.ts +0 -30
  550. package/node_modules/cheerio/node_modules/undici/types/diagnostics-channel.d.ts +0 -74
  551. package/node_modules/cheerio/node_modules/undici/types/dispatcher.d.ts +0 -273
  552. package/node_modules/cheerio/node_modules/undici/types/env-http-proxy-agent.d.ts +0 -22
  553. package/node_modules/cheerio/node_modules/undici/types/errors.d.ts +0 -177
  554. package/node_modules/cheerio/node_modules/undici/types/eventsource.d.ts +0 -66
  555. package/node_modules/cheerio/node_modules/undici/types/fetch.d.ts +0 -231
  556. package/node_modules/cheerio/node_modules/undici/types/formdata.d.ts +0 -114
  557. package/node_modules/cheerio/node_modules/undici/types/global-dispatcher.d.ts +0 -9
  558. package/node_modules/cheerio/node_modules/undici/types/global-origin.d.ts +0 -7
  559. package/node_modules/cheerio/node_modules/undici/types/h2c-client.d.ts +0 -73
  560. package/node_modules/cheerio/node_modules/undici/types/handlers.d.ts +0 -14
  561. package/node_modules/cheerio/node_modules/undici/types/header.d.ts +0 -160
  562. package/node_modules/cheerio/node_modules/undici/types/index.d.ts +0 -91
  563. package/node_modules/cheerio/node_modules/undici/types/interceptors.d.ts +0 -80
  564. package/node_modules/cheerio/node_modules/undici/types/mock-agent.d.ts +0 -68
  565. package/node_modules/cheerio/node_modules/undici/types/mock-call-history.d.ts +0 -111
  566. package/node_modules/cheerio/node_modules/undici/types/mock-client.d.ts +0 -27
  567. package/node_modules/cheerio/node_modules/undici/types/mock-errors.d.ts +0 -12
  568. package/node_modules/cheerio/node_modules/undici/types/mock-interceptor.d.ts +0 -94
  569. package/node_modules/cheerio/node_modules/undici/types/mock-pool.d.ts +0 -27
  570. package/node_modules/cheerio/node_modules/undici/types/patch.d.ts +0 -29
  571. package/node_modules/cheerio/node_modules/undici/types/pool-stats.d.ts +0 -19
  572. package/node_modules/cheerio/node_modules/undici/types/pool.d.ts +0 -41
  573. package/node_modules/cheerio/node_modules/undici/types/proxy-agent.d.ts +0 -29
  574. package/node_modules/cheerio/node_modules/undici/types/readable.d.ts +0 -68
  575. package/node_modules/cheerio/node_modules/undici/types/retry-agent.d.ts +0 -8
  576. package/node_modules/cheerio/node_modules/undici/types/retry-handler.d.ts +0 -125
  577. package/node_modules/cheerio/node_modules/undici/types/round-robin-pool.d.ts +0 -41
  578. package/node_modules/cheerio/node_modules/undici/types/snapshot-agent.d.ts +0 -109
  579. package/node_modules/cheerio/node_modules/undici/types/socks5-proxy-agent.d.ts +0 -25
  580. package/node_modules/cheerio/node_modules/undici/types/util.d.ts +0 -18
  581. package/node_modules/cheerio/node_modules/undici/types/utility.d.ts +0 -7
  582. package/node_modules/cheerio/node_modules/undici/types/webidl.d.ts +0 -347
  583. package/node_modules/cheerio/node_modules/undici/types/websocket.d.ts +0 -188
  584. package/node_modules/cheerio/package.json +0 -182
  585. package/node_modules/cheerio/src/api/attributes.ts +0 -1145
  586. package/node_modules/cheerio/src/api/css.ts +0 -224
  587. package/node_modules/cheerio/src/api/extract.ts +0 -92
  588. package/node_modules/cheerio/src/api/forms.ts +0 -103
  589. package/node_modules/cheerio/src/api/manipulation.ts +0 -1115
  590. package/node_modules/cheerio/src/api/traversing.ts +0 -1175
  591. package/node_modules/cheerio/src/cheerio.ts +0 -143
  592. package/node_modules/cheerio/src/index-browser.mts +0 -10
  593. package/node_modules/cheerio/src/index.ts +0 -294
  594. package/node_modules/cheerio/src/load-parse.ts +0 -39
  595. package/node_modules/cheerio/src/load.ts +0 -282
  596. package/node_modules/cheerio/src/options.ts +0 -136
  597. package/node_modules/cheerio/src/parse.ts +0 -105
  598. package/node_modules/cheerio/src/parsers/parse5-adapter.ts +0 -66
  599. package/node_modules/cheerio/src/slim.ts +0 -33
  600. package/node_modules/cheerio/src/static.ts +0 -312
  601. package/node_modules/cheerio/src/types.ts +0 -58
  602. package/node_modules/cheerio/src/utils.ts +0 -99
  603. package/node_modules/cheerio-select/README.md +0 -18
  604. package/node_modules/cheerio-select/lib/esm/helpers.d.ts +0 -5
  605. package/node_modules/cheerio-select/lib/esm/helpers.d.ts.map +0 -1
  606. package/node_modules/cheerio-select/lib/esm/helpers.js +0 -20
  607. package/node_modules/cheerio-select/lib/esm/helpers.js.map +0 -1
  608. package/node_modules/cheerio-select/lib/esm/index.d.ts +0 -12
  609. package/node_modules/cheerio-select/lib/esm/index.d.ts.map +0 -1
  610. package/node_modules/cheerio-select/lib/esm/index.js +0 -241
  611. package/node_modules/cheerio-select/lib/esm/index.js.map +0 -1
  612. package/node_modules/cheerio-select/lib/esm/package.json +0 -1
  613. package/node_modules/cheerio-select/lib/esm/positionals.d.ts +0 -10
  614. package/node_modules/cheerio-select/lib/esm/positionals.d.ts.map +0 -1
  615. package/node_modules/cheerio-select/lib/esm/positionals.js +0 -47
  616. package/node_modules/cheerio-select/lib/esm/positionals.js.map +0 -1
  617. package/node_modules/cheerio-select/lib/helpers.d.ts +0 -5
  618. package/node_modules/cheerio-select/lib/helpers.d.ts.map +0 -1
  619. package/node_modules/cheerio-select/lib/helpers.js +0 -26
  620. package/node_modules/cheerio-select/lib/helpers.js.map +0 -1
  621. package/node_modules/cheerio-select/lib/index.d.ts +0 -12
  622. package/node_modules/cheerio-select/lib/index.d.ts.map +0 -1
  623. package/node_modules/cheerio-select/lib/index.js +0 -302
  624. package/node_modules/cheerio-select/lib/index.js.map +0 -1
  625. package/node_modules/cheerio-select/lib/positionals.d.ts +0 -10
  626. package/node_modules/cheerio-select/lib/positionals.d.ts.map +0 -1
  627. package/node_modules/cheerio-select/lib/positionals.js +0 -52
  628. package/node_modules/cheerio-select/lib/positionals.js.map +0 -1
  629. package/node_modules/cheerio-select/package.json +0 -76
  630. package/node_modules/css-select/README.md +0 -264
  631. package/node_modules/css-select/lib/attributes.d.ts +0 -7
  632. package/node_modules/css-select/lib/attributes.d.ts.map +0 -1
  633. package/node_modules/css-select/lib/attributes.js +0 -236
  634. package/node_modules/css-select/lib/attributes.js.map +0 -1
  635. package/node_modules/css-select/lib/compile.d.ts +0 -13
  636. package/node_modules/css-select/lib/compile.d.ts.map +0 -1
  637. package/node_modules/css-select/lib/compile.js +0 -151
  638. package/node_modules/css-select/lib/compile.js.map +0 -1
  639. package/node_modules/css-select/lib/esm/attributes.d.ts +0 -7
  640. package/node_modules/css-select/lib/esm/attributes.d.ts.map +0 -1
  641. package/node_modules/css-select/lib/esm/attributes.js +0 -222
  642. package/node_modules/css-select/lib/esm/attributes.js.map +0 -1
  643. package/node_modules/css-select/lib/esm/compile.d.ts +0 -13
  644. package/node_modules/css-select/lib/esm/compile.d.ts.map +0 -1
  645. package/node_modules/css-select/lib/esm/compile.js +0 -115
  646. package/node_modules/css-select/lib/esm/compile.js.map +0 -1
  647. package/node_modules/css-select/lib/esm/general.d.ts +0 -3
  648. package/node_modules/css-select/lib/esm/general.d.ts.map +0 -1
  649. package/node_modules/css-select/lib/esm/general.js +0 -144
  650. package/node_modules/css-select/lib/esm/general.js.map +0 -1
  651. package/node_modules/css-select/lib/esm/index.d.ts +0 -50
  652. package/node_modules/css-select/lib/esm/index.d.ts.map +0 -1
  653. package/node_modules/css-select/lib/esm/index.js +0 -115
  654. package/node_modules/css-select/lib/esm/index.js.map +0 -1
  655. package/node_modules/css-select/lib/esm/package.json +0 -1
  656. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts +0 -5
  657. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts.map +0 -1
  658. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js +0 -35
  659. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js.map +0 -1
  660. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts +0 -4
  661. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts.map +0 -1
  662. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js +0 -143
  663. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js.map +0 -1
  664. package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts +0 -8
  665. package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts.map +0 -1
  666. package/node_modules/css-select/lib/esm/pseudo-selectors/index.js +0 -40
  667. package/node_modules/css-select/lib/esm/pseudo-selectors/index.js.map +0 -1
  668. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts +0 -6
  669. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts.map +0 -1
  670. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js +0 -79
  671. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js.map +0 -1
  672. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts +0 -9
  673. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts.map +0 -1
  674. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js +0 -94
  675. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js.map +0 -1
  676. package/node_modules/css-select/lib/esm/sort.d.ts +0 -12
  677. package/node_modules/css-select/lib/esm/sort.d.ts.map +0 -1
  678. package/node_modules/css-select/lib/esm/sort.js +0 -79
  679. package/node_modules/css-select/lib/esm/sort.js.map +0 -1
  680. package/node_modules/css-select/lib/esm/types.d.ts +0 -167
  681. package/node_modules/css-select/lib/esm/types.d.ts.map +0 -1
  682. package/node_modules/css-select/lib/esm/types.js +0 -2
  683. package/node_modules/css-select/lib/esm/types.js.map +0 -1
  684. package/node_modules/css-select/lib/general.d.ts +0 -3
  685. package/node_modules/css-select/lib/general.d.ts.map +0 -1
  686. package/node_modules/css-select/lib/general.js +0 -148
  687. package/node_modules/css-select/lib/general.js.map +0 -1
  688. package/node_modules/css-select/lib/index.d.ts +0 -50
  689. package/node_modules/css-select/lib/index.d.ts.map +0 -1
  690. package/node_modules/css-select/lib/index.js +0 -154
  691. package/node_modules/css-select/lib/index.js.map +0 -1
  692. package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts +0 -5
  693. package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map +0 -1
  694. package/node_modules/css-select/lib/pseudo-selectors/aliases.js +0 -34
  695. package/node_modules/css-select/lib/pseudo-selectors/aliases.js.map +0 -1
  696. package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts +0 -4
  697. package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map +0 -1
  698. package/node_modules/css-select/lib/pseudo-selectors/filters.js +0 -157
  699. package/node_modules/css-select/lib/pseudo-selectors/filters.js.map +0 -1
  700. package/node_modules/css-select/lib/pseudo-selectors/index.d.ts +0 -8
  701. package/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map +0 -1
  702. package/node_modules/css-select/lib/pseudo-selectors/index.js +0 -46
  703. package/node_modules/css-select/lib/pseudo-selectors/index.js.map +0 -1
  704. package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts +0 -6
  705. package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map +0 -1
  706. package/node_modules/css-select/lib/pseudo-selectors/pseudos.js +0 -93
  707. package/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map +0 -1
  708. package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts +0 -9
  709. package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map +0 -1
  710. package/node_modules/css-select/lib/pseudo-selectors/subselects.js +0 -112
  711. package/node_modules/css-select/lib/pseudo-selectors/subselects.js.map +0 -1
  712. package/node_modules/css-select/lib/sort.d.ts +0 -12
  713. package/node_modules/css-select/lib/sort.d.ts.map +0 -1
  714. package/node_modules/css-select/lib/sort.js +0 -84
  715. package/node_modules/css-select/lib/sort.js.map +0 -1
  716. package/node_modules/css-select/lib/types.d.ts +0 -167
  717. package/node_modules/css-select/lib/types.d.ts.map +0 -1
  718. package/node_modules/css-select/lib/types.js +0 -3
  719. package/node_modules/css-select/lib/types.js.map +0 -1
  720. package/node_modules/css-select/package.json +0 -81
  721. package/node_modules/css-what/lib/commonjs/index.d.ts +0 -4
  722. package/node_modules/css-what/lib/commonjs/index.d.ts.map +0 -1
  723. package/node_modules/css-what/lib/commonjs/index.js +0 -23
  724. package/node_modules/css-what/lib/commonjs/parse.d.ts +0 -20
  725. package/node_modules/css-what/lib/commonjs/parse.d.ts.map +0 -1
  726. package/node_modules/css-what/lib/commonjs/parse.js +0 -425
  727. package/node_modules/css-what/lib/commonjs/stringify.d.ts +0 -8
  728. package/node_modules/css-what/lib/commonjs/stringify.d.ts.map +0 -1
  729. package/node_modules/css-what/lib/commonjs/stringify.js +0 -138
  730. package/node_modules/css-what/lib/commonjs/types.d.ts +0 -70
  731. package/node_modules/css-what/lib/commonjs/types.d.ts.map +0 -1
  732. package/node_modules/css-what/lib/commonjs/types.js +0 -42
  733. package/node_modules/css-what/lib/es/index.d.ts +0 -4
  734. package/node_modules/css-what/lib/es/index.d.ts.map +0 -1
  735. package/node_modules/css-what/lib/es/index.js +0 -3
  736. package/node_modules/css-what/lib/es/parse.d.ts +0 -20
  737. package/node_modules/css-what/lib/es/parse.d.ts.map +0 -1
  738. package/node_modules/css-what/lib/es/parse.js +0 -420
  739. package/node_modules/css-what/lib/es/stringify.d.ts +0 -8
  740. package/node_modules/css-what/lib/es/stringify.d.ts.map +0 -1
  741. package/node_modules/css-what/lib/es/stringify.js +0 -126
  742. package/node_modules/css-what/lib/es/types.d.ts +0 -70
  743. package/node_modules/css-what/lib/es/types.d.ts.map +0 -1
  744. package/node_modules/css-what/lib/es/types.js +0 -39
  745. package/node_modules/css-what/package.json +0 -59
  746. package/node_modules/css-what/readme.md +0 -69
  747. package/node_modules/dom-serializer/LICENSE +0 -11
  748. package/node_modules/dom-serializer/README.md +0 -109
  749. package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts +0 -3
  750. package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts.map +0 -1
  751. package/node_modules/dom-serializer/lib/esm/foreignNames.js +0 -100
  752. package/node_modules/dom-serializer/lib/esm/index.d.ts +0 -52
  753. package/node_modules/dom-serializer/lib/esm/index.d.ts.map +0 -1
  754. package/node_modules/dom-serializer/lib/esm/index.js +0 -190
  755. package/node_modules/dom-serializer/lib/esm/package.json +0 -1
  756. package/node_modules/dom-serializer/lib/foreignNames.d.ts +0 -3
  757. package/node_modules/dom-serializer/lib/foreignNames.d.ts.map +0 -1
  758. package/node_modules/dom-serializer/lib/foreignNames.js +0 -103
  759. package/node_modules/dom-serializer/lib/index.d.ts +0 -52
  760. package/node_modules/dom-serializer/lib/index.d.ts.map +0 -1
  761. package/node_modules/dom-serializer/lib/index.js +0 -229
  762. package/node_modules/dom-serializer/package.json +0 -69
  763. package/node_modules/domelementtype/LICENSE +0 -11
  764. package/node_modules/domelementtype/lib/esm/index.d.ts +0 -48
  765. package/node_modules/domelementtype/lib/esm/index.d.ts.map +0 -1
  766. package/node_modules/domelementtype/lib/esm/index.js +0 -51
  767. package/node_modules/domelementtype/lib/esm/package.json +0 -1
  768. package/node_modules/domelementtype/lib/index.d.ts +0 -48
  769. package/node_modules/domelementtype/lib/index.d.ts.map +0 -1
  770. package/node_modules/domelementtype/lib/index.js +0 -55
  771. package/node_modules/domelementtype/package.json +0 -54
  772. package/node_modules/domhandler/LICENSE +0 -11
  773. package/node_modules/domhandler/lib/esm/index.d.ts +0 -76
  774. package/node_modules/domhandler/lib/esm/index.d.ts.map +0 -1
  775. package/node_modules/domhandler/lib/esm/index.js +0 -146
  776. package/node_modules/domhandler/lib/esm/node.d.ts +0 -245
  777. package/node_modules/domhandler/lib/esm/node.d.ts.map +0 -1
  778. package/node_modules/domhandler/lib/esm/node.js +0 -338
  779. package/node_modules/domhandler/lib/esm/package.json +0 -1
  780. package/node_modules/domhandler/lib/index.d.ts +0 -76
  781. package/node_modules/domhandler/lib/index.d.ts.map +0 -1
  782. package/node_modules/domhandler/lib/index.js +0 -165
  783. package/node_modules/domhandler/lib/node.d.ts +0 -245
  784. package/node_modules/domhandler/lib/node.d.ts.map +0 -1
  785. package/node_modules/domhandler/lib/node.js +0 -474
  786. package/node_modules/domhandler/package.json +0 -73
  787. package/node_modules/domhandler/readme.md +0 -92
  788. package/node_modules/domutils/LICENSE +0 -11
  789. package/node_modules/domutils/lib/esm/feeds.d.ts +0 -71
  790. package/node_modules/domutils/lib/esm/feeds.d.ts.map +0 -1
  791. package/node_modules/domutils/lib/esm/feeds.js +0 -183
  792. package/node_modules/domutils/lib/esm/feeds.js.map +0 -1
  793. package/node_modules/domutils/lib/esm/helpers.d.ts +0 -59
  794. package/node_modules/domutils/lib/esm/helpers.d.ts.map +0 -1
  795. package/node_modules/domutils/lib/esm/helpers.js +0 -136
  796. package/node_modules/domutils/lib/esm/helpers.js.map +0 -1
  797. package/node_modules/domutils/lib/esm/index.d.ts +0 -10
  798. package/node_modules/domutils/lib/esm/index.d.ts.map +0 -1
  799. package/node_modules/domutils/lib/esm/index.js +0 -10
  800. package/node_modules/domutils/lib/esm/index.js.map +0 -1
  801. package/node_modules/domutils/lib/esm/legacy.d.ts +0 -79
  802. package/node_modules/domutils/lib/esm/legacy.d.ts.map +0 -1
  803. package/node_modules/domutils/lib/esm/legacy.js +0 -152
  804. package/node_modules/domutils/lib/esm/legacy.js.map +0 -1
  805. package/node_modules/domutils/lib/esm/manipulation.d.ts +0 -49
  806. package/node_modules/domutils/lib/esm/manipulation.d.ts.map +0 -1
  807. package/node_modules/domutils/lib/esm/manipulation.js +0 -134
  808. package/node_modules/domutils/lib/esm/manipulation.js.map +0 -1
  809. package/node_modules/domutils/lib/esm/package.json +0 -1
  810. package/node_modules/domutils/lib/esm/querying.d.ts +0 -64
  811. package/node_modules/domutils/lib/esm/querying.d.ts.map +0 -1
  812. package/node_modules/domutils/lib/esm/querying.js +0 -142
  813. package/node_modules/domutils/lib/esm/querying.js.map +0 -1
  814. package/node_modules/domutils/lib/esm/stringify.d.ts +0 -46
  815. package/node_modules/domutils/lib/esm/stringify.d.ts.map +0 -1
  816. package/node_modules/domutils/lib/esm/stringify.js +0 -81
  817. package/node_modules/domutils/lib/esm/stringify.js.map +0 -1
  818. package/node_modules/domutils/lib/esm/traversal.d.ts +0 -67
  819. package/node_modules/domutils/lib/esm/traversal.d.ts.map +0 -1
  820. package/node_modules/domutils/lib/esm/traversal.js +0 -112
  821. package/node_modules/domutils/lib/esm/traversal.js.map +0 -1
  822. package/node_modules/domutils/lib/feeds.d.ts +0 -71
  823. package/node_modules/domutils/lib/feeds.d.ts.map +0 -1
  824. package/node_modules/domutils/lib/feeds.js +0 -190
  825. package/node_modules/domutils/lib/feeds.js.map +0 -1
  826. package/node_modules/domutils/lib/helpers.d.ts +0 -59
  827. package/node_modules/domutils/lib/helpers.d.ts.map +0 -1
  828. package/node_modules/domutils/lib/helpers.js +0 -142
  829. package/node_modules/domutils/lib/helpers.js.map +0 -1
  830. package/node_modules/domutils/lib/index.d.ts +0 -10
  831. package/node_modules/domutils/lib/index.d.ts.map +0 -1
  832. package/node_modules/domutils/lib/index.js +0 -33
  833. package/node_modules/domutils/lib/index.js.map +0 -1
  834. package/node_modules/domutils/lib/legacy.d.ts +0 -79
  835. package/node_modules/domutils/lib/legacy.d.ts.map +0 -1
  836. package/node_modules/domutils/lib/legacy.js +0 -168
  837. package/node_modules/domutils/lib/legacy.js.map +0 -1
  838. package/node_modules/domutils/lib/manipulation.d.ts +0 -49
  839. package/node_modules/domutils/lib/manipulation.d.ts.map +0 -1
  840. package/node_modules/domutils/lib/manipulation.js +0 -142
  841. package/node_modules/domutils/lib/manipulation.js.map +0 -1
  842. package/node_modules/domutils/lib/querying.d.ts +0 -64
  843. package/node_modules/domutils/lib/querying.d.ts.map +0 -1
  844. package/node_modules/domutils/lib/querying.js +0 -155
  845. package/node_modules/domutils/lib/querying.js.map +0 -1
  846. package/node_modules/domutils/lib/stringify.d.ts +0 -46
  847. package/node_modules/domutils/lib/stringify.d.ts.map +0 -1
  848. package/node_modules/domutils/lib/stringify.js +0 -91
  849. package/node_modules/domutils/lib/stringify.js.map +0 -1
  850. package/node_modules/domutils/lib/traversal.d.ts +0 -67
  851. package/node_modules/domutils/lib/traversal.d.ts.map +0 -1
  852. package/node_modules/domutils/lib/traversal.js +0 -125
  853. package/node_modules/domutils/lib/traversal.js.map +0 -1
  854. package/node_modules/domutils/package.json +0 -79
  855. package/node_modules/domutils/readme.md +0 -31
  856. package/node_modules/encoding-sniffer/LICENSE +0 -18
  857. package/node_modules/encoding-sniffer/README.md +0 -68
  858. package/node_modules/encoding-sniffer/dist/commonjs/index.d.ts +0 -31
  859. package/node_modules/encoding-sniffer/dist/commonjs/index.d.ts.map +0 -1
  860. package/node_modules/encoding-sniffer/dist/commonjs/index.js +0 -72
  861. package/node_modules/encoding-sniffer/dist/commonjs/index.js.map +0 -1
  862. package/node_modules/encoding-sniffer/dist/commonjs/package.json +0 -3
  863. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.d.ts +0 -148
  864. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.d.ts.map +0 -1
  865. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.js +0 -990
  866. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.js.map +0 -1
  867. package/node_modules/encoding-sniffer/dist/esm/index.d.ts +0 -31
  868. package/node_modules/encoding-sniffer/dist/esm/index.d.ts.map +0 -1
  869. package/node_modules/encoding-sniffer/dist/esm/index.js +0 -63
  870. package/node_modules/encoding-sniffer/dist/esm/index.js.map +0 -1
  871. package/node_modules/encoding-sniffer/dist/esm/package.json +0 -3
  872. package/node_modules/encoding-sniffer/dist/esm/sniffer.d.ts +0 -148
  873. package/node_modules/encoding-sniffer/dist/esm/sniffer.d.ts.map +0 -1
  874. package/node_modules/encoding-sniffer/dist/esm/sniffer.js +0 -985
  875. package/node_modules/encoding-sniffer/dist/esm/sniffer.js.map +0 -1
  876. package/node_modules/encoding-sniffer/package.json +0 -94
  877. package/node_modules/encoding-sniffer/sniffer.d.ts +0 -2
  878. package/node_modules/encoding-sniffer/sniffer.js +0 -3
  879. package/node_modules/entities/LICENSE +0 -11
  880. package/node_modules/entities/lib/decode.d.ts +0 -211
  881. package/node_modules/entities/lib/decode.d.ts.map +0 -1
  882. package/node_modules/entities/lib/decode.js +0 -536
  883. package/node_modules/entities/lib/decode.js.map +0 -1
  884. package/node_modules/entities/lib/decode_codepoint.d.ts +0 -19
  885. package/node_modules/entities/lib/decode_codepoint.d.ts.map +0 -1
  886. package/node_modules/entities/lib/decode_codepoint.js +0 -76
  887. package/node_modules/entities/lib/decode_codepoint.js.map +0 -1
  888. package/node_modules/entities/lib/encode.d.ts +0 -22
  889. package/node_modules/entities/lib/encode.d.ts.map +0 -1
  890. package/node_modules/entities/lib/encode.js +0 -77
  891. package/node_modules/entities/lib/encode.js.map +0 -1
  892. package/node_modules/entities/lib/escape.d.ts +0 -43
  893. package/node_modules/entities/lib/escape.d.ts.map +0 -1
  894. package/node_modules/entities/lib/escape.js +0 -122
  895. package/node_modules/entities/lib/escape.js.map +0 -1
  896. package/node_modules/entities/lib/esm/decode.d.ts +0 -211
  897. package/node_modules/entities/lib/esm/decode.d.ts.map +0 -1
  898. package/node_modules/entities/lib/esm/decode.js +0 -496
  899. package/node_modules/entities/lib/esm/decode.js.map +0 -1
  900. package/node_modules/entities/lib/esm/decode_codepoint.d.ts +0 -19
  901. package/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +0 -1
  902. package/node_modules/entities/lib/esm/decode_codepoint.js +0 -71
  903. package/node_modules/entities/lib/esm/decode_codepoint.js.map +0 -1
  904. package/node_modules/entities/lib/esm/encode.d.ts +0 -22
  905. package/node_modules/entities/lib/esm/encode.d.ts.map +0 -1
  906. package/node_modules/entities/lib/esm/encode.js +0 -69
  907. package/node_modules/entities/lib/esm/encode.js.map +0 -1
  908. package/node_modules/entities/lib/esm/escape.d.ts +0 -43
  909. package/node_modules/entities/lib/esm/escape.d.ts.map +0 -1
  910. package/node_modules/entities/lib/esm/escape.js +0 -116
  911. package/node_modules/entities/lib/esm/escape.js.map +0 -1
  912. package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +0 -3
  913. package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +0 -1
  914. package/node_modules/entities/lib/esm/generated/decode-data-html.js +0 -7
  915. package/node_modules/entities/lib/esm/generated/decode-data-html.js.map +0 -1
  916. package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +0 -3
  917. package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +0 -1
  918. package/node_modules/entities/lib/esm/generated/decode-data-xml.js +0 -7
  919. package/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +0 -1
  920. package/node_modules/entities/lib/esm/generated/encode-html.d.ts +0 -8
  921. package/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +0 -1
  922. package/node_modules/entities/lib/esm/generated/encode-html.js +0 -10
  923. package/node_modules/entities/lib/esm/generated/encode-html.js.map +0 -1
  924. package/node_modules/entities/lib/esm/index.d.ts +0 -96
  925. package/node_modules/entities/lib/esm/index.d.ts.map +0 -1
  926. package/node_modules/entities/lib/esm/index.js +0 -99
  927. package/node_modules/entities/lib/esm/index.js.map +0 -1
  928. package/node_modules/entities/lib/esm/package.json +0 -1
  929. package/node_modules/entities/lib/generated/decode-data-html.d.ts +0 -3
  930. package/node_modules/entities/lib/generated/decode-data-html.d.ts.map +0 -1
  931. package/node_modules/entities/lib/generated/decode-data-html.js +0 -9
  932. package/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
  933. package/node_modules/entities/lib/generated/decode-data-xml.d.ts +0 -3
  934. package/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +0 -1
  935. package/node_modules/entities/lib/generated/decode-data-xml.js +0 -9
  936. package/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
  937. package/node_modules/entities/lib/generated/encode-html.d.ts +0 -8
  938. package/node_modules/entities/lib/generated/encode-html.d.ts.map +0 -1
  939. package/node_modules/entities/lib/generated/encode-html.js +0 -12
  940. package/node_modules/entities/lib/generated/encode-html.js.map +0 -1
  941. package/node_modules/entities/lib/index.d.ts +0 -96
  942. package/node_modules/entities/lib/index.d.ts.map +0 -1
  943. package/node_modules/entities/lib/index.js +0 -126
  944. package/node_modules/entities/lib/index.js.map +0 -1
  945. package/node_modules/entities/package.json +0 -90
  946. package/node_modules/entities/readme.md +0 -122
  947. package/node_modules/htmlparser2/WritableStream.js +0 -3
  948. package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts +0 -198
  949. package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts.map +0 -1
  950. package/node_modules/htmlparser2/dist/commonjs/Parser.js +0 -527
  951. package/node_modules/htmlparser2/dist/commonjs/Parser.js.map +0 -1
  952. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts +0 -126
  953. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts.map +0 -1
  954. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +0 -805
  955. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +0 -1
  956. package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts +0 -15
  957. package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts.map +0 -1
  958. package/node_modules/htmlparser2/dist/commonjs/WritableStream.js +0 -36
  959. package/node_modules/htmlparser2/dist/commonjs/WritableStream.js.map +0 -1
  960. package/node_modules/htmlparser2/dist/commonjs/index.d.ts +0 -54
  961. package/node_modules/htmlparser2/dist/commonjs/index.d.ts.map +0 -1
  962. package/node_modules/htmlparser2/dist/commonjs/index.js +0 -123
  963. package/node_modules/htmlparser2/dist/commonjs/index.js.map +0 -1
  964. package/node_modules/htmlparser2/dist/commonjs/package.json +0 -3
  965. package/node_modules/htmlparser2/dist/esm/Parser.d.ts +0 -198
  966. package/node_modules/htmlparser2/dist/esm/Parser.d.ts.map +0 -1
  967. package/node_modules/htmlparser2/dist/esm/Parser.js +0 -490
  968. package/node_modules/htmlparser2/dist/esm/Parser.js.map +0 -1
  969. package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts +0 -126
  970. package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts.map +0 -1
  971. package/node_modules/htmlparser2/dist/esm/Tokenizer.js +0 -801
  972. package/node_modules/htmlparser2/dist/esm/Tokenizer.js.map +0 -1
  973. package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts +0 -15
  974. package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts.map +0 -1
  975. package/node_modules/htmlparser2/dist/esm/WritableStream.js +0 -32
  976. package/node_modules/htmlparser2/dist/esm/WritableStream.js.map +0 -1
  977. package/node_modules/htmlparser2/dist/esm/index.d.ts +0 -54
  978. package/node_modules/htmlparser2/dist/esm/index.d.ts.map +0 -1
  979. package/node_modules/htmlparser2/dist/esm/index.js +0 -74
  980. package/node_modules/htmlparser2/dist/esm/index.js.map +0 -1
  981. package/node_modules/htmlparser2/dist/esm/package.json +0 -3
  982. package/node_modules/htmlparser2/node_modules/entities/decode.d.ts +0 -3
  983. package/node_modules/htmlparser2/node_modules/entities/decode.js +0 -3
  984. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +0 -19
  985. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +0 -1
  986. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -77
  987. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +0 -1
  988. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts +0 -205
  989. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts.map +0 -1
  990. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +0 -568
  991. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +0 -1
  992. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts +0 -22
  993. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts.map +0 -1
  994. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js +0 -92
  995. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js.map +0 -1
  996. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts +0 -46
  997. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts.map +0 -1
  998. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js +0 -138
  999. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js.map +0 -1
  1000. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +0 -2
  1001. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +0 -1
  1002. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -7
  1003. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +0 -1
  1004. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +0 -2
  1005. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +0 -1
  1006. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -7
  1007. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +0 -1
  1008. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +0 -3
  1009. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +0 -1
  1010. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js +0 -14
  1011. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js.map +0 -1
  1012. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts +0 -96
  1013. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts.map +0 -1
  1014. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js +0 -131
  1015. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js.map +0 -1
  1016. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts.map +0 -1
  1017. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +0 -21
  1018. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js.map +0 -1
  1019. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +0 -2
  1020. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts.map +0 -1
  1021. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js +0 -31
  1022. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js.map +0 -1
  1023. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +0 -32
  1024. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts.map +0 -1
  1025. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js +0 -94
  1026. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js.map +0 -1
  1027. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/package.json +0 -3
  1028. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts +0 -19
  1029. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +0 -1
  1030. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js +0 -72
  1031. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js.map +0 -1
  1032. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts +0 -205
  1033. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts.map +0 -1
  1034. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js +0 -554
  1035. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js.map +0 -1
  1036. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts +0 -22
  1037. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts.map +0 -1
  1038. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js +0 -88
  1039. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js.map +0 -1
  1040. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts +0 -46
  1041. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts.map +0 -1
  1042. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js +0 -134
  1043. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js.map +0 -1
  1044. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +0 -2
  1045. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +0 -1
  1046. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js +0 -4
  1047. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js.map +0 -1
  1048. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +0 -2
  1049. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +0 -1
  1050. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js +0 -4
  1051. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +0 -1
  1052. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts +0 -3
  1053. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +0 -1
  1054. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js +0 -11
  1055. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js.map +0 -1
  1056. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts +0 -96
  1057. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts.map +0 -1
  1058. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js +0 -107
  1059. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js.map +0 -1
  1060. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +0 -17
  1061. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts.map +0 -1
  1062. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js.map +0 -1
  1063. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts +0 -2
  1064. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts.map +0 -1
  1065. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js +0 -28
  1066. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js.map +0 -1
  1067. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts +0 -32
  1068. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts.map +0 -1
  1069. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js +0 -91
  1070. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js.map +0 -1
  1071. package/node_modules/htmlparser2/node_modules/entities/dist/esm/package.json +0 -3
  1072. package/node_modules/htmlparser2/node_modules/entities/escape.d.ts +0 -3
  1073. package/node_modules/htmlparser2/node_modules/entities/escape.js +0 -3
  1074. package/node_modules/htmlparser2/node_modules/entities/src/generated/.eslintrc.json +0 -10
  1075. package/node_modules/iconv-lite/.github/dependabot.yml +0 -11
  1076. package/node_modules/iconv-lite/.idea/codeStyles/Project.xml +0 -47
  1077. package/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +0 -5
  1078. package/node_modules/iconv-lite/.idea/iconv-lite.iml +0 -12
  1079. package/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +0 -6
  1080. package/node_modules/iconv-lite/.idea/modules.xml +0 -8
  1081. package/node_modules/iconv-lite/.idea/vcs.xml +0 -6
  1082. package/node_modules/iconv-lite/Changelog.md +0 -212
  1083. package/node_modules/iconv-lite/LICENSE +0 -21
  1084. package/node_modules/iconv-lite/README.md +0 -130
  1085. package/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -597
  1086. package/node_modules/iconv-lite/encodings/dbcs-data.js +0 -188
  1087. package/node_modules/iconv-lite/encodings/index.js +0 -23
  1088. package/node_modules/iconv-lite/encodings/internal.js +0 -198
  1089. package/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  1090. package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  1091. package/node_modules/iconv-lite/encodings/sbcs-data.js +0 -179
  1092. package/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  1093. package/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  1094. package/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  1095. package/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  1096. package/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  1097. package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  1098. package/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
  1099. package/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  1100. package/node_modules/iconv-lite/encodings/utf16.js +0 -197
  1101. package/node_modules/iconv-lite/encodings/utf32.js +0 -319
  1102. package/node_modules/iconv-lite/encodings/utf7.js +0 -290
  1103. package/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  1104. package/node_modules/iconv-lite/lib/index.d.ts +0 -41
  1105. package/node_modules/iconv-lite/lib/index.js +0 -180
  1106. package/node_modules/iconv-lite/lib/streams.js +0 -109
  1107. package/node_modules/iconv-lite/package.json +0 -44
  1108. package/node_modules/nth-check/LICENSE +0 -11
  1109. package/node_modules/nth-check/README.md +0 -136
  1110. package/node_modules/nth-check/lib/compile.d.ts +0 -55
  1111. package/node_modules/nth-check/lib/compile.d.ts.map +0 -1
  1112. package/node_modules/nth-check/lib/compile.js +0 -121
  1113. package/node_modules/nth-check/lib/compile.js.map +0 -1
  1114. package/node_modules/nth-check/lib/esm/compile.d.ts +0 -55
  1115. package/node_modules/nth-check/lib/esm/compile.d.ts.map +0 -1
  1116. package/node_modules/nth-check/lib/esm/compile.js +0 -113
  1117. package/node_modules/nth-check/lib/esm/compile.js.map +0 -1
  1118. package/node_modules/nth-check/lib/esm/index.d.ts +0 -59
  1119. package/node_modules/nth-check/lib/esm/index.d.ts.map +0 -1
  1120. package/node_modules/nth-check/lib/esm/index.js +0 -63
  1121. package/node_modules/nth-check/lib/esm/index.js.map +0 -1
  1122. package/node_modules/nth-check/lib/esm/package.json +0 -1
  1123. package/node_modules/nth-check/lib/esm/parse.d.ts +0 -9
  1124. package/node_modules/nth-check/lib/esm/parse.d.ts.map +0 -1
  1125. package/node_modules/nth-check/lib/esm/parse.js +0 -73
  1126. package/node_modules/nth-check/lib/esm/parse.js.map +0 -1
  1127. package/node_modules/nth-check/lib/index.d.ts +0 -59
  1128. package/node_modules/nth-check/lib/index.d.ts.map +0 -1
  1129. package/node_modules/nth-check/lib/index.js +0 -70
  1130. package/node_modules/nth-check/lib/index.js.map +0 -1
  1131. package/node_modules/nth-check/lib/parse.d.ts +0 -9
  1132. package/node_modules/nth-check/lib/parse.d.ts.map +0 -1
  1133. package/node_modules/nth-check/lib/parse.js +0 -77
  1134. package/node_modules/nth-check/lib/parse.js.map +0 -1
  1135. package/node_modules/nth-check/package.json +0 -78
  1136. package/node_modules/ora/index.d.ts +0 -332
  1137. package/node_modules/ora/index.js +0 -443
  1138. package/node_modules/ora/node_modules/chalk/license +0 -9
  1139. package/node_modules/ora/node_modules/chalk/package.json +0 -83
  1140. package/node_modules/ora/node_modules/chalk/readme.md +0 -297
  1141. package/node_modules/ora/node_modules/chalk/source/index.d.ts +0 -325
  1142. package/node_modules/ora/node_modules/chalk/source/index.js +0 -225
  1143. package/node_modules/ora/node_modules/chalk/source/utilities.js +0 -33
  1144. package/node_modules/ora/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  1145. package/node_modules/ora/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  1146. package/node_modules/ora/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  1147. package/node_modules/ora/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  1148. package/node_modules/ora/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  1149. package/node_modules/ora/node_modules/chalk/source/vendor/supports-color/index.js +0 -190
  1150. package/node_modules/ora/node_modules/cli-spinners/index.d.ts +0 -139
  1151. package/node_modules/ora/node_modules/cli-spinners/index.js +0 -11
  1152. package/node_modules/ora/node_modules/cli-spinners/license +0 -9
  1153. package/node_modules/ora/node_modules/cli-spinners/package.json +0 -56
  1154. package/node_modules/ora/node_modules/cli-spinners/readme.md +0 -74
  1155. package/node_modules/ora/node_modules/cli-spinners/spinners.json +0 -1665
  1156. package/node_modules/ora/node_modules/string-width/index.d.ts +0 -39
  1157. package/node_modules/ora/node_modules/string-width/index.js +0 -89
  1158. package/node_modules/ora/node_modules/string-width/license +0 -9
  1159. package/node_modules/ora/node_modules/string-width/package.json +0 -65
  1160. package/node_modules/ora/node_modules/string-width/readme.md +0 -66
  1161. package/node_modules/ora/package.json +0 -64
  1162. package/node_modules/ora/readme.md +0 -375
  1163. package/node_modules/parse5/LICENSE +0 -19
  1164. package/node_modules/parse5/README.md +0 -38
  1165. package/node_modules/parse5/dist/cjs/common/doctype.d.ts +0 -4
  1166. package/node_modules/parse5/dist/cjs/common/doctype.js +0 -118
  1167. package/node_modules/parse5/dist/cjs/common/error-codes.d.ts +0 -67
  1168. package/node_modules/parse5/dist/cjs/common/error-codes.js +0 -66
  1169. package/node_modules/parse5/dist/cjs/common/foreign-content.d.ts +0 -9
  1170. package/node_modules/parse5/dist/cjs/common/foreign-content.js +0 -237
  1171. package/node_modules/parse5/dist/cjs/common/html.d.ts +0 -289
  1172. package/node_modules/parse5/dist/cjs/common/html.js +0 -528
  1173. package/node_modules/parse5/dist/cjs/common/token.d.ts +0 -84
  1174. package/node_modules/parse5/dist/cjs/common/token.js +0 -24
  1175. package/node_modules/parse5/dist/cjs/common/unicode.d.ts +0 -42
  1176. package/node_modules/parse5/dist/cjs/common/unicode.js +0 -70
  1177. package/node_modules/parse5/dist/cjs/index.d.ts +0 -71
  1178. package/node_modules/parse5/dist/cjs/index.js +0 -54
  1179. package/node_modules/parse5/dist/cjs/package.json +0 -1
  1180. package/node_modules/parse5/dist/cjs/parser/formatting-element-list.d.ts +0 -36
  1181. package/node_modules/parse5/dist/cjs/parser/formatting-element-list.js +0 -114
  1182. package/node_modules/parse5/dist/cjs/parser/index.d.ts +0 -221
  1183. package/node_modules/parse5/dist/cjs/parser/index.js +0 -3240
  1184. package/node_modules/parse5/dist/cjs/parser/open-element-stack.d.ts +0 -53
  1185. package/node_modules/parse5/dist/cjs/parser/open-element-stack.js +0 -328
  1186. package/node_modules/parse5/dist/cjs/serializer/index.d.ts +0 -60
  1187. package/node_modules/parse5/dist/cjs/serializer/index.js +0 -172
  1188. package/node_modules/parse5/dist/cjs/tokenizer/index.d.ts +0 -247
  1189. package/node_modules/parse5/dist/cjs/tokenizer/index.js +0 -2714
  1190. package/node_modules/parse5/dist/cjs/tokenizer/preprocessor.d.ts +0 -36
  1191. package/node_modules/parse5/dist/cjs/tokenizer/preprocessor.js +0 -200
  1192. package/node_modules/parse5/dist/cjs/tree-adapters/default.d.ts +0 -84
  1193. package/node_modules/parse5/dist/cjs/tree-adapters/default.js +0 -176
  1194. package/node_modules/parse5/dist/cjs/tree-adapters/interface.d.ts +0 -255
  1195. package/node_modules/parse5/dist/cjs/tree-adapters/interface.js +0 -2
  1196. package/node_modules/parse5/dist/common/doctype.d.ts +0 -4
  1197. package/node_modules/parse5/dist/common/doctype.js +0 -114
  1198. package/node_modules/parse5/dist/common/error-codes.d.ts +0 -67
  1199. package/node_modules/parse5/dist/common/error-codes.js +0 -63
  1200. package/node_modules/parse5/dist/common/foreign-content.d.ts +0 -9
  1201. package/node_modules/parse5/dist/common/foreign-content.js +0 -228
  1202. package/node_modules/parse5/dist/common/html.d.ts +0 -289
  1203. package/node_modules/parse5/dist/common/html.js +0 -523
  1204. package/node_modules/parse5/dist/common/token.d.ts +0 -84
  1205. package/node_modules/parse5/dist/common/token.js +0 -20
  1206. package/node_modules/parse5/dist/common/unicode.d.ts +0 -42
  1207. package/node_modules/parse5/dist/common/unicode.js +0 -62
  1208. package/node_modules/parse5/dist/index.d.ts +0 -71
  1209. package/node_modules/parse5/dist/index.js +0 -42
  1210. package/node_modules/parse5/dist/parser/formatting-element-list.d.ts +0 -36
  1211. package/node_modules/parse5/dist/parser/formatting-element-list.js +0 -110
  1212. package/node_modules/parse5/dist/parser/index.d.ts +0 -221
  1213. package/node_modules/parse5/dist/parser/index.js +0 -3245
  1214. package/node_modules/parse5/dist/parser/open-element-stack.d.ts +0 -53
  1215. package/node_modules/parse5/dist/parser/open-element-stack.js +0 -324
  1216. package/node_modules/parse5/dist/serializer/index.d.ts +0 -60
  1217. package/node_modules/parse5/dist/serializer/index.js +0 -168
  1218. package/node_modules/parse5/dist/tokenizer/index.d.ts +0 -247
  1219. package/node_modules/parse5/dist/tokenizer/index.js +0 -2710
  1220. package/node_modules/parse5/dist/tokenizer/preprocessor.d.ts +0 -36
  1221. package/node_modules/parse5/dist/tokenizer/preprocessor.js +0 -196
  1222. package/node_modules/parse5/dist/tree-adapters/default.d.ts +0 -84
  1223. package/node_modules/parse5/dist/tree-adapters/default.js +0 -173
  1224. package/node_modules/parse5/dist/tree-adapters/interface.d.ts +0 -255
  1225. package/node_modules/parse5/dist/tree-adapters/interface.js +0 -1
  1226. package/node_modules/parse5/node_modules/entities/LICENSE +0 -11
  1227. package/node_modules/parse5/node_modules/entities/decode.d.ts +0 -1
  1228. package/node_modules/parse5/node_modules/entities/decode.js +0 -3
  1229. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +0 -19
  1230. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +0 -1
  1231. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -77
  1232. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js.map +0 -1
  1233. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts +0 -209
  1234. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts.map +0 -1
  1235. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js +0 -511
  1236. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js.map +0 -1
  1237. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts +0 -22
  1238. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts.map +0 -1
  1239. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js +0 -73
  1240. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js.map +0 -1
  1241. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts +0 -43
  1242. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts.map +0 -1
  1243. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js +0 -121
  1244. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js.map +0 -1
  1245. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +0 -2
  1246. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +0 -1
  1247. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -10
  1248. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +0 -1
  1249. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +0 -2
  1250. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +0 -1
  1251. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -10
  1252. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +0 -1
  1253. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +0 -8
  1254. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +0 -1
  1255. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js +0 -13
  1256. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js.map +0 -1
  1257. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts +0 -96
  1258. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts.map +0 -1
  1259. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js +0 -131
  1260. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js.map +0 -1
  1261. package/node_modules/parse5/node_modules/entities/dist/commonjs/package.json +0 -3
  1262. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts +0 -19
  1263. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +0 -1
  1264. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +0 -72
  1265. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js.map +0 -1
  1266. package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts +0 -209
  1267. package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts.map +0 -1
  1268. package/node_modules/parse5/node_modules/entities/dist/esm/decode.js +0 -497
  1269. package/node_modules/parse5/node_modules/entities/dist/esm/decode.js.map +0 -1
  1270. package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts +0 -22
  1271. package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts.map +0 -1
  1272. package/node_modules/parse5/node_modules/entities/dist/esm/encode.js +0 -69
  1273. package/node_modules/parse5/node_modules/entities/dist/esm/encode.js.map +0 -1
  1274. package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts +0 -43
  1275. package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts.map +0 -1
  1276. package/node_modules/parse5/node_modules/entities/dist/esm/escape.js +0 -117
  1277. package/node_modules/parse5/node_modules/entities/dist/esm/escape.js.map +0 -1
  1278. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +0 -2
  1279. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +0 -1
  1280. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +0 -7
  1281. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js.map +0 -1
  1282. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +0 -2
  1283. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +0 -1
  1284. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js +0 -7
  1285. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +0 -1
  1286. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts +0 -8
  1287. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +0 -1
  1288. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js +0 -10
  1289. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js.map +0 -1
  1290. package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts +0 -96
  1291. package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts.map +0 -1
  1292. package/node_modules/parse5/node_modules/entities/dist/esm/index.js +0 -107
  1293. package/node_modules/parse5/node_modules/entities/dist/esm/index.js.map +0 -1
  1294. package/node_modules/parse5/node_modules/entities/dist/esm/package.json +0 -3
  1295. package/node_modules/parse5/node_modules/entities/escape.d.ts +0 -1
  1296. package/node_modules/parse5/node_modules/entities/escape.js +0 -3
  1297. package/node_modules/parse5/node_modules/entities/package.json +0 -118
  1298. package/node_modules/parse5/node_modules/entities/readme.md +0 -122
  1299. package/node_modules/parse5/node_modules/entities/src/decode-codepoint.ts +0 -81
  1300. package/node_modules/parse5/node_modules/entities/src/decode.spec.ts +0 -320
  1301. package/node_modules/parse5/node_modules/entities/src/decode.ts +0 -620
  1302. package/node_modules/parse5/node_modules/entities/src/encode.spec.ts +0 -78
  1303. package/node_modules/parse5/node_modules/entities/src/encode.ts +0 -77
  1304. package/node_modules/parse5/node_modules/entities/src/escape.spec.ts +0 -14
  1305. package/node_modules/parse5/node_modules/entities/src/escape.ts +0 -148
  1306. package/node_modules/parse5/node_modules/entities/src/generated/.eslintrc.json +0 -10
  1307. package/node_modules/parse5/node_modules/entities/src/generated/decode-data-html.ts +0 -8
  1308. package/node_modules/parse5/node_modules/entities/src/generated/decode-data-xml.ts +0 -8
  1309. package/node_modules/parse5/node_modules/entities/src/generated/encode-html.ts +0 -17
  1310. package/node_modules/parse5/node_modules/entities/src/index.spec.ts +0 -125
  1311. package/node_modules/parse5/node_modules/entities/src/index.ts +0 -188
  1312. package/node_modules/parse5/package.json +0 -50
  1313. package/node_modules/parse5-htmlparser2-tree-adapter/LICENSE +0 -19
  1314. package/node_modules/parse5-htmlparser2-tree-adapter/README.md +0 -34
  1315. package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.d.ts +0 -6
  1316. package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.js +0 -214
  1317. package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/package.json +0 -1
  1318. package/node_modules/parse5-htmlparser2-tree-adapter/dist/index.d.ts +0 -6
  1319. package/node_modules/parse5-htmlparser2-tree-adapter/dist/index.js +0 -213
  1320. package/node_modules/parse5-htmlparser2-tree-adapter/package.json +0 -40
  1321. package/node_modules/parse5-parser-stream/LICENSE +0 -19
  1322. package/node_modules/parse5-parser-stream/README.md +0 -34
  1323. package/node_modules/parse5-parser-stream/dist/cjs/index.d.ts +0 -85
  1324. package/node_modules/parse5-parser-stream/dist/cjs/index.js +0 -90
  1325. package/node_modules/parse5-parser-stream/dist/cjs/package.json +0 -1
  1326. package/node_modules/parse5-parser-stream/dist/index.d.ts +0 -85
  1327. package/node_modules/parse5-parser-stream/dist/index.js +0 -86
  1328. package/node_modules/parse5-parser-stream/package.json +0 -39
  1329. package/node_modules/stdin-discarder/index.d.ts +0 -13
  1330. package/node_modules/stdin-discarder/index.js +0 -59
  1331. package/node_modules/stdin-discarder/license +0 -9
  1332. package/node_modules/stdin-discarder/package.json +0 -42
  1333. package/node_modules/stdin-discarder/readme.md +0 -37
  1334. package/node_modules/whatwg-encoding/LICENSE.txt +0 -7
  1335. package/node_modules/whatwg-encoding/README.md +0 -50
  1336. package/node_modules/whatwg-encoding/lib/labels-to-names.json +0 -217
  1337. package/node_modules/whatwg-encoding/lib/supported-names.json +0 -38
  1338. package/node_modules/whatwg-encoding/lib/whatwg-encoding.js +0 -60
  1339. package/node_modules/whatwg-encoding/package.json +0 -32
  1340. package/node_modules/whatwg-mimetype/LICENSE.txt +0 -7
  1341. package/node_modules/whatwg-mimetype/README.md +0 -101
  1342. package/node_modules/whatwg-mimetype/lib/mime-type-parameters.js +0 -70
  1343. package/node_modules/whatwg-mimetype/lib/mime-type.js +0 -127
  1344. package/node_modules/whatwg-mimetype/lib/parser.js +0 -105
  1345. package/node_modules/whatwg-mimetype/lib/serializer.js +0 -25
  1346. package/node_modules/whatwg-mimetype/lib/utils.js +0 -60
  1347. package/node_modules/whatwg-mimetype/package.json +0 -45
  1348. /package/node_modules/{cheerio-select → htmlparser2/node_modules/domelementtype}/LICENSE +0 -0
  1349. /package/node_modules/{domelementtype → htmlparser2/node_modules/domelementtype}/readme.md +0 -0
  1350. /package/node_modules/{css-select → htmlparser2/node_modules/domhandler}/LICENSE +0 -0
  1351. /package/node_modules/{css-what → htmlparser2/node_modules/domutils}/LICENSE +0 -0
  1352. /package/node_modules/htmlparser2/node_modules/entities/dist/{commonjs/internal → internal}/bin-trie-flags.d.ts +0 -0
  1353. /package/node_modules/htmlparser2/node_modules/entities/dist/{esm/internal → internal}/bin-trie-flags.js +0 -0
  1354. /package/node_modules/{ora → yocto-spinner}/license +0 -0
@@ -1,1145 +0,0 @@
1
- /**
2
- * Methods for getting and modifying attributes.
3
- *
4
- * @module cheerio/attributes
5
- */
6
-
7
- import { text } from '../static.js';
8
- import { domEach, camelCase, cssCase } from '../utils.js';
9
- import { isTag, type AnyNode, type Element } from 'domhandler';
10
- import type { Cheerio } from '../cheerio.js';
11
- import { innerText, textContent } from 'domutils';
12
- import { ElementType } from 'htmlparser2';
13
- const hasOwn =
14
- // @ts-expect-error `hasOwn` is a standard object method
15
- (Object.hasOwn as (object: unknown, prop: string) => boolean) ??
16
- ((object: unknown, prop: string) =>
17
- Object.prototype.hasOwnProperty.call(object, prop));
18
- const rspace = /\s+/;
19
- const dataAttrPrefix = 'data-';
20
-
21
- // Attributes that are booleans
22
- const rboolean =
23
- /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i;
24
- // Matches strings that look like JSON objects or arrays
25
- const rbrace = /^{[^]*}$|^\[[^]*]$/;
26
-
27
- /**
28
- * Gets a node's attribute. For boolean attributes, it will return the value's
29
- * name should it be set.
30
- *
31
- * Also supports getting the `value` of several form elements.
32
- *
33
- * @private
34
- * @category Attributes
35
- * @param elem - Element to get the attribute of.
36
- * @param name - Name of the attribute.
37
- * @param xmlMode - Disable handling of special HTML attributes.
38
- * @returns The attribute's value.
39
- */
40
- function getAttr(
41
- elem: AnyNode,
42
- name: undefined,
43
- xmlMode?: boolean,
44
- ): Record<string, string> | undefined;
45
- function getAttr(
46
- elem: AnyNode,
47
- name: string,
48
- xmlMode?: boolean,
49
- ): string | undefined;
50
- function getAttr(
51
- elem: AnyNode,
52
- name: string | undefined,
53
- xmlMode?: boolean,
54
- ): Record<string, string> | string | undefined {
55
- if (!elem || !isTag(elem)) return undefined;
56
-
57
- elem.attribs ??= {};
58
-
59
- // Return the entire attribs object if no attribute specified
60
- if (!name) {
61
- return elem.attribs;
62
- }
63
-
64
- if (hasOwn(elem.attribs, name)) {
65
- // Get the (decoded) attribute
66
- return !xmlMode && rboolean.test(name) ? name : elem.attribs[name];
67
- }
68
-
69
- // Mimic the DOM and return text content as value for `option's`
70
- if (elem.name === 'option' && name === 'value') {
71
- return text(elem.children);
72
- }
73
-
74
- // Mimic DOM with default value for radios/checkboxes
75
- if (
76
- elem.name === 'input' &&
77
- (elem.attribs['type'] === 'radio' || elem.attribs['type'] === 'checkbox') &&
78
- name === 'value'
79
- ) {
80
- return 'on';
81
- }
82
-
83
- return undefined;
84
- }
85
-
86
- /**
87
- * Sets the value of an attribute. The attribute will be deleted if the value is
88
- * `null`.
89
- *
90
- * @private
91
- * @param el - The element to set the attribute on.
92
- * @param name - The attribute's name.
93
- * @param value - The attribute's value.
94
- */
95
- function setAttr(el: Element, name: string, value: string | null) {
96
- if (value === null) {
97
- removeAttribute(el, name);
98
- } else {
99
- el.attribs[name] = `${value}`;
100
- }
101
- }
102
-
103
- /**
104
- * Method for getting attributes. Gets the attribute value for only the first
105
- * element in the matched set.
106
- *
107
- * @category Attributes
108
- * @example
109
- *
110
- * ```js
111
- * $('ul').attr('id');
112
- * //=> fruits
113
- * ```
114
- *
115
- * @param name - Name of the attribute.
116
- * @returns The attribute's value.
117
- * @see {@link https://api.jquery.com/attr/}
118
- */
119
- export function attr<T extends AnyNode>(
120
- this: Cheerio<T>,
121
- name: string,
122
- ): string | undefined;
123
- /**
124
- * Method for getting all attributes and their values of the first element in
125
- * the matched set.
126
- *
127
- * @category Attributes
128
- * @example
129
- *
130
- * ```js
131
- * $('ul').attr();
132
- * //=> { id: 'fruits' }
133
- * ```
134
- *
135
- * @returns The attribute's values.
136
- * @see {@link https://api.jquery.com/attr/}
137
- */
138
- export function attr<T extends AnyNode>(
139
- this: Cheerio<T>,
140
- ): Record<string, string> | undefined;
141
- /**
142
- * Method for setting attributes. Sets the attribute value for all elements in
143
- * the matched set. If you set an attribute's value to `null`, you remove that
144
- * attribute. You may also pass a `map` and `function`.
145
- *
146
- * @category Attributes
147
- * @example
148
- *
149
- * ```js
150
- * $('.apple').attr('id', 'favorite').prop('outerHTML');
151
- * //=> <li class="apple" id="favorite">Apple</li>
152
- * ```
153
- *
154
- * @param name - Name of the attribute.
155
- * @param value - The new value of the attribute.
156
- * @returns The instance itself.
157
- * @see {@link https://api.jquery.com/attr/}
158
- */
159
- export function attr<T extends AnyNode>(
160
- this: Cheerio<T>,
161
- name: string,
162
- value?:
163
- | string
164
- | null
165
- | ((this: Element, i: number, attrib: string) => string | null),
166
- ): Cheerio<T>;
167
- /**
168
- * Method for setting multiple attributes at once. Sets the attribute value for
169
- * all elements in the matched set. If you set an attribute's value to `null`,
170
- * you remove that attribute.
171
- *
172
- * @category Attributes
173
- * @example
174
- *
175
- * ```js
176
- * $('.apple').attr({ id: 'favorite' }).prop('outerHTML');
177
- * //=> <li class="apple" id="favorite">Apple</li>
178
- * ```
179
- *
180
- * @param values - Map of attribute names and values.
181
- * @returns The instance itself.
182
- * @see {@link https://api.jquery.com/attr/}
183
- */
184
- export function attr<T extends AnyNode>(
185
- this: Cheerio<T>,
186
- values: Record<string, string | null>,
187
- ): Cheerio<T>;
188
- export function attr<T extends AnyNode>(
189
- this: Cheerio<T>,
190
- name?: string | Record<string, string | null>,
191
- value?:
192
- | string
193
- | null
194
- | ((this: Element, i: number, attrib: string) => string | null),
195
- ): string | Cheerio<T> | undefined | Record<string, string> {
196
- // Set the value (with attr map support)
197
- if (typeof name === 'object' || value !== undefined) {
198
- if (typeof value === 'function') {
199
- if (typeof name !== 'string') {
200
- {
201
- throw new Error('Bad combination of arguments.');
202
- }
203
- }
204
- return domEach(this, (el, i) => {
205
- if (isTag(el)) setAttr(el, name, value.call(el, i, el.attribs[name]));
206
- });
207
- }
208
- return domEach(this, (el) => {
209
- if (!isTag(el)) return;
210
-
211
- if (typeof name === 'object') {
212
- for (const objName of Object.keys(name)) {
213
- const objValue = name[objName];
214
- setAttr(el, objName, objValue);
215
- }
216
- } else {
217
- setAttr(el, name!, value!);
218
- }
219
- });
220
- }
221
-
222
- return arguments.length > 1
223
- ? this
224
- : getAttr(this[0], name!, this.options.xmlMode);
225
- }
226
-
227
- /**
228
- * Gets a node's prop.
229
- *
230
- * @private
231
- * @category Attributes
232
- * @param el - Element to get the prop of.
233
- * @param name - Name of the prop.
234
- * @param xmlMode - Disable handling of special HTML attributes.
235
- * @returns The prop's value.
236
- */
237
- function getProp(
238
- el: Element,
239
- name: string,
240
- xmlMode?: boolean,
241
- ): string | undefined | boolean | Element[keyof Element] {
242
- return name in el
243
- ? // @ts-expect-error TS doesn't like us accessing the value directly here.
244
- (el[name] as string | undefined)
245
- : !xmlMode && rboolean.test(name)
246
- ? getAttr(el, name, false) !== undefined
247
- : getAttr(el, name, xmlMode);
248
- }
249
-
250
- /**
251
- * Sets the value of a prop.
252
- *
253
- * @private
254
- * @param el - The element to set the prop on.
255
- * @param name - The prop's name.
256
- * @param value - The prop's value.
257
- * @param xmlMode - Disable handling of special HTML attributes.
258
- */
259
- function setProp(el: Element, name: string, value: unknown, xmlMode?: boolean) {
260
- if (name in el) {
261
- // @ts-expect-error Overriding value
262
- el[name] = value;
263
- } else {
264
- setAttr(
265
- el,
266
- name,
267
- !xmlMode && rboolean.test(name)
268
- ? value
269
- ? ''
270
- : null
271
- : `${value as string}`,
272
- );
273
- }
274
- }
275
-
276
- interface StyleProp {
277
- length: number;
278
- [key: string]: string | number;
279
- [index: number]: string;
280
- }
281
-
282
- /**
283
- * Method for getting and setting properties. Gets the property value for only
284
- * the first element in the matched set.
285
- *
286
- * @category Attributes
287
- * @example
288
- *
289
- * ```js
290
- * $('input[type="checkbox"]').prop('checked');
291
- * //=> false
292
- *
293
- * $('input[type="checkbox"]').prop('checked', true).val();
294
- * //=> ok
295
- * ```
296
- *
297
- * @param name - Name of the property.
298
- * @returns If `value` is specified the instance itself, otherwise the prop's
299
- * value.
300
- * @see {@link https://api.jquery.com/prop/}
301
- */
302
- export function prop<T extends AnyNode>(
303
- this: Cheerio<T>,
304
- name: 'tagName' | 'nodeName',
305
- ): string | undefined;
306
- export function prop<T extends AnyNode>(
307
- this: Cheerio<T>,
308
- name: 'innerHTML' | 'outerHTML' | 'innerText' | 'textContent',
309
- ): string | null;
310
- /**
311
- * Get a parsed CSS style object.
312
- *
313
- * @param name - Name of the property.
314
- * @returns The style object, or `undefined` if the element has no `style`
315
- * attribute.
316
- */
317
- export function prop<T extends AnyNode>(
318
- this: Cheerio<T>,
319
- name: 'style',
320
- ): StyleProp | undefined;
321
- /**
322
- * Resolve `href` or `src` of supported elements. Requires the `baseURI` option
323
- * to be set, and a global `URL` object to be part of the environment.
324
- *
325
- * @example With `baseURI` set to `'https://example.com'`:
326
- *
327
- * ```js
328
- * $('<img src="image.png">').prop('src');
329
- * //=> 'https://example.com/image.png'
330
- * ```
331
- *
332
- * @param name - Name of the property.
333
- * @returns The resolved URL, or `undefined` if the element is not supported.
334
- */
335
- export function prop<T extends AnyNode>(
336
- this: Cheerio<T>,
337
- name: 'href' | 'src',
338
- ): string | undefined;
339
- /**
340
- * Get a property of an element.
341
- *
342
- * @param name - Name of the property.
343
- * @returns The property's value.
344
- */
345
- export function prop<T extends AnyNode, K extends keyof Element>(
346
- this: Cheerio<T>,
347
- name: K,
348
- ): Element[K];
349
- /**
350
- * Set a property of an element.
351
- *
352
- * @param name - Name of the property.
353
- * @param value - Value to set the property to.
354
- * @returns The instance itself.
355
- */
356
- export function prop<T extends AnyNode, K extends keyof Element>(
357
- this: Cheerio<T>,
358
- name: K,
359
- value:
360
- | Element[K]
361
- | ((this: Element, i: number, prop: K) => Element[keyof Element]),
362
- ): Cheerio<T>;
363
- /**
364
- * Set multiple properties of an element.
365
- *
366
- * @example
367
- *
368
- * ```js
369
- * $('input[type="checkbox"]').prop({
370
- * checked: true,
371
- * disabled: false,
372
- * });
373
- * ```
374
- *
375
- * @param map - Object of properties to set.
376
- * @returns The instance itself.
377
- */
378
- export function prop<T extends AnyNode>(
379
- this: Cheerio<T>,
380
- map: Record<string, string | Element[keyof Element] | boolean>,
381
- ): Cheerio<T>;
382
- /**
383
- * Set a property of an element.
384
- *
385
- * @param name - Name of the property.
386
- * @param value - Value to set the property to.
387
- * @returns The instance itself.
388
- */
389
- export function prop<T extends AnyNode>(
390
- this: Cheerio<T>,
391
- name: string,
392
- value:
393
- | string
394
- | boolean
395
- | null
396
- | ((this: Element, i: number, prop: string) => string | boolean),
397
- ): Cheerio<T>;
398
- /**
399
- * Get a property of an element.
400
- *
401
- * @param name - The property's name.
402
- * @returns The property's value.
403
- */
404
- export function prop<T extends AnyNode>(this: Cheerio<T>, name: string): string;
405
- export function prop<T extends AnyNode>(
406
- this: Cheerio<T>,
407
- name: string | Record<string, string | Element[keyof Element] | boolean>,
408
- value?: unknown,
409
- ):
410
- | Cheerio<T>
411
- | string
412
- | boolean
413
- | undefined
414
- | null
415
- | Element[keyof Element]
416
- | StyleProp {
417
- if (typeof name === 'string' && value === undefined) {
418
- const el = this[0];
419
-
420
- if (!el) return undefined;
421
-
422
- switch (name) {
423
- case 'style': {
424
- const property = this.css() as StyleProp;
425
- const keys = Object.keys(property);
426
- for (let i = 0; i < keys.length; i++) {
427
- property[i] = keys[i];
428
- }
429
-
430
- property.length = keys.length;
431
-
432
- return property;
433
- }
434
- case 'tagName':
435
- case 'nodeName': {
436
- if (!isTag(el)) return undefined;
437
- return el.name.toUpperCase();
438
- }
439
-
440
- case 'href':
441
- case 'src': {
442
- if (!isTag(el)) return undefined;
443
- const prop = el.attribs?.[name];
444
-
445
- if (
446
- typeof URL !== 'undefined' &&
447
- ((name === 'href' && (el.tagName === 'a' || el.tagName === 'link')) ||
448
- (name === 'src' &&
449
- (el.tagName === 'img' ||
450
- el.tagName === 'iframe' ||
451
- el.tagName === 'audio' ||
452
- el.tagName === 'video' ||
453
- el.tagName === 'source'))) &&
454
- prop !== undefined &&
455
- this.options.baseURI
456
- ) {
457
- return new URL(prop, this.options.baseURI).href;
458
- }
459
-
460
- return prop;
461
- }
462
-
463
- case 'innerText': {
464
- return innerText(el);
465
- }
466
-
467
- case 'textContent': {
468
- return textContent(el);
469
- }
470
-
471
- case 'outerHTML': {
472
- if (el.type === ElementType.Root) return this.html();
473
- return this.clone().wrap('<container />').parent().html();
474
- }
475
-
476
- case 'innerHTML': {
477
- return this.html();
478
- }
479
-
480
- default: {
481
- if (!isTag(el)) return undefined;
482
- return getProp(el, name, this.options.xmlMode);
483
- }
484
- }
485
- }
486
-
487
- if (typeof name === 'object' || value !== undefined) {
488
- if (typeof value === 'function') {
489
- if (typeof name === 'object') {
490
- throw new TypeError('Bad combination of arguments.');
491
- }
492
- return domEach(this, (el, i) => {
493
- if (isTag(el)) {
494
- setProp(
495
- el,
496
- name,
497
- value.call(el, i, getProp(el, name, this.options.xmlMode)),
498
- this.options.xmlMode,
499
- );
500
- }
501
- });
502
- }
503
-
504
- return domEach(this, (el) => {
505
- if (!isTag(el)) return;
506
-
507
- if (typeof name === 'object') {
508
- for (const key of Object.keys(name)) {
509
- const val = name[key];
510
- setProp(el, key, val, this.options.xmlMode);
511
- }
512
- } else {
513
- setProp(el, name, value, this.options.xmlMode);
514
- }
515
- });
516
- }
517
-
518
- return undefined;
519
- }
520
-
521
- /**
522
- * An element with a data attribute.
523
- *
524
- * @private
525
- */
526
- interface DataElement extends Element {
527
- /** The data attribute. */
528
- data?: Record<string, unknown>;
529
- }
530
-
531
- /**
532
- * Sets the value of a data attribute.
533
- *
534
- * @private
535
- * @param elem - The element to set the data attribute on.
536
- * @param name - The data attribute's name.
537
- * @param value - The data attribute's value.
538
- */
539
- function setData(
540
- elem: DataElement,
541
- name: string | Record<string, unknown>,
542
- value?: unknown,
543
- ) {
544
- elem.data ??= {};
545
-
546
- if (typeof name === 'object') Object.assign(elem.data, name);
547
- else if (typeof name === 'string' && value !== undefined) {
548
- elem.data[name] = value;
549
- }
550
- }
551
-
552
- /**
553
- * Read _all_ HTML5 `data-*` attributes from the equivalent HTML5 `data-*`
554
- * attribute, and cache the value in the node's internal data store.
555
- *
556
- * @private
557
- * @category Attributes
558
- * @param el - Element to get the data attribute of.
559
- * @returns A map with all of the data attributes.
560
- */
561
- function readAllData(el: DataElement): unknown {
562
- for (const domName of Object.keys(el.attribs)) {
563
- if (!domName.startsWith(dataAttrPrefix)) {
564
- continue;
565
- }
566
-
567
- const jsName = camelCase(domName.slice(dataAttrPrefix.length));
568
-
569
- if (!hasOwn(el.data, jsName)) {
570
- el.data![jsName] = parseDataValue(el.attribs[domName]);
571
- }
572
- }
573
-
574
- return el.data;
575
- }
576
-
577
- /**
578
- * Read the specified attribute from the equivalent HTML5 `data-*` attribute,
579
- * and (if present) cache the value in the node's internal data store.
580
- *
581
- * @private
582
- * @category Attributes
583
- * @param el - Element to get the data attribute of.
584
- * @param name - Name of the data attribute.
585
- * @returns The data attribute's value.
586
- */
587
- function readData(el: DataElement, name: string): unknown {
588
- const domName = dataAttrPrefix + cssCase(name);
589
- const data = el.data!;
590
-
591
- if (hasOwn(data, name)) {
592
- return data[name];
593
- }
594
-
595
- if (hasOwn(el.attribs, domName)) {
596
- return (data[name] = parseDataValue(el.attribs[domName]));
597
- }
598
-
599
- return undefined;
600
- }
601
-
602
- /**
603
- * Coerce string data-* attributes to their corresponding JavaScript primitives.
604
- *
605
- * @private
606
- * @category Attributes
607
- * @param value - The value to parse.
608
- * @returns The parsed value.
609
- */
610
- function parseDataValue(value: string): unknown {
611
- if (value === 'null') return null;
612
- if (value === 'true') return true;
613
- if (value === 'false') return false;
614
- const num = Number(value);
615
- if (value === String(num)) return num;
616
- if (rbrace.test(value)) {
617
- try {
618
- return JSON.parse(value);
619
- } catch {
620
- /* Ignore */
621
- }
622
- }
623
- return value;
624
- }
625
-
626
- /**
627
- * Method for getting data attributes, for only the first element in the matched
628
- * set.
629
- *
630
- * @category Attributes
631
- * @example
632
- *
633
- * ```js
634
- * $('<div data-apple-color="red"></div>').data('apple-color');
635
- * //=> 'red'
636
- * ```
637
- *
638
- * @param name - Name of the data attribute.
639
- * @returns The data attribute's value, or `undefined` if the attribute does not
640
- * exist.
641
- * @see {@link https://api.jquery.com/data/}
642
- */
643
- export function data<T extends AnyNode>(
644
- this: Cheerio<T>,
645
- name: string,
646
- ): unknown;
647
- /**
648
- * Method for getting all of an element's data attributes, for only the first
649
- * element in the matched set.
650
- *
651
- * @category Attributes
652
- * @example
653
- *
654
- * ```js
655
- * $('<div data-apple-color="red"></div>').data();
656
- * //=> { appleColor: 'red' }
657
- * ```
658
- *
659
- * @returns A map with all of the data attributes.
660
- * @see {@link https://api.jquery.com/data/}
661
- */
662
- export function data<T extends AnyNode>(
663
- this: Cheerio<T>,
664
- ): Record<string, unknown>;
665
- /**
666
- * Method for setting data attributes, for only the first element in the matched
667
- * set.
668
- *
669
- * @category Attributes
670
- * @example
671
- *
672
- * ```js
673
- * const apple = $('.apple').data('kind', 'mac');
674
- *
675
- * apple.data('kind');
676
- * //=> 'mac'
677
- * ```
678
- *
679
- * @param name - Name of the data attribute.
680
- * @param value - The new value.
681
- * @returns The instance itself.
682
- * @see {@link https://api.jquery.com/data/}
683
- */
684
- export function data<T extends AnyNode>(
685
- this: Cheerio<T>,
686
- name: string,
687
- value: unknown,
688
- ): Cheerio<T>;
689
- /**
690
- * Method for setting multiple data attributes at once, for only the first
691
- * element in the matched set.
692
- *
693
- * @category Attributes
694
- * @example
695
- *
696
- * ```js
697
- * const apple = $('.apple').data({ kind: 'mac' });
698
- *
699
- * apple.data('kind');
700
- * //=> 'mac'
701
- * ```
702
- *
703
- * @param values - Map of names to values.
704
- * @returns The instance itself.
705
- * @see {@link https://api.jquery.com/data/}
706
- */
707
- export function data<T extends AnyNode>(
708
- this: Cheerio<T>,
709
- values: Record<string, unknown>,
710
- ): Cheerio<T>;
711
- export function data<T extends AnyNode>(
712
- this: Cheerio<T>,
713
- name?: string | Record<string, unknown>,
714
- value?: unknown,
715
- ): unknown {
716
- const elem = this[0];
717
-
718
- if (!elem || !isTag(elem)) return;
719
-
720
- const dataEl: DataElement = elem;
721
- dataEl.data ??= {};
722
-
723
- // Return the entire data object if no data specified
724
- if (name == null) {
725
- return readAllData(dataEl);
726
- }
727
-
728
- // Set the value (with attr map support)
729
- if (typeof name === 'object' || value !== undefined) {
730
- domEach(this, (el) => {
731
- if (isTag(el)) {
732
- if (typeof name === 'object') setData(el, name);
733
- else setData(el, name, value);
734
- }
735
- });
736
- return this;
737
- }
738
-
739
- return readData(dataEl, name);
740
- }
741
-
742
- /**
743
- * Method for getting the value of input, select, and textarea. Note: Support
744
- * for `map`, and `function` has not been added yet.
745
- *
746
- * @category Attributes
747
- * @example
748
- *
749
- * ```js
750
- * $('input[type="text"]').val();
751
- * //=> input_text
752
- * ```
753
- *
754
- * @returns The value.
755
- * @see {@link https://api.jquery.com/val/}
756
- */
757
- export function val<T extends AnyNode>(
758
- this: Cheerio<T>,
759
- ): string | undefined | string[];
760
- /**
761
- * Method for setting the value of input, select, and textarea. Note: Support
762
- * for `map`, and `function` has not been added yet.
763
- *
764
- * @category Attributes
765
- * @example
766
- *
767
- * ```js
768
- * $('input[type="text"]').val('test').prop('outerHTML');
769
- * //=> <input type="text" value="test"/>
770
- * ```
771
- *
772
- * @param value - The new value.
773
- * @returns The instance itself.
774
- * @see {@link https://api.jquery.com/val/}
775
- */
776
- export function val<T extends AnyNode>(
777
- this: Cheerio<T>,
778
- value: string | string[],
779
- ): Cheerio<T>;
780
- export function val<T extends AnyNode>(
781
- this: Cheerio<T>,
782
- value?: string | string[],
783
- ): string | string[] | Cheerio<T> | undefined {
784
- const querying = arguments.length === 0;
785
- const element = this[0];
786
-
787
- if (!element || !isTag(element)) return querying ? undefined : this;
788
-
789
- switch (element.name) {
790
- case 'textarea': {
791
- return this.text(value as string);
792
- }
793
- case 'select': {
794
- const option = this.find('option:selected');
795
- if (!querying) {
796
- if (this.attr('multiple') == null && typeof value === 'object') {
797
- return this;
798
- }
799
-
800
- this.find('option').removeAttr('selected');
801
-
802
- const values = typeof value === 'object' ? value : [value];
803
- for (const val of values) {
804
- this.find(`option[value="${val}"]`).attr('selected', '');
805
- }
806
-
807
- return this;
808
- }
809
-
810
- return this.attr('multiple')
811
- ? option.toArray().map((el) => text(el.children))
812
- : option.attr('value');
813
- }
814
- case 'button':
815
- case 'input':
816
- case 'option': {
817
- return querying
818
- ? this.attr('value')
819
- : this.attr('value', value as string);
820
- }
821
- }
822
-
823
- return undefined;
824
- }
825
-
826
- /**
827
- * Remove an attribute.
828
- *
829
- * @private
830
- * @param elem - Node to remove attribute from.
831
- * @param name - Name of the attribute to remove.
832
- */
833
- function removeAttribute(elem: Element, name: string) {
834
- if (!elem.attribs || !hasOwn(elem.attribs, name)) return;
835
-
836
- delete elem.attribs[name];
837
- }
838
-
839
- /**
840
- * Splits a space-separated list of names to individual names.
841
- *
842
- * @category Attributes
843
- * @param names - Names to split.
844
- * @returns - Split names.
845
- */
846
- function splitNames(names?: string): string[] {
847
- return names ? names.trim().split(rspace) : [];
848
- }
849
-
850
- /**
851
- * Method for removing attributes by `name`.
852
- *
853
- * @category Attributes
854
- * @example
855
- *
856
- * ```js
857
- * $('.pear').removeAttr('class').prop('outerHTML');
858
- * //=> <li>Pear</li>
859
- *
860
- * $('.apple').attr('id', 'favorite');
861
- * $('.apple').removeAttr('id class').prop('outerHTML');
862
- * //=> <li>Apple</li>
863
- * ```
864
- *
865
- * @param name - Name of the attribute.
866
- * @returns The instance itself.
867
- * @see {@link https://api.jquery.com/removeAttr/}
868
- */
869
- export function removeAttr<T extends AnyNode>(
870
- this: Cheerio<T>,
871
- name: string,
872
- ): Cheerio<T> {
873
- const attrNames = splitNames(name);
874
-
875
- for (const attrName of attrNames) {
876
- domEach(this, (elem) => {
877
- if (isTag(elem)) removeAttribute(elem, attrName);
878
- });
879
- }
880
-
881
- return this;
882
- }
883
-
884
- /**
885
- * Check to see if _any_ of the matched elements have the given `className`.
886
- *
887
- * @category Attributes
888
- * @example
889
- *
890
- * ```js
891
- * $('.pear').hasClass('pear');
892
- * //=> true
893
- *
894
- * $('apple').hasClass('fruit');
895
- * //=> false
896
- *
897
- * $('li').hasClass('pear');
898
- * //=> true
899
- * ```
900
- *
901
- * @param className - Name of the class.
902
- * @returns Indicates if an element has the given `className`.
903
- * @see {@link https://api.jquery.com/hasClass/}
904
- */
905
- export function hasClass<T extends AnyNode>(
906
- this: Cheerio<T>,
907
- className: string,
908
- ): boolean {
909
- return this.toArray().some((elem) => {
910
- const clazz = isTag(elem) && elem.attribs['class'];
911
- let idx = -1;
912
-
913
- if (clazz && className.length > 0) {
914
- while ((idx = clazz.indexOf(className, idx + 1)) > -1) {
915
- const end = idx + className.length;
916
-
917
- if (
918
- (idx === 0 || rspace.test(clazz[idx - 1])) &&
919
- (end === clazz.length || rspace.test(clazz[end]))
920
- ) {
921
- return true;
922
- }
923
- }
924
- }
925
-
926
- return false;
927
- });
928
- }
929
-
930
- /**
931
- * Adds class(es) to all of the matched elements. Also accepts a `function`.
932
- *
933
- * @category Attributes
934
- * @example
935
- *
936
- * ```js
937
- * $('.pear').addClass('fruit').prop('outerHTML');
938
- * //=> <li class="pear fruit">Pear</li>
939
- *
940
- * $('.apple').addClass('fruit red').prop('outerHTML');
941
- * //=> <li class="apple fruit red">Apple</li>
942
- * ```
943
- *
944
- * @param value - Name of new class.
945
- * @returns The instance itself.
946
- * @see {@link https://api.jquery.com/addClass/}
947
- */
948
- export function addClass<T extends AnyNode, R extends ArrayLike<T>>(
949
- this: R,
950
- value?:
951
- | string
952
- | ((this: Element, i: number, className: string) => string | undefined),
953
- ): R {
954
- // Support functions
955
- if (typeof value === 'function') {
956
- return domEach(this, (el, i) => {
957
- if (isTag(el)) {
958
- const className = el.attribs['class'] || '';
959
- addClass.call([el], value.call(el, i, className));
960
- }
961
- });
962
- }
963
-
964
- // Return if no value or not a string or function
965
- if (!value || typeof value !== 'string') return this;
966
-
967
- const classNames = value.split(rspace);
968
- const numElements = this.length;
969
-
970
- for (let i = 0; i < numElements; i++) {
971
- const el = this[i];
972
- // If selected element isn't a tag, move on
973
- if (!isTag(el)) continue;
974
-
975
- // If we don't already have classes — always set xmlMode to false here, as it doesn't matter for classes
976
- const className = getAttr(el, 'class', false);
977
-
978
- if (className) {
979
- let setClass = ` ${className} `;
980
-
981
- // Check if class already exists
982
- for (const cn of classNames) {
983
- const appendClass = `${cn} `;
984
- if (!setClass.includes(` ${appendClass}`)) setClass += appendClass;
985
- }
986
-
987
- setAttr(el, 'class', setClass.trim());
988
- } else {
989
- setAttr(el, 'class', classNames.join(' ').trim());
990
- }
991
- }
992
-
993
- return this;
994
- }
995
-
996
- /**
997
- * Removes one or more space-separated classes from the selected elements. If no
998
- * `className` is defined, all classes will be removed. Also accepts a
999
- * `function`.
1000
- *
1001
- * @category Attributes
1002
- * @example
1003
- *
1004
- * ```js
1005
- * $('.pear').removeClass('pear').prop('outerHTML');
1006
- * //=> <li class="">Pear</li>
1007
- *
1008
- * $('.apple').addClass('red').removeClass().prop('outerHTML');
1009
- * //=> <li class="">Apple</li>
1010
- * ```
1011
- *
1012
- * @param name - Name of the class. If not specified, removes all elements.
1013
- * @returns The instance itself.
1014
- * @see {@link https://api.jquery.com/removeClass/}
1015
- */
1016
- export function removeClass<T extends AnyNode, R extends ArrayLike<T>>(
1017
- this: R,
1018
- name?:
1019
- | string
1020
- | ((this: Element, i: number, className: string) => string | undefined),
1021
- ): R {
1022
- // Handle if value is a function
1023
- if (typeof name === 'function') {
1024
- return domEach(this, (el, i) => {
1025
- if (isTag(el)) {
1026
- removeClass.call([el], name.call(el, i, el.attribs['class'] || ''));
1027
- }
1028
- });
1029
- }
1030
-
1031
- const classes = splitNames(name);
1032
- const numClasses = classes.length;
1033
- const removeAll = arguments.length === 0;
1034
-
1035
- return domEach(this, (el) => {
1036
- if (!isTag(el)) return;
1037
-
1038
- if (removeAll) {
1039
- // Short circuit the remove all case as this is the nice one
1040
- el.attribs['class'] = '';
1041
- } else {
1042
- const elClasses = splitNames(el.attribs['class']);
1043
- let changed = false;
1044
-
1045
- for (let j = 0; j < numClasses; j++) {
1046
- const index = elClasses.indexOf(classes[j]);
1047
-
1048
- if (index !== -1) {
1049
- elClasses.splice(index, 1);
1050
- changed = true;
1051
-
1052
- /*
1053
- * We have to do another pass to ensure that there are not duplicate
1054
- * classes listed
1055
- */
1056
- j--;
1057
- }
1058
- }
1059
- if (changed) {
1060
- el.attribs['class'] = elClasses.join(' ');
1061
- }
1062
- }
1063
- });
1064
- }
1065
-
1066
- /**
1067
- * Add or remove class(es) from the matched elements, depending on either the
1068
- * class's presence or the value of the switch argument. Also accepts a
1069
- * `function`.
1070
- *
1071
- * @category Attributes
1072
- * @example
1073
- *
1074
- * ```js
1075
- * $('.apple.green').toggleClass('fruit green red').prop('outerHTML');
1076
- * //=> <li class="apple fruit red">Apple</li>
1077
- *
1078
- * $('.apple.green').toggleClass('fruit green red', true).prop('outerHTML');
1079
- * //=> <li class="apple green fruit red">Apple</li>
1080
- * ```
1081
- *
1082
- * @param value - Name of the class. Can also be a function.
1083
- * @param stateVal - If specified the state of the class.
1084
- * @returns The instance itself.
1085
- * @see {@link https://api.jquery.com/toggleClass/}
1086
- */
1087
- export function toggleClass<T extends AnyNode, R extends ArrayLike<T>>(
1088
- this: R,
1089
- value?:
1090
- | string
1091
- | ((
1092
- this: Element,
1093
- i: number,
1094
- className: string,
1095
- stateVal?: boolean,
1096
- ) => string),
1097
- stateVal?: boolean,
1098
- ): R {
1099
- // Support functions
1100
- if (typeof value === 'function') {
1101
- return domEach(this, (el, i) => {
1102
- if (isTag(el)) {
1103
- toggleClass.call(
1104
- [el],
1105
- value.call(el, i, el.attribs['class'] || '', stateVal),
1106
- stateVal,
1107
- );
1108
- }
1109
- });
1110
- }
1111
-
1112
- // Return if no value or not a string or function
1113
- if (!value || typeof value !== 'string') return this;
1114
-
1115
- const classNames = value.split(rspace);
1116
- const numClasses = classNames.length;
1117
- const state = typeof stateVal === 'boolean' ? (stateVal ? 1 : -1) : 0;
1118
- const numElements = this.length;
1119
-
1120
- for (let i = 0; i < numElements; i++) {
1121
- const el = this[i];
1122
- // If selected element isn't a tag, move on
1123
- if (!isTag(el)) continue;
1124
-
1125
- const elementClasses = splitNames(el.attribs['class']);
1126
-
1127
- // Check if class already exists
1128
- for (let j = 0; j < numClasses; j++) {
1129
- // Check if the class name is currently defined
1130
- const index = elementClasses.indexOf(classNames[j]);
1131
-
1132
- // Add if stateValue === true or we are toggling and there is no value
1133
- if (state >= 0 && index === -1) {
1134
- elementClasses.push(classNames[j]);
1135
- } else if (state <= 0 && index !== -1) {
1136
- // Otherwise remove but only if the item exists
1137
- elementClasses.splice(index, 1);
1138
- }
1139
- }
1140
-
1141
- el.attribs['class'] = elementClasses.join(' ');
1142
- }
1143
-
1144
- return this;
1145
- }