recoder-code 2.4.1 → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1059) hide show
  1. package/package.json +7 -18
  2. package/packages/cli/package.json +1 -5
  3. package/packages/core/package.json +1 -5
  4. package/packages/cli/node_modules/@asamuzakjp/css-color/LICENSE +0 -21
  5. package/packages/cli/node_modules/@asamuzakjp/css-color/README.md +0 -316
  6. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/browser/css-color.min.js +0 -220
  7. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/browser/css-color.min.js.map +0 -1
  8. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/cjs/index.cjs +0 -5484
  9. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/cjs/index.cjs.map +0 -1
  10. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/cjs/index.d.cts +0 -109
  11. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/index.d.ts +0 -18
  12. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/index.js +0 -30
  13. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/index.js.map +0 -1
  14. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/cache.d.ts +0 -44
  15. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/cache.js +0 -82
  16. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/cache.js.map +0 -1
  17. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/color.d.ts +0 -537
  18. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/color.js +0 -2792
  19. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/color.js.map +0 -1
  20. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/common.d.ts +0 -21
  21. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/common.js +0 -7
  22. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/common.js.map +0 -1
  23. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/constant.d.ts +0 -41
  24. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/constant.js +0 -97
  25. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/constant.js.map +0 -1
  26. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/convert.d.ts +0 -99
  27. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/convert.js +0 -361
  28. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/convert.js.map +0 -1
  29. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/css-calc.d.ts +0 -89
  30. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/css-calc.js +0 -860
  31. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/css-calc.js.map +0 -1
  32. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/css-gradient.d.ts +0 -54
  33. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/css-gradient.js +0 -195
  34. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/css-gradient.js.map +0 -1
  35. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/css-var.d.ts +0 -31
  36. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/css-var.js +0 -195
  37. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/css-var.js.map +0 -1
  38. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/relative-color.d.ts +0 -29
  39. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/relative-color.js +0 -487
  40. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/relative-color.js.map +0 -1
  41. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/resolve.d.ts +0 -52
  42. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/resolve.js +0 -288
  43. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/resolve.js.map +0 -1
  44. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/typedef.d.ts +0 -79
  45. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/util.d.ts +0 -45
  46. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/util.js +0 -279
  47. package/packages/cli/node_modules/@asamuzakjp/css-color/dist/esm/js/util.js.map +0 -1
  48. package/packages/cli/node_modules/@asamuzakjp/css-color/package.json +0 -81
  49. package/packages/cli/node_modules/@asamuzakjp/css-color/src/index.ts +0 -27
  50. package/packages/cli/node_modules/@asamuzakjp/css-color/src/js/cache.ts +0 -114
  51. package/packages/cli/node_modules/@asamuzakjp/css-color/src/js/color.ts +0 -3459
  52. package/packages/cli/node_modules/@asamuzakjp/css-color/src/js/common.ts +0 -31
  53. package/packages/cli/node_modules/@asamuzakjp/css-color/src/js/constant.ts +0 -66
  54. package/packages/cli/node_modules/@asamuzakjp/css-color/src/js/convert.ts +0 -469
  55. package/packages/cli/node_modules/@asamuzakjp/css-color/src/js/css-calc.ts +0 -965
  56. package/packages/cli/node_modules/@asamuzakjp/css-color/src/js/css-gradient.ts +0 -289
  57. package/packages/cli/node_modules/@asamuzakjp/css-color/src/js/css-var.ts +0 -250
  58. package/packages/cli/node_modules/@asamuzakjp/css-color/src/js/relative-color.ts +0 -580
  59. package/packages/cli/node_modules/@asamuzakjp/css-color/src/js/resolve.ts +0 -379
  60. package/packages/cli/node_modules/@asamuzakjp/css-color/src/js/typedef.ts +0 -87
  61. package/packages/cli/node_modules/@asamuzakjp/css-color/src/js/util.ts +0 -336
  62. package/packages/cli/node_modules/@types/node/LICENSE +0 -21
  63. package/packages/cli/node_modules/@types/node/README.md +0 -15
  64. package/packages/cli/node_modules/@types/node/assert/strict.d.ts +0 -8
  65. package/packages/cli/node_modules/@types/node/assert.d.ts +0 -1062
  66. package/packages/cli/node_modules/@types/node/async_hooks.d.ts +0 -605
  67. package/packages/cli/node_modules/@types/node/buffer.buffer.d.ts +0 -462
  68. package/packages/cli/node_modules/@types/node/buffer.d.ts +0 -1932
  69. package/packages/cli/node_modules/@types/node/child_process.d.ts +0 -1452
  70. package/packages/cli/node_modules/@types/node/cluster.d.ts +0 -578
  71. package/packages/cli/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  72. package/packages/cli/node_modules/@types/node/compatibility/index.d.ts +0 -9
  73. package/packages/cli/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  74. package/packages/cli/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  75. package/packages/cli/node_modules/@types/node/console.d.ts +0 -452
  76. package/packages/cli/node_modules/@types/node/constants.d.ts +0 -21
  77. package/packages/cli/node_modules/@types/node/crypto.d.ts +0 -4570
  78. package/packages/cli/node_modules/@types/node/dgram.d.ts +0 -596
  79. package/packages/cli/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  80. package/packages/cli/node_modules/@types/node/dns/promises.d.ts +0 -479
  81. package/packages/cli/node_modules/@types/node/dns.d.ts +0 -871
  82. package/packages/cli/node_modules/@types/node/domain.d.ts +0 -170
  83. package/packages/cli/node_modules/@types/node/events.d.ts +0 -977
  84. package/packages/cli/node_modules/@types/node/fs/promises.d.ts +0 -1248
  85. package/packages/cli/node_modules/@types/node/fs.d.ts +0 -4362
  86. package/packages/cli/node_modules/@types/node/globals.d.ts +0 -170
  87. package/packages/cli/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  88. package/packages/cli/node_modules/@types/node/http.d.ts +0 -2031
  89. package/packages/cli/node_modules/@types/node/http2.d.ts +0 -2623
  90. package/packages/cli/node_modules/@types/node/https.d.ts +0 -549
  91. package/packages/cli/node_modules/@types/node/index.d.ts +0 -93
  92. package/packages/cli/node_modules/@types/node/inspector.generated.d.ts +0 -3966
  93. package/packages/cli/node_modules/@types/node/module.d.ts +0 -539
  94. package/packages/cli/node_modules/@types/node/net.d.ts +0 -1011
  95. package/packages/cli/node_modules/@types/node/os.d.ts +0 -495
  96. package/packages/cli/node_modules/@types/node/package.json +0 -140
  97. package/packages/cli/node_modules/@types/node/path.d.ts +0 -200
  98. package/packages/cli/node_modules/@types/node/perf_hooks.d.ts +0 -963
  99. package/packages/cli/node_modules/@types/node/process.d.ts +0 -1956
  100. package/packages/cli/node_modules/@types/node/punycode.d.ts +0 -117
  101. package/packages/cli/node_modules/@types/node/querystring.d.ts +0 -152
  102. package/packages/cli/node_modules/@types/node/readline/promises.d.ts +0 -162
  103. package/packages/cli/node_modules/@types/node/readline.d.ts +0 -589
  104. package/packages/cli/node_modules/@types/node/repl.d.ts +0 -430
  105. package/packages/cli/node_modules/@types/node/sea.d.ts +0 -153
  106. package/packages/cli/node_modules/@types/node/stream/consumers.d.ts +0 -38
  107. package/packages/cli/node_modules/@types/node/stream/promises.d.ts +0 -90
  108. package/packages/cli/node_modules/@types/node/stream/web.d.ts +0 -533
  109. package/packages/cli/node_modules/@types/node/stream.d.ts +0 -1668
  110. package/packages/cli/node_modules/@types/node/string_decoder.d.ts +0 -67
  111. package/packages/cli/node_modules/@types/node/test.d.ts +0 -1787
  112. package/packages/cli/node_modules/@types/node/timers/promises.d.ts +0 -108
  113. package/packages/cli/node_modules/@types/node/timers.d.ts +0 -286
  114. package/packages/cli/node_modules/@types/node/tls.d.ts +0 -1231
  115. package/packages/cli/node_modules/@types/node/trace_events.d.ts +0 -197
  116. package/packages/cli/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
  117. package/packages/cli/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  118. package/packages/cli/node_modules/@types/node/ts5.6/index.d.ts +0 -93
  119. package/packages/cli/node_modules/@types/node/tty.d.ts +0 -208
  120. package/packages/cli/node_modules/@types/node/url.d.ts +0 -964
  121. package/packages/cli/node_modules/@types/node/util.d.ts +0 -2331
  122. package/packages/cli/node_modules/@types/node/v8.d.ts +0 -808
  123. package/packages/cli/node_modules/@types/node/vm.d.ts +0 -1030
  124. package/packages/cli/node_modules/@types/node/wasi.d.ts +0 -181
  125. package/packages/cli/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  126. package/packages/cli/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  127. package/packages/cli/node_modules/@types/node/web-globals/events.d.ts +0 -97
  128. package/packages/cli/node_modules/@types/node/web-globals/fetch.d.ts +0 -46
  129. package/packages/cli/node_modules/@types/node/worker_threads.d.ts +0 -715
  130. package/packages/cli/node_modules/@types/node/zlib.d.ts +0 -539
  131. package/packages/cli/node_modules/cssstyle/LICENSE +0 -20
  132. package/packages/cli/node_modules/cssstyle/README.md +0 -11
  133. package/packages/cli/node_modules/cssstyle/lib/CSSStyleDeclaration.js +0 -613
  134. package/packages/cli/node_modules/cssstyle/lib/allExtraProperties.js +0 -49
  135. package/packages/cli/node_modules/cssstyle/lib/allWebkitProperties.js +0 -114
  136. package/packages/cli/node_modules/cssstyle/lib/generated/allProperties.js +0 -615
  137. package/packages/cli/node_modules/cssstyle/lib/generated/implementedProperties.js +0 -79
  138. package/packages/cli/node_modules/cssstyle/lib/generated/properties.js +0 -2673
  139. package/packages/cli/node_modules/cssstyle/lib/parsers.js +0 -537
  140. package/packages/cli/node_modules/cssstyle/lib/properties/background.js +0 -52
  141. package/packages/cli/node_modules/cssstyle/lib/properties/backgroundAttachment.js +0 -32
  142. package/packages/cli/node_modules/cssstyle/lib/properties/backgroundColor.js +0 -35
  143. package/packages/cli/node_modules/cssstyle/lib/properties/backgroundImage.js +0 -31
  144. package/packages/cli/node_modules/cssstyle/lib/properties/backgroundPosition.js +0 -52
  145. package/packages/cli/node_modules/cssstyle/lib/properties/backgroundRepeat.js +0 -32
  146. package/packages/cli/node_modules/cssstyle/lib/properties/border.js +0 -42
  147. package/packages/cli/node_modules/cssstyle/lib/properties/borderBottom.js +0 -40
  148. package/packages/cli/node_modules/cssstyle/lib/properties/borderBottomColor.js +0 -35
  149. package/packages/cli/node_modules/cssstyle/lib/properties/borderBottomStyle.js +0 -50
  150. package/packages/cli/node_modules/cssstyle/lib/properties/borderBottomWidth.js +0 -36
  151. package/packages/cli/node_modules/cssstyle/lib/properties/borderCollapse.js +0 -26
  152. package/packages/cli/node_modules/cssstyle/lib/properties/borderColor.js +0 -43
  153. package/packages/cli/node_modules/cssstyle/lib/properties/borderLeft.js +0 -40
  154. package/packages/cli/node_modules/cssstyle/lib/properties/borderLeftColor.js +0 -35
  155. package/packages/cli/node_modules/cssstyle/lib/properties/borderLeftStyle.js +0 -50
  156. package/packages/cli/node_modules/cssstyle/lib/properties/borderLeftWidth.js +0 -36
  157. package/packages/cli/node_modules/cssstyle/lib/properties/borderRight.js +0 -40
  158. package/packages/cli/node_modules/cssstyle/lib/properties/borderRightColor.js +0 -35
  159. package/packages/cli/node_modules/cssstyle/lib/properties/borderRightStyle.js +0 -50
  160. package/packages/cli/node_modules/cssstyle/lib/properties/borderRightWidth.js +0 -36
  161. package/packages/cli/node_modules/cssstyle/lib/properties/borderSpacing.js +0 -45
  162. package/packages/cli/node_modules/cssstyle/lib/properties/borderStyle.js +0 -54
  163. package/packages/cli/node_modules/cssstyle/lib/properties/borderTop.js +0 -40
  164. package/packages/cli/node_modules/cssstyle/lib/properties/borderTopColor.js +0 -35
  165. package/packages/cli/node_modules/cssstyle/lib/properties/borderTopStyle.js +0 -50
  166. package/packages/cli/node_modules/cssstyle/lib/properties/borderTopWidth.js +0 -36
  167. package/packages/cli/node_modules/cssstyle/lib/properties/borderWidth.js +0 -44
  168. package/packages/cli/node_modules/cssstyle/lib/properties/bottom.js +0 -30
  169. package/packages/cli/node_modules/cssstyle/lib/properties/clear.js +0 -40
  170. package/packages/cli/node_modules/cssstyle/lib/properties/clip.js +0 -54
  171. package/packages/cli/node_modules/cssstyle/lib/properties/color.js +0 -30
  172. package/packages/cli/node_modules/cssstyle/lib/properties/flex.js +0 -73
  173. package/packages/cli/node_modules/cssstyle/lib/properties/flexBasis.js +0 -33
  174. package/packages/cli/node_modules/cssstyle/lib/properties/flexGrow.js +0 -28
  175. package/packages/cli/node_modules/cssstyle/lib/properties/flexShrink.js +0 -28
  176. package/packages/cli/node_modules/cssstyle/lib/properties/float.js +0 -27
  177. package/packages/cli/node_modules/cssstyle/lib/properties/floodColor.js +0 -30
  178. package/packages/cli/node_modules/cssstyle/lib/properties/font.js +0 -189
  179. package/packages/cli/node_modules/cssstyle/lib/properties/fontFamily.js +0 -95
  180. package/packages/cli/node_modules/cssstyle/lib/properties/fontSize.js +0 -47
  181. package/packages/cli/node_modules/cssstyle/lib/properties/fontStyle.js +0 -32
  182. package/packages/cli/node_modules/cssstyle/lib/properties/fontVariant.js +0 -36
  183. package/packages/cli/node_modules/cssstyle/lib/properties/fontWeight.js +0 -36
  184. package/packages/cli/node_modules/cssstyle/lib/properties/height.js +0 -31
  185. package/packages/cli/node_modules/cssstyle/lib/properties/left.js +0 -30
  186. package/packages/cli/node_modules/cssstyle/lib/properties/lightingColor.js +0 -30
  187. package/packages/cli/node_modules/cssstyle/lib/properties/lineHeight.js +0 -39
  188. package/packages/cli/node_modules/cssstyle/lib/properties/margin.js +0 -58
  189. package/packages/cli/node_modules/cssstyle/lib/properties/marginBottom.js +0 -40
  190. package/packages/cli/node_modules/cssstyle/lib/properties/marginLeft.js +0 -40
  191. package/packages/cli/node_modules/cssstyle/lib/properties/marginRight.js +0 -40
  192. package/packages/cli/node_modules/cssstyle/lib/properties/marginTop.js +0 -40
  193. package/packages/cli/node_modules/cssstyle/lib/properties/opacity.js +0 -46
  194. package/packages/cli/node_modules/cssstyle/lib/properties/outlineColor.js +0 -30
  195. package/packages/cli/node_modules/cssstyle/lib/properties/padding.js +0 -58
  196. package/packages/cli/node_modules/cssstyle/lib/properties/paddingBottom.js +0 -42
  197. package/packages/cli/node_modules/cssstyle/lib/properties/paddingLeft.js +0 -40
  198. package/packages/cli/node_modules/cssstyle/lib/properties/paddingRight.js +0 -40
  199. package/packages/cli/node_modules/cssstyle/lib/properties/paddingTop.js +0 -40
  200. package/packages/cli/node_modules/cssstyle/lib/properties/right.js +0 -30
  201. package/packages/cli/node_modules/cssstyle/lib/properties/stopColor.js +0 -30
  202. package/packages/cli/node_modules/cssstyle/lib/properties/top.js +0 -30
  203. package/packages/cli/node_modules/cssstyle/lib/properties/webkitBorderAfterColor.js +0 -30
  204. package/packages/cli/node_modules/cssstyle/lib/properties/webkitBorderBeforeColor.js +0 -30
  205. package/packages/cli/node_modules/cssstyle/lib/properties/webkitBorderEndColor.js +0 -30
  206. package/packages/cli/node_modules/cssstyle/lib/properties/webkitBorderStartColor.js +0 -30
  207. package/packages/cli/node_modules/cssstyle/lib/properties/webkitColumnRuleColor.js +0 -30
  208. package/packages/cli/node_modules/cssstyle/lib/properties/webkitTapHighlightColor.js +0 -30
  209. package/packages/cli/node_modules/cssstyle/lib/properties/webkitTextEmphasisColor.js +0 -30
  210. package/packages/cli/node_modules/cssstyle/lib/properties/webkitTextFillColor.js +0 -30
  211. package/packages/cli/node_modules/cssstyle/lib/properties/webkitTextStrokeColor.js +0 -30
  212. package/packages/cli/node_modules/cssstyle/lib/properties/width.js +0 -31
  213. package/packages/cli/node_modules/cssstyle/lib/utils/camelize.js +0 -37
  214. package/packages/cli/node_modules/cssstyle/lib/utils/propertyDescriptors.js +0 -16
  215. package/packages/cli/node_modules/cssstyle/lib/utils/strings.js +0 -167
  216. package/packages/cli/node_modules/cssstyle/package.json +0 -72
  217. package/packages/cli/node_modules/data-urls/LICENSE.txt +0 -7
  218. package/packages/cli/node_modules/data-urls/README.md +0 -62
  219. package/packages/cli/node_modules/data-urls/lib/parser.js +0 -69
  220. package/packages/cli/node_modules/data-urls/lib/utils.js +0 -20
  221. package/packages/cli/node_modules/data-urls/package.json +0 -48
  222. package/packages/cli/node_modules/jsdom/LICENSE.txt +0 -22
  223. package/packages/cli/node_modules/jsdom/README.md +0 -521
  224. package/packages/cli/node_modules/jsdom/lib/api.js +0 -334
  225. package/packages/cli/node_modules/jsdom/lib/jsdom/browser/Window.js +0 -1012
  226. package/packages/cli/node_modules/jsdom/lib/jsdom/browser/default-stylesheet.js +0 -789
  227. package/packages/cli/node_modules/jsdom/lib/jsdom/browser/js-globals.json +0 -312
  228. package/packages/cli/node_modules/jsdom/lib/jsdom/browser/not-implemented.js +0 -13
  229. package/packages/cli/node_modules/jsdom/lib/jsdom/browser/parser/html.js +0 -208
  230. package/packages/cli/node_modules/jsdom/lib/jsdom/browser/parser/index.js +0 -37
  231. package/packages/cli/node_modules/jsdom/lib/jsdom/browser/parser/xml.js +0 -202
  232. package/packages/cli/node_modules/jsdom/lib/jsdom/browser/resources/async-resource-queue.js +0 -114
  233. package/packages/cli/node_modules/jsdom/lib/jsdom/browser/resources/no-op-resource-loader.js +0 -8
  234. package/packages/cli/node_modules/jsdom/lib/jsdom/browser/resources/per-document-resource-loader.js +0 -98
  235. package/packages/cli/node_modules/jsdom/lib/jsdom/browser/resources/request-manager.js +0 -33
  236. package/packages/cli/node_modules/jsdom/lib/jsdom/browser/resources/resource-loader.js +0 -142
  237. package/packages/cli/node_modules/jsdom/lib/jsdom/browser/resources/resource-queue.js +0 -142
  238. package/packages/cli/node_modules/jsdom/lib/jsdom/level2/style.js +0 -57
  239. package/packages/cli/node_modules/jsdom/lib/jsdom/level3/xpath.js +0 -1875
  240. package/packages/cli/node_modules/jsdom/lib/jsdom/living/aborting/AbortController-impl.js +0 -17
  241. package/packages/cli/node_modules/jsdom/lib/jsdom/living/aborting/AbortSignal-impl.js +0 -131
  242. package/packages/cli/node_modules/jsdom/lib/jsdom/living/attributes/Attr-impl.js +0 -60
  243. package/packages/cli/node_modules/jsdom/lib/jsdom/living/attributes/NamedNodeMap-impl.js +0 -78
  244. package/packages/cli/node_modules/jsdom/lib/jsdom/living/attributes.js +0 -312
  245. package/packages/cli/node_modules/jsdom/lib/jsdom/living/constraint-validation/DefaultConstraintValidation-impl.js +0 -75
  246. package/packages/cli/node_modules/jsdom/lib/jsdom/living/constraint-validation/ValidityState-impl.js +0 -66
  247. package/packages/cli/node_modules/jsdom/lib/jsdom/living/crypto/Crypto-impl.js +0 -68
  248. package/packages/cli/node_modules/jsdom/lib/jsdom/living/cssom/StyleSheetList-impl.js +0 -38
  249. package/packages/cli/node_modules/jsdom/lib/jsdom/living/custom-elements/CustomElementRegistry-impl.js +0 -273
  250. package/packages/cli/node_modules/jsdom/lib/jsdom/living/custom-elements/ElementInternals-impl.js +0 -52
  251. package/packages/cli/node_modules/jsdom/lib/jsdom/living/documents.js +0 -15
  252. package/packages/cli/node_modules/jsdom/lib/jsdom/living/domparsing/DOMParser-impl.js +0 -59
  253. package/packages/cli/node_modules/jsdom/lib/jsdom/living/domparsing/InnerHTML-impl.js +0 -30
  254. package/packages/cli/node_modules/jsdom/lib/jsdom/living/domparsing/XMLSerializer-impl.js +0 -18
  255. package/packages/cli/node_modules/jsdom/lib/jsdom/living/domparsing/parse5-adapter-serialization.js +0 -63
  256. package/packages/cli/node_modules/jsdom/lib/jsdom/living/domparsing/serialization.js +0 -36
  257. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/CloseEvent-impl.js +0 -10
  258. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/CompositionEvent-impl.js +0 -20
  259. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/CustomEvent-impl.js +0 -21
  260. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/ErrorEvent-impl.js +0 -14
  261. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/Event-impl.js +0 -197
  262. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/EventModifierMixin-impl.js +0 -24
  263. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js +0 -419
  264. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/FocusEvent-impl.js +0 -9
  265. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/HashChangeEvent-impl.js +0 -14
  266. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/InputEvent-impl.js +0 -11
  267. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/KeyboardEvent-impl.js +0 -29
  268. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/MessageEvent-impl.js +0 -25
  269. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/MouseEvent-impl.js +0 -72
  270. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/PageTransitionEvent-impl.js +0 -20
  271. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/PopStateEvent-impl.js +0 -9
  272. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/ProgressEvent-impl.js +0 -14
  273. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/StorageEvent-impl.js +0 -26
  274. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/SubmitEvent-impl.js +0 -13
  275. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/TouchEvent-impl.js +0 -14
  276. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/UIEvent-impl.js +0 -59
  277. package/packages/cli/node_modules/jsdom/lib/jsdom/living/events/WheelEvent-impl.js +0 -12
  278. package/packages/cli/node_modules/jsdom/lib/jsdom/living/fetch/Headers-impl.js +0 -172
  279. package/packages/cli/node_modules/jsdom/lib/jsdom/living/fetch/header-list.js +0 -65
  280. package/packages/cli/node_modules/jsdom/lib/jsdom/living/fetch/header-types.js +0 -103
  281. package/packages/cli/node_modules/jsdom/lib/jsdom/living/file-api/Blob-impl.js +0 -93
  282. package/packages/cli/node_modules/jsdom/lib/jsdom/living/file-api/File-impl.js +0 -12
  283. package/packages/cli/node_modules/jsdom/lib/jsdom/living/file-api/FileList-impl.js +0 -15
  284. package/packages/cli/node_modules/jsdom/lib/jsdom/living/file-api/FileReader-impl.js +0 -130
  285. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/AbortController.js +0 -143
  286. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/AbortSignal.js +0 -249
  287. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/AbstractRange.js +0 -171
  288. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/AddEventListenerOptions.js +0 -55
  289. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/AssignedNodesOptions.js +0 -28
  290. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Attr.js +0 -217
  291. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/BarProp.js +0 -117
  292. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/BinaryType.js +0 -12
  293. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Blob.js +0 -203
  294. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/BlobCallback.js +0 -30
  295. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/BlobPropertyBag.js +0 -42
  296. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/CDATASection.js +0 -109
  297. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/CanPlayTypeResult.js +0 -12
  298. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/CharacterData.js +0 -453
  299. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/CloseEvent.js +0 -168
  300. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/CloseEventInit.js +0 -65
  301. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Comment.js +0 -120
  302. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/CompositionEvent.js +0 -219
  303. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/CompositionEventInit.js +0 -32
  304. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Crypto.js +0 -144
  305. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/CustomElementConstructor.js +0 -34
  306. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/CustomElementRegistry.js +0 -242
  307. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/CustomEvent.js +0 -206
  308. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/CustomEventInit.js +0 -32
  309. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/DOMException.js +0 -222
  310. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/DOMImplementation.js +0 -237
  311. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/DOMParser.js +0 -140
  312. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/DOMRect.js +0 -276
  313. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/DOMRectInit.js +0 -76
  314. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/DOMRectReadOnly.js +0 -285
  315. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/DOMStringMap.js +0 -323
  316. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/DOMTokenList.js +0 -563
  317. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Document.js +0 -4157
  318. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/DocumentFragment.js +0 -334
  319. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/DocumentReadyState.js +0 -12
  320. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/DocumentType.js +0 -252
  321. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Element.js +0 -3718
  322. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/ElementCreationOptions.js +0 -26
  323. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/ElementDefinitionOptions.js +0 -29
  324. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/ElementInternals.js +0 -2150
  325. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/EndingType.js +0 -12
  326. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/ErrorEvent.js +0 -192
  327. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/ErrorEventInit.js +0 -92
  328. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Event.js +0 -430
  329. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/EventHandlerNonNull.js +0 -36
  330. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/EventInit.js +0 -58
  331. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js +0 -35
  332. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/EventListenerOptions.js +0 -28
  333. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/EventModifierInit.js +0 -221
  334. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js +0 -259
  335. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/External.js +0 -130
  336. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/File.js +0 -177
  337. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/FileList.js +0 -324
  338. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/FilePropertyBag.js +0 -33
  339. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/FileReader.js +0 -468
  340. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/FocusEvent.js +0 -144
  341. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/FocusEventInit.js +0 -36
  342. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/FormData.js +0 -468
  343. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Function.js +0 -42
  344. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/GetRootNodeOptions.js +0 -31
  345. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLAnchorElement.js +0 -1023
  346. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLAreaElement.js +0 -822
  347. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLAudioElement.js +0 -110
  348. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLBRElement.js +0 -153
  349. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLBaseElement.js +0 -193
  350. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLBodyElement.js +0 -877
  351. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLButtonElement.js +0 -522
  352. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLCanvasElement.js +0 -304
  353. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLCollection.js +0 -378
  354. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLDListElement.js +0 -156
  355. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataElement.js +0 -153
  356. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLDataListElement.js +0 -125
  357. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLDetailsElement.js +0 -156
  358. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLDialogElement.js +0 -156
  359. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLDirectoryElement.js +0 -156
  360. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLDivElement.js +0 -153
  361. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLElement.js +0 -3137
  362. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLEmbedElement.js +0 -375
  363. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLFieldSetElement.js +0 -329
  364. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLFontElement.js +0 -236
  365. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLFormControlsCollection.js +0 -344
  366. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLFormElement.js +0 -684
  367. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameElement.js +0 -504
  368. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLFrameSetElement.js +0 -708
  369. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLHRElement.js +0 -320
  370. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadElement.js +0 -110
  371. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLHeadingElement.js +0 -153
  372. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLHtmlElement.js +0 -153
  373. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLIFrameElement.js +0 -680
  374. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLImageElement.js +0 -893
  375. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLInputElement.js +0 -1924
  376. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLLIElement.js +0 -201
  377. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLLabelElement.js +0 -179
  378. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLLegendElement.js +0 -166
  379. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLLinkElement.js +0 -549
  380. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLMapElement.js +0 -168
  381. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLMarqueeElement.js +0 -554
  382. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLMediaElement.js +0 -895
  383. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLMenuElement.js +0 -156
  384. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLMetaElement.js +0 -276
  385. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLMeterElement.js +0 -365
  386. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLModElement.js +0 -211
  387. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLOListElement.js +0 -281
  388. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLObjectElement.js +0 -935
  389. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptGroupElement.js +0 -197
  390. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionElement.js +0 -376
  391. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLOptionsCollection.js +0 -537
  392. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLOutputElement.js +0 -392
  393. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLParagraphElement.js +0 -153
  394. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLParamElement.js +0 -276
  395. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLPictureElement.js +0 -110
  396. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLPreElement.js +0 -160
  397. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLProgressElement.js +0 -228
  398. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLQuoteElement.js +0 -170
  399. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLScriptElement.js +0 -466
  400. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLSelectElement.js +0 -1015
  401. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLSlotElement.js +0 -192
  402. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLSourceElement.js +0 -334
  403. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLSpanElement.js +0 -110
  404. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLStyleElement.js +0 -207
  405. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCaptionElement.js +0 -153
  406. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableCellElement.js +0 -729
  407. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableColElement.js +0 -372
  408. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableElement.js +0 -799
  409. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableRowElement.js +0 -414
  410. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLTableSectionElement.js +0 -346
  411. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLTemplateElement.js +0 -123
  412. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLTextAreaElement.js +0 -1206
  413. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLTimeElement.js +0 -153
  414. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLTitleElement.js +0 -152
  415. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLTrackElement.js +0 -360
  416. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLUListElement.js +0 -197
  417. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLUnknownElement.js +0 -109
  418. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HTMLVideoElement.js +0 -337
  419. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEvent.js +0 -157
  420. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/HashChangeEventInit.js +0 -50
  421. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Headers.js +0 -418
  422. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/History.js +0 -266
  423. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/InputEvent.js +0 -168
  424. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/InputEventInit.js +0 -68
  425. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEvent.js +0 -445
  426. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/KeyboardEventInit.js +0 -116
  427. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Location.js +0 -404
  428. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/MessageEvent.js +0 -317
  429. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/MessageEventInit.js +0 -100
  430. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/MimeType.js +0 -156
  431. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/MimeTypeArray.js +0 -352
  432. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/MouseEvent.js +0 -569
  433. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/MouseEventInit.js +0 -159
  434. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/MutationCallback.js +0 -34
  435. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/MutationObserver.js +0 -178
  436. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/MutationObserverInit.js +0 -121
  437. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/MutationRecord.js +0 -229
  438. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/NamedNodeMap.js +0 -553
  439. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Navigator.js +0 -326
  440. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Node.js +0 -763
  441. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/NodeFilter.js +0 -75
  442. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/NodeIterator.js +0 -207
  443. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/NodeList.js +0 -328
  444. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/OnBeforeUnloadEventHandlerNonNull.js +0 -42
  445. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/OnErrorEventHandlerNonNull.js +0 -56
  446. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/PageTransitionEvent.js +0 -144
  447. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/PageTransitionEventInit.js +0 -35
  448. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Performance.js +0 -142
  449. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Plugin.js +0 -385
  450. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/PluginArray.js +0 -362
  451. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/PopStateEvent.js +0 -144
  452. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/PopStateEventInit.js +0 -32
  453. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/ProcessingInstruction.js +0 -122
  454. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/ProgressEvent.js +0 -170
  455. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/ProgressEventInit.js +0 -65
  456. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/RadioNodeList.js +0 -322
  457. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Range.js +0 -641
  458. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGAnimatedPreserveAspectRatio.js +0 -136
  459. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGAnimatedRect.js +0 -136
  460. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGAnimatedString.js +0 -149
  461. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGBoundingBoxOptions.js +0 -64
  462. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGDefsElement.js +0 -109
  463. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGDescElement.js +0 -109
  464. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGElement.js +0 -2803
  465. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGGElement.js +0 -109
  466. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGGraphicsElement.js +0 -139
  467. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGMetadataElement.js +0 -109
  468. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGNumber.js +0 -132
  469. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGPreserveAspectRatio.js +0 -196
  470. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGRect.js +0 -210
  471. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGSVGElement.js +0 -786
  472. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGStringList.js +0 -537
  473. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGSwitchElement.js +0 -109
  474. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGSymbolElement.js +0 -146
  475. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SVGTitleElement.js +0 -109
  476. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Screen.js +0 -180
  477. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/ScrollBehavior.js +0 -12
  478. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/ScrollIntoViewOptions.js +0 -45
  479. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/ScrollLogicalPosition.js +0 -14
  480. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/ScrollOptions.js +0 -30
  481. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/ScrollRestoration.js +0 -12
  482. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Selection.js +0 -569
  483. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SelectionMode.js +0 -12
  484. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/ShadowRoot.js +0 -187
  485. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/ShadowRootInit.js +0 -30
  486. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/ShadowRootMode.js +0 -12
  487. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/StaticRange.js +0 -123
  488. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/StaticRangeInit.js +0 -72
  489. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Storage.js +0 -423
  490. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/StorageEvent.js +0 -318
  491. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/StorageEventInit.js +0 -99
  492. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/StyleSheetList.js +0 -326
  493. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SubmitEvent.js +0 -144
  494. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SubmitEventInit.js +0 -36
  495. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/SupportedType.js +0 -18
  496. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/Text.js +0 -170
  497. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/TextTrackKind.js +0 -12
  498. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/TouchEvent.js +0 -222
  499. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/TouchEventInit.js +0 -89
  500. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/TreeWalker.js +0 -255
  501. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/UIEvent.js +0 -235
  502. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/UIEventInit.js +0 -62
  503. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/ValidityState.js +0 -249
  504. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/VisibilityState.js +0 -12
  505. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/VoidFunction.js +0 -26
  506. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/WebSocket.js +0 -476
  507. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/WheelEvent.js +0 -191
  508. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/WheelEventInit.js +0 -71
  509. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/XMLDocument.js +0 -109
  510. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequest.js +0 -655
  511. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestEventTarget.js +0 -334
  512. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestResponseType.js +0 -14
  513. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/XMLHttpRequestUpload.js +0 -109
  514. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/XMLSerializer.js +0 -132
  515. package/packages/cli/node_modules/jsdom/lib/jsdom/living/generated/utils.js +0 -190
  516. package/packages/cli/node_modules/jsdom/lib/jsdom/living/geometry/DOMRect-impl.js +0 -39
  517. package/packages/cli/node_modules/jsdom/lib/jsdom/living/geometry/DOMRectReadOnly-impl.js +0 -72
  518. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/agent-factory.js +0 -13
  519. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/binary-data.js +0 -9
  520. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/colors.js +0 -245
  521. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/create-element.js +0 -329
  522. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/create-event-accessor.js +0 -188
  523. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/custom-elements.js +0 -272
  524. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/dates-and-times.js +0 -270
  525. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/details.js +0 -15
  526. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/events.js +0 -24
  527. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/focusing.js +0 -104
  528. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/form-controls.js +0 -309
  529. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/html-constructor.js +0 -78
  530. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/http-request.js +0 -266
  531. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/internal-constants.js +0 -12
  532. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/iterable-weak-set.js +0 -48
  533. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/json.js +0 -12
  534. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/mutation-observers.js +0 -198
  535. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/namespaces.js +0 -16
  536. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/node.js +0 -68
  537. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/number-and-date-inputs.js +0 -195
  538. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/ordered-set.js +0 -104
  539. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/page-transition-event.js +0 -9
  540. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js +0 -76
  541. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js +0 -47
  542. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/shadow-dom.js +0 -285
  543. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/strings.js +0 -162
  544. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js +0 -243
  545. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/stylesheets.js +0 -123
  546. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/svg/basic-types.js +0 -41
  547. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/svg/render.js +0 -46
  548. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/text.js +0 -19
  549. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/traversal.js +0 -72
  550. package/packages/cli/node_modules/jsdom/lib/jsdom/living/helpers/validate-names.js +0 -65
  551. package/packages/cli/node_modules/jsdom/lib/jsdom/living/hr-time/Performance-impl.js +0 -22
  552. package/packages/cli/node_modules/jsdom/lib/jsdom/living/interfaces.js +0 -239
  553. package/packages/cli/node_modules/jsdom/lib/jsdom/living/mutation-observer/MutationObserver-impl.js +0 -95
  554. package/packages/cli/node_modules/jsdom/lib/jsdom/living/mutation-observer/MutationRecord-impl.js +0 -37
  555. package/packages/cli/node_modules/jsdom/lib/jsdom/living/named-properties-window.js +0 -141
  556. package/packages/cli/node_modules/jsdom/lib/jsdom/living/navigator/MimeType-impl.js +0 -3
  557. package/packages/cli/node_modules/jsdom/lib/jsdom/living/navigator/MimeTypeArray-impl.js +0 -21
  558. package/packages/cli/node_modules/jsdom/lib/jsdom/living/navigator/Navigator-impl.js +0 -29
  559. package/packages/cli/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorConcurrentHardware-impl.js +0 -8
  560. package/packages/cli/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorCookies-impl.js +0 -7
  561. package/packages/cli/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorID-impl.js +0 -37
  562. package/packages/cli/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorLanguage-impl.js +0 -9
  563. package/packages/cli/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorOnLine-impl.js +0 -7
  564. package/packages/cli/node_modules/jsdom/lib/jsdom/living/navigator/NavigatorPlugins-impl.js +0 -8
  565. package/packages/cli/node_modules/jsdom/lib/jsdom/living/navigator/Plugin-impl.js +0 -3
  566. package/packages/cli/node_modules/jsdom/lib/jsdom/living/navigator/PluginArray-impl.js +0 -23
  567. package/packages/cli/node_modules/jsdom/lib/jsdom/living/node-document-position.js +0 -10
  568. package/packages/cli/node_modules/jsdom/lib/jsdom/living/node-type.js +0 -16
  569. package/packages/cli/node_modules/jsdom/lib/jsdom/living/node.js +0 -331
  570. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/CDATASection-impl.js +0 -16
  571. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/CharacterData-impl.js +0 -118
  572. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/ChildNode-impl.js +0 -80
  573. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/Comment-impl.js +0 -20
  574. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/DOMImplementation-impl.js +0 -120
  575. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/DOMStringMap-impl.js +0 -64
  576. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/DOMTokenList-impl.js +0 -171
  577. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/Document-impl.js +0 -1003
  578. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/DocumentFragment-impl.js +0 -44
  579. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/DocumentOrShadowRoot-impl.js +0 -28
  580. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js +0 -24
  581. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js +0 -603
  582. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/ElementCSSInlineStyle-impl.js +0 -22
  583. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/ElementContentEditable-impl.js +0 -7
  584. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/GlobalEventHandlers-impl.js +0 -145
  585. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAnchorElement-impl.js +0 -50
  586. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAreaElement-impl.js +0 -43
  587. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLAudioElement-impl.js +0 -9
  588. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBRElement-impl.js +0 -9
  589. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBaseElement-impl.js +0 -44
  590. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLBodyElement-impl.js +0 -17
  591. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLButtonElement-impl.js +0 -79
  592. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCanvasElement-impl.js +0 -130
  593. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLCollection-impl.js +0 -96
  594. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDListElement-impl.js +0 -9
  595. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataElement-impl.js +0 -9
  596. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDataListElement-impl.js +0 -20
  597. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDetailsElement-impl.js +0 -35
  598. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDialogElement-impl.js +0 -9
  599. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDirectoryElement-impl.js +0 -9
  600. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLDivElement-impl.js +0 -9
  601. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js +0 -210
  602. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLEmbedElement-impl.js +0 -8
  603. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFieldSetElement-impl.js +0 -43
  604. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFontElement-impl.js +0 -9
  605. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFormControlsCollection-impl.js +0 -33
  606. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFormElement-impl.js +0 -248
  607. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameElement-impl.js +0 -266
  608. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLFrameSetElement-impl.js +0 -17
  609. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHRElement-impl.js +0 -9
  610. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadElement-impl.js +0 -9
  611. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHeadingElement-impl.js +0 -9
  612. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHtmlElement-impl.js +0 -9
  613. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLHyperlinkElementUtils-impl.js +0 -366
  614. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLIFrameElement-impl.js +0 -9
  615. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLImageElement-impl.js +0 -131
  616. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLInputElement-impl.js +0 -1097
  617. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLIElement-impl.js +0 -9
  618. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLabelElement-impl.js +0 -94
  619. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLegendElement-impl.js +0 -18
  620. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLLinkElement-impl.js +0 -107
  621. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMapElement-impl.js +0 -13
  622. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMarqueeElement-impl.js +0 -9
  623. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMediaElement-impl.js +0 -138
  624. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMenuElement-impl.js +0 -9
  625. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMetaElement-impl.js +0 -9
  626. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLMeterElement-impl.js +0 -180
  627. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLModElement-impl.js +0 -9
  628. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOListElement-impl.js +0 -22
  629. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLObjectElement-impl.js +0 -26
  630. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptGroupElement-impl.js +0 -9
  631. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionElement-impl.js +0 -146
  632. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOptionsCollection-impl.js +0 -110
  633. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOrSVGElement-impl.js +0 -88
  634. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLOutputElement-impl.js +0 -88
  635. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParagraphElement-impl.js +0 -9
  636. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLParamElement-impl.js +0 -9
  637. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPictureElement-impl.js +0 -9
  638. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLPreElement-impl.js +0 -9
  639. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLProgressElement-impl.js +0 -72
  640. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLQuoteElement-impl.js +0 -9
  641. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLScriptElement-impl.js +0 -261
  642. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSelectElement-impl.js +0 -283
  643. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSlotElement-impl.js +0 -59
  644. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSourceElement-impl.js +0 -8
  645. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLSpanElement-impl.js +0 -9
  646. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLStyleElement-impl.js +0 -73
  647. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCaptionElement-impl.js +0 -9
  648. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableCellElement-impl.js +0 -73
  649. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableColElement-impl.js +0 -9
  650. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableElement-impl.js +0 -236
  651. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableRowElement-impl.js +0 -88
  652. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTableSectionElement-impl.js +0 -61
  653. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTemplateElement-impl.js +0 -67
  654. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTextAreaElement-impl.js +0 -244
  655. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTimeElement-impl.js +0 -9
  656. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTitleElement-impl.js +0 -18
  657. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLTrackElement-impl.js +0 -13
  658. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUListElement-impl.js +0 -9
  659. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLUnknownElement-impl.js +0 -9
  660. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/HTMLVideoElement-impl.js +0 -17
  661. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/LinkStyle-impl.js +0 -2
  662. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/Node-impl.js +0 -1160
  663. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/NodeList-impl.js +0 -43
  664. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/NonDocumentTypeChildNode-impl.js +0 -28
  665. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/NonElementParentNode-impl.js +0 -11
  666. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js +0 -93
  667. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/ProcessingInstruction-impl.js +0 -22
  668. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/RadioNodeList-impl.js +0 -49
  669. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/SVGDefsElement-impl.js +0 -9
  670. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/SVGDescElement-impl.js +0 -9
  671. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/SVGElement-impl.js +0 -64
  672. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/SVGGElement-impl.js +0 -9
  673. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/SVGGraphicsElement-impl.js +0 -16
  674. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/SVGMetadataElement-impl.js +0 -9
  675. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/SVGSVGElement-impl.js +0 -47
  676. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/SVGSwitchElement-impl.js +0 -9
  677. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/SVGSymbolElement-impl.js +0 -9
  678. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/SVGTests-impl.js +0 -42
  679. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/SVGTitleElement-impl.js +0 -9
  680. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/ShadowRoot-impl.js +0 -41
  681. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/Slotable-impl.js +0 -48
  682. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/Text-impl.js +0 -96
  683. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/WindowEventHandlers-impl.js +0 -52
  684. package/packages/cli/node_modules/jsdom/lib/jsdom/living/nodes/XMLDocument-impl.js +0 -4
  685. package/packages/cli/node_modules/jsdom/lib/jsdom/living/range/AbstractRange-impl.js +0 -43
  686. package/packages/cli/node_modules/jsdom/lib/jsdom/living/range/Range-impl.js +0 -897
  687. package/packages/cli/node_modules/jsdom/lib/jsdom/living/range/StaticRange-impl.js +0 -39
  688. package/packages/cli/node_modules/jsdom/lib/jsdom/living/range/boundary-point.js +0 -47
  689. package/packages/cli/node_modules/jsdom/lib/jsdom/living/selection/Selection-impl.js +0 -358
  690. package/packages/cli/node_modules/jsdom/lib/jsdom/living/svg/SVGAnimatedPreserveAspectRatio-impl.js +0 -24
  691. package/packages/cli/node_modules/jsdom/lib/jsdom/living/svg/SVGAnimatedRect-impl.js +0 -122
  692. package/packages/cli/node_modules/jsdom/lib/jsdom/living/svg/SVGAnimatedString-impl.js +0 -42
  693. package/packages/cli/node_modules/jsdom/lib/jsdom/living/svg/SVGListBase.js +0 -195
  694. package/packages/cli/node_modules/jsdom/lib/jsdom/living/svg/SVGNumber-impl.js +0 -48
  695. package/packages/cli/node_modules/jsdom/lib/jsdom/living/svg/SVGPreserveAspectRatio-impl.js +0 -100
  696. package/packages/cli/node_modules/jsdom/lib/jsdom/living/svg/SVGRect-impl.js +0 -143
  697. package/packages/cli/node_modules/jsdom/lib/jsdom/living/svg/SVGStringList-impl.js +0 -16
  698. package/packages/cli/node_modules/jsdom/lib/jsdom/living/traversal/NodeIterator-impl.js +0 -107
  699. package/packages/cli/node_modules/jsdom/lib/jsdom/living/traversal/TreeWalker-impl.js +0 -217
  700. package/packages/cli/node_modules/jsdom/lib/jsdom/living/traversal/helpers.js +0 -44
  701. package/packages/cli/node_modules/jsdom/lib/jsdom/living/webidl/DOMException-impl.js +0 -46
  702. package/packages/cli/node_modules/jsdom/lib/jsdom/living/websockets/WebSocket-impl.js +0 -328
  703. package/packages/cli/node_modules/jsdom/lib/jsdom/living/webstorage/Storage-impl.js +0 -102
  704. package/packages/cli/node_modules/jsdom/lib/jsdom/living/window/BarProp-impl.js +0 -10
  705. package/packages/cli/node_modules/jsdom/lib/jsdom/living/window/External-impl.js +0 -9
  706. package/packages/cli/node_modules/jsdom/lib/jsdom/living/window/History-impl.js +0 -148
  707. package/packages/cli/node_modules/jsdom/lib/jsdom/living/window/Location-impl.js +0 -227
  708. package/packages/cli/node_modules/jsdom/lib/jsdom/living/window/Screen-impl.js +0 -13
  709. package/packages/cli/node_modules/jsdom/lib/jsdom/living/window/SessionHistory.js +0 -163
  710. package/packages/cli/node_modules/jsdom/lib/jsdom/living/window/navigation.js +0 -85
  711. package/packages/cli/node_modules/jsdom/lib/jsdom/living/xhr/FormData-impl.js +0 -191
  712. package/packages/cli/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequest-impl.js +0 -1005
  713. package/packages/cli/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequestEventTarget-impl.js +0 -17
  714. package/packages/cli/node_modules/jsdom/lib/jsdom/living/xhr/XMLHttpRequestUpload-impl.js +0 -4
  715. package/packages/cli/node_modules/jsdom/lib/jsdom/living/xhr/multipart-form-data.js +0 -105
  716. package/packages/cli/node_modules/jsdom/lib/jsdom/living/xhr/xhr-sync-worker.js +0 -59
  717. package/packages/cli/node_modules/jsdom/lib/jsdom/living/xhr/xhr-utils.js +0 -417
  718. package/packages/cli/node_modules/jsdom/lib/jsdom/named-properties-tracker.js +0 -158
  719. package/packages/cli/node_modules/jsdom/lib/jsdom/utils.js +0 -105
  720. package/packages/cli/node_modules/jsdom/lib/jsdom/virtual-console.js +0 -34
  721. package/packages/cli/node_modules/jsdom/package.json +0 -92
  722. package/packages/cli/node_modules/lru-cache/LICENSE +0 -15
  723. package/packages/cli/node_modules/lru-cache/README.md +0 -331
  724. package/packages/cli/node_modules/lru-cache/dist/commonjs/index.d.ts +0 -1277
  725. package/packages/cli/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
  726. package/packages/cli/node_modules/lru-cache/dist/commonjs/index.js +0 -1546
  727. package/packages/cli/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
  728. package/packages/cli/node_modules/lru-cache/dist/commonjs/index.min.js +0 -2
  729. package/packages/cli/node_modules/lru-cache/dist/commonjs/index.min.js.map +0 -7
  730. package/packages/cli/node_modules/lru-cache/dist/commonjs/package.json +0 -3
  731. package/packages/cli/node_modules/lru-cache/dist/esm/index.d.ts +0 -1277
  732. package/packages/cli/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
  733. package/packages/cli/node_modules/lru-cache/dist/esm/index.js +0 -1542
  734. package/packages/cli/node_modules/lru-cache/dist/esm/index.js.map +0 -1
  735. package/packages/cli/node_modules/lru-cache/dist/esm/index.min.js +0 -2
  736. package/packages/cli/node_modules/lru-cache/dist/esm/index.min.js.map +0 -7
  737. package/packages/cli/node_modules/lru-cache/dist/esm/package.json +0 -3
  738. package/packages/cli/node_modules/lru-cache/package.json +0 -116
  739. package/packages/cli/node_modules/tldts/LICENSE +0 -13
  740. package/packages/cli/node_modules/tldts/README.md +0 -327
  741. package/packages/cli/node_modules/tldts/bin/cli.js +0 -21
  742. package/packages/cli/node_modules/tldts/dist/cjs/index.js +0 -666
  743. package/packages/cli/node_modules/tldts/dist/cjs/index.js.map +0 -1
  744. package/packages/cli/node_modules/tldts/dist/cjs/src/data/trie.js +0 -14
  745. package/packages/cli/node_modules/tldts/dist/cjs/src/data/trie.js.map +0 -1
  746. package/packages/cli/node_modules/tldts/dist/cjs/src/suffix-trie.js +0 -67
  747. package/packages/cli/node_modules/tldts/dist/cjs/src/suffix-trie.js.map +0 -1
  748. package/packages/cli/node_modules/tldts/dist/cjs/tsconfig.tsbuildinfo +0 -1
  749. package/packages/cli/node_modules/tldts/dist/es6/index.js +0 -33
  750. package/packages/cli/node_modules/tldts/dist/es6/index.js.map +0 -1
  751. package/packages/cli/node_modules/tldts/dist/es6/src/data/trie.js +0 -11
  752. package/packages/cli/node_modules/tldts/dist/es6/src/data/trie.js.map +0 -1
  753. package/packages/cli/node_modules/tldts/dist/es6/src/suffix-trie.js +0 -64
  754. package/packages/cli/node_modules/tldts/dist/es6/src/suffix-trie.js.map +0 -1
  755. package/packages/cli/node_modules/tldts/dist/es6/tsconfig.bundle.tsbuildinfo +0 -1
  756. package/packages/cli/node_modules/tldts/dist/index.cjs.min.js +0 -2
  757. package/packages/cli/node_modules/tldts/dist/index.cjs.min.js.map +0 -1
  758. package/packages/cli/node_modules/tldts/dist/index.esm.min.js +0 -2
  759. package/packages/cli/node_modules/tldts/dist/index.esm.min.js.map +0 -1
  760. package/packages/cli/node_modules/tldts/dist/index.umd.min.js +0 -2
  761. package/packages/cli/node_modules/tldts/dist/index.umd.min.js.map +0 -1
  762. package/packages/cli/node_modules/tldts/dist/types/index.d.ts +0 -7
  763. package/packages/cli/node_modules/tldts/dist/types/src/data/trie.d.ts +0 -5
  764. package/packages/cli/node_modules/tldts/dist/types/src/suffix-trie.d.ts +0 -5
  765. package/packages/cli/node_modules/tldts/index.ts +0 -62
  766. package/packages/cli/node_modules/tldts/package.json +0 -91
  767. package/packages/cli/node_modules/tldts/src/data/trie.ts +0 -14
  768. package/packages/cli/node_modules/tldts/src/suffix-trie.ts +0 -110
  769. package/packages/cli/node_modules/tldts-core/LICENSE +0 -13
  770. package/packages/cli/node_modules/tldts-core/README.md +0 -3
  771. package/packages/cli/node_modules/tldts-core/dist/cjs/index.js +0 -561
  772. package/packages/cli/node_modules/tldts-core/dist/cjs/index.js.map +0 -1
  773. package/packages/cli/node_modules/tldts-core/dist/cjs/src/domain-without-suffix.js +0 -15
  774. package/packages/cli/node_modules/tldts-core/dist/cjs/src/domain-without-suffix.js.map +0 -1
  775. package/packages/cli/node_modules/tldts-core/dist/cjs/src/domain.js +0 -83
  776. package/packages/cli/node_modules/tldts-core/dist/cjs/src/domain.js.map +0 -1
  777. package/packages/cli/node_modules/tldts-core/dist/cjs/src/extract-hostname.js +0 -149
  778. package/packages/cli/node_modules/tldts-core/dist/cjs/src/extract-hostname.js.map +0 -1
  779. package/packages/cli/node_modules/tldts-core/dist/cjs/src/factory.js +0 -104
  780. package/packages/cli/node_modules/tldts-core/dist/cjs/src/factory.js.map +0 -1
  781. package/packages/cli/node_modules/tldts-core/dist/cjs/src/is-ip.js +0 -72
  782. package/packages/cli/node_modules/tldts-core/dist/cjs/src/is-ip.js.map +0 -1
  783. package/packages/cli/node_modules/tldts-core/dist/cjs/src/is-valid.js +0 -69
  784. package/packages/cli/node_modules/tldts-core/dist/cjs/src/is-valid.js.map +0 -1
  785. package/packages/cli/node_modules/tldts-core/dist/cjs/src/lookup/fast-path.js +0 -69
  786. package/packages/cli/node_modules/tldts-core/dist/cjs/src/lookup/fast-path.js.map +0 -1
  787. package/packages/cli/node_modules/tldts-core/dist/cjs/src/lookup/interface.js +0 -3
  788. package/packages/cli/node_modules/tldts-core/dist/cjs/src/lookup/interface.js.map +0 -1
  789. package/packages/cli/node_modules/tldts-core/dist/cjs/src/options.js +0 -22
  790. package/packages/cli/node_modules/tldts-core/dist/cjs/src/options.js.map +0 -1
  791. package/packages/cli/node_modules/tldts-core/dist/cjs/src/subdomain.js +0 -14
  792. package/packages/cli/node_modules/tldts-core/dist/cjs/src/subdomain.js.map +0 -1
  793. package/packages/cli/node_modules/tldts-core/dist/cjs/tsconfig.tsbuildinfo +0 -1
  794. package/packages/cli/node_modules/tldts-core/dist/es6/index.js +0 -4
  795. package/packages/cli/node_modules/tldts-core/dist/es6/index.js.map +0 -1
  796. package/packages/cli/node_modules/tldts-core/dist/es6/src/domain-without-suffix.js +0 -12
  797. package/packages/cli/node_modules/tldts-core/dist/es6/src/domain-without-suffix.js.map +0 -1
  798. package/packages/cli/node_modules/tldts-core/dist/es6/src/domain.js +0 -80
  799. package/packages/cli/node_modules/tldts-core/dist/es6/src/domain.js.map +0 -1
  800. package/packages/cli/node_modules/tldts-core/dist/es6/src/extract-hostname.js +0 -146
  801. package/packages/cli/node_modules/tldts-core/dist/es6/src/extract-hostname.js.map +0 -1
  802. package/packages/cli/node_modules/tldts-core/dist/es6/src/factory.js +0 -99
  803. package/packages/cli/node_modules/tldts-core/dist/es6/src/factory.js.map +0 -1
  804. package/packages/cli/node_modules/tldts-core/dist/es6/src/is-ip.js +0 -69
  805. package/packages/cli/node_modules/tldts-core/dist/es6/src/is-ip.js.map +0 -1
  806. package/packages/cli/node_modules/tldts-core/dist/es6/src/is-valid.js +0 -66
  807. package/packages/cli/node_modules/tldts-core/dist/es6/src/is-valid.js.map +0 -1
  808. package/packages/cli/node_modules/tldts-core/dist/es6/src/lookup/fast-path.js +0 -66
  809. package/packages/cli/node_modules/tldts-core/dist/es6/src/lookup/fast-path.js.map +0 -1
  810. package/packages/cli/node_modules/tldts-core/dist/es6/src/lookup/interface.js +0 -2
  811. package/packages/cli/node_modules/tldts-core/dist/es6/src/lookup/interface.js.map +0 -1
  812. package/packages/cli/node_modules/tldts-core/dist/es6/src/options.js +0 -19
  813. package/packages/cli/node_modules/tldts-core/dist/es6/src/options.js.map +0 -1
  814. package/packages/cli/node_modules/tldts-core/dist/es6/src/subdomain.js +0 -11
  815. package/packages/cli/node_modules/tldts-core/dist/es6/src/subdomain.js.map +0 -1
  816. package/packages/cli/node_modules/tldts-core/dist/es6/tsconfig.bundle.tsbuildinfo +0 -1
  817. package/packages/cli/node_modules/tldts-core/dist/types/index.d.ts +0 -4
  818. package/packages/cli/node_modules/tldts-core/dist/types/src/domain-without-suffix.d.ts +0 -6
  819. package/packages/cli/node_modules/tldts-core/dist/types/src/domain.d.ts +0 -5
  820. package/packages/cli/node_modules/tldts-core/dist/types/src/extract-hostname.d.ts +0 -5
  821. package/packages/cli/node_modules/tldts-core/dist/types/src/factory.d.ts +0 -28
  822. package/packages/cli/node_modules/tldts-core/dist/types/src/is-ip.d.ts +0 -6
  823. package/packages/cli/node_modules/tldts-core/dist/types/src/is-valid.d.ts +0 -15
  824. package/packages/cli/node_modules/tldts-core/dist/types/src/lookup/fast-path.d.ts +0 -2
  825. package/packages/cli/node_modules/tldts-core/dist/types/src/lookup/interface.d.ts +0 -9
  826. package/packages/cli/node_modules/tldts-core/dist/types/src/options.d.ts +0 -10
  827. package/packages/cli/node_modules/tldts-core/dist/types/src/subdomain.d.ts +0 -4
  828. package/packages/cli/node_modules/tldts-core/index.ts +0 -10
  829. package/packages/cli/node_modules/tldts-core/package.json +0 -68
  830. package/packages/cli/node_modules/tldts-core/src/domain-without-suffix.ts +0 -14
  831. package/packages/cli/node_modules/tldts-core/src/domain.ts +0 -100
  832. package/packages/cli/node_modules/tldts-core/src/extract-hostname.ts +0 -170
  833. package/packages/cli/node_modules/tldts-core/src/factory.ts +0 -160
  834. package/packages/cli/node_modules/tldts-core/src/is-ip.ts +0 -87
  835. package/packages/cli/node_modules/tldts-core/src/is-valid.ts +0 -79
  836. package/packages/cli/node_modules/tldts-core/src/lookup/fast-path.ts +0 -80
  837. package/packages/cli/node_modules/tldts-core/src/lookup/interface.ts +0 -10
  838. package/packages/cli/node_modules/tldts-core/src/options.ts +0 -39
  839. package/packages/cli/node_modules/tldts-core/src/subdomain.ts +0 -11
  840. package/packages/cli/node_modules/tough-cookie/LICENSE +0 -12
  841. package/packages/cli/node_modules/tough-cookie/README.md +0 -154
  842. package/packages/cli/node_modules/tough-cookie/dist/cookie/canonicalDomain.d.ts +0 -33
  843. package/packages/cli/node_modules/tough-cookie/dist/cookie/canonicalDomain.js +0 -65
  844. package/packages/cli/node_modules/tough-cookie/dist/cookie/constants.d.ts +0 -54
  845. package/packages/cli/node_modules/tough-cookie/dist/cookie/constants.js +0 -38
  846. package/packages/cli/node_modules/tough-cookie/dist/cookie/cookie.d.ts +0 -326
  847. package/packages/cli/node_modules/tough-cookie/dist/cookie/cookie.js +0 -831
  848. package/packages/cli/node_modules/tough-cookie/dist/cookie/cookieCompare.d.ts +0 -58
  849. package/packages/cli/node_modules/tough-cookie/dist/cookie/cookieCompare.js +0 -84
  850. package/packages/cli/node_modules/tough-cookie/dist/cookie/cookieJar.d.ts +0 -621
  851. package/packages/cli/node_modules/tough-cookie/dist/cookie/cookieJar.js +0 -1000
  852. package/packages/cli/node_modules/tough-cookie/dist/cookie/defaultPath.d.ts +0 -40
  853. package/packages/cli/node_modules/tough-cookie/dist/cookie/defaultPath.js +0 -60
  854. package/packages/cli/node_modules/tough-cookie/dist/cookie/domainMatch.d.ts +0 -38
  855. package/packages/cli/node_modules/tough-cookie/dist/cookie/domainMatch.js +0 -94
  856. package/packages/cli/node_modules/tough-cookie/dist/cookie/formatDate.d.ts +0 -15
  857. package/packages/cli/node_modules/tough-cookie/dist/cookie/formatDate.js +0 -20
  858. package/packages/cli/node_modules/tough-cookie/dist/cookie/index.d.ts +0 -29
  859. package/packages/cli/node_modules/tough-cookie/dist/cookie/index.js +0 -54
  860. package/packages/cli/node_modules/tough-cookie/dist/cookie/parseDate.d.ts +0 -103
  861. package/packages/cli/node_modules/tough-cookie/dist/cookie/parseDate.js +0 -323
  862. package/packages/cli/node_modules/tough-cookie/dist/cookie/permutePath.d.ts +0 -14
  863. package/packages/cli/node_modules/tough-cookie/dist/cookie/permutePath.js +0 -32
  864. package/packages/cli/node_modules/tough-cookie/dist/getPublicSuffix.d.ts +0 -55
  865. package/packages/cli/node_modules/tough-cookie/dist/getPublicSuffix.js +0 -71
  866. package/packages/cli/node_modules/tough-cookie/dist/memstore.d.ts +0 -220
  867. package/packages/cli/node_modules/tough-cookie/dist/memstore.js +0 -187
  868. package/packages/cli/node_modules/tough-cookie/dist/pathMatch.d.ts +0 -17
  869. package/packages/cli/node_modules/tough-cookie/dist/pathMatch.js +0 -40
  870. package/packages/cli/node_modules/tough-cookie/dist/permuteDomain.d.ts +0 -15
  871. package/packages/cli/node_modules/tough-cookie/dist/permuteDomain.js +0 -44
  872. package/packages/cli/node_modules/tough-cookie/dist/store.d.ts +0 -211
  873. package/packages/cli/node_modules/tough-cookie/dist/store.js +0 -76
  874. package/packages/cli/node_modules/tough-cookie/dist/utils.d.ts +0 -34
  875. package/packages/cli/node_modules/tough-cookie/dist/utils.js +0 -99
  876. package/packages/cli/node_modules/tough-cookie/dist/validators.d.ts +0 -24
  877. package/packages/cli/node_modules/tough-cookie/dist/validators.js +0 -90
  878. package/packages/cli/node_modules/tough-cookie/dist/version.d.ts +0 -5
  879. package/packages/cli/node_modules/tough-cookie/dist/version.js +0 -8
  880. package/packages/cli/node_modules/tough-cookie/package.json +0 -144
  881. package/packages/cli/node_modules/tr46/LICENSE.md +0 -21
  882. package/packages/cli/node_modules/tr46/README.md +0 -76
  883. package/packages/cli/node_modules/tr46/index.js +0 -344
  884. package/packages/cli/node_modules/tr46/lib/mappingTable.json +0 -1
  885. package/packages/cli/node_modules/tr46/lib/regexes.js +0 -29
  886. package/packages/cli/node_modules/tr46/lib/statusMapping.js +0 -9
  887. package/packages/cli/node_modules/tr46/package.json +0 -44
  888. package/packages/cli/node_modules/undici-types/LICENSE +0 -21
  889. package/packages/cli/node_modules/undici-types/README.md +0 -6
  890. package/packages/cli/node_modules/undici-types/agent.d.ts +0 -31
  891. package/packages/cli/node_modules/undici-types/api.d.ts +0 -43
  892. package/packages/cli/node_modules/undici-types/balanced-pool.d.ts +0 -29
  893. package/packages/cli/node_modules/undici-types/cache.d.ts +0 -36
  894. package/packages/cli/node_modules/undici-types/client.d.ts +0 -108
  895. package/packages/cli/node_modules/undici-types/connector.d.ts +0 -34
  896. package/packages/cli/node_modules/undici-types/content-type.d.ts +0 -21
  897. package/packages/cli/node_modules/undici-types/cookies.d.ts +0 -28
  898. package/packages/cli/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  899. package/packages/cli/node_modules/undici-types/dispatcher.d.ts +0 -256
  900. package/packages/cli/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  901. package/packages/cli/node_modules/undici-types/errors.d.ts +0 -149
  902. package/packages/cli/node_modules/undici-types/eventsource.d.ts +0 -61
  903. package/packages/cli/node_modules/undici-types/fetch.d.ts +0 -209
  904. package/packages/cli/node_modules/undici-types/file.d.ts +0 -39
  905. package/packages/cli/node_modules/undici-types/filereader.d.ts +0 -54
  906. package/packages/cli/node_modules/undici-types/formdata.d.ts +0 -108
  907. package/packages/cli/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  908. package/packages/cli/node_modules/undici-types/global-origin.d.ts +0 -7
  909. package/packages/cli/node_modules/undici-types/handlers.d.ts +0 -15
  910. package/packages/cli/node_modules/undici-types/header.d.ts +0 -4
  911. package/packages/cli/node_modules/undici-types/index.d.ts +0 -71
  912. package/packages/cli/node_modules/undici-types/interceptors.d.ts +0 -17
  913. package/packages/cli/node_modules/undici-types/mock-agent.d.ts +0 -50
  914. package/packages/cli/node_modules/undici-types/mock-client.d.ts +0 -25
  915. package/packages/cli/node_modules/undici-types/mock-errors.d.ts +0 -12
  916. package/packages/cli/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  917. package/packages/cli/node_modules/undici-types/mock-pool.d.ts +0 -25
  918. package/packages/cli/node_modules/undici-types/package.json +0 -55
  919. package/packages/cli/node_modules/undici-types/patch.d.ts +0 -33
  920. package/packages/cli/node_modules/undici-types/pool-stats.d.ts +0 -19
  921. package/packages/cli/node_modules/undici-types/pool.d.ts +0 -39
  922. package/packages/cli/node_modules/undici-types/proxy-agent.d.ts +0 -28
  923. package/packages/cli/node_modules/undici-types/readable.d.ts +0 -65
  924. package/packages/cli/node_modules/undici-types/retry-agent.d.ts +0 -8
  925. package/packages/cli/node_modules/undici-types/retry-handler.d.ts +0 -116
  926. package/packages/cli/node_modules/undici-types/util.d.ts +0 -18
  927. package/packages/cli/node_modules/undici-types/webidl.d.ts +0 -228
  928. package/packages/cli/node_modules/undici-types/websocket.d.ts +0 -150
  929. package/packages/cli/node_modules/webidl-conversions/LICENSE.md +0 -12
  930. package/packages/cli/node_modules/webidl-conversions/README.md +0 -99
  931. package/packages/cli/node_modules/webidl-conversions/lib/index.js +0 -450
  932. package/packages/cli/node_modules/webidl-conversions/package.json +0 -35
  933. package/packages/cli/node_modules/whatwg-url/LICENSE.txt +0 -21
  934. package/packages/cli/node_modules/whatwg-url/README.md +0 -106
  935. package/packages/cli/node_modules/whatwg-url/index.js +0 -27
  936. package/packages/cli/node_modules/whatwg-url/lib/Function.js +0 -42
  937. package/packages/cli/node_modules/whatwg-url/lib/URL-impl.js +0 -233
  938. package/packages/cli/node_modules/whatwg-url/lib/URL.js +0 -499
  939. package/packages/cli/node_modules/whatwg-url/lib/URLSearchParams-impl.js +0 -135
  940. package/packages/cli/node_modules/whatwg-url/lib/URLSearchParams.js +0 -505
  941. package/packages/cli/node_modules/whatwg-url/lib/VoidFunction.js +0 -26
  942. package/packages/cli/node_modules/whatwg-url/lib/encoding.js +0 -16
  943. package/packages/cli/node_modules/whatwg-url/lib/infra.js +0 -26
  944. package/packages/cli/node_modules/whatwg-url/lib/percent-encoding.js +0 -142
  945. package/packages/cli/node_modules/whatwg-url/lib/url-state-machine.js +0 -1274
  946. package/packages/cli/node_modules/whatwg-url/lib/urlencoded.js +0 -89
  947. package/packages/cli/node_modules/whatwg-url/lib/utils.js +0 -190
  948. package/packages/cli/node_modules/whatwg-url/package.json +0 -53
  949. package/packages/cli/node_modules/whatwg-url/webidl2js-wrapper.js +0 -7
  950. package/packages/vscode-ide-companion/node_modules/@types/node/LICENSE +0 -21
  951. package/packages/vscode-ide-companion/node_modules/@types/node/README.md +0 -15
  952. package/packages/vscode-ide-companion/node_modules/@types/node/assert/strict.d.ts +0 -8
  953. package/packages/vscode-ide-companion/node_modules/@types/node/assert.d.ts +0 -1062
  954. package/packages/vscode-ide-companion/node_modules/@types/node/async_hooks.d.ts +0 -605
  955. package/packages/vscode-ide-companion/node_modules/@types/node/buffer.buffer.d.ts +0 -462
  956. package/packages/vscode-ide-companion/node_modules/@types/node/buffer.d.ts +0 -1932
  957. package/packages/vscode-ide-companion/node_modules/@types/node/child_process.d.ts +0 -1452
  958. package/packages/vscode-ide-companion/node_modules/@types/node/cluster.d.ts +0 -578
  959. package/packages/vscode-ide-companion/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  960. package/packages/vscode-ide-companion/node_modules/@types/node/compatibility/index.d.ts +0 -9
  961. package/packages/vscode-ide-companion/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  962. package/packages/vscode-ide-companion/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  963. package/packages/vscode-ide-companion/node_modules/@types/node/console.d.ts +0 -452
  964. package/packages/vscode-ide-companion/node_modules/@types/node/constants.d.ts +0 -21
  965. package/packages/vscode-ide-companion/node_modules/@types/node/crypto.d.ts +0 -4570
  966. package/packages/vscode-ide-companion/node_modules/@types/node/dgram.d.ts +0 -596
  967. package/packages/vscode-ide-companion/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  968. package/packages/vscode-ide-companion/node_modules/@types/node/dns/promises.d.ts +0 -479
  969. package/packages/vscode-ide-companion/node_modules/@types/node/dns.d.ts +0 -871
  970. package/packages/vscode-ide-companion/node_modules/@types/node/domain.d.ts +0 -170
  971. package/packages/vscode-ide-companion/node_modules/@types/node/events.d.ts +0 -977
  972. package/packages/vscode-ide-companion/node_modules/@types/node/fs/promises.d.ts +0 -1248
  973. package/packages/vscode-ide-companion/node_modules/@types/node/fs.d.ts +0 -4362
  974. package/packages/vscode-ide-companion/node_modules/@types/node/globals.d.ts +0 -170
  975. package/packages/vscode-ide-companion/node_modules/@types/node/globals.typedarray.d.ts +0 -21
  976. package/packages/vscode-ide-companion/node_modules/@types/node/http.d.ts +0 -2031
  977. package/packages/vscode-ide-companion/node_modules/@types/node/http2.d.ts +0 -2623
  978. package/packages/vscode-ide-companion/node_modules/@types/node/https.d.ts +0 -549
  979. package/packages/vscode-ide-companion/node_modules/@types/node/index.d.ts +0 -93
  980. package/packages/vscode-ide-companion/node_modules/@types/node/inspector.generated.d.ts +0 -3966
  981. package/packages/vscode-ide-companion/node_modules/@types/node/module.d.ts +0 -539
  982. package/packages/vscode-ide-companion/node_modules/@types/node/net.d.ts +0 -1011
  983. package/packages/vscode-ide-companion/node_modules/@types/node/os.d.ts +0 -495
  984. package/packages/vscode-ide-companion/node_modules/@types/node/package.json +0 -140
  985. package/packages/vscode-ide-companion/node_modules/@types/node/path.d.ts +0 -200
  986. package/packages/vscode-ide-companion/node_modules/@types/node/perf_hooks.d.ts +0 -963
  987. package/packages/vscode-ide-companion/node_modules/@types/node/process.d.ts +0 -1956
  988. package/packages/vscode-ide-companion/node_modules/@types/node/punycode.d.ts +0 -117
  989. package/packages/vscode-ide-companion/node_modules/@types/node/querystring.d.ts +0 -152
  990. package/packages/vscode-ide-companion/node_modules/@types/node/readline/promises.d.ts +0 -162
  991. package/packages/vscode-ide-companion/node_modules/@types/node/readline.d.ts +0 -589
  992. package/packages/vscode-ide-companion/node_modules/@types/node/repl.d.ts +0 -430
  993. package/packages/vscode-ide-companion/node_modules/@types/node/sea.d.ts +0 -153
  994. package/packages/vscode-ide-companion/node_modules/@types/node/stream/consumers.d.ts +0 -38
  995. package/packages/vscode-ide-companion/node_modules/@types/node/stream/promises.d.ts +0 -90
  996. package/packages/vscode-ide-companion/node_modules/@types/node/stream/web.d.ts +0 -533
  997. package/packages/vscode-ide-companion/node_modules/@types/node/stream.d.ts +0 -1668
  998. package/packages/vscode-ide-companion/node_modules/@types/node/string_decoder.d.ts +0 -67
  999. package/packages/vscode-ide-companion/node_modules/@types/node/test.d.ts +0 -1787
  1000. package/packages/vscode-ide-companion/node_modules/@types/node/timers/promises.d.ts +0 -108
  1001. package/packages/vscode-ide-companion/node_modules/@types/node/timers.d.ts +0 -286
  1002. package/packages/vscode-ide-companion/node_modules/@types/node/tls.d.ts +0 -1231
  1003. package/packages/vscode-ide-companion/node_modules/@types/node/trace_events.d.ts +0 -197
  1004. package/packages/vscode-ide-companion/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
  1005. package/packages/vscode-ide-companion/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
  1006. package/packages/vscode-ide-companion/node_modules/@types/node/ts5.6/index.d.ts +0 -93
  1007. package/packages/vscode-ide-companion/node_modules/@types/node/tty.d.ts +0 -208
  1008. package/packages/vscode-ide-companion/node_modules/@types/node/url.d.ts +0 -964
  1009. package/packages/vscode-ide-companion/node_modules/@types/node/util.d.ts +0 -2331
  1010. package/packages/vscode-ide-companion/node_modules/@types/node/v8.d.ts +0 -808
  1011. package/packages/vscode-ide-companion/node_modules/@types/node/vm.d.ts +0 -1030
  1012. package/packages/vscode-ide-companion/node_modules/@types/node/wasi.d.ts +0 -181
  1013. package/packages/vscode-ide-companion/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  1014. package/packages/vscode-ide-companion/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  1015. package/packages/vscode-ide-companion/node_modules/@types/node/web-globals/events.d.ts +0 -97
  1016. package/packages/vscode-ide-companion/node_modules/@types/node/web-globals/fetch.d.ts +0 -46
  1017. package/packages/vscode-ide-companion/node_modules/@types/node/worker_threads.d.ts +0 -715
  1018. package/packages/vscode-ide-companion/node_modules/@types/node/zlib.d.ts +0 -539
  1019. package/packages/vscode-ide-companion/node_modules/undici-types/LICENSE +0 -21
  1020. package/packages/vscode-ide-companion/node_modules/undici-types/README.md +0 -6
  1021. package/packages/vscode-ide-companion/node_modules/undici-types/agent.d.ts +0 -31
  1022. package/packages/vscode-ide-companion/node_modules/undici-types/api.d.ts +0 -43
  1023. package/packages/vscode-ide-companion/node_modules/undici-types/balanced-pool.d.ts +0 -29
  1024. package/packages/vscode-ide-companion/node_modules/undici-types/cache.d.ts +0 -36
  1025. package/packages/vscode-ide-companion/node_modules/undici-types/client.d.ts +0 -108
  1026. package/packages/vscode-ide-companion/node_modules/undici-types/connector.d.ts +0 -34
  1027. package/packages/vscode-ide-companion/node_modules/undici-types/content-type.d.ts +0 -21
  1028. package/packages/vscode-ide-companion/node_modules/undici-types/cookies.d.ts +0 -28
  1029. package/packages/vscode-ide-companion/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  1030. package/packages/vscode-ide-companion/node_modules/undici-types/dispatcher.d.ts +0 -256
  1031. package/packages/vscode-ide-companion/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  1032. package/packages/vscode-ide-companion/node_modules/undici-types/errors.d.ts +0 -149
  1033. package/packages/vscode-ide-companion/node_modules/undici-types/eventsource.d.ts +0 -61
  1034. package/packages/vscode-ide-companion/node_modules/undici-types/fetch.d.ts +0 -209
  1035. package/packages/vscode-ide-companion/node_modules/undici-types/file.d.ts +0 -39
  1036. package/packages/vscode-ide-companion/node_modules/undici-types/filereader.d.ts +0 -54
  1037. package/packages/vscode-ide-companion/node_modules/undici-types/formdata.d.ts +0 -108
  1038. package/packages/vscode-ide-companion/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  1039. package/packages/vscode-ide-companion/node_modules/undici-types/global-origin.d.ts +0 -7
  1040. package/packages/vscode-ide-companion/node_modules/undici-types/handlers.d.ts +0 -15
  1041. package/packages/vscode-ide-companion/node_modules/undici-types/header.d.ts +0 -4
  1042. package/packages/vscode-ide-companion/node_modules/undici-types/index.d.ts +0 -71
  1043. package/packages/vscode-ide-companion/node_modules/undici-types/interceptors.d.ts +0 -17
  1044. package/packages/vscode-ide-companion/node_modules/undici-types/mock-agent.d.ts +0 -50
  1045. package/packages/vscode-ide-companion/node_modules/undici-types/mock-client.d.ts +0 -25
  1046. package/packages/vscode-ide-companion/node_modules/undici-types/mock-errors.d.ts +0 -12
  1047. package/packages/vscode-ide-companion/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  1048. package/packages/vscode-ide-companion/node_modules/undici-types/mock-pool.d.ts +0 -25
  1049. package/packages/vscode-ide-companion/node_modules/undici-types/package.json +0 -55
  1050. package/packages/vscode-ide-companion/node_modules/undici-types/patch.d.ts +0 -33
  1051. package/packages/vscode-ide-companion/node_modules/undici-types/pool-stats.d.ts +0 -19
  1052. package/packages/vscode-ide-companion/node_modules/undici-types/pool.d.ts +0 -39
  1053. package/packages/vscode-ide-companion/node_modules/undici-types/proxy-agent.d.ts +0 -28
  1054. package/packages/vscode-ide-companion/node_modules/undici-types/readable.d.ts +0 -65
  1055. package/packages/vscode-ide-companion/node_modules/undici-types/retry-agent.d.ts +0 -8
  1056. package/packages/vscode-ide-companion/node_modules/undici-types/retry-handler.d.ts +0 -116
  1057. package/packages/vscode-ide-companion/node_modules/undici-types/util.d.ts +0 -18
  1058. package/packages/vscode-ide-companion/node_modules/undici-types/webidl.d.ts +0 -228
  1059. package/packages/vscode-ide-companion/node_modules/undici-types/websocket.d.ts +0 -150
