@node-llm/core 1.4.1 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2419) hide show
  1. package/README.md +3 -3
  2. package/dist/aliases.d.ts +134 -0
  3. package/dist/aliases.d.ts.map +1 -0
  4. package/dist/aliases.js +132 -0
  5. package/dist/chat/Chat.d.ts +107 -0
  6. package/dist/chat/Chat.d.ts.map +1 -0
  7. package/dist/chat/Chat.js +371 -0
  8. package/dist/chat/ChatOptions.d.ts +23 -0
  9. package/dist/chat/ChatOptions.d.ts.map +1 -0
  10. package/dist/chat/ChatOptions.js +1 -0
  11. package/dist/chat/ChatResponse.d.ts +28 -0
  12. package/dist/chat/ChatResponse.d.ts.map +1 -0
  13. package/dist/chat/ChatResponse.js +45 -0
  14. package/dist/chat/ChatStream.d.ts +25 -0
  15. package/dist/chat/ChatStream.d.ts.map +1 -0
  16. package/dist/chat/ChatStream.js +143 -0
  17. package/dist/chat/Content.d.ts +22 -0
  18. package/dist/chat/Content.d.ts.map +1 -0
  19. package/dist/chat/Content.js +1 -0
  20. package/dist/chat/Message.d.ts +14 -0
  21. package/dist/chat/Message.d.ts.map +1 -0
  22. package/dist/chat/Message.js +1 -0
  23. package/dist/chat/Role.d.ts +2 -0
  24. package/dist/chat/Role.d.ts.map +1 -0
  25. package/dist/chat/Role.js +1 -0
  26. package/dist/chat/Tool.d.ts +52 -0
  27. package/dist/chat/Tool.d.ts.map +1 -0
  28. package/dist/chat/Tool.js +38 -0
  29. package/dist/config.d.ts +35 -0
  30. package/dist/config.d.ts.map +1 -0
  31. package/dist/config.js +15 -0
  32. package/dist/constants.d.ts +7 -0
  33. package/dist/constants.d.ts.map +1 -0
  34. package/dist/constants.js +6 -0
  35. package/dist/embedding/Embedding.d.ts +17 -0
  36. package/dist/embedding/Embedding.d.ts.map +1 -0
  37. package/dist/embedding/Embedding.js +24 -0
  38. package/dist/errors/index.d.ts +88 -0
  39. package/dist/errors/index.d.ts.map +1 -0
  40. package/dist/errors/index.js +129 -0
  41. package/dist/executor/Executor.d.ts +11 -0
  42. package/dist/executor/Executor.d.ts.map +1 -0
  43. package/dist/executor/Executor.js +29 -0
  44. package/dist/image/GeneratedImage.d.ts +25 -0
  45. package/dist/image/GeneratedImage.d.ts.map +1 -0
  46. package/dist/image/GeneratedImage.js +59 -0
  47. package/dist/index.d.ts +18 -0
  48. package/dist/index.d.ts.map +1 -0
  49. package/dist/index.js +16 -0
  50. package/dist/llm.d.ts +105 -0
  51. package/dist/llm.d.ts.map +1 -0
  52. package/dist/llm.js +230 -0
  53. package/dist/model_aliases.d.ts +3 -0
  54. package/dist/model_aliases.d.ts.map +1 -0
  55. package/dist/model_aliases.js +17 -0
  56. package/dist/models/ModelRegistry.d.ts +51 -0
  57. package/dist/models/ModelRegistry.d.ts.map +1 -0
  58. package/dist/models/ModelRegistry.js +76 -0
  59. package/dist/models/models.d.ts +1641 -0
  60. package/dist/models/models.d.ts.map +1 -0
  61. package/dist/models/models.js +29475 -0
  62. package/dist/models/types.d.ts +50 -0
  63. package/dist/models/types.d.ts.map +1 -0
  64. package/dist/models/types.js +4 -0
  65. package/dist/moderation/Moderation.d.ts +56 -0
  66. package/dist/moderation/Moderation.d.ts.map +1 -0
  67. package/dist/moderation/Moderation.js +92 -0
  68. package/dist/providers/BaseProvider.d.ts +23 -0
  69. package/dist/providers/BaseProvider.d.ts.map +1 -0
  70. package/dist/providers/BaseProvider.js +34 -0
  71. package/dist/providers/Provider.d.ts +138 -0
  72. package/dist/providers/Provider.d.ts.map +1 -0
  73. package/dist/providers/Provider.js +1 -0
  74. package/dist/providers/anthropic/AnthropicProvider.d.ts +33 -0
  75. package/dist/providers/anthropic/AnthropicProvider.d.ts.map +1 -0
  76. package/dist/providers/anthropic/AnthropicProvider.js +56 -0
  77. package/dist/providers/anthropic/Capabilities.d.ts +11 -0
  78. package/dist/providers/anthropic/Capabilities.d.ts.map +1 -0
  79. package/dist/providers/anthropic/Capabilities.js +82 -0
  80. package/dist/providers/anthropic/Chat.d.ts +8 -0
  81. package/dist/providers/anthropic/Chat.d.ts.map +1 -0
  82. package/dist/providers/anthropic/Chat.js +101 -0
  83. package/dist/providers/anthropic/Errors.d.ts +2 -0
  84. package/dist/providers/anthropic/Errors.d.ts.map +1 -0
  85. package/dist/providers/anthropic/Errors.js +33 -0
  86. package/dist/providers/anthropic/Models.d.ts +9 -0
  87. package/dist/providers/anthropic/Models.d.ts.map +1 -0
  88. package/dist/providers/anthropic/Models.js +58 -0
  89. package/dist/providers/anthropic/Streaming.d.ts +8 -0
  90. package/dist/providers/anthropic/Streaming.d.ts.map +1 -0
  91. package/dist/providers/anthropic/Streaming.js +186 -0
  92. package/dist/providers/anthropic/Utils.d.ts +5 -0
  93. package/dist/providers/anthropic/Utils.d.ts.map +1 -0
  94. package/dist/providers/anthropic/Utils.js +125 -0
  95. package/dist/providers/anthropic/index.d.ts +2 -0
  96. package/dist/providers/anthropic/index.d.ts.map +1 -0
  97. package/dist/providers/anthropic/index.js +12 -0
  98. package/dist/providers/anthropic/types.d.ts +57 -0
  99. package/dist/providers/anthropic/types.d.ts.map +1 -0
  100. package/dist/providers/anthropic/types.js +1 -0
  101. package/dist/providers/deepseek/Capabilities.d.ts +14 -0
  102. package/dist/providers/deepseek/Capabilities.d.ts.map +1 -0
  103. package/dist/providers/deepseek/Capabilities.js +52 -0
  104. package/dist/providers/deepseek/Chat.d.ts +8 -0
  105. package/dist/providers/deepseek/Chat.d.ts.map +1 -0
  106. package/dist/providers/deepseek/Chat.js +90 -0
  107. package/dist/providers/deepseek/DeepSeekProvider.d.ts +33 -0
  108. package/dist/providers/deepseek/DeepSeekProvider.d.ts.map +1 -0
  109. package/dist/providers/deepseek/DeepSeekProvider.js +55 -0
  110. package/dist/providers/deepseek/Models.d.ts +8 -0
  111. package/dist/providers/deepseek/Models.d.ts.map +1 -0
  112. package/dist/providers/deepseek/Models.js +67 -0
  113. package/dist/providers/deepseek/Streaming.d.ts +8 -0
  114. package/dist/providers/deepseek/Streaming.d.ts.map +1 -0
  115. package/dist/providers/deepseek/Streaming.js +152 -0
  116. package/dist/providers/deepseek/index.d.ts +7 -0
  117. package/dist/providers/deepseek/index.d.ts.map +1 -0
  118. package/dist/providers/deepseek/index.js +22 -0
  119. package/dist/providers/gemini/Capabilities.d.ts +51 -0
  120. package/dist/providers/gemini/Capabilities.d.ts.map +1 -0
  121. package/dist/providers/gemini/Capabilities.js +163 -0
  122. package/dist/providers/gemini/Chat.d.ts +9 -0
  123. package/dist/providers/gemini/Chat.d.ts.map +1 -0
  124. package/dist/providers/gemini/Chat.js +109 -0
  125. package/dist/providers/gemini/ChatUtils.d.ts +9 -0
  126. package/dist/providers/gemini/ChatUtils.d.ts.map +1 -0
  127. package/dist/providers/gemini/ChatUtils.js +83 -0
  128. package/dist/providers/gemini/Embeddings.d.ts +8 -0
  129. package/dist/providers/gemini/Embeddings.d.ts.map +1 -0
  130. package/dist/providers/gemini/Embeddings.js +47 -0
  131. package/dist/providers/gemini/Errors.d.ts +2 -0
  132. package/dist/providers/gemini/Errors.d.ts.map +1 -0
  133. package/dist/providers/gemini/Errors.js +34 -0
  134. package/dist/providers/gemini/GeminiProvider.d.ts +39 -0
  135. package/dist/providers/gemini/GeminiProvider.d.ts.map +1 -0
  136. package/dist/providers/gemini/GeminiProvider.js +72 -0
  137. package/dist/providers/gemini/Image.d.ts +8 -0
  138. package/dist/providers/gemini/Image.d.ts.map +1 -0
  139. package/dist/providers/gemini/Image.js +50 -0
  140. package/dist/providers/gemini/Models.d.ts +9 -0
  141. package/dist/providers/gemini/Models.d.ts.map +1 -0
  142. package/dist/providers/gemini/Models.js +58 -0
  143. package/dist/providers/gemini/Streaming.d.ts +9 -0
  144. package/dist/providers/gemini/Streaming.d.ts.map +1 -0
  145. package/dist/providers/gemini/Streaming.js +154 -0
  146. package/dist/providers/gemini/Transcription.d.ts +9 -0
  147. package/dist/providers/gemini/Transcription.d.ts.map +1 -0
  148. package/dist/providers/gemini/Transcription.js +66 -0
  149. package/dist/providers/gemini/index.d.ts +11 -0
  150. package/dist/providers/gemini/index.d.ts.map +1 -0
  151. package/dist/providers/gemini/index.js +25 -0
  152. package/dist/providers/gemini/types.d.ts +118 -0
  153. package/dist/providers/gemini/types.d.ts.map +1 -0
  154. package/dist/providers/gemini/types.js +1 -0
  155. package/dist/providers/ollama/Capabilities.d.ts +13 -0
  156. package/dist/providers/ollama/Capabilities.d.ts.map +1 -0
  157. package/dist/providers/ollama/Capabilities.js +54 -0
  158. package/dist/providers/ollama/Embedding.d.ts +6 -0
  159. package/dist/providers/ollama/Embedding.d.ts.map +1 -0
  160. package/dist/providers/ollama/Embedding.js +12 -0
  161. package/dist/providers/ollama/Models.d.ts +8 -0
  162. package/dist/providers/ollama/Models.d.ts.map +1 -0
  163. package/dist/providers/ollama/Models.js +31 -0
  164. package/dist/providers/ollama/OllamaProvider.d.ts +10 -0
  165. package/dist/providers/ollama/OllamaProvider.d.ts.map +1 -0
  166. package/dist/providers/ollama/OllamaProvider.js +34 -0
  167. package/dist/providers/ollama/index.d.ts +9 -0
  168. package/dist/providers/ollama/index.d.ts.map +1 -0
  169. package/dist/providers/ollama/index.js +17 -0
  170. package/dist/providers/openai/Capabilities.d.ts +23 -0
  171. package/dist/providers/openai/Capabilities.d.ts.map +1 -0
  172. package/dist/providers/openai/Capabilities.js +165 -0
  173. package/dist/providers/openai/Chat.d.ts +8 -0
  174. package/dist/providers/openai/Chat.d.ts.map +1 -0
  175. package/dist/providers/openai/Chat.js +60 -0
  176. package/dist/providers/openai/Embedding.d.ts +10 -0
  177. package/dist/providers/openai/Embedding.d.ts.map +1 -0
  178. package/dist/providers/openai/Embedding.js +58 -0
  179. package/dist/providers/openai/Errors.d.ts +2 -0
  180. package/dist/providers/openai/Errors.d.ts.map +1 -0
  181. package/dist/providers/openai/Errors.js +34 -0
  182. package/dist/providers/openai/Image.d.ts +8 -0
  183. package/dist/providers/openai/Image.d.ts.map +1 -0
  184. package/dist/providers/openai/Image.js +44 -0
  185. package/dist/providers/openai/ModelDefinitions.d.ts +2 -0
  186. package/dist/providers/openai/ModelDefinitions.d.ts.map +1 -0
  187. package/dist/providers/openai/ModelDefinitions.js +1 -0
  188. package/dist/providers/openai/Models.d.ts +19 -0
  189. package/dist/providers/openai/Models.d.ts.map +1 -0
  190. package/dist/providers/openai/Models.js +93 -0
  191. package/dist/providers/openai/Moderation.d.ts +8 -0
  192. package/dist/providers/openai/Moderation.d.ts.map +1 -0
  193. package/dist/providers/openai/Moderation.js +34 -0
  194. package/dist/providers/openai/OpenAIProvider.d.ts +49 -0
  195. package/dist/providers/openai/OpenAIProvider.d.ts.map +1 -0
  196. package/dist/providers/openai/OpenAIProvider.js +79 -0
  197. package/dist/providers/openai/Streaming.d.ts +8 -0
  198. package/dist/providers/openai/Streaming.d.ts.map +1 -0
  199. package/dist/providers/openai/Streaming.js +155 -0
  200. package/dist/providers/openai/Transcription.d.ts +10 -0
  201. package/dist/providers/openai/Transcription.d.ts.map +1 -0
  202. package/dist/providers/openai/Transcription.js +170 -0
  203. package/dist/providers/openai/index.d.ts +10 -0
  204. package/dist/providers/openai/index.d.ts.map +1 -0
  205. package/dist/providers/openai/index.js +25 -0
  206. package/dist/providers/openai/types.d.ts +31 -0
  207. package/dist/providers/openai/types.d.ts.map +1 -0
  208. package/dist/providers/openai/types.js +1 -0
  209. package/dist/providers/openai/utils.d.ts +20 -0
  210. package/dist/providers/openai/utils.d.ts.map +1 -0
  211. package/dist/providers/openai/utils.js +25 -0
  212. package/dist/providers/openrouter/Capabilities.d.ts +13 -0
  213. package/dist/providers/openrouter/Capabilities.d.ts.map +1 -0
  214. package/dist/providers/openrouter/Capabilities.js +67 -0
  215. package/dist/providers/openrouter/Models.d.ts +11 -0
  216. package/dist/providers/openrouter/Models.d.ts.map +1 -0
  217. package/dist/providers/openrouter/Models.js +88 -0
  218. package/dist/providers/openrouter/OpenRouterProvider.d.ts +21 -0
  219. package/dist/providers/openrouter/OpenRouterProvider.d.ts.map +1 -0
  220. package/dist/providers/openrouter/OpenRouterProvider.js +24 -0
  221. package/dist/providers/openrouter/index.d.ts +11 -0
  222. package/dist/providers/openrouter/index.d.ts.map +1 -0
  223. package/dist/providers/openrouter/index.js +26 -0
  224. package/dist/providers/registry.d.ts +30 -0
  225. package/dist/providers/registry.d.ts.map +1 -0
  226. package/dist/providers/registry.js +43 -0
  227. package/dist/schema/Schema.d.ts +20 -0
  228. package/dist/schema/Schema.d.ts.map +1 -0
  229. package/dist/schema/Schema.js +22 -0
  230. package/dist/schema/to-json-schema.d.ts +3 -0
  231. package/dist/schema/to-json-schema.d.ts.map +1 -0
  232. package/dist/schema/to-json-schema.js +10 -0
  233. package/dist/streaming/Stream.d.ts +29 -0
  234. package/dist/streaming/Stream.d.ts.map +1 -0
  235. package/dist/streaming/Stream.js +67 -0
  236. package/dist/transcription/Transcription.d.ts +11 -0
  237. package/dist/transcription/Transcription.d.ts.map +1 -0
  238. package/dist/transcription/Transcription.js +21 -0
  239. package/dist/utils/Binary.d.ts +12 -0
  240. package/dist/utils/Binary.d.ts.map +1 -0
  241. package/dist/utils/Binary.js +71 -0
  242. package/dist/utils/FileLoader.d.ts +5 -0
  243. package/dist/utils/FileLoader.d.ts.map +1 -0
  244. package/dist/utils/FileLoader.js +115 -0
  245. package/dist/utils/audio.d.ts +10 -0
  246. package/dist/utils/audio.d.ts.map +1 -0
  247. package/dist/utils/audio.js +46 -0
  248. package/dist/utils/logger.d.ts +18 -0
  249. package/dist/utils/logger.d.ts.map +1 -0
  250. package/dist/utils/logger.js +44 -0
  251. package/package.json +43 -17
  252. package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -67
  253. package/.github/ISSUE_TEMPLATE/config.yml +0 -8
  254. package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -57
  255. package/.github/pull_request_template.md +0 -35
  256. package/.github/workflows/cicd.yml +0 -133
  257. package/.github/workflows/docs.yml +0 -52
  258. package/CHANGELOG.md +0 -80
  259. package/CONTRIBUTING.md +0 -65
  260. package/docs/CNAME +0 -1
  261. package/docs/Gemfile +0 -5
  262. package/docs/Gemfile.lock +0 -176
  263. package/docs/_config.yml +0 -22
  264. package/docs/_includes/head_custom.html +0 -88
  265. package/docs/advanced/custom-providers.md +0 -127
  266. package/docs/advanced/custom_endpoints.md +0 -84
  267. package/docs/advanced/debugging.md +0 -95
  268. package/docs/advanced/error-handling.md +0 -87
  269. package/docs/advanced/index.md +0 -11
  270. package/docs/advanced/multi_provider_parallel.md +0 -47
  271. package/docs/advanced/testing.md +0 -36
  272. package/docs/advanced/token_usage.md +0 -32
  273. package/docs/assets/css/custom.css +0 -34
  274. package/docs/assets/images/favicon.jpg +0 -0
  275. package/docs/assets/images/icon.jpg +0 -0
  276. package/docs/assets/images/logo.jpg +0 -0
  277. package/docs/assets/images/logo.png +0 -0
  278. package/docs/core-features/audio-transcription.md +0 -80
  279. package/docs/core-features/chat.md +0 -151
  280. package/docs/core-features/embeddings.md +0 -107
  281. package/docs/core-features/image-generation.md +0 -70
  282. package/docs/core-features/index.md +0 -10
  283. package/docs/core-features/models.md +0 -94
  284. package/docs/core-features/moderation.md +0 -86
  285. package/docs/core-features/multimodal.md +0 -120
  286. package/docs/core-features/reasoning.md +0 -67
  287. package/docs/core-features/streaming.md +0 -145
  288. package/docs/core-features/structured_output.md +0 -109
  289. package/docs/core-features/tools.md +0 -211
  290. package/docs/examples.md +0 -130
  291. package/docs/getting_started/configuration.md +0 -176
  292. package/docs/getting_started/getting-started.md +0 -74
  293. package/docs/getting_started/index.md +0 -10
  294. package/docs/getting_started/overview.md +0 -56
  295. package/docs/index.md +0 -234
  296. package/docs/models/available_models.md +0 -209
  297. package/docs/providers/anthropic.md +0 -55
  298. package/docs/providers/deepseek.md +0 -48
  299. package/docs/providers/gemini.md +0 -59
  300. package/docs/providers/index.md +0 -11
  301. package/docs/providers/ollama.md +0 -83
  302. package/docs/providers/openai.md +0 -47
  303. package/docs/providers/openrouter.md +0 -42
  304. package/examples/README.md +0 -135
  305. package/examples/anthropic/chat/basic.mjs +0 -27
  306. package/examples/anthropic/chat/events.mjs +0 -28
  307. package/examples/anthropic/chat/instructions.mjs +0 -24
  308. package/examples/anthropic/chat/max-tokens.mjs +0 -26
  309. package/examples/anthropic/chat/parallel-tools.mjs +0 -33
  310. package/examples/anthropic/chat/raw-json.mjs +0 -41
  311. package/examples/anthropic/chat/streaming-tools.mjs +0 -82
  312. package/examples/anthropic/chat/streaming.mjs +0 -29
  313. package/examples/anthropic/chat/structured.mjs +0 -52
  314. package/examples/anthropic/chat/tools.mjs +0 -40
  315. package/examples/anthropic/chat/usage.mjs +0 -24
  316. package/examples/anthropic/discovery/alias-logging.mjs +0 -29
  317. package/examples/anthropic/discovery/debug-mode.mjs +0 -30
  318. package/examples/anthropic/discovery/model-aliases.mjs +0 -41
  319. package/examples/anthropic/discovery/models.mjs +0 -18
  320. package/examples/anthropic/discovery/scoped-config.mjs +0 -57
  321. package/examples/anthropic/embeddings/create.mjs +0 -25
  322. package/examples/anthropic/images/generate.mjs +0 -25
  323. package/examples/anthropic/multimodal/files.mjs +0 -32
  324. package/examples/anthropic/multimodal/multi-image.mjs +0 -30
  325. package/examples/anthropic/multimodal/pdf.mjs +0 -40
  326. package/examples/anthropic/multimodal/transcribe.mjs +0 -25
  327. package/examples/anthropic/multimodal/vision.mjs +0 -28
  328. package/examples/anthropic/safety/moderation.mjs +0 -25
  329. package/examples/audio/sample-0.mp3 +0 -0
  330. package/examples/configuration-example.mjs +0 -67
  331. package/examples/custom-endpoints-example.mjs +0 -173
  332. package/examples/custom-provider.mjs +0 -130
  333. package/examples/deepseek/chat/basic.mjs +0 -20
  334. package/examples/deepseek/chat/events.mjs +0 -32
  335. package/examples/deepseek/chat/instructions.mjs +0 -33
  336. package/examples/deepseek/chat/max-tokens.mjs +0 -25
  337. package/examples/deepseek/chat/params.mjs +0 -29
  338. package/examples/deepseek/chat/raw-json.mjs +0 -41
  339. package/examples/deepseek/chat/reasoning.mjs +0 -46
  340. package/examples/deepseek/chat/streaming-tools.mjs +0 -61
  341. package/examples/deepseek/chat/streaming.mjs +0 -23
  342. package/examples/deepseek/chat/structured.mjs +0 -53
  343. package/examples/deepseek/chat/tools.mjs +0 -40
  344. package/examples/deepseek/chat/usage.mjs +0 -27
  345. package/examples/deepseek/discovery/models.mjs +0 -24
  346. package/examples/deepseek/embeddings/basic.mjs +0 -21
  347. package/examples/deepseek/images/generate.mjs +0 -21
  348. package/examples/deepseek/multimodal/vision.mjs +0 -22
  349. package/examples/deepseek/safety/moderation.mjs +0 -20
  350. package/examples/documents/simple.pdf +0 -0
  351. package/examples/gemini/chat/basic.mjs +0 -0
  352. package/examples/gemini/chat/events.mjs +0 -24
  353. package/examples/gemini/chat/instructions.mjs +0 -27
  354. package/examples/gemini/chat/max-tokens.mjs +0 -21
  355. package/examples/gemini/chat/parallel-tools.mjs +0 -33
  356. package/examples/gemini/chat/params.mjs +0 -36
  357. package/examples/gemini/chat/raw-json.mjs +0 -41
  358. package/examples/gemini/chat/streaming-tools.mjs +0 -61
  359. package/examples/gemini/chat/streaming.mjs +0 -20
  360. package/examples/gemini/chat/structured.mjs +0 -50
  361. package/examples/gemini/chat/tools.mjs +0 -40
  362. package/examples/gemini/chat/usage.mjs +0 -24
  363. package/examples/gemini/discovery/models.mjs +0 -32
  364. package/examples/gemini/embeddings/create.mjs +0 -24
  365. package/examples/gemini/images/generate.mjs +0 -35
  366. package/examples/gemini/multimodal/files.mjs +0 -29
  367. package/examples/gemini/multimodal/multi-image.mjs +0 -30
  368. package/examples/gemini/multimodal/transcribe.mjs +0 -25
  369. package/examples/gemini/multimodal/vision.mjs +0 -21
  370. package/examples/gemini/safety/moderation.mjs +0 -25
  371. package/examples/ollama/chat/basic.mjs +0 -36
  372. package/examples/ollama/chat/streaming.mjs +0 -23
  373. package/examples/ollama/chat/tools.mjs +0 -50
  374. package/examples/ollama/discovery/list.mjs +0 -54
  375. package/examples/ollama/embeddings/similarity.mjs +0 -49
  376. package/examples/ollama/multimodal/vision.mjs +0 -26
  377. package/examples/openai/chat/basic.mjs +0 -26
  378. package/examples/openai/chat/events.mjs +0 -32
  379. package/examples/openai/chat/instructions.mjs +0 -33
  380. package/examples/openai/chat/max-tokens.mjs +0 -25
  381. package/examples/openai/chat/parallel-tools.mjs +0 -35
  382. package/examples/openai/chat/params.mjs +0 -30
  383. package/examples/openai/chat/raw-json.mjs +0 -44
  384. package/examples/openai/chat/reasoning.mjs +0 -40
  385. package/examples/openai/chat/streaming-tools.mjs +0 -118
  386. package/examples/openai/chat/streaming.mjs +0 -132
  387. package/examples/openai/chat/structured.mjs +0 -53
  388. package/examples/openai/chat/tools.mjs +0 -115
  389. package/examples/openai/chat/usage.mjs +0 -27
  390. package/examples/openai/discovery/models.mjs +0 -28
  391. package/examples/openai/embeddings/create.mjs +0 -26
  392. package/examples/openai/images/generate.mjs +0 -39
  393. package/examples/openai/multimodal/files.mjs +0 -31
  394. package/examples/openai/multimodal/multi-image.mjs +0 -25
  395. package/examples/openai/multimodal/transcribe.mjs +0 -30
  396. package/examples/openai/multimodal/vision.mjs +0 -21
  397. package/examples/openai/safety/moderation.mjs +0 -33
  398. package/examples/openrouter/chat/basic.mjs +0 -22
  399. package/examples/openrouter/chat/reasoning.mjs +0 -27
  400. package/examples/openrouter/chat/streaming.mjs +0 -22
  401. package/examples/openrouter/chat/tools.mjs +0 -32
  402. package/examples/openrouter/discovery/models.mjs +0 -23
  403. package/examples/openrouter/embeddings/create.mjs +0 -26
  404. package/examples/openrouter/multimodal/vision.mjs +0 -23
  405. package/examples/parallel-scoring-clean.mjs +0 -63
  406. package/examples/run_anthropic_examples.sh +0 -65
  407. package/examples/run_deepseek_examples.sh +0 -61
  408. package/examples/run_gemini_examples.sh +0 -62
  409. package/examples/run_openai_examples.sh +0 -60
  410. package/examples/run_openrouter_examples.sh +0 -55
  411. package/favicon.jpg +0 -0
  412. package/packages/core/CHANGELOG.md +0 -179
  413. package/packages/core/README.md +0 -253
  414. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/LICENSE +0 -201
  415. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/README.md +0 -53
  416. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/package.json +0 -56
  417. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/src/index.js +0 -237
  418. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/src/utils/serializer-headers.js +0 -15
  419. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/types.d.ts +0 -5
  420. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/LICENSE +0 -201
  421. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/README.md +0 -52
  422. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/package.json +0 -62
  423. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/src/index.js +0 -337
  424. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/src/utils/get-url-from-options.js +0 -34
  425. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/src/utils/merge-chunks.js +0 -22
  426. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/src/utils/url-to-options.js +0 -31
  427. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/types.d.ts +0 -3
  428. package/packages/core/node_modules/.ignored/@pollyjs/core/LICENSE +0 -201
  429. package/packages/core/node_modules/.ignored/@pollyjs/core/README.md +0 -190
  430. package/packages/core/node_modules/.ignored/@pollyjs/core/package.json +0 -63
  431. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/container.js +0 -77
  432. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/event-emitter.js +0 -285
  433. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/event.js +0 -26
  434. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/http-base.js +0 -108
  435. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/interceptor.js +0 -38
  436. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/logger.js +0 -64
  437. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/request.js +0 -301
  438. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/response.js +0 -46
  439. package/packages/core/node_modules/.ignored/@pollyjs/core/src/defaults/config.js +0 -45
  440. package/packages/core/node_modules/.ignored/@pollyjs/core/src/index.js +0 -5
  441. package/packages/core/node_modules/.ignored/@pollyjs/core/src/polly.js +0 -343
  442. package/packages/core/node_modules/.ignored/@pollyjs/core/src/server/handler.js +0 -122
  443. package/packages/core/node_modules/.ignored/@pollyjs/core/src/server/index.js +0 -215
  444. package/packages/core/node_modules/.ignored/@pollyjs/core/src/server/middleware.js +0 -31
  445. package/packages/core/node_modules/.ignored/@pollyjs/core/src/server/route.js +0 -135
  446. package/packages/core/node_modules/.ignored/@pollyjs/core/src/test-helpers/lib.js +0 -29
  447. package/packages/core/node_modules/.ignored/@pollyjs/core/src/test-helpers/mocha.js +0 -31
  448. package/packages/core/node_modules/.ignored/@pollyjs/core/src/test-helpers/qunit.js +0 -22
  449. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/cancel-fn-after-n-times.js +0 -21
  450. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/deferred-promise.js +0 -20
  451. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/guid-for-recording.js +0 -21
  452. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/http-headers.js +0 -44
  453. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/merge-configs.js +0 -13
  454. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/normalize-request.js +0 -66
  455. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/parse-url.js +0 -33
  456. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/remove-host-from-url.js +0 -12
  457. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/timing.js +0 -11
  458. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/validators.js +0 -47
  459. package/packages/core/node_modules/.ignored/@pollyjs/core/types.d.ts +0 -297
  460. package/packages/core/node_modules/.ignored/@pollyjs/persister-fs/LICENSE +0 -201
  461. package/packages/core/node_modules/.ignored/@pollyjs/persister-fs/README.md +0 -53
  462. package/packages/core/node_modules/.ignored/@pollyjs/persister-fs/package.json +0 -53
  463. package/packages/core/node_modules/.ignored/@pollyjs/persister-fs/src/index.js +0 -37
  464. package/packages/core/node_modules/.ignored/@pollyjs/persister-fs/types.d.ts +0 -5
  465. package/packages/core/node_modules/.package-lock.json +0 -1279
  466. package/packages/core/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
  467. package/packages/core/node_modules/@pollyjs/adapter/LICENSE +0 -201
  468. package/packages/core/node_modules/@pollyjs/adapter/README.md +0 -64
  469. package/packages/core/node_modules/@pollyjs/adapter/package.json +0 -48
  470. package/packages/core/node_modules/@pollyjs/adapter/src/index.js +0 -348
  471. package/packages/core/node_modules/@pollyjs/adapter/src/utils/dehumanize-time.js +0 -49
  472. package/packages/core/node_modules/@pollyjs/adapter/src/utils/is-expired.js +0 -12
  473. package/packages/core/node_modules/@pollyjs/adapter/src/utils/normalize-recorded-response.js +0 -31
  474. package/packages/core/node_modules/@pollyjs/adapter/src/utils/stringify-request.js +0 -24
  475. package/packages/core/node_modules/@pollyjs/adapter/types.d.ts +0 -43
  476. package/packages/core/node_modules/@pollyjs/node-server/LICENSE +0 -201
  477. package/packages/core/node_modules/@pollyjs/node-server/README.md +0 -81
  478. package/packages/core/node_modules/@pollyjs/node-server/package.json +0 -55
  479. package/packages/core/node_modules/@pollyjs/node-server/src/api.js +0 -53
  480. package/packages/core/node_modules/@pollyjs/node-server/src/config.js +0 -7
  481. package/packages/core/node_modules/@pollyjs/node-server/src/express/register-api.js +0 -57
  482. package/packages/core/node_modules/@pollyjs/node-server/src/index.js +0 -4
  483. package/packages/core/node_modules/@pollyjs/node-server/src/server.js +0 -59
  484. package/packages/core/node_modules/@pollyjs/node-server/types.d.ts +0 -45
  485. package/packages/core/node_modules/@pollyjs/persister/LICENSE +0 -201
  486. package/packages/core/node_modules/@pollyjs/persister/README.md +0 -62
  487. package/packages/core/node_modules/@pollyjs/persister/package.json +0 -55
  488. package/packages/core/node_modules/@pollyjs/persister/src/har/entry.js +0 -32
  489. package/packages/core/node_modules/@pollyjs/persister/src/har/index.js +0 -7
  490. package/packages/core/node_modules/@pollyjs/persister/src/har/log.js +0 -44
  491. package/packages/core/node_modules/@pollyjs/persister/src/har/request.js +0 -58
  492. package/packages/core/node_modules/@pollyjs/persister/src/har/response.js +0 -58
  493. package/packages/core/node_modules/@pollyjs/persister/src/har/utils/get-first-header.js +0 -20
  494. package/packages/core/node_modules/@pollyjs/persister/src/har/utils/to-nv-pairs.js +0 -21
  495. package/packages/core/node_modules/@pollyjs/persister/src/index.js +0 -214
  496. package/packages/core/node_modules/@pollyjs/persister/types.d.ts +0 -91
  497. package/packages/core/node_modules/@pollyjs/utils/LICENSE +0 -201
  498. package/packages/core/node_modules/@pollyjs/utils/README.md +0 -34
  499. package/packages/core/node_modules/@pollyjs/utils/package.json +0 -49
  500. package/packages/core/node_modules/@pollyjs/utils/src/constants/actions.js +0 -6
  501. package/packages/core/node_modules/@pollyjs/utils/src/constants/expiry-strategies.js +0 -5
  502. package/packages/core/node_modules/@pollyjs/utils/src/constants/http-methods.js +0 -10
  503. package/packages/core/node_modules/@pollyjs/utils/src/constants/http-status-codes.js +0 -44
  504. package/packages/core/node_modules/@pollyjs/utils/src/constants/modes.js +0 -6
  505. package/packages/core/node_modules/@pollyjs/utils/src/index.js +0 -18
  506. package/packages/core/node_modules/@pollyjs/utils/src/utils/assert.js +0 -7
  507. package/packages/core/node_modules/@pollyjs/utils/src/utils/build-url.js +0 -15
  508. package/packages/core/node_modules/@pollyjs/utils/src/utils/clone-arraybuffer.js +0 -12
  509. package/packages/core/node_modules/@pollyjs/utils/src/utils/is-buffer-utf8-representable.js +0 -12
  510. package/packages/core/node_modules/@pollyjs/utils/src/utils/polly-error.js +0 -12
  511. package/packages/core/node_modules/@pollyjs/utils/src/utils/serializers/blob.js +0 -26
  512. package/packages/core/node_modules/@pollyjs/utils/src/utils/serializers/buffer.js +0 -29
  513. package/packages/core/node_modules/@pollyjs/utils/src/utils/serializers/form-data.js +0 -23
  514. package/packages/core/node_modules/@pollyjs/utils/src/utils/serializers/index.js +0 -5
  515. package/packages/core/node_modules/@pollyjs/utils/src/utils/timeout.js +0 -7
  516. package/packages/core/node_modules/@pollyjs/utils/src/utils/timestamp.js +0 -3
  517. package/packages/core/node_modules/@pollyjs/utils/src/utils/url.js +0 -105
  518. package/packages/core/node_modules/@pollyjs/utils/types.d.ts +0 -19
  519. package/packages/core/node_modules/@sindresorhus/fnv1a/index.d.ts +0 -46
  520. package/packages/core/node_modules/@sindresorhus/fnv1a/index.js +0 -76
  521. package/packages/core/node_modules/@sindresorhus/fnv1a/license +0 -9
  522. package/packages/core/node_modules/@sindresorhus/fnv1a/package.json +0 -50
  523. package/packages/core/node_modules/@sindresorhus/fnv1a/readme.md +0 -53
  524. package/packages/core/node_modules/@types/node/LICENSE +0 -21
  525. package/packages/core/node_modules/@types/node/README.md +0 -15
  526. package/packages/core/node_modules/@types/node/assert/strict.d.ts +0 -105
  527. package/packages/core/node_modules/@types/node/assert.d.ts +0 -955
  528. package/packages/core/node_modules/@types/node/async_hooks.d.ts +0 -623
  529. package/packages/core/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  530. package/packages/core/node_modules/@types/node/buffer.d.ts +0 -1810
  531. package/packages/core/node_modules/@types/node/child_process.d.ts +0 -1428
  532. package/packages/core/node_modules/@types/node/cluster.d.ts +0 -486
  533. package/packages/core/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  534. package/packages/core/node_modules/@types/node/console.d.ts +0 -151
  535. package/packages/core/node_modules/@types/node/constants.d.ts +0 -20
  536. package/packages/core/node_modules/@types/node/crypto.d.ts +0 -4065
  537. package/packages/core/node_modules/@types/node/dgram.d.ts +0 -564
  538. package/packages/core/node_modules/@types/node/diagnostics_channel.d.ts +0 -576
  539. package/packages/core/node_modules/@types/node/dns/promises.d.ts +0 -503
  540. package/packages/core/node_modules/@types/node/dns.d.ts +0 -922
  541. package/packages/core/node_modules/@types/node/domain.d.ts +0 -166
  542. package/packages/core/node_modules/@types/node/events.d.ts +0 -1054
  543. package/packages/core/node_modules/@types/node/fs/promises.d.ts +0 -1316
  544. package/packages/core/node_modules/@types/node/fs.d.ts +0 -4676
  545. package/packages/core/node_modules/@types/node/globals.d.ts +0 -150
  546. package/packages/core/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  547. package/packages/core/node_modules/@types/node/http.d.ts +0 -2143
  548. package/packages/core/node_modules/@types/node/http2.d.ts +0 -2480
  549. package/packages/core/node_modules/@types/node/https.d.ts +0 -399
  550. package/packages/core/node_modules/@types/node/index.d.ts +0 -115
  551. package/packages/core/node_modules/@types/node/inspector/promises.d.ts +0 -41
  552. package/packages/core/node_modules/@types/node/inspector.d.ts +0 -224
  553. package/packages/core/node_modules/@types/node/inspector.generated.d.ts +0 -4226
  554. package/packages/core/node_modules/@types/node/module.d.ts +0 -819
  555. package/packages/core/node_modules/@types/node/net.d.ts +0 -933
  556. package/packages/core/node_modules/@types/node/os.d.ts +0 -507
  557. package/packages/core/node_modules/@types/node/package.json +0 -155
  558. package/packages/core/node_modules/@types/node/path/posix.d.ts +0 -8
  559. package/packages/core/node_modules/@types/node/path/win32.d.ts +0 -8
  560. package/packages/core/node_modules/@types/node/path.d.ts +0 -187
  561. package/packages/core/node_modules/@types/node/perf_hooks.d.ts +0 -621
  562. package/packages/core/node_modules/@types/node/process.d.ts +0 -2097
  563. package/packages/core/node_modules/@types/node/punycode.d.ts +0 -117
  564. package/packages/core/node_modules/@types/node/querystring.d.ts +0 -152
  565. package/packages/core/node_modules/@types/node/quic.d.ts +0 -910
  566. package/packages/core/node_modules/@types/node/readline/promises.d.ts +0 -161
  567. package/packages/core/node_modules/@types/node/readline.d.ts +0 -541
  568. package/packages/core/node_modules/@types/node/repl.d.ts +0 -415
  569. package/packages/core/node_modules/@types/node/sea.d.ts +0 -162
  570. package/packages/core/node_modules/@types/node/sqlite.d.ts +0 -937
  571. package/packages/core/node_modules/@types/node/stream/consumers.d.ts +0 -38
  572. package/packages/core/node_modules/@types/node/stream/promises.d.ts +0 -211
  573. package/packages/core/node_modules/@types/node/stream/web.d.ts +0 -296
  574. package/packages/core/node_modules/@types/node/stream.d.ts +0 -1760
  575. package/packages/core/node_modules/@types/node/string_decoder.d.ts +0 -67
  576. package/packages/core/node_modules/@types/node/test/reporters.d.ts +0 -96
  577. package/packages/core/node_modules/@types/node/test.d.ts +0 -2239
  578. package/packages/core/node_modules/@types/node/timers/promises.d.ts +0 -108
  579. package/packages/core/node_modules/@types/node/timers.d.ts +0 -159
  580. package/packages/core/node_modules/@types/node/tls.d.ts +0 -1194
  581. package/packages/core/node_modules/@types/node/trace_events.d.ts +0 -197
  582. package/packages/core/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  583. package/packages/core/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  584. package/packages/core/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  585. package/packages/core/node_modules/@types/node/ts5.6/index.d.ts +0 -117
  586. package/packages/core/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  587. package/packages/core/node_modules/@types/node/ts5.7/index.d.ts +0 -117
  588. package/packages/core/node_modules/@types/node/tty.d.ts +0 -250
  589. package/packages/core/node_modules/@types/node/url.d.ts +0 -519
  590. package/packages/core/node_modules/@types/node/util/types.d.ts +0 -558
  591. package/packages/core/node_modules/@types/node/util.d.ts +0 -1653
  592. package/packages/core/node_modules/@types/node/v8.d.ts +0 -979
  593. package/packages/core/node_modules/@types/node/vm.d.ts +0 -1180
  594. package/packages/core/node_modules/@types/node/wasi.d.ts +0 -202
  595. package/packages/core/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  596. package/packages/core/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  597. package/packages/core/node_modules/@types/node/web-globals/console.d.ts +0 -9
  598. package/packages/core/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  599. package/packages/core/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  600. package/packages/core/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  601. package/packages/core/node_modules/@types/node/web-globals/events.d.ts +0 -106
  602. package/packages/core/node_modules/@types/node/web-globals/fetch.d.ts +0 -54
  603. package/packages/core/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  604. package/packages/core/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  605. package/packages/core/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  606. package/packages/core/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  607. package/packages/core/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  608. package/packages/core/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  609. package/packages/core/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  610. package/packages/core/node_modules/@types/node/web-globals/url.d.ts +0 -24
  611. package/packages/core/node_modules/@types/node/worker_threads.d.ts +0 -714
  612. package/packages/core/node_modules/@types/node/zlib.d.ts +0 -618
  613. package/packages/core/node_modules/@types/set-cookie-parser/LICENSE +0 -21
  614. package/packages/core/node_modules/@types/set-cookie-parser/README.md +0 -15
  615. package/packages/core/node_modules/@types/set-cookie-parser/index.d.ts +0 -114
  616. package/packages/core/node_modules/@types/set-cookie-parser/package.json +0 -37
  617. package/packages/core/node_modules/accepts/HISTORY.md +0 -243
  618. package/packages/core/node_modules/accepts/LICENSE +0 -23
  619. package/packages/core/node_modules/accepts/README.md +0 -140
  620. package/packages/core/node_modules/accepts/index.js +0 -238
  621. package/packages/core/node_modules/accepts/package.json +0 -47
  622. package/packages/core/node_modules/array-flatten/LICENSE +0 -21
  623. package/packages/core/node_modules/array-flatten/README.md +0 -43
  624. package/packages/core/node_modules/array-flatten/array-flatten.js +0 -64
  625. package/packages/core/node_modules/array-flatten/package.json +0 -39
  626. package/packages/core/node_modules/basic-auth/HISTORY.md +0 -52
  627. package/packages/core/node_modules/basic-auth/LICENSE +0 -24
  628. package/packages/core/node_modules/basic-auth/README.md +0 -113
  629. package/packages/core/node_modules/basic-auth/index.js +0 -133
  630. package/packages/core/node_modules/basic-auth/node_modules/safe-buffer/LICENSE +0 -21
  631. package/packages/core/node_modules/basic-auth/node_modules/safe-buffer/README.md +0 -584
  632. package/packages/core/node_modules/basic-auth/node_modules/safe-buffer/index.d.ts +0 -187
  633. package/packages/core/node_modules/basic-auth/node_modules/safe-buffer/index.js +0 -62
  634. package/packages/core/node_modules/basic-auth/node_modules/safe-buffer/package.json +0 -37
  635. package/packages/core/node_modules/basic-auth/package.json +0 -41
  636. package/packages/core/node_modules/blueimp-md5/LICENSE.txt +0 -20
  637. package/packages/core/node_modules/blueimp-md5/README.md +0 -134
  638. package/packages/core/node_modules/blueimp-md5/js/md5.js +0 -402
  639. package/packages/core/node_modules/blueimp-md5/js/md5.min.js +0 -2
  640. package/packages/core/node_modules/blueimp-md5/js/md5.min.js.map +0 -1
  641. package/packages/core/node_modules/blueimp-md5/package.json +0 -74
  642. package/packages/core/node_modules/body-parser/HISTORY.md +0 -680
  643. package/packages/core/node_modules/body-parser/LICENSE +0 -23
  644. package/packages/core/node_modules/body-parser/README.md +0 -476
  645. package/packages/core/node_modules/body-parser/index.js +0 -156
  646. package/packages/core/node_modules/body-parser/lib/read.js +0 -205
  647. package/packages/core/node_modules/body-parser/lib/types/json.js +0 -247
  648. package/packages/core/node_modules/body-parser/lib/types/raw.js +0 -101
  649. package/packages/core/node_modules/body-parser/lib/types/text.js +0 -121
  650. package/packages/core/node_modules/body-parser/lib/types/urlencoded.js +0 -300
  651. package/packages/core/node_modules/body-parser/package.json +0 -55
  652. package/packages/core/node_modules/bowser/CHANGELOG.md +0 -218
  653. package/packages/core/node_modules/bowser/LICENSE +0 -39
  654. package/packages/core/node_modules/bowser/README.md +0 -177
  655. package/packages/core/node_modules/bowser/bundled.js +0 -1
  656. package/packages/core/node_modules/bowser/es5.js +0 -1
  657. package/packages/core/node_modules/bowser/index.d.ts +0 -315
  658. package/packages/core/node_modules/bowser/package.json +0 -88
  659. package/packages/core/node_modules/bowser/src/bowser.js +0 -77
  660. package/packages/core/node_modules/bowser/src/constants.js +0 -169
  661. package/packages/core/node_modules/bowser/src/parser-browsers.js +0 -1094
  662. package/packages/core/node_modules/bowser/src/parser-engines.js +0 -120
  663. package/packages/core/node_modules/bowser/src/parser-os.js +0 -211
  664. package/packages/core/node_modules/bowser/src/parser-platforms.js +0 -524
  665. package/packages/core/node_modules/bowser/src/parser.js +0 -511
  666. package/packages/core/node_modules/bowser/src/utils.js +0 -327
  667. package/packages/core/node_modules/bytes/History.md +0 -97
  668. package/packages/core/node_modules/bytes/LICENSE +0 -23
  669. package/packages/core/node_modules/bytes/Readme.md +0 -152
  670. package/packages/core/node_modules/bytes/index.js +0 -170
  671. package/packages/core/node_modules/bytes/package.json +0 -42
  672. package/packages/core/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
  673. package/packages/core/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
  674. package/packages/core/node_modules/call-bind-apply-helpers/.nycrc +0 -9
  675. package/packages/core/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
  676. package/packages/core/node_modules/call-bind-apply-helpers/LICENSE +0 -21
  677. package/packages/core/node_modules/call-bind-apply-helpers/README.md +0 -62
  678. package/packages/core/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
  679. package/packages/core/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
  680. package/packages/core/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
  681. package/packages/core/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
  682. package/packages/core/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
  683. package/packages/core/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
  684. package/packages/core/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
  685. package/packages/core/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
  686. package/packages/core/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
  687. package/packages/core/node_modules/call-bind-apply-helpers/index.js +0 -15
  688. package/packages/core/node_modules/call-bind-apply-helpers/package.json +0 -85
  689. package/packages/core/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
  690. package/packages/core/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
  691. package/packages/core/node_modules/call-bind-apply-helpers/test/index.js +0 -63
  692. package/packages/core/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
  693. package/packages/core/node_modules/call-bound/.eslintrc +0 -13
  694. package/packages/core/node_modules/call-bound/.github/FUNDING.yml +0 -12
  695. package/packages/core/node_modules/call-bound/.nycrc +0 -9
  696. package/packages/core/node_modules/call-bound/CHANGELOG.md +0 -42
  697. package/packages/core/node_modules/call-bound/LICENSE +0 -21
  698. package/packages/core/node_modules/call-bound/README.md +0 -53
  699. package/packages/core/node_modules/call-bound/index.d.ts +0 -94
  700. package/packages/core/node_modules/call-bound/index.js +0 -19
  701. package/packages/core/node_modules/call-bound/package.json +0 -99
  702. package/packages/core/node_modules/call-bound/test/index.js +0 -61
  703. package/packages/core/node_modules/call-bound/tsconfig.json +0 -10
  704. package/packages/core/node_modules/content-disposition/HISTORY.md +0 -60
  705. package/packages/core/node_modules/content-disposition/LICENSE +0 -22
  706. package/packages/core/node_modules/content-disposition/README.md +0 -142
  707. package/packages/core/node_modules/content-disposition/index.js +0 -458
  708. package/packages/core/node_modules/content-disposition/package.json +0 -44
  709. package/packages/core/node_modules/content-type/HISTORY.md +0 -29
  710. package/packages/core/node_modules/content-type/LICENSE +0 -22
  711. package/packages/core/node_modules/content-type/README.md +0 -94
  712. package/packages/core/node_modules/content-type/index.js +0 -225
  713. package/packages/core/node_modules/content-type/package.json +0 -42
  714. package/packages/core/node_modules/cookie/LICENSE +0 -24
  715. package/packages/core/node_modules/cookie/README.md +0 -317
  716. package/packages/core/node_modules/cookie/SECURITY.md +0 -25
  717. package/packages/core/node_modules/cookie/index.js +0 -335
  718. package/packages/core/node_modules/cookie/package.json +0 -44
  719. package/packages/core/node_modules/cookie-signature/History.md +0 -42
  720. package/packages/core/node_modules/cookie-signature/Readme.md +0 -42
  721. package/packages/core/node_modules/cookie-signature/index.js +0 -51
  722. package/packages/core/node_modules/cookie-signature/package.json +0 -18
  723. package/packages/core/node_modules/cors/CONTRIBUTING.md +0 -33
  724. package/packages/core/node_modules/cors/HISTORY.md +0 -58
  725. package/packages/core/node_modules/cors/LICENSE +0 -22
  726. package/packages/core/node_modules/cors/README.md +0 -243
  727. package/packages/core/node_modules/cors/lib/index.js +0 -238
  728. package/packages/core/node_modules/cors/package.json +0 -41
  729. package/packages/core/node_modules/debug/.coveralls.yml +0 -1
  730. package/packages/core/node_modules/debug/.eslintrc +0 -11
  731. package/packages/core/node_modules/debug/.travis.yml +0 -14
  732. package/packages/core/node_modules/debug/CHANGELOG.md +0 -362
  733. package/packages/core/node_modules/debug/LICENSE +0 -19
  734. package/packages/core/node_modules/debug/Makefile +0 -50
  735. package/packages/core/node_modules/debug/README.md +0 -312
  736. package/packages/core/node_modules/debug/component.json +0 -19
  737. package/packages/core/node_modules/debug/karma.conf.js +0 -70
  738. package/packages/core/node_modules/debug/node.js +0 -1
  739. package/packages/core/node_modules/debug/package.json +0 -49
  740. package/packages/core/node_modules/debug/src/browser.js +0 -185
  741. package/packages/core/node_modules/debug/src/debug.js +0 -202
  742. package/packages/core/node_modules/debug/src/index.js +0 -10
  743. package/packages/core/node_modules/debug/src/inspector-log.js +0 -15
  744. package/packages/core/node_modules/debug/src/node.js +0 -248
  745. package/packages/core/node_modules/depd/History.md +0 -103
  746. package/packages/core/node_modules/depd/LICENSE +0 -22
  747. package/packages/core/node_modules/depd/Readme.md +0 -280
  748. package/packages/core/node_modules/depd/index.js +0 -538
  749. package/packages/core/node_modules/depd/lib/browser/index.js +0 -77
  750. package/packages/core/node_modules/depd/package.json +0 -45
  751. package/packages/core/node_modules/destroy/LICENSE +0 -23
  752. package/packages/core/node_modules/destroy/README.md +0 -63
  753. package/packages/core/node_modules/destroy/index.js +0 -209
  754. package/packages/core/node_modules/destroy/package.json +0 -48
  755. package/packages/core/node_modules/dunder-proto/.eslintrc +0 -5
  756. package/packages/core/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
  757. package/packages/core/node_modules/dunder-proto/.nycrc +0 -13
  758. package/packages/core/node_modules/dunder-proto/CHANGELOG.md +0 -24
  759. package/packages/core/node_modules/dunder-proto/LICENSE +0 -21
  760. package/packages/core/node_modules/dunder-proto/README.md +0 -54
  761. package/packages/core/node_modules/dunder-proto/get.d.ts +0 -5
  762. package/packages/core/node_modules/dunder-proto/get.js +0 -30
  763. package/packages/core/node_modules/dunder-proto/package.json +0 -76
  764. package/packages/core/node_modules/dunder-proto/set.d.ts +0 -5
  765. package/packages/core/node_modules/dunder-proto/set.js +0 -35
  766. package/packages/core/node_modules/dunder-proto/test/get.js +0 -34
  767. package/packages/core/node_modules/dunder-proto/test/index.js +0 -4
  768. package/packages/core/node_modules/dunder-proto/test/set.js +0 -50
  769. package/packages/core/node_modules/dunder-proto/tsconfig.json +0 -9
  770. package/packages/core/node_modules/ee-first/LICENSE +0 -22
  771. package/packages/core/node_modules/ee-first/README.md +0 -80
  772. package/packages/core/node_modules/ee-first/index.js +0 -95
  773. package/packages/core/node_modules/ee-first/package.json +0 -29
  774. package/packages/core/node_modules/encodeurl/LICENSE +0 -22
  775. package/packages/core/node_modules/encodeurl/README.md +0 -109
  776. package/packages/core/node_modules/encodeurl/index.js +0 -60
  777. package/packages/core/node_modules/encodeurl/package.json +0 -40
  778. package/packages/core/node_modules/es-define-property/.eslintrc +0 -13
  779. package/packages/core/node_modules/es-define-property/.github/FUNDING.yml +0 -12
  780. package/packages/core/node_modules/es-define-property/.nycrc +0 -9
  781. package/packages/core/node_modules/es-define-property/CHANGELOG.md +0 -29
  782. package/packages/core/node_modules/es-define-property/LICENSE +0 -21
  783. package/packages/core/node_modules/es-define-property/README.md +0 -49
  784. package/packages/core/node_modules/es-define-property/index.d.ts +0 -3
  785. package/packages/core/node_modules/es-define-property/index.js +0 -14
  786. package/packages/core/node_modules/es-define-property/package.json +0 -81
  787. package/packages/core/node_modules/es-define-property/test/index.js +0 -56
  788. package/packages/core/node_modules/es-define-property/tsconfig.json +0 -10
  789. package/packages/core/node_modules/es-errors/.eslintrc +0 -5
  790. package/packages/core/node_modules/es-errors/.github/FUNDING.yml +0 -12
  791. package/packages/core/node_modules/es-errors/CHANGELOG.md +0 -40
  792. package/packages/core/node_modules/es-errors/LICENSE +0 -21
  793. package/packages/core/node_modules/es-errors/README.md +0 -55
  794. package/packages/core/node_modules/es-errors/eval.d.ts +0 -3
  795. package/packages/core/node_modules/es-errors/eval.js +0 -4
  796. package/packages/core/node_modules/es-errors/index.d.ts +0 -3
  797. package/packages/core/node_modules/es-errors/index.js +0 -4
  798. package/packages/core/node_modules/es-errors/package.json +0 -80
  799. package/packages/core/node_modules/es-errors/range.d.ts +0 -3
  800. package/packages/core/node_modules/es-errors/range.js +0 -4
  801. package/packages/core/node_modules/es-errors/ref.d.ts +0 -3
  802. package/packages/core/node_modules/es-errors/ref.js +0 -4
  803. package/packages/core/node_modules/es-errors/syntax.d.ts +0 -3
  804. package/packages/core/node_modules/es-errors/syntax.js +0 -4
  805. package/packages/core/node_modules/es-errors/test/index.js +0 -19
  806. package/packages/core/node_modules/es-errors/tsconfig.json +0 -49
  807. package/packages/core/node_modules/es-errors/type.d.ts +0 -3
  808. package/packages/core/node_modules/es-errors/type.js +0 -4
  809. package/packages/core/node_modules/es-errors/uri.d.ts +0 -3
  810. package/packages/core/node_modules/es-errors/uri.js +0 -4
  811. package/packages/core/node_modules/es-object-atoms/.eslintrc +0 -16
  812. package/packages/core/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
  813. package/packages/core/node_modules/es-object-atoms/CHANGELOG.md +0 -37
  814. package/packages/core/node_modules/es-object-atoms/LICENSE +0 -21
  815. package/packages/core/node_modules/es-object-atoms/README.md +0 -63
  816. package/packages/core/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
  817. package/packages/core/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
  818. package/packages/core/node_modules/es-object-atoms/ToObject.d.ts +0 -7
  819. package/packages/core/node_modules/es-object-atoms/ToObject.js +0 -10
  820. package/packages/core/node_modules/es-object-atoms/index.d.ts +0 -3
  821. package/packages/core/node_modules/es-object-atoms/index.js +0 -4
  822. package/packages/core/node_modules/es-object-atoms/isObject.d.ts +0 -3
  823. package/packages/core/node_modules/es-object-atoms/isObject.js +0 -6
  824. package/packages/core/node_modules/es-object-atoms/package.json +0 -80
  825. package/packages/core/node_modules/es-object-atoms/test/index.js +0 -38
  826. package/packages/core/node_modules/es-object-atoms/tsconfig.json +0 -6
  827. package/packages/core/node_modules/escape-html/LICENSE +0 -24
  828. package/packages/core/node_modules/escape-html/Readme.md +0 -43
  829. package/packages/core/node_modules/escape-html/index.js +0 -78
  830. package/packages/core/node_modules/escape-html/package.json +0 -24
  831. package/packages/core/node_modules/etag/HISTORY.md +0 -83
  832. package/packages/core/node_modules/etag/LICENSE +0 -22
  833. package/packages/core/node_modules/etag/README.md +0 -159
  834. package/packages/core/node_modules/etag/index.js +0 -131
  835. package/packages/core/node_modules/etag/package.json +0 -47
  836. package/packages/core/node_modules/express/History.md +0 -3667
  837. package/packages/core/node_modules/express/LICENSE +0 -24
  838. package/packages/core/node_modules/express/Readme.md +0 -260
  839. package/packages/core/node_modules/express/index.js +0 -11
  840. package/packages/core/node_modules/express/lib/application.js +0 -661
  841. package/packages/core/node_modules/express/lib/express.js +0 -116
  842. package/packages/core/node_modules/express/lib/middleware/init.js +0 -43
  843. package/packages/core/node_modules/express/lib/middleware/query.js +0 -47
  844. package/packages/core/node_modules/express/lib/request.js +0 -525
  845. package/packages/core/node_modules/express/lib/response.js +0 -1179
  846. package/packages/core/node_modules/express/lib/router/index.js +0 -673
  847. package/packages/core/node_modules/express/lib/router/layer.js +0 -181
  848. package/packages/core/node_modules/express/lib/router/route.js +0 -230
  849. package/packages/core/node_modules/express/lib/utils.js +0 -303
  850. package/packages/core/node_modules/express/lib/view.js +0 -182
  851. package/packages/core/node_modules/express/package.json +0 -102
  852. package/packages/core/node_modules/fast-json-stable-stringify/.eslintrc.yml +0 -26
  853. package/packages/core/node_modules/fast-json-stable-stringify/.github/FUNDING.yml +0 -1
  854. package/packages/core/node_modules/fast-json-stable-stringify/.travis.yml +0 -8
  855. package/packages/core/node_modules/fast-json-stable-stringify/LICENSE +0 -21
  856. package/packages/core/node_modules/fast-json-stable-stringify/README.md +0 -131
  857. package/packages/core/node_modules/fast-json-stable-stringify/benchmark/index.js +0 -31
  858. package/packages/core/node_modules/fast-json-stable-stringify/benchmark/test.json +0 -137
  859. package/packages/core/node_modules/fast-json-stable-stringify/example/key_cmp.js +0 -7
  860. package/packages/core/node_modules/fast-json-stable-stringify/example/nested.js +0 -3
  861. package/packages/core/node_modules/fast-json-stable-stringify/example/str.js +0 -3
  862. package/packages/core/node_modules/fast-json-stable-stringify/example/value_cmp.js +0 -7
  863. package/packages/core/node_modules/fast-json-stable-stringify/index.d.ts +0 -4
  864. package/packages/core/node_modules/fast-json-stable-stringify/index.js +0 -59
  865. package/packages/core/node_modules/fast-json-stable-stringify/package.json +0 -52
  866. package/packages/core/node_modules/fast-json-stable-stringify/test/cmp.js +0 -13
  867. package/packages/core/node_modules/fast-json-stable-stringify/test/nested.js +0 -44
  868. package/packages/core/node_modules/fast-json-stable-stringify/test/str.js +0 -46
  869. package/packages/core/node_modules/fast-json-stable-stringify/test/to-json.js +0 -22
  870. package/packages/core/node_modules/finalhandler/HISTORY.md +0 -216
  871. package/packages/core/node_modules/finalhandler/LICENSE +0 -22
  872. package/packages/core/node_modules/finalhandler/README.md +0 -147
  873. package/packages/core/node_modules/finalhandler/SECURITY.md +0 -25
  874. package/packages/core/node_modules/finalhandler/index.js +0 -341
  875. package/packages/core/node_modules/finalhandler/package.json +0 -47
  876. package/packages/core/node_modules/forwarded/HISTORY.md +0 -21
  877. package/packages/core/node_modules/forwarded/LICENSE +0 -22
  878. package/packages/core/node_modules/forwarded/README.md +0 -57
  879. package/packages/core/node_modules/forwarded/index.js +0 -90
  880. package/packages/core/node_modules/forwarded/package.json +0 -45
  881. package/packages/core/node_modules/fresh/HISTORY.md +0 -70
  882. package/packages/core/node_modules/fresh/LICENSE +0 -23
  883. package/packages/core/node_modules/fresh/README.md +0 -119
  884. package/packages/core/node_modules/fresh/index.js +0 -137
  885. package/packages/core/node_modules/fresh/package.json +0 -46
  886. package/packages/core/node_modules/fs-extra/LICENSE +0 -15
  887. package/packages/core/node_modules/fs-extra/README.md +0 -262
  888. package/packages/core/node_modules/fs-extra/lib/copy/copy-sync.js +0 -169
  889. package/packages/core/node_modules/fs-extra/lib/copy/copy.js +0 -235
  890. package/packages/core/node_modules/fs-extra/lib/copy/index.js +0 -7
  891. package/packages/core/node_modules/fs-extra/lib/empty/index.js +0 -39
  892. package/packages/core/node_modules/fs-extra/lib/ensure/file.js +0 -69
  893. package/packages/core/node_modules/fs-extra/lib/ensure/index.js +0 -23
  894. package/packages/core/node_modules/fs-extra/lib/ensure/link.js +0 -64
  895. package/packages/core/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -99
  896. package/packages/core/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -31
  897. package/packages/core/node_modules/fs-extra/lib/ensure/symlink.js +0 -82
  898. package/packages/core/node_modules/fs-extra/lib/fs/index.js +0 -128
  899. package/packages/core/node_modules/fs-extra/lib/index.js +0 -16
  900. package/packages/core/node_modules/fs-extra/lib/json/index.js +0 -16
  901. package/packages/core/node_modules/fs-extra/lib/json/jsonfile.js +0 -11
  902. package/packages/core/node_modules/fs-extra/lib/json/output-json-sync.js +0 -12
  903. package/packages/core/node_modules/fs-extra/lib/json/output-json.js +0 -12
  904. package/packages/core/node_modules/fs-extra/lib/mkdirs/index.js +0 -14
  905. package/packages/core/node_modules/fs-extra/lib/mkdirs/make-dir.js +0 -27
  906. package/packages/core/node_modules/fs-extra/lib/mkdirs/utils.js +0 -21
  907. package/packages/core/node_modules/fs-extra/lib/move/index.js +0 -7
  908. package/packages/core/node_modules/fs-extra/lib/move/move-sync.js +0 -54
  909. package/packages/core/node_modules/fs-extra/lib/move/move.js +0 -75
  910. package/packages/core/node_modules/fs-extra/lib/output-file/index.js +0 -40
  911. package/packages/core/node_modules/fs-extra/lib/path-exists/index.js +0 -12
  912. package/packages/core/node_modules/fs-extra/lib/remove/index.js +0 -22
  913. package/packages/core/node_modules/fs-extra/lib/remove/rimraf.js +0 -302
  914. package/packages/core/node_modules/fs-extra/lib/util/stat.js +0 -154
  915. package/packages/core/node_modules/fs-extra/lib/util/utimes.js +0 -26
  916. package/packages/core/node_modules/fs-extra/package.json +0 -67
  917. package/packages/core/node_modules/function-bind/.eslintrc +0 -21
  918. package/packages/core/node_modules/function-bind/.github/FUNDING.yml +0 -12
  919. package/packages/core/node_modules/function-bind/.github/SECURITY.md +0 -3
  920. package/packages/core/node_modules/function-bind/.nycrc +0 -13
  921. package/packages/core/node_modules/function-bind/CHANGELOG.md +0 -136
  922. package/packages/core/node_modules/function-bind/LICENSE +0 -20
  923. package/packages/core/node_modules/function-bind/README.md +0 -46
  924. package/packages/core/node_modules/function-bind/implementation.js +0 -84
  925. package/packages/core/node_modules/function-bind/index.js +0 -5
  926. package/packages/core/node_modules/function-bind/package.json +0 -87
  927. package/packages/core/node_modules/function-bind/test/.eslintrc +0 -9
  928. package/packages/core/node_modules/function-bind/test/index.js +0 -252
  929. package/packages/core/node_modules/get-intrinsic/.eslintrc +0 -42
  930. package/packages/core/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  931. package/packages/core/node_modules/get-intrinsic/.nycrc +0 -9
  932. package/packages/core/node_modules/get-intrinsic/CHANGELOG.md +0 -186
  933. package/packages/core/node_modules/get-intrinsic/LICENSE +0 -21
  934. package/packages/core/node_modules/get-intrinsic/README.md +0 -71
  935. package/packages/core/node_modules/get-intrinsic/index.js +0 -378
  936. package/packages/core/node_modules/get-intrinsic/package.json +0 -97
  937. package/packages/core/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  938. package/packages/core/node_modules/get-proto/.eslintrc +0 -10
  939. package/packages/core/node_modules/get-proto/.github/FUNDING.yml +0 -12
  940. package/packages/core/node_modules/get-proto/.nycrc +0 -9
  941. package/packages/core/node_modules/get-proto/CHANGELOG.md +0 -21
  942. package/packages/core/node_modules/get-proto/LICENSE +0 -21
  943. package/packages/core/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
  944. package/packages/core/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
  945. package/packages/core/node_modules/get-proto/README.md +0 -50
  946. package/packages/core/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
  947. package/packages/core/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
  948. package/packages/core/node_modules/get-proto/index.d.ts +0 -5
  949. package/packages/core/node_modules/get-proto/index.js +0 -27
  950. package/packages/core/node_modules/get-proto/package.json +0 -81
  951. package/packages/core/node_modules/get-proto/test/index.js +0 -68
  952. package/packages/core/node_modules/get-proto/tsconfig.json +0 -9
  953. package/packages/core/node_modules/gopd/.eslintrc +0 -16
  954. package/packages/core/node_modules/gopd/.github/FUNDING.yml +0 -12
  955. package/packages/core/node_modules/gopd/CHANGELOG.md +0 -45
  956. package/packages/core/node_modules/gopd/LICENSE +0 -21
  957. package/packages/core/node_modules/gopd/README.md +0 -40
  958. package/packages/core/node_modules/gopd/gOPD.d.ts +0 -1
  959. package/packages/core/node_modules/gopd/gOPD.js +0 -4
  960. package/packages/core/node_modules/gopd/index.d.ts +0 -5
  961. package/packages/core/node_modules/gopd/index.js +0 -15
  962. package/packages/core/node_modules/gopd/package.json +0 -77
  963. package/packages/core/node_modules/gopd/test/index.js +0 -36
  964. package/packages/core/node_modules/gopd/tsconfig.json +0 -9
  965. package/packages/core/node_modules/graceful-fs/LICENSE +0 -15
  966. package/packages/core/node_modules/graceful-fs/README.md +0 -143
  967. package/packages/core/node_modules/graceful-fs/clone.js +0 -23
  968. package/packages/core/node_modules/graceful-fs/graceful-fs.js +0 -448
  969. package/packages/core/node_modules/graceful-fs/legacy-streams.js +0 -118
  970. package/packages/core/node_modules/graceful-fs/package.json +0 -53
  971. package/packages/core/node_modules/graceful-fs/polyfills.js +0 -355
  972. package/packages/core/node_modules/has-symbols/.eslintrc +0 -11
  973. package/packages/core/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  974. package/packages/core/node_modules/has-symbols/.nycrc +0 -9
  975. package/packages/core/node_modules/has-symbols/CHANGELOG.md +0 -91
  976. package/packages/core/node_modules/has-symbols/LICENSE +0 -21
  977. package/packages/core/node_modules/has-symbols/README.md +0 -46
  978. package/packages/core/node_modules/has-symbols/index.d.ts +0 -3
  979. package/packages/core/node_modules/has-symbols/index.js +0 -14
  980. package/packages/core/node_modules/has-symbols/package.json +0 -111
  981. package/packages/core/node_modules/has-symbols/shams.d.ts +0 -3
  982. package/packages/core/node_modules/has-symbols/shams.js +0 -45
  983. package/packages/core/node_modules/has-symbols/test/index.js +0 -22
  984. package/packages/core/node_modules/has-symbols/test/shams/core-js.js +0 -29
  985. package/packages/core/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
  986. package/packages/core/node_modules/has-symbols/test/tests.js +0 -58
  987. package/packages/core/node_modules/has-symbols/tsconfig.json +0 -10
  988. package/packages/core/node_modules/hasown/.eslintrc +0 -5
  989. package/packages/core/node_modules/hasown/.github/FUNDING.yml +0 -12
  990. package/packages/core/node_modules/hasown/.nycrc +0 -13
  991. package/packages/core/node_modules/hasown/CHANGELOG.md +0 -40
  992. package/packages/core/node_modules/hasown/LICENSE +0 -21
  993. package/packages/core/node_modules/hasown/README.md +0 -40
  994. package/packages/core/node_modules/hasown/index.d.ts +0 -3
  995. package/packages/core/node_modules/hasown/index.js +0 -8
  996. package/packages/core/node_modules/hasown/package.json +0 -92
  997. package/packages/core/node_modules/hasown/tsconfig.json +0 -6
  998. package/packages/core/node_modules/http-errors/HISTORY.md +0 -186
  999. package/packages/core/node_modules/http-errors/LICENSE +0 -23
  1000. package/packages/core/node_modules/http-errors/README.md +0 -169
  1001. package/packages/core/node_modules/http-errors/index.js +0 -290
  1002. package/packages/core/node_modules/http-errors/package.json +0 -54
  1003. package/packages/core/node_modules/http-graceful-shutdown/LICENSE +0 -20
  1004. package/packages/core/node_modules/http-graceful-shutdown/README.md +0 -397
  1005. package/packages/core/node_modules/http-graceful-shutdown/lib/index.d.ts +0 -24
  1006. package/packages/core/node_modules/http-graceful-shutdown/lib/index.js +0 -311
  1007. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/LICENSE +0 -20
  1008. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/README.md +0 -481
  1009. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/package.json +0 -64
  1010. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/src/browser.js +0 -272
  1011. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/src/common.js +0 -292
  1012. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/src/index.js +0 -10
  1013. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/src/node.js +0 -263
  1014. package/packages/core/node_modules/http-graceful-shutdown/node_modules/ms/index.js +0 -162
  1015. package/packages/core/node_modules/http-graceful-shutdown/node_modules/ms/license.md +0 -21
  1016. package/packages/core/node_modules/http-graceful-shutdown/node_modules/ms/package.json +0 -38
  1017. package/packages/core/node_modules/http-graceful-shutdown/node_modules/ms/readme.md +0 -59
  1018. package/packages/core/node_modules/http-graceful-shutdown/package.json +0 -47
  1019. package/packages/core/node_modules/iconv-lite/Changelog.md +0 -162
  1020. package/packages/core/node_modules/iconv-lite/LICENSE +0 -21
  1021. package/packages/core/node_modules/iconv-lite/README.md +0 -156
  1022. package/packages/core/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
  1023. package/packages/core/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
  1024. package/packages/core/node_modules/iconv-lite/encodings/index.js +0 -22
  1025. package/packages/core/node_modules/iconv-lite/encodings/internal.js +0 -188
  1026. package/packages/core/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  1027. package/packages/core/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  1028. package/packages/core/node_modules/iconv-lite/encodings/sbcs-data.js +0 -174
  1029. package/packages/core/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  1030. package/packages/core/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  1031. package/packages/core/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  1032. package/packages/core/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  1033. package/packages/core/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  1034. package/packages/core/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  1035. package/packages/core/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
  1036. package/packages/core/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  1037. package/packages/core/node_modules/iconv-lite/encodings/utf16.js +0 -177
  1038. package/packages/core/node_modules/iconv-lite/encodings/utf7.js +0 -290
  1039. package/packages/core/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  1040. package/packages/core/node_modules/iconv-lite/lib/extend-node.js +0 -217
  1041. package/packages/core/node_modules/iconv-lite/lib/index.d.ts +0 -24
  1042. package/packages/core/node_modules/iconv-lite/lib/index.js +0 -153
  1043. package/packages/core/node_modules/iconv-lite/lib/streams.js +0 -121
  1044. package/packages/core/node_modules/iconv-lite/package.json +0 -46
  1045. package/packages/core/node_modules/inherits/LICENSE +0 -16
  1046. package/packages/core/node_modules/inherits/README.md +0 -42
  1047. package/packages/core/node_modules/inherits/inherits.js +0 -9
  1048. package/packages/core/node_modules/inherits/inherits_browser.js +0 -27
  1049. package/packages/core/node_modules/inherits/package.json +0 -29
  1050. package/packages/core/node_modules/ipaddr.js/LICENSE +0 -19
  1051. package/packages/core/node_modules/ipaddr.js/README.md +0 -233
  1052. package/packages/core/node_modules/ipaddr.js/ipaddr.min.js +0 -1
  1053. package/packages/core/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
  1054. package/packages/core/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
  1055. package/packages/core/node_modules/ipaddr.js/package.json +0 -35
  1056. package/packages/core/node_modules/is-absolute-url/index.d.ts +0 -22
  1057. package/packages/core/node_modules/is-absolute-url/index.js +0 -16
  1058. package/packages/core/node_modules/is-absolute-url/license +0 -9
  1059. package/packages/core/node_modules/is-absolute-url/package.json +0 -35
  1060. package/packages/core/node_modules/is-absolute-url/readme.md +0 -44
  1061. package/packages/core/node_modules/json-stringify-safe/CHANGELOG.md +0 -14
  1062. package/packages/core/node_modules/json-stringify-safe/LICENSE +0 -15
  1063. package/packages/core/node_modules/json-stringify-safe/Makefile +0 -35
  1064. package/packages/core/node_modules/json-stringify-safe/README.md +0 -52
  1065. package/packages/core/node_modules/json-stringify-safe/package.json +0 -31
  1066. package/packages/core/node_modules/json-stringify-safe/stringify.js +0 -27
  1067. package/packages/core/node_modules/json-stringify-safe/test/mocha.opts +0 -2
  1068. package/packages/core/node_modules/json-stringify-safe/test/stringify_test.js +0 -246
  1069. package/packages/core/node_modules/jsonfile/LICENSE +0 -15
  1070. package/packages/core/node_modules/jsonfile/README.md +0 -230
  1071. package/packages/core/node_modules/jsonfile/index.js +0 -88
  1072. package/packages/core/node_modules/jsonfile/package.json +0 -40
  1073. package/packages/core/node_modules/jsonfile/utils.js +0 -14
  1074. package/packages/core/node_modules/lodash-es/LICENSE +0 -47
  1075. package/packages/core/node_modules/lodash-es/README.md +0 -10
  1076. package/packages/core/node_modules/lodash-es/_DataView.js +0 -7
  1077. package/packages/core/node_modules/lodash-es/_Hash.js +0 -32
  1078. package/packages/core/node_modules/lodash-es/_LazyWrapper.js +0 -28
  1079. package/packages/core/node_modules/lodash-es/_ListCache.js +0 -32
  1080. package/packages/core/node_modules/lodash-es/_LodashWrapper.js +0 -22
  1081. package/packages/core/node_modules/lodash-es/_Map.js +0 -7
  1082. package/packages/core/node_modules/lodash-es/_MapCache.js +0 -32
  1083. package/packages/core/node_modules/lodash-es/_Promise.js +0 -7
  1084. package/packages/core/node_modules/lodash-es/_Set.js +0 -7
  1085. package/packages/core/node_modules/lodash-es/_SetCache.js +0 -27
  1086. package/packages/core/node_modules/lodash-es/_Stack.js +0 -27
  1087. package/packages/core/node_modules/lodash-es/_Symbol.js +0 -6
  1088. package/packages/core/node_modules/lodash-es/_Uint8Array.js +0 -6
  1089. package/packages/core/node_modules/lodash-es/_WeakMap.js +0 -7
  1090. package/packages/core/node_modules/lodash-es/_addMapEntry.js +0 -15
  1091. package/packages/core/node_modules/lodash-es/_addSetEntry.js +0 -15
  1092. package/packages/core/node_modules/lodash-es/_apply.js +0 -21
  1093. package/packages/core/node_modules/lodash-es/_arrayAggregator.js +0 -22
  1094. package/packages/core/node_modules/lodash-es/_arrayEach.js +0 -22
  1095. package/packages/core/node_modules/lodash-es/_arrayEachRight.js +0 -21
  1096. package/packages/core/node_modules/lodash-es/_arrayEvery.js +0 -23
  1097. package/packages/core/node_modules/lodash-es/_arrayFilter.js +0 -25
  1098. package/packages/core/node_modules/lodash-es/_arrayIncludes.js +0 -17
  1099. package/packages/core/node_modules/lodash-es/_arrayIncludesWith.js +0 -22
  1100. package/packages/core/node_modules/lodash-es/_arrayLikeKeys.js +0 -49
  1101. package/packages/core/node_modules/lodash-es/_arrayMap.js +0 -21
  1102. package/packages/core/node_modules/lodash-es/_arrayPush.js +0 -20
  1103. package/packages/core/node_modules/lodash-es/_arrayReduce.js +0 -26
  1104. package/packages/core/node_modules/lodash-es/_arrayReduceRight.js +0 -24
  1105. package/packages/core/node_modules/lodash-es/_arraySample.js +0 -15
  1106. package/packages/core/node_modules/lodash-es/_arraySampleSize.js +0 -17
  1107. package/packages/core/node_modules/lodash-es/_arrayShuffle.js +0 -15
  1108. package/packages/core/node_modules/lodash-es/_arraySome.js +0 -23
  1109. package/packages/core/node_modules/lodash-es/_asciiSize.js +0 -12
  1110. package/packages/core/node_modules/lodash-es/_asciiToArray.js +0 -12
  1111. package/packages/core/node_modules/lodash-es/_asciiWords.js +0 -15
  1112. package/packages/core/node_modules/lodash-es/_assignMergeValue.js +0 -20
  1113. package/packages/core/node_modules/lodash-es/_assignValue.js +0 -28
  1114. package/packages/core/node_modules/lodash-es/_assocIndexOf.js +0 -21
  1115. package/packages/core/node_modules/lodash-es/_baseAggregator.js +0 -21
  1116. package/packages/core/node_modules/lodash-es/_baseAssign.js +0 -17
  1117. package/packages/core/node_modules/lodash-es/_baseAssignIn.js +0 -17
  1118. package/packages/core/node_modules/lodash-es/_baseAssignValue.js +0 -25
  1119. package/packages/core/node_modules/lodash-es/_baseAt.js +0 -23
  1120. package/packages/core/node_modules/lodash-es/_baseClamp.js +0 -22
  1121. package/packages/core/node_modules/lodash-es/_baseClone.js +0 -166
  1122. package/packages/core/node_modules/lodash-es/_baseConforms.js +0 -18
  1123. package/packages/core/node_modules/lodash-es/_baseConformsTo.js +0 -27
  1124. package/packages/core/node_modules/lodash-es/_baseCreate.js +0 -30
  1125. package/packages/core/node_modules/lodash-es/_baseDelay.js +0 -21
  1126. package/packages/core/node_modules/lodash-es/_baseDifference.js +0 -67
  1127. package/packages/core/node_modules/lodash-es/_baseEach.js +0 -14
  1128. package/packages/core/node_modules/lodash-es/_baseEachRight.js +0 -14
  1129. package/packages/core/node_modules/lodash-es/_baseEvery.js +0 -21
  1130. package/packages/core/node_modules/lodash-es/_baseExtremum.js +0 -32
  1131. package/packages/core/node_modules/lodash-es/_baseFill.js +0 -32
  1132. package/packages/core/node_modules/lodash-es/_baseFilter.js +0 -21
  1133. package/packages/core/node_modules/lodash-es/_baseFindIndex.js +0 -24
  1134. package/packages/core/node_modules/lodash-es/_baseFindKey.js +0 -23
  1135. package/packages/core/node_modules/lodash-es/_baseFlatten.js +0 -38
  1136. package/packages/core/node_modules/lodash-es/_baseFor.js +0 -16
  1137. package/packages/core/node_modules/lodash-es/_baseForOwn.js +0 -16
  1138. package/packages/core/node_modules/lodash-es/_baseForOwnRight.js +0 -16
  1139. package/packages/core/node_modules/lodash-es/_baseForRight.js +0 -15
  1140. package/packages/core/node_modules/lodash-es/_baseFunctions.js +0 -19
  1141. package/packages/core/node_modules/lodash-es/_baseGet.js +0 -24
  1142. package/packages/core/node_modules/lodash-es/_baseGetAllKeys.js +0 -20
  1143. package/packages/core/node_modules/lodash-es/_baseGetTag.js +0 -28
  1144. package/packages/core/node_modules/lodash-es/_baseGt.js +0 -14
  1145. package/packages/core/node_modules/lodash-es/_baseHas.js +0 -19
  1146. package/packages/core/node_modules/lodash-es/_baseHasIn.js +0 -13
  1147. package/packages/core/node_modules/lodash-es/_baseInRange.js +0 -18
  1148. package/packages/core/node_modules/lodash-es/_baseIndexOf.js +0 -20
  1149. package/packages/core/node_modules/lodash-es/_baseIndexOfWith.js +0 -23
  1150. package/packages/core/node_modules/lodash-es/_baseIntersection.js +0 -74
  1151. package/packages/core/node_modules/lodash-es/_baseInverter.js +0 -21
  1152. package/packages/core/node_modules/lodash-es/_baseInvoke.js +0 -24
  1153. package/packages/core/node_modules/lodash-es/_baseIsArguments.js +0 -18
  1154. package/packages/core/node_modules/lodash-es/_baseIsArrayBuffer.js +0 -17
  1155. package/packages/core/node_modules/lodash-es/_baseIsDate.js +0 -18
  1156. package/packages/core/node_modules/lodash-es/_baseIsEqual.js +0 -28
  1157. package/packages/core/node_modules/lodash-es/_baseIsEqualDeep.js +0 -83
  1158. package/packages/core/node_modules/lodash-es/_baseIsMap.js +0 -18
  1159. package/packages/core/node_modules/lodash-es/_baseIsMatch.js +0 -62
  1160. package/packages/core/node_modules/lodash-es/_baseIsNaN.js +0 -12
  1161. package/packages/core/node_modules/lodash-es/_baseIsNative.js +0 -47
  1162. package/packages/core/node_modules/lodash-es/_baseIsRegExp.js +0 -18
  1163. package/packages/core/node_modules/lodash-es/_baseIsSet.js +0 -18
  1164. package/packages/core/node_modules/lodash-es/_baseIsTypedArray.js +0 -60
  1165. package/packages/core/node_modules/lodash-es/_baseIteratee.js +0 -31
  1166. package/packages/core/node_modules/lodash-es/_baseKeys.js +0 -30
  1167. package/packages/core/node_modules/lodash-es/_baseKeysIn.js +0 -33
  1168. package/packages/core/node_modules/lodash-es/_baseLodash.js +0 -10
  1169. package/packages/core/node_modules/lodash-es/_baseLt.js +0 -14
  1170. package/packages/core/node_modules/lodash-es/_baseMap.js +0 -22
  1171. package/packages/core/node_modules/lodash-es/_baseMatches.js +0 -22
  1172. package/packages/core/node_modules/lodash-es/_baseMatchesProperty.js +0 -33
  1173. package/packages/core/node_modules/lodash-es/_baseMean.js +0 -20
  1174. package/packages/core/node_modules/lodash-es/_baseMerge.js +0 -42
  1175. package/packages/core/node_modules/lodash-es/_baseMergeDeep.js +0 -94
  1176. package/packages/core/node_modules/lodash-es/_baseNth.js +0 -20
  1177. package/packages/core/node_modules/lodash-es/_baseOrderBy.js +0 -49
  1178. package/packages/core/node_modules/lodash-es/_basePick.js +0 -19
  1179. package/packages/core/node_modules/lodash-es/_basePickBy.js +0 -30
  1180. package/packages/core/node_modules/lodash-es/_baseProperty.js +0 -14
  1181. package/packages/core/node_modules/lodash-es/_basePropertyDeep.js +0 -16
  1182. package/packages/core/node_modules/lodash-es/_basePropertyOf.js +0 -14
  1183. package/packages/core/node_modules/lodash-es/_basePullAll.js +0 -51
  1184. package/packages/core/node_modules/lodash-es/_basePullAt.js +0 -37
  1185. package/packages/core/node_modules/lodash-es/_baseRandom.js +0 -18
  1186. package/packages/core/node_modules/lodash-es/_baseRange.js +0 -28
  1187. package/packages/core/node_modules/lodash-es/_baseReduce.js +0 -23
  1188. package/packages/core/node_modules/lodash-es/_baseRepeat.js +0 -35
  1189. package/packages/core/node_modules/lodash-es/_baseRest.js +0 -17
  1190. package/packages/core/node_modules/lodash-es/_baseSample.js +0 -15
  1191. package/packages/core/node_modules/lodash-es/_baseSampleSize.js +0 -18
  1192. package/packages/core/node_modules/lodash-es/_baseSet.js +0 -51
  1193. package/packages/core/node_modules/lodash-es/_baseSetData.js +0 -17
  1194. package/packages/core/node_modules/lodash-es/_baseSetToString.js +0 -22
  1195. package/packages/core/node_modules/lodash-es/_baseShuffle.js +0 -15
  1196. package/packages/core/node_modules/lodash-es/_baseSlice.js +0 -31
  1197. package/packages/core/node_modules/lodash-es/_baseSome.js +0 -22
  1198. package/packages/core/node_modules/lodash-es/_baseSortBy.js +0 -21
  1199. package/packages/core/node_modules/lodash-es/_baseSortedIndex.js +0 -42
  1200. package/packages/core/node_modules/lodash-es/_baseSortedIndexBy.js +0 -67
  1201. package/packages/core/node_modules/lodash-es/_baseSortedUniq.js +0 -30
  1202. package/packages/core/node_modules/lodash-es/_baseSum.js +0 -24
  1203. package/packages/core/node_modules/lodash-es/_baseTimes.js +0 -20
  1204. package/packages/core/node_modules/lodash-es/_baseToNumber.js +0 -24
  1205. package/packages/core/node_modules/lodash-es/_baseToPairs.js +0 -18
  1206. package/packages/core/node_modules/lodash-es/_baseToString.js +0 -37
  1207. package/packages/core/node_modules/lodash-es/_baseTrim.js +0 -19
  1208. package/packages/core/node_modules/lodash-es/_baseUnary.js +0 -14
  1209. package/packages/core/node_modules/lodash-es/_baseUniq.js +0 -72
  1210. package/packages/core/node_modules/lodash-es/_baseUnset.js +0 -65
  1211. package/packages/core/node_modules/lodash-es/_baseUpdate.js +0 -18
  1212. package/packages/core/node_modules/lodash-es/_baseValues.js +0 -19
  1213. package/packages/core/node_modules/lodash-es/_baseWhile.js +0 -26
  1214. package/packages/core/node_modules/lodash-es/_baseWrapperValue.js +0 -25
  1215. package/packages/core/node_modules/lodash-es/_baseXor.js +0 -36
  1216. package/packages/core/node_modules/lodash-es/_baseZipObject.js +0 -23
  1217. package/packages/core/node_modules/lodash-es/_cacheHas.js +0 -13
  1218. package/packages/core/node_modules/lodash-es/_castArrayLikeObject.js +0 -14
  1219. package/packages/core/node_modules/lodash-es/_castFunction.js +0 -14
  1220. package/packages/core/node_modules/lodash-es/_castPath.js +0 -21
  1221. package/packages/core/node_modules/lodash-es/_castRest.js +0 -14
  1222. package/packages/core/node_modules/lodash-es/_castSlice.js +0 -18
  1223. package/packages/core/node_modules/lodash-es/_charsEndIndex.js +0 -19
  1224. package/packages/core/node_modules/lodash-es/_charsStartIndex.js +0 -20
  1225. package/packages/core/node_modules/lodash-es/_cloneArrayBuffer.js +0 -16
  1226. package/packages/core/node_modules/lodash-es/_cloneBuffer.js +0 -35
  1227. package/packages/core/node_modules/lodash-es/_cloneDataView.js +0 -16
  1228. package/packages/core/node_modules/lodash-es/_cloneMap.js +0 -22
  1229. package/packages/core/node_modules/lodash-es/_cloneRegExp.js +0 -17
  1230. package/packages/core/node_modules/lodash-es/_cloneSet.js +0 -22
  1231. package/packages/core/node_modules/lodash-es/_cloneSymbol.js +0 -18
  1232. package/packages/core/node_modules/lodash-es/_cloneTypedArray.js +0 -16
  1233. package/packages/core/node_modules/lodash-es/_compareAscending.js +0 -41
  1234. package/packages/core/node_modules/lodash-es/_compareMultiple.js +0 -44
  1235. package/packages/core/node_modules/lodash-es/_composeArgs.js +0 -39
  1236. package/packages/core/node_modules/lodash-es/_composeArgsRight.js +0 -41
  1237. package/packages/core/node_modules/lodash-es/_copyArray.js +0 -20
  1238. package/packages/core/node_modules/lodash-es/_copyObject.js +0 -40
  1239. package/packages/core/node_modules/lodash-es/_copySymbols.js +0 -16
  1240. package/packages/core/node_modules/lodash-es/_copySymbolsIn.js +0 -16
  1241. package/packages/core/node_modules/lodash-es/_coreJsData.js +0 -6
  1242. package/packages/core/node_modules/lodash-es/_countHolders.js +0 -21
  1243. package/packages/core/node_modules/lodash-es/_createAggregator.js +0 -23
  1244. package/packages/core/node_modules/lodash-es/_createAssigner.js +0 -37
  1245. package/packages/core/node_modules/lodash-es/_createBaseEach.js +0 -32
  1246. package/packages/core/node_modules/lodash-es/_createBaseFor.js +0 -25
  1247. package/packages/core/node_modules/lodash-es/_createBind.js +0 -28
  1248. package/packages/core/node_modules/lodash-es/_createCaseFirst.js +0 -33
  1249. package/packages/core/node_modules/lodash-es/_createCompounder.js +0 -24
  1250. package/packages/core/node_modules/lodash-es/_createCtor.js +0 -37
  1251. package/packages/core/node_modules/lodash-es/_createCurry.js +0 -46
  1252. package/packages/core/node_modules/lodash-es/_createFind.js +0 -25
  1253. package/packages/core/node_modules/lodash-es/_createFlow.js +0 -78
  1254. package/packages/core/node_modules/lodash-es/_createHybrid.js +0 -92
  1255. package/packages/core/node_modules/lodash-es/_createInverter.js +0 -17
  1256. package/packages/core/node_modules/lodash-es/_createMathOperation.js +0 -38
  1257. package/packages/core/node_modules/lodash-es/_createOver.js +0 -27
  1258. package/packages/core/node_modules/lodash-es/_createPadding.js +0 -33
  1259. package/packages/core/node_modules/lodash-es/_createPartial.js +0 -43
  1260. package/packages/core/node_modules/lodash-es/_createRange.js +0 -30
  1261. package/packages/core/node_modules/lodash-es/_createRecurry.js +0 -56
  1262. package/packages/core/node_modules/lodash-es/_createRelationalOperation.js +0 -20
  1263. package/packages/core/node_modules/lodash-es/_createRound.js +0 -35
  1264. package/packages/core/node_modules/lodash-es/_createSet.js +0 -19
  1265. package/packages/core/node_modules/lodash-es/_createToPairs.js +0 -30
  1266. package/packages/core/node_modules/lodash-es/_createWrap.js +0 -106
  1267. package/packages/core/node_modules/lodash-es/_customDefaultsAssignIn.js +0 -29
  1268. package/packages/core/node_modules/lodash-es/_customDefaultsMerge.js +0 -28
  1269. package/packages/core/node_modules/lodash-es/_customOmitClone.js +0 -16
  1270. package/packages/core/node_modules/lodash-es/_deburrLetter.js +0 -71
  1271. package/packages/core/node_modules/lodash-es/_defineProperty.js +0 -11
  1272. package/packages/core/node_modules/lodash-es/_equalArrays.js +0 -84
  1273. package/packages/core/node_modules/lodash-es/_equalByTag.js +0 -112
  1274. package/packages/core/node_modules/lodash-es/_equalObjects.js +0 -90
  1275. package/packages/core/node_modules/lodash-es/_escapeHtmlChar.js +0 -21
  1276. package/packages/core/node_modules/lodash-es/_escapeStringChar.js +0 -22
  1277. package/packages/core/node_modules/lodash-es/_flatRest.js +0 -16
  1278. package/packages/core/node_modules/lodash-es/_freeGlobal.js +0 -4
  1279. package/packages/core/node_modules/lodash-es/_getAllKeys.js +0 -16
  1280. package/packages/core/node_modules/lodash-es/_getAllKeysIn.js +0 -17
  1281. package/packages/core/node_modules/lodash-es/_getData.js +0 -15
  1282. package/packages/core/node_modules/lodash-es/_getFuncName.js +0 -31
  1283. package/packages/core/node_modules/lodash-es/_getHolder.js +0 -13
  1284. package/packages/core/node_modules/lodash-es/_getMapData.js +0 -18
  1285. package/packages/core/node_modules/lodash-es/_getMatchData.js +0 -24
  1286. package/packages/core/node_modules/lodash-es/_getNative.js +0 -17
  1287. package/packages/core/node_modules/lodash-es/_getPrototype.js +0 -6
  1288. package/packages/core/node_modules/lodash-es/_getRawTag.js +0 -46
  1289. package/packages/core/node_modules/lodash-es/_getSymbols.js +0 -30
  1290. package/packages/core/node_modules/lodash-es/_getSymbolsIn.js +0 -25
  1291. package/packages/core/node_modules/lodash-es/_getTag.js +0 -58
  1292. package/packages/core/node_modules/lodash-es/_getValue.js +0 -13
  1293. package/packages/core/node_modules/lodash-es/_getView.js +0 -33
  1294. package/packages/core/node_modules/lodash-es/_getWrapDetails.js +0 -17
  1295. package/packages/core/node_modules/lodash-es/_hasPath.js +0 -39
  1296. package/packages/core/node_modules/lodash-es/_hasUnicode.js +0 -26
  1297. package/packages/core/node_modules/lodash-es/_hasUnicodeWord.js +0 -15
  1298. package/packages/core/node_modules/lodash-es/_hashClear.js +0 -15
  1299. package/packages/core/node_modules/lodash-es/_hashDelete.js +0 -17
  1300. package/packages/core/node_modules/lodash-es/_hashGet.js +0 -30
  1301. package/packages/core/node_modules/lodash-es/_hashHas.js +0 -23
  1302. package/packages/core/node_modules/lodash-es/_hashSet.js +0 -23
  1303. package/packages/core/node_modules/lodash-es/_initCloneArray.js +0 -26
  1304. package/packages/core/node_modules/lodash-es/_initCloneByTag.js +0 -77
  1305. package/packages/core/node_modules/lodash-es/_initCloneObject.js +0 -18
  1306. package/packages/core/node_modules/lodash-es/_insertWrapDetails.js +0 -23
  1307. package/packages/core/node_modules/lodash-es/_isFlattenable.js +0 -20
  1308. package/packages/core/node_modules/lodash-es/_isIndex.js +0 -25
  1309. package/packages/core/node_modules/lodash-es/_isIterateeCall.js +0 -30
  1310. package/packages/core/node_modules/lodash-es/_isKey.js +0 -29
  1311. package/packages/core/node_modules/lodash-es/_isKeyable.js +0 -15
  1312. package/packages/core/node_modules/lodash-es/_isLaziable.js +0 -28
  1313. package/packages/core/node_modules/lodash-es/_isMaskable.js +0 -14
  1314. package/packages/core/node_modules/lodash-es/_isMasked.js +0 -20
  1315. package/packages/core/node_modules/lodash-es/_isPrototype.js +0 -18
  1316. package/packages/core/node_modules/lodash-es/_isStrictComparable.js +0 -15
  1317. package/packages/core/node_modules/lodash-es/_iteratorToArray.js +0 -18
  1318. package/packages/core/node_modules/lodash-es/_lazyClone.js +0 -23
  1319. package/packages/core/node_modules/lodash-es/_lazyReverse.js +0 -23
  1320. package/packages/core/node_modules/lodash-es/_lazyValue.js +0 -69
  1321. package/packages/core/node_modules/lodash-es/_listCacheClear.js +0 -13
  1322. package/packages/core/node_modules/lodash-es/_listCacheDelete.js +0 -35
  1323. package/packages/core/node_modules/lodash-es/_listCacheGet.js +0 -19
  1324. package/packages/core/node_modules/lodash-es/_listCacheHas.js +0 -16
  1325. package/packages/core/node_modules/lodash-es/_listCacheSet.js +0 -26
  1326. package/packages/core/node_modules/lodash-es/_mapCacheClear.js +0 -21
  1327. package/packages/core/node_modules/lodash-es/_mapCacheDelete.js +0 -18
  1328. package/packages/core/node_modules/lodash-es/_mapCacheGet.js +0 -16
  1329. package/packages/core/node_modules/lodash-es/_mapCacheHas.js +0 -16
  1330. package/packages/core/node_modules/lodash-es/_mapCacheSet.js +0 -22
  1331. package/packages/core/node_modules/lodash-es/_mapToArray.js +0 -18
  1332. package/packages/core/node_modules/lodash-es/_matchesStrictComparable.js +0 -20
  1333. package/packages/core/node_modules/lodash-es/_memoizeCapped.js +0 -26
  1334. package/packages/core/node_modules/lodash-es/_mergeData.js +0 -90
  1335. package/packages/core/node_modules/lodash-es/_metaMap.js +0 -6
  1336. package/packages/core/node_modules/lodash-es/_nativeCreate.js +0 -6
  1337. package/packages/core/node_modules/lodash-es/_nativeKeys.js +0 -6
  1338. package/packages/core/node_modules/lodash-es/_nativeKeysIn.js +0 -20
  1339. package/packages/core/node_modules/lodash-es/_nodeUtil.js +0 -30
  1340. package/packages/core/node_modules/lodash-es/_objectToString.js +0 -22
  1341. package/packages/core/node_modules/lodash-es/_overArg.js +0 -15
  1342. package/packages/core/node_modules/lodash-es/_overRest.js +0 -36
  1343. package/packages/core/node_modules/lodash-es/_parent.js +0 -16
  1344. package/packages/core/node_modules/lodash-es/_reEscape.js +0 -4
  1345. package/packages/core/node_modules/lodash-es/_reEvaluate.js +0 -4
  1346. package/packages/core/node_modules/lodash-es/_reInterpolate.js +0 -4
  1347. package/packages/core/node_modules/lodash-es/_realNames.js +0 -4
  1348. package/packages/core/node_modules/lodash-es/_reorder.js +0 -29
  1349. package/packages/core/node_modules/lodash-es/_replaceHolders.js +0 -29
  1350. package/packages/core/node_modules/lodash-es/_root.js +0 -9
  1351. package/packages/core/node_modules/lodash-es/_safeGet.js +0 -21
  1352. package/packages/core/node_modules/lodash-es/_setCacheAdd.js +0 -19
  1353. package/packages/core/node_modules/lodash-es/_setCacheHas.js +0 -14
  1354. package/packages/core/node_modules/lodash-es/_setData.js +0 -20
  1355. package/packages/core/node_modules/lodash-es/_setToArray.js +0 -18
  1356. package/packages/core/node_modules/lodash-es/_setToPairs.js +0 -18
  1357. package/packages/core/node_modules/lodash-es/_setToString.js +0 -14
  1358. package/packages/core/node_modules/lodash-es/_setWrapToString.js +0 -21
  1359. package/packages/core/node_modules/lodash-es/_shortOut.js +0 -37
  1360. package/packages/core/node_modules/lodash-es/_shuffleSelf.js +0 -28
  1361. package/packages/core/node_modules/lodash-es/_stackClear.js +0 -15
  1362. package/packages/core/node_modules/lodash-es/_stackDelete.js +0 -18
  1363. package/packages/core/node_modules/lodash-es/_stackGet.js +0 -14
  1364. package/packages/core/node_modules/lodash-es/_stackHas.js +0 -14
  1365. package/packages/core/node_modules/lodash-es/_stackSet.js +0 -34
  1366. package/packages/core/node_modules/lodash-es/_strictIndexOf.js +0 -23
  1367. package/packages/core/node_modules/lodash-es/_strictLastIndexOf.js +0 -21
  1368. package/packages/core/node_modules/lodash-es/_stringSize.js +0 -18
  1369. package/packages/core/node_modules/lodash-es/_stringToArray.js +0 -18
  1370. package/packages/core/node_modules/lodash-es/_stringToPath.js +0 -27
  1371. package/packages/core/node_modules/lodash-es/_toKey.js +0 -21
  1372. package/packages/core/node_modules/lodash-es/_toSource.js +0 -26
  1373. package/packages/core/node_modules/lodash-es/_trimmedEndIndex.js +0 -19
  1374. package/packages/core/node_modules/lodash-es/_unescapeHtmlChar.js +0 -21
  1375. package/packages/core/node_modules/lodash-es/_unicodeSize.js +0 -44
  1376. package/packages/core/node_modules/lodash-es/_unicodeToArray.js +0 -40
  1377. package/packages/core/node_modules/lodash-es/_unicodeWords.js +0 -69
  1378. package/packages/core/node_modules/lodash-es/_updateWrapDetails.js +0 -46
  1379. package/packages/core/node_modules/lodash-es/_wrapperClone.js +0 -23
  1380. package/packages/core/node_modules/lodash-es/add.js +0 -22
  1381. package/packages/core/node_modules/lodash-es/after.js +0 -42
  1382. package/packages/core/node_modules/lodash-es/array.default.js +0 -81
  1383. package/packages/core/node_modules/lodash-es/array.js +0 -66
  1384. package/packages/core/node_modules/lodash-es/ary.js +0 -29
  1385. package/packages/core/node_modules/lodash-es/assign.js +0 -58
  1386. package/packages/core/node_modules/lodash-es/assignIn.js +0 -40
  1387. package/packages/core/node_modules/lodash-es/assignInWith.js +0 -38
  1388. package/packages/core/node_modules/lodash-es/assignWith.js +0 -37
  1389. package/packages/core/node_modules/lodash-es/at.js +0 -23
  1390. package/packages/core/node_modules/lodash-es/attempt.js +0 -35
  1391. package/packages/core/node_modules/lodash-es/before.js +0 -40
  1392. package/packages/core/node_modules/lodash-es/bind.js +0 -57
  1393. package/packages/core/node_modules/lodash-es/bindAll.js +0 -41
  1394. package/packages/core/node_modules/lodash-es/bindKey.js +0 -68
  1395. package/packages/core/node_modules/lodash-es/camelCase.js +0 -29
  1396. package/packages/core/node_modules/lodash-es/capitalize.js +0 -23
  1397. package/packages/core/node_modules/lodash-es/castArray.js +0 -44
  1398. package/packages/core/node_modules/lodash-es/ceil.js +0 -26
  1399. package/packages/core/node_modules/lodash-es/chain.js +0 -38
  1400. package/packages/core/node_modules/lodash-es/chunk.js +0 -50
  1401. package/packages/core/node_modules/lodash-es/clamp.js +0 -39
  1402. package/packages/core/node_modules/lodash-es/clone.js +0 -36
  1403. package/packages/core/node_modules/lodash-es/cloneDeep.js +0 -29
  1404. package/packages/core/node_modules/lodash-es/cloneDeepWith.js +0 -40
  1405. package/packages/core/node_modules/lodash-es/cloneWith.js +0 -42
  1406. package/packages/core/node_modules/lodash-es/collection.default.js +0 -37
  1407. package/packages/core/node_modules/lodash-es/collection.js +0 -29
  1408. package/packages/core/node_modules/lodash-es/commit.js +0 -33
  1409. package/packages/core/node_modules/lodash-es/compact.js +0 -31
  1410. package/packages/core/node_modules/lodash-es/concat.js +0 -43
  1411. package/packages/core/node_modules/lodash-es/cond.js +0 -60
  1412. package/packages/core/node_modules/lodash-es/conforms.js +0 -35
  1413. package/packages/core/node_modules/lodash-es/conformsTo.js +0 -32
  1414. package/packages/core/node_modules/lodash-es/constant.js +0 -26
  1415. package/packages/core/node_modules/lodash-es/countBy.js +0 -40
  1416. package/packages/core/node_modules/lodash-es/create.js +0 -43
  1417. package/packages/core/node_modules/lodash-es/curry.js +0 -57
  1418. package/packages/core/node_modules/lodash-es/curryRight.js +0 -54
  1419. package/packages/core/node_modules/lodash-es/date.default.js +0 -5
  1420. package/packages/core/node_modules/lodash-es/date.js +0 -2
  1421. package/packages/core/node_modules/lodash-es/debounce.js +0 -191
  1422. package/packages/core/node_modules/lodash-es/deburr.js +0 -45
  1423. package/packages/core/node_modules/lodash-es/defaultTo.js +0 -25
  1424. package/packages/core/node_modules/lodash-es/defaults.js +0 -64
  1425. package/packages/core/node_modules/lodash-es/defaultsDeep.js +0 -30
  1426. package/packages/core/node_modules/lodash-es/defer.js +0 -26
  1427. package/packages/core/node_modules/lodash-es/delay.js +0 -28
  1428. package/packages/core/node_modules/lodash-es/difference.js +0 -33
  1429. package/packages/core/node_modules/lodash-es/differenceBy.js +0 -44
  1430. package/packages/core/node_modules/lodash-es/differenceWith.js +0 -40
  1431. package/packages/core/node_modules/lodash-es/divide.js +0 -22
  1432. package/packages/core/node_modules/lodash-es/drop.js +0 -38
  1433. package/packages/core/node_modules/lodash-es/dropRight.js +0 -39
  1434. package/packages/core/node_modules/lodash-es/dropRightWhile.js +0 -45
  1435. package/packages/core/node_modules/lodash-es/dropWhile.js +0 -45
  1436. package/packages/core/node_modules/lodash-es/each.js +0 -1
  1437. package/packages/core/node_modules/lodash-es/eachRight.js +0 -1
  1438. package/packages/core/node_modules/lodash-es/endsWith.js +0 -43
  1439. package/packages/core/node_modules/lodash-es/entries.js +0 -1
  1440. package/packages/core/node_modules/lodash-es/entriesIn.js +0 -1
  1441. package/packages/core/node_modules/lodash-es/eq.js +0 -37
  1442. package/packages/core/node_modules/lodash-es/escape.js +0 -43
  1443. package/packages/core/node_modules/lodash-es/escapeRegExp.js +0 -32
  1444. package/packages/core/node_modules/lodash-es/every.js +0 -56
  1445. package/packages/core/node_modules/lodash-es/extend.js +0 -1
  1446. package/packages/core/node_modules/lodash-es/extendWith.js +0 -1
  1447. package/packages/core/node_modules/lodash-es/fill.js +0 -45
  1448. package/packages/core/node_modules/lodash-es/filter.js +0 -52
  1449. package/packages/core/node_modules/lodash-es/find.js +0 -42
  1450. package/packages/core/node_modules/lodash-es/findIndex.js +0 -55
  1451. package/packages/core/node_modules/lodash-es/findKey.js +0 -44
  1452. package/packages/core/node_modules/lodash-es/findLast.js +0 -25
  1453. package/packages/core/node_modules/lodash-es/findLastIndex.js +0 -59
  1454. package/packages/core/node_modules/lodash-es/findLastKey.js +0 -44
  1455. package/packages/core/node_modules/lodash-es/first.js +0 -1
  1456. package/packages/core/node_modules/lodash-es/flatMap.js +0 -29
  1457. package/packages/core/node_modules/lodash-es/flatMapDeep.js +0 -31
  1458. package/packages/core/node_modules/lodash-es/flatMapDepth.js +0 -31
  1459. package/packages/core/node_modules/lodash-es/flatten.js +0 -22
  1460. package/packages/core/node_modules/lodash-es/flattenDeep.js +0 -25
  1461. package/packages/core/node_modules/lodash-es/flattenDepth.js +0 -33
  1462. package/packages/core/node_modules/lodash-es/flip.js +0 -28
  1463. package/packages/core/node_modules/lodash-es/floor.js +0 -26
  1464. package/packages/core/node_modules/lodash-es/flow.js +0 -27
  1465. package/packages/core/node_modules/lodash-es/flowRight.js +0 -26
  1466. package/packages/core/node_modules/lodash-es/forEach.js +0 -41
  1467. package/packages/core/node_modules/lodash-es/forEachRight.js +0 -31
  1468. package/packages/core/node_modules/lodash-es/forIn.js +0 -39
  1469. package/packages/core/node_modules/lodash-es/forInRight.js +0 -37
  1470. package/packages/core/node_modules/lodash-es/forOwn.js +0 -36
  1471. package/packages/core/node_modules/lodash-es/forOwnRight.js +0 -34
  1472. package/packages/core/node_modules/lodash-es/fromPairs.js +0 -28
  1473. package/packages/core/node_modules/lodash-es/function.default.js +0 -31
  1474. package/packages/core/node_modules/lodash-es/function.js +0 -24
  1475. package/packages/core/node_modules/lodash-es/functions.js +0 -31
  1476. package/packages/core/node_modules/lodash-es/functionsIn.js +0 -31
  1477. package/packages/core/node_modules/lodash-es/get.js +0 -33
  1478. package/packages/core/node_modules/lodash-es/groupBy.js +0 -41
  1479. package/packages/core/node_modules/lodash-es/gt.js +0 -29
  1480. package/packages/core/node_modules/lodash-es/gte.js +0 -30
  1481. package/packages/core/node_modules/lodash-es/has.js +0 -35
  1482. package/packages/core/node_modules/lodash-es/hasIn.js +0 -34
  1483. package/packages/core/node_modules/lodash-es/head.js +0 -23
  1484. package/packages/core/node_modules/lodash-es/identity.js +0 -21
  1485. package/packages/core/node_modules/lodash-es/inRange.js +0 -55
  1486. package/packages/core/node_modules/lodash-es/includes.js +0 -53
  1487. package/packages/core/node_modules/lodash-es/indexOf.js +0 -42
  1488. package/packages/core/node_modules/lodash-es/initial.js +0 -22
  1489. package/packages/core/node_modules/lodash-es/intersection.js +0 -30
  1490. package/packages/core/node_modules/lodash-es/intersectionBy.js +0 -45
  1491. package/packages/core/node_modules/lodash-es/intersectionWith.js +0 -41
  1492. package/packages/core/node_modules/lodash-es/invert.js +0 -42
  1493. package/packages/core/node_modules/lodash-es/invertBy.js +0 -56
  1494. package/packages/core/node_modules/lodash-es/invoke.js +0 -24
  1495. package/packages/core/node_modules/lodash-es/invokeMap.js +0 -41
  1496. package/packages/core/node_modules/lodash-es/isArguments.js +0 -36
  1497. package/packages/core/node_modules/lodash-es/isArray.js +0 -26
  1498. package/packages/core/node_modules/lodash-es/isArrayBuffer.js +0 -27
  1499. package/packages/core/node_modules/lodash-es/isArrayLike.js +0 -33
  1500. package/packages/core/node_modules/lodash-es/isArrayLikeObject.js +0 -33
  1501. package/packages/core/node_modules/lodash-es/isBoolean.js +0 -29
  1502. package/packages/core/node_modules/lodash-es/isBuffer.js +0 -38
  1503. package/packages/core/node_modules/lodash-es/isDate.js +0 -27
  1504. package/packages/core/node_modules/lodash-es/isElement.js +0 -25
  1505. package/packages/core/node_modules/lodash-es/isEmpty.js +0 -77
  1506. package/packages/core/node_modules/lodash-es/isEqual.js +0 -35
  1507. package/packages/core/node_modules/lodash-es/isEqualWith.js +0 -41
  1508. package/packages/core/node_modules/lodash-es/isError.js +0 -36
  1509. package/packages/core/node_modules/lodash-es/isFinite.js +0 -36
  1510. package/packages/core/node_modules/lodash-es/isFunction.js +0 -37
  1511. package/packages/core/node_modules/lodash-es/isInteger.js +0 -33
  1512. package/packages/core/node_modules/lodash-es/isLength.js +0 -35
  1513. package/packages/core/node_modules/lodash-es/isMap.js +0 -27
  1514. package/packages/core/node_modules/lodash-es/isMatch.js +0 -36
  1515. package/packages/core/node_modules/lodash-es/isMatchWith.js +0 -41
  1516. package/packages/core/node_modules/lodash-es/isNaN.js +0 -38
  1517. package/packages/core/node_modules/lodash-es/isNative.js +0 -40
  1518. package/packages/core/node_modules/lodash-es/isNil.js +0 -25
  1519. package/packages/core/node_modules/lodash-es/isNull.js +0 -22
  1520. package/packages/core/node_modules/lodash-es/isNumber.js +0 -38
  1521. package/packages/core/node_modules/lodash-es/isObject.js +0 -31
  1522. package/packages/core/node_modules/lodash-es/isObjectLike.js +0 -29
  1523. package/packages/core/node_modules/lodash-es/isPlainObject.js +0 -62
  1524. package/packages/core/node_modules/lodash-es/isRegExp.js +0 -27
  1525. package/packages/core/node_modules/lodash-es/isSafeInteger.js +0 -37
  1526. package/packages/core/node_modules/lodash-es/isSet.js +0 -27
  1527. package/packages/core/node_modules/lodash-es/isString.js +0 -30
  1528. package/packages/core/node_modules/lodash-es/isSymbol.js +0 -29
  1529. package/packages/core/node_modules/lodash-es/isTypedArray.js +0 -27
  1530. package/packages/core/node_modules/lodash-es/isUndefined.js +0 -22
  1531. package/packages/core/node_modules/lodash-es/isWeakMap.js +0 -28
  1532. package/packages/core/node_modules/lodash-es/isWeakSet.js +0 -28
  1533. package/packages/core/node_modules/lodash-es/iteratee.js +0 -53
  1534. package/packages/core/node_modules/lodash-es/join.js +0 -26
  1535. package/packages/core/node_modules/lodash-es/kebabCase.js +0 -28
  1536. package/packages/core/node_modules/lodash-es/keyBy.js +0 -36
  1537. package/packages/core/node_modules/lodash-es/keys.js +0 -37
  1538. package/packages/core/node_modules/lodash-es/keysIn.js +0 -32
  1539. package/packages/core/node_modules/lodash-es/lang.default.js +0 -71
  1540. package/packages/core/node_modules/lodash-es/lang.js +0 -57
  1541. package/packages/core/node_modules/lodash-es/last.js +0 -20
  1542. package/packages/core/node_modules/lodash-es/lastIndexOf.js +0 -46
  1543. package/packages/core/node_modules/lodash-es/lodash.default.js +0 -643
  1544. package/packages/core/node_modules/lodash-es/lodash.js +0 -331
  1545. package/packages/core/node_modules/lodash-es/lowerCase.js +0 -27
  1546. package/packages/core/node_modules/lodash-es/lowerFirst.js +0 -22
  1547. package/packages/core/node_modules/lodash-es/lt.js +0 -29
  1548. package/packages/core/node_modules/lodash-es/lte.js +0 -30
  1549. package/packages/core/node_modules/lodash-es/map.js +0 -53
  1550. package/packages/core/node_modules/lodash-es/mapKeys.js +0 -36
  1551. package/packages/core/node_modules/lodash-es/mapValues.js +0 -43
  1552. package/packages/core/node_modules/lodash-es/matches.js +0 -46
  1553. package/packages/core/node_modules/lodash-es/matchesProperty.js +0 -44
  1554. package/packages/core/node_modules/lodash-es/math.default.js +0 -21
  1555. package/packages/core/node_modules/lodash-es/math.js +0 -16
  1556. package/packages/core/node_modules/lodash-es/max.js +0 -29
  1557. package/packages/core/node_modules/lodash-es/maxBy.js +0 -34
  1558. package/packages/core/node_modules/lodash-es/mean.js +0 -22
  1559. package/packages/core/node_modules/lodash-es/meanBy.js +0 -31
  1560. package/packages/core/node_modules/lodash-es/memoize.js +0 -73
  1561. package/packages/core/node_modules/lodash-es/merge.js +0 -39
  1562. package/packages/core/node_modules/lodash-es/mergeWith.js +0 -39
  1563. package/packages/core/node_modules/lodash-es/method.js +0 -34
  1564. package/packages/core/node_modules/lodash-es/methodOf.js +0 -33
  1565. package/packages/core/node_modules/lodash-es/min.js +0 -29
  1566. package/packages/core/node_modules/lodash-es/minBy.js +0 -34
  1567. package/packages/core/node_modules/lodash-es/mixin.js +0 -74
  1568. package/packages/core/node_modules/lodash-es/multiply.js +0 -22
  1569. package/packages/core/node_modules/lodash-es/negate.js +0 -40
  1570. package/packages/core/node_modules/lodash-es/next.js +0 -35
  1571. package/packages/core/node_modules/lodash-es/noop.js +0 -17
  1572. package/packages/core/node_modules/lodash-es/now.js +0 -23
  1573. package/packages/core/node_modules/lodash-es/nth.js +0 -29
  1574. package/packages/core/node_modules/lodash-es/nthArg.js +0 -32
  1575. package/packages/core/node_modules/lodash-es/number.default.js +0 -7
  1576. package/packages/core/node_modules/lodash-es/number.js +0 -4
  1577. package/packages/core/node_modules/lodash-es/object.default.js +0 -60
  1578. package/packages/core/node_modules/lodash-es/object.js +0 -48
  1579. package/packages/core/node_modules/lodash-es/omit.js +0 -57
  1580. package/packages/core/node_modules/lodash-es/omitBy.js +0 -29
  1581. package/packages/core/node_modules/lodash-es/once.js +0 -25
  1582. package/packages/core/node_modules/lodash-es/orderBy.js +0 -47
  1583. package/packages/core/node_modules/lodash-es/over.js +0 -24
  1584. package/packages/core/node_modules/lodash-es/overArgs.js +0 -61
  1585. package/packages/core/node_modules/lodash-es/overEvery.js +0 -34
  1586. package/packages/core/node_modules/lodash-es/overSome.js +0 -37
  1587. package/packages/core/node_modules/lodash-es/package.json +0 -21
  1588. package/packages/core/node_modules/lodash-es/pad.js +0 -49
  1589. package/packages/core/node_modules/lodash-es/padEnd.js +0 -39
  1590. package/packages/core/node_modules/lodash-es/padStart.js +0 -39
  1591. package/packages/core/node_modules/lodash-es/parseInt.js +0 -43
  1592. package/packages/core/node_modules/lodash-es/partial.js +0 -50
  1593. package/packages/core/node_modules/lodash-es/partialRight.js +0 -49
  1594. package/packages/core/node_modules/lodash-es/partition.js +0 -43
  1595. package/packages/core/node_modules/lodash-es/pick.js +0 -25
  1596. package/packages/core/node_modules/lodash-es/pickBy.js +0 -37
  1597. package/packages/core/node_modules/lodash-es/plant.js +0 -48
  1598. package/packages/core/node_modules/lodash-es/property.js +0 -32
  1599. package/packages/core/node_modules/lodash-es/propertyOf.js +0 -30
  1600. package/packages/core/node_modules/lodash-es/pull.js +0 -29
  1601. package/packages/core/node_modules/lodash-es/pullAll.js +0 -29
  1602. package/packages/core/node_modules/lodash-es/pullAllBy.js +0 -33
  1603. package/packages/core/node_modules/lodash-es/pullAllWith.js +0 -32
  1604. package/packages/core/node_modules/lodash-es/pullAt.js +0 -43
  1605. package/packages/core/node_modules/lodash-es/random.js +0 -82
  1606. package/packages/core/node_modules/lodash-es/range.js +0 -46
  1607. package/packages/core/node_modules/lodash-es/rangeRight.js +0 -41
  1608. package/packages/core/node_modules/lodash-es/rearg.js +0 -33
  1609. package/packages/core/node_modules/lodash-es/reduce.js +0 -51
  1610. package/packages/core/node_modules/lodash-es/reduceRight.js +0 -36
  1611. package/packages/core/node_modules/lodash-es/reject.js +0 -46
  1612. package/packages/core/node_modules/lodash-es/remove.js +0 -53
  1613. package/packages/core/node_modules/lodash-es/repeat.js +0 -37
  1614. package/packages/core/node_modules/lodash-es/replace.js +0 -29
  1615. package/packages/core/node_modules/lodash-es/rest.js +0 -40
  1616. package/packages/core/node_modules/lodash-es/result.js +0 -56
  1617. package/packages/core/node_modules/lodash-es/reverse.js +0 -34
  1618. package/packages/core/node_modules/lodash-es/round.js +0 -26
  1619. package/packages/core/node_modules/lodash-es/sample.js +0 -24
  1620. package/packages/core/node_modules/lodash-es/sampleSize.js +0 -37
  1621. package/packages/core/node_modules/lodash-es/seq.default.js +0 -20
  1622. package/packages/core/node_modules/lodash-es/seq.js +0 -15
  1623. package/packages/core/node_modules/lodash-es/set.js +0 -35
  1624. package/packages/core/node_modules/lodash-es/setWith.js +0 -32
  1625. package/packages/core/node_modules/lodash-es/shuffle.js +0 -25
  1626. package/packages/core/node_modules/lodash-es/size.js +0 -46
  1627. package/packages/core/node_modules/lodash-es/slice.js +0 -37
  1628. package/packages/core/node_modules/lodash-es/snakeCase.js +0 -28
  1629. package/packages/core/node_modules/lodash-es/some.js +0 -51
  1630. package/packages/core/node_modules/lodash-es/sortBy.js +0 -48
  1631. package/packages/core/node_modules/lodash-es/sortedIndex.js +0 -24
  1632. package/packages/core/node_modules/lodash-es/sortedIndexBy.js +0 -33
  1633. package/packages/core/node_modules/lodash-es/sortedIndexOf.js +0 -31
  1634. package/packages/core/node_modules/lodash-es/sortedLastIndex.js +0 -25
  1635. package/packages/core/node_modules/lodash-es/sortedLastIndexBy.js +0 -33
  1636. package/packages/core/node_modules/lodash-es/sortedLastIndexOf.js +0 -31
  1637. package/packages/core/node_modules/lodash-es/sortedUniq.js +0 -24
  1638. package/packages/core/node_modules/lodash-es/sortedUniqBy.js +0 -26
  1639. package/packages/core/node_modules/lodash-es/split.js +0 -52
  1640. package/packages/core/node_modules/lodash-es/spread.js +0 -63
  1641. package/packages/core/node_modules/lodash-es/startCase.js +0 -29
  1642. package/packages/core/node_modules/lodash-es/startsWith.js +0 -39
  1643. package/packages/core/node_modules/lodash-es/string.default.js +0 -41
  1644. package/packages/core/node_modules/lodash-es/string.js +0 -32
  1645. package/packages/core/node_modules/lodash-es/stubArray.js +0 -23
  1646. package/packages/core/node_modules/lodash-es/stubFalse.js +0 -18
  1647. package/packages/core/node_modules/lodash-es/stubObject.js +0 -23
  1648. package/packages/core/node_modules/lodash-es/stubString.js +0 -18
  1649. package/packages/core/node_modules/lodash-es/stubTrue.js +0 -18
  1650. package/packages/core/node_modules/lodash-es/subtract.js +0 -22
  1651. package/packages/core/node_modules/lodash-es/sum.js +0 -24
  1652. package/packages/core/node_modules/lodash-es/sumBy.js +0 -33
  1653. package/packages/core/node_modules/lodash-es/tail.js +0 -22
  1654. package/packages/core/node_modules/lodash-es/take.js +0 -37
  1655. package/packages/core/node_modules/lodash-es/takeRight.js +0 -39
  1656. package/packages/core/node_modules/lodash-es/takeRightWhile.js +0 -45
  1657. package/packages/core/node_modules/lodash-es/takeWhile.js +0 -45
  1658. package/packages/core/node_modules/lodash-es/tap.js +0 -29
  1659. package/packages/core/node_modules/lodash-es/template.js +0 -272
  1660. package/packages/core/node_modules/lodash-es/templateSettings.js +0 -67
  1661. package/packages/core/node_modules/lodash-es/throttle.js +0 -69
  1662. package/packages/core/node_modules/lodash-es/thru.js +0 -28
  1663. package/packages/core/node_modules/lodash-es/times.js +0 -51
  1664. package/packages/core/node_modules/lodash-es/toArray.js +0 -58
  1665. package/packages/core/node_modules/lodash-es/toFinite.js +0 -42
  1666. package/packages/core/node_modules/lodash-es/toInteger.js +0 -36
  1667. package/packages/core/node_modules/lodash-es/toIterator.js +0 -23
  1668. package/packages/core/node_modules/lodash-es/toJSON.js +0 -1
  1669. package/packages/core/node_modules/lodash-es/toLength.js +0 -38
  1670. package/packages/core/node_modules/lodash-es/toLower.js +0 -28
  1671. package/packages/core/node_modules/lodash-es/toNumber.js +0 -64
  1672. package/packages/core/node_modules/lodash-es/toPairs.js +0 -30
  1673. package/packages/core/node_modules/lodash-es/toPairsIn.js +0 -30
  1674. package/packages/core/node_modules/lodash-es/toPath.js +0 -33
  1675. package/packages/core/node_modules/lodash-es/toPlainObject.js +0 -32
  1676. package/packages/core/node_modules/lodash-es/toSafeInteger.js +0 -37
  1677. package/packages/core/node_modules/lodash-es/toString.js +0 -28
  1678. package/packages/core/node_modules/lodash-es/toUpper.js +0 -28
  1679. package/packages/core/node_modules/lodash-es/transform.js +0 -65
  1680. package/packages/core/node_modules/lodash-es/trim.js +0 -47
  1681. package/packages/core/node_modules/lodash-es/trimEnd.js +0 -41
  1682. package/packages/core/node_modules/lodash-es/trimStart.js +0 -43
  1683. package/packages/core/node_modules/lodash-es/truncate.js +0 -111
  1684. package/packages/core/node_modules/lodash-es/unary.js +0 -22
  1685. package/packages/core/node_modules/lodash-es/unescape.js +0 -34
  1686. package/packages/core/node_modules/lodash-es/union.js +0 -26
  1687. package/packages/core/node_modules/lodash-es/unionBy.js +0 -39
  1688. package/packages/core/node_modules/lodash-es/unionWith.js +0 -34
  1689. package/packages/core/node_modules/lodash-es/uniq.js +0 -25
  1690. package/packages/core/node_modules/lodash-es/uniqBy.js +0 -31
  1691. package/packages/core/node_modules/lodash-es/uniqWith.js +0 -28
  1692. package/packages/core/node_modules/lodash-es/uniqueId.js +0 -28
  1693. package/packages/core/node_modules/lodash-es/unset.js +0 -34
  1694. package/packages/core/node_modules/lodash-es/unzip.js +0 -45
  1695. package/packages/core/node_modules/lodash-es/unzipWith.js +0 -39
  1696. package/packages/core/node_modules/lodash-es/update.js +0 -35
  1697. package/packages/core/node_modules/lodash-es/updateWith.js +0 -33
  1698. package/packages/core/node_modules/lodash-es/upperCase.js +0 -27
  1699. package/packages/core/node_modules/lodash-es/upperFirst.js +0 -22
  1700. package/packages/core/node_modules/lodash-es/util.default.js +0 -42
  1701. package/packages/core/node_modules/lodash-es/util.js +0 -33
  1702. package/packages/core/node_modules/lodash-es/value.js +0 -1
  1703. package/packages/core/node_modules/lodash-es/valueOf.js +0 -1
  1704. package/packages/core/node_modules/lodash-es/values.js +0 -34
  1705. package/packages/core/node_modules/lodash-es/valuesIn.js +0 -32
  1706. package/packages/core/node_modules/lodash-es/without.js +0 -31
  1707. package/packages/core/node_modules/lodash-es/words.js +0 -35
  1708. package/packages/core/node_modules/lodash-es/wrap.js +0 -30
  1709. package/packages/core/node_modules/lodash-es/wrapperAt.js +0 -48
  1710. package/packages/core/node_modules/lodash-es/wrapperChain.js +0 -34
  1711. package/packages/core/node_modules/lodash-es/wrapperLodash.js +0 -147
  1712. package/packages/core/node_modules/lodash-es/wrapperReverse.js +0 -44
  1713. package/packages/core/node_modules/lodash-es/wrapperValue.js +0 -21
  1714. package/packages/core/node_modules/lodash-es/xor.js +0 -28
  1715. package/packages/core/node_modules/lodash-es/xorBy.js +0 -39
  1716. package/packages/core/node_modules/lodash-es/xorWith.js +0 -34
  1717. package/packages/core/node_modules/lodash-es/zip.js +0 -22
  1718. package/packages/core/node_modules/lodash-es/zipObject.js +0 -24
  1719. package/packages/core/node_modules/lodash-es/zipObjectDeep.js +0 -23
  1720. package/packages/core/node_modules/lodash-es/zipWith.js +0 -32
  1721. package/packages/core/node_modules/loglevel/.editorconfig +0 -27
  1722. package/packages/core/node_modules/loglevel/CONTRIBUTING.md +0 -98
  1723. package/packages/core/node_modules/loglevel/Gruntfile.js +0 -165
  1724. package/packages/core/node_modules/loglevel/LICENSE-MIT +0 -22
  1725. package/packages/core/node_modules/loglevel/README.md +0 -408
  1726. package/packages/core/node_modules/loglevel/_config.yml +0 -1
  1727. package/packages/core/node_modules/loglevel/bower.json +0 -11
  1728. package/packages/core/node_modules/loglevel/demo/index.html +0 -139
  1729. package/packages/core/node_modules/loglevel/demo/script.js +0 -86
  1730. package/packages/core/node_modules/loglevel/demo/styles.css +0 -107
  1731. package/packages/core/node_modules/loglevel/index.d.ts +0 -203
  1732. package/packages/core/node_modules/loglevel/lib/loglevel.js +0 -357
  1733. package/packages/core/node_modules/loglevel/package.json +0 -63
  1734. package/packages/core/node_modules/math-intrinsics/.eslintrc +0 -16
  1735. package/packages/core/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
  1736. package/packages/core/node_modules/math-intrinsics/CHANGELOG.md +0 -24
  1737. package/packages/core/node_modules/math-intrinsics/LICENSE +0 -21
  1738. package/packages/core/node_modules/math-intrinsics/README.md +0 -50
  1739. package/packages/core/node_modules/math-intrinsics/abs.d.ts +0 -1
  1740. package/packages/core/node_modules/math-intrinsics/abs.js +0 -4
  1741. package/packages/core/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
  1742. package/packages/core/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
  1743. package/packages/core/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
  1744. package/packages/core/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
  1745. package/packages/core/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
  1746. package/packages/core/node_modules/math-intrinsics/constants/maxValue.js +0 -5
  1747. package/packages/core/node_modules/math-intrinsics/floor.d.ts +0 -1
  1748. package/packages/core/node_modules/math-intrinsics/floor.js +0 -4
  1749. package/packages/core/node_modules/math-intrinsics/isFinite.d.ts +0 -3
  1750. package/packages/core/node_modules/math-intrinsics/isFinite.js +0 -12
  1751. package/packages/core/node_modules/math-intrinsics/isInteger.d.ts +0 -3
  1752. package/packages/core/node_modules/math-intrinsics/isInteger.js +0 -16
  1753. package/packages/core/node_modules/math-intrinsics/isNaN.d.ts +0 -1
  1754. package/packages/core/node_modules/math-intrinsics/isNaN.js +0 -6
  1755. package/packages/core/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
  1756. package/packages/core/node_modules/math-intrinsics/isNegativeZero.js +0 -6
  1757. package/packages/core/node_modules/math-intrinsics/max.d.ts +0 -1
  1758. package/packages/core/node_modules/math-intrinsics/max.js +0 -4
  1759. package/packages/core/node_modules/math-intrinsics/min.d.ts +0 -1
  1760. package/packages/core/node_modules/math-intrinsics/min.js +0 -4
  1761. package/packages/core/node_modules/math-intrinsics/mod.d.ts +0 -3
  1762. package/packages/core/node_modules/math-intrinsics/mod.js +0 -9
  1763. package/packages/core/node_modules/math-intrinsics/package.json +0 -86
  1764. package/packages/core/node_modules/math-intrinsics/pow.d.ts +0 -1
  1765. package/packages/core/node_modules/math-intrinsics/pow.js +0 -4
  1766. package/packages/core/node_modules/math-intrinsics/round.d.ts +0 -1
  1767. package/packages/core/node_modules/math-intrinsics/round.js +0 -4
  1768. package/packages/core/node_modules/math-intrinsics/sign.d.ts +0 -3
  1769. package/packages/core/node_modules/math-intrinsics/sign.js +0 -11
  1770. package/packages/core/node_modules/math-intrinsics/test/index.js +0 -192
  1771. package/packages/core/node_modules/math-intrinsics/tsconfig.json +0 -3
  1772. package/packages/core/node_modules/media-typer/HISTORY.md +0 -22
  1773. package/packages/core/node_modules/media-typer/LICENSE +0 -22
  1774. package/packages/core/node_modules/media-typer/README.md +0 -81
  1775. package/packages/core/node_modules/media-typer/index.js +0 -270
  1776. package/packages/core/node_modules/media-typer/package.json +0 -26
  1777. package/packages/core/node_modules/merge-descriptors/HISTORY.md +0 -21
  1778. package/packages/core/node_modules/merge-descriptors/LICENSE +0 -23
  1779. package/packages/core/node_modules/merge-descriptors/README.md +0 -49
  1780. package/packages/core/node_modules/merge-descriptors/index.js +0 -60
  1781. package/packages/core/node_modules/merge-descriptors/package.json +0 -39
  1782. package/packages/core/node_modules/methods/HISTORY.md +0 -29
  1783. package/packages/core/node_modules/methods/LICENSE +0 -24
  1784. package/packages/core/node_modules/methods/README.md +0 -51
  1785. package/packages/core/node_modules/methods/index.js +0 -69
  1786. package/packages/core/node_modules/methods/package.json +0 -36
  1787. package/packages/core/node_modules/mime/CHANGELOG.md +0 -164
  1788. package/packages/core/node_modules/mime/LICENSE +0 -21
  1789. package/packages/core/node_modules/mime/README.md +0 -90
  1790. package/packages/core/node_modules/mime/cli.js +0 -8
  1791. package/packages/core/node_modules/mime/mime.js +0 -108
  1792. package/packages/core/node_modules/mime/package.json +0 -44
  1793. package/packages/core/node_modules/mime/src/build.js +0 -53
  1794. package/packages/core/node_modules/mime/src/test.js +0 -60
  1795. package/packages/core/node_modules/mime/types.json +0 -1
  1796. package/packages/core/node_modules/mime-db/HISTORY.md +0 -507
  1797. package/packages/core/node_modules/mime-db/LICENSE +0 -23
  1798. package/packages/core/node_modules/mime-db/README.md +0 -100
  1799. package/packages/core/node_modules/mime-db/db.json +0 -8519
  1800. package/packages/core/node_modules/mime-db/index.js +0 -12
  1801. package/packages/core/node_modules/mime-db/package.json +0 -60
  1802. package/packages/core/node_modules/mime-types/HISTORY.md +0 -397
  1803. package/packages/core/node_modules/mime-types/LICENSE +0 -23
  1804. package/packages/core/node_modules/mime-types/README.md +0 -113
  1805. package/packages/core/node_modules/mime-types/index.js +0 -188
  1806. package/packages/core/node_modules/mime-types/package.json +0 -44
  1807. package/packages/core/node_modules/morgan/HISTORY.md +0 -221
  1808. package/packages/core/node_modules/morgan/LICENSE +0 -23
  1809. package/packages/core/node_modules/morgan/README.md +0 -436
  1810. package/packages/core/node_modules/morgan/index.js +0 -544
  1811. package/packages/core/node_modules/morgan/node_modules/on-finished/HISTORY.md +0 -88
  1812. package/packages/core/node_modules/morgan/node_modules/on-finished/LICENSE +0 -23
  1813. package/packages/core/node_modules/morgan/node_modules/on-finished/README.md +0 -154
  1814. package/packages/core/node_modules/morgan/node_modules/on-finished/index.js +0 -196
  1815. package/packages/core/node_modules/morgan/node_modules/on-finished/package.json +0 -31
  1816. package/packages/core/node_modules/morgan/package.json +0 -52
  1817. package/packages/core/node_modules/ms/index.js +0 -152
  1818. package/packages/core/node_modules/ms/license.md +0 -21
  1819. package/packages/core/node_modules/ms/package.json +0 -37
  1820. package/packages/core/node_modules/ms/readme.md +0 -51
  1821. package/packages/core/node_modules/negotiator/HISTORY.md +0 -108
  1822. package/packages/core/node_modules/negotiator/LICENSE +0 -24
  1823. package/packages/core/node_modules/negotiator/README.md +0 -203
  1824. package/packages/core/node_modules/negotiator/index.js +0 -82
  1825. package/packages/core/node_modules/negotiator/lib/charset.js +0 -169
  1826. package/packages/core/node_modules/negotiator/lib/encoding.js +0 -184
  1827. package/packages/core/node_modules/negotiator/lib/language.js +0 -179
  1828. package/packages/core/node_modules/negotiator/lib/mediaType.js +0 -294
  1829. package/packages/core/node_modules/negotiator/package.json +0 -42
  1830. package/packages/core/node_modules/nocache/LICENSE +0 -21
  1831. package/packages/core/node_modules/nocache/README.md +0 -22
  1832. package/packages/core/node_modules/nocache/index.d.ts +0 -9
  1833. package/packages/core/node_modules/nocache/index.js +0 -13
  1834. package/packages/core/node_modules/nocache/package.json +0 -45
  1835. package/packages/core/node_modules/nock/LICENSE +0 -21
  1836. package/packages/core/node_modules/nock/README.md +0 -1737
  1837. package/packages/core/node_modules/nock/index.js +0 -53
  1838. package/packages/core/node_modules/nock/lib/back.js +0 -353
  1839. package/packages/core/node_modules/nock/lib/common.js +0 -771
  1840. package/packages/core/node_modules/nock/lib/global_emitter.js +0 -5
  1841. package/packages/core/node_modules/nock/lib/intercept.js +0 -456
  1842. package/packages/core/node_modules/nock/lib/intercepted_request_router.js +0 -355
  1843. package/packages/core/node_modules/nock/lib/interceptor.js +0 -628
  1844. package/packages/core/node_modules/nock/lib/match_body.js +0 -84
  1845. package/packages/core/node_modules/nock/lib/playback_interceptor.js +0 -327
  1846. package/packages/core/node_modules/nock/lib/recorder.js +0 -388
  1847. package/packages/core/node_modules/nock/lib/scope.js +0 -416
  1848. package/packages/core/node_modules/nock/lib/socket.js +0 -108
  1849. package/packages/core/node_modules/nock/node_modules/debug/LICENSE +0 -20
  1850. package/packages/core/node_modules/nock/node_modules/debug/README.md +0 -481
  1851. package/packages/core/node_modules/nock/node_modules/debug/package.json +0 -64
  1852. package/packages/core/node_modules/nock/node_modules/debug/src/browser.js +0 -272
  1853. package/packages/core/node_modules/nock/node_modules/debug/src/common.js +0 -292
  1854. package/packages/core/node_modules/nock/node_modules/debug/src/index.js +0 -10
  1855. package/packages/core/node_modules/nock/node_modules/debug/src/node.js +0 -263
  1856. package/packages/core/node_modules/nock/node_modules/ms/index.js +0 -162
  1857. package/packages/core/node_modules/nock/node_modules/ms/license.md +0 -21
  1858. package/packages/core/node_modules/nock/node_modules/ms/package.json +0 -38
  1859. package/packages/core/node_modules/nock/node_modules/ms/readme.md +0 -59
  1860. package/packages/core/node_modules/nock/package.json +0 -89
  1861. package/packages/core/node_modules/nock/types/index.d.ts +0 -297
  1862. package/packages/core/node_modules/object-assign/index.js +0 -90
  1863. package/packages/core/node_modules/object-assign/license +0 -21
  1864. package/packages/core/node_modules/object-assign/package.json +0 -42
  1865. package/packages/core/node_modules/object-assign/readme.md +0 -61
  1866. package/packages/core/node_modules/object-inspect/.eslintrc +0 -53
  1867. package/packages/core/node_modules/object-inspect/.github/FUNDING.yml +0 -12
  1868. package/packages/core/node_modules/object-inspect/.nycrc +0 -13
  1869. package/packages/core/node_modules/object-inspect/CHANGELOG.md +0 -424
  1870. package/packages/core/node_modules/object-inspect/LICENSE +0 -21
  1871. package/packages/core/node_modules/object-inspect/example/all.js +0 -23
  1872. package/packages/core/node_modules/object-inspect/example/circular.js +0 -6
  1873. package/packages/core/node_modules/object-inspect/example/fn.js +0 -5
  1874. package/packages/core/node_modules/object-inspect/example/inspect.js +0 -10
  1875. package/packages/core/node_modules/object-inspect/index.js +0 -544
  1876. package/packages/core/node_modules/object-inspect/package-support.json +0 -20
  1877. package/packages/core/node_modules/object-inspect/package.json +0 -105
  1878. package/packages/core/node_modules/object-inspect/readme.markdown +0 -84
  1879. package/packages/core/node_modules/object-inspect/test/bigint.js +0 -58
  1880. package/packages/core/node_modules/object-inspect/test/browser/dom.js +0 -15
  1881. package/packages/core/node_modules/object-inspect/test/circular.js +0 -16
  1882. package/packages/core/node_modules/object-inspect/test/deep.js +0 -12
  1883. package/packages/core/node_modules/object-inspect/test/element.js +0 -53
  1884. package/packages/core/node_modules/object-inspect/test/err.js +0 -48
  1885. package/packages/core/node_modules/object-inspect/test/fakes.js +0 -29
  1886. package/packages/core/node_modules/object-inspect/test/fn.js +0 -76
  1887. package/packages/core/node_modules/object-inspect/test/global.js +0 -17
  1888. package/packages/core/node_modules/object-inspect/test/has.js +0 -15
  1889. package/packages/core/node_modules/object-inspect/test/holes.js +0 -15
  1890. package/packages/core/node_modules/object-inspect/test/indent-option.js +0 -271
  1891. package/packages/core/node_modules/object-inspect/test/inspect.js +0 -139
  1892. package/packages/core/node_modules/object-inspect/test/lowbyte.js +0 -12
  1893. package/packages/core/node_modules/object-inspect/test/number.js +0 -58
  1894. package/packages/core/node_modules/object-inspect/test/quoteStyle.js +0 -26
  1895. package/packages/core/node_modules/object-inspect/test/toStringTag.js +0 -40
  1896. package/packages/core/node_modules/object-inspect/test/undef.js +0 -12
  1897. package/packages/core/node_modules/object-inspect/test/values.js +0 -261
  1898. package/packages/core/node_modules/object-inspect/test-core-js.js +0 -26
  1899. package/packages/core/node_modules/object-inspect/util.inspect.js +0 -1
  1900. package/packages/core/node_modules/on-finished/HISTORY.md +0 -98
  1901. package/packages/core/node_modules/on-finished/LICENSE +0 -23
  1902. package/packages/core/node_modules/on-finished/README.md +0 -162
  1903. package/packages/core/node_modules/on-finished/index.js +0 -234
  1904. package/packages/core/node_modules/on-finished/package.json +0 -39
  1905. package/packages/core/node_modules/on-headers/HISTORY.md +0 -26
  1906. package/packages/core/node_modules/on-headers/LICENSE +0 -22
  1907. package/packages/core/node_modules/on-headers/README.md +0 -81
  1908. package/packages/core/node_modules/on-headers/index.js +0 -180
  1909. package/packages/core/node_modules/on-headers/package.json +0 -44
  1910. package/packages/core/node_modules/parseurl/HISTORY.md +0 -58
  1911. package/packages/core/node_modules/parseurl/LICENSE +0 -24
  1912. package/packages/core/node_modules/parseurl/README.md +0 -133
  1913. package/packages/core/node_modules/parseurl/index.js +0 -158
  1914. package/packages/core/node_modules/parseurl/package.json +0 -40
  1915. package/packages/core/node_modules/path-to-regexp/LICENSE +0 -21
  1916. package/packages/core/node_modules/path-to-regexp/Readme.md +0 -35
  1917. package/packages/core/node_modules/path-to-regexp/index.js +0 -156
  1918. package/packages/core/node_modules/path-to-regexp/package.json +0 -30
  1919. package/packages/core/node_modules/propagate/.eslintignore +0 -2
  1920. package/packages/core/node_modules/propagate/.eslintrc.yml +0 -35
  1921. package/packages/core/node_modules/propagate/.prettierignore +0 -4
  1922. package/packages/core/node_modules/propagate/.prettierrc.yml +0 -5
  1923. package/packages/core/node_modules/propagate/.travis.yml +0 -27
  1924. package/packages/core/node_modules/propagate/LICENSE.md +0 -21
  1925. package/packages/core/node_modules/propagate/README.md +0 -72
  1926. package/packages/core/node_modules/propagate/index.js +0 -85
  1927. package/packages/core/node_modules/propagate/package.json +0 -53
  1928. package/packages/core/node_modules/propagate/tests/index.js +0 -168
  1929. package/packages/core/node_modules/proxy-addr/HISTORY.md +0 -161
  1930. package/packages/core/node_modules/proxy-addr/LICENSE +0 -22
  1931. package/packages/core/node_modules/proxy-addr/README.md +0 -139
  1932. package/packages/core/node_modules/proxy-addr/index.js +0 -327
  1933. package/packages/core/node_modules/proxy-addr/package.json +0 -47
  1934. package/packages/core/node_modules/qs/.editorconfig +0 -46
  1935. package/packages/core/node_modules/qs/.github/FUNDING.yml +0 -12
  1936. package/packages/core/node_modules/qs/.github/SECURITY.md +0 -11
  1937. package/packages/core/node_modules/qs/.github/THREAT_MODEL.md +0 -78
  1938. package/packages/core/node_modules/qs/.nycrc +0 -13
  1939. package/packages/core/node_modules/qs/CHANGELOG.md +0 -631
  1940. package/packages/core/node_modules/qs/LICENSE.md +0 -29
  1941. package/packages/core/node_modules/qs/README.md +0 -733
  1942. package/packages/core/node_modules/qs/eslint.config.mjs +0 -56
  1943. package/packages/core/node_modules/qs/lib/formats.js +0 -23
  1944. package/packages/core/node_modules/qs/lib/index.js +0 -11
  1945. package/packages/core/node_modules/qs/lib/parse.js +0 -360
  1946. package/packages/core/node_modules/qs/lib/stringify.js +0 -356
  1947. package/packages/core/node_modules/qs/lib/utils.js +0 -320
  1948. package/packages/core/node_modules/qs/package.json +0 -94
  1949. package/packages/core/node_modules/qs/test/empty-keys-cases.js +0 -267
  1950. package/packages/core/node_modules/qs/test/parse.js +0 -1396
  1951. package/packages/core/node_modules/qs/test/stringify.js +0 -1310
  1952. package/packages/core/node_modules/qs/test/utils.js +0 -381
  1953. package/packages/core/node_modules/querystringify/LICENSE +0 -22
  1954. package/packages/core/node_modules/querystringify/README.md +0 -61
  1955. package/packages/core/node_modules/querystringify/index.js +0 -118
  1956. package/packages/core/node_modules/querystringify/package.json +0 -38
  1957. package/packages/core/node_modules/range-parser/HISTORY.md +0 -56
  1958. package/packages/core/node_modules/range-parser/LICENSE +0 -23
  1959. package/packages/core/node_modules/range-parser/README.md +0 -84
  1960. package/packages/core/node_modules/range-parser/index.js +0 -162
  1961. package/packages/core/node_modules/range-parser/package.json +0 -44
  1962. package/packages/core/node_modules/raw-body/LICENSE +0 -22
  1963. package/packages/core/node_modules/raw-body/README.md +0 -223
  1964. package/packages/core/node_modules/raw-body/index.d.ts +0 -87
  1965. package/packages/core/node_modules/raw-body/index.js +0 -336
  1966. package/packages/core/node_modules/raw-body/package.json +0 -47
  1967. package/packages/core/node_modules/requires-port/.travis.yml +0 -19
  1968. package/packages/core/node_modules/requires-port/LICENSE +0 -22
  1969. package/packages/core/node_modules/requires-port/README.md +0 -47
  1970. package/packages/core/node_modules/requires-port/index.js +0 -38
  1971. package/packages/core/node_modules/requires-port/package.json +0 -47
  1972. package/packages/core/node_modules/requires-port/test.js +0 -98
  1973. package/packages/core/node_modules/route-recognizer/LICENSE +0 -19
  1974. package/packages/core/node_modules/route-recognizer/README.md +0 -142
  1975. package/packages/core/node_modules/route-recognizer/package.json +0 -48
  1976. package/packages/core/node_modules/safe-buffer/LICENSE +0 -21
  1977. package/packages/core/node_modules/safe-buffer/README.md +0 -584
  1978. package/packages/core/node_modules/safe-buffer/index.d.ts +0 -187
  1979. package/packages/core/node_modules/safe-buffer/index.js +0 -65
  1980. package/packages/core/node_modules/safe-buffer/package.json +0 -51
  1981. package/packages/core/node_modules/safer-buffer/LICENSE +0 -21
  1982. package/packages/core/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  1983. package/packages/core/node_modules/safer-buffer/Readme.md +0 -156
  1984. package/packages/core/node_modules/safer-buffer/dangerous.js +0 -58
  1985. package/packages/core/node_modules/safer-buffer/package.json +0 -34
  1986. package/packages/core/node_modules/safer-buffer/safer.js +0 -77
  1987. package/packages/core/node_modules/safer-buffer/tests.js +0 -406
  1988. package/packages/core/node_modules/send/HISTORY.md +0 -538
  1989. package/packages/core/node_modules/send/LICENSE +0 -23
  1990. package/packages/core/node_modules/send/README.md +0 -327
  1991. package/packages/core/node_modules/send/SECURITY.md +0 -24
  1992. package/packages/core/node_modules/send/index.js +0 -1142
  1993. package/packages/core/node_modules/send/node_modules/ms/index.js +0 -162
  1994. package/packages/core/node_modules/send/node_modules/ms/license.md +0 -21
  1995. package/packages/core/node_modules/send/node_modules/ms/package.json +0 -38
  1996. package/packages/core/node_modules/send/node_modules/ms/readme.md +0 -59
  1997. package/packages/core/node_modules/send/package.json +0 -62
  1998. package/packages/core/node_modules/serve-static/HISTORY.md +0 -493
  1999. package/packages/core/node_modules/serve-static/LICENSE +0 -25
  2000. package/packages/core/node_modules/serve-static/README.md +0 -257
  2001. package/packages/core/node_modules/serve-static/index.js +0 -209
  2002. package/packages/core/node_modules/serve-static/package.json +0 -42
  2003. package/packages/core/node_modules/set-cookie-parser/LICENSE +0 -21
  2004. package/packages/core/node_modules/set-cookie-parser/README.md +0 -202
  2005. package/packages/core/node_modules/set-cookie-parser/lib/set-cookie.js +0 -242
  2006. package/packages/core/node_modules/set-cookie-parser/package.json +0 -45
  2007. package/packages/core/node_modules/setprototypeof/LICENSE +0 -13
  2008. package/packages/core/node_modules/setprototypeof/README.md +0 -31
  2009. package/packages/core/node_modules/setprototypeof/index.d.ts +0 -2
  2010. package/packages/core/node_modules/setprototypeof/index.js +0 -17
  2011. package/packages/core/node_modules/setprototypeof/package.json +0 -38
  2012. package/packages/core/node_modules/setprototypeof/test/index.js +0 -24
  2013. package/packages/core/node_modules/side-channel/.editorconfig +0 -9
  2014. package/packages/core/node_modules/side-channel/.eslintrc +0 -12
  2015. package/packages/core/node_modules/side-channel/.github/FUNDING.yml +0 -12
  2016. package/packages/core/node_modules/side-channel/.nycrc +0 -13
  2017. package/packages/core/node_modules/side-channel/CHANGELOG.md +0 -110
  2018. package/packages/core/node_modules/side-channel/LICENSE +0 -21
  2019. package/packages/core/node_modules/side-channel/README.md +0 -61
  2020. package/packages/core/node_modules/side-channel/index.d.ts +0 -14
  2021. package/packages/core/node_modules/side-channel/index.js +0 -43
  2022. package/packages/core/node_modules/side-channel/package.json +0 -85
  2023. package/packages/core/node_modules/side-channel/test/index.js +0 -104
  2024. package/packages/core/node_modules/side-channel/tsconfig.json +0 -9
  2025. package/packages/core/node_modules/side-channel-list/.editorconfig +0 -9
  2026. package/packages/core/node_modules/side-channel-list/.eslintrc +0 -11
  2027. package/packages/core/node_modules/side-channel-list/.github/FUNDING.yml +0 -12
  2028. package/packages/core/node_modules/side-channel-list/.nycrc +0 -13
  2029. package/packages/core/node_modules/side-channel-list/CHANGELOG.md +0 -15
  2030. package/packages/core/node_modules/side-channel-list/LICENSE +0 -21
  2031. package/packages/core/node_modules/side-channel-list/README.md +0 -62
  2032. package/packages/core/node_modules/side-channel-list/index.d.ts +0 -13
  2033. package/packages/core/node_modules/side-channel-list/index.js +0 -113
  2034. package/packages/core/node_modules/side-channel-list/list.d.ts +0 -14
  2035. package/packages/core/node_modules/side-channel-list/package.json +0 -77
  2036. package/packages/core/node_modules/side-channel-list/test/index.js +0 -104
  2037. package/packages/core/node_modules/side-channel-list/tsconfig.json +0 -9
  2038. package/packages/core/node_modules/side-channel-map/.editorconfig +0 -9
  2039. package/packages/core/node_modules/side-channel-map/.eslintrc +0 -11
  2040. package/packages/core/node_modules/side-channel-map/.github/FUNDING.yml +0 -12
  2041. package/packages/core/node_modules/side-channel-map/.nycrc +0 -13
  2042. package/packages/core/node_modules/side-channel-map/CHANGELOG.md +0 -22
  2043. package/packages/core/node_modules/side-channel-map/LICENSE +0 -21
  2044. package/packages/core/node_modules/side-channel-map/README.md +0 -62
  2045. package/packages/core/node_modules/side-channel-map/index.d.ts +0 -15
  2046. package/packages/core/node_modules/side-channel-map/index.js +0 -68
  2047. package/packages/core/node_modules/side-channel-map/package.json +0 -80
  2048. package/packages/core/node_modules/side-channel-map/test/index.js +0 -114
  2049. package/packages/core/node_modules/side-channel-map/tsconfig.json +0 -9
  2050. package/packages/core/node_modules/side-channel-weakmap/.editorconfig +0 -9
  2051. package/packages/core/node_modules/side-channel-weakmap/.eslintrc +0 -12
  2052. package/packages/core/node_modules/side-channel-weakmap/.github/FUNDING.yml +0 -12
  2053. package/packages/core/node_modules/side-channel-weakmap/.nycrc +0 -13
  2054. package/packages/core/node_modules/side-channel-weakmap/CHANGELOG.md +0 -28
  2055. package/packages/core/node_modules/side-channel-weakmap/LICENSE +0 -21
  2056. package/packages/core/node_modules/side-channel-weakmap/README.md +0 -62
  2057. package/packages/core/node_modules/side-channel-weakmap/index.d.ts +0 -15
  2058. package/packages/core/node_modules/side-channel-weakmap/index.js +0 -84
  2059. package/packages/core/node_modules/side-channel-weakmap/package.json +0 -87
  2060. package/packages/core/node_modules/side-channel-weakmap/test/index.js +0 -114
  2061. package/packages/core/node_modules/side-channel-weakmap/tsconfig.json +0 -9
  2062. package/packages/core/node_modules/slugify/CHANGELOG.md +0 -94
  2063. package/packages/core/node_modules/slugify/LICENSE +0 -21
  2064. package/packages/core/node_modules/slugify/README.md +0 -98
  2065. package/packages/core/node_modules/slugify/package.json +0 -42
  2066. package/packages/core/node_modules/slugify/slugify.d.ts +0 -24
  2067. package/packages/core/node_modules/slugify/slugify.js +0 -69
  2068. package/packages/core/node_modules/statuses/HISTORY.md +0 -87
  2069. package/packages/core/node_modules/statuses/LICENSE +0 -23
  2070. package/packages/core/node_modules/statuses/README.md +0 -139
  2071. package/packages/core/node_modules/statuses/codes.json +0 -65
  2072. package/packages/core/node_modules/statuses/index.js +0 -146
  2073. package/packages/core/node_modules/statuses/package.json +0 -49
  2074. package/packages/core/node_modules/to-arraybuffer/.travis.yml +0 -3
  2075. package/packages/core/node_modules/to-arraybuffer/.zuul.yml +0 -16
  2076. package/packages/core/node_modules/to-arraybuffer/LICENSE +0 -24
  2077. package/packages/core/node_modules/to-arraybuffer/README.md +0 -27
  2078. package/packages/core/node_modules/to-arraybuffer/index.js +0 -27
  2079. package/packages/core/node_modules/to-arraybuffer/package.json +0 -34
  2080. package/packages/core/node_modules/to-arraybuffer/test.js +0 -57
  2081. package/packages/core/node_modules/toidentifier/HISTORY.md +0 -9
  2082. package/packages/core/node_modules/toidentifier/LICENSE +0 -21
  2083. package/packages/core/node_modules/toidentifier/README.md +0 -61
  2084. package/packages/core/node_modules/toidentifier/index.js +0 -32
  2085. package/packages/core/node_modules/toidentifier/package.json +0 -38
  2086. package/packages/core/node_modules/type-is/HISTORY.md +0 -259
  2087. package/packages/core/node_modules/type-is/LICENSE +0 -23
  2088. package/packages/core/node_modules/type-is/README.md +0 -170
  2089. package/packages/core/node_modules/type-is/index.js +0 -266
  2090. package/packages/core/node_modules/type-is/package.json +0 -45
  2091. package/packages/core/node_modules/undici-types/LICENSE +0 -21
  2092. package/packages/core/node_modules/undici-types/README.md +0 -6
  2093. package/packages/core/node_modules/undici-types/agent.d.ts +0 -32
  2094. package/packages/core/node_modules/undici-types/api.d.ts +0 -43
  2095. package/packages/core/node_modules/undici-types/balanced-pool.d.ts +0 -29
  2096. package/packages/core/node_modules/undici-types/cache-interceptor.d.ts +0 -172
  2097. package/packages/core/node_modules/undici-types/cache.d.ts +0 -36
  2098. package/packages/core/node_modules/undici-types/client-stats.d.ts +0 -15
  2099. package/packages/core/node_modules/undici-types/client.d.ts +0 -108
  2100. package/packages/core/node_modules/undici-types/connector.d.ts +0 -34
  2101. package/packages/core/node_modules/undici-types/content-type.d.ts +0 -21
  2102. package/packages/core/node_modules/undici-types/cookies.d.ts +0 -30
  2103. package/packages/core/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
  2104. package/packages/core/node_modules/undici-types/dispatcher.d.ts +0 -276
  2105. package/packages/core/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
  2106. package/packages/core/node_modules/undici-types/errors.d.ts +0 -161
  2107. package/packages/core/node_modules/undici-types/eventsource.d.ts +0 -66
  2108. package/packages/core/node_modules/undici-types/fetch.d.ts +0 -211
  2109. package/packages/core/node_modules/undici-types/formdata.d.ts +0 -108
  2110. package/packages/core/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  2111. package/packages/core/node_modules/undici-types/global-origin.d.ts +0 -7
  2112. package/packages/core/node_modules/undici-types/h2c-client.d.ts +0 -73
  2113. package/packages/core/node_modules/undici-types/handlers.d.ts +0 -15
  2114. package/packages/core/node_modules/undici-types/header.d.ts +0 -160
  2115. package/packages/core/node_modules/undici-types/index.d.ts +0 -80
  2116. package/packages/core/node_modules/undici-types/interceptors.d.ts +0 -39
  2117. package/packages/core/node_modules/undici-types/mock-agent.d.ts +0 -68
  2118. package/packages/core/node_modules/undici-types/mock-call-history.d.ts +0 -111
  2119. package/packages/core/node_modules/undici-types/mock-client.d.ts +0 -27
  2120. package/packages/core/node_modules/undici-types/mock-errors.d.ts +0 -12
  2121. package/packages/core/node_modules/undici-types/mock-interceptor.d.ts +0 -94
  2122. package/packages/core/node_modules/undici-types/mock-pool.d.ts +0 -27
  2123. package/packages/core/node_modules/undici-types/package.json +0 -55
  2124. package/packages/core/node_modules/undici-types/patch.d.ts +0 -29
  2125. package/packages/core/node_modules/undici-types/pool-stats.d.ts +0 -19
  2126. package/packages/core/node_modules/undici-types/pool.d.ts +0 -41
  2127. package/packages/core/node_modules/undici-types/proxy-agent.d.ts +0 -29
  2128. package/packages/core/node_modules/undici-types/readable.d.ts +0 -68
  2129. package/packages/core/node_modules/undici-types/retry-agent.d.ts +0 -8
  2130. package/packages/core/node_modules/undici-types/retry-handler.d.ts +0 -125
  2131. package/packages/core/node_modules/undici-types/snapshot-agent.d.ts +0 -109
  2132. package/packages/core/node_modules/undici-types/util.d.ts +0 -18
  2133. package/packages/core/node_modules/undici-types/utility.d.ts +0 -7
  2134. package/packages/core/node_modules/undici-types/webidl.d.ts +0 -341
  2135. package/packages/core/node_modules/undici-types/websocket.d.ts +0 -186
  2136. package/packages/core/node_modules/universalify/LICENSE +0 -20
  2137. package/packages/core/node_modules/universalify/README.md +0 -76
  2138. package/packages/core/node_modules/universalify/index.js +0 -24
  2139. package/packages/core/node_modules/universalify/package.json +0 -34
  2140. package/packages/core/node_modules/unpipe/HISTORY.md +0 -4
  2141. package/packages/core/node_modules/unpipe/LICENSE +0 -22
  2142. package/packages/core/node_modules/unpipe/README.md +0 -43
  2143. package/packages/core/node_modules/unpipe/index.js +0 -69
  2144. package/packages/core/node_modules/unpipe/package.json +0 -27
  2145. package/packages/core/node_modules/url-parse/LICENSE +0 -22
  2146. package/packages/core/node_modules/url-parse/README.md +0 -153
  2147. package/packages/core/node_modules/url-parse/index.js +0 -589
  2148. package/packages/core/node_modules/url-parse/package.json +0 -49
  2149. package/packages/core/node_modules/utf8-byte-length/.gitmodules +0 -3
  2150. package/packages/core/node_modules/utf8-byte-length/.travis.yml +0 -9
  2151. package/packages/core/node_modules/utf8-byte-length/AUTHORS +0 -2
  2152. package/packages/core/node_modules/utf8-byte-length/LICENSE.MIT.txt +0 -7
  2153. package/packages/core/node_modules/utf8-byte-length/LICENSE.WTFPL.txt +0 -13
  2154. package/packages/core/node_modules/utf8-byte-length/README.md +0 -28
  2155. package/packages/core/node_modules/utf8-byte-length/browser.js +0 -47
  2156. package/packages/core/node_modules/utf8-byte-length/index.js +0 -8
  2157. package/packages/core/node_modules/utf8-byte-length/package.json +0 -26
  2158. package/packages/core/node_modules/utf8-byte-length/test.js +0 -67
  2159. package/packages/core/node_modules/utils-merge/LICENSE +0 -20
  2160. package/packages/core/node_modules/utils-merge/README.md +0 -34
  2161. package/packages/core/node_modules/utils-merge/index.js +0 -23
  2162. package/packages/core/node_modules/utils-merge/package.json +0 -40
  2163. package/packages/core/node_modules/vary/HISTORY.md +0 -39
  2164. package/packages/core/node_modules/vary/LICENSE +0 -22
  2165. package/packages/core/node_modules/vary/README.md +0 -101
  2166. package/packages/core/node_modules/vary/index.js +0 -149
  2167. package/packages/core/node_modules/vary/package.json +0 -43
  2168. package/packages/core/package-lock.json +0 -1293
  2169. package/packages/core/package.json +0 -41
  2170. package/packages/core/src/aliases.ts +0 -132
  2171. package/packages/core/src/chat/Chat.ts +0 -449
  2172. package/packages/core/src/chat/ChatOptions.ts +0 -21
  2173. package/packages/core/src/chat/ChatResponse.ts +0 -49
  2174. package/packages/core/src/chat/ChatStream.ts +0 -178
  2175. package/packages/core/src/chat/Content.ts +0 -7
  2176. package/packages/core/src/chat/Message.ts +0 -14
  2177. package/packages/core/src/chat/Role.ts +0 -5
  2178. package/packages/core/src/chat/Tool.ts +0 -83
  2179. package/packages/core/src/config.ts +0 -35
  2180. package/packages/core/src/constants.ts +0 -6
  2181. package/packages/core/src/embedding/Embedding.ts +0 -29
  2182. package/packages/core/src/errors/index.ts +0 -135
  2183. package/packages/core/src/executor/Executor.ts +0 -34
  2184. package/packages/core/src/image/GeneratedImage.ts +0 -70
  2185. package/packages/core/src/index.ts +0 -19
  2186. package/packages/core/src/llm.ts +0 -332
  2187. package/packages/core/src/model_aliases.ts +0 -24
  2188. package/packages/core/src/models/ModelRegistry.ts +0 -94
  2189. package/packages/core/src/models/models.json +0 -7021
  2190. package/packages/core/src/models/models.ts +0 -29475
  2191. package/packages/core/src/models/types.ts +0 -83
  2192. package/packages/core/src/moderation/Moderation.ts +0 -104
  2193. package/packages/core/src/providers/BaseProvider.ts +0 -65
  2194. package/packages/core/src/providers/Provider.ts +0 -152
  2195. package/packages/core/src/providers/anthropic/AnthropicProvider.ts +0 -73
  2196. package/packages/core/src/providers/anthropic/Capabilities.ts +0 -86
  2197. package/packages/core/src/providers/anthropic/Chat.ts +0 -123
  2198. package/packages/core/src/providers/anthropic/Errors.ts +0 -48
  2199. package/packages/core/src/providers/anthropic/Models.ts +0 -62
  2200. package/packages/core/src/providers/anthropic/Streaming.ts +0 -211
  2201. package/packages/core/src/providers/anthropic/Utils.ts +0 -141
  2202. package/packages/core/src/providers/anthropic/index.ts +0 -13
  2203. package/packages/core/src/providers/anthropic/types.ts +0 -61
  2204. package/packages/core/src/providers/deepseek/Capabilities.ts +0 -66
  2205. package/packages/core/src/providers/deepseek/Chat.ts +0 -115
  2206. package/packages/core/src/providers/deepseek/DeepSeekProvider.ts +0 -71
  2207. package/packages/core/src/providers/deepseek/Models.ts +0 -82
  2208. package/packages/core/src/providers/deepseek/Streaming.ts +0 -170
  2209. package/packages/core/src/providers/deepseek/index.ts +0 -29
  2210. package/packages/core/src/providers/gemini/Capabilities.ts +0 -174
  2211. package/packages/core/src/providers/gemini/Chat.ts +0 -128
  2212. package/packages/core/src/providers/gemini/ChatUtils.ts +0 -86
  2213. package/packages/core/src/providers/gemini/Embeddings.ts +0 -52
  2214. package/packages/core/src/providers/gemini/Errors.ts +0 -49
  2215. package/packages/core/src/providers/gemini/GeminiProvider.ts +0 -105
  2216. package/packages/core/src/providers/gemini/Image.ts +0 -57
  2217. package/packages/core/src/providers/gemini/Models.ts +0 -62
  2218. package/packages/core/src/providers/gemini/Streaming.ts +0 -175
  2219. package/packages/core/src/providers/gemini/Transcription.ts +0 -74
  2220. package/packages/core/src/providers/gemini/index.ts +0 -32
  2221. package/packages/core/src/providers/gemini/types.ts +0 -125
  2222. package/packages/core/src/providers/ollama/Capabilities.ts +0 -65
  2223. package/packages/core/src/providers/ollama/Embedding.ts +0 -14
  2224. package/packages/core/src/providers/ollama/Models.ts +0 -32
  2225. package/packages/core/src/providers/ollama/OllamaProvider.ts +0 -43
  2226. package/packages/core/src/providers/ollama/index.ts +0 -23
  2227. package/packages/core/src/providers/openai/Capabilities.ts +0 -158
  2228. package/packages/core/src/providers/openai/Chat.ts +0 -67
  2229. package/packages/core/src/providers/openai/Embedding.ts +0 -71
  2230. package/packages/core/src/providers/openai/Errors.ts +0 -49
  2231. package/packages/core/src/providers/openai/Image.ts +0 -48
  2232. package/packages/core/src/providers/openai/ModelDefinitions.ts +0 -0
  2233. package/packages/core/src/providers/openai/Models.ts +0 -104
  2234. package/packages/core/src/providers/openai/Moderation.ts +0 -36
  2235. package/packages/core/src/providers/openai/OpenAIProvider.ts +0 -98
  2236. package/packages/core/src/providers/openai/Streaming.ts +0 -179
  2237. package/packages/core/src/providers/openai/Transcription.ts +0 -193
  2238. package/packages/core/src/providers/openai/index.ts +0 -31
  2239. package/packages/core/src/providers/openai/types.ts +0 -32
  2240. package/packages/core/src/providers/openai/utils.ts +0 -25
  2241. package/packages/core/src/providers/openrouter/Capabilities.ts +0 -77
  2242. package/packages/core/src/providers/openrouter/Models.ts +0 -126
  2243. package/packages/core/src/providers/openrouter/OpenRouterProvider.ts +0 -32
  2244. package/packages/core/src/providers/openrouter/index.ts +0 -33
  2245. package/packages/core/src/providers/registry.ts +0 -64
  2246. package/packages/core/src/schema/Schema.ts +0 -32
  2247. package/packages/core/src/schema/to-json-schema.ts +0 -11
  2248. package/packages/core/src/streaming/Stream.ts +0 -78
  2249. package/packages/core/src/transcription/Transcription.ts +0 -25
  2250. package/packages/core/src/utils/Binary.ts +0 -73
  2251. package/packages/core/src/utils/FileLoader.ts +0 -130
  2252. package/packages/core/src/utils/audio.ts +0 -52
  2253. package/packages/core/src/utils/logger.ts +0 -52
  2254. package/packages/core/test/__cassettes__/anthropic/should-list-available-models_2026798893/recording.har +0 -121
  2255. package/packages/core/test/__cassettes__/anthropic/should-perform-a-basic-chat-completion-with-Claude-3-5-Sonnet_1984197983/recording.har +0 -174
  2256. package/packages/core/test/__cassettes__/anthropic/should-perform-a-basic-chat-completion-with-Claude-3-Haiku_142399543/recording.har +0 -174
  2257. package/packages/core/test/__cassettes__/anthropic/should-respect-max_tokens-parameter_403137346/recording.har +0 -174
  2258. package/packages/core/test/__cassettes__/anthropic/should-return-token-usage-statistics_3849854421/recording.har +0 -174
  2259. package/packages/core/test/__cassettes__/anthropic/should-stream-chat-completion-with-Claude-3-Haiku_2651274227/recording.har +0 -174
  2260. package/packages/core/test/__cassettes__/anthropic/should-support-PDF-document-input_230679096/recording.har +0 -178
  2261. package/packages/core/test/__cassettes__/anthropic/should-support-structured-output-with-Zod-schema_755272941/recording.har +0 -174
  2262. package/packages/core/test/__cassettes__/anthropic/should-support-tool-calling_3435498037/recording.har +0 -334
  2263. package/packages/core/test/__cassettes__/anthropic/should-support-vision-with-image-input_2861386056/recording.har +0 -174
  2264. package/packages/core/test/__cassettes__/deepseek/should-capture-reasoning-content-for-deepseek-reasoner_2673345164/recording.har +0 -130
  2265. package/packages/core/test/__cassettes__/deepseek/should-list-models_3564403912/recording.har +0 -117
  2266. package/packages/core/test/__cassettes__/deepseek/should-perform-a-basic-chat-completion_395772062/recording.har +0 -130
  2267. package/packages/core/test/__cassettes__/deepseek/should-stream-reasoning-content-for-deepseek-reasoner_2301332238/recording.har +0 -130
  2268. package/packages/core/test/__cassettes__/deepseek/should-support-context-window-param-adjustment_848207690/recording.har +0 -130
  2269. package/packages/core/test/__cassettes__/deepseek/should-support-streaming_7554513/recording.har +0 -130
  2270. package/packages/core/test/__cassettes__/deepseek/should-support-structured-output-with-Zod_2840247798/recording.har +0 -130
  2271. package/packages/core/test/__cassettes__/deepseek/should-support-tool-calling_3435498037/recording.har +0 -246
  2272. package/packages/core/test/__cassettes__/deepseek/should-track-token-usage_256985899/recording.har +0 -130
  2273. package/packages/core/test/__cassettes__/gemini/should-analyze-images-Vision_1748602783/recording.har +0 -115
  2274. package/packages/core/test/__cassettes__/gemini/should-generate-an-image-Paint_3269691518/recording.har +0 -115
  2275. package/packages/core/test/__cassettes__/gemini/should-generate-an-image-and-support-image-features-Paint_2594814762/recording.har +0 -115
  2276. package/packages/core/test/__cassettes__/gemini/should-generate-batch-embeddings_1404188693/recording.har +0 -115
  2277. package/packages/core/test/__cassettes__/gemini/should-generate-embeddings_2432718257/recording.har +0 -115
  2278. package/packages/core/test/__cassettes__/gemini/should-handle-tool-calling_4230693750/recording.har +0 -216
  2279. package/packages/core/test/__cassettes__/gemini/should-list-available-models_2026798893/recording.har +0 -110
  2280. package/packages/core/test/__cassettes__/gemini/should-perform-a-basic-chat-completion_395772062/recording.har +0 -115
  2281. package/packages/core/test/__cassettes__/gemini/should-respect-max_tokens-parameter_403137346/recording.har +0 -115
  2282. package/packages/core/test/__cassettes__/gemini/should-support-streaming_7554513/recording.har +0 -119
  2283. package/packages/core/test/__cassettes__/gemini/should-support-structured-output-with-Zod-schema_755272941/recording.har +0 -115
  2284. package/packages/core/test/__cassettes__/gemini/should-track-total-token-usage_1212299993/recording.har +0 -216
  2285. package/packages/core/test/__cassettes__/gemini/should-transcribe-audio_1911693007/recording.har +0 -115
  2286. package/packages/core/test/__cassettes__/ollama/should-chat-with-local-model_2758001006/recording.har +0 -82
  2287. package/packages/core/test/__cassettes__/ollama/should-list-local-models_4171595997/recording.har +0 -77
  2288. package/packages/core/test/__cassettes__/openai/should-analyze-images-Vision_1748602783/recording.har +0 -342
  2289. package/packages/core/test/__cassettes__/openai/should-analyze-multiple-images-Multi-Image-Vision_2739914650/recording.har +0 -196
  2290. package/packages/core/test/__cassettes__/openai/should-generate-batch-embeddings_1404188693/recording.har +0 -196
  2291. package/packages/core/test/__cassettes__/openai/should-generate-embeddings-for-multiple-texts_1428372966/recording.har +0 -196
  2292. package/packages/core/test/__cassettes__/openai/should-generate-embeddings-for-single-text_2157217693/recording.har +0 -196
  2293. package/packages/core/test/__cassettes__/openai/should-generate-embeddings_2432718257/recording.har +0 -196
  2294. package/packages/core/test/__cassettes__/openai/should-generate-images-Paint_3131486506/recording.har +0 -152
  2295. package/packages/core/test/__cassettes__/openai/should-handle-parallel-tool-calling_1119184407/recording.har +0 -354
  2296. package/packages/core/test/__cassettes__/openai/should-handle-tool-calling_4230693750/recording.har +0 -354
  2297. package/packages/core/test/__cassettes__/openai/should-list-available-models_2026798893/recording.har +0 -143
  2298. package/packages/core/test/__cassettes__/openai/should-moderate-content_642159746/recording.har +0 -156
  2299. package/packages/core/test/__cassettes__/openai/should-perform-a-basic-chat-completion_395772062/recording.har +0 -184
  2300. package/packages/core/test/__cassettes__/openai/should-respect-max_tokens-parameter_403137346/recording.har +0 -184
  2301. package/packages/core/test/__cassettes__/openai/should-support-JSON-mode_867202072/recording.har +0 -184
  2302. package/packages/core/test/__cassettes__/openai/should-support-custom-dimensions_1318459641/recording.har +0 -196
  2303. package/packages/core/test/__cassettes__/openai/should-support-streaming_7554513/recording.har +0 -180
  2304. package/packages/core/test/__cassettes__/openai/should-support-structured-output-with-Zod-schema_755272941/recording.har +0 -184
  2305. package/packages/core/test/__cassettes__/openai/should-support-structured-output-with-manual-JSON-schema_2353032102/recording.har +0 -184
  2306. package/packages/core/test/__cassettes__/openai/should-track-total-token-usage_1212299993/recording.har +0 -354
  2307. package/packages/core/test/__cassettes__/openai/should-transcribe-audio-using-gpt-4o-transcribe_3226468172/recording.har +0 -184
  2308. package/packages/core/test/__cassettes__/openai/should-transcribe-audio_1911693007/recording.har +0 -171
  2309. package/packages/core/test/__cassettes__/openai/should-use-configured-default-model_1543274091/recording.har +0 -196
  2310. package/packages/core/test/__cassettes__/openrouter/should-analyze-images-Vision_1748602783/recording.har +0 -118
  2311. package/packages/core/test/__cassettes__/openrouter/should-create-embeddings_961555720/recording.har +0 -118
  2312. package/packages/core/test/__cassettes__/openrouter/should-create-multiple-embeddings_3067099544/recording.har +0 -118
  2313. package/packages/core/test/__cassettes__/openrouter/should-handle-tool-calling_4230693750/recording.har +0 -222
  2314. package/packages/core/test/__cassettes__/openrouter/should-list-available-models_2026798893/recording.har +0 -117
  2315. package/packages/core/test/__cassettes__/openrouter/should-perform-a-basic-chat-completion_395772062/recording.har +0 -118
  2316. package/packages/core/test/__cassettes__/openrouter/should-support-streaming_7554513/recording.har +0 -118
  2317. package/packages/core/test/fake-provider.ts +0 -22
  2318. package/packages/core/test/fake-streaming-provider.ts +0 -12
  2319. package/packages/core/test/helpers/vcr.ts +0 -93
  2320. package/packages/core/test/integration/anthropic/chat/basic.test.ts +0 -50
  2321. package/packages/core/test/integration/anthropic/chat/params.test.ts +0 -31
  2322. package/packages/core/test/integration/anthropic/chat/tools.test.ts +0 -66
  2323. package/packages/core/test/integration/anthropic/chat/usage.test.ts +0 -31
  2324. package/packages/core/test/integration/anthropic/discovery/models.test.ts +0 -33
  2325. package/packages/core/test/integration/anthropic/multimodal/vision.test.ts +0 -55
  2326. package/packages/core/test/integration/anthropic/schema.test.ts +0 -43
  2327. package/packages/core/test/integration/deepseek/chat/basic.test.ts +0 -45
  2328. package/packages/core/test/integration/deepseek/chat/json.test.ts +0 -38
  2329. package/packages/core/test/integration/deepseek/chat/params.test.ts +0 -27
  2330. package/packages/core/test/integration/deepseek/chat/reasoning.test.ts +0 -46
  2331. package/packages/core/test/integration/deepseek/chat/tools.test.ts +0 -50
  2332. package/packages/core/test/integration/deepseek/chat/usage.test.ts +0 -30
  2333. package/packages/core/test/integration/deepseek/discovery/models.test.ts +0 -33
  2334. package/packages/core/test/integration/deepseek/embeddings/basic.test.ts +0 -23
  2335. package/packages/core/test/integration/deepseek/images/generate.test.ts +0 -23
  2336. package/packages/core/test/integration/deepseek/multimodal/vision.test.ts +0 -28
  2337. package/packages/core/test/integration/deepseek/safety/moderation.test.ts +0 -24
  2338. package/packages/core/test/integration/gemini/chat/basic.test.ts +0 -42
  2339. package/packages/core/test/integration/gemini/chat/params.test.ts +0 -30
  2340. package/packages/core/test/integration/gemini/chat/tools.test.ts +0 -41
  2341. package/packages/core/test/integration/gemini/chat/usage.test.ts +0 -32
  2342. package/packages/core/test/integration/gemini/discovery/models.test.ts +0 -30
  2343. package/packages/core/test/integration/gemini/embeddings/create.test.ts +0 -39
  2344. package/packages/core/test/integration/gemini/images/generate.test.ts +0 -34
  2345. package/packages/core/test/integration/gemini/multimodal/vision.test.ts +0 -54
  2346. package/packages/core/test/integration/gemini/schema.test.ts +0 -44
  2347. package/packages/core/test/integration/ollama/chat/basic.test.ts +0 -41
  2348. package/packages/core/test/integration/openai/chat/basic.test.ts +0 -42
  2349. package/packages/core/test/integration/openai/chat/json.test.ts +0 -38
  2350. package/packages/core/test/integration/openai/chat/params.test.ts +0 -33
  2351. package/packages/core/test/integration/openai/chat/tools.test.ts +0 -66
  2352. package/packages/core/test/integration/openai/chat/usage.test.ts +0 -32
  2353. package/packages/core/test/integration/openai/discovery/models.test.ts +0 -28
  2354. package/packages/core/test/integration/openai/embeddings/create.test.ts +0 -39
  2355. package/packages/core/test/integration/openai/images/generate.test.ts +0 -26
  2356. package/packages/core/test/integration/openai/manual_schema.test.ts +0 -55
  2357. package/packages/core/test/integration/openai/multimodal/vision.test.ts +0 -103
  2358. package/packages/core/test/integration/openai/safety/moderation.test.ts +0 -27
  2359. package/packages/core/test/integration/openai/schema.test.ts +0 -43
  2360. package/packages/core/test/integration/openrouter/chat/basic.test.ts +0 -43
  2361. package/packages/core/test/integration/openrouter/chat/tools.test.ts +0 -42
  2362. package/packages/core/test/integration/openrouter/discovery/models.test.ts +0 -31
  2363. package/packages/core/test/integration/openrouter/embeddings/create.test.ts +0 -47
  2364. package/packages/core/test/integration/openrouter/multimodal/vision.test.ts +0 -33
  2365. package/packages/core/test/unit/chat/ChatStream.test.ts +0 -17
  2366. package/packages/core/test/unit/chat/Tool.test.ts +0 -71
  2367. package/packages/core/test/unit/chat/chat.test.ts +0 -43
  2368. package/packages/core/test/unit/chat/chat_events.test.ts +0 -91
  2369. package/packages/core/test/unit/chat/chat_tools.test.ts +0 -98
  2370. package/packages/core/test/unit/chat/headers.test.ts +0 -73
  2371. package/packages/core/test/unit/chat/retry.test.ts +0 -29
  2372. package/packages/core/test/unit/chat/system_prompts.test.ts +0 -82
  2373. package/packages/core/test/unit/chat/temperature.test.ts +0 -58
  2374. package/packages/core/test/unit/chat/tool-calling.test.ts +0 -159
  2375. package/packages/core/test/unit/chat/withParams.test.ts +0 -97
  2376. package/packages/core/test/unit/core/alias-logging.test.ts +0 -53
  2377. package/packages/core/test/unit/core/capabilities.test.ts +0 -70
  2378. package/packages/core/test/unit/core/custom_provider.test.ts +0 -62
  2379. package/packages/core/test/unit/core/debug.test.ts +0 -55
  2380. package/packages/core/test/unit/core/errors.test.ts +0 -116
  2381. package/packages/core/test/unit/core/llm.test.ts +0 -118
  2382. package/packages/core/test/unit/core/model-aliases-export.test.ts +0 -55
  2383. package/packages/core/test/unit/core/model_alias.test.ts +0 -130
  2384. package/packages/core/test/unit/core/withProvider.test.ts +0 -83
  2385. package/packages/core/test/unit/discovery/embedding.test.ts +0 -108
  2386. package/packages/core/test/unit/models/ModelRegistry.test.ts +0 -49
  2387. package/packages/core/test/unit/multimodal/transcribe.test.ts +0 -126
  2388. package/packages/core/test/unit/multimodal/vision.test.ts +0 -97
  2389. package/packages/core/test/unit/providers/anthropic/capabilities.test.ts +0 -53
  2390. package/packages/core/test/unit/providers/anthropic/chat.test.ts +0 -105
  2391. package/packages/core/test/unit/providers/anthropic/errors.test.ts +0 -42
  2392. package/packages/core/test/unit/providers/anthropic/models.test.ts +0 -31
  2393. package/packages/core/test/unit/providers/anthropic/provider.test.ts +0 -63
  2394. package/packages/core/test/unit/providers/anthropic/utils.test.ts +0 -99
  2395. package/packages/core/test/unit/providers/deepseek/capabilities.test.ts +0 -35
  2396. package/packages/core/test/unit/providers/deepseek/chat.test.ts +0 -131
  2397. package/packages/core/test/unit/providers/deepseek/models.test.ts +0 -53
  2398. package/packages/core/test/unit/providers/deepseek/provider.test.ts +0 -58
  2399. package/packages/core/test/unit/providers/gemini/capabilities.test.ts +0 -36
  2400. package/packages/core/test/unit/providers/gemini/chat.test.ts +0 -103
  2401. package/packages/core/test/unit/providers/gemini/chatUtils.test.ts +0 -79
  2402. package/packages/core/test/unit/providers/gemini/errors.test.ts +0 -37
  2403. package/packages/core/test/unit/providers/gemini/models.test.ts +0 -31
  2404. package/packages/core/test/unit/providers/gemini/provider.test.ts +0 -70
  2405. package/packages/core/test/unit/providers/ollama/registration.test.ts +0 -20
  2406. package/packages/core/test/unit/providers/openai/capabilities.test.ts +0 -39
  2407. package/packages/core/test/unit/providers/openai/chat.test.ts +0 -78
  2408. package/packages/core/test/unit/providers/openai/errors.test.ts +0 -32
  2409. package/packages/core/test/unit/providers/openai/models.test.ts +0 -33
  2410. package/packages/core/test/unit/providers/openai/provider.test.ts +0 -68
  2411. package/packages/core/test/unit/providers/openai/streaming.test.ts +0 -296
  2412. package/packages/core/test/unit/providers/openai/utils.test.ts +0 -33
  2413. package/packages/core/test/unit/providers/registry.test.ts +0 -41
  2414. package/packages/core/test/unit/safety/moderate.test.ts +0 -107
  2415. package/packages/core/test/unit/streaming/advanced.test.ts +0 -81
  2416. package/packages/core/tsconfig.json +0 -8
  2417. package/packages/core/vitest.config.ts +0 -8
  2418. package/pnpm-workspace.yaml +0 -2
  2419. package/tsconfig.base.json +0 -21
