@hasna/connectors 1.3.24 → 1.3.25

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 (694) hide show
  1. package/bin/index.js +470 -138
  2. package/bin/mcp.js +2568 -2015
  3. package/bin/serve.js +765 -427
  4. package/connectors/{connect-yousign → connect-cloudflare}/bun.lock +3 -3
  5. package/connectors/connect-gmail/bin/index.js +7027 -0
  6. package/connectors/connect-googledrive/bin/index.js +5958 -0
  7. package/connectors/connect-imessage/bin/.gitkeep +2 -0
  8. package/connectors/connect-imessage/bin/index.js +3016 -0
  9. package/connectors/connect-imessage/bun.lock +32 -0
  10. package/connectors/connect-imessage/package.json +46 -0
  11. package/connectors/connect-imessage/src/api/client.ts +139 -0
  12. package/connectors/connect-imessage/src/api/conversations.ts +49 -0
  13. package/connectors/connect-imessage/src/api/health.ts +16 -0
  14. package/connectors/connect-imessage/src/api/index.ts +62 -0
  15. package/connectors/connect-imessage/src/api/messages.ts +119 -0
  16. package/connectors/connect-imessage/src/cli/index.ts +258 -0
  17. package/connectors/connect-imessage/src/index.ts +26 -0
  18. package/connectors/connect-imessage/src/types/index.ts +134 -0
  19. package/connectors/connect-imessage/src/utils/config.ts +219 -0
  20. package/connectors/connect-imessage/src/utils/output.ts +121 -0
  21. package/connectors/connect-imessage/tsconfig.json +16 -0
  22. package/dashboard/dist/assets/index-ClBXkNbL.css +1 -0
  23. package/dashboard/dist/assets/index-DvfmyAO4.js +284 -0
  24. package/dashboard/dist/index.html +2 -2
  25. package/dist/core/connectors/googledrive.d.ts +6 -0
  26. package/dist/core/connectors/internal-operations.test.d.ts +1 -0
  27. package/dist/core/connectors/internal-runtime.test.d.ts +1 -0
  28. package/dist/core/errors.test.d.ts +1 -0
  29. package/dist/index.d.ts +1 -1
  30. package/dist/index.js +631 -77
  31. package/dist/lib/runner-auth.test.d.ts +1 -0
  32. package/dist/lib/runner.d.ts +31 -0
  33. package/dist/lib/test-endpoints.test.d.ts +1 -0
  34. package/dist/lib/workflow-runner.d.ts +7 -0
  35. package/dist/server/auth-exchange.test.d.ts +1 -0
  36. package/dist/server/auth-refresh.test.d.ts +1 -0
  37. package/dist/server/auth.d.ts +1 -0
  38. package/package.json +1 -1
  39. package/connectors/connect-yousign/node_modules/@types/bun/LICENSE +0 -21
  40. package/connectors/connect-yousign/node_modules/@types/bun/README.md +0 -20
  41. package/connectors/connect-yousign/node_modules/@types/bun/index.d.ts +0 -1
  42. package/connectors/connect-yousign/node_modules/@types/bun/package.json +0 -53
  43. package/connectors/connect-yousign/node_modules/@types/node/LICENSE +0 -21
  44. package/connectors/connect-yousign/node_modules/@types/node/README.md +0 -15
  45. package/connectors/connect-yousign/node_modules/@types/node/assert/strict.d.ts +0 -105
  46. package/connectors/connect-yousign/node_modules/@types/node/assert.d.ts +0 -955
  47. package/connectors/connect-yousign/node_modules/@types/node/async_hooks.d.ts +0 -623
  48. package/connectors/connect-yousign/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  49. package/connectors/connect-yousign/node_modules/@types/node/buffer.d.ts +0 -1810
  50. package/connectors/connect-yousign/node_modules/@types/node/child_process.d.ts +0 -1433
  51. package/connectors/connect-yousign/node_modules/@types/node/cluster.d.ts +0 -486
  52. package/connectors/connect-yousign/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  53. package/connectors/connect-yousign/node_modules/@types/node/console.d.ts +0 -151
  54. package/connectors/connect-yousign/node_modules/@types/node/constants.d.ts +0 -20
  55. package/connectors/connect-yousign/node_modules/@types/node/crypto.d.ts +0 -4065
  56. package/connectors/connect-yousign/node_modules/@types/node/dgram.d.ts +0 -564
  57. package/connectors/connect-yousign/node_modules/@types/node/diagnostics_channel.d.ts +0 -576
  58. package/connectors/connect-yousign/node_modules/@types/node/dns/promises.d.ts +0 -503
  59. package/connectors/connect-yousign/node_modules/@types/node/dns.d.ts +0 -922
  60. package/connectors/connect-yousign/node_modules/@types/node/domain.d.ts +0 -166
  61. package/connectors/connect-yousign/node_modules/@types/node/events.d.ts +0 -1047
  62. package/connectors/connect-yousign/node_modules/@types/node/fs/promises.d.ts +0 -1329
  63. package/connectors/connect-yousign/node_modules/@types/node/fs.d.ts +0 -4678
  64. package/connectors/connect-yousign/node_modules/@types/node/globals.d.ts +0 -150
  65. package/connectors/connect-yousign/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  66. package/connectors/connect-yousign/node_modules/@types/node/http.d.ts +0 -2188
  67. package/connectors/connect-yousign/node_modules/@types/node/http2.d.ts +0 -2480
  68. package/connectors/connect-yousign/node_modules/@types/node/https.d.ts +0 -405
  69. package/connectors/connect-yousign/node_modules/@types/node/index.d.ts +0 -115
  70. package/connectors/connect-yousign/node_modules/@types/node/inspector/promises.d.ts +0 -41
  71. package/connectors/connect-yousign/node_modules/@types/node/inspector.d.ts +0 -269
  72. package/connectors/connect-yousign/node_modules/@types/node/inspector.generated.d.ts +0 -4401
  73. package/connectors/connect-yousign/node_modules/@types/node/module.d.ts +0 -757
  74. package/connectors/connect-yousign/node_modules/@types/node/net.d.ts +0 -933
  75. package/connectors/connect-yousign/node_modules/@types/node/os.d.ts +0 -507
  76. package/connectors/connect-yousign/node_modules/@types/node/package.json +0 -155
  77. package/connectors/connect-yousign/node_modules/@types/node/path/posix.d.ts +0 -8
  78. package/connectors/connect-yousign/node_modules/@types/node/path/win32.d.ts +0 -8
  79. package/connectors/connect-yousign/node_modules/@types/node/path.d.ts +0 -187
  80. package/connectors/connect-yousign/node_modules/@types/node/perf_hooks.d.ts +0 -643
  81. package/connectors/connect-yousign/node_modules/@types/node/process.d.ts +0 -2175
  82. package/connectors/connect-yousign/node_modules/@types/node/punycode.d.ts +0 -117
  83. package/connectors/connect-yousign/node_modules/@types/node/querystring.d.ts +0 -152
  84. package/connectors/connect-yousign/node_modules/@types/node/quic.d.ts +0 -910
  85. package/connectors/connect-yousign/node_modules/@types/node/readline/promises.d.ts +0 -161
  86. package/connectors/connect-yousign/node_modules/@types/node/readline.d.ts +0 -542
  87. package/connectors/connect-yousign/node_modules/@types/node/repl.d.ts +0 -415
  88. package/connectors/connect-yousign/node_modules/@types/node/sea.d.ts +0 -162
  89. package/connectors/connect-yousign/node_modules/@types/node/sqlite.d.ts +0 -1065
  90. package/connectors/connect-yousign/node_modules/@types/node/stream/consumers.d.ts +0 -38
  91. package/connectors/connect-yousign/node_modules/@types/node/stream/promises.d.ts +0 -211
  92. package/connectors/connect-yousign/node_modules/@types/node/stream/web.d.ts +0 -296
  93. package/connectors/connect-yousign/node_modules/@types/node/stream.d.ts +0 -1770
  94. package/connectors/connect-yousign/node_modules/@types/node/string_decoder.d.ts +0 -67
  95. package/connectors/connect-yousign/node_modules/@types/node/test/reporters.d.ts +0 -96
  96. package/connectors/connect-yousign/node_modules/@types/node/test.d.ts +0 -2275
  97. package/connectors/connect-yousign/node_modules/@types/node/timers/promises.d.ts +0 -108
  98. package/connectors/connect-yousign/node_modules/@types/node/timers.d.ts +0 -159
  99. package/connectors/connect-yousign/node_modules/@types/node/tls.d.ts +0 -1203
  100. package/connectors/connect-yousign/node_modules/@types/node/trace_events.d.ts +0 -197
  101. package/connectors/connect-yousign/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  102. package/connectors/connect-yousign/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  103. package/connectors/connect-yousign/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  104. package/connectors/connect-yousign/node_modules/@types/node/ts5.6/index.d.ts +0 -117
  105. package/connectors/connect-yousign/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  106. package/connectors/connect-yousign/node_modules/@types/node/ts5.7/index.d.ts +0 -117
  107. package/connectors/connect-yousign/node_modules/@types/node/tty.d.ts +0 -250
  108. package/connectors/connect-yousign/node_modules/@types/node/url.d.ts +0 -541
  109. package/connectors/connect-yousign/node_modules/@types/node/util/types.d.ts +0 -558
  110. package/connectors/connect-yousign/node_modules/@types/node/util.d.ts +0 -1687
  111. package/connectors/connect-yousign/node_modules/@types/node/v8.d.ts +0 -988
  112. package/connectors/connect-yousign/node_modules/@types/node/vm.d.ts +0 -1208
  113. package/connectors/connect-yousign/node_modules/@types/node/wasi.d.ts +0 -202
  114. package/connectors/connect-yousign/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  115. package/connectors/connect-yousign/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  116. package/connectors/connect-yousign/node_modules/@types/node/web-globals/console.d.ts +0 -9
  117. package/connectors/connect-yousign/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  118. package/connectors/connect-yousign/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  119. package/connectors/connect-yousign/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  120. package/connectors/connect-yousign/node_modules/@types/node/web-globals/events.d.ts +0 -106
  121. package/connectors/connect-yousign/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
  122. package/connectors/connect-yousign/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  123. package/connectors/connect-yousign/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  124. package/connectors/connect-yousign/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  125. package/connectors/connect-yousign/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  126. package/connectors/connect-yousign/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  127. package/connectors/connect-yousign/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  128. package/connectors/connect-yousign/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  129. package/connectors/connect-yousign/node_modules/@types/node/web-globals/url.d.ts +0 -24
  130. package/connectors/connect-yousign/node_modules/@types/node/worker_threads.d.ts +0 -717
  131. package/connectors/connect-yousign/node_modules/@types/node/zlib.d.ts +0 -682
  132. package/connectors/connect-yousign/node_modules/bun-types/CLAUDE.md +0 -105
  133. package/connectors/connect-yousign/node_modules/bun-types/README.md +0 -33
  134. package/connectors/connect-yousign/node_modules/bun-types/bun.d.ts +0 -8481
  135. package/connectors/connect-yousign/node_modules/bun-types/bun.ns.d.ts +0 -5
  136. package/connectors/connect-yousign/node_modules/bun-types/bundle.d.ts +0 -74
  137. package/connectors/connect-yousign/node_modules/bun-types/deprecated.d.ts +0 -184
  138. package/connectors/connect-yousign/node_modules/bun-types/devserver.d.ts +0 -187
  139. package/connectors/connect-yousign/node_modules/bun-types/docs/README.md +0 -28
  140. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/bytecode.mdx +0 -447
  141. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/css.mdx +0 -1024
  142. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/esbuild.mdx +0 -304
  143. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/executables.mdx +0 -1318
  144. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/fullstack.mdx +0 -1086
  145. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/hot-reloading.mdx +0 -229
  146. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/html-static.mdx +0 -498
  147. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/index.mdx +0 -1840
  148. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/loaders.mdx +0 -451
  149. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/macros.mdx +0 -328
  150. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/minifier.mdx +0 -1286
  151. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/plugins.mdx +0 -477
  152. package/connectors/connect-yousign/node_modules/bun-types/docs/bundler/standalone-html.mdx +0 -314
  153. package/connectors/connect-yousign/node_modules/bun-types/docs/feedback.mdx +0 -75
  154. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/arraybuffer-to-array.mdx +0 -29
  155. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/arraybuffer-to-blob.mdx +0 -26
  156. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/arraybuffer-to-buffer.mdx +0 -27
  157. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/arraybuffer-to-string.mdx +0 -17
  158. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/arraybuffer-to-typedarray.mdx +0 -41
  159. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/blob-to-arraybuffer.mdx +0 -16
  160. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/blob-to-dataview.mdx +0 -16
  161. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/blob-to-stream.mdx +0 -16
  162. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/blob-to-string.mdx +0 -17
  163. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/blob-to-typedarray.mdx +0 -16
  164. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/buffer-to-arraybuffer.mdx +0 -16
  165. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/buffer-to-blob.mdx +0 -16
  166. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/buffer-to-readablestream.mdx +0 -43
  167. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/buffer-to-string.mdx +0 -27
  168. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/buffer-to-typedarray.mdx +0 -16
  169. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/dataview-to-string.mdx +0 -17
  170. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/typedarray-to-arraybuffer.mdx +0 -27
  171. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/typedarray-to-blob.mdx +0 -18
  172. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/typedarray-to-buffer.mdx +0 -16
  173. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/typedarray-to-dataview.mdx +0 -16
  174. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/typedarray-to-readablestream.mdx +0 -43
  175. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/binary/typedarray-to-string.mdx +0 -18
  176. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/deployment/aws-lambda.mdx +0 -204
  177. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/deployment/digital-ocean.mdx +0 -161
  178. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/deployment/google-cloud-run.mdx +0 -194
  179. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/deployment/railway.mdx +0 -145
  180. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/deployment/render.mdx +0 -82
  181. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/deployment/vercel.mdx +0 -97
  182. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/astro.mdx +0 -82
  183. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/discordjs.mdx +0 -80
  184. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/docker.mdx +0 -151
  185. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/drizzle.mdx +0 -195
  186. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/elysia.mdx +0 -31
  187. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/express.mdx +0 -43
  188. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/gel.mdx +0 -261
  189. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/hono.mdx +0 -47
  190. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/mongoose.mdx +0 -92
  191. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/neon-drizzle.mdx +0 -234
  192. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/neon-serverless-postgres.mdx +0 -60
  193. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/nextjs.mdx +0 -103
  194. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/nuxt.mdx +0 -96
  195. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/pm2.mdx +0 -55
  196. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/prisma-postgres.mdx +0 -169
  197. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/prisma.mdx +0 -164
  198. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/qwik.mdx +0 -114
  199. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/react.mdx +0 -52
  200. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/remix.mdx +0 -97
  201. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/sentry.mdx +0 -54
  202. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/solidstart.mdx +0 -62
  203. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/ssr-react.mdx +0 -49
  204. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/stric.mdx +0 -54
  205. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/sveltekit.mdx +0 -138
  206. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/systemd.mdx +0 -114
  207. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/tanstack-start.mdx +0 -791
  208. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/upstash.mdx +0 -87
  209. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/ecosystem/vite.mdx +0 -77
  210. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/html-rewriter/extract-links.mdx +0 -71
  211. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/html-rewriter/extract-social-meta.mdx +0 -97
  212. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/cluster.mdx +0 -69
  213. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/fetch-unix.mdx +0 -35
  214. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/fetch.mdx +0 -26
  215. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/file-uploads.mdx +0 -97
  216. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/hot.mdx +0 -28
  217. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/proxy.mdx +0 -50
  218. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/server.mdx +0 -48
  219. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/simple.mdx +0 -20
  220. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/stream-file.mdx +0 -50
  221. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/stream-iterator.mdx +0 -49
  222. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/stream-node-streams-in-bun.mdx +0 -22
  223. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/http/tls.mdx +0 -32
  224. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/index.mdx +0 -10
  225. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/add-dev.mdx +0 -28
  226. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/add-git.mdx +0 -40
  227. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/add-optional.mdx +0 -27
  228. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/add-peer.mdx +0 -45
  229. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/add-tarball.mdx +0 -35
  230. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/add.mdx +0 -44
  231. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/azure-artifacts.mdx +0 -76
  232. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/cicd.mdx +0 -43
  233. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/custom-registry.mdx +0 -32
  234. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/from-npm-install-to-bun-install.mdx +0 -230
  235. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/git-diff-bun-lockfile.mdx +0 -48
  236. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/jfrog-artifactory.mdx +0 -28
  237. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/npm-alias.mdx +0 -25
  238. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/registry-scope.mdx +0 -40
  239. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/trusted.mdx +0 -52
  240. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/workspaces.mdx +0 -70
  241. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/install/yarnlock.mdx +0 -51
  242. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/argv.mdx +0 -66
  243. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/ctrl-c.mdx +0 -18
  244. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/ipc.mdx +0 -69
  245. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/nanoseconds.mdx +0 -15
  246. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/os-signals.mdx +0 -31
  247. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/spawn-stderr.mdx +0 -34
  248. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/spawn-stdout.mdx +0 -28
  249. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/spawn.mdx +0 -43
  250. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/process/stdin.mdx +0 -62
  251. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/arraybuffer.mdx +0 -30
  252. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/buffer.mdx +0 -21
  253. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/exists.mdx +0 -18
  254. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/json.mdx +0 -19
  255. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/mime.mdx +0 -22
  256. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/stream.mdx +0 -28
  257. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/string.mdx +0 -24
  258. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/uint8array.mdx +0 -23
  259. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/read-file/watch.mdx +0 -66
  260. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/build-time-constants.mdx +0 -295
  261. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/cicd.mdx +0 -45
  262. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/codesign-macos-executable.mdx +0 -61
  263. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/define-constant.mdx +0 -149
  264. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/delete-directory.mdx +0 -39
  265. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/delete-file.mdx +0 -21
  266. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/heap-snapshot.mdx +0 -28
  267. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/import-html.mdx +0 -15
  268. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/import-json.mdx +0 -46
  269. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/import-json5.mdx +0 -74
  270. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/import-toml.mdx +0 -32
  271. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/import-yaml.mdx +0 -104
  272. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/read-env.mdx +0 -37
  273. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/set-env.mdx +0 -51
  274. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/shell.mdx +0 -42
  275. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/timezone.mdx +0 -38
  276. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/tsconfig-paths.mdx +0 -31
  277. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/typescript.mdx +0 -51
  278. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/vscode-debugger.mdx +0 -47
  279. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/runtime/web-debugger.mdx +0 -103
  280. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/node-readable-to-arraybuffer.mdx +0 -13
  281. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/node-readable-to-blob.mdx +0 -13
  282. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/node-readable-to-json.mdx +0 -14
  283. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/node-readable-to-string.mdx +0 -14
  284. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/node-readable-to-uint8array.mdx +0 -13
  285. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/to-array.mdx +0 -16
  286. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/to-arraybuffer.mdx +0 -16
  287. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/to-blob.mdx +0 -16
  288. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/to-buffer.mdx +0 -17
  289. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/to-json.mdx +0 -16
  290. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/to-string.mdx +0 -16
  291. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/streams/to-typedarray.mdx +0 -24
  292. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/bail.mdx +0 -24
  293. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/concurrent-test-glob.mdx +0 -146
  294. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/coverage-threshold.mdx +0 -67
  295. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/coverage.mdx +0 -49
  296. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/happy-dom.mdx +0 -73
  297. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/migrate-from-jest.mdx +0 -125
  298. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/mock-clock.mdx +0 -50
  299. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/mock-functions.mdx +0 -70
  300. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/rerun-each.mdx +0 -16
  301. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/run-tests.mdx +0 -116
  302. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/skip-tests.mdx +0 -43
  303. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/snapshot.mdx +0 -102
  304. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/spy-on.mdx +0 -49
  305. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/svelte-test.mdx +0 -113
  306. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/testing-library.mdx +0 -93
  307. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/timeout.mdx +0 -17
  308. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/todo-tests.mdx +0 -74
  309. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/update-snapshots.mdx +0 -49
  310. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/test/watch-mode.mdx +0 -24
  311. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/base64.mdx +0 -17
  312. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/deep-equals.mdx +0 -41
  313. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/deflate.mdx +0 -20
  314. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/detect-bun.mdx +0 -28
  315. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/entrypoint.mdx +0 -19
  316. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/escape-html.mdx +0 -24
  317. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/file-url-to-path.mdx +0 -16
  318. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/gzip.mdx +0 -20
  319. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/hash-a-password.mdx +0 -56
  320. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/import-meta-dir.mdx +0 -15
  321. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/import-meta-file.mdx +0 -15
  322. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/import-meta-path.mdx +0 -15
  323. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/javascript-uuid.mdx +0 -25
  324. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/main.mdx +0 -43
  325. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/path-to-file-url.mdx +0 -16
  326. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/sleep.mdx +0 -24
  327. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/upgrade.mdx +0 -93
  328. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/version.mdx +0 -23
  329. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/util/which-path-to-executable-bin.mdx +0 -17
  330. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/websocket/compression.mdx +0 -33
  331. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/websocket/context.mdx +0 -79
  332. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/websocket/pubsub.mdx +0 -43
  333. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/websocket/simple.mdx +0 -38
  334. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/append.mdx +0 -54
  335. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/basic.mdx +0 -46
  336. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/blob.mdx +0 -30
  337. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/cat.mdx +0 -19
  338. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/file-cp.mdx +0 -18
  339. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/filesink.mdx +0 -54
  340. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/response.mdx +0 -19
  341. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/stdout.mdx +0 -23
  342. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/stream.mdx +0 -19
  343. package/connectors/connect-yousign/node_modules/bun-types/docs/guides/write-file/unlink.mdx +0 -18
  344. package/connectors/connect-yousign/node_modules/bun-types/docs/index.mdx +0 -133
  345. package/connectors/connect-yousign/node_modules/bun-types/docs/installation.mdx +0 -372
  346. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/bunx.mdx +0 -91
  347. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/catalogs.mdx +0 -292
  348. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/add.mdx +0 -179
  349. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/audit.mdx +0 -60
  350. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/info.mdx +0 -70
  351. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/install.mdx +0 -591
  352. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/link.mdx +0 -61
  353. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/outdated.mdx +0 -197
  354. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/patch.mdx +0 -69
  355. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/pm.mdx +0 -323
  356. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/publish.mdx +0 -131
  357. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/remove.mdx +0 -16
  358. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/update.mdx +0 -140
  359. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/cli/why.mdx +0 -84
  360. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/filter.mdx +0 -127
  361. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/global-cache.mdx +0 -72
  362. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/isolated-installs.mdx +0 -220
  363. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/lifecycle.mdx +0 -64
  364. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/lockfile.mdx +0 -64
  365. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/npmrc.mdx +0 -245
  366. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/overrides.mdx +0 -83
  367. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/scopes-registries.mdx +0 -35
  368. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/security-scanner-api.mdx +0 -95
  369. package/connectors/connect-yousign/node_modules/bun-types/docs/pm/workspaces.mdx +0 -115
  370. package/connectors/connect-yousign/node_modules/bun-types/docs/project/benchmarking.mdx +0 -296
  371. package/connectors/connect-yousign/node_modules/bun-types/docs/project/bindgen.mdx +0 -223
  372. package/connectors/connect-yousign/node_modules/bun-types/docs/project/building-windows.mdx +0 -143
  373. package/connectors/connect-yousign/node_modules/bun-types/docs/project/contributing.mdx +0 -366
  374. package/connectors/connect-yousign/node_modules/bun-types/docs/project/feedback.mdx +0 -20
  375. package/connectors/connect-yousign/node_modules/bun-types/docs/project/license.mdx +0 -78
  376. package/connectors/connect-yousign/node_modules/bun-types/docs/project/roadmap.mdx +0 -8
  377. package/connectors/connect-yousign/node_modules/bun-types/docs/quickstart.mdx +0 -251
  378. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/archive.mdx +0 -452
  379. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/auto-install.mdx +0 -97
  380. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/binary-data.mdx +0 -846
  381. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/bun-apis.mdx +0 -59
  382. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/bunfig.mdx +0 -754
  383. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/c-compiler.mdx +0 -204
  384. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/child-process.mdx +0 -659
  385. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/color.mdx +0 -267
  386. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/console.mdx +0 -67
  387. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/cookies.mdx +0 -454
  388. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/debugger.mdx +0 -335
  389. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/environment-variables.mdx +0 -231
  390. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/ffi.mdx +0 -567
  391. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/file-io.mdx +0 -306
  392. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/file-system-router.mdx +0 -118
  393. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/file-types.mdx +0 -482
  394. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/glob.mdx +0 -181
  395. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/globals.mdx +0 -72
  396. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/hashing.mdx +0 -315
  397. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/html-rewriter.mdx +0 -333
  398. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/http/cookies.mdx +0 -79
  399. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/http/error-handling.mdx +0 -40
  400. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/http/metrics.mdx +0 -36
  401. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/http/routing.mdx +0 -289
  402. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/http/server.mdx +0 -645
  403. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/http/tls.mdx +0 -101
  404. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/http/websockets.mdx +0 -414
  405. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/index.mdx +0 -223
  406. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/json5.mdx +0 -271
  407. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/jsonl.mdx +0 -188
  408. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/jsx.mdx +0 -115
  409. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/markdown.mdx +0 -344
  410. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/module-resolution.mdx +0 -374
  411. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/networking/dns.mdx +0 -111
  412. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/networking/fetch.mdx +0 -484
  413. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/networking/tcp.mdx +0 -239
  414. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/networking/udp.mdx +0 -180
  415. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/node-api.mdx +0 -19
  416. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/nodejs-compat.mdx +0 -468
  417. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/plugins.mdx +0 -419
  418. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/redis.mdx +0 -583
  419. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/repl.mdx +0 -176
  420. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/s3.mdx +0 -881
  421. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/secrets.mdx +0 -340
  422. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/semver.mdx +0 -57
  423. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/shell.mdx +0 -637
  424. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/sql.mdx +0 -1404
  425. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/sqlite.mdx +0 -721
  426. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/streams.mdx +0 -232
  427. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/templating/create.mdx +0 -269
  428. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/templating/init.mdx +0 -58
  429. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/transpiler.mdx +0 -288
  430. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/typescript.mdx +0 -58
  431. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/utils.mdx +0 -1010
  432. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/watch-mode.mdx +0 -161
  433. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/web-apis.mdx +0 -29
  434. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/workers.mdx +0 -314
  435. package/connectors/connect-yousign/node_modules/bun-types/docs/runtime/yaml.mdx +0 -469
  436. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/add.mdx +0 -166
  437. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/build.mdx +0 -197
  438. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/bunx.mdx +0 -49
  439. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/feedback.mdx +0 -17
  440. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/init.mdx +0 -84
  441. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/install.mdx +0 -173
  442. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/link.mdx +0 -163
  443. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/outdated.mdx +0 -140
  444. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/patch.mdx +0 -171
  445. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/publish.mdx +0 -198
  446. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/remove.mdx +0 -146
  447. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/run.mdx +0 -305
  448. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/test.mdx +0 -105
  449. package/connectors/connect-yousign/node_modules/bun-types/docs/snippets/cli/update.mdx +0 -144
  450. package/connectors/connect-yousign/node_modules/bun-types/docs/test/code-coverage.mdx +0 -409
  451. package/connectors/connect-yousign/node_modules/bun-types/docs/test/configuration.mdx +0 -520
  452. package/connectors/connect-yousign/node_modules/bun-types/docs/test/dates-times.mdx +0 -129
  453. package/connectors/connect-yousign/node_modules/bun-types/docs/test/discovery.mdx +0 -90
  454. package/connectors/connect-yousign/node_modules/bun-types/docs/test/dom.mdx +0 -226
  455. package/connectors/connect-yousign/node_modules/bun-types/docs/test/index.mdx +0 -409
  456. package/connectors/connect-yousign/node_modules/bun-types/docs/test/lifecycle.mdx +0 -366
  457. package/connectors/connect-yousign/node_modules/bun-types/docs/test/mocks.mdx +0 -637
  458. package/connectors/connect-yousign/node_modules/bun-types/docs/test/reporters.mdx +0 -126
  459. package/connectors/connect-yousign/node_modules/bun-types/docs/test/runtime-behavior.mdx +0 -342
  460. package/connectors/connect-yousign/node_modules/bun-types/docs/test/snapshots.mdx +0 -434
  461. package/connectors/connect-yousign/node_modules/bun-types/docs/test/writing-tests.mdx +0 -672
  462. package/connectors/connect-yousign/node_modules/bun-types/docs/typescript.mdx +0 -54
  463. package/connectors/connect-yousign/node_modules/bun-types/extensions.d.ts +0 -40
  464. package/connectors/connect-yousign/node_modules/bun-types/fetch.d.ts +0 -79
  465. package/connectors/connect-yousign/node_modules/bun-types/ffi.d.ts +0 -1154
  466. package/connectors/connect-yousign/node_modules/bun-types/globals.d.ts +0 -2067
  467. package/connectors/connect-yousign/node_modules/bun-types/html-rewriter.d.ts +0 -186
  468. package/connectors/connect-yousign/node_modules/bun-types/index.d.ts +0 -32
  469. package/connectors/connect-yousign/node_modules/bun-types/jsc.d.ts +0 -233
  470. package/connectors/connect-yousign/node_modules/bun-types/jsx.d.ts +0 -11
  471. package/connectors/connect-yousign/node_modules/bun-types/overrides.d.ts +0 -376
  472. package/connectors/connect-yousign/node_modules/bun-types/package.json +0 -37
  473. package/connectors/connect-yousign/node_modules/bun-types/redis.d.ts +0 -3352
  474. package/connectors/connect-yousign/node_modules/bun-types/s3.d.ts +0 -1335
  475. package/connectors/connect-yousign/node_modules/bun-types/security.d.ts +0 -101
  476. package/connectors/connect-yousign/node_modules/bun-types/serve.d.ts +0 -1296
  477. package/connectors/connect-yousign/node_modules/bun-types/shell.d.ts +0 -380
  478. package/connectors/connect-yousign/node_modules/bun-types/sql.d.ts +0 -887
  479. package/connectors/connect-yousign/node_modules/bun-types/sqlite.d.ts +0 -1322
  480. package/connectors/connect-yousign/node_modules/bun-types/test-globals.d.ts +0 -22
  481. package/connectors/connect-yousign/node_modules/bun-types/test.d.ts +0 -2392
  482. package/connectors/connect-yousign/node_modules/bun-types/vendor/expect-type/branding.d.ts +0 -283
  483. package/connectors/connect-yousign/node_modules/bun-types/vendor/expect-type/index.d.ts +0 -1207
  484. package/connectors/connect-yousign/node_modules/bun-types/vendor/expect-type/messages.d.ts +0 -395
  485. package/connectors/connect-yousign/node_modules/bun-types/vendor/expect-type/overloads.d.ts +0 -669
  486. package/connectors/connect-yousign/node_modules/bun-types/vendor/expect-type/utils.d.ts +0 -431
  487. package/connectors/connect-yousign/node_modules/bun-types/wasm.d.ts +0 -193
  488. package/connectors/connect-yousign/node_modules/chalk/license +0 -9
  489. package/connectors/connect-yousign/node_modules/chalk/package.json +0 -83
  490. package/connectors/connect-yousign/node_modules/chalk/readme.md +0 -297
  491. package/connectors/connect-yousign/node_modules/chalk/source/index.d.ts +0 -325
  492. package/connectors/connect-yousign/node_modules/chalk/source/index.js +0 -225
  493. package/connectors/connect-yousign/node_modules/chalk/source/utilities.js +0 -33
  494. package/connectors/connect-yousign/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  495. package/connectors/connect-yousign/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  496. package/connectors/connect-yousign/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  497. package/connectors/connect-yousign/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  498. package/connectors/connect-yousign/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  499. package/connectors/connect-yousign/node_modules/chalk/source/vendor/supports-color/index.js +0 -190
  500. package/connectors/connect-yousign/node_modules/commander/LICENSE +0 -22
  501. package/connectors/connect-yousign/node_modules/commander/Readme.md +0 -1157
  502. package/connectors/connect-yousign/node_modules/commander/esm.mjs +0 -16
  503. package/connectors/connect-yousign/node_modules/commander/index.js +0 -24
  504. package/connectors/connect-yousign/node_modules/commander/lib/argument.js +0 -149
  505. package/connectors/connect-yousign/node_modules/commander/lib/command.js +0 -2509
  506. package/connectors/connect-yousign/node_modules/commander/lib/error.js +0 -39
  507. package/connectors/connect-yousign/node_modules/commander/lib/help.js +0 -520
  508. package/connectors/connect-yousign/node_modules/commander/lib/option.js +0 -330
  509. package/connectors/connect-yousign/node_modules/commander/lib/suggestSimilar.js +0 -101
  510. package/connectors/connect-yousign/node_modules/commander/package-support.json +0 -16
  511. package/connectors/connect-yousign/node_modules/commander/package.json +0 -84
  512. package/connectors/connect-yousign/node_modules/commander/typings/esm.d.mts +0 -3
  513. package/connectors/connect-yousign/node_modules/commander/typings/index.d.ts +0 -969
  514. package/connectors/connect-yousign/node_modules/typescript/LICENSE.txt +0 -55
  515. package/connectors/connect-yousign/node_modules/typescript/README.md +0 -50
  516. package/connectors/connect-yousign/node_modules/typescript/SECURITY.md +0 -41
  517. package/connectors/connect-yousign/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  518. package/connectors/connect-yousign/node_modules/typescript/bin/tsc +0 -2
  519. package/connectors/connect-yousign/node_modules/typescript/bin/tsserver +0 -2
  520. package/connectors/connect-yousign/node_modules/typescript/lib/_tsc.js +0 -133818
  521. package/connectors/connect-yousign/node_modules/typescript/lib/_tsserver.js +0 -659
  522. package/connectors/connect-yousign/node_modules/typescript/lib/_typingsInstaller.js +0 -222
  523. package/connectors/connect-yousign/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -2122
  524. package/connectors/connect-yousign/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -2122
  525. package/connectors/connect-yousign/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -2122
  526. package/connectors/connect-yousign/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -2122
  527. package/connectors/connect-yousign/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -2122
  528. package/connectors/connect-yousign/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -2122
  529. package/connectors/connect-yousign/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -2122
  530. package/connectors/connect-yousign/node_modules/typescript/lib/lib.d.ts +0 -22
  531. package/connectors/connect-yousign/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
  532. package/connectors/connect-yousign/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  533. package/connectors/connect-yousign/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
  534. package/connectors/connect-yousign/node_modules/typescript/lib/lib.dom.d.ts +0 -39429
  535. package/connectors/connect-yousign/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -571
  536. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  537. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  538. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  539. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  540. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
  541. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  542. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  543. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  544. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  545. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  546. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  547. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  548. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  549. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  550. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
  551. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
  552. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  553. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  554. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  555. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  556. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  557. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  558. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  559. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  560. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
  561. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  562. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  563. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  564. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  565. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  566. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  567. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  568. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  569. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  570. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  571. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  572. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  573. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
  574. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  575. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  576. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  577. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  578. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  579. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  580. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
  581. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
  582. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
  583. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  584. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  585. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  586. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  587. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  588. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
  589. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  590. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
  591. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
  592. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  593. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -145
  594. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  595. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  596. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  597. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  598. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  599. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  600. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  601. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  602. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
  603. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
  604. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
  605. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
  606. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
  607. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
  608. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
  609. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
  610. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
  611. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es5.d.ts +0 -4601
  612. package/connectors/connect-yousign/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  613. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  614. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
  615. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.d.ts +0 -29
  616. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  617. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
  618. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -24
  619. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -445
  620. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  621. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  622. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
  623. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
  624. package/connectors/connect-yousign/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -25
  625. package/connectors/connect-yousign/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  626. package/connectors/connect-yousign/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
  627. package/connectors/connect-yousign/node_modules/typescript/lib/lib.webworker.d.ts +0 -13150
  628. package/connectors/connect-yousign/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  629. package/connectors/connect-yousign/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -340
  630. package/connectors/connect-yousign/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -2122
  631. package/connectors/connect-yousign/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -2122
  632. package/connectors/connect-yousign/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -2122
  633. package/connectors/connect-yousign/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -2122
  634. package/connectors/connect-yousign/node_modules/typescript/lib/tsc.js +0 -8
  635. package/connectors/connect-yousign/node_modules/typescript/lib/tsserver.js +0 -8
  636. package/connectors/connect-yousign/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  637. package/connectors/connect-yousign/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  638. package/connectors/connect-yousign/node_modules/typescript/lib/typesMap.json +0 -497
  639. package/connectors/connect-yousign/node_modules/typescript/lib/typescript.d.ts +0 -11437
  640. package/connectors/connect-yousign/node_modules/typescript/lib/typescript.js +0 -200276
  641. package/connectors/connect-yousign/node_modules/typescript/lib/typingsInstaller.js +0 -8
  642. package/connectors/connect-yousign/node_modules/typescript/lib/watchGuard.js +0 -53
  643. package/connectors/connect-yousign/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -2122
  644. package/connectors/connect-yousign/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -2122
  645. package/connectors/connect-yousign/node_modules/typescript/package.json +0 -120
  646. package/connectors/connect-yousign/node_modules/undici-types/LICENSE +0 -21
  647. package/connectors/connect-yousign/node_modules/undici-types/README.md +0 -6
  648. package/connectors/connect-yousign/node_modules/undici-types/agent.d.ts +0 -32
  649. package/connectors/connect-yousign/node_modules/undici-types/api.d.ts +0 -43
  650. package/connectors/connect-yousign/node_modules/undici-types/balanced-pool.d.ts +0 -30
  651. package/connectors/connect-yousign/node_modules/undici-types/cache-interceptor.d.ts +0 -173
  652. package/connectors/connect-yousign/node_modules/undici-types/cache.d.ts +0 -36
  653. package/connectors/connect-yousign/node_modules/undici-types/client-stats.d.ts +0 -15
  654. package/connectors/connect-yousign/node_modules/undici-types/client.d.ts +0 -108
  655. package/connectors/connect-yousign/node_modules/undici-types/connector.d.ts +0 -34
  656. package/connectors/connect-yousign/node_modules/undici-types/content-type.d.ts +0 -21
  657. package/connectors/connect-yousign/node_modules/undici-types/cookies.d.ts +0 -30
  658. package/connectors/connect-yousign/node_modules/undici-types/diagnostics-channel.d.ts +0 -74
  659. package/connectors/connect-yousign/node_modules/undici-types/dispatcher.d.ts +0 -276
  660. package/connectors/connect-yousign/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -22
  661. package/connectors/connect-yousign/node_modules/undici-types/errors.d.ts +0 -161
  662. package/connectors/connect-yousign/node_modules/undici-types/eventsource.d.ts +0 -66
  663. package/connectors/connect-yousign/node_modules/undici-types/fetch.d.ts +0 -211
  664. package/connectors/connect-yousign/node_modules/undici-types/formdata.d.ts +0 -108
  665. package/connectors/connect-yousign/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  666. package/connectors/connect-yousign/node_modules/undici-types/global-origin.d.ts +0 -7
  667. package/connectors/connect-yousign/node_modules/undici-types/h2c-client.d.ts +0 -73
  668. package/connectors/connect-yousign/node_modules/undici-types/handlers.d.ts +0 -15
  669. package/connectors/connect-yousign/node_modules/undici-types/header.d.ts +0 -160
  670. package/connectors/connect-yousign/node_modules/undici-types/index.d.ts +0 -88
  671. package/connectors/connect-yousign/node_modules/undici-types/interceptors.d.ts +0 -73
  672. package/connectors/connect-yousign/node_modules/undici-types/mock-agent.d.ts +0 -68
  673. package/connectors/connect-yousign/node_modules/undici-types/mock-call-history.d.ts +0 -111
  674. package/connectors/connect-yousign/node_modules/undici-types/mock-client.d.ts +0 -27
  675. package/connectors/connect-yousign/node_modules/undici-types/mock-errors.d.ts +0 -12
  676. package/connectors/connect-yousign/node_modules/undici-types/mock-interceptor.d.ts +0 -94
  677. package/connectors/connect-yousign/node_modules/undici-types/mock-pool.d.ts +0 -27
  678. package/connectors/connect-yousign/node_modules/undici-types/package.json +0 -55
  679. package/connectors/connect-yousign/node_modules/undici-types/patch.d.ts +0 -29
  680. package/connectors/connect-yousign/node_modules/undici-types/pool-stats.d.ts +0 -19
  681. package/connectors/connect-yousign/node_modules/undici-types/pool.d.ts +0 -41
  682. package/connectors/connect-yousign/node_modules/undici-types/proxy-agent.d.ts +0 -29
  683. package/connectors/connect-yousign/node_modules/undici-types/readable.d.ts +0 -68
  684. package/connectors/connect-yousign/node_modules/undici-types/retry-agent.d.ts +0 -8
  685. package/connectors/connect-yousign/node_modules/undici-types/retry-handler.d.ts +0 -125
  686. package/connectors/connect-yousign/node_modules/undici-types/round-robin-pool.d.ts +0 -41
  687. package/connectors/connect-yousign/node_modules/undici-types/snapshot-agent.d.ts +0 -109
  688. package/connectors/connect-yousign/node_modules/undici-types/util.d.ts +0 -18
  689. package/connectors/connect-yousign/node_modules/undici-types/utility.d.ts +0 -7
  690. package/connectors/connect-yousign/node_modules/undici-types/webidl.d.ts +0 -341
  691. package/connectors/connect-yousign/node_modules/undici-types/websocket.d.ts +0 -186
  692. package/dashboard/dist/assets/index-CSlS3oNV.css +0 -1
  693. package/dashboard/dist/assets/index-NCasN7x4.js +0 -284
  694. /package/dist/{server/server.test.d.ts → core/builtins.test.d.ts} +0 -0
