@bobfrankston/mailx 1.0.31 → 1.0.32

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 (312) hide show
  1. package/client/styles/layout.css +12 -7
  2. package/launcher/builder/postinstall.js +7 -7
  3. package/package.json +4 -4
  4. package/packages/mailx-send/mailsend/node_modules/.package-lock.json +0 -49
  5. package/packages/mailx-send/mailsend/node_modules/@types/node/LICENSE +0 -21
  6. package/packages/mailx-send/mailsend/node_modules/@types/node/README.md +0 -15
  7. package/packages/mailx-send/mailsend/node_modules/@types/node/assert/strict.d.ts +0 -111
  8. package/packages/mailx-send/mailsend/node_modules/@types/node/assert.d.ts +0 -1078
  9. package/packages/mailx-send/mailsend/node_modules/@types/node/async_hooks.d.ts +0 -603
  10. package/packages/mailx-send/mailsend/node_modules/@types/node/buffer.buffer.d.ts +0 -472
  11. package/packages/mailx-send/mailsend/node_modules/@types/node/buffer.d.ts +0 -1934
  12. package/packages/mailx-send/mailsend/node_modules/@types/node/child_process.d.ts +0 -1476
  13. package/packages/mailx-send/mailsend/node_modules/@types/node/cluster.d.ts +0 -578
  14. package/packages/mailx-send/mailsend/node_modules/@types/node/compatibility/disposable.d.ts +0 -14
  15. package/packages/mailx-send/mailsend/node_modules/@types/node/compatibility/index.d.ts +0 -9
  16. package/packages/mailx-send/mailsend/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  17. package/packages/mailx-send/mailsend/node_modules/@types/node/compatibility/iterators.d.ts +0 -20
  18. package/packages/mailx-send/mailsend/node_modules/@types/node/console.d.ts +0 -452
  19. package/packages/mailx-send/mailsend/node_modules/@types/node/constants.d.ts +0 -21
  20. package/packages/mailx-send/mailsend/node_modules/@types/node/crypto.d.ts +0 -4545
  21. package/packages/mailx-send/mailsend/node_modules/@types/node/dgram.d.ts +0 -600
  22. package/packages/mailx-send/mailsend/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  23. package/packages/mailx-send/mailsend/node_modules/@types/node/dns/promises.d.ts +0 -503
  24. package/packages/mailx-send/mailsend/node_modules/@types/node/dns.d.ts +0 -923
  25. package/packages/mailx-send/mailsend/node_modules/@types/node/domain.d.ts +0 -170
  26. package/packages/mailx-send/mailsend/node_modules/@types/node/events.d.ts +0 -976
  27. package/packages/mailx-send/mailsend/node_modules/@types/node/fs/promises.d.ts +0 -1295
  28. package/packages/mailx-send/mailsend/node_modules/@types/node/fs.d.ts +0 -4461
  29. package/packages/mailx-send/mailsend/node_modules/@types/node/globals.d.ts +0 -172
  30. package/packages/mailx-send/mailsend/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  31. package/packages/mailx-send/mailsend/node_modules/@types/node/http.d.ts +0 -2089
  32. package/packages/mailx-send/mailsend/node_modules/@types/node/http2.d.ts +0 -2644
  33. package/packages/mailx-send/mailsend/node_modules/@types/node/https.d.ts +0 -579
  34. package/packages/mailx-send/mailsend/node_modules/@types/node/index.d.ts +0 -97
  35. package/packages/mailx-send/mailsend/node_modules/@types/node/inspector.d.ts +0 -253
  36. package/packages/mailx-send/mailsend/node_modules/@types/node/inspector.generated.d.ts +0 -4052
  37. package/packages/mailx-send/mailsend/node_modules/@types/node/module.d.ts +0 -891
  38. package/packages/mailx-send/mailsend/node_modules/@types/node/net.d.ts +0 -1057
  39. package/packages/mailx-send/mailsend/node_modules/@types/node/os.d.ts +0 -506
  40. package/packages/mailx-send/mailsend/node_modules/@types/node/package.json +0 -145
  41. package/packages/mailx-send/mailsend/node_modules/@types/node/path.d.ts +0 -200
  42. package/packages/mailx-send/mailsend/node_modules/@types/node/perf_hooks.d.ts +0 -968
  43. package/packages/mailx-send/mailsend/node_modules/@types/node/process.d.ts +0 -2084
  44. package/packages/mailx-send/mailsend/node_modules/@types/node/punycode.d.ts +0 -117
  45. package/packages/mailx-send/mailsend/node_modules/@types/node/querystring.d.ts +0 -152
  46. package/packages/mailx-send/mailsend/node_modules/@types/node/readline/promises.d.ts +0 -161
  47. package/packages/mailx-send/mailsend/node_modules/@types/node/readline.d.ts +0 -594
  48. package/packages/mailx-send/mailsend/node_modules/@types/node/repl.d.ts +0 -428
  49. package/packages/mailx-send/mailsend/node_modules/@types/node/sea.d.ts +0 -153
  50. package/packages/mailx-send/mailsend/node_modules/@types/node/sqlite.d.ts +0 -721
  51. package/packages/mailx-send/mailsend/node_modules/@types/node/stream/consumers.d.ts +0 -38
  52. package/packages/mailx-send/mailsend/node_modules/@types/node/stream/promises.d.ts +0 -90
  53. package/packages/mailx-send/mailsend/node_modules/@types/node/stream/web.d.ts +0 -622
  54. package/packages/mailx-send/mailsend/node_modules/@types/node/stream.d.ts +0 -1664
  55. package/packages/mailx-send/mailsend/node_modules/@types/node/string_decoder.d.ts +0 -67
  56. package/packages/mailx-send/mailsend/node_modules/@types/node/test.d.ts +0 -2163
  57. package/packages/mailx-send/mailsend/node_modules/@types/node/timers/promises.d.ts +0 -108
  58. package/packages/mailx-send/mailsend/node_modules/@types/node/timers.d.ts +0 -287
  59. package/packages/mailx-send/mailsend/node_modules/@types/node/tls.d.ts +0 -1319
  60. package/packages/mailx-send/mailsend/node_modules/@types/node/trace_events.d.ts +0 -197
  61. package/packages/mailx-send/mailsend/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  62. package/packages/mailx-send/mailsend/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  63. package/packages/mailx-send/mailsend/node_modules/@types/node/ts5.6/index.d.ts +0 -97
  64. package/packages/mailx-send/mailsend/node_modules/@types/node/tty.d.ts +0 -208
  65. package/packages/mailx-send/mailsend/node_modules/@types/node/url.d.ts +0 -984
  66. package/packages/mailx-send/mailsend/node_modules/@types/node/util.d.ts +0 -2606
  67. package/packages/mailx-send/mailsend/node_modules/@types/node/v8.d.ts +0 -920
  68. package/packages/mailx-send/mailsend/node_modules/@types/node/vm.d.ts +0 -1000
  69. package/packages/mailx-send/mailsend/node_modules/@types/node/wasi.d.ts +0 -181
  70. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  71. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  72. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/events.d.ts +0 -97
  73. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  74. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/navigator.d.ts +0 -22
  75. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  76. package/packages/mailx-send/mailsend/node_modules/@types/node/worker_threads.d.ts +0 -784
  77. package/packages/mailx-send/mailsend/node_modules/@types/node/zlib.d.ts +0 -747
  78. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/LICENSE +0 -21
  79. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/README.md +0 -15
  80. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/index.d.ts +0 -82
  81. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/addressparser/index.d.ts +0 -31
  82. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/base64/index.d.ts +0 -22
  83. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/dkim/index.d.ts +0 -45
  84. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/dkim/message-parser.d.ts +0 -75
  85. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/dkim/relaxed-body.d.ts +0 -75
  86. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/dkim/sign.d.ts +0 -21
  87. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/fetch/cookies.d.ts +0 -54
  88. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/fetch/index.d.ts +0 -38
  89. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/json-transport/index.d.ts +0 -53
  90. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mail-composer/index.d.ts +0 -25
  91. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mailer/index.d.ts +0 -283
  92. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts +0 -32
  93. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mime-funcs/index.d.ts +0 -87
  94. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mime-funcs/mime-types.d.ts +0 -2
  95. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mime-node/index.d.ts +0 -224
  96. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mime-node/last-newline.d.ts +0 -9
  97. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/qp/index.d.ts +0 -23
  98. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts +0 -53
  99. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/sendmail-transport/le-unix.d.ts +0 -7
  100. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/sendmail-transport/le-windows.d.ts +0 -7
  101. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/ses-transport/index.d.ts +0 -146
  102. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/shared/index.d.ts +0 -58
  103. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-connection/data-stream.d.ts +0 -11
  104. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-connection/http-proxy-client.d.ts +0 -16
  105. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts +0 -270
  106. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts +0 -93
  107. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-pool/pool-resource.d.ts +0 -66
  108. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-transport/index.d.ts +0 -115
  109. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/stream-transport/index.d.ts +0 -59
  110. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/well-known/index.d.ts +0 -6
  111. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/xoauth2/index.d.ts +0 -114
  112. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/package.json +0 -38
  113. package/packages/mailx-send/mailsend/node_modules/nodemailer/.ncurc.js +0 -9
  114. package/packages/mailx-send/mailsend/node_modules/nodemailer/.prettierignore +0 -8
  115. package/packages/mailx-send/mailsend/node_modules/nodemailer/.prettierrc +0 -12
  116. package/packages/mailx-send/mailsend/node_modules/nodemailer/.prettierrc.js +0 -10
  117. package/packages/mailx-send/mailsend/node_modules/nodemailer/.release-please-config.json +0 -9
  118. package/packages/mailx-send/mailsend/node_modules/nodemailer/LICENSE +0 -16
  119. package/packages/mailx-send/mailsend/node_modules/nodemailer/README.md +0 -86
  120. package/packages/mailx-send/mailsend/node_modules/nodemailer/SECURITY.txt +0 -22
  121. package/packages/mailx-send/mailsend/node_modules/nodemailer/eslint.config.js +0 -88
  122. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/addressparser/index.js +0 -383
  123. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/base64/index.js +0 -139
  124. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/dkim/index.js +0 -253
  125. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/dkim/message-parser.js +0 -155
  126. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/dkim/relaxed-body.js +0 -154
  127. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/dkim/sign.js +0 -117
  128. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/fetch/cookies.js +0 -281
  129. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/fetch/index.js +0 -280
  130. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/json-transport/index.js +0 -82
  131. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mail-composer/index.js +0 -629
  132. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mailer/index.js +0 -441
  133. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mailer/mail-message.js +0 -316
  134. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-funcs/index.js +0 -625
  135. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-funcs/mime-types.js +0 -2113
  136. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-node/index.js +0 -1316
  137. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-node/last-newline.js +0 -33
  138. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-node/le-unix.js +0 -43
  139. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-node/le-windows.js +0 -52
  140. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/nodemailer.js +0 -157
  141. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/punycode/index.js +0 -460
  142. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/qp/index.js +0 -227
  143. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/sendmail-transport/index.js +0 -210
  144. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/ses-transport/index.js +0 -234
  145. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/shared/index.js +0 -754
  146. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-connection/data-stream.js +0 -108
  147. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js +0 -143
  148. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-connection/index.js +0 -1870
  149. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-pool/index.js +0 -652
  150. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-pool/pool-resource.js +0 -259
  151. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-transport/index.js +0 -421
  152. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/stream-transport/index.js +0 -135
  153. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/well-known/index.js +0 -47
  154. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/well-known/services.json +0 -611
  155. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/xoauth2/index.js +0 -427
  156. package/packages/mailx-send/mailsend/node_modules/nodemailer/package.json +0 -47
  157. package/packages/mailx-send/mailsend/node_modules/undici-types/LICENSE +0 -21
  158. package/packages/mailx-send/mailsend/node_modules/undici-types/README.md +0 -6
  159. package/packages/mailx-send/mailsend/node_modules/undici-types/agent.d.ts +0 -31
  160. package/packages/mailx-send/mailsend/node_modules/undici-types/api.d.ts +0 -43
  161. package/packages/mailx-send/mailsend/node_modules/undici-types/balanced-pool.d.ts +0 -29
  162. package/packages/mailx-send/mailsend/node_modules/undici-types/cache.d.ts +0 -36
  163. package/packages/mailx-send/mailsend/node_modules/undici-types/client.d.ts +0 -108
  164. package/packages/mailx-send/mailsend/node_modules/undici-types/connector.d.ts +0 -34
  165. package/packages/mailx-send/mailsend/node_modules/undici-types/content-type.d.ts +0 -21
  166. package/packages/mailx-send/mailsend/node_modules/undici-types/cookies.d.ts +0 -28
  167. package/packages/mailx-send/mailsend/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  168. package/packages/mailx-send/mailsend/node_modules/undici-types/dispatcher.d.ts +0 -256
  169. package/packages/mailx-send/mailsend/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  170. package/packages/mailx-send/mailsend/node_modules/undici-types/errors.d.ts +0 -149
  171. package/packages/mailx-send/mailsend/node_modules/undici-types/eventsource.d.ts +0 -61
  172. package/packages/mailx-send/mailsend/node_modules/undici-types/fetch.d.ts +0 -209
  173. package/packages/mailx-send/mailsend/node_modules/undici-types/file.d.ts +0 -39
  174. package/packages/mailx-send/mailsend/node_modules/undici-types/filereader.d.ts +0 -54
  175. package/packages/mailx-send/mailsend/node_modules/undici-types/formdata.d.ts +0 -108
  176. package/packages/mailx-send/mailsend/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  177. package/packages/mailx-send/mailsend/node_modules/undici-types/global-origin.d.ts +0 -7
  178. package/packages/mailx-send/mailsend/node_modules/undici-types/handlers.d.ts +0 -15
  179. package/packages/mailx-send/mailsend/node_modules/undici-types/header.d.ts +0 -4
  180. package/packages/mailx-send/mailsend/node_modules/undici-types/index.d.ts +0 -71
  181. package/packages/mailx-send/mailsend/node_modules/undici-types/interceptors.d.ts +0 -17
  182. package/packages/mailx-send/mailsend/node_modules/undici-types/mock-agent.d.ts +0 -50
  183. package/packages/mailx-send/mailsend/node_modules/undici-types/mock-client.d.ts +0 -25
  184. package/packages/mailx-send/mailsend/node_modules/undici-types/mock-errors.d.ts +0 -12
  185. package/packages/mailx-send/mailsend/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  186. package/packages/mailx-send/mailsend/node_modules/undici-types/mock-pool.d.ts +0 -25
  187. package/packages/mailx-send/mailsend/node_modules/undici-types/package.json +0 -55
  188. package/packages/mailx-send/mailsend/node_modules/undici-types/patch.d.ts +0 -33
  189. package/packages/mailx-send/mailsend/node_modules/undici-types/pool-stats.d.ts +0 -19
  190. package/packages/mailx-send/mailsend/node_modules/undici-types/pool.d.ts +0 -39
  191. package/packages/mailx-send/mailsend/node_modules/undici-types/proxy-agent.d.ts +0 -28
  192. package/packages/mailx-send/mailsend/node_modules/undici-types/readable.d.ts +0 -65
  193. package/packages/mailx-send/mailsend/node_modules/undici-types/retry-agent.d.ts +0 -8
  194. package/packages/mailx-send/mailsend/node_modules/undici-types/retry-handler.d.ts +0 -116
  195. package/packages/mailx-send/mailsend/node_modules/undici-types/util.d.ts +0 -18
  196. package/packages/mailx-send/mailsend/node_modules/undici-types/webidl.d.ts +0 -228
  197. package/packages/mailx-send/mailsend/node_modules/undici-types/websocket.d.ts +0 -150
  198. package/packages/mailx-send/node_modules/.package-lock.json +0 -49
  199. package/packages/mailx-send/node_modules/@types/node/LICENSE +0 -21
  200. package/packages/mailx-send/node_modules/@types/node/README.md +0 -15
  201. package/packages/mailx-send/node_modules/@types/node/assert/strict.d.ts +0 -111
  202. package/packages/mailx-send/node_modules/@types/node/assert.d.ts +0 -1078
  203. package/packages/mailx-send/node_modules/@types/node/async_hooks.d.ts +0 -603
  204. package/packages/mailx-send/node_modules/@types/node/buffer.buffer.d.ts +0 -472
  205. package/packages/mailx-send/node_modules/@types/node/buffer.d.ts +0 -1934
  206. package/packages/mailx-send/node_modules/@types/node/child_process.d.ts +0 -1476
  207. package/packages/mailx-send/node_modules/@types/node/cluster.d.ts +0 -578
  208. package/packages/mailx-send/node_modules/@types/node/compatibility/disposable.d.ts +0 -14
  209. package/packages/mailx-send/node_modules/@types/node/compatibility/index.d.ts +0 -9
  210. package/packages/mailx-send/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  211. package/packages/mailx-send/node_modules/@types/node/compatibility/iterators.d.ts +0 -20
  212. package/packages/mailx-send/node_modules/@types/node/console.d.ts +0 -452
  213. package/packages/mailx-send/node_modules/@types/node/constants.d.ts +0 -21
  214. package/packages/mailx-send/node_modules/@types/node/crypto.d.ts +0 -4545
  215. package/packages/mailx-send/node_modules/@types/node/dgram.d.ts +0 -600
  216. package/packages/mailx-send/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  217. package/packages/mailx-send/node_modules/@types/node/dns/promises.d.ts +0 -503
  218. package/packages/mailx-send/node_modules/@types/node/dns.d.ts +0 -923
  219. package/packages/mailx-send/node_modules/@types/node/domain.d.ts +0 -170
  220. package/packages/mailx-send/node_modules/@types/node/events.d.ts +0 -976
  221. package/packages/mailx-send/node_modules/@types/node/fs/promises.d.ts +0 -1295
  222. package/packages/mailx-send/node_modules/@types/node/fs.d.ts +0 -4461
  223. package/packages/mailx-send/node_modules/@types/node/globals.d.ts +0 -172
  224. package/packages/mailx-send/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  225. package/packages/mailx-send/node_modules/@types/node/http.d.ts +0 -2089
  226. package/packages/mailx-send/node_modules/@types/node/http2.d.ts +0 -2644
  227. package/packages/mailx-send/node_modules/@types/node/https.d.ts +0 -579
  228. package/packages/mailx-send/node_modules/@types/node/index.d.ts +0 -97
  229. package/packages/mailx-send/node_modules/@types/node/inspector.d.ts +0 -253
  230. package/packages/mailx-send/node_modules/@types/node/inspector.generated.d.ts +0 -4052
  231. package/packages/mailx-send/node_modules/@types/node/module.d.ts +0 -891
  232. package/packages/mailx-send/node_modules/@types/node/net.d.ts +0 -1057
  233. package/packages/mailx-send/node_modules/@types/node/os.d.ts +0 -506
  234. package/packages/mailx-send/node_modules/@types/node/package.json +0 -145
  235. package/packages/mailx-send/node_modules/@types/node/path.d.ts +0 -200
  236. package/packages/mailx-send/node_modules/@types/node/perf_hooks.d.ts +0 -968
  237. package/packages/mailx-send/node_modules/@types/node/process.d.ts +0 -2084
  238. package/packages/mailx-send/node_modules/@types/node/punycode.d.ts +0 -117
  239. package/packages/mailx-send/node_modules/@types/node/querystring.d.ts +0 -152
  240. package/packages/mailx-send/node_modules/@types/node/readline/promises.d.ts +0 -161
  241. package/packages/mailx-send/node_modules/@types/node/readline.d.ts +0 -594
  242. package/packages/mailx-send/node_modules/@types/node/repl.d.ts +0 -428
  243. package/packages/mailx-send/node_modules/@types/node/sea.d.ts +0 -153
  244. package/packages/mailx-send/node_modules/@types/node/sqlite.d.ts +0 -721
  245. package/packages/mailx-send/node_modules/@types/node/stream/consumers.d.ts +0 -38
  246. package/packages/mailx-send/node_modules/@types/node/stream/promises.d.ts +0 -90
  247. package/packages/mailx-send/node_modules/@types/node/stream/web.d.ts +0 -622
  248. package/packages/mailx-send/node_modules/@types/node/stream.d.ts +0 -1664
  249. package/packages/mailx-send/node_modules/@types/node/string_decoder.d.ts +0 -67
  250. package/packages/mailx-send/node_modules/@types/node/test.d.ts +0 -2163
  251. package/packages/mailx-send/node_modules/@types/node/timers/promises.d.ts +0 -108
  252. package/packages/mailx-send/node_modules/@types/node/timers.d.ts +0 -287
  253. package/packages/mailx-send/node_modules/@types/node/tls.d.ts +0 -1319
  254. package/packages/mailx-send/node_modules/@types/node/trace_events.d.ts +0 -197
  255. package/packages/mailx-send/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  256. package/packages/mailx-send/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  257. package/packages/mailx-send/node_modules/@types/node/ts5.6/index.d.ts +0 -97
  258. package/packages/mailx-send/node_modules/@types/node/tty.d.ts +0 -208
  259. package/packages/mailx-send/node_modules/@types/node/url.d.ts +0 -984
  260. package/packages/mailx-send/node_modules/@types/node/util.d.ts +0 -2606
  261. package/packages/mailx-send/node_modules/@types/node/v8.d.ts +0 -920
  262. package/packages/mailx-send/node_modules/@types/node/vm.d.ts +0 -1000
  263. package/packages/mailx-send/node_modules/@types/node/wasi.d.ts +0 -181
  264. package/packages/mailx-send/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  265. package/packages/mailx-send/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  266. package/packages/mailx-send/node_modules/@types/node/web-globals/events.d.ts +0 -97
  267. package/packages/mailx-send/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  268. package/packages/mailx-send/node_modules/@types/node/web-globals/navigator.d.ts +0 -22
  269. package/packages/mailx-send/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  270. package/packages/mailx-send/node_modules/@types/node/worker_threads.d.ts +0 -784
  271. package/packages/mailx-send/node_modules/@types/node/zlib.d.ts +0 -747
  272. package/packages/mailx-send/node_modules/undici-types/LICENSE +0 -21
  273. package/packages/mailx-send/node_modules/undici-types/README.md +0 -6
  274. package/packages/mailx-send/node_modules/undici-types/agent.d.ts +0 -31
  275. package/packages/mailx-send/node_modules/undici-types/api.d.ts +0 -43
  276. package/packages/mailx-send/node_modules/undici-types/balanced-pool.d.ts +0 -29
  277. package/packages/mailx-send/node_modules/undici-types/cache.d.ts +0 -36
  278. package/packages/mailx-send/node_modules/undici-types/client.d.ts +0 -108
  279. package/packages/mailx-send/node_modules/undici-types/connector.d.ts +0 -34
  280. package/packages/mailx-send/node_modules/undici-types/content-type.d.ts +0 -21
  281. package/packages/mailx-send/node_modules/undici-types/cookies.d.ts +0 -28
  282. package/packages/mailx-send/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  283. package/packages/mailx-send/node_modules/undici-types/dispatcher.d.ts +0 -256
  284. package/packages/mailx-send/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  285. package/packages/mailx-send/node_modules/undici-types/errors.d.ts +0 -149
  286. package/packages/mailx-send/node_modules/undici-types/eventsource.d.ts +0 -61
  287. package/packages/mailx-send/node_modules/undici-types/fetch.d.ts +0 -209
  288. package/packages/mailx-send/node_modules/undici-types/file.d.ts +0 -39
  289. package/packages/mailx-send/node_modules/undici-types/filereader.d.ts +0 -54
  290. package/packages/mailx-send/node_modules/undici-types/formdata.d.ts +0 -108
  291. package/packages/mailx-send/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  292. package/packages/mailx-send/node_modules/undici-types/global-origin.d.ts +0 -7
  293. package/packages/mailx-send/node_modules/undici-types/handlers.d.ts +0 -15
  294. package/packages/mailx-send/node_modules/undici-types/header.d.ts +0 -4
  295. package/packages/mailx-send/node_modules/undici-types/index.d.ts +0 -71
  296. package/packages/mailx-send/node_modules/undici-types/interceptors.d.ts +0 -17
  297. package/packages/mailx-send/node_modules/undici-types/mock-agent.d.ts +0 -50
  298. package/packages/mailx-send/node_modules/undici-types/mock-client.d.ts +0 -25
  299. package/packages/mailx-send/node_modules/undici-types/mock-errors.d.ts +0 -12
  300. package/packages/mailx-send/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  301. package/packages/mailx-send/node_modules/undici-types/mock-pool.d.ts +0 -25
  302. package/packages/mailx-send/node_modules/undici-types/package.json +0 -55
  303. package/packages/mailx-send/node_modules/undici-types/patch.d.ts +0 -33
  304. package/packages/mailx-send/node_modules/undici-types/pool-stats.d.ts +0 -19
  305. package/packages/mailx-send/node_modules/undici-types/pool.d.ts +0 -39
  306. package/packages/mailx-send/node_modules/undici-types/proxy-agent.d.ts +0 -28
  307. package/packages/mailx-send/node_modules/undici-types/readable.d.ts +0 -65
  308. package/packages/mailx-send/node_modules/undici-types/retry-agent.d.ts +0 -8
  309. package/packages/mailx-send/node_modules/undici-types/retry-handler.d.ts +0 -116
  310. package/packages/mailx-send/node_modules/undici-types/util.d.ts +0 -18
  311. package/packages/mailx-send/node_modules/undici-types/webidl.d.ts +0 -228
  312. package/packages/mailx-send/node_modules/undici-types/websocket.d.ts +0 -150