@@ -1,2239 +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 'node: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/v25.x/lib/test.js)
80
- */
81
- declare module "node:test" {
82
- import { AssertMethodNames } from "node:assert";
83
- import { Readable, ReadableEventMap } from "node:stream";
84
- import { TestEvent } from "node:test/reporters";
85
- import TestFn = test.TestFn;
86
- import TestOptions = test.TestOptions;
87
- /**
88
- * The `test()` function is the value imported from the `test` module. Each
89
- * invocation of this function results in reporting the test to the `TestsStream`.
90
- *
91
- * The `TestContext` object passed to the `fn` argument can be used to perform
92
- * actions related to the current test. Examples include skipping the test, adding
93
- * additional diagnostic information, or creating subtests.
94
- *
95
- * `test()` returns a `Promise` that fulfills once the test completes.
96
- * if `test()` is called within a suite, it fulfills immediately.
97
- * The return value can usually be discarded for top level tests.
98
- * However, the return value from subtests should be used to prevent the parent
99
- * test from finishing first and cancelling the subtest
100
- * as shown in the following example.
101
- *
102
- * ```js
103
- * test('top level test', async (t) => {
104
- * // The setTimeout() in the following subtest would cause it to outlive its
105
- * // parent test if 'await' is removed on the next line. Once the parent test
106
- * // completes, it will cancel any outstanding subtests.
107
- * await t.test('longer running subtest', async (t) => {
108
- * return new Promise((resolve, reject) => {
109
- * setTimeout(resolve, 1000);
110
- * });
111
- * });
112
- * });
113
- * ```
114
- *
115
- * 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
116
- * canceling tests because a running test might block the application thread and
117
- * thus prevent the scheduled cancellation.
118
- * @since v18.0.0, v16.17.0
119
- * @param name The name of the test, which is displayed when reporting test results.
120
- * Defaults to the `name` property of `fn`, or `'<anonymous>'` if `fn` does not have a name.
121
- * @param options Configuration options for the test.
122
- * @param fn The function under test. The first argument to this function is a {@link TestContext} object.
123
- * If the test uses callbacks, the callback function is passed as the second argument.
124
- * @return Fulfilled with `undefined` once the test completes, or immediately if the test runs within a suite.
125
- */
126
- function test(name?: string, fn?: TestFn): Promise<void>;
127
- function test(name?: string, options?: TestOptions, fn?: TestFn): Promise<void>;
128
- function test(options?: TestOptions, fn?: TestFn): Promise<void>;
129
- function test(fn?: TestFn): Promise<void>;
130
- namespace test {
131
- export { test };
132
- export { suite as describe, test as it };
133
- }
134
- namespace test {
135
- /**
136
- * **Note:** `shard` is used to horizontally parallelize test running across
137
- * machines or processes, ideal for large-scale executions across varied
138
- * environments. It's incompatible with `watch` mode, tailored for rapid
139
- * code iteration by automatically rerunning tests on file changes.
140
- *
141
- * ```js
142
- * import { tap } from 'node:test/reporters';
143
- * import { run } from 'node:test';
144
- * import process from 'node:process';
145
- * import path from 'node:path';
146
- *
147
- * run({ files: [path.resolve('./tests/test.js')] })
148
- * .compose(tap)
149
- * .pipe(process.stdout);
150
- * ```
151
- * @since v18.9.0, v16.19.0
152
- * @param options Configuration options for running tests.
153
- */
154
- function run(options?: RunOptions): TestsStream;
155
- /**
156
- * The `suite()` function is imported from the `node:test` module.
157
- * @param name The name of the suite, which is displayed when reporting test results.
158
- * Defaults to the `name` property of `fn`, or `'<anonymous>'` if `fn` does not have a name.
159
- * @param options Configuration options for the suite. This supports the same options as {@link test}.
160
- * @param fn The suite function declaring nested tests and suites. The first argument to this function is a {@link SuiteContext} object.
161
- * @return Immediately fulfilled with `undefined`.
162
- * @since v20.13.0
163
- */
164
- function suite(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
165
- function suite(name?: string, fn?: SuiteFn): Promise<void>;
166
- function suite(options?: TestOptions, fn?: SuiteFn): Promise<void>;
167
- function suite(fn?: SuiteFn): Promise<void>;
168
- namespace suite {
169
- /**
170
- * Shorthand for skipping a suite. This is the same as calling {@link suite} with `options.skip` set to `true`.
171
- * @since v20.13.0
172
- */
173
- function skip(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
174
- function skip(name?: string, fn?: SuiteFn): Promise<void>;
175
- function skip(options?: TestOptions, fn?: SuiteFn): Promise<void>;
176
- function skip(fn?: SuiteFn): Promise<void>;
177
- /**
178
- * Shorthand for marking a suite as `TODO`. This is the same as calling {@link suite} with `options.todo` set to `true`.
179
- * @since v20.13.0
180
- */
181
- function todo(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
182
- function todo(name?: string, fn?: SuiteFn): Promise<void>;
183
- function todo(options?: TestOptions, fn?: SuiteFn): Promise<void>;
184
- function todo(fn?: SuiteFn): Promise<void>;
185
- /**
186
- * Shorthand for marking a suite as `only`. This is the same as calling {@link suite} with `options.only` set to `true`.
187
- * @since v20.13.0
188
- */
189
- function only(name?: string, options?: TestOptions, fn?: SuiteFn): Promise<void>;
190
- function only(name?: string, fn?: SuiteFn): Promise<void>;
191
- function only(options?: TestOptions, fn?: SuiteFn): Promise<void>;
192
- function only(fn?: SuiteFn): Promise<void>;
193
- }
194
- /**
195
- * Shorthand for skipping a test. This is the same as calling {@link test} with `options.skip` set to `true`.
196
- * @since v20.2.0
197
- */
198
- function skip(name?: string, options?: TestOptions, fn?: TestFn): Promise<void>;
199
- function skip(name?: string, fn?: TestFn): Promise<void>;
200
- function skip(options?: TestOptions, fn?: TestFn): Promise<void>;
201
- function skip(fn?: TestFn): Promise<void>;
202
- /**
203
- * Shorthand for marking a test as `TODO`. This is the same as calling {@link test} with `options.todo` set to `true`.
204
- * @since v20.2.0
205
- */
206
- function todo(name?: string, options?: TestOptions, fn?: TestFn): Promise<void>;
207
- function todo(name?: string, fn?: TestFn): Promise<void>;
208
- function todo(options?: TestOptions, fn?: TestFn): Promise<void>;
209
- function todo(fn?: TestFn): Promise<void>;
210
- /**
211
- * Shorthand for marking a test as `only`. This is the same as calling {@link test} with `options.only` set to `true`.
212
- * @since v20.2.0
213
- */
214
- function only(name?: string, options?: TestOptions, fn?: TestFn): Promise<void>;
215
- function only(name?: string, fn?: TestFn): Promise<void>;
216
- function only(options?: TestOptions, fn?: TestFn): Promise<void>;
217
- function only(fn?: TestFn): Promise<void>;
218
- /**
219
- * The type of a function passed to {@link test}. The first argument to this function is a {@link TestContext} object.
220
- * If the test uses callbacks, the callback function is passed as the second argument.
221
- */
222
- type TestFn = (t: TestContext, done: (result?: any) => void) => void | Promise<void>;
223
- /**
224
- * The type of a suite test function. The argument to this function is a {@link SuiteContext} object.
225
- */
226
- type SuiteFn = (s: SuiteContext) => void | Promise<void>;
227
- interface TestShard {
228
- /**
229
- * A positive integer between 1 and `total` that specifies the index of the shard to run.
230
- */
231
- index: number;
232
- /**
233
- * A positive integer that specifies the total number of shards to split the test files to.
234
- */
235
- total: number;
236
- }
237
- interface RunOptions {
238
- /**
239
- * If a number is provided, then that many test processes would run in parallel, where each process corresponds to one test file.
240
- * If `true`, it would run `os.availableParallelism() - 1` test files in parallel. If `false`, it would only run one test file at a time.
241
- * @default false
242
- */
243
- concurrency?: number | boolean | undefined;
244
- /**
245
- * Specifies the current working directory to be used by the test runner.
246
- * Serves as the base path for resolving files according to the
247
- * [test runner execution model](https://nodejs.org/docs/latest-v25.x/api/test.html#test-runner-execution-model).
248
- * @since v23.0.0
249
- * @default process.cwd()
250
- */
251
- cwd?: string | undefined;
252
- /**
253
- * An array containing the list of files to run. If omitted, files are run according to the
254
- * [test runner execution model](https://nodejs.org/docs/latest-v25.x/api/test.html#test-runner-execution-model).
255
- */
256
- files?: readonly string[] | undefined;
257
- /**
258
- * Configures the test runner to exit the process once all known
259
- * tests have finished executing even if the event loop would
260
- * otherwise remain active.
261
- * @default false
262
- */
263
- forceExit?: boolean | undefined;
264
- /**
265
- * An array containing the list of glob patterns to match test files.
266
- * This option cannot be used together with `files`. If omitted, files are run according to the
267
- * [test runner execution model](https://nodejs.org/docs/latest-v25.x/api/test.html#test-runner-execution-model).
268
- * @since v22.6.0
269
- */
270
- globPatterns?: readonly string[] | undefined;
271
- /**
272
- * Sets inspector port of test child process.
273
- * This can be a number, or a function that takes no arguments and returns a
274
- * number. If a nullish value is provided, each process gets its own port,
275
- * incremented from the primary's `process.debugPort`. This option is ignored
276
- * if the `isolation` option is set to `'none'` as no child processes are
277
- * spawned.
278
- * @default undefined
279
- */
280
- inspectPort?: number | (() => number) | undefined;
281
- /**
282
- * Configures the type of test isolation. If set to
283
- * `'process'`, each test file is run in a separate child process. If set to
284
- * `'none'`, all test files run in the current process.
285
- * @default 'process'
286
- * @since v22.8.0
287
- */
288
- isolation?: "process" | "none" | undefined;
289
- /**
290
- * If truthy, the test context will only run tests that have the `only` option set
291
- */
292
- only?: boolean | undefined;
293
- /**
294
- * A function that accepts the `TestsStream` instance and can be used to setup listeners before any tests are run.
295
- * @default undefined
296
- */
297
- setup?: ((reporter: TestsStream) => void | Promise<void>) | undefined;
298
- /**
299
- * An array of CLI flags to pass to the `node` executable when
300
- * spawning the subprocesses. This option has no effect when `isolation` is `'none`'.
301
- * @since v22.10.0
302
- * @default []
303
- */
304
- execArgv?: readonly string[] | undefined;
305
- /**
306
- * An array of CLI flags to pass to each test file when spawning the
307
- * subprocesses. This option has no effect when `isolation` is `'none'`.
308
- * @since v22.10.0
309
- * @default []
310
- */
311
- argv?: readonly string[] | undefined;
312
- /**
313
- * Allows aborting an in-progress test execution.
314
- */
315
- signal?: AbortSignal | undefined;
316
- /**
317
- * If provided, only run tests whose name matches the provided pattern.
318
- * Strings are interpreted as JavaScript regular expressions.
319
- * @default undefined
320
- */
321
- testNamePatterns?: string | RegExp | ReadonlyArray<string | RegExp> | undefined;
322
- /**
323
- * A String, RegExp or a RegExp Array, that can be used to exclude running tests whose
324
- * name matches the provided pattern. Test name patterns are interpreted as JavaScript
325
- * regular expressions. For each test that is executed, any corresponding test hooks,
326
- * such as `beforeEach()`, are also run.
327
- * @default undefined
328
- * @since v22.1.0
329
- */
330
- testSkipPatterns?: string | RegExp | ReadonlyArray<string | RegExp> | undefined;
331
- /**
332
- * The number of milliseconds after which the test execution will fail.
333
- * If unspecified, subtests inherit this value from their parent.
334
- * @default Infinity
335
- */
336
- timeout?: number | undefined;
337
- /**
338
- * Whether to run in watch mode or not.
339
- * @default false
340
- */
341
- watch?: boolean | undefined;
342
- /**
343
- * Running tests in a specific shard.
344
- * @default undefined
345
- */
346
- shard?: TestShard | undefined;
347
- /**
348
- * A file path where the test runner will
349
- * store the state of the tests to allow rerunning only the failed tests on a next run.
350
- * @since v24.7.0
351
- * @default undefined
352
- */
353
- rerunFailuresFilePath?: string | undefined;
354
- /**
355
- * enable [code coverage](https://nodejs.org/docs/latest-v25.x/api/test.html#collecting-code-coverage) collection.
356
- * @since v22.10.0
357
- * @default false
358
- */
359
- coverage?: boolean | undefined;
360
- /**
361
- * Excludes specific files from code coverage
362
- * using a glob pattern, which can match both absolute and relative file paths.
363
- * This property is only applicable when `coverage` was set to `true`.
364
- * If both `coverageExcludeGlobs` and `coverageIncludeGlobs` are provided,
365
- * files must meet **both** criteria to be included in the coverage report.
366
- * @since v22.10.0
367
- * @default undefined
368
- */
369
- coverageExcludeGlobs?: string | readonly string[] | undefined;
370
- /**
371
- * Includes specific files in code coverage
372
- * using a glob pattern, which can match both absolute and relative file paths.
373
- * This property is only applicable when `coverage` was set to `true`.
374
- * If both `coverageExcludeGlobs` and `coverageIncludeGlobs` are provided,
375
- * files must meet **both** criteria to be included in the coverage report.
376
- * @since v22.10.0
377
- * @default undefined
378
- */
379
- coverageIncludeGlobs?: string | readonly string[] | undefined;
380
- /**
381
- * Require a minimum percent of covered lines. If code
382
- * coverage does not reach the threshold specified, the process will exit with code `1`.
383
- * @since v22.10.0
384
- * @default 0
385
- */
386
- lineCoverage?: number | undefined;
387
- /**
388
- * Require a minimum percent of covered branches. If code
389
- * coverage does not reach the threshold specified, the process will exit with code `1`.
390
- * @since v22.10.0
391
- * @default 0
392
- */
393
- branchCoverage?: number | undefined;
394
- /**
395
- * Require a minimum percent of covered functions. If code
396
- * coverage does not reach the threshold specified, the process will exit with code `1`.
397
- * @since v22.10.0
398
- * @default 0
399
- */
400
- functionCoverage?: number | undefined;
401
- }
402
- interface TestsStreamEventMap extends ReadableEventMap {
403
- "data": [data: TestEvent];
404
- "test:coverage": [data: EventData.TestCoverage];
405
- "test:complete": [data: EventData.TestComplete];
406
- "test:dequeue": [data: EventData.TestDequeue];
407
- "test:diagnostic": [data: EventData.TestDiagnostic];
408
- "test:enqueue": [data: EventData.TestEnqueue];
409
- "test:fail": [data: EventData.TestFail];
410
- "test:pass": [data: EventData.TestPass];
411
- "test:plan": [data: EventData.TestPlan];
412
- "test:start": [data: EventData.TestStart];
413
- "test:stderr": [data: EventData.TestStderr];
414
- "test:stdout": [data: EventData.TestStdout];
415
- "test:summary": [data: EventData.TestSummary];
416
- "test:watch:drained": [];
417
- "test:watch:restarted": [];
418
- }
419
- /**
420
- * A successful call to `run()` will return a new `TestsStream` object, streaming a series of events representing the execution of the tests.
421
- *
422
- * 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.
423
- * @since v18.9.0, v16.19.0
424
- */
425
- interface TestsStream extends Readable {
426
- // #region InternalEventEmitter
427
- addListener<E extends keyof TestsStreamEventMap>(
428
- eventName: E,
429
- listener: (...args: TestsStreamEventMap[E]) => void,
430
- ): this;
431
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
432
- emit<E extends keyof TestsStreamEventMap>(eventName: E, ...args: TestsStreamEventMap[E]): boolean;
433
- emit(eventName: string | symbol, ...args: any[]): boolean;
434
- listenerCount<E extends keyof TestsStreamEventMap>(
435
- eventName: E,
436
- listener?: (...args: TestsStreamEventMap[E]) => void,
437
- ): number;
438
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
439
- listeners<E extends keyof TestsStreamEventMap>(eventName: E): ((...args: TestsStreamEventMap[E]) => void)[];
440
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
441
- off<E extends keyof TestsStreamEventMap>(
442
- eventName: E,
443
- listener: (...args: TestsStreamEventMap[E]) => void,
444
- ): this;
445
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
446
- on<E extends keyof TestsStreamEventMap>(
447
- eventName: E,
448
- listener: (...args: TestsStreamEventMap[E]) => void,
449
- ): this;
450
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
451
- once<E extends keyof TestsStreamEventMap>(
452
- eventName: E,
453
- listener: (...args: TestsStreamEventMap[E]) => void,
454
- ): this;
455
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
456
- prependListener<E extends keyof TestsStreamEventMap>(
457
- eventName: E,
458
- listener: (...args: TestsStreamEventMap[E]) => void,
459
- ): this;
460
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
461
- prependOnceListener<E extends keyof TestsStreamEventMap>(
462
- eventName: E,
463
- listener: (...args: TestsStreamEventMap[E]) => void,
464
- ): this;
465
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
466
- rawListeners<E extends keyof TestsStreamEventMap>(
467
- eventName: E,
468
- ): ((...args: TestsStreamEventMap[E]) => void)[];
469
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
470
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
471
- removeAllListeners<E extends keyof TestsStreamEventMap>(eventName?: E): this;
472
- removeAllListeners(eventName?: string | symbol): this;
473
- removeListener<E extends keyof TestsStreamEventMap>(
474
- eventName: E,
475
- listener: (...args: TestsStreamEventMap[E]) => void,
476
- ): this;
477
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
478
- // #endregion
479
- }
480
- namespace EventData {
481
- interface Error extends globalThis.Error {
482
- cause: globalThis.Error;
483
- }
484
- interface LocationInfo {
485
- /**
486
- * The column number where the test is defined, or
487
- * `undefined` if the test was run through the REPL.
488
- */
489
- column?: number;
490
- /**
491
- * The path of the test file, `undefined` if test was run through the REPL.
492
- */
493
- file?: string;
494
- /**
495
- * The line number where the test is defined, or `undefined` if the test was run through the REPL.
496
- */
497
- line?: number;
498
- }
499
- interface TestDiagnostic extends LocationInfo {
500
- /**
501
- * The diagnostic message.
502
- */
503
- message: string;
504
- /**
505
- * The nesting level of the test.
506
- */
507
- nesting: number;
508
- /**
509
- * The severity level of the diagnostic message.
510
- * Possible values are:
511
- * * `'info'`: Informational messages.
512
- * * `'warn'`: Warnings.
513
- * * `'error'`: Errors.
514
- */
515
- level: "info" | "warn" | "error";
516
- }
517
- interface TestCoverage {
518
- /**
519
- * An object containing the coverage report.
520
- */
521
- summary: {
522
- /**
523
- * An array of coverage reports for individual files.
524
- */
525
- files: Array<{
526
- /**
527
- * The absolute path of the file.
528
- */
529
- path: string;
530
- /**
531
- * The total number of lines.
532
- */
533
- totalLineCount: number;
534
- /**
535
- * The total number of branches.
536
- */
537
- totalBranchCount: number;
538
- /**
539
- * The total number of functions.
540
- */
541
- totalFunctionCount: number;
542
- /**
543
- * The number of covered lines.
544
- */
545
- coveredLineCount: number;
546
- /**
547
- * The number of covered branches.
548
- */
549
- coveredBranchCount: number;
550
- /**
551
- * The number of covered functions.
552
- */
553
- coveredFunctionCount: number;
554
- /**
555
- * The percentage of lines covered.
556
- */
557
- coveredLinePercent: number;
558
- /**
559
- * The percentage of branches covered.
560
- */
561
- coveredBranchPercent: number;
562
- /**
563
- * The percentage of functions covered.
564
- */
565
- coveredFunctionPercent: number;
566
- /**
567
- * An array of functions representing function coverage.
568
- */
569
- functions: Array<{
570
- /**
571
- * The name of the function.
572
- */
573
- name: string;
574
- /**
575
- * The line number where the function is defined.
576
- */
577
- line: number;
578
- /**
579
- * The number of times the function was called.
580
- */
581
- count: number;
582
- }>;
583
- /**
584
- * An array of branches representing branch coverage.
585
- */
586
- branches: Array<{
587
- /**
588
- * The line number where the branch is defined.
589
- */
590
- line: number;
591
- /**
592
- * The number of times the branch was taken.
593
- */
594
- count: number;
595
- }>;
596
- /**
597
- * An array of lines representing line numbers and the number of times they were covered.
598
- */
599
- lines: Array<{
600
- /**
601
- * The line number.
602
- */
603
- line: number;
604
- /**
605
- * The number of times the line was covered.
606
- */
607
- count: number;
608
- }>;
609
- }>;
610
- /**
611
- * An object containing whether or not the coverage for
612
- * each coverage type.
613
- * @since v22.9.0
614
- */
615
- thresholds: {
616
- /**
617
- * The function coverage threshold.
618
- */
619
- function: number;
620
- /**
621
- * The branch coverage threshold.
622
- */
623
- branch: number;
624
- /**
625
- * The line coverage threshold.
626
- */
627
- line: number;
628
- };
629
- /**
630
- * An object containing a summary of coverage for all files.
631
- */
632
- totals: {
633
- /**
634
- * The total number of lines.
635
- */
636
- totalLineCount: number;
637
- /**
638
- * The total number of branches.
639
- */
640
- totalBranchCount: number;
641
- /**
642
- * The total number of functions.
643
- */
644
- totalFunctionCount: number;
645
- /**
646
- * The number of covered lines.
647
- */
648
- coveredLineCount: number;
649
- /**
650
- * The number of covered branches.
651
- */
652
- coveredBranchCount: number;
653
- /**
654
- * The number of covered functions.
655
- */
656
- coveredFunctionCount: number;
657
- /**
658
- * The percentage of lines covered.
659
- */
660
- coveredLinePercent: number;
661
- /**
662
- * The percentage of branches covered.
663
- */
664
- coveredBranchPercent: number;
665
- /**
666
- * The percentage of functions covered.
667
- */
668
- coveredFunctionPercent: number;
669
- };
670
- /**
671
- * The working directory when code coverage began. This
672
- * is useful for displaying relative path names in case
673
- * the tests changed the working directory of the Node.js process.
674
- */
675
- workingDirectory: string;
676
- };
677
- /**
678
- * The nesting level of the test.
679
- */
680
- nesting: number;
681
- }
682
- interface TestComplete extends LocationInfo {
683
- /**
684
- * Additional execution metadata.
685
- */
686
- details: {
687
- /**
688
- * Whether the test passed or not.
689
- */
690
- passed: boolean;
691
- /**
692
- * The duration of the test in milliseconds.
693
- */
694
- duration_ms: number;
695
- /**
696
- * An error wrapping the error thrown by the test if it did not pass.
697
- */
698
- error?: Error;
699
- /**
700
- * The type of the test, used to denote whether this is a suite.
701
- */
702
- type?: "suite" | "test";
703
- };
704
- /**
705
- * The test name.
706
- */
707
- name: string;
708
- /**
709
- * The nesting level of the test.
710
- */
711
- nesting: number;
712
- /**
713
- * The ordinal number of the test.
714
- */
715
- testNumber: number;
716
- /**
717
- * Present if `context.todo` is called.
718
- */
719
- todo?: string | boolean;
720
- /**
721
- * Present if `context.skip` is called.
722
- */
723
- skip?: string | boolean;
724
- }
725
- interface TestDequeue extends LocationInfo {
726
- /**
727
- * The test name.
728
- */
729
- name: string;
730
- /**
731
- * The nesting level of the test.
732
- */
733
- nesting: number;
734
- /**
735
- * The test type. Either `'suite'` or `'test'`.
736
- * @since v22.15.0
737
- */
738
- type: "suite" | "test";
739
- }
740
- interface TestEnqueue extends LocationInfo {
741
- /**
742
- * The test name.
743
- */
744
- name: string;
745
- /**
746
- * The nesting level of the test.
747
- */
748
- nesting: number;
749
- /**
750
- * The test type. Either `'suite'` or `'test'`.
751
- * @since v22.15.0
752
- */
753
- type: "suite" | "test";
754
- }
755
- interface TestFail extends LocationInfo {
756
- /**
757
- * Additional execution metadata.
758
- */
759
- details: {
760
- /**
761
- * The duration of the test in milliseconds.
762
- */
763
- duration_ms: number;
764
- /**
765
- * An error wrapping the error thrown by the test.
766
- */
767
- error: Error;
768
- /**
769
- * The type of the test, used to denote whether this is a suite.
770
- * @since v20.0.0, v19.9.0, v18.17.0
771
- */
772
- type?: "suite" | "test";
773
- /**
774
- * The attempt number of the test run,
775
- * present only when using the `--test-rerun-failures` flag.
776
- * @since v24.7.0
777
- */
778
- attempt?: number;
779
- };
780
- /**
781
- * The test name.
782
- */
783
- name: string;
784
- /**
785
- * The nesting level of the test.
786
- */
787
- nesting: number;
788
- /**
789
- * The ordinal number of the test.
790
- */
791
- testNumber: number;
792
- /**
793
- * Present if `context.todo` is called.
794
- */
795
- todo?: string | boolean;
796
- /**
797
- * Present if `context.skip` is called.
798
- */
799
- skip?: string | boolean;
800
- }
801
- interface TestPass extends LocationInfo {
802
- /**
803
- * Additional execution metadata.
804
- */
805
- details: {
806
- /**
807
- * The duration of the test in milliseconds.
808
- */
809
- duration_ms: number;
810
- /**
811
- * The type of the test, used to denote whether this is a suite.
812
- * @since 20.0.0, 19.9.0, 18.17.0
813
- */
814
- type?: "suite" | "test";
815
- /**
816
- * The attempt number of the test run,
817
- * present only when using the `--test-rerun-failures` flag.
818
- * @since v24.7.0
819
- */
820
- attempt?: number;
821
- /**
822
- * The attempt number the test passed on,
823
- * present only when using the `--test-rerun-failures` flag.
824
- * @since v24.7.0
825
- */
826
- passed_on_attempt?: number;
827
- };
828
- /**
829
- * The test name.
830
- */
831
- name: string;
832
- /**
833
- * The nesting level of the test.
834
- */
835
- nesting: number;
836
- /**
837
- * The ordinal number of the test.
838
- */
839
- testNumber: number;
840
- /**
841
- * Present if `context.todo` is called.
842
- */
843
- todo?: string | boolean;
844
- /**
845
- * Present if `context.skip` is called.
846
- */
847
- skip?: string | boolean;
848
- }
849
- interface TestPlan extends LocationInfo {
850
- /**
851
- * The nesting level of the test.
852
- */
853
- nesting: number;
854
- /**
855
- * The number of subtests that have ran.
856
- */
857
- count: number;
858
- }
859
- interface TestStart extends LocationInfo {
860
- /**
861
- * The test name.
862
- */
863
- name: string;
864
- /**
865
- * The nesting level of the test.
866
- */
867
- nesting: number;
868
- }
869
- interface TestStderr {
870
- /**
871
- * The path of the test file.
872
- */
873
- file: string;
874
- /**
875
- * The message written to `stderr`.
876
- */
877
- message: string;
878
- }
879
- interface TestStdout {
880
- /**
881
- * The path of the test file.
882
- */
883
- file: string;
884
- /**
885
- * The message written to `stdout`.
886
- */
887
- message: string;
888
- }
889
- interface TestSummary {
890
- /**
891
- * An object containing the counts of various test results.
892
- */
893
- counts: {
894
- /**
895
- * The total number of cancelled tests.
896
- */
897
- cancelled: number;
898
- /**
899
- * The total number of passed tests.
900
- */
901
- passed: number;
902
- /**
903
- * The total number of skipped tests.
904
- */
905
- skipped: number;
906
- /**
907
- * The total number of suites run.
908
- */
909
- suites: number;
910
- /**
911
- * The total number of tests run, excluding suites.
912
- */
913
- tests: number;
914
- /**
915
- * The total number of TODO tests.
916
- */
917
- todo: number;
918
- /**
919
- * The total number of top level tests and suites.
920
- */
921
- topLevel: number;
922
- };
923
- /**
924
- * The duration of the test run in milliseconds.
925
- */
926
- duration_ms: number;
927
- /**
928
- * The path of the test file that generated the
929
- * summary. If the summary corresponds to multiple files, this value is
930
- * `undefined`.
931
- */
932
- file: string | undefined;
933
- /**
934
- * Indicates whether or not the test run is considered
935
- * successful or not. If any error condition occurs, such as a failing test or
936
- * unmet coverage threshold, this value will be set to `false`.
937
- */
938
- success: boolean;
939
- }
940
- }
941
- /**
942
- * An instance of `TestContext` is passed to each test function in order to
943
- * interact with the test runner. However, the `TestContext` constructor is not
944
- * exposed as part of the API.
945
- * @since v18.0.0, v16.17.0
946
- */
947
- interface TestContext {
948
- /**
949
- * An object containing assertion methods bound to the test context.
950
- * The top-level functions from the `node:assert` module are exposed here for the purpose of creating test plans.
951
- *
952
- * **Note:** Some of the functions from `node:assert` contain type assertions. If these are called via the
953
- * TestContext `assert` object, then the context parameter in the test's function signature **must be explicitly typed**
954
- * (ie. the parameter must have a type annotation), otherwise an error will be raised by the TypeScript compiler:
955
- * ```ts
956
- * import { test, type TestContext } from 'node:test';
957
- *
958
- * // The test function's context parameter must have a type annotation.
959
- * test('example', (t: TestContext) => {
960
- * t.assert.deepStrictEqual(actual, expected);
961
- * });
962
- *
963
- * // Omitting the type annotation will result in a compilation error.
964
- * test('example', t => {
965
- * t.assert.deepStrictEqual(actual, expected); // Error: 't' needs an explicit type annotation.
966
- * });
967
- * ```
968
- * @since v22.2.0, v20.15.0
969
- */
970
- readonly assert: TestContextAssert;
971
- readonly attempt: number;
972
- /**
973
- * This function is used to create a hook running before subtest of the current test.
974
- * @param fn The hook function. The first argument to this function is a `TestContext` object.
975
- * If the hook uses callbacks, the callback function is passed as the second argument.
976
- * @param options Configuration options for the hook.
977
- * @since v20.1.0, v18.17.0
978
- */
979
- before(fn?: TestContextHookFn, options?: HookOptions): void;
980
- /**
981
- * This function is used to create a hook running before each subtest of the current test.
982
- * @param fn The hook function. The first argument to this function is a `TestContext` object.
983
- * If the hook uses callbacks, the callback function is passed as the second argument.
984
- * @param options Configuration options for the hook.
985
- * @since v18.8.0
986
- */
987
- beforeEach(fn?: TestContextHookFn, options?: HookOptions): void;
988
- /**
989
- * This function is used to create a hook that runs after the current test finishes.
990
- * @param fn The hook function. The first argument to this function is a `TestContext` object.
991
- * If the hook uses callbacks, the callback function is passed as the second argument.
992
- * @param options Configuration options for the hook.
993
- * @since v18.13.0
994
- */
995
- after(fn?: TestContextHookFn, options?: HookOptions): void;
996
- /**
997
- * This function is used to create a hook running after each subtest of the current test.
998
- * @param fn The hook function. The first argument to this function is a `TestContext` object.
999
- * If the hook uses callbacks, the callback function is passed as the second argument.
1000
- * @param options Configuration options for the hook.
1001
- * @since v18.8.0
1002
- */
1003
- afterEach(fn?: TestContextHookFn, options?: HookOptions): void;
1004
- /**
1005
- * This function is used to write diagnostics to the output. Any diagnostic
1006
- * information is included at the end of the test's results. This function does
1007
- * not return a value.
1008
- *
1009
- * ```js
1010
- * test('top level test', (t) => {
1011
- * t.diagnostic('A diagnostic message');
1012
- * });
1013
- * ```
1014
- * @since v18.0.0, v16.17.0
1015
- * @param message Message to be reported.
1016
- */
1017
- diagnostic(message: string): void;
1018
- /**
1019
- * The absolute path of the test file that created the current test. If a test file imports
1020
- * additional modules that generate tests, the imported tests will return the path of the root test file.
1021
- * @since v22.6.0
1022
- */
1023
- readonly filePath: string | undefined;
1024
- /**
1025
- * The name of the test and each of its ancestors, separated by `>`.
1026
- * @since v22.3.0
1027
- */
1028
- readonly fullName: string;
1029
- /**
1030
- * The name of the test.
1031
- * @since v18.8.0, v16.18.0
1032
- */
1033
- readonly name: string;
1034
- /**
1035
- * This function is used to set the number of assertions and subtests that are expected to run
1036
- * within the test. If the number of assertions and subtests that run does not match the
1037
- * expected count, the test will fail.
1038
- *
1039
- * > Note: To make sure assertions are tracked, `t.assert` must be used instead of `assert` directly.
1040
- *
1041
- * ```js
1042
- * test('top level test', (t) => {
1043
- * t.plan(2);
1044
- * t.assert.ok('some relevant assertion here');
1045
- * t.test('subtest', () => {});
1046
- * });
1047
- * ```
1048
- *
1049
- * When working with asynchronous code, the `plan` function can be used to ensure that the
1050
- * correct number of assertions are run:
1051
- *
1052
- * ```js
1053
- * test('planning with streams', (t, done) => {
1054
- * function* generate() {
1055
- * yield 'a';
1056
- * yield 'b';
1057
- * yield 'c';
1058
- * }
1059
- * const expected = ['a', 'b', 'c'];
1060
- * t.plan(expected.length);
1061
- * const stream = Readable.from(generate());
1062
- * stream.on('data', (chunk) => {
1063
- * t.assert.strictEqual(chunk, expected.shift());
1064
- * });
1065
- *
1066
- * stream.on('end', () => {
1067
- * done();
1068
- * });
1069
- * });
1070
- * ```
1071
- *
1072
- * When using the `wait` option, you can control how long the test will wait for the expected assertions.
1073
- * For example, setting a maximum wait time ensures that the test will wait for asynchronous assertions
1074
- * to complete within the specified timeframe:
1075
- *
1076
- * ```js
1077
- * test('plan with wait: 2000 waits for async assertions', (t) => {
1078
- * t.plan(1, { wait: 2000 }); // Waits for up to 2 seconds for the assertion to complete.
1079
- *
1080
- * const asyncActivity = () => {
1081
- * setTimeout(() => {
1082
- * * t.assert.ok(true, 'Async assertion completed within the wait time');
1083
- * }, 1000); // Completes after 1 second, within the 2-second wait time.
1084
- * };
1085
- *
1086
- * asyncActivity(); // The test will pass because the assertion is completed in time.
1087
- * });
1088
- * ```
1089
- *
1090
- * Note: If a `wait` timeout is specified, it begins counting down only after the test function finishes executing.
1091
- * @since v22.2.0
1092
- */
1093
- plan(count: number, options?: TestContextPlanOptions): void;
1094
- /**
1095
- * If `shouldRunOnlyTests` is truthy, the test context will only run tests that
1096
- * have the `only` option set. Otherwise, all tests are run. If Node.js was not
1097
- * started with the `--test-only` command-line option, this function is a
1098
- * no-op.
1099
- *
1100
- * ```js
1101
- * test('top level test', (t) => {
1102
- * // The test context can be set to run subtests with the 'only' option.
1103
- * t.runOnly(true);
1104
- * return Promise.all([
1105
- * t.test('this subtest is now skipped'),
1106
- * t.test('this subtest is run', { only: true }),
1107
- * ]);
1108
- * });
1109
- * ```
1110
- * @since v18.0.0, v16.17.0
1111
- * @param shouldRunOnlyTests Whether or not to run `only` tests.
1112
- */
1113
- runOnly(shouldRunOnlyTests: boolean): void;
1114
- /**
1115
- * ```js
1116
- * test('top level test', async (t) => {
1117
- * await fetch('some/uri', { signal: t.signal });
1118
- * });
1119
- * ```
1120
- * @since v18.7.0, v16.17.0
1121
- */
1122
- readonly signal: AbortSignal;
1123
- /**
1124
- * 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
1125
- * not terminate execution of the test function. This function does not return a
1126
- * value.
1127
- *
1128
- * ```js
1129
- * test('top level test', (t) => {
1130
- * // Make sure to return here as well if the test contains additional logic.
1131
- * t.skip('this is skipped');
1132
- * });
1133
- * ```
1134
- * @since v18.0.0, v16.17.0
1135
- * @param message Optional skip message.
1136
- */
1137
- skip(message?: string): void;
1138
- /**
1139
- * This function adds a `TODO` directive to the test's output. If `message` is
1140
- * provided, it is included in the output. Calling `todo()` does not terminate
1141
- * execution of the test function. This function does not return a value.
1142
- *
1143
- * ```js
1144
- * test('top level test', (t) => {
1145
- * // This test is marked as `TODO`
1146
- * t.todo('this is a todo');
1147
- * });
1148
- * ```
1149
- * @since v18.0.0, v16.17.0
1150
- * @param message Optional `TODO` message.
1151
- */
1152
- todo(message?: string): void;
1153
- /**
1154
- * This function is used to create subtests under the current test. This function behaves in
1155
- * the same fashion as the top level {@link test} function.
1156
- * @since v18.0.0
1157
- * @param name The name of the test, which is displayed when reporting test results.
1158
- * Defaults to the `name` property of `fn`, or `'<anonymous>'` if `fn` does not have a name.
1159
- * @param options Configuration options for the test.
1160
- * @param fn The function under test. This first argument to this function is a {@link TestContext} object.
1161
- * If the test uses callbacks, the callback function is passed as the second argument.
1162
- * @returns A {@link Promise} resolved with `undefined` once the test completes.
1163
- */
1164
- test: typeof test;
1165
- /**
1166
- * This method polls a `condition` function until that function either returns
1167
- * successfully or the operation times out.
1168
- * @since v22.14.0
1169
- * @param condition An assertion function that is invoked
1170
- * periodically until it completes successfully or the defined polling timeout
1171
- * elapses. Successful completion is defined as not throwing or rejecting. This
1172
- * function does not accept any arguments, and is allowed to return any value.
1173
- * @param options An optional configuration object for the polling operation.
1174
- * @returns Fulfilled with the value returned by `condition`.
1175
- */
1176
- waitFor<T>(condition: () => T, options?: TestContextWaitForOptions): Promise<Awaited<T>>;
1177
- /**
1178
- * Each test provides its own MockTracker instance.
1179
- */
1180
- readonly mock: MockTracker;
1181
- }
1182
- interface TestContextAssert extends Pick<typeof import("assert"), AssertMethodNames> {
1183
- /**
1184
- * This function serializes `value` and writes it to the file specified by `path`.
1185
- *
1186
- * ```js
1187
- * test('snapshot test with default serialization', (t) => {
1188
- * t.assert.fileSnapshot({ value1: 1, value2: 2 }, './snapshots/snapshot.json');
1189
- * });
1190
- * ```
1191
- *
1192
- * This function differs from `context.assert.snapshot()` in the following ways:
1193
- *
1194
- * * The snapshot file path is explicitly provided by the user.
1195
- * * Each snapshot file is limited to a single snapshot value.
1196
- * * No additional escaping is performed by the test runner.
1197
- *
1198
- * These differences allow snapshot files to better support features such as syntax
1199
- * highlighting.
1200
- * @since v22.14.0
1201
- * @param value A value to serialize to a string. If Node.js was started with
1202
- * the [`--test-update-snapshots`](https://nodejs.org/docs/latest-v25.x/api/cli.html#--test-update-snapshots)
1203
- * flag, the serialized value is written to
1204
- * `path`. Otherwise, the serialized value is compared to the contents of the
1205
- * existing snapshot file.
1206
- * @param path The file where the serialized `value` is written.
1207
- * @param options Optional configuration options.
1208
- */
1209
- fileSnapshot(value: any, path: string, options?: AssertSnapshotOptions): void;
1210
- /**
1211
- * This function implements assertions for snapshot testing.
1212
- * ```js
1213
- * test('snapshot test with default serialization', (t) => {
1214
- * t.assert.snapshot({ value1: 1, value2: 2 });
1215
- * });
1216
- *
1217
- * test('snapshot test with custom serialization', (t) => {
1218
- * t.assert.snapshot({ value3: 3, value4: 4 }, {
1219
- * serializers: [(value) => JSON.stringify(value)]
1220
- * });
1221
- * });
1222
- * ```
1223
- * @since v22.3.0
1224
- * @param value A value to serialize to a string. If Node.js was started with
1225
- * the [`--test-update-snapshots`](https://nodejs.org/docs/latest-v25.x/api/cli.html#--test-update-snapshots)
1226
- * flag, the serialized value is written to
1227
- * the snapshot file. Otherwise, the serialized value is compared to the
1228
- * corresponding value in the existing snapshot file.
1229
- */
1230
- snapshot(value: any, options?: AssertSnapshotOptions): void;
1231
- /**
1232
- * A custom assertion function registered with `assert.register()`.
1233
- */
1234
- [name: string]: (...args: any[]) => void;
1235
- }
1236
- interface AssertSnapshotOptions {
1237
- /**
1238
- * An array of synchronous functions used to serialize `value` into a string.
1239
- * `value` is passed as the only argument to the first serializer function.
1240
- * The return value of each serializer is passed as input to the next serializer.
1241
- * Once all serializers have run, the resulting value is coerced to a string.
1242
- *
1243
- * If no serializers are provided, the test runner's default serializers are used.
1244
- */
1245
- serializers?: ReadonlyArray<(value: any) => any> | undefined;
1246
- }
1247
- interface TestContextPlanOptions {
1248
- /**
1249
- * The wait time for the plan:
1250
- * * If `true`, the plan waits indefinitely for all assertions and subtests to run.
1251
- * * If `false`, the plan performs an immediate check after the test function completes,
1252
- * without waiting for any pending assertions or subtests.
1253
- * Any assertions or subtests that complete after this check will not be counted towards the plan.
1254
- * * If a number, it specifies the maximum wait time in milliseconds
1255
- * before timing out while waiting for expected assertions and subtests to be matched.
1256
- * If the timeout is reached, the test will fail.
1257
- * @default false
1258
- */
1259
- wait?: boolean | number | undefined;
1260
- }
1261
- interface TestContextWaitForOptions {
1262
- /**
1263
- * The number of milliseconds to wait after an unsuccessful
1264
- * invocation of `condition` before trying again.
1265
- * @default 50
1266
- */
1267
- interval?: number | undefined;
1268
- /**
1269
- * The poll timeout in milliseconds. If `condition` has not
1270
- * succeeded by the time this elapses, an error occurs.
1271
- * @default 1000
1272
- */
1273
- timeout?: number | undefined;
1274
- }
1275
- /**
1276
- * An instance of `SuiteContext` is passed to each suite function in order to
1277
- * interact with the test runner. However, the `SuiteContext` constructor is not
1278
- * exposed as part of the API.
1279
- * @since v18.7.0, v16.17.0
1280
- */
1281
- interface SuiteContext {
1282
- /**
1283
- * The absolute path of the test file that created the current suite. If a test file imports
1284
- * additional modules that generate suites, the imported suites will return the path of the root test file.
1285
- * @since v22.6.0
1286
- */
1287
- readonly filePath: string | undefined;
1288
- /**
1289
- * The name of the suite.
1290
- * @since v18.8.0, v16.18.0
1291
- */
1292
- readonly name: string;
1293
- /**
1294
- * Can be used to abort test subtasks when the test has been aborted.
1295
- * @since v18.7.0, v16.17.0
1296
- */
1297
- readonly signal: AbortSignal;
1298
- }
1299
- interface TestOptions {
1300
- /**
1301
- * If a number is provided, then that many tests would run in parallel.
1302
- * If truthy, it would run (number of cpu cores - 1) tests in parallel.
1303
- * For subtests, it will be `Infinity` tests in parallel.
1304
- * If falsy, it would only run one test at a time.
1305
- * If unspecified, subtests inherit this value from their parent.
1306
- * @default false
1307
- */
1308
- concurrency?: number | boolean | undefined;
1309
- /**
1310
- * If truthy, and the test context is configured to run `only` tests, then this test will be
1311
- * run. Otherwise, the test is skipped.
1312
- * @default false
1313
- */
1314
- only?: boolean | undefined;
1315
- /**
1316
- * Allows aborting an in-progress test.
1317
- * @since v18.8.0
1318
- */
1319
- signal?: AbortSignal | undefined;
1320
- /**
1321
- * If truthy, the test is skipped. If a string is provided, that string is displayed in the
1322
- * test results as the reason for skipping the test.
1323
- * @default false
1324
- */
1325
- skip?: boolean | string | undefined;
1326
- /**
1327
- * A number of milliseconds the test will fail after. If unspecified, subtests inherit this
1328
- * value from their parent.
1329
- * @default Infinity
1330
- * @since v18.7.0
1331
- */
1332
- timeout?: number | undefined;
1333
- /**
1334
- * If truthy, the test marked as `TODO`. If a string is provided, that string is displayed in
1335
- * the test results as the reason why the test is `TODO`.
1336
- * @default false
1337
- */
1338
- todo?: boolean | string | undefined;
1339
- /**
1340
- * The number of assertions and subtests expected to be run in the test.
1341
- * If the number of assertions run in the test does not match the number
1342
- * specified in the plan, the test will fail.
1343
- * @default undefined
1344
- * @since v22.2.0
1345
- */
1346
- plan?: number | undefined;
1347
- }
1348
- /**
1349
- * This function creates a hook that runs before executing a suite.
1350
- *
1351
- * ```js
1352
- * describe('tests', async () => {
1353
- * before(() => console.log('about to run some test'));
1354
- * it('is a subtest', () => {
1355
- * assert.ok('some relevant assertion here');
1356
- * });
1357
- * });
1358
- * ```
1359
- * @since v18.8.0, v16.18.0
1360
- * @param fn The hook function. If the hook uses callbacks, the callback function is passed as the second argument.
1361
- * @param options Configuration options for the hook.
1362
- */
1363
- function before(fn?: HookFn, options?: HookOptions): void;
1364
- /**
1365
- * This function creates a hook that runs after executing a suite.
1366
- *
1367
- * ```js
1368
- * describe('tests', async () => {
1369
- * after(() => console.log('finished running tests'));
1370
- * it('is a subtest', () => {
1371
- * assert.ok('some relevant assertion here');
1372
- * });
1373
- * });
1374
- * ```
1375
- * @since v18.8.0, v16.18.0
1376
- * @param fn The hook function. If the hook uses callbacks, the callback function is passed as the second argument.
1377
- * @param options Configuration options for the hook.
1378
- */
1379
- function after(fn?: HookFn, options?: HookOptions): void;
1380
- /**
1381
- * This function creates a hook that runs before each test in the current suite.
1382
- *
1383
- * ```js
1384
- * describe('tests', async () => {
1385
- * beforeEach(() => console.log('about to run a test'));
1386
- * it('is a subtest', () => {
1387
- * assert.ok('some relevant assertion here');
1388
- * });
1389
- * });
1390
- * ```
1391
- * @since v18.8.0, v16.18.0
1392
- * @param fn The hook function. If the hook uses callbacks, the callback function is passed as the second argument.
1393
- * @param options Configuration options for the hook.
1394
- */
1395
- function beforeEach(fn?: HookFn, options?: HookOptions): void;
1396
- /**
1397
- * This function creates a hook that runs after each test in the current suite.
1398
- * The `afterEach()` hook is run even if the test fails.
1399
- *
1400
- * ```js
1401
- * describe('tests', async () => {
1402
- * afterEach(() => console.log('finished running a test'));
1403
- * it('is a subtest', () => {
1404
- * assert.ok('some relevant assertion here');
1405
- * });
1406
- * });
1407
- * ```
1408
- * @since v18.8.0, v16.18.0
1409
- * @param fn The hook function. If the hook uses callbacks, the callback function is passed as the second argument.
1410
- * @param options Configuration options for the hook.
1411
- */
1412
- function afterEach(fn?: HookFn, options?: HookOptions): void;
1413
- /**
1414
- * The hook function. The first argument is the context in which the hook is called.
1415
- * If the hook uses callbacks, the callback function is passed as the second argument.
1416
- */
1417
- type HookFn = (c: TestContext | SuiteContext, done: (result?: any) => void) => any;
1418
- /**
1419
- * The hook function. The first argument is a `TestContext` object.
1420
- * If the hook uses callbacks, the callback function is passed as the second argument.
1421
- */
1422
- type TestContextHookFn = (t: TestContext, done: (result?: any) => void) => any;
1423
- /**
1424
- * Configuration options for hooks.
1425
- * @since v18.8.0
1426
- */
1427
- interface HookOptions {
1428
- /**
1429
- * Allows aborting an in-progress hook.
1430
- */
1431
- signal?: AbortSignal | undefined;
1432
- /**
1433
- * A number of milliseconds the hook will fail after. If unspecified, subtests inherit this
1434
- * value from their parent.
1435
- * @default Infinity
1436
- */
1437
- timeout?: number | undefined;
1438
- }
1439
- interface MockFunctionOptions {
1440
- /**
1441
- * The number of times that the mock will use the behavior of `implementation`.
1442
- * Once the mock function has been called `times` times,
1443
- * it will automatically restore the behavior of `original`.
1444
- * This value must be an integer greater than zero.
1445
- * @default Infinity
1446
- */
1447
- times?: number | undefined;
1448
- }
1449
- interface MockMethodOptions extends MockFunctionOptions {
1450
- /**
1451
- * If `true`, `object[methodName]` is treated as a getter.
1452
- * This option cannot be used with the `setter` option.
1453
- */
1454
- getter?: boolean | undefined;
1455
- /**
1456
- * If `true`, `object[methodName]` is treated as a setter.
1457
- * This option cannot be used with the `getter` option.
1458
- */
1459
- setter?: boolean | undefined;
1460
- }
1461
- type Mock<F extends Function> = F & {
1462
- mock: MockFunctionContext<F>;
1463
- };
1464
- interface MockModuleOptions {
1465
- /**
1466
- * If false, each call to `require()` or `import()` generates a new mock module.
1467
- * If true, subsequent calls will return the same module mock, and the mock module is inserted into the CommonJS cache.
1468
- * @default false
1469
- */
1470
- cache?: boolean | undefined;
1471
- /**
1472
- * The value to use as the mocked module's default export.
1473
- *
1474
- * If this value is not provided, ESM mocks do not include a default export.
1475
- * If the mock is a CommonJS or builtin module, this setting is used as the value of `module.exports`.
1476
- * If this value is not provided, CJS and builtin mocks use an empty object as the value of `module.exports`.
1477
- */
1478
- defaultExport?: any;
1479
- /**
1480
- * An object whose keys and values are used to create the named exports of the mock module.
1481
- *
1482
- * If the mock is a CommonJS or builtin module, these values are copied onto `module.exports`.
1483
- * Therefore, if a mock is created with both named exports and a non-object default export,
1484
- * the mock will throw an exception when used as a CJS or builtin module.
1485
- */
1486
- namedExports?: object | undefined;
1487
- }
1488
- /**
1489
- * The `MockTracker` class is used to manage mocking functionality. The test runner
1490
- * module provides a top level `mock` export which is a `MockTracker` instance.
1491
- * Each test also provides its own `MockTracker` instance via the test context's `mock` property.
1492
- * @since v19.1.0, v18.13.0
1493
- */
1494
- interface MockTracker {
1495
- /**
1496
- * This function is used to create a mock function.
1497
- *
1498
- * The following example creates a mock function that increments a counter by one
1499
- * on each invocation. The `times` option is used to modify the mock behavior such
1500
- * that the first two invocations add two to the counter instead of one.
1501
- *
1502
- * ```js
1503
- * test('mocks a counting function', (t) => {
1504
- * let cnt = 0;
1505
- *
1506
- * function addOne() {
1507
- * cnt++;
1508
- * return cnt;
1509
- * }
1510
- *
1511
- * function addTwo() {
1512
- * cnt += 2;
1513
- * return cnt;
1514
- * }
1515
- *
1516
- * const fn = t.mock.fn(addOne, addTwo, { times: 2 });
1517
- *
1518
- * assert.strictEqual(fn(), 2);
1519
- * assert.strictEqual(fn(), 4);
1520
- * assert.strictEqual(fn(), 5);
1521
- * assert.strictEqual(fn(), 6);
1522
- * });
1523
- * ```
1524
- * @since v19.1.0, v18.13.0
1525
- * @param original An optional function to create a mock on.
1526
- * @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
1527
- * then restore the behavior of `original`.
1528
- * @param options Optional configuration options for the mock function.
1529
- * @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
1530
- * behavior of the mocked function.
1531
- */
1532
- fn<F extends Function = (...args: any[]) => undefined>(
1533
- original?: F,
1534
- options?: MockFunctionOptions,
1535
- ): Mock<F>;
1536
- fn<F extends Function = (...args: any[]) => undefined, Implementation extends Function = F>(
1537
- original?: F,
1538
- implementation?: Implementation,
1539
- options?: MockFunctionOptions,
1540
- ): Mock<F | Implementation>;
1541
- /**
1542
- * This function is used to create a mock on an existing object method. The
1543
- * following example demonstrates how a mock is created on an existing object
1544
- * method.
1545
- *
1546
- * ```js
1547
- * test('spies on an object method', (t) => {
1548
- * const number = {
1549
- * value: 5,
1550
- * subtract(a) {
1551
- * return this.value - a;
1552
- * },
1553
- * };
1554
- *
1555
- * t.mock.method(number, 'subtract');
1556
- * assert.strictEqual(number.subtract.mock.calls.length, 0);
1557
- * assert.strictEqual(number.subtract(3), 2);
1558
- * assert.strictEqual(number.subtract.mock.calls.length, 1);
1559
- *
1560
- * const call = number.subtract.mock.calls[0];
1561
- *
1562
- * assert.deepStrictEqual(call.arguments, [3]);
1563
- * assert.strictEqual(call.result, 2);
1564
- * assert.strictEqual(call.error, undefined);
1565
- * assert.strictEqual(call.target, undefined);
1566
- * assert.strictEqual(call.this, number);
1567
- * });
1568
- * ```
1569
- * @since v19.1.0, v18.13.0
1570
- * @param object The object whose method is being mocked.
1571
- * @param methodName The identifier of the method on `object` to mock. If `object[methodName]` is not a function, an error is thrown.
1572
- * @param implementation An optional function used as the mock implementation for `object[methodName]`.
1573
- * @param options Optional configuration options for the mock method.
1574
- * @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
1575
- * behavior of the mocked method.
1576
- */
1577
- method<
1578
- MockedObject extends object,
1579
- MethodName extends FunctionPropertyNames<MockedObject>,
1580
- >(
1581
- object: MockedObject,
1582
- methodName: MethodName,
1583
- options?: MockFunctionOptions,
1584
- ): MockedObject[MethodName] extends Function ? Mock<MockedObject[MethodName]>
1585
- : never;
1586
- method<
1587
- MockedObject extends object,
1588
- MethodName extends FunctionPropertyNames<MockedObject>,
1589
- Implementation extends Function,
1590
- >(
1591
- object: MockedObject,
1592
- methodName: MethodName,
1593
- implementation: Implementation,
1594
- options?: MockFunctionOptions,
1595
- ): MockedObject[MethodName] extends Function ? Mock<MockedObject[MethodName] | Implementation>
1596
- : never;
1597
- method<MockedObject extends object>(
1598
- object: MockedObject,
1599
- methodName: keyof MockedObject,
1600
- options: MockMethodOptions,
1601
- ): Mock<Function>;
1602
- method<MockedObject extends object>(
1603
- object: MockedObject,
1604
- methodName: keyof MockedObject,
1605
- implementation: Function,
1606
- options: MockMethodOptions,
1607
- ): Mock<Function>;
1608
- /**
1609
- * This function is syntax sugar for `MockTracker.method` with `options.getter` set to `true`.
1610
- * @since v19.3.0, v18.13.0
1611
- */
1612
- getter<
1613
- MockedObject extends object,
1614
- MethodName extends keyof MockedObject,
1615
- >(
1616
- object: MockedObject,
1617
- methodName: MethodName,
1618
- options?: MockFunctionOptions,
1619
- ): Mock<() => MockedObject[MethodName]>;
1620
- getter<
1621
- MockedObject extends object,
1622
- MethodName extends keyof MockedObject,
1623
- Implementation extends Function,
1624
- >(
1625
- object: MockedObject,
1626
- methodName: MethodName,
1627
- implementation?: Implementation,
1628
- options?: MockFunctionOptions,
1629
- ): Mock<(() => MockedObject[MethodName]) | Implementation>;
1630
- /**
1631
- * This function is syntax sugar for `MockTracker.method` with `options.setter` set to `true`.
1632
- * @since v19.3.0, v18.13.0
1633
- */
1634
- setter<
1635
- MockedObject extends object,
1636
- MethodName extends keyof MockedObject,
1637
- >(
1638
- object: MockedObject,
1639
- methodName: MethodName,
1640
- options?: MockFunctionOptions,
1641
- ): Mock<(value: MockedObject[MethodName]) => void>;
1642
- setter<
1643
- MockedObject extends object,
1644
- MethodName extends keyof MockedObject,
1645
- Implementation extends Function,
1646
- >(
1647
- object: MockedObject,
1648
- methodName: MethodName,
1649
- implementation?: Implementation,
1650
- options?: MockFunctionOptions,
1651
- ): Mock<((value: MockedObject[MethodName]) => void) | Implementation>;
1652
- /**
1653
- * This function is used to mock the exports of ECMAScript modules, CommonJS modules, JSON modules, and
1654
- * Node.js builtin modules. Any references to the original module prior to mocking are not impacted. In
1655
- * order to enable module mocking, Node.js must be started with the
1656
- * [`--experimental-test-module-mocks`](https://nodejs.org/docs/latest-v25.x/api/cli.html#--experimental-test-module-mocks)
1657
- * command-line flag.
1658
- *
1659
- * The following example demonstrates how a mock is created for a module.
1660
- *
1661
- * ```js
1662
- * test('mocks a builtin module in both module systems', async (t) => {
1663
- * // Create a mock of 'node:readline' with a named export named 'fn', which
1664
- * // does not exist in the original 'node:readline' module.
1665
- * const mock = t.mock.module('node:readline', {
1666
- * namedExports: { fn() { return 42; } },
1667
- * });
1668
- *
1669
- * let esmImpl = await import('node:readline');
1670
- * let cjsImpl = require('node:readline');
1671
- *
1672
- * // cursorTo() is an export of the original 'node:readline' module.
1673
- * assert.strictEqual(esmImpl.cursorTo, undefined);
1674
- * assert.strictEqual(cjsImpl.cursorTo, undefined);
1675
- * assert.strictEqual(esmImpl.fn(), 42);
1676
- * assert.strictEqual(cjsImpl.fn(), 42);
1677
- *
1678
- * mock.restore();
1679
- *
1680
- * // The mock is restored, so the original builtin module is returned.
1681
- * esmImpl = await import('node:readline');
1682
- * cjsImpl = require('node:readline');
1683
- *
1684
- * assert.strictEqual(typeof esmImpl.cursorTo, 'function');
1685
- * assert.strictEqual(typeof cjsImpl.cursorTo, 'function');
1686
- * assert.strictEqual(esmImpl.fn, undefined);
1687
- * assert.strictEqual(cjsImpl.fn, undefined);
1688
- * });
1689
- * ```
1690
- * @since v22.3.0
1691
- * @experimental
1692
- * @param specifier A string identifying the module to mock.
1693
- * @param options Optional configuration options for the mock module.
1694
- */
1695
- module(specifier: string, options?: MockModuleOptions): MockModuleContext;
1696
- /**
1697
- * Creates a mock for a property value on an object. This allows you to track and control access to a specific property,
1698
- * including how many times it is read (getter) or written (setter), and to restore the original value after mocking.
1699
- *
1700
- * ```js
1701
- * test('mocks a property value', (t) => {
1702
- * const obj = { foo: 42 };
1703
- * const prop = t.mock.property(obj, 'foo', 100);
1704
- *
1705
- * assert.strictEqual(obj.foo, 100);
1706
- * assert.strictEqual(prop.mock.accessCount(), 1);
1707
- * assert.strictEqual(prop.mock.accesses[0].type, 'get');
1708
- * assert.strictEqual(prop.mock.accesses[0].value, 100);
1709
- *
1710
- * obj.foo = 200;
1711
- * assert.strictEqual(prop.mock.accessCount(), 2);
1712
- * assert.strictEqual(prop.mock.accesses[1].type, 'set');
1713
- * assert.strictEqual(prop.mock.accesses[1].value, 200);
1714
- *
1715
- * prop.mock.restore();
1716
- * assert.strictEqual(obj.foo, 42);
1717
- * });
1718
- * ```
1719
- * @since v24.3.0
1720
- * @param object The object whose value is being mocked.
1721
- * @param propertyName The identifier of the property on `object` to mock.
1722
- * @param value An optional value used as the mock value
1723
- * for `object[propertyName]`. **Default:** The original property value.
1724
- * @returns A proxy to the mocked object. The mocked object contains a
1725
- * special `mock` property, which is an instance of [`MockPropertyContext`][], and
1726
- * can be used for inspecting and changing the behavior of the mocked property.
1727
- */
1728
- property<
1729
- MockedObject extends object,
1730
- PropertyName extends keyof MockedObject,
1731
- >(
1732
- object: MockedObject,
1733
- property: PropertyName,
1734
- value?: MockedObject[PropertyName],
1735
- ): MockedObject & { mock: MockPropertyContext<MockedObject[PropertyName]> };
1736
- /**
1737
- * This function restores the default behavior of all mocks that were previously
1738
- * 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
1739
- * used to reset their behavior or
1740
- * otherwise interact with them.
1741
- *
1742
- * After each test completes, this function is called on the test context's `MockTracker`. If the global `MockTracker` is used extensively, calling this
1743
- * function manually is recommended.
1744
- * @since v19.1.0, v18.13.0
1745
- */
1746
- reset(): void;
1747
- /**
1748
- * This function restores the default behavior of all mocks that were previously
1749
- * created by this `MockTracker`. Unlike `mock.reset()`, `mock.restoreAll()` does
1750
- * not disassociate the mocks from the `MockTracker` instance.
1751
- * @since v19.1.0, v18.13.0
1752
- */
1753
- restoreAll(): void;
1754
- readonly timers: MockTimers;
1755
- }
1756
- const mock: MockTracker;
1757
- interface MockFunctionCall<
1758
- F extends Function,
1759
- ReturnType = F extends (...args: any) => infer T ? T
1760
- : F extends abstract new(...args: any) => infer T ? T
1761
- : unknown,
1762
- Args = F extends (...args: infer Y) => any ? Y
1763
- : F extends abstract new(...args: infer Y) => any ? Y
1764
- : unknown[],
1765
- > {
1766
- /**
1767
- * An array of the arguments passed to the mock function.
1768
- */
1769
- arguments: Args;
1770
- /**
1771
- * If the mocked function threw then this property contains the thrown value.
1772
- */
1773
- error: unknown | undefined;
1774
- /**
1775
- * The value returned by the mocked function.
1776
- *
1777
- * If the mocked function threw, it will be `undefined`.
1778
- */
1779
- result: ReturnType | undefined;
1780
- /**
1781
- * An `Error` object whose stack can be used to determine the callsite of the mocked function invocation.
1782
- */
1783
- stack: Error;
1784
- /**
1785
- * If the mocked function is a constructor, this field contains the class being constructed.
1786
- * Otherwise this will be `undefined`.
1787
- */
1788
- target: F extends abstract new(...args: any) => any ? F : undefined;
1789
- /**
1790
- * The mocked function's `this` value.
1791
- */
1792
- this: unknown;
1793
- }
1794
- /**
1795
- * The `MockFunctionContext` class is used to inspect or manipulate the behavior of
1796
- * mocks created via the `MockTracker` APIs.
1797
- * @since v19.1.0, v18.13.0
1798
- */
1799
- interface MockFunctionContext<F extends Function> {
1800
- /**
1801
- * A getter that returns a copy of the internal array used to track calls to the
1802
- * mock. Each entry in the array is an object with the following properties.
1803
- * @since v19.1.0, v18.13.0
1804
- */
1805
- readonly calls: MockFunctionCall<F>[];
1806
- /**
1807
- * This function returns the number of times that this mock has been invoked. This
1808
- * 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.
1809
- * @since v19.1.0, v18.13.0
1810
- * @return The number of times that this mock has been invoked.
1811
- */
1812
- callCount(): number;
1813
- /**
1814
- * This function is used to change the behavior of an existing mock.
1815
- *
1816
- * The following example creates a mock function using `t.mock.fn()`, calls the
1817
- * mock function, and then changes the mock implementation to a different function.
1818
- *
1819
- * ```js
1820
- * test('changes a mock behavior', (t) => {
1821
- * let cnt = 0;
1822
- *
1823
- * function addOne() {
1824
- * cnt++;
1825
- * return cnt;
1826
- * }
1827
- *
1828
- * function addTwo() {
1829
- * cnt += 2;
1830
- * return cnt;
1831
- * }
1832
- *
1833
- * const fn = t.mock.fn(addOne);
1834
- *
1835
- * assert.strictEqual(fn(), 1);
1836
- * fn.mock.mockImplementation(addTwo);
1837
- * assert.strictEqual(fn(), 3);
1838
- * assert.strictEqual(fn(), 5);
1839
- * });
1840
- * ```
1841
- * @since v19.1.0, v18.13.0
1842
- * @param implementation The function to be used as the mock's new implementation.
1843
- */
1844
- mockImplementation(implementation: F): void;
1845
- /**
1846
- * This function is used to change the behavior of an existing mock for a single
1847
- * invocation. Once invocation `onCall` has occurred, the mock will revert to
1848
- * whatever behavior it would have used had `mockImplementationOnce()` not been
1849
- * called.
1850
- *
1851
- * The following example creates a mock function using `t.mock.fn()`, calls the
1852
- * mock function, changes the mock implementation to a different function for the
1853
- * next invocation, and then resumes its previous behavior.
1854
- *
1855
- * ```js
1856
- * test('changes a mock behavior once', (t) => {
1857
- * let cnt = 0;
1858
- *
1859
- * function addOne() {
1860
- * cnt++;
1861
- * return cnt;
1862
- * }
1863
- *
1864
- * function addTwo() {
1865
- * cnt += 2;
1866
- * return cnt;
1867
- * }
1868
- *
1869
- * const fn = t.mock.fn(addOne);
1870
- *
1871
- * assert.strictEqual(fn(), 1);
1872
- * fn.mock.mockImplementationOnce(addTwo);
1873
- * assert.strictEqual(fn(), 3);
1874
- * assert.strictEqual(fn(), 4);
1875
- * });
1876
- * ```
1877
- * @since v19.1.0, v18.13.0
1878
- * @param implementation The function to be used as the mock's implementation for the invocation number specified by `onCall`.
1879
- * @param onCall The invocation number that will use `implementation`. If the specified invocation has already occurred then an exception is thrown.
1880
- */
1881
- mockImplementationOnce(implementation: F, onCall?: number): void;
1882
- /**
1883
- * Resets the call history of the mock function.
1884
- * @since v19.3.0, v18.13.0
1885
- */
1886
- resetCalls(): void;
1887
- /**
1888
- * Resets the implementation of the mock function to its original behavior. The
1889
- * mock can still be used after calling this function.
1890
- * @since v19.1.0, v18.13.0
1891
- */
1892
- restore(): void;
1893
- }
1894
- /**
1895
- * @since v22.3.0
1896
- * @experimental
1897
- */
1898
- interface MockModuleContext {
1899
- /**
1900
- * Resets the implementation of the mock module.
1901
- * @since v22.3.0
1902
- */
1903
- restore(): void;
1904
- }
1905
- /**
1906
- * @since v24.3.0
1907
- */
1908
- class MockPropertyContext<PropertyType = any> {
1909
- /**
1910
- * A getter that returns a copy of the internal array used to track accesses (get/set) to
1911
- * the mocked property. Each entry in the array is an object with the following properties:
1912
- */
1913
- readonly accesses: Array<{
1914
- type: "get" | "set";
1915
- value: PropertyType;
1916
- stack: Error;
1917
- }>;
1918
- /**
1919
- * This function returns the number of times that the property was accessed.
1920
- * This function is more efficient than checking `ctx.accesses.length` because
1921
- * `ctx.accesses` is a getter that creates a copy of the internal access tracking array.
1922
- * @returns The number of times that the property was accessed (read or written).
1923
- */
1924
- accessCount(): number;
1925
- /**
1926
- * This function is used to change the value returned by the mocked property getter.
1927
- * @param value The new value to be set as the mocked property value.
1928
- */
1929
- mockImplementation(value: PropertyType): void;
1930
- /**
1931
- * This function is used to change the behavior of an existing mock for a single
1932
- * invocation. Once invocation `onAccess` has occurred, the mock will revert to
1933
- * whatever behavior it would have used had `mockImplementationOnce()` not been
1934
- * called.
1935
- *
1936
- * The following example creates a mock function using `t.mock.property()`, calls the
1937
- * mock property, changes the mock implementation to a different value for the
1938
- * next invocation, and then resumes its previous behavior.
1939
- *
1940
- * ```js
1941
- * test('changes a mock behavior once', (t) => {
1942
- * const obj = { foo: 1 };
1943
- *
1944
- * const prop = t.mock.property(obj, 'foo', 5);
1945
- *
1946
- * assert.strictEqual(obj.foo, 5);
1947
- * prop.mock.mockImplementationOnce(25);
1948
- * assert.strictEqual(obj.foo, 25);
1949
- * assert.strictEqual(obj.foo, 5);
1950
- * });
1951
- * ```
1952
- * @param value The value to be used as the mock's
1953
- * implementation for the invocation number specified by `onAccess`.
1954
- * @param onAccess The invocation number that will use `value`. If
1955
- * the specified invocation has already occurred then an exception is thrown.
1956
- * **Default:** The number of the next invocation.
1957
- */
1958
- mockImplementationOnce(value: PropertyType, onAccess?: number): void;
1959
- /**
1960
- * Resets the access history of the mocked property.
1961
- */
1962
- resetAccesses(): void;
1963
- /**
1964
- * Resets the implementation of the mock property to its original behavior. The
1965
- * mock can still be used after calling this function.
1966
- */
1967
- restore(): void;
1968
- }
1969
- interface MockTimersOptions {
1970
- apis: ReadonlyArray<"setInterval" | "setTimeout" | "setImmediate" | "Date">;
1971
- now?: number | Date | undefined;
1972
- }
1973
- /**
1974
- * Mocking timers is a technique commonly used in software testing to simulate and
1975
- * control the behavior of timers, such as `setInterval` and `setTimeout`,
1976
- * without actually waiting for the specified time intervals.
1977
- *
1978
- * The MockTimers API also allows for mocking of the `Date` constructor and
1979
- * `setImmediate`/`clearImmediate` functions.
1980
- *
1981
- * The `MockTracker` provides a top-level `timers` export
1982
- * which is a `MockTimers` instance.
1983
- * @since v20.4.0
1984
- */
1985
- interface MockTimers {
1986
- /**
1987
- * Enables timer mocking for the specified timers.
1988
- *
1989
- * **Note:** When you enable mocking for a specific timer, its associated
1990
- * clear function will also be implicitly mocked.
1991
- *
1992
- * **Note:** Mocking `Date` will affect the behavior of the mocked timers
1993
- * as they use the same internal clock.
1994
- *
1995
- * Example usage without setting initial time:
1996
- *
1997
- * ```js
1998
- * import { mock } from 'node:test';
1999
- * mock.timers.enable({ apis: ['setInterval', 'Date'], now: 1234 });
2000
- * ```
2001
- *
2002
- * The above example enables mocking for the `Date` constructor, `setInterval` timer and
2003
- * implicitly mocks the `clearInterval` function. Only the `Date` constructor from `globalThis`,
2004
- * `setInterval` and `clearInterval` functions from `node:timers`, `node:timers/promises`, and `globalThis` will be mocked.
2005
- *
2006
- * Example usage with initial time set
2007
- *
2008
- * ```js
2009
- * import { mock } from 'node:test';
2010
- * mock.timers.enable({ apis: ['Date'], now: 1000 });
2011
- * ```
2012
- *
2013
- * Example usage with initial Date object as time set
2014
- *
2015
- * ```js
2016
- * import { mock } from 'node:test';
2017
- * mock.timers.enable({ apis: ['Date'], now: new Date() });
2018
- * ```
2019
- *
2020
- * Alternatively, if you call `mock.timers.enable()` without any parameters:
2021
- *
2022
- * All timers (`'setInterval'`, `'clearInterval'`, `'Date'`, `'setImmediate'`, `'clearImmediate'`, `'setTimeout'`, and `'clearTimeout'`)
2023
- * will be mocked.
2024
- *
2025
- * The `setInterval`, `clearInterval`, `setTimeout`, and `clearTimeout` functions from `node:timers`, `node:timers/promises`,
2026
- * and `globalThis` will be mocked.
2027
- * The `Date` constructor from `globalThis` will be mocked.
2028
- *
2029
- * 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
2030
- * 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
2031
- * object. It can either be a positive integer, or another Date object.
2032
- * @since v20.4.0
2033
- */
2034
- enable(options?: MockTimersOptions): void;
2035
- /**
2036
- * You can use the `.setTime()` method to manually move the mocked date to another time. This method only accepts a positive integer.
2037
- * Note: This method will execute any mocked timers that are in the past from the new time.
2038
- * In the below example we are setting a new time for the mocked date.
2039
- * ```js
2040
- * import assert from 'node:assert';
2041
- * import { test } from 'node:test';
2042
- * test('sets the time of a date object', (context) => {
2043
- * // Optionally choose what to mock
2044
- * context.mock.timers.enable({ apis: ['Date'], now: 100 });
2045
- * assert.strictEqual(Date.now(), 100);
2046
- * // Advance in time will also advance the date
2047
- * context.mock.timers.setTime(1000);
2048
- * context.mock.timers.tick(200);
2049
- * assert.strictEqual(Date.now(), 1200);
2050
- * });
2051
- * ```
2052
- */
2053
- setTime(time: number): void;
2054
- /**
2055
- * This function restores the default behavior of all mocks that were previously
2056
- * created by this `MockTimers` instance and disassociates the mocks
2057
- * from the `MockTracker` instance.
2058
- *
2059
- * **Note:** After each test completes, this function is called on
2060
- * the test context's `MockTracker`.
2061
- *
2062
- * ```js
2063
- * import { mock } from 'node:test';
2064
- * mock.timers.reset();
2065
- * ```
2066
- * @since v20.4.0
2067
- */
2068
- reset(): void;
2069
- /**
2070
- * Advances time for all mocked timers.
2071
- *
2072
- * **Note:** This diverges from how `setTimeout` in Node.js behaves and accepts
2073
- * only positive numbers. In Node.js, `setTimeout` with negative numbers is
2074
- * only supported for web compatibility reasons.
2075
- *
2076
- * The following example mocks a `setTimeout` function and
2077
- * by using `.tick` advances in
2078
- * time triggering all pending timers.
2079
- *
2080
- * ```js
2081
- * import assert from 'node:assert';
2082
- * import { test } from 'node:test';
2083
- *
2084
- * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => {
2085
- * const fn = context.mock.fn();
2086
- *
2087
- * context.mock.timers.enable({ apis: ['setTimeout'] });
2088
- *
2089
- * setTimeout(fn, 9999);
2090
- *
2091
- * assert.strictEqual(fn.mock.callCount(), 0);
2092
- *
2093
- * // Advance in time
2094
- * context.mock.timers.tick(9999);
2095
- *
2096
- * assert.strictEqual(fn.mock.callCount(), 1);
2097
- * });
2098
- * ```
2099
- *
2100
- * Alternativelly, the `.tick` function can be called many times
2101
- *
2102
- * ```js
2103
- * import assert from 'node:assert';
2104
- * import { test } from 'node:test';
2105
- *
2106
- * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => {
2107
- * const fn = context.mock.fn();
2108
- * context.mock.timers.enable({ apis: ['setTimeout'] });
2109
- * const nineSecs = 9000;
2110
- * setTimeout(fn, nineSecs);
2111
- *
2112
- * const twoSeconds = 3000;
2113
- * context.mock.timers.tick(twoSeconds);
2114
- * context.mock.timers.tick(twoSeconds);
2115
- * context.mock.timers.tick(twoSeconds);
2116
- *
2117
- * assert.strictEqual(fn.mock.callCount(), 1);
2118
- * });
2119
- * ```
2120
- *
2121
- * Advancing time using `.tick` will also advance the time for any `Date` object
2122
- * created after the mock was enabled (if `Date` was also set to be mocked).
2123
- *
2124
- * ```js
2125
- * import assert from 'node:assert';
2126
- * import { test } from 'node:test';
2127
- *
2128
- * test('mocks setTimeout to be executed synchronously without having to actually wait for it', (context) => {
2129
- * const fn = context.mock.fn();
2130
- *
2131
- * context.mock.timers.enable({ apis: ['setTimeout', 'Date'] });
2132
- * setTimeout(fn, 9999);
2133
- *
2134
- * assert.strictEqual(fn.mock.callCount(), 0);
2135
- * assert.strictEqual(Date.now(), 0);
2136
- *
2137
- * // Advance in time
2138
- * context.mock.timers.tick(9999);
2139
- * assert.strictEqual(fn.mock.callCount(), 1);
2140
- * assert.strictEqual(Date.now(), 9999);
2141
- * });
2142
- * ```
2143
- * @since v20.4.0
2144
- */
2145
- tick(milliseconds: number): void;
2146
- /**
2147
- * Triggers all pending mocked timers immediately. If the `Date` object is also
2148
- * mocked, it will also advance the `Date` object to the furthest timer's time.
2149
- *
2150
- * The example below triggers all pending timers immediately,
2151
- * causing them to execute without any delay.
2152
- *
2153
- * ```js
2154
- * import assert from 'node:assert';
2155
- * import { test } from 'node:test';
2156
- *
2157
- * test('runAll functions following the given order', (context) => {
2158
- * context.mock.timers.enable({ apis: ['setTimeout', 'Date'] });
2159
- * const results = [];
2160
- * setTimeout(() => results.push(1), 9999);
2161
- *
2162
- * // Notice that if both timers have the same timeout,
2163
- * // the order of execution is guaranteed
2164
- * setTimeout(() => results.push(3), 8888);
2165
- * setTimeout(() => results.push(2), 8888);
2166
- *
2167
- * assert.deepStrictEqual(results, []);
2168
- *
2169
- * context.mock.timers.runAll();
2170
- * assert.deepStrictEqual(results, [3, 2, 1]);
2171
- * // The Date object is also advanced to the furthest timer's time
2172
- * assert.strictEqual(Date.now(), 9999);
2173
- * });
2174
- * ```
2175
- *
2176
- * **Note:** The `runAll()` function is specifically designed for
2177
- * triggering timers in the context of timer mocking.
2178
- * It does not have any effect on real-time system
2179
- * clocks or actual timers outside of the mocking environment.
2180
- * @since v20.4.0
2181
- */
2182
- runAll(): void;
2183
- /**
2184
- * Calls {@link MockTimers.reset()}.
2185
- */
2186
- [Symbol.dispose](): void;
2187
- }
2188
- /**
2189
- * An object whose methods are used to configure available assertions on the
2190
- * `TestContext` objects in the current process. The methods from `node:assert`
2191
- * and snapshot testing functions are available by default.
2192
- *
2193
- * It is possible to apply the same configuration to all files by placing common
2194
- * configuration code in a module
2195
- * preloaded with `--require` or `--import`.
2196
- * @since v22.14.0
2197
- */
2198
- namespace assert {
2199
- /**
2200
- * Defines a new assertion function with the provided name and function. If an
2201
- * assertion already exists with the same name, it is overwritten.
2202
- * @since v22.14.0
2203
- */
2204
- function register(name: string, fn: (this: TestContext, ...args: any[]) => void): void;
2205
- }
2206
- /**
2207
- * @since v22.3.0
2208
- */
2209
- namespace snapshot {
2210
- /**
2211
- * This function is used to customize the default serialization mechanism used by the test runner.
2212
- *
2213
- * By default, the test runner performs serialization by calling `JSON.stringify(value, null, 2)` on the provided value.
2214
- * `JSON.stringify()` does have limitations regarding circular structures and supported data types.
2215
- * If a more robust serialization mechanism is required, this function should be used to specify a list of custom serializers.
2216
- *
2217
- * Serializers are called in order, with the output of the previous serializer passed as input to the next.
2218
- * The final result must be a string value.
2219
- * @since v22.3.0
2220
- * @param serializers An array of synchronous functions used as the default serializers for snapshot tests.
2221
- */
2222
- function setDefaultSnapshotSerializers(serializers: ReadonlyArray<(value: any) => any>): void;
2223
- /**
2224
- * This function is used to set a custom resolver for the location of the snapshot file used for snapshot testing.
2225
- * By default, the snapshot filename is the same as the entry point filename with `.snapshot` appended.
2226
- * @since v22.3.0
2227
- * @param fn A function used to compute the location of the snapshot file.
2228
- * The function receives the path of the test file as its only argument. If the
2229
- * test is not associated with a file (for example in the REPL), the input is
2230
- * undefined. `fn()` must return a string specifying the location of the snapshot file.
2231
- */
2232
- function setResolveSnapshotPath(fn: (path: string | undefined) => string): void;
2233
- }
2234
- }
2235
- type FunctionPropertyNames<T> = {
2236
- [K in keyof T]: T[K] extends Function ? K : never;
2237
- }[keyof T];
2238
- export = test;
2239
- }