@node-llm/core 1.4.1 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2419) hide show
  1. package/README.md +3 -3
  2. package/dist/aliases.d.ts +134 -0
  3. package/dist/aliases.d.ts.map +1 -0
  4. package/dist/aliases.js +132 -0
  5. package/dist/chat/Chat.d.ts +107 -0
  6. package/dist/chat/Chat.d.ts.map +1 -0
  7. package/dist/chat/Chat.js +371 -0
  8. package/dist/chat/ChatOptions.d.ts +23 -0
  9. package/dist/chat/ChatOptions.d.ts.map +1 -0
  10. package/dist/chat/ChatOptions.js +1 -0
  11. package/dist/chat/ChatResponse.d.ts +28 -0
  12. package/dist/chat/ChatResponse.d.ts.map +1 -0
  13. package/dist/chat/ChatResponse.js +45 -0
  14. package/dist/chat/ChatStream.d.ts +25 -0
  15. package/dist/chat/ChatStream.d.ts.map +1 -0
  16. package/dist/chat/ChatStream.js +143 -0
  17. package/dist/chat/Content.d.ts +22 -0
  18. package/dist/chat/Content.d.ts.map +1 -0
  19. package/dist/chat/Content.js +1 -0
  20. package/dist/chat/Message.d.ts +14 -0
  21. package/dist/chat/Message.d.ts.map +1 -0
  22. package/dist/chat/Message.js +1 -0
  23. package/dist/chat/Role.d.ts +2 -0
  24. package/dist/chat/Role.d.ts.map +1 -0
  25. package/dist/chat/Role.js +1 -0
  26. package/dist/chat/Tool.d.ts +52 -0
  27. package/dist/chat/Tool.d.ts.map +1 -0
  28. package/dist/chat/Tool.js +38 -0
  29. package/dist/config.d.ts +35 -0
  30. package/dist/config.d.ts.map +1 -0
  31. package/dist/config.js +15 -0
  32. package/dist/constants.d.ts +7 -0
  33. package/dist/constants.d.ts.map +1 -0
  34. package/dist/constants.js +6 -0
  35. package/dist/embedding/Embedding.d.ts +17 -0
  36. package/dist/embedding/Embedding.d.ts.map +1 -0
  37. package/dist/embedding/Embedding.js +24 -0
  38. package/dist/errors/index.d.ts +88 -0
  39. package/dist/errors/index.d.ts.map +1 -0
  40. package/dist/errors/index.js +129 -0
  41. package/dist/executor/Executor.d.ts +11 -0
  42. package/dist/executor/Executor.d.ts.map +1 -0
  43. package/dist/executor/Executor.js +29 -0
  44. package/dist/image/GeneratedImage.d.ts +25 -0
  45. package/dist/image/GeneratedImage.d.ts.map +1 -0
  46. package/dist/image/GeneratedImage.js +59 -0
  47. package/dist/index.d.ts +18 -0
  48. package/dist/index.d.ts.map +1 -0
  49. package/dist/index.js +16 -0
  50. package/dist/llm.d.ts +105 -0
  51. package/dist/llm.d.ts.map +1 -0
  52. package/dist/llm.js +230 -0
  53. package/dist/model_aliases.d.ts +3 -0
  54. package/dist/model_aliases.d.ts.map +1 -0
  55. package/dist/model_aliases.js +17 -0
  56. package/dist/models/ModelRegistry.d.ts +51 -0
  57. package/dist/models/ModelRegistry.d.ts.map +1 -0
  58. package/dist/models/ModelRegistry.js +76 -0
  59. package/dist/models/models.d.ts +1641 -0
  60. package/dist/models/models.d.ts.map +1 -0
  61. package/dist/models/models.js +29475 -0
  62. package/dist/models/types.d.ts +50 -0
  63. package/dist/models/types.d.ts.map +1 -0
  64. package/dist/models/types.js +4 -0
  65. package/dist/moderation/Moderation.d.ts +56 -0
  66. package/dist/moderation/Moderation.d.ts.map +1 -0
  67. package/dist/moderation/Moderation.js +92 -0
  68. package/dist/providers/BaseProvider.d.ts +23 -0
  69. package/dist/providers/BaseProvider.d.ts.map +1 -0
  70. package/dist/providers/BaseProvider.js +34 -0
  71. package/dist/providers/Provider.d.ts +138 -0
  72. package/dist/providers/Provider.d.ts.map +1 -0
  73. package/dist/providers/Provider.js +1 -0
  74. package/dist/providers/anthropic/AnthropicProvider.d.ts +33 -0
  75. package/dist/providers/anthropic/AnthropicProvider.d.ts.map +1 -0
  76. package/dist/providers/anthropic/AnthropicProvider.js +56 -0
  77. package/dist/providers/anthropic/Capabilities.d.ts +11 -0
  78. package/dist/providers/anthropic/Capabilities.d.ts.map +1 -0
  79. package/dist/providers/anthropic/Capabilities.js +82 -0
  80. package/dist/providers/anthropic/Chat.d.ts +8 -0
  81. package/dist/providers/anthropic/Chat.d.ts.map +1 -0
  82. package/dist/providers/anthropic/Chat.js +101 -0
  83. package/dist/providers/anthropic/Errors.d.ts +2 -0
  84. package/dist/providers/anthropic/Errors.d.ts.map +1 -0
  85. package/dist/providers/anthropic/Errors.js +33 -0
  86. package/dist/providers/anthropic/Models.d.ts +9 -0
  87. package/dist/providers/anthropic/Models.d.ts.map +1 -0
  88. package/dist/providers/anthropic/Models.js +58 -0
  89. package/dist/providers/anthropic/Streaming.d.ts +8 -0
  90. package/dist/providers/anthropic/Streaming.d.ts.map +1 -0
  91. package/dist/providers/anthropic/Streaming.js +186 -0
  92. package/dist/providers/anthropic/Utils.d.ts +5 -0
  93. package/dist/providers/anthropic/Utils.d.ts.map +1 -0
  94. package/dist/providers/anthropic/Utils.js +125 -0
  95. package/dist/providers/anthropic/index.d.ts +2 -0
  96. package/dist/providers/anthropic/index.d.ts.map +1 -0
  97. package/dist/providers/anthropic/index.js +12 -0
  98. package/dist/providers/anthropic/types.d.ts +57 -0
  99. package/dist/providers/anthropic/types.d.ts.map +1 -0
  100. package/dist/providers/anthropic/types.js +1 -0
  101. package/dist/providers/deepseek/Capabilities.d.ts +14 -0
  102. package/dist/providers/deepseek/Capabilities.d.ts.map +1 -0
  103. package/dist/providers/deepseek/Capabilities.js +52 -0
  104. package/dist/providers/deepseek/Chat.d.ts +8 -0
  105. package/dist/providers/deepseek/Chat.d.ts.map +1 -0
  106. package/dist/providers/deepseek/Chat.js +90 -0
  107. package/dist/providers/deepseek/DeepSeekProvider.d.ts +33 -0
  108. package/dist/providers/deepseek/DeepSeekProvider.d.ts.map +1 -0
  109. package/dist/providers/deepseek/DeepSeekProvider.js +55 -0
  110. package/dist/providers/deepseek/Models.d.ts +8 -0
  111. package/dist/providers/deepseek/Models.d.ts.map +1 -0
  112. package/dist/providers/deepseek/Models.js +67 -0
  113. package/dist/providers/deepseek/Streaming.d.ts +8 -0
  114. package/dist/providers/deepseek/Streaming.d.ts.map +1 -0
  115. package/dist/providers/deepseek/Streaming.js +152 -0
  116. package/dist/providers/deepseek/index.d.ts +7 -0
  117. package/dist/providers/deepseek/index.d.ts.map +1 -0
  118. package/dist/providers/deepseek/index.js +22 -0
  119. package/dist/providers/gemini/Capabilities.d.ts +51 -0
  120. package/dist/providers/gemini/Capabilities.d.ts.map +1 -0
  121. package/dist/providers/gemini/Capabilities.js +163 -0
  122. package/dist/providers/gemini/Chat.d.ts +9 -0
  123. package/dist/providers/gemini/Chat.d.ts.map +1 -0
  124. package/dist/providers/gemini/Chat.js +109 -0
  125. package/dist/providers/gemini/ChatUtils.d.ts +9 -0
  126. package/dist/providers/gemini/ChatUtils.d.ts.map +1 -0
  127. package/dist/providers/gemini/ChatUtils.js +83 -0
  128. package/dist/providers/gemini/Embeddings.d.ts +8 -0
  129. package/dist/providers/gemini/Embeddings.d.ts.map +1 -0
  130. package/dist/providers/gemini/Embeddings.js +47 -0
  131. package/dist/providers/gemini/Errors.d.ts +2 -0
  132. package/dist/providers/gemini/Errors.d.ts.map +1 -0
  133. package/dist/providers/gemini/Errors.js +34 -0
  134. package/dist/providers/gemini/GeminiProvider.d.ts +39 -0
  135. package/dist/providers/gemini/GeminiProvider.d.ts.map +1 -0
  136. package/dist/providers/gemini/GeminiProvider.js +72 -0
  137. package/dist/providers/gemini/Image.d.ts +8 -0
  138. package/dist/providers/gemini/Image.d.ts.map +1 -0
  139. package/dist/providers/gemini/Image.js +50 -0
  140. package/dist/providers/gemini/Models.d.ts +9 -0
  141. package/dist/providers/gemini/Models.d.ts.map +1 -0
  142. package/dist/providers/gemini/Models.js +58 -0
  143. package/dist/providers/gemini/Streaming.d.ts +9 -0
  144. package/dist/providers/gemini/Streaming.d.ts.map +1 -0
  145. package/dist/providers/gemini/Streaming.js +154 -0
  146. package/dist/providers/gemini/Transcription.d.ts +9 -0
  147. package/dist/providers/gemini/Transcription.d.ts.map +1 -0
  148. package/dist/providers/gemini/Transcription.js +66 -0
  149. package/dist/providers/gemini/index.d.ts +11 -0
  150. package/dist/providers/gemini/index.d.ts.map +1 -0
  151. package/dist/providers/gemini/index.js +25 -0
  152. package/dist/providers/gemini/types.d.ts +118 -0
  153. package/dist/providers/gemini/types.d.ts.map +1 -0
  154. package/dist/providers/gemini/types.js +1 -0
  155. package/dist/providers/ollama/Capabilities.d.ts +13 -0
  156. package/dist/providers/ollama/Capabilities.d.ts.map +1 -0
  157. package/dist/providers/ollama/Capabilities.js +54 -0
  158. package/dist/providers/ollama/Embedding.d.ts +6 -0
  159. package/dist/providers/ollama/Embedding.d.ts.map +1 -0
  160. package/dist/providers/ollama/Embedding.js +12 -0
  161. package/dist/providers/ollama/Models.d.ts +8 -0
  162. package/dist/providers/ollama/Models.d.ts.map +1 -0
  163. package/dist/providers/ollama/Models.js +31 -0
  164. package/dist/providers/ollama/OllamaProvider.d.ts +10 -0
  165. package/dist/providers/ollama/OllamaProvider.d.ts.map +1 -0
  166. package/dist/providers/ollama/OllamaProvider.js +34 -0
  167. package/dist/providers/ollama/index.d.ts +9 -0
  168. package/dist/providers/ollama/index.d.ts.map +1 -0
  169. package/dist/providers/ollama/index.js +17 -0
  170. package/dist/providers/openai/Capabilities.d.ts +23 -0
  171. package/dist/providers/openai/Capabilities.d.ts.map +1 -0
  172. package/dist/providers/openai/Capabilities.js +165 -0
  173. package/dist/providers/openai/Chat.d.ts +8 -0
  174. package/dist/providers/openai/Chat.d.ts.map +1 -0
  175. package/dist/providers/openai/Chat.js +60 -0
  176. package/dist/providers/openai/Embedding.d.ts +10 -0
  177. package/dist/providers/openai/Embedding.d.ts.map +1 -0
  178. package/dist/providers/openai/Embedding.js +58 -0
  179. package/dist/providers/openai/Errors.d.ts +2 -0
  180. package/dist/providers/openai/Errors.d.ts.map +1 -0
  181. package/dist/providers/openai/Errors.js +34 -0
  182. package/dist/providers/openai/Image.d.ts +8 -0
  183. package/dist/providers/openai/Image.d.ts.map +1 -0
  184. package/dist/providers/openai/Image.js +44 -0
  185. package/dist/providers/openai/ModelDefinitions.d.ts +2 -0
  186. package/dist/providers/openai/ModelDefinitions.d.ts.map +1 -0
  187. package/dist/providers/openai/ModelDefinitions.js +1 -0
  188. package/dist/providers/openai/Models.d.ts +19 -0
  189. package/dist/providers/openai/Models.d.ts.map +1 -0
  190. package/dist/providers/openai/Models.js +93 -0
  191. package/dist/providers/openai/Moderation.d.ts +8 -0
  192. package/dist/providers/openai/Moderation.d.ts.map +1 -0
  193. package/dist/providers/openai/Moderation.js +34 -0
  194. package/dist/providers/openai/OpenAIProvider.d.ts +49 -0
  195. package/dist/providers/openai/OpenAIProvider.d.ts.map +1 -0
  196. package/dist/providers/openai/OpenAIProvider.js +79 -0
  197. package/dist/providers/openai/Streaming.d.ts +8 -0
  198. package/dist/providers/openai/Streaming.d.ts.map +1 -0
  199. package/dist/providers/openai/Streaming.js +155 -0
  200. package/dist/providers/openai/Transcription.d.ts +10 -0
  201. package/dist/providers/openai/Transcription.d.ts.map +1 -0
  202. package/dist/providers/openai/Transcription.js +170 -0
  203. package/dist/providers/openai/index.d.ts +10 -0
  204. package/dist/providers/openai/index.d.ts.map +1 -0
  205. package/dist/providers/openai/index.js +25 -0
  206. package/dist/providers/openai/types.d.ts +31 -0
  207. package/dist/providers/openai/types.d.ts.map +1 -0
  208. package/dist/providers/openai/types.js +1 -0
  209. package/dist/providers/openai/utils.d.ts +20 -0
  210. package/dist/providers/openai/utils.d.ts.map +1 -0
  211. package/dist/providers/openai/utils.js +25 -0
  212. package/dist/providers/openrouter/Capabilities.d.ts +13 -0
  213. package/dist/providers/openrouter/Capabilities.d.ts.map +1 -0
  214. package/dist/providers/openrouter/Capabilities.js +67 -0
  215. package/dist/providers/openrouter/Models.d.ts +11 -0
  216. package/dist/providers/openrouter/Models.d.ts.map +1 -0
  217. package/dist/providers/openrouter/Models.js +88 -0
  218. package/dist/providers/openrouter/OpenRouterProvider.d.ts +21 -0
  219. package/dist/providers/openrouter/OpenRouterProvider.d.ts.map +1 -0
  220. package/dist/providers/openrouter/OpenRouterProvider.js +24 -0
  221. package/dist/providers/openrouter/index.d.ts +11 -0
  222. package/dist/providers/openrouter/index.d.ts.map +1 -0
  223. package/dist/providers/openrouter/index.js +26 -0
  224. package/dist/providers/registry.d.ts +30 -0
  225. package/dist/providers/registry.d.ts.map +1 -0
  226. package/dist/providers/registry.js +43 -0
  227. package/dist/schema/Schema.d.ts +20 -0
  228. package/dist/schema/Schema.d.ts.map +1 -0
  229. package/dist/schema/Schema.js +22 -0
  230. package/dist/schema/to-json-schema.d.ts +3 -0
  231. package/dist/schema/to-json-schema.d.ts.map +1 -0
  232. package/dist/schema/to-json-schema.js +10 -0
  233. package/dist/streaming/Stream.d.ts +29 -0
  234. package/dist/streaming/Stream.d.ts.map +1 -0
  235. package/dist/streaming/Stream.js +67 -0
  236. package/dist/transcription/Transcription.d.ts +11 -0
  237. package/dist/transcription/Transcription.d.ts.map +1 -0
  238. package/dist/transcription/Transcription.js +21 -0
  239. package/dist/utils/Binary.d.ts +12 -0
  240. package/dist/utils/Binary.d.ts.map +1 -0
  241. package/dist/utils/Binary.js +71 -0
  242. package/dist/utils/FileLoader.d.ts +5 -0
  243. package/dist/utils/FileLoader.d.ts.map +1 -0
  244. package/dist/utils/FileLoader.js +115 -0
  245. package/dist/utils/audio.d.ts +10 -0
  246. package/dist/utils/audio.d.ts.map +1 -0
  247. package/dist/utils/audio.js +46 -0
  248. package/dist/utils/logger.d.ts +18 -0
  249. package/dist/utils/logger.d.ts.map +1 -0
  250. package/dist/utils/logger.js +44 -0
  251. package/package.json +43 -17
  252. package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -67
  253. package/.github/ISSUE_TEMPLATE/config.yml +0 -8
  254. package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -57
  255. package/.github/pull_request_template.md +0 -35
  256. package/.github/workflows/cicd.yml +0 -133
  257. package/.github/workflows/docs.yml +0 -52
  258. package/CHANGELOG.md +0 -80
  259. package/CONTRIBUTING.md +0 -65
  260. package/docs/CNAME +0 -1
  261. package/docs/Gemfile +0 -5
  262. package/docs/Gemfile.lock +0 -176
  263. package/docs/_config.yml +0 -22
  264. package/docs/_includes/head_custom.html +0 -88
  265. package/docs/advanced/custom-providers.md +0 -127
  266. package/docs/advanced/custom_endpoints.md +0 -84
  267. package/docs/advanced/debugging.md +0 -95
  268. package/docs/advanced/error-handling.md +0 -87
  269. package/docs/advanced/index.md +0 -11
  270. package/docs/advanced/multi_provider_parallel.md +0 -47
  271. package/docs/advanced/testing.md +0 -36
  272. package/docs/advanced/token_usage.md +0 -32
  273. package/docs/assets/css/custom.css +0 -34
  274. package/docs/assets/images/favicon.jpg +0 -0
  275. package/docs/assets/images/icon.jpg +0 -0
  276. package/docs/assets/images/logo.jpg +0 -0
  277. package/docs/assets/images/logo.png +0 -0
  278. package/docs/core-features/audio-transcription.md +0 -80
  279. package/docs/core-features/chat.md +0 -151
  280. package/docs/core-features/embeddings.md +0 -107
  281. package/docs/core-features/image-generation.md +0 -70
  282. package/docs/core-features/index.md +0 -10
  283. package/docs/core-features/models.md +0 -94
  284. package/docs/core-features/moderation.md +0 -86
  285. package/docs/core-features/multimodal.md +0 -120
  286. package/docs/core-features/reasoning.md +0 -67
  287. package/docs/core-features/streaming.md +0 -145
  288. package/docs/core-features/structured_output.md +0 -109
  289. package/docs/core-features/tools.md +0 -211
  290. package/docs/examples.md +0 -130
  291. package/docs/getting_started/configuration.md +0 -176
  292. package/docs/getting_started/getting-started.md +0 -74
  293. package/docs/getting_started/index.md +0 -10
  294. package/docs/getting_started/overview.md +0 -56
  295. package/docs/index.md +0 -234
  296. package/docs/models/available_models.md +0 -209
  297. package/docs/providers/anthropic.md +0 -55
  298. package/docs/providers/deepseek.md +0 -48
  299. package/docs/providers/gemini.md +0 -59
  300. package/docs/providers/index.md +0 -11
  301. package/docs/providers/ollama.md +0 -83
  302. package/docs/providers/openai.md +0 -47
  303. package/docs/providers/openrouter.md +0 -42
  304. package/examples/README.md +0 -135
  305. package/examples/anthropic/chat/basic.mjs +0 -27
  306. package/examples/anthropic/chat/events.mjs +0 -28
  307. package/examples/anthropic/chat/instructions.mjs +0 -24
  308. package/examples/anthropic/chat/max-tokens.mjs +0 -26
  309. package/examples/anthropic/chat/parallel-tools.mjs +0 -33
  310. package/examples/anthropic/chat/raw-json.mjs +0 -41
  311. package/examples/anthropic/chat/streaming-tools.mjs +0 -82
  312. package/examples/anthropic/chat/streaming.mjs +0 -29
  313. package/examples/anthropic/chat/structured.mjs +0 -52
  314. package/examples/anthropic/chat/tools.mjs +0 -40
  315. package/examples/anthropic/chat/usage.mjs +0 -24
  316. package/examples/anthropic/discovery/alias-logging.mjs +0 -29
  317. package/examples/anthropic/discovery/debug-mode.mjs +0 -30
  318. package/examples/anthropic/discovery/model-aliases.mjs +0 -41
  319. package/examples/anthropic/discovery/models.mjs +0 -18
  320. package/examples/anthropic/discovery/scoped-config.mjs +0 -57
  321. package/examples/anthropic/embeddings/create.mjs +0 -25
  322. package/examples/anthropic/images/generate.mjs +0 -25
  323. package/examples/anthropic/multimodal/files.mjs +0 -32
  324. package/examples/anthropic/multimodal/multi-image.mjs +0 -30
  325. package/examples/anthropic/multimodal/pdf.mjs +0 -40
  326. package/examples/anthropic/multimodal/transcribe.mjs +0 -25
  327. package/examples/anthropic/multimodal/vision.mjs +0 -28
  328. package/examples/anthropic/safety/moderation.mjs +0 -25
  329. package/examples/audio/sample-0.mp3 +0 -0
  330. package/examples/configuration-example.mjs +0 -67
  331. package/examples/custom-endpoints-example.mjs +0 -173
  332. package/examples/custom-provider.mjs +0 -130
  333. package/examples/deepseek/chat/basic.mjs +0 -20
  334. package/examples/deepseek/chat/events.mjs +0 -32
  335. package/examples/deepseek/chat/instructions.mjs +0 -33
  336. package/examples/deepseek/chat/max-tokens.mjs +0 -25
  337. package/examples/deepseek/chat/params.mjs +0 -29
  338. package/examples/deepseek/chat/raw-json.mjs +0 -41
  339. package/examples/deepseek/chat/reasoning.mjs +0 -46
  340. package/examples/deepseek/chat/streaming-tools.mjs +0 -61
  341. package/examples/deepseek/chat/streaming.mjs +0 -23
  342. package/examples/deepseek/chat/structured.mjs +0 -53
  343. package/examples/deepseek/chat/tools.mjs +0 -40
  344. package/examples/deepseek/chat/usage.mjs +0 -27
  345. package/examples/deepseek/discovery/models.mjs +0 -24
  346. package/examples/deepseek/embeddings/basic.mjs +0 -21
  347. package/examples/deepseek/images/generate.mjs +0 -21
  348. package/examples/deepseek/multimodal/vision.mjs +0 -22
  349. package/examples/deepseek/safety/moderation.mjs +0 -20
  350. package/examples/documents/simple.pdf +0 -0
  351. package/examples/gemini/chat/basic.mjs +0 -0
  352. package/examples/gemini/chat/events.mjs +0 -24
  353. package/examples/gemini/chat/instructions.mjs +0 -27
  354. package/examples/gemini/chat/max-tokens.mjs +0 -21
  355. package/examples/gemini/chat/parallel-tools.mjs +0 -33
  356. package/examples/gemini/chat/params.mjs +0 -36
  357. package/examples/gemini/chat/raw-json.mjs +0 -41
  358. package/examples/gemini/chat/streaming-tools.mjs +0 -61
  359. package/examples/gemini/chat/streaming.mjs +0 -20
  360. package/examples/gemini/chat/structured.mjs +0 -50
  361. package/examples/gemini/chat/tools.mjs +0 -40
  362. package/examples/gemini/chat/usage.mjs +0 -24
  363. package/examples/gemini/discovery/models.mjs +0 -32
  364. package/examples/gemini/embeddings/create.mjs +0 -24
  365. package/examples/gemini/images/generate.mjs +0 -35
  366. package/examples/gemini/multimodal/files.mjs +0 -29
  367. package/examples/gemini/multimodal/multi-image.mjs +0 -30
  368. package/examples/gemini/multimodal/transcribe.mjs +0 -25
  369. package/examples/gemini/multimodal/vision.mjs +0 -21
  370. package/examples/gemini/safety/moderation.mjs +0 -25
  371. package/examples/ollama/chat/basic.mjs +0 -36
  372. package/examples/ollama/chat/streaming.mjs +0 -23
  373. package/examples/ollama/chat/tools.mjs +0 -50
  374. package/examples/ollama/discovery/list.mjs +0 -54
  375. package/examples/ollama/embeddings/similarity.mjs +0 -49
  376. package/examples/ollama/multimodal/vision.mjs +0 -26
  377. package/examples/openai/chat/basic.mjs +0 -26
  378. package/examples/openai/chat/events.mjs +0 -32
  379. package/examples/openai/chat/instructions.mjs +0 -33
  380. package/examples/openai/chat/max-tokens.mjs +0 -25
  381. package/examples/openai/chat/parallel-tools.mjs +0 -35
  382. package/examples/openai/chat/params.mjs +0 -30
  383. package/examples/openai/chat/raw-json.mjs +0 -44
  384. package/examples/openai/chat/reasoning.mjs +0 -40
  385. package/examples/openai/chat/streaming-tools.mjs +0 -118
  386. package/examples/openai/chat/streaming.mjs +0 -132
  387. package/examples/openai/chat/structured.mjs +0 -53
  388. package/examples/openai/chat/tools.mjs +0 -115
  389. package/examples/openai/chat/usage.mjs +0 -27
  390. package/examples/openai/discovery/models.mjs +0 -28
  391. package/examples/openai/embeddings/create.mjs +0 -26
  392. package/examples/openai/images/generate.mjs +0 -39
  393. package/examples/openai/multimodal/files.mjs +0 -31
  394. package/examples/openai/multimodal/multi-image.mjs +0 -25
  395. package/examples/openai/multimodal/transcribe.mjs +0 -30
  396. package/examples/openai/multimodal/vision.mjs +0 -21
  397. package/examples/openai/safety/moderation.mjs +0 -33
  398. package/examples/openrouter/chat/basic.mjs +0 -22
  399. package/examples/openrouter/chat/reasoning.mjs +0 -27
  400. package/examples/openrouter/chat/streaming.mjs +0 -22
  401. package/examples/openrouter/chat/tools.mjs +0 -32
  402. package/examples/openrouter/discovery/models.mjs +0 -23
  403. package/examples/openrouter/embeddings/create.mjs +0 -26
  404. package/examples/openrouter/multimodal/vision.mjs +0 -23
  405. package/examples/parallel-scoring-clean.mjs +0 -63
  406. package/examples/run_anthropic_examples.sh +0 -65
  407. package/examples/run_deepseek_examples.sh +0 -61
  408. package/examples/run_gemini_examples.sh +0 -62
  409. package/examples/run_openai_examples.sh +0 -60
  410. package/examples/run_openrouter_examples.sh +0 -55
  411. package/favicon.jpg +0 -0
  412. package/packages/core/CHANGELOG.md +0 -179
  413. package/packages/core/README.md +0 -253
  414. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/LICENSE +0 -201
  415. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/README.md +0 -53
  416. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/package.json +0 -56
  417. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/src/index.js +0 -237
  418. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/src/utils/serializer-headers.js +0 -15
  419. package/packages/core/node_modules/.ignored/@pollyjs/adapter-fetch/types.d.ts +0 -5
  420. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/LICENSE +0 -201
  421. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/README.md +0 -52
  422. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/package.json +0 -62
  423. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/src/index.js +0 -337
  424. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/src/utils/get-url-from-options.js +0 -34
  425. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/src/utils/merge-chunks.js +0 -22
  426. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/src/utils/url-to-options.js +0 -31
  427. package/packages/core/node_modules/.ignored/@pollyjs/adapter-node-http/types.d.ts +0 -3
  428. package/packages/core/node_modules/.ignored/@pollyjs/core/LICENSE +0 -201
  429. package/packages/core/node_modules/.ignored/@pollyjs/core/README.md +0 -190
  430. package/packages/core/node_modules/.ignored/@pollyjs/core/package.json +0 -63
  431. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/container.js +0 -77
  432. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/event-emitter.js +0 -285
  433. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/event.js +0 -26
  434. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/http-base.js +0 -108
  435. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/interceptor.js +0 -38
  436. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/logger.js +0 -64
  437. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/request.js +0 -301
  438. package/packages/core/node_modules/.ignored/@pollyjs/core/src/-private/response.js +0 -46
  439. package/packages/core/node_modules/.ignored/@pollyjs/core/src/defaults/config.js +0 -45
  440. package/packages/core/node_modules/.ignored/@pollyjs/core/src/index.js +0 -5
  441. package/packages/core/node_modules/.ignored/@pollyjs/core/src/polly.js +0 -343
  442. package/packages/core/node_modules/.ignored/@pollyjs/core/src/server/handler.js +0 -122
  443. package/packages/core/node_modules/.ignored/@pollyjs/core/src/server/index.js +0 -215
  444. package/packages/core/node_modules/.ignored/@pollyjs/core/src/server/middleware.js +0 -31
  445. package/packages/core/node_modules/.ignored/@pollyjs/core/src/server/route.js +0 -135
  446. package/packages/core/node_modules/.ignored/@pollyjs/core/src/test-helpers/lib.js +0 -29
  447. package/packages/core/node_modules/.ignored/@pollyjs/core/src/test-helpers/mocha.js +0 -31
  448. package/packages/core/node_modules/.ignored/@pollyjs/core/src/test-helpers/qunit.js +0 -22
  449. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/cancel-fn-after-n-times.js +0 -21
  450. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/deferred-promise.js +0 -20
  451. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/guid-for-recording.js +0 -21
  452. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/http-headers.js +0 -44
  453. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/merge-configs.js +0 -13
  454. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/normalize-request.js +0 -66
  455. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/parse-url.js +0 -33
  456. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/remove-host-from-url.js +0 -12
  457. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/timing.js +0 -11
  458. package/packages/core/node_modules/.ignored/@pollyjs/core/src/utils/validators.js +0 -47
  459. package/packages/core/node_modules/.ignored/@pollyjs/core/types.d.ts +0 -297
  460. package/packages/core/node_modules/.ignored/@pollyjs/persister-fs/LICENSE +0 -201
  461. package/packages/core/node_modules/.ignored/@pollyjs/persister-fs/README.md +0 -53
  462. package/packages/core/node_modules/.ignored/@pollyjs/persister-fs/package.json +0 -53
  463. package/packages/core/node_modules/.ignored/@pollyjs/persister-fs/src/index.js +0 -37
  464. package/packages/core/node_modules/.ignored/@pollyjs/persister-fs/types.d.ts +0 -5
  465. package/packages/core/node_modules/.package-lock.json +0 -1279
  466. package/packages/core/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +0 -1
  467. package/packages/core/node_modules/@pollyjs/adapter/LICENSE +0 -201
  468. package/packages/core/node_modules/@pollyjs/adapter/README.md +0 -64
  469. package/packages/core/node_modules/@pollyjs/adapter/package.json +0 -48
  470. package/packages/core/node_modules/@pollyjs/adapter/src/index.js +0 -348
  471. package/packages/core/node_modules/@pollyjs/adapter/src/utils/dehumanize-time.js +0 -49
  472. package/packages/core/node_modules/@pollyjs/adapter/src/utils/is-expired.js +0 -12
  473. package/packages/core/node_modules/@pollyjs/adapter/src/utils/normalize-recorded-response.js +0 -31
  474. package/packages/core/node_modules/@pollyjs/adapter/src/utils/stringify-request.js +0 -24
  475. package/packages/core/node_modules/@pollyjs/adapter/types.d.ts +0 -43
  476. package/packages/core/node_modules/@pollyjs/node-server/LICENSE +0 -201
  477. package/packages/core/node_modules/@pollyjs/node-server/README.md +0 -81
  478. package/packages/core/node_modules/@pollyjs/node-server/package.json +0 -55
  479. package/packages/core/node_modules/@pollyjs/node-server/src/api.js +0 -53
  480. package/packages/core/node_modules/@pollyjs/node-server/src/config.js +0 -7
  481. package/packages/core/node_modules/@pollyjs/node-server/src/express/register-api.js +0 -57
  482. package/packages/core/node_modules/@pollyjs/node-server/src/index.js +0 -4
  483. package/packages/core/node_modules/@pollyjs/node-server/src/server.js +0 -59
  484. package/packages/core/node_modules/@pollyjs/node-server/types.d.ts +0 -45
  485. package/packages/core/node_modules/@pollyjs/persister/LICENSE +0 -201
  486. package/packages/core/node_modules/@pollyjs/persister/README.md +0 -62
  487. package/packages/core/node_modules/@pollyjs/persister/package.json +0 -55
  488. package/packages/core/node_modules/@pollyjs/persister/src/har/entry.js +0 -32
  489. package/packages/core/node_modules/@pollyjs/persister/src/har/index.js +0 -7
  490. package/packages/core/node_modules/@pollyjs/persister/src/har/log.js +0 -44
  491. package/packages/core/node_modules/@pollyjs/persister/src/har/request.js +0 -58
  492. package/packages/core/node_modules/@pollyjs/persister/src/har/response.js +0 -58
  493. package/packages/core/node_modules/@pollyjs/persister/src/har/utils/get-first-header.js +0 -20
  494. package/packages/core/node_modules/@pollyjs/persister/src/har/utils/to-nv-pairs.js +0 -21
  495. package/packages/core/node_modules/@pollyjs/persister/src/index.js +0 -214
  496. package/packages/core/node_modules/@pollyjs/persister/types.d.ts +0 -91
  497. package/packages/core/node_modules/@pollyjs/utils/LICENSE +0 -201
  498. package/packages/core/node_modules/@pollyjs/utils/README.md +0 -34
  499. package/packages/core/node_modules/@pollyjs/utils/package.json +0 -49
  500. package/packages/core/node_modules/@pollyjs/utils/src/constants/actions.js +0 -6
  501. package/packages/core/node_modules/@pollyjs/utils/src/constants/expiry-strategies.js +0 -5
  502. package/packages/core/node_modules/@pollyjs/utils/src/constants/http-methods.js +0 -10
  503. package/packages/core/node_modules/@pollyjs/utils/src/constants/http-status-codes.js +0 -44
  504. package/packages/core/node_modules/@pollyjs/utils/src/constants/modes.js +0 -6
  505. package/packages/core/node_modules/@pollyjs/utils/src/index.js +0 -18
  506. package/packages/core/node_modules/@pollyjs/utils/src/utils/assert.js +0 -7
  507. package/packages/core/node_modules/@pollyjs/utils/src/utils/build-url.js +0 -15
  508. package/packages/core/node_modules/@pollyjs/utils/src/utils/clone-arraybuffer.js +0 -12
  509. package/packages/core/node_modules/@pollyjs/utils/src/utils/is-buffer-utf8-representable.js +0 -12
  510. package/packages/core/node_modules/@pollyjs/utils/src/utils/polly-error.js +0 -12
  511. package/packages/core/node_modules/@pollyjs/utils/src/utils/serializers/blob.js +0 -26
  512. package/packages/core/node_modules/@pollyjs/utils/src/utils/serializers/buffer.js +0 -29
  513. package/packages/core/node_modules/@pollyjs/utils/src/utils/serializers/form-data.js +0 -23
  514. package/packages/core/node_modules/@pollyjs/utils/src/utils/serializers/index.js +0 -5
  515. package/packages/core/node_modules/@pollyjs/utils/src/utils/timeout.js +0 -7
  516. package/packages/core/node_modules/@pollyjs/utils/src/utils/timestamp.js +0 -3
  517. package/packages/core/node_modules/@pollyjs/utils/src/utils/url.js +0 -105
  518. package/packages/core/node_modules/@pollyjs/utils/types.d.ts +0 -19
  519. package/packages/core/node_modules/@sindresorhus/fnv1a/index.d.ts +0 -46
  520. package/packages/core/node_modules/@sindresorhus/fnv1a/index.js +0 -76
  521. package/packages/core/node_modules/@sindresorhus/fnv1a/license +0 -9
  522. package/packages/core/node_modules/@sindresorhus/fnv1a/package.json +0 -50
  523. package/packages/core/node_modules/@sindresorhus/fnv1a/readme.md +0 -53
  524. package/packages/core/node_modules/@types/node/LICENSE +0 -21
  525. package/packages/core/node_modules/@types/node/README.md +0 -15
  526. package/packages/core/node_modules/@types/node/assert/strict.d.ts +0 -105
  527. package/packages/core/node_modules/@types/node/assert.d.ts +0 -955
  528. package/packages/core/node_modules/@types/node/async_hooks.d.ts +0 -623
  529. package/packages/core/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  530. package/packages/core/node_modules/@types/node/buffer.d.ts +0 -1810
  531. package/packages/core/node_modules/@types/node/child_process.d.ts +0 -1428
  532. package/packages/core/node_modules/@types/node/cluster.d.ts +0 -486
  533. package/packages/core/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  534. package/packages/core/node_modules/@types/node/console.d.ts +0 -151
  535. package/packages/core/node_modules/@types/node/constants.d.ts +0 -20
  536. package/packages/core/node_modules/@types/node/crypto.d.ts +0 -4065
  537. package/packages/core/node_modules/@types/node/dgram.d.ts +0 -564
  538. package/packages/core/node_modules/@types/node/diagnostics_channel.d.ts +0 -576
  539. package/packages/core/node_modules/@types/node/dns/promises.d.ts +0 -503
  540. package/packages/core/node_modules/@types/node/dns.d.ts +0 -922
  541. package/packages/core/node_modules/@types/node/domain.d.ts +0 -166
  542. package/packages/core/node_modules/@types/node/events.d.ts +0 -1054
  543. package/packages/core/node_modules/@types/node/fs/promises.d.ts +0 -1316
  544. package/packages/core/node_modules/@types/node/fs.d.ts +0 -4676
  545. package/packages/core/node_modules/@types/node/globals.d.ts +0 -150
  546. package/packages/core/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  547. package/packages/core/node_modules/@types/node/http.d.ts +0 -2143
  548. package/packages/core/node_modules/@types/node/http2.d.ts +0 -2480
  549. package/packages/core/node_modules/@types/node/https.d.ts +0 -399
  550. package/packages/core/node_modules/@types/node/index.d.ts +0 -115
  551. package/packages/core/node_modules/@types/node/inspector/promises.d.ts +0 -41
  552. package/packages/core/node_modules/@types/node/inspector.d.ts +0 -224
  553. package/packages/core/node_modules/@types/node/inspector.generated.d.ts +0 -4226
  554. package/packages/core/node_modules/@types/node/module.d.ts +0 -819
  555. package/packages/core/node_modules/@types/node/net.d.ts +0 -933
  556. package/packages/core/node_modules/@types/node/os.d.ts +0 -507
  557. package/packages/core/node_modules/@types/node/package.json +0 -155
  558. package/packages/core/node_modules/@types/node/path/posix.d.ts +0 -8
  559. package/packages/core/node_modules/@types/node/path/win32.d.ts +0 -8
  560. package/packages/core/node_modules/@types/node/path.d.ts +0 -187
  561. package/packages/core/node_modules/@types/node/perf_hooks.d.ts +0 -621
  562. package/packages/core/node_modules/@types/node/process.d.ts +0 -2097
  563. package/packages/core/node_modules/@types/node/punycode.d.ts +0 -117
  564. package/packages/core/node_modules/@types/node/querystring.d.ts +0 -152
  565. package/packages/core/node_modules/@types/node/quic.d.ts +0 -910
  566. package/packages/core/node_modules/@types/node/readline/promises.d.ts +0 -161
  567. package/packages/core/node_modules/@types/node/readline.d.ts +0 -541
  568. package/packages/core/node_modules/@types/node/repl.d.ts +0 -415
  569. package/packages/core/node_modules/@types/node/sea.d.ts +0 -162
  570. package/packages/core/node_modules/@types/node/sqlite.d.ts +0 -937
  571. package/packages/core/node_modules/@types/node/stream/consumers.d.ts +0 -38
  572. package/packages/core/node_modules/@types/node/stream/promises.d.ts +0 -211
  573. package/packages/core/node_modules/@types/node/stream/web.d.ts +0 -296
  574. package/packages/core/node_modules/@types/node/stream.d.ts +0 -1760
  575. package/packages/core/node_modules/@types/node/string_decoder.d.ts +0 -67
  576. package/packages/core/node_modules/@types/node/test/reporters.d.ts +0 -96
  577. package/packages/core/node_modules/@types/node/test.d.ts +0 -2239
  578. package/packages/core/node_modules/@types/node/timers/promises.d.ts +0 -108
  579. package/packages/core/node_modules/@types/node/timers.d.ts +0 -159
  580. package/packages/core/node_modules/@types/node/tls.d.ts +0 -1194
  581. package/packages/core/node_modules/@types/node/trace_events.d.ts +0 -197
  582. package/packages/core/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  583. package/packages/core/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  584. package/packages/core/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  585. package/packages/core/node_modules/@types/node/ts5.6/index.d.ts +0 -117
  586. package/packages/core/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  587. package/packages/core/node_modules/@types/node/ts5.7/index.d.ts +0 -117
  588. package/packages/core/node_modules/@types/node/tty.d.ts +0 -250
  589. package/packages/core/node_modules/@types/node/url.d.ts +0 -519
  590. package/packages/core/node_modules/@types/node/util/types.d.ts +0 -558
  591. package/packages/core/node_modules/@types/node/util.d.ts +0 -1653
  592. package/packages/core/node_modules/@types/node/v8.d.ts +0 -979
  593. package/packages/core/node_modules/@types/node/vm.d.ts +0 -1180
  594. package/packages/core/node_modules/@types/node/wasi.d.ts +0 -202
  595. package/packages/core/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  596. package/packages/core/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  597. package/packages/core/node_modules/@types/node/web-globals/console.d.ts +0 -9
  598. package/packages/core/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  599. package/packages/core/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  600. package/packages/core/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  601. package/packages/core/node_modules/@types/node/web-globals/events.d.ts +0 -106
  602. package/packages/core/node_modules/@types/node/web-globals/fetch.d.ts +0 -54
  603. package/packages/core/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  604. package/packages/core/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  605. package/packages/core/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  606. package/packages/core/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  607. package/packages/core/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  608. package/packages/core/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  609. package/packages/core/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  610. package/packages/core/node_modules/@types/node/web-globals/url.d.ts +0 -24
  611. package/packages/core/node_modules/@types/node/worker_threads.d.ts +0 -714
  612. package/packages/core/node_modules/@types/node/zlib.d.ts +0 -618
  613. package/packages/core/node_modules/@types/set-cookie-parser/LICENSE +0 -21
  614. package/packages/core/node_modules/@types/set-cookie-parser/README.md +0 -15
  615. package/packages/core/node_modules/@types/set-cookie-parser/index.d.ts +0 -114
  616. package/packages/core/node_modules/@types/set-cookie-parser/package.json +0 -37
  617. package/packages/core/node_modules/accepts/HISTORY.md +0 -243
  618. package/packages/core/node_modules/accepts/LICENSE +0 -23
  619. package/packages/core/node_modules/accepts/README.md +0 -140
  620. package/packages/core/node_modules/accepts/index.js +0 -238
  621. package/packages/core/node_modules/accepts/package.json +0 -47
  622. package/packages/core/node_modules/array-flatten/LICENSE +0 -21
  623. package/packages/core/node_modules/array-flatten/README.md +0 -43
  624. package/packages/core/node_modules/array-flatten/array-flatten.js +0 -64
  625. package/packages/core/node_modules/array-flatten/package.json +0 -39
  626. package/packages/core/node_modules/basic-auth/HISTORY.md +0 -52
  627. package/packages/core/node_modules/basic-auth/LICENSE +0 -24
  628. package/packages/core/node_modules/basic-auth/README.md +0 -113
  629. package/packages/core/node_modules/basic-auth/index.js +0 -133
  630. package/packages/core/node_modules/basic-auth/node_modules/safe-buffer/LICENSE +0 -21
  631. package/packages/core/node_modules/basic-auth/node_modules/safe-buffer/README.md +0 -584
  632. package/packages/core/node_modules/basic-auth/node_modules/safe-buffer/index.d.ts +0 -187
  633. package/packages/core/node_modules/basic-auth/node_modules/safe-buffer/index.js +0 -62
  634. package/packages/core/node_modules/basic-auth/node_modules/safe-buffer/package.json +0 -37
  635. package/packages/core/node_modules/basic-auth/package.json +0 -41
  636. package/packages/core/node_modules/blueimp-md5/LICENSE.txt +0 -20
  637. package/packages/core/node_modules/blueimp-md5/README.md +0 -134
  638. package/packages/core/node_modules/blueimp-md5/js/md5.js +0 -402
  639. package/packages/core/node_modules/blueimp-md5/js/md5.min.js +0 -2
  640. package/packages/core/node_modules/blueimp-md5/js/md5.min.js.map +0 -1
  641. package/packages/core/node_modules/blueimp-md5/package.json +0 -74
  642. package/packages/core/node_modules/body-parser/HISTORY.md +0 -680
  643. package/packages/core/node_modules/body-parser/LICENSE +0 -23
  644. package/packages/core/node_modules/body-parser/README.md +0 -476
  645. package/packages/core/node_modules/body-parser/index.js +0 -156
  646. package/packages/core/node_modules/body-parser/lib/read.js +0 -205
  647. package/packages/core/node_modules/body-parser/lib/types/json.js +0 -247
  648. package/packages/core/node_modules/body-parser/lib/types/raw.js +0 -101
  649. package/packages/core/node_modules/body-parser/lib/types/text.js +0 -121
  650. package/packages/core/node_modules/body-parser/lib/types/urlencoded.js +0 -300
  651. package/packages/core/node_modules/body-parser/package.json +0 -55
  652. package/packages/core/node_modules/bowser/CHANGELOG.md +0 -218
  653. package/packages/core/node_modules/bowser/LICENSE +0 -39
  654. package/packages/core/node_modules/bowser/README.md +0 -177
  655. package/packages/core/node_modules/bowser/bundled.js +0 -1
  656. package/packages/core/node_modules/bowser/es5.js +0 -1
  657. package/packages/core/node_modules/bowser/index.d.ts +0 -315
  658. package/packages/core/node_modules/bowser/package.json +0 -88
  659. package/packages/core/node_modules/bowser/src/bowser.js +0 -77
  660. package/packages/core/node_modules/bowser/src/constants.js +0 -169
  661. package/packages/core/node_modules/bowser/src/parser-browsers.js +0 -1094
  662. package/packages/core/node_modules/bowser/src/parser-engines.js +0 -120
  663. package/packages/core/node_modules/bowser/src/parser-os.js +0 -211
  664. package/packages/core/node_modules/bowser/src/parser-platforms.js +0 -524
  665. package/packages/core/node_modules/bowser/src/parser.js +0 -511
  666. package/packages/core/node_modules/bowser/src/utils.js +0 -327
  667. package/packages/core/node_modules/bytes/History.md +0 -97
  668. package/packages/core/node_modules/bytes/LICENSE +0 -23
  669. package/packages/core/node_modules/bytes/Readme.md +0 -152
  670. package/packages/core/node_modules/bytes/index.js +0 -170
  671. package/packages/core/node_modules/bytes/package.json +0 -42
  672. package/packages/core/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
  673. package/packages/core/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
  674. package/packages/core/node_modules/call-bind-apply-helpers/.nycrc +0 -9
  675. package/packages/core/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
  676. package/packages/core/node_modules/call-bind-apply-helpers/LICENSE +0 -21
  677. package/packages/core/node_modules/call-bind-apply-helpers/README.md +0 -62
  678. package/packages/core/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
  679. package/packages/core/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
  680. package/packages/core/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
  681. package/packages/core/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
  682. package/packages/core/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
  683. package/packages/core/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
  684. package/packages/core/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
  685. package/packages/core/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
  686. package/packages/core/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
  687. package/packages/core/node_modules/call-bind-apply-helpers/index.js +0 -15
  688. package/packages/core/node_modules/call-bind-apply-helpers/package.json +0 -85
  689. package/packages/core/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
  690. package/packages/core/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
  691. package/packages/core/node_modules/call-bind-apply-helpers/test/index.js +0 -63
  692. package/packages/core/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
  693. package/packages/core/node_modules/call-bound/.eslintrc +0 -13
  694. package/packages/core/node_modules/call-bound/.github/FUNDING.yml +0 -12
  695. package/packages/core/node_modules/call-bound/.nycrc +0 -9
  696. package/packages/core/node_modules/call-bound/CHANGELOG.md +0 -42
  697. package/packages/core/node_modules/call-bound/LICENSE +0 -21
  698. package/packages/core/node_modules/call-bound/README.md +0 -53
  699. package/packages/core/node_modules/call-bound/index.d.ts +0 -94
  700. package/packages/core/node_modules/call-bound/index.js +0 -19
  701. package/packages/core/node_modules/call-bound/package.json +0 -99
  702. package/packages/core/node_modules/call-bound/test/index.js +0 -61
  703. package/packages/core/node_modules/call-bound/tsconfig.json +0 -10
  704. package/packages/core/node_modules/content-disposition/HISTORY.md +0 -60
  705. package/packages/core/node_modules/content-disposition/LICENSE +0 -22
  706. package/packages/core/node_modules/content-disposition/README.md +0 -142
  707. package/packages/core/node_modules/content-disposition/index.js +0 -458
  708. package/packages/core/node_modules/content-disposition/package.json +0 -44
  709. package/packages/core/node_modules/content-type/HISTORY.md +0 -29
  710. package/packages/core/node_modules/content-type/LICENSE +0 -22
  711. package/packages/core/node_modules/content-type/README.md +0 -94
  712. package/packages/core/node_modules/content-type/index.js +0 -225
  713. package/packages/core/node_modules/content-type/package.json +0 -42
  714. package/packages/core/node_modules/cookie/LICENSE +0 -24
  715. package/packages/core/node_modules/cookie/README.md +0 -317
  716. package/packages/core/node_modules/cookie/SECURITY.md +0 -25
  717. package/packages/core/node_modules/cookie/index.js +0 -335
  718. package/packages/core/node_modules/cookie/package.json +0 -44
  719. package/packages/core/node_modules/cookie-signature/History.md +0 -42
  720. package/packages/core/node_modules/cookie-signature/Readme.md +0 -42
  721. package/packages/core/node_modules/cookie-signature/index.js +0 -51
  722. package/packages/core/node_modules/cookie-signature/package.json +0 -18
  723. package/packages/core/node_modules/cors/CONTRIBUTING.md +0 -33
  724. package/packages/core/node_modules/cors/HISTORY.md +0 -58
  725. package/packages/core/node_modules/cors/LICENSE +0 -22
  726. package/packages/core/node_modules/cors/README.md +0 -243
  727. package/packages/core/node_modules/cors/lib/index.js +0 -238
  728. package/packages/core/node_modules/cors/package.json +0 -41
  729. package/packages/core/node_modules/debug/.coveralls.yml +0 -1
  730. package/packages/core/node_modules/debug/.eslintrc +0 -11
  731. package/packages/core/node_modules/debug/.travis.yml +0 -14
  732. package/packages/core/node_modules/debug/CHANGELOG.md +0 -362
  733. package/packages/core/node_modules/debug/LICENSE +0 -19
  734. package/packages/core/node_modules/debug/Makefile +0 -50
  735. package/packages/core/node_modules/debug/README.md +0 -312
  736. package/packages/core/node_modules/debug/component.json +0 -19
  737. package/packages/core/node_modules/debug/karma.conf.js +0 -70
  738. package/packages/core/node_modules/debug/node.js +0 -1
  739. package/packages/core/node_modules/debug/package.json +0 -49
  740. package/packages/core/node_modules/debug/src/browser.js +0 -185
  741. package/packages/core/node_modules/debug/src/debug.js +0 -202
  742. package/packages/core/node_modules/debug/src/index.js +0 -10
  743. package/packages/core/node_modules/debug/src/inspector-log.js +0 -15
  744. package/packages/core/node_modules/debug/src/node.js +0 -248
  745. package/packages/core/node_modules/depd/History.md +0 -103
  746. package/packages/core/node_modules/depd/LICENSE +0 -22
  747. package/packages/core/node_modules/depd/Readme.md +0 -280
  748. package/packages/core/node_modules/depd/index.js +0 -538
  749. package/packages/core/node_modules/depd/lib/browser/index.js +0 -77
  750. package/packages/core/node_modules/depd/package.json +0 -45
  751. package/packages/core/node_modules/destroy/LICENSE +0 -23
  752. package/packages/core/node_modules/destroy/README.md +0 -63
  753. package/packages/core/node_modules/destroy/index.js +0 -209
  754. package/packages/core/node_modules/destroy/package.json +0 -48
  755. package/packages/core/node_modules/dunder-proto/.eslintrc +0 -5
  756. package/packages/core/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
  757. package/packages/core/node_modules/dunder-proto/.nycrc +0 -13
  758. package/packages/core/node_modules/dunder-proto/CHANGELOG.md +0 -24
  759. package/packages/core/node_modules/dunder-proto/LICENSE +0 -21
  760. package/packages/core/node_modules/dunder-proto/README.md +0 -54
  761. package/packages/core/node_modules/dunder-proto/get.d.ts +0 -5
  762. package/packages/core/node_modules/dunder-proto/get.js +0 -30
  763. package/packages/core/node_modules/dunder-proto/package.json +0 -76
  764. package/packages/core/node_modules/dunder-proto/set.d.ts +0 -5
  765. package/packages/core/node_modules/dunder-proto/set.js +0 -35
  766. package/packages/core/node_modules/dunder-proto/test/get.js +0 -34
  767. package/packages/core/node_modules/dunder-proto/test/index.js +0 -4
  768. package/packages/core/node_modules/dunder-proto/test/set.js +0 -50
  769. package/packages/core/node_modules/dunder-proto/tsconfig.json +0 -9
  770. package/packages/core/node_modules/ee-first/LICENSE +0 -22
  771. package/packages/core/node_modules/ee-first/README.md +0 -80
  772. package/packages/core/node_modules/ee-first/index.js +0 -95
  773. package/packages/core/node_modules/ee-first/package.json +0 -29
  774. package/packages/core/node_modules/encodeurl/LICENSE +0 -22
  775. package/packages/core/node_modules/encodeurl/README.md +0 -109
  776. package/packages/core/node_modules/encodeurl/index.js +0 -60
  777. package/packages/core/node_modules/encodeurl/package.json +0 -40
  778. package/packages/core/node_modules/es-define-property/.eslintrc +0 -13
  779. package/packages/core/node_modules/es-define-property/.github/FUNDING.yml +0 -12
  780. package/packages/core/node_modules/es-define-property/.nycrc +0 -9
  781. package/packages/core/node_modules/es-define-property/CHANGELOG.md +0 -29
  782. package/packages/core/node_modules/es-define-property/LICENSE +0 -21
  783. package/packages/core/node_modules/es-define-property/README.md +0 -49
  784. package/packages/core/node_modules/es-define-property/index.d.ts +0 -3
  785. package/packages/core/node_modules/es-define-property/index.js +0 -14
  786. package/packages/core/node_modules/es-define-property/package.json +0 -81
  787. package/packages/core/node_modules/es-define-property/test/index.js +0 -56
  788. package/packages/core/node_modules/es-define-property/tsconfig.json +0 -10
  789. package/packages/core/node_modules/es-errors/.eslintrc +0 -5
  790. package/packages/core/node_modules/es-errors/.github/FUNDING.yml +0 -12
  791. package/packages/core/node_modules/es-errors/CHANGELOG.md +0 -40
  792. package/packages/core/node_modules/es-errors/LICENSE +0 -21
  793. package/packages/core/node_modules/es-errors/README.md +0 -55
  794. package/packages/core/node_modules/es-errors/eval.d.ts +0 -3
  795. package/packages/core/node_modules/es-errors/eval.js +0 -4
  796. package/packages/core/node_modules/es-errors/index.d.ts +0 -3
  797. package/packages/core/node_modules/es-errors/index.js +0 -4
  798. package/packages/core/node_modules/es-errors/package.json +0 -80
  799. package/packages/core/node_modules/es-errors/range.d.ts +0 -3
  800. package/packages/core/node_modules/es-errors/range.js +0 -4
  801. package/packages/core/node_modules/es-errors/ref.d.ts +0 -3
  802. package/packages/core/node_modules/es-errors/ref.js +0 -4
  803. package/packages/core/node_modules/es-errors/syntax.d.ts +0 -3
  804. package/packages/core/node_modules/es-errors/syntax.js +0 -4
  805. package/packages/core/node_modules/es-errors/test/index.js +0 -19
  806. package/packages/core/node_modules/es-errors/tsconfig.json +0 -49
  807. package/packages/core/node_modules/es-errors/type.d.ts +0 -3
  808. package/packages/core/node_modules/es-errors/type.js +0 -4
  809. package/packages/core/node_modules/es-errors/uri.d.ts +0 -3
  810. package/packages/core/node_modules/es-errors/uri.js +0 -4
  811. package/packages/core/node_modules/es-object-atoms/.eslintrc +0 -16
  812. package/packages/core/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
  813. package/packages/core/node_modules/es-object-atoms/CHANGELOG.md +0 -37
  814. package/packages/core/node_modules/es-object-atoms/LICENSE +0 -21
  815. package/packages/core/node_modules/es-object-atoms/README.md +0 -63
  816. package/packages/core/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
  817. package/packages/core/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
  818. package/packages/core/node_modules/es-object-atoms/ToObject.d.ts +0 -7
  819. package/packages/core/node_modules/es-object-atoms/ToObject.js +0 -10
  820. package/packages/core/node_modules/es-object-atoms/index.d.ts +0 -3
  821. package/packages/core/node_modules/es-object-atoms/index.js +0 -4
  822. package/packages/core/node_modules/es-object-atoms/isObject.d.ts +0 -3
  823. package/packages/core/node_modules/es-object-atoms/isObject.js +0 -6
  824. package/packages/core/node_modules/es-object-atoms/package.json +0 -80
  825. package/packages/core/node_modules/es-object-atoms/test/index.js +0 -38
  826. package/packages/core/node_modules/es-object-atoms/tsconfig.json +0 -6
  827. package/packages/core/node_modules/escape-html/LICENSE +0 -24
  828. package/packages/core/node_modules/escape-html/Readme.md +0 -43
  829. package/packages/core/node_modules/escape-html/index.js +0 -78
  830. package/packages/core/node_modules/escape-html/package.json +0 -24
  831. package/packages/core/node_modules/etag/HISTORY.md +0 -83
  832. package/packages/core/node_modules/etag/LICENSE +0 -22
  833. package/packages/core/node_modules/etag/README.md +0 -159
  834. package/packages/core/node_modules/etag/index.js +0 -131
  835. package/packages/core/node_modules/etag/package.json +0 -47
  836. package/packages/core/node_modules/express/History.md +0 -3667
  837. package/packages/core/node_modules/express/LICENSE +0 -24
  838. package/packages/core/node_modules/express/Readme.md +0 -260
  839. package/packages/core/node_modules/express/index.js +0 -11
  840. package/packages/core/node_modules/express/lib/application.js +0 -661
  841. package/packages/core/node_modules/express/lib/express.js +0 -116
  842. package/packages/core/node_modules/express/lib/middleware/init.js +0 -43
  843. package/packages/core/node_modules/express/lib/middleware/query.js +0 -47
  844. package/packages/core/node_modules/express/lib/request.js +0 -525
  845. package/packages/core/node_modules/express/lib/response.js +0 -1179
  846. package/packages/core/node_modules/express/lib/router/index.js +0 -673
  847. package/packages/core/node_modules/express/lib/router/layer.js +0 -181
  848. package/packages/core/node_modules/express/lib/router/route.js +0 -230
  849. package/packages/core/node_modules/express/lib/utils.js +0 -303
  850. package/packages/core/node_modules/express/lib/view.js +0 -182
  851. package/packages/core/node_modules/express/package.json +0 -102
  852. package/packages/core/node_modules/fast-json-stable-stringify/.eslintrc.yml +0 -26
  853. package/packages/core/node_modules/fast-json-stable-stringify/.github/FUNDING.yml +0 -1
  854. package/packages/core/node_modules/fast-json-stable-stringify/.travis.yml +0 -8
  855. package/packages/core/node_modules/fast-json-stable-stringify/LICENSE +0 -21
  856. package/packages/core/node_modules/fast-json-stable-stringify/README.md +0 -131
  857. package/packages/core/node_modules/fast-json-stable-stringify/benchmark/index.js +0 -31
  858. package/packages/core/node_modules/fast-json-stable-stringify/benchmark/test.json +0 -137
  859. package/packages/core/node_modules/fast-json-stable-stringify/example/key_cmp.js +0 -7
  860. package/packages/core/node_modules/fast-json-stable-stringify/example/nested.js +0 -3
  861. package/packages/core/node_modules/fast-json-stable-stringify/example/str.js +0 -3
  862. package/packages/core/node_modules/fast-json-stable-stringify/example/value_cmp.js +0 -7
  863. package/packages/core/node_modules/fast-json-stable-stringify/index.d.ts +0 -4
  864. package/packages/core/node_modules/fast-json-stable-stringify/index.js +0 -59
  865. package/packages/core/node_modules/fast-json-stable-stringify/package.json +0 -52
  866. package/packages/core/node_modules/fast-json-stable-stringify/test/cmp.js +0 -13
  867. package/packages/core/node_modules/fast-json-stable-stringify/test/nested.js +0 -44
  868. package/packages/core/node_modules/fast-json-stable-stringify/test/str.js +0 -46
  869. package/packages/core/node_modules/fast-json-stable-stringify/test/to-json.js +0 -22
  870. package/packages/core/node_modules/finalhandler/HISTORY.md +0 -216
  871. package/packages/core/node_modules/finalhandler/LICENSE +0 -22
  872. package/packages/core/node_modules/finalhandler/README.md +0 -147
  873. package/packages/core/node_modules/finalhandler/SECURITY.md +0 -25
  874. package/packages/core/node_modules/finalhandler/index.js +0 -341
  875. package/packages/core/node_modules/finalhandler/package.json +0 -47
  876. package/packages/core/node_modules/forwarded/HISTORY.md +0 -21
  877. package/packages/core/node_modules/forwarded/LICENSE +0 -22
  878. package/packages/core/node_modules/forwarded/README.md +0 -57
  879. package/packages/core/node_modules/forwarded/index.js +0 -90
  880. package/packages/core/node_modules/forwarded/package.json +0 -45
  881. package/packages/core/node_modules/fresh/HISTORY.md +0 -70
  882. package/packages/core/node_modules/fresh/LICENSE +0 -23
  883. package/packages/core/node_modules/fresh/README.md +0 -119
  884. package/packages/core/node_modules/fresh/index.js +0 -137
  885. package/packages/core/node_modules/fresh/package.json +0 -46
  886. package/packages/core/node_modules/fs-extra/LICENSE +0 -15
  887. package/packages/core/node_modules/fs-extra/README.md +0 -262
  888. package/packages/core/node_modules/fs-extra/lib/copy/copy-sync.js +0 -169
  889. package/packages/core/node_modules/fs-extra/lib/copy/copy.js +0 -235
  890. package/packages/core/node_modules/fs-extra/lib/copy/index.js +0 -7
  891. package/packages/core/node_modules/fs-extra/lib/empty/index.js +0 -39
  892. package/packages/core/node_modules/fs-extra/lib/ensure/file.js +0 -69
  893. package/packages/core/node_modules/fs-extra/lib/ensure/index.js +0 -23
  894. package/packages/core/node_modules/fs-extra/lib/ensure/link.js +0 -64
  895. package/packages/core/node_modules/fs-extra/lib/ensure/symlink-paths.js +0 -99
  896. package/packages/core/node_modules/fs-extra/lib/ensure/symlink-type.js +0 -31
  897. package/packages/core/node_modules/fs-extra/lib/ensure/symlink.js +0 -82
  898. package/packages/core/node_modules/fs-extra/lib/fs/index.js +0 -128
  899. package/packages/core/node_modules/fs-extra/lib/index.js +0 -16
  900. package/packages/core/node_modules/fs-extra/lib/json/index.js +0 -16
  901. package/packages/core/node_modules/fs-extra/lib/json/jsonfile.js +0 -11
  902. package/packages/core/node_modules/fs-extra/lib/json/output-json-sync.js +0 -12
  903. package/packages/core/node_modules/fs-extra/lib/json/output-json.js +0 -12
  904. package/packages/core/node_modules/fs-extra/lib/mkdirs/index.js +0 -14
  905. package/packages/core/node_modules/fs-extra/lib/mkdirs/make-dir.js +0 -27
  906. package/packages/core/node_modules/fs-extra/lib/mkdirs/utils.js +0 -21
  907. package/packages/core/node_modules/fs-extra/lib/move/index.js +0 -7
  908. package/packages/core/node_modules/fs-extra/lib/move/move-sync.js +0 -54
  909. package/packages/core/node_modules/fs-extra/lib/move/move.js +0 -75
  910. package/packages/core/node_modules/fs-extra/lib/output-file/index.js +0 -40
  911. package/packages/core/node_modules/fs-extra/lib/path-exists/index.js +0 -12
  912. package/packages/core/node_modules/fs-extra/lib/remove/index.js +0 -22
  913. package/packages/core/node_modules/fs-extra/lib/remove/rimraf.js +0 -302
  914. package/packages/core/node_modules/fs-extra/lib/util/stat.js +0 -154
  915. package/packages/core/node_modules/fs-extra/lib/util/utimes.js +0 -26
  916. package/packages/core/node_modules/fs-extra/package.json +0 -67
  917. package/packages/core/node_modules/function-bind/.eslintrc +0 -21
  918. package/packages/core/node_modules/function-bind/.github/FUNDING.yml +0 -12
  919. package/packages/core/node_modules/function-bind/.github/SECURITY.md +0 -3
  920. package/packages/core/node_modules/function-bind/.nycrc +0 -13
  921. package/packages/core/node_modules/function-bind/CHANGELOG.md +0 -136
  922. package/packages/core/node_modules/function-bind/LICENSE +0 -20
  923. package/packages/core/node_modules/function-bind/README.md +0 -46
  924. package/packages/core/node_modules/function-bind/implementation.js +0 -84
  925. package/packages/core/node_modules/function-bind/index.js +0 -5
  926. package/packages/core/node_modules/function-bind/package.json +0 -87
  927. package/packages/core/node_modules/function-bind/test/.eslintrc +0 -9
  928. package/packages/core/node_modules/function-bind/test/index.js +0 -252
  929. package/packages/core/node_modules/get-intrinsic/.eslintrc +0 -42
  930. package/packages/core/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
  931. package/packages/core/node_modules/get-intrinsic/.nycrc +0 -9
  932. package/packages/core/node_modules/get-intrinsic/CHANGELOG.md +0 -186
  933. package/packages/core/node_modules/get-intrinsic/LICENSE +0 -21
  934. package/packages/core/node_modules/get-intrinsic/README.md +0 -71
  935. package/packages/core/node_modules/get-intrinsic/index.js +0 -378
  936. package/packages/core/node_modules/get-intrinsic/package.json +0 -97
  937. package/packages/core/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
  938. package/packages/core/node_modules/get-proto/.eslintrc +0 -10
  939. package/packages/core/node_modules/get-proto/.github/FUNDING.yml +0 -12
  940. package/packages/core/node_modules/get-proto/.nycrc +0 -9
  941. package/packages/core/node_modules/get-proto/CHANGELOG.md +0 -21
  942. package/packages/core/node_modules/get-proto/LICENSE +0 -21
  943. package/packages/core/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
  944. package/packages/core/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
  945. package/packages/core/node_modules/get-proto/README.md +0 -50
  946. package/packages/core/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
  947. package/packages/core/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
  948. package/packages/core/node_modules/get-proto/index.d.ts +0 -5
  949. package/packages/core/node_modules/get-proto/index.js +0 -27
  950. package/packages/core/node_modules/get-proto/package.json +0 -81
  951. package/packages/core/node_modules/get-proto/test/index.js +0 -68
  952. package/packages/core/node_modules/get-proto/tsconfig.json +0 -9
  953. package/packages/core/node_modules/gopd/.eslintrc +0 -16
  954. package/packages/core/node_modules/gopd/.github/FUNDING.yml +0 -12
  955. package/packages/core/node_modules/gopd/CHANGELOG.md +0 -45
  956. package/packages/core/node_modules/gopd/LICENSE +0 -21
  957. package/packages/core/node_modules/gopd/README.md +0 -40
  958. package/packages/core/node_modules/gopd/gOPD.d.ts +0 -1
  959. package/packages/core/node_modules/gopd/gOPD.js +0 -4
  960. package/packages/core/node_modules/gopd/index.d.ts +0 -5
  961. package/packages/core/node_modules/gopd/index.js +0 -15
  962. package/packages/core/node_modules/gopd/package.json +0 -77
  963. package/packages/core/node_modules/gopd/test/index.js +0 -36
  964. package/packages/core/node_modules/gopd/tsconfig.json +0 -9
  965. package/packages/core/node_modules/graceful-fs/LICENSE +0 -15
  966. package/packages/core/node_modules/graceful-fs/README.md +0 -143
  967. package/packages/core/node_modules/graceful-fs/clone.js +0 -23
  968. package/packages/core/node_modules/graceful-fs/graceful-fs.js +0 -448
  969. package/packages/core/node_modules/graceful-fs/legacy-streams.js +0 -118
  970. package/packages/core/node_modules/graceful-fs/package.json +0 -53
  971. package/packages/core/node_modules/graceful-fs/polyfills.js +0 -355
  972. package/packages/core/node_modules/has-symbols/.eslintrc +0 -11
  973. package/packages/core/node_modules/has-symbols/.github/FUNDING.yml +0 -12
  974. package/packages/core/node_modules/has-symbols/.nycrc +0 -9
  975. package/packages/core/node_modules/has-symbols/CHANGELOG.md +0 -91
  976. package/packages/core/node_modules/has-symbols/LICENSE +0 -21
  977. package/packages/core/node_modules/has-symbols/README.md +0 -46
  978. package/packages/core/node_modules/has-symbols/index.d.ts +0 -3
  979. package/packages/core/node_modules/has-symbols/index.js +0 -14
  980. package/packages/core/node_modules/has-symbols/package.json +0 -111
  981. package/packages/core/node_modules/has-symbols/shams.d.ts +0 -3
  982. package/packages/core/node_modules/has-symbols/shams.js +0 -45
  983. package/packages/core/node_modules/has-symbols/test/index.js +0 -22
  984. package/packages/core/node_modules/has-symbols/test/shams/core-js.js +0 -29
  985. package/packages/core/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
  986. package/packages/core/node_modules/has-symbols/test/tests.js +0 -58
  987. package/packages/core/node_modules/has-symbols/tsconfig.json +0 -10
  988. package/packages/core/node_modules/hasown/.eslintrc +0 -5
  989. package/packages/core/node_modules/hasown/.github/FUNDING.yml +0 -12
  990. package/packages/core/node_modules/hasown/.nycrc +0 -13
  991. package/packages/core/node_modules/hasown/CHANGELOG.md +0 -40
  992. package/packages/core/node_modules/hasown/LICENSE +0 -21
  993. package/packages/core/node_modules/hasown/README.md +0 -40
  994. package/packages/core/node_modules/hasown/index.d.ts +0 -3
  995. package/packages/core/node_modules/hasown/index.js +0 -8
  996. package/packages/core/node_modules/hasown/package.json +0 -92
  997. package/packages/core/node_modules/hasown/tsconfig.json +0 -6
  998. package/packages/core/node_modules/http-errors/HISTORY.md +0 -186
  999. package/packages/core/node_modules/http-errors/LICENSE +0 -23
  1000. package/packages/core/node_modules/http-errors/README.md +0 -169
  1001. package/packages/core/node_modules/http-errors/index.js +0 -290
  1002. package/packages/core/node_modules/http-errors/package.json +0 -54
  1003. package/packages/core/node_modules/http-graceful-shutdown/LICENSE +0 -20
  1004. package/packages/core/node_modules/http-graceful-shutdown/README.md +0 -397
  1005. package/packages/core/node_modules/http-graceful-shutdown/lib/index.d.ts +0 -24
  1006. package/packages/core/node_modules/http-graceful-shutdown/lib/index.js +0 -311
  1007. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/LICENSE +0 -20
  1008. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/README.md +0 -481
  1009. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/package.json +0 -64
  1010. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/src/browser.js +0 -272
  1011. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/src/common.js +0 -292
  1012. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/src/index.js +0 -10
  1013. package/packages/core/node_modules/http-graceful-shutdown/node_modules/debug/src/node.js +0 -263
  1014. package/packages/core/node_modules/http-graceful-shutdown/node_modules/ms/index.js +0 -162
  1015. package/packages/core/node_modules/http-graceful-shutdown/node_modules/ms/license.md +0 -21
  1016. package/packages/core/node_modules/http-graceful-shutdown/node_modules/ms/package.json +0 -38
  1017. package/packages/core/node_modules/http-graceful-shutdown/node_modules/ms/readme.md +0 -59
  1018. package/packages/core/node_modules/http-graceful-shutdown/package.json +0 -47
  1019. package/packages/core/node_modules/iconv-lite/Changelog.md +0 -162
  1020. package/packages/core/node_modules/iconv-lite/LICENSE +0 -21
  1021. package/packages/core/node_modules/iconv-lite/README.md +0 -156
  1022. package/packages/core/node_modules/iconv-lite/encodings/dbcs-codec.js +0 -555
  1023. package/packages/core/node_modules/iconv-lite/encodings/dbcs-data.js +0 -176
  1024. package/packages/core/node_modules/iconv-lite/encodings/index.js +0 -22
  1025. package/packages/core/node_modules/iconv-lite/encodings/internal.js +0 -188
  1026. package/packages/core/node_modules/iconv-lite/encodings/sbcs-codec.js +0 -72
  1027. package/packages/core/node_modules/iconv-lite/encodings/sbcs-data-generated.js +0 -451
  1028. package/packages/core/node_modules/iconv-lite/encodings/sbcs-data.js +0 -174
  1029. package/packages/core/node_modules/iconv-lite/encodings/tables/big5-added.json +0 -122
  1030. package/packages/core/node_modules/iconv-lite/encodings/tables/cp936.json +0 -264
  1031. package/packages/core/node_modules/iconv-lite/encodings/tables/cp949.json +0 -273
  1032. package/packages/core/node_modules/iconv-lite/encodings/tables/cp950.json +0 -177
  1033. package/packages/core/node_modules/iconv-lite/encodings/tables/eucjp.json +0 -182
  1034. package/packages/core/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +0 -1
  1035. package/packages/core/node_modules/iconv-lite/encodings/tables/gbk-added.json +0 -55
  1036. package/packages/core/node_modules/iconv-lite/encodings/tables/shiftjis.json +0 -125
  1037. package/packages/core/node_modules/iconv-lite/encodings/utf16.js +0 -177
  1038. package/packages/core/node_modules/iconv-lite/encodings/utf7.js +0 -290
  1039. package/packages/core/node_modules/iconv-lite/lib/bom-handling.js +0 -52
  1040. package/packages/core/node_modules/iconv-lite/lib/extend-node.js +0 -217
  1041. package/packages/core/node_modules/iconv-lite/lib/index.d.ts +0 -24
  1042. package/packages/core/node_modules/iconv-lite/lib/index.js +0 -153
  1043. package/packages/core/node_modules/iconv-lite/lib/streams.js +0 -121
  1044. package/packages/core/node_modules/iconv-lite/package.json +0 -46
  1045. package/packages/core/node_modules/inherits/LICENSE +0 -16
  1046. package/packages/core/node_modules/inherits/README.md +0 -42
  1047. package/packages/core/node_modules/inherits/inherits.js +0 -9
  1048. package/packages/core/node_modules/inherits/inherits_browser.js +0 -27
  1049. package/packages/core/node_modules/inherits/package.json +0 -29
  1050. package/packages/core/node_modules/ipaddr.js/LICENSE +0 -19
  1051. package/packages/core/node_modules/ipaddr.js/README.md +0 -233
  1052. package/packages/core/node_modules/ipaddr.js/ipaddr.min.js +0 -1
  1053. package/packages/core/node_modules/ipaddr.js/lib/ipaddr.js +0 -673
  1054. package/packages/core/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -68
  1055. package/packages/core/node_modules/ipaddr.js/package.json +0 -35
  1056. package/packages/core/node_modules/is-absolute-url/index.d.ts +0 -22
  1057. package/packages/core/node_modules/is-absolute-url/index.js +0 -16
  1058. package/packages/core/node_modules/is-absolute-url/license +0 -9
  1059. package/packages/core/node_modules/is-absolute-url/package.json +0 -35
  1060. package/packages/core/node_modules/is-absolute-url/readme.md +0 -44
  1061. package/packages/core/node_modules/json-stringify-safe/CHANGELOG.md +0 -14
  1062. package/packages/core/node_modules/json-stringify-safe/LICENSE +0 -15
  1063. package/packages/core/node_modules/json-stringify-safe/Makefile +0 -35
  1064. package/packages/core/node_modules/json-stringify-safe/README.md +0 -52
  1065. package/packages/core/node_modules/json-stringify-safe/package.json +0 -31
  1066. package/packages/core/node_modules/json-stringify-safe/stringify.js +0 -27
  1067. package/packages/core/node_modules/json-stringify-safe/test/mocha.opts +0 -2
  1068. package/packages/core/node_modules/json-stringify-safe/test/stringify_test.js +0 -246
  1069. package/packages/core/node_modules/jsonfile/LICENSE +0 -15
  1070. package/packages/core/node_modules/jsonfile/README.md +0 -230
  1071. package/packages/core/node_modules/jsonfile/index.js +0 -88
  1072. package/packages/core/node_modules/jsonfile/package.json +0 -40
  1073. package/packages/core/node_modules/jsonfile/utils.js +0 -14
  1074. package/packages/core/node_modules/lodash-es/LICENSE +0 -47
  1075. package/packages/core/node_modules/lodash-es/README.md +0 -10
  1076. package/packages/core/node_modules/lodash-es/_DataView.js +0 -7
  1077. package/packages/core/node_modules/lodash-es/_Hash.js +0 -32
  1078. package/packages/core/node_modules/lodash-es/_LazyWrapper.js +0 -28
  1079. package/packages/core/node_modules/lodash-es/_ListCache.js +0 -32
  1080. package/packages/core/node_modules/lodash-es/_LodashWrapper.js +0 -22
  1081. package/packages/core/node_modules/lodash-es/_Map.js +0 -7
  1082. package/packages/core/node_modules/lodash-es/_MapCache.js +0 -32
  1083. package/packages/core/node_modules/lodash-es/_Promise.js +0 -7
  1084. package/packages/core/node_modules/lodash-es/_Set.js +0 -7
  1085. package/packages/core/node_modules/lodash-es/_SetCache.js +0 -27
  1086. package/packages/core/node_modules/lodash-es/_Stack.js +0 -27
  1087. package/packages/core/node_modules/lodash-es/_Symbol.js +0 -6
  1088. package/packages/core/node_modules/lodash-es/_Uint8Array.js +0 -6
  1089. package/packages/core/node_modules/lodash-es/_WeakMap.js +0 -7
  1090. package/packages/core/node_modules/lodash-es/_addMapEntry.js +0 -15
  1091. package/packages/core/node_modules/lodash-es/_addSetEntry.js +0 -15
  1092. package/packages/core/node_modules/lodash-es/_apply.js +0 -21
  1093. package/packages/core/node_modules/lodash-es/_arrayAggregator.js +0 -22
  1094. package/packages/core/node_modules/lodash-es/_arrayEach.js +0 -22
  1095. package/packages/core/node_modules/lodash-es/_arrayEachRight.js +0 -21
  1096. package/packages/core/node_modules/lodash-es/_arrayEvery.js +0 -23
  1097. package/packages/core/node_modules/lodash-es/_arrayFilter.js +0 -25
  1098. package/packages/core/node_modules/lodash-es/_arrayIncludes.js +0 -17
  1099. package/packages/core/node_modules/lodash-es/_arrayIncludesWith.js +0 -22
  1100. package/packages/core/node_modules/lodash-es/_arrayLikeKeys.js +0 -49
  1101. package/packages/core/node_modules/lodash-es/_arrayMap.js +0 -21
  1102. package/packages/core/node_modules/lodash-es/_arrayPush.js +0 -20
  1103. package/packages/core/node_modules/lodash-es/_arrayReduce.js +0 -26
  1104. package/packages/core/node_modules/lodash-es/_arrayReduceRight.js +0 -24
  1105. package/packages/core/node_modules/lodash-es/_arraySample.js +0 -15
  1106. package/packages/core/node_modules/lodash-es/_arraySampleSize.js +0 -17
  1107. package/packages/core/node_modules/lodash-es/_arrayShuffle.js +0 -15
  1108. package/packages/core/node_modules/lodash-es/_arraySome.js +0 -23
  1109. package/packages/core/node_modules/lodash-es/_asciiSize.js +0 -12
  1110. package/packages/core/node_modules/lodash-es/_asciiToArray.js +0 -12
  1111. package/packages/core/node_modules/lodash-es/_asciiWords.js +0 -15
  1112. package/packages/core/node_modules/lodash-es/_assignMergeValue.js +0 -20
  1113. package/packages/core/node_modules/lodash-es/_assignValue.js +0 -28
  1114. package/packages/core/node_modules/lodash-es/_assocIndexOf.js +0 -21
  1115. package/packages/core/node_modules/lodash-es/_baseAggregator.js +0 -21
  1116. package/packages/core/node_modules/lodash-es/_baseAssign.js +0 -17
  1117. package/packages/core/node_modules/lodash-es/_baseAssignIn.js +0 -17
  1118. package/packages/core/node_modules/lodash-es/_baseAssignValue.js +0 -25
  1119. package/packages/core/node_modules/lodash-es/_baseAt.js +0 -23
  1120. package/packages/core/node_modules/lodash-es/_baseClamp.js +0 -22
  1121. package/packages/core/node_modules/lodash-es/_baseClone.js +0 -166
  1122. package/packages/core/node_modules/lodash-es/_baseConforms.js +0 -18
  1123. package/packages/core/node_modules/lodash-es/_baseConformsTo.js +0 -27
  1124. package/packages/core/node_modules/lodash-es/_baseCreate.js +0 -30
  1125. package/packages/core/node_modules/lodash-es/_baseDelay.js +0 -21
  1126. package/packages/core/node_modules/lodash-es/_baseDifference.js +0 -67
  1127. package/packages/core/node_modules/lodash-es/_baseEach.js +0 -14
  1128. package/packages/core/node_modules/lodash-es/_baseEachRight.js +0 -14
  1129. package/packages/core/node_modules/lodash-es/_baseEvery.js +0 -21
  1130. package/packages/core/node_modules/lodash-es/_baseExtremum.js +0 -32
  1131. package/packages/core/node_modules/lodash-es/_baseFill.js +0 -32
  1132. package/packages/core/node_modules/lodash-es/_baseFilter.js +0 -21
  1133. package/packages/core/node_modules/lodash-es/_baseFindIndex.js +0 -24
  1134. package/packages/core/node_modules/lodash-es/_baseFindKey.js +0 -23
  1135. package/packages/core/node_modules/lodash-es/_baseFlatten.js +0 -38
  1136. package/packages/core/node_modules/lodash-es/_baseFor.js +0 -16
  1137. package/packages/core/node_modules/lodash-es/_baseForOwn.js +0 -16
  1138. package/packages/core/node_modules/lodash-es/_baseForOwnRight.js +0 -16
  1139. package/packages/core/node_modules/lodash-es/_baseForRight.js +0 -15
  1140. package/packages/core/node_modules/lodash-es/_baseFunctions.js +0 -19
  1141. package/packages/core/node_modules/lodash-es/_baseGet.js +0 -24
  1142. package/packages/core/node_modules/lodash-es/_baseGetAllKeys.js +0 -20
  1143. package/packages/core/node_modules/lodash-es/_baseGetTag.js +0 -28
  1144. package/packages/core/node_modules/lodash-es/_baseGt.js +0 -14
  1145. package/packages/core/node_modules/lodash-es/_baseHas.js +0 -19
  1146. package/packages/core/node_modules/lodash-es/_baseHasIn.js +0 -13
  1147. package/packages/core/node_modules/lodash-es/_baseInRange.js +0 -18
  1148. package/packages/core/node_modules/lodash-es/_baseIndexOf.js +0 -20
  1149. package/packages/core/node_modules/lodash-es/_baseIndexOfWith.js +0 -23
  1150. package/packages/core/node_modules/lodash-es/_baseIntersection.js +0 -74
  1151. package/packages/core/node_modules/lodash-es/_baseInverter.js +0 -21
  1152. package/packages/core/node_modules/lodash-es/_baseInvoke.js +0 -24
  1153. package/packages/core/node_modules/lodash-es/_baseIsArguments.js +0 -18
  1154. package/packages/core/node_modules/lodash-es/_baseIsArrayBuffer.js +0 -17
  1155. package/packages/core/node_modules/lodash-es/_baseIsDate.js +0 -18
  1156. package/packages/core/node_modules/lodash-es/_baseIsEqual.js +0 -28
  1157. package/packages/core/node_modules/lodash-es/_baseIsEqualDeep.js +0 -83
  1158. package/packages/core/node_modules/lodash-es/_baseIsMap.js +0 -18
  1159. package/packages/core/node_modules/lodash-es/_baseIsMatch.js +0 -62
  1160. package/packages/core/node_modules/lodash-es/_baseIsNaN.js +0 -12
  1161. package/packages/core/node_modules/lodash-es/_baseIsNative.js +0 -47
  1162. package/packages/core/node_modules/lodash-es/_baseIsRegExp.js +0 -18
  1163. package/packages/core/node_modules/lodash-es/_baseIsSet.js +0 -18
  1164. package/packages/core/node_modules/lodash-es/_baseIsTypedArray.js +0 -60
  1165. package/packages/core/node_modules/lodash-es/_baseIteratee.js +0 -31
  1166. package/packages/core/node_modules/lodash-es/_baseKeys.js +0 -30
  1167. package/packages/core/node_modules/lodash-es/_baseKeysIn.js +0 -33
  1168. package/packages/core/node_modules/lodash-es/_baseLodash.js +0 -10
  1169. package/packages/core/node_modules/lodash-es/_baseLt.js +0 -14
  1170. package/packages/core/node_modules/lodash-es/_baseMap.js +0 -22
  1171. package/packages/core/node_modules/lodash-es/_baseMatches.js +0 -22
  1172. package/packages/core/node_modules/lodash-es/_baseMatchesProperty.js +0 -33
  1173. package/packages/core/node_modules/lodash-es/_baseMean.js +0 -20
  1174. package/packages/core/node_modules/lodash-es/_baseMerge.js +0 -42
  1175. package/packages/core/node_modules/lodash-es/_baseMergeDeep.js +0 -94
  1176. package/packages/core/node_modules/lodash-es/_baseNth.js +0 -20
  1177. package/packages/core/node_modules/lodash-es/_baseOrderBy.js +0 -49
  1178. package/packages/core/node_modules/lodash-es/_basePick.js +0 -19
  1179. package/packages/core/node_modules/lodash-es/_basePickBy.js +0 -30
  1180. package/packages/core/node_modules/lodash-es/_baseProperty.js +0 -14
  1181. package/packages/core/node_modules/lodash-es/_basePropertyDeep.js +0 -16
  1182. package/packages/core/node_modules/lodash-es/_basePropertyOf.js +0 -14
  1183. package/packages/core/node_modules/lodash-es/_basePullAll.js +0 -51
  1184. package/packages/core/node_modules/lodash-es/_basePullAt.js +0 -37
  1185. package/packages/core/node_modules/lodash-es/_baseRandom.js +0 -18
  1186. package/packages/core/node_modules/lodash-es/_baseRange.js +0 -28
  1187. package/packages/core/node_modules/lodash-es/_baseReduce.js +0 -23
  1188. package/packages/core/node_modules/lodash-es/_baseRepeat.js +0 -35
  1189. package/packages/core/node_modules/lodash-es/_baseRest.js +0 -17
  1190. package/packages/core/node_modules/lodash-es/_baseSample.js +0 -15
  1191. package/packages/core/node_modules/lodash-es/_baseSampleSize.js +0 -18
  1192. package/packages/core/node_modules/lodash-es/_baseSet.js +0 -51
  1193. package/packages/core/node_modules/lodash-es/_baseSetData.js +0 -17
  1194. package/packages/core/node_modules/lodash-es/_baseSetToString.js +0 -22
  1195. package/packages/core/node_modules/lodash-es/_baseShuffle.js +0 -15
  1196. package/packages/core/node_modules/lodash-es/_baseSlice.js +0 -31
  1197. package/packages/core/node_modules/lodash-es/_baseSome.js +0 -22
  1198. package/packages/core/node_modules/lodash-es/_baseSortBy.js +0 -21
  1199. package/packages/core/node_modules/lodash-es/_baseSortedIndex.js +0 -42
  1200. package/packages/core/node_modules/lodash-es/_baseSortedIndexBy.js +0 -67
  1201. package/packages/core/node_modules/lodash-es/_baseSortedUniq.js +0 -30
  1202. package/packages/core/node_modules/lodash-es/_baseSum.js +0 -24
  1203. package/packages/core/node_modules/lodash-es/_baseTimes.js +0 -20
  1204. package/packages/core/node_modules/lodash-es/_baseToNumber.js +0 -24
  1205. package/packages/core/node_modules/lodash-es/_baseToPairs.js +0 -18
  1206. package/packages/core/node_modules/lodash-es/_baseToString.js +0 -37
  1207. package/packages/core/node_modules/lodash-es/_baseTrim.js +0 -19
  1208. package/packages/core/node_modules/lodash-es/_baseUnary.js +0 -14
  1209. package/packages/core/node_modules/lodash-es/_baseUniq.js +0 -72
  1210. package/packages/core/node_modules/lodash-es/_baseUnset.js +0 -65
  1211. package/packages/core/node_modules/lodash-es/_baseUpdate.js +0 -18
  1212. package/packages/core/node_modules/lodash-es/_baseValues.js +0 -19
  1213. package/packages/core/node_modules/lodash-es/_baseWhile.js +0 -26
  1214. package/packages/core/node_modules/lodash-es/_baseWrapperValue.js +0 -25
  1215. package/packages/core/node_modules/lodash-es/_baseXor.js +0 -36
  1216. package/packages/core/node_modules/lodash-es/_baseZipObject.js +0 -23
  1217. package/packages/core/node_modules/lodash-es/_cacheHas.js +0 -13
  1218. package/packages/core/node_modules/lodash-es/_castArrayLikeObject.js +0 -14
  1219. package/packages/core/node_modules/lodash-es/_castFunction.js +0 -14
  1220. package/packages/core/node_modules/lodash-es/_castPath.js +0 -21
  1221. package/packages/core/node_modules/lodash-es/_castRest.js +0 -14
  1222. package/packages/core/node_modules/lodash-es/_castSlice.js +0 -18
  1223. package/packages/core/node_modules/lodash-es/_charsEndIndex.js +0 -19
  1224. package/packages/core/node_modules/lodash-es/_charsStartIndex.js +0 -20
  1225. package/packages/core/node_modules/lodash-es/_cloneArrayBuffer.js +0 -16
  1226. package/packages/core/node_modules/lodash-es/_cloneBuffer.js +0 -35
  1227. package/packages/core/node_modules/lodash-es/_cloneDataView.js +0 -16
  1228. package/packages/core/node_modules/lodash-es/_cloneMap.js +0 -22
  1229. package/packages/core/node_modules/lodash-es/_cloneRegExp.js +0 -17
  1230. package/packages/core/node_modules/lodash-es/_cloneSet.js +0 -22
  1231. package/packages/core/node_modules/lodash-es/_cloneSymbol.js +0 -18
  1232. package/packages/core/node_modules/lodash-es/_cloneTypedArray.js +0 -16
  1233. package/packages/core/node_modules/lodash-es/_compareAscending.js +0 -41
  1234. package/packages/core/node_modules/lodash-es/_compareMultiple.js +0 -44
  1235. package/packages/core/node_modules/lodash-es/_composeArgs.js +0 -39
  1236. package/packages/core/node_modules/lodash-es/_composeArgsRight.js +0 -41
  1237. package/packages/core/node_modules/lodash-es/_copyArray.js +0 -20
  1238. package/packages/core/node_modules/lodash-es/_copyObject.js +0 -40
  1239. package/packages/core/node_modules/lodash-es/_copySymbols.js +0 -16
  1240. package/packages/core/node_modules/lodash-es/_copySymbolsIn.js +0 -16
  1241. package/packages/core/node_modules/lodash-es/_coreJsData.js +0 -6
  1242. package/packages/core/node_modules/lodash-es/_countHolders.js +0 -21
  1243. package/packages/core/node_modules/lodash-es/_createAggregator.js +0 -23
  1244. package/packages/core/node_modules/lodash-es/_createAssigner.js +0 -37
  1245. package/packages/core/node_modules/lodash-es/_createBaseEach.js +0 -32
  1246. package/packages/core/node_modules/lodash-es/_createBaseFor.js +0 -25
  1247. package/packages/core/node_modules/lodash-es/_createBind.js +0 -28
  1248. package/packages/core/node_modules/lodash-es/_createCaseFirst.js +0 -33
  1249. package/packages/core/node_modules/lodash-es/_createCompounder.js +0 -24
  1250. package/packages/core/node_modules/lodash-es/_createCtor.js +0 -37
  1251. package/packages/core/node_modules/lodash-es/_createCurry.js +0 -46
  1252. package/packages/core/node_modules/lodash-es/_createFind.js +0 -25
  1253. package/packages/core/node_modules/lodash-es/_createFlow.js +0 -78
  1254. package/packages/core/node_modules/lodash-es/_createHybrid.js +0 -92
  1255. package/packages/core/node_modules/lodash-es/_createInverter.js +0 -17
  1256. package/packages/core/node_modules/lodash-es/_createMathOperation.js +0 -38
  1257. package/packages/core/node_modules/lodash-es/_createOver.js +0 -27
  1258. package/packages/core/node_modules/lodash-es/_createPadding.js +0 -33
  1259. package/packages/core/node_modules/lodash-es/_createPartial.js +0 -43
  1260. package/packages/core/node_modules/lodash-es/_createRange.js +0 -30
  1261. package/packages/core/node_modules/lodash-es/_createRecurry.js +0 -56
  1262. package/packages/core/node_modules/lodash-es/_createRelationalOperation.js +0 -20
  1263. package/packages/core/node_modules/lodash-es/_createRound.js +0 -35
  1264. package/packages/core/node_modules/lodash-es/_createSet.js +0 -19
  1265. package/packages/core/node_modules/lodash-es/_createToPairs.js +0 -30
  1266. package/packages/core/node_modules/lodash-es/_createWrap.js +0 -106
  1267. package/packages/core/node_modules/lodash-es/_customDefaultsAssignIn.js +0 -29
  1268. package/packages/core/node_modules/lodash-es/_customDefaultsMerge.js +0 -28
  1269. package/packages/core/node_modules/lodash-es/_customOmitClone.js +0 -16
  1270. package/packages/core/node_modules/lodash-es/_deburrLetter.js +0 -71
  1271. package/packages/core/node_modules/lodash-es/_defineProperty.js +0 -11
  1272. package/packages/core/node_modules/lodash-es/_equalArrays.js +0 -84
  1273. package/packages/core/node_modules/lodash-es/_equalByTag.js +0 -112
  1274. package/packages/core/node_modules/lodash-es/_equalObjects.js +0 -90
  1275. package/packages/core/node_modules/lodash-es/_escapeHtmlChar.js +0 -21
  1276. package/packages/core/node_modules/lodash-es/_escapeStringChar.js +0 -22
  1277. package/packages/core/node_modules/lodash-es/_flatRest.js +0 -16
  1278. package/packages/core/node_modules/lodash-es/_freeGlobal.js +0 -4
  1279. package/packages/core/node_modules/lodash-es/_getAllKeys.js +0 -16
  1280. package/packages/core/node_modules/lodash-es/_getAllKeysIn.js +0 -17
  1281. package/packages/core/node_modules/lodash-es/_getData.js +0 -15
  1282. package/packages/core/node_modules/lodash-es/_getFuncName.js +0 -31
  1283. package/packages/core/node_modules/lodash-es/_getHolder.js +0 -13
  1284. package/packages/core/node_modules/lodash-es/_getMapData.js +0 -18
  1285. package/packages/core/node_modules/lodash-es/_getMatchData.js +0 -24
  1286. package/packages/core/node_modules/lodash-es/_getNative.js +0 -17
  1287. package/packages/core/node_modules/lodash-es/_getPrototype.js +0 -6
  1288. package/packages/core/node_modules/lodash-es/_getRawTag.js +0 -46
  1289. package/packages/core/node_modules/lodash-es/_getSymbols.js +0 -30
  1290. package/packages/core/node_modules/lodash-es/_getSymbolsIn.js +0 -25
  1291. package/packages/core/node_modules/lodash-es/_getTag.js +0 -58
  1292. package/packages/core/node_modules/lodash-es/_getValue.js +0 -13
  1293. package/packages/core/node_modules/lodash-es/_getView.js +0 -33
  1294. package/packages/core/node_modules/lodash-es/_getWrapDetails.js +0 -17
  1295. package/packages/core/node_modules/lodash-es/_hasPath.js +0 -39
  1296. package/packages/core/node_modules/lodash-es/_hasUnicode.js +0 -26
  1297. package/packages/core/node_modules/lodash-es/_hasUnicodeWord.js +0 -15
  1298. package/packages/core/node_modules/lodash-es/_hashClear.js +0 -15
  1299. package/packages/core/node_modules/lodash-es/_hashDelete.js +0 -17
  1300. package/packages/core/node_modules/lodash-es/_hashGet.js +0 -30
  1301. package/packages/core/node_modules/lodash-es/_hashHas.js +0 -23
  1302. package/packages/core/node_modules/lodash-es/_hashSet.js +0 -23
  1303. package/packages/core/node_modules/lodash-es/_initCloneArray.js +0 -26
  1304. package/packages/core/node_modules/lodash-es/_initCloneByTag.js +0 -77
  1305. package/packages/core/node_modules/lodash-es/_initCloneObject.js +0 -18
  1306. package/packages/core/node_modules/lodash-es/_insertWrapDetails.js +0 -23
  1307. package/packages/core/node_modules/lodash-es/_isFlattenable.js +0 -20
  1308. package/packages/core/node_modules/lodash-es/_isIndex.js +0 -25
  1309. package/packages/core/node_modules/lodash-es/_isIterateeCall.js +0 -30
  1310. package/packages/core/node_modules/lodash-es/_isKey.js +0 -29
  1311. package/packages/core/node_modules/lodash-es/_isKeyable.js +0 -15
  1312. package/packages/core/node_modules/lodash-es/_isLaziable.js +0 -28
  1313. package/packages/core/node_modules/lodash-es/_isMaskable.js +0 -14
  1314. package/packages/core/node_modules/lodash-es/_isMasked.js +0 -20
  1315. package/packages/core/node_modules/lodash-es/_isPrototype.js +0 -18
  1316. package/packages/core/node_modules/lodash-es/_isStrictComparable.js +0 -15
  1317. package/packages/core/node_modules/lodash-es/_iteratorToArray.js +0 -18
  1318. package/packages/core/node_modules/lodash-es/_lazyClone.js +0 -23
  1319. package/packages/core/node_modules/lodash-es/_lazyReverse.js +0 -23
  1320. package/packages/core/node_modules/lodash-es/_lazyValue.js +0 -69
  1321. package/packages/core/node_modules/lodash-es/_listCacheClear.js +0 -13
  1322. package/packages/core/node_modules/lodash-es/_listCacheDelete.js +0 -35
  1323. package/packages/core/node_modules/lodash-es/_listCacheGet.js +0 -19
  1324. package/packages/core/node_modules/lodash-es/_listCacheHas.js +0 -16
  1325. package/packages/core/node_modules/lodash-es/_listCacheSet.js +0 -26
  1326. package/packages/core/node_modules/lodash-es/_mapCacheClear.js +0 -21
  1327. package/packages/core/node_modules/lodash-es/_mapCacheDelete.js +0 -18
  1328. package/packages/core/node_modules/lodash-es/_mapCacheGet.js +0 -16
  1329. package/packages/core/node_modules/lodash-es/_mapCacheHas.js +0 -16
  1330. package/packages/core/node_modules/lodash-es/_mapCacheSet.js +0 -22
  1331. package/packages/core/node_modules/lodash-es/_mapToArray.js +0 -18
  1332. package/packages/core/node_modules/lodash-es/_matchesStrictComparable.js +0 -20
  1333. package/packages/core/node_modules/lodash-es/_memoizeCapped.js +0 -26
  1334. package/packages/core/node_modules/lodash-es/_mergeData.js +0 -90
  1335. package/packages/core/node_modules/lodash-es/_metaMap.js +0 -6
  1336. package/packages/core/node_modules/lodash-es/_nativeCreate.js +0 -6
  1337. package/packages/core/node_modules/lodash-es/_nativeKeys.js +0 -6
  1338. package/packages/core/node_modules/lodash-es/_nativeKeysIn.js +0 -20
  1339. package/packages/core/node_modules/lodash-es/_nodeUtil.js +0 -30
  1340. package/packages/core/node_modules/lodash-es/_objectToString.js +0 -22
  1341. package/packages/core/node_modules/lodash-es/_overArg.js +0 -15
  1342. package/packages/core/node_modules/lodash-es/_overRest.js +0 -36
  1343. package/packages/core/node_modules/lodash-es/_parent.js +0 -16
  1344. package/packages/core/node_modules/lodash-es/_reEscape.js +0 -4
  1345. package/packages/core/node_modules/lodash-es/_reEvaluate.js +0 -4
  1346. package/packages/core/node_modules/lodash-es/_reInterpolate.js +0 -4
  1347. package/packages/core/node_modules/lodash-es/_realNames.js +0 -4
  1348. package/packages/core/node_modules/lodash-es/_reorder.js +0 -29
  1349. package/packages/core/node_modules/lodash-es/_replaceHolders.js +0 -29
  1350. package/packages/core/node_modules/lodash-es/_root.js +0 -9
  1351. package/packages/core/node_modules/lodash-es/_safeGet.js +0 -21
  1352. package/packages/core/node_modules/lodash-es/_setCacheAdd.js +0 -19
  1353. package/packages/core/node_modules/lodash-es/_setCacheHas.js +0 -14
  1354. package/packages/core/node_modules/lodash-es/_setData.js +0 -20
  1355. package/packages/core/node_modules/lodash-es/_setToArray.js +0 -18
  1356. package/packages/core/node_modules/lodash-es/_setToPairs.js +0 -18
  1357. package/packages/core/node_modules/lodash-es/_setToString.js +0 -14
  1358. package/packages/core/node_modules/lodash-es/_setWrapToString.js +0 -21
  1359. package/packages/core/node_modules/lodash-es/_shortOut.js +0 -37
  1360. package/packages/core/node_modules/lodash-es/_shuffleSelf.js +0 -28
  1361. package/packages/core/node_modules/lodash-es/_stackClear.js +0 -15
  1362. package/packages/core/node_modules/lodash-es/_stackDelete.js +0 -18
  1363. package/packages/core/node_modules/lodash-es/_stackGet.js +0 -14
  1364. package/packages/core/node_modules/lodash-es/_stackHas.js +0 -14
  1365. package/packages/core/node_modules/lodash-es/_stackSet.js +0 -34
  1366. package/packages/core/node_modules/lodash-es/_strictIndexOf.js +0 -23
  1367. package/packages/core/node_modules/lodash-es/_strictLastIndexOf.js +0 -21
  1368. package/packages/core/node_modules/lodash-es/_stringSize.js +0 -18
  1369. package/packages/core/node_modules/lodash-es/_stringToArray.js +0 -18
  1370. package/packages/core/node_modules/lodash-es/_stringToPath.js +0 -27
  1371. package/packages/core/node_modules/lodash-es/_toKey.js +0 -21
  1372. package/packages/core/node_modules/lodash-es/_toSource.js +0 -26
  1373. package/packages/core/node_modules/lodash-es/_trimmedEndIndex.js +0 -19
  1374. package/packages/core/node_modules/lodash-es/_unescapeHtmlChar.js +0 -21
  1375. package/packages/core/node_modules/lodash-es/_unicodeSize.js +0 -44
  1376. package/packages/core/node_modules/lodash-es/_unicodeToArray.js +0 -40
  1377. package/packages/core/node_modules/lodash-es/_unicodeWords.js +0 -69
  1378. package/packages/core/node_modules/lodash-es/_updateWrapDetails.js +0 -46
  1379. package/packages/core/node_modules/lodash-es/_wrapperClone.js +0 -23
  1380. package/packages/core/node_modules/lodash-es/add.js +0 -22
  1381. package/packages/core/node_modules/lodash-es/after.js +0 -42
  1382. package/packages/core/node_modules/lodash-es/array.default.js +0 -81
  1383. package/packages/core/node_modules/lodash-es/array.js +0 -66
  1384. package/packages/core/node_modules/lodash-es/ary.js +0 -29
  1385. package/packages/core/node_modules/lodash-es/assign.js +0 -58
  1386. package/packages/core/node_modules/lodash-es/assignIn.js +0 -40
  1387. package/packages/core/node_modules/lodash-es/assignInWith.js +0 -38
  1388. package/packages/core/node_modules/lodash-es/assignWith.js +0 -37
  1389. package/packages/core/node_modules/lodash-es/at.js +0 -23
  1390. package/packages/core/node_modules/lodash-es/attempt.js +0 -35
  1391. package/packages/core/node_modules/lodash-es/before.js +0 -40
  1392. package/packages/core/node_modules/lodash-es/bind.js +0 -57
  1393. package/packages/core/node_modules/lodash-es/bindAll.js +0 -41
  1394. package/packages/core/node_modules/lodash-es/bindKey.js +0 -68
  1395. package/packages/core/node_modules/lodash-es/camelCase.js +0 -29
  1396. package/packages/core/node_modules/lodash-es/capitalize.js +0 -23
  1397. package/packages/core/node_modules/lodash-es/castArray.js +0 -44
  1398. package/packages/core/node_modules/lodash-es/ceil.js +0 -26
  1399. package/packages/core/node_modules/lodash-es/chain.js +0 -38
  1400. package/packages/core/node_modules/lodash-es/chunk.js +0 -50
  1401. package/packages/core/node_modules/lodash-es/clamp.js +0 -39
  1402. package/packages/core/node_modules/lodash-es/clone.js +0 -36
  1403. package/packages/core/node_modules/lodash-es/cloneDeep.js +0 -29
  1404. package/packages/core/node_modules/lodash-es/cloneDeepWith.js +0 -40
  1405. package/packages/core/node_modules/lodash-es/cloneWith.js +0 -42
  1406. package/packages/core/node_modules/lodash-es/collection.default.js +0 -37
  1407. package/packages/core/node_modules/lodash-es/collection.js +0 -29
  1408. package/packages/core/node_modules/lodash-es/commit.js +0 -33
  1409. package/packages/core/node_modules/lodash-es/compact.js +0 -31
  1410. package/packages/core/node_modules/lodash-es/concat.js +0 -43
  1411. package/packages/core/node_modules/lodash-es/cond.js +0 -60
  1412. package/packages/core/node_modules/lodash-es/conforms.js +0 -35
  1413. package/packages/core/node_modules/lodash-es/conformsTo.js +0 -32
  1414. package/packages/core/node_modules/lodash-es/constant.js +0 -26
  1415. package/packages/core/node_modules/lodash-es/countBy.js +0 -40
  1416. package/packages/core/node_modules/lodash-es/create.js +0 -43
  1417. package/packages/core/node_modules/lodash-es/curry.js +0 -57
  1418. package/packages/core/node_modules/lodash-es/curryRight.js +0 -54
  1419. package/packages/core/node_modules/lodash-es/date.default.js +0 -5
  1420. package/packages/core/node_modules/lodash-es/date.js +0 -2
  1421. package/packages/core/node_modules/lodash-es/debounce.js +0 -191
  1422. package/packages/core/node_modules/lodash-es/deburr.js +0 -45
  1423. package/packages/core/node_modules/lodash-es/defaultTo.js +0 -25
  1424. package/packages/core/node_modules/lodash-es/defaults.js +0 -64
  1425. package/packages/core/node_modules/lodash-es/defaultsDeep.js +0 -30
  1426. package/packages/core/node_modules/lodash-es/defer.js +0 -26
  1427. package/packages/core/node_modules/lodash-es/delay.js +0 -28
  1428. package/packages/core/node_modules/lodash-es/difference.js +0 -33
  1429. package/packages/core/node_modules/lodash-es/differenceBy.js +0 -44
  1430. package/packages/core/node_modules/lodash-es/differenceWith.js +0 -40
  1431. package/packages/core/node_modules/lodash-es/divide.js +0 -22
  1432. package/packages/core/node_modules/lodash-es/drop.js +0 -38
  1433. package/packages/core/node_modules/lodash-es/dropRight.js +0 -39
  1434. package/packages/core/node_modules/lodash-es/dropRightWhile.js +0 -45
  1435. package/packages/core/node_modules/lodash-es/dropWhile.js +0 -45
  1436. package/packages/core/node_modules/lodash-es/each.js +0 -1
  1437. package/packages/core/node_modules/lodash-es/eachRight.js +0 -1
  1438. package/packages/core/node_modules/lodash-es/endsWith.js +0 -43
  1439. package/packages/core/node_modules/lodash-es/entries.js +0 -1
  1440. package/packages/core/node_modules/lodash-es/entriesIn.js +0 -1
  1441. package/packages/core/node_modules/lodash-es/eq.js +0 -37
  1442. package/packages/core/node_modules/lodash-es/escape.js +0 -43
  1443. package/packages/core/node_modules/lodash-es/escapeRegExp.js +0 -32
  1444. package/packages/core/node_modules/lodash-es/every.js +0 -56
  1445. package/packages/core/node_modules/lodash-es/extend.js +0 -1
  1446. package/packages/core/node_modules/lodash-es/extendWith.js +0 -1
  1447. package/packages/core/node_modules/lodash-es/fill.js +0 -45
  1448. package/packages/core/node_modules/lodash-es/filter.js +0 -52
  1449. package/packages/core/node_modules/lodash-es/find.js +0 -42
  1450. package/packages/core/node_modules/lodash-es/findIndex.js +0 -55
  1451. package/packages/core/node_modules/lodash-es/findKey.js +0 -44
  1452. package/packages/core/node_modules/lodash-es/findLast.js +0 -25
  1453. package/packages/core/node_modules/lodash-es/findLastIndex.js +0 -59
  1454. package/packages/core/node_modules/lodash-es/findLastKey.js +0 -44
  1455. package/packages/core/node_modules/lodash-es/first.js +0 -1
  1456. package/packages/core/node_modules/lodash-es/flatMap.js +0 -29
  1457. package/packages/core/node_modules/lodash-es/flatMapDeep.js +0 -31
  1458. package/packages/core/node_modules/lodash-es/flatMapDepth.js +0 -31
  1459. package/packages/core/node_modules/lodash-es/flatten.js +0 -22
  1460. package/packages/core/node_modules/lodash-es/flattenDeep.js +0 -25
  1461. package/packages/core/node_modules/lodash-es/flattenDepth.js +0 -33
  1462. package/packages/core/node_modules/lodash-es/flip.js +0 -28
  1463. package/packages/core/node_modules/lodash-es/floor.js +0 -26
  1464. package/packages/core/node_modules/lodash-es/flow.js +0 -27
  1465. package/packages/core/node_modules/lodash-es/flowRight.js +0 -26
  1466. package/packages/core/node_modules/lodash-es/forEach.js +0 -41
  1467. package/packages/core/node_modules/lodash-es/forEachRight.js +0 -31
  1468. package/packages/core/node_modules/lodash-es/forIn.js +0 -39
  1469. package/packages/core/node_modules/lodash-es/forInRight.js +0 -37
  1470. package/packages/core/node_modules/lodash-es/forOwn.js +0 -36
  1471. package/packages/core/node_modules/lodash-es/forOwnRight.js +0 -34
  1472. package/packages/core/node_modules/lodash-es/fromPairs.js +0 -28
  1473. package/packages/core/node_modules/lodash-es/function.default.js +0 -31
  1474. package/packages/core/node_modules/lodash-es/function.js +0 -24
  1475. package/packages/core/node_modules/lodash-es/functions.js +0 -31
  1476. package/packages/core/node_modules/lodash-es/functionsIn.js +0 -31
  1477. package/packages/core/node_modules/lodash-es/get.js +0 -33
  1478. package/packages/core/node_modules/lodash-es/groupBy.js +0 -41
  1479. package/packages/core/node_modules/lodash-es/gt.js +0 -29
  1480. package/packages/core/node_modules/lodash-es/gte.js +0 -30
  1481. package/packages/core/node_modules/lodash-es/has.js +0 -35
  1482. package/packages/core/node_modules/lodash-es/hasIn.js +0 -34
  1483. package/packages/core/node_modules/lodash-es/head.js +0 -23
  1484. package/packages/core/node_modules/lodash-es/identity.js +0 -21
  1485. package/packages/core/node_modules/lodash-es/inRange.js +0 -55
  1486. package/packages/core/node_modules/lodash-es/includes.js +0 -53
  1487. package/packages/core/node_modules/lodash-es/indexOf.js +0 -42
  1488. package/packages/core/node_modules/lodash-es/initial.js +0 -22
  1489. package/packages/core/node_modules/lodash-es/intersection.js +0 -30
  1490. package/packages/core/node_modules/lodash-es/intersectionBy.js +0 -45
  1491. package/packages/core/node_modules/lodash-es/intersectionWith.js +0 -41
  1492. package/packages/core/node_modules/lodash-es/invert.js +0 -42
  1493. package/packages/core/node_modules/lodash-es/invertBy.js +0 -56
  1494. package/packages/core/node_modules/lodash-es/invoke.js +0 -24
  1495. package/packages/core/node_modules/lodash-es/invokeMap.js +0 -41
  1496. package/packages/core/node_modules/lodash-es/isArguments.js +0 -36
  1497. package/packages/core/node_modules/lodash-es/isArray.js +0 -26
  1498. package/packages/core/node_modules/lodash-es/isArrayBuffer.js +0 -27
  1499. package/packages/core/node_modules/lodash-es/isArrayLike.js +0 -33
  1500. package/packages/core/node_modules/lodash-es/isArrayLikeObject.js +0 -33
  1501. package/packages/core/node_modules/lodash-es/isBoolean.js +0 -29
  1502. package/packages/core/node_modules/lodash-es/isBuffer.js +0 -38
  1503. package/packages/core/node_modules/lodash-es/isDate.js +0 -27
  1504. package/packages/core/node_modules/lodash-es/isElement.js +0 -25
  1505. package/packages/core/node_modules/lodash-es/isEmpty.js +0 -77
  1506. package/packages/core/node_modules/lodash-es/isEqual.js +0 -35
  1507. package/packages/core/node_modules/lodash-es/isEqualWith.js +0 -41
  1508. package/packages/core/node_modules/lodash-es/isError.js +0 -36
  1509. package/packages/core/node_modules/lodash-es/isFinite.js +0 -36
  1510. package/packages/core/node_modules/lodash-es/isFunction.js +0 -37
  1511. package/packages/core/node_modules/lodash-es/isInteger.js +0 -33
  1512. package/packages/core/node_modules/lodash-es/isLength.js +0 -35
  1513. package/packages/core/node_modules/lodash-es/isMap.js +0 -27
  1514. package/packages/core/node_modules/lodash-es/isMatch.js +0 -36
  1515. package/packages/core/node_modules/lodash-es/isMatchWith.js +0 -41
  1516. package/packages/core/node_modules/lodash-es/isNaN.js +0 -38
  1517. package/packages/core/node_modules/lodash-es/isNative.js +0 -40
  1518. package/packages/core/node_modules/lodash-es/isNil.js +0 -25
  1519. package/packages/core/node_modules/lodash-es/isNull.js +0 -22
  1520. package/packages/core/node_modules/lodash-es/isNumber.js +0 -38
  1521. package/packages/core/node_modules/lodash-es/isObject.js +0 -31
  1522. package/packages/core/node_modules/lodash-es/isObjectLike.js +0 -29
  1523. package/packages/core/node_modules/lodash-es/isPlainObject.js +0 -62
  1524. package/packages/core/node_modules/lodash-es/isRegExp.js +0 -27
  1525. package/packages/core/node_modules/lodash-es/isSafeInteger.js +0 -37
  1526. package/packages/core/node_modules/lodash-es/isSet.js +0 -27
  1527. package/packages/core/node_modules/lodash-es/isString.js +0 -30
  1528. package/packages/core/node_modules/lodash-es/isSymbol.js +0 -29
  1529. package/packages/core/node_modules/lodash-es/isTypedArray.js +0 -27
  1530. package/packages/core/node_modules/lodash-es/isUndefined.js +0 -22
  1531. package/packages/core/node_modules/lodash-es/isWeakMap.js +0 -28
  1532. package/packages/core/node_modules/lodash-es/isWeakSet.js +0 -28
  1533. package/packages/core/node_modules/lodash-es/iteratee.js +0 -53
  1534. package/packages/core/node_modules/lodash-es/join.js +0 -26
  1535. package/packages/core/node_modules/lodash-es/kebabCase.js +0 -28
  1536. package/packages/core/node_modules/lodash-es/keyBy.js +0 -36
  1537. package/packages/core/node_modules/lodash-es/keys.js +0 -37
  1538. package/packages/core/node_modules/lodash-es/keysIn.js +0 -32
  1539. package/packages/core/node_modules/lodash-es/lang.default.js +0 -71
  1540. package/packages/core/node_modules/lodash-es/lang.js +0 -57
  1541. package/packages/core/node_modules/lodash-es/last.js +0 -20
  1542. package/packages/core/node_modules/lodash-es/lastIndexOf.js +0 -46
  1543. package/packages/core/node_modules/lodash-es/lodash.default.js +0 -643
  1544. package/packages/core/node_modules/lodash-es/lodash.js +0 -331
  1545. package/packages/core/node_modules/lodash-es/lowerCase.js +0 -27
  1546. package/packages/core/node_modules/lodash-es/lowerFirst.js +0 -22
  1547. package/packages/core/node_modules/lodash-es/lt.js +0 -29
  1548. package/packages/core/node_modules/lodash-es/lte.js +0 -30
  1549. package/packages/core/node_modules/lodash-es/map.js +0 -53
  1550. package/packages/core/node_modules/lodash-es/mapKeys.js +0 -36
  1551. package/packages/core/node_modules/lodash-es/mapValues.js +0 -43
  1552. package/packages/core/node_modules/lodash-es/matches.js +0 -46
  1553. package/packages/core/node_modules/lodash-es/matchesProperty.js +0 -44
  1554. package/packages/core/node_modules/lodash-es/math.default.js +0 -21
  1555. package/packages/core/node_modules/lodash-es/math.js +0 -16
  1556. package/packages/core/node_modules/lodash-es/max.js +0 -29
  1557. package/packages/core/node_modules/lodash-es/maxBy.js +0 -34
  1558. package/packages/core/node_modules/lodash-es/mean.js +0 -22
  1559. package/packages/core/node_modules/lodash-es/meanBy.js +0 -31
  1560. package/packages/core/node_modules/lodash-es/memoize.js +0 -73
  1561. package/packages/core/node_modules/lodash-es/merge.js +0 -39
  1562. package/packages/core/node_modules/lodash-es/mergeWith.js +0 -39
  1563. package/packages/core/node_modules/lodash-es/method.js +0 -34
  1564. package/packages/core/node_modules/lodash-es/methodOf.js +0 -33
  1565. package/packages/core/node_modules/lodash-es/min.js +0 -29
  1566. package/packages/core/node_modules/lodash-es/minBy.js +0 -34
  1567. package/packages/core/node_modules/lodash-es/mixin.js +0 -74
  1568. package/packages/core/node_modules/lodash-es/multiply.js +0 -22
  1569. package/packages/core/node_modules/lodash-es/negate.js +0 -40
  1570. package/packages/core/node_modules/lodash-es/next.js +0 -35
  1571. package/packages/core/node_modules/lodash-es/noop.js +0 -17
  1572. package/packages/core/node_modules/lodash-es/now.js +0 -23
  1573. package/packages/core/node_modules/lodash-es/nth.js +0 -29
  1574. package/packages/core/node_modules/lodash-es/nthArg.js +0 -32
  1575. package/packages/core/node_modules/lodash-es/number.default.js +0 -7
  1576. package/packages/core/node_modules/lodash-es/number.js +0 -4
  1577. package/packages/core/node_modules/lodash-es/object.default.js +0 -60
  1578. package/packages/core/node_modules/lodash-es/object.js +0 -48
  1579. package/packages/core/node_modules/lodash-es/omit.js +0 -57
  1580. package/packages/core/node_modules/lodash-es/omitBy.js +0 -29
  1581. package/packages/core/node_modules/lodash-es/once.js +0 -25
  1582. package/packages/core/node_modules/lodash-es/orderBy.js +0 -47
  1583. package/packages/core/node_modules/lodash-es/over.js +0 -24
  1584. package/packages/core/node_modules/lodash-es/overArgs.js +0 -61
  1585. package/packages/core/node_modules/lodash-es/overEvery.js +0 -34
  1586. package/packages/core/node_modules/lodash-es/overSome.js +0 -37
  1587. package/packages/core/node_modules/lodash-es/package.json +0 -21
  1588. package/packages/core/node_modules/lodash-es/pad.js +0 -49
  1589. package/packages/core/node_modules/lodash-es/padEnd.js +0 -39
  1590. package/packages/core/node_modules/lodash-es/padStart.js +0 -39
  1591. package/packages/core/node_modules/lodash-es/parseInt.js +0 -43
  1592. package/packages/core/node_modules/lodash-es/partial.js +0 -50
  1593. package/packages/core/node_modules/lodash-es/partialRight.js +0 -49
  1594. package/packages/core/node_modules/lodash-es/partition.js +0 -43
  1595. package/packages/core/node_modules/lodash-es/pick.js +0 -25
  1596. package/packages/core/node_modules/lodash-es/pickBy.js +0 -37
  1597. package/packages/core/node_modules/lodash-es/plant.js +0 -48
  1598. package/packages/core/node_modules/lodash-es/property.js +0 -32
  1599. package/packages/core/node_modules/lodash-es/propertyOf.js +0 -30
  1600. package/packages/core/node_modules/lodash-es/pull.js +0 -29
  1601. package/packages/core/node_modules/lodash-es/pullAll.js +0 -29
  1602. package/packages/core/node_modules/lodash-es/pullAllBy.js +0 -33
  1603. package/packages/core/node_modules/lodash-es/pullAllWith.js +0 -32
  1604. package/packages/core/node_modules/lodash-es/pullAt.js +0 -43
  1605. package/packages/core/node_modules/lodash-es/random.js +0 -82
  1606. package/packages/core/node_modules/lodash-es/range.js +0 -46
  1607. package/packages/core/node_modules/lodash-es/rangeRight.js +0 -41
  1608. package/packages/core/node_modules/lodash-es/rearg.js +0 -33
  1609. package/packages/core/node_modules/lodash-es/reduce.js +0 -51
  1610. package/packages/core/node_modules/lodash-es/reduceRight.js +0 -36
  1611. package/packages/core/node_modules/lodash-es/reject.js +0 -46
  1612. package/packages/core/node_modules/lodash-es/remove.js +0 -53
  1613. package/packages/core/node_modules/lodash-es/repeat.js +0 -37
  1614. package/packages/core/node_modules/lodash-es/replace.js +0 -29
  1615. package/packages/core/node_modules/lodash-es/rest.js +0 -40
  1616. package/packages/core/node_modules/lodash-es/result.js +0 -56
  1617. package/packages/core/node_modules/lodash-es/reverse.js +0 -34
  1618. package/packages/core/node_modules/lodash-es/round.js +0 -26
  1619. package/packages/core/node_modules/lodash-es/sample.js +0 -24
  1620. package/packages/core/node_modules/lodash-es/sampleSize.js +0 -37
  1621. package/packages/core/node_modules/lodash-es/seq.default.js +0 -20
  1622. package/packages/core/node_modules/lodash-es/seq.js +0 -15
  1623. package/packages/core/node_modules/lodash-es/set.js +0 -35
  1624. package/packages/core/node_modules/lodash-es/setWith.js +0 -32
  1625. package/packages/core/node_modules/lodash-es/shuffle.js +0 -25
  1626. package/packages/core/node_modules/lodash-es/size.js +0 -46
  1627. package/packages/core/node_modules/lodash-es/slice.js +0 -37
  1628. package/packages/core/node_modules/lodash-es/snakeCase.js +0 -28
  1629. package/packages/core/node_modules/lodash-es/some.js +0 -51
  1630. package/packages/core/node_modules/lodash-es/sortBy.js +0 -48
  1631. package/packages/core/node_modules/lodash-es/sortedIndex.js +0 -24
  1632. package/packages/core/node_modules/lodash-es/sortedIndexBy.js +0 -33
  1633. package/packages/core/node_modules/lodash-es/sortedIndexOf.js +0 -31
  1634. package/packages/core/node_modules/lodash-es/sortedLastIndex.js +0 -25
  1635. package/packages/core/node_modules/lodash-es/sortedLastIndexBy.js +0 -33
  1636. package/packages/core/node_modules/lodash-es/sortedLastIndexOf.js +0 -31
  1637. package/packages/core/node_modules/lodash-es/sortedUniq.js +0 -24
  1638. package/packages/core/node_modules/lodash-es/sortedUniqBy.js +0 -26
  1639. package/packages/core/node_modules/lodash-es/split.js +0 -52
  1640. package/packages/core/node_modules/lodash-es/spread.js +0 -63
  1641. package/packages/core/node_modules/lodash-es/startCase.js +0 -29
  1642. package/packages/core/node_modules/lodash-es/startsWith.js +0 -39
  1643. package/packages/core/node_modules/lodash-es/string.default.js +0 -41
  1644. package/packages/core/node_modules/lodash-es/string.js +0 -32
  1645. package/packages/core/node_modules/lodash-es/stubArray.js +0 -23
  1646. package/packages/core/node_modules/lodash-es/stubFalse.js +0 -18
  1647. package/packages/core/node_modules/lodash-es/stubObject.js +0 -23
  1648. package/packages/core/node_modules/lodash-es/stubString.js +0 -18
  1649. package/packages/core/node_modules/lodash-es/stubTrue.js +0 -18
  1650. package/packages/core/node_modules/lodash-es/subtract.js +0 -22
  1651. package/packages/core/node_modules/lodash-es/sum.js +0 -24
  1652. package/packages/core/node_modules/lodash-es/sumBy.js +0 -33
  1653. package/packages/core/node_modules/lodash-es/tail.js +0 -22
  1654. package/packages/core/node_modules/lodash-es/take.js +0 -37
  1655. package/packages/core/node_modules/lodash-es/takeRight.js +0 -39
  1656. package/packages/core/node_modules/lodash-es/takeRightWhile.js +0 -45
  1657. package/packages/core/node_modules/lodash-es/takeWhile.js +0 -45
  1658. package/packages/core/node_modules/lodash-es/tap.js +0 -29
  1659. package/packages/core/node_modules/lodash-es/template.js +0 -272
  1660. package/packages/core/node_modules/lodash-es/templateSettings.js +0 -67
  1661. package/packages/core/node_modules/lodash-es/throttle.js +0 -69
  1662. package/packages/core/node_modules/lodash-es/thru.js +0 -28
  1663. package/packages/core/node_modules/lodash-es/times.js +0 -51
  1664. package/packages/core/node_modules/lodash-es/toArray.js +0 -58
  1665. package/packages/core/node_modules/lodash-es/toFinite.js +0 -42
  1666. package/packages/core/node_modules/lodash-es/toInteger.js +0 -36
  1667. package/packages/core/node_modules/lodash-es/toIterator.js +0 -23
  1668. package/packages/core/node_modules/lodash-es/toJSON.js +0 -1
  1669. package/packages/core/node_modules/lodash-es/toLength.js +0 -38
  1670. package/packages/core/node_modules/lodash-es/toLower.js +0 -28
  1671. package/packages/core/node_modules/lodash-es/toNumber.js +0 -64
  1672. package/packages/core/node_modules/lodash-es/toPairs.js +0 -30
  1673. package/packages/core/node_modules/lodash-es/toPairsIn.js +0 -30
  1674. package/packages/core/node_modules/lodash-es/toPath.js +0 -33
  1675. package/packages/core/node_modules/lodash-es/toPlainObject.js +0 -32
  1676. package/packages/core/node_modules/lodash-es/toSafeInteger.js +0 -37
  1677. package/packages/core/node_modules/lodash-es/toString.js +0 -28
  1678. package/packages/core/node_modules/lodash-es/toUpper.js +0 -28
  1679. package/packages/core/node_modules/lodash-es/transform.js +0 -65
  1680. package/packages/core/node_modules/lodash-es/trim.js +0 -47
  1681. package/packages/core/node_modules/lodash-es/trimEnd.js +0 -41
  1682. package/packages/core/node_modules/lodash-es/trimStart.js +0 -43
  1683. package/packages/core/node_modules/lodash-es/truncate.js +0 -111
  1684. package/packages/core/node_modules/lodash-es/unary.js +0 -22
  1685. package/packages/core/node_modules/lodash-es/unescape.js +0 -34
  1686. package/packages/core/node_modules/lodash-es/union.js +0 -26
  1687. package/packages/core/node_modules/lodash-es/unionBy.js +0 -39
  1688. package/packages/core/node_modules/lodash-es/unionWith.js +0 -34
  1689. package/packages/core/node_modules/lodash-es/uniq.js +0 -25
  1690. package/packages/core/node_modules/lodash-es/uniqBy.js +0 -31
  1691. package/packages/core/node_modules/lodash-es/uniqWith.js +0 -28
  1692. package/packages/core/node_modules/lodash-es/uniqueId.js +0 -28
  1693. package/packages/core/node_modules/lodash-es/unset.js +0 -34
  1694. package/packages/core/node_modules/lodash-es/unzip.js +0 -45
  1695. package/packages/core/node_modules/lodash-es/unzipWith.js +0 -39
  1696. package/packages/core/node_modules/lodash-es/update.js +0 -35
  1697. package/packages/core/node_modules/lodash-es/updateWith.js +0 -33
  1698. package/packages/core/node_modules/lodash-es/upperCase.js +0 -27
  1699. package/packages/core/node_modules/lodash-es/upperFirst.js +0 -22
  1700. package/packages/core/node_modules/lodash-es/util.default.js +0 -42
  1701. package/packages/core/node_modules/lodash-es/util.js +0 -33
  1702. package/packages/core/node_modules/lodash-es/value.js +0 -1
  1703. package/packages/core/node_modules/lodash-es/valueOf.js +0 -1
  1704. package/packages/core/node_modules/lodash-es/values.js +0 -34
  1705. package/packages/core/node_modules/lodash-es/valuesIn.js +0 -32
  1706. package/packages/core/node_modules/lodash-es/without.js +0 -31
  1707. package/packages/core/node_modules/lodash-es/words.js +0 -35
  1708. package/packages/core/node_modules/lodash-es/wrap.js +0 -30
  1709. package/packages/core/node_modules/lodash-es/wrapperAt.js +0 -48
  1710. package/packages/core/node_modules/lodash-es/wrapperChain.js +0 -34
  1711. package/packages/core/node_modules/lodash-es/wrapperLodash.js +0 -147
  1712. package/packages/core/node_modules/lodash-es/wrapperReverse.js +0 -44
  1713. package/packages/core/node_modules/lodash-es/wrapperValue.js +0 -21
  1714. package/packages/core/node_modules/lodash-es/xor.js +0 -28
  1715. package/packages/core/node_modules/lodash-es/xorBy.js +0 -39
  1716. package/packages/core/node_modules/lodash-es/xorWith.js +0 -34
  1717. package/packages/core/node_modules/lodash-es/zip.js +0 -22
  1718. package/packages/core/node_modules/lodash-es/zipObject.js +0 -24
  1719. package/packages/core/node_modules/lodash-es/zipObjectDeep.js +0 -23
  1720. package/packages/core/node_modules/lodash-es/zipWith.js +0 -32
  1721. package/packages/core/node_modules/loglevel/.editorconfig +0 -27
  1722. package/packages/core/node_modules/loglevel/CONTRIBUTING.md +0 -98
  1723. package/packages/core/node_modules/loglevel/Gruntfile.js +0 -165
  1724. package/packages/core/node_modules/loglevel/LICENSE-MIT +0 -22
  1725. package/packages/core/node_modules/loglevel/README.md +0 -408
  1726. package/packages/core/node_modules/loglevel/_config.yml +0 -1
  1727. package/packages/core/node_modules/loglevel/bower.json +0 -11
  1728. package/packages/core/node_modules/loglevel/demo/index.html +0 -139
  1729. package/packages/core/node_modules/loglevel/demo/script.js +0 -86
  1730. package/packages/core/node_modules/loglevel/demo/styles.css +0 -107
  1731. package/packages/core/node_modules/loglevel/index.d.ts +0 -203
  1732. package/packages/core/node_modules/loglevel/lib/loglevel.js +0 -357
  1733. package/packages/core/node_modules/loglevel/package.json +0 -63
  1734. package/packages/core/node_modules/math-intrinsics/.eslintrc +0 -16
  1735. package/packages/core/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
  1736. package/packages/core/node_modules/math-intrinsics/CHANGELOG.md +0 -24
  1737. package/packages/core/node_modules/math-intrinsics/LICENSE +0 -21
  1738. package/packages/core/node_modules/math-intrinsics/README.md +0 -50
  1739. package/packages/core/node_modules/math-intrinsics/abs.d.ts +0 -1
  1740. package/packages/core/node_modules/math-intrinsics/abs.js +0 -4
  1741. package/packages/core/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
  1742. package/packages/core/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
  1743. package/packages/core/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
  1744. package/packages/core/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
  1745. package/packages/core/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
  1746. package/packages/core/node_modules/math-intrinsics/constants/maxValue.js +0 -5
  1747. package/packages/core/node_modules/math-intrinsics/floor.d.ts +0 -1
  1748. package/packages/core/node_modules/math-intrinsics/floor.js +0 -4
  1749. package/packages/core/node_modules/math-intrinsics/isFinite.d.ts +0 -3
  1750. package/packages/core/node_modules/math-intrinsics/isFinite.js +0 -12
  1751. package/packages/core/node_modules/math-intrinsics/isInteger.d.ts +0 -3
  1752. package/packages/core/node_modules/math-intrinsics/isInteger.js +0 -16
  1753. package/packages/core/node_modules/math-intrinsics/isNaN.d.ts +0 -1
  1754. package/packages/core/node_modules/math-intrinsics/isNaN.js +0 -6
  1755. package/packages/core/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
  1756. package/packages/core/node_modules/math-intrinsics/isNegativeZero.js +0 -6
  1757. package/packages/core/node_modules/math-intrinsics/max.d.ts +0 -1
  1758. package/packages/core/node_modules/math-intrinsics/max.js +0 -4
  1759. package/packages/core/node_modules/math-intrinsics/min.d.ts +0 -1
  1760. package/packages/core/node_modules/math-intrinsics/min.js +0 -4
  1761. package/packages/core/node_modules/math-intrinsics/mod.d.ts +0 -3
  1762. package/packages/core/node_modules/math-intrinsics/mod.js +0 -9
  1763. package/packages/core/node_modules/math-intrinsics/package.json +0 -86
  1764. package/packages/core/node_modules/math-intrinsics/pow.d.ts +0 -1
  1765. package/packages/core/node_modules/math-intrinsics/pow.js +0 -4
  1766. package/packages/core/node_modules/math-intrinsics/round.d.ts +0 -1
  1767. package/packages/core/node_modules/math-intrinsics/round.js +0 -4
  1768. package/packages/core/node_modules/math-intrinsics/sign.d.ts +0 -3
  1769. package/packages/core/node_modules/math-intrinsics/sign.js +0 -11
  1770. package/packages/core/node_modules/math-intrinsics/test/index.js +0 -192
  1771. package/packages/core/node_modules/math-intrinsics/tsconfig.json +0 -3
  1772. package/packages/core/node_modules/media-typer/HISTORY.md +0 -22
  1773. package/packages/core/node_modules/media-typer/LICENSE +0 -22
  1774. package/packages/core/node_modules/media-typer/README.md +0 -81
  1775. package/packages/core/node_modules/media-typer/index.js +0 -270
  1776. package/packages/core/node_modules/media-typer/package.json +0 -26
  1777. package/packages/core/node_modules/merge-descriptors/HISTORY.md +0 -21
  1778. package/packages/core/node_modules/merge-descriptors/LICENSE +0 -23
  1779. package/packages/core/node_modules/merge-descriptors/README.md +0 -49
  1780. package/packages/core/node_modules/merge-descriptors/index.js +0 -60
  1781. package/packages/core/node_modules/merge-descriptors/package.json +0 -39
  1782. package/packages/core/node_modules/methods/HISTORY.md +0 -29
  1783. package/packages/core/node_modules/methods/LICENSE +0 -24
  1784. package/packages/core/node_modules/methods/README.md +0 -51
  1785. package/packages/core/node_modules/methods/index.js +0 -69
  1786. package/packages/core/node_modules/methods/package.json +0 -36
  1787. package/packages/core/node_modules/mime/CHANGELOG.md +0 -164
  1788. package/packages/core/node_modules/mime/LICENSE +0 -21
  1789. package/packages/core/node_modules/mime/README.md +0 -90
  1790. package/packages/core/node_modules/mime/cli.js +0 -8
  1791. package/packages/core/node_modules/mime/mime.js +0 -108
  1792. package/packages/core/node_modules/mime/package.json +0 -44
  1793. package/packages/core/node_modules/mime/src/build.js +0 -53
  1794. package/packages/core/node_modules/mime/src/test.js +0 -60
  1795. package/packages/core/node_modules/mime/types.json +0 -1
  1796. package/packages/core/node_modules/mime-db/HISTORY.md +0 -507
  1797. package/packages/core/node_modules/mime-db/LICENSE +0 -23
  1798. package/packages/core/node_modules/mime-db/README.md +0 -100
  1799. package/packages/core/node_modules/mime-db/db.json +0 -8519
  1800. package/packages/core/node_modules/mime-db/index.js +0 -12
  1801. package/packages/core/node_modules/mime-db/package.json +0 -60
  1802. package/packages/core/node_modules/mime-types/HISTORY.md +0 -397
  1803. package/packages/core/node_modules/mime-types/LICENSE +0 -23
  1804. package/packages/core/node_modules/mime-types/README.md +0 -113
  1805. package/packages/core/node_modules/mime-types/index.js +0 -188
  1806. package/packages/core/node_modules/mime-types/package.json +0 -44
  1807. package/packages/core/node_modules/morgan/HISTORY.md +0 -221
  1808. package/packages/core/node_modules/morgan/LICENSE +0 -23
  1809. package/packages/core/node_modules/morgan/README.md +0 -436
  1810. package/packages/core/node_modules/morgan/index.js +0 -544
  1811. package/packages/core/node_modules/morgan/node_modules/on-finished/HISTORY.md +0 -88
  1812. package/packages/core/node_modules/morgan/node_modules/on-finished/LICENSE +0 -23
  1813. package/packages/core/node_modules/morgan/node_modules/on-finished/README.md +0 -154
  1814. package/packages/core/node_modules/morgan/node_modules/on-finished/index.js +0 -196
  1815. package/packages/core/node_modules/morgan/node_modules/on-finished/package.json +0 -31
  1816. package/packages/core/node_modules/morgan/package.json +0 -52
  1817. package/packages/core/node_modules/ms/index.js +0 -152
  1818. package/packages/core/node_modules/ms/license.md +0 -21
  1819. package/packages/core/node_modules/ms/package.json +0 -37
  1820. package/packages/core/node_modules/ms/readme.md +0 -51
  1821. package/packages/core/node_modules/negotiator/HISTORY.md +0 -108
  1822. package/packages/core/node_modules/negotiator/LICENSE +0 -24
  1823. package/packages/core/node_modules/negotiator/README.md +0 -203
  1824. package/packages/core/node_modules/negotiator/index.js +0 -82
  1825. package/packages/core/node_modules/negotiator/lib/charset.js +0 -169
  1826. package/packages/core/node_modules/negotiator/lib/encoding.js +0 -184
  1827. package/packages/core/node_modules/negotiator/lib/language.js +0 -179
  1828. package/packages/core/node_modules/negotiator/lib/mediaType.js +0 -294
  1829. package/packages/core/node_modules/negotiator/package.json +0 -42
  1830. package/packages/core/node_modules/nocache/LICENSE +0 -21
  1831. package/packages/core/node_modules/nocache/README.md +0 -22
  1832. package/packages/core/node_modules/nocache/index.d.ts +0 -9
  1833. package/packages/core/node_modules/nocache/index.js +0 -13
  1834. package/packages/core/node_modules/nocache/package.json +0 -45
  1835. package/packages/core/node_modules/nock/LICENSE +0 -21
  1836. package/packages/core/node_modules/nock/README.md +0 -1737
  1837. package/packages/core/node_modules/nock/index.js +0 -53
  1838. package/packages/core/node_modules/nock/lib/back.js +0 -353
  1839. package/packages/core/node_modules/nock/lib/common.js +0 -771
  1840. package/packages/core/node_modules/nock/lib/global_emitter.js +0 -5
  1841. package/packages/core/node_modules/nock/lib/intercept.js +0 -456
  1842. package/packages/core/node_modules/nock/lib/intercepted_request_router.js +0 -355
  1843. package/packages/core/node_modules/nock/lib/interceptor.js +0 -628
  1844. package/packages/core/node_modules/nock/lib/match_body.js +0 -84
  1845. package/packages/core/node_modules/nock/lib/playback_interceptor.js +0 -327
  1846. package/packages/core/node_modules/nock/lib/recorder.js +0 -388
  1847. package/packages/core/node_modules/nock/lib/scope.js +0 -416
  1848. package/packages/core/node_modules/nock/lib/socket.js +0 -108
  1849. package/packages/core/node_modules/nock/node_modules/debug/LICENSE +0 -20
  1850. package/packages/core/node_modules/nock/node_modules/debug/README.md +0 -481
  1851. package/packages/core/node_modules/nock/node_modules/debug/package.json +0 -64
  1852. package/packages/core/node_modules/nock/node_modules/debug/src/browser.js +0 -272
  1853. package/packages/core/node_modules/nock/node_modules/debug/src/common.js +0 -292
  1854. package/packages/core/node_modules/nock/node_modules/debug/src/index.js +0 -10
  1855. package/packages/core/node_modules/nock/node_modules/debug/src/node.js +0 -263
  1856. package/packages/core/node_modules/nock/node_modules/ms/index.js +0 -162
  1857. package/packages/core/node_modules/nock/node_modules/ms/license.md +0 -21
  1858. package/packages/core/node_modules/nock/node_modules/ms/package.json +0 -38
  1859. package/packages/core/node_modules/nock/node_modules/ms/readme.md +0 -59
  1860. package/packages/core/node_modules/nock/package.json +0 -89
  1861. package/packages/core/node_modules/nock/types/index.d.ts +0 -297
  1862. package/packages/core/node_modules/object-assign/index.js +0 -90
  1863. package/packages/core/node_modules/object-assign/license +0 -21
  1864. package/packages/core/node_modules/object-assign/package.json +0 -42
  1865. package/packages/core/node_modules/object-assign/readme.md +0 -61
  1866. package/packages/core/node_modules/object-inspect/.eslintrc +0 -53
  1867. package/packages/core/node_modules/object-inspect/.github/FUNDING.yml +0 -12
  1868. package/packages/core/node_modules/object-inspect/.nycrc +0 -13
  1869. package/packages/core/node_modules/object-inspect/CHANGELOG.md +0 -424
  1870. package/packages/core/node_modules/object-inspect/LICENSE +0 -21
  1871. package/packages/core/node_modules/object-inspect/example/all.js +0 -23
  1872. package/packages/core/node_modules/object-inspect/example/circular.js +0 -6
  1873. package/packages/core/node_modules/object-inspect/example/fn.js +0 -5
  1874. package/packages/core/node_modules/object-inspect/example/inspect.js +0 -10
  1875. package/packages/core/node_modules/object-inspect/index.js +0 -544
  1876. package/packages/core/node_modules/object-inspect/package-support.json +0 -20
  1877. package/packages/core/node_modules/object-inspect/package.json +0 -105
  1878. package/packages/core/node_modules/object-inspect/readme.markdown +0 -84
  1879. package/packages/core/node_modules/object-inspect/test/bigint.js +0 -58
  1880. package/packages/core/node_modules/object-inspect/test/browser/dom.js +0 -15
  1881. package/packages/core/node_modules/object-inspect/test/circular.js +0 -16
  1882. package/packages/core/node_modules/object-inspect/test/deep.js +0 -12
  1883. package/packages/core/node_modules/object-inspect/test/element.js +0 -53
  1884. package/packages/core/node_modules/object-inspect/test/err.js +0 -48
  1885. package/packages/core/node_modules/object-inspect/test/fakes.js +0 -29
  1886. package/packages/core/node_modules/object-inspect/test/fn.js +0 -76
  1887. package/packages/core/node_modules/object-inspect/test/global.js +0 -17
  1888. package/packages/core/node_modules/object-inspect/test/has.js +0 -15
  1889. package/packages/core/node_modules/object-inspect/test/holes.js +0 -15
  1890. package/packages/core/node_modules/object-inspect/test/indent-option.js +0 -271
  1891. package/packages/core/node_modules/object-inspect/test/inspect.js +0 -139
  1892. package/packages/core/node_modules/object-inspect/test/lowbyte.js +0 -12
  1893. package/packages/core/node_modules/object-inspect/test/number.js +0 -58
  1894. package/packages/core/node_modules/object-inspect/test/quoteStyle.js +0 -26
  1895. package/packages/core/node_modules/object-inspect/test/toStringTag.js +0 -40
  1896. package/packages/core/node_modules/object-inspect/test/undef.js +0 -12
  1897. package/packages/core/node_modules/object-inspect/test/values.js +0 -261
  1898. package/packages/core/node_modules/object-inspect/test-core-js.js +0 -26
  1899. package/packages/core/node_modules/object-inspect/util.inspect.js +0 -1
  1900. package/packages/core/node_modules/on-finished/HISTORY.md +0 -98
  1901. package/packages/core/node_modules/on-finished/LICENSE +0 -23
  1902. package/packages/core/node_modules/on-finished/README.md +0 -162
  1903. package/packages/core/node_modules/on-finished/index.js +0 -234
  1904. package/packages/core/node_modules/on-finished/package.json +0 -39
  1905. package/packages/core/node_modules/on-headers/HISTORY.md +0 -26
  1906. package/packages/core/node_modules/on-headers/LICENSE +0 -22
  1907. package/packages/core/node_modules/on-headers/README.md +0 -81
  1908. package/packages/core/node_modules/on-headers/index.js +0 -180
  1909. package/packages/core/node_modules/on-headers/package.json +0 -44
  1910. package/packages/core/node_modules/parseurl/HISTORY.md +0 -58
  1911. package/packages/core/node_modules/parseurl/LICENSE +0 -24
  1912. package/packages/core/node_modules/parseurl/README.md +0 -133
  1913. package/packages/core/node_modules/parseurl/index.js +0 -158
  1914. package/packages/core/node_modules/parseurl/package.json +0 -40
  1915. package/packages/core/node_modules/path-to-regexp/LICENSE +0 -21
  1916. package/packages/core/node_modules/path-to-regexp/Readme.md +0 -35
  1917. package/packages/core/node_modules/path-to-regexp/index.js +0 -156
  1918. package/packages/core/node_modules/path-to-regexp/package.json +0 -30
  1919. package/packages/core/node_modules/propagate/.eslintignore +0 -2
  1920. package/packages/core/node_modules/propagate/.eslintrc.yml +0 -35
  1921. package/packages/core/node_modules/propagate/.prettierignore +0 -4
  1922. package/packages/core/node_modules/propagate/.prettierrc.yml +0 -5
  1923. package/packages/core/node_modules/propagate/.travis.yml +0 -27
  1924. package/packages/core/node_modules/propagate/LICENSE.md +0 -21
  1925. package/packages/core/node_modules/propagate/README.md +0 -72
  1926. package/packages/core/node_modules/propagate/index.js +0 -85
  1927. package/packages/core/node_modules/propagate/package.json +0 -53
  1928. package/packages/core/node_modules/propagate/tests/index.js +0 -168
  1929. package/packages/core/node_modules/proxy-addr/HISTORY.md +0 -161
  1930. package/packages/core/node_modules/proxy-addr/LICENSE +0 -22
  1931. package/packages/core/node_modules/proxy-addr/README.md +0 -139
  1932. package/packages/core/node_modules/proxy-addr/index.js +0 -327
  1933. package/packages/core/node_modules/proxy-addr/package.json +0 -47
  1934. package/packages/core/node_modules/qs/.editorconfig +0 -46
  1935. package/packages/core/node_modules/qs/.github/FUNDING.yml +0 -12
  1936. package/packages/core/node_modules/qs/.github/SECURITY.md +0 -11
  1937. package/packages/core/node_modules/qs/.github/THREAT_MODEL.md +0 -78
  1938. package/packages/core/node_modules/qs/.nycrc +0 -13
  1939. package/packages/core/node_modules/qs/CHANGELOG.md +0 -631
  1940. package/packages/core/node_modules/qs/LICENSE.md +0 -29
  1941. package/packages/core/node_modules/qs/README.md +0 -733
  1942. package/packages/core/node_modules/qs/eslint.config.mjs +0 -56
  1943. package/packages/core/node_modules/qs/lib/formats.js +0 -23
  1944. package/packages/core/node_modules/qs/lib/index.js +0 -11
  1945. package/packages/core/node_modules/qs/lib/parse.js +0 -360
  1946. package/packages/core/node_modules/qs/lib/stringify.js +0 -356
  1947. package/packages/core/node_modules/qs/lib/utils.js +0 -320
  1948. package/packages/core/node_modules/qs/package.json +0 -94
  1949. package/packages/core/node_modules/qs/test/empty-keys-cases.js +0 -267
  1950. package/packages/core/node_modules/qs/test/parse.js +0 -1396
  1951. package/packages/core/node_modules/qs/test/stringify.js +0 -1310
  1952. package/packages/core/node_modules/qs/test/utils.js +0 -381
  1953. package/packages/core/node_modules/querystringify/LICENSE +0 -22
  1954. package/packages/core/node_modules/querystringify/README.md +0 -61
  1955. package/packages/core/node_modules/querystringify/index.js +0 -118
  1956. package/packages/core/node_modules/querystringify/package.json +0 -38
  1957. package/packages/core/node_modules/range-parser/HISTORY.md +0 -56
  1958. package/packages/core/node_modules/range-parser/LICENSE +0 -23
  1959. package/packages/core/node_modules/range-parser/README.md +0 -84
  1960. package/packages/core/node_modules/range-parser/index.js +0 -162
  1961. package/packages/core/node_modules/range-parser/package.json +0 -44
  1962. package/packages/core/node_modules/raw-body/LICENSE +0 -22
  1963. package/packages/core/node_modules/raw-body/README.md +0 -223
  1964. package/packages/core/node_modules/raw-body/index.d.ts +0 -87
  1965. package/packages/core/node_modules/raw-body/index.js +0 -336
  1966. package/packages/core/node_modules/raw-body/package.json +0 -47
  1967. package/packages/core/node_modules/requires-port/.travis.yml +0 -19
  1968. package/packages/core/node_modules/requires-port/LICENSE +0 -22
  1969. package/packages/core/node_modules/requires-port/README.md +0 -47
  1970. package/packages/core/node_modules/requires-port/index.js +0 -38
  1971. package/packages/core/node_modules/requires-port/package.json +0 -47
  1972. package/packages/core/node_modules/requires-port/test.js +0 -98
  1973. package/packages/core/node_modules/route-recognizer/LICENSE +0 -19
  1974. package/packages/core/node_modules/route-recognizer/README.md +0 -142
  1975. package/packages/core/node_modules/route-recognizer/package.json +0 -48
  1976. package/packages/core/node_modules/safe-buffer/LICENSE +0 -21
  1977. package/packages/core/node_modules/safe-buffer/README.md +0 -584
  1978. package/packages/core/node_modules/safe-buffer/index.d.ts +0 -187
  1979. package/packages/core/node_modules/safe-buffer/index.js +0 -65
  1980. package/packages/core/node_modules/safe-buffer/package.json +0 -51
  1981. package/packages/core/node_modules/safer-buffer/LICENSE +0 -21
  1982. package/packages/core/node_modules/safer-buffer/Porting-Buffer.md +0 -268
  1983. package/packages/core/node_modules/safer-buffer/Readme.md +0 -156
  1984. package/packages/core/node_modules/safer-buffer/dangerous.js +0 -58
  1985. package/packages/core/node_modules/safer-buffer/package.json +0 -34
  1986. package/packages/core/node_modules/safer-buffer/safer.js +0 -77
  1987. package/packages/core/node_modules/safer-buffer/tests.js +0 -406
  1988. package/packages/core/node_modules/send/HISTORY.md +0 -538
  1989. package/packages/core/node_modules/send/LICENSE +0 -23
  1990. package/packages/core/node_modules/send/README.md +0 -327
  1991. package/packages/core/node_modules/send/SECURITY.md +0 -24
  1992. package/packages/core/node_modules/send/index.js +0 -1142
  1993. package/packages/core/node_modules/send/node_modules/ms/index.js +0 -162
  1994. package/packages/core/node_modules/send/node_modules/ms/license.md +0 -21
  1995. package/packages/core/node_modules/send/node_modules/ms/package.json +0 -38
  1996. package/packages/core/node_modules/send/node_modules/ms/readme.md +0 -59
  1997. package/packages/core/node_modules/send/package.json +0 -62
  1998. package/packages/core/node_modules/serve-static/HISTORY.md +0 -493
  1999. package/packages/core/node_modules/serve-static/LICENSE +0 -25
  2000. package/packages/core/node_modules/serve-static/README.md +0 -257
  2001. package/packages/core/node_modules/serve-static/index.js +0 -209
  2002. package/packages/core/node_modules/serve-static/package.json +0 -42
  2003. package/packages/core/node_modules/set-cookie-parser/LICENSE +0 -21
  2004. package/packages/core/node_modules/set-cookie-parser/README.md +0 -202
  2005. package/packages/core/node_modules/set-cookie-parser/lib/set-cookie.js +0 -242
  2006. package/packages/core/node_modules/set-cookie-parser/package.json +0 -45
  2007. package/packages/core/node_modules/setprototypeof/LICENSE +0 -13
  2008. package/packages/core/node_modules/setprototypeof/README.md +0 -31
  2009. package/packages/core/node_modules/setprototypeof/index.d.ts +0 -2
  2010. package/packages/core/node_modules/setprototypeof/index.js +0 -17
  2011. package/packages/core/node_modules/setprototypeof/package.json +0 -38
  2012. package/packages/core/node_modules/setprototypeof/test/index.js +0 -24
  2013. package/packages/core/node_modules/side-channel/.editorconfig +0 -9
  2014. package/packages/core/node_modules/side-channel/.eslintrc +0 -12
  2015. package/packages/core/node_modules/side-channel/.github/FUNDING.yml +0 -12
  2016. package/packages/core/node_modules/side-channel/.nycrc +0 -13
  2017. package/packages/core/node_modules/side-channel/CHANGELOG.md +0 -110
  2018. package/packages/core/node_modules/side-channel/LICENSE +0 -21
  2019. package/packages/core/node_modules/side-channel/README.md +0 -61
  2020. package/packages/core/node_modules/side-channel/index.d.ts +0 -14
  2021. package/packages/core/node_modules/side-channel/index.js +0 -43
  2022. package/packages/core/node_modules/side-channel/package.json +0 -85
  2023. package/packages/core/node_modules/side-channel/test/index.js +0 -104
  2024. package/packages/core/node_modules/side-channel/tsconfig.json +0 -9
  2025. package/packages/core/node_modules/side-channel-list/.editorconfig +0 -9
  2026. package/packages/core/node_modules/side-channel-list/.eslintrc +0 -11
  2027. package/packages/core/node_modules/side-channel-list/.github/FUNDING.yml +0 -12
  2028. package/packages/core/node_modules/side-channel-list/.nycrc +0 -13
  2029. package/packages/core/node_modules/side-channel-list/CHANGELOG.md +0 -15
  2030. package/packages/core/node_modules/side-channel-list/LICENSE +0 -21
  2031. package/packages/core/node_modules/side-channel-list/README.md +0 -62
  2032. package/packages/core/node_modules/side-channel-list/index.d.ts +0 -13
  2033. package/packages/core/node_modules/side-channel-list/index.js +0 -113
  2034. package/packages/core/node_modules/side-channel-list/list.d.ts +0 -14
  2035. package/packages/core/node_modules/side-channel-list/package.json +0 -77
  2036. package/packages/core/node_modules/side-channel-list/test/index.js +0 -104
  2037. package/packages/core/node_modules/side-channel-list/tsconfig.json +0 -9
  2038. package/packages/core/node_modules/side-channel-map/.editorconfig +0 -9
  2039. package/packages/core/node_modules/side-channel-map/.eslintrc +0 -11
  2040. package/packages/core/node_modules/side-channel-map/.github/FUNDING.yml +0 -12
  2041. package/packages/core/node_modules/side-channel-map/.nycrc +0 -13
  2042. package/packages/core/node_modules/side-channel-map/CHANGELOG.md +0 -22
  2043. package/packages/core/node_modules/side-channel-map/LICENSE +0 -21
  2044. package/packages/core/node_modules/side-channel-map/README.md +0 -62
  2045. package/packages/core/node_modules/side-channel-map/index.d.ts +0 -15
  2046. package/packages/core/node_modules/side-channel-map/index.js +0 -68
  2047. package/packages/core/node_modules/side-channel-map/package.json +0 -80
  2048. package/packages/core/node_modules/side-channel-map/test/index.js +0 -114
  2049. package/packages/core/node_modules/side-channel-map/tsconfig.json +0 -9
  2050. package/packages/core/node_modules/side-channel-weakmap/.editorconfig +0 -9
  2051. package/packages/core/node_modules/side-channel-weakmap/.eslintrc +0 -12
  2052. package/packages/core/node_modules/side-channel-weakmap/.github/FUNDING.yml +0 -12
  2053. package/packages/core/node_modules/side-channel-weakmap/.nycrc +0 -13
  2054. package/packages/core/node_modules/side-channel-weakmap/CHANGELOG.md +0 -28
  2055. package/packages/core/node_modules/side-channel-weakmap/LICENSE +0 -21
  2056. package/packages/core/node_modules/side-channel-weakmap/README.md +0 -62
  2057. package/packages/core/node_modules/side-channel-weakmap/index.d.ts +0 -15
  2058. package/packages/core/node_modules/side-channel-weakmap/index.js +0 -84
  2059. package/packages/core/node_modules/side-channel-weakmap/package.json +0 -87
  2060. package/packages/core/node_modules/side-channel-weakmap/test/index.js +0 -114
  2061. package/packages/core/node_modules/side-channel-weakmap/tsconfig.json +0 -9
  2062. package/packages/core/node_modules/slugify/CHANGELOG.md +0 -94
  2063. package/packages/core/node_modules/slugify/LICENSE +0 -21
  2064. package/packages/core/node_modules/slugify/README.md +0 -98
  2065. package/packages/core/node_modules/slugify/package.json +0 -42
  2066. package/packages/core/node_modules/slugify/slugify.d.ts +0 -24
  2067. package/packages/core/node_modules/slugify/slugify.js +0 -69
  2068. package/packages/core/node_modules/statuses/HISTORY.md +0 -87
  2069. package/packages/core/node_modules/statuses/LICENSE +0 -23
  2070. package/packages/core/node_modules/statuses/README.md +0 -139
  2071. package/packages/core/node_modules/statuses/codes.json +0 -65
  2072. package/packages/core/node_modules/statuses/index.js +0 -146
  2073. package/packages/core/node_modules/statuses/package.json +0 -49
  2074. package/packages/core/node_modules/to-arraybuffer/.travis.yml +0 -3
  2075. package/packages/core/node_modules/to-arraybuffer/.zuul.yml +0 -16
  2076. package/packages/core/node_modules/to-arraybuffer/LICENSE +0 -24
  2077. package/packages/core/node_modules/to-arraybuffer/README.md +0 -27
  2078. package/packages/core/node_modules/to-arraybuffer/index.js +0 -27
  2079. package/packages/core/node_modules/to-arraybuffer/package.json +0 -34
  2080. package/packages/core/node_modules/to-arraybuffer/test.js +0 -57
  2081. package/packages/core/node_modules/toidentifier/HISTORY.md +0 -9
  2082. package/packages/core/node_modules/toidentifier/LICENSE +0 -21
  2083. package/packages/core/node_modules/toidentifier/README.md +0 -61
  2084. package/packages/core/node_modules/toidentifier/index.js +0 -32
  2085. package/packages/core/node_modules/toidentifier/package.json +0 -38
  2086. package/packages/core/node_modules/type-is/HISTORY.md +0 -259
  2087. package/packages/core/node_modules/type-is/LICENSE +0 -23
  2088. package/packages/core/node_modules/type-is/README.md +0 -170
  2089. package/packages/core/node_modules/type-is/index.js +0 -266
  2090. package/packages/core/node_modules/type-is/package.json +0 -45
  2091. package/packages/core/node_modules/undici-types/LICENSE +0 -21
  2092. package/packages/core/node_modules/undici-types/README.md +0 -6
  2093. package/packages/core/node_modules/undici-types/agent.d.ts +0 -32
  2094. package/packages/core/node_modules/undici-types/api.d.ts +0 -43
  2095. package/packages/core/node_modules/undici-types/balanced-pool.d.ts +0 -29
  2096. package/packages/core/node_modules/undici-types/cache-interceptor.d.ts +0 -172
  2097. package/packages/core/node_modules/undici-types/cache.d.ts +0 -36
  2098. package/packages/core/node_modules/undici-types/client-stats.d.ts +0 -15
  2099. package/packages/core/node_modules/undici-types/client.d.ts +0 -108
  2100. package/packages/core/node_modules/undici-types/connector.d.ts +0 -34
  2101. package/packages/core/node_modules/undici-types/content-type.d.ts +0 -21
  2102. package/packages/core/node_modules/undici-types/cookies.d.ts +0 -30
  2103. package/packages/core/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
  2104. package/packages/core/node_modules/undici-types/dispatcher.d.ts +0 -276
  2105. package/packages/core/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
  2106. package/packages/core/node_modules/undici-types/errors.d.ts +0 -161
  2107. package/packages/core/node_modules/undici-types/eventsource.d.ts +0 -66
  2108. package/packages/core/node_modules/undici-types/fetch.d.ts +0 -211
  2109. package/packages/core/node_modules/undici-types/formdata.d.ts +0 -108
  2110. package/packages/core/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  2111. package/packages/core/node_modules/undici-types/global-origin.d.ts +0 -7
  2112. package/packages/core/node_modules/undici-types/h2c-client.d.ts +0 -73
  2113. package/packages/core/node_modules/undici-types/handlers.d.ts +0 -15
  2114. package/packages/core/node_modules/undici-types/header.d.ts +0 -160
  2115. package/packages/core/node_modules/undici-types/index.d.ts +0 -80
  2116. package/packages/core/node_modules/undici-types/interceptors.d.ts +0 -39
  2117. package/packages/core/node_modules/undici-types/mock-agent.d.ts +0 -68
  2118. package/packages/core/node_modules/undici-types/mock-call-history.d.ts +0 -111
  2119. package/packages/core/node_modules/undici-types/mock-client.d.ts +0 -27
  2120. package/packages/core/node_modules/undici-types/mock-errors.d.ts +0 -12
  2121. package/packages/core/node_modules/undici-types/mock-interceptor.d.ts +0 -94
  2122. package/packages/core/node_modules/undici-types/mock-pool.d.ts +0 -27
  2123. package/packages/core/node_modules/undici-types/package.json +0 -55
  2124. package/packages/core/node_modules/undici-types/patch.d.ts +0 -29
  2125. package/packages/core/node_modules/undici-types/pool-stats.d.ts +0 -19
  2126. package/packages/core/node_modules/undici-types/pool.d.ts +0 -41
  2127. package/packages/core/node_modules/undici-types/proxy-agent.d.ts +0 -29
  2128. package/packages/core/node_modules/undici-types/readable.d.ts +0 -68
  2129. package/packages/core/node_modules/undici-types/retry-agent.d.ts +0 -8
  2130. package/packages/core/node_modules/undici-types/retry-handler.d.ts +0 -125
  2131. package/packages/core/node_modules/undici-types/snapshot-agent.d.ts +0 -109
  2132. package/packages/core/node_modules/undici-types/util.d.ts +0 -18
  2133. package/packages/core/node_modules/undici-types/utility.d.ts +0 -7
  2134. package/packages/core/node_modules/undici-types/webidl.d.ts +0 -341
  2135. package/packages/core/node_modules/undici-types/websocket.d.ts +0 -186
  2136. package/packages/core/node_modules/universalify/LICENSE +0 -20
  2137. package/packages/core/node_modules/universalify/README.md +0 -76
  2138. package/packages/core/node_modules/universalify/index.js +0 -24
  2139. package/packages/core/node_modules/universalify/package.json +0 -34
  2140. package/packages/core/node_modules/unpipe/HISTORY.md +0 -4
  2141. package/packages/core/node_modules/unpipe/LICENSE +0 -22
  2142. package/packages/core/node_modules/unpipe/README.md +0 -43
  2143. package/packages/core/node_modules/unpipe/index.js +0 -69
  2144. package/packages/core/node_modules/unpipe/package.json +0 -27
  2145. package/packages/core/node_modules/url-parse/LICENSE +0 -22
  2146. package/packages/core/node_modules/url-parse/README.md +0 -153
  2147. package/packages/core/node_modules/url-parse/index.js +0 -589
  2148. package/packages/core/node_modules/url-parse/package.json +0 -49
  2149. package/packages/core/node_modules/utf8-byte-length/.gitmodules +0 -3
  2150. package/packages/core/node_modules/utf8-byte-length/.travis.yml +0 -9
  2151. package/packages/core/node_modules/utf8-byte-length/AUTHORS +0 -2
  2152. package/packages/core/node_modules/utf8-byte-length/LICENSE.MIT.txt +0 -7
  2153. package/packages/core/node_modules/utf8-byte-length/LICENSE.WTFPL.txt +0 -13
  2154. package/packages/core/node_modules/utf8-byte-length/README.md +0 -28
  2155. package/packages/core/node_modules/utf8-byte-length/browser.js +0 -47
  2156. package/packages/core/node_modules/utf8-byte-length/index.js +0 -8
  2157. package/packages/core/node_modules/utf8-byte-length/package.json +0 -26
  2158. package/packages/core/node_modules/utf8-byte-length/test.js +0 -67
  2159. package/packages/core/node_modules/utils-merge/LICENSE +0 -20
  2160. package/packages/core/node_modules/utils-merge/README.md +0 -34
  2161. package/packages/core/node_modules/utils-merge/index.js +0 -23
  2162. package/packages/core/node_modules/utils-merge/package.json +0 -40
  2163. package/packages/core/node_modules/vary/HISTORY.md +0 -39
  2164. package/packages/core/node_modules/vary/LICENSE +0 -22
  2165. package/packages/core/node_modules/vary/README.md +0 -101
  2166. package/packages/core/node_modules/vary/index.js +0 -149
  2167. package/packages/core/node_modules/vary/package.json +0 -43
  2168. package/packages/core/package-lock.json +0 -1293
  2169. package/packages/core/package.json +0 -41
  2170. package/packages/core/src/aliases.ts +0 -132
  2171. package/packages/core/src/chat/Chat.ts +0 -449
  2172. package/packages/core/src/chat/ChatOptions.ts +0 -21
  2173. package/packages/core/src/chat/ChatResponse.ts +0 -49
  2174. package/packages/core/src/chat/ChatStream.ts +0 -178
  2175. package/packages/core/src/chat/Content.ts +0 -7
  2176. package/packages/core/src/chat/Message.ts +0 -14
  2177. package/packages/core/src/chat/Role.ts +0 -5
  2178. package/packages/core/src/chat/Tool.ts +0 -83
  2179. package/packages/core/src/config.ts +0 -35
  2180. package/packages/core/src/constants.ts +0 -6
  2181. package/packages/core/src/embedding/Embedding.ts +0 -29
  2182. package/packages/core/src/errors/index.ts +0 -135
  2183. package/packages/core/src/executor/Executor.ts +0 -34
  2184. package/packages/core/src/image/GeneratedImage.ts +0 -70
  2185. package/packages/core/src/index.ts +0 -19
  2186. package/packages/core/src/llm.ts +0 -332
  2187. package/packages/core/src/model_aliases.ts +0 -24
  2188. package/packages/core/src/models/ModelRegistry.ts +0 -94
  2189. package/packages/core/src/models/models.json +0 -7021
  2190. package/packages/core/src/models/models.ts +0 -29475
  2191. package/packages/core/src/models/types.ts +0 -83
  2192. package/packages/core/src/moderation/Moderation.ts +0 -104
  2193. package/packages/core/src/providers/BaseProvider.ts +0 -65
  2194. package/packages/core/src/providers/Provider.ts +0 -152
  2195. package/packages/core/src/providers/anthropic/AnthropicProvider.ts +0 -73
  2196. package/packages/core/src/providers/anthropic/Capabilities.ts +0 -86
  2197. package/packages/core/src/providers/anthropic/Chat.ts +0 -123
  2198. package/packages/core/src/providers/anthropic/Errors.ts +0 -48
  2199. package/packages/core/src/providers/anthropic/Models.ts +0 -62
  2200. package/packages/core/src/providers/anthropic/Streaming.ts +0 -211
  2201. package/packages/core/src/providers/anthropic/Utils.ts +0 -141
  2202. package/packages/core/src/providers/anthropic/index.ts +0 -13
  2203. package/packages/core/src/providers/anthropic/types.ts +0 -61
  2204. package/packages/core/src/providers/deepseek/Capabilities.ts +0 -66
  2205. package/packages/core/src/providers/deepseek/Chat.ts +0 -115
  2206. package/packages/core/src/providers/deepseek/DeepSeekProvider.ts +0 -71
  2207. package/packages/core/src/providers/deepseek/Models.ts +0 -82
  2208. package/packages/core/src/providers/deepseek/Streaming.ts +0 -170
  2209. package/packages/core/src/providers/deepseek/index.ts +0 -29
  2210. package/packages/core/src/providers/gemini/Capabilities.ts +0 -174
  2211. package/packages/core/src/providers/gemini/Chat.ts +0 -128
  2212. package/packages/core/src/providers/gemini/ChatUtils.ts +0 -86
  2213. package/packages/core/src/providers/gemini/Embeddings.ts +0 -52
  2214. package/packages/core/src/providers/gemini/Errors.ts +0 -49
  2215. package/packages/core/src/providers/gemini/GeminiProvider.ts +0 -105
  2216. package/packages/core/src/providers/gemini/Image.ts +0 -57
  2217. package/packages/core/src/providers/gemini/Models.ts +0 -62
  2218. package/packages/core/src/providers/gemini/Streaming.ts +0 -175
  2219. package/packages/core/src/providers/gemini/Transcription.ts +0 -74
  2220. package/packages/core/src/providers/gemini/index.ts +0 -32
  2221. package/packages/core/src/providers/gemini/types.ts +0 -125
  2222. package/packages/core/src/providers/ollama/Capabilities.ts +0 -65
  2223. package/packages/core/src/providers/ollama/Embedding.ts +0 -14
  2224. package/packages/core/src/providers/ollama/Models.ts +0 -32
  2225. package/packages/core/src/providers/ollama/OllamaProvider.ts +0 -43
  2226. package/packages/core/src/providers/ollama/index.ts +0 -23
  2227. package/packages/core/src/providers/openai/Capabilities.ts +0 -158
  2228. package/packages/core/src/providers/openai/Chat.ts +0 -67
  2229. package/packages/core/src/providers/openai/Embedding.ts +0 -71
  2230. package/packages/core/src/providers/openai/Errors.ts +0 -49
  2231. package/packages/core/src/providers/openai/Image.ts +0 -48
  2232. package/packages/core/src/providers/openai/ModelDefinitions.ts +0 -0
  2233. package/packages/core/src/providers/openai/Models.ts +0 -104
  2234. package/packages/core/src/providers/openai/Moderation.ts +0 -36
  2235. package/packages/core/src/providers/openai/OpenAIProvider.ts +0 -98
  2236. package/packages/core/src/providers/openai/Streaming.ts +0 -179
  2237. package/packages/core/src/providers/openai/Transcription.ts +0 -193
  2238. package/packages/core/src/providers/openai/index.ts +0 -31
  2239. package/packages/core/src/providers/openai/types.ts +0 -32
  2240. package/packages/core/src/providers/openai/utils.ts +0 -25
  2241. package/packages/core/src/providers/openrouter/Capabilities.ts +0 -77
  2242. package/packages/core/src/providers/openrouter/Models.ts +0 -126
  2243. package/packages/core/src/providers/openrouter/OpenRouterProvider.ts +0 -32
  2244. package/packages/core/src/providers/openrouter/index.ts +0 -33
  2245. package/packages/core/src/providers/registry.ts +0 -64
  2246. package/packages/core/src/schema/Schema.ts +0 -32
  2247. package/packages/core/src/schema/to-json-schema.ts +0 -11
  2248. package/packages/core/src/streaming/Stream.ts +0 -78
  2249. package/packages/core/src/transcription/Transcription.ts +0 -25
  2250. package/packages/core/src/utils/Binary.ts +0 -73
  2251. package/packages/core/src/utils/FileLoader.ts +0 -130
  2252. package/packages/core/src/utils/audio.ts +0 -52
  2253. package/packages/core/src/utils/logger.ts +0 -52
  2254. package/packages/core/test/__cassettes__/anthropic/should-list-available-models_2026798893/recording.har +0 -121
  2255. package/packages/core/test/__cassettes__/anthropic/should-perform-a-basic-chat-completion-with-Claude-3-5-Sonnet_1984197983/recording.har +0 -174
  2256. package/packages/core/test/__cassettes__/anthropic/should-perform-a-basic-chat-completion-with-Claude-3-Haiku_142399543/recording.har +0 -174
  2257. package/packages/core/test/__cassettes__/anthropic/should-respect-max_tokens-parameter_403137346/recording.har +0 -174
  2258. package/packages/core/test/__cassettes__/anthropic/should-return-token-usage-statistics_3849854421/recording.har +0 -174
  2259. package/packages/core/test/__cassettes__/anthropic/should-stream-chat-completion-with-Claude-3-Haiku_2651274227/recording.har +0 -174
  2260. package/packages/core/test/__cassettes__/anthropic/should-support-PDF-document-input_230679096/recording.har +0 -178
  2261. package/packages/core/test/__cassettes__/anthropic/should-support-structured-output-with-Zod-schema_755272941/recording.har +0 -174
  2262. package/packages/core/test/__cassettes__/anthropic/should-support-tool-calling_3435498037/recording.har +0 -334
  2263. package/packages/core/test/__cassettes__/anthropic/should-support-vision-with-image-input_2861386056/recording.har +0 -174
  2264. package/packages/core/test/__cassettes__/deepseek/should-capture-reasoning-content-for-deepseek-reasoner_2673345164/recording.har +0 -130
  2265. package/packages/core/test/__cassettes__/deepseek/should-list-models_3564403912/recording.har +0 -117
  2266. package/packages/core/test/__cassettes__/deepseek/should-perform-a-basic-chat-completion_395772062/recording.har +0 -130
  2267. package/packages/core/test/__cassettes__/deepseek/should-stream-reasoning-content-for-deepseek-reasoner_2301332238/recording.har +0 -130
  2268. package/packages/core/test/__cassettes__/deepseek/should-support-context-window-param-adjustment_848207690/recording.har +0 -130
  2269. package/packages/core/test/__cassettes__/deepseek/should-support-streaming_7554513/recording.har +0 -130
  2270. package/packages/core/test/__cassettes__/deepseek/should-support-structured-output-with-Zod_2840247798/recording.har +0 -130
  2271. package/packages/core/test/__cassettes__/deepseek/should-support-tool-calling_3435498037/recording.har +0 -246
  2272. package/packages/core/test/__cassettes__/deepseek/should-track-token-usage_256985899/recording.har +0 -130
  2273. package/packages/core/test/__cassettes__/gemini/should-analyze-images-Vision_1748602783/recording.har +0 -115
  2274. package/packages/core/test/__cassettes__/gemini/should-generate-an-image-Paint_3269691518/recording.har +0 -115
  2275. package/packages/core/test/__cassettes__/gemini/should-generate-an-image-and-support-image-features-Paint_2594814762/recording.har +0 -115
  2276. package/packages/core/test/__cassettes__/gemini/should-generate-batch-embeddings_1404188693/recording.har +0 -115
  2277. package/packages/core/test/__cassettes__/gemini/should-generate-embeddings_2432718257/recording.har +0 -115
  2278. package/packages/core/test/__cassettes__/gemini/should-handle-tool-calling_4230693750/recording.har +0 -216
  2279. package/packages/core/test/__cassettes__/gemini/should-list-available-models_2026798893/recording.har +0 -110
  2280. package/packages/core/test/__cassettes__/gemini/should-perform-a-basic-chat-completion_395772062/recording.har +0 -115
  2281. package/packages/core/test/__cassettes__/gemini/should-respect-max_tokens-parameter_403137346/recording.har +0 -115
  2282. package/packages/core/test/__cassettes__/gemini/should-support-streaming_7554513/recording.har +0 -119
  2283. package/packages/core/test/__cassettes__/gemini/should-support-structured-output-with-Zod-schema_755272941/recording.har +0 -115
  2284. package/packages/core/test/__cassettes__/gemini/should-track-total-token-usage_1212299993/recording.har +0 -216
  2285. package/packages/core/test/__cassettes__/gemini/should-transcribe-audio_1911693007/recording.har +0 -115
  2286. package/packages/core/test/__cassettes__/ollama/should-chat-with-local-model_2758001006/recording.har +0 -82
  2287. package/packages/core/test/__cassettes__/ollama/should-list-local-models_4171595997/recording.har +0 -77
  2288. package/packages/core/test/__cassettes__/openai/should-analyze-images-Vision_1748602783/recording.har +0 -342
  2289. package/packages/core/test/__cassettes__/openai/should-analyze-multiple-images-Multi-Image-Vision_2739914650/recording.har +0 -196
  2290. package/packages/core/test/__cassettes__/openai/should-generate-batch-embeddings_1404188693/recording.har +0 -196
  2291. package/packages/core/test/__cassettes__/openai/should-generate-embeddings-for-multiple-texts_1428372966/recording.har +0 -196
  2292. package/packages/core/test/__cassettes__/openai/should-generate-embeddings-for-single-text_2157217693/recording.har +0 -196
  2293. package/packages/core/test/__cassettes__/openai/should-generate-embeddings_2432718257/recording.har +0 -196
  2294. package/packages/core/test/__cassettes__/openai/should-generate-images-Paint_3131486506/recording.har +0 -152
  2295. package/packages/core/test/__cassettes__/openai/should-handle-parallel-tool-calling_1119184407/recording.har +0 -354
  2296. package/packages/core/test/__cassettes__/openai/should-handle-tool-calling_4230693750/recording.har +0 -354
  2297. package/packages/core/test/__cassettes__/openai/should-list-available-models_2026798893/recording.har +0 -143
  2298. package/packages/core/test/__cassettes__/openai/should-moderate-content_642159746/recording.har +0 -156
  2299. package/packages/core/test/__cassettes__/openai/should-perform-a-basic-chat-completion_395772062/recording.har +0 -184
  2300. package/packages/core/test/__cassettes__/openai/should-respect-max_tokens-parameter_403137346/recording.har +0 -184
  2301. package/packages/core/test/__cassettes__/openai/should-support-JSON-mode_867202072/recording.har +0 -184
  2302. package/packages/core/test/__cassettes__/openai/should-support-custom-dimensions_1318459641/recording.har +0 -196
  2303. package/packages/core/test/__cassettes__/openai/should-support-streaming_7554513/recording.har +0 -180
  2304. package/packages/core/test/__cassettes__/openai/should-support-structured-output-with-Zod-schema_755272941/recording.har +0 -184
  2305. package/packages/core/test/__cassettes__/openai/should-support-structured-output-with-manual-JSON-schema_2353032102/recording.har +0 -184
  2306. package/packages/core/test/__cassettes__/openai/should-track-total-token-usage_1212299993/recording.har +0 -354
  2307. package/packages/core/test/__cassettes__/openai/should-transcribe-audio-using-gpt-4o-transcribe_3226468172/recording.har +0 -184
  2308. package/packages/core/test/__cassettes__/openai/should-transcribe-audio_1911693007/recording.har +0 -171
  2309. package/packages/core/test/__cassettes__/openai/should-use-configured-default-model_1543274091/recording.har +0 -196
  2310. package/packages/core/test/__cassettes__/openrouter/should-analyze-images-Vision_1748602783/recording.har +0 -118
  2311. package/packages/core/test/__cassettes__/openrouter/should-create-embeddings_961555720/recording.har +0 -118
  2312. package/packages/core/test/__cassettes__/openrouter/should-create-multiple-embeddings_3067099544/recording.har +0 -118
  2313. package/packages/core/test/__cassettes__/openrouter/should-handle-tool-calling_4230693750/recording.har +0 -222
  2314. package/packages/core/test/__cassettes__/openrouter/should-list-available-models_2026798893/recording.har +0 -117
  2315. package/packages/core/test/__cassettes__/openrouter/should-perform-a-basic-chat-completion_395772062/recording.har +0 -118
  2316. package/packages/core/test/__cassettes__/openrouter/should-support-streaming_7554513/recording.har +0 -118
  2317. package/packages/core/test/fake-provider.ts +0 -22
  2318. package/packages/core/test/fake-streaming-provider.ts +0 -12
  2319. package/packages/core/test/helpers/vcr.ts +0 -93
  2320. package/packages/core/test/integration/anthropic/chat/basic.test.ts +0 -50
  2321. package/packages/core/test/integration/anthropic/chat/params.test.ts +0 -31
  2322. package/packages/core/test/integration/anthropic/chat/tools.test.ts +0 -66
  2323. package/packages/core/test/integration/anthropic/chat/usage.test.ts +0 -31
  2324. package/packages/core/test/integration/anthropic/discovery/models.test.ts +0 -33
  2325. package/packages/core/test/integration/anthropic/multimodal/vision.test.ts +0 -55
  2326. package/packages/core/test/integration/anthropic/schema.test.ts +0 -43
  2327. package/packages/core/test/integration/deepseek/chat/basic.test.ts +0 -45
  2328. package/packages/core/test/integration/deepseek/chat/json.test.ts +0 -38
  2329. package/packages/core/test/integration/deepseek/chat/params.test.ts +0 -27
  2330. package/packages/core/test/integration/deepseek/chat/reasoning.test.ts +0 -46
  2331. package/packages/core/test/integration/deepseek/chat/tools.test.ts +0 -50
  2332. package/packages/core/test/integration/deepseek/chat/usage.test.ts +0 -30
  2333. package/packages/core/test/integration/deepseek/discovery/models.test.ts +0 -33
  2334. package/packages/core/test/integration/deepseek/embeddings/basic.test.ts +0 -23
  2335. package/packages/core/test/integration/deepseek/images/generate.test.ts +0 -23
  2336. package/packages/core/test/integration/deepseek/multimodal/vision.test.ts +0 -28
  2337. package/packages/core/test/integration/deepseek/safety/moderation.test.ts +0 -24
  2338. package/packages/core/test/integration/gemini/chat/basic.test.ts +0 -42
  2339. package/packages/core/test/integration/gemini/chat/params.test.ts +0 -30
  2340. package/packages/core/test/integration/gemini/chat/tools.test.ts +0 -41
  2341. package/packages/core/test/integration/gemini/chat/usage.test.ts +0 -32
  2342. package/packages/core/test/integration/gemini/discovery/models.test.ts +0 -30
  2343. package/packages/core/test/integration/gemini/embeddings/create.test.ts +0 -39
  2344. package/packages/core/test/integration/gemini/images/generate.test.ts +0 -34
  2345. package/packages/core/test/integration/gemini/multimodal/vision.test.ts +0 -54
  2346. package/packages/core/test/integration/gemini/schema.test.ts +0 -44
  2347. package/packages/core/test/integration/ollama/chat/basic.test.ts +0 -41
  2348. package/packages/core/test/integration/openai/chat/basic.test.ts +0 -42
  2349. package/packages/core/test/integration/openai/chat/json.test.ts +0 -38
  2350. package/packages/core/test/integration/openai/chat/params.test.ts +0 -33
  2351. package/packages/core/test/integration/openai/chat/tools.test.ts +0 -66
  2352. package/packages/core/test/integration/openai/chat/usage.test.ts +0 -32
  2353. package/packages/core/test/integration/openai/discovery/models.test.ts +0 -28
  2354. package/packages/core/test/integration/openai/embeddings/create.test.ts +0 -39
  2355. package/packages/core/test/integration/openai/images/generate.test.ts +0 -26
  2356. package/packages/core/test/integration/openai/manual_schema.test.ts +0 -55
  2357. package/packages/core/test/integration/openai/multimodal/vision.test.ts +0 -103
  2358. package/packages/core/test/integration/openai/safety/moderation.test.ts +0 -27
  2359. package/packages/core/test/integration/openai/schema.test.ts +0 -43
  2360. package/packages/core/test/integration/openrouter/chat/basic.test.ts +0 -43
  2361. package/packages/core/test/integration/openrouter/chat/tools.test.ts +0 -42
  2362. package/packages/core/test/integration/openrouter/discovery/models.test.ts +0 -31
  2363. package/packages/core/test/integration/openrouter/embeddings/create.test.ts +0 -47
  2364. package/packages/core/test/integration/openrouter/multimodal/vision.test.ts +0 -33
  2365. package/packages/core/test/unit/chat/ChatStream.test.ts +0 -17
  2366. package/packages/core/test/unit/chat/Tool.test.ts +0 -71
  2367. package/packages/core/test/unit/chat/chat.test.ts +0 -43
  2368. package/packages/core/test/unit/chat/chat_events.test.ts +0 -91
  2369. package/packages/core/test/unit/chat/chat_tools.test.ts +0 -98
  2370. package/packages/core/test/unit/chat/headers.test.ts +0 -73
  2371. package/packages/core/test/unit/chat/retry.test.ts +0 -29
  2372. package/packages/core/test/unit/chat/system_prompts.test.ts +0 -82
  2373. package/packages/core/test/unit/chat/temperature.test.ts +0 -58
  2374. package/packages/core/test/unit/chat/tool-calling.test.ts +0 -159
  2375. package/packages/core/test/unit/chat/withParams.test.ts +0 -97
  2376. package/packages/core/test/unit/core/alias-logging.test.ts +0 -53
  2377. package/packages/core/test/unit/core/capabilities.test.ts +0 -70
  2378. package/packages/core/test/unit/core/custom_provider.test.ts +0 -62
  2379. package/packages/core/test/unit/core/debug.test.ts +0 -55
  2380. package/packages/core/test/unit/core/errors.test.ts +0 -116
  2381. package/packages/core/test/unit/core/llm.test.ts +0 -118
  2382. package/packages/core/test/unit/core/model-aliases-export.test.ts +0 -55
  2383. package/packages/core/test/unit/core/model_alias.test.ts +0 -130
  2384. package/packages/core/test/unit/core/withProvider.test.ts +0 -83
  2385. package/packages/core/test/unit/discovery/embedding.test.ts +0 -108
  2386. package/packages/core/test/unit/models/ModelRegistry.test.ts +0 -49
  2387. package/packages/core/test/unit/multimodal/transcribe.test.ts +0 -126
  2388. package/packages/core/test/unit/multimodal/vision.test.ts +0 -97
  2389. package/packages/core/test/unit/providers/anthropic/capabilities.test.ts +0 -53
  2390. package/packages/core/test/unit/providers/anthropic/chat.test.ts +0 -105
  2391. package/packages/core/test/unit/providers/anthropic/errors.test.ts +0 -42
  2392. package/packages/core/test/unit/providers/anthropic/models.test.ts +0 -31
  2393. package/packages/core/test/unit/providers/anthropic/provider.test.ts +0 -63
  2394. package/packages/core/test/unit/providers/anthropic/utils.test.ts +0 -99
  2395. package/packages/core/test/unit/providers/deepseek/capabilities.test.ts +0 -35
  2396. package/packages/core/test/unit/providers/deepseek/chat.test.ts +0 -131
  2397. package/packages/core/test/unit/providers/deepseek/models.test.ts +0 -53
  2398. package/packages/core/test/unit/providers/deepseek/provider.test.ts +0 -58
  2399. package/packages/core/test/unit/providers/gemini/capabilities.test.ts +0 -36
  2400. package/packages/core/test/unit/providers/gemini/chat.test.ts +0 -103
  2401. package/packages/core/test/unit/providers/gemini/chatUtils.test.ts +0 -79
  2402. package/packages/core/test/unit/providers/gemini/errors.test.ts +0 -37
  2403. package/packages/core/test/unit/providers/gemini/models.test.ts +0 -31
  2404. package/packages/core/test/unit/providers/gemini/provider.test.ts +0 -70
  2405. package/packages/core/test/unit/providers/ollama/registration.test.ts +0 -20
  2406. package/packages/core/test/unit/providers/openai/capabilities.test.ts +0 -39
  2407. package/packages/core/test/unit/providers/openai/chat.test.ts +0 -78
  2408. package/packages/core/test/unit/providers/openai/errors.test.ts +0 -32
  2409. package/packages/core/test/unit/providers/openai/models.test.ts +0 -33
  2410. package/packages/core/test/unit/providers/openai/provider.test.ts +0 -68
  2411. package/packages/core/test/unit/providers/openai/streaming.test.ts +0 -296
  2412. package/packages/core/test/unit/providers/openai/utils.test.ts +0 -33
  2413. package/packages/core/test/unit/providers/registry.test.ts +0 -41
  2414. package/packages/core/test/unit/safety/moderate.test.ts +0 -107
  2415. package/packages/core/test/unit/streaming/advanced.test.ts +0 -81
  2416. package/packages/core/tsconfig.json +0 -8
  2417. package/packages/core/vitest.config.ts +0 -8
  2418. package/pnpm-workspace.yaml +0 -2
  2419. package/tsconfig.base.json +0 -21