@@ -1,1433 +0,0 @@
1
- /**
2
- * The `node:child_process` module provides the ability to spawn subprocesses in
3
- * a manner that is similar, but not identical, to [`popen(3)`](http://man7.org/linux/man-pages/man3/popen.3.html). This capability
4
- * is primarily provided by the {@link spawn} function:
5
- *
6
- * ```js
7
- * import { spawn } from 'node:child_process';
8
- * import { once } from 'node:events';
9
- * const ls = spawn('ls', ['-lh', '/usr']);
10
- *
11
- * ls.stdout.on('data', (data) => {
12
- * console.log(`stdout: ${data}`);
13
- * });
14
- *
15
- * ls.stderr.on('data', (data) => {
16
- * console.error(`stderr: ${data}`);
17
- * });
18
- *
19
- * const [code] = await once(ls, 'close');
20
- * console.log(`child process exited with code ${code}`);
21
- * ```
22
- *
23
- * By default, pipes for `stdin`, `stdout`, and `stderr` are established between
24
- * the parent Node.js process and the spawned subprocess. These pipes have
25
- * limited (and platform-specific) capacity. If the subprocess writes to
26
- * stdout in excess of that limit without the output being captured, the
27
- * subprocess blocks, waiting for the pipe buffer to accept more data. This is
28
- * identical to the behavior of pipes in the shell. Use the `{ stdio: 'ignore' }` option if the output will not be consumed.
29
- *
30
- * The command lookup is performed using the `options.env.PATH` environment
31
- * variable if `env` is in the `options` object. Otherwise, `process.env.PATH` is
32
- * used. If `options.env` is set without `PATH`, lookup on Unix is performed
33
- * on a default search path search of `/usr/bin:/bin` (see your operating system's
34
- * manual for execvpe/execvp), on Windows the current processes environment
35
- * variable `PATH` is used.
36
- *
37
- * On Windows, environment variables are case-insensitive. Node.js
38
- * lexicographically sorts the `env` keys and uses the first one that
39
- * case-insensitively matches. Only first (in lexicographic order) entry will be
40
- * passed to the subprocess. This might lead to issues on Windows when passing
41
- * objects to the `env` option that have multiple variants of the same key, such as `PATH` and `Path`.
42
- *
43
- * The {@link spawn} method spawns the child process asynchronously,
44
- * without blocking the Node.js event loop. The {@link spawnSync} function provides equivalent functionality in a synchronous manner that blocks
45
- * the event loop until the spawned process either exits or is terminated.
46
- *
47
- * For convenience, the `node:child_process` module provides a handful of
48
- * synchronous and asynchronous alternatives to {@link spawn} and {@link spawnSync}. Each of these alternatives are implemented on
49
- * top of {@link spawn} or {@link spawnSync}.
50
- *
51
- * * {@link exec}: spawns a shell and runs a command within that
52
- * shell, passing the `stdout` and `stderr` to a callback function when
53
- * complete.
54
- * * {@link execFile}: similar to {@link exec} except
55
- * that it spawns the command directly without first spawning a shell by
56
- * default.
57
- * * {@link fork}: spawns a new Node.js process and invokes a
58
- * specified module with an IPC communication channel established that allows
59
- * sending messages between parent and child.
60
- * * {@link execSync}: a synchronous version of {@link exec} that will block the Node.js event loop.
61
- * * {@link execFileSync}: a synchronous version of {@link execFile} that will block the Node.js event loop.
62
- *
63
- * For certain use cases, such as automating shell scripts, the `synchronous counterparts` may be more convenient. In many cases, however,
64
- * the synchronous methods can have significant impact on performance due to
65
- * stalling the event loop while spawned processes complete.
66
- * @see [source](https://github.com/nodejs/node/blob/v25.x/lib/child_process.js)
67
- */
68
- declare module "node:child_process" {
69
- import { NonSharedBuffer } from "node:buffer";
70
- import * as dgram from "node:dgram";
71
- import { Abortable, EventEmitter, InternalEventEmitter } from "node:events";
72
- import * as net from "node:net";
73
- import { Readable, Stream, Writable } from "node:stream";
74
- import { URL } from "node:url";
75
- type Serializable = string | object | number | boolean | bigint;
76
- type SendHandle = net.Socket | net.Server | dgram.Socket | undefined;
77
- interface ChildProcessEventMap {
78
- "close": [code: number | null, signal: NodeJS.Signals | null];
79
- "disconnect": [];
80
- "error": [err: Error];
81
- "exit": [code: number | null, signal: NodeJS.Signals | null];
82
- "message": [message: Serializable, sendHandle: SendHandle];
83
- "spawn": [];
84
- }
85
- /**
86
- * Instances of the `ChildProcess` represent spawned child processes.
87
- *
88
- * Instances of `ChildProcess` are not intended to be created directly. Rather,
89
- * use the {@link spawn}, {@link exec},{@link execFile}, or {@link fork} methods to create
90
- * instances of `ChildProcess`.
91
- * @since v2.2.0
92
- */
93
- class ChildProcess implements EventEmitter {
94
- /**
95
- * A `Writable Stream` that represents the child process's `stdin`.
96
- *
97
- * If a child process waits to read all of its input, the child will not continue
98
- * until this stream has been closed via `end()`.
99
- *
100
- * If the child was spawned with `stdio[0]` set to anything other than `'pipe'`,
101
- * then this will be `null`.
102
- *
103
- * `subprocess.stdin` is an alias for `subprocess.stdio[0]`. Both properties will
104
- * refer to the same value.
105
- *
106
- * The `subprocess.stdin` property can be `null` or `undefined` if the child process could not be successfully spawned.
107
- * @since v0.1.90
108
- */
109
- stdin: Writable | null;
110
- /**
111
- * A `Readable Stream` that represents the child process's `stdout`.
112
- *
113
- * If the child was spawned with `stdio[1]` set to anything other than `'pipe'`,
114
- * then this will be `null`.
115
- *
116
- * `subprocess.stdout` is an alias for `subprocess.stdio[1]`. Both properties will
117
- * refer to the same value.
118
- *
119
- * ```js
120
- * import { spawn } from 'node:child_process';
121
- *
122
- * const subprocess = spawn('ls');
123
- *
124
- * subprocess.stdout.on('data', (data) => {
125
- * console.log(`Received chunk ${data}`);
126
- * });
127
- * ```
128
- *
129
- * The `subprocess.stdout` property can be `null` or `undefined` if the child process could not be successfully spawned.
130
- * @since v0.1.90
131
- */
132
- stdout: Readable | null;
133
- /**
134
- * A `Readable Stream` that represents the child process's `stderr`.
135
- *
136
- * If the child was spawned with `stdio[2]` set to anything other than `'pipe'`,
137
- * then this will be `null`.
138
- *
139
- * `subprocess.stderr` is an alias for `subprocess.stdio[2]`. Both properties will
140
- * refer to the same value.
141
- *
142
- * The `subprocess.stderr` property can be `null` or `undefined` if the child process could not be successfully spawned.
143
- * @since v0.1.90
144
- */
145
- stderr: Readable | null;
146
- /**
147
- * The `subprocess.channel` property is a reference to the child's IPC channel. If
148
- * no IPC channel exists, this property is `undefined`.
149
- * @since v7.1.0
150
- */
151
- readonly channel?: Control | null;
152
- /**
153
- * A sparse array of pipes to the child process, corresponding with positions in
154
- * the `stdio` option passed to {@link spawn} that have been set
155
- * to the value `'pipe'`. `subprocess.stdio[0]`, `subprocess.stdio[1]`, and `subprocess.stdio[2]` are also available as `subprocess.stdin`, `subprocess.stdout`, and `subprocess.stderr`,
156
- * respectively.
157
- *
158
- * In the following example, only the child's fd `1` (stdout) is configured as a
159
- * pipe, so only the parent's `subprocess.stdio[1]` is a stream, all other values
160
- * in the array are `null`.
161
- *
162
- * ```js
163
- * import assert from 'node:assert';
164
- * import fs from 'node:fs';
165
- * import child_process from 'node:child_process';
166
- *
167
- * const subprocess = child_process.spawn('ls', {
168
- * stdio: [
169
- * 0, // Use parent's stdin for child.
170
- * 'pipe', // Pipe child's stdout to parent.
171
- * fs.openSync('err.out', 'w'), // Direct child's stderr to a file.
172
- * ],
173
- * });
174
- *
175
- * assert.strictEqual(subprocess.stdio[0], null);
176
- * assert.strictEqual(subprocess.stdio[0], subprocess.stdin);
177
- *
178
- * assert(subprocess.stdout);
179
- * assert.strictEqual(subprocess.stdio[1], subprocess.stdout);
180
- *
181
- * assert.strictEqual(subprocess.stdio[2], null);
182
- * assert.strictEqual(subprocess.stdio[2], subprocess.stderr);
183
- * ```
184
- *
185
- * The `subprocess.stdio` property can be `undefined` if the child process could
186
- * not be successfully spawned.
187
- * @since v0.7.10
188
- */
189
- readonly stdio: [
190
- Writable | null,
191
- // stdin
192
- Readable | null,
193
- // stdout
194
- Readable | null,
195
- // stderr
196
- Readable | Writable | null | undefined,
197
- // extra
198
- Readable | Writable | null | undefined, // extra
199
- ];
200
- /**
201
- * The `subprocess.killed` property indicates whether the child process
202
- * successfully received a signal from `subprocess.kill()`. The `killed` property
203
- * does not indicate that the child process has been terminated.
204
- * @since v0.5.10
205
- */
206
- readonly killed: boolean;
207
- /**
208
- * Returns the process identifier (PID) of the child process. If the child process
209
- * fails to spawn due to errors, then the value is `undefined` and `error` is
210
- * emitted.
211
- *
212
- * ```js
213
- * import { spawn } from 'node:child_process';
214
- * const grep = spawn('grep', ['ssh']);
215
- *
216
- * console.log(`Spawned child pid: ${grep.pid}`);
217
- * grep.stdin.end();
218
- * ```
219
- * @since v0.1.90
220
- */
221
- readonly pid?: number | undefined;
222
- /**
223
- * The `subprocess.connected` property indicates whether it is still possible to
224
- * send and receive messages from a child process. When `subprocess.connected` is `false`, it is no longer possible to send or receive messages.
225
- * @since v0.7.2
226
- */
227
- readonly connected: boolean;
228
- /**
229
- * The `subprocess.exitCode` property indicates the exit code of the child process.
230
- * If the child process is still running, the field will be `null`.
231
- *
232
- * When the child process is terminated by a signal, `subprocess.exitCode` will be
233
- * `null` and `subprocess.signalCode` will be set. To get the corresponding
234
- * POSIX exit code, use
235
- * `util.convertProcessSignalToExitCode(subprocess.signalCode)`.
236
- */
237
- readonly exitCode: number | null;
238
- /**
239
- * The `subprocess.signalCode` property indicates the signal received by
240
- * the child process if any, else `null`.
241
- */
242
- readonly signalCode: NodeJS.Signals | null;
243
- /**
244
- * The `subprocess.spawnargs` property represents the full list of command-line
245
- * arguments the child process was launched with.
246
- */
247
- readonly spawnargs: string[];
248
- /**
249
- * The `subprocess.spawnfile` property indicates the executable file name of
250
- * the child process that is launched.
251
- *
252
- * For {@link fork}, its value will be equal to `process.execPath`.
253
- * For {@link spawn}, its value will be the name of
254
- * the executable file.
255
- * For {@link exec}, its value will be the name of the shell
256
- * in which the child process is launched.
257
- */
258
- readonly spawnfile: string;
259
- /**
260
- * The `subprocess.kill()` method sends a signal to the child process. If no
261
- * argument is given, the process will be sent the `'SIGTERM'` signal. See [`signal(7)`](http://man7.org/linux/man-pages/man7/signal.7.html) for a list of available signals. This function
262
- * returns `true` if [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) succeeds, and `false` otherwise.
263
- *
264
- * ```js
265
- * import { spawn } from 'node:child_process';
266
- * const grep = spawn('grep', ['ssh']);
267
- *
268
- * grep.on('close', (code, signal) => {
269
- * console.log(
270
- * `child process terminated due to receipt of signal ${signal}`);
271
- * });
272
- *
273
- * // Send SIGHUP to process.
274
- * grep.kill('SIGHUP');
275
- * ```
276
- *
277
- * The `ChildProcess` object may emit an `'error'` event if the signal
278
- * cannot be delivered. Sending a signal to a child process that has already exited
279
- * is not an error but may have unforeseen consequences. Specifically, if the
280
- * process identifier (PID) has been reassigned to another process, the signal will
281
- * be delivered to that process instead which can have unexpected results.
282
- *
283
- * While the function is called `kill`, the signal delivered to the child process
284
- * may not actually terminate the process.
285
- *
286
- * See [`kill(2)`](http://man7.org/linux/man-pages/man2/kill.2.html) for reference.
287
- *
288
- * On Windows, where POSIX signals do not exist, the `signal` argument will be
289
- * ignored, and the process will be killed forcefully and abruptly (similar to `'SIGKILL'`).
290
- * See `Signal Events` for more details.
291
- *
292
- * On Linux, child processes of child processes will not be terminated
293
- * when attempting to kill their parent. This is likely to happen when running a
294
- * new process in a shell or with the use of the `shell` option of `ChildProcess`:
295
- *
296
- * ```js
297
- * 'use strict';
298
- * import { spawn } from 'node:child_process';
299
- *
300
- * const subprocess = spawn(
301
- * 'sh',
302
- * [
303
- * '-c',
304
- * `node -e "setInterval(() => {
305
- * console.log(process.pid, 'is alive')
306
- * }, 500);"`,
307
- * ], {
308
- * stdio: ['inherit', 'inherit', 'inherit'],
309
- * },
310
- * );
311
- *
312
- * setTimeout(() => {
313
- * subprocess.kill(); // Does not terminate the Node.js process in the shell.
314
- * }, 2000);
315
- * ```
316
- * @since v0.1.90
317
- */
318
- kill(signal?: NodeJS.Signals | number): boolean;
319
- /**
320
- * Calls {@link ChildProcess.kill} with `'SIGTERM'`.
321
- * @since v20.5.0
322
- */
323
- [Symbol.dispose](): void;
324
- /**
325
- * When an IPC channel has been established between the parent and child (
326
- * i.e. when using {@link fork}), the `subprocess.send()` method can
327
- * be used to send messages to the child process. When the child process is a
328
- * Node.js instance, these messages can be received via the `'message'` event.
329
- *
330
- * The message goes through serialization and parsing. The resulting
331
- * message might not be the same as what is originally sent.
332
- *
333
- * For example, in the parent script:
334
- *
335
- * ```js
336
- * import cp from 'node:child_process';
337
- * const n = cp.fork(`${__dirname}/sub.js`);
338
- *
339
- * n.on('message', (m) => {
340
- * console.log('PARENT got message:', m);
341
- * });
342
- *
343
- * // Causes the child to print: CHILD got message: { hello: 'world' }
344
- * n.send({ hello: 'world' });
345
- * ```
346
- *
347
- * And then the child script, `'sub.js'` might look like this:
348
- *
349
- * ```js
350
- * process.on('message', (m) => {
351
- * console.log('CHILD got message:', m);
352
- * });
353
- *
354
- * // Causes the parent to print: PARENT got message: { foo: 'bar', baz: null }
355
- * process.send({ foo: 'bar', baz: NaN });
356
- * ```
357
- *
358
- * Child Node.js processes will have a `process.send()` method of their own
359
- * that allows the child to send messages back to the parent.
360
- *
361
- * There is a special case when sending a `{cmd: 'NODE_foo'}` message. Messages
362
- * containing a `NODE_` prefix in the `cmd` property are reserved for use within
363
- * Node.js core and will not be emitted in the child's `'message'` event. Rather, such messages are emitted using the `'internalMessage'` event and are consumed internally by Node.js.
364
- * Applications should avoid using such messages or listening for `'internalMessage'` events as it is subject to change without notice.
365
- *
366
- * The optional `sendHandle` argument that may be passed to `subprocess.send()` is
367
- * for passing a TCP server or socket object to the child process. The child will
368
- * receive the object as the second argument passed to the callback function
369
- * registered on the `'message'` event. Any data that is received and buffered in
370
- * the socket will not be sent to the child. Sending IPC sockets is not supported on Windows.
371
- *
372
- * The optional `callback` is a function that is invoked after the message is
373
- * sent but before the child may have received it. The function is called with a
374
- * single argument: `null` on success, or an `Error` object on failure.
375
- *
376
- * If no `callback` function is provided and the message cannot be sent, an `'error'` event will be emitted by the `ChildProcess` object. This can
377
- * happen, for instance, when the child process has already exited.
378
- *
379
- * `subprocess.send()` will return `false` if the channel has closed or when the
380
- * backlog of unsent messages exceeds a threshold that makes it unwise to send
381
- * more. Otherwise, the method returns `true`. The `callback` function can be
382
- * used to implement flow control.
383
- *
384
- * #### Example: sending a server object
385
- *
386
- * The `sendHandle` argument can be used, for instance, to pass the handle of
387
- * a TCP server object to the child process as illustrated in the example below:
388
- *
389
- * ```js
390
- * import { createServer } from 'node:net';
391
- * import { fork } from 'node:child_process';
392
- * const subprocess = fork('subprocess.js');
393
- *
394
- * // Open up the server object and send the handle.
395
- * const server = createServer();
396
- * server.on('connection', (socket) => {
397
- * socket.end('handled by parent');
398
- * });
399
- * server.listen(1337, () => {
400
- * subprocess.send('server', server);
401
- * });
402
- * ```
403
- *
404
- * The child would then receive the server object as:
405
- *
406
- * ```js
407
- * process.on('message', (m, server) => {
408
- * if (m === 'server') {
409
- * server.on('connection', (socket) => {
410
- * socket.end('handled by child');
411
- * });
412
- * }
413
- * });
414
- * ```
415
- *
416
- * Once the server is now shared between the parent and child, some connections
417
- * can be handled by the parent and some by the child.
418
- *
419
- * While the example above uses a server created using the `node:net` module, `node:dgram` module servers use exactly the same workflow with the exceptions of
420
- * listening on a `'message'` event instead of `'connection'` and using `server.bind()` instead of `server.listen()`. This is, however, only
421
- * supported on Unix platforms.
422
- *
423
- * #### Example: sending a socket object
424
- *
425
- * Similarly, the `sendHandler` argument can be used to pass the handle of a
426
- * socket to the child process. The example below spawns two children that each
427
- * handle connections with "normal" or "special" priority:
428
- *
429
- * ```js
430
- * import { createServer } from 'node:net';
431
- * import { fork } from 'node:child_process';
432
- * const normal = fork('subprocess.js', ['normal']);
433
- * const special = fork('subprocess.js', ['special']);
434
- *
435
- * // Open up the server and send sockets to child. Use pauseOnConnect to prevent
436
- * // the sockets from being read before they are sent to the child process.
437
- * const server = createServer({ pauseOnConnect: true });
438
- * server.on('connection', (socket) => {
439
- *
440
- * // If this is special priority...
441
- * if (socket.remoteAddress === '74.125.127.100') {
442
- * special.send('socket', socket);
443
- * return;
444
- * }
445
- * // This is normal priority.
446
- * normal.send('socket', socket);
447
- * });
448
- * server.listen(1337);
449
- * ```
450
- *
451
- * The `subprocess.js` would receive the socket handle as the second argument
452
- * passed to the event callback function:
453
- *
454
- * ```js
455
- * process.on('message', (m, socket) => {
456
- * if (m === 'socket') {
457
- * if (socket) {
458
- * // Check that the client socket exists.
459
- * // It is possible for the socket to be closed between the time it is
460
- * // sent and the time it is received in the child process.
461
- * socket.end(`Request handled with ${process.argv[2]} priority`);
462
- * }
463
- * }
464
- * });
465
- * ```
466
- *
467
- * Do not use `.maxConnections` on a socket that has been passed to a subprocess.
468
- * The parent cannot track when the socket is destroyed.
469
- *
470
- * Any `'message'` handlers in the subprocess should verify that `socket` exists,
471
- * as the connection may have been closed during the time it takes to send the
472
- * connection to the child.
473
- * @since v0.5.9
474
- * @param sendHandle `undefined`, or a [`net.Socket`](https://nodejs.org/docs/latest-v25.x/api/net.html#class-netsocket), [`net.Server`](https://nodejs.org/docs/latest-v25.x/api/net.html#class-netserver), or [`dgram.Socket`](https://nodejs.org/docs/latest-v25.x/api/dgram.html#class-dgramsocket) object.
475
- * @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles. `options` supports the following properties:
476
- */
477
- send(message: Serializable, callback?: (error: Error | null) => void): boolean;
478
- send(message: Serializable, sendHandle?: SendHandle, callback?: (error: Error | null) => void): boolean;
479
- send(
480
- message: Serializable,
481
- sendHandle?: SendHandle,
482
- options?: MessageOptions,
483
- callback?: (error: Error | null) => void,
484
- ): boolean;
485
- /**
486
- * Closes the IPC channel between parent and child, allowing the child to exit
487
- * gracefully once there are no other connections keeping it alive. After calling
488
- * this method the `subprocess.connected` and `process.connected` properties in
489
- * both the parent and child (respectively) will be set to `false`, and it will be
490
- * no longer possible to pass messages between the processes.
491
- *
492
- * The `'disconnect'` event will be emitted when there are no messages in the
493
- * process of being received. This will most often be triggered immediately after
494
- * calling `subprocess.disconnect()`.
495
- *
496
- * When the child process is a Node.js instance (e.g. spawned using {@link fork}), the `process.disconnect()` method can be invoked
497
- * within the child process to close the IPC channel as well.
498
- * @since v0.7.2
499
- */
500
- disconnect(): void;
501
- /**
502
- * By default, the parent will wait for the detached child to exit. To prevent the
503
- * parent from waiting for a given `subprocess` to exit, use the `subprocess.unref()` method. Doing so will cause the parent's event loop to not
504
- * include the child in its reference count, allowing the parent to exit
505
- * independently of the child, unless there is an established IPC channel between
506
- * the child and the parent.
507
- *
508
- * ```js
509
- * import { spawn } from 'node:child_process';
510
- *
511
- * const subprocess = spawn(process.argv[0], ['child_program.js'], {
512
- * detached: true,
513
- * stdio: 'ignore',
514
- * });
515
- *
516
- * subprocess.unref();
517
- * ```
518
- * @since v0.7.10
519
- */
520
- unref(): void;
521
- /**
522
- * Calling `subprocess.ref()` after making a call to `subprocess.unref()` will
523
- * restore the removed reference count for the child process, forcing the parent
524
- * to wait for the child to exit before exiting itself.
525
- *
526
- * ```js
527
- * import { spawn } from 'node:child_process';
528
- *
529
- * const subprocess = spawn(process.argv[0], ['child_program.js'], {
530
- * detached: true,
531
- * stdio: 'ignore',
532
- * });
533
- *
534
- * subprocess.unref();
535
- * subprocess.ref();
536
- * ```
537
- * @since v0.7.10
538
- */
539
- ref(): void;
540
- }
541
- interface ChildProcess extends InternalEventEmitter<ChildProcessEventMap> {}
542
- // return this object when stdio option is undefined or not specified
543
- interface ChildProcessWithoutNullStreams extends ChildProcess {
544
- stdin: Writable;
545
- stdout: Readable;
546
- stderr: Readable;
547
- readonly stdio: [
548
- Writable,
549
- Readable,
550
- Readable,
551
- // stderr
552
- Readable | Writable | null | undefined,
553
- // extra, no modification
554
- Readable | Writable | null | undefined, // extra, no modification
555
- ];
556
- }
557
- // return this object when stdio option is a tuple of 3
558
- interface ChildProcessByStdio<I extends null | Writable, O extends null | Readable, E extends null | Readable>
559
- extends ChildProcess
560
- {
561
- stdin: I;
562
- stdout: O;
563
- stderr: E;
564
- readonly stdio: [
565
- I,
566
- O,
567
- E,
568
- Readable | Writable | null | undefined,
569
- // extra, no modification
570
- Readable | Writable | null | undefined, // extra, no modification
571
- ];
572
- }
573
- interface Control extends EventEmitter {
574
- ref(): void;
575
- unref(): void;
576
- }
577
- interface MessageOptions {
578
- keepOpen?: boolean | undefined;
579
- }
580
- type IOType = "overlapped" | "pipe" | "ignore" | "inherit";
581
- type StdioOptions = IOType | Array<IOType | "ipc" | Stream | number | null | undefined>;
582
- type SerializationType = "json" | "advanced";
583
- interface MessagingOptions extends Abortable {
584
- /**
585
- * Specify the kind of serialization used for sending messages between processes.
586
- * @default 'json'
587
- */
588
- serialization?: SerializationType | undefined;
589
- /**
590
- * The signal value to be used when the spawned process will be killed by the abort signal.
591
- * @default 'SIGTERM'
592
- */
593
- killSignal?: NodeJS.Signals | number | undefined;
594
- /**
595
- * In milliseconds the maximum amount of time the process is allowed to run.
596
- */
597
- timeout?: number | undefined;
598
- }
599
- interface ProcessEnvOptions {
600
- uid?: number | undefined;
601
- gid?: number | undefined;
602
- cwd?: string | URL | undefined;
603
- env?: NodeJS.ProcessEnv | undefined;
604
- }
605
- interface CommonOptions extends ProcessEnvOptions {
606
- /**
607
- * @default false
608
- */
609
- windowsHide?: boolean | undefined;
610
- /**
611
- * @default 0
612
- */
613
- timeout?: number | undefined;
614
- }
615
- interface CommonSpawnOptions extends CommonOptions, MessagingOptions, Abortable {
616
- argv0?: string | undefined;
617
- /**
618
- * Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
619
- * If passed as an array, the first element is used for `stdin`, the second for
620
- * `stdout`, and the third for `stderr`. A fourth element can be used to
621
- * specify the `stdio` behavior beyond the standard streams. See
622
- * {@link ChildProcess.stdio} for more information.
623
- *
624
- * @default 'pipe'
625
- */
626
- stdio?: StdioOptions | undefined;
627
- shell?: boolean | string | undefined;
628
- windowsVerbatimArguments?: boolean | undefined;
629
- }
630
- interface SpawnOptions extends CommonSpawnOptions {
631
- detached?: boolean | undefined;
632
- }
633
- interface SpawnOptionsWithoutStdio extends SpawnOptions {
634
- stdio?: StdioPipeNamed | StdioPipe[] | undefined;
635
- }
636
- type StdioNull = "inherit" | "ignore" | Stream;
637
- type StdioPipeNamed = "pipe" | "overlapped";
638
- type StdioPipe = undefined | null | StdioPipeNamed;
639
- interface SpawnOptionsWithStdioTuple<
640
- Stdin extends StdioNull | StdioPipe,
641
- Stdout extends StdioNull | StdioPipe,
642
- Stderr extends StdioNull | StdioPipe,
643
- > extends SpawnOptions {
644
- stdio: [Stdin, Stdout, Stderr];
645
- }
646
- /**
647
- * The `child_process.spawn()` method spawns a new process using the given `command`, with command-line arguments in `args`. If omitted, `args` defaults
648
- * to an empty array.
649
- *
650
- * **If the `shell` option is enabled, do not pass unsanitized user input to this**
651
- * **function. Any input containing shell metacharacters may be used to trigger**
652
- * **arbitrary command execution.**
653
- *
654
- * A third argument may be used to specify additional options, with these defaults:
655
- *
656
- * ```js
657
- * const defaults = {
658
- * cwd: undefined,
659
- * env: process.env,
660
- * };
661
- * ```
662
- *
663
- * Use `cwd` to specify the working directory from which the process is spawned.
664
- * If not given, the default is to inherit the current working directory. If given,
665
- * but the path does not exist, the child process emits an `ENOENT` error
666
- * and exits immediately. `ENOENT` is also emitted when the command
667
- * does not exist.
668
- *
669
- * Use `env` to specify environment variables that will be visible to the new
670
- * process, the default is `process.env`.
671
- *
672
- * `undefined` values in `env` will be ignored.
673
- *
674
- * Example of running `ls -lh /usr`, capturing `stdout`, `stderr`, and the
675
- * exit code:
676
- *
677
- * ```js
678
- * import { spawn } from 'node:child_process';
679
- * import { once } from 'node:events';
680
- * const ls = spawn('ls', ['-lh', '/usr']);
681
- *
682
- * ls.stdout.on('data', (data) => {
683
- * console.log(`stdout: ${data}`);
684
- * });
685
- *
686
- * ls.stderr.on('data', (data) => {
687
- * console.error(`stderr: ${data}`);
688
- * });
689
- *
690
- * const [code] = await once(ls, 'close');
691
- * console.log(`child process exited with code ${code}`);
692
- * ```
693
- *
694
- * Example: A very elaborate way to run `ps ax | grep ssh`
695
- *
696
- * ```js
697
- * import { spawn } from 'node:child_process';
698
- * const ps = spawn('ps', ['ax']);
699
- * const grep = spawn('grep', ['ssh']);
700
- *
701
- * ps.stdout.on('data', (data) => {
702
- * grep.stdin.write(data);
703
- * });
704
- *
705
- * ps.stderr.on('data', (data) => {
706
- * console.error(`ps stderr: ${data}`);
707
- * });
708
- *
709
- * ps.on('close', (code) => {
710
- * if (code !== 0) {
711
- * console.log(`ps process exited with code ${code}`);
712
- * }
713
- * grep.stdin.end();
714
- * });
715
- *
716
- * grep.stdout.on('data', (data) => {
717
- * console.log(data.toString());
718
- * });
719
- *
720
- * grep.stderr.on('data', (data) => {
721
- * console.error(`grep stderr: ${data}`);
722
- * });
723
- *
724
- * grep.on('close', (code) => {
725
- * if (code !== 0) {
726
- * console.log(`grep process exited with code ${code}`);
727
- * }
728
- * });
729
- * ```
730
- *
731
- * Example of checking for failed `spawn`:
732
- *
733
- * ```js
734
- * import { spawn } from 'node:child_process';
735
- * const subprocess = spawn('bad_command');
736
- *
737
- * subprocess.on('error', (err) => {
738
- * console.error('Failed to start subprocess.');
739
- * });
740
- * ```
741
- *
742
- * Certain platforms (macOS, Linux) will use the value of `argv[0]` for the process
743
- * title while others (Windows, SunOS) will use `command`.
744
- *
745
- * Node.js overwrites `argv[0]` with `process.execPath` on startup, so `process.argv[0]` in a Node.js child process will not match the `argv0` parameter passed to `spawn` from the parent. Retrieve
746
- * it with the `process.argv0` property instead.
747
- *
748
- * If the `signal` option is enabled, calling `.abort()` on the corresponding `AbortController` is similar to calling `.kill()` on the child process except
749
- * the error passed to the callback will be an `AbortError`:
750
- *
751
- * ```js
752
- * import { spawn } from 'node:child_process';
753
- * const controller = new AbortController();
754
- * const { signal } = controller;
755
- * const grep = spawn('grep', ['ssh'], { signal });
756
- * grep.on('error', (err) => {
757
- * // This will be called with err being an AbortError if the controller aborts
758
- * });
759
- * controller.abort(); // Stops the child process
760
- * ```
761
- * @since v0.1.90
762
- * @param command The command to run.
763
- * @param args List of string arguments.
764
- */
765
- function spawn(command: string, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams;
766
- function spawn(
767
- command: string,
768
- options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>,
769
- ): ChildProcessByStdio<Writable, Readable, Readable>;
770
- function spawn(
771
- command: string,
772
- options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>,
773
- ): ChildProcessByStdio<Writable, Readable, null>;
774
- function spawn(
775
- command: string,
776
- options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>,
777
- ): ChildProcessByStdio<Writable, null, Readable>;
778
- function spawn(
779
- command: string,
780
- options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>,
781
- ): ChildProcessByStdio<null, Readable, Readable>;
782
- function spawn(
783
- command: string,
784
- options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>,
785
- ): ChildProcessByStdio<Writable, null, null>;
786
- function spawn(
787
- command: string,
788
- options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>,
789
- ): ChildProcessByStdio<null, Readable, null>;
790
- function spawn(
791
- command: string,
792
- options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>,
793
- ): ChildProcessByStdio<null, null, Readable>;
794
- function spawn(
795
- command: string,
796
- options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>,
797
- ): ChildProcessByStdio<null, null, null>;
798
- function spawn(command: string, options: SpawnOptions): ChildProcess;
799
- // overloads of spawn with 'args'
800
- function spawn(
801
- command: string,
802
- args?: readonly string[],
803
- options?: SpawnOptionsWithoutStdio,
804
- ): ChildProcessWithoutNullStreams;
805
- function spawn(
806
- command: string,
807
- args: readonly string[],
808
- options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>,
809
- ): ChildProcessByStdio<Writable, Readable, Readable>;
810
- function spawn(
811
- command: string,
812
- args: readonly string[],
813
- options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>,
814
- ): ChildProcessByStdio<Writable, Readable, null>;
815
- function spawn(
816
- command: string,
817
- args: readonly string[],
818
- options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>,
819
- ): ChildProcessByStdio<Writable, null, Readable>;
820
- function spawn(
821
- command: string,
822
- args: readonly string[],
823
- options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>,
824
- ): ChildProcessByStdio<null, Readable, Readable>;
825
- function spawn(
826
- command: string,
827
- args: readonly string[],
828
- options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>,
829
- ): ChildProcessByStdio<Writable, null, null>;
830
- function spawn(
831
- command: string,
832
- args: readonly string[],
833
- options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>,
834
- ): ChildProcessByStdio<null, Readable, null>;
835
- function spawn(
836
- command: string,
837
- args: readonly string[],
838
- options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>,
839
- ): ChildProcessByStdio<null, null, Readable>;
840
- function spawn(
841
- command: string,
842
- args: readonly string[],
843
- options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>,
844
- ): ChildProcessByStdio<null, null, null>;
845
- function spawn(command: string, args: readonly string[], options: SpawnOptions): ChildProcess;
846
- interface ExecOptions extends CommonOptions {
847
- shell?: string | undefined;
848
- signal?: AbortSignal | undefined;
849
- maxBuffer?: number | undefined;
850
- killSignal?: NodeJS.Signals | number | undefined;
851
- encoding?: string | null | undefined;
852
- }
853
- interface ExecOptionsWithStringEncoding extends ExecOptions {
854
- encoding?: BufferEncoding | undefined;
855
- }
856
- interface ExecOptionsWithBufferEncoding extends ExecOptions {
857
- encoding: "buffer" | null; // specify `null`.
858
- }
859
- // TODO: Just Plain Wrong™ (see also nodejs/node#57392)
860
- interface ExecException extends Error {
861
- cmd?: string;
862
- killed?: boolean;
863
- code?: number;
864
- signal?: NodeJS.Signals;
865
- stdout?: string;
866
- stderr?: string;
867
- }
868
- /**
869
- * Spawns a shell then executes the `command` within that shell, buffering any
870
- * generated output. The `command` string passed to the exec function is processed
871
- * directly by the shell and special characters (vary based on [shell](https://en.wikipedia.org/wiki/List_of_command-line_interpreters))
872
- * need to be dealt with accordingly:
873
- *
874
- * ```js
875
- * import { exec } from 'node:child_process';
876
- *
877
- * exec('"/path/to/test file/test.sh" arg1 arg2');
878
- * // Double quotes are used so that the space in the path is not interpreted as
879
- * // a delimiter of multiple arguments.
880
- *
881
- * exec('echo "The \\$HOME variable is $HOME"');
882
- * // The $HOME variable is escaped in the first instance, but not in the second.
883
- * ```
884
- *
885
- * **Never pass unsanitized user input to this function. Any input containing shell**
886
- * **metacharacters may be used to trigger arbitrary command execution.**
887
- *
888
- * If a `callback` function is provided, it is called with the arguments `(error, stdout, stderr)`. On success, `error` will be `null`. On error, `error` will be an instance of `Error`. The
889
- * `error.code` property will be
890
- * the exit code of the process. By convention, any exit code other than `0` indicates an error. `error.signal` will be the signal that terminated the
891
- * process.
892
- *
893
- * The `stdout` and `stderr` arguments passed to the callback will contain the
894
- * stdout and stderr output of the child process. By default, Node.js will decode
895
- * the output as UTF-8 and pass strings to the callback. The `encoding` option
896
- * can be used to specify the character encoding used to decode the stdout and
897
- * stderr output. If `encoding` is `'buffer'`, or an unrecognized character
898
- * encoding, `Buffer` objects will be passed to the callback instead.
899
- *
900
- * ```js
901
- * import { exec } from 'node:child_process';
902
- * exec('cat *.js missing_file | wc -l', (error, stdout, stderr) => {
903
- * if (error) {
904
- * console.error(`exec error: ${error}`);
905
- * return;
906
- * }
907
- * console.log(`stdout: ${stdout}`);
908
- * console.error(`stderr: ${stderr}`);
909
- * });
910
- * ```
911
- *
912
- * If `timeout` is greater than `0`, the parent will send the signal
913
- * identified by the `killSignal` property (the default is `'SIGTERM'`) if the
914
- * child runs longer than `timeout` milliseconds.
915
- *
916
- * Unlike the [`exec(3)`](http://man7.org/linux/man-pages/man3/exec.3.html) POSIX system call, `child_process.exec()` does not replace
917
- * the existing process and uses a shell to execute the command.
918
- *
919
- * If this method is invoked as its `util.promisify()` ed version, it returns
920
- * a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned `ChildProcess` instance is attached to the `Promise` as a `child` property. In
921
- * case of an error (including any error resulting in an exit code other than 0), a
922
- * rejected promise is returned, with the same `error` object given in the
923
- * callback, but with two additional properties `stdout` and `stderr`.
924
- *
925
- * ```js
926
- * import util from 'node:util';
927
- * import child_process from 'node:child_process';
928
- * const exec = util.promisify(child_process.exec);
929
- *
930
- * async function lsExample() {
931
- * const { stdout, stderr } = await exec('ls');
932
- * console.log('stdout:', stdout);
933
- * console.error('stderr:', stderr);
934
- * }
935
- * lsExample();
936
- * ```
937
- *
938
- * If the `signal` option is enabled, calling `.abort()` on the corresponding `AbortController` is similar to calling `.kill()` on the child process except
939
- * the error passed to the callback will be an `AbortError`:
940
- *
941
- * ```js
942
- * import { exec } from 'node:child_process';
943
- * const controller = new AbortController();
944
- * const { signal } = controller;
945
- * const child = exec('grep ssh', { signal }, (error) => {
946
- * console.error(error); // an AbortError
947
- * });
948
- * controller.abort();
949
- * ```
950
- * @since v0.1.90
951
- * @param command The command to run, with space-separated arguments.
952
- * @param callback called with the output when process terminates.
953
- */
954
- function exec(
955
- command: string,
956
- callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
957
- ): ChildProcess;
958
- // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
959
- function exec(
960
- command: string,
961
- options: ExecOptionsWithBufferEncoding,
962
- callback?: (error: ExecException | null, stdout: NonSharedBuffer, stderr: NonSharedBuffer) => void,
963
- ): ChildProcess;
964
- // `options` with well-known or absent `encoding` means stdout/stderr are definitely `string`.
965
- function exec(
966
- command: string,
967
- options: ExecOptionsWithStringEncoding,
968
- callback?: (error: ExecException | null, stdout: string, stderr: string) => void,
969
- ): ChildProcess;
970
- // fallback if nothing else matches. Worst case is always `string | Buffer`.
971
- function exec(
972
- command: string,
973
- options: ExecOptions | undefined | null,
974
- callback?: (
975
- error: ExecException | null,
976
- stdout: string | NonSharedBuffer,
977
- stderr: string | NonSharedBuffer,
978
- ) => void,
979
- ): ChildProcess;
980
- interface PromiseWithChild<T> extends Promise<T> {
981
- child: ChildProcess;
982
- }
983
- namespace exec {
984
- function __promisify__(command: string): PromiseWithChild<{
985
- stdout: string;
986
- stderr: string;
987
- }>;
988
- function __promisify__(
989
- command: string,
990
- options: ExecOptionsWithBufferEncoding,
991
- ): PromiseWithChild<{
992
- stdout: NonSharedBuffer;
993
- stderr: NonSharedBuffer;
994
- }>;
995
- function __promisify__(
996
- command: string,
997
- options: ExecOptionsWithStringEncoding,
998
- ): PromiseWithChild<{
999
- stdout: string;
1000
- stderr: string;
1001
- }>;
1002
- function __promisify__(
1003
- command: string,
1004
- options: ExecOptions | undefined | null,
1005
- ): PromiseWithChild<{
1006
- stdout: string | NonSharedBuffer;
1007
- stderr: string | NonSharedBuffer;
1008
- }>;
1009
- }
1010
- interface ExecFileOptions extends CommonOptions, Abortable {
1011
- maxBuffer?: number | undefined;
1012
- killSignal?: NodeJS.Signals | number | undefined;
1013
- windowsVerbatimArguments?: boolean | undefined;
1014
- shell?: boolean | string | undefined;
1015
- signal?: AbortSignal | undefined;
1016
- encoding?: string | null | undefined;
1017
- }
1018
- interface ExecFileOptionsWithStringEncoding extends ExecFileOptions {
1019
- encoding?: BufferEncoding | undefined;
1020
- }
1021
- interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions {
1022
- encoding: "buffer" | null;
1023
- }
1024
- /** @deprecated Use `ExecFileOptions` instead. */
1025
- interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions {}
1026
- // TODO: execFile exceptions can take many forms... this accurately describes none of them
1027
- type ExecFileException =
1028
- & Omit<ExecException, "code">
1029
- & Omit<NodeJS.ErrnoException, "code">
1030
- & { code?: string | number | null };
1031
- /**
1032
- * The `child_process.execFile()` function is similar to {@link exec} except that it does not spawn a shell by default. Rather, the specified
1033
- * executable `file` is spawned directly as a new process making it slightly more
1034
- * efficient than {@link exec}.
1035
- *
1036
- * The same options as {@link exec} are supported. Since a shell is
1037
- * not spawned, behaviors such as I/O redirection and file globbing are not
1038
- * supported.
1039
- *
1040
- * ```js
1041
- * import { execFile } from 'node:child_process';
1042
- * const child = execFile('node', ['--version'], (error, stdout, stderr) => {
1043
- * if (error) {
1044
- * throw error;
1045
- * }
1046
- * console.log(stdout);
1047
- * });
1048
- * ```
1049
- *
1050
- * The `stdout` and `stderr` arguments passed to the callback will contain the
1051
- * stdout and stderr output of the child process. By default, Node.js will decode
1052
- * the output as UTF-8 and pass strings to the callback. The `encoding` option
1053
- * can be used to specify the character encoding used to decode the stdout and
1054
- * stderr output. If `encoding` is `'buffer'`, or an unrecognized character
1055
- * encoding, `Buffer` objects will be passed to the callback instead.
1056
- *
1057
- * If this method is invoked as its `util.promisify()` ed version, it returns
1058
- * a `Promise` for an `Object` with `stdout` and `stderr` properties. The returned `ChildProcess` instance is attached to the `Promise` as a `child` property. In
1059
- * case of an error (including any error resulting in an exit code other than 0), a
1060
- * rejected promise is returned, with the same `error` object given in the
1061
- * callback, but with two additional properties `stdout` and `stderr`.
1062
- *
1063
- * ```js
1064
- * import util from 'node:util';
1065
- * import child_process from 'node:child_process';
1066
- * const execFile = util.promisify(child_process.execFile);
1067
- * async function getVersion() {
1068
- * const { stdout } = await execFile('node', ['--version']);
1069
- * console.log(stdout);
1070
- * }
1071
- * getVersion();
1072
- * ```
1073
- *
1074
- * **If the `shell` option is enabled, do not pass unsanitized user input to this**
1075
- * **function. Any input containing shell metacharacters may be used to trigger**
1076
- * **arbitrary command execution.**
1077
- *
1078
- * If the `signal` option is enabled, calling `.abort()` on the corresponding `AbortController` is similar to calling `.kill()` on the child process except
1079
- * the error passed to the callback will be an `AbortError`:
1080
- *
1081
- * ```js
1082
- * import { execFile } from 'node:child_process';
1083
- * const controller = new AbortController();
1084
- * const { signal } = controller;
1085
- * const child = execFile('node', ['--version'], { signal }, (error) => {
1086
- * console.error(error); // an AbortError
1087
- * });
1088
- * controller.abort();
1089
- * ```
1090
- * @since v0.1.91
1091
- * @param file The name or path of the executable file to run.
1092
- * @param args List of string arguments.
1093
- * @param callback Called with the output when process terminates.
1094
- */
1095
- // no `options` definitely means stdout/stderr are `string`.
1096
- function execFile(
1097
- file: string,
1098
- callback?: (error: ExecFileException | null, stdout: string, stderr: string) => void,
1099
- ): ChildProcess;
1100
- function execFile(
1101
- file: string,
1102
- args: readonly string[] | undefined | null,
1103
- callback?: (error: ExecFileException | null, stdout: string, stderr: string) => void,
1104
- ): ChildProcess;
1105
- // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`.
1106
- function execFile(
1107
- file: string,
1108
- options: ExecFileOptionsWithBufferEncoding,
1109
- callback?: (error: ExecFileException | null, stdout: NonSharedBuffer, stderr: NonSharedBuffer) => void,
1110
- ): ChildProcess;
1111
- function execFile(
1112
- file: string,
1113
- args: readonly string[] | undefined | null,
1114
- options: ExecFileOptionsWithBufferEncoding,
1115
- callback?: (error: ExecFileException | null, stdout: NonSharedBuffer, stderr: NonSharedBuffer) => void,
1116
- ): ChildProcess;
1117
- // `options` with well-known or absent `encoding` means stdout/stderr are definitely `string`.
1118
- function execFile(
1119
- file: string,
1120
- options: ExecFileOptionsWithStringEncoding,
1121
- callback?: (error: ExecFileException | null, stdout: string, stderr: string) => void,
1122
- ): ChildProcess;
1123
- function execFile(
1124
- file: string,
1125
- args: readonly string[] | undefined | null,
1126
- options: ExecFileOptionsWithStringEncoding,
1127
- callback?: (error: ExecFileException | null, stdout: string, stderr: string) => void,
1128
- ): ChildProcess;
1129
- // fallback if nothing else matches. Worst case is always `string | Buffer`.
1130
- function execFile(
1131
- file: string,
1132
- options: ExecFileOptions | undefined | null,
1133
- callback:
1134
- | ((
1135
- error: ExecFileException | null,
1136
- stdout: string | NonSharedBuffer,
1137
- stderr: string | NonSharedBuffer,
1138
- ) => void)
1139
- | undefined
1140
- | null,
1141
- ): ChildProcess;
1142
- function execFile(
1143
- file: string,
1144
- args: readonly string[] | undefined | null,
1145
- options: ExecFileOptions | undefined | null,
1146
- callback:
1147
- | ((
1148
- error: ExecFileException | null,
1149
- stdout: string | NonSharedBuffer,
1150
- stderr: string | NonSharedBuffer,
1151
- ) => void)
1152
- | undefined
1153
- | null,
1154
- ): ChildProcess;
1155
- namespace execFile {
1156
- function __promisify__(file: string): PromiseWithChild<{
1157
- stdout: string;
1158
- stderr: string;
1159
- }>;
1160
- function __promisify__(
1161
- file: string,
1162
- args: readonly string[] | undefined | null,
1163
- ): PromiseWithChild<{
1164
- stdout: string;
1165
- stderr: string;
1166
- }>;
1167
- function __promisify__(
1168
- file: string,
1169
- options: ExecFileOptionsWithBufferEncoding,
1170
- ): PromiseWithChild<{
1171
- stdout: NonSharedBuffer;
1172
- stderr: NonSharedBuffer;
1173
- }>;
1174
- function __promisify__(
1175
- file: string,
1176
- args: readonly string[] | undefined | null,
1177
- options: ExecFileOptionsWithBufferEncoding,
1178
- ): PromiseWithChild<{
1179
- stdout: NonSharedBuffer;
1180
- stderr: NonSharedBuffer;
1181
- }>;
1182
- function __promisify__(
1183
- file: string,
1184
- options: ExecFileOptionsWithStringEncoding,
1185
- ): PromiseWithChild<{
1186
- stdout: string;
1187
- stderr: string;
1188
- }>;
1189
- function __promisify__(
1190
- file: string,
1191
- args: readonly string[] | undefined | null,
1192
- options: ExecFileOptionsWithStringEncoding,
1193
- ): PromiseWithChild<{
1194
- stdout: string;
1195
- stderr: string;
1196
- }>;
1197
- function __promisify__(
1198
- file: string,
1199
- options: ExecFileOptions | undefined | null,
1200
- ): PromiseWithChild<{
1201
- stdout: string | NonSharedBuffer;
1202
- stderr: string | NonSharedBuffer;
1203
- }>;
1204
- function __promisify__(
1205
- file: string,
1206
- args: readonly string[] | undefined | null,
1207
- options: ExecFileOptions | undefined | null,
1208
- ): PromiseWithChild<{
1209
- stdout: string | NonSharedBuffer;
1210
- stderr: string | NonSharedBuffer;
1211
- }>;
1212
- }
1213
- interface ForkOptions extends ProcessEnvOptions, MessagingOptions, Abortable {
1214
- execPath?: string | undefined;
1215
- execArgv?: string[] | undefined;
1216
- silent?: boolean | undefined;
1217
- /**
1218
- * Can be set to 'pipe', 'inherit', 'overlapped', or 'ignore', or an array of these strings.
1219
- * If passed as an array, the first element is used for `stdin`, the second for
1220
- * `stdout`, and the third for `stderr`. A fourth element can be used to
1221
- * specify the `stdio` behavior beyond the standard streams. See
1222
- * {@link ChildProcess.stdio} for more information.
1223
- *
1224
- * @default 'pipe'
1225
- */
1226
- stdio?: StdioOptions | undefined;
1227
- detached?: boolean | undefined;
1228
- windowsVerbatimArguments?: boolean | undefined;
1229
- }
1230
- /**
1231
- * The `child_process.fork()` method is a special case of {@link spawn} used specifically to spawn new Node.js processes.
1232
- * Like {@link spawn}, a `ChildProcess` object is returned. The
1233
- * returned `ChildProcess` will have an additional communication channel
1234
- * built-in that allows messages to be passed back and forth between the parent and
1235
- * child. See `subprocess.send()` for details.
1236
- *
1237
- * Keep in mind that spawned Node.js child processes are
1238
- * independent of the parent with exception of the IPC communication channel
1239
- * that is established between the two. Each process has its own memory, with
1240
- * their own V8 instances. Because of the additional resource allocations
1241
- * required, spawning a large number of child Node.js processes is not
1242
- * recommended.
1243
- *
1244
- * By default, `child_process.fork()` will spawn new Node.js instances using the `process.execPath` of the parent process. The `execPath` property in the `options` object allows for an alternative
1245
- * execution path to be used.
1246
- *
1247
- * Node.js processes launched with a custom `execPath` will communicate with the
1248
- * parent process using the file descriptor (fd) identified using the
1249
- * environment variable `NODE_CHANNEL_FD` on the child process.
1250
- *
1251
- * Unlike the [`fork(2)`](http://man7.org/linux/man-pages/man2/fork.2.html) POSIX system call, `child_process.fork()` does not clone the
1252
- * current process.
1253
- *
1254
- * The `shell` option available in {@link spawn} is not supported by `child_process.fork()` and will be ignored if set.
1255
- *
1256
- * If the `signal` option is enabled, calling `.abort()` on the corresponding `AbortController` is similar to calling `.kill()` on the child process except
1257
- * the error passed to the callback will be an `AbortError`:
1258
- *
1259
- * ```js
1260
- * if (process.argv[2] === 'child') {
1261
- * setTimeout(() => {
1262
- * console.log(`Hello from ${process.argv[2]}!`);
1263
- * }, 1_000);
1264
- * } else {
1265
- * import { fork } from 'node:child_process';
1266
- * const controller = new AbortController();
1267
- * const { signal } = controller;
1268
- * const child = fork(__filename, ['child'], { signal });
1269
- * child.on('error', (err) => {
1270
- * // This will be called with err being an AbortError if the controller aborts
1271
- * });
1272
- * controller.abort(); // Stops the child process
1273
- * }
1274
- * ```
1275
- * @since v0.5.0
1276
- * @param modulePath The module to run in the child.
1277
- * @param args List of string arguments.
1278
- */
1279
- function fork(modulePath: string | URL, options?: ForkOptions): ChildProcess;
1280
- function fork(modulePath: string | URL, args?: readonly string[], options?: ForkOptions): ChildProcess;
1281
- interface SpawnSyncOptions extends CommonSpawnOptions {
1282
- input?: string | NodeJS.ArrayBufferView | undefined;
1283
- maxBuffer?: number | undefined;
1284
- encoding?: BufferEncoding | "buffer" | null | undefined;
1285
- }
1286
- interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions {
1287
- encoding: BufferEncoding;
1288
- }
1289
- interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions {
1290
- encoding?: "buffer" | null | undefined;
1291
- }
1292
- interface SpawnSyncReturns<T> {
1293
- pid: number;
1294
- output: Array<T | null>;
1295
- stdout: T;
1296
- stderr: T;
1297
- status: number | null;
1298
- signal: NodeJS.Signals | null;
1299
- error?: Error;
1300
- }
1301
- /**
1302
- * The `child_process.spawnSync()` method is generally identical to {@link spawn} with the exception that the function will not return
1303
- * until the child process has fully closed. When a timeout has been encountered
1304
- * and `killSignal` is sent, the method won't return until the process has
1305
- * completely exited. If the process intercepts and handles the `SIGTERM` signal
1306
- * and doesn't exit, the parent process will wait until the child process has
1307
- * exited.
1308
- *
1309
- * **If the `shell` option is enabled, do not pass unsanitized user input to this**
1310
- * **function. Any input containing shell metacharacters may be used to trigger**
1311
- * **arbitrary command execution.**
1312
- * @since v0.11.12
1313
- * @param command The command to run.
1314
- * @param args List of string arguments.
1315
- */
1316
- function spawnSync(command: string): SpawnSyncReturns<NonSharedBuffer>;
1317
- function spawnSync(command: string, options: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns<string>;
1318
- function spawnSync(command: string, options: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns<NonSharedBuffer>;
1319
- function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns<string | NonSharedBuffer>;
1320
- function spawnSync(command: string, args: readonly string[]): SpawnSyncReturns<NonSharedBuffer>;
1321
- function spawnSync(
1322
- command: string,
1323
- args: readonly string[],
1324
- options: SpawnSyncOptionsWithStringEncoding,
1325
- ): SpawnSyncReturns<string>;
1326
- function spawnSync(
1327
- command: string,
1328
- args: readonly string[],
1329
- options: SpawnSyncOptionsWithBufferEncoding,
1330
- ): SpawnSyncReturns<NonSharedBuffer>;
1331
- function spawnSync(
1332
- command: string,
1333
- args?: readonly string[],
1334
- options?: SpawnSyncOptions,
1335
- ): SpawnSyncReturns<string | NonSharedBuffer>;
1336
- interface CommonExecOptions extends CommonOptions {
1337
- input?: string | NodeJS.ArrayBufferView | undefined;
1338
- /**
1339
- * Can be set to 'pipe', 'inherit, or 'ignore', or an array of these strings.
1340
- * If passed as an array, the first element is used for `stdin`, the second for
1341
- * `stdout`, and the third for `stderr`. A fourth element can be used to
1342
- * specify the `stdio` behavior beyond the standard streams. See
1343
- * {@link ChildProcess.stdio} for more information.
1344
- *
1345
- * @default 'pipe'
1346
- */
1347
- stdio?: StdioOptions | undefined;
1348
- killSignal?: NodeJS.Signals | number | undefined;
1349
- maxBuffer?: number | undefined;
1350
- encoding?: BufferEncoding | "buffer" | null | undefined;
1351
- }
1352
- interface ExecSyncOptions extends CommonExecOptions {
1353
- shell?: string | undefined;
1354
- }
1355
- interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions {
1356
- encoding: BufferEncoding;
1357
- }
1358
- interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions {
1359
- encoding?: "buffer" | null | undefined;
1360
- }
1361
- /**
1362
- * The `child_process.execSync()` method is generally identical to {@link exec} with the exception that the method will not return
1363
- * until the child process has fully closed. When a timeout has been encountered
1364
- * and `killSignal` is sent, the method won't return until the process has
1365
- * completely exited. If the child process intercepts and handles the `SIGTERM` signal and doesn't exit, the parent process will wait until the child process
1366
- * has exited.
1367
- *
1368
- * If the process times out or has a non-zero exit code, this method will throw.
1369
- * The `Error` object will contain the entire result from {@link spawnSync}.
1370
- *
1371
- * **Never pass unsanitized user input to this function. Any input containing shell**
1372
- * **metacharacters may be used to trigger arbitrary command execution.**
1373
- * @since v0.11.12
1374
- * @param command The command to run.
1375
- * @return The stdout from the command.
1376
- */
1377
- function execSync(command: string): NonSharedBuffer;
1378
- function execSync(command: string, options: ExecSyncOptionsWithStringEncoding): string;
1379
- function execSync(command: string, options: ExecSyncOptionsWithBufferEncoding): NonSharedBuffer;
1380
- function execSync(command: string, options?: ExecSyncOptions): string | NonSharedBuffer;
1381
- interface ExecFileSyncOptions extends CommonExecOptions {
1382
- shell?: boolean | string | undefined;
1383
- }
1384
- interface ExecFileSyncOptionsWithStringEncoding extends ExecFileSyncOptions {
1385
- encoding: BufferEncoding;
1386
- }
1387
- interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions {
1388
- encoding?: "buffer" | null | undefined; // specify `null`.
1389
- }
1390
- /**
1391
- * The `child_process.execFileSync()` method is generally identical to {@link execFile} with the exception that the method will not
1392
- * return until the child process has fully closed. When a timeout has been
1393
- * encountered and `killSignal` is sent, the method won't return until the process
1394
- * has completely exited.
1395
- *
1396
- * If the child process intercepts and handles the `SIGTERM` signal and
1397
- * does not exit, the parent process will still wait until the child process has
1398
- * exited.
1399
- *
1400
- * If the process times out or has a non-zero exit code, this method will throw an `Error` that will include the full result of the underlying {@link spawnSync}.
1401
- *
1402
- * **If the `shell` option is enabled, do not pass unsanitized user input to this**
1403
- * **function. Any input containing shell metacharacters may be used to trigger**
1404
- * **arbitrary command execution.**
1405
- * @since v0.11.12
1406
- * @param file The name or path of the executable file to run.
1407
- * @param args List of string arguments.
1408
- * @return The stdout from the command.
1409
- */
1410
- function execFileSync(file: string): NonSharedBuffer;
1411
- function execFileSync(file: string, options: ExecFileSyncOptionsWithStringEncoding): string;
1412
- function execFileSync(file: string, options: ExecFileSyncOptionsWithBufferEncoding): NonSharedBuffer;
1413
- function execFileSync(file: string, options?: ExecFileSyncOptions): string | NonSharedBuffer;
1414
- function execFileSync(file: string, args: readonly string[]): NonSharedBuffer;
1415
- function execFileSync(
1416
- file: string,
1417
- args: readonly string[],
1418
- options: ExecFileSyncOptionsWithStringEncoding,
1419
- ): string;
1420
- function execFileSync(
1421
- file: string,
1422
- args: readonly string[],
1423
- options: ExecFileSyncOptionsWithBufferEncoding,
1424
- ): NonSharedBuffer;
1425
- function execFileSync(
1426
- file: string,
1427
- args?: readonly string[],
1428
- options?: ExecFileSyncOptions,
1429
- ): string | NonSharedBuffer;
1430
- }
1431
- declare module "child_process" {
1432
- export * from "node:child_process";
1433
- }