@node-llm/core 1.4.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2423) hide show
  1. package/README.md +16 -21
  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/aliases.json +132 -0
  6. package/dist/chat/Chat.d.ts +107 -0
  7. package/dist/chat/Chat.d.ts.map +1 -0
  8. package/dist/chat/Chat.js +371 -0
  9. package/dist/chat/ChatOptions.d.ts +23 -0
  10. package/dist/chat/ChatOptions.d.ts.map +1 -0
  11. package/dist/chat/ChatOptions.js +1 -0
  12. package/dist/chat/ChatResponse.d.ts +28 -0
  13. package/dist/chat/ChatResponse.d.ts.map +1 -0
  14. package/dist/chat/ChatResponse.js +45 -0
  15. package/dist/chat/ChatStream.d.ts +25 -0
  16. package/dist/chat/ChatStream.d.ts.map +1 -0
  17. package/dist/chat/ChatStream.js +143 -0
  18. package/dist/chat/Content.d.ts +22 -0
  19. package/dist/chat/Content.d.ts.map +1 -0
  20. package/dist/chat/Content.js +1 -0
  21. package/dist/chat/Message.d.ts +14 -0
  22. package/dist/chat/Message.d.ts.map +1 -0
  23. package/dist/chat/Message.js +1 -0
  24. package/dist/chat/Role.d.ts +2 -0
  25. package/dist/chat/Role.d.ts.map +1 -0
  26. package/dist/chat/Role.js +1 -0
  27. package/dist/chat/Tool.d.ts +52 -0
  28. package/dist/chat/Tool.d.ts.map +1 -0
  29. package/dist/chat/Tool.js +38 -0
  30. package/dist/config.d.ts +35 -0
  31. package/dist/config.d.ts.map +1 -0
  32. package/dist/config.js +15 -0
  33. package/dist/constants.d.ts +7 -0
  34. package/dist/constants.d.ts.map +1 -0
  35. package/dist/constants.js +6 -0
  36. package/dist/embedding/Embedding.d.ts +17 -0
  37. package/dist/embedding/Embedding.d.ts.map +1 -0
  38. package/dist/embedding/Embedding.js +24 -0
  39. package/dist/errors/index.d.ts +88 -0
  40. package/dist/errors/index.d.ts.map +1 -0
  41. package/dist/errors/index.js +129 -0
  42. package/dist/executor/Executor.d.ts +11 -0
  43. package/dist/executor/Executor.d.ts.map +1 -0
  44. package/dist/executor/Executor.js +29 -0
  45. package/dist/image/GeneratedImage.d.ts +25 -0
  46. package/dist/image/GeneratedImage.d.ts.map +1 -0
  47. package/dist/image/GeneratedImage.js +59 -0
  48. package/dist/index.d.ts +18 -0
  49. package/dist/index.d.ts.map +1 -0
  50. package/dist/index.js +16 -0
  51. package/dist/llm.d.ts +105 -0
  52. package/dist/llm.d.ts.map +1 -0
  53. package/dist/llm.js +230 -0
  54. package/dist/model_aliases.d.ts +3 -0
  55. package/dist/model_aliases.d.ts.map +1 -0
  56. package/dist/model_aliases.js +17 -0
  57. package/dist/models/ModelRegistry.d.ts +51 -0
  58. package/dist/models/ModelRegistry.d.ts.map +1 -0
  59. package/dist/models/ModelRegistry.js +76 -0
  60. package/dist/models/models.d.ts +1641 -0
  61. package/dist/models/models.d.ts.map +1 -0
  62. package/dist/models/models.js +29475 -0
  63. package/dist/models/types.d.ts +50 -0
  64. package/dist/models/types.d.ts.map +1 -0
  65. package/dist/models/types.js +4 -0
  66. package/dist/moderation/Moderation.d.ts +56 -0
  67. package/dist/moderation/Moderation.d.ts.map +1 -0
  68. package/dist/moderation/Moderation.js +92 -0
  69. package/dist/providers/BaseProvider.d.ts +23 -0
  70. package/dist/providers/BaseProvider.d.ts.map +1 -0
  71. package/dist/providers/BaseProvider.js +34 -0
  72. package/dist/providers/Provider.d.ts +138 -0
  73. package/dist/providers/Provider.d.ts.map +1 -0
  74. package/dist/providers/Provider.js +1 -0
  75. package/dist/providers/anthropic/AnthropicProvider.d.ts +33 -0
  76. package/dist/providers/anthropic/AnthropicProvider.d.ts.map +1 -0
  77. package/dist/providers/anthropic/AnthropicProvider.js +56 -0
  78. package/dist/providers/anthropic/Capabilities.d.ts +11 -0
  79. package/dist/providers/anthropic/Capabilities.d.ts.map +1 -0
  80. package/dist/providers/anthropic/Capabilities.js +82 -0
  81. package/dist/providers/anthropic/Chat.d.ts +8 -0
  82. package/dist/providers/anthropic/Chat.d.ts.map +1 -0
  83. package/dist/providers/anthropic/Chat.js +101 -0
  84. package/dist/providers/anthropic/Errors.d.ts +2 -0
  85. package/dist/providers/anthropic/Errors.d.ts.map +1 -0
  86. package/dist/providers/anthropic/Errors.js +33 -0
  87. package/dist/providers/anthropic/Models.d.ts +9 -0
  88. package/dist/providers/anthropic/Models.d.ts.map +1 -0
  89. package/dist/providers/anthropic/Models.js +58 -0
  90. package/dist/providers/anthropic/Streaming.d.ts +8 -0
  91. package/dist/providers/anthropic/Streaming.d.ts.map +1 -0
  92. package/dist/providers/anthropic/Streaming.js +186 -0
  93. package/dist/providers/anthropic/Utils.d.ts +5 -0
  94. package/dist/providers/anthropic/Utils.d.ts.map +1 -0
  95. package/dist/providers/anthropic/Utils.js +125 -0
  96. package/dist/providers/anthropic/index.d.ts +2 -0
  97. package/dist/providers/anthropic/index.d.ts.map +1 -0
  98. package/dist/providers/anthropic/index.js +12 -0
  99. package/dist/providers/anthropic/types.d.ts +57 -0
  100. package/dist/providers/anthropic/types.d.ts.map +1 -0
  101. package/dist/providers/anthropic/types.js +1 -0
  102. package/dist/providers/deepseek/Capabilities.d.ts +14 -0
  103. package/dist/providers/deepseek/Capabilities.d.ts.map +1 -0
  104. package/dist/providers/deepseek/Capabilities.js +52 -0
  105. package/dist/providers/deepseek/Chat.d.ts +8 -0
  106. package/dist/providers/deepseek/Chat.d.ts.map +1 -0
  107. package/dist/providers/deepseek/Chat.js +90 -0
  108. package/dist/providers/deepseek/DeepSeekProvider.d.ts +33 -0
  109. package/dist/providers/deepseek/DeepSeekProvider.d.ts.map +1 -0
  110. package/dist/providers/deepseek/DeepSeekProvider.js +55 -0
  111. package/dist/providers/deepseek/Models.d.ts +8 -0
  112. package/dist/providers/deepseek/Models.d.ts.map +1 -0
  113. package/dist/providers/deepseek/Models.js +67 -0
  114. package/dist/providers/deepseek/Streaming.d.ts +8 -0
  115. package/dist/providers/deepseek/Streaming.d.ts.map +1 -0
  116. package/dist/providers/deepseek/Streaming.js +152 -0
  117. package/dist/providers/deepseek/index.d.ts +7 -0
  118. package/dist/providers/deepseek/index.d.ts.map +1 -0
  119. package/dist/providers/deepseek/index.js +22 -0
  120. package/dist/providers/gemini/Capabilities.d.ts +51 -0
  121. package/dist/providers/gemini/Capabilities.d.ts.map +1 -0
  122. package/dist/providers/gemini/Capabilities.js +163 -0
  123. package/dist/providers/gemini/Chat.d.ts +9 -0
  124. package/dist/providers/gemini/Chat.d.ts.map +1 -0
  125. package/dist/providers/gemini/Chat.js +109 -0
  126. package/dist/providers/gemini/ChatUtils.d.ts +9 -0
  127. package/dist/providers/gemini/ChatUtils.d.ts.map +1 -0
  128. package/dist/providers/gemini/ChatUtils.js +83 -0
  129. package/dist/providers/gemini/Embeddings.d.ts +8 -0
  130. package/dist/providers/gemini/Embeddings.d.ts.map +1 -0
  131. package/dist/providers/gemini/Embeddings.js +47 -0
  132. package/dist/providers/gemini/Errors.d.ts +2 -0
  133. package/dist/providers/gemini/Errors.d.ts.map +1 -0
  134. package/dist/providers/gemini/Errors.js +34 -0
  135. package/dist/providers/gemini/GeminiProvider.d.ts +39 -0
  136. package/dist/providers/gemini/GeminiProvider.d.ts.map +1 -0
  137. package/dist/providers/gemini/GeminiProvider.js +72 -0
  138. package/dist/providers/gemini/Image.d.ts +8 -0
  139. package/dist/providers/gemini/Image.d.ts.map +1 -0
  140. package/dist/providers/gemini/Image.js +50 -0
  141. package/dist/providers/gemini/Models.d.ts +9 -0
  142. package/dist/providers/gemini/Models.d.ts.map +1 -0
  143. package/dist/providers/gemini/Models.js +58 -0
  144. package/dist/providers/gemini/Streaming.d.ts +9 -0
  145. package/dist/providers/gemini/Streaming.d.ts.map +1 -0
  146. package/dist/providers/gemini/Streaming.js +154 -0
  147. package/dist/providers/gemini/Transcription.d.ts +9 -0
  148. package/dist/providers/gemini/Transcription.d.ts.map +1 -0
  149. package/dist/providers/gemini/Transcription.js +66 -0
  150. package/dist/providers/gemini/index.d.ts +11 -0
  151. package/dist/providers/gemini/index.d.ts.map +1 -0
  152. package/dist/providers/gemini/index.js +25 -0
  153. package/dist/providers/gemini/types.d.ts +118 -0
  154. package/dist/providers/gemini/types.d.ts.map +1 -0
  155. package/dist/providers/gemini/types.js +1 -0
  156. package/dist/providers/ollama/Capabilities.d.ts +13 -0
  157. package/dist/providers/ollama/Capabilities.d.ts.map +1 -0
  158. package/dist/providers/ollama/Capabilities.js +54 -0
  159. package/dist/providers/ollama/Embedding.d.ts +6 -0
  160. package/dist/providers/ollama/Embedding.d.ts.map +1 -0
  161. package/dist/providers/ollama/Embedding.js +12 -0
  162. package/dist/providers/ollama/Models.d.ts +8 -0
  163. package/dist/providers/ollama/Models.d.ts.map +1 -0
  164. package/dist/providers/ollama/Models.js +31 -0
  165. package/dist/providers/ollama/OllamaProvider.d.ts +10 -0
  166. package/dist/providers/ollama/OllamaProvider.d.ts.map +1 -0
  167. package/dist/providers/ollama/OllamaProvider.js +34 -0
  168. package/dist/providers/ollama/index.d.ts +9 -0
  169. package/dist/providers/ollama/index.d.ts.map +1 -0
  170. package/dist/providers/ollama/index.js +17 -0
  171. package/dist/providers/openai/Capabilities.d.ts +23 -0
  172. package/dist/providers/openai/Capabilities.d.ts.map +1 -0
  173. package/dist/providers/openai/Capabilities.js +165 -0
  174. package/dist/providers/openai/Chat.d.ts +8 -0
  175. package/dist/providers/openai/Chat.d.ts.map +1 -0
  176. package/dist/providers/openai/Chat.js +60 -0
  177. package/dist/providers/openai/Embedding.d.ts +10 -0
  178. package/dist/providers/openai/Embedding.d.ts.map +1 -0
  179. package/dist/providers/openai/Embedding.js +58 -0
  180. package/dist/providers/openai/Errors.d.ts +2 -0
  181. package/dist/providers/openai/Errors.d.ts.map +1 -0
  182. package/dist/providers/openai/Errors.js +34 -0
  183. package/dist/providers/openai/Image.d.ts +8 -0
  184. package/dist/providers/openai/Image.d.ts.map +1 -0
  185. package/dist/providers/openai/Image.js +44 -0
  186. package/dist/providers/openai/ModelDefinitions.d.ts +2 -0
  187. package/dist/providers/openai/ModelDefinitions.d.ts.map +1 -0
  188. package/dist/providers/openai/ModelDefinitions.js +1 -0
  189. package/dist/providers/openai/Models.d.ts +19 -0
  190. package/dist/providers/openai/Models.d.ts.map +1 -0
  191. package/dist/providers/openai/Models.js +93 -0
  192. package/dist/providers/openai/Moderation.d.ts +8 -0
  193. package/dist/providers/openai/Moderation.d.ts.map +1 -0
  194. package/dist/providers/openai/Moderation.js +34 -0
  195. package/dist/providers/openai/OpenAIProvider.d.ts +49 -0
  196. package/dist/providers/openai/OpenAIProvider.d.ts.map +1 -0
  197. package/dist/providers/openai/OpenAIProvider.js +79 -0
  198. package/dist/providers/openai/Streaming.d.ts +8 -0
  199. package/dist/providers/openai/Streaming.d.ts.map +1 -0
  200. package/dist/providers/openai/Streaming.js +155 -0
  201. package/dist/providers/openai/Transcription.d.ts +10 -0
  202. package/dist/providers/openai/Transcription.d.ts.map +1 -0
  203. package/dist/providers/openai/Transcription.js +170 -0
  204. package/dist/providers/openai/index.d.ts +10 -0
  205. package/dist/providers/openai/index.d.ts.map +1 -0
  206. package/dist/providers/openai/index.js +25 -0
  207. package/dist/providers/openai/types.d.ts +31 -0
  208. package/dist/providers/openai/types.d.ts.map +1 -0
  209. package/dist/providers/openai/types.js +1 -0
  210. package/dist/providers/openai/utils.d.ts +20 -0
  211. package/dist/providers/openai/utils.d.ts.map +1 -0
  212. package/dist/providers/openai/utils.js +25 -0
  213. package/dist/providers/openrouter/Capabilities.d.ts +13 -0
  214. package/dist/providers/openrouter/Capabilities.d.ts.map +1 -0
  215. package/dist/providers/openrouter/Capabilities.js +67 -0
  216. package/dist/providers/openrouter/Models.d.ts +11 -0
  217. package/dist/providers/openrouter/Models.d.ts.map +1 -0
  218. package/dist/providers/openrouter/Models.js +88 -0
  219. package/dist/providers/openrouter/OpenRouterProvider.d.ts +21 -0
  220. package/dist/providers/openrouter/OpenRouterProvider.d.ts.map +1 -0
  221. package/dist/providers/openrouter/OpenRouterProvider.js +24 -0
  222. package/dist/providers/openrouter/index.d.ts +11 -0
  223. package/dist/providers/openrouter/index.d.ts.map +1 -0
  224. package/dist/providers/openrouter/index.js +26 -0
  225. package/dist/providers/registry.d.ts +30 -0
  226. package/dist/providers/registry.d.ts.map +1 -0
  227. package/dist/providers/registry.js +43 -0
  228. package/dist/schema/Schema.d.ts +20 -0
  229. package/dist/schema/Schema.d.ts.map +1 -0
  230. package/dist/schema/Schema.js +22 -0
  231. package/dist/schema/to-json-schema.d.ts +3 -0
  232. package/dist/schema/to-json-schema.d.ts.map +1 -0
  233. package/dist/schema/to-json-schema.js +10 -0
  234. package/dist/streaming/Stream.d.ts +29 -0
  235. package/dist/streaming/Stream.d.ts.map +1 -0
  236. package/dist/streaming/Stream.js +67 -0
  237. package/dist/transcription/Transcription.d.ts +11 -0
  238. package/dist/transcription/Transcription.d.ts.map +1 -0
  239. package/dist/transcription/Transcription.js +21 -0
  240. package/dist/utils/Binary.d.ts +12 -0
  241. package/dist/utils/Binary.d.ts.map +1 -0
  242. package/dist/utils/Binary.js +71 -0
  243. package/dist/utils/FileLoader.d.ts +5 -0
  244. package/dist/utils/FileLoader.d.ts.map +1 -0
  245. package/dist/utils/FileLoader.js +115 -0
  246. package/dist/utils/audio.d.ts +10 -0
  247. package/dist/utils/audio.d.ts.map +1 -0
  248. package/dist/utils/audio.js +46 -0
  249. package/dist/utils/logger.d.ts +18 -0
  250. package/dist/utils/logger.d.ts.map +1 -0
  251. package/dist/utils/logger.js +44 -0
  252. package/dist/utils/sanitize.d.ts +21 -0
  253. package/dist/utils/sanitize.d.ts.map +1 -0
  254. package/dist/utils/sanitize.js +76 -0
  255. package/package.json +43 -16
  256. package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -67
  257. package/.github/ISSUE_TEMPLATE/config.yml +0 -8
  258. package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -57
  259. package/.github/pull_request_template.md +0 -35
  260. package/.github/workflows/cicd.yml +0 -133
  261. package/.github/workflows/docs.yml +0 -52
  262. package/CHANGELOG.md +0 -80
  263. package/CONTRIBUTING.md +0 -65
  264. package/docs/CNAME +0 -1
  265. package/docs/Gemfile +0 -5
  266. package/docs/Gemfile.lock +0 -176
  267. package/docs/_config.yml +0 -22
  268. package/docs/_includes/head_custom.html +0 -88
  269. package/docs/advanced/custom-providers.md +0 -127
  270. package/docs/advanced/custom_endpoints.md +0 -84
  271. package/docs/advanced/debugging.md +0 -95
  272. package/docs/advanced/error-handling.md +0 -87
  273. package/docs/advanced/index.md +0 -11
  274. package/docs/advanced/multi_provider_parallel.md +0 -47
  275. package/docs/advanced/testing.md +0 -36
  276. package/docs/advanced/token_usage.md +0 -32
  277. package/docs/assets/css/custom.css +0 -34
  278. package/docs/assets/images/favicon.jpg +0 -0
  279. package/docs/assets/images/icon.jpg +0 -0
  280. package/docs/assets/images/logo.jpg +0 -0
  281. package/docs/assets/images/logo.png +0 -0
  282. package/docs/core-features/audio-transcription.md +0 -80
  283. package/docs/core-features/chat.md +0 -151
  284. package/docs/core-features/embeddings.md +0 -107
  285. package/docs/core-features/image-generation.md +0 -70
  286. package/docs/core-features/index.md +0 -10
  287. package/docs/core-features/models.md +0 -94
  288. package/docs/core-features/moderation.md +0 -86
  289. package/docs/core-features/multimodal.md +0 -120
  290. package/docs/core-features/reasoning.md +0 -67
  291. package/docs/core-features/streaming.md +0 -145
  292. package/docs/core-features/structured_output.md +0 -109
  293. package/docs/core-features/tools.md +0 -211
  294. package/docs/examples.md +0 -130
  295. package/docs/getting_started/configuration.md +0 -176
  296. package/docs/getting_started/getting-started.md +0 -74
  297. package/docs/getting_started/index.md +0 -10
  298. package/docs/getting_started/overview.md +0 -56
  299. package/docs/index.md +0 -234
  300. package/docs/models/available_models.md +0 -209
  301. package/docs/providers/anthropic.md +0 -55
  302. package/docs/providers/deepseek.md +0 -48
  303. package/docs/providers/gemini.md +0 -59
  304. package/docs/providers/index.md +0 -11
  305. package/docs/providers/ollama.md +0 -83
  306. package/docs/providers/openai.md +0 -47
  307. package/docs/providers/openrouter.md +0 -42
  308. package/examples/README.md +0 -135
  309. package/examples/anthropic/chat/basic.mjs +0 -27
  310. package/examples/anthropic/chat/events.mjs +0 -28
  311. package/examples/anthropic/chat/instructions.mjs +0 -24
  312. package/examples/anthropic/chat/max-tokens.mjs +0 -26
  313. package/examples/anthropic/chat/parallel-tools.mjs +0 -33
  314. package/examples/anthropic/chat/raw-json.mjs +0 -41
  315. package/examples/anthropic/chat/streaming-tools.mjs +0 -82
  316. package/examples/anthropic/chat/streaming.mjs +0 -29
  317. package/examples/anthropic/chat/structured.mjs +0 -52
  318. package/examples/anthropic/chat/tools.mjs +0 -40
  319. package/examples/anthropic/chat/usage.mjs +0 -24
  320. package/examples/anthropic/discovery/alias-logging.mjs +0 -29
  321. package/examples/anthropic/discovery/debug-mode.mjs +0 -30
  322. package/examples/anthropic/discovery/model-aliases.mjs +0 -41
  323. package/examples/anthropic/discovery/models.mjs +0 -18
  324. package/examples/anthropic/discovery/scoped-config.mjs +0 -57
  325. package/examples/anthropic/embeddings/create.mjs +0 -25
  326. package/examples/anthropic/images/generate.mjs +0 -25
  327. package/examples/anthropic/multimodal/files.mjs +0 -32
  328. package/examples/anthropic/multimodal/multi-image.mjs +0 -30
  329. package/examples/anthropic/multimodal/pdf.mjs +0 -40
  330. package/examples/anthropic/multimodal/transcribe.mjs +0 -25
  331. package/examples/anthropic/multimodal/vision.mjs +0 -28
  332. package/examples/anthropic/safety/moderation.mjs +0 -25
  333. package/examples/audio/sample-0.mp3 +0 -0
  334. package/examples/configuration-example.mjs +0 -67
  335. package/examples/custom-endpoints-example.mjs +0 -173
  336. package/examples/custom-provider.mjs +0 -130
  337. package/examples/deepseek/chat/basic.mjs +0 -20
  338. package/examples/deepseek/chat/events.mjs +0 -32
  339. package/examples/deepseek/chat/instructions.mjs +0 -33
  340. package/examples/deepseek/chat/max-tokens.mjs +0 -25
  341. package/examples/deepseek/chat/params.mjs +0 -29
  342. package/examples/deepseek/chat/raw-json.mjs +0 -41
  343. package/examples/deepseek/chat/reasoning.mjs +0 -46
  344. package/examples/deepseek/chat/streaming-tools.mjs +0 -61
  345. package/examples/deepseek/chat/streaming.mjs +0 -23
  346. package/examples/deepseek/chat/structured.mjs +0 -53
  347. package/examples/deepseek/chat/tools.mjs +0 -40
  348. package/examples/deepseek/chat/usage.mjs +0 -27
  349. package/examples/deepseek/discovery/models.mjs +0 -24
  350. package/examples/deepseek/embeddings/basic.mjs +0 -21
  351. package/examples/deepseek/images/generate.mjs +0 -21
  352. package/examples/deepseek/multimodal/vision.mjs +0 -22
  353. package/examples/deepseek/safety/moderation.mjs +0 -20
  354. package/examples/documents/simple.pdf +0 -0
  355. package/examples/gemini/chat/basic.mjs +0 -0
  356. package/examples/gemini/chat/events.mjs +0 -24
  357. package/examples/gemini/chat/instructions.mjs +0 -27
  358. package/examples/gemini/chat/max-tokens.mjs +0 -21
  359. package/examples/gemini/chat/parallel-tools.mjs +0 -33
  360. package/examples/gemini/chat/params.mjs +0 -36
  361. package/examples/gemini/chat/raw-json.mjs +0 -41
  362. package/examples/gemini/chat/streaming-tools.mjs +0 -61
  363. package/examples/gemini/chat/streaming.mjs +0 -20
  364. package/examples/gemini/chat/structured.mjs +0 -50
  365. package/examples/gemini/chat/tools.mjs +0 -40
  366. package/examples/gemini/chat/usage.mjs +0 -24
  367. package/examples/gemini/discovery/models.mjs +0 -32
  368. package/examples/gemini/embeddings/create.mjs +0 -24
  369. package/examples/gemini/images/generate.mjs +0 -35
  370. package/examples/gemini/multimodal/files.mjs +0 -29
  371. package/examples/gemini/multimodal/multi-image.mjs +0 -30
  372. package/examples/gemini/multimodal/transcribe.mjs +0 -25
  373. package/examples/gemini/multimodal/vision.mjs +0 -21
  374. package/examples/gemini/safety/moderation.mjs +0 -25
  375. package/examples/ollama/chat/basic.mjs +0 -36
  376. package/examples/ollama/chat/streaming.mjs +0 -23
  377. package/examples/ollama/chat/tools.mjs +0 -50
  378. package/examples/ollama/discovery/list.mjs +0 -54
  379. package/examples/ollama/embeddings/similarity.mjs +0 -49
  380. package/examples/ollama/multimodal/vision.mjs +0 -26
  381. package/examples/openai/chat/basic.mjs +0 -26
  382. package/examples/openai/chat/events.mjs +0 -32
  383. package/examples/openai/chat/instructions.mjs +0 -33
  384. package/examples/openai/chat/max-tokens.mjs +0 -25
  385. package/examples/openai/chat/parallel-tools.mjs +0 -35
  386. package/examples/openai/chat/params.mjs +0 -30
  387. package/examples/openai/chat/raw-json.mjs +0 -44
  388. package/examples/openai/chat/reasoning.mjs +0 -40
  389. package/examples/openai/chat/streaming-tools.mjs +0 -118
  390. package/examples/openai/chat/streaming.mjs +0 -132
  391. package/examples/openai/chat/structured.mjs +0 -53
  392. package/examples/openai/chat/tools.mjs +0 -115
  393. package/examples/openai/chat/usage.mjs +0 -27
  394. package/examples/openai/discovery/models.mjs +0 -28
  395. package/examples/openai/embeddings/create.mjs +0 -26
  396. package/examples/openai/images/generate.mjs +0 -39
  397. package/examples/openai/multimodal/files.mjs +0 -31
  398. package/examples/openai/multimodal/multi-image.mjs +0 -25
  399. package/examples/openai/multimodal/transcribe.mjs +0 -30
  400. package/examples/openai/multimodal/vision.mjs +0 -21
  401. package/examples/openai/safety/moderation.mjs +0 -33
  402. package/examples/openrouter/chat/basic.mjs +0 -22
  403. package/examples/openrouter/chat/reasoning.mjs +0 -27
  404. package/examples/openrouter/chat/streaming.mjs +0 -22
  405. package/examples/openrouter/chat/tools.mjs +0 -32
  406. package/examples/openrouter/discovery/models.mjs +0 -23
  407. package/examples/openrouter/embeddings/create.mjs +0 -26
  408. package/examples/openrouter/multimodal/vision.mjs +0 -23
  409. package/examples/parallel-scoring-clean.mjs +0 -63
  410. package/examples/run_anthropic_examples.sh +0 -65
  411. package/examples/run_deepseek_examples.sh +0 -61
  412. package/examples/run_gemini_examples.sh +0 -62
  413. package/examples/run_openai_examples.sh +0 -60
  414. package/examples/run_openrouter_examples.sh +0 -55
  415. package/favicon.jpg +0 -0
  416. package/packages/core/CHANGELOG.md +0 -179
  417. package/packages/core/README.md +0 -253
  418. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/LICENSE +0 -201
  419. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/README.md +0 -53
  420. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/package.json +0 -56
  421. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/src/index.js +0 -237
  422. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/src/utils/serializer-headers.js +0 -15
  423. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/types.d.ts +0 -5
  424. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/LICENSE +0 -201
  425. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/README.md +0 -52
  426. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/package.json +0 -62
  427. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/src/index.js +0 -337
  428. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/src/utils/get-url-from-options.js +0 -34
  429. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/src/utils/merge-chunks.js +0 -22
  430. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/src/utils/url-to-options.js +0 -31
  431. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/types.d.ts +0 -3
  432. package/packages/core/node_modules/.ignored/@pollyjs/core/LICENSE +0 -201
  433. package/packages/core/node_modules/.ignored/@pollyjs/core/README.md +0 -190
  434. package/packages/core/node_modules/.ignored/@pollyjs/core/package.json +0 -63
  435. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/container.js +0 -77
  436. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/event-emitter.js +0 -285
  437. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/event.js +0 -26
  438. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/http-base.js +0 -108
  439. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/interceptor.js +0 -38
  440. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/logger.js +0 -64
  441. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/request.js +0 -301
  442. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/response.js +0 -46
  443. package/packages/core/node_modules/.ignored/@pollyjs/core/src/defaults/config.js +0 -45
  444. package/packages/core/node_modules/.ignored/@pollyjs/core/src/index.js +0 -5
  445. package/packages/core/node_modules/.ignored/@pollyjs/core/src/polly.js +0 -343
  446. package/packages/core/node_modules/.ignored/@pollyjs/core/src/server/handler.js +0 -122
  447. package/packages/core/node_modules/.ignored/@pollyjs/core/src/server/index.js +0 -215
  448. package/packages/core/node_modules/.ignored/@pollyjs/core/src/server/middleware.js +0 -31
  449. package/packages/core/node_modules/.ignored/@pollyjs/core/src/server/route.js +0 -135
  450. package/packages/core/node_modules/.ignored/@pollyjs/core/src/test-helpers/lib.js +0 -29
  451. package/packages/core/node_modules/.ignored/@pollyjs/core/src/test-helpers/mocha.js +0 -31
  452. package/packages/core/node_modules/.ignored/@pollyjs/core/src/test-helpers/qunit.js +0 -22
  453. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/cancel-fn-after-n-times.js +0 -21
  454. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/deferred-promise.js +0 -20
  455. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/guid-for-recording.js +0 -21
  456. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/http-headers.js +0 -44
  457. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/merge-configs.js +0 -13
  458. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/normalize-request.js +0 -66
  459. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/parse-url.js +0 -33
  460. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/remove-host-from-url.js +0 -12
  461. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/timing.js +0 -11
  462. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/validators.js +0 -47
  463. package/packages/core/node_modules/.ignored/@pollyjs/core/types.d.ts +0 -297
  464. package/packages/core/node_modules/.ignored/@pollyjs/persister-fs/LICENSE +0 -201
  465. package/packages/core/node_modules/.ignored/@pollyjs/persister-fs/README.md +0 -53
  466. package/packages/core/node_modules/.ignored/@pollyjs/persister-fs/package.json +0 -53
  467. package/packages/core/node_modules/.ignored/@pollyjs/persister-fs/src/index.js +0 -37
  468. package/packages/core/node_modules/.ignored/@pollyjs/persister-fs/types.d.ts +0 -5
  469. package/packages/core/node_modules/.package-lock.json +0 -1279
  470. package/packages/core/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
  471. package/packages/core/node_modules/@pollyjs/adapter/LICENSE +0 -201
  472. package/packages/core/node_modules/@pollyjs/adapter/README.md +0 -64
  473. package/packages/core/node_modules/@pollyjs/adapter/package.json +0 -48
  474. package/packages/core/node_modules/@pollyjs/adapter/src/index.js +0 -348
  475. package/packages/core/node_modules/@pollyjs/adapter/src/utils/dehumanize-time.js +0 -49
  476. package/packages/core/node_modules/@pollyjs/adapter/src/utils/is-expired.js +0 -12
  477. package/packages/core/node_modules/@pollyjs/adapter/src/utils/normalize-recorded-response.js +0 -31
  478. package/packages/core/node_modules/@pollyjs/adapter/src/utils/stringify-request.js +0 -24
  479. package/packages/core/node_modules/@pollyjs/adapter/types.d.ts +0 -43
  480. package/packages/core/node_modules/@pollyjs/node-server/LICENSE +0 -201
  481. package/packages/core/node_modules/@pollyjs/node-server/README.md +0 -81
  482. package/packages/core/node_modules/@pollyjs/node-server/package.json +0 -55
  483. package/packages/core/node_modules/@pollyjs/node-server/src/api.js +0 -53
  484. package/packages/core/node_modules/@pollyjs/node-server/src/config.js +0 -7
  485. package/packages/core/node_modules/@pollyjs/node-server/src/express/register-api.js +0 -57
  486. package/packages/core/node_modules/@pollyjs/node-server/src/index.js +0 -4
  487. package/packages/core/node_modules/@pollyjs/node-server/src/server.js +0 -59
  488. package/packages/core/node_modules/@pollyjs/node-server/types.d.ts +0 -45
  489. package/packages/core/node_modules/@pollyjs/persister/LICENSE +0 -201
  490. package/packages/core/node_modules/@pollyjs/persister/README.md +0 -62
  491. package/packages/core/node_modules/@pollyjs/persister/package.json +0 -55
  492. package/packages/core/node_modules/@pollyjs/persister/src/har/entry.js +0 -32
  493. package/packages/core/node_modules/@pollyjs/persister/src/har/index.js +0 -7
  494. package/packages/core/node_modules/@pollyjs/persister/src/har/log.js +0 -44
  495. package/packages/core/node_modules/@pollyjs/persister/src/har/request.js +0 -58
  496. package/packages/core/node_modules/@pollyjs/persister/src/har/response.js +0 -58
  497. package/packages/core/node_modules/@pollyjs/persister/src/har/utils/get-first-header.js +0 -20
  498. package/packages/core/node_modules/@pollyjs/persister/src/har/utils/to-nv-pairs.js +0 -21
  499. package/packages/core/node_modules/@pollyjs/persister/src/index.js +0 -214
  500. package/packages/core/node_modules/@pollyjs/persister/types.d.ts +0 -91
  501. package/packages/core/node_modules/@pollyjs/utils/LICENSE +0 -201
  502. package/packages/core/node_modules/@pollyjs/utils/README.md +0 -34
  503. package/packages/core/node_modules/@pollyjs/utils/package.json +0 -49
  504. package/packages/core/node_modules/@pollyjs/utils/src/constants/actions.js +0 -6
  505. package/packages/core/node_modules/@pollyjs/utils/src/constants/expiry-strategies.js +0 -5
  506. package/packages/core/node_modules/@pollyjs/utils/src/constants/http-methods.js +0 -10
  507. package/packages/core/node_modules/@pollyjs/utils/src/constants/http-status-codes.js +0 -44
  508. package/packages/core/node_modules/@pollyjs/utils/src/constants/modes.js +0 -6
  509. package/packages/core/node_modules/@pollyjs/utils/src/index.js +0 -18
  510. package/packages/core/node_modules/@pollyjs/utils/src/utils/assert.js +0 -7
  511. package/packages/core/node_modules/@pollyjs/utils/src/utils/build-url.js +0 -15
  512. package/packages/core/node_modules/@pollyjs/utils/src/utils/clone-arraybuffer.js +0 -12
  513. package/packages/core/node_modules/@pollyjs/utils/src/utils/is-buffer-utf8-representable.js +0 -12
  514. package/packages/core/node_modules/@pollyjs/utils/src/utils/polly-error.js +0 -12
  515. package/packages/core/node_modules/@pollyjs/utils/src/utils/serializers/blob.js +0 -26
  516. package/packages/core/node_modules/@pollyjs/utils/src/utils/serializers/buffer.js +0 -29
  517. package/packages/core/node_modules/@pollyjs/utils/src/utils/serializers/form-data.js +0 -23
  518. package/packages/core/node_modules/@pollyjs/utils/src/utils/serializers/index.js +0 -5
  519. package/packages/core/node_modules/@pollyjs/utils/src/utils/timeout.js +0 -7
  520. package/packages/core/node_modules/@pollyjs/utils/src/utils/timestamp.js +0 -3
  521. package/packages/core/node_modules/@pollyjs/utils/src/utils/url.js +0 -105
  522. package/packages/core/node_modules/@pollyjs/utils/types.d.ts +0 -19
  523. package/packages/core/node_modules/@sindresorhus/fnv1a/index.d.ts +0 -46
  524. package/packages/core/node_modules/@sindresorhus/fnv1a/index.js +0 -76
  525. package/packages/core/node_modules/@sindresorhus/fnv1a/license +0 -9
  526. package/packages/core/node_modules/@sindresorhus/fnv1a/package.json +0 -50
  527. package/packages/core/node_modules/@sindresorhus/fnv1a/readme.md +0 -53
  528. package/packages/core/node_modules/@types/node/LICENSE +0 -21
  529. package/packages/core/node_modules/@types/node/README.md +0 -15
  530. package/packages/core/node_modules/@types/node/assert/strict.d.ts +0 -105
  531. package/packages/core/node_modules/@types/node/assert.d.ts +0 -955
  532. package/packages/core/node_modules/@types/node/async_hooks.d.ts +0 -623
  533. package/packages/core/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  534. package/packages/core/node_modules/@types/node/buffer.d.ts +0 -1810
  535. package/packages/core/node_modules/@types/node/child_process.d.ts +0 -1428
  536. package/packages/core/node_modules/@types/node/cluster.d.ts +0 -486
  537. package/packages/core/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  538. package/packages/core/node_modules/@types/node/console.d.ts +0 -151
  539. package/packages/core/node_modules/@types/node/constants.d.ts +0 -20
  540. package/packages/core/node_modules/@types/node/crypto.d.ts +0 -4065
  541. package/packages/core/node_modules/@types/node/dgram.d.ts +0 -564
  542. package/packages/core/node_modules/@types/node/diagnostics_channel.d.ts +0 -576
  543. package/packages/core/node_modules/@types/node/dns/promises.d.ts +0 -503
  544. package/packages/core/node_modules/@types/node/dns.d.ts +0 -922
  545. package/packages/core/node_modules/@types/node/domain.d.ts +0 -166
  546. package/packages/core/node_modules/@types/node/events.d.ts +0 -1054
  547. package/packages/core/node_modules/@types/node/fs/promises.d.ts +0 -1316
  548. package/packages/core/node_modules/@types/node/fs.d.ts +0 -4676
  549. package/packages/core/node_modules/@types/node/globals.d.ts +0 -150
  550. package/packages/core/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  551. package/packages/core/node_modules/@types/node/http.d.ts +0 -2143
  552. package/packages/core/node_modules/@types/node/http2.d.ts +0 -2480
  553. package/packages/core/node_modules/@types/node/https.d.ts +0 -399
  554. package/packages/core/node_modules/@types/node/index.d.ts +0 -115
  555. package/packages/core/node_modules/@types/node/inspector/promises.d.ts +0 -41
  556. package/packages/core/node_modules/@types/node/inspector.d.ts +0 -224
  557. package/packages/core/node_modules/@types/node/inspector.generated.d.ts +0 -4226
  558. package/packages/core/node_modules/@types/node/module.d.ts +0 -819
  559. package/packages/core/node_modules/@types/node/net.d.ts +0 -933
  560. package/packages/core/node_modules/@types/node/os.d.ts +0 -507
  561. package/packages/core/node_modules/@types/node/package.json +0 -155
  562. package/packages/core/node_modules/@types/node/path/posix.d.ts +0 -8
  563. package/packages/core/node_modules/@types/node/path/win32.d.ts +0 -8
  564. package/packages/core/node_modules/@types/node/path.d.ts +0 -187
  565. package/packages/core/node_modules/@types/node/perf_hooks.d.ts +0 -621
  566. package/packages/core/node_modules/@types/node/process.d.ts +0 -2097
  567. package/packages/core/node_modules/@types/node/punycode.d.ts +0 -117
  568. package/packages/core/node_modules/@types/node/querystring.d.ts +0 -152
  569. package/packages/core/node_modules/@types/node/quic.d.ts +0 -910
  570. package/packages/core/node_modules/@types/node/readline/promises.d.ts +0 -161
  571. package/packages/core/node_modules/@types/node/readline.d.ts +0 -541
  572. package/packages/core/node_modules/@types/node/repl.d.ts +0 -415
  573. package/packages/core/node_modules/@types/node/sea.d.ts +0 -162
  574. package/packages/core/node_modules/@types/node/sqlite.d.ts +0 -937
  575. package/packages/core/node_modules/@types/node/stream/consumers.d.ts +0 -38
  576. package/packages/core/node_modules/@types/node/stream/promises.d.ts +0 -211
  577. package/packages/core/node_modules/@types/node/stream/web.d.ts +0 -296
  578. package/packages/core/node_modules/@types/node/stream.d.ts +0 -1760
  579. package/packages/core/node_modules/@types/node/string_decoder.d.ts +0 -67
  580. package/packages/core/node_modules/@types/node/test/reporters.d.ts +0 -96
  581. package/packages/core/node_modules/@types/node/test.d.ts +0 -2239
  582. package/packages/core/node_modules/@types/node/timers/promises.d.ts +0 -108
  583. package/packages/core/node_modules/@types/node/timers.d.ts +0 -159
  584. package/packages/core/node_modules/@types/node/tls.d.ts +0 -1194
  585. package/packages/core/node_modules/@types/node/trace_events.d.ts +0 -197
  586. package/packages/core/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  587. package/packages/core/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  588. package/packages/core/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  589. package/packages/core/node_modules/@types/node/ts5.6/index.d.ts +0 -117
  590. package/packages/core/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  591. package/packages/core/node_modules/@types/node/ts5.7/index.d.ts +0 -117
  592. package/packages/core/node_modules/@types/node/tty.d.ts +0 -250
  593. package/packages/core/node_modules/@types/node/url.d.ts +0 -519
  594. package/packages/core/node_modules/@types/node/util/types.d.ts +0 -558
  595. package/packages/core/node_modules/@types/node/util.d.ts +0 -1653
  596. package/packages/core/node_modules/@types/node/v8.d.ts +0 -979
  597. package/packages/core/node_modules/@types/node/vm.d.ts +0 -1180
  598. package/packages/core/node_modules/@types/node/wasi.d.ts +0 -202
  599. package/packages/core/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  600. package/packages/core/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  601. package/packages/core/node_modules/@types/node/web-globals/console.d.ts +0 -9
  602. package/packages/core/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  603. package/packages/core/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  604. package/packages/core/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  605. package/packages/core/node_modules/@types/node/web-globals/events.d.ts +0 -106
  606. package/packages/core/node_modules/@types/node/web-globals/fetch.d.ts +0 -54
  607. package/packages/core/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  608. package/packages/core/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  609. package/packages/core/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  610. package/packages/core/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  611. package/packages/core/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  612. package/packages/core/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  613. package/packages/core/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  614. package/packages/core/node_modules/@types/node/web-globals/url.d.ts +0 -24
  615. package/packages/core/node_modules/@types/node/worker_threads.d.ts +0 -714
  616. package/packages/core/node_modules/@types/node/zlib.d.ts +0 -618
  617. package/packages/core/node_modules/@types/set-cookie-parser/LICENSE +0 -21
  618. package/packages/core/node_modules/@types/set-cookie-parser/README.md +0 -15
  619. package/packages/core/node_modules/@types/set-cookie-parser/index.d.ts +0 -114
  620. package/packages/core/node_modules/@types/set-cookie-parser/package.json +0 -37
  621. package/packages/core/node_modules/accepts/HISTORY.md +0 -243
  622. package/packages/core/node_modules/accepts/LICENSE +0 -23
  623. package/packages/core/node_modules/accepts/README.md +0 -140
  624. package/packages/core/node_modules/accepts/index.js +0 -238
  625. package/packages/core/node_modules/accepts/package.json +0 -47
  626. package/packages/core/node_modules/array-flatten/LICENSE +0 -21
  627. package/packages/core/node_modules/array-flatten/README.md +0 -43
  628. package/packages/core/node_modules/array-flatten/array-flatten.js +0 -64
  629. package/packages/core/node_modules/array-flatten/package.json +0 -39
  630. package/packages/core/node_modules/basic-auth/HISTORY.md +0 -52
  631. package/packages/core/node_modules/basic-auth/LICENSE +0 -24
  632. package/packages/core/node_modules/basic-auth/README.md +0 -113
  633. package/packages/core/node_modules/basic-auth/index.js +0 -133
  634. package/packages/core/node_modules/basic-auth/node_modules/safe-buffer/LICENSE +0 -21
  635. package/packages/core/node_modules/basic-auth/node_modules/safe-buffer/README.md +0 -584
  636. package/packages/core/node_modules/basic-auth/node_modules/safe-buffer/index.d.ts +0 -187
  637. package/packages/core/node_modules/basic-auth/node_modules/safe-buffer/index.js +0 -62
  638. package/packages/core/node_modules/basic-auth/node_modules/safe-buffer/package.json +0 -37
  639. package/packages/core/node_modules/basic-auth/package.json +0 -41
  640. package/packages/core/node_modules/blueimp-md5/LICENSE.txt +0 -20
  641. package/packages/core/node_modules/blueimp-md5/README.md +0 -134
  642. package/packages/core/node_modules/blueimp-md5/js/md5.js +0 -402
  643. package/packages/core/node_modules/blueimp-md5/js/md5.min.js +0 -2
  644. package/packages/core/node_modules/blueimp-md5/js/md5.min.js.map +0 -1
  645. package/packages/core/node_modules/blueimp-md5/package.json +0 -74
  646. package/packages/core/node_modules/body-parser/HISTORY.md +0 -680
  647. package/packages/core/node_modules/body-parser/LICENSE +0 -23
  648. package/packages/core/node_modules/body-parser/README.md +0 -476
  649. package/packages/core/node_modules/body-parser/index.js +0 -156
  650. package/packages/core/node_modules/body-parser/lib/read.js +0 -205
  651. package/packages/core/node_modules/body-parser/lib/types/json.js +0 -247
  652. package/packages/core/node_modules/body-parser/lib/types/raw.js +0 -101
  653. package/packages/core/node_modules/body-parser/lib/types/text.js +0 -121
  654. package/packages/core/node_modules/body-parser/lib/types/urlencoded.js +0 -300
  655. package/packages/core/node_modules/body-parser/package.json +0 -55
  656. package/packages/core/node_modules/bowser/CHANGELOG.md +0 -218
  657. package/packages/core/node_modules/bowser/LICENSE +0 -39
  658. package/packages/core/node_modules/bowser/README.md +0 -177
  659. package/packages/core/node_modules/bowser/bundled.js +0 -1
  660. package/packages/core/node_modules/bowser/es5.js +0 -1
  661. package/packages/core/node_modules/bowser/index.d.ts +0 -315
  662. package/packages/core/node_modules/bowser/package.json +0 -88
  663. package/packages/core/node_modules/bowser/src/bowser.js +0 -77
  664. package/packages/core/node_modules/bowser/src/constants.js +0 -169
  665. package/packages/core/node_modules/bowser/src/parser-browsers.js +0 -1094
  666. package/packages/core/node_modules/bowser/src/parser-engines.js +0 -120
  667. package/packages/core/node_modules/bowser/src/parser-os.js +0 -211
  668. package/packages/core/node_modules/bowser/src/parser-platforms.js +0 -524
  669. package/packages/core/node_modules/bowser/src/parser.js +0 -511
  670. package/packages/core/node_modules/bowser/src/utils.js +0 -327
  671. package/packages/core/node_modules/bytes/History.md +0 -97
  672. package/packages/core/node_modules/bytes/LICENSE +0 -23
  673. package/packages/core/node_modules/bytes/Readme.md +0 -152
  674. package/packages/core/node_modules/bytes/index.js +0 -170
  675. package/packages/core/node_modules/bytes/package.json +0 -42
  676. package/packages/core/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
  677. package/packages/core/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
  678. package/packages/core/node_modules/call-bind-apply-helpers/.nycrc +0 -9
  679. package/packages/core/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
  680. package/packages/core/node_modules/call-bind-apply-helpers/LICENSE +0 -21
  681. package/packages/core/node_modules/call-bind-apply-helpers/README.md +0 -62
  682. package/packages/core/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
  683. package/packages/core/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
  684. package/packages/core/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
  685. package/packages/core/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
  686. package/packages/core/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
  687. package/packages/core/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
  688. package/packages/core/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
  689. package/packages/core/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
  690. package/packages/core/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
  691. package/packages/core/node_modules/call-bind-apply-helpers/index.js +0 -15
  692. package/packages/core/node_modules/call-bind-apply-helpers/package.json +0 -85
  693. package/packages/core/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
  694. package/packages/core/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
  695. package/packages/core/node_modules/call-bind-apply-helpers/test/index.js +0 -63
  696. package/packages/core/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
  697. package/packages/core/node_modules/call-bound/.eslintrc +0 -13
  698. package/packages/core/node_modules/call-bound/.github/FUNDING.yml +0 -12
  699. package/packages/core/node_modules/call-bound/.nycrc +0 -9
  700. package/packages/core/node_modules/call-bound/CHANGELOG.md +0 -42
  701. package/packages/core/node_modules/call-bound/LICENSE +0 -21
  702. package/packages/core/node_modules/call-bound/README.md +0 -53
  703. package/packages/core/node_modules/call-bound/index.d.ts +0 -94
  704. package/packages/core/node_modules/call-bound/index.js +0 -19
  705. package/packages/core/node_modules/call-bound/package.json +0 -99
  706. package/packages/core/node_modules/call-bound/test/index.js +0 -61
  707. package/packages/core/node_modules/call-bound/tsconfig.json +0 -10
  708. package/packages/core/node_modules/content-disposition/HISTORY.md +0 -60
  709. package/packages/core/node_modules/content-disposition/LICENSE +0 -22
  710. package/packages/core/node_modules/content-disposition/README.md +0 -142
  711. package/packages/core/node_modules/content-disposition/index.js +0 -458
  712. package/packages/core/node_modules/content-disposition/package.json +0 -44
  713. package/packages/core/node_modules/content-type/HISTORY.md +0 -29
  714. package/packages/core/node_modules/content-type/LICENSE +0 -22
  715. package/packages/core/node_modules/content-type/README.md +0 -94
  716. package/packages/core/node_modules/content-type/index.js +0 -225
  717. package/packages/core/node_modules/content-type/package.json +0 -42
  718. package/packages/core/node_modules/cookie/LICENSE +0 -24
  719. package/packages/core/node_modules/cookie/README.md +0 -317
  720. package/packages/core/node_modules/cookie/SECURITY.md +0 -25
  721. package/packages/core/node_modules/cookie/index.js +0 -335
  722. package/packages/core/node_modules/cookie/package.json +0 -44
  723. package/packages/core/node_modules/cookie-signature/History.md +0 -42
  724. package/packages/core/node_modules/cookie-signature/Readme.md +0 -42
  725. package/packages/core/node_modules/cookie-signature/index.js +0 -51
  726. package/packages/core/node_modules/cookie-signature/package.json +0 -18
  727. package/packages/core/node_modules/cors/CONTRIBUTING.md +0 -33
  728. package/packages/core/node_modules/cors/HISTORY.md +0 -58
  729. package/packages/core/node_modules/cors/LICENSE +0 -22
  730. package/packages/core/node_modules/cors/README.md +0 -243
  731. package/packages/core/node_modules/cors/lib/index.js +0 -238
  732. package/packages/core/node_modules/cors/package.json +0 -41
  733. package/packages/core/node_modules/debug/.coveralls.yml +0 -1
  734. package/packages/core/node_modules/debug/.eslintrc +0 -11
  735. package/packages/core/node_modules/debug/.travis.yml +0 -14
  736. package/packages/core/node_modules/debug/CHANGELOG.md +0 -362
  737. package/packages/core/node_modules/debug/LICENSE +0 -19
  738. package/packages/core/node_modules/debug/Makefile +0 -50
  739. package/packages/core/node_modules/debug/README.md +0 -312
  740. package/packages/core/node_modules/debug/component.json +0 -19
  741. package/packages/core/node_modules/debug/karma.conf.js +0 -70
  742. package/packages/core/node_modules/debug/node.js +0 -1
  743. package/packages/core/node_modules/debug/package.json +0 -49
  744. package/packages/core/node_modules/debug/src/browser.js +0 -185
  745. package/packages/core/node_modules/debug/src/debug.js +0 -202
  746. package/packages/core/node_modules/debug/src/index.js +0 -10
  747. package/packages/core/node_modules/debug/src/inspector-log.js +0 -15
  748. package/packages/core/node_modules/debug/src/node.js +0 -248
  749. package/packages/core/node_modules/depd/History.md +0 -103
  750. package/packages/core/node_modules/depd/LICENSE +0 -22
  751. package/packages/core/node_modules/depd/Readme.md +0 -280
  752. package/packages/core/node_modules/depd/index.js +0 -538
  753. package/packages/core/node_modules/depd/lib/browser/index.js +0 -77
  754. package/packages/core/node_modules/depd/package.json +0 -45
  755. package/packages/core/node_modules/destroy/LICENSE +0 -23
  756. package/packages/core/node_modules/destroy/README.md +0 -63
  757. package/packages/core/node_modules/destroy/index.js +0 -209
  758. package/packages/core/node_modules/destroy/package.json +0 -48
  759. package/packages/core/node_modules/dunder-proto/.eslintrc +0 -5
  760. package/packages/core/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
  761. package/packages/core/node_modules/dunder-proto/.nycrc +0 -13
  762. package/packages/core/node_modules/dunder-proto/CHANGELOG.md +0 -24
  763. package/packages/core/node_modules/dunder-proto/LICENSE +0 -21
  764. package/packages/core/node_modules/dunder-proto/README.md +0 -54
  765. package/packages/core/node_modules/dunder-proto/get.d.ts +0 -5
  766. package/packages/core/node_modules/dunder-proto/get.js +0 -30
  767. package/packages/core/node_modules/dunder-proto/package.json +0 -76
  768. package/packages/core/node_modules/dunder-proto/set.d.ts +0 -5
  769. package/packages/core/node_modules/dunder-proto/set.js +0 -35
  770. package/packages/core/node_modules/dunder-proto/test/get.js +0 -34
  771. package/packages/core/node_modules/dunder-proto/test/index.js +0 -4
  772. package/packages/core/node_modules/dunder-proto/test/set.js +0 -50
  773. package/packages/core/node_modules/dunder-proto/tsconfig.json +0 -9
  774. package/packages/core/node_modules/ee-first/LICENSE +0 -22
  775. package/packages/core/node_modules/ee-first/README.md +0 -80
  776. package/packages/core/node_modules/ee-first/index.js +0 -95
  777. package/packages/core/node_modules/ee-first/package.json +0 -29
  778. package/packages/core/node_modules/encodeurl/LICENSE +0 -22
  779. package/packages/core/node_modules/encodeurl/README.md +0 -109
  780. package/packages/core/node_modules/encodeurl/index.js +0 -60
  781. package/packages/core/node_modules/encodeurl/package.json +0 -40
  782. package/packages/core/node_modules/es-define-property/.eslintrc +0 -13
  783. package/packages/core/node_modules/es-define-property/.github/FUNDING.yml +0 -12
  784. package/packages/core/node_modules/es-define-property/.nycrc +0 -9
  785. package/packages/core/node_modules/es-define-property/CHANGELOG.md +0 -29
  786. package/packages/core/node_modules/es-define-property/LICENSE +0 -21
  787. package/packages/core/node_modules/es-define-property/README.md +0 -49
  788. package/packages/core/node_modules/es-define-property/index.d.ts +0 -3
  789. package/packages/core/node_modules/es-define-property/index.js +0 -14
  790. package/packages/core/node_modules/es-define-property/package.json +0 -81
  791. package/packages/core/node_modules/es-define-property/test/index.js +0 -56
  792. package/packages/core/node_modules/es-define-property/tsconfig.json +0 -10
  793. package/packages/core/node_modules/es-errors/.eslintrc +0 -5
  794. package/packages/core/node_modules/es-errors/.github/FUNDING.yml +0 -12
  795. package/packages/core/node_modules/es-errors/CHANGELOG.md +0 -40
  796. package/packages/core/node_modules/es-errors/LICENSE +0 -21
  797. package/packages/core/node_modules/es-errors/README.md +0 -55
  798. package/packages/core/node_modules/es-errors/eval.d.ts +0 -3
  799. package/packages/core/node_modules/es-errors/eval.js +0 -4
  800. package/packages/core/node_modules/es-errors/index.d.ts +0 -3
  801. package/packages/core/node_modules/es-errors/index.js +0 -4
  802. package/packages/core/node_modules/es-errors/package.json +0 -80
  803. package/packages/core/node_modules/es-errors/range.d.ts +0 -3
  804. package/packages/core/node_modules/es-errors/range.js +0 -4
  805. package/packages/core/node_modules/es-errors/ref.d.ts +0 -3
  806. package/packages/core/node_modules/es-errors/ref.js +0 -4
  807. package/packages/core/node_modules/es-errors/syntax.d.ts +0 -3
  808. package/packages/core/node_modules/es-errors/syntax.js +0 -4
  809. package/packages/core/node_modules/es-errors/test/index.js +0 -19
  810. package/packages/core/node_modules/es-errors/tsconfig.json +0 -49
  811. package/packages/core/node_modules/es-errors/type.d.ts +0 -3
  812. package/packages/core/node_modules/es-errors/type.js +0 -4
  813. package/packages/core/node_modules/es-errors/uri.d.ts +0 -3
  814. package/packages/core/node_modules/es-errors/uri.js +0 -4
  815. package/packages/core/node_modules/es-object-atoms/.eslintrc +0 -16
  816. package/packages/core/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
  817. package/packages/core/node_modules/es-object-atoms/CHANGELOG.md +0 -37
  818. package/packages/core/node_modules/es-object-atoms/LICENSE +0 -21
  819. package/packages/core/node_modules/es-object-atoms/README.md +0 -63
  820. package/packages/core/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
  821. package/packages/core/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
  822. package/packages/core/node_modules/es-object-atoms/ToObject.d.ts +0 -7
  823. package/packages/core/node_modules/es-object-atoms/ToObject.js +0 -10
  824. package/packages/core/node_modules/es-object-atoms/index.d.ts +0 -3
  825. package/packages/core/node_modules/es-object-atoms/index.js +0 -4
  826. package/packages/core/node_modules/es-object-atoms/isObject.d.ts +0 -3
  827. package/packages/core/node_modules/es-object-atoms/isObject.js +0 -6
  828. package/packages/core/node_modules/es-object-atoms/package.json +0 -80
  829. package/packages/core/node_modules/es-object-atoms/test/index.js +0 -38
  830. package/packages/core/node_modules/es-object-atoms/tsconfig.json +0 -6
  831. package/packages/core/node_modules/escape-html/LICENSE +0 -24
  832. package/packages/core/node_modules/escape-html/Readme.md +0 -43
  833. package/packages/core/node_modules/escape-html/index.js +0 -78
  834. package/packages/core/node_modules/escape-html/package.json +0 -24
  835. package/packages/core/node_modules/etag/HISTORY.md +0 -83
  836. package/packages/core/node_modules/etag/LICENSE +0 -22
  837. package/packages/core/node_modules/etag/README.md +0 -159
  838. package/packages/core/node_modules/etag/index.js +0 -131
  839. package/packages/core/node_modules/etag/package.json +0 -47
  840. package/packages/core/node_modules/express/History.md +0 -3667
  841. package/packages/core/node_modules/express/LICENSE +0 -24
  842. package/packages/core/node_modules/express/Readme.md +0 -260
  843. package/packages/core/node_modules/express/index.js +0 -11
  844. package/packages/core/node_modules/express/lib/application.js +0 -661
  845. package/packages/core/node_modules/express/lib/express.js +0 -116
  846. package/packages/core/node_modules/express/lib/middleware/init.js +0 -43
  847. package/packages/core/node_modules/express/lib/middleware/query.js +0 -47
  848. package/packages/core/node_modules/express/lib/request.js +0 -525
  849. package/packages/core/node_modules/express/lib/response.js +0 -1179
  850. package/packages/core/node_modules/express/lib/router/index.js +0 -673
  851. package/packages/core/node_modules/express/lib/router/layer.js +0 -181
  852. package/packages/core/node_modules/express/lib/router/route.js +0 -230
  853. package/packages/core/node_modules/express/lib/utils.js +0 -303
  854. package/packages/core/node_modules/express/lib/view.js +0 -182
  855. package/packages/core/node_modules/express/package.json +0 -102
  856. package/packages/core/node_modules/fast-json-stable-stringify/.eslintrc.yml +0 -26
  857. package/packages/core/node_modules/fast-json-stable-stringify/.github/FUNDING.yml +0 -1
  858. package/packages/core/node_modules/fast-json-stable-stringify/.travis.yml +0 -8
  859. package/packages/core/node_modules/fast-json-stable-stringify/LICENSE +0 -21
  860. package/packages/core/node_modules/fast-json-stable-stringify/README.md +0 -131
  861. package/packages/core/node_modules/fast-json-stable-stringify/benchmark/index.js +0 -31
  862. package/packages/core/node_modules/fast-json-stable-stringify/benchmark/test.json +0 -137
  863. package/packages/core/node_modules/fast-json-stable-stringify/example/key_cmp.js +0 -7
  864. package/packages/core/node_modules/fast-json-stable-stringify/example/nested.js +0 -3
  865. package/packages/core/node_modules/fast-json-stable-stringify/example/str.js +0 -3
  866. package/packages/core/node_modules/fast-json-stable-stringify/example/value_cmp.js +0 -7
  867. package/packages/core/node_modules/fast-json-stable-stringify/index.d.ts +0 -4
  868. package/packages/core/node_modules/fast-json-stable-stringify/index.js +0 -59
  869. package/packages/core/node_modules/fast-json-stable-stringify/package.json +0 -52
  870. package/packages/core/node_modules/fast-json-stable-stringify/test/cmp.js +0 -13
  871. package/packages/core/node_modules/fast-json-stable-stringify/test/nested.js +0 -44
  872. package/packages/core/node_modules/fast-json-stable-stringify/test/str.js +0 -46
  873. package/packages/core/node_modules/fast-json-stable-stringify/test/to-json.js +0 -22
  874. package/packages/core/node_modules/finalhandler/HISTORY.md +0 -216
  875. package/packages/core/node_modules/finalhandler/LICENSE +0 -22
  876. package/packages/core/node_modules/finalhandler/README.md +0 -147
  877. package/packages/core/node_modules/finalhandler/SECURITY.md +0 -25
  878. package/packages/core/node_modules/finalhandler/index.js +0 -341
  879. package/packages/core/node_modules/finalhandler/package.json +0 -47
  880. package/packages/core/node_modules/forwarded/HISTORY.md +0 -21
  881. package/packages/core/node_modules/forwarded/LICENSE +0 -22
  882. package/packages/core/node_modules/forwarded/README.md +0 -57
  883. package/packages/core/node_modules/forwarded/index.js +0 -90
  884. package/packages/core/node_modules/forwarded/package.json +0 -45
  885. package/packages/core/node_modules/fresh/HISTORY.md +0 -70
  886. package/packages/core/node_modules/fresh/LICENSE +0 -23
  887. package/packages/core/node_modules/fresh/README.md +0 -119
  888. package/packages/core/node_modules/fresh/index.js +0 -137
  889. package/packages/core/node_modules/fresh/package.json +0 -46
  890. package/packages/core/node_modules/fs-extra/LICENSE +0 -15
  891. package/packages/core/node_modules/fs-extra/README.md +0 -262
  892. package/packages/core/node_modules/fs-extra/lib/copy/copy-sync.js +0 -169
  893. package/packages/core/node_modules/fs-extra/lib/copy/copy.js +0 -235
  894. package/packages/core/node_modules/fs-extra/lib/copy/index.js +0 -7
  895. package/packages/core/node_modules/fs-extra/lib/empty/index.js +0 -39
  896. package/packages/core/node_modules/fs-extra/lib/ensure/file.js +0 -69
  897. package/packages/core/node_modules/fs-extra/lib/ensure/index.js +0 -23
  898. package/packages/core/node_modules/fs-extra/lib/ensure/link.js +0 -64
  899. package/packages/core/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -99
  900. package/packages/core/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -31
  901. package/packages/core/node_modules/fs-extra/lib/ensure/symlink.js +0 -82
  902. package/packages/core/node_modules/fs-extra/lib/fs/index.js +0 -128
  903. package/packages/core/node_modules/fs-extra/lib/index.js +0 -16
  904. package/packages/core/node_modules/fs-extra/lib/json/index.js +0 -16
  905. package/packages/core/node_modules/fs-extra/lib/json/jsonfile.js +0 -11
  906. package/packages/core/node_modules/fs-extra/lib/json/output-json-sync.js +0 -12
  907. package/packages/core/node_modules/fs-extra/lib/json/output-json.js +0 -12
  908. package/packages/core/node_modules/fs-extra/lib/mkdirs/index.js +0 -14
  909. package/packages/core/node_modules/fs-extra/lib/mkdirs/make-dir.js +0 -27
  910. package/packages/core/node_modules/fs-extra/lib/mkdirs/utils.js +0 -21
  911. package/packages/core/node_modules/fs-extra/lib/move/index.js +0 -7
  912. package/packages/core/node_modules/fs-extra/lib/move/move-sync.js +0 -54
  913. package/packages/core/node_modules/fs-extra/lib/move/move.js +0 -75
  914. package/packages/core/node_modules/fs-extra/lib/output-file/index.js +0 -40
  915. package/packages/core/node_modules/fs-extra/lib/path-exists/index.js +0 -12
  916. package/packages/core/node_modules/fs-extra/lib/remove/index.js +0 -22
  917. package/packages/core/node_modules/fs-extra/lib/remove/rimraf.js +0 -302
  918. package/packages/core/node_modules/fs-extra/lib/util/stat.js +0 -154
  919. package/packages/core/node_modules/fs-extra/lib/util/utimes.js +0 -26
  920. package/packages/core/node_modules/fs-extra/package.json +0 -67
  921. package/packages/core/node_modules/function-bind/.eslintrc +0 -21
  922. package/packages/core/node_modules/function-bind/.github/FUNDING.yml +0 -12
  923. package/packages/core/node_modules/function-bind/.github/SECURITY.md +0 -3
  924. package/packages/core/node_modules/function-bind/.nycrc +0 -13
  925. package/packages/core/node_modules/function-bind/CHANGELOG.md +0 -136
  926. package/packages/core/node_modules/function-bind/LICENSE +0 -20
  927. package/packages/core/node_modules/function-bind/README.md +0 -46
  928. package/packages/core/node_modules/function-bind/implementation.js +0 -84
  929. package/packages/core/node_modules/function-bind/index.js +0 -5
  930. package/packages/core/node_modules/function-bind/package.json +0 -87
  931. package/packages/core/node_modules/function-bind/test/.eslintrc +0 -9
  932. package/packages/core/node_modules/function-bind/test/index.js +0 -252
  933. package/packages/core/node_modules/get-intrinsic/.eslintrc +0 -42
  934. package/packages/core/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  935. package/packages/core/node_modules/get-intrinsic/.nycrc +0 -9
  936. package/packages/core/node_modules/get-intrinsic/CHANGELOG.md +0 -186
  937. package/packages/core/node_modules/get-intrinsic/LICENSE +0 -21
  938. package/packages/core/node_modules/get-intrinsic/README.md +0 -71
  939. package/packages/core/node_modules/get-intrinsic/index.js +0 -378
  940. package/packages/core/node_modules/get-intrinsic/package.json +0 -97
  941. package/packages/core/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  942. package/packages/core/node_modules/get-proto/.eslintrc +0 -10
  943. package/packages/core/node_modules/get-proto/.github/FUNDING.yml +0 -12
  944. package/packages/core/node_modules/get-proto/.nycrc +0 -9
  945. package/packages/core/node_modules/get-proto/CHANGELOG.md +0 -21
  946. package/packages/core/node_modules/get-proto/LICENSE +0 -21
  947. package/packages/core/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
  948. package/packages/core/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
  949. package/packages/core/node_modules/get-proto/README.md +0 -50
  950. package/packages/core/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
  951. package/packages/core/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
  952. package/packages/core/node_modules/get-proto/index.d.ts +0 -5
  953. package/packages/core/node_modules/get-proto/index.js +0 -27
  954. package/packages/core/node_modules/get-proto/package.json +0 -81
  955. package/packages/core/node_modules/get-proto/test/index.js +0 -68
  956. package/packages/core/node_modules/get-proto/tsconfig.json +0 -9
  957. package/packages/core/node_modules/gopd/.eslintrc +0 -16
  958. package/packages/core/node_modules/gopd/.github/FUNDING.yml +0 -12
  959. package/packages/core/node_modules/gopd/CHANGELOG.md +0 -45
  960. package/packages/core/node_modules/gopd/LICENSE +0 -21
  961. package/packages/core/node_modules/gopd/README.md +0 -40
  962. package/packages/core/node_modules/gopd/gOPD.d.ts +0 -1
  963. package/packages/core/node_modules/gopd/gOPD.js +0 -4
  964. package/packages/core/node_modules/gopd/index.d.ts +0 -5
  965. package/packages/core/node_modules/gopd/index.js +0 -15
  966. package/packages/core/node_modules/gopd/package.json +0 -77
  967. package/packages/core/node_modules/gopd/test/index.js +0 -36
  968. package/packages/core/node_modules/gopd/tsconfig.json +0 -9
  969. package/packages/core/node_modules/graceful-fs/LICENSE +0 -15
  970. package/packages/core/node_modules/graceful-fs/README.md +0 -143
  971. package/packages/core/node_modules/graceful-fs/clone.js +0 -23
  972. package/packages/core/node_modules/graceful-fs/graceful-fs.js +0 -448
  973. package/packages/core/node_modules/graceful-fs/legacy-streams.js +0 -118
  974. package/packages/core/node_modules/graceful-fs/package.json +0 -53
  975. package/packages/core/node_modules/graceful-fs/polyfills.js +0 -355
  976. package/packages/core/node_modules/has-symbols/.eslintrc +0 -11
  977. package/packages/core/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  978. package/packages/core/node_modules/has-symbols/.nycrc +0 -9
  979. package/packages/core/node_modules/has-symbols/CHANGELOG.md +0 -91
  980. package/packages/core/node_modules/has-symbols/LICENSE +0 -21
  981. package/packages/core/node_modules/has-symbols/README.md +0 -46
  982. package/packages/core/node_modules/has-symbols/index.d.ts +0 -3
  983. package/packages/core/node_modules/has-symbols/index.js +0 -14
  984. package/packages/core/node_modules/has-symbols/package.json +0 -111
  985. package/packages/core/node_modules/has-symbols/shams.d.ts +0 -3
  986. package/packages/core/node_modules/has-symbols/shams.js +0 -45
  987. package/packages/core/node_modules/has-symbols/test/index.js +0 -22
  988. package/packages/core/node_modules/has-symbols/test/shams/core-js.js +0 -29
  989. package/packages/core/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
  990. package/packages/core/node_modules/has-symbols/test/tests.js +0 -58
  991. package/packages/core/node_modules/has-symbols/tsconfig.json +0 -10
  992. package/packages/core/node_modules/hasown/.eslintrc +0 -5
  993. package/packages/core/node_modules/hasown/.github/FUNDING.yml +0 -12
  994. package/packages/core/node_modules/hasown/.nycrc +0 -13
  995. package/packages/core/node_modules/hasown/CHANGELOG.md +0 -40
  996. package/packages/core/node_modules/hasown/LICENSE +0 -21
  997. package/packages/core/node_modules/hasown/README.md +0 -40
  998. package/packages/core/node_modules/hasown/index.d.ts +0 -3
  999. package/packages/core/node_modules/hasown/index.js +0 -8
  1000. package/packages/core/node_modules/hasown/package.json +0 -92
  1001. package/packages/core/node_modules/hasown/tsconfig.json +0 -6
  1002. package/packages/core/node_modules/http-errors/HISTORY.md +0 -186
  1003. package/packages/core/node_modules/http-errors/LICENSE +0 -23
  1004. package/packages/core/node_modules/http-errors/README.md +0 -169
  1005. package/packages/core/node_modules/http-errors/index.js +0 -290
  1006. package/packages/core/node_modules/http-errors/package.json +0 -54
  1007. package/packages/core/node_modules/http-graceful-shutdown/LICENSE +0 -20
  1008. package/packages/core/node_modules/http-graceful-shutdown/README.md +0 -397
  1009. package/packages/core/node_modules/http-graceful-shutdown/lib/index.d.ts +0 -24
  1010. package/packages/core/node_modules/http-graceful-shutdown/lib/index.js +0 -311
  1011. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/LICENSE +0 -20
  1012. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/README.md +0 -481
  1013. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/package.json +0 -64
  1014. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/src/browser.js +0 -272
  1015. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/src/common.js +0 -292
  1016. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/src/index.js +0 -10
  1017. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/src/node.js +0 -263
  1018. package/packages/core/node_modules/http-graceful-shutdown/node_modules/ms/index.js +0 -162
  1019. package/packages/core/node_modules/http-graceful-shutdown/node_modules/ms/license.md +0 -21
  1020. package/packages/core/node_modules/http-graceful-shutdown/node_modules/ms/package.json +0 -38
  1021. package/packages/core/node_modules/http-graceful-shutdown/node_modules/ms/readme.md +0 -59
  1022. package/packages/core/node_modules/http-graceful-shutdown/package.json +0 -47
  1023. package/packages/core/node_modules/iconv-lite/Changelog.md +0 -162
  1024. package/packages/core/node_modules/iconv-lite/LICENSE +0 -21
  1025. package/packages/core/node_modules/iconv-lite/README.md +0 -156
  1026. package/packages/core/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
  1027. package/packages/core/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
  1028. package/packages/core/node_modules/iconv-lite/encodings/index.js +0 -22
  1029. package/packages/core/node_modules/iconv-lite/encodings/internal.js +0 -188
  1030. package/packages/core/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  1031. package/packages/core/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  1032. package/packages/core/node_modules/iconv-lite/encodings/sbcs-data.js +0 -174
  1033. package/packages/core/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  1034. package/packages/core/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  1035. package/packages/core/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  1036. package/packages/core/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  1037. package/packages/core/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  1038. package/packages/core/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  1039. package/packages/core/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
  1040. package/packages/core/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  1041. package/packages/core/node_modules/iconv-lite/encodings/utf16.js +0 -177
  1042. package/packages/core/node_modules/iconv-lite/encodings/utf7.js +0 -290
  1043. package/packages/core/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  1044. package/packages/core/node_modules/iconv-lite/lib/extend-node.js +0 -217
  1045. package/packages/core/node_modules/iconv-lite/lib/index.d.ts +0 -24
  1046. package/packages/core/node_modules/iconv-lite/lib/index.js +0 -153
  1047. package/packages/core/node_modules/iconv-lite/lib/streams.js +0 -121
  1048. package/packages/core/node_modules/iconv-lite/package.json +0 -46
  1049. package/packages/core/node_modules/inherits/LICENSE +0 -16
  1050. package/packages/core/node_modules/inherits/README.md +0 -42
  1051. package/packages/core/node_modules/inherits/inherits.js +0 -9
  1052. package/packages/core/node_modules/inherits/inherits_browser.js +0 -27
  1053. package/packages/core/node_modules/inherits/package.json +0 -29
  1054. package/packages/core/node_modules/ipaddr.js/LICENSE +0 -19
  1055. package/packages/core/node_modules/ipaddr.js/README.md +0 -233
  1056. package/packages/core/node_modules/ipaddr.js/ipaddr.min.js +0 -1
  1057. package/packages/core/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
  1058. package/packages/core/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
  1059. package/packages/core/node_modules/ipaddr.js/package.json +0 -35
  1060. package/packages/core/node_modules/is-absolute-url/index.d.ts +0 -22
  1061. package/packages/core/node_modules/is-absolute-url/index.js +0 -16
  1062. package/packages/core/node_modules/is-absolute-url/license +0 -9
  1063. package/packages/core/node_modules/is-absolute-url/package.json +0 -35
  1064. package/packages/core/node_modules/is-absolute-url/readme.md +0 -44
  1065. package/packages/core/node_modules/json-stringify-safe/CHANGELOG.md +0 -14
  1066. package/packages/core/node_modules/json-stringify-safe/LICENSE +0 -15
  1067. package/packages/core/node_modules/json-stringify-safe/Makefile +0 -35
  1068. package/packages/core/node_modules/json-stringify-safe/README.md +0 -52
  1069. package/packages/core/node_modules/json-stringify-safe/package.json +0 -31
  1070. package/packages/core/node_modules/json-stringify-safe/stringify.js +0 -27
  1071. package/packages/core/node_modules/json-stringify-safe/test/mocha.opts +0 -2
  1072. package/packages/core/node_modules/json-stringify-safe/test/stringify_test.js +0 -246
  1073. package/packages/core/node_modules/jsonfile/LICENSE +0 -15
  1074. package/packages/core/node_modules/jsonfile/README.md +0 -230
  1075. package/packages/core/node_modules/jsonfile/index.js +0 -88
  1076. package/packages/core/node_modules/jsonfile/package.json +0 -40
  1077. package/packages/core/node_modules/jsonfile/utils.js +0 -14
  1078. package/packages/core/node_modules/lodash-es/LICENSE +0 -47
  1079. package/packages/core/node_modules/lodash-es/README.md +0 -10
  1080. package/packages/core/node_modules/lodash-es/_DataView.js +0 -7
  1081. package/packages/core/node_modules/lodash-es/_Hash.js +0 -32
  1082. package/packages/core/node_modules/lodash-es/_LazyWrapper.js +0 -28
  1083. package/packages/core/node_modules/lodash-es/_ListCache.js +0 -32
  1084. package/packages/core/node_modules/lodash-es/_LodashWrapper.js +0 -22
  1085. package/packages/core/node_modules/lodash-es/_Map.js +0 -7
  1086. package/packages/core/node_modules/lodash-es/_MapCache.js +0 -32
  1087. package/packages/core/node_modules/lodash-es/_Promise.js +0 -7
  1088. package/packages/core/node_modules/lodash-es/_Set.js +0 -7
  1089. package/packages/core/node_modules/lodash-es/_SetCache.js +0 -27
  1090. package/packages/core/node_modules/lodash-es/_Stack.js +0 -27
  1091. package/packages/core/node_modules/lodash-es/_Symbol.js +0 -6
  1092. package/packages/core/node_modules/lodash-es/_Uint8Array.js +0 -6
  1093. package/packages/core/node_modules/lodash-es/_WeakMap.js +0 -7
  1094. package/packages/core/node_modules/lodash-es/_addMapEntry.js +0 -15
  1095. package/packages/core/node_modules/lodash-es/_addSetEntry.js +0 -15
  1096. package/packages/core/node_modules/lodash-es/_apply.js +0 -21
  1097. package/packages/core/node_modules/lodash-es/_arrayAggregator.js +0 -22
  1098. package/packages/core/node_modules/lodash-es/_arrayEach.js +0 -22
  1099. package/packages/core/node_modules/lodash-es/_arrayEachRight.js +0 -21
  1100. package/packages/core/node_modules/lodash-es/_arrayEvery.js +0 -23
  1101. package/packages/core/node_modules/lodash-es/_arrayFilter.js +0 -25
  1102. package/packages/core/node_modules/lodash-es/_arrayIncludes.js +0 -17
  1103. package/packages/core/node_modules/lodash-es/_arrayIncludesWith.js +0 -22
  1104. package/packages/core/node_modules/lodash-es/_arrayLikeKeys.js +0 -49
  1105. package/packages/core/node_modules/lodash-es/_arrayMap.js +0 -21
  1106. package/packages/core/node_modules/lodash-es/_arrayPush.js +0 -20
  1107. package/packages/core/node_modules/lodash-es/_arrayReduce.js +0 -26
  1108. package/packages/core/node_modules/lodash-es/_arrayReduceRight.js +0 -24
  1109. package/packages/core/node_modules/lodash-es/_arraySample.js +0 -15
  1110. package/packages/core/node_modules/lodash-es/_arraySampleSize.js +0 -17
  1111. package/packages/core/node_modules/lodash-es/_arrayShuffle.js +0 -15
  1112. package/packages/core/node_modules/lodash-es/_arraySome.js +0 -23
  1113. package/packages/core/node_modules/lodash-es/_asciiSize.js +0 -12
  1114. package/packages/core/node_modules/lodash-es/_asciiToArray.js +0 -12
  1115. package/packages/core/node_modules/lodash-es/_asciiWords.js +0 -15
  1116. package/packages/core/node_modules/lodash-es/_assignMergeValue.js +0 -20
  1117. package/packages/core/node_modules/lodash-es/_assignValue.js +0 -28
  1118. package/packages/core/node_modules/lodash-es/_assocIndexOf.js +0 -21
  1119. package/packages/core/node_modules/lodash-es/_baseAggregator.js +0 -21
  1120. package/packages/core/node_modules/lodash-es/_baseAssign.js +0 -17
  1121. package/packages/core/node_modules/lodash-es/_baseAssignIn.js +0 -17
  1122. package/packages/core/node_modules/lodash-es/_baseAssignValue.js +0 -25
  1123. package/packages/core/node_modules/lodash-es/_baseAt.js +0 -23
  1124. package/packages/core/node_modules/lodash-es/_baseClamp.js +0 -22
  1125. package/packages/core/node_modules/lodash-es/_baseClone.js +0 -166
  1126. package/packages/core/node_modules/lodash-es/_baseConforms.js +0 -18
  1127. package/packages/core/node_modules/lodash-es/_baseConformsTo.js +0 -27
  1128. package/packages/core/node_modules/lodash-es/_baseCreate.js +0 -30
  1129. package/packages/core/node_modules/lodash-es/_baseDelay.js +0 -21
  1130. package/packages/core/node_modules/lodash-es/_baseDifference.js +0 -67
  1131. package/packages/core/node_modules/lodash-es/_baseEach.js +0 -14
  1132. package/packages/core/node_modules/lodash-es/_baseEachRight.js +0 -14
  1133. package/packages/core/node_modules/lodash-es/_baseEvery.js +0 -21
  1134. package/packages/core/node_modules/lodash-es/_baseExtremum.js +0 -32
  1135. package/packages/core/node_modules/lodash-es/_baseFill.js +0 -32
  1136. package/packages/core/node_modules/lodash-es/_baseFilter.js +0 -21
  1137. package/packages/core/node_modules/lodash-es/_baseFindIndex.js +0 -24
  1138. package/packages/core/node_modules/lodash-es/_baseFindKey.js +0 -23
  1139. package/packages/core/node_modules/lodash-es/_baseFlatten.js +0 -38
  1140. package/packages/core/node_modules/lodash-es/_baseFor.js +0 -16
  1141. package/packages/core/node_modules/lodash-es/_baseForOwn.js +0 -16
  1142. package/packages/core/node_modules/lodash-es/_baseForOwnRight.js +0 -16
  1143. package/packages/core/node_modules/lodash-es/_baseForRight.js +0 -15
  1144. package/packages/core/node_modules/lodash-es/_baseFunctions.js +0 -19
  1145. package/packages/core/node_modules/lodash-es/_baseGet.js +0 -24
  1146. package/packages/core/node_modules/lodash-es/_baseGetAllKeys.js +0 -20
  1147. package/packages/core/node_modules/lodash-es/_baseGetTag.js +0 -28
  1148. package/packages/core/node_modules/lodash-es/_baseGt.js +0 -14
  1149. package/packages/core/node_modules/lodash-es/_baseHas.js +0 -19
  1150. package/packages/core/node_modules/lodash-es/_baseHasIn.js +0 -13
  1151. package/packages/core/node_modules/lodash-es/_baseInRange.js +0 -18
  1152. package/packages/core/node_modules/lodash-es/_baseIndexOf.js +0 -20
  1153. package/packages/core/node_modules/lodash-es/_baseIndexOfWith.js +0 -23
  1154. package/packages/core/node_modules/lodash-es/_baseIntersection.js +0 -74
  1155. package/packages/core/node_modules/lodash-es/_baseInverter.js +0 -21
  1156. package/packages/core/node_modules/lodash-es/_baseInvoke.js +0 -24
  1157. package/packages/core/node_modules/lodash-es/_baseIsArguments.js +0 -18
  1158. package/packages/core/node_modules/lodash-es/_baseIsArrayBuffer.js +0 -17
  1159. package/packages/core/node_modules/lodash-es/_baseIsDate.js +0 -18
  1160. package/packages/core/node_modules/lodash-es/_baseIsEqual.js +0 -28
  1161. package/packages/core/node_modules/lodash-es/_baseIsEqualDeep.js +0 -83
  1162. package/packages/core/node_modules/lodash-es/_baseIsMap.js +0 -18
  1163. package/packages/core/node_modules/lodash-es/_baseIsMatch.js +0 -62
  1164. package/packages/core/node_modules/lodash-es/_baseIsNaN.js +0 -12
  1165. package/packages/core/node_modules/lodash-es/_baseIsNative.js +0 -47
  1166. package/packages/core/node_modules/lodash-es/_baseIsRegExp.js +0 -18
  1167. package/packages/core/node_modules/lodash-es/_baseIsSet.js +0 -18
  1168. package/packages/core/node_modules/lodash-es/_baseIsTypedArray.js +0 -60
  1169. package/packages/core/node_modules/lodash-es/_baseIteratee.js +0 -31
  1170. package/packages/core/node_modules/lodash-es/_baseKeys.js +0 -30
  1171. package/packages/core/node_modules/lodash-es/_baseKeysIn.js +0 -33
  1172. package/packages/core/node_modules/lodash-es/_baseLodash.js +0 -10
  1173. package/packages/core/node_modules/lodash-es/_baseLt.js +0 -14
  1174. package/packages/core/node_modules/lodash-es/_baseMap.js +0 -22
  1175. package/packages/core/node_modules/lodash-es/_baseMatches.js +0 -22
  1176. package/packages/core/node_modules/lodash-es/_baseMatchesProperty.js +0 -33
  1177. package/packages/core/node_modules/lodash-es/_baseMean.js +0 -20
  1178. package/packages/core/node_modules/lodash-es/_baseMerge.js +0 -42
  1179. package/packages/core/node_modules/lodash-es/_baseMergeDeep.js +0 -94
  1180. package/packages/core/node_modules/lodash-es/_baseNth.js +0 -20
  1181. package/packages/core/node_modules/lodash-es/_baseOrderBy.js +0 -49
  1182. package/packages/core/node_modules/lodash-es/_basePick.js +0 -19
  1183. package/packages/core/node_modules/lodash-es/_basePickBy.js +0 -30
  1184. package/packages/core/node_modules/lodash-es/_baseProperty.js +0 -14
  1185. package/packages/core/node_modules/lodash-es/_basePropertyDeep.js +0 -16
  1186. package/packages/core/node_modules/lodash-es/_basePropertyOf.js +0 -14
  1187. package/packages/core/node_modules/lodash-es/_basePullAll.js +0 -51
  1188. package/packages/core/node_modules/lodash-es/_basePullAt.js +0 -37
  1189. package/packages/core/node_modules/lodash-es/_baseRandom.js +0 -18
  1190. package/packages/core/node_modules/lodash-es/_baseRange.js +0 -28
  1191. package/packages/core/node_modules/lodash-es/_baseReduce.js +0 -23
  1192. package/packages/core/node_modules/lodash-es/_baseRepeat.js +0 -35
  1193. package/packages/core/node_modules/lodash-es/_baseRest.js +0 -17
  1194. package/packages/core/node_modules/lodash-es/_baseSample.js +0 -15
  1195. package/packages/core/node_modules/lodash-es/_baseSampleSize.js +0 -18
  1196. package/packages/core/node_modules/lodash-es/_baseSet.js +0 -51
  1197. package/packages/core/node_modules/lodash-es/_baseSetData.js +0 -17
  1198. package/packages/core/node_modules/lodash-es/_baseSetToString.js +0 -22
  1199. package/packages/core/node_modules/lodash-es/_baseShuffle.js +0 -15
  1200. package/packages/core/node_modules/lodash-es/_baseSlice.js +0 -31
  1201. package/packages/core/node_modules/lodash-es/_baseSome.js +0 -22
  1202. package/packages/core/node_modules/lodash-es/_baseSortBy.js +0 -21
  1203. package/packages/core/node_modules/lodash-es/_baseSortedIndex.js +0 -42
  1204. package/packages/core/node_modules/lodash-es/_baseSortedIndexBy.js +0 -67
  1205. package/packages/core/node_modules/lodash-es/_baseSortedUniq.js +0 -30
  1206. package/packages/core/node_modules/lodash-es/_baseSum.js +0 -24
  1207. package/packages/core/node_modules/lodash-es/_baseTimes.js +0 -20
  1208. package/packages/core/node_modules/lodash-es/_baseToNumber.js +0 -24
  1209. package/packages/core/node_modules/lodash-es/_baseToPairs.js +0 -18
  1210. package/packages/core/node_modules/lodash-es/_baseToString.js +0 -37
  1211. package/packages/core/node_modules/lodash-es/_baseTrim.js +0 -19
  1212. package/packages/core/node_modules/lodash-es/_baseUnary.js +0 -14
  1213. package/packages/core/node_modules/lodash-es/_baseUniq.js +0 -72
  1214. package/packages/core/node_modules/lodash-es/_baseUnset.js +0 -65
  1215. package/packages/core/node_modules/lodash-es/_baseUpdate.js +0 -18
  1216. package/packages/core/node_modules/lodash-es/_baseValues.js +0 -19
  1217. package/packages/core/node_modules/lodash-es/_baseWhile.js +0 -26
  1218. package/packages/core/node_modules/lodash-es/_baseWrapperValue.js +0 -25
  1219. package/packages/core/node_modules/lodash-es/_baseXor.js +0 -36
  1220. package/packages/core/node_modules/lodash-es/_baseZipObject.js +0 -23
  1221. package/packages/core/node_modules/lodash-es/_cacheHas.js +0 -13
  1222. package/packages/core/node_modules/lodash-es/_castArrayLikeObject.js +0 -14
  1223. package/packages/core/node_modules/lodash-es/_castFunction.js +0 -14
  1224. package/packages/core/node_modules/lodash-es/_castPath.js +0 -21
  1225. package/packages/core/node_modules/lodash-es/_castRest.js +0 -14
  1226. package/packages/core/node_modules/lodash-es/_castSlice.js +0 -18
  1227. package/packages/core/node_modules/lodash-es/_charsEndIndex.js +0 -19
  1228. package/packages/core/node_modules/lodash-es/_charsStartIndex.js +0 -20
  1229. package/packages/core/node_modules/lodash-es/_cloneArrayBuffer.js +0 -16
  1230. package/packages/core/node_modules/lodash-es/_cloneBuffer.js +0 -35
  1231. package/packages/core/node_modules/lodash-es/_cloneDataView.js +0 -16
  1232. package/packages/core/node_modules/lodash-es/_cloneMap.js +0 -22
  1233. package/packages/core/node_modules/lodash-es/_cloneRegExp.js +0 -17
  1234. package/packages/core/node_modules/lodash-es/_cloneSet.js +0 -22
  1235. package/packages/core/node_modules/lodash-es/_cloneSymbol.js +0 -18
  1236. package/packages/core/node_modules/lodash-es/_cloneTypedArray.js +0 -16
  1237. package/packages/core/node_modules/lodash-es/_compareAscending.js +0 -41
  1238. package/packages/core/node_modules/lodash-es/_compareMultiple.js +0 -44
  1239. package/packages/core/node_modules/lodash-es/_composeArgs.js +0 -39
  1240. package/packages/core/node_modules/lodash-es/_composeArgsRight.js +0 -41
  1241. package/packages/core/node_modules/lodash-es/_copyArray.js +0 -20
  1242. package/packages/core/node_modules/lodash-es/_copyObject.js +0 -40
  1243. package/packages/core/node_modules/lodash-es/_copySymbols.js +0 -16
  1244. package/packages/core/node_modules/lodash-es/_copySymbolsIn.js +0 -16
  1245. package/packages/core/node_modules/lodash-es/_coreJsData.js +0 -6
  1246. package/packages/core/node_modules/lodash-es/_countHolders.js +0 -21
  1247. package/packages/core/node_modules/lodash-es/_createAggregator.js +0 -23
  1248. package/packages/core/node_modules/lodash-es/_createAssigner.js +0 -37
  1249. package/packages/core/node_modules/lodash-es/_createBaseEach.js +0 -32
  1250. package/packages/core/node_modules/lodash-es/_createBaseFor.js +0 -25
  1251. package/packages/core/node_modules/lodash-es/_createBind.js +0 -28
  1252. package/packages/core/node_modules/lodash-es/_createCaseFirst.js +0 -33
  1253. package/packages/core/node_modules/lodash-es/_createCompounder.js +0 -24
  1254. package/packages/core/node_modules/lodash-es/_createCtor.js +0 -37
  1255. package/packages/core/node_modules/lodash-es/_createCurry.js +0 -46
  1256. package/packages/core/node_modules/lodash-es/_createFind.js +0 -25
  1257. package/packages/core/node_modules/lodash-es/_createFlow.js +0 -78
  1258. package/packages/core/node_modules/lodash-es/_createHybrid.js +0 -92
  1259. package/packages/core/node_modules/lodash-es/_createInverter.js +0 -17
  1260. package/packages/core/node_modules/lodash-es/_createMathOperation.js +0 -38
  1261. package/packages/core/node_modules/lodash-es/_createOver.js +0 -27
  1262. package/packages/core/node_modules/lodash-es/_createPadding.js +0 -33
  1263. package/packages/core/node_modules/lodash-es/_createPartial.js +0 -43
  1264. package/packages/core/node_modules/lodash-es/_createRange.js +0 -30
  1265. package/packages/core/node_modules/lodash-es/_createRecurry.js +0 -56
  1266. package/packages/core/node_modules/lodash-es/_createRelationalOperation.js +0 -20
  1267. package/packages/core/node_modules/lodash-es/_createRound.js +0 -35
  1268. package/packages/core/node_modules/lodash-es/_createSet.js +0 -19
  1269. package/packages/core/node_modules/lodash-es/_createToPairs.js +0 -30
  1270. package/packages/core/node_modules/lodash-es/_createWrap.js +0 -106
  1271. package/packages/core/node_modules/lodash-es/_customDefaultsAssignIn.js +0 -29
  1272. package/packages/core/node_modules/lodash-es/_customDefaultsMerge.js +0 -28
  1273. package/packages/core/node_modules/lodash-es/_customOmitClone.js +0 -16
  1274. package/packages/core/node_modules/lodash-es/_deburrLetter.js +0 -71
  1275. package/packages/core/node_modules/lodash-es/_defineProperty.js +0 -11
  1276. package/packages/core/node_modules/lodash-es/_equalArrays.js +0 -84
  1277. package/packages/core/node_modules/lodash-es/_equalByTag.js +0 -112
  1278. package/packages/core/node_modules/lodash-es/_equalObjects.js +0 -90
  1279. package/packages/core/node_modules/lodash-es/_escapeHtmlChar.js +0 -21
  1280. package/packages/core/node_modules/lodash-es/_escapeStringChar.js +0 -22
  1281. package/packages/core/node_modules/lodash-es/_flatRest.js +0 -16
  1282. package/packages/core/node_modules/lodash-es/_freeGlobal.js +0 -4
  1283. package/packages/core/node_modules/lodash-es/_getAllKeys.js +0 -16
  1284. package/packages/core/node_modules/lodash-es/_getAllKeysIn.js +0 -17
  1285. package/packages/core/node_modules/lodash-es/_getData.js +0 -15
  1286. package/packages/core/node_modules/lodash-es/_getFuncName.js +0 -31
  1287. package/packages/core/node_modules/lodash-es/_getHolder.js +0 -13
  1288. package/packages/core/node_modules/lodash-es/_getMapData.js +0 -18
  1289. package/packages/core/node_modules/lodash-es/_getMatchData.js +0 -24
  1290. package/packages/core/node_modules/lodash-es/_getNative.js +0 -17
  1291. package/packages/core/node_modules/lodash-es/_getPrototype.js +0 -6
  1292. package/packages/core/node_modules/lodash-es/_getRawTag.js +0 -46
  1293. package/packages/core/node_modules/lodash-es/_getSymbols.js +0 -30
  1294. package/packages/core/node_modules/lodash-es/_getSymbolsIn.js +0 -25
  1295. package/packages/core/node_modules/lodash-es/_getTag.js +0 -58
  1296. package/packages/core/node_modules/lodash-es/_getValue.js +0 -13
  1297. package/packages/core/node_modules/lodash-es/_getView.js +0 -33
  1298. package/packages/core/node_modules/lodash-es/_getWrapDetails.js +0 -17
  1299. package/packages/core/node_modules/lodash-es/_hasPath.js +0 -39
  1300. package/packages/core/node_modules/lodash-es/_hasUnicode.js +0 -26
  1301. package/packages/core/node_modules/lodash-es/_hasUnicodeWord.js +0 -15
  1302. package/packages/core/node_modules/lodash-es/_hashClear.js +0 -15
  1303. package/packages/core/node_modules/lodash-es/_hashDelete.js +0 -17
  1304. package/packages/core/node_modules/lodash-es/_hashGet.js +0 -30
  1305. package/packages/core/node_modules/lodash-es/_hashHas.js +0 -23
  1306. package/packages/core/node_modules/lodash-es/_hashSet.js +0 -23
  1307. package/packages/core/node_modules/lodash-es/_initCloneArray.js +0 -26
  1308. package/packages/core/node_modules/lodash-es/_initCloneByTag.js +0 -77
  1309. package/packages/core/node_modules/lodash-es/_initCloneObject.js +0 -18
  1310. package/packages/core/node_modules/lodash-es/_insertWrapDetails.js +0 -23
  1311. package/packages/core/node_modules/lodash-es/_isFlattenable.js +0 -20
  1312. package/packages/core/node_modules/lodash-es/_isIndex.js +0 -25
  1313. package/packages/core/node_modules/lodash-es/_isIterateeCall.js +0 -30
  1314. package/packages/core/node_modules/lodash-es/_isKey.js +0 -29
  1315. package/packages/core/node_modules/lodash-es/_isKeyable.js +0 -15
  1316. package/packages/core/node_modules/lodash-es/_isLaziable.js +0 -28
  1317. package/packages/core/node_modules/lodash-es/_isMaskable.js +0 -14
  1318. package/packages/core/node_modules/lodash-es/_isMasked.js +0 -20
  1319. package/packages/core/node_modules/lodash-es/_isPrototype.js +0 -18
  1320. package/packages/core/node_modules/lodash-es/_isStrictComparable.js +0 -15
  1321. package/packages/core/node_modules/lodash-es/_iteratorToArray.js +0 -18
  1322. package/packages/core/node_modules/lodash-es/_lazyClone.js +0 -23
  1323. package/packages/core/node_modules/lodash-es/_lazyReverse.js +0 -23
  1324. package/packages/core/node_modules/lodash-es/_lazyValue.js +0 -69
  1325. package/packages/core/node_modules/lodash-es/_listCacheClear.js +0 -13
  1326. package/packages/core/node_modules/lodash-es/_listCacheDelete.js +0 -35
  1327. package/packages/core/node_modules/lodash-es/_listCacheGet.js +0 -19
  1328. package/packages/core/node_modules/lodash-es/_listCacheHas.js +0 -16
  1329. package/packages/core/node_modules/lodash-es/_listCacheSet.js +0 -26
  1330. package/packages/core/node_modules/lodash-es/_mapCacheClear.js +0 -21
  1331. package/packages/core/node_modules/lodash-es/_mapCacheDelete.js +0 -18
  1332. package/packages/core/node_modules/lodash-es/_mapCacheGet.js +0 -16
  1333. package/packages/core/node_modules/lodash-es/_mapCacheHas.js +0 -16
  1334. package/packages/core/node_modules/lodash-es/_mapCacheSet.js +0 -22
  1335. package/packages/core/node_modules/lodash-es/_mapToArray.js +0 -18
  1336. package/packages/core/node_modules/lodash-es/_matchesStrictComparable.js +0 -20
  1337. package/packages/core/node_modules/lodash-es/_memoizeCapped.js +0 -26
  1338. package/packages/core/node_modules/lodash-es/_mergeData.js +0 -90
  1339. package/packages/core/node_modules/lodash-es/_metaMap.js +0 -6
  1340. package/packages/core/node_modules/lodash-es/_nativeCreate.js +0 -6
  1341. package/packages/core/node_modules/lodash-es/_nativeKeys.js +0 -6
  1342. package/packages/core/node_modules/lodash-es/_nativeKeysIn.js +0 -20
  1343. package/packages/core/node_modules/lodash-es/_nodeUtil.js +0 -30
  1344. package/packages/core/node_modules/lodash-es/_objectToString.js +0 -22
  1345. package/packages/core/node_modules/lodash-es/_overArg.js +0 -15
  1346. package/packages/core/node_modules/lodash-es/_overRest.js +0 -36
  1347. package/packages/core/node_modules/lodash-es/_parent.js +0 -16
  1348. package/packages/core/node_modules/lodash-es/_reEscape.js +0 -4
  1349. package/packages/core/node_modules/lodash-es/_reEvaluate.js +0 -4
  1350. package/packages/core/node_modules/lodash-es/_reInterpolate.js +0 -4
  1351. package/packages/core/node_modules/lodash-es/_realNames.js +0 -4
  1352. package/packages/core/node_modules/lodash-es/_reorder.js +0 -29
  1353. package/packages/core/node_modules/lodash-es/_replaceHolders.js +0 -29
  1354. package/packages/core/node_modules/lodash-es/_root.js +0 -9
  1355. package/packages/core/node_modules/lodash-es/_safeGet.js +0 -21
  1356. package/packages/core/node_modules/lodash-es/_setCacheAdd.js +0 -19
  1357. package/packages/core/node_modules/lodash-es/_setCacheHas.js +0 -14
  1358. package/packages/core/node_modules/lodash-es/_setData.js +0 -20
  1359. package/packages/core/node_modules/lodash-es/_setToArray.js +0 -18
  1360. package/packages/core/node_modules/lodash-es/_setToPairs.js +0 -18
  1361. package/packages/core/node_modules/lodash-es/_setToString.js +0 -14
  1362. package/packages/core/node_modules/lodash-es/_setWrapToString.js +0 -21
  1363. package/packages/core/node_modules/lodash-es/_shortOut.js +0 -37
  1364. package/packages/core/node_modules/lodash-es/_shuffleSelf.js +0 -28
  1365. package/packages/core/node_modules/lodash-es/_stackClear.js +0 -15
  1366. package/packages/core/node_modules/lodash-es/_stackDelete.js +0 -18
  1367. package/packages/core/node_modules/lodash-es/_stackGet.js +0 -14
  1368. package/packages/core/node_modules/lodash-es/_stackHas.js +0 -14
  1369. package/packages/core/node_modules/lodash-es/_stackSet.js +0 -34
  1370. package/packages/core/node_modules/lodash-es/_strictIndexOf.js +0 -23
  1371. package/packages/core/node_modules/lodash-es/_strictLastIndexOf.js +0 -21
  1372. package/packages/core/node_modules/lodash-es/_stringSize.js +0 -18
  1373. package/packages/core/node_modules/lodash-es/_stringToArray.js +0 -18
  1374. package/packages/core/node_modules/lodash-es/_stringToPath.js +0 -27
  1375. package/packages/core/node_modules/lodash-es/_toKey.js +0 -21
  1376. package/packages/core/node_modules/lodash-es/_toSource.js +0 -26
  1377. package/packages/core/node_modules/lodash-es/_trimmedEndIndex.js +0 -19
  1378. package/packages/core/node_modules/lodash-es/_unescapeHtmlChar.js +0 -21
  1379. package/packages/core/node_modules/lodash-es/_unicodeSize.js +0 -44
  1380. package/packages/core/node_modules/lodash-es/_unicodeToArray.js +0 -40
  1381. package/packages/core/node_modules/lodash-es/_unicodeWords.js +0 -69
  1382. package/packages/core/node_modules/lodash-es/_updateWrapDetails.js +0 -46
  1383. package/packages/core/node_modules/lodash-es/_wrapperClone.js +0 -23
  1384. package/packages/core/node_modules/lodash-es/add.js +0 -22
  1385. package/packages/core/node_modules/lodash-es/after.js +0 -42
  1386. package/packages/core/node_modules/lodash-es/array.default.js +0 -81
  1387. package/packages/core/node_modules/lodash-es/array.js +0 -66
  1388. package/packages/core/node_modules/lodash-es/ary.js +0 -29
  1389. package/packages/core/node_modules/lodash-es/assign.js +0 -58
  1390. package/packages/core/node_modules/lodash-es/assignIn.js +0 -40
  1391. package/packages/core/node_modules/lodash-es/assignInWith.js +0 -38
  1392. package/packages/core/node_modules/lodash-es/assignWith.js +0 -37
  1393. package/packages/core/node_modules/lodash-es/at.js +0 -23
  1394. package/packages/core/node_modules/lodash-es/attempt.js +0 -35
  1395. package/packages/core/node_modules/lodash-es/before.js +0 -40
  1396. package/packages/core/node_modules/lodash-es/bind.js +0 -57
  1397. package/packages/core/node_modules/lodash-es/bindAll.js +0 -41
  1398. package/packages/core/node_modules/lodash-es/bindKey.js +0 -68
  1399. package/packages/core/node_modules/lodash-es/camelCase.js +0 -29
  1400. package/packages/core/node_modules/lodash-es/capitalize.js +0 -23
  1401. package/packages/core/node_modules/lodash-es/castArray.js +0 -44
  1402. package/packages/core/node_modules/lodash-es/ceil.js +0 -26
  1403. package/packages/core/node_modules/lodash-es/chain.js +0 -38
  1404. package/packages/core/node_modules/lodash-es/chunk.js +0 -50
  1405. package/packages/core/node_modules/lodash-es/clamp.js +0 -39
  1406. package/packages/core/node_modules/lodash-es/clone.js +0 -36
  1407. package/packages/core/node_modules/lodash-es/cloneDeep.js +0 -29
  1408. package/packages/core/node_modules/lodash-es/cloneDeepWith.js +0 -40
  1409. package/packages/core/node_modules/lodash-es/cloneWith.js +0 -42
  1410. package/packages/core/node_modules/lodash-es/collection.default.js +0 -37
  1411. package/packages/core/node_modules/lodash-es/collection.js +0 -29
  1412. package/packages/core/node_modules/lodash-es/commit.js +0 -33
  1413. package/packages/core/node_modules/lodash-es/compact.js +0 -31
  1414. package/packages/core/node_modules/lodash-es/concat.js +0 -43
  1415. package/packages/core/node_modules/lodash-es/cond.js +0 -60
  1416. package/packages/core/node_modules/lodash-es/conforms.js +0 -35
  1417. package/packages/core/node_modules/lodash-es/conformsTo.js +0 -32
  1418. package/packages/core/node_modules/lodash-es/constant.js +0 -26
  1419. package/packages/core/node_modules/lodash-es/countBy.js +0 -40
  1420. package/packages/core/node_modules/lodash-es/create.js +0 -43
  1421. package/packages/core/node_modules/lodash-es/curry.js +0 -57
  1422. package/packages/core/node_modules/lodash-es/curryRight.js +0 -54
  1423. package/packages/core/node_modules/lodash-es/date.default.js +0 -5
  1424. package/packages/core/node_modules/lodash-es/date.js +0 -2
  1425. package/packages/core/node_modules/lodash-es/debounce.js +0 -191
  1426. package/packages/core/node_modules/lodash-es/deburr.js +0 -45
  1427. package/packages/core/node_modules/lodash-es/defaultTo.js +0 -25
  1428. package/packages/core/node_modules/lodash-es/defaults.js +0 -64
  1429. package/packages/core/node_modules/lodash-es/defaultsDeep.js +0 -30
  1430. package/packages/core/node_modules/lodash-es/defer.js +0 -26
  1431. package/packages/core/node_modules/lodash-es/delay.js +0 -28
  1432. package/packages/core/node_modules/lodash-es/difference.js +0 -33
  1433. package/packages/core/node_modules/lodash-es/differenceBy.js +0 -44
  1434. package/packages/core/node_modules/lodash-es/differenceWith.js +0 -40
  1435. package/packages/core/node_modules/lodash-es/divide.js +0 -22
  1436. package/packages/core/node_modules/lodash-es/drop.js +0 -38
  1437. package/packages/core/node_modules/lodash-es/dropRight.js +0 -39
  1438. package/packages/core/node_modules/lodash-es/dropRightWhile.js +0 -45
  1439. package/packages/core/node_modules/lodash-es/dropWhile.js +0 -45
  1440. package/packages/core/node_modules/lodash-es/each.js +0 -1
  1441. package/packages/core/node_modules/lodash-es/eachRight.js +0 -1
  1442. package/packages/core/node_modules/lodash-es/endsWith.js +0 -43
  1443. package/packages/core/node_modules/lodash-es/entries.js +0 -1
  1444. package/packages/core/node_modules/lodash-es/entriesIn.js +0 -1
  1445. package/packages/core/node_modules/lodash-es/eq.js +0 -37
  1446. package/packages/core/node_modules/lodash-es/escape.js +0 -43
  1447. package/packages/core/node_modules/lodash-es/escapeRegExp.js +0 -32
  1448. package/packages/core/node_modules/lodash-es/every.js +0 -56
  1449. package/packages/core/node_modules/lodash-es/extend.js +0 -1
  1450. package/packages/core/node_modules/lodash-es/extendWith.js +0 -1
  1451. package/packages/core/node_modules/lodash-es/fill.js +0 -45
  1452. package/packages/core/node_modules/lodash-es/filter.js +0 -52
  1453. package/packages/core/node_modules/lodash-es/find.js +0 -42
  1454. package/packages/core/node_modules/lodash-es/findIndex.js +0 -55
  1455. package/packages/core/node_modules/lodash-es/findKey.js +0 -44
  1456. package/packages/core/node_modules/lodash-es/findLast.js +0 -25
  1457. package/packages/core/node_modules/lodash-es/findLastIndex.js +0 -59
  1458. package/packages/core/node_modules/lodash-es/findLastKey.js +0 -44
  1459. package/packages/core/node_modules/lodash-es/first.js +0 -1
  1460. package/packages/core/node_modules/lodash-es/flatMap.js +0 -29
  1461. package/packages/core/node_modules/lodash-es/flatMapDeep.js +0 -31
  1462. package/packages/core/node_modules/lodash-es/flatMapDepth.js +0 -31
  1463. package/packages/core/node_modules/lodash-es/flatten.js +0 -22
  1464. package/packages/core/node_modules/lodash-es/flattenDeep.js +0 -25
  1465. package/packages/core/node_modules/lodash-es/flattenDepth.js +0 -33
  1466. package/packages/core/node_modules/lodash-es/flip.js +0 -28
  1467. package/packages/core/node_modules/lodash-es/floor.js +0 -26
  1468. package/packages/core/node_modules/lodash-es/flow.js +0 -27
  1469. package/packages/core/node_modules/lodash-es/flowRight.js +0 -26
  1470. package/packages/core/node_modules/lodash-es/forEach.js +0 -41
  1471. package/packages/core/node_modules/lodash-es/forEachRight.js +0 -31
  1472. package/packages/core/node_modules/lodash-es/forIn.js +0 -39
  1473. package/packages/core/node_modules/lodash-es/forInRight.js +0 -37
  1474. package/packages/core/node_modules/lodash-es/forOwn.js +0 -36
  1475. package/packages/core/node_modules/lodash-es/forOwnRight.js +0 -34
  1476. package/packages/core/node_modules/lodash-es/fromPairs.js +0 -28
  1477. package/packages/core/node_modules/lodash-es/function.default.js +0 -31
  1478. package/packages/core/node_modules/lodash-es/function.js +0 -24
  1479. package/packages/core/node_modules/lodash-es/functions.js +0 -31
  1480. package/packages/core/node_modules/lodash-es/functionsIn.js +0 -31
  1481. package/packages/core/node_modules/lodash-es/get.js +0 -33
  1482. package/packages/core/node_modules/lodash-es/groupBy.js +0 -41
  1483. package/packages/core/node_modules/lodash-es/gt.js +0 -29
  1484. package/packages/core/node_modules/lodash-es/gte.js +0 -30
  1485. package/packages/core/node_modules/lodash-es/has.js +0 -35
  1486. package/packages/core/node_modules/lodash-es/hasIn.js +0 -34
  1487. package/packages/core/node_modules/lodash-es/head.js +0 -23
  1488. package/packages/core/node_modules/lodash-es/identity.js +0 -21
  1489. package/packages/core/node_modules/lodash-es/inRange.js +0 -55
  1490. package/packages/core/node_modules/lodash-es/includes.js +0 -53
  1491. package/packages/core/node_modules/lodash-es/indexOf.js +0 -42
  1492. package/packages/core/node_modules/lodash-es/initial.js +0 -22
  1493. package/packages/core/node_modules/lodash-es/intersection.js +0 -30
  1494. package/packages/core/node_modules/lodash-es/intersectionBy.js +0 -45
  1495. package/packages/core/node_modules/lodash-es/intersectionWith.js +0 -41
  1496. package/packages/core/node_modules/lodash-es/invert.js +0 -42
  1497. package/packages/core/node_modules/lodash-es/invertBy.js +0 -56
  1498. package/packages/core/node_modules/lodash-es/invoke.js +0 -24
  1499. package/packages/core/node_modules/lodash-es/invokeMap.js +0 -41
  1500. package/packages/core/node_modules/lodash-es/isArguments.js +0 -36
  1501. package/packages/core/node_modules/lodash-es/isArray.js +0 -26
  1502. package/packages/core/node_modules/lodash-es/isArrayBuffer.js +0 -27
  1503. package/packages/core/node_modules/lodash-es/isArrayLike.js +0 -33
  1504. package/packages/core/node_modules/lodash-es/isArrayLikeObject.js +0 -33
  1505. package/packages/core/node_modules/lodash-es/isBoolean.js +0 -29
  1506. package/packages/core/node_modules/lodash-es/isBuffer.js +0 -38
  1507. package/packages/core/node_modules/lodash-es/isDate.js +0 -27
  1508. package/packages/core/node_modules/lodash-es/isElement.js +0 -25
  1509. package/packages/core/node_modules/lodash-es/isEmpty.js +0 -77
  1510. package/packages/core/node_modules/lodash-es/isEqual.js +0 -35
  1511. package/packages/core/node_modules/lodash-es/isEqualWith.js +0 -41
  1512. package/packages/core/node_modules/lodash-es/isError.js +0 -36
  1513. package/packages/core/node_modules/lodash-es/isFinite.js +0 -36
  1514. package/packages/core/node_modules/lodash-es/isFunction.js +0 -37
  1515. package/packages/core/node_modules/lodash-es/isInteger.js +0 -33
  1516. package/packages/core/node_modules/lodash-es/isLength.js +0 -35
  1517. package/packages/core/node_modules/lodash-es/isMap.js +0 -27
  1518. package/packages/core/node_modules/lodash-es/isMatch.js +0 -36
  1519. package/packages/core/node_modules/lodash-es/isMatchWith.js +0 -41
  1520. package/packages/core/node_modules/lodash-es/isNaN.js +0 -38
  1521. package/packages/core/node_modules/lodash-es/isNative.js +0 -40
  1522. package/packages/core/node_modules/lodash-es/isNil.js +0 -25
  1523. package/packages/core/node_modules/lodash-es/isNull.js +0 -22
  1524. package/packages/core/node_modules/lodash-es/isNumber.js +0 -38
  1525. package/packages/core/node_modules/lodash-es/isObject.js +0 -31
  1526. package/packages/core/node_modules/lodash-es/isObjectLike.js +0 -29
  1527. package/packages/core/node_modules/lodash-es/isPlainObject.js +0 -62
  1528. package/packages/core/node_modules/lodash-es/isRegExp.js +0 -27
  1529. package/packages/core/node_modules/lodash-es/isSafeInteger.js +0 -37
  1530. package/packages/core/node_modules/lodash-es/isSet.js +0 -27
  1531. package/packages/core/node_modules/lodash-es/isString.js +0 -30
  1532. package/packages/core/node_modules/lodash-es/isSymbol.js +0 -29
  1533. package/packages/core/node_modules/lodash-es/isTypedArray.js +0 -27
  1534. package/packages/core/node_modules/lodash-es/isUndefined.js +0 -22
  1535. package/packages/core/node_modules/lodash-es/isWeakMap.js +0 -28
  1536. package/packages/core/node_modules/lodash-es/isWeakSet.js +0 -28
  1537. package/packages/core/node_modules/lodash-es/iteratee.js +0 -53
  1538. package/packages/core/node_modules/lodash-es/join.js +0 -26
  1539. package/packages/core/node_modules/lodash-es/kebabCase.js +0 -28
  1540. package/packages/core/node_modules/lodash-es/keyBy.js +0 -36
  1541. package/packages/core/node_modules/lodash-es/keys.js +0 -37
  1542. package/packages/core/node_modules/lodash-es/keysIn.js +0 -32
  1543. package/packages/core/node_modules/lodash-es/lang.default.js +0 -71
  1544. package/packages/core/node_modules/lodash-es/lang.js +0 -57
  1545. package/packages/core/node_modules/lodash-es/last.js +0 -20
  1546. package/packages/core/node_modules/lodash-es/lastIndexOf.js +0 -46
  1547. package/packages/core/node_modules/lodash-es/lodash.default.js +0 -643
  1548. package/packages/core/node_modules/lodash-es/lodash.js +0 -331
  1549. package/packages/core/node_modules/lodash-es/lowerCase.js +0 -27
  1550. package/packages/core/node_modules/lodash-es/lowerFirst.js +0 -22
  1551. package/packages/core/node_modules/lodash-es/lt.js +0 -29
  1552. package/packages/core/node_modules/lodash-es/lte.js +0 -30
  1553. package/packages/core/node_modules/lodash-es/map.js +0 -53
  1554. package/packages/core/node_modules/lodash-es/mapKeys.js +0 -36
  1555. package/packages/core/node_modules/lodash-es/mapValues.js +0 -43
  1556. package/packages/core/node_modules/lodash-es/matches.js +0 -46
  1557. package/packages/core/node_modules/lodash-es/matchesProperty.js +0 -44
  1558. package/packages/core/node_modules/lodash-es/math.default.js +0 -21
  1559. package/packages/core/node_modules/lodash-es/math.js +0 -16
  1560. package/packages/core/node_modules/lodash-es/max.js +0 -29
  1561. package/packages/core/node_modules/lodash-es/maxBy.js +0 -34
  1562. package/packages/core/node_modules/lodash-es/mean.js +0 -22
  1563. package/packages/core/node_modules/lodash-es/meanBy.js +0 -31
  1564. package/packages/core/node_modules/lodash-es/memoize.js +0 -73
  1565. package/packages/core/node_modules/lodash-es/merge.js +0 -39
  1566. package/packages/core/node_modules/lodash-es/mergeWith.js +0 -39
  1567. package/packages/core/node_modules/lodash-es/method.js +0 -34
  1568. package/packages/core/node_modules/lodash-es/methodOf.js +0 -33
  1569. package/packages/core/node_modules/lodash-es/min.js +0 -29
  1570. package/packages/core/node_modules/lodash-es/minBy.js +0 -34
  1571. package/packages/core/node_modules/lodash-es/mixin.js +0 -74
  1572. package/packages/core/node_modules/lodash-es/multiply.js +0 -22
  1573. package/packages/core/node_modules/lodash-es/negate.js +0 -40
  1574. package/packages/core/node_modules/lodash-es/next.js +0 -35
  1575. package/packages/core/node_modules/lodash-es/noop.js +0 -17
  1576. package/packages/core/node_modules/lodash-es/now.js +0 -23
  1577. package/packages/core/node_modules/lodash-es/nth.js +0 -29
  1578. package/packages/core/node_modules/lodash-es/nthArg.js +0 -32
  1579. package/packages/core/node_modules/lodash-es/number.default.js +0 -7
  1580. package/packages/core/node_modules/lodash-es/number.js +0 -4
  1581. package/packages/core/node_modules/lodash-es/object.default.js +0 -60
  1582. package/packages/core/node_modules/lodash-es/object.js +0 -48
  1583. package/packages/core/node_modules/lodash-es/omit.js +0 -57
  1584. package/packages/core/node_modules/lodash-es/omitBy.js +0 -29
  1585. package/packages/core/node_modules/lodash-es/once.js +0 -25
  1586. package/packages/core/node_modules/lodash-es/orderBy.js +0 -47
  1587. package/packages/core/node_modules/lodash-es/over.js +0 -24
  1588. package/packages/core/node_modules/lodash-es/overArgs.js +0 -61
  1589. package/packages/core/node_modules/lodash-es/overEvery.js +0 -34
  1590. package/packages/core/node_modules/lodash-es/overSome.js +0 -37
  1591. package/packages/core/node_modules/lodash-es/package.json +0 -21
  1592. package/packages/core/node_modules/lodash-es/pad.js +0 -49
  1593. package/packages/core/node_modules/lodash-es/padEnd.js +0 -39
  1594. package/packages/core/node_modules/lodash-es/padStart.js +0 -39
  1595. package/packages/core/node_modules/lodash-es/parseInt.js +0 -43
  1596. package/packages/core/node_modules/lodash-es/partial.js +0 -50
  1597. package/packages/core/node_modules/lodash-es/partialRight.js +0 -49
  1598. package/packages/core/node_modules/lodash-es/partition.js +0 -43
  1599. package/packages/core/node_modules/lodash-es/pick.js +0 -25
  1600. package/packages/core/node_modules/lodash-es/pickBy.js +0 -37
  1601. package/packages/core/node_modules/lodash-es/plant.js +0 -48
  1602. package/packages/core/node_modules/lodash-es/property.js +0 -32
  1603. package/packages/core/node_modules/lodash-es/propertyOf.js +0 -30
  1604. package/packages/core/node_modules/lodash-es/pull.js +0 -29
  1605. package/packages/core/node_modules/lodash-es/pullAll.js +0 -29
  1606. package/packages/core/node_modules/lodash-es/pullAllBy.js +0 -33
  1607. package/packages/core/node_modules/lodash-es/pullAllWith.js +0 -32
  1608. package/packages/core/node_modules/lodash-es/pullAt.js +0 -43
  1609. package/packages/core/node_modules/lodash-es/random.js +0 -82
  1610. package/packages/core/node_modules/lodash-es/range.js +0 -46
  1611. package/packages/core/node_modules/lodash-es/rangeRight.js +0 -41
  1612. package/packages/core/node_modules/lodash-es/rearg.js +0 -33
  1613. package/packages/core/node_modules/lodash-es/reduce.js +0 -51
  1614. package/packages/core/node_modules/lodash-es/reduceRight.js +0 -36
  1615. package/packages/core/node_modules/lodash-es/reject.js +0 -46
  1616. package/packages/core/node_modules/lodash-es/remove.js +0 -53
  1617. package/packages/core/node_modules/lodash-es/repeat.js +0 -37
  1618. package/packages/core/node_modules/lodash-es/replace.js +0 -29
  1619. package/packages/core/node_modules/lodash-es/rest.js +0 -40
  1620. package/packages/core/node_modules/lodash-es/result.js +0 -56
  1621. package/packages/core/node_modules/lodash-es/reverse.js +0 -34
  1622. package/packages/core/node_modules/lodash-es/round.js +0 -26
  1623. package/packages/core/node_modules/lodash-es/sample.js +0 -24
  1624. package/packages/core/node_modules/lodash-es/sampleSize.js +0 -37
  1625. package/packages/core/node_modules/lodash-es/seq.default.js +0 -20
  1626. package/packages/core/node_modules/lodash-es/seq.js +0 -15
  1627. package/packages/core/node_modules/lodash-es/set.js +0 -35
  1628. package/packages/core/node_modules/lodash-es/setWith.js +0 -32
  1629. package/packages/core/node_modules/lodash-es/shuffle.js +0 -25
  1630. package/packages/core/node_modules/lodash-es/size.js +0 -46
  1631. package/packages/core/node_modules/lodash-es/slice.js +0 -37
  1632. package/packages/core/node_modules/lodash-es/snakeCase.js +0 -28
  1633. package/packages/core/node_modules/lodash-es/some.js +0 -51
  1634. package/packages/core/node_modules/lodash-es/sortBy.js +0 -48
  1635. package/packages/core/node_modules/lodash-es/sortedIndex.js +0 -24
  1636. package/packages/core/node_modules/lodash-es/sortedIndexBy.js +0 -33
  1637. package/packages/core/node_modules/lodash-es/sortedIndexOf.js +0 -31
  1638. package/packages/core/node_modules/lodash-es/sortedLastIndex.js +0 -25
  1639. package/packages/core/node_modules/lodash-es/sortedLastIndexBy.js +0 -33
  1640. package/packages/core/node_modules/lodash-es/sortedLastIndexOf.js +0 -31
  1641. package/packages/core/node_modules/lodash-es/sortedUniq.js +0 -24
  1642. package/packages/core/node_modules/lodash-es/sortedUniqBy.js +0 -26
  1643. package/packages/core/node_modules/lodash-es/split.js +0 -52
  1644. package/packages/core/node_modules/lodash-es/spread.js +0 -63
  1645. package/packages/core/node_modules/lodash-es/startCase.js +0 -29
  1646. package/packages/core/node_modules/lodash-es/startsWith.js +0 -39
  1647. package/packages/core/node_modules/lodash-es/string.default.js +0 -41
  1648. package/packages/core/node_modules/lodash-es/string.js +0 -32
  1649. package/packages/core/node_modules/lodash-es/stubArray.js +0 -23
  1650. package/packages/core/node_modules/lodash-es/stubFalse.js +0 -18
  1651. package/packages/core/node_modules/lodash-es/stubObject.js +0 -23
  1652. package/packages/core/node_modules/lodash-es/stubString.js +0 -18
  1653. package/packages/core/node_modules/lodash-es/stubTrue.js +0 -18
  1654. package/packages/core/node_modules/lodash-es/subtract.js +0 -22
  1655. package/packages/core/node_modules/lodash-es/sum.js +0 -24
  1656. package/packages/core/node_modules/lodash-es/sumBy.js +0 -33
  1657. package/packages/core/node_modules/lodash-es/tail.js +0 -22
  1658. package/packages/core/node_modules/lodash-es/take.js +0 -37
  1659. package/packages/core/node_modules/lodash-es/takeRight.js +0 -39
  1660. package/packages/core/node_modules/lodash-es/takeRightWhile.js +0 -45
  1661. package/packages/core/node_modules/lodash-es/takeWhile.js +0 -45
  1662. package/packages/core/node_modules/lodash-es/tap.js +0 -29
  1663. package/packages/core/node_modules/lodash-es/template.js +0 -272
  1664. package/packages/core/node_modules/lodash-es/templateSettings.js +0 -67
  1665. package/packages/core/node_modules/lodash-es/throttle.js +0 -69
  1666. package/packages/core/node_modules/lodash-es/thru.js +0 -28
  1667. package/packages/core/node_modules/lodash-es/times.js +0 -51
  1668. package/packages/core/node_modules/lodash-es/toArray.js +0 -58
  1669. package/packages/core/node_modules/lodash-es/toFinite.js +0 -42
  1670. package/packages/core/node_modules/lodash-es/toInteger.js +0 -36
  1671. package/packages/core/node_modules/lodash-es/toIterator.js +0 -23
  1672. package/packages/core/node_modules/lodash-es/toJSON.js +0 -1
  1673. package/packages/core/node_modules/lodash-es/toLength.js +0 -38
  1674. package/packages/core/node_modules/lodash-es/toLower.js +0 -28
  1675. package/packages/core/node_modules/lodash-es/toNumber.js +0 -64
  1676. package/packages/core/node_modules/lodash-es/toPairs.js +0 -30
  1677. package/packages/core/node_modules/lodash-es/toPairsIn.js +0 -30
  1678. package/packages/core/node_modules/lodash-es/toPath.js +0 -33
  1679. package/packages/core/node_modules/lodash-es/toPlainObject.js +0 -32
  1680. package/packages/core/node_modules/lodash-es/toSafeInteger.js +0 -37
  1681. package/packages/core/node_modules/lodash-es/toString.js +0 -28
  1682. package/packages/core/node_modules/lodash-es/toUpper.js +0 -28
  1683. package/packages/core/node_modules/lodash-es/transform.js +0 -65
  1684. package/packages/core/node_modules/lodash-es/trim.js +0 -47
  1685. package/packages/core/node_modules/lodash-es/trimEnd.js +0 -41
  1686. package/packages/core/node_modules/lodash-es/trimStart.js +0 -43
  1687. package/packages/core/node_modules/lodash-es/truncate.js +0 -111
  1688. package/packages/core/node_modules/lodash-es/unary.js +0 -22
  1689. package/packages/core/node_modules/lodash-es/unescape.js +0 -34
  1690. package/packages/core/node_modules/lodash-es/union.js +0 -26
  1691. package/packages/core/node_modules/lodash-es/unionBy.js +0 -39
  1692. package/packages/core/node_modules/lodash-es/unionWith.js +0 -34
  1693. package/packages/core/node_modules/lodash-es/uniq.js +0 -25
  1694. package/packages/core/node_modules/lodash-es/uniqBy.js +0 -31
  1695. package/packages/core/node_modules/lodash-es/uniqWith.js +0 -28
  1696. package/packages/core/node_modules/lodash-es/uniqueId.js +0 -28
  1697. package/packages/core/node_modules/lodash-es/unset.js +0 -34
  1698. package/packages/core/node_modules/lodash-es/unzip.js +0 -45
  1699. package/packages/core/node_modules/lodash-es/unzipWith.js +0 -39
  1700. package/packages/core/node_modules/lodash-es/update.js +0 -35
  1701. package/packages/core/node_modules/lodash-es/updateWith.js +0 -33
  1702. package/packages/core/node_modules/lodash-es/upperCase.js +0 -27
  1703. package/packages/core/node_modules/lodash-es/upperFirst.js +0 -22
  1704. package/packages/core/node_modules/lodash-es/util.default.js +0 -42
  1705. package/packages/core/node_modules/lodash-es/util.js +0 -33
  1706. package/packages/core/node_modules/lodash-es/value.js +0 -1
  1707. package/packages/core/node_modules/lodash-es/valueOf.js +0 -1
  1708. package/packages/core/node_modules/lodash-es/values.js +0 -34
  1709. package/packages/core/node_modules/lodash-es/valuesIn.js +0 -32
  1710. package/packages/core/node_modules/lodash-es/without.js +0 -31
  1711. package/packages/core/node_modules/lodash-es/words.js +0 -35
  1712. package/packages/core/node_modules/lodash-es/wrap.js +0 -30
  1713. package/packages/core/node_modules/lodash-es/wrapperAt.js +0 -48
  1714. package/packages/core/node_modules/lodash-es/wrapperChain.js +0 -34
  1715. package/packages/core/node_modules/lodash-es/wrapperLodash.js +0 -147
  1716. package/packages/core/node_modules/lodash-es/wrapperReverse.js +0 -44
  1717. package/packages/core/node_modules/lodash-es/wrapperValue.js +0 -21
  1718. package/packages/core/node_modules/lodash-es/xor.js +0 -28
  1719. package/packages/core/node_modules/lodash-es/xorBy.js +0 -39
  1720. package/packages/core/node_modules/lodash-es/xorWith.js +0 -34
  1721. package/packages/core/node_modules/lodash-es/zip.js +0 -22
  1722. package/packages/core/node_modules/lodash-es/zipObject.js +0 -24
  1723. package/packages/core/node_modules/lodash-es/zipObjectDeep.js +0 -23
  1724. package/packages/core/node_modules/lodash-es/zipWith.js +0 -32
  1725. package/packages/core/node_modules/loglevel/.editorconfig +0 -27
  1726. package/packages/core/node_modules/loglevel/CONTRIBUTING.md +0 -98
  1727. package/packages/core/node_modules/loglevel/Gruntfile.js +0 -165
  1728. package/packages/core/node_modules/loglevel/LICENSE-MIT +0 -22
  1729. package/packages/core/node_modules/loglevel/README.md +0 -408
  1730. package/packages/core/node_modules/loglevel/_config.yml +0 -1
  1731. package/packages/core/node_modules/loglevel/bower.json +0 -11
  1732. package/packages/core/node_modules/loglevel/demo/index.html +0 -139
  1733. package/packages/core/node_modules/loglevel/demo/script.js +0 -86
  1734. package/packages/core/node_modules/loglevel/demo/styles.css +0 -107
  1735. package/packages/core/node_modules/loglevel/index.d.ts +0 -203
  1736. package/packages/core/node_modules/loglevel/lib/loglevel.js +0 -357
  1737. package/packages/core/node_modules/loglevel/package.json +0 -63
  1738. package/packages/core/node_modules/math-intrinsics/.eslintrc +0 -16
  1739. package/packages/core/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
  1740. package/packages/core/node_modules/math-intrinsics/CHANGELOG.md +0 -24
  1741. package/packages/core/node_modules/math-intrinsics/LICENSE +0 -21
  1742. package/packages/core/node_modules/math-intrinsics/README.md +0 -50
  1743. package/packages/core/node_modules/math-intrinsics/abs.d.ts +0 -1
  1744. package/packages/core/node_modules/math-intrinsics/abs.js +0 -4
  1745. package/packages/core/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
  1746. package/packages/core/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
  1747. package/packages/core/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
  1748. package/packages/core/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
  1749. package/packages/core/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
  1750. package/packages/core/node_modules/math-intrinsics/constants/maxValue.js +0 -5
  1751. package/packages/core/node_modules/math-intrinsics/floor.d.ts +0 -1
  1752. package/packages/core/node_modules/math-intrinsics/floor.js +0 -4
  1753. package/packages/core/node_modules/math-intrinsics/isFinite.d.ts +0 -3
  1754. package/packages/core/node_modules/math-intrinsics/isFinite.js +0 -12
  1755. package/packages/core/node_modules/math-intrinsics/isInteger.d.ts +0 -3
  1756. package/packages/core/node_modules/math-intrinsics/isInteger.js +0 -16
  1757. package/packages/core/node_modules/math-intrinsics/isNaN.d.ts +0 -1
  1758. package/packages/core/node_modules/math-intrinsics/isNaN.js +0 -6
  1759. package/packages/core/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
  1760. package/packages/core/node_modules/math-intrinsics/isNegativeZero.js +0 -6
  1761. package/packages/core/node_modules/math-intrinsics/max.d.ts +0 -1
  1762. package/packages/core/node_modules/math-intrinsics/max.js +0 -4
  1763. package/packages/core/node_modules/math-intrinsics/min.d.ts +0 -1
  1764. package/packages/core/node_modules/math-intrinsics/min.js +0 -4
  1765. package/packages/core/node_modules/math-intrinsics/mod.d.ts +0 -3
  1766. package/packages/core/node_modules/math-intrinsics/mod.js +0 -9
  1767. package/packages/core/node_modules/math-intrinsics/package.json +0 -86
  1768. package/packages/core/node_modules/math-intrinsics/pow.d.ts +0 -1
  1769. package/packages/core/node_modules/math-intrinsics/pow.js +0 -4
  1770. package/packages/core/node_modules/math-intrinsics/round.d.ts +0 -1
  1771. package/packages/core/node_modules/math-intrinsics/round.js +0 -4
  1772. package/packages/core/node_modules/math-intrinsics/sign.d.ts +0 -3
  1773. package/packages/core/node_modules/math-intrinsics/sign.js +0 -11
  1774. package/packages/core/node_modules/math-intrinsics/test/index.js +0 -192
  1775. package/packages/core/node_modules/math-intrinsics/tsconfig.json +0 -3
  1776. package/packages/core/node_modules/media-typer/HISTORY.md +0 -22
  1777. package/packages/core/node_modules/media-typer/LICENSE +0 -22
  1778. package/packages/core/node_modules/media-typer/README.md +0 -81
  1779. package/packages/core/node_modules/media-typer/index.js +0 -270
  1780. package/packages/core/node_modules/media-typer/package.json +0 -26
  1781. package/packages/core/node_modules/merge-descriptors/HISTORY.md +0 -21
  1782. package/packages/core/node_modules/merge-descriptors/LICENSE +0 -23
  1783. package/packages/core/node_modules/merge-descriptors/README.md +0 -49
  1784. package/packages/core/node_modules/merge-descriptors/index.js +0 -60
  1785. package/packages/core/node_modules/merge-descriptors/package.json +0 -39
  1786. package/packages/core/node_modules/methods/HISTORY.md +0 -29
  1787. package/packages/core/node_modules/methods/LICENSE +0 -24
  1788. package/packages/core/node_modules/methods/README.md +0 -51
  1789. package/packages/core/node_modules/methods/index.js +0 -69
  1790. package/packages/core/node_modules/methods/package.json +0 -36
  1791. package/packages/core/node_modules/mime/CHANGELOG.md +0 -164
  1792. package/packages/core/node_modules/mime/LICENSE +0 -21
  1793. package/packages/core/node_modules/mime/README.md +0 -90
  1794. package/packages/core/node_modules/mime/cli.js +0 -8
  1795. package/packages/core/node_modules/mime/mime.js +0 -108
  1796. package/packages/core/node_modules/mime/package.json +0 -44
  1797. package/packages/core/node_modules/mime/src/build.js +0 -53
  1798. package/packages/core/node_modules/mime/src/test.js +0 -60
  1799. package/packages/core/node_modules/mime/types.json +0 -1
  1800. package/packages/core/node_modules/mime-db/HISTORY.md +0 -507
  1801. package/packages/core/node_modules/mime-db/LICENSE +0 -23
  1802. package/packages/core/node_modules/mime-db/README.md +0 -100
  1803. package/packages/core/node_modules/mime-db/db.json +0 -8519
  1804. package/packages/core/node_modules/mime-db/index.js +0 -12
  1805. package/packages/core/node_modules/mime-db/package.json +0 -60
  1806. package/packages/core/node_modules/mime-types/HISTORY.md +0 -397
  1807. package/packages/core/node_modules/mime-types/LICENSE +0 -23
  1808. package/packages/core/node_modules/mime-types/README.md +0 -113
  1809. package/packages/core/node_modules/mime-types/index.js +0 -188
  1810. package/packages/core/node_modules/mime-types/package.json +0 -44
  1811. package/packages/core/node_modules/morgan/HISTORY.md +0 -221
  1812. package/packages/core/node_modules/morgan/LICENSE +0 -23
  1813. package/packages/core/node_modules/morgan/README.md +0 -436
  1814. package/packages/core/node_modules/morgan/index.js +0 -544
  1815. package/packages/core/node_modules/morgan/node_modules/on-finished/HISTORY.md +0 -88
  1816. package/packages/core/node_modules/morgan/node_modules/on-finished/LICENSE +0 -23
  1817. package/packages/core/node_modules/morgan/node_modules/on-finished/README.md +0 -154
  1818. package/packages/core/node_modules/morgan/node_modules/on-finished/index.js +0 -196
  1819. package/packages/core/node_modules/morgan/node_modules/on-finished/package.json +0 -31
  1820. package/packages/core/node_modules/morgan/package.json +0 -52
  1821. package/packages/core/node_modules/ms/index.js +0 -152
  1822. package/packages/core/node_modules/ms/license.md +0 -21
  1823. package/packages/core/node_modules/ms/package.json +0 -37
  1824. package/packages/core/node_modules/ms/readme.md +0 -51
  1825. package/packages/core/node_modules/negotiator/HISTORY.md +0 -108
  1826. package/packages/core/node_modules/negotiator/LICENSE +0 -24
  1827. package/packages/core/node_modules/negotiator/README.md +0 -203
  1828. package/packages/core/node_modules/negotiator/index.js +0 -82
  1829. package/packages/core/node_modules/negotiator/lib/charset.js +0 -169
  1830. package/packages/core/node_modules/negotiator/lib/encoding.js +0 -184
  1831. package/packages/core/node_modules/negotiator/lib/language.js +0 -179
  1832. package/packages/core/node_modules/negotiator/lib/mediaType.js +0 -294
  1833. package/packages/core/node_modules/negotiator/package.json +0 -42
  1834. package/packages/core/node_modules/nocache/LICENSE +0 -21
  1835. package/packages/core/node_modules/nocache/README.md +0 -22
  1836. package/packages/core/node_modules/nocache/index.d.ts +0 -9
  1837. package/packages/core/node_modules/nocache/index.js +0 -13
  1838. package/packages/core/node_modules/nocache/package.json +0 -45
  1839. package/packages/core/node_modules/nock/LICENSE +0 -21
  1840. package/packages/core/node_modules/nock/README.md +0 -1737
  1841. package/packages/core/node_modules/nock/index.js +0 -53
  1842. package/packages/core/node_modules/nock/lib/back.js +0 -353
  1843. package/packages/core/node_modules/nock/lib/common.js +0 -771
  1844. package/packages/core/node_modules/nock/lib/global_emitter.js +0 -5
  1845. package/packages/core/node_modules/nock/lib/intercept.js +0 -456
  1846. package/packages/core/node_modules/nock/lib/intercepted_request_router.js +0 -355
  1847. package/packages/core/node_modules/nock/lib/interceptor.js +0 -628
  1848. package/packages/core/node_modules/nock/lib/match_body.js +0 -84
  1849. package/packages/core/node_modules/nock/lib/playback_interceptor.js +0 -327
  1850. package/packages/core/node_modules/nock/lib/recorder.js +0 -388
  1851. package/packages/core/node_modules/nock/lib/scope.js +0 -416
  1852. package/packages/core/node_modules/nock/lib/socket.js +0 -108
  1853. package/packages/core/node_modules/nock/node_modules/debug/LICENSE +0 -20
  1854. package/packages/core/node_modules/nock/node_modules/debug/README.md +0 -481
  1855. package/packages/core/node_modules/nock/node_modules/debug/package.json +0 -64
  1856. package/packages/core/node_modules/nock/node_modules/debug/src/browser.js +0 -272
  1857. package/packages/core/node_modules/nock/node_modules/debug/src/common.js +0 -292
  1858. package/packages/core/node_modules/nock/node_modules/debug/src/index.js +0 -10
  1859. package/packages/core/node_modules/nock/node_modules/debug/src/node.js +0 -263
  1860. package/packages/core/node_modules/nock/node_modules/ms/index.js +0 -162
  1861. package/packages/core/node_modules/nock/node_modules/ms/license.md +0 -21
  1862. package/packages/core/node_modules/nock/node_modules/ms/package.json +0 -38
  1863. package/packages/core/node_modules/nock/node_modules/ms/readme.md +0 -59
  1864. package/packages/core/node_modules/nock/package.json +0 -89
  1865. package/packages/core/node_modules/nock/types/index.d.ts +0 -297
  1866. package/packages/core/node_modules/object-assign/index.js +0 -90
  1867. package/packages/core/node_modules/object-assign/license +0 -21
  1868. package/packages/core/node_modules/object-assign/package.json +0 -42
  1869. package/packages/core/node_modules/object-assign/readme.md +0 -61
  1870. package/packages/core/node_modules/object-inspect/.eslintrc +0 -53
  1871. package/packages/core/node_modules/object-inspect/.github/FUNDING.yml +0 -12
  1872. package/packages/core/node_modules/object-inspect/.nycrc +0 -13
  1873. package/packages/core/node_modules/object-inspect/CHANGELOG.md +0 -424
  1874. package/packages/core/node_modules/object-inspect/LICENSE +0 -21
  1875. package/packages/core/node_modules/object-inspect/example/all.js +0 -23
  1876. package/packages/core/node_modules/object-inspect/example/circular.js +0 -6
  1877. package/packages/core/node_modules/object-inspect/example/fn.js +0 -5
  1878. package/packages/core/node_modules/object-inspect/example/inspect.js +0 -10
  1879. package/packages/core/node_modules/object-inspect/index.js +0 -544
  1880. package/packages/core/node_modules/object-inspect/package-support.json +0 -20
  1881. package/packages/core/node_modules/object-inspect/package.json +0 -105
  1882. package/packages/core/node_modules/object-inspect/readme.markdown +0 -84
  1883. package/packages/core/node_modules/object-inspect/test/bigint.js +0 -58
  1884. package/packages/core/node_modules/object-inspect/test/browser/dom.js +0 -15
  1885. package/packages/core/node_modules/object-inspect/test/circular.js +0 -16
  1886. package/packages/core/node_modules/object-inspect/test/deep.js +0 -12
  1887. package/packages/core/node_modules/object-inspect/test/element.js +0 -53
  1888. package/packages/core/node_modules/object-inspect/test/err.js +0 -48
  1889. package/packages/core/node_modules/object-inspect/test/fakes.js +0 -29
  1890. package/packages/core/node_modules/object-inspect/test/fn.js +0 -76
  1891. package/packages/core/node_modules/object-inspect/test/global.js +0 -17
  1892. package/packages/core/node_modules/object-inspect/test/has.js +0 -15
  1893. package/packages/core/node_modules/object-inspect/test/holes.js +0 -15
  1894. package/packages/core/node_modules/object-inspect/test/indent-option.js +0 -271
  1895. package/packages/core/node_modules/object-inspect/test/inspect.js +0 -139
  1896. package/packages/core/node_modules/object-inspect/test/lowbyte.js +0 -12
  1897. package/packages/core/node_modules/object-inspect/test/number.js +0 -58
  1898. package/packages/core/node_modules/object-inspect/test/quoteStyle.js +0 -26
  1899. package/packages/core/node_modules/object-inspect/test/toStringTag.js +0 -40
  1900. package/packages/core/node_modules/object-inspect/test/undef.js +0 -12
  1901. package/packages/core/node_modules/object-inspect/test/values.js +0 -261
  1902. package/packages/core/node_modules/object-inspect/test-core-js.js +0 -26
  1903. package/packages/core/node_modules/object-inspect/util.inspect.js +0 -1
  1904. package/packages/core/node_modules/on-finished/HISTORY.md +0 -98
  1905. package/packages/core/node_modules/on-finished/LICENSE +0 -23
  1906. package/packages/core/node_modules/on-finished/README.md +0 -162
  1907. package/packages/core/node_modules/on-finished/index.js +0 -234
  1908. package/packages/core/node_modules/on-finished/package.json +0 -39
  1909. package/packages/core/node_modules/on-headers/HISTORY.md +0 -26
  1910. package/packages/core/node_modules/on-headers/LICENSE +0 -22
  1911. package/packages/core/node_modules/on-headers/README.md +0 -81
  1912. package/packages/core/node_modules/on-headers/index.js +0 -180
  1913. package/packages/core/node_modules/on-headers/package.json +0 -44
  1914. package/packages/core/node_modules/parseurl/HISTORY.md +0 -58
  1915. package/packages/core/node_modules/parseurl/LICENSE +0 -24
  1916. package/packages/core/node_modules/parseurl/README.md +0 -133
  1917. package/packages/core/node_modules/parseurl/index.js +0 -158
  1918. package/packages/core/node_modules/parseurl/package.json +0 -40
  1919. package/packages/core/node_modules/path-to-regexp/LICENSE +0 -21
  1920. package/packages/core/node_modules/path-to-regexp/Readme.md +0 -35
  1921. package/packages/core/node_modules/path-to-regexp/index.js +0 -156
  1922. package/packages/core/node_modules/path-to-regexp/package.json +0 -30
  1923. package/packages/core/node_modules/propagate/.eslintignore +0 -2
  1924. package/packages/core/node_modules/propagate/.eslintrc.yml +0 -35
  1925. package/packages/core/node_modules/propagate/.prettierignore +0 -4
  1926. package/packages/core/node_modules/propagate/.prettierrc.yml +0 -5
  1927. package/packages/core/node_modules/propagate/.travis.yml +0 -27
  1928. package/packages/core/node_modules/propagate/LICENSE.md +0 -21
  1929. package/packages/core/node_modules/propagate/README.md +0 -72
  1930. package/packages/core/node_modules/propagate/index.js +0 -85
  1931. package/packages/core/node_modules/propagate/package.json +0 -53
  1932. package/packages/core/node_modules/propagate/tests/index.js +0 -168
  1933. package/packages/core/node_modules/proxy-addr/HISTORY.md +0 -161
  1934. package/packages/core/node_modules/proxy-addr/LICENSE +0 -22
  1935. package/packages/core/node_modules/proxy-addr/README.md +0 -139
  1936. package/packages/core/node_modules/proxy-addr/index.js +0 -327
  1937. package/packages/core/node_modules/proxy-addr/package.json +0 -47
  1938. package/packages/core/node_modules/qs/.editorconfig +0 -46
  1939. package/packages/core/node_modules/qs/.github/FUNDING.yml +0 -12
  1940. package/packages/core/node_modules/qs/.github/SECURITY.md +0 -11
  1941. package/packages/core/node_modules/qs/.github/THREAT_MODEL.md +0 -78
  1942. package/packages/core/node_modules/qs/.nycrc +0 -13
  1943. package/packages/core/node_modules/qs/CHANGELOG.md +0 -631
  1944. package/packages/core/node_modules/qs/LICENSE.md +0 -29
  1945. package/packages/core/node_modules/qs/README.md +0 -733
  1946. package/packages/core/node_modules/qs/eslint.config.mjs +0 -56
  1947. package/packages/core/node_modules/qs/lib/formats.js +0 -23
  1948. package/packages/core/node_modules/qs/lib/index.js +0 -11
  1949. package/packages/core/node_modules/qs/lib/parse.js +0 -360
  1950. package/packages/core/node_modules/qs/lib/stringify.js +0 -356
  1951. package/packages/core/node_modules/qs/lib/utils.js +0 -320
  1952. package/packages/core/node_modules/qs/package.json +0 -94
  1953. package/packages/core/node_modules/qs/test/empty-keys-cases.js +0 -267
  1954. package/packages/core/node_modules/qs/test/parse.js +0 -1396
  1955. package/packages/core/node_modules/qs/test/stringify.js +0 -1310
  1956. package/packages/core/node_modules/qs/test/utils.js +0 -381
  1957. package/packages/core/node_modules/querystringify/LICENSE +0 -22
  1958. package/packages/core/node_modules/querystringify/README.md +0 -61
  1959. package/packages/core/node_modules/querystringify/index.js +0 -118
  1960. package/packages/core/node_modules/querystringify/package.json +0 -38
  1961. package/packages/core/node_modules/range-parser/HISTORY.md +0 -56
  1962. package/packages/core/node_modules/range-parser/LICENSE +0 -23
  1963. package/packages/core/node_modules/range-parser/README.md +0 -84
  1964. package/packages/core/node_modules/range-parser/index.js +0 -162
  1965. package/packages/core/node_modules/range-parser/package.json +0 -44
  1966. package/packages/core/node_modules/raw-body/LICENSE +0 -22
  1967. package/packages/core/node_modules/raw-body/README.md +0 -223
  1968. package/packages/core/node_modules/raw-body/index.d.ts +0 -87
  1969. package/packages/core/node_modules/raw-body/index.js +0 -336
  1970. package/packages/core/node_modules/raw-body/package.json +0 -47
  1971. package/packages/core/node_modules/requires-port/.travis.yml +0 -19
  1972. package/packages/core/node_modules/requires-port/LICENSE +0 -22
  1973. package/packages/core/node_modules/requires-port/README.md +0 -47
  1974. package/packages/core/node_modules/requires-port/index.js +0 -38
  1975. package/packages/core/node_modules/requires-port/package.json +0 -47
  1976. package/packages/core/node_modules/requires-port/test.js +0 -98
  1977. package/packages/core/node_modules/route-recognizer/LICENSE +0 -19
  1978. package/packages/core/node_modules/route-recognizer/README.md +0 -142
  1979. package/packages/core/node_modules/route-recognizer/package.json +0 -48
  1980. package/packages/core/node_modules/safe-buffer/LICENSE +0 -21
  1981. package/packages/core/node_modules/safe-buffer/README.md +0 -584
  1982. package/packages/core/node_modules/safe-buffer/index.d.ts +0 -187
  1983. package/packages/core/node_modules/safe-buffer/index.js +0 -65
  1984. package/packages/core/node_modules/safe-buffer/package.json +0 -51
  1985. package/packages/core/node_modules/safer-buffer/LICENSE +0 -21
  1986. package/packages/core/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  1987. package/packages/core/node_modules/safer-buffer/Readme.md +0 -156
  1988. package/packages/core/node_modules/safer-buffer/dangerous.js +0 -58
  1989. package/packages/core/node_modules/safer-buffer/package.json +0 -34
  1990. package/packages/core/node_modules/safer-buffer/safer.js +0 -77
  1991. package/packages/core/node_modules/safer-buffer/tests.js +0 -406
  1992. package/packages/core/node_modules/send/HISTORY.md +0 -538
  1993. package/packages/core/node_modules/send/LICENSE +0 -23
  1994. package/packages/core/node_modules/send/README.md +0 -327
  1995. package/packages/core/node_modules/send/SECURITY.md +0 -24
  1996. package/packages/core/node_modules/send/index.js +0 -1142
  1997. package/packages/core/node_modules/send/node_modules/ms/index.js +0 -162
  1998. package/packages/core/node_modules/send/node_modules/ms/license.md +0 -21
  1999. package/packages/core/node_modules/send/node_modules/ms/package.json +0 -38
  2000. package/packages/core/node_modules/send/node_modules/ms/readme.md +0 -59
  2001. package/packages/core/node_modules/send/package.json +0 -62
  2002. package/packages/core/node_modules/serve-static/HISTORY.md +0 -493
  2003. package/packages/core/node_modules/serve-static/LICENSE +0 -25
  2004. package/packages/core/node_modules/serve-static/README.md +0 -257
  2005. package/packages/core/node_modules/serve-static/index.js +0 -209
  2006. package/packages/core/node_modules/serve-static/package.json +0 -42
  2007. package/packages/core/node_modules/set-cookie-parser/LICENSE +0 -21
  2008. package/packages/core/node_modules/set-cookie-parser/README.md +0 -202
  2009. package/packages/core/node_modules/set-cookie-parser/lib/set-cookie.js +0 -242
  2010. package/packages/core/node_modules/set-cookie-parser/package.json +0 -45
  2011. package/packages/core/node_modules/setprototypeof/LICENSE +0 -13
  2012. package/packages/core/node_modules/setprototypeof/README.md +0 -31
  2013. package/packages/core/node_modules/setprototypeof/index.d.ts +0 -2
  2014. package/packages/core/node_modules/setprototypeof/index.js +0 -17
  2015. package/packages/core/node_modules/setprototypeof/package.json +0 -38
  2016. package/packages/core/node_modules/setprototypeof/test/index.js +0 -24
  2017. package/packages/core/node_modules/side-channel/.editorconfig +0 -9
  2018. package/packages/core/node_modules/side-channel/.eslintrc +0 -12
  2019. package/packages/core/node_modules/side-channel/.github/FUNDING.yml +0 -12
  2020. package/packages/core/node_modules/side-channel/.nycrc +0 -13
  2021. package/packages/core/node_modules/side-channel/CHANGELOG.md +0 -110
  2022. package/packages/core/node_modules/side-channel/LICENSE +0 -21
  2023. package/packages/core/node_modules/side-channel/README.md +0 -61
  2024. package/packages/core/node_modules/side-channel/index.d.ts +0 -14
  2025. package/packages/core/node_modules/side-channel/index.js +0 -43
  2026. package/packages/core/node_modules/side-channel/package.json +0 -85
  2027. package/packages/core/node_modules/side-channel/test/index.js +0 -104
  2028. package/packages/core/node_modules/side-channel/tsconfig.json +0 -9
  2029. package/packages/core/node_modules/side-channel-list/.editorconfig +0 -9
  2030. package/packages/core/node_modules/side-channel-list/.eslintrc +0 -11
  2031. package/packages/core/node_modules/side-channel-list/.github/FUNDING.yml +0 -12
  2032. package/packages/core/node_modules/side-channel-list/.nycrc +0 -13
  2033. package/packages/core/node_modules/side-channel-list/CHANGELOG.md +0 -15
  2034. package/packages/core/node_modules/side-channel-list/LICENSE +0 -21
  2035. package/packages/core/node_modules/side-channel-list/README.md +0 -62
  2036. package/packages/core/node_modules/side-channel-list/index.d.ts +0 -13
  2037. package/packages/core/node_modules/side-channel-list/index.js +0 -113
  2038. package/packages/core/node_modules/side-channel-list/list.d.ts +0 -14
  2039. package/packages/core/node_modules/side-channel-list/package.json +0 -77
  2040. package/packages/core/node_modules/side-channel-list/test/index.js +0 -104
  2041. package/packages/core/node_modules/side-channel-list/tsconfig.json +0 -9
  2042. package/packages/core/node_modules/side-channel-map/.editorconfig +0 -9
  2043. package/packages/core/node_modules/side-channel-map/.eslintrc +0 -11
  2044. package/packages/core/node_modules/side-channel-map/.github/FUNDING.yml +0 -12
  2045. package/packages/core/node_modules/side-channel-map/.nycrc +0 -13
  2046. package/packages/core/node_modules/side-channel-map/CHANGELOG.md +0 -22
  2047. package/packages/core/node_modules/side-channel-map/LICENSE +0 -21
  2048. package/packages/core/node_modules/side-channel-map/README.md +0 -62
  2049. package/packages/core/node_modules/side-channel-map/index.d.ts +0 -15
  2050. package/packages/core/node_modules/side-channel-map/index.js +0 -68
  2051. package/packages/core/node_modules/side-channel-map/package.json +0 -80
  2052. package/packages/core/node_modules/side-channel-map/test/index.js +0 -114
  2053. package/packages/core/node_modules/side-channel-map/tsconfig.json +0 -9
  2054. package/packages/core/node_modules/side-channel-weakmap/.editorconfig +0 -9
  2055. package/packages/core/node_modules/side-channel-weakmap/.eslintrc +0 -12
  2056. package/packages/core/node_modules/side-channel-weakmap/.github/FUNDING.yml +0 -12
  2057. package/packages/core/node_modules/side-channel-weakmap/.nycrc +0 -13
  2058. package/packages/core/node_modules/side-channel-weakmap/CHANGELOG.md +0 -28
  2059. package/packages/core/node_modules/side-channel-weakmap/LICENSE +0 -21
  2060. package/packages/core/node_modules/side-channel-weakmap/README.md +0 -62
  2061. package/packages/core/node_modules/side-channel-weakmap/index.d.ts +0 -15
  2062. package/packages/core/node_modules/side-channel-weakmap/index.js +0 -84
  2063. package/packages/core/node_modules/side-channel-weakmap/package.json +0 -87
  2064. package/packages/core/node_modules/side-channel-weakmap/test/index.js +0 -114
  2065. package/packages/core/node_modules/side-channel-weakmap/tsconfig.json +0 -9
  2066. package/packages/core/node_modules/slugify/CHANGELOG.md +0 -94
  2067. package/packages/core/node_modules/slugify/LICENSE +0 -21
  2068. package/packages/core/node_modules/slugify/README.md +0 -98
  2069. package/packages/core/node_modules/slugify/package.json +0 -42
  2070. package/packages/core/node_modules/slugify/slugify.d.ts +0 -24
  2071. package/packages/core/node_modules/slugify/slugify.js +0 -69
  2072. package/packages/core/node_modules/statuses/HISTORY.md +0 -87
  2073. package/packages/core/node_modules/statuses/LICENSE +0 -23
  2074. package/packages/core/node_modules/statuses/README.md +0 -139
  2075. package/packages/core/node_modules/statuses/codes.json +0 -65
  2076. package/packages/core/node_modules/statuses/index.js +0 -146
  2077. package/packages/core/node_modules/statuses/package.json +0 -49
  2078. package/packages/core/node_modules/to-arraybuffer/.travis.yml +0 -3
  2079. package/packages/core/node_modules/to-arraybuffer/.zuul.yml +0 -16
  2080. package/packages/core/node_modules/to-arraybuffer/LICENSE +0 -24
  2081. package/packages/core/node_modules/to-arraybuffer/README.md +0 -27
  2082. package/packages/core/node_modules/to-arraybuffer/index.js +0 -27
  2083. package/packages/core/node_modules/to-arraybuffer/package.json +0 -34
  2084. package/packages/core/node_modules/to-arraybuffer/test.js +0 -57
  2085. package/packages/core/node_modules/toidentifier/HISTORY.md +0 -9
  2086. package/packages/core/node_modules/toidentifier/LICENSE +0 -21
  2087. package/packages/core/node_modules/toidentifier/README.md +0 -61
  2088. package/packages/core/node_modules/toidentifier/index.js +0 -32
  2089. package/packages/core/node_modules/toidentifier/package.json +0 -38
  2090. package/packages/core/node_modules/type-is/HISTORY.md +0 -259
  2091. package/packages/core/node_modules/type-is/LICENSE +0 -23
  2092. package/packages/core/node_modules/type-is/README.md +0 -170
  2093. package/packages/core/node_modules/type-is/index.js +0 -266
  2094. package/packages/core/node_modules/type-is/package.json +0 -45
  2095. package/packages/core/node_modules/undici-types/LICENSE +0 -21
  2096. package/packages/core/node_modules/undici-types/README.md +0 -6
  2097. package/packages/core/node_modules/undici-types/agent.d.ts +0 -32
  2098. package/packages/core/node_modules/undici-types/api.d.ts +0 -43
  2099. package/packages/core/node_modules/undici-types/balanced-pool.d.ts +0 -29
  2100. package/packages/core/node_modules/undici-types/cache-interceptor.d.ts +0 -172
  2101. package/packages/core/node_modules/undici-types/cache.d.ts +0 -36
  2102. package/packages/core/node_modules/undici-types/client-stats.d.ts +0 -15
  2103. package/packages/core/node_modules/undici-types/client.d.ts +0 -108
  2104. package/packages/core/node_modules/undici-types/connector.d.ts +0 -34
  2105. package/packages/core/node_modules/undici-types/content-type.d.ts +0 -21
  2106. package/packages/core/node_modules/undici-types/cookies.d.ts +0 -30
  2107. package/packages/core/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
  2108. package/packages/core/node_modules/undici-types/dispatcher.d.ts +0 -276
  2109. package/packages/core/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
  2110. package/packages/core/node_modules/undici-types/errors.d.ts +0 -161
  2111. package/packages/core/node_modules/undici-types/eventsource.d.ts +0 -66
  2112. package/packages/core/node_modules/undici-types/fetch.d.ts +0 -211
  2113. package/packages/core/node_modules/undici-types/formdata.d.ts +0 -108
  2114. package/packages/core/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  2115. package/packages/core/node_modules/undici-types/global-origin.d.ts +0 -7
  2116. package/packages/core/node_modules/undici-types/h2c-client.d.ts +0 -73
  2117. package/packages/core/node_modules/undici-types/handlers.d.ts +0 -15
  2118. package/packages/core/node_modules/undici-types/header.d.ts +0 -160
  2119. package/packages/core/node_modules/undici-types/index.d.ts +0 -80
  2120. package/packages/core/node_modules/undici-types/interceptors.d.ts +0 -39
  2121. package/packages/core/node_modules/undici-types/mock-agent.d.ts +0 -68
  2122. package/packages/core/node_modules/undici-types/mock-call-history.d.ts +0 -111
  2123. package/packages/core/node_modules/undici-types/mock-client.d.ts +0 -27
  2124. package/packages/core/node_modules/undici-types/mock-errors.d.ts +0 -12
  2125. package/packages/core/node_modules/undici-types/mock-interceptor.d.ts +0 -94
  2126. package/packages/core/node_modules/undici-types/mock-pool.d.ts +0 -27
  2127. package/packages/core/node_modules/undici-types/package.json +0 -55
  2128. package/packages/core/node_modules/undici-types/patch.d.ts +0 -29
  2129. package/packages/core/node_modules/undici-types/pool-stats.d.ts +0 -19
  2130. package/packages/core/node_modules/undici-types/pool.d.ts +0 -41
  2131. package/packages/core/node_modules/undici-types/proxy-agent.d.ts +0 -29
  2132. package/packages/core/node_modules/undici-types/readable.d.ts +0 -68
  2133. package/packages/core/node_modules/undici-types/retry-agent.d.ts +0 -8
  2134. package/packages/core/node_modules/undici-types/retry-handler.d.ts +0 -125
  2135. package/packages/core/node_modules/undici-types/snapshot-agent.d.ts +0 -109
  2136. package/packages/core/node_modules/undici-types/util.d.ts +0 -18
  2137. package/packages/core/node_modules/undici-types/utility.d.ts +0 -7
  2138. package/packages/core/node_modules/undici-types/webidl.d.ts +0 -341
  2139. package/packages/core/node_modules/undici-types/websocket.d.ts +0 -186
  2140. package/packages/core/node_modules/universalify/LICENSE +0 -20
  2141. package/packages/core/node_modules/universalify/README.md +0 -76
  2142. package/packages/core/node_modules/universalify/index.js +0 -24
  2143. package/packages/core/node_modules/universalify/package.json +0 -34
  2144. package/packages/core/node_modules/unpipe/HISTORY.md +0 -4
  2145. package/packages/core/node_modules/unpipe/LICENSE +0 -22
  2146. package/packages/core/node_modules/unpipe/README.md +0 -43
  2147. package/packages/core/node_modules/unpipe/index.js +0 -69
  2148. package/packages/core/node_modules/unpipe/package.json +0 -27
  2149. package/packages/core/node_modules/url-parse/LICENSE +0 -22
  2150. package/packages/core/node_modules/url-parse/README.md +0 -153
  2151. package/packages/core/node_modules/url-parse/index.js +0 -589
  2152. package/packages/core/node_modules/url-parse/package.json +0 -49
  2153. package/packages/core/node_modules/utf8-byte-length/.gitmodules +0 -3
  2154. package/packages/core/node_modules/utf8-byte-length/.travis.yml +0 -9
  2155. package/packages/core/node_modules/utf8-byte-length/AUTHORS +0 -2
  2156. package/packages/core/node_modules/utf8-byte-length/LICENSE.MIT.txt +0 -7
  2157. package/packages/core/node_modules/utf8-byte-length/LICENSE.WTFPL.txt +0 -13
  2158. package/packages/core/node_modules/utf8-byte-length/README.md +0 -28
  2159. package/packages/core/node_modules/utf8-byte-length/browser.js +0 -47
  2160. package/packages/core/node_modules/utf8-byte-length/index.js +0 -8
  2161. package/packages/core/node_modules/utf8-byte-length/package.json +0 -26
  2162. package/packages/core/node_modules/utf8-byte-length/test.js +0 -67
  2163. package/packages/core/node_modules/utils-merge/LICENSE +0 -20
  2164. package/packages/core/node_modules/utils-merge/README.md +0 -34
  2165. package/packages/core/node_modules/utils-merge/index.js +0 -23
  2166. package/packages/core/node_modules/utils-merge/package.json +0 -40
  2167. package/packages/core/node_modules/vary/HISTORY.md +0 -39
  2168. package/packages/core/node_modules/vary/LICENSE +0 -22
  2169. package/packages/core/node_modules/vary/README.md +0 -101
  2170. package/packages/core/node_modules/vary/index.js +0 -149
  2171. package/packages/core/node_modules/vary/package.json +0 -43
  2172. package/packages/core/package-lock.json +0 -1293
  2173. package/packages/core/package.json +0 -41
  2174. package/packages/core/src/aliases.ts +0 -132
  2175. package/packages/core/src/chat/Chat.ts +0 -449
  2176. package/packages/core/src/chat/ChatOptions.ts +0 -21
  2177. package/packages/core/src/chat/ChatResponse.ts +0 -49
  2178. package/packages/core/src/chat/ChatStream.ts +0 -178
  2179. package/packages/core/src/chat/Content.ts +0 -7
  2180. package/packages/core/src/chat/Message.ts +0 -14
  2181. package/packages/core/src/chat/Role.ts +0 -5
  2182. package/packages/core/src/chat/Tool.ts +0 -83
  2183. package/packages/core/src/config.ts +0 -35
  2184. package/packages/core/src/constants.ts +0 -6
  2185. package/packages/core/src/embedding/Embedding.ts +0 -29
  2186. package/packages/core/src/errors/index.ts +0 -135
  2187. package/packages/core/src/executor/Executor.ts +0 -34
  2188. package/packages/core/src/image/GeneratedImage.ts +0 -70
  2189. package/packages/core/src/index.ts +0 -19
  2190. package/packages/core/src/llm.ts +0 -332
  2191. package/packages/core/src/model_aliases.ts +0 -24
  2192. package/packages/core/src/models/ModelRegistry.ts +0 -94
  2193. package/packages/core/src/models/models.json +0 -7021
  2194. package/packages/core/src/models/models.ts +0 -29475
  2195. package/packages/core/src/models/types.ts +0 -83
  2196. package/packages/core/src/moderation/Moderation.ts +0 -104
  2197. package/packages/core/src/providers/BaseProvider.ts +0 -65
  2198. package/packages/core/src/providers/Provider.ts +0 -152
  2199. package/packages/core/src/providers/anthropic/AnthropicProvider.ts +0 -73
  2200. package/packages/core/src/providers/anthropic/Capabilities.ts +0 -86
  2201. package/packages/core/src/providers/anthropic/Chat.ts +0 -123
  2202. package/packages/core/src/providers/anthropic/Errors.ts +0 -48
  2203. package/packages/core/src/providers/anthropic/Models.ts +0 -62
  2204. package/packages/core/src/providers/anthropic/Streaming.ts +0 -211
  2205. package/packages/core/src/providers/anthropic/Utils.ts +0 -141
  2206. package/packages/core/src/providers/anthropic/index.ts +0 -13
  2207. package/packages/core/src/providers/anthropic/types.ts +0 -61
  2208. package/packages/core/src/providers/deepseek/Capabilities.ts +0 -66
  2209. package/packages/core/src/providers/deepseek/Chat.ts +0 -115
  2210. package/packages/core/src/providers/deepseek/DeepSeekProvider.ts +0 -71
  2211. package/packages/core/src/providers/deepseek/Models.ts +0 -82
  2212. package/packages/core/src/providers/deepseek/Streaming.ts +0 -170
  2213. package/packages/core/src/providers/deepseek/index.ts +0 -29
  2214. package/packages/core/src/providers/gemini/Capabilities.ts +0 -174
  2215. package/packages/core/src/providers/gemini/Chat.ts +0 -128
  2216. package/packages/core/src/providers/gemini/ChatUtils.ts +0 -86
  2217. package/packages/core/src/providers/gemini/Embeddings.ts +0 -52
  2218. package/packages/core/src/providers/gemini/Errors.ts +0 -49
  2219. package/packages/core/src/providers/gemini/GeminiProvider.ts +0 -105
  2220. package/packages/core/src/providers/gemini/Image.ts +0 -57
  2221. package/packages/core/src/providers/gemini/Models.ts +0 -62
  2222. package/packages/core/src/providers/gemini/Streaming.ts +0 -175
  2223. package/packages/core/src/providers/gemini/Transcription.ts +0 -74
  2224. package/packages/core/src/providers/gemini/index.ts +0 -32
  2225. package/packages/core/src/providers/gemini/types.ts +0 -125
  2226. package/packages/core/src/providers/ollama/Capabilities.ts +0 -65
  2227. package/packages/core/src/providers/ollama/Embedding.ts +0 -14
  2228. package/packages/core/src/providers/ollama/Models.ts +0 -32
  2229. package/packages/core/src/providers/ollama/OllamaProvider.ts +0 -43
  2230. package/packages/core/src/providers/ollama/index.ts +0 -23
  2231. package/packages/core/src/providers/openai/Capabilities.ts +0 -158
  2232. package/packages/core/src/providers/openai/Chat.ts +0 -67
  2233. package/packages/core/src/providers/openai/Embedding.ts +0 -71
  2234. package/packages/core/src/providers/openai/Errors.ts +0 -49
  2235. package/packages/core/src/providers/openai/Image.ts +0 -48
  2236. package/packages/core/src/providers/openai/ModelDefinitions.ts +0 -0
  2237. package/packages/core/src/providers/openai/Models.ts +0 -104
  2238. package/packages/core/src/providers/openai/Moderation.ts +0 -36
  2239. package/packages/core/src/providers/openai/OpenAIProvider.ts +0 -98
  2240. package/packages/core/src/providers/openai/Streaming.ts +0 -179
  2241. package/packages/core/src/providers/openai/Transcription.ts +0 -193
  2242. package/packages/core/src/providers/openai/index.ts +0 -31
  2243. package/packages/core/src/providers/openai/types.ts +0 -32
  2244. package/packages/core/src/providers/openai/utils.ts +0 -25
  2245. package/packages/core/src/providers/openrouter/Capabilities.ts +0 -77
  2246. package/packages/core/src/providers/openrouter/Models.ts +0 -126
  2247. package/packages/core/src/providers/openrouter/OpenRouterProvider.ts +0 -32
  2248. package/packages/core/src/providers/openrouter/index.ts +0 -33
  2249. package/packages/core/src/providers/registry.ts +0 -64
  2250. package/packages/core/src/schema/Schema.ts +0 -32
  2251. package/packages/core/src/schema/to-json-schema.ts +0 -11
  2252. package/packages/core/src/streaming/Stream.ts +0 -78
  2253. package/packages/core/src/transcription/Transcription.ts +0 -25
  2254. package/packages/core/src/utils/Binary.ts +0 -73
  2255. package/packages/core/src/utils/FileLoader.ts +0 -130
  2256. package/packages/core/src/utils/audio.ts +0 -52
  2257. package/packages/core/src/utils/logger.ts +0 -52
  2258. package/packages/core/test/__cassettes__/anthropic/should-list-available-models_2026798893/recording.har +0 -121
  2259. package/packages/core/test/__cassettes__/anthropic/should-perform-a-basic-chat-completion-with-Claude-3-5-Sonnet_1984197983/recording.har +0 -174
  2260. package/packages/core/test/__cassettes__/anthropic/should-perform-a-basic-chat-completion-with-Claude-3-Haiku_142399543/recording.har +0 -174
  2261. package/packages/core/test/__cassettes__/anthropic/should-respect-max_tokens-parameter_403137346/recording.har +0 -174
  2262. package/packages/core/test/__cassettes__/anthropic/should-return-token-usage-statistics_3849854421/recording.har +0 -174
  2263. package/packages/core/test/__cassettes__/anthropic/should-stream-chat-completion-with-Claude-3-Haiku_2651274227/recording.har +0 -174
  2264. package/packages/core/test/__cassettes__/anthropic/should-support-PDF-document-input_230679096/recording.har +0 -178
  2265. package/packages/core/test/__cassettes__/anthropic/should-support-structured-output-with-Zod-schema_755272941/recording.har +0 -174
  2266. package/packages/core/test/__cassettes__/anthropic/should-support-tool-calling_3435498037/recording.har +0 -334
  2267. package/packages/core/test/__cassettes__/anthropic/should-support-vision-with-image-input_2861386056/recording.har +0 -174
  2268. package/packages/core/test/__cassettes__/deepseek/should-capture-reasoning-content-for-deepseek-reasoner_2673345164/recording.har +0 -130
  2269. package/packages/core/test/__cassettes__/deepseek/should-list-models_3564403912/recording.har +0 -117
  2270. package/packages/core/test/__cassettes__/deepseek/should-perform-a-basic-chat-completion_395772062/recording.har +0 -130
  2271. package/packages/core/test/__cassettes__/deepseek/should-stream-reasoning-content-for-deepseek-reasoner_2301332238/recording.har +0 -130
  2272. package/packages/core/test/__cassettes__/deepseek/should-support-context-window-param-adjustment_848207690/recording.har +0 -130
  2273. package/packages/core/test/__cassettes__/deepseek/should-support-streaming_7554513/recording.har +0 -130
  2274. package/packages/core/test/__cassettes__/deepseek/should-support-structured-output-with-Zod_2840247798/recording.har +0 -130
  2275. package/packages/core/test/__cassettes__/deepseek/should-support-tool-calling_3435498037/recording.har +0 -246
  2276. package/packages/core/test/__cassettes__/deepseek/should-track-token-usage_256985899/recording.har +0 -130
  2277. package/packages/core/test/__cassettes__/gemini/should-analyze-images-Vision_1748602783/recording.har +0 -115
  2278. package/packages/core/test/__cassettes__/gemini/should-generate-an-image-Paint_3269691518/recording.har +0 -115
  2279. package/packages/core/test/__cassettes__/gemini/should-generate-an-image-and-support-image-features-Paint_2594814762/recording.har +0 -115
  2280. package/packages/core/test/__cassettes__/gemini/should-generate-batch-embeddings_1404188693/recording.har +0 -115
  2281. package/packages/core/test/__cassettes__/gemini/should-generate-embeddings_2432718257/recording.har +0 -115
  2282. package/packages/core/test/__cassettes__/gemini/should-handle-tool-calling_4230693750/recording.har +0 -216
  2283. package/packages/core/test/__cassettes__/gemini/should-list-available-models_2026798893/recording.har +0 -110
  2284. package/packages/core/test/__cassettes__/gemini/should-perform-a-basic-chat-completion_395772062/recording.har +0 -115
  2285. package/packages/core/test/__cassettes__/gemini/should-respect-max_tokens-parameter_403137346/recording.har +0 -115
  2286. package/packages/core/test/__cassettes__/gemini/should-support-streaming_7554513/recording.har +0 -119
  2287. package/packages/core/test/__cassettes__/gemini/should-support-structured-output-with-Zod-schema_755272941/recording.har +0 -115
  2288. package/packages/core/test/__cassettes__/gemini/should-track-total-token-usage_1212299993/recording.har +0 -216
  2289. package/packages/core/test/__cassettes__/gemini/should-transcribe-audio_1911693007/recording.har +0 -115
  2290. package/packages/core/test/__cassettes__/ollama/should-chat-with-local-model_2758001006/recording.har +0 -82
  2291. package/packages/core/test/__cassettes__/ollama/should-list-local-models_4171595997/recording.har +0 -77
  2292. package/packages/core/test/__cassettes__/openai/should-analyze-images-Vision_1748602783/recording.har +0 -342
  2293. package/packages/core/test/__cassettes__/openai/should-analyze-multiple-images-Multi-Image-Vision_2739914650/recording.har +0 -196
  2294. package/packages/core/test/__cassettes__/openai/should-generate-batch-embeddings_1404188693/recording.har +0 -196
  2295. package/packages/core/test/__cassettes__/openai/should-generate-embeddings-for-multiple-texts_1428372966/recording.har +0 -196
  2296. package/packages/core/test/__cassettes__/openai/should-generate-embeddings-for-single-text_2157217693/recording.har +0 -196
  2297. package/packages/core/test/__cassettes__/openai/should-generate-embeddings_2432718257/recording.har +0 -196
  2298. package/packages/core/test/__cassettes__/openai/should-generate-images-Paint_3131486506/recording.har +0 -152
  2299. package/packages/core/test/__cassettes__/openai/should-handle-parallel-tool-calling_1119184407/recording.har +0 -354
  2300. package/packages/core/test/__cassettes__/openai/should-handle-tool-calling_4230693750/recording.har +0 -354
  2301. package/packages/core/test/__cassettes__/openai/should-list-available-models_2026798893/recording.har +0 -143
  2302. package/packages/core/test/__cassettes__/openai/should-moderate-content_642159746/recording.har +0 -156
  2303. package/packages/core/test/__cassettes__/openai/should-perform-a-basic-chat-completion_395772062/recording.har +0 -184
  2304. package/packages/core/test/__cassettes__/openai/should-respect-max_tokens-parameter_403137346/recording.har +0 -184
  2305. package/packages/core/test/__cassettes__/openai/should-support-JSON-mode_867202072/recording.har +0 -184
  2306. package/packages/core/test/__cassettes__/openai/should-support-custom-dimensions_1318459641/recording.har +0 -196
  2307. package/packages/core/test/__cassettes__/openai/should-support-streaming_7554513/recording.har +0 -180
  2308. package/packages/core/test/__cassettes__/openai/should-support-structured-output-with-Zod-schema_755272941/recording.har +0 -184
  2309. package/packages/core/test/__cassettes__/openai/should-support-structured-output-with-manual-JSON-schema_2353032102/recording.har +0 -184
  2310. package/packages/core/test/__cassettes__/openai/should-track-total-token-usage_1212299993/recording.har +0 -354
  2311. package/packages/core/test/__cassettes__/openai/should-transcribe-audio-using-gpt-4o-transcribe_3226468172/recording.har +0 -184
  2312. package/packages/core/test/__cassettes__/openai/should-transcribe-audio_1911693007/recording.har +0 -171
  2313. package/packages/core/test/__cassettes__/openai/should-use-configured-default-model_1543274091/recording.har +0 -196
  2314. package/packages/core/test/__cassettes__/openrouter/should-analyze-images-Vision_1748602783/recording.har +0 -118
  2315. package/packages/core/test/__cassettes__/openrouter/should-create-embeddings_961555720/recording.har +0 -118
  2316. package/packages/core/test/__cassettes__/openrouter/should-create-multiple-embeddings_3067099544/recording.har +0 -118
  2317. package/packages/core/test/__cassettes__/openrouter/should-handle-tool-calling_4230693750/recording.har +0 -222
  2318. package/packages/core/test/__cassettes__/openrouter/should-list-available-models_2026798893/recording.har +0 -117
  2319. package/packages/core/test/__cassettes__/openrouter/should-perform-a-basic-chat-completion_395772062/recording.har +0 -118
  2320. package/packages/core/test/__cassettes__/openrouter/should-support-streaming_7554513/recording.har +0 -118
  2321. package/packages/core/test/fake-provider.ts +0 -22
  2322. package/packages/core/test/fake-streaming-provider.ts +0 -12
  2323. package/packages/core/test/helpers/vcr.ts +0 -93
  2324. package/packages/core/test/integration/anthropic/chat/basic.test.ts +0 -50
  2325. package/packages/core/test/integration/anthropic/chat/params.test.ts +0 -31
  2326. package/packages/core/test/integration/anthropic/chat/tools.test.ts +0 -66
  2327. package/packages/core/test/integration/anthropic/chat/usage.test.ts +0 -31
  2328. package/packages/core/test/integration/anthropic/discovery/models.test.ts +0 -33
  2329. package/packages/core/test/integration/anthropic/multimodal/vision.test.ts +0 -55
  2330. package/packages/core/test/integration/anthropic/schema.test.ts +0 -43
  2331. package/packages/core/test/integration/deepseek/chat/basic.test.ts +0 -45
  2332. package/packages/core/test/integration/deepseek/chat/json.test.ts +0 -38
  2333. package/packages/core/test/integration/deepseek/chat/params.test.ts +0 -27
  2334. package/packages/core/test/integration/deepseek/chat/reasoning.test.ts +0 -46
  2335. package/packages/core/test/integration/deepseek/chat/tools.test.ts +0 -50
  2336. package/packages/core/test/integration/deepseek/chat/usage.test.ts +0 -30
  2337. package/packages/core/test/integration/deepseek/discovery/models.test.ts +0 -33
  2338. package/packages/core/test/integration/deepseek/embeddings/basic.test.ts +0 -23
  2339. package/packages/core/test/integration/deepseek/images/generate.test.ts +0 -23
  2340. package/packages/core/test/integration/deepseek/multimodal/vision.test.ts +0 -28
  2341. package/packages/core/test/integration/deepseek/safety/moderation.test.ts +0 -24
  2342. package/packages/core/test/integration/gemini/chat/basic.test.ts +0 -42
  2343. package/packages/core/test/integration/gemini/chat/params.test.ts +0 -30
  2344. package/packages/core/test/integration/gemini/chat/tools.test.ts +0 -41
  2345. package/packages/core/test/integration/gemini/chat/usage.test.ts +0 -32
  2346. package/packages/core/test/integration/gemini/discovery/models.test.ts +0 -30
  2347. package/packages/core/test/integration/gemini/embeddings/create.test.ts +0 -39
  2348. package/packages/core/test/integration/gemini/images/generate.test.ts +0 -34
  2349. package/packages/core/test/integration/gemini/multimodal/vision.test.ts +0 -54
  2350. package/packages/core/test/integration/gemini/schema.test.ts +0 -44
  2351. package/packages/core/test/integration/ollama/chat/basic.test.ts +0 -41
  2352. package/packages/core/test/integration/openai/chat/basic.test.ts +0 -42
  2353. package/packages/core/test/integration/openai/chat/json.test.ts +0 -38
  2354. package/packages/core/test/integration/openai/chat/params.test.ts +0 -33
  2355. package/packages/core/test/integration/openai/chat/tools.test.ts +0 -66
  2356. package/packages/core/test/integration/openai/chat/usage.test.ts +0 -32
  2357. package/packages/core/test/integration/openai/discovery/models.test.ts +0 -28
  2358. package/packages/core/test/integration/openai/embeddings/create.test.ts +0 -39
  2359. package/packages/core/test/integration/openai/images/generate.test.ts +0 -26
  2360. package/packages/core/test/integration/openai/manual_schema.test.ts +0 -55
  2361. package/packages/core/test/integration/openai/multimodal/vision.test.ts +0 -103
  2362. package/packages/core/test/integration/openai/safety/moderation.test.ts +0 -27
  2363. package/packages/core/test/integration/openai/schema.test.ts +0 -43
  2364. package/packages/core/test/integration/openrouter/chat/basic.test.ts +0 -43
  2365. package/packages/core/test/integration/openrouter/chat/tools.test.ts +0 -42
  2366. package/packages/core/test/integration/openrouter/discovery/models.test.ts +0 -31
  2367. package/packages/core/test/integration/openrouter/embeddings/create.test.ts +0 -47
  2368. package/packages/core/test/integration/openrouter/multimodal/vision.test.ts +0 -33
  2369. package/packages/core/test/unit/chat/ChatStream.test.ts +0 -17
  2370. package/packages/core/test/unit/chat/Tool.test.ts +0 -71
  2371. package/packages/core/test/unit/chat/chat.test.ts +0 -43
  2372. package/packages/core/test/unit/chat/chat_events.test.ts +0 -91
  2373. package/packages/core/test/unit/chat/chat_tools.test.ts +0 -98
  2374. package/packages/core/test/unit/chat/headers.test.ts +0 -73
  2375. package/packages/core/test/unit/chat/retry.test.ts +0 -29
  2376. package/packages/core/test/unit/chat/system_prompts.test.ts +0 -82
  2377. package/packages/core/test/unit/chat/temperature.test.ts +0 -58
  2378. package/packages/core/test/unit/chat/tool-calling.test.ts +0 -159
  2379. package/packages/core/test/unit/chat/withParams.test.ts +0 -97
  2380. package/packages/core/test/unit/core/alias-logging.test.ts +0 -53
  2381. package/packages/core/test/unit/core/capabilities.test.ts +0 -70
  2382. package/packages/core/test/unit/core/custom_provider.test.ts +0 -62
  2383. package/packages/core/test/unit/core/debug.test.ts +0 -55
  2384. package/packages/core/test/unit/core/errors.test.ts +0 -116
  2385. package/packages/core/test/unit/core/llm.test.ts +0 -118
  2386. package/packages/core/test/unit/core/model-aliases-export.test.ts +0 -55
  2387. package/packages/core/test/unit/core/model_alias.test.ts +0 -130
  2388. package/packages/core/test/unit/core/withProvider.test.ts +0 -83
  2389. package/packages/core/test/unit/discovery/embedding.test.ts +0 -108
  2390. package/packages/core/test/unit/models/ModelRegistry.test.ts +0 -49
  2391. package/packages/core/test/unit/multimodal/transcribe.test.ts +0 -126
  2392. package/packages/core/test/unit/multimodal/vision.test.ts +0 -97
  2393. package/packages/core/test/unit/providers/anthropic/capabilities.test.ts +0 -53
  2394. package/packages/core/test/unit/providers/anthropic/chat.test.ts +0 -105
  2395. package/packages/core/test/unit/providers/anthropic/errors.test.ts +0 -42
  2396. package/packages/core/test/unit/providers/anthropic/models.test.ts +0 -31
  2397. package/packages/core/test/unit/providers/anthropic/provider.test.ts +0 -63
  2398. package/packages/core/test/unit/providers/anthropic/utils.test.ts +0 -99
  2399. package/packages/core/test/unit/providers/deepseek/capabilities.test.ts +0 -35
  2400. package/packages/core/test/unit/providers/deepseek/chat.test.ts +0 -131
  2401. package/packages/core/test/unit/providers/deepseek/models.test.ts +0 -53
  2402. package/packages/core/test/unit/providers/deepseek/provider.test.ts +0 -58
  2403. package/packages/core/test/unit/providers/gemini/capabilities.test.ts +0 -36
  2404. package/packages/core/test/unit/providers/gemini/chat.test.ts +0 -103
  2405. package/packages/core/test/unit/providers/gemini/chatUtils.test.ts +0 -79
  2406. package/packages/core/test/unit/providers/gemini/errors.test.ts +0 -37
  2407. package/packages/core/test/unit/providers/gemini/models.test.ts +0 -31
  2408. package/packages/core/test/unit/providers/gemini/provider.test.ts +0 -70
  2409. package/packages/core/test/unit/providers/ollama/registration.test.ts +0 -20
  2410. package/packages/core/test/unit/providers/openai/capabilities.test.ts +0 -39
  2411. package/packages/core/test/unit/providers/openai/chat.test.ts +0 -78
  2412. package/packages/core/test/unit/providers/openai/errors.test.ts +0 -32
  2413. package/packages/core/test/unit/providers/openai/models.test.ts +0 -33
  2414. package/packages/core/test/unit/providers/openai/provider.test.ts +0 -68
  2415. package/packages/core/test/unit/providers/openai/streaming.test.ts +0 -296
  2416. package/packages/core/test/unit/providers/openai/utils.test.ts +0 -33
  2417. package/packages/core/test/unit/providers/registry.test.ts +0 -41
  2418. package/packages/core/test/unit/safety/moderate.test.ts +0 -107
  2419. package/packages/core/test/unit/streaming/advanced.test.ts +0 -81
  2420. package/packages/core/tsconfig.json +0 -8
  2421. package/packages/core/vitest.config.ts +0 -8
  2422. package/pnpm-workspace.yaml +0 -2
  2423. package/tsconfig.base.json +0 -21
