@node-core/utils 7.2.1 → 7.2.3

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 (1355) 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/ci/run_ci.js +14 -4
  5. package/lib/cli.js +3 -6
  6. package/lib/links.js +27 -15
  7. package/lib/pr_checker.js +45 -34
  8. package/lib/queries/PR.gql +1 -0
  9. package/node_modules/htmlparser2/README.md +112 -26
  10. package/node_modules/htmlparser2/dist/Parser.d.ts +257 -0
  11. package/node_modules/htmlparser2/dist/Parser.d.ts.map +1 -0
  12. package/node_modules/htmlparser2/dist/Parser.js +644 -0
  13. package/node_modules/htmlparser2/dist/Parser.js.map +1 -0
  14. package/node_modules/htmlparser2/dist/Tokenizer.d.ts +194 -0
  15. package/node_modules/htmlparser2/dist/Tokenizer.d.ts.map +1 -0
  16. package/node_modules/htmlparser2/dist/Tokenizer.js +1056 -0
  17. package/node_modules/htmlparser2/dist/Tokenizer.js.map +1 -0
  18. package/node_modules/htmlparser2/dist/WebWritableStream.d.ts +24 -0
  19. package/node_modules/htmlparser2/dist/WebWritableStream.d.ts.map +1 -0
  20. package/node_modules/htmlparser2/dist/WebWritableStream.js +44 -0
  21. package/node_modules/htmlparser2/dist/WebWritableStream.js.map +1 -0
  22. package/node_modules/htmlparser2/dist/WritableStream.d.ts +14 -0
  23. package/node_modules/htmlparser2/dist/WritableStream.d.ts.map +1 -0
  24. package/node_modules/htmlparser2/dist/WritableStream.js +32 -0
  25. package/node_modules/htmlparser2/dist/WritableStream.js.map +1 -0
  26. package/node_modules/htmlparser2/dist/index.d.ts +34 -0
  27. package/node_modules/htmlparser2/dist/index.d.ts.map +1 -0
  28. package/node_modules/htmlparser2/dist/index.js +46 -0
  29. package/node_modules/htmlparser2/dist/index.js.map +1 -0
  30. package/node_modules/htmlparser2/node_modules/dom-serializer/LICENSE +7 -0
  31. package/node_modules/htmlparser2/node_modules/dom-serializer/README.md +115 -0
  32. package/node_modules/htmlparser2/node_modules/dom-serializer/dist/foreign-names.d.ts +11 -0
  33. package/node_modules/htmlparser2/node_modules/dom-serializer/dist/foreign-names.d.ts.map +1 -0
  34. package/node_modules/htmlparser2/node_modules/dom-serializer/dist/foreign-names.js +15 -0
  35. package/node_modules/htmlparser2/node_modules/dom-serializer/dist/foreign-names.js.map +1 -0
  36. package/node_modules/htmlparser2/node_modules/dom-serializer/dist/index.d.ts +72 -0
  37. package/node_modules/htmlparser2/node_modules/dom-serializer/dist/index.d.ts.map +1 -0
  38. package/node_modules/htmlparser2/node_modules/dom-serializer/dist/index.js +173 -0
  39. package/node_modules/htmlparser2/node_modules/dom-serializer/dist/index.js.map +1 -0
  40. package/node_modules/htmlparser2/node_modules/dom-serializer/package.json +69 -0
  41. package/node_modules/htmlparser2/node_modules/dom-serializer/src/foreign-names.ts +19 -0
  42. package/node_modules/htmlparser2/node_modules/dom-serializer/src/index.ts +315 -0
  43. package/node_modules/htmlparser2/node_modules/domelementtype/dist/index.d.ts +48 -0
  44. package/node_modules/htmlparser2/node_modules/domelementtype/dist/index.d.ts.map +1 -0
  45. package/node_modules/htmlparser2/node_modules/domelementtype/dist/index.js +60 -0
  46. package/node_modules/htmlparser2/node_modules/domelementtype/package.json +59 -0
  47. package/node_modules/htmlparser2/node_modules/domhandler/dist/index.d.ts +79 -0
  48. package/node_modules/htmlparser2/node_modules/domhandler/dist/index.d.ts.map +1 -0
  49. package/node_modules/htmlparser2/node_modules/domhandler/dist/index.js +155 -0
  50. package/node_modules/htmlparser2/node_modules/domhandler/dist/node.d.ts +264 -0
  51. package/node_modules/htmlparser2/node_modules/domhandler/dist/node.d.ts.map +1 -0
  52. package/node_modules/htmlparser2/node_modules/domhandler/dist/node.js +359 -0
  53. package/node_modules/htmlparser2/node_modules/domhandler/package.json +65 -0
  54. package/node_modules/htmlparser2/node_modules/domhandler/readme.md +86 -0
  55. package/node_modules/htmlparser2/node_modules/domutils/dist/feeds.d.ts +71 -0
  56. package/node_modules/htmlparser2/node_modules/domutils/dist/feeds.d.ts.map +1 -0
  57. package/node_modules/htmlparser2/node_modules/domutils/dist/feeds.js +180 -0
  58. package/node_modules/htmlparser2/node_modules/domutils/dist/feeds.js.map +1 -0
  59. package/node_modules/htmlparser2/node_modules/domutils/dist/helpers.d.ts +59 -0
  60. package/node_modules/htmlparser2/node_modules/domutils/dist/helpers.d.ts.map +1 -0
  61. package/node_modules/htmlparser2/node_modules/domutils/dist/helpers.js +136 -0
  62. package/node_modules/htmlparser2/node_modules/domutils/dist/helpers.js.map +1 -0
  63. package/node_modules/htmlparser2/node_modules/domutils/dist/index.d.ts +8 -0
  64. package/node_modules/htmlparser2/node_modules/domutils/dist/index.d.ts.map +1 -0
  65. package/node_modules/htmlparser2/node_modules/domutils/dist/index.js +8 -0
  66. package/node_modules/htmlparser2/node_modules/domutils/dist/index.js.map +1 -0
  67. package/node_modules/htmlparser2/node_modules/domutils/dist/legacy.d.ts +79 -0
  68. package/node_modules/htmlparser2/node_modules/domutils/dist/legacy.d.ts.map +1 -0
  69. package/node_modules/htmlparser2/node_modules/domutils/dist/legacy.js +152 -0
  70. package/node_modules/htmlparser2/node_modules/domutils/dist/legacy.js.map +1 -0
  71. package/node_modules/htmlparser2/node_modules/domutils/dist/manipulation.d.ts +49 -0
  72. package/node_modules/htmlparser2/node_modules/domutils/dist/manipulation.d.ts.map +1 -0
  73. package/node_modules/htmlparser2/node_modules/domutils/dist/manipulation.js +138 -0
  74. package/node_modules/htmlparser2/node_modules/domutils/dist/manipulation.js.map +1 -0
  75. package/node_modules/htmlparser2/node_modules/domutils/dist/querying.d.ts +54 -0
  76. package/node_modules/htmlparser2/node_modules/domutils/dist/querying.d.ts.map +1 -0
  77. package/node_modules/htmlparser2/node_modules/domutils/dist/querying.js +129 -0
  78. package/node_modules/htmlparser2/node_modules/domutils/dist/querying.js.map +1 -0
  79. package/node_modules/htmlparser2/node_modules/domutils/dist/stringify.d.ts +46 -0
  80. package/node_modules/htmlparser2/node_modules/domutils/dist/stringify.d.ts.map +1 -0
  81. package/node_modules/htmlparser2/node_modules/domutils/dist/stringify.js +81 -0
  82. package/node_modules/htmlparser2/node_modules/domutils/dist/stringify.js.map +1 -0
  83. package/node_modules/htmlparser2/node_modules/domutils/dist/traversal.d.ts +74 -0
  84. package/node_modules/htmlparser2/node_modules/domutils/dist/traversal.d.ts.map +1 -0
  85. package/node_modules/htmlparser2/node_modules/domutils/dist/traversal.js +105 -0
  86. package/node_modules/htmlparser2/node_modules/domutils/dist/traversal.js.map +1 -0
  87. package/node_modules/htmlparser2/node_modules/domutils/package.json +69 -0
  88. package/node_modules/htmlparser2/node_modules/domutils/readme.md +25 -0
  89. package/node_modules/htmlparser2/node_modules/domutils/src/__snapshots__/feeds.spec.ts.snap +103 -0
  90. package/node_modules/htmlparser2/node_modules/domutils/src/feeds.ts +301 -0
  91. package/node_modules/htmlparser2/node_modules/domutils/src/helpers.ts +154 -0
  92. package/node_modules/htmlparser2/node_modules/domutils/src/index.ts +7 -0
  93. package/node_modules/htmlparser2/node_modules/domutils/src/legacy.ts +224 -0
  94. package/node_modules/htmlparser2/node_modules/domutils/src/manipulation.ts +156 -0
  95. package/node_modules/htmlparser2/node_modules/domutils/src/querying.ts +172 -0
  96. package/node_modules/htmlparser2/node_modules/domutils/src/stringify.ts +90 -0
  97. package/node_modules/htmlparser2/node_modules/domutils/src/traversal.ts +132 -0
  98. package/node_modules/htmlparser2/node_modules/entities/dist/decode-codepoint.d.ts +8 -0
  99. package/node_modules/htmlparser2/node_modules/entities/dist/decode-codepoint.d.ts.map +1 -0
  100. package/node_modules/htmlparser2/node_modules/entities/dist/decode-codepoint.js +46 -0
  101. package/node_modules/htmlparser2/node_modules/entities/dist/decode-codepoint.js.map +1 -0
  102. package/node_modules/htmlparser2/node_modules/entities/dist/decode.d.ts +194 -0
  103. package/node_modules/htmlparser2/node_modules/entities/dist/decode.d.ts.map +1 -0
  104. package/node_modules/htmlparser2/node_modules/entities/dist/decode.js +544 -0
  105. package/node_modules/htmlparser2/node_modules/entities/dist/decode.js.map +1 -0
  106. package/node_modules/htmlparser2/node_modules/entities/dist/encode.d.ts +24 -0
  107. package/node_modules/htmlparser2/node_modules/entities/dist/encode.d.ts.map +1 -0
  108. package/node_modules/htmlparser2/node_modules/entities/dist/encode.js +90 -0
  109. package/node_modules/htmlparser2/node_modules/entities/dist/encode.js.map +1 -0
  110. package/node_modules/htmlparser2/node_modules/entities/dist/escape.d.ts +48 -0
  111. package/node_modules/htmlparser2/node_modules/entities/dist/escape.d.ts.map +1 -0
  112. package/node_modules/htmlparser2/node_modules/entities/dist/escape.js +132 -0
  113. package/node_modules/htmlparser2/node_modules/entities/dist/escape.js.map +1 -0
  114. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-html.d.ts +3 -0
  115. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-html.d.ts.map +1 -0
  116. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-html.js +5 -0
  117. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-html.js.map +1 -0
  118. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-xml.d.ts +3 -0
  119. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-xml.d.ts.map +1 -0
  120. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-xml.js +5 -0
  121. package/node_modules/htmlparser2/node_modules/entities/dist/generated/decode-data-xml.js.map +1 -0
  122. package/node_modules/htmlparser2/node_modules/entities/dist/generated/encode-html.d.ts +5 -0
  123. package/node_modules/htmlparser2/node_modules/entities/dist/generated/encode-html.d.ts.map +1 -0
  124. package/node_modules/htmlparser2/node_modules/entities/dist/generated/encode-html.js +12 -0
  125. package/node_modules/htmlparser2/node_modules/entities/dist/generated/encode-html.js.map +1 -0
  126. package/node_modules/htmlparser2/node_modules/entities/dist/index.d.ts +89 -0
  127. package/node_modules/htmlparser2/node_modules/entities/dist/index.d.ts.map +1 -0
  128. package/node_modules/htmlparser2/node_modules/entities/dist/index.js +91 -0
  129. package/node_modules/htmlparser2/node_modules/entities/dist/index.js.map +1 -0
  130. package/node_modules/htmlparser2/node_modules/entities/dist/internal/bin-trie-flags.d.ts.map +1 -0
  131. package/node_modules/htmlparser2/node_modules/entities/dist/internal/bin-trie-flags.js.map +1 -0
  132. package/node_modules/htmlparser2/node_modules/entities/dist/internal/decode-shared.d.ts +7 -0
  133. package/node_modules/htmlparser2/node_modules/entities/dist/internal/decode-shared.d.ts.map +1 -0
  134. package/node_modules/htmlparser2/node_modules/entities/dist/internal/decode-shared.js +17 -0
  135. package/node_modules/htmlparser2/node_modules/entities/dist/internal/decode-shared.js.map +1 -0
  136. package/node_modules/htmlparser2/node_modules/entities/dist/internal/encode-shared.d.ts +33 -0
  137. package/node_modules/htmlparser2/node_modules/entities/dist/internal/encode-shared.d.ts.map +1 -0
  138. package/node_modules/htmlparser2/node_modules/entities/dist/internal/encode-shared.js +93 -0
  139. package/node_modules/htmlparser2/node_modules/entities/dist/internal/encode-shared.js.map +1 -0
  140. package/node_modules/htmlparser2/node_modules/entities/package.json +25 -62
  141. package/node_modules/htmlparser2/node_modules/entities/readme.md +4 -16
  142. package/node_modules/htmlparser2/node_modules/entities/src/decode-codepoint.ts +1 -32
  143. package/node_modules/htmlparser2/node_modules/entities/src/decode.ts +12 -26
  144. package/node_modules/htmlparser2/node_modules/entities/src/encode.ts +2 -0
  145. package/node_modules/htmlparser2/node_modules/entities/src/escape.ts +11 -12
  146. package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-html.ts +1 -0
  147. package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-xml.ts +1 -0
  148. package/node_modules/htmlparser2/node_modules/entities/src/generated/encode-html.ts +2 -1
  149. package/node_modules/htmlparser2/node_modules/entities/src/index.ts +8 -33
  150. package/node_modules/htmlparser2/node_modules/entities/src/internal/decode-shared.ts +3 -15
  151. package/node_modules/htmlparser2/node_modules/entities/src/internal/encode-shared.ts +4 -2
  152. package/node_modules/htmlparser2/package.json +34 -61
  153. package/node_modules/htmlparser2/src/Parser.ts +260 -100
  154. package/node_modules/htmlparser2/src/Tokenizer.ts +438 -165
  155. package/node_modules/htmlparser2/src/WebWritableStream.ts +47 -0
  156. package/node_modules/htmlparser2/src/WritableStream.ts +1 -2
  157. package/node_modules/htmlparser2/src/index.ts +14 -43
  158. package/node_modules/yocto-spinner/index.d.ts +162 -0
  159. package/node_modules/yocto-spinner/index.js +432 -0
  160. package/node_modules/yocto-spinner/package.json +64 -0
  161. package/node_modules/yocto-spinner/readme.md +237 -0
  162. package/package.json +4 -4
  163. package/node_modules/boolbase/README.md +0 -10
  164. package/node_modules/boolbase/index.js +0 -8
  165. package/node_modules/boolbase/package.json +0 -23
  166. package/node_modules/cheerio/LICENSE +0 -21
  167. package/node_modules/cheerio/Readme.md +0 -229
  168. package/node_modules/cheerio/dist/browser/api/attributes.d.ts +0 -385
  169. package/node_modules/cheerio/dist/browser/api/attributes.d.ts.map +0 -1
  170. package/node_modules/cheerio/dist/browser/api/attributes.js +0 -636
  171. package/node_modules/cheerio/dist/browser/api/attributes.js.map +0 -1
  172. package/node_modules/cheerio/dist/browser/api/css.d.ts +0 -42
  173. package/node_modules/cheerio/dist/browser/api/css.d.ts.map +0 -1
  174. package/node_modules/cheerio/dist/browser/api/css.js +0 -116
  175. package/node_modules/cheerio/dist/browser/api/css.js.map +0 -1
  176. package/node_modules/cheerio/dist/browser/api/extract.d.ts +0 -27
  177. package/node_modules/cheerio/dist/browser/api/extract.d.ts.map +0 -1
  178. package/node_modules/cheerio/dist/browser/api/extract.js +0 -42
  179. package/node_modules/cheerio/dist/browser/api/extract.js.map +0 -1
  180. package/node_modules/cheerio/dist/browser/api/forms.d.ts +0 -36
  181. package/node_modules/cheerio/dist/browser/api/forms.d.ts.map +0 -1
  182. package/node_modules/cheerio/dist/browser/api/forms.js +0 -81
  183. package/node_modules/cheerio/dist/browser/api/forms.js.map +0 -1
  184. package/node_modules/cheerio/dist/browser/api/manipulation.d.ts +0 -528
  185. package/node_modules/cheerio/dist/browser/api/manipulation.d.ts.map +0 -1
  186. package/node_modules/cheerio/dist/browser/api/manipulation.js +0 -831
  187. package/node_modules/cheerio/dist/browser/api/manipulation.js.map +0 -1
  188. package/node_modules/cheerio/dist/browser/api/traversing.d.ts +0 -657
  189. package/node_modules/cheerio/dist/browser/api/traversing.d.ts.map +0 -1
  190. package/node_modules/cheerio/dist/browser/api/traversing.js +0 -857
  191. package/node_modules/cheerio/dist/browser/api/traversing.js.map +0 -1
  192. package/node_modules/cheerio/dist/browser/cheerio.d.ts +0 -85
  193. package/node_modules/cheerio/dist/browser/cheerio.d.ts.map +0 -1
  194. package/node_modules/cheerio/dist/browser/cheerio.js +0 -58
  195. package/node_modules/cheerio/dist/browser/cheerio.js.map +0 -1
  196. package/node_modules/cheerio/dist/browser/index-browser.d.mts.map +0 -1
  197. package/node_modules/cheerio/dist/browser/index-browser.mjs.map +0 -1
  198. package/node_modules/cheerio/dist/browser/index.d.ts +0 -5
  199. package/node_modules/cheerio/dist/browser/index.js +0 -3
  200. package/node_modules/cheerio/dist/browser/load-parse.d.ts +0 -20
  201. package/node_modules/cheerio/dist/browser/load-parse.d.ts.map +0 -1
  202. package/node_modules/cheerio/dist/browser/load-parse.js +0 -28
  203. package/node_modules/cheerio/dist/browser/load-parse.js.map +0 -1
  204. package/node_modules/cheerio/dist/browser/load.d.ts +0 -91
  205. package/node_modules/cheerio/dist/browser/load.d.ts.map +0 -1
  206. package/node_modules/cheerio/dist/browser/load.js +0 -129
  207. package/node_modules/cheerio/dist/browser/load.js.map +0 -1
  208. package/node_modules/cheerio/dist/browser/options.d.ts +0 -98
  209. package/node_modules/cheerio/dist/browser/options.d.ts.map +0 -1
  210. package/node_modules/cheerio/dist/browser/options.js +0 -34
  211. package/node_modules/cheerio/dist/browser/options.js.map +0 -1
  212. package/node_modules/cheerio/dist/browser/package.json +0 -3
  213. package/node_modules/cheerio/dist/browser/parse.d.ts +0 -18
  214. package/node_modules/cheerio/dist/browser/parse.d.ts.map +0 -1
  215. package/node_modules/cheerio/dist/browser/parse.js +0 -73
  216. package/node_modules/cheerio/dist/browser/parse.js.map +0 -1
  217. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts +0 -20
  218. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts.map +0 -1
  219. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js +0 -50
  220. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js.map +0 -1
  221. package/node_modules/cheerio/dist/browser/slim.d.ts +0 -25
  222. package/node_modules/cheerio/dist/browser/slim.d.ts.map +0 -1
  223. package/node_modules/cheerio/dist/browser/slim.js +0 -22
  224. package/node_modules/cheerio/dist/browser/slim.js.map +0 -1
  225. package/node_modules/cheerio/dist/browser/static.d.ts +0 -112
  226. package/node_modules/cheerio/dist/browser/static.d.ts.map +0 -1
  227. package/node_modules/cheerio/dist/browser/static.js +0 -204
  228. package/node_modules/cheerio/dist/browser/static.js.map +0 -1
  229. package/node_modules/cheerio/dist/browser/types.d.ts +0 -21
  230. package/node_modules/cheerio/dist/browser/types.d.ts.map +0 -1
  231. package/node_modules/cheerio/dist/browser/types.js +0 -3
  232. package/node_modules/cheerio/dist/browser/types.js.map +0 -1
  233. package/node_modules/cheerio/dist/browser/utils.d.ts +0 -55
  234. package/node_modules/cheerio/dist/browser/utils.d.ts.map +0 -1
  235. package/node_modules/cheerio/dist/browser/utils.js +0 -84
  236. package/node_modules/cheerio/dist/browser/utils.js.map +0 -1
  237. package/node_modules/cheerio/dist/commonjs/api/attributes.d.ts +0 -385
  238. package/node_modules/cheerio/dist/commonjs/api/attributes.d.ts.map +0 -1
  239. package/node_modules/cheerio/dist/commonjs/api/attributes.js +0 -647
  240. package/node_modules/cheerio/dist/commonjs/api/attributes.js.map +0 -1
  241. package/node_modules/cheerio/dist/commonjs/api/css.d.ts +0 -42
  242. package/node_modules/cheerio/dist/commonjs/api/css.d.ts.map +0 -1
  243. package/node_modules/cheerio/dist/commonjs/api/css.js +0 -119
  244. package/node_modules/cheerio/dist/commonjs/api/css.js.map +0 -1
  245. package/node_modules/cheerio/dist/commonjs/api/extract.d.ts +0 -27
  246. package/node_modules/cheerio/dist/commonjs/api/extract.d.ts.map +0 -1
  247. package/node_modules/cheerio/dist/commonjs/api/extract.js +0 -45
  248. package/node_modules/cheerio/dist/commonjs/api/extract.js.map +0 -1
  249. package/node_modules/cheerio/dist/commonjs/api/forms.d.ts +0 -36
  250. package/node_modules/cheerio/dist/commonjs/api/forms.d.ts.map +0 -1
  251. package/node_modules/cheerio/dist/commonjs/api/forms.js +0 -85
  252. package/node_modules/cheerio/dist/commonjs/api/forms.js.map +0 -1
  253. package/node_modules/cheerio/dist/commonjs/api/manipulation.d.ts +0 -528
  254. package/node_modules/cheerio/dist/commonjs/api/manipulation.d.ts.map +0 -1
  255. package/node_modules/cheerio/dist/commonjs/api/manipulation.js +0 -850
  256. package/node_modules/cheerio/dist/commonjs/api/manipulation.js.map +0 -1
  257. package/node_modules/cheerio/dist/commonjs/api/traversing.d.ts +0 -657
  258. package/node_modules/cheerio/dist/commonjs/api/traversing.d.ts.map +0 -1
  259. package/node_modules/cheerio/dist/commonjs/api/traversing.js +0 -914
  260. package/node_modules/cheerio/dist/commonjs/api/traversing.js.map +0 -1
  261. package/node_modules/cheerio/dist/commonjs/cheerio.d.ts +0 -85
  262. package/node_modules/cheerio/dist/commonjs/cheerio.d.ts.map +0 -1
  263. package/node_modules/cheerio/dist/commonjs/cheerio.js +0 -95
  264. package/node_modules/cheerio/dist/commonjs/cheerio.js.map +0 -1
  265. package/node_modules/cheerio/dist/commonjs/index.d.ts +0 -104
  266. package/node_modules/cheerio/dist/commonjs/index.d.ts.map +0 -1
  267. package/node_modules/cheerio/dist/commonjs/index.js +0 -250
  268. package/node_modules/cheerio/dist/commonjs/index.js.map +0 -1
  269. package/node_modules/cheerio/dist/commonjs/load-parse.d.ts +0 -20
  270. package/node_modules/cheerio/dist/commonjs/load-parse.d.ts.map +0 -1
  271. package/node_modules/cheerio/dist/commonjs/load-parse.js +0 -34
  272. package/node_modules/cheerio/dist/commonjs/load-parse.js.map +0 -1
  273. package/node_modules/cheerio/dist/commonjs/load.d.ts +0 -91
  274. package/node_modules/cheerio/dist/commonjs/load.d.ts.map +0 -1
  275. package/node_modules/cheerio/dist/commonjs/load.js +0 -165
  276. package/node_modules/cheerio/dist/commonjs/load.js.map +0 -1
  277. package/node_modules/cheerio/dist/commonjs/options.d.ts +0 -98
  278. package/node_modules/cheerio/dist/commonjs/options.d.ts.map +0 -1
  279. package/node_modules/cheerio/dist/commonjs/options.js +0 -37
  280. package/node_modules/cheerio/dist/commonjs/options.js.map +0 -1
  281. package/node_modules/cheerio/dist/commonjs/package.json +0 -3
  282. package/node_modules/cheerio/dist/commonjs/parse.d.ts +0 -18
  283. package/node_modules/cheerio/dist/commonjs/parse.d.ts.map +0 -1
  284. package/node_modules/cheerio/dist/commonjs/parse.js +0 -77
  285. package/node_modules/cheerio/dist/commonjs/parse.js.map +0 -1
  286. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts +0 -20
  287. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts.map +0 -1
  288. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js +0 -54
  289. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js.map +0 -1
  290. package/node_modules/cheerio/dist/commonjs/slim.d.ts +0 -25
  291. package/node_modules/cheerio/dist/commonjs/slim.d.ts.map +0 -1
  292. package/node_modules/cheerio/dist/commonjs/slim.js +0 -30
  293. package/node_modules/cheerio/dist/commonjs/slim.js.map +0 -1
  294. package/node_modules/cheerio/dist/commonjs/static.d.ts +0 -112
  295. package/node_modules/cheerio/dist/commonjs/static.d.ts.map +0 -1
  296. package/node_modules/cheerio/dist/commonjs/static.js +0 -214
  297. package/node_modules/cheerio/dist/commonjs/static.js.map +0 -1
  298. package/node_modules/cheerio/dist/commonjs/types.d.ts +0 -21
  299. package/node_modules/cheerio/dist/commonjs/types.d.ts.map +0 -1
  300. package/node_modules/cheerio/dist/commonjs/types.js +0 -4
  301. package/node_modules/cheerio/dist/commonjs/types.js.map +0 -1
  302. package/node_modules/cheerio/dist/commonjs/utils.d.ts +0 -55
  303. package/node_modules/cheerio/dist/commonjs/utils.d.ts.map +0 -1
  304. package/node_modules/cheerio/dist/commonjs/utils.js +0 -91
  305. package/node_modules/cheerio/dist/commonjs/utils.js.map +0 -1
  306. package/node_modules/cheerio/dist/esm/api/attributes.d.ts +0 -385
  307. package/node_modules/cheerio/dist/esm/api/attributes.d.ts.map +0 -1
  308. package/node_modules/cheerio/dist/esm/api/attributes.js +0 -636
  309. package/node_modules/cheerio/dist/esm/api/attributes.js.map +0 -1
  310. package/node_modules/cheerio/dist/esm/api/css.d.ts +0 -42
  311. package/node_modules/cheerio/dist/esm/api/css.d.ts.map +0 -1
  312. package/node_modules/cheerio/dist/esm/api/css.js +0 -116
  313. package/node_modules/cheerio/dist/esm/api/css.js.map +0 -1
  314. package/node_modules/cheerio/dist/esm/api/extract.d.ts +0 -27
  315. package/node_modules/cheerio/dist/esm/api/extract.d.ts.map +0 -1
  316. package/node_modules/cheerio/dist/esm/api/extract.js +0 -42
  317. package/node_modules/cheerio/dist/esm/api/extract.js.map +0 -1
  318. package/node_modules/cheerio/dist/esm/api/forms.d.ts +0 -36
  319. package/node_modules/cheerio/dist/esm/api/forms.d.ts.map +0 -1
  320. package/node_modules/cheerio/dist/esm/api/forms.js +0 -81
  321. package/node_modules/cheerio/dist/esm/api/forms.js.map +0 -1
  322. package/node_modules/cheerio/dist/esm/api/manipulation.d.ts +0 -528
  323. package/node_modules/cheerio/dist/esm/api/manipulation.d.ts.map +0 -1
  324. package/node_modules/cheerio/dist/esm/api/manipulation.js +0 -831
  325. package/node_modules/cheerio/dist/esm/api/manipulation.js.map +0 -1
  326. package/node_modules/cheerio/dist/esm/api/traversing.d.ts +0 -657
  327. package/node_modules/cheerio/dist/esm/api/traversing.d.ts.map +0 -1
  328. package/node_modules/cheerio/dist/esm/api/traversing.js +0 -857
  329. package/node_modules/cheerio/dist/esm/api/traversing.js.map +0 -1
  330. package/node_modules/cheerio/dist/esm/cheerio.d.ts +0 -85
  331. package/node_modules/cheerio/dist/esm/cheerio.d.ts.map +0 -1
  332. package/node_modules/cheerio/dist/esm/cheerio.js +0 -58
  333. package/node_modules/cheerio/dist/esm/cheerio.js.map +0 -1
  334. package/node_modules/cheerio/dist/esm/index.d.ts +0 -104
  335. package/node_modules/cheerio/dist/esm/index.d.ts.map +0 -1
  336. package/node_modules/cheerio/dist/esm/index.js +0 -202
  337. package/node_modules/cheerio/dist/esm/index.js.map +0 -1
  338. package/node_modules/cheerio/dist/esm/load-parse.d.ts +0 -20
  339. package/node_modules/cheerio/dist/esm/load-parse.d.ts.map +0 -1
  340. package/node_modules/cheerio/dist/esm/load-parse.js +0 -28
  341. package/node_modules/cheerio/dist/esm/load-parse.js.map +0 -1
  342. package/node_modules/cheerio/dist/esm/load.d.ts +0 -91
  343. package/node_modules/cheerio/dist/esm/load.d.ts.map +0 -1
  344. package/node_modules/cheerio/dist/esm/load.js +0 -129
  345. package/node_modules/cheerio/dist/esm/load.js.map +0 -1
  346. package/node_modules/cheerio/dist/esm/options.d.ts +0 -98
  347. package/node_modules/cheerio/dist/esm/options.d.ts.map +0 -1
  348. package/node_modules/cheerio/dist/esm/options.js +0 -34
  349. package/node_modules/cheerio/dist/esm/options.js.map +0 -1
  350. package/node_modules/cheerio/dist/esm/package.json +0 -3
  351. package/node_modules/cheerio/dist/esm/parse.d.ts +0 -18
  352. package/node_modules/cheerio/dist/esm/parse.d.ts.map +0 -1
  353. package/node_modules/cheerio/dist/esm/parse.js +0 -73
  354. package/node_modules/cheerio/dist/esm/parse.js.map +0 -1
  355. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts +0 -20
  356. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts.map +0 -1
  357. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js +0 -50
  358. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js.map +0 -1
  359. package/node_modules/cheerio/dist/esm/slim.d.ts +0 -25
  360. package/node_modules/cheerio/dist/esm/slim.d.ts.map +0 -1
  361. package/node_modules/cheerio/dist/esm/slim.js +0 -22
  362. package/node_modules/cheerio/dist/esm/slim.js.map +0 -1
  363. package/node_modules/cheerio/dist/esm/static.d.ts +0 -112
  364. package/node_modules/cheerio/dist/esm/static.d.ts.map +0 -1
  365. package/node_modules/cheerio/dist/esm/static.js +0 -204
  366. package/node_modules/cheerio/dist/esm/static.js.map +0 -1
  367. package/node_modules/cheerio/dist/esm/types.d.ts +0 -21
  368. package/node_modules/cheerio/dist/esm/types.d.ts.map +0 -1
  369. package/node_modules/cheerio/dist/esm/types.js +0 -3
  370. package/node_modules/cheerio/dist/esm/types.js.map +0 -1
  371. package/node_modules/cheerio/dist/esm/utils.d.ts +0 -55
  372. package/node_modules/cheerio/dist/esm/utils.d.ts.map +0 -1
  373. package/node_modules/cheerio/dist/esm/utils.js +0 -84
  374. package/node_modules/cheerio/dist/esm/utils.js.map +0 -1
  375. package/node_modules/cheerio/node_modules/undici/LICENSE +0 -21
  376. package/node_modules/cheerio/node_modules/undici/README.md +0 -741
  377. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Agent.md +0 -84
  378. package/node_modules/cheerio/node_modules/undici/docs/docs/api/BalancedPool.md +0 -99
  379. package/node_modules/cheerio/node_modules/undici/docs/docs/api/CacheStorage.md +0 -30
  380. package/node_modules/cheerio/node_modules/undici/docs/docs/api/CacheStore.md +0 -164
  381. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Client.md +0 -285
  382. package/node_modules/cheerio/node_modules/undici/docs/docs/api/ClientStats.md +0 -27
  383. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Connector.md +0 -115
  384. package/node_modules/cheerio/node_modules/undici/docs/docs/api/ContentType.md +0 -57
  385. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Cookies.md +0 -101
  386. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Debug.md +0 -62
  387. package/node_modules/cheerio/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -315
  388. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Dispatcher.md +0 -1392
  389. package/node_modules/cheerio/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -159
  390. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Errors.md +0 -49
  391. package/node_modules/cheerio/node_modules/undici/docs/docs/api/EventSource.md +0 -45
  392. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Fetch.md +0 -60
  393. package/node_modules/cheerio/node_modules/undici/docs/docs/api/GlobalInstallation.md +0 -139
  394. package/node_modules/cheerio/node_modules/undici/docs/docs/api/H2CClient.md +0 -263
  395. package/node_modules/cheerio/node_modules/undici/docs/docs/api/MockAgent.md +0 -603
  396. package/node_modules/cheerio/node_modules/undici/docs/docs/api/MockCallHistory.md +0 -197
  397. package/node_modules/cheerio/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +0 -43
  398. package/node_modules/cheerio/node_modules/undici/docs/docs/api/MockClient.md +0 -81
  399. package/node_modules/cheerio/node_modules/undici/docs/docs/api/MockErrors.md +0 -12
  400. package/node_modules/cheerio/node_modules/undici/docs/docs/api/MockPool.md +0 -555
  401. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Pool.md +0 -84
  402. package/node_modules/cheerio/node_modules/undici/docs/docs/api/PoolStats.md +0 -35
  403. package/node_modules/cheerio/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -229
  404. package/node_modules/cheerio/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -93
  405. package/node_modules/cheerio/node_modules/undici/docs/docs/api/RetryAgent.md +0 -50
  406. package/node_modules/cheerio/node_modules/undici/docs/docs/api/RetryHandler.md +0 -118
  407. package/node_modules/cheerio/node_modules/undici/docs/docs/api/RoundRobinPool.md +0 -145
  408. package/node_modules/cheerio/node_modules/undici/docs/docs/api/SnapshotAgent.md +0 -616
  409. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +0 -274
  410. package/node_modules/cheerio/node_modules/undici/docs/docs/api/Util.md +0 -25
  411. package/node_modules/cheerio/node_modules/undici/docs/docs/api/WebSocket.md +0 -141
  412. package/node_modules/cheerio/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -91
  413. package/node_modules/cheerio/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -64
  414. package/node_modules/cheerio/node_modules/undici/docs/docs/best-practices/crawling.md +0 -58
  415. package/node_modules/cheerio/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -190
  416. package/node_modules/cheerio/node_modules/undici/docs/docs/best-practices/proxy.md +0 -127
  417. package/node_modules/cheerio/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -224
  418. package/node_modules/cheerio/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -63
  419. package/node_modules/cheerio/node_modules/undici/index-fetch.js +0 -65
  420. package/node_modules/cheerio/node_modules/undici/index.d.ts +0 -3
  421. package/node_modules/cheerio/node_modules/undici/index.js +0 -234
  422. package/node_modules/cheerio/node_modules/undici/lib/api/abort-signal.js +0 -59
  423. package/node_modules/cheerio/node_modules/undici/lib/api/api-connect.js +0 -110
  424. package/node_modules/cheerio/node_modules/undici/lib/api/api-pipeline.js +0 -252
  425. package/node_modules/cheerio/node_modules/undici/lib/api/api-request.js +0 -214
  426. package/node_modules/cheerio/node_modules/undici/lib/api/api-stream.js +0 -209
  427. package/node_modules/cheerio/node_modules/undici/lib/api/api-upgrade.js +0 -111
  428. package/node_modules/cheerio/node_modules/undici/lib/api/index.js +0 -7
  429. package/node_modules/cheerio/node_modules/undici/lib/api/readable.js +0 -580
  430. package/node_modules/cheerio/node_modules/undici/lib/cache/memory-cache-store.js +0 -234
  431. package/node_modules/cheerio/node_modules/undici/lib/cache/sqlite-cache-store.js +0 -461
  432. package/node_modules/cheerio/node_modules/undici/lib/core/connect.js +0 -153
  433. package/node_modules/cheerio/node_modules/undici/lib/core/constants.js +0 -143
  434. package/node_modules/cheerio/node_modules/undici/lib/core/diagnostics.js +0 -227
  435. package/node_modules/cheerio/node_modules/undici/lib/core/errors.js +0 -477
  436. package/node_modules/cheerio/node_modules/undici/lib/core/request.js +0 -453
  437. package/node_modules/cheerio/node_modules/undici/lib/core/socks5-client.js +0 -412
  438. package/node_modules/cheerio/node_modules/undici/lib/core/socks5-utils.js +0 -198
  439. package/node_modules/cheerio/node_modules/undici/lib/core/symbols.js +0 -75
  440. package/node_modules/cheerio/node_modules/undici/lib/core/tree.js +0 -160
  441. package/node_modules/cheerio/node_modules/undici/lib/core/util.js +0 -992
  442. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/agent.js +0 -158
  443. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/balanced-pool.js +0 -219
  444. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/client-h1.js +0 -1654
  445. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/client-h2.js +0 -995
  446. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/client.js +0 -663
  447. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/dispatcher-base.js +0 -165
  448. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/dispatcher.js +0 -48
  449. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +0 -146
  450. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/fixed-queue.js +0 -135
  451. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/h2c-client.js +0 -51
  452. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/pool-base.js +0 -214
  453. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/pool.js +0 -118
  454. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/proxy-agent.js +0 -318
  455. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/retry-agent.js +0 -35
  456. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/round-robin-pool.js +0 -137
  457. package/node_modules/cheerio/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +0 -249
  458. package/node_modules/cheerio/node_modules/undici/lib/encoding/index.js +0 -33
  459. package/node_modules/cheerio/node_modules/undici/lib/global.js +0 -50
  460. package/node_modules/cheerio/node_modules/undici/lib/handler/cache-handler.js +0 -578
  461. package/node_modules/cheerio/node_modules/undici/lib/handler/cache-revalidation-handler.js +0 -124
  462. package/node_modules/cheerio/node_modules/undici/lib/handler/decorator-handler.js +0 -67
  463. package/node_modules/cheerio/node_modules/undici/lib/handler/deduplication-handler.js +0 -460
  464. package/node_modules/cheerio/node_modules/undici/lib/handler/redirect-handler.js +0 -238
  465. package/node_modules/cheerio/node_modules/undici/lib/handler/retry-handler.js +0 -394
  466. package/node_modules/cheerio/node_modules/undici/lib/handler/unwrap-handler.js +0 -100
  467. package/node_modules/cheerio/node_modules/undici/lib/handler/wrap-handler.js +0 -105
  468. package/node_modules/cheerio/node_modules/undici/lib/interceptor/cache.js +0 -495
  469. package/node_modules/cheerio/node_modules/undici/lib/interceptor/decompress.js +0 -259
  470. package/node_modules/cheerio/node_modules/undici/lib/interceptor/deduplicate.js +0 -117
  471. package/node_modules/cheerio/node_modules/undici/lib/interceptor/dns.js +0 -571
  472. package/node_modules/cheerio/node_modules/undici/lib/interceptor/dump.js +0 -112
  473. package/node_modules/cheerio/node_modules/undici/lib/interceptor/redirect.js +0 -21
  474. package/node_modules/cheerio/node_modules/undici/lib/interceptor/response-error.js +0 -95
  475. package/node_modules/cheerio/node_modules/undici/lib/interceptor/retry.js +0 -19
  476. package/node_modules/cheerio/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  477. package/node_modules/cheerio/node_modules/undici/lib/llhttp/constants.d.ts +0 -195
  478. package/node_modules/cheerio/node_modules/undici/lib/llhttp/constants.js +0 -531
  479. package/node_modules/cheerio/node_modules/undici/lib/llhttp/llhttp-wasm.js +0 -15
  480. package/node_modules/cheerio/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +0 -15
  481. package/node_modules/cheerio/node_modules/undici/lib/llhttp/utils.d.ts +0 -2
  482. package/node_modules/cheerio/node_modules/undici/lib/llhttp/utils.js +0 -12
  483. package/node_modules/cheerio/node_modules/undici/lib/mock/mock-agent.js +0 -232
  484. package/node_modules/cheerio/node_modules/undici/lib/mock/mock-call-history.js +0 -248
  485. package/node_modules/cheerio/node_modules/undici/lib/mock/mock-client.js +0 -68
  486. package/node_modules/cheerio/node_modules/undici/lib/mock/mock-errors.js +0 -29
  487. package/node_modules/cheerio/node_modules/undici/lib/mock/mock-interceptor.js +0 -209
  488. package/node_modules/cheerio/node_modules/undici/lib/mock/mock-pool.js +0 -68
  489. package/node_modules/cheerio/node_modules/undici/lib/mock/mock-symbols.js +0 -32
  490. package/node_modules/cheerio/node_modules/undici/lib/mock/mock-utils.js +0 -486
  491. package/node_modules/cheerio/node_modules/undici/lib/mock/pending-interceptors-formatter.js +0 -43
  492. package/node_modules/cheerio/node_modules/undici/lib/mock/snapshot-agent.js +0 -353
  493. package/node_modules/cheerio/node_modules/undici/lib/mock/snapshot-recorder.js +0 -588
  494. package/node_modules/cheerio/node_modules/undici/lib/mock/snapshot-utils.js +0 -158
  495. package/node_modules/cheerio/node_modules/undici/lib/util/cache.js +0 -408
  496. package/node_modules/cheerio/node_modules/undici/lib/util/date.js +0 -653
  497. package/node_modules/cheerio/node_modules/undici/lib/util/promise.js +0 -28
  498. package/node_modules/cheerio/node_modules/undici/lib/util/runtime-features.js +0 -124
  499. package/node_modules/cheerio/node_modules/undici/lib/util/stats.js +0 -32
  500. package/node_modules/cheerio/node_modules/undici/lib/util/timers.js +0 -425
  501. package/node_modules/cheerio/node_modules/undici/lib/web/cache/cache.js +0 -864
  502. package/node_modules/cheerio/node_modules/undici/lib/web/cache/cachestorage.js +0 -152
  503. package/node_modules/cheerio/node_modules/undici/lib/web/cache/util.js +0 -45
  504. package/node_modules/cheerio/node_modules/undici/lib/web/cookies/constants.js +0 -12
  505. package/node_modules/cheerio/node_modules/undici/lib/web/cookies/index.js +0 -199
  506. package/node_modules/cheerio/node_modules/undici/lib/web/cookies/parse.js +0 -322
  507. package/node_modules/cheerio/node_modules/undici/lib/web/cookies/util.js +0 -282
  508. package/node_modules/cheerio/node_modules/undici/lib/web/eventsource/eventsource-stream.js +0 -399
  509. package/node_modules/cheerio/node_modules/undici/lib/web/eventsource/eventsource.js +0 -501
  510. package/node_modules/cheerio/node_modules/undici/lib/web/eventsource/util.js +0 -29
  511. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/LICENSE +0 -21
  512. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/body.js +0 -509
  513. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/constants.js +0 -131
  514. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/data-url.js +0 -596
  515. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/formdata-parser.js +0 -586
  516. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/formdata.js +0 -259
  517. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/global.js +0 -40
  518. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/headers.js +0 -719
  519. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/index.js +0 -2413
  520. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/request.js +0 -1115
  521. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/response.js +0 -641
  522. package/node_modules/cheerio/node_modules/undici/lib/web/fetch/util.js +0 -1522
  523. package/node_modules/cheerio/node_modules/undici/lib/web/infra/index.js +0 -229
  524. package/node_modules/cheerio/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
  525. package/node_modules/cheerio/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +0 -307
  526. package/node_modules/cheerio/node_modules/undici/lib/web/webidl/index.js +0 -1006
  527. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/connection.js +0 -329
  528. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/constants.js +0 -126
  529. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/events.js +0 -331
  530. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/frame.js +0 -133
  531. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/permessage-deflate.js +0 -118
  532. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/receiver.js +0 -450
  533. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/sender.js +0 -109
  534. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/stream/websocketerror.js +0 -104
  535. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/stream/websocketstream.js +0 -491
  536. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/util.js +0 -347
  537. package/node_modules/cheerio/node_modules/undici/lib/web/websocket/websocket.js +0 -751
  538. package/node_modules/cheerio/node_modules/undici/package.json +0 -152
  539. package/node_modules/cheerio/node_modules/undici/scripts/strip-comments.js +0 -10
  540. package/node_modules/cheerio/node_modules/undici/types/README.md +0 -6
  541. package/node_modules/cheerio/node_modules/undici/types/agent.d.ts +0 -32
  542. package/node_modules/cheerio/node_modules/undici/types/api.d.ts +0 -43
  543. package/node_modules/cheerio/node_modules/undici/types/balanced-pool.d.ts +0 -30
  544. package/node_modules/cheerio/node_modules/undici/types/cache-interceptor.d.ts +0 -179
  545. package/node_modules/cheerio/node_modules/undici/types/cache.d.ts +0 -36
  546. package/node_modules/cheerio/node_modules/undici/types/client-stats.d.ts +0 -15
  547. package/node_modules/cheerio/node_modules/undici/types/client.d.ts +0 -123
  548. package/node_modules/cheerio/node_modules/undici/types/connector.d.ts +0 -36
  549. package/node_modules/cheerio/node_modules/undici/types/content-type.d.ts +0 -21
  550. package/node_modules/cheerio/node_modules/undici/types/cookies.d.ts +0 -30
  551. package/node_modules/cheerio/node_modules/undici/types/diagnostics-channel.d.ts +0 -74
  552. package/node_modules/cheerio/node_modules/undici/types/dispatcher.d.ts +0 -273
  553. package/node_modules/cheerio/node_modules/undici/types/env-http-proxy-agent.d.ts +0 -22
  554. package/node_modules/cheerio/node_modules/undici/types/errors.d.ts +0 -177
  555. package/node_modules/cheerio/node_modules/undici/types/eventsource.d.ts +0 -66
  556. package/node_modules/cheerio/node_modules/undici/types/fetch.d.ts +0 -231
  557. package/node_modules/cheerio/node_modules/undici/types/formdata.d.ts +0 -114
  558. package/node_modules/cheerio/node_modules/undici/types/global-dispatcher.d.ts +0 -9
  559. package/node_modules/cheerio/node_modules/undici/types/global-origin.d.ts +0 -7
  560. package/node_modules/cheerio/node_modules/undici/types/h2c-client.d.ts +0 -73
  561. package/node_modules/cheerio/node_modules/undici/types/handlers.d.ts +0 -14
  562. package/node_modules/cheerio/node_modules/undici/types/header.d.ts +0 -160
  563. package/node_modules/cheerio/node_modules/undici/types/index.d.ts +0 -91
  564. package/node_modules/cheerio/node_modules/undici/types/interceptors.d.ts +0 -80
  565. package/node_modules/cheerio/node_modules/undici/types/mock-agent.d.ts +0 -68
  566. package/node_modules/cheerio/node_modules/undici/types/mock-call-history.d.ts +0 -111
  567. package/node_modules/cheerio/node_modules/undici/types/mock-client.d.ts +0 -27
  568. package/node_modules/cheerio/node_modules/undici/types/mock-errors.d.ts +0 -12
  569. package/node_modules/cheerio/node_modules/undici/types/mock-interceptor.d.ts +0 -94
  570. package/node_modules/cheerio/node_modules/undici/types/mock-pool.d.ts +0 -27
  571. package/node_modules/cheerio/node_modules/undici/types/patch.d.ts +0 -29
  572. package/node_modules/cheerio/node_modules/undici/types/pool-stats.d.ts +0 -19
  573. package/node_modules/cheerio/node_modules/undici/types/pool.d.ts +0 -41
  574. package/node_modules/cheerio/node_modules/undici/types/proxy-agent.d.ts +0 -29
  575. package/node_modules/cheerio/node_modules/undici/types/readable.d.ts +0 -68
  576. package/node_modules/cheerio/node_modules/undici/types/retry-agent.d.ts +0 -8
  577. package/node_modules/cheerio/node_modules/undici/types/retry-handler.d.ts +0 -125
  578. package/node_modules/cheerio/node_modules/undici/types/round-robin-pool.d.ts +0 -41
  579. package/node_modules/cheerio/node_modules/undici/types/snapshot-agent.d.ts +0 -109
  580. package/node_modules/cheerio/node_modules/undici/types/socks5-proxy-agent.d.ts +0 -25
  581. package/node_modules/cheerio/node_modules/undici/types/util.d.ts +0 -18
  582. package/node_modules/cheerio/node_modules/undici/types/utility.d.ts +0 -7
  583. package/node_modules/cheerio/node_modules/undici/types/webidl.d.ts +0 -347
  584. package/node_modules/cheerio/node_modules/undici/types/websocket.d.ts +0 -188
  585. package/node_modules/cheerio/package.json +0 -182
  586. package/node_modules/cheerio/src/api/attributes.ts +0 -1145
  587. package/node_modules/cheerio/src/api/css.ts +0 -224
  588. package/node_modules/cheerio/src/api/extract.ts +0 -92
  589. package/node_modules/cheerio/src/api/forms.ts +0 -103
  590. package/node_modules/cheerio/src/api/manipulation.ts +0 -1115
  591. package/node_modules/cheerio/src/api/traversing.ts +0 -1175
  592. package/node_modules/cheerio/src/cheerio.ts +0 -143
  593. package/node_modules/cheerio/src/index-browser.mts +0 -10
  594. package/node_modules/cheerio/src/index.ts +0 -294
  595. package/node_modules/cheerio/src/load-parse.ts +0 -39
  596. package/node_modules/cheerio/src/load.ts +0 -282
  597. package/node_modules/cheerio/src/options.ts +0 -136
  598. package/node_modules/cheerio/src/parse.ts +0 -105
  599. package/node_modules/cheerio/src/parsers/parse5-adapter.ts +0 -66
  600. package/node_modules/cheerio/src/slim.ts +0 -33
  601. package/node_modules/cheerio/src/static.ts +0 -312
  602. package/node_modules/cheerio/src/types.ts +0 -58
  603. package/node_modules/cheerio/src/utils.ts +0 -99
  604. package/node_modules/cheerio-select/README.md +0 -18
  605. package/node_modules/cheerio-select/lib/esm/helpers.d.ts +0 -5
  606. package/node_modules/cheerio-select/lib/esm/helpers.d.ts.map +0 -1
  607. package/node_modules/cheerio-select/lib/esm/helpers.js +0 -20
  608. package/node_modules/cheerio-select/lib/esm/helpers.js.map +0 -1
  609. package/node_modules/cheerio-select/lib/esm/index.d.ts +0 -12
  610. package/node_modules/cheerio-select/lib/esm/index.d.ts.map +0 -1
  611. package/node_modules/cheerio-select/lib/esm/index.js +0 -241
  612. package/node_modules/cheerio-select/lib/esm/index.js.map +0 -1
  613. package/node_modules/cheerio-select/lib/esm/package.json +0 -1
  614. package/node_modules/cheerio-select/lib/esm/positionals.d.ts +0 -10
  615. package/node_modules/cheerio-select/lib/esm/positionals.d.ts.map +0 -1
  616. package/node_modules/cheerio-select/lib/esm/positionals.js +0 -47
  617. package/node_modules/cheerio-select/lib/esm/positionals.js.map +0 -1
  618. package/node_modules/cheerio-select/lib/helpers.d.ts +0 -5
  619. package/node_modules/cheerio-select/lib/helpers.d.ts.map +0 -1
  620. package/node_modules/cheerio-select/lib/helpers.js +0 -26
  621. package/node_modules/cheerio-select/lib/helpers.js.map +0 -1
  622. package/node_modules/cheerio-select/lib/index.d.ts +0 -12
  623. package/node_modules/cheerio-select/lib/index.d.ts.map +0 -1
  624. package/node_modules/cheerio-select/lib/index.js +0 -302
  625. package/node_modules/cheerio-select/lib/index.js.map +0 -1
  626. package/node_modules/cheerio-select/lib/positionals.d.ts +0 -10
  627. package/node_modules/cheerio-select/lib/positionals.d.ts.map +0 -1
  628. package/node_modules/cheerio-select/lib/positionals.js +0 -52
  629. package/node_modules/cheerio-select/lib/positionals.js.map +0 -1
  630. package/node_modules/cheerio-select/package.json +0 -76
  631. package/node_modules/css-select/README.md +0 -264
  632. package/node_modules/css-select/lib/attributes.d.ts +0 -7
  633. package/node_modules/css-select/lib/attributes.d.ts.map +0 -1
  634. package/node_modules/css-select/lib/attributes.js +0 -236
  635. package/node_modules/css-select/lib/attributes.js.map +0 -1
  636. package/node_modules/css-select/lib/compile.d.ts +0 -13
  637. package/node_modules/css-select/lib/compile.d.ts.map +0 -1
  638. package/node_modules/css-select/lib/compile.js +0 -151
  639. package/node_modules/css-select/lib/compile.js.map +0 -1
  640. package/node_modules/css-select/lib/esm/attributes.d.ts +0 -7
  641. package/node_modules/css-select/lib/esm/attributes.d.ts.map +0 -1
  642. package/node_modules/css-select/lib/esm/attributes.js +0 -222
  643. package/node_modules/css-select/lib/esm/attributes.js.map +0 -1
  644. package/node_modules/css-select/lib/esm/compile.d.ts +0 -13
  645. package/node_modules/css-select/lib/esm/compile.d.ts.map +0 -1
  646. package/node_modules/css-select/lib/esm/compile.js +0 -115
  647. package/node_modules/css-select/lib/esm/compile.js.map +0 -1
  648. package/node_modules/css-select/lib/esm/general.d.ts +0 -3
  649. package/node_modules/css-select/lib/esm/general.d.ts.map +0 -1
  650. package/node_modules/css-select/lib/esm/general.js +0 -144
  651. package/node_modules/css-select/lib/esm/general.js.map +0 -1
  652. package/node_modules/css-select/lib/esm/index.d.ts +0 -50
  653. package/node_modules/css-select/lib/esm/index.d.ts.map +0 -1
  654. package/node_modules/css-select/lib/esm/index.js +0 -115
  655. package/node_modules/css-select/lib/esm/index.js.map +0 -1
  656. package/node_modules/css-select/lib/esm/package.json +0 -1
  657. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts +0 -5
  658. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts.map +0 -1
  659. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js +0 -35
  660. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js.map +0 -1
  661. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts +0 -4
  662. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts.map +0 -1
  663. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js +0 -143
  664. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js.map +0 -1
  665. package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts +0 -8
  666. package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts.map +0 -1
  667. package/node_modules/css-select/lib/esm/pseudo-selectors/index.js +0 -40
  668. package/node_modules/css-select/lib/esm/pseudo-selectors/index.js.map +0 -1
  669. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts +0 -6
  670. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts.map +0 -1
  671. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js +0 -79
  672. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js.map +0 -1
  673. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts +0 -9
  674. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts.map +0 -1
  675. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js +0 -94
  676. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js.map +0 -1
  677. package/node_modules/css-select/lib/esm/sort.d.ts +0 -12
  678. package/node_modules/css-select/lib/esm/sort.d.ts.map +0 -1
  679. package/node_modules/css-select/lib/esm/sort.js +0 -79
  680. package/node_modules/css-select/lib/esm/sort.js.map +0 -1
  681. package/node_modules/css-select/lib/esm/types.d.ts +0 -167
  682. package/node_modules/css-select/lib/esm/types.d.ts.map +0 -1
  683. package/node_modules/css-select/lib/esm/types.js +0 -2
  684. package/node_modules/css-select/lib/esm/types.js.map +0 -1
  685. package/node_modules/css-select/lib/general.d.ts +0 -3
  686. package/node_modules/css-select/lib/general.d.ts.map +0 -1
  687. package/node_modules/css-select/lib/general.js +0 -148
  688. package/node_modules/css-select/lib/general.js.map +0 -1
  689. package/node_modules/css-select/lib/index.d.ts +0 -50
  690. package/node_modules/css-select/lib/index.d.ts.map +0 -1
  691. package/node_modules/css-select/lib/index.js +0 -154
  692. package/node_modules/css-select/lib/index.js.map +0 -1
  693. package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts +0 -5
  694. package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map +0 -1
  695. package/node_modules/css-select/lib/pseudo-selectors/aliases.js +0 -34
  696. package/node_modules/css-select/lib/pseudo-selectors/aliases.js.map +0 -1
  697. package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts +0 -4
  698. package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map +0 -1
  699. package/node_modules/css-select/lib/pseudo-selectors/filters.js +0 -157
  700. package/node_modules/css-select/lib/pseudo-selectors/filters.js.map +0 -1
  701. package/node_modules/css-select/lib/pseudo-selectors/index.d.ts +0 -8
  702. package/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map +0 -1
  703. package/node_modules/css-select/lib/pseudo-selectors/index.js +0 -46
  704. package/node_modules/css-select/lib/pseudo-selectors/index.js.map +0 -1
  705. package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts +0 -6
  706. package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map +0 -1
  707. package/node_modules/css-select/lib/pseudo-selectors/pseudos.js +0 -93
  708. package/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map +0 -1
  709. package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts +0 -9
  710. package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map +0 -1
  711. package/node_modules/css-select/lib/pseudo-selectors/subselects.js +0 -112
  712. package/node_modules/css-select/lib/pseudo-selectors/subselects.js.map +0 -1
  713. package/node_modules/css-select/lib/sort.d.ts +0 -12
  714. package/node_modules/css-select/lib/sort.d.ts.map +0 -1
  715. package/node_modules/css-select/lib/sort.js +0 -84
  716. package/node_modules/css-select/lib/sort.js.map +0 -1
  717. package/node_modules/css-select/lib/types.d.ts +0 -167
  718. package/node_modules/css-select/lib/types.d.ts.map +0 -1
  719. package/node_modules/css-select/lib/types.js +0 -3
  720. package/node_modules/css-select/lib/types.js.map +0 -1
  721. package/node_modules/css-select/package.json +0 -81
  722. package/node_modules/css-what/lib/commonjs/index.d.ts +0 -4
  723. package/node_modules/css-what/lib/commonjs/index.d.ts.map +0 -1
  724. package/node_modules/css-what/lib/commonjs/index.js +0 -23
  725. package/node_modules/css-what/lib/commonjs/parse.d.ts +0 -20
  726. package/node_modules/css-what/lib/commonjs/parse.d.ts.map +0 -1
  727. package/node_modules/css-what/lib/commonjs/parse.js +0 -425
  728. package/node_modules/css-what/lib/commonjs/stringify.d.ts +0 -8
  729. package/node_modules/css-what/lib/commonjs/stringify.d.ts.map +0 -1
  730. package/node_modules/css-what/lib/commonjs/stringify.js +0 -138
  731. package/node_modules/css-what/lib/commonjs/types.d.ts +0 -70
  732. package/node_modules/css-what/lib/commonjs/types.d.ts.map +0 -1
  733. package/node_modules/css-what/lib/commonjs/types.js +0 -42
  734. package/node_modules/css-what/lib/es/index.d.ts +0 -4
  735. package/node_modules/css-what/lib/es/index.d.ts.map +0 -1
  736. package/node_modules/css-what/lib/es/index.js +0 -3
  737. package/node_modules/css-what/lib/es/parse.d.ts +0 -20
  738. package/node_modules/css-what/lib/es/parse.d.ts.map +0 -1
  739. package/node_modules/css-what/lib/es/parse.js +0 -420
  740. package/node_modules/css-what/lib/es/stringify.d.ts +0 -8
  741. package/node_modules/css-what/lib/es/stringify.d.ts.map +0 -1
  742. package/node_modules/css-what/lib/es/stringify.js +0 -126
  743. package/node_modules/css-what/lib/es/types.d.ts +0 -70
  744. package/node_modules/css-what/lib/es/types.d.ts.map +0 -1
  745. package/node_modules/css-what/lib/es/types.js +0 -39
  746. package/node_modules/css-what/package.json +0 -59
  747. package/node_modules/css-what/readme.md +0 -69
  748. package/node_modules/dom-serializer/LICENSE +0 -11
  749. package/node_modules/dom-serializer/README.md +0 -109
  750. package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts +0 -3
  751. package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts.map +0 -1
  752. package/node_modules/dom-serializer/lib/esm/foreignNames.js +0 -100
  753. package/node_modules/dom-serializer/lib/esm/index.d.ts +0 -52
  754. package/node_modules/dom-serializer/lib/esm/index.d.ts.map +0 -1
  755. package/node_modules/dom-serializer/lib/esm/index.js +0 -190
  756. package/node_modules/dom-serializer/lib/esm/package.json +0 -1
  757. package/node_modules/dom-serializer/lib/foreignNames.d.ts +0 -3
  758. package/node_modules/dom-serializer/lib/foreignNames.d.ts.map +0 -1
  759. package/node_modules/dom-serializer/lib/foreignNames.js +0 -103
  760. package/node_modules/dom-serializer/lib/index.d.ts +0 -52
  761. package/node_modules/dom-serializer/lib/index.d.ts.map +0 -1
  762. package/node_modules/dom-serializer/lib/index.js +0 -229
  763. package/node_modules/dom-serializer/package.json +0 -69
  764. package/node_modules/domelementtype/LICENSE +0 -11
  765. package/node_modules/domelementtype/lib/esm/index.d.ts +0 -48
  766. package/node_modules/domelementtype/lib/esm/index.d.ts.map +0 -1
  767. package/node_modules/domelementtype/lib/esm/index.js +0 -51
  768. package/node_modules/domelementtype/lib/esm/package.json +0 -1
  769. package/node_modules/domelementtype/lib/index.d.ts +0 -48
  770. package/node_modules/domelementtype/lib/index.d.ts.map +0 -1
  771. package/node_modules/domelementtype/lib/index.js +0 -55
  772. package/node_modules/domelementtype/package.json +0 -54
  773. package/node_modules/domhandler/LICENSE +0 -11
  774. package/node_modules/domhandler/lib/esm/index.d.ts +0 -76
  775. package/node_modules/domhandler/lib/esm/index.d.ts.map +0 -1
  776. package/node_modules/domhandler/lib/esm/index.js +0 -146
  777. package/node_modules/domhandler/lib/esm/node.d.ts +0 -245
  778. package/node_modules/domhandler/lib/esm/node.d.ts.map +0 -1
  779. package/node_modules/domhandler/lib/esm/node.js +0 -338
  780. package/node_modules/domhandler/lib/esm/package.json +0 -1
  781. package/node_modules/domhandler/lib/index.d.ts +0 -76
  782. package/node_modules/domhandler/lib/index.d.ts.map +0 -1
  783. package/node_modules/domhandler/lib/index.js +0 -165
  784. package/node_modules/domhandler/lib/node.d.ts +0 -245
  785. package/node_modules/domhandler/lib/node.d.ts.map +0 -1
  786. package/node_modules/domhandler/lib/node.js +0 -474
  787. package/node_modules/domhandler/package.json +0 -73
  788. package/node_modules/domhandler/readme.md +0 -92
  789. package/node_modules/domutils/LICENSE +0 -11
  790. package/node_modules/domutils/lib/esm/feeds.d.ts +0 -71
  791. package/node_modules/domutils/lib/esm/feeds.d.ts.map +0 -1
  792. package/node_modules/domutils/lib/esm/feeds.js +0 -183
  793. package/node_modules/domutils/lib/esm/feeds.js.map +0 -1
  794. package/node_modules/domutils/lib/esm/helpers.d.ts +0 -59
  795. package/node_modules/domutils/lib/esm/helpers.d.ts.map +0 -1
  796. package/node_modules/domutils/lib/esm/helpers.js +0 -136
  797. package/node_modules/domutils/lib/esm/helpers.js.map +0 -1
  798. package/node_modules/domutils/lib/esm/index.d.ts +0 -10
  799. package/node_modules/domutils/lib/esm/index.d.ts.map +0 -1
  800. package/node_modules/domutils/lib/esm/index.js +0 -10
  801. package/node_modules/domutils/lib/esm/index.js.map +0 -1
  802. package/node_modules/domutils/lib/esm/legacy.d.ts +0 -79
  803. package/node_modules/domutils/lib/esm/legacy.d.ts.map +0 -1
  804. package/node_modules/domutils/lib/esm/legacy.js +0 -152
  805. package/node_modules/domutils/lib/esm/legacy.js.map +0 -1
  806. package/node_modules/domutils/lib/esm/manipulation.d.ts +0 -49
  807. package/node_modules/domutils/lib/esm/manipulation.d.ts.map +0 -1
  808. package/node_modules/domutils/lib/esm/manipulation.js +0 -134
  809. package/node_modules/domutils/lib/esm/manipulation.js.map +0 -1
  810. package/node_modules/domutils/lib/esm/package.json +0 -1
  811. package/node_modules/domutils/lib/esm/querying.d.ts +0 -64
  812. package/node_modules/domutils/lib/esm/querying.d.ts.map +0 -1
  813. package/node_modules/domutils/lib/esm/querying.js +0 -142
  814. package/node_modules/domutils/lib/esm/querying.js.map +0 -1
  815. package/node_modules/domutils/lib/esm/stringify.d.ts +0 -46
  816. package/node_modules/domutils/lib/esm/stringify.d.ts.map +0 -1
  817. package/node_modules/domutils/lib/esm/stringify.js +0 -81
  818. package/node_modules/domutils/lib/esm/stringify.js.map +0 -1
  819. package/node_modules/domutils/lib/esm/traversal.d.ts +0 -67
  820. package/node_modules/domutils/lib/esm/traversal.d.ts.map +0 -1
  821. package/node_modules/domutils/lib/esm/traversal.js +0 -112
  822. package/node_modules/domutils/lib/esm/traversal.js.map +0 -1
  823. package/node_modules/domutils/lib/feeds.d.ts +0 -71
  824. package/node_modules/domutils/lib/feeds.d.ts.map +0 -1
  825. package/node_modules/domutils/lib/feeds.js +0 -190
  826. package/node_modules/domutils/lib/feeds.js.map +0 -1
  827. package/node_modules/domutils/lib/helpers.d.ts +0 -59
  828. package/node_modules/domutils/lib/helpers.d.ts.map +0 -1
  829. package/node_modules/domutils/lib/helpers.js +0 -142
  830. package/node_modules/domutils/lib/helpers.js.map +0 -1
  831. package/node_modules/domutils/lib/index.d.ts +0 -10
  832. package/node_modules/domutils/lib/index.d.ts.map +0 -1
  833. package/node_modules/domutils/lib/index.js +0 -33
  834. package/node_modules/domutils/lib/index.js.map +0 -1
  835. package/node_modules/domutils/lib/legacy.d.ts +0 -79
  836. package/node_modules/domutils/lib/legacy.d.ts.map +0 -1
  837. package/node_modules/domutils/lib/legacy.js +0 -168
  838. package/node_modules/domutils/lib/legacy.js.map +0 -1
  839. package/node_modules/domutils/lib/manipulation.d.ts +0 -49
  840. package/node_modules/domutils/lib/manipulation.d.ts.map +0 -1
  841. package/node_modules/domutils/lib/manipulation.js +0 -142
  842. package/node_modules/domutils/lib/manipulation.js.map +0 -1
  843. package/node_modules/domutils/lib/querying.d.ts +0 -64
  844. package/node_modules/domutils/lib/querying.d.ts.map +0 -1
  845. package/node_modules/domutils/lib/querying.js +0 -155
  846. package/node_modules/domutils/lib/querying.js.map +0 -1
  847. package/node_modules/domutils/lib/stringify.d.ts +0 -46
  848. package/node_modules/domutils/lib/stringify.d.ts.map +0 -1
  849. package/node_modules/domutils/lib/stringify.js +0 -91
  850. package/node_modules/domutils/lib/stringify.js.map +0 -1
  851. package/node_modules/domutils/lib/traversal.d.ts +0 -67
  852. package/node_modules/domutils/lib/traversal.d.ts.map +0 -1
  853. package/node_modules/domutils/lib/traversal.js +0 -125
  854. package/node_modules/domutils/lib/traversal.js.map +0 -1
  855. package/node_modules/domutils/package.json +0 -79
  856. package/node_modules/domutils/readme.md +0 -31
  857. package/node_modules/encoding-sniffer/LICENSE +0 -18
  858. package/node_modules/encoding-sniffer/README.md +0 -68
  859. package/node_modules/encoding-sniffer/dist/commonjs/index.d.ts +0 -31
  860. package/node_modules/encoding-sniffer/dist/commonjs/index.d.ts.map +0 -1
  861. package/node_modules/encoding-sniffer/dist/commonjs/index.js +0 -72
  862. package/node_modules/encoding-sniffer/dist/commonjs/index.js.map +0 -1
  863. package/node_modules/encoding-sniffer/dist/commonjs/package.json +0 -3
  864. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.d.ts +0 -148
  865. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.d.ts.map +0 -1
  866. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.js +0 -990
  867. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.js.map +0 -1
  868. package/node_modules/encoding-sniffer/dist/esm/index.d.ts +0 -31
  869. package/node_modules/encoding-sniffer/dist/esm/index.d.ts.map +0 -1
  870. package/node_modules/encoding-sniffer/dist/esm/index.js +0 -63
  871. package/node_modules/encoding-sniffer/dist/esm/index.js.map +0 -1
  872. package/node_modules/encoding-sniffer/dist/esm/package.json +0 -3
  873. package/node_modules/encoding-sniffer/dist/esm/sniffer.d.ts +0 -148
  874. package/node_modules/encoding-sniffer/dist/esm/sniffer.d.ts.map +0 -1
  875. package/node_modules/encoding-sniffer/dist/esm/sniffer.js +0 -985
  876. package/node_modules/encoding-sniffer/dist/esm/sniffer.js.map +0 -1
  877. package/node_modules/encoding-sniffer/package.json +0 -94
  878. package/node_modules/encoding-sniffer/sniffer.d.ts +0 -2
  879. package/node_modules/encoding-sniffer/sniffer.js +0 -3
  880. package/node_modules/entities/LICENSE +0 -11
  881. package/node_modules/entities/lib/decode.d.ts +0 -211
  882. package/node_modules/entities/lib/decode.d.ts.map +0 -1
  883. package/node_modules/entities/lib/decode.js +0 -536
  884. package/node_modules/entities/lib/decode.js.map +0 -1
  885. package/node_modules/entities/lib/decode_codepoint.d.ts +0 -19
  886. package/node_modules/entities/lib/decode_codepoint.d.ts.map +0 -1
  887. package/node_modules/entities/lib/decode_codepoint.js +0 -76
  888. package/node_modules/entities/lib/decode_codepoint.js.map +0 -1
  889. package/node_modules/entities/lib/encode.d.ts +0 -22
  890. package/node_modules/entities/lib/encode.d.ts.map +0 -1
  891. package/node_modules/entities/lib/encode.js +0 -77
  892. package/node_modules/entities/lib/encode.js.map +0 -1
  893. package/node_modules/entities/lib/escape.d.ts +0 -43
  894. package/node_modules/entities/lib/escape.d.ts.map +0 -1
  895. package/node_modules/entities/lib/escape.js +0 -122
  896. package/node_modules/entities/lib/escape.js.map +0 -1
  897. package/node_modules/entities/lib/esm/decode.d.ts +0 -211
  898. package/node_modules/entities/lib/esm/decode.d.ts.map +0 -1
  899. package/node_modules/entities/lib/esm/decode.js +0 -496
  900. package/node_modules/entities/lib/esm/decode.js.map +0 -1
  901. package/node_modules/entities/lib/esm/decode_codepoint.d.ts +0 -19
  902. package/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +0 -1
  903. package/node_modules/entities/lib/esm/decode_codepoint.js +0 -71
  904. package/node_modules/entities/lib/esm/decode_codepoint.js.map +0 -1
  905. package/node_modules/entities/lib/esm/encode.d.ts +0 -22
  906. package/node_modules/entities/lib/esm/encode.d.ts.map +0 -1
  907. package/node_modules/entities/lib/esm/encode.js +0 -69
  908. package/node_modules/entities/lib/esm/encode.js.map +0 -1
  909. package/node_modules/entities/lib/esm/escape.d.ts +0 -43
  910. package/node_modules/entities/lib/esm/escape.d.ts.map +0 -1
  911. package/node_modules/entities/lib/esm/escape.js +0 -116
  912. package/node_modules/entities/lib/esm/escape.js.map +0 -1
  913. package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +0 -3
  914. package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +0 -1
  915. package/node_modules/entities/lib/esm/generated/decode-data-html.js +0 -7
  916. package/node_modules/entities/lib/esm/generated/decode-data-html.js.map +0 -1
  917. package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +0 -3
  918. package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +0 -1
  919. package/node_modules/entities/lib/esm/generated/decode-data-xml.js +0 -7
  920. package/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +0 -1
  921. package/node_modules/entities/lib/esm/generated/encode-html.d.ts +0 -8
  922. package/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +0 -1
  923. package/node_modules/entities/lib/esm/generated/encode-html.js +0 -10
  924. package/node_modules/entities/lib/esm/generated/encode-html.js.map +0 -1
  925. package/node_modules/entities/lib/esm/index.d.ts +0 -96
  926. package/node_modules/entities/lib/esm/index.d.ts.map +0 -1
  927. package/node_modules/entities/lib/esm/index.js +0 -99
  928. package/node_modules/entities/lib/esm/index.js.map +0 -1
  929. package/node_modules/entities/lib/esm/package.json +0 -1
  930. package/node_modules/entities/lib/generated/decode-data-html.d.ts +0 -3
  931. package/node_modules/entities/lib/generated/decode-data-html.d.ts.map +0 -1
  932. package/node_modules/entities/lib/generated/decode-data-html.js +0 -9
  933. package/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
  934. package/node_modules/entities/lib/generated/decode-data-xml.d.ts +0 -3
  935. package/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +0 -1
  936. package/node_modules/entities/lib/generated/decode-data-xml.js +0 -9
  937. package/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
  938. package/node_modules/entities/lib/generated/encode-html.d.ts +0 -8
  939. package/node_modules/entities/lib/generated/encode-html.d.ts.map +0 -1
  940. package/node_modules/entities/lib/generated/encode-html.js +0 -12
  941. package/node_modules/entities/lib/generated/encode-html.js.map +0 -1
  942. package/node_modules/entities/lib/index.d.ts +0 -96
  943. package/node_modules/entities/lib/index.d.ts.map +0 -1
  944. package/node_modules/entities/lib/index.js +0 -126
  945. package/node_modules/entities/lib/index.js.map +0 -1
  946. package/node_modules/entities/package.json +0 -90
  947. package/node_modules/entities/readme.md +0 -122
  948. package/node_modules/htmlparser2/WritableStream.js +0 -3
  949. package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts +0 -198
  950. package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts.map +0 -1
  951. package/node_modules/htmlparser2/dist/commonjs/Parser.js +0 -527
  952. package/node_modules/htmlparser2/dist/commonjs/Parser.js.map +0 -1
  953. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts +0 -126
  954. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts.map +0 -1
  955. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +0 -805
  956. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +0 -1
  957. package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts +0 -15
  958. package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts.map +0 -1
  959. package/node_modules/htmlparser2/dist/commonjs/WritableStream.js +0 -36
  960. package/node_modules/htmlparser2/dist/commonjs/WritableStream.js.map +0 -1
  961. package/node_modules/htmlparser2/dist/commonjs/index.d.ts +0 -54
  962. package/node_modules/htmlparser2/dist/commonjs/index.d.ts.map +0 -1
  963. package/node_modules/htmlparser2/dist/commonjs/index.js +0 -123
  964. package/node_modules/htmlparser2/dist/commonjs/index.js.map +0 -1
  965. package/node_modules/htmlparser2/dist/commonjs/package.json +0 -3
  966. package/node_modules/htmlparser2/dist/esm/Parser.d.ts +0 -198
  967. package/node_modules/htmlparser2/dist/esm/Parser.d.ts.map +0 -1
  968. package/node_modules/htmlparser2/dist/esm/Parser.js +0 -490
  969. package/node_modules/htmlparser2/dist/esm/Parser.js.map +0 -1
  970. package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts +0 -126
  971. package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts.map +0 -1
  972. package/node_modules/htmlparser2/dist/esm/Tokenizer.js +0 -801
  973. package/node_modules/htmlparser2/dist/esm/Tokenizer.js.map +0 -1
  974. package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts +0 -15
  975. package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts.map +0 -1
  976. package/node_modules/htmlparser2/dist/esm/WritableStream.js +0 -32
  977. package/node_modules/htmlparser2/dist/esm/WritableStream.js.map +0 -1
  978. package/node_modules/htmlparser2/dist/esm/index.d.ts +0 -54
  979. package/node_modules/htmlparser2/dist/esm/index.d.ts.map +0 -1
  980. package/node_modules/htmlparser2/dist/esm/index.js +0 -74
  981. package/node_modules/htmlparser2/dist/esm/index.js.map +0 -1
  982. package/node_modules/htmlparser2/dist/esm/package.json +0 -3
  983. package/node_modules/htmlparser2/node_modules/entities/decode.d.ts +0 -3
  984. package/node_modules/htmlparser2/node_modules/entities/decode.js +0 -3
  985. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +0 -19
  986. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +0 -1
  987. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -77
  988. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +0 -1
  989. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts +0 -205
  990. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts.map +0 -1
  991. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +0 -568
  992. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +0 -1
  993. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts +0 -22
  994. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts.map +0 -1
  995. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js +0 -92
  996. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js.map +0 -1
  997. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts +0 -46
  998. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts.map +0 -1
  999. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js +0 -138
  1000. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js.map +0 -1
  1001. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +0 -2
  1002. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +0 -1
  1003. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -7
  1004. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +0 -1
  1005. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +0 -2
  1006. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +0 -1
  1007. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -7
  1008. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +0 -1
  1009. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +0 -3
  1010. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +0 -1
  1011. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js +0 -14
  1012. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js.map +0 -1
  1013. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts +0 -96
  1014. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts.map +0 -1
  1015. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js +0 -131
  1016. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js.map +0 -1
  1017. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts.map +0 -1
  1018. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +0 -21
  1019. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js.map +0 -1
  1020. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +0 -2
  1021. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts.map +0 -1
  1022. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js +0 -31
  1023. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js.map +0 -1
  1024. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +0 -32
  1025. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts.map +0 -1
  1026. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js +0 -94
  1027. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js.map +0 -1
  1028. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/package.json +0 -3
  1029. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts +0 -19
  1030. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +0 -1
  1031. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js +0 -72
  1032. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js.map +0 -1
  1033. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts +0 -205
  1034. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts.map +0 -1
  1035. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js +0 -554
  1036. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js.map +0 -1
  1037. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts +0 -22
  1038. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts.map +0 -1
  1039. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js +0 -88
  1040. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js.map +0 -1
  1041. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts +0 -46
  1042. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts.map +0 -1
  1043. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js +0 -134
  1044. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js.map +0 -1
  1045. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +0 -2
  1046. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +0 -1
  1047. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js +0 -4
  1048. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js.map +0 -1
  1049. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +0 -2
  1050. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +0 -1
  1051. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js +0 -4
  1052. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +0 -1
  1053. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts +0 -3
  1054. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +0 -1
  1055. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js +0 -11
  1056. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js.map +0 -1
  1057. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts +0 -96
  1058. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts.map +0 -1
  1059. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js +0 -107
  1060. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js.map +0 -1
  1061. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +0 -17
  1062. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts.map +0 -1
  1063. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js.map +0 -1
  1064. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts +0 -2
  1065. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts.map +0 -1
  1066. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js +0 -28
  1067. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js.map +0 -1
  1068. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts +0 -32
  1069. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts.map +0 -1
  1070. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js +0 -91
  1071. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js.map +0 -1
  1072. package/node_modules/htmlparser2/node_modules/entities/dist/esm/package.json +0 -3
  1073. package/node_modules/htmlparser2/node_modules/entities/escape.d.ts +0 -3
  1074. package/node_modules/htmlparser2/node_modules/entities/escape.js +0 -3
  1075. package/node_modules/htmlparser2/node_modules/entities/src/generated/.eslintrc.json +0 -10
  1076. package/node_modules/iconv-lite/.github/dependabot.yml +0 -11
  1077. package/node_modules/iconv-lite/.idea/codeStyles/Project.xml +0 -47
  1078. package/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +0 -5
  1079. package/node_modules/iconv-lite/.idea/iconv-lite.iml +0 -12
  1080. package/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +0 -6
  1081. package/node_modules/iconv-lite/.idea/modules.xml +0 -8
  1082. package/node_modules/iconv-lite/.idea/vcs.xml +0 -6
  1083. package/node_modules/iconv-lite/Changelog.md +0 -212
  1084. package/node_modules/iconv-lite/LICENSE +0 -21
  1085. package/node_modules/iconv-lite/README.md +0 -130
  1086. package/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -597
  1087. package/node_modules/iconv-lite/encodings/dbcs-data.js +0 -188
  1088. package/node_modules/iconv-lite/encodings/index.js +0 -23
  1089. package/node_modules/iconv-lite/encodings/internal.js +0 -198
  1090. package/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  1091. package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  1092. package/node_modules/iconv-lite/encodings/sbcs-data.js +0 -179
  1093. package/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  1094. package/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  1095. package/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  1096. package/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  1097. package/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  1098. package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  1099. package/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -56
  1100. package/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  1101. package/node_modules/iconv-lite/encodings/utf16.js +0 -197
  1102. package/node_modules/iconv-lite/encodings/utf32.js +0 -319
  1103. package/node_modules/iconv-lite/encodings/utf7.js +0 -290
  1104. package/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  1105. package/node_modules/iconv-lite/lib/index.d.ts +0 -41
  1106. package/node_modules/iconv-lite/lib/index.js +0 -180
  1107. package/node_modules/iconv-lite/lib/streams.js +0 -109
  1108. package/node_modules/iconv-lite/package.json +0 -44
  1109. package/node_modules/nth-check/LICENSE +0 -11
  1110. package/node_modules/nth-check/README.md +0 -136
  1111. package/node_modules/nth-check/lib/compile.d.ts +0 -55
  1112. package/node_modules/nth-check/lib/compile.d.ts.map +0 -1
  1113. package/node_modules/nth-check/lib/compile.js +0 -121
  1114. package/node_modules/nth-check/lib/compile.js.map +0 -1
  1115. package/node_modules/nth-check/lib/esm/compile.d.ts +0 -55
  1116. package/node_modules/nth-check/lib/esm/compile.d.ts.map +0 -1
  1117. package/node_modules/nth-check/lib/esm/compile.js +0 -113
  1118. package/node_modules/nth-check/lib/esm/compile.js.map +0 -1
  1119. package/node_modules/nth-check/lib/esm/index.d.ts +0 -59
  1120. package/node_modules/nth-check/lib/esm/index.d.ts.map +0 -1
  1121. package/node_modules/nth-check/lib/esm/index.js +0 -63
  1122. package/node_modules/nth-check/lib/esm/index.js.map +0 -1
  1123. package/node_modules/nth-check/lib/esm/package.json +0 -1
  1124. package/node_modules/nth-check/lib/esm/parse.d.ts +0 -9
  1125. package/node_modules/nth-check/lib/esm/parse.d.ts.map +0 -1
  1126. package/node_modules/nth-check/lib/esm/parse.js +0 -73
  1127. package/node_modules/nth-check/lib/esm/parse.js.map +0 -1
  1128. package/node_modules/nth-check/lib/index.d.ts +0 -59
  1129. package/node_modules/nth-check/lib/index.d.ts.map +0 -1
  1130. package/node_modules/nth-check/lib/index.js +0 -70
  1131. package/node_modules/nth-check/lib/index.js.map +0 -1
  1132. package/node_modules/nth-check/lib/parse.d.ts +0 -9
  1133. package/node_modules/nth-check/lib/parse.d.ts.map +0 -1
  1134. package/node_modules/nth-check/lib/parse.js +0 -77
  1135. package/node_modules/nth-check/lib/parse.js.map +0 -1
  1136. package/node_modules/nth-check/package.json +0 -78
  1137. package/node_modules/ora/index.d.ts +0 -332
  1138. package/node_modules/ora/index.js +0 -443
  1139. package/node_modules/ora/node_modules/chalk/license +0 -9
  1140. package/node_modules/ora/node_modules/chalk/package.json +0 -83
  1141. package/node_modules/ora/node_modules/chalk/readme.md +0 -297
  1142. package/node_modules/ora/node_modules/chalk/source/index.d.ts +0 -325
  1143. package/node_modules/ora/node_modules/chalk/source/index.js +0 -225
  1144. package/node_modules/ora/node_modules/chalk/source/utilities.js +0 -33
  1145. package/node_modules/ora/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  1146. package/node_modules/ora/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  1147. package/node_modules/ora/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  1148. package/node_modules/ora/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  1149. package/node_modules/ora/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  1150. package/node_modules/ora/node_modules/chalk/source/vendor/supports-color/index.js +0 -190
  1151. package/node_modules/ora/node_modules/cli-spinners/index.d.ts +0 -139
  1152. package/node_modules/ora/node_modules/cli-spinners/index.js +0 -11
  1153. package/node_modules/ora/node_modules/cli-spinners/license +0 -9
  1154. package/node_modules/ora/node_modules/cli-spinners/package.json +0 -56
  1155. package/node_modules/ora/node_modules/cli-spinners/readme.md +0 -74
  1156. package/node_modules/ora/node_modules/cli-spinners/spinners.json +0 -1665
  1157. package/node_modules/ora/node_modules/string-width/index.d.ts +0 -39
  1158. package/node_modules/ora/node_modules/string-width/index.js +0 -89
  1159. package/node_modules/ora/node_modules/string-width/license +0 -9
  1160. package/node_modules/ora/node_modules/string-width/package.json +0 -65
  1161. package/node_modules/ora/node_modules/string-width/readme.md +0 -66
  1162. package/node_modules/ora/package.json +0 -64
  1163. package/node_modules/ora/readme.md +0 -375
  1164. package/node_modules/parse5/LICENSE +0 -19
  1165. package/node_modules/parse5/README.md +0 -38
  1166. package/node_modules/parse5/dist/cjs/common/doctype.d.ts +0 -4
  1167. package/node_modules/parse5/dist/cjs/common/doctype.js +0 -118
  1168. package/node_modules/parse5/dist/cjs/common/error-codes.d.ts +0 -67
  1169. package/node_modules/parse5/dist/cjs/common/error-codes.js +0 -66
  1170. package/node_modules/parse5/dist/cjs/common/foreign-content.d.ts +0 -9
  1171. package/node_modules/parse5/dist/cjs/common/foreign-content.js +0 -237
  1172. package/node_modules/parse5/dist/cjs/common/html.d.ts +0 -289
  1173. package/node_modules/parse5/dist/cjs/common/html.js +0 -528
  1174. package/node_modules/parse5/dist/cjs/common/token.d.ts +0 -84
  1175. package/node_modules/parse5/dist/cjs/common/token.js +0 -24
  1176. package/node_modules/parse5/dist/cjs/common/unicode.d.ts +0 -42
  1177. package/node_modules/parse5/dist/cjs/common/unicode.js +0 -70
  1178. package/node_modules/parse5/dist/cjs/index.d.ts +0 -71
  1179. package/node_modules/parse5/dist/cjs/index.js +0 -54
  1180. package/node_modules/parse5/dist/cjs/package.json +0 -1
  1181. package/node_modules/parse5/dist/cjs/parser/formatting-element-list.d.ts +0 -36
  1182. package/node_modules/parse5/dist/cjs/parser/formatting-element-list.js +0 -114
  1183. package/node_modules/parse5/dist/cjs/parser/index.d.ts +0 -221
  1184. package/node_modules/parse5/dist/cjs/parser/index.js +0 -3240
  1185. package/node_modules/parse5/dist/cjs/parser/open-element-stack.d.ts +0 -53
  1186. package/node_modules/parse5/dist/cjs/parser/open-element-stack.js +0 -328
  1187. package/node_modules/parse5/dist/cjs/serializer/index.d.ts +0 -60
  1188. package/node_modules/parse5/dist/cjs/serializer/index.js +0 -172
  1189. package/node_modules/parse5/dist/cjs/tokenizer/index.d.ts +0 -247
  1190. package/node_modules/parse5/dist/cjs/tokenizer/index.js +0 -2714
  1191. package/node_modules/parse5/dist/cjs/tokenizer/preprocessor.d.ts +0 -36
  1192. package/node_modules/parse5/dist/cjs/tokenizer/preprocessor.js +0 -200
  1193. package/node_modules/parse5/dist/cjs/tree-adapters/default.d.ts +0 -84
  1194. package/node_modules/parse5/dist/cjs/tree-adapters/default.js +0 -176
  1195. package/node_modules/parse5/dist/cjs/tree-adapters/interface.d.ts +0 -255
  1196. package/node_modules/parse5/dist/cjs/tree-adapters/interface.js +0 -2
  1197. package/node_modules/parse5/dist/common/doctype.d.ts +0 -4
  1198. package/node_modules/parse5/dist/common/doctype.js +0 -114
  1199. package/node_modules/parse5/dist/common/error-codes.d.ts +0 -67
  1200. package/node_modules/parse5/dist/common/error-codes.js +0 -63
  1201. package/node_modules/parse5/dist/common/foreign-content.d.ts +0 -9
  1202. package/node_modules/parse5/dist/common/foreign-content.js +0 -228
  1203. package/node_modules/parse5/dist/common/html.d.ts +0 -289
  1204. package/node_modules/parse5/dist/common/html.js +0 -523
  1205. package/node_modules/parse5/dist/common/token.d.ts +0 -84
  1206. package/node_modules/parse5/dist/common/token.js +0 -20
  1207. package/node_modules/parse5/dist/common/unicode.d.ts +0 -42
  1208. package/node_modules/parse5/dist/common/unicode.js +0 -62
  1209. package/node_modules/parse5/dist/index.d.ts +0 -71
  1210. package/node_modules/parse5/dist/index.js +0 -42
  1211. package/node_modules/parse5/dist/parser/formatting-element-list.d.ts +0 -36
  1212. package/node_modules/parse5/dist/parser/formatting-element-list.js +0 -110
  1213. package/node_modules/parse5/dist/parser/index.d.ts +0 -221
  1214. package/node_modules/parse5/dist/parser/index.js +0 -3245
  1215. package/node_modules/parse5/dist/parser/open-element-stack.d.ts +0 -53
  1216. package/node_modules/parse5/dist/parser/open-element-stack.js +0 -324
  1217. package/node_modules/parse5/dist/serializer/index.d.ts +0 -60
  1218. package/node_modules/parse5/dist/serializer/index.js +0 -168
  1219. package/node_modules/parse5/dist/tokenizer/index.d.ts +0 -247
  1220. package/node_modules/parse5/dist/tokenizer/index.js +0 -2710
  1221. package/node_modules/parse5/dist/tokenizer/preprocessor.d.ts +0 -36
  1222. package/node_modules/parse5/dist/tokenizer/preprocessor.js +0 -196
  1223. package/node_modules/parse5/dist/tree-adapters/default.d.ts +0 -84
  1224. package/node_modules/parse5/dist/tree-adapters/default.js +0 -173
  1225. package/node_modules/parse5/dist/tree-adapters/interface.d.ts +0 -255
  1226. package/node_modules/parse5/dist/tree-adapters/interface.js +0 -1
  1227. package/node_modules/parse5/node_modules/entities/LICENSE +0 -11
  1228. package/node_modules/parse5/node_modules/entities/decode.d.ts +0 -1
  1229. package/node_modules/parse5/node_modules/entities/decode.js +0 -3
  1230. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +0 -19
  1231. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +0 -1
  1232. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -77
  1233. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js.map +0 -1
  1234. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts +0 -209
  1235. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts.map +0 -1
  1236. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js +0 -511
  1237. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js.map +0 -1
  1238. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts +0 -22
  1239. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts.map +0 -1
  1240. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js +0 -73
  1241. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js.map +0 -1
  1242. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts +0 -43
  1243. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts.map +0 -1
  1244. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js +0 -121
  1245. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js.map +0 -1
  1246. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +0 -2
  1247. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +0 -1
  1248. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -10
  1249. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +0 -1
  1250. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +0 -2
  1251. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +0 -1
  1252. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -10
  1253. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +0 -1
  1254. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +0 -8
  1255. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +0 -1
  1256. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js +0 -13
  1257. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js.map +0 -1
  1258. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts +0 -96
  1259. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts.map +0 -1
  1260. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js +0 -131
  1261. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js.map +0 -1
  1262. package/node_modules/parse5/node_modules/entities/dist/commonjs/package.json +0 -3
  1263. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts +0 -19
  1264. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +0 -1
  1265. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +0 -72
  1266. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js.map +0 -1
  1267. package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts +0 -209
  1268. package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts.map +0 -1
  1269. package/node_modules/parse5/node_modules/entities/dist/esm/decode.js +0 -497
  1270. package/node_modules/parse5/node_modules/entities/dist/esm/decode.js.map +0 -1
  1271. package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts +0 -22
  1272. package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts.map +0 -1
  1273. package/node_modules/parse5/node_modules/entities/dist/esm/encode.js +0 -69
  1274. package/node_modules/parse5/node_modules/entities/dist/esm/encode.js.map +0 -1
  1275. package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts +0 -43
  1276. package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts.map +0 -1
  1277. package/node_modules/parse5/node_modules/entities/dist/esm/escape.js +0 -117
  1278. package/node_modules/parse5/node_modules/entities/dist/esm/escape.js.map +0 -1
  1279. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +0 -2
  1280. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +0 -1
  1281. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +0 -7
  1282. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js.map +0 -1
  1283. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +0 -2
  1284. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +0 -1
  1285. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js +0 -7
  1286. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +0 -1
  1287. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts +0 -8
  1288. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +0 -1
  1289. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js +0 -10
  1290. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js.map +0 -1
  1291. package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts +0 -96
  1292. package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts.map +0 -1
  1293. package/node_modules/parse5/node_modules/entities/dist/esm/index.js +0 -107
  1294. package/node_modules/parse5/node_modules/entities/dist/esm/index.js.map +0 -1
  1295. package/node_modules/parse5/node_modules/entities/dist/esm/package.json +0 -3
  1296. package/node_modules/parse5/node_modules/entities/escape.d.ts +0 -1
  1297. package/node_modules/parse5/node_modules/entities/escape.js +0 -3
  1298. package/node_modules/parse5/node_modules/entities/package.json +0 -118
  1299. package/node_modules/parse5/node_modules/entities/readme.md +0 -122
  1300. package/node_modules/parse5/node_modules/entities/src/decode-codepoint.ts +0 -81
  1301. package/node_modules/parse5/node_modules/entities/src/decode.spec.ts +0 -320
  1302. package/node_modules/parse5/node_modules/entities/src/decode.ts +0 -620
  1303. package/node_modules/parse5/node_modules/entities/src/encode.spec.ts +0 -78
  1304. package/node_modules/parse5/node_modules/entities/src/encode.ts +0 -77
  1305. package/node_modules/parse5/node_modules/entities/src/escape.spec.ts +0 -14
  1306. package/node_modules/parse5/node_modules/entities/src/escape.ts +0 -148
  1307. package/node_modules/parse5/node_modules/entities/src/generated/.eslintrc.json +0 -10
  1308. package/node_modules/parse5/node_modules/entities/src/generated/decode-data-html.ts +0 -8
  1309. package/node_modules/parse5/node_modules/entities/src/generated/decode-data-xml.ts +0 -8
  1310. package/node_modules/parse5/node_modules/entities/src/generated/encode-html.ts +0 -17
  1311. package/node_modules/parse5/node_modules/entities/src/index.spec.ts +0 -125
  1312. package/node_modules/parse5/node_modules/entities/src/index.ts +0 -188
  1313. package/node_modules/parse5/package.json +0 -50
  1314. package/node_modules/parse5-htmlparser2-tree-adapter/LICENSE +0 -19
  1315. package/node_modules/parse5-htmlparser2-tree-adapter/README.md +0 -34
  1316. package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.d.ts +0 -6
  1317. package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.js +0 -214
  1318. package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/package.json +0 -1
  1319. package/node_modules/parse5-htmlparser2-tree-adapter/dist/index.d.ts +0 -6
  1320. package/node_modules/parse5-htmlparser2-tree-adapter/dist/index.js +0 -213
  1321. package/node_modules/parse5-htmlparser2-tree-adapter/package.json +0 -40
  1322. package/node_modules/parse5-parser-stream/LICENSE +0 -19
  1323. package/node_modules/parse5-parser-stream/README.md +0 -34
  1324. package/node_modules/parse5-parser-stream/dist/cjs/index.d.ts +0 -85
  1325. package/node_modules/parse5-parser-stream/dist/cjs/index.js +0 -90
  1326. package/node_modules/parse5-parser-stream/dist/cjs/package.json +0 -1
  1327. package/node_modules/parse5-parser-stream/dist/index.d.ts +0 -85
  1328. package/node_modules/parse5-parser-stream/dist/index.js +0 -86
  1329. package/node_modules/parse5-parser-stream/package.json +0 -39
  1330. package/node_modules/stdin-discarder/index.d.ts +0 -13
  1331. package/node_modules/stdin-discarder/index.js +0 -59
  1332. package/node_modules/stdin-discarder/license +0 -9
  1333. package/node_modules/stdin-discarder/package.json +0 -42
  1334. package/node_modules/stdin-discarder/readme.md +0 -37
  1335. package/node_modules/whatwg-encoding/LICENSE.txt +0 -7
  1336. package/node_modules/whatwg-encoding/README.md +0 -50
  1337. package/node_modules/whatwg-encoding/lib/labels-to-names.json +0 -217
  1338. package/node_modules/whatwg-encoding/lib/supported-names.json +0 -38
  1339. package/node_modules/whatwg-encoding/lib/whatwg-encoding.js +0 -60
  1340. package/node_modules/whatwg-encoding/package.json +0 -32
  1341. package/node_modules/whatwg-mimetype/LICENSE.txt +0 -7
  1342. package/node_modules/whatwg-mimetype/README.md +0 -101
  1343. package/node_modules/whatwg-mimetype/lib/mime-type-parameters.js +0 -70
  1344. package/node_modules/whatwg-mimetype/lib/mime-type.js +0 -127
  1345. package/node_modules/whatwg-mimetype/lib/parser.js +0 -105
  1346. package/node_modules/whatwg-mimetype/lib/serializer.js +0 -25
  1347. package/node_modules/whatwg-mimetype/lib/utils.js +0 -60
  1348. package/node_modules/whatwg-mimetype/package.json +0 -45
  1349. /package/node_modules/{cheerio-select → htmlparser2/node_modules/domelementtype}/LICENSE +0 -0
  1350. /package/node_modules/{domelementtype → htmlparser2/node_modules/domelementtype}/readme.md +0 -0
  1351. /package/node_modules/{css-select → htmlparser2/node_modules/domhandler}/LICENSE +0 -0
  1352. /package/node_modules/{css-what → htmlparser2/node_modules/domutils}/LICENSE +0 -0
  1353. /package/node_modules/htmlparser2/node_modules/entities/dist/{commonjs/internal → internal}/bin-trie-flags.d.ts +0 -0
  1354. /package/node_modules/htmlparser2/node_modules/entities/dist/{esm/internal → internal}/bin-trie-flags.js +0 -0
  1355. /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
- }