@@ -1,2480 +0,0 @@
1
- /**
2
- * The `node:http2` module provides an implementation of the [HTTP/2](https://tools.ietf.org/html/rfc7540) protocol.
3
- * It can be accessed using:
4
- *
5
- * ```js
6
- * import http2 from 'node:http2';
7
- * ```
8
- * @since v8.4.0
9
- * @see [source](https://github.com/nodejs/node/blob/v25.x/lib/http2.js)
10
- */
11
- declare module "node:http2" {
12
- import { NonSharedBuffer } from "node:buffer";
13
- import { InternalEventEmitter } from "node:events";
14
- import * as fs from "node:fs";
15
- import * as net from "node:net";
16
- import * as stream from "node:stream";
17
- import * as tls from "node:tls";
18
- import * as url from "node:url";
19
- import {
20
- IncomingHttpHeaders as Http1IncomingHttpHeaders,
21
- IncomingMessage,
22
- OutgoingHttpHeaders,
23
- ServerResponse,
24
- } from "node:http";
25
- interface IncomingHttpStatusHeader {
26
- ":status"?: number | undefined;
27
- }
28
- interface IncomingHttpHeaders extends Http1IncomingHttpHeaders {
29
- ":path"?: string | undefined;
30
- ":method"?: string | undefined;
31
- ":authority"?: string | undefined;
32
- ":scheme"?: string | undefined;
33
- }
34
- // Http2Stream
35
- interface StreamState {
36
- localWindowSize?: number | undefined;
37
- state?: number | undefined;
38
- localClose?: number | undefined;
39
- remoteClose?: number | undefined;
40
- /** @deprecated */
41
- sumDependencyWeight?: number | undefined;
42
- /** @deprecated */
43
- weight?: number | undefined;
44
- }
45
- interface ServerStreamResponseOptions {
46
- endStream?: boolean | undefined;
47
- waitForTrailers?: boolean | undefined;
48
- }
49
- interface StatOptions {
50
- offset: number;
51
- length: number;
52
- }
53
- interface ServerStreamFileResponseOptions {
54
- statCheck?:
55
- | ((stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions) => void)
56
- | undefined;
57
- waitForTrailers?: boolean | undefined;
58
- offset?: number | undefined;
59
- length?: number | undefined;
60
- }
61
- interface ServerStreamFileResponseOptionsWithError extends ServerStreamFileResponseOptions {
62
- onError?: ((err: NodeJS.ErrnoException) => void) | undefined;
63
- }
64
- interface Http2StreamEventMap extends stream.DuplexEventMap {
65
- "aborted": [];
66
- "data": [chunk: string | NonSharedBuffer];
67
- "frameError": [type: number, code: number, id: number];
68
- "ready": [];
69
- "streamClosed": [code: number];
70
- "timeout": [];
71
- "trailers": [trailers: IncomingHttpHeaders, flags: number];
72
- "wantTrailers": [];
73
- }
74
- interface Http2Stream extends stream.Duplex {
75
- /**
76
- * Set to `true` if the `Http2Stream` instance was aborted abnormally. When set,
77
- * the `'aborted'` event will have been emitted.
78
- * @since v8.4.0
79
- */
80
- readonly aborted: boolean;
81
- /**
82
- * This property shows the number of characters currently buffered to be written.
83
- * See `net.Socket.bufferSize` for details.
84
- * @since v11.2.0, v10.16.0
85
- */
86
- readonly bufferSize: number;
87
- /**
88
- * Set to `true` if the `Http2Stream` instance has been closed.
89
- * @since v9.4.0
90
- */
91
- readonly closed: boolean;
92
- /**
93
- * Set to `true` if the `Http2Stream` instance has been destroyed and is no longer
94
- * usable.
95
- * @since v8.4.0
96
- */
97
- readonly destroyed: boolean;
98
- /**
99
- * Set to `true` if the `END_STREAM` flag was set in the request or response
100
- * HEADERS frame received, indicating that no additional data should be received
101
- * and the readable side of the `Http2Stream` will be closed.
102
- * @since v10.11.0
103
- */
104
- readonly endAfterHeaders: boolean;
105
- /**
106
- * The numeric stream identifier of this `Http2Stream` instance. Set to `undefined` if the stream identifier has not yet been assigned.
107
- * @since v8.4.0
108
- */
109
- readonly id?: number | undefined;
110
- /**
111
- * Set to `true` if the `Http2Stream` instance has not yet been assigned a
112
- * numeric stream identifier.
113
- * @since v9.4.0
114
- */
115
- readonly pending: boolean;
116
- /**
117
- * Set to the `RST_STREAM` `error code` reported when the `Http2Stream` is
118
- * destroyed after either receiving an `RST_STREAM` frame from the connected peer,
119
- * calling `http2stream.close()`, or `http2stream.destroy()`. Will be `undefined` if the `Http2Stream` has not been closed.
120
- * @since v8.4.0
121
- */
122
- readonly rstCode: number;
123
- /**
124
- * An object containing the outbound headers sent for this `Http2Stream`.
125
- * @since v9.5.0
126
- */
127
- readonly sentHeaders: OutgoingHttpHeaders;
128
- /**
129
- * An array of objects containing the outbound informational (additional) headers
130
- * sent for this `Http2Stream`.
131
- * @since v9.5.0
132
- */
133
- readonly sentInfoHeaders?: OutgoingHttpHeaders[] | undefined;
134
- /**
135
- * An object containing the outbound trailers sent for this `HttpStream`.
136
- * @since v9.5.0
137
- */
138
- readonly sentTrailers?: OutgoingHttpHeaders | undefined;
139
- /**
140
- * A reference to the `Http2Session` instance that owns this `Http2Stream`. The
141
- * value will be `undefined` after the `Http2Stream` instance is destroyed.
142
- * @since v8.4.0
143
- */
144
- readonly session: Http2Session | undefined;
145
- /**
146
- * Provides miscellaneous information about the current state of the `Http2Stream`.
147
- *
148
- * A current state of this `Http2Stream`.
149
- * @since v8.4.0
150
- */
151
- readonly state: StreamState;
152
- /**
153
- * Closes the `Http2Stream` instance by sending an `RST_STREAM` frame to the
154
- * connected HTTP/2 peer.
155
- * @since v8.4.0
156
- * @param [code=http2.constants.NGHTTP2_NO_ERROR] Unsigned 32-bit integer identifying the error code.
157
- * @param callback An optional function registered to listen for the `'close'` event.
158
- */
159
- close(code?: number, callback?: () => void): void;
160
- /**
161
- * @deprecated Priority signaling is no longer supported in Node.js.
162
- */
163
- priority(options: unknown): void;
164
- /**
165
- * ```js
166
- * import http2 from 'node:http2';
167
- * const client = http2.connect('http://example.org:8000');
168
- * const { NGHTTP2_CANCEL } = http2.constants;
169
- * const req = client.request({ ':path': '/' });
170
- *
171
- * // Cancel the stream if there's no activity after 5 seconds
172
- * req.setTimeout(5000, () => req.close(NGHTTP2_CANCEL));
173
- * ```
174
- * @since v8.4.0
175
- */
176
- setTimeout(msecs: number, callback?: () => void): void;
177
- /**
178
- * Sends a trailing `HEADERS` frame to the connected HTTP/2 peer. This method
179
- * will cause the `Http2Stream` to be immediately closed and must only be
180
- * called after the `'wantTrailers'` event has been emitted. When sending a
181
- * request or sending a response, the `options.waitForTrailers` option must be set
182
- * in order to keep the `Http2Stream` open after the final `DATA` frame so that
183
- * trailers can be sent.
184
- *
185
- * ```js
186
- * import http2 from 'node:http2';
187
- * const server = http2.createServer();
188
- * server.on('stream', (stream) => {
189
- * stream.respond(undefined, { waitForTrailers: true });
190
- * stream.on('wantTrailers', () => {
191
- * stream.sendTrailers({ xyz: 'abc' });
192
- * });
193
- * stream.end('Hello World');
194
- * });
195
- * ```
196
- *
197
- * The HTTP/1 specification forbids trailers from containing HTTP/2 pseudo-header
198
- * fields (e.g. `':method'`, `':path'`, etc).
199
- * @since v10.0.0
200
- */
201
- sendTrailers(headers: OutgoingHttpHeaders): void;
202
- // #region InternalEventEmitter
203
- addListener<E extends keyof Http2StreamEventMap>(
204
- eventName: E,
205
- listener: (...args: Http2StreamEventMap[E]) => void,
206
- ): this;
207
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
208
- emit<E extends keyof Http2StreamEventMap>(eventName: E, ...args: Http2StreamEventMap[E]): boolean;
209
- emit(eventName: string | symbol, ...args: any[]): boolean;
210
- listenerCount<E extends keyof Http2StreamEventMap>(
211
- eventName: E,
212
- listener?: (...args: Http2StreamEventMap[E]) => void,
213
- ): number;
214
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
215
- listeners<E extends keyof Http2StreamEventMap>(eventName: E): ((...args: Http2StreamEventMap[E]) => void)[];
216
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
217
- off<E extends keyof Http2StreamEventMap>(
218
- eventName: E,
219
- listener: (...args: Http2StreamEventMap[E]) => void,
220
- ): this;
221
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
222
- on<E extends keyof Http2StreamEventMap>(
223
- eventName: E,
224
- listener: (...args: Http2StreamEventMap[E]) => void,
225
- ): this;
226
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
227
- once<E extends keyof Http2StreamEventMap>(
228
- eventName: E,
229
- listener: (...args: Http2StreamEventMap[E]) => void,
230
- ): this;
231
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
232
- prependListener<E extends keyof Http2StreamEventMap>(
233
- eventName: E,
234
- listener: (...args: Http2StreamEventMap[E]) => void,
235
- ): this;
236
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
237
- prependOnceListener<E extends keyof Http2StreamEventMap>(
238
- eventName: E,
239
- listener: (...args: Http2StreamEventMap[E]) => void,
240
- ): this;
241
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
242
- rawListeners<E extends keyof Http2StreamEventMap>(eventName: E): ((...args: Http2StreamEventMap[E]) => void)[];
243
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
244
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
245
- removeAllListeners<E extends keyof Http2StreamEventMap>(eventName?: E): this;
246
- removeAllListeners(eventName?: string | symbol): this;
247
- removeListener<E extends keyof Http2StreamEventMap>(
248
- eventName: E,
249
- listener: (...args: Http2StreamEventMap[E]) => void,
250
- ): this;
251
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
252
- // #endregion
253
- }
254
- interface ClientHttp2StreamEventMap extends Http2StreamEventMap {
255
- "continue": [];
256
- "headers": [headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number, rawHeaders: string[]];
257
- "push": [headers: IncomingHttpHeaders, flags: number];
258
- "response": [headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number, rawHeaders: string[]];
259
- }
260
- interface ClientHttp2Stream extends Http2Stream {
261
- // #region InternalEventEmitter
262
- addListener<E extends keyof ClientHttp2StreamEventMap>(
263
- eventName: E,
264
- listener: (...args: ClientHttp2StreamEventMap[E]) => void,
265
- ): this;
266
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
267
- emit<E extends keyof ClientHttp2StreamEventMap>(eventName: E, ...args: ClientHttp2StreamEventMap[E]): boolean;
268
- emit(eventName: string | symbol, ...args: any[]): boolean;
269
- listenerCount<E extends keyof ClientHttp2StreamEventMap>(
270
- eventName: E,
271
- listener?: (...args: ClientHttp2StreamEventMap[E]) => void,
272
- ): number;
273
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
274
- listeners<E extends keyof ClientHttp2StreamEventMap>(
275
- eventName: E,
276
- ): ((...args: ClientHttp2StreamEventMap[E]) => void)[];
277
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
278
- off<E extends keyof ClientHttp2StreamEventMap>(
279
- eventName: E,
280
- listener: (...args: ClientHttp2StreamEventMap[E]) => void,
281
- ): this;
282
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
283
- on<E extends keyof ClientHttp2StreamEventMap>(
284
- eventName: E,
285
- listener: (...args: ClientHttp2StreamEventMap[E]) => void,
286
- ): this;
287
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
288
- once<E extends keyof ClientHttp2StreamEventMap>(
289
- eventName: E,
290
- listener: (...args: ClientHttp2StreamEventMap[E]) => void,
291
- ): this;
292
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
293
- prependListener<E extends keyof ClientHttp2StreamEventMap>(
294
- eventName: E,
295
- listener: (...args: ClientHttp2StreamEventMap[E]) => void,
296
- ): this;
297
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
298
- prependOnceListener<E extends keyof ClientHttp2StreamEventMap>(
299
- eventName: E,
300
- listener: (...args: ClientHttp2StreamEventMap[E]) => void,
301
- ): this;
302
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
303
- rawListeners<E extends keyof ClientHttp2StreamEventMap>(
304
- eventName: E,
305
- ): ((...args: ClientHttp2StreamEventMap[E]) => void)[];
306
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
307
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
308
- removeAllListeners<E extends keyof ClientHttp2StreamEventMap>(eventName?: E): this;
309
- removeAllListeners(eventName?: string | symbol): this;
310
- removeListener<E extends keyof ClientHttp2StreamEventMap>(
311
- eventName: E,
312
- listener: (...args: ClientHttp2StreamEventMap[E]) => void,
313
- ): this;
314
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
315
- // #endregion
316
- }
317
- interface ServerHttp2Stream extends Http2Stream {
318
- /**
319
- * True if headers were sent, false otherwise (read-only).
320
- * @since v8.4.0
321
- */
322
- readonly headersSent: boolean;
323
- /**
324
- * Read-only property mapped to the `SETTINGS_ENABLE_PUSH` flag of the remote
325
- * client's most recent `SETTINGS` frame. Will be `true` if the remote peer
326
- * accepts push streams, `false` otherwise. Settings are the same for every `Http2Stream` in the same `Http2Session`.
327
- * @since v8.4.0
328
- */
329
- readonly pushAllowed: boolean;
330
- /**
331
- * Sends an additional informational `HEADERS` frame to the connected HTTP/2 peer.
332
- * @since v8.4.0
333
- */
334
- additionalHeaders(headers: OutgoingHttpHeaders): void;
335
- /**
336
- * Initiates a push stream. The callback is invoked with the new `Http2Stream` instance created for the push stream passed as the second argument, or an `Error` passed as the first argument.
337
- *
338
- * ```js
339
- * import http2 from 'node:http2';
340
- * const server = http2.createServer();
341
- * server.on('stream', (stream) => {
342
- * stream.respond({ ':status': 200 });
343
- * stream.pushStream({ ':path': '/' }, (err, pushStream, headers) => {
344
- * if (err) throw err;
345
- * pushStream.respond({ ':status': 200 });
346
- * pushStream.end('some pushed data');
347
- * });
348
- * stream.end('some data');
349
- * });
350
- * ```
351
- *
352
- * Setting the weight of a push stream is not allowed in the `HEADERS` frame. Pass
353
- * a `weight` value to `http2stream.priority` with the `silent` option set to `true` to enable server-side bandwidth balancing between concurrent streams.
354
- *
355
- * Calling `http2stream.pushStream()` from within a pushed stream is not permitted
356
- * and will throw an error.
357
- * @since v8.4.0
358
- * @param callback Callback that is called once the push stream has been initiated.
359
- */
360
- pushStream(
361
- headers: OutgoingHttpHeaders,
362
- callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void,
363
- ): void;
364
- pushStream(
365
- headers: OutgoingHttpHeaders,
366
- options?: Pick<ClientSessionRequestOptions, "exclusive" | "parent">,
367
- callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void,
368
- ): void;
369
- /**
370
- * ```js
371
- * import http2 from 'node:http2';
372
- * const server = http2.createServer();
373
- * server.on('stream', (stream) => {
374
- * stream.respond({ ':status': 200 });
375
- * stream.end('some data');
376
- * });
377
- * ```
378
- *
379
- * Initiates a response. When the `options.waitForTrailers` option is set, the `'wantTrailers'` event
380
- * will be emitted immediately after queuing the last chunk of payload data to be sent.
381
- * The `http2stream.sendTrailers()` method can then be used to send trailing header fields to the peer.
382
- *
383
- * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
384
- * close when the final `DATA` frame is transmitted. User code must call either `http2stream.sendTrailers()` or `http2stream.close()` to close the `Http2Stream`.
385
- *
386
- * ```js
387
- * import http2 from 'node:http2';
388
- * const server = http2.createServer();
389
- * server.on('stream', (stream) => {
390
- * stream.respond({ ':status': 200 }, { waitForTrailers: true });
391
- * stream.on('wantTrailers', () => {
392
- * stream.sendTrailers({ ABC: 'some value to send' });
393
- * });
394
- * stream.end('some data');
395
- * });
396
- * ```
397
- * @since v8.4.0
398
- */
399
- respond(headers?: OutgoingHttpHeaders | readonly string[], options?: ServerStreamResponseOptions): void;
400
- /**
401
- * Initiates a response whose data is read from the given file descriptor. No
402
- * validation is performed on the given file descriptor. If an error occurs while
403
- * attempting to read data using the file descriptor, the `Http2Stream` will be
404
- * closed using an `RST_STREAM` frame using the standard `INTERNAL_ERROR` code.
405
- *
406
- * When used, the `Http2Stream` object's `Duplex` interface will be closed
407
- * automatically.
408
- *
409
- * ```js
410
- * import http2 from 'node:http2';
411
- * import fs from 'node:fs';
412
- *
413
- * const server = http2.createServer();
414
- * server.on('stream', (stream) => {
415
- * const fd = fs.openSync('/some/file', 'r');
416
- *
417
- * const stat = fs.fstatSync(fd);
418
- * const headers = {
419
- * 'content-length': stat.size,
420
- * 'last-modified': stat.mtime.toUTCString(),
421
- * 'content-type': 'text/plain; charset=utf-8',
422
- * };
423
- * stream.respondWithFD(fd, headers);
424
- * stream.on('close', () => fs.closeSync(fd));
425
- * });
426
- * ```
427
- *
428
- * The optional `options.statCheck` function may be specified to give user code
429
- * an opportunity to set additional content headers based on the `fs.Stat` details
430
- * of the given fd. If the `statCheck` function is provided, the `http2stream.respondWithFD()` method will
431
- * perform an `fs.fstat()` call to collect details on the provided file descriptor.
432
- *
433
- * The `offset` and `length` options may be used to limit the response to a
434
- * specific range subset. This can be used, for instance, to support HTTP Range
435
- * requests.
436
- *
437
- * The file descriptor or `FileHandle` is not closed when the stream is closed,
438
- * so it will need to be closed manually once it is no longer needed.
439
- * Using the same file descriptor concurrently for multiple streams
440
- * is not supported and may result in data loss. Re-using a file descriptor
441
- * after a stream has finished is supported.
442
- *
443
- * When the `options.waitForTrailers` option is set, the `'wantTrailers'` event
444
- * will be emitted immediately after queuing the last chunk of payload data to be
445
- * sent. The `http2stream.sendTrailers()` method can then be used to sent trailing
446
- * header fields to the peer.
447
- *
448
- * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
449
- * close when the final `DATA` frame is transmitted. User code _must_ call either `http2stream.sendTrailers()`
450
- * or `http2stream.close()` to close the `Http2Stream`.
451
- *
452
- * ```js
453
- * import http2 from 'node:http2';
454
- * import fs from 'node:fs';
455
- *
456
- * const server = http2.createServer();
457
- * server.on('stream', (stream) => {
458
- * const fd = fs.openSync('/some/file', 'r');
459
- *
460
- * const stat = fs.fstatSync(fd);
461
- * const headers = {
462
- * 'content-length': stat.size,
463
- * 'last-modified': stat.mtime.toUTCString(),
464
- * 'content-type': 'text/plain; charset=utf-8',
465
- * };
466
- * stream.respondWithFD(fd, headers, { waitForTrailers: true });
467
- * stream.on('wantTrailers', () => {
468
- * stream.sendTrailers({ ABC: 'some value to send' });
469
- * });
470
- *
471
- * stream.on('close', () => fs.closeSync(fd));
472
- * });
473
- * ```
474
- * @since v8.4.0
475
- * @param fd A readable file descriptor.
476
- */
477
- respondWithFD(
478
- fd: number | fs.promises.FileHandle,
479
- headers?: OutgoingHttpHeaders,
480
- options?: ServerStreamFileResponseOptions,
481
- ): void;
482
- /**
483
- * Sends a regular file as the response. The `path` must specify a regular file
484
- * or an `'error'` event will be emitted on the `Http2Stream` object.
485
- *
486
- * When used, the `Http2Stream` object's `Duplex` interface will be closed
487
- * automatically.
488
- *
489
- * The optional `options.statCheck` function may be specified to give user code
490
- * an opportunity to set additional content headers based on the `fs.Stat` details
491
- * of the given file:
492
- *
493
- * If an error occurs while attempting to read the file data, the `Http2Stream` will be closed using an
494
- * `RST_STREAM` frame using the standard `INTERNAL_ERROR` code.
495
- * If the `onError` callback is defined, then it will be called. Otherwise, the stream will be destroyed.
496
- *
497
- * Example using a file path:
498
- *
499
- * ```js
500
- * import http2 from 'node:http2';
501
- * const server = http2.createServer();
502
- * server.on('stream', (stream) => {
503
- * function statCheck(stat, headers) {
504
- * headers['last-modified'] = stat.mtime.toUTCString();
505
- * }
506
- *
507
- * function onError(err) {
508
- * // stream.respond() can throw if the stream has been destroyed by
509
- * // the other side.
510
- * try {
511
- * if (err.code === 'ENOENT') {
512
- * stream.respond({ ':status': 404 });
513
- * } else {
514
- * stream.respond({ ':status': 500 });
515
- * }
516
- * } catch (err) {
517
- * // Perform actual error handling.
518
- * console.error(err);
519
- * }
520
- * stream.end();
521
- * }
522
- *
523
- * stream.respondWithFile('/some/file',
524
- * { 'content-type': 'text/plain; charset=utf-8' },
525
- * { statCheck, onError });
526
- * });
527
- * ```
528
- *
529
- * The `options.statCheck` function may also be used to cancel the send operation
530
- * by returning `false`. For instance, a conditional request may check the stat
531
- * results to determine if the file has been modified to return an appropriate `304` response:
532
- *
533
- * ```js
534
- * import http2 from 'node:http2';
535
- * const server = http2.createServer();
536
- * server.on('stream', (stream) => {
537
- * function statCheck(stat, headers) {
538
- * // Check the stat here...
539
- * stream.respond({ ':status': 304 });
540
- * return false; // Cancel the send operation
541
- * }
542
- * stream.respondWithFile('/some/file',
543
- * { 'content-type': 'text/plain; charset=utf-8' },
544
- * { statCheck });
545
- * });
546
- * ```
547
- *
548
- * The `content-length` header field will be automatically set.
549
- *
550
- * The `offset` and `length` options may be used to limit the response to a
551
- * specific range subset. This can be used, for instance, to support HTTP Range
552
- * requests.
553
- *
554
- * The `options.onError` function may also be used to handle all the errors
555
- * that could happen before the delivery of the file is initiated. The
556
- * default behavior is to destroy the stream.
557
- *
558
- * When the `options.waitForTrailers` option is set, the `'wantTrailers'` event
559
- * will be emitted immediately after queuing the last chunk of payload data to be
560
- * sent. The `http2stream.sendTrailers()` method can then be used to sent trailing
561
- * header fields to the peer.
562
- *
563
- * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
564
- * close when the final `DATA` frame is transmitted. User code must call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`.
565
- *
566
- * ```js
567
- * import http2 from 'node:http2';
568
- * const server = http2.createServer();
569
- * server.on('stream', (stream) => {
570
- * stream.respondWithFile('/some/file',
571
- * { 'content-type': 'text/plain; charset=utf-8' },
572
- * { waitForTrailers: true });
573
- * stream.on('wantTrailers', () => {
574
- * stream.sendTrailers({ ABC: 'some value to send' });
575
- * });
576
- * });
577
- * ```
578
- * @since v8.4.0
579
- */
580
- respondWithFile(
581
- path: string,
582
- headers?: OutgoingHttpHeaders,
583
- options?: ServerStreamFileResponseOptionsWithError,
584
- ): void;
585
- }
586
- // Http2Session
587
- interface Settings {
588
- headerTableSize?: number | undefined;
589
- enablePush?: boolean | undefined;
590
- initialWindowSize?: number | undefined;
591
- maxFrameSize?: number | undefined;
592
- maxConcurrentStreams?: number | undefined;
593
- maxHeaderListSize?: number | undefined;
594
- enableConnectProtocol?: boolean | undefined;
595
- }
596
- interface ClientSessionRequestOptions {
597
- endStream?: boolean | undefined;
598
- exclusive?: boolean | undefined;
599
- parent?: number | undefined;
600
- waitForTrailers?: boolean | undefined;
601
- signal?: AbortSignal | undefined;
602
- }
603
- interface SessionState {
604
- effectiveLocalWindowSize?: number | undefined;
605
- effectiveRecvDataLength?: number | undefined;
606
- nextStreamID?: number | undefined;
607
- localWindowSize?: number | undefined;
608
- lastProcStreamID?: number | undefined;
609
- remoteWindowSize?: number | undefined;
610
- outboundQueueSize?: number | undefined;
611
- deflateDynamicTableSize?: number | undefined;
612
- inflateDynamicTableSize?: number | undefined;
613
- }
614
- interface Http2SessionEventMap {
615
- "close": [];
616
- "connect": [session: Http2Session, socket: net.Socket | tls.TLSSocket];
617
- "error": [err: Error];
618
- "frameError": [type: number, code: number, id: number];
619
- "goaway": [errorCode: number, lastStreamID: number, opaqueData?: NonSharedBuffer];
620
- "localSettings": [settings: Settings];
621
- "ping": [payload: Buffer];
622
- "remoteSettings": [settings: Settings];
623
- "stream": [
624
- stream: Http2Stream,
625
- headers: IncomingHttpHeaders & IncomingHttpStatusHeader,
626
- flags: number,
627
- rawHeaders: string[],
628
- ];
629
- "timeout": [];
630
- }
631
- interface Http2Session extends InternalEventEmitter<Http2SessionEventMap> {
632
- /**
633
- * Value will be `undefined` if the `Http2Session` is not yet connected to a
634
- * socket, `h2c` if the `Http2Session` is not connected to a `TLSSocket`, or
635
- * will return the value of the connected `TLSSocket`'s own `alpnProtocol` property.
636
- * @since v9.4.0
637
- */
638
- readonly alpnProtocol?: string | undefined;
639
- /**
640
- * Will be `true` if this `Http2Session` instance has been closed, otherwise `false`.
641
- * @since v9.4.0
642
- */
643
- readonly closed: boolean;
644
- /**
645
- * Will be `true` if this `Http2Session` instance is still connecting, will be set
646
- * to `false` before emitting `connect` event and/or calling the `http2.connect` callback.
647
- * @since v10.0.0
648
- */
649
- readonly connecting: boolean;
650
- /**
651
- * Will be `true` if this `Http2Session` instance has been destroyed and must no
652
- * longer be used, otherwise `false`.
653
- * @since v8.4.0
654
- */
655
- readonly destroyed: boolean;
656
- /**
657
- * Value is `undefined` if the `Http2Session` session socket has not yet been
658
- * connected, `true` if the `Http2Session` is connected with a `TLSSocket`,
659
- * and `false` if the `Http2Session` is connected to any other kind of socket
660
- * or stream.
661
- * @since v9.4.0
662
- */
663
- readonly encrypted?: boolean | undefined;
664
- /**
665
- * A prototype-less object describing the current local settings of this `Http2Session`.
666
- * The local settings are local to _this_`Http2Session` instance.
667
- * @since v8.4.0
668
- */
669
- readonly localSettings: Settings;
670
- /**
671
- * If the `Http2Session` is connected to a `TLSSocket`, the `originSet` property
672
- * will return an `Array` of origins for which the `Http2Session` may be
673
- * considered authoritative.
674
- *
675
- * The `originSet` property is only available when using a secure TLS connection.
676
- * @since v9.4.0
677
- */
678
- readonly originSet?: string[] | undefined;
679
- /**
680
- * Indicates whether the `Http2Session` is currently waiting for acknowledgment of
681
- * a sent `SETTINGS` frame. Will be `true` after calling the `http2session.settings()` method.
682
- * Will be `false` once all sent `SETTINGS` frames have been acknowledged.
683
- * @since v8.4.0
684
- */
685
- readonly pendingSettingsAck: boolean;
686
- /**
687
- * A prototype-less object describing the current remote settings of this`Http2Session`.
688
- * The remote settings are set by the _connected_ HTTP/2 peer.
689
- * @since v8.4.0
690
- */
691
- readonly remoteSettings: Settings;
692
- /**
693
- * Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but
694
- * limits available methods to ones safe to use with HTTP/2.
695
- *
696
- * `destroy`, `emit`, `end`, `pause`, `read`, `resume`, and `write` will throw
697
- * an error with code `ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for more information.
698
- *
699
- * `setTimeout` method will be called on this `Http2Session`.
700
- *
701
- * All other interactions will be routed directly to the socket.
702
- * @since v8.4.0
703
- */
704
- readonly socket: net.Socket | tls.TLSSocket;
705
- /**
706
- * Provides miscellaneous information about the current state of the`Http2Session`.
707
- *
708
- * An object describing the current status of this `Http2Session`.
709
- * @since v8.4.0
710
- */
711
- readonly state: SessionState;
712
- /**
713
- * The `http2session.type` will be equal to `http2.constants.NGHTTP2_SESSION_SERVER` if this `Http2Session` instance is a
714
- * server, and `http2.constants.NGHTTP2_SESSION_CLIENT` if the instance is a
715
- * client.
716
- * @since v8.4.0
717
- */
718
- readonly type: number;
719
- /**
720
- * Gracefully closes the `Http2Session`, allowing any existing streams to
721
- * complete on their own and preventing new `Http2Stream` instances from being
722
- * created. Once closed, `http2session.destroy()`_might_ be called if there
723
- * are no open `Http2Stream` instances.
724
- *
725
- * If specified, the `callback` function is registered as a handler for the`'close'` event.
726
- * @since v9.4.0
727
- */
728
- close(callback?: () => void): void;
729
- /**
730
- * Immediately terminates the `Http2Session` and the associated `net.Socket` or `tls.TLSSocket`.
731
- *
732
- * Once destroyed, the `Http2Session` will emit the `'close'` event. If `error` is not undefined, an `'error'` event will be emitted immediately before the `'close'` event.
733
- *
734
- * If there are any remaining open `Http2Streams` associated with the `Http2Session`, those will also be destroyed.
735
- * @since v8.4.0
736
- * @param error An `Error` object if the `Http2Session` is being destroyed due to an error.
737
- * @param code The HTTP/2 error code to send in the final `GOAWAY` frame. If unspecified, and `error` is not undefined, the default is `INTERNAL_ERROR`, otherwise defaults to `NO_ERROR`.
738
- */
739
- destroy(error?: Error, code?: number): void;
740
- /**
741
- * Transmits a `GOAWAY` frame to the connected peer _without_ shutting down the`Http2Session`.
742
- * @since v9.4.0
743
- * @param code An HTTP/2 error code
744
- * @param lastStreamID The numeric ID of the last processed `Http2Stream`
745
- * @param opaqueData A `TypedArray` or `DataView` instance containing additional data to be carried within the `GOAWAY` frame.
746
- */
747
- goaway(code?: number, lastStreamID?: number, opaqueData?: NodeJS.ArrayBufferView): void;
748
- /**
749
- * Sends a `PING` frame to the connected HTTP/2 peer. A `callback` function must
750
- * be provided. The method will return `true` if the `PING` was sent, `false` otherwise.
751
- *
752
- * The maximum number of outstanding (unacknowledged) pings is determined by the `maxOutstandingPings` configuration option. The default maximum is 10.
753
- *
754
- * If provided, the `payload` must be a `Buffer`, `TypedArray`, or `DataView` containing 8 bytes of data that will be transmitted with the `PING` and
755
- * returned with the ping acknowledgment.
756
- *
757
- * The callback will be invoked with three arguments: an error argument that will
758
- * be `null` if the `PING` was successfully acknowledged, a `duration` argument
759
- * that reports the number of milliseconds elapsed since the ping was sent and the
760
- * acknowledgment was received, and a `Buffer` containing the 8-byte `PING` payload.
761
- *
762
- * ```js
763
- * session.ping(Buffer.from('abcdefgh'), (err, duration, payload) => {
764
- * if (!err) {
765
- * console.log(`Ping acknowledged in ${duration} milliseconds`);
766
- * console.log(`With payload '${payload.toString()}'`);
767
- * }
768
- * });
769
- * ```
770
- *
771
- * If the `payload` argument is not specified, the default payload will be the
772
- * 64-bit timestamp (little endian) marking the start of the `PING` duration.
773
- * @since v8.9.3
774
- * @param payload Optional ping payload.
775
- */
776
- ping(callback: (err: Error | null, duration: number, payload: NonSharedBuffer) => void): boolean;
777
- ping(
778
- payload: NodeJS.ArrayBufferView,
779
- callback: (err: Error | null, duration: number, payload: NonSharedBuffer) => void,
780
- ): boolean;
781
- /**
782
- * Calls `ref()` on this `Http2Session` instance's underlying `net.Socket`.
783
- * @since v9.4.0
784
- */
785
- ref(): void;
786
- /**
787
- * Sets the local endpoint's window size.
788
- * The `windowSize` is the total window size to set, not
789
- * the delta.
790
- *
791
- * ```js
792
- * import http2 from 'node:http2';
793
- *
794
- * const server = http2.createServer();
795
- * const expectedWindowSize = 2 ** 20;
796
- * server.on('connect', (session) => {
797
- *
798
- * // Set local window size to be 2 ** 20
799
- * session.setLocalWindowSize(expectedWindowSize);
800
- * });
801
- * ```
802
- * @since v15.3.0, v14.18.0
803
- */
804
- setLocalWindowSize(windowSize: number): void;
805
- /**
806
- * Used to set a callback function that is called when there is no activity on
807
- * the `Http2Session` after `msecs` milliseconds. The given `callback` is
808
- * registered as a listener on the `'timeout'` event.
809
- * @since v8.4.0
810
- */
811
- setTimeout(msecs: number, callback?: () => void): void;
812
- /**
813
- * Updates the current local settings for this `Http2Session` and sends a new `SETTINGS` frame to the connected HTTP/2 peer.
814
- *
815
- * Once called, the `http2session.pendingSettingsAck` property will be `true` while the session is waiting for the remote peer to acknowledge the new
816
- * settings.
817
- *
818
- * The new settings will not become effective until the `SETTINGS` acknowledgment
819
- * is received and the `'localSettings'` event is emitted. It is possible to send
820
- * multiple `SETTINGS` frames while acknowledgment is still pending.
821
- * @since v8.4.0
822
- * @param callback Callback that is called once the session is connected or right away if the session is already connected.
823
- */
824
- settings(
825
- settings: Settings,
826
- callback?: (err: Error | null, settings: Settings, duration: number) => void,
827
- ): void;
828
- /**
829
- * Calls `unref()` on this `Http2Session`instance's underlying `net.Socket`.
830
- * @since v9.4.0
831
- */
832
- unref(): void;
833
- }
834
- interface ClientHttp2SessionEventMap extends Http2SessionEventMap {
835
- "altsvc": [alt: string, origin: string, streamId: number];
836
- "connect": [session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket];
837
- "origin": [origins: string[]];
838
- "stream": [
839
- stream: ClientHttp2Stream,
840
- headers: IncomingHttpHeaders & IncomingHttpStatusHeader,
841
- flags: number,
842
- rawHeaders: string[],
843
- ];
844
- }
845
- interface ClientHttp2Session extends Http2Session {
846
- /**
847
- * For HTTP/2 Client `Http2Session` instances only, the `http2session.request()` creates and returns an `Http2Stream` instance that can be used to send an
848
- * HTTP/2 request to the connected server.
849
- *
850
- * When a `ClientHttp2Session` is first created, the socket may not yet be
851
- * connected. if `clienthttp2session.request()` is called during this time, the
852
- * actual request will be deferred until the socket is ready to go.
853
- * If the `session` is closed before the actual request be executed, an `ERR_HTTP2_GOAWAY_SESSION` is thrown.
854
- *
855
- * This method is only available if `http2session.type` is equal to `http2.constants.NGHTTP2_SESSION_CLIENT`.
856
- *
857
- * ```js
858
- * import http2 from 'node:http2';
859
- * const clientSession = http2.connect('https://localhost:1234');
860
- * const {
861
- * HTTP2_HEADER_PATH,
862
- * HTTP2_HEADER_STATUS,
863
- * } = http2.constants;
864
- *
865
- * const req = clientSession.request({ [HTTP2_HEADER_PATH]: '/' });
866
- * req.on('response', (headers) => {
867
- * console.log(headers[HTTP2_HEADER_STATUS]);
868
- * req.on('data', (chunk) => { // .. });
869
- * req.on('end', () => { // .. });
870
- * });
871
- * ```
872
- *
873
- * When the `options.waitForTrailers` option is set, the `'wantTrailers'` event
874
- * is emitted immediately after queuing the last chunk of payload data to be sent.
875
- * The `http2stream.sendTrailers()` method can then be called to send trailing
876
- * headers to the peer.
877
- *
878
- * When `options.waitForTrailers` is set, the `Http2Stream` will not automatically
879
- * close when the final `DATA` frame is transmitted. User code must call either`http2stream.sendTrailers()` or `http2stream.close()` to close the`Http2Stream`.
880
- *
881
- * When `options.signal` is set with an `AbortSignal` and then `abort` on the
882
- * corresponding `AbortController` is called, the request will emit an `'error'`event with an `AbortError` error.
883
- *
884
- * The `:method` and `:path` pseudo-headers are not specified within `headers`,
885
- * they respectively default to:
886
- *
887
- * * `:method` \= `'GET'`
888
- * * `:path` \= `/`
889
- * @since v8.4.0
890
- */
891
- request(
892
- headers?: OutgoingHttpHeaders | readonly string[],
893
- options?: ClientSessionRequestOptions,
894
- ): ClientHttp2Stream;
895
- // #region InternalEventEmitter
896
- addListener<E extends keyof ClientHttp2StreamEventMap>(
897
- eventName: E,
898
- listener: (...args: ClientHttp2StreamEventMap[E]) => void,
899
- ): this;
900
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
901
- emit<E extends keyof ClientHttp2StreamEventMap>(eventName: E, ...args: ClientHttp2StreamEventMap[E]): boolean;
902
- emit(eventName: string | symbol, ...args: any[]): boolean;
903
- listenerCount<E extends keyof ClientHttp2StreamEventMap>(
904
- eventName: E,
905
- listener?: (...args: ClientHttp2StreamEventMap[E]) => void,
906
- ): number;
907
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
908
- listeners<E extends keyof ClientHttp2StreamEventMap>(
909
- eventName: E,
910
- ): ((...args: ClientHttp2StreamEventMap[E]) => void)[];
911
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
912
- off<E extends keyof ClientHttp2StreamEventMap>(
913
- eventName: E,
914
- listener: (...args: ClientHttp2StreamEventMap[E]) => void,
915
- ): this;
916
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
917
- on<E extends keyof ClientHttp2StreamEventMap>(
918
- eventName: E,
919
- listener: (...args: ClientHttp2StreamEventMap[E]) => void,
920
- ): this;
921
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
922
- once<E extends keyof ClientHttp2StreamEventMap>(
923
- eventName: E,
924
- listener: (...args: ClientHttp2StreamEventMap[E]) => void,
925
- ): this;
926
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
927
- prependListener<E extends keyof ClientHttp2StreamEventMap>(
928
- eventName: E,
929
- listener: (...args: ClientHttp2StreamEventMap[E]) => void,
930
- ): this;
931
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
932
- prependOnceListener<E extends keyof ClientHttp2StreamEventMap>(
933
- eventName: E,
934
- listener: (...args: ClientHttp2StreamEventMap[E]) => void,
935
- ): this;
936
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
937
- rawListeners<E extends keyof ClientHttp2StreamEventMap>(
938
- eventName: E,
939
- ): ((...args: ClientHttp2StreamEventMap[E]) => void)[];
940
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
941
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
942
- removeAllListeners<E extends keyof ClientHttp2StreamEventMap>(eventName?: E): this;
943
- removeAllListeners(eventName?: string | symbol): this;
944
- removeListener<E extends keyof ClientHttp2StreamEventMap>(
945
- eventName: E,
946
- listener: (...args: ClientHttp2StreamEventMap[E]) => void,
947
- ): this;
948
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
949
- // #endregion
950
- }
951
- interface AlternativeServiceOptions {
952
- origin: number | string | url.URL;
953
- }
954
- interface ServerHttp2SessionEventMap<
955
- Http1Request extends typeof IncomingMessage = typeof IncomingMessage,
956
- Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
957
- Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
958
- Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
959
- > extends Http2SessionEventMap {
960
- "connect": [
961
- session: ServerHttp2Session<Http1Request, Http1Response, Http2Request, Http2Response>,
962
- socket: net.Socket | tls.TLSSocket,
963
- ];
964
- "stream": [stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number, rawHeaders: string[]];
965
- }
966
- interface ServerHttp2Session<
967
- Http1Request extends typeof IncomingMessage = typeof IncomingMessage,
968
- Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
969
- Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
970
- Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
971
- > extends Http2Session {
972
- readonly server:
973
- | Http2Server<Http1Request, Http1Response, Http2Request, Http2Response>
974
- | Http2SecureServer<Http1Request, Http1Response, Http2Request, Http2Response>;
975
- /**
976
- * Submits an `ALTSVC` frame (as defined by [RFC 7838](https://tools.ietf.org/html/rfc7838)) to the connected client.
977
- *
978
- * ```js
979
- * import http2 from 'node:http2';
980
- *
981
- * const server = http2.createServer();
982
- * server.on('session', (session) => {
983
- * // Set altsvc for origin https://example.org:80
984
- * session.altsvc('h2=":8000"', 'https://example.org:80');
985
- * });
986
- *
987
- * server.on('stream', (stream) => {
988
- * // Set altsvc for a specific stream
989
- * stream.session.altsvc('h2=":8000"', stream.id);
990
- * });
991
- * ```
992
- *
993
- * Sending an `ALTSVC` frame with a specific stream ID indicates that the alternate
994
- * service is associated with the origin of the given `Http2Stream`.
995
- *
996
- * The `alt` and origin string _must_ contain only ASCII bytes and are
997
- * strictly interpreted as a sequence of ASCII bytes. The special value `'clear'`may be passed to clear any previously set alternative service for a given
998
- * domain.
999
- *
1000
- * When a string is passed for the `originOrStream` argument, it will be parsed as
1001
- * a URL and the origin will be derived. For instance, the origin for the
1002
- * HTTP URL `'https://example.org/foo/bar'` is the ASCII string`'https://example.org'`. An error will be thrown if either the given string
1003
- * cannot be parsed as a URL or if a valid origin cannot be derived.
1004
- *
1005
- * A `URL` object, or any object with an `origin` property, may be passed as`originOrStream`, in which case the value of the `origin` property will be
1006
- * used. The value of the `origin` property _must_ be a properly serialized
1007
- * ASCII origin.
1008
- * @since v9.4.0
1009
- * @param alt A description of the alternative service configuration as defined by `RFC 7838`.
1010
- * @param originOrStream Either a URL string specifying the origin (or an `Object` with an `origin` property) or the numeric identifier of an active `Http2Stream` as given by the
1011
- * `http2stream.id` property.
1012
- */
1013
- altsvc(alt: string, originOrStream: number | string | url.URL | AlternativeServiceOptions): void;
1014
- /**
1015
- * Submits an `ORIGIN` frame (as defined by [RFC 8336](https://tools.ietf.org/html/rfc8336)) to the connected client
1016
- * to advertise the set of origins for which the server is capable of providing
1017
- * authoritative responses.
1018
- *
1019
- * ```js
1020
- * import http2 from 'node:http2';
1021
- * const options = getSecureOptionsSomehow();
1022
- * const server = http2.createSecureServer(options);
1023
- * server.on('stream', (stream) => {
1024
- * stream.respond();
1025
- * stream.end('ok');
1026
- * });
1027
- * server.on('session', (session) => {
1028
- * session.origin('https://example.com', 'https://example.org');
1029
- * });
1030
- * ```
1031
- *
1032
- * When a string is passed as an `origin`, it will be parsed as a URL and the
1033
- * origin will be derived. For instance, the origin for the HTTP URL `'https://example.org/foo/bar'` is the ASCII string` 'https://example.org'`. An error will be thrown if either the given
1034
- * string
1035
- * cannot be parsed as a URL or if a valid origin cannot be derived.
1036
- *
1037
- * A `URL` object, or any object with an `origin` property, may be passed as
1038
- * an `origin`, in which case the value of the `origin` property will be
1039
- * used. The value of the `origin` property _must_ be a properly serialized
1040
- * ASCII origin.
1041
- *
1042
- * Alternatively, the `origins` option may be used when creating a new HTTP/2
1043
- * server using the `http2.createSecureServer()` method:
1044
- *
1045
- * ```js
1046
- * import http2 from 'node:http2';
1047
- * const options = getSecureOptionsSomehow();
1048
- * options.origins = ['https://example.com', 'https://example.org'];
1049
- * const server = http2.createSecureServer(options);
1050
- * server.on('stream', (stream) => {
1051
- * stream.respond();
1052
- * stream.end('ok');
1053
- * });
1054
- * ```
1055
- * @since v10.12.0
1056
- * @param origins One or more URL Strings passed as separate arguments.
1057
- */
1058
- origin(
1059
- ...origins: Array<
1060
- | string
1061
- | url.URL
1062
- | {
1063
- origin: string;
1064
- }
1065
- >
1066
- ): void;
1067
- // #region InternalEventEmitter
1068
- addListener<E extends keyof ServerHttp2SessionEventMap>(
1069
- eventName: E,
1070
- listener: (
1071
- ...args: ServerHttp2SessionEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1072
- ) => void,
1073
- ): this;
1074
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1075
- emit<E extends keyof ServerHttp2SessionEventMap>(
1076
- eventName: E,
1077
- ...args: ServerHttp2SessionEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1078
- ): boolean;
1079
- emit(eventName: string | symbol, ...args: any[]): boolean;
1080
- listenerCount<E extends keyof ServerHttp2SessionEventMap>(
1081
- eventName: E,
1082
- listener?: (
1083
- ...args: ServerHttp2SessionEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1084
- ) => void,
1085
- ): number;
1086
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
1087
- listeners<E extends keyof ServerHttp2SessionEventMap>(
1088
- eventName: E,
1089
- ): ((
1090
- ...args: ServerHttp2SessionEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1091
- ) => void)[];
1092
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
1093
- off<E extends keyof ServerHttp2SessionEventMap>(
1094
- eventName: E,
1095
- listener: (
1096
- ...args: ServerHttp2SessionEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1097
- ) => void,
1098
- ): this;
1099
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
1100
- on<E extends keyof ServerHttp2SessionEventMap>(
1101
- eventName: E,
1102
- listener: (
1103
- ...args: ServerHttp2SessionEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1104
- ) => void,
1105
- ): this;
1106
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
1107
- once<E extends keyof ServerHttp2SessionEventMap>(
1108
- eventName: E,
1109
- listener: (
1110
- ...args: ServerHttp2SessionEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1111
- ) => void,
1112
- ): this;
1113
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
1114
- prependListener<E extends keyof ServerHttp2SessionEventMap>(
1115
- eventName: E,
1116
- listener: (
1117
- ...args: ServerHttp2SessionEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1118
- ) => void,
1119
- ): this;
1120
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1121
- prependOnceListener<E extends keyof ServerHttp2SessionEventMap>(
1122
- eventName: E,
1123
- listener: (
1124
- ...args: ServerHttp2SessionEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1125
- ) => void,
1126
- ): this;
1127
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1128
- rawListeners<E extends keyof ServerHttp2SessionEventMap>(
1129
- eventName: E,
1130
- ): ((
1131
- ...args: ServerHttp2SessionEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1132
- ) => void)[];
1133
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
1134
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
1135
- removeAllListeners<E extends keyof ServerHttp2SessionEventMap>(eventName?: E): this;
1136
- removeAllListeners(eventName?: string | symbol): this;
1137
- removeListener<E extends keyof ServerHttp2SessionEventMap>(
1138
- eventName: E,
1139
- listener: (
1140
- ...args: ServerHttp2SessionEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1141
- ) => void,
1142
- ): this;
1143
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1144
- // #endregion
1145
- }
1146
- // Http2Server
1147
- interface SessionOptions {
1148
- /**
1149
- * Sets the maximum dynamic table size for deflating header fields.
1150
- * @default 4Kib
1151
- */
1152
- maxDeflateDynamicTableSize?: number | undefined;
1153
- /**
1154
- * Sets the maximum number of settings entries per `SETTINGS` frame.
1155
- * The minimum value allowed is `1`.
1156
- * @default 32
1157
- */
1158
- maxSettings?: number | undefined;
1159
- /**
1160
- * Sets the maximum memory that the `Http2Session` is permitted to use.
1161
- * The value is expressed in terms of number of megabytes, e.g. `1` equal 1 megabyte.
1162
- * The minimum value allowed is `1`.
1163
- * This is a credit based limit, existing `Http2Stream`s may cause this limit to be exceeded,
1164
- * but new `Http2Stream` instances will be rejected while this limit is exceeded.
1165
- * The current number of `Http2Stream` sessions, the current memory use of the header compression tables,
1166
- * current data queued to be sent, and unacknowledged `PING` and `SETTINGS` frames are all counted towards the current limit.
1167
- * @default 10
1168
- */
1169
- maxSessionMemory?: number | undefined;
1170
- /**
1171
- * Sets the maximum number of header entries.
1172
- * This is similar to `server.maxHeadersCount` or `request.maxHeadersCount` in the `node:http` module.
1173
- * The minimum value is `1`.
1174
- * @default 128
1175
- */
1176
- maxHeaderListPairs?: number | undefined;
1177
- /**
1178
- * Sets the maximum number of outstanding, unacknowledged pings.
1179
- * @default 10
1180
- */
1181
- maxOutstandingPings?: number | undefined;
1182
- /**
1183
- * Sets the maximum allowed size for a serialized, compressed block of headers.
1184
- * Attempts to send headers that exceed this limit will result in
1185
- * a `'frameError'` event being emitted and the stream being closed and destroyed.
1186
- */
1187
- maxSendHeaderBlockLength?: number | undefined;
1188
- /**
1189
- * Strategy used for determining the amount of padding to use for `HEADERS` and `DATA` frames.
1190
- * @default http2.constants.PADDING_STRATEGY_NONE
1191
- */
1192
- paddingStrategy?: number | undefined;
1193
- /**
1194
- * Sets the maximum number of concurrent streams for the remote peer as if a `SETTINGS` frame had been received.
1195
- * Will be overridden if the remote peer sets its own value for `maxConcurrentStreams`.
1196
- * @default 100
1197
- */
1198
- peerMaxConcurrentStreams?: number | undefined;
1199
- /**
1200
- * The initial settings to send to the remote peer upon connection.
1201
- */
1202
- settings?: Settings | undefined;
1203
- /**
1204
- * The array of integer values determines the settings types,
1205
- * which are included in the `CustomSettings`-property of the received remoteSettings.
1206
- * Please see the `CustomSettings`-property of the `Http2Settings` object for more information, on the allowed setting types.
1207
- */
1208
- remoteCustomSettings?: number[] | undefined;
1209
- /**
1210
- * Specifies a timeout in milliseconds that
1211
- * a server should wait when an [`'unknownProtocol'`][] is emitted. If the
1212
- * socket has not been destroyed by that time the server will destroy it.
1213
- * @default 100000
1214
- */
1215
- unknownProtocolTimeout?: number | undefined;
1216
- /**
1217
- * If `true`, it turns on strict leading
1218
- * and trailing whitespace validation for HTTP/2 header field names and values
1219
- * as per [RFC-9113](https://www.rfc-editor.org/rfc/rfc9113.html#section-8.2.1).
1220
- * @since v24.2.0
1221
- * @default true
1222
- */
1223
- strictFieldWhitespaceValidation?: boolean | undefined;
1224
- }
1225
- interface ClientSessionOptions extends SessionOptions {
1226
- /**
1227
- * Sets the maximum number of reserved push streams the client will accept at any given time.
1228
- * Once the current number of currently reserved push streams exceeds reaches this limit,
1229
- * new push streams sent by the server will be automatically rejected.
1230
- * The minimum allowed value is 0. The maximum allowed value is 2<sup>32</sup>-1.
1231
- * A negative value sets this option to the maximum allowed value.
1232
- * @default 200
1233
- */
1234
- maxReservedRemoteStreams?: number | undefined;
1235
- /**
1236
- * An optional callback that receives the `URL` instance passed to `connect` and the `options` object,
1237
- * and returns any `Duplex` stream that is to be used as the connection for this session.
1238
- */
1239
- createConnection?: ((authority: url.URL, option: SessionOptions) => stream.Duplex) | undefined;
1240
- /**
1241
- * The protocol to connect with, if not set in the `authority`.
1242
- * Value may be either `'http:'` or `'https:'`.
1243
- * @default 'https:'
1244
- */
1245
- protocol?: "http:" | "https:" | undefined;
1246
- }
1247
- interface ServerSessionOptions<
1248
- Http1Request extends typeof IncomingMessage = typeof IncomingMessage,
1249
- Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
1250
- Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
1251
- Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
1252
- > extends SessionOptions {
1253
- streamResetBurst?: number | undefined;
1254
- streamResetRate?: number | undefined;
1255
- Http1IncomingMessage?: Http1Request | undefined;
1256
- Http1ServerResponse?: Http1Response | undefined;
1257
- Http2ServerRequest?: Http2Request | undefined;
1258
- Http2ServerResponse?: Http2Response | undefined;
1259
- }
1260
- interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions {}
1261
- interface SecureServerSessionOptions<
1262
- Http1Request extends typeof IncomingMessage = typeof IncomingMessage,
1263
- Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
1264
- Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
1265
- Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
1266
- > extends ServerSessionOptions<Http1Request, Http1Response, Http2Request, Http2Response>, tls.TlsOptions {}
1267
- interface ServerOptions<
1268
- Http1Request extends typeof IncomingMessage = typeof IncomingMessage,
1269
- Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
1270
- Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
1271
- Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
1272
- > extends ServerSessionOptions<Http1Request, Http1Response, Http2Request, Http2Response> {}
1273
- interface SecureServerOptions<
1274
- Http1Request extends typeof IncomingMessage = typeof IncomingMessage,
1275
- Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
1276
- Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
1277
- Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
1278
- > extends SecureServerSessionOptions<Http1Request, Http1Response, Http2Request, Http2Response> {
1279
- allowHTTP1?: boolean | undefined;
1280
- origins?: string[] | undefined;
1281
- }
1282
- interface Http2ServerCommon {
1283
- setTimeout(msec?: number, callback?: () => void): this;
1284
- /**
1285
- * Throws ERR_HTTP2_INVALID_SETTING_VALUE for invalid settings values.
1286
- * Throws ERR_INVALID_ARG_TYPE for invalid settings argument.
1287
- */
1288
- updateSettings(settings: Settings): void;
1289
- }
1290
- interface Http2ServerEventMap<
1291
- Http1Request extends typeof IncomingMessage = typeof IncomingMessage,
1292
- Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
1293
- Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
1294
- Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
1295
- > extends net.ServerEventMap, Pick<Http2SessionEventMap, "stream" | "timeout"> {
1296
- "checkContinue": [request: InstanceType<Http2Request>, response: InstanceType<Http2Response>];
1297
- "request": [request: InstanceType<Http2Request>, response: InstanceType<Http2Response>];
1298
- "session": [session: ServerHttp2Session<Http1Request, Http1Response, Http2Request, Http2Response>];
1299
- "sessionError": [err: Error];
1300
- }
1301
- interface Http2Server<
1302
- Http1Request extends typeof IncomingMessage = typeof IncomingMessage,
1303
- Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
1304
- Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
1305
- Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
1306
- > extends net.Server, Http2ServerCommon {
1307
- // #region InternalEventEmitter
1308
- addListener<E extends keyof Http2ServerEventMap>(
1309
- eventName: E,
1310
- listener: (
1311
- ...args: Http2ServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1312
- ) => void,
1313
- ): this;
1314
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1315
- emit<E extends keyof Http2ServerEventMap>(
1316
- eventName: E,
1317
- ...args: Http2ServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1318
- ): boolean;
1319
- emit(eventName: string | symbol, ...args: any[]): boolean;
1320
- listenerCount<E extends keyof Http2ServerEventMap>(
1321
- eventName: E,
1322
- listener?: (
1323
- ...args: Http2ServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1324
- ) => void,
1325
- ): number;
1326
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
1327
- listeners<E extends keyof Http2ServerEventMap>(
1328
- eventName: E,
1329
- ): ((...args: Http2ServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]) => void)[];
1330
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
1331
- off<E extends keyof Http2ServerEventMap>(
1332
- eventName: E,
1333
- listener: (
1334
- ...args: Http2ServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1335
- ) => void,
1336
- ): this;
1337
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
1338
- on<E extends keyof Http2ServerEventMap>(
1339
- eventName: E,
1340
- listener: (
1341
- ...args: Http2ServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1342
- ) => void,
1343
- ): this;
1344
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
1345
- once<E extends keyof Http2ServerEventMap>(
1346
- eventName: E,
1347
- listener: (
1348
- ...args: Http2ServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1349
- ) => void,
1350
- ): this;
1351
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
1352
- prependListener<E extends keyof Http2ServerEventMap>(
1353
- eventName: E,
1354
- listener: (
1355
- ...args: Http2ServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1356
- ) => void,
1357
- ): this;
1358
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1359
- prependOnceListener<E extends keyof Http2ServerEventMap>(
1360
- eventName: E,
1361
- listener: (
1362
- ...args: Http2ServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1363
- ) => void,
1364
- ): this;
1365
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1366
- rawListeners<E extends keyof Http2ServerEventMap>(
1367
- eventName: E,
1368
- ): ((...args: Http2ServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]) => void)[];
1369
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
1370
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
1371
- removeAllListeners<E extends keyof Http2ServerEventMap>(eventName?: E): this;
1372
- removeAllListeners(eventName?: string | symbol): this;
1373
- removeListener<E extends keyof Http2ServerEventMap>(
1374
- eventName: E,
1375
- listener: (
1376
- ...args: Http2ServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1377
- ) => void,
1378
- ): this;
1379
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1380
- // #endregion
1381
- }
1382
- interface Http2SecureServerEventMap<
1383
- Http1Request extends typeof IncomingMessage = typeof IncomingMessage,
1384
- Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
1385
- Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
1386
- Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
1387
- > extends tls.ServerEventMap, Http2ServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response> {
1388
- "unknownProtocol": [socket: tls.TLSSocket];
1389
- }
1390
- interface Http2SecureServer<
1391
- Http1Request extends typeof IncomingMessage = typeof IncomingMessage,
1392
- Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
1393
- Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
1394
- Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
1395
- > extends tls.Server, Http2ServerCommon {
1396
- // #region InternalEventEmitter
1397
- addListener<E extends keyof Http2SecureServerEventMap>(
1398
- eventName: E,
1399
- listener: (
1400
- ...args: Http2SecureServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1401
- ) => void,
1402
- ): this;
1403
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1404
- emit<E extends keyof Http2SecureServerEventMap>(
1405
- eventName: E,
1406
- ...args: Http2SecureServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1407
- ): boolean;
1408
- emit(eventName: string | symbol, ...args: any[]): boolean;
1409
- listenerCount<E extends keyof Http2SecureServerEventMap>(
1410
- eventName: E,
1411
- listener?: (
1412
- ...args: Http2SecureServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1413
- ) => void,
1414
- ): number;
1415
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
1416
- listeners<E extends keyof Http2SecureServerEventMap>(
1417
- eventName: E,
1418
- ): ((
1419
- ...args: Http2SecureServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1420
- ) => void)[];
1421
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
1422
- off<E extends keyof Http2SecureServerEventMap>(
1423
- eventName: E,
1424
- listener: (
1425
- ...args: Http2SecureServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1426
- ) => void,
1427
- ): this;
1428
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
1429
- on<E extends keyof Http2SecureServerEventMap>(
1430
- eventName: E,
1431
- listener: (
1432
- ...args: Http2SecureServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1433
- ) => void,
1434
- ): this;
1435
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
1436
- once<E extends keyof Http2SecureServerEventMap>(
1437
- eventName: E,
1438
- listener: (
1439
- ...args: Http2SecureServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1440
- ) => void,
1441
- ): this;
1442
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
1443
- prependListener<E extends keyof Http2SecureServerEventMap>(
1444
- eventName: E,
1445
- listener: (
1446
- ...args: Http2SecureServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1447
- ) => void,
1448
- ): this;
1449
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1450
- prependOnceListener<E extends keyof Http2SecureServerEventMap>(
1451
- eventName: E,
1452
- listener: (
1453
- ...args: Http2SecureServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1454
- ) => void,
1455
- ): this;
1456
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1457
- rawListeners<E extends keyof Http2SecureServerEventMap>(
1458
- eventName: E,
1459
- ): ((
1460
- ...args: Http2SecureServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1461
- ) => void)[];
1462
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
1463
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
1464
- removeAllListeners<E extends keyof Http2SecureServerEventMap>(eventName?: E): this;
1465
- removeAllListeners(eventName?: string | symbol): this;
1466
- removeListener<E extends keyof Http2SecureServerEventMap>(
1467
- eventName: E,
1468
- listener: (
1469
- ...args: Http2SecureServerEventMap<Http1Request, Http1Response, Http2Request, Http2Response>[E]
1470
- ) => void,
1471
- ): this;
1472
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1473
- // #endregion
1474
- }
1475
- interface Http2ServerRequestEventMap extends stream.ReadableEventMap {
1476
- "aborted": [hadError: boolean, code: number];
1477
- "data": [chunk: string | NonSharedBuffer];
1478
- }
1479
- /**
1480
- * A `Http2ServerRequest` object is created by {@link Server} or {@link SecureServer} and passed as the first argument to the `'request'` event. It may be used to access a request status,
1481
- * headers, and
1482
- * data.
1483
- * @since v8.4.0
1484
- */
1485
- class Http2ServerRequest extends stream.Readable {
1486
- constructor(
1487
- stream: ServerHttp2Stream,
1488
- headers: IncomingHttpHeaders,
1489
- options: stream.ReadableOptions,
1490
- rawHeaders: readonly string[],
1491
- );
1492
- /**
1493
- * The `request.aborted` property will be `true` if the request has
1494
- * been aborted.
1495
- * @since v10.1.0
1496
- */
1497
- readonly aborted: boolean;
1498
- /**
1499
- * The request authority pseudo header field. Because HTTP/2 allows requests
1500
- * to set either `:authority` or `host`, this value is derived from `req.headers[':authority']` if present. Otherwise, it is derived from `req.headers['host']`.
1501
- * @since v8.4.0
1502
- */
1503
- readonly authority: string;
1504
- /**
1505
- * See `request.socket`.
1506
- * @since v8.4.0
1507
- * @deprecated Since v13.0.0 - Use `socket`.
1508
- */
1509
- readonly connection: net.Socket | tls.TLSSocket;
1510
- /**
1511
- * The `request.complete` property will be `true` if the request has
1512
- * been completed, aborted, or destroyed.
1513
- * @since v12.10.0
1514
- */
1515
- readonly complete: boolean;
1516
- /**
1517
- * The request/response headers object.
1518
- *
1519
- * Key-value pairs of header names and values. Header names are lower-cased.
1520
- *
1521
- * ```js
1522
- * // Prints something like:
1523
- * //
1524
- * // { 'user-agent': 'curl/7.22.0',
1525
- * // host: '127.0.0.1:8000',
1526
- * // accept: '*' }
1527
- * console.log(request.headers);
1528
- * ```
1529
- *
1530
- * See `HTTP/2 Headers Object`.
1531
- *
1532
- * In HTTP/2, the request path, host name, protocol, and method are represented as
1533
- * special headers prefixed with the `:` character (e.g. `':path'`). These special
1534
- * headers will be included in the `request.headers` object. Care must be taken not
1535
- * to inadvertently modify these special headers or errors may occur. For instance,
1536
- * removing all headers from the request will cause errors to occur:
1537
- *
1538
- * ```js
1539
- * removeAllHeaders(request.headers);
1540
- * assert(request.url); // Fails because the :path header has been removed
1541
- * ```
1542
- * @since v8.4.0
1543
- */
1544
- readonly headers: IncomingHttpHeaders;
1545
- /**
1546
- * In case of server request, the HTTP version sent by the client. In the case of
1547
- * client response, the HTTP version of the connected-to server. Returns `'2.0'`.
1548
- *
1549
- * Also `message.httpVersionMajor` is the first integer and `message.httpVersionMinor` is the second.
1550
- * @since v8.4.0
1551
- */
1552
- readonly httpVersion: string;
1553
- readonly httpVersionMinor: number;
1554
- readonly httpVersionMajor: number;
1555
- /**
1556
- * The request method as a string. Read-only. Examples: `'GET'`, `'DELETE'`.
1557
- * @since v8.4.0
1558
- */
1559
- readonly method: string;
1560
- /**
1561
- * The raw request/response headers list exactly as they were received.
1562
- *
1563
- * The keys and values are in the same list. It is _not_ a
1564
- * list of tuples. So, the even-numbered offsets are key values, and the
1565
- * odd-numbered offsets are the associated values.
1566
- *
1567
- * Header names are not lowercased, and duplicates are not merged.
1568
- *
1569
- * ```js
1570
- * // Prints something like:
1571
- * //
1572
- * // [ 'user-agent',
1573
- * // 'this is invalid because there can be only one',
1574
- * // 'User-Agent',
1575
- * // 'curl/7.22.0',
1576
- * // 'Host',
1577
- * // '127.0.0.1:8000',
1578
- * // 'ACCEPT',
1579
- * // '*' ]
1580
- * console.log(request.rawHeaders);
1581
- * ```
1582
- * @since v8.4.0
1583
- */
1584
- readonly rawHeaders: string[];
1585
- /**
1586
- * The raw request/response trailer keys and values exactly as they were
1587
- * received. Only populated at the `'end'` event.
1588
- * @since v8.4.0
1589
- */
1590
- readonly rawTrailers: string[];
1591
- /**
1592
- * The request scheme pseudo header field indicating the scheme
1593
- * portion of the target URL.
1594
- * @since v8.4.0
1595
- */
1596
- readonly scheme: string;
1597
- /**
1598
- * Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but
1599
- * applies getters, setters, and methods based on HTTP/2 logic.
1600
- *
1601
- * `destroyed`, `readable`, and `writable` properties will be retrieved from and
1602
- * set on `request.stream`.
1603
- *
1604
- * `destroy`, `emit`, `end`, `on` and `once` methods will be called on `request.stream`.
1605
- *
1606
- * `setTimeout` method will be called on `request.stream.session`.
1607
- *
1608
- * `pause`, `read`, `resume`, and `write` will throw an error with code `ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for
1609
- * more information.
1610
- *
1611
- * All other interactions will be routed directly to the socket. With TLS support,
1612
- * use `request.socket.getPeerCertificate()` to obtain the client's
1613
- * authentication details.
1614
- * @since v8.4.0
1615
- */
1616
- readonly socket: net.Socket | tls.TLSSocket;
1617
- /**
1618
- * The `Http2Stream` object backing the request.
1619
- * @since v8.4.0
1620
- */
1621
- readonly stream: ServerHttp2Stream;
1622
- /**
1623
- * The request/response trailers object. Only populated at the `'end'` event.
1624
- * @since v8.4.0
1625
- */
1626
- readonly trailers: IncomingHttpHeaders;
1627
- /**
1628
- * Request URL string. This contains only the URL that is present in the actual
1629
- * HTTP request. If the request is:
1630
- *
1631
- * ```http
1632
- * GET /status?name=ryan HTTP/1.1
1633
- * Accept: text/plain
1634
- * ```
1635
- *
1636
- * Then `request.url` will be:
1637
- *
1638
- * ```js
1639
- * '/status?name=ryan'
1640
- * ```
1641
- *
1642
- * To parse the url into its parts, `new URL()` can be used:
1643
- *
1644
- * ```console
1645
- * $ node
1646
- * > new URL('/status?name=ryan', 'http://example.com')
1647
- * URL {
1648
- * href: 'http://example.com/status?name=ryan',
1649
- * origin: 'http://example.com',
1650
- * protocol: 'http:',
1651
- * username: '',
1652
- * password: '',
1653
- * host: 'example.com',
1654
- * hostname: 'example.com',
1655
- * port: '',
1656
- * pathname: '/status',
1657
- * search: '?name=ryan',
1658
- * searchParams: URLSearchParams { 'name' => 'ryan' },
1659
- * hash: ''
1660
- * }
1661
- * ```
1662
- * @since v8.4.0
1663
- */
1664
- url: string;
1665
- /**
1666
- * Sets the `Http2Stream`'s timeout value to `msecs`. If a callback is
1667
- * provided, then it is added as a listener on the `'timeout'` event on
1668
- * the response object.
1669
- *
1670
- * If no `'timeout'` listener is added to the request, the response, or
1671
- * the server, then `Http2Stream`s are destroyed when they time out. If a
1672
- * handler is assigned to the request, the response, or the server's `'timeout'`events, timed out sockets must be handled explicitly.
1673
- * @since v8.4.0
1674
- */
1675
- setTimeout(msecs: number, callback?: () => void): void;
1676
- read(size?: number): Buffer | string | null;
1677
- // #region InternalEventEmitter
1678
- addListener<E extends keyof Http2ServerRequestEventMap>(
1679
- eventName: E,
1680
- listener: (...args: Http2ServerRequestEventMap[E]) => void,
1681
- ): this;
1682
- addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1683
- emit<E extends keyof Http2ServerRequestEventMap>(eventName: E, ...args: Http2ServerRequestEventMap[E]): boolean;
1684
- emit(eventName: string | symbol, ...args: any[]): boolean;
1685
- listenerCount<E extends keyof Http2ServerRequestEventMap>(
1686
- eventName: E,
1687
- listener?: (...args: Http2ServerRequestEventMap[E]) => void,
1688
- ): number;
1689
- listenerCount(eventName: string | symbol, listener?: (...args: any[]) => void): number;
1690
- listeners<E extends keyof Http2ServerRequestEventMap>(
1691
- eventName: E,
1692
- ): ((...args: Http2ServerRequestEventMap[E]) => void)[];
1693
- listeners(eventName: string | symbol): ((...args: any[]) => void)[];
1694
- off<E extends keyof Http2ServerRequestEventMap>(
1695
- eventName: E,
1696
- listener: (...args: Http2ServerRequestEventMap[E]) => void,
1697
- ): this;
1698
- off(eventName: string | symbol, listener: (...args: any[]) => void): this;
1699
- on<E extends keyof Http2ServerRequestEventMap>(
1700
- eventName: E,
1701
- listener: (...args: Http2ServerRequestEventMap[E]) => void,
1702
- ): this;
1703
- on(eventName: string | symbol, listener: (...args: any[]) => void): this;
1704
- once<E extends keyof Http2ServerRequestEventMap>(
1705
- eventName: E,
1706
- listener: (...args: Http2ServerRequestEventMap[E]) => void,
1707
- ): this;
1708
- once(eventName: string | symbol, listener: (...args: any[]) => void): this;
1709
- prependListener<E extends keyof Http2ServerRequestEventMap>(
1710
- eventName: E,
1711
- listener: (...args: Http2ServerRequestEventMap[E]) => void,
1712
- ): this;
1713
- prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1714
- prependOnceListener<E extends keyof Http2ServerRequestEventMap>(
1715
- eventName: E,
1716
- listener: (...args: Http2ServerRequestEventMap[E]) => void,
1717
- ): this;
1718
- prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1719
- rawListeners<E extends keyof Http2ServerRequestEventMap>(
1720
- eventName: E,
1721
- ): ((...args: Http2ServerRequestEventMap[E]) => void)[];
1722
- rawListeners(eventName: string | symbol): ((...args: any[]) => void)[];
1723
- // eslint-disable-next-line @definitelytyped/no-unnecessary-generics
1724
- removeAllListeners<E extends keyof Http2ServerRequestEventMap>(eventName?: E): this;
1725
- removeAllListeners(eventName?: string | symbol): this;
1726
- removeListener<E extends keyof Http2ServerRequestEventMap>(
1727
- eventName: E,
1728
- listener: (...args: Http2ServerRequestEventMap[E]) => void,
1729
- ): this;
1730
- removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
1731
- // #endregion
1732
- }
1733
- /**
1734
- * This object is created internally by an HTTP server, not by the user. It is
1735
- * passed as the second parameter to the `'request'` event.
1736
- * @since v8.4.0
1737
- */
1738
- class Http2ServerResponse<Request extends Http2ServerRequest = Http2ServerRequest> extends stream.Writable {
1739
- constructor(stream: ServerHttp2Stream);
1740
- /**
1741
- * See `response.socket`.
1742
- * @since v8.4.0
1743
- * @deprecated Since v13.0.0 - Use `socket`.
1744
- */
1745
- readonly connection: net.Socket | tls.TLSSocket;
1746
- /**
1747
- * Append a single header value to the header object.
1748
- *
1749
- * If the value is an array, this is equivalent to calling this method multiple times.
1750
- *
1751
- * If there were no previous values for the header, this is equivalent to calling {@link setHeader}.
1752
- *
1753
- * Attempting to set a header field name or value that contains invalid characters will result in a
1754
- * [TypeError](https://nodejs.org/docs/latest-v25.x/api/errors.html#class-typeerror) being thrown.
1755
- *
1756
- * ```js
1757
- * // Returns headers including "set-cookie: a" and "set-cookie: b"
1758
- * const server = http2.createServer((req, res) => {
1759
- * res.setHeader('set-cookie', 'a');
1760
- * res.appendHeader('set-cookie', 'b');
1761
- * res.writeHead(200);
1762
- * res.end('ok');
1763
- * });
1764
- * ```
1765
- * @since v20.12.0
1766
- */
1767
- appendHeader(name: string, value: string | string[]): void;
1768
- /**
1769
- * Boolean value that indicates whether the response has completed. Starts
1770
- * as `false`. After `response.end()` executes, the value will be `true`.
1771
- * @since v8.4.0
1772
- * @deprecated Since v13.4.0,v12.16.0 - Use `writableEnded`.
1773
- */
1774
- readonly finished: boolean;
1775
- /**
1776
- * True if headers were sent, false otherwise (read-only).
1777
- * @since v8.4.0
1778
- */
1779
- readonly headersSent: boolean;
1780
- /**
1781
- * A reference to the original HTTP2 `request` object.
1782
- * @since v15.7.0
1783
- */
1784
- readonly req: Request;
1785
- /**
1786
- * Returns a `Proxy` object that acts as a `net.Socket` (or `tls.TLSSocket`) but
1787
- * applies getters, setters, and methods based on HTTP/2 logic.
1788
- *
1789
- * `destroyed`, `readable`, and `writable` properties will be retrieved from and
1790
- * set on `response.stream`.
1791
- *
1792
- * `destroy`, `emit`, `end`, `on` and `once` methods will be called on `response.stream`.
1793
- *
1794
- * `setTimeout` method will be called on `response.stream.session`.
1795
- *
1796
- * `pause`, `read`, `resume`, and `write` will throw an error with code `ERR_HTTP2_NO_SOCKET_MANIPULATION`. See `Http2Session and Sockets` for
1797
- * more information.
1798
- *
1799
- * All other interactions will be routed directly to the socket.
1800
- *
1801
- * ```js
1802
- * import http2 from 'node:http2';
1803
- * const server = http2.createServer((req, res) => {
1804
- * const ip = req.socket.remoteAddress;
1805
- * const port = req.socket.remotePort;
1806
- * res.end(`Your IP address is ${ip} and your source port is ${port}.`);
1807
- * }).listen(3000);
1808
- * ```
1809
- * @since v8.4.0
1810
- */
1811
- readonly socket: net.Socket | tls.TLSSocket;
1812
- /**
1813
- * The `Http2Stream` object backing the response.
1814
- * @since v8.4.0
1815
- */
1816
- readonly stream: ServerHttp2Stream;
1817
- /**
1818
- * When true, the Date header will be automatically generated and sent in
1819
- * the response if it is not already present in the headers. Defaults to true.
1820
- *
1821
- * This should only be disabled for testing; HTTP requires the Date header
1822
- * in responses.
1823
- * @since v8.4.0
1824
- */
1825
- sendDate: boolean;
1826
- /**
1827
- * When using implicit headers (not calling `response.writeHead()` explicitly),
1828
- * this property controls the status code that will be sent to the client when
1829
- * the headers get flushed.
1830
- *
1831
- * ```js
1832
- * response.statusCode = 404;
1833
- * ```
1834
- *
1835
- * After response header was sent to the client, this property indicates the
1836
- * status code which was sent out.
1837
- * @since v8.4.0
1838
- */
1839
- statusCode: number;
1840
- /**
1841
- * Status message is not supported by HTTP/2 (RFC 7540 8.1.2.4). It returns
1842
- * an empty string.
1843
- * @since v8.4.0
1844
- */
1845
- statusMessage: "";
1846
- /**
1847
- * This method adds HTTP trailing headers (a header but at the end of the
1848
- * message) to the response.
1849
- *
1850
- * Attempting to set a header field name or value that contains invalid characters
1851
- * will result in a `TypeError` being thrown.
1852
- * @since v8.4.0
1853
- */
1854
- addTrailers(trailers: OutgoingHttpHeaders): void;
1855
- /**
1856
- * This method signals to the server that all of the response headers and body
1857
- * have been sent; that server should consider this message complete.
1858
- * The method, `response.end()`, MUST be called on each response.
1859
- *
1860
- * If `data` is specified, it is equivalent to calling `response.write(data, encoding)` followed by `response.end(callback)`.
1861
- *
1862
- * If `callback` is specified, it will be called when the response stream
1863
- * is finished.
1864
- * @since v8.4.0
1865
- */
1866
- end(callback?: () => void): this;
1867
- end(data: string | Uint8Array, callback?: () => void): this;
1868
- end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): this;
1869
- /**
1870
- * Reads out a header that has already been queued but not sent to the client.
1871
- * The name is case-insensitive.
1872
- *
1873
- * ```js
1874
- * const contentType = response.getHeader('content-type');
1875
- * ```
1876
- * @since v8.4.0
1877
- */
1878
- getHeader(name: string): string;
1879
- /**
1880
- * Returns an array containing the unique names of the current outgoing headers.
1881
- * All header names are lowercase.
1882
- *
1883
- * ```js
1884
- * response.setHeader('Foo', 'bar');
1885
- * response.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']);
1886
- *
1887
- * const headerNames = response.getHeaderNames();
1888
- * // headerNames === ['foo', 'set-cookie']
1889
- * ```
1890
- * @since v8.4.0
1891
- */
1892
- getHeaderNames(): string[];
1893
- /**
1894
- * Returns a shallow copy of the current outgoing headers. Since a shallow copy
1895
- * is used, array values may be mutated without additional calls to various
1896
- * header-related http module methods. The keys of the returned object are the
1897
- * header names and the values are the respective header values. All header names
1898
- * are lowercase.
1899
- *
1900
- * The object returned by the `response.getHeaders()` method _does not_ prototypically inherit from the JavaScript `Object`. This means that typical `Object` methods such as `obj.toString()`,
1901
- * `obj.hasOwnProperty()`, and others
1902
- * are not defined and _will not work_.
1903
- *
1904
- * ```js
1905
- * response.setHeader('Foo', 'bar');
1906
- * response.setHeader('Set-Cookie', ['foo=bar', 'bar=baz']);
1907
- *
1908
- * const headers = response.getHeaders();
1909
- * // headers === { foo: 'bar', 'set-cookie': ['foo=bar', 'bar=baz'] }
1910
- * ```
1911
- * @since v8.4.0
1912
- */
1913
- getHeaders(): OutgoingHttpHeaders;
1914
- /**
1915
- * Returns `true` if the header identified by `name` is currently set in the
1916
- * outgoing headers. The header name matching is case-insensitive.
1917
- *
1918
- * ```js
1919
- * const hasContentType = response.hasHeader('content-type');
1920
- * ```
1921
- * @since v8.4.0
1922
- */
1923
- hasHeader(name: string): boolean;
1924
- /**
1925
- * Removes a header that has been queued for implicit sending.
1926
- *
1927
- * ```js
1928
- * response.removeHeader('Content-Encoding');
1929
- * ```
1930
- * @since v8.4.0
1931
- */
1932
- removeHeader(name: string): void;
1933
- /**
1934
- * Sets a single header value for implicit headers. If this header already exists
1935
- * in the to-be-sent headers, its value will be replaced. Use an array of strings
1936
- * here to send multiple headers with the same name.
1937
- *
1938
- * ```js
1939
- * response.setHeader('Content-Type', 'text/html; charset=utf-8');
1940
- * ```
1941
- *
1942
- * or
1943
- *
1944
- * ```js
1945
- * response.setHeader('Set-Cookie', ['type=ninja', 'language=javascript']);
1946
- * ```
1947
- *
1948
- * Attempting to set a header field name or value that contains invalid characters
1949
- * will result in a `TypeError` being thrown.
1950
- *
1951
- * When headers have been set with `response.setHeader()`, they will be merged
1952
- * with any headers passed to `response.writeHead()`, with the headers passed
1953
- * to `response.writeHead()` given precedence.
1954
- *
1955
- * ```js
1956
- * // Returns content-type = text/plain
1957
- * const server = http2.createServer((req, res) => {
1958
- * res.setHeader('Content-Type', 'text/html; charset=utf-8');
1959
- * res.setHeader('X-Foo', 'bar');
1960
- * res.writeHead(200, { 'Content-Type': 'text/plain; charset=utf-8' });
1961
- * res.end('ok');
1962
- * });
1963
- * ```
1964
- * @since v8.4.0
1965
- */
1966
- setHeader(name: string, value: number | string | readonly string[]): void;
1967
- /**
1968
- * Sets the `Http2Stream`'s timeout value to `msecs`. If a callback is
1969
- * provided, then it is added as a listener on the `'timeout'` event on
1970
- * the response object.
1971
- *
1972
- * If no `'timeout'` listener is added to the request, the response, or
1973
- * the server, then `Http2Stream` s are destroyed when they time out. If a
1974
- * handler is assigned to the request, the response, or the server's `'timeout'` events, timed out sockets must be handled explicitly.
1975
- * @since v8.4.0
1976
- */
1977
- setTimeout(msecs: number, callback?: () => void): void;
1978
- /**
1979
- * If this method is called and `response.writeHead()` has not been called,
1980
- * it will switch to implicit header mode and flush the implicit headers.
1981
- *
1982
- * This sends a chunk of the response body. This method may
1983
- * be called multiple times to provide successive parts of the body.
1984
- *
1985
- * In the `node:http` module, the response body is omitted when the
1986
- * request is a HEAD request. Similarly, the `204` and `304` responses _must not_ include a message body.
1987
- *
1988
- * `chunk` can be a string or a buffer. If `chunk` is a string,
1989
- * the second parameter specifies how to encode it into a byte stream.
1990
- * By default the `encoding` is `'utf8'`. `callback` will be called when this chunk
1991
- * of data is flushed.
1992
- *
1993
- * This is the raw HTTP body and has nothing to do with higher-level multi-part
1994
- * body encodings that may be used.
1995
- *
1996
- * The first time `response.write()` is called, it will send the buffered
1997
- * header information and the first chunk of the body to the client. The second
1998
- * time `response.write()` is called, Node.js assumes data will be streamed,
1999
- * and sends the new data separately. That is, the response is buffered up to the
2000
- * first chunk of the body.
2001
- *
2002
- * Returns `true` if the entire data was flushed successfully to the kernel
2003
- * buffer. Returns `false` if all or part of the data was queued in user memory.`'drain'` will be emitted when the buffer is free again.
2004
- * @since v8.4.0
2005
- */
2006
- write(chunk: string | Uint8Array, callback?: (err: Error) => void): boolean;
2007
- write(chunk: string | Uint8Array, encoding: BufferEncoding, callback?: (err: Error) => void): boolean;
2008
- /**
2009
- * Sends a status `100 Continue` to the client, indicating that the request body
2010
- * should be sent. See the `'checkContinue'` event on `Http2Server` and `Http2SecureServer`.
2011
- * @since v8.4.0
2012
- */
2013
- writeContinue(): void;
2014
- /**
2015
- * Sends a status `103 Early Hints` to the client with a Link header,
2016
- * indicating that the user agent can preload/preconnect the linked resources.
2017
- * The `hints` is an object containing the values of headers to be sent with
2018
- * early hints message.
2019
- *
2020
- * **Example**
2021
- *
2022
- * ```js
2023
- * const earlyHintsLink = '</styles.css>; rel=preload; as=style';
2024
- * response.writeEarlyHints({
2025
- * 'link': earlyHintsLink,
2026
- * });
2027
- *
2028
- * const earlyHintsLinks = [
2029
- * '</styles.css>; rel=preload; as=style',
2030
- * '</scripts.js>; rel=preload; as=script',
2031
- * ];
2032
- * response.writeEarlyHints({
2033
- * 'link': earlyHintsLinks,
2034
- * });
2035
- * ```
2036
- * @since v18.11.0
2037
- */
2038
- writeEarlyHints(hints: Record<string, string | string[]>): void;
2039
- /**
2040
- * Sends a response header to the request. The status code is a 3-digit HTTP
2041
- * status code, like `404`. The last argument, `headers`, are the response headers.
2042
- *
2043
- * Returns a reference to the `Http2ServerResponse`, so that calls can be chained.
2044
- *
2045
- * For compatibility with `HTTP/1`, a human-readable `statusMessage` may be
2046
- * passed as the second argument. However, because the `statusMessage` has no
2047
- * meaning within HTTP/2, the argument will have no effect and a process warning
2048
- * will be emitted.
2049
- *
2050
- * ```js
2051
- * const body = 'hello world';
2052
- * response.writeHead(200, {
2053
- * 'Content-Length': Buffer.byteLength(body),
2054
- * 'Content-Type': 'text/plain; charset=utf-8',
2055
- * });
2056
- * ```
2057
- *
2058
- * `Content-Length` is given in bytes not characters. The`Buffer.byteLength()` API may be used to determine the number of bytes in a
2059
- * given encoding. On outbound messages, Node.js does not check if Content-Length
2060
- * and the length of the body being transmitted are equal or not. However, when
2061
- * receiving messages, Node.js will automatically reject messages when the `Content-Length` does not match the actual payload size.
2062
- *
2063
- * This method may be called at most one time on a message before `response.end()` is called.
2064
- *
2065
- * If `response.write()` or `response.end()` are called before calling
2066
- * this, the implicit/mutable headers will be calculated and call this function.
2067
- *
2068
- * When headers have been set with `response.setHeader()`, they will be merged
2069
- * with any headers passed to `response.writeHead()`, with the headers passed
2070
- * to `response.writeHead()` given precedence.
2071
- *
2072
- * ```js
2073
- * // Returns content-type = text/plain
2074
- * const server = http2.createServer((req, res) => {
2075
- * res.setHeader('Content-Type', 'text/html; charset=utf-8');
2076
- * res.setHeader('X-Foo', 'bar');
2077
- * res.writeHead(200, { 'Content-Type': 'text/plain; charset=utf-8' });
2078
- * res.end('ok');
2079
- * });
2080
- * ```
2081
- *
2082
- * Attempting to set a header field name or value that contains invalid characters
2083
- * will result in a `TypeError` being thrown.
2084
- * @since v8.4.0
2085
- */
2086
- writeHead(statusCode: number, headers?: OutgoingHttpHeaders | readonly string[]): this;
2087
- writeHead(statusCode: number, statusMessage: string, headers?: OutgoingHttpHeaders | readonly string[]): this;
2088
- /**
2089
- * Call `http2stream.pushStream()` with the given headers, and wrap the
2090
- * given `Http2Stream` on a newly created `Http2ServerResponse` as the callback
2091
- * parameter if successful. When `Http2ServerRequest` is closed, the callback is
2092
- * called with an error `ERR_HTTP2_INVALID_STREAM`.
2093
- * @since v8.4.0
2094
- * @param headers An object describing the headers
2095
- * @param callback Called once `http2stream.pushStream()` is finished, or either when the attempt to create the pushed `Http2Stream` has failed or has been rejected, or the state of
2096
- * `Http2ServerRequest` is closed prior to calling the `http2stream.pushStream()` method
2097
- */
2098
- createPushResponse(
2099
- headers: OutgoingHttpHeaders,
2100
- callback: (err: Error | null, res: Http2ServerResponse) => void,
2101
- ): void;
2102
- }
2103
- namespace constants {
2104
- const NGHTTP2_SESSION_SERVER: number;
2105
- const NGHTTP2_SESSION_CLIENT: number;
2106
- const NGHTTP2_STREAM_STATE_IDLE: number;
2107
- const NGHTTP2_STREAM_STATE_OPEN: number;
2108
- const NGHTTP2_STREAM_STATE_RESERVED_LOCAL: number;
2109
- const NGHTTP2_STREAM_STATE_RESERVED_REMOTE: number;
2110
- const NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL: number;
2111
- const NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE: number;
2112
- const NGHTTP2_STREAM_STATE_CLOSED: number;
2113
- const NGHTTP2_NO_ERROR: number;
2114
- const NGHTTP2_PROTOCOL_ERROR: number;
2115
- const NGHTTP2_INTERNAL_ERROR: number;
2116
- const NGHTTP2_FLOW_CONTROL_ERROR: number;
2117
- const NGHTTP2_SETTINGS_TIMEOUT: number;
2118
- const NGHTTP2_STREAM_CLOSED: number;
2119
- const NGHTTP2_FRAME_SIZE_ERROR: number;
2120
- const NGHTTP2_REFUSED_STREAM: number;
2121
- const NGHTTP2_CANCEL: number;
2122
- const NGHTTP2_COMPRESSION_ERROR: number;
2123
- const NGHTTP2_CONNECT_ERROR: number;
2124
- const NGHTTP2_ENHANCE_YOUR_CALM: number;
2125
- const NGHTTP2_INADEQUATE_SECURITY: number;
2126
- const NGHTTP2_HTTP_1_1_REQUIRED: number;
2127
- const NGHTTP2_ERR_FRAME_SIZE_ERROR: number;
2128
- const NGHTTP2_FLAG_NONE: number;
2129
- const NGHTTP2_FLAG_END_STREAM: number;
2130
- const NGHTTP2_FLAG_END_HEADERS: number;
2131
- const NGHTTP2_FLAG_ACK: number;
2132
- const NGHTTP2_FLAG_PADDED: number;
2133
- const NGHTTP2_FLAG_PRIORITY: number;
2134
- const DEFAULT_SETTINGS_HEADER_TABLE_SIZE: number;
2135
- const DEFAULT_SETTINGS_ENABLE_PUSH: number;
2136
- const DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE: number;
2137
- const DEFAULT_SETTINGS_MAX_FRAME_SIZE: number;
2138
- const MAX_MAX_FRAME_SIZE: number;
2139
- const MIN_MAX_FRAME_SIZE: number;
2140
- const MAX_INITIAL_WINDOW_SIZE: number;
2141
- const NGHTTP2_DEFAULT_WEIGHT: number;
2142
- const NGHTTP2_SETTINGS_HEADER_TABLE_SIZE: number;
2143
- const NGHTTP2_SETTINGS_ENABLE_PUSH: number;
2144
- const NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS: number;
2145
- const NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE: number;
2146
- const NGHTTP2_SETTINGS_MAX_FRAME_SIZE: number;
2147
- const NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE: number;
2148
- const PADDING_STRATEGY_NONE: number;
2149
- const PADDING_STRATEGY_MAX: number;
2150
- const PADDING_STRATEGY_CALLBACK: number;
2151
- const HTTP2_HEADER_STATUS: string;
2152
- const HTTP2_HEADER_METHOD: string;
2153
- const HTTP2_HEADER_AUTHORITY: string;
2154
- const HTTP2_HEADER_SCHEME: string;
2155
- const HTTP2_HEADER_PATH: string;
2156
- const HTTP2_HEADER_ACCEPT_CHARSET: string;
2157
- const HTTP2_HEADER_ACCEPT_ENCODING: string;
2158
- const HTTP2_HEADER_ACCEPT_LANGUAGE: string;
2159
- const HTTP2_HEADER_ACCEPT_RANGES: string;
2160
- const HTTP2_HEADER_ACCEPT: string;
2161
- const HTTP2_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS: string;
2162
- const HTTP2_HEADER_ACCESS_CONTROL_ALLOW_HEADERS: string;
2163
- const HTTP2_HEADER_ACCESS_CONTROL_ALLOW_METHODS: string;
2164
- const HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN: string;
2165
- const HTTP2_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS: string;
2166
- const HTTP2_HEADER_ACCESS_CONTROL_REQUEST_HEADERS: string;
2167
- const HTTP2_HEADER_ACCESS_CONTROL_REQUEST_METHOD: string;
2168
- const HTTP2_HEADER_AGE: string;
2169
- const HTTP2_HEADER_ALLOW: string;
2170
- const HTTP2_HEADER_AUTHORIZATION: string;
2171
- const HTTP2_HEADER_CACHE_CONTROL: string;
2172
- const HTTP2_HEADER_CONNECTION: string;
2173
- const HTTP2_HEADER_CONTENT_DISPOSITION: string;
2174
- const HTTP2_HEADER_CONTENT_ENCODING: string;
2175
- const HTTP2_HEADER_CONTENT_LANGUAGE: string;
2176
- const HTTP2_HEADER_CONTENT_LENGTH: string;
2177
- const HTTP2_HEADER_CONTENT_LOCATION: string;
2178
- const HTTP2_HEADER_CONTENT_MD5: string;
2179
- const HTTP2_HEADER_CONTENT_RANGE: string;
2180
- const HTTP2_HEADER_CONTENT_TYPE: string;
2181
- const HTTP2_HEADER_COOKIE: string;
2182
- const HTTP2_HEADER_DATE: string;
2183
- const HTTP2_HEADER_ETAG: string;
2184
- const HTTP2_HEADER_EXPECT: string;
2185
- const HTTP2_HEADER_EXPIRES: string;
2186
- const HTTP2_HEADER_FROM: string;
2187
- const HTTP2_HEADER_HOST: string;
2188
- const HTTP2_HEADER_IF_MATCH: string;
2189
- const HTTP2_HEADER_IF_MODIFIED_SINCE: string;
2190
- const HTTP2_HEADER_IF_NONE_MATCH: string;
2191
- const HTTP2_HEADER_IF_RANGE: string;
2192
- const HTTP2_HEADER_IF_UNMODIFIED_SINCE: string;
2193
- const HTTP2_HEADER_LAST_MODIFIED: string;
2194
- const HTTP2_HEADER_LINK: string;
2195
- const HTTP2_HEADER_LOCATION: string;
2196
- const HTTP2_HEADER_MAX_FORWARDS: string;
2197
- const HTTP2_HEADER_PREFER: string;
2198
- const HTTP2_HEADER_PROXY_AUTHENTICATE: string;
2199
- const HTTP2_HEADER_PROXY_AUTHORIZATION: string;
2200
- const HTTP2_HEADER_RANGE: string;
2201
- const HTTP2_HEADER_REFERER: string;
2202
- const HTTP2_HEADER_REFRESH: string;
2203
- const HTTP2_HEADER_RETRY_AFTER: string;
2204
- const HTTP2_HEADER_SERVER: string;
2205
- const HTTP2_HEADER_SET_COOKIE: string;
2206
- const HTTP2_HEADER_STRICT_TRANSPORT_SECURITY: string;
2207
- const HTTP2_HEADER_TRANSFER_ENCODING: string;
2208
- const HTTP2_HEADER_TE: string;
2209
- const HTTP2_HEADER_UPGRADE: string;
2210
- const HTTP2_HEADER_USER_AGENT: string;
2211
- const HTTP2_HEADER_VARY: string;
2212
- const HTTP2_HEADER_VIA: string;
2213
- const HTTP2_HEADER_WWW_AUTHENTICATE: string;
2214
- const HTTP2_HEADER_HTTP2_SETTINGS: string;
2215
- const HTTP2_HEADER_KEEP_ALIVE: string;
2216
- const HTTP2_HEADER_PROXY_CONNECTION: string;
2217
- const HTTP2_METHOD_ACL: string;
2218
- const HTTP2_METHOD_BASELINE_CONTROL: string;
2219
- const HTTP2_METHOD_BIND: string;
2220
- const HTTP2_METHOD_CHECKIN: string;
2221
- const HTTP2_METHOD_CHECKOUT: string;
2222
- const HTTP2_METHOD_CONNECT: string;
2223
- const HTTP2_METHOD_COPY: string;
2224
- const HTTP2_METHOD_DELETE: string;
2225
- const HTTP2_METHOD_GET: string;
2226
- const HTTP2_METHOD_HEAD: string;
2227
- const HTTP2_METHOD_LABEL: string;
2228
- const HTTP2_METHOD_LINK: string;
2229
- const HTTP2_METHOD_LOCK: string;
2230
- const HTTP2_METHOD_MERGE: string;
2231
- const HTTP2_METHOD_MKACTIVITY: string;
2232
- const HTTP2_METHOD_MKCALENDAR: string;
2233
- const HTTP2_METHOD_MKCOL: string;
2234
- const HTTP2_METHOD_MKREDIRECTREF: string;
2235
- const HTTP2_METHOD_MKWORKSPACE: string;
2236
- const HTTP2_METHOD_MOVE: string;
2237
- const HTTP2_METHOD_OPTIONS: string;
2238
- const HTTP2_METHOD_ORDERPATCH: string;
2239
- const HTTP2_METHOD_PATCH: string;
2240
- const HTTP2_METHOD_POST: string;
2241
- const HTTP2_METHOD_PRI: string;
2242
- const HTTP2_METHOD_PROPFIND: string;
2243
- const HTTP2_METHOD_PROPPATCH: string;
2244
- const HTTP2_METHOD_PUT: string;
2245
- const HTTP2_METHOD_REBIND: string;
2246
- const HTTP2_METHOD_REPORT: string;
2247
- const HTTP2_METHOD_SEARCH: string;
2248
- const HTTP2_METHOD_TRACE: string;
2249
- const HTTP2_METHOD_UNBIND: string;
2250
- const HTTP2_METHOD_UNCHECKOUT: string;
2251
- const HTTP2_METHOD_UNLINK: string;
2252
- const HTTP2_METHOD_UNLOCK: string;
2253
- const HTTP2_METHOD_UPDATE: string;
2254
- const HTTP2_METHOD_UPDATEREDIRECTREF: string;
2255
- const HTTP2_METHOD_VERSION_CONTROL: string;
2256
- const HTTP_STATUS_CONTINUE: number;
2257
- const HTTP_STATUS_SWITCHING_PROTOCOLS: number;
2258
- const HTTP_STATUS_PROCESSING: number;
2259
- const HTTP_STATUS_OK: number;
2260
- const HTTP_STATUS_CREATED: number;
2261
- const HTTP_STATUS_ACCEPTED: number;
2262
- const HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION: number;
2263
- const HTTP_STATUS_NO_CONTENT: number;
2264
- const HTTP_STATUS_RESET_CONTENT: number;
2265
- const HTTP_STATUS_PARTIAL_CONTENT: number;
2266
- const HTTP_STATUS_MULTI_STATUS: number;
2267
- const HTTP_STATUS_ALREADY_REPORTED: number;
2268
- const HTTP_STATUS_IM_USED: number;
2269
- const HTTP_STATUS_MULTIPLE_CHOICES: number;
2270
- const HTTP_STATUS_MOVED_PERMANENTLY: number;
2271
- const HTTP_STATUS_FOUND: number;
2272
- const HTTP_STATUS_SEE_OTHER: number;
2273
- const HTTP_STATUS_NOT_MODIFIED: number;
2274
- const HTTP_STATUS_USE_PROXY: number;
2275
- const HTTP_STATUS_TEMPORARY_REDIRECT: number;
2276
- const HTTP_STATUS_PERMANENT_REDIRECT: number;
2277
- const HTTP_STATUS_BAD_REQUEST: number;
2278
- const HTTP_STATUS_UNAUTHORIZED: number;
2279
- const HTTP_STATUS_PAYMENT_REQUIRED: number;
2280
- const HTTP_STATUS_FORBIDDEN: number;
2281
- const HTTP_STATUS_NOT_FOUND: number;
2282
- const HTTP_STATUS_METHOD_NOT_ALLOWED: number;
2283
- const HTTP_STATUS_NOT_ACCEPTABLE: number;
2284
- const HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED: number;
2285
- const HTTP_STATUS_REQUEST_TIMEOUT: number;
2286
- const HTTP_STATUS_CONFLICT: number;
2287
- const HTTP_STATUS_GONE: number;
2288
- const HTTP_STATUS_LENGTH_REQUIRED: number;
2289
- const HTTP_STATUS_PRECONDITION_FAILED: number;
2290
- const HTTP_STATUS_PAYLOAD_TOO_LARGE: number;
2291
- const HTTP_STATUS_URI_TOO_LONG: number;
2292
- const HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE: number;
2293
- const HTTP_STATUS_RANGE_NOT_SATISFIABLE: number;
2294
- const HTTP_STATUS_EXPECTATION_FAILED: number;
2295
- const HTTP_STATUS_TEAPOT: number;
2296
- const HTTP_STATUS_MISDIRECTED_REQUEST: number;
2297
- const HTTP_STATUS_UNPROCESSABLE_ENTITY: number;
2298
- const HTTP_STATUS_LOCKED: number;
2299
- const HTTP_STATUS_FAILED_DEPENDENCY: number;
2300
- const HTTP_STATUS_UNORDERED_COLLECTION: number;
2301
- const HTTP_STATUS_UPGRADE_REQUIRED: number;
2302
- const HTTP_STATUS_PRECONDITION_REQUIRED: number;
2303
- const HTTP_STATUS_TOO_MANY_REQUESTS: number;
2304
- const HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE: number;
2305
- const HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS: number;
2306
- const HTTP_STATUS_INTERNAL_SERVER_ERROR: number;
2307
- const HTTP_STATUS_NOT_IMPLEMENTED: number;
2308
- const HTTP_STATUS_BAD_GATEWAY: number;
2309
- const HTTP_STATUS_SERVICE_UNAVAILABLE: number;
2310
- const HTTP_STATUS_GATEWAY_TIMEOUT: number;
2311
- const HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED: number;
2312
- const HTTP_STATUS_VARIANT_ALSO_NEGOTIATES: number;
2313
- const HTTP_STATUS_INSUFFICIENT_STORAGE: number;
2314
- const HTTP_STATUS_LOOP_DETECTED: number;
2315
- const HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED: number;
2316
- const HTTP_STATUS_NOT_EXTENDED: number;
2317
- const HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED: number;
2318
- }
2319
- /**
2320
- * This symbol can be set as a property on the HTTP/2 headers object with
2321
- * an array value in order to provide a list of headers considered sensitive.
2322
- */
2323
- const sensitiveHeaders: symbol;
2324
- /**
2325
- * Returns an object containing the default settings for an `Http2Session` instance. This method returns a new object instance every time it is called
2326
- * so instances returned may be safely modified for use.
2327
- * @since v8.4.0
2328
- */
2329
- function getDefaultSettings(): Settings;
2330
- /**
2331
- * Returns a `Buffer` instance containing serialized representation of the given
2332
- * HTTP/2 settings as specified in the [HTTP/2](https://tools.ietf.org/html/rfc7540) specification. This is intended
2333
- * for use with the `HTTP2-Settings` header field.
2334
- *
2335
- * ```js
2336
- * import http2 from 'node:http2';
2337
- *
2338
- * const packed = http2.getPackedSettings({ enablePush: false });
2339
- *
2340
- * console.log(packed.toString('base64'));
2341
- * // Prints: AAIAAAAA
2342
- * ```
2343
- * @since v8.4.0
2344
- */
2345
- function getPackedSettings(settings: Settings): NonSharedBuffer;
2346
- /**
2347
- * Returns a `HTTP/2 Settings Object` containing the deserialized settings from
2348
- * the given `Buffer` as generated by `http2.getPackedSettings()`.
2349
- * @since v8.4.0
2350
- * @param buf The packed settings.
2351
- */
2352
- function getUnpackedSettings(buf: Uint8Array): Settings;
2353
- /**
2354
- * Returns a `net.Server` instance that creates and manages `Http2Session` instances.
2355
- *
2356
- * Since there are no browsers known that support [unencrypted HTTP/2](https://http2.github.io/faq/#does-http2-require-encryption), the use of {@link createSecureServer} is necessary when
2357
- * communicating
2358
- * with browser clients.
2359
- *
2360
- * ```js
2361
- * import http2 from 'node:http2';
2362
- *
2363
- * // Create an unencrypted HTTP/2 server.
2364
- * // Since there are no browsers known that support
2365
- * // unencrypted HTTP/2, the use of `http2.createSecureServer()`
2366
- * // is necessary when communicating with browser clients.
2367
- * const server = http2.createServer();
2368
- *
2369
- * server.on('stream', (stream, headers) => {
2370
- * stream.respond({
2371
- * 'content-type': 'text/html; charset=utf-8',
2372
- * ':status': 200,
2373
- * });
2374
- * stream.end('<h1>Hello World</h1>');
2375
- * });
2376
- *
2377
- * server.listen(8000);
2378
- * ```
2379
- * @since v8.4.0
2380
- * @param onRequestHandler See `Compatibility API`
2381
- */
2382
- function createServer(
2383
- onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void,
2384
- ): Http2Server;
2385
- function createServer<
2386
- Http1Request extends typeof IncomingMessage = typeof IncomingMessage,
2387
- Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
2388
- Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
2389
- Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
2390
- >(
2391
- options: ServerOptions<Http1Request, Http1Response, Http2Request, Http2Response>,
2392
- onRequestHandler?: (request: InstanceType<Http2Request>, response: InstanceType<Http2Response>) => void,
2393
- ): Http2Server<Http1Request, Http1Response, Http2Request, Http2Response>;
2394
- /**
2395
- * Returns a `tls.Server` instance that creates and manages `Http2Session` instances.
2396
- *
2397
- * ```js
2398
- * import http2 from 'node:http2';
2399
- * import fs from 'node:fs';
2400
- *
2401
- * const options = {
2402
- * key: fs.readFileSync('server-key.pem'),
2403
- * cert: fs.readFileSync('server-cert.pem'),
2404
- * };
2405
- *
2406
- * // Create a secure HTTP/2 server
2407
- * const server = http2.createSecureServer(options);
2408
- *
2409
- * server.on('stream', (stream, headers) => {
2410
- * stream.respond({
2411
- * 'content-type': 'text/html; charset=utf-8',
2412
- * ':status': 200,
2413
- * });
2414
- * stream.end('<h1>Hello World</h1>');
2415
- * });
2416
- *
2417
- * server.listen(8443);
2418
- * ```
2419
- * @since v8.4.0
2420
- * @param onRequestHandler See `Compatibility API`
2421
- */
2422
- function createSecureServer(
2423
- onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void,
2424
- ): Http2SecureServer;
2425
- function createSecureServer<
2426
- Http1Request extends typeof IncomingMessage = typeof IncomingMessage,
2427
- Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
2428
- Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
2429
- Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
2430
- >(
2431
- options: SecureServerOptions<Http1Request, Http1Response, Http2Request, Http2Response>,
2432
- onRequestHandler?: (request: InstanceType<Http2Request>, response: InstanceType<Http2Response>) => void,
2433
- ): Http2SecureServer<Http1Request, Http1Response, Http2Request, Http2Response>;
2434
- /**
2435
- * Returns a `ClientHttp2Session` instance.
2436
- *
2437
- * ```js
2438
- * import http2 from 'node:http2';
2439
- * const client = http2.connect('https://localhost:1234');
2440
- *
2441
- * // Use the client
2442
- *
2443
- * client.close();
2444
- * ```
2445
- * @since v8.4.0
2446
- * @param authority The remote HTTP/2 server to connect to. This must be in the form of a minimal, valid URL with the `http://` or `https://` prefix, host name, and IP port (if a non-default port
2447
- * is used). Userinfo (user ID and password), path, querystring, and fragment details in the URL will be ignored.
2448
- * @param listener Will be registered as a one-time listener of the {@link 'connect'} event.
2449
- */
2450
- function connect(
2451
- authority: string | url.URL,
2452
- listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void,
2453
- ): ClientHttp2Session;
2454
- function connect(
2455
- authority: string | url.URL,
2456
- options?: ClientSessionOptions | SecureClientSessionOptions,
2457
- listener?: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void,
2458
- ): ClientHttp2Session;
2459
- /**
2460
- * Create an HTTP/2 server session from an existing socket.
2461
- * @param socket A Duplex Stream
2462
- * @param options Any `{@link createServer}` options can be provided.
2463
- * @since v20.12.0
2464
- */
2465
- function performServerHandshake<
2466
- Http1Request extends typeof IncomingMessage = typeof IncomingMessage,
2467
- Http1Response extends typeof ServerResponse<InstanceType<Http1Request>> = typeof ServerResponse,
2468
- Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
2469
- Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
2470
- >(
2471
- socket: stream.Duplex,
2472
- options?: ServerOptions<Http1Request, Http1Response, Http2Request, Http2Response>,
2473
- ): ServerHttp2Session<Http1Request, Http1Response, Http2Request, Http2Response>;
2474
- }
2475
- declare module "node:http2" {
2476
- export { OutgoingHttpHeaders } from "node:http";
2477
- }
2478
- declare module "http2" {
2479
- export * from "node:http2";
2480
- }