@@ -1,2143 +0,0 @@
1
- /**
2
- * To use the HTTP server and client one must import the `node:http` module.
3
- *
4
- * The HTTP interfaces in Node.js are designed to support many features
5
- * of the protocol which have been traditionally difficult to use.
6
- * In particular, large, possibly chunk-encoded, messages. The interface is
7
- * careful to never buffer entire requests or responses, so the
8
- * user is able to stream data.
9
- *
10
- * HTTP message headers are represented by an object like this:
11
- *
12
- * ```json
13
- * { "content-length": "123",
14
- * "content-type": "text/plain",
15
- * "connection": "keep-alive",
16
- * "host": "example.com",
17
- * "accept": "*" }
18
- * ```
19
- *
20
- * Keys are lowercased. Values are not modified.
21
- *
22
- * In order to support the full spectrum of possible HTTP applications, the Node.js
23
- * HTTP API is very low-level. It deals with stream handling and message
24
- * parsing only. It parses a message into headers and body but it does not
25
- * parse the actual headers or the body.
26
- *
27
- * See `message.headers` for details on how duplicate headers are handled.
28
- *
29
- * The raw headers as they were received are retained in the `rawHeaders` property, which is an array of `[key, value, key2, value2, ...]`. For
30
- * example, the previous message header object might have a `rawHeaders` list like the following:
31
- *
32
- * ```js
33
- * [ 'ConTent-Length', '123456',
34
- * 'content-LENGTH', '123',
35
- * 'content-type', 'text/plain',
36
- * 'CONNECTION', 'keep-alive',
37
- * 'Host', 'example.com',
38
- * 'accepT', '*' ]
39
- * ```
40
- * @see [source](https://github.com/nodejs/node/blob/v25.x/lib/http.js)
41
- */
42
- declare module "node:http" {
43
- import { NonSharedBuffer } from "node:buffer";
44
- import { LookupOptions } from "node:dns";
45
- import { EventEmitter } from "node:events";
46
- import * as net from "node:net";
47
- import * as stream from "node:stream";
48
- import { URL } from "node:url";
49
- // incoming headers will never contain number
50
- interface IncomingHttpHeaders extends NodeJS.Dict<string | string[]> {
51
- accept?: string | undefined;
52
- "accept-encoding"?: string | undefined;
53
- "accept-language"?: string | undefined;
54
- "accept-patch"?: string | undefined;
55
- "accept-ranges"?: string | undefined;
56
- "access-control-allow-credentials"?: string | undefined;
57
- "access-control-allow-headers"?: string | undefined;
58
- "access-control-allow-methods"?: string | undefined;
59
- "access-control-allow-origin"?: string | undefined;
60
- "access-control-expose-headers"?: string | undefined;
61
- "access-control-max-age"?: string | undefined;
62
- "access-control-request-headers"?: string | undefined;
63
- "access-control-request-method"?: string | undefined;
64
- age?: string | undefined;
65
- allow?: string | undefined;
66
- "alt-svc"?: string | undefined;
67
- authorization?: string | undefined;
68
- "cache-control"?: string | undefined;
69
- connection?: string | undefined;
70
- "content-disposition"?: string | undefined;
71
- "content-encoding"?: string | undefined;
72
- "content-language"?: string | undefined;
73
- "content-length"?: string | undefined;
74
- "content-location"?: string | undefined;
75
- "content-range"?: string | undefined;
76
- "content-type"?: string | undefined;
77
- cookie?: string | undefined;
78
- date?: string | undefined;
79
- etag?: string | undefined;
80
- expect?: string | undefined;
81
- expires?: string | undefined;
82
- forwarded?: string | undefined;
83
- from?: string | undefined;
84
- host?: string | undefined;
85
- "if-match"?: string | undefined;
86
- "if-modified-since"?: string | undefined;
87
- "if-none-match"?: string | undefined;
88
- "if-unmodified-since"?: string | undefined;
89
- "last-modified"?: string | undefined;
90
- location?: string | undefined;
91
- origin?: string | undefined;
92
- pragma?: string | undefined;
93
- "proxy-authenticate"?: string | undefined;
94
- "proxy-authorization"?: string | undefined;
95
- "public-key-pins"?: string | undefined;
96
- range?: string | undefined;
97
- referer?: string | undefined;
98
- "retry-after"?: string | undefined;
99
- "sec-fetch-site"?: string | undefined;
100
- "sec-fetch-mode"?: string | undefined;
101
- "sec-fetch-user"?: string | undefined;
102
- "sec-fetch-dest"?: string | undefined;
103
- "sec-websocket-accept"?: string | undefined;
104
- "sec-websocket-extensions"?: string | undefined;
105
- "sec-websocket-key"?: string | undefined;
106
- "sec-websocket-protocol"?: string | undefined;
107
- "sec-websocket-version"?: string | undefined;
108
- "set-cookie"?: string[] | undefined;
109
- "strict-transport-security"?: string | undefined;
110
- tk?: string | undefined;
111
- trailer?: string | undefined;
112
- "transfer-encoding"?: string | undefined;
113
- upgrade?: string | undefined;
114
- "user-agent"?: string | undefined;
115
- vary?: string | undefined;
116
- via?: string | undefined;
117
- warning?: string | undefined;
118
- "www-authenticate"?: string | undefined;
119
- }
120
- // outgoing headers allows numbers (as they are converted internally to strings)
121
- type OutgoingHttpHeader = number | string | string[];
122
- interface OutgoingHttpHeaders extends NodeJS.Dict<OutgoingHttpHeader> {
123
- accept?: string | string[] | undefined;
124
- "accept-charset"?: string | string[] | undefined;
125
- "accept-encoding"?: string | string[] | undefined;
126
- "accept-language"?: string | string[] | undefined;
127
- "accept-ranges"?: string | undefined;
128
- "access-control-allow-credentials"?: string | undefined;
129
- "access-control-allow-headers"?: string | undefined;
130
- "access-control-allow-methods"?: string | undefined;
131
- "access-control-allow-origin"?: string | undefined;
132
- "access-control-expose-headers"?: string | undefined;
133
- "access-control-max-age"?: string | undefined;
134
- "access-control-request-headers"?: string | undefined;
135
- "access-control-request-method"?: string | undefined;
136
- age?: string | undefined;
137
- allow?: string | undefined;
138
- authorization?: string | undefined;
139
- "cache-control"?: string | undefined;
140
- "cdn-cache-control"?: string | undefined;
141
- connection?: string | string[] | undefined;
142
- "content-disposition"?: string | undefined;
143
- "content-encoding"?: string | undefined;
144
- "content-language"?: string | undefined;
145
- "content-length"?: string | number | undefined;
146
- "content-location"?: string | undefined;
147
- "content-range"?: string | undefined;
148
- "content-security-policy"?: string | undefined;
149
- "content-security-policy-report-only"?: string | undefined;
150
- "content-type"?: string | undefined;
151
- cookie?: string | string[] | undefined;
152
- dav?: string | string[] | undefined;
153
- dnt?: string | undefined;
154
- date?: string | undefined;
155
- etag?: string | undefined;
156
- expect?: string | undefined;
157
- expires?: string | undefined;
158
- forwarded?: string | undefined;
159
- from?: string | undefined;
160
- host?: string | undefined;
161
- "if-match"?: string | undefined;
162
- "if-modified-since"?: string | undefined;
163
- "if-none-match"?: string | undefined;
164
- "if-range"?: string | undefined;
165
- "if-unmodified-since"?: string | undefined;
166
- "last-modified"?: string | undefined;
167
- link?: string | string[] | undefined;
168
- location?: string | undefined;
169
- "max-forwards"?: string | undefined;
170
- origin?: string | undefined;
171
- pragma?: string | string[] | undefined;
172
- "proxy-authenticate"?: string | string[] | undefined;
173
- "proxy-authorization"?: string | undefined;
174
- "public-key-pins"?: string | undefined;
175
- "public-key-pins-report-only"?: string | undefined;
176
- range?: string | undefined;
177
- referer?: string | undefined;
178
- "referrer-policy"?: string | undefined;
179
- refresh?: string | undefined;
180
- "retry-after"?: string | undefined;
181
- "sec-websocket-accept"?: string | undefined;
182
- "sec-websocket-extensions"?: string | string[] | undefined;
183
- "sec-websocket-key"?: string | undefined;
184
- "sec-websocket-protocol"?: string | string[] | undefined;
185
- "sec-websocket-version"?: string | undefined;
186
- server?: string | undefined;
187
- "set-cookie"?: string | string[] | undefined;
188
- "strict-transport-security"?: string | undefined;
189
- te?: string | undefined;
190
- trailer?: string | undefined;
191
- "transfer-encoding"?: string | undefined;
192
- "user-agent"?: string | undefined;
193
- upgrade?: string | undefined;
194
- "upgrade-insecure-requests"?: string | undefined;
195
- vary?: string | undefined;
196
- via?: string | string[] | undefined;
197
- warning?: string | undefined;
198
- "www-authenticate"?: string | string[] | undefined;
199
- "x-content-type-options"?: string | undefined;
200
- "x-dns-prefetch-control"?: string | undefined;
201
- "x-frame-options"?: string | undefined;
202
- "x-xss-protection"?: string | undefined;
203
- }
204
- interface ClientRequestArgs extends Pick<LookupOptions, "hints"> {
205
- _defaultAgent?: Agent | undefined;
206
- agent?: Agent | boolean | undefined;
207
- auth?: string | null | undefined;
208
- createConnection?:
209
- | ((
210
- options: ClientRequestArgs,
211
- oncreate: (err: Error | null, socket: stream.Duplex) => void,
212
- ) => stream.Duplex | null | undefined)
213
- | undefined;
214
- defaultPort?: number | string | undefined;
215
- family?: number | undefined;
216
- headers?: OutgoingHttpHeaders | readonly string[] | undefined;
217
- host?: string | null | undefined;
218
- hostname?: string | null | undefined;
219
- insecureHTTPParser?: boolean | undefined;
220
- localAddress?: string | undefined;
221
- localPort?: number | undefined;
222
- lookup?: net.LookupFunction | undefined;
223
- /**
224
- * @default 16384
225
- */
226
- maxHeaderSize?: number | undefined;
227
- method?: string | undefined;
228
- path?: string | null | undefined;
229
- port?: number | string | null | undefined;
230
- protocol?: string | null | undefined;
231
- setDefaultHeaders?: boolean | undefined;
232
- setHost?: boolean | undefined;
233
- signal?: AbortSignal | undefined;
234
- socketPath?: string | undefined;
235
- timeout?: number | undefined;
236
- uniqueHeaders?: Array<string | string[]> | undefined;
237
- joinDuplicateHeaders?: boolean | undefined;
238
- }
239
- interface ServerOptions<
240
- Request extends typeof IncomingMessage = typeof IncomingMessage,
241
- Response extends typeof ServerResponse<InstanceType<Request>> = typeof ServerResponse,
242
- > {
243
- /**
244
- * Specifies the `IncomingMessage` class to be used. Useful for extending the original `IncomingMessage`.
245
- */
246
- IncomingMessage?: Request | undefined;
247
- /**
248
- * Specifies the `ServerResponse` class to be used. Useful for extending the original `ServerResponse`.
249
- */
250
- ServerResponse?: Response | undefined;
251
- /**
252
- * Sets the timeout value in milliseconds for receiving the entire request from the client.
253
- * @see Server.requestTimeout for more information.
254
- * @default 300000
255
- * @since v18.0.0
256
- */
257
- requestTimeout?: number | undefined;
258
- /**
259
- * It joins the field line values of multiple headers in a request with `, ` instead of discarding the duplicates.
260
- * @default false
261
- * @since v18.14.0
262
- */
263
- joinDuplicateHeaders?: boolean | undefined;
264
- /**
265
- * The number of milliseconds of inactivity a server needs to wait for additional incoming data,
266
- * after it has finished writing the last response, before a socket will be destroyed.
267
- * @see Server.keepAliveTimeout for more information.
268
- * @default 5000
269
- * @since v18.0.0
270
- */
271
- keepAliveTimeout?: number | undefined;
272
- /**
273
- * An additional buffer time added to the
274
- * `server.keepAliveTimeout` to extend the internal socket timeout.
275
- * @since 24.6.0
276
- * @default 1000
277
- */
278
- keepAliveTimeoutBuffer?: number | undefined;
279
- /**
280
- * Sets the interval value in milliseconds to check for request and headers timeout in incomplete requests.
281
- * @default 30000
282
- */
283
- connectionsCheckingInterval?: number | undefined;
284
- /**
285
- * Sets the timeout value in milliseconds for receiving the complete HTTP headers from the client.
286
- * See {@link Server.headersTimeout} for more information.
287
- * @default 60000
288
- * @since 18.0.0
289
- */
290
- headersTimeout?: number | undefined;
291
- /**
292
- * Optionally overrides all `socket`s' `readableHighWaterMark` and `writableHighWaterMark`.
293
- * This affects `highWaterMark` property of both `IncomingMessage` and `ServerResponse`.
294
- * Default: @see stream.getDefaultHighWaterMark().
295
- * @since v20.1.0
296
- */
297
- highWaterMark?: number | undefined;
298
- /**
299
- * Use an insecure HTTP parser that accepts invalid HTTP headers when `true`.
300
- * Using the insecure parser should be avoided.
301
- * See --insecure-http-parser for more information.
302
- * @default false
303
- */
304
- insecureHTTPParser?: boolean | undefined;
305
- /**
306
- * Optionally overrides the value of `--max-http-header-size` for requests received by
307
- * this server, i.e. the maximum length of request headers in bytes.
308
- * @default 16384
309
- * @since v13.3.0
310
- */
311
- maxHeaderSize?: number | undefined;
312
- /**
313
- * If set to `true`, it disables the use of Nagle's algorithm immediately after a new incoming connection is received.
314
- * @default true
315
- * @since v16.5.0
316
- */
317
- noDelay?: boolean | undefined;
318
- /**
319
- * If set to `true`, it forces the server to respond with a 400 (Bad Request) status code
320
- * to any HTTP/1.1 request message that lacks a Host header (as mandated by the specification).
321
- * @default true
322
- * @since 20.0.0
323
- */
324
- requireHostHeader?: boolean | undefined;
325
- /**
326
- * If set to `true`, it enables keep-alive functionality on the socket immediately after a new incoming connection is received,
327
- * similarly on what is done in `socket.setKeepAlive([enable][, initialDelay])`.
328
- * @default false
329
- * @since v16.5.0
330
- */
331
- keepAlive?: boolean | undefined;
332
- /**
333
- * If set to a positive number, it sets the initial delay before the first keepalive probe is sent on an idle socket.
334
- * @default 0
335
- * @since v16.5.0
336
- */
337
- keepAliveInitialDelay?: number | undefined;
338
- /**
339
- * A list of response headers that should be sent only once.
340
- * If the header's value is an array, the items will be joined using `; `.
341
- */
342
- uniqueHeaders?: Array<string | string[]> | undefined;
343
- /**
344
- * A callback which receives an
345
- * incoming request and returns a boolean, to control which upgrade attempts
346
- * should be accepted. Accepted upgrades will fire an `'upgrade'` event (or
347
- * their sockets will be destroyed, if no listener is registered) while
348
- * rejected upgrades will fire a `'request'` event like any non-upgrade
349
- * request.
350
- * @since v24.9.0
351
- * @default () => server.listenerCount('upgrade') > 0
352
- */
353
- shouldUpgradeCallback?: ((request: InstanceType<Request>) => boolean) | undefined;
354
- /**
355
- * If set to `true`, an error is thrown when writing to an HTTP response which does not have a body.
356
- * @default false
357
- * @since v18.17.0, v20.2.0
358
- */
359
- rejectNonStandardBodyWrites?: boolean | undefined;
360
- }
361
- type RequestListener<
362
- Request extends typeof IncomingMessage = typeof IncomingMessage,
363
- Response extends typeof ServerResponse<InstanceType<Request>> = typeof ServerResponse,
364
- > = (request: InstanceType<Request>, response: InstanceType<Response> & { req: InstanceType<Request> }) => void;
365
- interface ServerEventMap<
366
- Request extends typeof IncomingMessage = typeof IncomingMessage,
367
- Response extends typeof ServerResponse<InstanceType<Request>> = typeof ServerResponse,
368
- > extends net.ServerEventMap {
369
- "checkContinue": Parameters<RequestListener<Request, Response>>;
370
- "checkExpectation": Parameters<RequestListener<Request, Response>>;
371
- "clientError": [exception: Error, socket: stream.Duplex];
372
- "connect": [request: InstanceType<Request>, socket: stream.Duplex, head: NonSharedBuffer];
373
- "connection": [socket: net.Socket];
374
- "dropRequest": [request: InstanceType<Request>, socket: stream.Duplex];
375
- "request": Parameters<RequestListener<Request, Response>>;
376
- "upgrade": [req: InstanceType<Request>, socket: stream.Duplex, head: NonSharedBuffer];
377
- }
378
- /**
379
- * @since v0.1.17
380
- */
381
- class Server<
382
- Request extends typeof IncomingMessage = typeof IncomingMessage,
383
- Response extends typeof ServerResponse<InstanceType<Request>> = typeof ServerResponse,
384
- > extends net.Server {
385
- constructor(requestListener?: RequestListener<Request, Response>);
386
- constructor(options: ServerOptions<Request, Response>, requestListener?: RequestListener<Request, Response>);
387
- /**
388
- * Sets the timeout value for sockets, and emits a `'timeout'` event on
389
- * the Server object, passing the socket as an argument, if a timeout
390
- * occurs.
391
- *
392
- * If there is a `'timeout'` event listener on the Server object, then it
393
- * will be called with the timed-out socket as an argument.
394
- *
395
- * By default, the Server does not timeout sockets. However, if a callback
396
- * is assigned to the Server's `'timeout'` event, timeouts must be handled
397
- * explicitly.
398
- * @since v0.9.12
399
- * @param [msecs=0 (no timeout)]
400
- */
401
- setTimeout(msecs?: number, callback?: (socket: net.Socket) => void): this;
402
- setTimeout(callback: (socket: net.Socket) => void): this;
403
- /**
404
- * Limits maximum incoming headers count. If set to 0, no limit will be applied.
405
- * @since v0.7.0
406
- */
407
- maxHeadersCount: number | null;
408
- /**
409
- * The maximum number of requests socket can handle
410
- * before closing keep alive connection.
411
- *
412
- * A value of `0` will disable the limit.
413
- *
414
- * When the limit is reached it will set the `Connection` header value to `close`,
415
- * but will not actually close the connection, subsequent requests sent
416
- * after the limit is reached will get `503 Service Unavailable` as a response.
417
- * @since v16.10.0
418
- */
419
- maxRequestsPerSocket: number | null;
420
- /**
421
- * The number of milliseconds of inactivity before a socket is presumed
422
- * to have timed out.
423
- *
424
- * A value of `0` will disable the timeout behavior on incoming connections.
425
- *
426
- * The socket timeout logic is set up on connection, so changing this
427
- * value only affects new connections to the server, not any existing connections.
428
- * @since v0.9.12
429
- */
430
- timeout: number;
431
- /**
432
- * Limit the amount of time the parser will wait to receive the complete HTTP
433
- * headers.
434
- *
435
- * If the timeout expires, the server responds with status 408 without
436
- * forwarding the request to the request listener and then closes the connection.
437
- *
438
- * It must be set to a non-zero value (e.g. 120 seconds) to protect against
439
- * potential Denial-of-Service attacks in case the server is deployed without a
440
- * reverse proxy in front.
441
- * @since v11.3.0, v10.14.0
442
- */
443
- headersTimeout: number;
444
- /**
445
- * The number of milliseconds of inactivity a server needs to wait for additional
446
- * incoming data, after it has finished writing the last response, before a socket
447
- * will be destroyed.
448
- *
449
- * This timeout value is combined with the
450
- * `server.keepAliveTimeoutBuffer` option to determine the actual socket
451
- * timeout, calculated as:
452
- * socketTimeout = keepAliveTimeout + keepAliveTimeoutBuffer
453
- * If the server receives new data before the keep-alive timeout has fired, it
454
- * will reset the regular inactivity timeout, i.e., `server.timeout`.
455
- *
456
- * A value of `0` will disable the keep-alive timeout behavior on incoming
457
- * connections.
458
- * A value of `0` makes the HTTP server behave similarly to Node.js versions prior
459
- * to 8.0.0, which did not have a keep-alive timeout.
460
- *
461
- * The socket timeout logic is set up on connection, so changing this value only
462
- * affects new connections to the server, not any existing connections.
463
- * @since v8.0.0
464
- */
465
- keepAliveTimeout: number;
466
- /**
467
- * An additional buffer time added to the
468
- * `server.keepAliveTimeout` to extend the internal socket timeout.
469
- *
470
- * This buffer helps reduce connection reset (`ECONNRESET`) errors by increasing
471
- * the socket timeout slightly beyond the advertised keep-alive timeout.
472
- *
473
- * This option applies only to new incoming connections.
474
- * @since v24.6.0
475
- * @default 1000
476
- */
477
- keepAliveTimeoutBuffer: number;
478
- /**
479
- * Sets the timeout value in milliseconds for receiving the entire request from
480
- * the client.
481
- *
482
- * If the timeout expires, the server responds with status 408 without
483
- * forwarding the request to the request listener and then closes the connection.
484
- *
485
- * It must be set to a non-zero value (e.g. 120 seconds) to protect against
486
- * potential Denial-of-Service attacks in case the server is deployed without a
487
- * reverse proxy in front.
488
- * @since v14.11.0
489
- */
490
- requestTimeout: number;
491
- /**
492
- * Closes all connections connected to this server.
493
- * @since v18.2.0
494
- */
495
- closeAllConnections(): void;
496
- /**
497
- * Closes all connections connected to this server which are not sending a request
498
- * or waiting for a response.
499
- * @since v18.2.0
500
- */
501
- closeIdleConnections(): void;
502
- // #region InternalEventEmitter
503
- addListener<E extends keyof ServerEventMap>(
504
- eventName: E,
505
- listener: (...args: ServerEventMap<Request, Response>[E]) => void,
506
- ): this;
507
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
508
- emit<E extends keyof ServerEventMap>(eventName: E, ...args: ServerEventMap<Request, Response>[E]): boolean;
509
- emit(eventName: string | symbol, ...args: any[]): boolean;
510
- listenerCount<E extends keyof ServerEventMap>(
511
- eventName: E,
512
- listener?: (...args: ServerEventMap<Request, Response>[E]) => void,
513
- ): number;
514
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
515
- listeners<E extends keyof ServerEventMap>(
516
- eventName: E,
517
- ): ((...args: ServerEventMap<Request, Response>[E]) => void)[];
518
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
519
- off<E extends keyof ServerEventMap>(
520
- eventName: E,
521
- listener: (...args: ServerEventMap<Request, Response>[E]) => void,
522
- ): this;
523
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
524
- on<E extends keyof ServerEventMap>(
525
- eventName: E,
526
- listener: (...args: ServerEventMap<Request, Response>[E]) => void,
527
- ): this;
528
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
529
- once<E extends keyof ServerEventMap>(
530
- eventName: E,
531
- listener: (...args: ServerEventMap<Request, Response>[E]) => void,
532
- ): this;
533
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
534
- prependListener<E extends keyof ServerEventMap>(
535
- eventName: E,
536
- listener: (...args: ServerEventMap<Request, Response>[E]) => void,
537
- ): this;
538
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
539
- prependOnceListener<E extends keyof ServerEventMap>(
540
- eventName: E,
541
- listener: (...args: ServerEventMap<Request, Response>[E]) => void,
542
- ): this;
543
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
544
- rawListeners<E extends keyof ServerEventMap>(
545
- eventName: E,
546
- ): ((...args: ServerEventMap<Request, Response>[E]) => void)[];
547
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
548
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
549
- removeAllListeners<E extends keyof ServerEventMap>(eventName?: E): this;
550
- removeAllListeners(eventName?: string | symbol): this;
551
- removeListener<E extends keyof ServerEventMap>(
552
- eventName: E,
553
- listener: (...args: ServerEventMap<Request, Response>[E]) => void,
554
- ): this;
555
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
556
- // #endregion
557
- }
558
- interface OutgoingMessageEventMap extends stream.WritableEventMap {
559
- "prefinish": [];
560
- }
561
- /**
562
- * This class serves as the parent class of {@link ClientRequest} and {@link ServerResponse}. It is an abstract outgoing message from
563
- * the perspective of the participants of an HTTP transaction.
564
- * @since v0.1.17
565
- */
566
- class OutgoingMessage<Request extends IncomingMessage = IncomingMessage> extends stream.Writable {
567
- constructor();
568
- readonly req: Request;
569
- chunkedEncoding: boolean;
570
- shouldKeepAlive: boolean;
571
- useChunkedEncodingByDefault: boolean;
572
- sendDate: boolean;
573
- /**
574
- * @deprecated Use `writableEnded` instead.
575
- */
576
- finished: boolean;
577
- /**
578
- * Read-only. `true` if the headers were sent, otherwise `false`.
579
- * @since v0.9.3
580
- */
581
- readonly headersSent: boolean;
582
- /**
583
- * Alias of `outgoingMessage.socket`.
584
- * @since v0.3.0
585
- * @deprecated Since v15.12.0,v14.17.1 - Use `socket` instead.
586
- */
587
- readonly connection: net.Socket | null;
588
- /**
589
- * Reference to the underlying socket. Usually, users will not want to access
590
- * this property.
591
- *
592
- * After calling `outgoingMessage.end()`, this property will be nulled.
593
- * @since v0.3.0
594
- */
595
- readonly socket: net.Socket | null;
596
- /**
597
- * Once a socket is associated with the message and is connected, `socket.setTimeout()` will be called with `msecs` as the first parameter.
598
- * @since v0.9.12
599
- * @param callback Optional function to be called when a timeout occurs. Same as binding to the `timeout` event.
600
- */
601
- setTimeout(msecs: number, callback?: () => void): this;
602
- /**
603
- * Sets a single header value. If the header already exists in the to-be-sent
604
- * headers, its value will be replaced. Use an array of strings to send multiple
605
- * headers with the same name.
606
- * @since v0.4.0
607
- * @param name Header name
608
- * @param value Header value
609
- */
610
- setHeader(name: string, value: number | string | readonly string[]): this;
611
- /**
612
- * Sets multiple header values for implicit headers. headers must be an instance of
613
- * `Headers` or `Map`, if a header already exists in the to-be-sent headers, its
614
- * value will be replaced.
615
- *
616
- * ```js
617
- * const headers = new Headers({ foo: 'bar' });
618
- * outgoingMessage.setHeaders(headers);
619
- * ```
620
- *
621
- * or
622
- *
623
- * ```js
624
- * const headers = new Map([['foo', 'bar']]);
625
- * outgoingMessage.setHeaders(headers);
626
- * ```
627
- *
628
- * When headers have been set with `outgoingMessage.setHeaders()`, they will be
629
- * merged with any headers passed to `response.writeHead()`, with the headers passed
630
- * to `response.writeHead()` given precedence.
631
- *
632
- * ```js
633
- * // Returns content-type = text/plain
634
- * const server = http.createServer((req, res) => {
635
- * const headers = new Headers({ 'Content-Type': 'text/html' });
636
- * res.setHeaders(headers);
637
- * res.writeHead(200, { 'Content-Type': 'text/plain' });
638
- * res.end('ok');
639
- * });
640
- * ```
641
- *
642
- * @since v19.6.0, v18.15.0
643
- * @param name Header name
644
- * @param value Header value
645
- */
646
- setHeaders(headers: Headers | Map<string, number | string | readonly string[]>): this;
647
- /**
648
- * Append a single header value to the header object.
649
- *
650
- * If the value is an array, this is equivalent to calling this method multiple
651
- * times.
652
- *
653
- * If there were no previous values for the header, this is equivalent to calling `outgoingMessage.setHeader(name, value)`.
654
- *
655
- * Depending of the value of `options.uniqueHeaders` when the client request or the
656
- * server were created, this will end up in the header being sent multiple times or
657
- * a single time with values joined using `; `.
658
- * @since v18.3.0, v16.17.0
659
- * @param name Header name
660
- * @param value Header value
661
- */
662
- appendHeader(name: string, value: string | readonly string[]): this;
663
- /**
664
- * Gets the value of the HTTP header with the given name. If that header is not
665
- * set, the returned value will be `undefined`.
666
- * @since v0.4.0
667
- * @param name Name of header
668
- */
669
- getHeader(name: string): number | string | string[] | undefined;
670
- /**
671
- * Returns a shallow copy of the current outgoing headers. Since a shallow
672
- * copy is used, array values may be mutated without additional calls to
673
- * various header-related HTTP module methods. The keys of the returned
674
- * object are the header names and the values are the respective header
675
- * values. All header names are lowercase.
676
- *
677
- * The object returned by the `outgoingMessage.getHeaders()` method does
678
- * not prototypically inherit from the JavaScript `Object`. This means that
679
- * typical `Object` methods such as `obj.toString()`, `obj.hasOwnProperty()`,
680
- * and others are not defined and will not work.
681
- *
682
- * ```js
683
- * outgoingMessage.setHeader('Foo', 'bar');
684
- * outgoingMessage.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']);
685
- *
686
- * const headers = outgoingMessage.getHeaders();
687
- * // headers === { foo: 'bar', 'set-cookie': ['foo=bar', 'bar=baz'] }
688
- * ```
689
- * @since v7.7.0
690
- */
691
- getHeaders(): OutgoingHttpHeaders;
692
- /**
693
- * Returns an array containing the unique names of the current outgoing headers.
694
- * All names are lowercase.
695
- * @since v7.7.0
696
- */
697
- getHeaderNames(): string[];
698
- /**
699
- * Returns `true` if the header identified by `name` is currently set in the
700
- * outgoing headers. The header name is case-insensitive.
701
- *
702
- * ```js
703
- * const hasContentType = outgoingMessage.hasHeader('content-type');
704
- * ```
705
- * @since v7.7.0
706
- */
707
- hasHeader(name: string): boolean;
708
- /**
709
- * Removes a header that is queued for implicit sending.
710
- *
711
- * ```js
712
- * outgoingMessage.removeHeader('Content-Encoding');
713
- * ```
714
- * @since v0.4.0
715
- * @param name Header name
716
- */
717
- removeHeader(name: string): void;
718
- /**
719
- * Adds HTTP trailers (headers but at the end of the message) to the message.
720
- *
721
- * Trailers will **only** be emitted if the message is chunked encoded. If not,
722
- * the trailers will be silently discarded.
723
- *
724
- * HTTP requires the `Trailer` header to be sent to emit trailers,
725
- * with a list of header field names in its value, e.g.
726
- *
727
- * ```js
728
- * message.writeHead(200, { 'Content-Type': 'text/plain',
729
- * 'Trailer': 'Content-MD5' });
730
- * message.write(fileData);
731
- * message.addTrailers({ 'Content-MD5': '7895bf4b8828b55ceaf47747b4bca667' });
732
- * message.end();
733
- * ```
734
- *
735
- * Attempting to set a header field name or value that contains invalid characters
736
- * will result in a `TypeError` being thrown.
737
- * @since v0.3.0
738
- */
739
- addTrailers(headers: OutgoingHttpHeaders | ReadonlyArray<[string, string]>): void;
740
- /**
741
- * Flushes the message headers.
742
- *
743
- * For efficiency reason, Node.js normally buffers the message headers
744
- * until `outgoingMessage.end()` is called or the first chunk of message data
745
- * is written. It then tries to pack the headers and data into a single TCP
746
- * packet.
747
- *
748
- * It is usually desired (it saves a TCP round-trip), but not when the first
749
- * data is not sent until possibly much later. `outgoingMessage.flushHeaders()` bypasses the optimization and kickstarts the message.
750
- * @since v1.6.0
751
- */
752
- flushHeaders(): void;
753
- // #region InternalEventEmitter
754
- addListener<E extends keyof OutgoingMessageEventMap>(
755
- eventName: E,
756
- listener: (...args: OutgoingMessageEventMap[E]) => void,
757
- ): this;
758
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
759
- emit<E extends keyof OutgoingMessageEventMap>(eventName: E, ...args: OutgoingMessageEventMap[E]): boolean;
760
- emit(eventName: string | symbol, ...args: any[]): boolean;
761
- listenerCount<E extends keyof OutgoingMessageEventMap>(
762
- eventName: E,
763
- listener?: (...args: OutgoingMessageEventMap[E]) => void,
764
- ): number;
765
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
766
- listeners<E extends keyof OutgoingMessageEventMap>(
767
- eventName: E,
768
- ): ((...args: OutgoingMessageEventMap[E]) => void)[];
769
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
770
- off<E extends keyof OutgoingMessageEventMap>(
771
- eventName: E,
772
- listener: (...args: OutgoingMessageEventMap[E]) => void,
773
- ): this;
774
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
775
- on<E extends keyof OutgoingMessageEventMap>(
776
- eventName: E,
777
- listener: (...args: OutgoingMessageEventMap[E]) => void,
778
- ): this;
779
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
780
- once<E extends keyof OutgoingMessageEventMap>(
781
- eventName: E,
782
- listener: (...args: OutgoingMessageEventMap[E]) => void,
783
- ): this;
784
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
785
- prependListener<E extends keyof OutgoingMessageEventMap>(
786
- eventName: E,
787
- listener: (...args: OutgoingMessageEventMap[E]) => void,
788
- ): this;
789
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
790
- prependOnceListener<E extends keyof OutgoingMessageEventMap>(
791
- eventName: E,
792
- listener: (...args: OutgoingMessageEventMap[E]) => void,
793
- ): this;
794
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
795
- rawListeners<E extends keyof OutgoingMessageEventMap>(
796
- eventName: E,
797
- ): ((...args: OutgoingMessageEventMap[E]) => void)[];
798
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
799
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
800
- removeAllListeners<E extends keyof OutgoingMessageEventMap>(eventName?: E): this;
801
- removeAllListeners(eventName?: string | symbol): this;
802
- removeListener<E extends keyof OutgoingMessageEventMap>(
803
- eventName: E,
804
- listener: (...args: OutgoingMessageEventMap[E]) => void,
805
- ): this;
806
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
807
- // #endregion
808
- }
809
- /**
810
- * This object is created internally by an HTTP server, not by the user. It is
811
- * passed as the second parameter to the `'request'` event.
812
- * @since v0.1.17
813
- */
814
- class ServerResponse<Request extends IncomingMessage = IncomingMessage> extends OutgoingMessage<Request> {
815
- /**
816
- * When using implicit headers (not calling `response.writeHead()` explicitly),
817
- * this property controls the status code that will be sent to the client when
818
- * the headers get flushed.
819
- *
820
- * ```js
821
- * response.statusCode = 404;
822
- * ```
823
- *
824
- * After response header was sent to the client, this property indicates the
825
- * status code which was sent out.
826
- * @since v0.4.0
827
- */
828
- statusCode: number;
829
- /**
830
- * When using implicit headers (not calling `response.writeHead()` explicitly),
831
- * this property controls the status message that will be sent to the client when
832
- * the headers get flushed. If this is left as `undefined` then the standard
833
- * message for the status code will be used.
834
- *
835
- * ```js
836
- * response.statusMessage = 'Not found';
837
- * ```
838
- *
839
- * After response header was sent to the client, this property indicates the
840
- * status message which was sent out.
841
- * @since v0.11.8
842
- */
843
- statusMessage: string;
844
- /**
845
- * If set to `true`, Node.js will check whether the `Content-Length` header value and the size of the body, in bytes, are equal.
846
- * Mismatching the `Content-Length` header value will result
847
- * in an `Error` being thrown, identified by `code:``'ERR_HTTP_CONTENT_LENGTH_MISMATCH'`.
848
- * @since v18.10.0, v16.18.0
849
- */
850
- strictContentLength: boolean;
851
- constructor(req: Request);
852
- assignSocket(socket: net.Socket): void;
853
- detachSocket(socket: net.Socket): void;
854
- /**
855
- * Sends an HTTP/1.1 100 Continue message to the client, indicating that
856
- * the request body should be sent. See the `'checkContinue'` event on `Server`.
857
- * @since v0.3.0
858
- */
859
- writeContinue(callback?: () => void): void;
860
- /**
861
- * Sends an HTTP/1.1 103 Early Hints message to the client with a Link header,
862
- * indicating that the user agent can preload/preconnect the linked resources.
863
- * The `hints` is an object containing the values of headers to be sent with
864
- * early hints message. The optional `callback` argument will be called when
865
- * the response message has been written.
866
- *
867
- * **Example**
868
- *
869
- * ```js
870
- * const earlyHintsLink = '</styles.css>; rel=preload; as=style';
871
- * response.writeEarlyHints({
872
- * 'link': earlyHintsLink,
873
- * });
874
- *
875
- * const earlyHintsLinks = [
876
- * '</styles.css>; rel=preload; as=style',
877
- * '</scripts.js>; rel=preload; as=script',
878
- * ];
879
- * response.writeEarlyHints({
880
- * 'link': earlyHintsLinks,
881
- * 'x-trace-id': 'id for diagnostics',
882
- * });
883
- *
884
- * const earlyHintsCallback = () => console.log('early hints message sent');
885
- * response.writeEarlyHints({
886
- * 'link': earlyHintsLinks,
887
- * }, earlyHintsCallback);
888
- * ```
889
- * @since v18.11.0
890
- * @param hints An object containing the values of headers
891
- * @param callback Will be called when the response message has been written
892
- */
893
- writeEarlyHints(hints: Record<string, string | string[]>, callback?: () => void): void;
894
- /**
895
- * Sends a response header to the request. The status code is a 3-digit HTTP
896
- * status code, like `404`. The last argument, `headers`, are the response headers.
897
- * Optionally one can give a human-readable `statusMessage` as the second
898
- * argument.
899
- *
900
- * `headers` may be an `Array` where the keys and values are in the same list.
901
- * It is _not_ a list of tuples. So, the even-numbered offsets are key values,
902
- * and the odd-numbered offsets are the associated values. The array is in the same
903
- * format as `request.rawHeaders`.
904
- *
905
- * Returns a reference to the `ServerResponse`, so that calls can be chained.
906
- *
907
- * ```js
908
- * const body = 'hello world';
909
- * response
910
- * .writeHead(200, {
911
- * 'Content-Length': Buffer.byteLength(body),
912
- * 'Content-Type': 'text/plain',
913
- * })
914
- * .end(body);
915
- * ```
916
- *
917
- * This method must only be called once on a message and it must
918
- * be called before `response.end()` is called.
919
- *
920
- * If `response.write()` or `response.end()` are called before calling
921
- * this, the implicit/mutable headers will be calculated and call this function.
922
- *
923
- * When headers have been set with `response.setHeader()`, they will be merged
924
- * with any headers passed to `response.writeHead()`, with the headers passed
925
- * to `response.writeHead()` given precedence.
926
- *
927
- * If this method is called and `response.setHeader()` has not been called,
928
- * it will directly write the supplied header values onto the network channel
929
- * without caching internally, and the `response.getHeader()` on the header
930
- * will not yield the expected result. If progressive population of headers is
931
- * desired with potential future retrieval and modification, use `response.setHeader()` instead.
932
- *
933
- * ```js
934
- * // Returns content-type = text/plain
935
- * const server = http.createServer((req, res) => {
936
- * res.setHeader('Content-Type', 'text/html');
937
- * res.setHeader('X-Foo', 'bar');
938
- * res.writeHead(200, { 'Content-Type': 'text/plain' });
939
- * res.end('ok');
940
- * });
941
- * ```
942
- *
943
- * `Content-Length` is read in bytes, not characters. Use `Buffer.byteLength()` to determine the length of the body in bytes. Node.js
944
- * will check whether `Content-Length` and the length of the body which has
945
- * been transmitted are equal or not.
946
- *
947
- * Attempting to set a header field name or value that contains invalid characters
948
- * will result in a \[`Error`\]\[\] being thrown.
949
- * @since v0.1.30
950
- */
951
- writeHead(
952
- statusCode: number,
953
- statusMessage?: string,
954
- headers?: OutgoingHttpHeaders | OutgoingHttpHeader[],
955
- ): this;
956
- writeHead(statusCode: number, headers?: OutgoingHttpHeaders | OutgoingHttpHeader[]): this;
957
- /**
958
- * Sends a HTTP/1.1 102 Processing message to the client, indicating that
959
- * the request body should be sent.
960
- * @since v10.0.0
961
- */
962
- writeProcessing(callback?: () => void): void;
963
- }
964
- interface InformationEvent {
965
- httpVersion: string;
966
- httpVersionMajor: number;
967
- httpVersionMinor: number;
968
- statusCode: number;
969
- statusMessage: string;
970
- headers: IncomingHttpHeaders;
971
- rawHeaders: string[];
972
- }
973
- interface ClientRequestEventMap extends stream.WritableEventMap {
974
- /** @deprecated Listen for the `'close'` event instead. */
975
- "abort": [];
976
- "connect": [response: IncomingMessage, socket: net.Socket, head: NonSharedBuffer];
977
- "continue": [];
978
- "information": [info: InformationEvent];
979
- "response": [response: IncomingMessage];
980
- "socket": [socket: net.Socket];
981
- "timeout": [];
982
- "upgrade": [response: IncomingMessage, socket: net.Socket, head: NonSharedBuffer];
983
- }
984
- /**
985
- * This object is created internally and returned from {@link request}. It
986
- * represents an _in-progress_ request whose header has already been queued. The
987
- * header is still mutable using the `setHeader(name, value)`, `getHeader(name)`, `removeHeader(name)` API. The actual header will
988
- * be sent along with the first data chunk or when calling `request.end()`.
989
- *
990
- * To get the response, add a listener for `'response'` to the request object. `'response'` will be emitted from the request object when the response
991
- * headers have been received. The `'response'` event is executed with one
992
- * argument which is an instance of {@link IncomingMessage}.
993
- *
994
- * During the `'response'` event, one can add listeners to the
995
- * response object; particularly to listen for the `'data'` event.
996
- *
997
- * If no `'response'` handler is added, then the response will be
998
- * entirely discarded. However, if a `'response'` event handler is added,
999
- * then the data from the response object **must** be consumed, either by
1000
- * calling `response.read()` whenever there is a `'readable'` event, or
1001
- * by adding a `'data'` handler, or by calling the `.resume()` method.
1002
- * Until the data is consumed, the `'end'` event will not fire. Also, until
1003
- * the data is read it will consume memory that can eventually lead to a
1004
- * 'process out of memory' error.
1005
- *
1006
- * For backward compatibility, `res` will only emit `'error'` if there is an `'error'` listener registered.
1007
- *
1008
- * Set `Content-Length` header to limit the response body size.
1009
- * If `response.strictContentLength` is set to `true`, mismatching the `Content-Length` header value will result in an `Error` being thrown,
1010
- * identified by `code:``'ERR_HTTP_CONTENT_LENGTH_MISMATCH'`.
1011
- *
1012
- * `Content-Length` value should be in bytes, not characters. Use `Buffer.byteLength()` to determine the length of the body in bytes.
1013
- * @since v0.1.17
1014
- */
1015
- class ClientRequest extends OutgoingMessage {
1016
- /**
1017
- * The `request.aborted` property will be `true` if the request has
1018
- * been aborted.
1019
- * @since v0.11.14
1020
- * @deprecated Since v17.0.0, v16.12.0 - Check `destroyed` instead.
1021
- */
1022
- aborted: boolean;
1023
- /**
1024
- * The request host.
1025
- * @since v14.5.0, v12.19.0
1026
- */
1027
- host: string;
1028
- /**
1029
- * The request protocol.
1030
- * @since v14.5.0, v12.19.0
1031
- */
1032
- protocol: string;
1033
- /**
1034
- * When sending request through a keep-alive enabled agent, the underlying socket
1035
- * might be reused. But if server closes connection at unfortunate time, client
1036
- * may run into a 'ECONNRESET' error.
1037
- *
1038
- * ```js
1039
- * import http from 'node:http';
1040
- *
1041
- * // Server has a 5 seconds keep-alive timeout by default
1042
- * http
1043
- * .createServer((req, res) => {
1044
- * res.write('hello\n');
1045
- * res.end();
1046
- * })
1047
- * .listen(3000);
1048
- *
1049
- * setInterval(() => {
1050
- * // Adapting a keep-alive agent
1051
- * http.get('http://localhost:3000', { agent }, (res) => {
1052
- * res.on('data', (data) => {
1053
- * // Do nothing
1054
- * });
1055
- * });
1056
- * }, 5000); // Sending request on 5s interval so it's easy to hit idle timeout
1057
- * ```
1058
- *
1059
- * By marking a request whether it reused socket or not, we can do
1060
- * automatic error retry base on it.
1061
- *
1062
- * ```js
1063
- * import http from 'node:http';
1064
- * const agent = new http.Agent({ keepAlive: true });
1065
- *
1066
- * function retriableRequest() {
1067
- * const req = http
1068
- * .get('http://localhost:3000', { agent }, (res) => {
1069
- * // ...
1070
- * })
1071
- * .on('error', (err) => {
1072
- * // Check if retry is needed
1073
- * if (req.reusedSocket &#x26;&#x26; err.code === 'ECONNRESET') {
1074
- * retriableRequest();
1075
- * }
1076
- * });
1077
- * }
1078
- *
1079
- * retriableRequest();
1080
- * ```
1081
- * @since v13.0.0, v12.16.0
1082
- */
1083
- reusedSocket: boolean;
1084
- /**
1085
- * Limits maximum response headers count. If set to 0, no limit will be applied.
1086
- */
1087
- maxHeadersCount: number;
1088
- constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void);
1089
- /**
1090
- * The request method.
1091
- * @since v0.1.97
1092
- */
1093
- method: string;
1094
- /**
1095
- * The request path.
1096
- * @since v0.4.0
1097
- */
1098
- path: string;
1099
- /**
1100
- * Marks the request as aborting. Calling this will cause remaining data
1101
- * in the response to be dropped and the socket to be destroyed.
1102
- * @since v0.3.8
1103
- * @deprecated Since v14.1.0,v13.14.0 - Use `destroy` instead.
1104
- */
1105
- abort(): void;
1106
- onSocket(socket: net.Socket): void;
1107
- /**
1108
- * Once a socket is assigned to this request and is connected `socket.setTimeout()` will be called.
1109
- * @since v0.5.9
1110
- * @param timeout Milliseconds before a request times out.
1111
- * @param callback Optional function to be called when a timeout occurs. Same as binding to the `'timeout'` event.
1112
- */
1113
- setTimeout(timeout: number, callback?: () => void): this;
1114
- /**
1115
- * Once a socket is assigned to this request and is connected `socket.setNoDelay()` will be called.
1116
- * @since v0.5.9
1117
- */
1118
- setNoDelay(noDelay?: boolean): void;
1119
- /**
1120
- * Once a socket is assigned to this request and is connected `socket.setKeepAlive()` will be called.
1121
- * @since v0.5.9
1122
- */
1123
- setSocketKeepAlive(enable?: boolean, initialDelay?: number): void;
1124
- /**
1125
- * Returns an array containing the unique names of the current outgoing raw
1126
- * headers. Header names are returned with their exact casing being set.
1127
- *
1128
- * ```js
1129
- * request.setHeader('Foo', 'bar');
1130
- * request.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']);
1131
- *
1132
- * const headerNames = request.getRawHeaderNames();
1133
- * // headerNames === ['Foo', 'Set-Cookie']
1134
- * ```
1135
- * @since v15.13.0, v14.17.0
1136
- */
1137
- getRawHeaderNames(): string[];
1138
- // #region InternalEventEmitter
1139
- addListener<E extends keyof ClientRequestEventMap>(
1140
- eventName: E,
1141
- listener: (...args: ClientRequestEventMap[E]) => void,
1142
- ): this;
1143
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1144
- emit<E extends keyof ClientRequestEventMap>(eventName: E, ...args: ClientRequestEventMap[E]): boolean;
1145
- emit(eventName: string | symbol, ...args: any[]): boolean;
1146
- listenerCount<E extends keyof ClientRequestEventMap>(
1147
- eventName: E,
1148
- listener?: (...args: ClientRequestEventMap[E]) => void,
1149
- ): number;
1150
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
1151
- listeners<E extends keyof ClientRequestEventMap>(eventName: E): ((...args: ClientRequestEventMap[E]) => void)[];
1152
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
1153
- off<E extends keyof ClientRequestEventMap>(
1154
- eventName: E,
1155
- listener: (...args: ClientRequestEventMap[E]) => void,
1156
- ): this;
1157
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
1158
- on<E extends keyof ClientRequestEventMap>(
1159
- eventName: E,
1160
- listener: (...args: ClientRequestEventMap[E]) => void,
1161
- ): this;
1162
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
1163
- once<E extends keyof ClientRequestEventMap>(
1164
- eventName: E,
1165
- listener: (...args: ClientRequestEventMap[E]) => void,
1166
- ): this;
1167
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
1168
- prependListener<E extends keyof ClientRequestEventMap>(
1169
- eventName: E,
1170
- listener: (...args: ClientRequestEventMap[E]) => void,
1171
- ): this;
1172
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1173
- prependOnceListener<E extends keyof ClientRequestEventMap>(
1174
- eventName: E,
1175
- listener: (...args: ClientRequestEventMap[E]) => void,
1176
- ): this;
1177
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1178
- rawListeners<E extends keyof ClientRequestEventMap>(
1179
- eventName: E,
1180
- ): ((...args: ClientRequestEventMap[E]) => void)[];
1181
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
1182
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
1183
- removeAllListeners<E extends keyof ClientRequestEventMap>(eventName?: E): this;
1184
- removeAllListeners(eventName?: string | symbol): this;
1185
- removeListener<E extends keyof ClientRequestEventMap>(
1186
- eventName: E,
1187
- listener: (...args: ClientRequestEventMap[E]) => void,
1188
- ): this;
1189
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1190
- // #endregion
1191
- }
1192
- interface IncomingMessageEventMap extends stream.ReadableEventMap {
1193
- /** @deprecated Listen for `'close'` event instead. */
1194
- "aborted": [];
1195
- }
1196
- /**
1197
- * An `IncomingMessage` object is created by {@link Server} or {@link ClientRequest} and passed as the first argument to the `'request'` and `'response'` event respectively. It may be used to
1198
- * access response
1199
- * status, headers, and data.
1200
- *
1201
- * Different from its `socket` value which is a subclass of `stream.Duplex`, the `IncomingMessage` itself extends `stream.Readable` and is created separately to
1202
- * parse and emit the incoming HTTP headers and payload, as the underlying socket
1203
- * may be reused multiple times in case of keep-alive.
1204
- * @since v0.1.17
1205
- */
1206
- class IncomingMessage extends stream.Readable {
1207
- constructor(socket: net.Socket);
1208
- /**
1209
- * The `message.aborted` property will be `true` if the request has
1210
- * been aborted.
1211
- * @since v10.1.0
1212
- * @deprecated Since v17.0.0,v16.12.0 - Check `message.destroyed` from <a href="stream.html#class-streamreadable" class="type">stream.Readable</a>.
1213
- */
1214
- aborted: boolean;
1215
- /**
1216
- * In case of server request, the HTTP version sent by the client. In the case of
1217
- * client response, the HTTP version of the connected-to server.
1218
- * Probably either `'1.1'` or `'1.0'`.
1219
- *
1220
- * Also `message.httpVersionMajor` is the first integer and `message.httpVersionMinor` is the second.
1221
- * @since v0.1.1
1222
- */
1223
- httpVersion: string;
1224
- httpVersionMajor: number;
1225
- httpVersionMinor: number;
1226
- /**
1227
- * The `message.complete` property will be `true` if a complete HTTP message has
1228
- * been received and successfully parsed.
1229
- *
1230
- * This property is particularly useful as a means of determining if a client or
1231
- * server fully transmitted a message before a connection was terminated:
1232
- *
1233
- * ```js
1234
- * const req = http.request({
1235
- * host: '127.0.0.1',
1236
- * port: 8080,
1237
- * method: 'POST',
1238
- * }, (res) => {
1239
- * res.resume();
1240
- * res.on('end', () => {
1241
- * if (!res.complete)
1242
- * console.error(
1243
- * 'The connection was terminated while the message was still being sent');
1244
- * });
1245
- * });
1246
- * ```
1247
- * @since v0.3.0
1248
- */
1249
- complete: boolean;
1250
- /**
1251
- * Alias for `message.socket`.
1252
- * @since v0.1.90
1253
- * @deprecated Since v16.0.0 - Use `socket`.
1254
- */
1255
- connection: net.Socket;
1256
- /**
1257
- * The `net.Socket` object associated with the connection.
1258
- *
1259
- * With HTTPS support, use `request.socket.getPeerCertificate()` to obtain the
1260
- * client's authentication details.
1261
- *
1262
- * This property is guaranteed to be an instance of the `net.Socket` class,
1263
- * a subclass of `stream.Duplex`, unless the user specified a socket
1264
- * type other than `net.Socket` or internally nulled.
1265
- * @since v0.3.0
1266
- */
1267
- socket: net.Socket;
1268
- /**
1269
- * The request/response headers object.
1270
- *
1271
- * Key-value pairs of header names and values. Header names are lower-cased.
1272
- *
1273
- * ```js
1274
- * // Prints something like:
1275
- * //
1276
- * // { 'user-agent': 'curl/7.22.0',
1277
- * // host: '127.0.0.1:8000',
1278
- * // accept: '*' }
1279
- * console.log(request.headers);
1280
- * ```
1281
- *
1282
- * Duplicates in raw headers are handled in the following ways, depending on the
1283
- * header name:
1284
- *
1285
- * * Duplicates of `age`, `authorization`, `content-length`, `content-type`, `etag`, `expires`, `from`, `host`, `if-modified-since`, `if-unmodified-since`, `last-modified`, `location`,
1286
- * `max-forwards`, `proxy-authorization`, `referer`, `retry-after`, `server`, or `user-agent` are discarded.
1287
- * To allow duplicate values of the headers listed above to be joined,
1288
- * use the option `joinDuplicateHeaders` in {@link request} and {@link createServer}. See RFC 9110 Section 5.3 for more
1289
- * information.
1290
- * * `set-cookie` is always an array. Duplicates are added to the array.
1291
- * * For duplicate `cookie` headers, the values are joined together with `; `.
1292
- * * For all other headers, the values are joined together with `, `.
1293
- * @since v0.1.5
1294
- */
1295
- headers: IncomingHttpHeaders;
1296
- /**
1297
- * Similar to `message.headers`, but there is no join logic and the values are
1298
- * always arrays of strings, even for headers received just once.
1299
- *
1300
- * ```js
1301
- * // Prints something like:
1302
- * //
1303
- * // { 'user-agent': ['curl/7.22.0'],
1304
- * // host: ['127.0.0.1:8000'],
1305
- * // accept: ['*'] }
1306
- * console.log(request.headersDistinct);
1307
- * ```
1308
- * @since v18.3.0, v16.17.0
1309
- */
1310
- headersDistinct: NodeJS.Dict<string[]>;
1311
- /**
1312
- * The raw request/response headers list exactly as they were received.
1313
- *
1314
- * The keys and values are in the same list. It is _not_ a
1315
- * list of tuples. So, the even-numbered offsets are key values, and the
1316
- * odd-numbered offsets are the associated values.
1317
- *
1318
- * Header names are not lowercased, and duplicates are not merged.
1319
- *
1320
- * ```js
1321
- * // Prints something like:
1322
- * //
1323
- * // [ 'user-agent',
1324
- * // 'this is invalid because there can be only one',
1325
- * // 'User-Agent',
1326
- * // 'curl/7.22.0',
1327
- * // 'Host',
1328
- * // '127.0.0.1:8000',
1329
- * // 'ACCEPT',
1330
- * // '*' ]
1331
- * console.log(request.rawHeaders);
1332
- * ```
1333
- * @since v0.11.6
1334
- */
1335
- rawHeaders: string[];
1336
- /**
1337
- * The request/response trailers object. Only populated at the `'end'` event.
1338
- * @since v0.3.0
1339
- */
1340
- trailers: NodeJS.Dict<string>;
1341
- /**
1342
- * Similar to `message.trailers`, but there is no join logic and the values are
1343
- * always arrays of strings, even for headers received just once.
1344
- * Only populated at the `'end'` event.
1345
- * @since v18.3.0, v16.17.0
1346
- */
1347
- trailersDistinct: NodeJS.Dict<string[]>;
1348
- /**
1349
- * The raw request/response trailer keys and values exactly as they were
1350
- * received. Only populated at the `'end'` event.
1351
- * @since v0.11.6
1352
- */
1353
- rawTrailers: string[];
1354
- /**
1355
- * Calls `message.socket.setTimeout(msecs, callback)`.
1356
- * @since v0.5.9
1357
- */
1358
- setTimeout(msecs: number, callback?: () => void): this;
1359
- /**
1360
- * **Only valid for request obtained from {@link Server}.**
1361
- *
1362
- * The request method as a string. Read only. Examples: `'GET'`, `'DELETE'`.
1363
- * @since v0.1.1
1364
- */
1365
- method?: string | undefined;
1366
- /**
1367
- * **Only valid for request obtained from {@link Server}.**
1368
- *
1369
- * Request URL string. This contains only the URL that is present in the actual
1370
- * HTTP request. Take the following request:
1371
- *
1372
- * ```http
1373
- * GET /status?name=ryan HTTP/1.1
1374
- * Accept: text/plain
1375
- * ```
1376
- *
1377
- * To parse the URL into its parts:
1378
- *
1379
- * ```js
1380
- * new URL(`http://${process.env.HOST ?? 'localhost'}${request.url}`);
1381
- * ```
1382
- *
1383
- * When `request.url` is `'/status?name=ryan'` and `process.env.HOST` is undefined:
1384
- *
1385
- * ```console
1386
- * $ node
1387
- * > new URL(`http://${process.env.HOST ?? 'localhost'}${request.url}`);
1388
- * URL {
1389
- * href: 'http://localhost/status?name=ryan',
1390
- * origin: 'http://localhost',
1391
- * protocol: 'http:',
1392
- * username: '',
1393
- * password: '',
1394
- * host: 'localhost',
1395
- * hostname: 'localhost',
1396
- * port: '',
1397
- * pathname: '/status',
1398
- * search: '?name=ryan',
1399
- * searchParams: URLSearchParams { 'name' => 'ryan' },
1400
- * hash: ''
1401
- * }
1402
- * ```
1403
- *
1404
- * Ensure that you set `process.env.HOST` to the server's host name, or consider replacing this part entirely. If using `req.headers.host`, ensure proper
1405
- * validation is used, as clients may specify a custom `Host` header.
1406
- * @since v0.1.90
1407
- */
1408
- url?: string | undefined;
1409
- /**
1410
- * **Only valid for response obtained from {@link ClientRequest}.**
1411
- *
1412
- * The 3-digit HTTP response status code. E.G. `404`.
1413
- * @since v0.1.1
1414
- */
1415
- statusCode?: number | undefined;
1416
- /**
1417
- * **Only valid for response obtained from {@link ClientRequest}.**
1418
- *
1419
- * The HTTP response status message (reason phrase). E.G. `OK` or `Internal Server Error`.
1420
- * @since v0.11.10
1421
- */
1422
- statusMessage?: string | undefined;
1423
- /**
1424
- * Calls `destroy()` on the socket that received the `IncomingMessage`. If `error` is provided, an `'error'` event is emitted on the socket and `error` is passed
1425
- * as an argument to any listeners on the event.
1426
- * @since v0.3.0
1427
- */
1428
- destroy(error?: Error): this;
1429
- // #region InternalEventEmitter
1430
- addListener<E extends keyof IncomingMessageEventMap>(
1431
- eventName: E,
1432
- listener: (...args: IncomingMessageEventMap[E]) => void,
1433
- ): this;
1434
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1435
- emit<E extends keyof IncomingMessageEventMap>(eventName: E, ...args: IncomingMessageEventMap[E]): boolean;
1436
- emit(eventName: string | symbol, ...args: any[]): boolean;
1437
- listenerCount<E extends keyof IncomingMessageEventMap>(
1438
- eventName: E,
1439
- listener?: (...args: IncomingMessageEventMap[E]) => void,
1440
- ): number;
1441
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
1442
- listeners<E extends keyof IncomingMessageEventMap>(
1443
- eventName: E,
1444
- ): ((...args: IncomingMessageEventMap[E]) => void)[];
1445
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
1446
- off<E extends keyof IncomingMessageEventMap>(
1447
- eventName: E,
1448
- listener: (...args: IncomingMessageEventMap[E]) => void,
1449
- ): this;
1450
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
1451
- on<E extends keyof IncomingMessageEventMap>(
1452
- eventName: E,
1453
- listener: (...args: IncomingMessageEventMap[E]) => void,
1454
- ): this;
1455
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
1456
- once<E extends keyof IncomingMessageEventMap>(
1457
- eventName: E,
1458
- listener: (...args: IncomingMessageEventMap[E]) => void,
1459
- ): this;
1460
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
1461
- prependListener<E extends keyof IncomingMessageEventMap>(
1462
- eventName: E,
1463
- listener: (...args: IncomingMessageEventMap[E]) => void,
1464
- ): this;
1465
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1466
- prependOnceListener<E extends keyof IncomingMessageEventMap>(
1467
- eventName: E,
1468
- listener: (...args: IncomingMessageEventMap[E]) => void,
1469
- ): this;
1470
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1471
- rawListeners<E extends keyof IncomingMessageEventMap>(
1472
- eventName: E,
1473
- ): ((...args: IncomingMessageEventMap[E]) => void)[];
1474
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
1475
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
1476
- removeAllListeners<E extends keyof IncomingMessageEventMap>(eventName?: E): this;
1477
- removeAllListeners(eventName?: string | symbol): this;
1478
- removeListener<E extends keyof IncomingMessageEventMap>(
1479
- eventName: E,
1480
- listener: (...args: IncomingMessageEventMap[E]) => void,
1481
- ): this;
1482
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1483
- // #endregion
1484
- }
1485
- interface ProxyEnv extends NodeJS.ProcessEnv {
1486
- HTTP_PROXY?: string | undefined;
1487
- HTTPS_PROXY?: string | undefined;
1488
- NO_PROXY?: string | undefined;
1489
- http_proxy?: string | undefined;
1490
- https_proxy?: string | undefined;
1491
- no_proxy?: string | undefined;
1492
- }
1493
- interface AgentOptions extends NodeJS.PartialOptions<net.TcpSocketConnectOpts> {
1494
- /**
1495
- * Keep sockets around in a pool to be used by other requests in the future. Default = false
1496
- */
1497
- keepAlive?: boolean | undefined;
1498
- /**
1499
- * When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000.
1500
- * Only relevant if keepAlive is set to true.
1501
- */
1502
- keepAliveMsecs?: number | undefined;
1503
- /**
1504
- * Milliseconds to subtract from
1505
- * the server-provided `keep-alive: timeout=...` hint when determining socket
1506
- * expiration time. This buffer helps ensure the agent closes the socket
1507
- * slightly before the server does, reducing the chance of sending a request
1508
- * on a socket that’s about to be closed by the server.
1509
- * @since v24.7.0
1510
- * @default 1000
1511
- */
1512
- agentKeepAliveTimeoutBuffer?: number | undefined;
1513
- /**
1514
- * Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity
1515
- */
1516
- maxSockets?: number | undefined;
1517
- /**
1518
- * Maximum number of sockets allowed for all hosts in total. Each request will use a new socket until the maximum is reached. Default: Infinity.
1519
- */
1520
- maxTotalSockets?: number | undefined;
1521
- /**
1522
- * Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256.
1523
- */
1524
- maxFreeSockets?: number | undefined;
1525
- /**
1526
- * Socket timeout in milliseconds. This will set the timeout after the socket is connected.
1527
- */
1528
- timeout?: number | undefined;
1529
- /**
1530
- * Scheduling strategy to apply when picking the next free socket to use.
1531
- * @default `lifo`
1532
- */
1533
- scheduling?: "fifo" | "lifo" | undefined;
1534
- /**
1535
- * Environment variables for proxy configuration. See
1536
- * [Built-in Proxy Support](https://nodejs.org/docs/latest-v25.x/api/http.html#built-in-proxy-support) for details.
1537
- * @since v24.5.0
1538
- */
1539
- proxyEnv?: ProxyEnv | undefined;
1540
- /**
1541
- * Default port to use when the port is not specified in requests.
1542
- * @since v24.5.0
1543
- */
1544
- defaultPort?: number | undefined;
1545
- /**
1546
- * The protocol to use for the agent.
1547
- * @since v24.5.0
1548
- */
1549
- protocol?: string | undefined;
1550
- }
1551
- /**
1552
- * An `Agent` is responsible for managing connection persistence
1553
- * and reuse for HTTP clients. It maintains a queue of pending requests
1554
- * for a given host and port, reusing a single socket connection for each
1555
- * until the queue is empty, at which time the socket is either destroyed
1556
- * or put into a pool where it is kept to be used again for requests to the
1557
- * same host and port. Whether it is destroyed or pooled depends on the `keepAlive` `option`.
1558
- *
1559
- * Pooled connections have TCP Keep-Alive enabled for them, but servers may
1560
- * still close idle connections, in which case they will be removed from the
1561
- * pool and a new connection will be made when a new HTTP request is made for
1562
- * that host and port. Servers may also refuse to allow multiple requests
1563
- * over the same connection, in which case the connection will have to be
1564
- * remade for every request and cannot be pooled. The `Agent` will still make
1565
- * the requests to that server, but each one will occur over a new connection.
1566
- *
1567
- * When a connection is closed by the client or the server, it is removed
1568
- * from the pool. Any unused sockets in the pool will be unrefed so as not
1569
- * to keep the Node.js process running when there are no outstanding requests.
1570
- * (see `socket.unref()`).
1571
- *
1572
- * It is good practice, to `destroy()` an `Agent` instance when it is no
1573
- * longer in use, because unused sockets consume OS resources.
1574
- *
1575
- * Sockets are removed from an agent when the socket emits either
1576
- * a `'close'` event or an `'agentRemove'` event. When intending to keep one
1577
- * HTTP request open for a long time without keeping it in the agent, something
1578
- * like the following may be done:
1579
- *
1580
- * ```js
1581
- * http.get(options, (res) => {
1582
- * // Do stuff
1583
- * }).on('socket', (socket) => {
1584
- * socket.emit('agentRemove');
1585
- * });
1586
- * ```
1587
- *
1588
- * An agent may also be used for an individual request. By providing `{agent: false}` as an option to the `http.get()` or `http.request()` functions, a one-time use `Agent` with default options
1589
- * will be used
1590
- * for the client connection.
1591
- *
1592
- * `agent:false`:
1593
- *
1594
- * ```js
1595
- * http.get({
1596
- * hostname: 'localhost',
1597
- * port: 80,
1598
- * path: '/',
1599
- * agent: false, // Create a new agent just for this one request
1600
- * }, (res) => {
1601
- * // Do stuff with response
1602
- * });
1603
- * ```
1604
- *
1605
- * `options` in [`socket.connect()`](https://nodejs.org/docs/latest-v25.x/api/net.html#socketconnectoptions-connectlistener) are also supported.
1606
- *
1607
- * To configure any of them, a custom {@link Agent} instance must be created.
1608
- *
1609
- * ```js
1610
- * import http from 'node:http';
1611
- * const keepAliveAgent = new http.Agent({ keepAlive: true });
1612
- * options.agent = keepAliveAgent;
1613
- * http.request(options, onResponseCallback)
1614
- * ```
1615
- * @since v0.3.4
1616
- */
1617
- class Agent extends EventEmitter {
1618
- /**
1619
- * By default set to 256. For agents with `keepAlive` enabled, this
1620
- * sets the maximum number of sockets that will be left open in the free
1621
- * state.
1622
- * @since v0.11.7
1623
- */
1624
- maxFreeSockets: number;
1625
- /**
1626
- * By default set to `Infinity`. Determines how many concurrent sockets the agent
1627
- * can have open per origin. Origin is the returned value of `agent.getName()`.
1628
- * @since v0.3.6
1629
- */
1630
- maxSockets: number;
1631
- /**
1632
- * By default set to `Infinity`. Determines how many concurrent sockets the agent
1633
- * can have open. Unlike `maxSockets`, this parameter applies across all origins.
1634
- * @since v14.5.0, v12.19.0
1635
- */
1636
- maxTotalSockets: number;
1637
- /**
1638
- * An object which contains arrays of sockets currently awaiting use by
1639
- * the agent when `keepAlive` is enabled. Do not modify.
1640
- *
1641
- * Sockets in the `freeSockets` list will be automatically destroyed and
1642
- * removed from the array on `'timeout'`.
1643
- * @since v0.11.4
1644
- */
1645
- readonly freeSockets: NodeJS.ReadOnlyDict<net.Socket[]>;
1646
- /**
1647
- * An object which contains arrays of sockets currently in use by the
1648
- * agent. Do not modify.
1649
- * @since v0.3.6
1650
- */
1651
- readonly sockets: NodeJS.ReadOnlyDict<net.Socket[]>;
1652
- /**
1653
- * An object which contains queues of requests that have not yet been assigned to
1654
- * sockets. Do not modify.
1655
- * @since v0.5.9
1656
- */
1657
- readonly requests: NodeJS.ReadOnlyDict<IncomingMessage[]>;
1658
- constructor(opts?: AgentOptions);
1659
- /**
1660
- * Destroy any sockets that are currently in use by the agent.
1661
- *
1662
- * It is usually not necessary to do this. However, if using an
1663
- * agent with `keepAlive` enabled, then it is best to explicitly shut down
1664
- * the agent when it is no longer needed. Otherwise,
1665
- * sockets might stay open for quite a long time before the server
1666
- * terminates them.
1667
- * @since v0.11.4
1668
- */
1669
- destroy(): void;
1670
- /**
1671
- * Produces a socket/stream to be used for HTTP requests.
1672
- *
1673
- * By default, this function is the same as `net.createConnection()`. However,
1674
- * custom agents may override this method in case greater flexibility is desired.
1675
- *
1676
- * A socket/stream can be supplied in one of two ways: by returning the
1677
- * socket/stream from this function, or by passing the socket/stream to `callback`.
1678
- *
1679
- * This method is guaranteed to return an instance of the `net.Socket` class,
1680
- * a subclass of `stream.Duplex`, unless the user specifies a socket
1681
- * type other than `net.Socket`.
1682
- *
1683
- * `callback` has a signature of `(err, stream)`.
1684
- * @since v0.11.4
1685
- * @param options Options containing connection details. Check `createConnection` for the format of the options
1686
- * @param callback Callback function that receives the created socket
1687
- */
1688
- createConnection(
1689
- options: ClientRequestArgs,
1690
- callback?: (err: Error | null, stream: stream.Duplex) => void,
1691
- ): stream.Duplex | null | undefined;
1692
- /**
1693
- * Called when `socket` is detached from a request and could be persisted by the`Agent`. Default behavior is to:
1694
- *
1695
- * ```js
1696
- * socket.setKeepAlive(true, this.keepAliveMsecs);
1697
- * socket.unref();
1698
- * return true;
1699
- * ```
1700
- *
1701
- * This method can be overridden by a particular `Agent` subclass. If this
1702
- * method returns a falsy value, the socket will be destroyed instead of persisting
1703
- * it for use with the next request.
1704
- *
1705
- * The `socket` argument can be an instance of `net.Socket`, a subclass of `stream.Duplex`.
1706
- * @since v8.1.0
1707
- */
1708
- keepSocketAlive(socket: stream.Duplex): void;
1709
- /**
1710
- * Called when `socket` is attached to `request` after being persisted because of
1711
- * the keep-alive options. Default behavior is to:
1712
- *
1713
- * ```js
1714
- * socket.ref();
1715
- * ```
1716
- *
1717
- * This method can be overridden by a particular `Agent` subclass.
1718
- *
1719
- * The `socket` argument can be an instance of `net.Socket`, a subclass of `stream.Duplex`.
1720
- * @since v8.1.0
1721
- */
1722
- reuseSocket(socket: stream.Duplex, request: ClientRequest): void;
1723
- /**
1724
- * Get a unique name for a set of request options, to determine whether a
1725
- * connection can be reused. For an HTTP agent, this returns`host:port:localAddress` or `host:port:localAddress:family`. For an HTTPS agent,
1726
- * the name includes the CA, cert, ciphers, and other HTTPS/TLS-specific options
1727
- * that determine socket reusability.
1728
- * @since v0.11.4
1729
- * @param options A set of options providing information for name generation
1730
- */
1731
- getName(options?: ClientRequestArgs): string;
1732
- }
1733
- const METHODS: string[];
1734
- const STATUS_CODES: {
1735
- [errorCode: number]: string | undefined;
1736
- [errorCode: string]: string | undefined;
1737
- };
1738
- /**
1739
- * Returns a new instance of {@link Server}.
1740
- *
1741
- * The `requestListener` is a function which is automatically
1742
- * added to the `'request'` event.
1743
- *
1744
- * ```js
1745
- * import http from 'node:http';
1746
- *
1747
- * // Create a local server to receive data from
1748
- * const server = http.createServer((req, res) => {
1749
- * res.writeHead(200, { 'Content-Type': 'application/json' });
1750
- * res.end(JSON.stringify({
1751
- * data: 'Hello World!',
1752
- * }));
1753
- * });
1754
- *
1755
- * server.listen(8000);
1756
- * ```
1757
- *
1758
- * ```js
1759
- * import http from 'node:http';
1760
- *
1761
- * // Create a local server to receive data from
1762
- * const server = http.createServer();
1763
- *
1764
- * // Listen to the request event
1765
- * server.on('request', (request, res) => {
1766
- * res.writeHead(200, { 'Content-Type': 'application/json' });
1767
- * res.end(JSON.stringify({
1768
- * data: 'Hello World!',
1769
- * }));
1770
- * });
1771
- *
1772
- * server.listen(8000);
1773
- * ```
1774
- * @since v0.1.13
1775
- */
1776
- function createServer<
1777
- Request extends typeof IncomingMessage = typeof IncomingMessage,
1778
- Response extends typeof ServerResponse<InstanceType<Request>> = typeof ServerResponse,
1779
- >(requestListener?: RequestListener<Request, Response>): Server<Request, Response>;
1780
- function createServer<
1781
- Request extends typeof IncomingMessage = typeof IncomingMessage,
1782
- Response extends typeof ServerResponse<InstanceType<Request>> = typeof ServerResponse,
1783
- >(
1784
- options: ServerOptions<Request, Response>,
1785
- requestListener?: RequestListener<Request, Response>,
1786
- ): Server<Request, Response>;
1787
- // although RequestOptions are passed as ClientRequestArgs to ClientRequest directly,
1788
- // create interface RequestOptions would make the naming more clear to developers
1789
- interface RequestOptions extends ClientRequestArgs {}
1790
- /**
1791
- * `options` in `socket.connect()` are also supported.
1792
- *
1793
- * Node.js maintains several connections per server to make HTTP requests.
1794
- * This function allows one to transparently issue requests.
1795
- *
1796
- * `url` can be a string or a `URL` object. If `url` is a
1797
- * string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object.
1798
- *
1799
- * If both `url` and `options` are specified, the objects are merged, with the `options` properties taking precedence.
1800
- *
1801
- * The optional `callback` parameter will be added as a one-time listener for
1802
- * the `'response'` event.
1803
- *
1804
- * `http.request()` returns an instance of the {@link ClientRequest} class. The `ClientRequest` instance is a writable stream. If one needs to
1805
- * upload a file with a POST request, then write to the `ClientRequest` object.
1806
- *
1807
- * ```js
1808
- * import http from 'node:http';
1809
- * import { Buffer } from 'node:buffer';
1810
- *
1811
- * const postData = JSON.stringify({
1812
- * 'msg': 'Hello World!',
1813
- * });
1814
- *
1815
- * const options = {
1816
- * hostname: 'www.google.com',
1817
- * port: 80,
1818
- * path: '/upload',
1819
- * method: 'POST',
1820
- * headers: {
1821
- * 'Content-Type': 'application/json',
1822
- * 'Content-Length': Buffer.byteLength(postData),
1823
- * },
1824
- * };
1825
- *
1826
- * const req = http.request(options, (res) => {
1827
- * console.log(`STATUS: ${res.statusCode}`);
1828
- * console.log(`HEADERS: ${JSON.stringify(res.headers)}`);
1829
- * res.setEncoding('utf8');
1830
- * res.on('data', (chunk) => {
1831
- * console.log(`BODY: ${chunk}`);
1832
- * });
1833
- * res.on('end', () => {
1834
- * console.log('No more data in response.');
1835
- * });
1836
- * });
1837
- *
1838
- * req.on('error', (e) => {
1839
- * console.error(`problem with request: ${e.message}`);
1840
- * });
1841
- *
1842
- * // Write data to request body
1843
- * req.write(postData);
1844
- * req.end();
1845
- * ```
1846
- *
1847
- * In the example `req.end()` was called. With `http.request()` one
1848
- * must always call `req.end()` to signify the end of the request -
1849
- * even if there is no data being written to the request body.
1850
- *
1851
- * If any error is encountered during the request (be that with DNS resolution,
1852
- * TCP level errors, or actual HTTP parse errors) an `'error'` event is emitted
1853
- * on the returned request object. As with all `'error'` events, if no listeners
1854
- * are registered the error will be thrown.
1855
- *
1856
- * There are a few special headers that should be noted.
1857
- *
1858
- * * Sending a 'Connection: keep-alive' will notify Node.js that the connection to
1859
- * the server should be persisted until the next request.
1860
- * * Sending a 'Content-Length' header will disable the default chunked encoding.
1861
- * * Sending an 'Expect' header will immediately send the request headers.
1862
- * Usually, when sending 'Expect: 100-continue', both a timeout and a listener
1863
- * for the `'continue'` event should be set. See RFC 2616 Section 8.2.3 for more
1864
- * information.
1865
- * * Sending an Authorization header will override using the `auth` option
1866
- * to compute basic authentication.
1867
- *
1868
- * Example using a `URL` as `options`:
1869
- *
1870
- * ```js
1871
- * const options = new URL('http://abc:xyz@example.com');
1872
- *
1873
- * const req = http.request(options, (res) => {
1874
- * // ...
1875
- * });
1876
- * ```
1877
- *
1878
- * In a successful request, the following events will be emitted in the following
1879
- * order:
1880
- *
1881
- * * `'socket'`
1882
- * * `'response'`
1883
- * * `'data'` any number of times, on the `res` object
1884
- * (`'data'` will not be emitted at all if the response body is empty, for
1885
- * instance, in most redirects)
1886
- * * `'end'` on the `res` object
1887
- * * `'close'`
1888
- *
1889
- * In the case of a connection error, the following events will be emitted:
1890
- *
1891
- * * `'socket'`
1892
- * * `'error'`
1893
- * * `'close'`
1894
- *
1895
- * In the case of a premature connection close before the response is received,
1896
- * the following events will be emitted in the following order:
1897
- *
1898
- * * `'socket'`
1899
- * * `'error'` with an error with message `'Error: socket hang up'` and code `'ECONNRESET'`
1900
- * * `'close'`
1901
- *
1902
- * In the case of a premature connection close after the response is received,
1903
- * the following events will be emitted in the following order:
1904
- *
1905
- * * `'socket'`
1906
- * * `'response'`
1907
- * * `'data'` any number of times, on the `res` object
1908
- * * (connection closed here)
1909
- * * `'aborted'` on the `res` object
1910
- * * `'close'`
1911
- * * `'error'` on the `res` object with an error with message `'Error: aborted'` and code `'ECONNRESET'`
1912
- * * `'close'` on the `res` object
1913
- *
1914
- * If `req.destroy()` is called before a socket is assigned, the following
1915
- * events will be emitted in the following order:
1916
- *
1917
- * * (`req.destroy()` called here)
1918
- * * `'error'` with an error with message `'Error: socket hang up'` and code `'ECONNRESET'`, or the error with which `req.destroy()` was called
1919
- * * `'close'`
1920
- *
1921
- * If `req.destroy()` is called before the connection succeeds, the following
1922
- * events will be emitted in the following order:
1923
- *
1924
- * * `'socket'`
1925
- * * (`req.destroy()` called here)
1926
- * * `'error'` with an error with message `'Error: socket hang up'` and code `'ECONNRESET'`, or the error with which `req.destroy()` was called
1927
- * * `'close'`
1928
- *
1929
- * If `req.destroy()` is called after the response is received, the following
1930
- * events will be emitted in the following order:
1931
- *
1932
- * * `'socket'`
1933
- * * `'response'`
1934
- * * `'data'` any number of times, on the `res` object
1935
- * * (`req.destroy()` called here)
1936
- * * `'aborted'` on the `res` object
1937
- * * `'close'`
1938
- * * `'error'` on the `res` object with an error with message `'Error: aborted'` and code `'ECONNRESET'`, or the error with which `req.destroy()` was called
1939
- * * `'close'` on the `res` object
1940
- *
1941
- * If `req.abort()` is called before a socket is assigned, the following
1942
- * events will be emitted in the following order:
1943
- *
1944
- * * (`req.abort()` called here)
1945
- * * `'abort'`
1946
- * * `'close'`
1947
- *
1948
- * If `req.abort()` is called before the connection succeeds, the following
1949
- * events will be emitted in the following order:
1950
- *
1951
- * * `'socket'`
1952
- * * (`req.abort()` called here)
1953
- * * `'abort'`
1954
- * * `'error'` with an error with message `'Error: socket hang up'` and code `'ECONNRESET'`
1955
- * * `'close'`
1956
- *
1957
- * If `req.abort()` is called after the response is received, the following
1958
- * events will be emitted in the following order:
1959
- *
1960
- * * `'socket'`
1961
- * * `'response'`
1962
- * * `'data'` any number of times, on the `res` object
1963
- * * (`req.abort()` called here)
1964
- * * `'abort'`
1965
- * * `'aborted'` on the `res` object
1966
- * * `'error'` on the `res` object with an error with message `'Error: aborted'` and code `'ECONNRESET'`.
1967
- * * `'close'`
1968
- * * `'close'` on the `res` object
1969
- *
1970
- * Setting the `timeout` option or using the `setTimeout()` function will
1971
- * not abort the request or do anything besides add a `'timeout'` event.
1972
- *
1973
- * Passing an `AbortSignal` and then calling `abort()` on the corresponding `AbortController` will behave the same way as calling `.destroy()` on the
1974
- * request. Specifically, the `'error'` event will be emitted with an error with
1975
- * the message `'AbortError: The operation was aborted'`, the code `'ABORT_ERR'` and the `cause`, if one was provided.
1976
- * @since v0.3.6
1977
- */
1978
- function request(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest;
1979
- function request(
1980
- url: string | URL,
1981
- options: RequestOptions,
1982
- callback?: (res: IncomingMessage) => void,
1983
- ): ClientRequest;
1984
- /**
1985
- * Since most requests are GET requests without bodies, Node.js provides this
1986
- * convenience method. The only difference between this method and {@link request} is that it sets the method to GET by default and calls `req.end()` automatically. The callback must take care to
1987
- * consume the response
1988
- * data for reasons stated in {@link ClientRequest} section.
1989
- *
1990
- * The `callback` is invoked with a single argument that is an instance of {@link IncomingMessage}.
1991
- *
1992
- * JSON fetching example:
1993
- *
1994
- * ```js
1995
- * http.get('http://localhost:8000/', (res) => {
1996
- * const { statusCode } = res;
1997
- * const contentType = res.headers['content-type'];
1998
- *
1999
- * let error;
2000
- * // Any 2xx status code signals a successful response but
2001
- * // here we're only checking for 200.
2002
- * if (statusCode !== 200) {
2003
- * error = new Error('Request Failed.\n' +
2004
- * `Status Code: ${statusCode}`);
2005
- * } else if (!/^application\/json/.test(contentType)) {
2006
- * error = new Error('Invalid content-type.\n' +
2007
- * `Expected application/json but received ${contentType}`);
2008
- * }
2009
- * if (error) {
2010
- * console.error(error.message);
2011
- * // Consume response data to free up memory
2012
- * res.resume();
2013
- * return;
2014
- * }
2015
- *
2016
- * res.setEncoding('utf8');
2017
- * let rawData = '';
2018
- * res.on('data', (chunk) => { rawData += chunk; });
2019
- * res.on('end', () => {
2020
- * try {
2021
- * const parsedData = JSON.parse(rawData);
2022
- * console.log(parsedData);
2023
- * } catch (e) {
2024
- * console.error(e.message);
2025
- * }
2026
- * });
2027
- * }).on('error', (e) => {
2028
- * console.error(`Got error: ${e.message}`);
2029
- * });
2030
- *
2031
- * // Create a local server to receive data from
2032
- * const server = http.createServer((req, res) => {
2033
- * res.writeHead(200, { 'Content-Type': 'application/json' });
2034
- * res.end(JSON.stringify({
2035
- * data: 'Hello World!',
2036
- * }));
2037
- * });
2038
- *
2039
- * server.listen(8000);
2040
- * ```
2041
- * @since v0.3.6
2042
- * @param options Accepts the same `options` as {@link request}, with the method set to GET by default.
2043
- */
2044
- function get(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest;
2045
- function get(url: string | URL, options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest;
2046
- /**
2047
- * Performs the low-level validations on the provided `name` that are done when `res.setHeader(name, value)` is called.
2048
- *
2049
- * Passing illegal value as `name` will result in a `TypeError` being thrown,
2050
- * identified by `code: 'ERR_INVALID_HTTP_TOKEN'`.
2051
- *
2052
- * It is not necessary to use this method before passing headers to an HTTP request
2053
- * or response. The HTTP module will automatically validate such headers.
2054
- *
2055
- * Example:
2056
- *
2057
- * ```js
2058
- * import { validateHeaderName } from 'node:http';
2059
- *
2060
- * try {
2061
- * validateHeaderName('');
2062
- * } catch (err) {
2063
- * console.error(err instanceof TypeError); // --> true
2064
- * console.error(err.code); // --> 'ERR_INVALID_HTTP_TOKEN'
2065
- * console.error(err.message); // --> 'Header name must be a valid HTTP token [""]'
2066
- * }
2067
- * ```
2068
- * @since v14.3.0
2069
- * @param [label='Header name'] Label for error message.
2070
- */
2071
- function validateHeaderName(name: string): void;
2072
- /**
2073
- * Performs the low-level validations on the provided `value` that are done when `res.setHeader(name, value)` is called.
2074
- *
2075
- * Passing illegal value as `value` will result in a `TypeError` being thrown.
2076
- *
2077
- * * Undefined value error is identified by `code: 'ERR_HTTP_INVALID_HEADER_VALUE'`.
2078
- * * Invalid value character error is identified by `code: 'ERR_INVALID_CHAR'`.
2079
- *
2080
- * It is not necessary to use this method before passing headers to an HTTP request
2081
- * or response. The HTTP module will automatically validate such headers.
2082
- *
2083
- * Examples:
2084
- *
2085
- * ```js
2086
- * import { validateHeaderValue } from 'node:http';
2087
- *
2088
- * try {
2089
- * validateHeaderValue('x-my-header', undefined);
2090
- * } catch (err) {
2091
- * console.error(err instanceof TypeError); // --> true
2092
- * console.error(err.code === 'ERR_HTTP_INVALID_HEADER_VALUE'); // --> true
2093
- * console.error(err.message); // --> 'Invalid value "undefined" for header "x-my-header"'
2094
- * }
2095
- *
2096
- * try {
2097
- * validateHeaderValue('x-my-header', 'oʊmɪɡə');
2098
- * } catch (err) {
2099
- * console.error(err instanceof TypeError); // --> true
2100
- * console.error(err.code === 'ERR_INVALID_CHAR'); // --> true
2101
- * console.error(err.message); // --> 'Invalid character in header content ["x-my-header"]'
2102
- * }
2103
- * ```
2104
- * @since v14.3.0
2105
- * @param name Header name
2106
- * @param value Header value
2107
- */
2108
- function validateHeaderValue(name: string, value: string): void;
2109
- /**
2110
- * Set the maximum number of idle HTTP parsers.
2111
- * @since v18.8.0, v16.18.0
2112
- * @param [max=1000]
2113
- */
2114
- function setMaxIdleHTTPParsers(max: number): void;
2115
- /**
2116
- * Global instance of `Agent` which is used as the default for all HTTP client
2117
- * requests. Diverges from a default `Agent` configuration by having `keepAlive`
2118
- * enabled and a `timeout` of 5 seconds.
2119
- * @since v0.5.9
2120
- */
2121
- let globalAgent: Agent;
2122
- /**
2123
- * Read-only property specifying the maximum allowed size of HTTP headers in bytes.
2124
- * Defaults to 16KB. Configurable using the `--max-http-header-size` CLI option.
2125
- */
2126
- const maxHeaderSize: number;
2127
- /**
2128
- * A browser-compatible implementation of `WebSocket`.
2129
- * @since v22.5.0
2130
- */
2131
- const WebSocket: typeof import("undici-types").WebSocket;
2132
- /**
2133
- * @since v22.5.0
2134
- */
2135
- const CloseEvent: typeof import("undici-types").CloseEvent;
2136
- /**
2137
- * @since v22.5.0
2138
- */
2139
- const MessageEvent: typeof import("undici-types").MessageEvent;
2140
- }
2141
- declare module "http" {
2142
- export * from "node:http";
2143
- }