@@ -1,428 +0,0 @@
1
- /**
2
- * The `node:repl` module provides a Read-Eval-Print-Loop (REPL) implementation
3
- * that is available both as a standalone program or includible in other
4
- * applications. It can be accessed using:
5
- *
6
- * ```js
7
- * import repl from 'node:repl';
8
- * ```
9
- * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/repl.js)
10
- */
11
- declare module "repl" {
12
- import { AsyncCompleter, Completer, Interface } from "node:readline";
13
- import { Context } from "node:vm";
14
- import { InspectOptions } from "node:util";
15
- interface ReplOptions {
16
- /**
17
- * The input prompt to display.
18
- * @default "> "
19
- */
20
- prompt?: string | undefined;
21
- /**
22
- * The `Readable` stream from which REPL input will be read.
23
- * @default process.stdin
24
- */
25
- input?: NodeJS.ReadableStream | undefined;
26
- /**
27
- * The `Writable` stream to which REPL output will be written.
28
- * @default process.stdout
29
- */
30
- output?: NodeJS.WritableStream | undefined;
31
- /**
32
- * If `true`, specifies that the output should be treated as a TTY terminal, and have
33
- * ANSI/VT100 escape codes written to it.
34
- * Default: checking the value of the `isTTY` property on the output stream upon
35
- * instantiation.
36
- */
37
- terminal?: boolean | undefined;
38
- /**
39
- * The function to be used when evaluating each given line of input.
40
- * **Default:** an async wrapper for the JavaScript `eval()` function. An `eval` function can
41
- * error with `repl.Recoverable` to indicate the input was incomplete and prompt for
42
- * additional lines. See the [custom evaluation functions](https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#custom-evaluation-functions)
43
- * section for more details.
44
- */
45
- eval?: REPLEval | undefined;
46
- /**
47
- * Defines if the repl prints output previews or not.
48
- * @default `true` Always `false` in case `terminal` is falsy.
49
- */
50
- preview?: boolean | undefined;
51
- /**
52
- * If `true`, specifies that the default `writer` function should include ANSI color
53
- * styling to REPL output. If a custom `writer` function is provided then this has no
54
- * effect.
55
- * @default the REPL instance's `terminal` value
56
- */
57
- useColors?: boolean | undefined;
58
- /**
59
- * If `true`, specifies that the default evaluation function will use the JavaScript
60
- * `global` as the context as opposed to creating a new separate context for the REPL
61
- * instance. The node CLI REPL sets this value to `true`.
62
- * @default false
63
- */
64
- useGlobal?: boolean | undefined;
65
- /**
66
- * If `true`, specifies that the default writer will not output the return value of a
67
- * command if it evaluates to `undefined`.
68
- * @default false
69
- */
70
- ignoreUndefined?: boolean | undefined;
71
- /**
72
- * The function to invoke to format the output of each command before writing to `output`.
73
- * @default a wrapper for `util.inspect`
74
- *
75
- * @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_customizing_repl_output
76
- */
77
- writer?: REPLWriter | undefined;
78
- /**
79
- * An optional function used for custom Tab auto completion.
80
- *
81
- * @see https://nodejs.org/dist/latest-v22.x/docs/api/readline.html#readline_use_of_the_completer_function
82
- */
83
- completer?: Completer | AsyncCompleter | undefined;
84
- /**
85
- * A flag that specifies whether the default evaluator executes all JavaScript commands in
86
- * strict mode or default (sloppy) mode.
87
- * Accepted values are:
88
- * - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode.
89
- * - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to
90
- * prefacing every repl statement with `'use strict'`.
91
- */
92
- replMode?: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT | undefined;
93
- /**
94
- * Stop evaluating the current piece of code when `SIGINT` is received, i.e. `Ctrl+C` is
95
- * pressed. This cannot be used together with a custom `eval` function.
96
- * @default false
97
- */
98
- breakEvalOnSigint?: boolean | undefined;
99
- }
100
- type REPLEval = (
101
- this: REPLServer,
102
- evalCmd: string,
103
- context: Context,
104
- file: string,
105
- cb: (err: Error | null, result: any) => void,
106
- ) => void;
107
- type REPLWriter = (this: REPLServer, obj: any) => string;
108
- /**
109
- * This is the default "writer" value, if none is passed in the REPL options,
110
- * and it can be overridden by custom print functions.
111
- */
112
- const writer: REPLWriter & {
113
- options: InspectOptions;
114
- };
115
- type REPLCommandAction = (this: REPLServer, text: string) => void;
116
- interface REPLCommand {
117
- /**
118
- * Help text to be displayed when `.help` is entered.
119
- */
120
- help?: string | undefined;
121
- /**
122
- * The function to execute, optionally accepting a single string argument.
123
- */
124
- action: REPLCommandAction;
125
- }
126
- /**
127
- * Instances of `repl.REPLServer` are created using the {@link start} method
128
- * or directly using the JavaScript `new` keyword.
129
- *
130
- * ```js
131
- * import repl from 'node:repl';
132
- *
133
- * const options = { useColors: true };
134
- *
135
- * const firstInstance = repl.start(options);
136
- * const secondInstance = new repl.REPLServer(options);
137
- * ```
138
- * @since v0.1.91
139
- */
140
- class REPLServer extends Interface {
141
- /**
142
- * The `vm.Context` provided to the `eval` function to be used for JavaScript
143
- * evaluation.
144
- */
145
- readonly context: Context;
146
- /**
147
- * @deprecated since v14.3.0 - Use `input` instead.
148
- */
149
- readonly inputStream: NodeJS.ReadableStream;
150
- /**
151
- * @deprecated since v14.3.0 - Use `output` instead.
152
- */
153
- readonly outputStream: NodeJS.WritableStream;
154
- /**
155
- * The `Readable` stream from which REPL input will be read.
156
- */
157
- readonly input: NodeJS.ReadableStream;
158
- /**
159
- * The `Writable` stream to which REPL output will be written.
160
- */
161
- readonly output: NodeJS.WritableStream;
162
- /**
163
- * The commands registered via `replServer.defineCommand()`.
164
- */
165
- readonly commands: NodeJS.ReadOnlyDict<REPLCommand>;
166
- /**
167
- * A value indicating whether the REPL is currently in "editor mode".
168
- *
169
- * @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_commands_and_special_keys
170
- */
171
- readonly editorMode: boolean;
172
- /**
173
- * A value indicating whether the `_` variable has been assigned.
174
- *
175
- * @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
176
- */
177
- readonly underscoreAssigned: boolean;
178
- /**
179
- * The last evaluation result from the REPL (assigned to the `_` variable inside of the REPL).
180
- *
181
- * @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
182
- */
183
- readonly last: any;
184
- /**
185
- * A value indicating whether the `_error` variable has been assigned.
186
- *
187
- * @since v9.8.0
188
- * @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
189
- */
190
- readonly underscoreErrAssigned: boolean;
191
- /**
192
- * The last error raised inside the REPL (assigned to the `_error` variable inside of the REPL).
193
- *
194
- * @since v9.8.0
195
- * @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
196
- */
197
- readonly lastError: any;
198
- /**
199
- * Specified in the REPL options, this is the function to be used when evaluating each
200
- * given line of input. If not specified in the REPL options, this is an async wrapper
201
- * for the JavaScript `eval()` function.
202
- */
203
- readonly eval: REPLEval;
204
- /**
205
- * Specified in the REPL options, this is a value indicating whether the default
206
- * `writer` function should include ANSI color styling to REPL output.
207
- */
208
- readonly useColors: boolean;
209
- /**
210
- * Specified in the REPL options, this is a value indicating whether the default `eval`
211
- * function will use the JavaScript `global` as the context as opposed to creating a new
212
- * separate context for the REPL instance.
213
- */
214
- readonly useGlobal: boolean;
215
- /**
216
- * Specified in the REPL options, this is a value indicating whether the default `writer`
217
- * function should output the result of a command if it evaluates to `undefined`.
218
- */
219
- readonly ignoreUndefined: boolean;
220
- /**
221
- * Specified in the REPL options, this is the function to invoke to format the output of
222
- * each command before writing to `outputStream`. If not specified in the REPL options,
223
- * this will be a wrapper for `util.inspect`.
224
- */
225
- readonly writer: REPLWriter;
226
- /**
227
- * Specified in the REPL options, this is the function to use for custom Tab auto-completion.
228
- */
229
- readonly completer: Completer | AsyncCompleter;
230
- /**
231
- * Specified in the REPL options, this is a flag that specifies whether the default `eval`
232
- * function should execute all JavaScript commands in strict mode or default (sloppy) mode.
233
- * Possible values are:
234
- * - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode.
235
- * - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to
236
- * prefacing every repl statement with `'use strict'`.
237
- */
238
- readonly replMode: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT;
239
- /**
240
- * NOTE: According to the documentation:
241
- *
242
- * > Instances of `repl.REPLServer` are created using the `repl.start()` method and
243
- * > _should not_ be created directly using the JavaScript `new` keyword.
244
- *
245
- * `REPLServer` cannot be subclassed due to implementation specifics in NodeJS.
246
- *
247
- * @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_class_replserver
248
- */
249
- private constructor();
250
- /**
251
- * The `replServer.defineCommand()` method is used to add new `.`\-prefixed commands
252
- * to the REPL instance. Such commands are invoked by typing a `.` followed by the `keyword`. The `cmd` is either a `Function` or an `Object` with the following
253
- * properties:
254
- *
255
- * The following example shows two new commands added to the REPL instance:
256
- *
257
- * ```js
258
- * import repl from 'node:repl';
259
- *
260
- * const replServer = repl.start({ prompt: '> ' });
261
- * replServer.defineCommand('sayhello', {
262
- * help: 'Say hello',
263
- * action(name) {
264
- * this.clearBufferedCommand();
265
- * console.log(`Hello, ${name}!`);
266
- * this.displayPrompt();
267
- * },
268
- * });
269
- * replServer.defineCommand('saybye', function saybye() {
270
- * console.log('Goodbye!');
271
- * this.close();
272
- * });
273
- * ```
274
- *
275
- * The new commands can then be used from within the REPL instance:
276
- *
277
- * ```console
278
- * > .sayhello Node.js User
279
- * Hello, Node.js User!
280
- * > .saybye
281
- * Goodbye!
282
- * ```
283
- * @since v0.3.0
284
- * @param keyword The command keyword (_without_ a leading `.` character).
285
- * @param cmd The function to invoke when the command is processed.
286
- */
287
- defineCommand(keyword: string, cmd: REPLCommandAction | REPLCommand): void;
288
- /**
289
- * The `replServer.displayPrompt()` method readies the REPL instance for input
290
- * from the user, printing the configured `prompt` to a new line in the `output` and resuming the `input` to accept new input.
291
- *
292
- * When multi-line input is being entered, an ellipsis is printed rather than the
293
- * 'prompt'.
294
- *
295
- * When `preserveCursor` is `true`, the cursor placement will not be reset to `0`.
296
- *
297
- * The `replServer.displayPrompt` method is primarily intended to be called from
298
- * within the action function for commands registered using the `replServer.defineCommand()` method.
299
- * @since v0.1.91
300
- */
301
- displayPrompt(preserveCursor?: boolean): void;
302
- /**
303
- * The `replServer.clearBufferedCommand()` method clears any command that has been
304
- * buffered but not yet executed. This method is primarily intended to be
305
- * called from within the action function for commands registered using the `replServer.defineCommand()` method.
306
- * @since v9.0.0
307
- */
308
- clearBufferedCommand(): void;
309
- /**
310
- * Initializes a history log file for the REPL instance. When executing the
311
- * Node.js binary and using the command-line REPL, a history file is initialized
312
- * by default. However, this is not the case when creating a REPL
313
- * programmatically. Use this method to initialize a history log file when working
314
- * with REPL instances programmatically.
315
- * @since v11.10.0
316
- * @param historyPath the path to the history file
317
- * @param callback called when history writes are ready or upon error
318
- */
319
- setupHistory(path: string, callback: (err: Error | null, repl: this) => void): void;
320
- /**
321
- * events.EventEmitter
322
- * 1. close - inherited from `readline.Interface`
323
- * 2. line - inherited from `readline.Interface`
324
- * 3. pause - inherited from `readline.Interface`
325
- * 4. resume - inherited from `readline.Interface`
326
- * 5. SIGCONT - inherited from `readline.Interface`
327
- * 6. SIGINT - inherited from `readline.Interface`
328
- * 7. SIGTSTP - inherited from `readline.Interface`
329
- * 8. exit
330
- * 9. reset
331
- */
332
- addListener(event: string, listener: (...args: any[]) => void): this;
333
- addListener(event: "close", listener: () => void): this;
334
- addListener(event: "line", listener: (input: string) => void): this;
335
- addListener(event: "pause", listener: () => void): this;
336
- addListener(event: "resume", listener: () => void): this;
337
- addListener(event: "SIGCONT", listener: () => void): this;
338
- addListener(event: "SIGINT", listener: () => void): this;
339
- addListener(event: "SIGTSTP", listener: () => void): this;
340
- addListener(event: "exit", listener: () => void): this;
341
- addListener(event: "reset", listener: (context: Context) => void): this;
342
- emit(event: string | symbol, ...args: any[]): boolean;
343
- emit(event: "close"): boolean;
344
- emit(event: "line", input: string): boolean;
345
- emit(event: "pause"): boolean;
346
- emit(event: "resume"): boolean;
347
- emit(event: "SIGCONT"): boolean;
348
- emit(event: "SIGINT"): boolean;
349
- emit(event: "SIGTSTP"): boolean;
350
- emit(event: "exit"): boolean;
351
- emit(event: "reset", context: Context): boolean;
352
- on(event: string, listener: (...args: any[]) => void): this;
353
- on(event: "close", listener: () => void): this;
354
- on(event: "line", listener: (input: string) => void): this;
355
- on(event: "pause", listener: () => void): this;
356
- on(event: "resume", listener: () => void): this;
357
- on(event: "SIGCONT", listener: () => void): this;
358
- on(event: "SIGINT", listener: () => void): this;
359
- on(event: "SIGTSTP", listener: () => void): this;
360
- on(event: "exit", listener: () => void): this;
361
- on(event: "reset", listener: (context: Context) => void): this;
362
- once(event: string, listener: (...args: any[]) => void): this;
363
- once(event: "close", listener: () => void): this;
364
- once(event: "line", listener: (input: string) => void): this;
365
- once(event: "pause", listener: () => void): this;
366
- once(event: "resume", listener: () => void): this;
367
- once(event: "SIGCONT", listener: () => void): this;
368
- once(event: "SIGINT", listener: () => void): this;
369
- once(event: "SIGTSTP", listener: () => void): this;
370
- once(event: "exit", listener: () => void): this;
371
- once(event: "reset", listener: (context: Context) => void): this;
372
- prependListener(event: string, listener: (...args: any[]) => void): this;
373
- prependListener(event: "close", listener: () => void): this;
374
- prependListener(event: "line", listener: (input: string) => void): this;
375
- prependListener(event: "pause", listener: () => void): this;
376
- prependListener(event: "resume", listener: () => void): this;
377
- prependListener(event: "SIGCONT", listener: () => void): this;
378
- prependListener(event: "SIGINT", listener: () => void): this;
379
- prependListener(event: "SIGTSTP", listener: () => void): this;
380
- prependListener(event: "exit", listener: () => void): this;
381
- prependListener(event: "reset", listener: (context: Context) => void): this;
382
- prependOnceListener(event: string, listener: (...args: any[]) => void): this;
383
- prependOnceListener(event: "close", listener: () => void): this;
384
- prependOnceListener(event: "line", listener: (input: string) => void): this;
385
- prependOnceListener(event: "pause", listener: () => void): this;
386
- prependOnceListener(event: "resume", listener: () => void): this;
387
- prependOnceListener(event: "SIGCONT", listener: () => void): this;
388
- prependOnceListener(event: "SIGINT", listener: () => void): this;
389
- prependOnceListener(event: "SIGTSTP", listener: () => void): this;
390
- prependOnceListener(event: "exit", listener: () => void): this;
391
- prependOnceListener(event: "reset", listener: (context: Context) => void): this;
392
- }
393
- /**
394
- * A flag passed in the REPL options. Evaluates expressions in sloppy mode.
395
- */
396
- const REPL_MODE_SLOPPY: unique symbol;
397
- /**
398
- * A flag passed in the REPL options. Evaluates expressions in strict mode.
399
- * This is equivalent to prefacing every repl statement with `'use strict'`.
400
- */
401
- const REPL_MODE_STRICT: unique symbol;
402
- /**
403
- * The `repl.start()` method creates and starts a {@link REPLServer} instance.
404
- *
405
- * If `options` is a string, then it specifies the input prompt:
406
- *
407
- * ```js
408
- * import repl from 'node:repl';
409
- *
410
- * // a Unix style prompt
411
- * repl.start('$ ');
412
- * ```
413
- * @since v0.1.91
414
- */
415
- function start(options?: string | ReplOptions): REPLServer;
416
- /**
417
- * Indicates a recoverable error that a `REPLServer` can use to support multi-line input.
418
- *
419
- * @see https://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_recoverable_errors
420
- */
421
- class Recoverable extends SyntaxError {
422
- err: Error;
423
- constructor(err: Error);
424
- }
425
- }
426
- declare module "node:repl" {
427
- export * from "repl";
428
- }
@@ -1,153 +0,0 @@
1
- /**
2
- * This feature allows the distribution of a Node.js application conveniently to a
3
- * system that does not have Node.js installed.
4
- *
5
- * Node.js supports the creation of [single executable applications](https://github.com/nodejs/single-executable) by allowing
6
- * the injection of a blob prepared by Node.js, which can contain a bundled script,
7
- * into the `node` binary. During start up, the program checks if anything has been
8
- * injected. If the blob is found, it executes the script in the blob. Otherwise
9
- * Node.js operates as it normally does.
10
- *
11
- * The single executable application feature currently only supports running a
12
- * single embedded script using the `CommonJS` module system.
13
- *
14
- * Users can create a single executable application from their bundled script
15
- * with the `node` binary itself and any tool which can inject resources into the
16
- * binary.
17
- *
18
- * Here are the steps for creating a single executable application using one such
19
- * tool, [postject](https://github.com/nodejs/postject):
20
- *
21
- * 1. Create a JavaScript file:
22
- * ```bash
23
- * echo 'console.log(`Hello, ${process.argv[2]}!`);' > hello.js
24
- * ```
25
- * 2. Create a configuration file building a blob that can be injected into the
26
- * single executable application (see `Generating single executable preparation blobs` for details):
27
- * ```bash
28
- * echo '{ "main": "hello.js", "output": "sea-prep.blob" }' > sea-config.json
29
- * ```
30
- * 3. Generate the blob to be injected:
31
- * ```bash
32
- * node --experimental-sea-config sea-config.json
33
- * ```
34
- * 4. Create a copy of the `node` executable and name it according to your needs:
35
- * * On systems other than Windows:
36
- * ```bash
37
- * cp $(command -v node) hello
38
- * ```
39
- * * On Windows:
40
- * ```text
41
- * node -e "require('fs').copyFileSync(process.execPath, 'hello.exe')"
42
- * ```
43
- * The `.exe` extension is necessary.
44
- * 5. Remove the signature of the binary (macOS and Windows only):
45
- * * On macOS:
46
- * ```bash
47
- * codesign --remove-signature hello
48
- * ```
49
- * * On Windows (optional):
50
- * [signtool](https://learn.microsoft.com/en-us/windows/win32/seccrypto/signtool) can be used from the installed [Windows SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/).
51
- * If this step is
52
- * skipped, ignore any signature-related warning from postject.
53
- * ```powershell
54
- * signtool remove /s hello.exe
55
- * ```
56
- * 6. Inject the blob into the copied binary by running `postject` with
57
- * the following options:
58
- * * `hello` / `hello.exe` \- The name of the copy of the `node` executable
59
- * created in step 4.
60
- * * `NODE_SEA_BLOB` \- The name of the resource / note / section in the binary
61
- * where the contents of the blob will be stored.
62
- * * `sea-prep.blob` \- The name of the blob created in step 1.
63
- * * `--sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2` \- The [fuse](https://www.electronjs.org/docs/latest/tutorial/fuses) used by the Node.js project to detect if a file has been
64
- * injected.
65
- * * `--macho-segment-name NODE_SEA` (only needed on macOS) - The name of the
66
- * segment in the binary where the contents of the blob will be
67
- * stored.
68
- * To summarize, here is the required command for each platform:
69
- * * On Linux:
70
- * ```bash
71
- * npx postject hello NODE_SEA_BLOB sea-prep.blob \
72
- * --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2
73
- * ```
74
- * * On Windows - PowerShell:
75
- * ```powershell
76
- * npx postject hello.exe NODE_SEA_BLOB sea-prep.blob `
77
- * --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2
78
- * ```
79
- * * On Windows - Command Prompt:
80
- * ```text
81
- * npx postject hello.exe NODE_SEA_BLOB sea-prep.blob ^
82
- * --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2
83
- * ```
84
- * * On macOS:
85
- * ```bash
86
- * npx postject hello NODE_SEA_BLOB sea-prep.blob \
87
- * --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2 \
88
- * --macho-segment-name NODE_SEA
89
- * ```
90
- * 7. Sign the binary (macOS and Windows only):
91
- * * On macOS:
92
- * ```bash
93
- * codesign --sign - hello
94
- * ```
95
- * * On Windows (optional):
96
- * A certificate needs to be present for this to work. However, the unsigned
97
- * binary would still be runnable.
98
- * ```powershell
99
- * signtool sign /fd SHA256 hello.exe
100
- * ```
101
- * 8. Run the binary:
102
- * * On systems other than Windows
103
- * ```console
104
- * $ ./hello world
105
- * Hello, world!
106
- * ```
107
- * * On Windows
108
- * ```console
109
- * $ .\hello.exe world
110
- * Hello, world!
111
- * ```
112
- * @since v19.7.0, v18.16.0
113
- * @experimental
114
- * @see [source](https://github.com/nodejs/node/blob/v22.x/src/node_sea.cc)
115
- */
116
- declare module "node:sea" {
117
- type AssetKey = string;
118
- /**
119
- * @since v20.12.0
120
- * @return Whether this script is running inside a single-executable application.
121
- */
122
- function isSea(): boolean;
123
- /**
124
- * This method can be used to retrieve the assets configured to be bundled into the
125
- * single-executable application at build time.
126
- * An error is thrown when no matching asset can be found.
127
- * @since v20.12.0
128
- */
129
- function getAsset(key: AssetKey): ArrayBuffer;
130
- function getAsset(key: AssetKey, encoding: string): string;
131
- /**
132
- * Similar to `sea.getAsset()`, but returns the result in a [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob).
133
- * An error is thrown when no matching asset can be found.
134
- * @since v20.12.0
135
- */
136
- function getAssetAsBlob(key: AssetKey, options?: {
137
- type: string;
138
- }): Blob;
139
- /**
140
- * This method can be used to retrieve the assets configured to be bundled into the
141
- * single-executable application at build time.
142
- * An error is thrown when no matching asset can be found.
143
- *
144
- * Unlike `sea.getRawAsset()` or `sea.getAssetAsBlob()`, this method does not
145
- * return a copy. Instead, it returns the raw asset bundled inside the executable.
146
- *
147
- * For now, users should avoid writing to the returned array buffer. If the
148
- * injected section is not marked as writable or not aligned properly,
149
- * writes to the returned array buffer is likely to result in a crash.
150
- * @since v20.12.0
151
- */
152
- function getRawAsset(key: AssetKey): ArrayBuffer;
153
- }