@@ -1,1787 +0,0 @@
1
- /**
2
- * The `node:test` module facilitates the creation of JavaScript tests.
3
- * To access it:
4
- *
5
- * ```js
6
- * import test from 'node:test';
7
- * ```
8
- *
9
- * This module is only available under the `node:` scheme. The following will not
10
- * work:
11
- *
12
- * ```js
13
- * import test from 'test';
14
- * ```
15
- *
16
- * Tests created via the `test` module consist of a single function that is
17
- * processed in one of three ways:
18
- *
19
- * 1. A synchronous function that is considered failing if it throws an exception,
20
- * and is considered passing otherwise.
21
- * 2. A function that returns a `Promise` that is considered failing if the `Promise` rejects, and is considered passing if the `Promise` fulfills.
22
- * 3. A function that receives a callback function. If the callback receives any
23
- * truthy value as its first argument, the test is considered failing. If a
24
- * falsy value is passed as the first argument to the callback, the test is
25
- * considered passing. If the test function receives a callback function and
26
- * also returns a `Promise`, the test will fail.
27
- *
28
- * The following example illustrates how tests are written using the `test` module.
29
- *
30
- * ```js
31
- * test('synchronous passing test', (t) => {
32
- * // This test passes because it does not throw an exception.
33
- * assert.strictEqual(1, 1);
34
- * });
35
- *
36
- * test('synchronous failing test', (t) => {
37
- * // This test fails because it throws an exception.
38
- * assert.strictEqual(1, 2);
39
- * });
40
- *
41
- * test('asynchronous passing test', async (t) => {
42
- * // This test passes because the Promise returned by the async
43
- * // function is settled and not rejected.
44
- * assert.strictEqual(1, 1);
45
- * });
46
- *
47
- * test('asynchronous failing test', async (t) => {
48
- * // This test fails because the Promise returned by the async
49
- * // function is rejected.
50
- * assert.strictEqual(1, 2);
51
- * });
52
- *
53
- * test('failing test using Promises', (t) => {
54
- * // Promises can be used directly as well.
55
- * return new Promise((resolve, reject) => {
56
- * setImmediate(() => {
57
- * reject(new Error('this will cause the test to fail'));
58
- * });
59
- * });
60
- * });
61
- *
62
- * test('callback passing test', (t, done) => {
63
- * // done() is the callback function. When the setImmediate() runs, it invokes
64
- * // done() with no arguments.
65
- * setImmediate(done);
66
- * });
67
- *
68
- * test('callback failing test', (t, done) => {
69
- * // When the setImmediate() runs, done() is invoked with an Error object and
70
- * // the test fails.
71
- * setImmediate(() => {
72
- * done(new Error('callback failure'));
73
- * });
74
- * });
75
- * ```
76
- *
77
- * If any tests fail, the process exit code is set to `1`.
78
- * @since v18.0.0, v16.17.0
79
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/test.js)
80
- */
81
- declare module "node:test" {
82
- import { AssertMethodNames } from "node:assert";
83
- import { Readable } from "node:stream";
84
- import TestFn = test.TestFn;
85
- import TestOptions = test.TestOptions;
86
- /**
87
- * The `test()` function is the value imported from the `test` module. Each
88
- * invocation of this function results in reporting the test to the `TestsStream`.
89
- *
90
- * The `TestContext` object passed to the `fn` argument can be used to perform
91
- * actions related to the current test. Examples include skipping the test, adding
92
- * additional diagnostic information, or creating subtests.
93
- *
94
- * `test()` returns a `Promise` that fulfills once the test completes.
95
- * if `test()` is called within a suite, it fulfills immediately.
96
- * The return value can usually be discarded for top level tests.
97
- * However, the return value from subtests should be used to prevent the parent
98
- * test from finishing first and cancelling the subtest
99
- * as shown in the following example.
100
- *
101
- * ```js
102
- * test('top level test', async (t) => {
103
- * // The setTimeout() in the following subtest would cause it to outlive its
104
- * // parent test if 'await' is removed on the next line. Once the parent test
105
- * // completes, it will cancel any outstanding subtests.
106
- * await t.test('longer running subtest', async (t) => {
107
- * return new Promise((resolve, reject) => {
108
- * setTimeout(resolve, 1000);
109
- * });
110
- * });
111
- * });
112
- * ```
113
- *
114
- * The `timeout` option can be used to fail the test if it takes longer than `timeout` milliseconds to complete. However, it is not a reliable mechanism for
115
- * canceling tests because a running test might block the application thread and
116
- * thus prevent the scheduled cancellation.
117
- * @since v18.0.0, v16.17.0
118
- * @param name The name of the test, which is displayed when reporting test results.
119
- * Defaults to the `name` property of `fn`, or `'<anonymous>'` if `fn` does not have a name.
120
- * @param options Configuration options for the test.
121
- * @param fn The function under test. The first argument to this function is a {@link TestContext} object.
122
- * If the test uses callbacks, the callback function is passed as the second argument.
123
- * @return Fulfilled with `undefined` once the test completes, or immediately if the test runs within a suite.
124
- */
125
- function test(name?: string, fn?: TestFn): Promise<void>;
126
- function test(name?: string, options?: TestOptions, fn?: TestFn): Promise<void>;
127
- function test(options?: TestOptions, fn?: TestFn): Promise<void>;
128
- function test(fn?: TestFn): Promise<void>;
129
- namespace test {
130
- export { test };
131
- export { suite as describe, test as it };
132
- }
133
- namespace test {
134
- /**
135
- * **Note:** `shard` is used to horizontally parallelize test running across
136
- * machines or processes, ideal for large-scale executions across varied
137
- * environments. It's incompatible with `watch` mode, tailored for rapid
138
- * code iteration by automatically rerunning tests on file changes.
139
- *
140
- * ```js
141
- * import { tap } from 'node:test/reporters';
142
- * import { run } from 'node:test';
143
- * import process from 'node:process';
144
- * import path from 'node:path';
145
- *
146
- * run({ files: [path.resolve('./tests/test.js')] })
147
- * .compose(tap)
148
- * .pipe(process.stdout);
149
- * ```
150
- * @since v18.9.0, v16.19.0
151
- * @param options Configuration options for running tests.
152
- */
153
- function run(options?: RunOptions): TestsStream;
154
- /**
155
- * The `suite()` function is imported from the `node:test` module.
156
- * @param name The name of the suite, which is displayed when reporting test results.
157
- * Defaults to the `name` property of `fn`, or `'<anonymous>'` if `fn` does not have a name.
158
- * @param options Configuration options for the suite. This supports the same options as {@link test}.
159
- * @param fn The suite function declaring nested tests and suites. The first argument to this function is a {@link SuiteContext} object.
160
- * @return Immediately fulfilled with `undefined`.
161
- * @since v20.13.0
162
- */
163
- function suite(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
164
- function suite(name?: string, fn?: SuiteFn): Promise<void>;
165
- function suite(options?: TestOptions, fn?: SuiteFn): Promise<void>;
166
- function suite(fn?: SuiteFn): Promise<void>;
167
- namespace suite {
168
- /**
169
- * Shorthand for skipping a suite. This is the same as calling {@link suite} with `options.skip` set to `true`.
170
- * @since v20.13.0
171
- */
172
- function skip(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
173
- function skip(name?: string, fn?: SuiteFn): Promise<void>;
174
- function skip(options?: TestOptions, fn?: SuiteFn): Promise<void>;
175
- function skip(fn?: SuiteFn): Promise<void>;
176
- /**
177
- * Shorthand for marking a suite as `TODO`. This is the same as calling {@link suite} with `options.todo` set to `true`.
178
- * @since v20.13.0
179
- */
180
- function todo(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
181
- function todo(name?: string, fn?: SuiteFn): Promise<void>;
182
- function todo(options?: TestOptions, fn?: SuiteFn): Promise<void>;
183
- function todo(fn?: SuiteFn): Promise<void>;
184
- /**
185
- * Shorthand for marking a suite as `only`. This is the same as calling {@link suite} with `options.only` set to `true`.
186
- * @since v20.13.0
187
- */
188
- function only(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
189
- function only(name?: string, fn?: SuiteFn): Promise<void>;
190
- function only(options?: TestOptions, fn?: SuiteFn): Promise<void>;
191
- function only(fn?: SuiteFn): Promise<void>;
192
- }
193
- /**
194
- * Shorthand for skipping a test. This is the same as calling {@link test} with `options.skip` set to `true`.
195
- * @since v20.2.0
196
- */
197
- function skip(name?: string, options?: TestOptions, fn?: TestFn): Promise<void>;
198
- function skip(name?: string, fn?: TestFn): Promise<void>;
199
- function skip(options?: TestOptions, fn?: TestFn): Promise<void>;
200
- function skip(fn?: TestFn): Promise<void>;
201
- /**
202
- * Shorthand for marking a test as `TODO`. This is the same as calling {@link test} with `options.todo` set to `true`.
203
- * @since v20.2.0
204
- */
205
- function todo(name?: string, options?: TestOptions, fn?: TestFn): Promise<void>;
206
- function todo(name?: string, fn?: TestFn): Promise<void>;
207
- function todo(options?: TestOptions, fn?: TestFn): Promise<void>;
208
- function todo(fn?: TestFn): Promise<void>;
209
- /**
210
- * Shorthand for marking a test as `only`. This is the same as calling {@link test} with `options.only` set to `true`.
211
- * @since v20.2.0
212
- */
213
- function only(name?: string, options?: TestOptions, fn?: TestFn): Promise<void>;
214
- function only(name?: string, fn?: TestFn): Promise<void>;
215
- function only(options?: TestOptions, fn?: TestFn): Promise<void>;
216
- function only(fn?: TestFn): Promise<void>;
217
- /**
218
- * The type of a function passed to {@link test}. The first argument to this function is a {@link TestContext} object.
219
- * If the test uses callbacks, the callback function is passed as the second argument.
220
- */
221
- type TestFn = (t: TestContext, done: (result?: any) => void) => void | Promise<void>;
222
- /**
223
- * The type of a suite test function. The argument to this function is a {@link SuiteContext} object.
224
- */
225
- type SuiteFn = (s: SuiteContext) => void | Promise<void>;
226
- interface TestShard {
227
- /**
228
- * A positive integer between 1 and `total` that specifies the index of the shard to run.
229
- */
230
- index: number;
231
- /**
232
- * A positive integer that specifies the total number of shards to split the test files to.
233
- */
234
- total: number;
235
- }
236
- interface RunOptions {
237
- /**
238
- * If a number is provided, then that many test processes would run in parallel, where each process corresponds to one test file.
239
- * If `true`, it would run `os.availableParallelism() - 1` test files in parallel. If `false`, it would only run one test file at a time.
240
- * @default false
241
- */
242
- concurrency?: number | boolean | undefined;
243
- /**
244
- * An array containing the list of files to run. If omitted, files are run according to the
245
- * [test runner execution model](https://nodejs.org/docs/latest-v20.x/api/test.html#test-runner-execution-model).
246
- */
247
- files?: readonly string[] | undefined;
248
- /**
249
- * Configures the test runner to exit the process once all known
250
- * tests have finished executing even if the event loop would
251
- * otherwise remain active.
252
- * @default false
253
- */
254
- forceExit?: boolean | undefined;
255
- /**
256
- * Sets inspector port of test child process.
257
- * If a nullish value is provided, each process gets its own port,
258
- * incremented from the primary's `process.debugPort`.
259
- * @default undefined
260
- */
261
- inspectPort?: number | (() => number) | undefined;
262
- /**
263
- * If truthy, the test context will only run tests that have the `only` option set
264
- */
265
- only?: boolean | undefined;
266
- /**
267
- * A function that accepts the `TestsStream` instance and can be used to setup listeners before any tests are run.
268
- * @default undefined
269
- */
270
- setup?: ((reporter: TestsStream) => void | Promise<void>) | undefined;
271
- /**
272
- * Allows aborting an in-progress test execution.
273
- */
274
- signal?: AbortSignal | undefined;
275
- /**
276
- * If provided, only run tests whose name matches the provided pattern.
277
- * Strings are interpreted as JavaScript regular expressions.
278
- * @default undefined
279
- */
280
- testNamePatterns?: string | RegExp | ReadonlyArray<string | RegExp> | undefined;
281
- /**
282
- * The number of milliseconds after which the test execution will fail.
283
- * If unspecified, subtests inherit this value from their parent.
284
- * @default Infinity
285
- */
286
- timeout?: number | undefined;
287
- /**
288
- * Whether to run in watch mode or not.
289
- * @default false
290
- */
291
- watch?: boolean | undefined;
292
- /**
293
- * Running tests in a specific shard.
294
- * @default undefined
295
- */
296
- shard?: TestShard | undefined;
297
- }
298
- /**
299
- * A successful call to `run()` will return a new `TestsStream` object, streaming a series of events representing the execution of the tests.
300
- *
301
- * Some of the events are guaranteed to be emitted in the same order as the tests are defined, while others are emitted in the order that the tests execute.
302
- * @since v18.9.0, v16.19.0
303
- */
304
- interface TestsStream extends Readable {
305
- addListener(event: "test:coverage", listener: (data: EventData.TestCoverage) => void): this;
306
- addListener(event: "test:complete", listener: (data: EventData.TestComplete) => void): this;
307
- addListener(event: "test:dequeue", listener: (data: EventData.TestDequeue) => void): this;
308
- addListener(event: "test:diagnostic", listener: (data: EventData.TestDiagnostic) => void): this;
309
- addListener(event: "test:enqueue", listener: (data: EventData.TestEnqueue) => void): this;
310
- addListener(event: "test:fail", listener: (data: EventData.TestFail) => void): this;
311
- addListener(event: "test:pass", listener: (data: EventData.TestPass) => void): this;
312
- addListener(event: "test:plan", listener: (data: EventData.TestPlan) => void): this;
313
- addListener(event: "test:start", listener: (data: EventData.TestStart) => void): this;
314
- addListener(event: "test:stderr", listener: (data: EventData.TestStderr) => void): this;
315
- addListener(event: "test:stdout", listener: (data: EventData.TestStdout) => void): this;
316
- addListener(event: "test:watch:drained", listener: () => void): this;
317
- addListener(event: string, listener: (...args: any[]) => void): this;
318
- emit(event: "test:coverage", data: EventData.TestCoverage): boolean;
319
- emit(event: "test:complete", data: EventData.TestComplete): boolean;
320
- emit(event: "test:dequeue", data: EventData.TestDequeue): boolean;
321
- emit(event: "test:diagnostic", data: EventData.TestDiagnostic): boolean;
322
- emit(event: "test:enqueue", data: EventData.TestEnqueue): boolean;
323
- emit(event: "test:fail", data: EventData.TestFail): boolean;
324
- emit(event: "test:pass", data: EventData.TestPass): boolean;
325
- emit(event: "test:plan", data: EventData.TestPlan): boolean;
326
- emit(event: "test:start", data: EventData.TestStart): boolean;
327
- emit(event: "test:stderr", data: EventData.TestStderr): boolean;
328
- emit(event: "test:stdout", data: EventData.TestStdout): boolean;
329
- emit(event: "test:watch:drained"): boolean;
330
- emit(event: string | symbol, ...args: any[]): boolean;
331
- on(event: "test:coverage", listener: (data: EventData.TestCoverage) => void): this;
332
- on(event: "test:complete", listener: (data: EventData.TestComplete) => void): this;
333
- on(event: "test:dequeue", listener: (data: EventData.TestDequeue) => void): this;
334
- on(event: "test:diagnostic", listener: (data: EventData.TestDiagnostic) => void): this;
335
- on(event: "test:enqueue", listener: (data: EventData.TestEnqueue) => void): this;
336
- on(event: "test:fail", listener: (data: EventData.TestFail) => void): this;
337
- on(event: "test:pass", listener: (data: EventData.TestPass) => void): this;
338
- on(event: "test:plan", listener: (data: EventData.TestPlan) => void): this;
339
- on(event: "test:start", listener: (data: EventData.TestStart) => void): this;
340
- on(event: "test:stderr", listener: (data: EventData.TestStderr) => void): this;
341
- on(event: "test:stdout", listener: (data: EventData.TestStdout) => void): this;
342
- on(event: "test:watch:drained", listener: () => void): this;
343
- on(event: string, listener: (...args: any[]) => void): this;
344
- once(event: "test:coverage", listener: (data: EventData.TestCoverage) => void): this;
345
- once(event: "test:complete", listener: (data: EventData.TestComplete) => void): this;
346
- once(event: "test:dequeue", listener: (data: EventData.TestDequeue) => void): this;
347
- once(event: "test:diagnostic", listener: (data: EventData.TestDiagnostic) => void): this;
348
- once(event: "test:enqueue", listener: (data: EventData.TestEnqueue) => void): this;
349
- once(event: "test:fail", listener: (data: EventData.TestFail) => void): this;
350
- once(event: "test:pass", listener: (data: EventData.TestPass) => void): this;
351
- once(event: "test:plan", listener: (data: EventData.TestPlan) => void): this;
352
- once(event: "test:start", listener: (data: EventData.TestStart) => void): this;
353
- once(event: "test:stderr", listener: (data: EventData.TestStderr) => void): this;
354
- once(event: "test:stdout", listener: (data: EventData.TestStdout) => void): this;
355
- once(event: "test:watch:drained", listener: () => void): this;
356
- once(event: string, listener: (...args: any[]) => void): this;
357
- prependListener(event: "test:coverage", listener: (data: EventData.TestCoverage) => void): this;
358
- prependListener(event: "test:complete", listener: (data: EventData.TestComplete) => void): this;
359
- prependListener(event: "test:dequeue", listener: (data: EventData.TestDequeue) => void): this;
360
- prependListener(event: "test:diagnostic", listener: (data: EventData.TestDiagnostic) => void): this;
361
- prependListener(event: "test:enqueue", listener: (data: EventData.TestEnqueue) => void): this;
362
- prependListener(event: "test:fail", listener: (data: EventData.TestFail) => void): this;
363
- prependListener(event: "test:pass", listener: (data: EventData.TestPass) => void): this;
364
- prependListener(event: "test:plan", listener: (data: EventData.TestPlan) => void): this;
365
- prependListener(event: "test:start", listener: (data: EventData.TestStart) => void): this;
366
- prependListener(event: "test:stderr", listener: (data: EventData.TestStderr) => void): this;
367
- prependListener(event: "test:stdout", listener: (data: EventData.TestStdout) => void): this;
368
- prependListener(event: "test:watch:drained", listener: () => void): this;
369
- prependListener(event: string, listener: (...args: any[]) => void): this;
370
- prependOnceListener(event: "test:coverage", listener: (data: EventData.TestCoverage) => void): this;
371
- prependOnceListener(event: "test:complete", listener: (data: EventData.TestComplete) => void): this;
372
- prependOnceListener(event: "test:dequeue", listener: (data: EventData.TestDequeue) => void): this;
373
- prependOnceListener(event: "test:diagnostic", listener: (data: EventData.TestDiagnostic) => void): this;
374
- prependOnceListener(event: "test:enqueue", listener: (data: EventData.TestEnqueue) => void): this;
375
- prependOnceListener(event: "test:fail", listener: (data: EventData.TestFail) => void): this;
376
- prependOnceListener(event: "test:pass", listener: (data: EventData.TestPass) => void): this;
377
- prependOnceListener(event: "test:plan", listener: (data: EventData.TestPlan) => void): this;
378
- prependOnceListener(event: "test:start", listener: (data: EventData.TestStart) => void): this;
379
- prependOnceListener(event: "test:stderr", listener: (data: EventData.TestStderr) => void): this;
380
- prependOnceListener(event: "test:stdout", listener: (data: EventData.TestStdout) => void): this;
381
- prependOnceListener(event: "test:watch:drained", listener: () => void): this;
382
- prependOnceListener(event: string, listener: (...args: any[]) => void): this;
383
- }
384
- namespace EventData {
385
- interface Error extends globalThis.Error {
386
- cause: globalThis.Error;
387
- }
388
- interface LocationInfo {
389
- /**
390
- * The column number where the test is defined, or
391
- * `undefined` if the test was run through the REPL.
392
- */
393
- column?: number;
394
- /**
395
- * The path of the test file, `undefined` if test was run through the REPL.
396
- */
397
- file?: string;
398
- /**
399
- * The line number where the test is defined, or `undefined` if the test was run through the REPL.
400
- */
401
- line?: number;
402
- }
403
- interface TestDiagnostic extends LocationInfo {
404
- /**
405
- * The diagnostic message.
406
- */
407
- message: string;
408
- /**
409
- * The nesting level of the test.
410
- */
411
- nesting: number;
412
- }
413
- interface TestCoverage {
414
- /**
415
- * An object containing the coverage report.
416
- */
417
- summary: {
418
- /**
419
- * An array of coverage reports for individual files.
420
- */
421
- files: Array<{
422
- /**
423
- * The absolute path of the file.
424
- */
425
- path: string;
426
- /**
427
- * The total number of lines.
428
- */
429
- totalLineCount: number;
430
- /**
431
- * The total number of branches.
432
- */
433
- totalBranchCount: number;
434
- /**
435
- * The total number of functions.
436
- */
437
- totalFunctionCount: number;
438
- /**
439
- * The number of covered lines.
440
- */
441
- coveredLineCount: number;
442
- /**
443
- * The number of covered branches.
444
- */
445
- coveredBranchCount: number;
446
- /**
447
- * The number of covered functions.
448
- */
449
- coveredFunctionCount: number;
450
- /**
451
- * The percentage of lines covered.
452
- */
453
- coveredLinePercent: number;
454
- /**
455
- * The percentage of branches covered.
456
- */
457
- coveredBranchPercent: number;
458
- /**
459
- * The percentage of functions covered.
460
- */
461
- coveredFunctionPercent: number;
462
- /**
463
- * An array of functions representing function coverage.
464
- */
465
- functions: Array<{
466
- /**
467
- * The name of the function.
468
- */
469
- name: string;
470
- /**
471
- * The line number where the function is defined.
472
- */
473
- line: number;
474
- /**
475
- * The number of times the function was called.
476
- */
477
- count: number;
478
- }>;
479
- /**
480
- * An array of branches representing branch coverage.
481
- */
482
- branches: Array<{
483
- /**
484
- * The line number where the branch is defined.
485
- */
486
- line: number;
487
- /**
488
- * The number of times the branch was taken.
489
- */
490
- count: number;
491
- }>;
492
- /**
493
- * An array of lines representing line numbers and the number of times they were covered.
494
- */
495
- lines: Array<{
496
- /**
497
- * The line number.
498
- */
499
- line: number;
500
- /**
501
- * The number of times the line was covered.
502
- */
503
- count: number;
504
- }>;
505
- }>;
506
- /**
507
- * An object containing a summary of coverage for all files.
508
- */
509
- totals: {
510
- /**
511
- * The total number of lines.
512
- */
513
- totalLineCount: number;
514
- /**
515
- * The total number of branches.
516
- */
517
- totalBranchCount: number;
518
- /**
519
- * The total number of functions.
520
- */
521
- totalFunctionCount: number;
522
- /**
523
- * The number of covered lines.
524
- */
525
- coveredLineCount: number;
526
- /**
527
- * The number of covered branches.
528
- */
529
- coveredBranchCount: number;
530
- /**
531
- * The number of covered functions.
532
- */
533
- coveredFunctionCount: number;
534
- /**
535
- * The percentage of lines covered.
536
- */
537
- coveredLinePercent: number;
538
- /**
539
- * The percentage of branches covered.
540
- */
541
- coveredBranchPercent: number;
542
- /**
543
- * The percentage of functions covered.
544
- */
545
- coveredFunctionPercent: number;
546
- };
547
- /**
548
- * The working directory when code coverage began. This
549
- * is useful for displaying relative path names in case
550
- * the tests changed the working directory of the Node.js process.
551
- */
552
- workingDirectory: string;
553
- };
554
- /**
555
- * The nesting level of the test.
556
- */
557
- nesting: number;
558
- }
559
- interface TestComplete extends LocationInfo {
560
- /**
561
- * Additional execution metadata.
562
- */
563
- details: {
564
- /**
565
- * Whether the test passed or not.
566
- */
567
- passed: boolean;
568
- /**
569
- * The duration of the test in milliseconds.
570
- */
571
- duration_ms: number;
572
- /**
573
- * An error wrapping the error thrown by the test if it did not pass.
574
- */
575
- error?: Error;
576
- /**
577
- * The type of the test, used to denote whether this is a suite.
578
- */
579
- type?: "suite";
580
- };
581
- /**
582
- * The test name.
583
- */
584
- name: string;
585
- /**
586
- * The nesting level of the test.
587
- */
588
- nesting: number;
589
- /**
590
- * The ordinal number of the test.
591
- */
592
- testNumber: number;
593
- /**
594
- * Present if `context.todo` is called.
595
- */
596
- todo?: string | boolean;
597
- /**
598
- * Present if `context.skip` is called.
599
- */
600
- skip?: string | boolean;
601
- }
602
- interface TestDequeue extends LocationInfo {
603
- /**
604
- * The test name.
605
- */
606
- name: string;
607
- /**
608
- * The nesting level of the test.
609
- */
610
- nesting: number;
611
- }
612
- interface TestEnqueue extends LocationInfo {
613
- /**
614
- * The test name.
615
- */
616
- name: string;
617
- /**
618
- * The nesting level of the test.
619
- */
620
- nesting: number;
621
- }
622
- interface TestFail extends LocationInfo {
623
- /**
624
- * Additional execution metadata.
625
- */
626
- details: {
627
- /**
628
- * The duration of the test in milliseconds.
629
- */
630
- duration_ms: number;
631
- /**
632
- * An error wrapping the error thrown by the test.
633
- */
634
- error: Error;
635
- /**
636
- * The type of the test, used to denote whether this is a suite.
637
- * @since v20.0.0, v19.9.0, v18.17.0
638
- */
639
- type?: "suite";
640
- };
641
- /**
642
- * The test name.
643
- */
644
- name: string;
645
- /**
646
- * The nesting level of the test.
647
- */
648
- nesting: number;
649
- /**
650
- * The ordinal number of the test.
651
- */
652
- testNumber: number;
653
- /**
654
- * Present if `context.todo` is called.
655
- */
656
- todo?: string | boolean;
657
- /**
658
- * Present if `context.skip` is called.
659
- */
660
- skip?: string | boolean;
661
- }
662
- interface TestPass extends LocationInfo {
663
- /**
664
- * Additional execution metadata.
665
- */
666
- details: {
667
- /**
668
- * The duration of the test in milliseconds.
669
- */
670
- duration_ms: number;
671
- /**
672
- * The type of the test, used to denote whether this is a suite.
673
- * @since 20.0.0, 19.9.0, 18.17.0
674
- */
675
- type?: "suite";
676
- };
677
- /**
678
- * The test name.
679
- */
680
- name: string;
681
- /**
682
- * The nesting level of the test.
683
- */
684
- nesting: number;
685
- /**
686
- * The ordinal number of the test.
687
- */
688
- testNumber: number;
689
- /**
690
- * Present if `context.todo` is called.
691
- */
692
- todo?: string | boolean;
693
- /**
694
- * Present if `context.skip` is called.
695
- */
696
- skip?: string | boolean;
697
- }
698
- interface TestPlan extends LocationInfo {
699
- /**
700
- * The nesting level of the test.
701
- */
702
- nesting: number;
703
- /**
704
- * The number of subtests that have ran.
705
- */
706
- count: number;
707
- }
708
- interface TestStart extends LocationInfo {
709
- /**
710
- * The test name.
711
- */
712
- name: string;
713
- /**
714
- * The nesting level of the test.
715
- */
716
- nesting: number;
717
- }
718
- interface TestStderr {
719
- /**
720
- * The path of the test file.
721
- */
722
- file: string;
723
- /**
724
- * The message written to `stderr`.
725
- */
726
- message: string;
727
- }
728
- interface TestStdout {
729
- /**
730
- * The path of the test file.
731
- */
732
- file: string;
733
- /**
734
- * The message written to `stdout`.
735
- */
736
- message: string;
737
- }
738
- }
739
- /**
740
- * An instance of `TestContext` is passed to each test function in order to
741
- * interact with the test runner. However, the `TestContext` constructor is not
742
- * exposed as part of the API.
743
- * @since v18.0.0, v16.17.0
744
- */
745
- interface TestContext {
746
- /**
747
- * An object containing assertion methods bound to the test context.
748
- * The top-level functions from the `node:assert` module are exposed here for the purpose of creating test plans.
749
- *
750
- * **Note:** Some of the functions from `node:assert` contain type assertions. If these are called via the
751
- * TestContext `assert` object, then the context parameter in the test's function signature **must be explicitly typed**
752
- * (ie. the parameter must have a type annotation), otherwise an error will be raised by the TypeScript compiler:
753
- * ```ts
754
- * import { test, type TestContext } from 'node:test';
755
- *
756
- * // The test function's context parameter must have a type annotation.
757
- * test('example', (t: TestContext) => {
758
- * t.assert.deepStrictEqual(actual, expected);
759
- * });
760
- *
761
- * // Omitting the type annotation will result in a compilation error.
762
- * test('example', t => {
763
- * t.assert.deepStrictEqual(actual, expected); // Error: 't' needs an explicit type annotation.
764
- * });
765
- * ```
766
- * @since v20.15.0
767
- */
768
- readonly assert: TestContextAssert;
769
- /**
770
- * This function is used to create a hook running before subtest of the current test.
771
- * @param fn The hook function. The first argument to this function is a `TestContext` object.
772
- * If the hook uses callbacks, the callback function is passed as the second argument.
773
- * @param options Configuration options for the hook.
774
- * @since v20.1.0, v18.17.0
775
- */
776
- before(fn?: TestContextHookFn, options?: HookOptions): void;
777
- /**
778
- * This function is used to create a hook running before each subtest of the current test.
779
- * @param fn The hook function. The first argument to this function is a `TestContext` object.
780
- * If the hook uses callbacks, the callback function is passed as the second argument.
781
- * @param options Configuration options for the hook.
782
- * @since v18.8.0
783
- */
784
- beforeEach(fn?: TestContextHookFn, options?: HookOptions): void;
785
- /**
786
- * This function is used to create a hook that runs after the current test finishes.
787
- * @param fn The hook function. The first argument to this function is a `TestContext` object.
788
- * If the hook uses callbacks, the callback function is passed as the second argument.
789
- * @param options Configuration options for the hook.
790
- * @since v18.13.0
791
- */
792
- after(fn?: TestContextHookFn, options?: HookOptions): void;
793
- /**
794
- * This function is used to create a hook running after each subtest of the current test.
795
- * @param fn The hook function. The first argument to this function is a `TestContext` object.
796
- * If the hook uses callbacks, the callback function is passed as the second argument.
797
- * @param options Configuration options for the hook.
798
- * @since v18.8.0
799
- */
800
- afterEach(fn?: TestContextHookFn, options?: HookOptions): void;
801
- /**
802
- * This function is used to write diagnostics to the output. Any diagnostic
803
- * information is included at the end of the test's results. This function does
804
- * not return a value.
805
- *
806
- * ```js
807
- * test('top level test', (t) => {
808
- * t.diagnostic('A diagnostic message');
809
- * });
810
- * ```
811
- * @since v18.0.0, v16.17.0
812
- * @param message Message to be reported.
813
- */
814
- diagnostic(message: string): void;
815
- /**
816
- * The name of the test and each of its ancestors, separated by `>`.
817
- * @since v20.16.0
818
- */
819
- readonly fullName: string;
820
- /**
821
- * The name of the test.
822
- * @since v18.8.0, v16.18.0
823
- */
824
- readonly name: string;
825
- /**
826
- * Used to set the number of assertions and subtests that are expected to run within the test.
827
- * If the number of assertions and subtests that run does not match the expected count, the test will fail.
828
- *
829
- * To make sure assertions are tracked, the assert functions on `context.assert` must be used,
830
- * instead of importing from the `node:assert` module.
831
- * ```js
832
- * test('top level test', (t) => {
833
- * t.plan(2);
834
- * t.assert.ok('some relevant assertion here');
835
- * t.test('subtest', () => {});
836
- * });
837
- * ```
838
- *
839
- * When working with asynchronous code, the `plan` function can be used to ensure that the correct number of assertions are run:
840
- * ```js
841
- * test('planning with streams', (t, done) => {
842
- * function* generate() {
843
- * yield 'a';
844
- * yield 'b';
845
- * yield 'c';
846
- * }
847
- * const expected = ['a', 'b', 'c'];
848
- * t.plan(expected.length);
849
- * const stream = Readable.from(generate());
850
- * stream.on('data', (chunk) => {
851
- * t.assert.strictEqual(chunk, expected.shift());
852
- * });
853
- * stream.on('end', () => {
854
- * done();
855
- * });
856
- * });
857
- * ```
858
- * @since v20.15.0
859
- */
860
- plan(count: number): void;
861
- /**
862
- * If `shouldRunOnlyTests` is truthy, the test context will only run tests that
863
- * have the `only` option set. Otherwise, all tests are run. If Node.js was not
864
- * started with the `--test-only` command-line option, this function is a
865
- * no-op.
866
- *
867
- * ```js
868
- * test('top level test', (t) => {
869
- * // The test context can be set to run subtests with the 'only' option.
870
- * t.runOnly(true);
871
- * return Promise.all([
872
- * t.test('this subtest is now skipped'),
873
- * t.test('this subtest is run', { only: true }),
874
- * ]);
875
- * });
876
- * ```
877
- * @since v18.0.0, v16.17.0
878
- * @param shouldRunOnlyTests Whether or not to run `only` tests.
879
- */
880
- runOnly(shouldRunOnlyTests: boolean): void;
881
- /**
882
- * ```js
883
- * test('top level test', async (t) => {
884
- * await fetch('some/uri', { signal: t.signal });
885
- * });
886
- * ```
887
- * @since v18.7.0, v16.17.0
888
- */
889
- readonly signal: AbortSignal;
890
- /**
891
- * This function causes the test's output to indicate the test as skipped. If `message` is provided, it is included in the output. Calling `skip()` does
892
- * not terminate execution of the test function. This function does not return a
893
- * value.
894
- *
895
- * ```js
896
- * test('top level test', (t) => {
897
- * // Make sure to return here as well if the test contains additional logic.
898
- * t.skip('this is skipped');
899
- * });
900
- * ```
901
- * @since v18.0.0, v16.17.0
902
- * @param message Optional skip message.
903
- */
904
- skip(message?: string): void;
905
- /**
906
- * This function adds a `TODO` directive to the test's output. If `message` is
907
- * provided, it is included in the output. Calling `todo()` does not terminate
908
- * execution of the test function. This function does not return a value.
909
- *
910
- * ```js
911
- * test('top level test', (t) => {
912
- * // This test is marked as `TODO`
913
- * t.todo('this is a todo');
914
- * });
915
- * ```
916
- * @since v18.0.0, v16.17.0
917
- * @param message Optional `TODO` message.
918
- */
919
- todo(message?: string): void;
920
- /**
921
- * This function is used to create subtests under the current test. This function behaves in
922
- * the same fashion as the top level {@link test} function.
923
- * @since v18.0.0
924
- * @param name The name of the test, which is displayed when reporting test results.
925
- * Defaults to the `name` property of `fn`, or `'<anonymous>'` if `fn` does not have a name.
926
- * @param options Configuration options for the test.
927
- * @param fn The function under test. This first argument to this function is a {@link TestContext} object.
928
- * If the test uses callbacks, the callback function is passed as the second argument.
929
- * @returns A {@link Promise} resolved with `undefined` once the test completes.
930
- */
931
- test: typeof test;
932
- /**
933
- * Each test provides its own MockTracker instance.
934
- */
935
- readonly mock: MockTracker;
936
- }
937
- interface TestContextAssert extends Pick<typeof import("assert"), AssertMethodNames> {}
938
- /**
939
- * An instance of `SuiteContext` is passed to each suite function in order to
940
- * interact with the test runner. However, the `SuiteContext` constructor is not
941
- * exposed as part of the API.
942
- * @since v18.7.0, v16.17.0
943
- */
944
- interface SuiteContext {
945
- /**
946
- * The name of the suite.
947
- * @since v18.8.0, v16.18.0
948
- */
949
- readonly name: string;
950
- /**
951
- * Can be used to abort test subtasks when the test has been aborted.
952
- * @since v18.7.0, v16.17.0
953
- */
954
- readonly signal: AbortSignal;
955
- }
956
- interface TestOptions {
957
- /**
958
- * If a number is provided, then that many tests would run in parallel.
959
- * If truthy, it would run (number of cpu cores - 1) tests in parallel.
960
- * For subtests, it will be `Infinity` tests in parallel.
961
- * If falsy, it would only run one test at a time.
962
- * If unspecified, subtests inherit this value from their parent.
963
- * @default false
964
- */
965
- concurrency?: number | boolean | undefined;
966
- /**
967
- * If truthy, and the test context is configured to run `only` tests, then this test will be
968
- * run. Otherwise, the test is skipped.
969
- * @default false
970
- */
971
- only?: boolean | undefined;
972
- /**
973
- * Allows aborting an in-progress test.
974
- * @since v18.8.0
975
- */
976
- signal?: AbortSignal | undefined;
977
- /**
978
- * If truthy, the test is skipped. If a string is provided, that string is displayed in the
979
- * test results as the reason for skipping the test.
980
- * @default false
981
- */
982
- skip?: boolean | string | undefined;
983
- /**
984
- * A number of milliseconds the test will fail after. If unspecified, subtests inherit this
985
- * value from their parent.
986
- * @default Infinity
987
- * @since v18.7.0
988
- */
989
- timeout?: number | undefined;
990
- /**
991
- * If truthy, the test marked as `TODO`. If a string is provided, that string is displayed in
992
- * the test results as the reason why the test is `TODO`.
993
- * @default false
994
- */
995
- todo?: boolean | string | undefined;
996
- /**
997
- * The number of assertions and subtests expected to be run in the test.
998
- * If the number of assertions run in the test does not match the number
999
- * specified in the plan, the test will fail.
1000
- * @default undefined
1001
- * @since v20.15.0
1002
- */
1003
- plan?: number | undefined;
1004
- }
1005
- /**
1006
- * This function creates a hook that runs before executing a suite.
1007
- *
1008
- * ```js
1009
- * describe('tests', async () => {
1010
- * before(() => console.log('about to run some test'));
1011
- * it('is a subtest', () => {
1012
- * assert.ok('some relevant assertion here');
1013
- * });
1014
- * });
1015
- * ```
1016
- * @since v18.8.0, v16.18.0
1017
- * @param fn The hook function. If the hook uses callbacks, the callback function is passed as the second argument.
1018
- * @param options Configuration options for the hook.
1019
- */
1020
- function before(fn?: HookFn, options?: HookOptions): void;
1021
- /**
1022
- * This function creates a hook that runs after executing a suite.
1023
- *
1024
- * ```js
1025
- * describe('tests', async () => {
1026
- * after(() => console.log('finished running tests'));
1027
- * it('is a subtest', () => {
1028
- * assert.ok('some relevant assertion here');
1029
- * });
1030
- * });
1031
- * ```
1032
- * @since v18.8.0, v16.18.0
1033
- * @param fn The hook function. If the hook uses callbacks, the callback function is passed as the second argument.
1034
- * @param options Configuration options for the hook.
1035
- */
1036
- function after(fn?: HookFn, options?: HookOptions): void;
1037
- /**
1038
- * This function creates a hook that runs before each test in the current suite.
1039
- *
1040
- * ```js
1041
- * describe('tests', async () => {
1042
- * beforeEach(() => console.log('about to run a test'));
1043
- * it('is a subtest', () => {
1044
- * assert.ok('some relevant assertion here');
1045
- * });
1046
- * });
1047
- * ```
1048
- * @since v18.8.0, v16.18.0
1049
- * @param fn The hook function. If the hook uses callbacks, the callback function is passed as the second argument.
1050
- * @param options Configuration options for the hook.
1051
- */
1052
- function beforeEach(fn?: HookFn, options?: HookOptions): void;
1053
- /**
1054
- * This function creates a hook that runs after each test in the current suite.
1055
- * The `afterEach()` hook is run even if the test fails.
1056
- *
1057
- * ```js
1058
- * describe('tests', async () => {
1059
- * afterEach(() => console.log('finished running a test'));
1060
- * it('is a subtest', () => {
1061
- * assert.ok('some relevant assertion here');
1062
- * });
1063
- * });
1064
- * ```
1065
- * @since v18.8.0, v16.18.0
1066
- * @param fn The hook function. If the hook uses callbacks, the callback function is passed as the second argument.
1067
- * @param options Configuration options for the hook.
1068
- */
1069
- function afterEach(fn?: HookFn, options?: HookOptions): void;
1070
- /**
1071
- * The hook function. The first argument is the context in which the hook is called.
1072
- * If the hook uses callbacks, the callback function is passed as the second argument.
1073
- */
1074
- type HookFn = (c: TestContext | SuiteContext, done: (result?: any) => void) => any;
1075
- /**
1076
- * The hook function. The first argument is a `TestContext` object.
1077
- * If the hook uses callbacks, the callback function is passed as the second argument.
1078
- */
1079
- type TestContextHookFn = (t: TestContext, done: (result?: any) => void) => any;
1080
- /**
1081
- * Configuration options for hooks.
1082
- * @since v18.8.0
1083
- */
1084
- interface HookOptions {
1085
- /**
1086
- * Allows aborting an in-progress hook.
1087
- */
1088
- signal?: AbortSignal | undefined;
1089
- /**
1090
- * A number of milliseconds the hook will fail after. If unspecified, subtests inherit this
1091
- * value from their parent.
1092
- * @default Infinity
1093
- */
1094
- timeout?: number | undefined;
1095
- }
1096
- interface MockFunctionOptions {
1097
- /**
1098
- * The number of times that the mock will use the behavior of `implementation`.
1099
- * Once the mock function has been called `times` times,
1100
- * it will automatically restore the behavior of `original`.
1101
- * This value must be an integer greater than zero.
1102
- * @default Infinity
1103
- */
1104
- times?: number | undefined;
1105
- }
1106
- interface MockMethodOptions extends MockFunctionOptions {
1107
- /**
1108
- * If `true`, `object[methodName]` is treated as a getter.
1109
- * This option cannot be used with the `setter` option.
1110
- */
1111
- getter?: boolean | undefined;
1112
- /**
1113
- * If `true`, `object[methodName]` is treated as a setter.
1114
- * This option cannot be used with the `getter` option.
1115
- */
1116
- setter?: boolean | undefined;
1117
- }
1118
- type Mock<F extends Function> = F & {
1119
- mock: MockFunctionContext<F>;
1120
- };
1121
- interface MockModuleOptions {
1122
- /**
1123
- * If false, each call to `require()` or `import()` generates a new mock module.
1124
- * If true, subsequent calls will return the same module mock, and the mock module is inserted into the CommonJS cache.
1125
- * @default false
1126
- */
1127
- cache?: boolean | undefined;
1128
- /**
1129
- * The value to use as the mocked module's default export.
1130
- *
1131
- * If this value is not provided, ESM mocks do not include a default export.
1132
- * If the mock is a CommonJS or builtin module, this setting is used as the value of `module.exports`.
1133
- * If this value is not provided, CJS and builtin mocks use an empty object as the value of `module.exports`.
1134
- */
1135
- defaultExport?: any;
1136
- /**
1137
- * An object whose keys and values are used to create the named exports of the mock module.
1138
- *
1139
- * If the mock is a CommonJS or builtin module, these values are copied onto `module.exports`.
1140
- * Therefore, if a mock is created with both named exports and a non-object default export,
1141
- * the mock will throw an exception when used as a CJS or builtin module.
1142
- */
1143
- namedExports?: object | undefined;
1144
- }
1145
- /**
1146
- * The `MockTracker` class is used to manage mocking functionality. The test runner
1147
- * module provides a top level `mock` export which is a `MockTracker` instance.
1148
- * Each test also provides its own `MockTracker` instance via the test context's `mock` property.
1149
- * @since v19.1.0, v18.13.0
1150
- */
1151
- interface MockTracker {
1152
- /**
1153
- * This function is used to create a mock function.
1154
- *
1155
- * The following example creates a mock function that increments a counter by one
1156
- * on each invocation. The `times` option is used to modify the mock behavior such
1157
- * that the first two invocations add two to the counter instead of one.
1158
- *
1159
- * ```js
1160
- * test('mocks a counting function', (t) => {
1161
- * let cnt = 0;
1162
- *
1163
- * function addOne() {
1164
- * cnt++;
1165
- * return cnt;
1166
- * }
1167
- *
1168
- * function addTwo() {
1169
- * cnt += 2;
1170
- * return cnt;
1171
- * }
1172
- *
1173
- * const fn = t.mock.fn(addOne, addTwo, { times: 2 });
1174
- *
1175
- * assert.strictEqual(fn(), 2);
1176
- * assert.strictEqual(fn(), 4);
1177
- * assert.strictEqual(fn(), 5);
1178
- * assert.strictEqual(fn(), 6);
1179
- * });
1180
- * ```
1181
- * @since v19.1.0, v18.13.0
1182
- * @param original An optional function to create a mock on.
1183
- * @param implementation An optional function used as the mock implementation for `original`. This is useful for creating mocks that exhibit one behavior for a specified number of calls and
1184
- * then restore the behavior of `original`.
1185
- * @param options Optional configuration options for the mock function.
1186
- * @return The mocked function. The mocked function contains a special `mock` property, which is an instance of {@link MockFunctionContext}, and can be used for inspecting and changing the
1187
- * behavior of the mocked function.
1188
- */
1189
- fn<F extends Function = (...args: any[]) => undefined>(
1190
- original?: F,
1191
- options?: MockFunctionOptions,
1192
- ): Mock<F>;
1193
- fn<F extends Function = (...args: any[]) => undefined, Implementation extends Function = F>(
1194
- original?: F,
1195
- implementation?: Implementation,
1196
- options?: MockFunctionOptions,
1197
- ): Mock<F | Implementation>;
1198
- /**
1199
- * This function is used to create a mock on an existing object method. The
1200
- * following example demonstrates how a mock is created on an existing object
1201
- * method.
1202
- *
1203
- * ```js
1204
- * test('spies on an object method', (t) => {
1205
- * const number = {
1206
- * value: 5,
1207
- * subtract(a) {
1208
- * return this.value - a;
1209
- * },
1210
- * };
1211
- *
1212
- * t.mock.method(number, 'subtract');
1213
- * assert.strictEqual(number.subtract.mock.calls.length, 0);
1214
- * assert.strictEqual(number.subtract(3), 2);
1215
- * assert.strictEqual(number.subtract.mock.calls.length, 1);
1216
- *
1217
- * const call = number.subtract.mock.calls[0];
1218
- *
1219
- * assert.deepStrictEqual(call.arguments, [3]);
1220
- * assert.strictEqual(call.result, 2);
1221
- * assert.strictEqual(call.error, undefined);
1222
- * assert.strictEqual(call.target, undefined);
1223
- * assert.strictEqual(call.this, number);
1224
- * });
1225
- * ```
1226
- * @since v19.1.0, v18.13.0
1227
- * @param object The object whose method is being mocked.
1228
- * @param methodName The identifier of the method on `object` to mock. If `object[methodName]` is not a function, an error is thrown.
1229
- * @param implementation An optional function used as the mock implementation for `object[methodName]`.
1230
- * @param options Optional configuration options for the mock method.
1231
- * @return The mocked method. The mocked method contains a special `mock` property, which is an instance of {@link MockFunctionContext}, and can be used for inspecting and changing the
1232
- * behavior of the mocked method.
1233
- */
1234
- method<
1235
- MockedObject extends object,
1236
- MethodName extends FunctionPropertyNames<MockedObject>,
1237
- >(
1238
- object: MockedObject,
1239
- methodName: MethodName,
1240
- options?: MockFunctionOptions,
1241
- ): MockedObject[MethodName] extends Function ? Mock<MockedObject[MethodName]>
1242
- : never;
1243
- method<
1244
- MockedObject extends object,
1245
- MethodName extends FunctionPropertyNames<MockedObject>,
1246
- Implementation extends Function,
1247
- >(
1248
- object: MockedObject,
1249
- methodName: MethodName,
1250
- implementation: Implementation,
1251
- options?: MockFunctionOptions,
1252
- ): MockedObject[MethodName] extends Function ? Mock<MockedObject[MethodName] | Implementation>
1253
- : never;
1254
- method<MockedObject extends object>(
1255
- object: MockedObject,
1256
- methodName: keyof MockedObject,
1257
- options: MockMethodOptions,
1258
- ): Mock<Function>;
1259
- method<MockedObject extends object>(
1260
- object: MockedObject,
1261
- methodName: keyof MockedObject,
1262
- implementation: Function,
1263
- options: MockMethodOptions,
1264
- ): Mock<Function>;
1265
- /**
1266
- * This function is syntax sugar for `MockTracker.method` with `options.getter` set to `true`.
1267
- * @since v19.3.0, v18.13.0
1268
- */
1269
- getter<
1270
- MockedObject extends object,
1271
- MethodName extends keyof MockedObject,
1272
- >(
1273
- object: MockedObject,
1274
- methodName: MethodName,
1275
- options?: MockFunctionOptions,
1276
- ): Mock<() => MockedObject[MethodName]>;
1277
- getter<
1278
- MockedObject extends object,
1279
- MethodName extends keyof MockedObject,
1280
- Implementation extends Function,
1281
- >(
1282
- object: MockedObject,
1283
- methodName: MethodName,
1284
- implementation?: Implementation,
1285
- options?: MockFunctionOptions,
1286
- ): Mock<(() => MockedObject[MethodName]) | Implementation>;
1287
- /**
1288
- * This function is syntax sugar for `MockTracker.method` with `options.setter` set to `true`.
1289
- * @since v19.3.0, v18.13.0
1290
- */
1291
- setter<
1292
- MockedObject extends object,
1293
- MethodName extends keyof MockedObject,
1294
- >(
1295
- object: MockedObject,
1296
- methodName: MethodName,
1297
- options?: MockFunctionOptions,
1298
- ): Mock<(value: MockedObject[MethodName]) => void>;
1299
- setter<
1300
- MockedObject extends object,
1301
- MethodName extends keyof MockedObject,
1302
- Implementation extends Function,
1303
- >(
1304
- object: MockedObject,
1305
- methodName: MethodName,
1306
- implementation?: Implementation,
1307
- options?: MockFunctionOptions,
1308
- ): Mock<((value: MockedObject[MethodName]) => void) | Implementation>;
1309
- /**
1310
- * This function is used to mock the exports of ECMAScript modules, CommonJS modules, and Node.js builtin modules.
1311
- * Any references to the original module prior to mocking are not impacted.
1312
- *
1313
- * Only available through the [--experimental-test-module-mocks](https://nodejs.org/api/cli.html#--experimental-test-module-mocks) flag.
1314
- * @since v20.18.0
1315
- * @experimental
1316
- * @param specifier A string identifying the module to mock.
1317
- * @param options Optional configuration options for the mock module.
1318
- */
1319
- module(specifier: string, options?: MockModuleOptions): MockModuleContext;
1320
- /**
1321
- * This function restores the default behavior of all mocks that were previously
1322
- * created by this `MockTracker` and disassociates the mocks from the `MockTracker` instance. Once disassociated, the mocks can still be used, but the `MockTracker` instance can no longer be
1323
- * used to reset their behavior or
1324
- * otherwise interact with them.
1325
- *
1326
- * After each test completes, this function is called on the test context's `MockTracker`. If the global `MockTracker` is used extensively, calling this
1327
- * function manually is recommended.
1328
- * @since v19.1.0, v18.13.0
1329
- */
1330
- reset(): void;
1331
- /**
1332
- * This function restores the default behavior of all mocks that were previously
1333
- * created by this `MockTracker`. Unlike `mock.reset()`, `mock.restoreAll()` does
1334
- * not disassociate the mocks from the `MockTracker` instance.
1335
- * @since v19.1.0, v18.13.0
1336
- */
1337
- restoreAll(): void;
1338
- readonly timers: MockTimers;
1339
- }
1340
- const mock: MockTracker;
1341
- interface MockFunctionCall<
1342
- F extends Function,
1343
- ReturnType = F extends (...args: any) => infer T ? T
1344
- : F extends abstract new(...args: any) => infer T ? T
1345
- : unknown,
1346
- Args = F extends (...args: infer Y) => any ? Y
1347
- : F extends abstract new(...args: infer Y) => any ? Y
1348
- : unknown[],
1349
- > {
1350
- /**
1351
- * An array of the arguments passed to the mock function.
1352
- */
1353
- arguments: Args;
1354
- /**
1355
- * If the mocked function threw then this property contains the thrown value.
1356
- */
1357
- error: unknown | undefined;
1358
- /**
1359
- * The value returned by the mocked function.
1360
- *
1361
- * If the mocked function threw, it will be `undefined`.
1362
- */
1363
- result: ReturnType | undefined;
1364
- /**
1365
- * An `Error` object whose stack can be used to determine the callsite of the mocked function invocation.
1366
- */
1367
- stack: Error;
1368
- /**
1369
- * If the mocked function is a constructor, this field contains the class being constructed.
1370
- * Otherwise this will be `undefined`.
1371
- */
1372
- target: F extends abstract new(...args: any) => any ? F : undefined;
1373
- /**
1374
- * The mocked function's `this` value.
1375
- */
1376
- this: unknown;
1377
- }
1378
- /**
1379
- * The `MockFunctionContext` class is used to inspect or manipulate the behavior of
1380
- * mocks created via the `MockTracker` APIs.
1381
- * @since v19.1.0, v18.13.0
1382
- */
1383
- interface MockFunctionContext<F extends Function> {
1384
- /**
1385
- * A getter that returns a copy of the internal array used to track calls to the
1386
- * mock. Each entry in the array is an object with the following properties.
1387
- * @since v19.1.0, v18.13.0
1388
- */
1389
- readonly calls: MockFunctionCall<F>[];
1390
- /**
1391
- * This function returns the number of times that this mock has been invoked. This
1392
- * function is more efficient than checking `ctx.calls.length` because `ctx.calls` is a getter that creates a copy of the internal call tracking array.
1393
- * @since v19.1.0, v18.13.0
1394
- * @return The number of times that this mock has been invoked.
1395
- */
1396
- callCount(): number;
1397
- /**
1398
- * This function is used to change the behavior of an existing mock.
1399
- *
1400
- * The following example creates a mock function using `t.mock.fn()`, calls the
1401
- * mock function, and then changes the mock implementation to a different function.
1402
- *
1403
- * ```js
1404
- * test('changes a mock behavior', (t) => {
1405
- * let cnt = 0;
1406
- *
1407
- * function addOne() {
1408
- * cnt++;
1409
- * return cnt;
1410
- * }
1411
- *
1412
- * function addTwo() {
1413
- * cnt += 2;
1414
- * return cnt;
1415
- * }
1416
- *
1417
- * const fn = t.mock.fn(addOne);
1418
- *
1419
- * assert.strictEqual(fn(), 1);
1420
- * fn.mock.mockImplementation(addTwo);
1421
- * assert.strictEqual(fn(), 3);
1422
- * assert.strictEqual(fn(), 5);
1423
- * });
1424
- * ```
1425
- * @since v19.1.0, v18.13.0
1426
- * @param implementation The function to be used as the mock's new implementation.
1427
- */
1428
- mockImplementation(implementation: F): void;
1429
- /**
1430
- * This function is used to change the behavior of an existing mock for a single
1431
- * invocation. Once invocation `onCall` has occurred, the mock will revert to
1432
- * whatever behavior it would have used had `mockImplementationOnce()` not been
1433
- * called.
1434
- *
1435
- * The following example creates a mock function using `t.mock.fn()`, calls the
1436
- * mock function, changes the mock implementation to a different function for the
1437
- * next invocation, and then resumes its previous behavior.
1438
- *
1439
- * ```js
1440
- * test('changes a mock behavior once', (t) => {
1441
- * let cnt = 0;
1442
- *
1443
- * function addOne() {
1444
- * cnt++;
1445
- * return cnt;
1446
- * }
1447
- *
1448
- * function addTwo() {
1449
- * cnt += 2;
1450
- * return cnt;
1451
- * }
1452
- *
1453
- * const fn = t.mock.fn(addOne);
1454
- *
1455
- * assert.strictEqual(fn(), 1);
1456
- * fn.mock.mockImplementationOnce(addTwo);
1457
- * assert.strictEqual(fn(), 3);
1458
- * assert.strictEqual(fn(), 4);
1459
- * });
1460
- * ```
1461
- * @since v19.1.0, v18.13.0
1462
- * @param implementation The function to be used as the mock's implementation for the invocation number specified by `onCall`.
1463
- * @param onCall The invocation number that will use `implementation`. If the specified invocation has already occurred then an exception is thrown.
1464
- */
1465
- mockImplementationOnce(implementation: F, onCall?: number): void;
1466
- /**
1467
- * Resets the call history of the mock function.
1468
- * @since v19.3.0, v18.13.0
1469
- */
1470
- resetCalls(): void;
1471
- /**
1472
- * Resets the implementation of the mock function to its original behavior. The
1473
- * mock can still be used after calling this function.
1474
- * @since v19.1.0, v18.13.0
1475
- */
1476
- restore(): void;
1477
- }
1478
- /**
1479
- * @since v20.18.0
1480
- * @experimental
1481
- */
1482
- interface MockModuleContext {
1483
- /**
1484
- * Resets the implementation of the mock module.
1485
- * @since v20.18.0
1486
- */
1487
- restore(): void;
1488
- }
1489
- interface MockTimersOptions {
1490
- apis: ReadonlyArray<"setInterval" | "setTimeout" | "setImmediate" | "Date">;
1491
- now?: number | Date | undefined;
1492
- }
1493
- /**
1494
- * Mocking timers is a technique commonly used in software testing to simulate and
1495
- * control the behavior of timers, such as `setInterval` and `setTimeout`,
1496
- * without actually waiting for the specified time intervals.
1497
- *
1498
- * The MockTimers API also allows for mocking of the `Date` constructor and
1499
- * `setImmediate`/`clearImmediate` functions.
1500
- *
1501
- * The `MockTracker` provides a top-level `timers` export
1502
- * which is a `MockTimers` instance.
1503
- * @since v20.4.0
1504
- * @experimental
1505
- */
1506
- interface MockTimers {
1507
- /**
1508
- * Enables timer mocking for the specified timers.
1509
- *
1510
- * **Note:** When you enable mocking for a specific timer, its associated
1511
- * clear function will also be implicitly mocked.
1512
- *
1513
- * **Note:** Mocking `Date` will affect the behavior of the mocked timers
1514
- * as they use the same internal clock.
1515
- *
1516
- * Example usage without setting initial time:
1517
- *
1518
- * ```js
1519
- * import { mock } from 'node:test';
1520
- * mock.timers.enable({ apis: ['setInterval', 'Date'], now: 1234 });
1521
- * ```
1522
- *
1523
- * The above example enables mocking for the `Date` constructor, `setInterval` timer and
1524
- * implicitly mocks the `clearInterval` function. Only the `Date` constructor from `globalThis`,
1525
- * `setInterval` and `clearInterval` functions from `node:timers`, `node:timers/promises`, and `globalThis` will be mocked.
1526
- *
1527
- * Example usage with initial time set
1528
- *
1529
- * ```js
1530
- * import { mock } from 'node:test';
1531
- * mock.timers.enable({ apis: ['Date'], now: 1000 });
1532
- * ```
1533
- *
1534
- * Example usage with initial Date object as time set
1535
- *
1536
- * ```js
1537
- * import { mock } from 'node:test';
1538
- * mock.timers.enable({ apis: ['Date'], now: new Date() });
1539
- * ```
1540
- *
1541
- * Alternatively, if you call `mock.timers.enable()` without any parameters:
1542
- *
1543
- * All timers (`'setInterval'`, `'clearInterval'`, `'Date'`, `'setImmediate'`, `'clearImmediate'`, `'setTimeout'`, and `'clearTimeout'`)
1544
- * will be mocked.
1545
- *
1546
- * The `setInterval`, `clearInterval`, `setTimeout`, and `clearTimeout` functions from `node:timers`, `node:timers/promises`,
1547
- * and `globalThis` will be mocked.
1548
- * The `Date` constructor from `globalThis` will be mocked.
1549
- *
1550
- * If there is no initial epoch set, the initial date will be based on 0 in the Unix epoch. This is `January 1st, 1970, 00:00:00 UTC`. You can
1551
- * set an initial date by passing a now property to the `.enable()` method. This value will be used as the initial date for the mocked Date
1552
- * object. It can either be a positive integer, or another Date object.
1553
- * @since v20.4.0
1554
- */
1555
- enable(options?: MockTimersOptions): void;
1556
- /**
1557
- * You can use the `.setTime()` method to manually move the mocked date to another time. This method only accepts a positive integer.
1558
- * Note: This method will execute any mocked timers that are in the past from the new time.
1559
- * In the below example we are setting a new time for the mocked date.
1560
- * ```js
1561
- * import assert from 'node:assert';
1562
- * import { test } from 'node:test';
1563
- * test('sets the time of a date object', (context) => {
1564
- * // Optionally choose what to mock
1565
- * context.mock.timers.enable({ apis: ['Date'], now: 100 });
1566
- * assert.strictEqual(Date.now(), 100);
1567
- * // Advance in time will also advance the date
1568
- * context.mock.timers.setTime(1000);
1569
- * context.mock.timers.tick(200);
1570
- * assert.strictEqual(Date.now(), 1200);
1571
- * });
1572
- * ```
1573
- */
1574
- setTime(time: number): void;
1575
- /**
1576
- * This function restores the default behavior of all mocks that were previously
1577
- * created by this `MockTimers` instance and disassociates the mocks
1578
- * from the `MockTracker` instance.
1579
- *
1580
- * **Note:** After each test completes, this function is called on
1581
- * the test context's `MockTracker`.
1582
- *
1583
- * ```js
1584
- * import { mock } from 'node:test';
1585
- * mock.timers.reset();
1586
- * ```
1587
- * @since v20.4.0
1588
- */
1589
- reset(): void;
1590
- /**
1591
- * Advances time for all mocked timers.
1592
- *
1593
- * **Note:** This diverges from how `setTimeout` in Node.js behaves and accepts
1594
- * only positive numbers. In Node.js, `setTimeout` with negative numbers is
1595
- * only supported for web compatibility reasons.
1596
- *
1597
- * The following example mocks a `setTimeout` function and
1598
- * by using `.tick` advances in
1599
- * time triggering all pending timers.
1600
- *
1601
- * ```js
1602
- * import assert from 'node:assert';
1603
- * import { test } from 'node:test';
1604
- *
1605
- * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => {
1606
- * const fn = context.mock.fn();
1607
- *
1608
- * context.mock.timers.enable({ apis: ['setTimeout'] });
1609
- *
1610
- * setTimeout(fn, 9999);
1611
- *
1612
- * assert.strictEqual(fn.mock.callCount(), 0);
1613
- *
1614
- * // Advance in time
1615
- * context.mock.timers.tick(9999);
1616
- *
1617
- * assert.strictEqual(fn.mock.callCount(), 1);
1618
- * });
1619
- * ```
1620
- *
1621
- * Alternativelly, the `.tick` function can be called many times
1622
- *
1623
- * ```js
1624
- * import assert from 'node:assert';
1625
- * import { test } from 'node:test';
1626
- *
1627
- * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => {
1628
- * const fn = context.mock.fn();
1629
- * context.mock.timers.enable({ apis: ['setTimeout'] });
1630
- * const nineSecs = 9000;
1631
- * setTimeout(fn, nineSecs);
1632
- *
1633
- * const twoSeconds = 3000;
1634
- * context.mock.timers.tick(twoSeconds);
1635
- * context.mock.timers.tick(twoSeconds);
1636
- * context.mock.timers.tick(twoSeconds);
1637
- *
1638
- * assert.strictEqual(fn.mock.callCount(), 1);
1639
- * });
1640
- * ```
1641
- *
1642
- * Advancing time using `.tick` will also advance the time for any `Date` object
1643
- * created after the mock was enabled (if `Date` was also set to be mocked).
1644
- *
1645
- * ```js
1646
- * import assert from 'node:assert';
1647
- * import { test } from 'node:test';
1648
- *
1649
- * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => {
1650
- * const fn = context.mock.fn();
1651
- *
1652
- * context.mock.timers.enable({ apis: ['setTimeout', 'Date'] });
1653
- * setTimeout(fn, 9999);
1654
- *
1655
- * assert.strictEqual(fn.mock.callCount(), 0);
1656
- * assert.strictEqual(Date.now(), 0);
1657
- *
1658
- * // Advance in time
1659
- * context.mock.timers.tick(9999);
1660
- * assert.strictEqual(fn.mock.callCount(), 1);
1661
- * assert.strictEqual(Date.now(), 9999);
1662
- * });
1663
- * ```
1664
- * @since v20.4.0
1665
- */
1666
- tick(milliseconds: number): void;
1667
- /**
1668
- * Triggers all pending mocked timers immediately. If the `Date` object is also
1669
- * mocked, it will also advance the `Date` object to the furthest timer's time.
1670
- *
1671
- * The example below triggers all pending timers immediately,
1672
- * causing them to execute without any delay.
1673
- *
1674
- * ```js
1675
- * import assert from 'node:assert';
1676
- * import { test } from 'node:test';
1677
- *
1678
- * test('runAll functions following the given order', (context) => {
1679
- * context.mock.timers.enable({ apis: ['setTimeout', 'Date'] });
1680
- * const results = [];
1681
- * setTimeout(() => results.push(1), 9999);
1682
- *
1683
- * // Notice that if both timers have the same timeout,
1684
- * // the order of execution is guaranteed
1685
- * setTimeout(() => results.push(3), 8888);
1686
- * setTimeout(() => results.push(2), 8888);
1687
- *
1688
- * assert.deepStrictEqual(results, []);
1689
- *
1690
- * context.mock.timers.runAll();
1691
- * assert.deepStrictEqual(results, [3, 2, 1]);
1692
- * // The Date object is also advanced to the furthest timer's time
1693
- * assert.strictEqual(Date.now(), 9999);
1694
- * });
1695
- * ```
1696
- *
1697
- * **Note:** The `runAll()` function is specifically designed for
1698
- * triggering timers in the context of timer mocking.
1699
- * It does not have any effect on real-time system
1700
- * clocks or actual timers outside of the mocking environment.
1701
- * @since v20.4.0
1702
- */
1703
- runAll(): void;
1704
- /**
1705
- * Calls {@link MockTimers.reset()}.
1706
- */
1707
- [Symbol.dispose](): void;
1708
- }
1709
- }
1710
- type FunctionPropertyNames<T> = {
1711
- [K in keyof T]: T[K] extends Function ? K : never;
1712
- }[keyof T];
1713
- export = test;
1714
- }
1715
-
1716
- /**
1717
- * The `node:test/reporters` module exposes the builtin-reporters for `node:test`.
1718
- * To access it:
1719
- *
1720
- * ```js
1721
- * import test from 'node:test/reporters';
1722
- * ```
1723
- *
1724
- * This module is only available under the `node:` scheme. The following will not
1725
- * work:
1726
- *
1727
- * ```js
1728
- * import test from 'test/reporters';
1729
- * ```
1730
- * @since v19.9.0
1731
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/test/reporters.js)
1732
- */
1733
- declare module "node:test/reporters" {
1734
- import { Transform, TransformOptions } from "node:stream";
1735
- import { EventData } from "node:test";
1736
-
1737
- type TestEvent =
1738
- | { type: "test:coverage"; data: EventData.TestCoverage }
1739
- | { type: "test:complete"; data: EventData.TestComplete }
1740
- | { type: "test:dequeue"; data: EventData.TestDequeue }
1741
- | { type: "test:diagnostic"; data: EventData.TestDiagnostic }
1742
- | { type: "test:enqueue"; data: EventData.TestEnqueue }
1743
- | { type: "test:fail"; data: EventData.TestFail }
1744
- | { type: "test:pass"; data: EventData.TestPass }
1745
- | { type: "test:plan"; data: EventData.TestPlan }
1746
- | { type: "test:start"; data: EventData.TestStart }
1747
- | { type: "test:stderr"; data: EventData.TestStderr }
1748
- | { type: "test:stdout"; data: EventData.TestStdout }
1749
- | { type: "test:watch:drained"; data: undefined };
1750
- type TestEventGenerator = AsyncGenerator<TestEvent, void>;
1751
-
1752
- /**
1753
- * The `dot` reporter outputs the test results in a compact format,
1754
- * where each passing test is represented by a `.`,
1755
- * and each failing test is represented by a `X`.
1756
- * @since v20.0.0
1757
- */
1758
- function dot(source: TestEventGenerator): AsyncGenerator<"\n" | "." | "X", void>;
1759
- /**
1760
- * The `tap` reporter outputs the test results in the [TAP](https://testanything.org/) format.
1761
- * @since v20.0.0
1762
- */
1763
- function tap(source: TestEventGenerator): AsyncGenerator<string, void>;
1764
- /**
1765
- * The `spec` reporter outputs the test results in a human-readable format.
1766
- * @since v20.0.0
1767
- */
1768
- class SpecReporter extends Transform {
1769
- constructor();
1770
- }
1771
- /**
1772
- * The `junit` reporter outputs test results in a jUnit XML format.
1773
- * @since v21.0.0
1774
- */
1775
- function junit(source: TestEventGenerator): AsyncGenerator<string, void>;
1776
- class LcovReporter extends Transform {
1777
- constructor(opts?: Omit<TransformOptions, "writableObjectMode">);
1778
- }
1779
- /**
1780
- * The `lcov` reporter outputs test coverage when used with the
1781
- * [`--experimental-test-coverage`](https://nodejs.org/docs/latest-v20.x/api/cli.html#--experimental-test-coverage) flag.
1782
- * @since v22.0.0
1783
- */
1784
- const lcov: LcovReporter;
1785
-
1786
- export { dot, junit, lcov, SpecReporter as spec, tap, TestEvent };
1787
- }