@bobfrankston/mailx 1.0.30 → 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 (313) hide show
  1. package/bin/mailx.js +20 -5
  2. package/client/styles/layout.css +12 -7
  3. package/launcher/builder/postinstall.js +7 -7
  4. package/package.json +4 -4
  5. package/packages/mailx-send/mailsend/node_modules/.package-lock.json +0 -49
  6. package/packages/mailx-send/mailsend/node_modules/@types/node/LICENSE +0 -21
  7. package/packages/mailx-send/mailsend/node_modules/@types/node/README.md +0 -15
  8. package/packages/mailx-send/mailsend/node_modules/@types/node/assert/strict.d.ts +0 -111
  9. package/packages/mailx-send/mailsend/node_modules/@types/node/assert.d.ts +0 -1078
  10. package/packages/mailx-send/mailsend/node_modules/@types/node/async_hooks.d.ts +0 -603
  11. package/packages/mailx-send/mailsend/node_modules/@types/node/buffer.buffer.d.ts +0 -472
  12. package/packages/mailx-send/mailsend/node_modules/@types/node/buffer.d.ts +0 -1934
  13. package/packages/mailx-send/mailsend/node_modules/@types/node/child_process.d.ts +0 -1476
  14. package/packages/mailx-send/mailsend/node_modules/@types/node/cluster.d.ts +0 -578
  15. package/packages/mailx-send/mailsend/node_modules/@types/node/compatibility/disposable.d.ts +0 -14
  16. package/packages/mailx-send/mailsend/node_modules/@types/node/compatibility/index.d.ts +0 -9
  17. package/packages/mailx-send/mailsend/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  18. package/packages/mailx-send/mailsend/node_modules/@types/node/compatibility/iterators.d.ts +0 -20
  19. package/packages/mailx-send/mailsend/node_modules/@types/node/console.d.ts +0 -452
  20. package/packages/mailx-send/mailsend/node_modules/@types/node/constants.d.ts +0 -21
  21. package/packages/mailx-send/mailsend/node_modules/@types/node/crypto.d.ts +0 -4545
  22. package/packages/mailx-send/mailsend/node_modules/@types/node/dgram.d.ts +0 -600
  23. package/packages/mailx-send/mailsend/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  24. package/packages/mailx-send/mailsend/node_modules/@types/node/dns/promises.d.ts +0 -503
  25. package/packages/mailx-send/mailsend/node_modules/@types/node/dns.d.ts +0 -923
  26. package/packages/mailx-send/mailsend/node_modules/@types/node/domain.d.ts +0 -170
  27. package/packages/mailx-send/mailsend/node_modules/@types/node/events.d.ts +0 -976
  28. package/packages/mailx-send/mailsend/node_modules/@types/node/fs/promises.d.ts +0 -1295
  29. package/packages/mailx-send/mailsend/node_modules/@types/node/fs.d.ts +0 -4461
  30. package/packages/mailx-send/mailsend/node_modules/@types/node/globals.d.ts +0 -172
  31. package/packages/mailx-send/mailsend/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  32. package/packages/mailx-send/mailsend/node_modules/@types/node/http.d.ts +0 -2089
  33. package/packages/mailx-send/mailsend/node_modules/@types/node/http2.d.ts +0 -2644
  34. package/packages/mailx-send/mailsend/node_modules/@types/node/https.d.ts +0 -579
  35. package/packages/mailx-send/mailsend/node_modules/@types/node/index.d.ts +0 -97
  36. package/packages/mailx-send/mailsend/node_modules/@types/node/inspector.d.ts +0 -253
  37. package/packages/mailx-send/mailsend/node_modules/@types/node/inspector.generated.d.ts +0 -4052
  38. package/packages/mailx-send/mailsend/node_modules/@types/node/module.d.ts +0 -891
  39. package/packages/mailx-send/mailsend/node_modules/@types/node/net.d.ts +0 -1057
  40. package/packages/mailx-send/mailsend/node_modules/@types/node/os.d.ts +0 -506
  41. package/packages/mailx-send/mailsend/node_modules/@types/node/package.json +0 -145
  42. package/packages/mailx-send/mailsend/node_modules/@types/node/path.d.ts +0 -200
  43. package/packages/mailx-send/mailsend/node_modules/@types/node/perf_hooks.d.ts +0 -968
  44. package/packages/mailx-send/mailsend/node_modules/@types/node/process.d.ts +0 -2084
  45. package/packages/mailx-send/mailsend/node_modules/@types/node/punycode.d.ts +0 -117
  46. package/packages/mailx-send/mailsend/node_modules/@types/node/querystring.d.ts +0 -152
  47. package/packages/mailx-send/mailsend/node_modules/@types/node/readline/promises.d.ts +0 -161
  48. package/packages/mailx-send/mailsend/node_modules/@types/node/readline.d.ts +0 -594
  49. package/packages/mailx-send/mailsend/node_modules/@types/node/repl.d.ts +0 -428
  50. package/packages/mailx-send/mailsend/node_modules/@types/node/sea.d.ts +0 -153
  51. package/packages/mailx-send/mailsend/node_modules/@types/node/sqlite.d.ts +0 -721
  52. package/packages/mailx-send/mailsend/node_modules/@types/node/stream/consumers.d.ts +0 -38
  53. package/packages/mailx-send/mailsend/node_modules/@types/node/stream/promises.d.ts +0 -90
  54. package/packages/mailx-send/mailsend/node_modules/@types/node/stream/web.d.ts +0 -622
  55. package/packages/mailx-send/mailsend/node_modules/@types/node/stream.d.ts +0 -1664
  56. package/packages/mailx-send/mailsend/node_modules/@types/node/string_decoder.d.ts +0 -67
  57. package/packages/mailx-send/mailsend/node_modules/@types/node/test.d.ts +0 -2163
  58. package/packages/mailx-send/mailsend/node_modules/@types/node/timers/promises.d.ts +0 -108
  59. package/packages/mailx-send/mailsend/node_modules/@types/node/timers.d.ts +0 -287
  60. package/packages/mailx-send/mailsend/node_modules/@types/node/tls.d.ts +0 -1319
  61. package/packages/mailx-send/mailsend/node_modules/@types/node/trace_events.d.ts +0 -197
  62. package/packages/mailx-send/mailsend/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  63. package/packages/mailx-send/mailsend/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  64. package/packages/mailx-send/mailsend/node_modules/@types/node/ts5.6/index.d.ts +0 -97
  65. package/packages/mailx-send/mailsend/node_modules/@types/node/tty.d.ts +0 -208
  66. package/packages/mailx-send/mailsend/node_modules/@types/node/url.d.ts +0 -984
  67. package/packages/mailx-send/mailsend/node_modules/@types/node/util.d.ts +0 -2606
  68. package/packages/mailx-send/mailsend/node_modules/@types/node/v8.d.ts +0 -920
  69. package/packages/mailx-send/mailsend/node_modules/@types/node/vm.d.ts +0 -1000
  70. package/packages/mailx-send/mailsend/node_modules/@types/node/wasi.d.ts +0 -181
  71. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  72. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  73. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/events.d.ts +0 -97
  74. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  75. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/navigator.d.ts +0 -22
  76. package/packages/mailx-send/mailsend/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  77. package/packages/mailx-send/mailsend/node_modules/@types/node/worker_threads.d.ts +0 -784
  78. package/packages/mailx-send/mailsend/node_modules/@types/node/zlib.d.ts +0 -747
  79. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/LICENSE +0 -21
  80. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/README.md +0 -15
  81. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/index.d.ts +0 -82
  82. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/addressparser/index.d.ts +0 -31
  83. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/base64/index.d.ts +0 -22
  84. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/dkim/index.d.ts +0 -45
  85. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/dkim/message-parser.d.ts +0 -75
  86. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/dkim/relaxed-body.d.ts +0 -75
  87. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/dkim/sign.d.ts +0 -21
  88. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/fetch/cookies.d.ts +0 -54
  89. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/fetch/index.d.ts +0 -38
  90. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/json-transport/index.d.ts +0 -53
  91. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mail-composer/index.d.ts +0 -25
  92. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mailer/index.d.ts +0 -283
  93. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mailer/mail-message.d.ts +0 -32
  94. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mime-funcs/index.d.ts +0 -87
  95. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mime-funcs/mime-types.d.ts +0 -2
  96. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mime-node/index.d.ts +0 -224
  97. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/mime-node/last-newline.d.ts +0 -9
  98. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/qp/index.d.ts +0 -23
  99. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/sendmail-transport/index.d.ts +0 -53
  100. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/sendmail-transport/le-unix.d.ts +0 -7
  101. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/sendmail-transport/le-windows.d.ts +0 -7
  102. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/ses-transport/index.d.ts +0 -146
  103. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/shared/index.d.ts +0 -58
  104. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-connection/data-stream.d.ts +0 -11
  105. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-connection/http-proxy-client.d.ts +0 -16
  106. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-connection/index.d.ts +0 -270
  107. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-pool/index.d.ts +0 -93
  108. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-pool/pool-resource.d.ts +0 -66
  109. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/smtp-transport/index.d.ts +0 -115
  110. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/stream-transport/index.d.ts +0 -59
  111. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/well-known/index.d.ts +0 -6
  112. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/lib/xoauth2/index.d.ts +0 -114
  113. package/packages/mailx-send/mailsend/node_modules/@types/nodemailer/package.json +0 -38
  114. package/packages/mailx-send/mailsend/node_modules/nodemailer/.ncurc.js +0 -9
  115. package/packages/mailx-send/mailsend/node_modules/nodemailer/.prettierignore +0 -8
  116. package/packages/mailx-send/mailsend/node_modules/nodemailer/.prettierrc +0 -12
  117. package/packages/mailx-send/mailsend/node_modules/nodemailer/.prettierrc.js +0 -10
  118. package/packages/mailx-send/mailsend/node_modules/nodemailer/.release-please-config.json +0 -9
  119. package/packages/mailx-send/mailsend/node_modules/nodemailer/LICENSE +0 -16
  120. package/packages/mailx-send/mailsend/node_modules/nodemailer/README.md +0 -86
  121. package/packages/mailx-send/mailsend/node_modules/nodemailer/SECURITY.txt +0 -22
  122. package/packages/mailx-send/mailsend/node_modules/nodemailer/eslint.config.js +0 -88
  123. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/addressparser/index.js +0 -383
  124. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/base64/index.js +0 -139
  125. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/dkim/index.js +0 -253
  126. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/dkim/message-parser.js +0 -155
  127. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/dkim/relaxed-body.js +0 -154
  128. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/dkim/sign.js +0 -117
  129. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/fetch/cookies.js +0 -281
  130. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/fetch/index.js +0 -280
  131. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/json-transport/index.js +0 -82
  132. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mail-composer/index.js +0 -629
  133. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mailer/index.js +0 -441
  134. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mailer/mail-message.js +0 -316
  135. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-funcs/index.js +0 -625
  136. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-funcs/mime-types.js +0 -2113
  137. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-node/index.js +0 -1316
  138. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-node/last-newline.js +0 -33
  139. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-node/le-unix.js +0 -43
  140. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/mime-node/le-windows.js +0 -52
  141. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/nodemailer.js +0 -157
  142. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/punycode/index.js +0 -460
  143. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/qp/index.js +0 -227
  144. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/sendmail-transport/index.js +0 -210
  145. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/ses-transport/index.js +0 -234
  146. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/shared/index.js +0 -754
  147. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-connection/data-stream.js +0 -108
  148. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js +0 -143
  149. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-connection/index.js +0 -1870
  150. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-pool/index.js +0 -652
  151. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-pool/pool-resource.js +0 -259
  152. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/smtp-transport/index.js +0 -421
  153. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/stream-transport/index.js +0 -135
  154. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/well-known/index.js +0 -47
  155. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/well-known/services.json +0 -611
  156. package/packages/mailx-send/mailsend/node_modules/nodemailer/lib/xoauth2/index.js +0 -427
  157. package/packages/mailx-send/mailsend/node_modules/nodemailer/package.json +0 -47
  158. package/packages/mailx-send/mailsend/node_modules/undici-types/LICENSE +0 -21
  159. package/packages/mailx-send/mailsend/node_modules/undici-types/README.md +0 -6
  160. package/packages/mailx-send/mailsend/node_modules/undici-types/agent.d.ts +0 -31
  161. package/packages/mailx-send/mailsend/node_modules/undici-types/api.d.ts +0 -43
  162. package/packages/mailx-send/mailsend/node_modules/undici-types/balanced-pool.d.ts +0 -29
  163. package/packages/mailx-send/mailsend/node_modules/undici-types/cache.d.ts +0 -36
  164. package/packages/mailx-send/mailsend/node_modules/undici-types/client.d.ts +0 -108
  165. package/packages/mailx-send/mailsend/node_modules/undici-types/connector.d.ts +0 -34
  166. package/packages/mailx-send/mailsend/node_modules/undici-types/content-type.d.ts +0 -21
  167. package/packages/mailx-send/mailsend/node_modules/undici-types/cookies.d.ts +0 -28
  168. package/packages/mailx-send/mailsend/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  169. package/packages/mailx-send/mailsend/node_modules/undici-types/dispatcher.d.ts +0 -256
  170. package/packages/mailx-send/mailsend/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  171. package/packages/mailx-send/mailsend/node_modules/undici-types/errors.d.ts +0 -149
  172. package/packages/mailx-send/mailsend/node_modules/undici-types/eventsource.d.ts +0 -61
  173. package/packages/mailx-send/mailsend/node_modules/undici-types/fetch.d.ts +0 -209
  174. package/packages/mailx-send/mailsend/node_modules/undici-types/file.d.ts +0 -39
  175. package/packages/mailx-send/mailsend/node_modules/undici-types/filereader.d.ts +0 -54
  176. package/packages/mailx-send/mailsend/node_modules/undici-types/formdata.d.ts +0 -108
  177. package/packages/mailx-send/mailsend/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  178. package/packages/mailx-send/mailsend/node_modules/undici-types/global-origin.d.ts +0 -7
  179. package/packages/mailx-send/mailsend/node_modules/undici-types/handlers.d.ts +0 -15
  180. package/packages/mailx-send/mailsend/node_modules/undici-types/header.d.ts +0 -4
  181. package/packages/mailx-send/mailsend/node_modules/undici-types/index.d.ts +0 -71
  182. package/packages/mailx-send/mailsend/node_modules/undici-types/interceptors.d.ts +0 -17
  183. package/packages/mailx-send/mailsend/node_modules/undici-types/mock-agent.d.ts +0 -50
  184. package/packages/mailx-send/mailsend/node_modules/undici-types/mock-client.d.ts +0 -25
  185. package/packages/mailx-send/mailsend/node_modules/undici-types/mock-errors.d.ts +0 -12
  186. package/packages/mailx-send/mailsend/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  187. package/packages/mailx-send/mailsend/node_modules/undici-types/mock-pool.d.ts +0 -25
  188. package/packages/mailx-send/mailsend/node_modules/undici-types/package.json +0 -55
  189. package/packages/mailx-send/mailsend/node_modules/undici-types/patch.d.ts +0 -33
  190. package/packages/mailx-send/mailsend/node_modules/undici-types/pool-stats.d.ts +0 -19
  191. package/packages/mailx-send/mailsend/node_modules/undici-types/pool.d.ts +0 -39
  192. package/packages/mailx-send/mailsend/node_modules/undici-types/proxy-agent.d.ts +0 -28
  193. package/packages/mailx-send/mailsend/node_modules/undici-types/readable.d.ts +0 -65
  194. package/packages/mailx-send/mailsend/node_modules/undici-types/retry-agent.d.ts +0 -8
  195. package/packages/mailx-send/mailsend/node_modules/undici-types/retry-handler.d.ts +0 -116
  196. package/packages/mailx-send/mailsend/node_modules/undici-types/util.d.ts +0 -18
  197. package/packages/mailx-send/mailsend/node_modules/undici-types/webidl.d.ts +0 -228
  198. package/packages/mailx-send/mailsend/node_modules/undici-types/websocket.d.ts +0 -150
  199. package/packages/mailx-send/node_modules/.package-lock.json +0 -49
  200. package/packages/mailx-send/node_modules/@types/node/LICENSE +0 -21
  201. package/packages/mailx-send/node_modules/@types/node/README.md +0 -15
  202. package/packages/mailx-send/node_modules/@types/node/assert/strict.d.ts +0 -111
  203. package/packages/mailx-send/node_modules/@types/node/assert.d.ts +0 -1078
  204. package/packages/mailx-send/node_modules/@types/node/async_hooks.d.ts +0 -603
  205. package/packages/mailx-send/node_modules/@types/node/buffer.buffer.d.ts +0 -472
  206. package/packages/mailx-send/node_modules/@types/node/buffer.d.ts +0 -1934
  207. package/packages/mailx-send/node_modules/@types/node/child_process.d.ts +0 -1476
  208. package/packages/mailx-send/node_modules/@types/node/cluster.d.ts +0 -578
  209. package/packages/mailx-send/node_modules/@types/node/compatibility/disposable.d.ts +0 -14
  210. package/packages/mailx-send/node_modules/@types/node/compatibility/index.d.ts +0 -9
  211. package/packages/mailx-send/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  212. package/packages/mailx-send/node_modules/@types/node/compatibility/iterators.d.ts +0 -20
  213. package/packages/mailx-send/node_modules/@types/node/console.d.ts +0 -452
  214. package/packages/mailx-send/node_modules/@types/node/constants.d.ts +0 -21
  215. package/packages/mailx-send/node_modules/@types/node/crypto.d.ts +0 -4545
  216. package/packages/mailx-send/node_modules/@types/node/dgram.d.ts +0 -600
  217. package/packages/mailx-send/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  218. package/packages/mailx-send/node_modules/@types/node/dns/promises.d.ts +0 -503
  219. package/packages/mailx-send/node_modules/@types/node/dns.d.ts +0 -923
  220. package/packages/mailx-send/node_modules/@types/node/domain.d.ts +0 -170
  221. package/packages/mailx-send/node_modules/@types/node/events.d.ts +0 -976
  222. package/packages/mailx-send/node_modules/@types/node/fs/promises.d.ts +0 -1295
  223. package/packages/mailx-send/node_modules/@types/node/fs.d.ts +0 -4461
  224. package/packages/mailx-send/node_modules/@types/node/globals.d.ts +0 -172
  225. package/packages/mailx-send/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  226. package/packages/mailx-send/node_modules/@types/node/http.d.ts +0 -2089
  227. package/packages/mailx-send/node_modules/@types/node/http2.d.ts +0 -2644
  228. package/packages/mailx-send/node_modules/@types/node/https.d.ts +0 -579
  229. package/packages/mailx-send/node_modules/@types/node/index.d.ts +0 -97
  230. package/packages/mailx-send/node_modules/@types/node/inspector.d.ts +0 -253
  231. package/packages/mailx-send/node_modules/@types/node/inspector.generated.d.ts +0 -4052
  232. package/packages/mailx-send/node_modules/@types/node/module.d.ts +0 -891
  233. package/packages/mailx-send/node_modules/@types/node/net.d.ts +0 -1057
  234. package/packages/mailx-send/node_modules/@types/node/os.d.ts +0 -506
  235. package/packages/mailx-send/node_modules/@types/node/package.json +0 -145
  236. package/packages/mailx-send/node_modules/@types/node/path.d.ts +0 -200
  237. package/packages/mailx-send/node_modules/@types/node/perf_hooks.d.ts +0 -968
  238. package/packages/mailx-send/node_modules/@types/node/process.d.ts +0 -2084
  239. package/packages/mailx-send/node_modules/@types/node/punycode.d.ts +0 -117
  240. package/packages/mailx-send/node_modules/@types/node/querystring.d.ts +0 -152
  241. package/packages/mailx-send/node_modules/@types/node/readline/promises.d.ts +0 -161
  242. package/packages/mailx-send/node_modules/@types/node/readline.d.ts +0 -594
  243. package/packages/mailx-send/node_modules/@types/node/repl.d.ts +0 -428
  244. package/packages/mailx-send/node_modules/@types/node/sea.d.ts +0 -153
  245. package/packages/mailx-send/node_modules/@types/node/sqlite.d.ts +0 -721
  246. package/packages/mailx-send/node_modules/@types/node/stream/consumers.d.ts +0 -38
  247. package/packages/mailx-send/node_modules/@types/node/stream/promises.d.ts +0 -90
  248. package/packages/mailx-send/node_modules/@types/node/stream/web.d.ts +0 -622
  249. package/packages/mailx-send/node_modules/@types/node/stream.d.ts +0 -1664
  250. package/packages/mailx-send/node_modules/@types/node/string_decoder.d.ts +0 -67
  251. package/packages/mailx-send/node_modules/@types/node/test.d.ts +0 -2163
  252. package/packages/mailx-send/node_modules/@types/node/timers/promises.d.ts +0 -108
  253. package/packages/mailx-send/node_modules/@types/node/timers.d.ts +0 -287
  254. package/packages/mailx-send/node_modules/@types/node/tls.d.ts +0 -1319
  255. package/packages/mailx-send/node_modules/@types/node/trace_events.d.ts +0 -197
  256. package/packages/mailx-send/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  257. package/packages/mailx-send/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  258. package/packages/mailx-send/node_modules/@types/node/ts5.6/index.d.ts +0 -97
  259. package/packages/mailx-send/node_modules/@types/node/tty.d.ts +0 -208
  260. package/packages/mailx-send/node_modules/@types/node/url.d.ts +0 -984
  261. package/packages/mailx-send/node_modules/@types/node/util.d.ts +0 -2606
  262. package/packages/mailx-send/node_modules/@types/node/v8.d.ts +0 -920
  263. package/packages/mailx-send/node_modules/@types/node/vm.d.ts +0 -1000
  264. package/packages/mailx-send/node_modules/@types/node/wasi.d.ts +0 -181
  265. package/packages/mailx-send/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  266. package/packages/mailx-send/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  267. package/packages/mailx-send/node_modules/@types/node/web-globals/events.d.ts +0 -97
  268. package/packages/mailx-send/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  269. package/packages/mailx-send/node_modules/@types/node/web-globals/navigator.d.ts +0 -22
  270. package/packages/mailx-send/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  271. package/packages/mailx-send/node_modules/@types/node/worker_threads.d.ts +0 -784
  272. package/packages/mailx-send/node_modules/@types/node/zlib.d.ts +0 -747
  273. package/packages/mailx-send/node_modules/undici-types/LICENSE +0 -21
  274. package/packages/mailx-send/node_modules/undici-types/README.md +0 -6
  275. package/packages/mailx-send/node_modules/undici-types/agent.d.ts +0 -31
  276. package/packages/mailx-send/node_modules/undici-types/api.d.ts +0 -43
  277. package/packages/mailx-send/node_modules/undici-types/balanced-pool.d.ts +0 -29
  278. package/packages/mailx-send/node_modules/undici-types/cache.d.ts +0 -36
  279. package/packages/mailx-send/node_modules/undici-types/client.d.ts +0 -108
  280. package/packages/mailx-send/node_modules/undici-types/connector.d.ts +0 -34
  281. package/packages/mailx-send/node_modules/undici-types/content-type.d.ts +0 -21
  282. package/packages/mailx-send/node_modules/undici-types/cookies.d.ts +0 -28
  283. package/packages/mailx-send/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  284. package/packages/mailx-send/node_modules/undici-types/dispatcher.d.ts +0 -256
  285. package/packages/mailx-send/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  286. package/packages/mailx-send/node_modules/undici-types/errors.d.ts +0 -149
  287. package/packages/mailx-send/node_modules/undici-types/eventsource.d.ts +0 -61
  288. package/packages/mailx-send/node_modules/undici-types/fetch.d.ts +0 -209
  289. package/packages/mailx-send/node_modules/undici-types/file.d.ts +0 -39
  290. package/packages/mailx-send/node_modules/undici-types/filereader.d.ts +0 -54
  291. package/packages/mailx-send/node_modules/undici-types/formdata.d.ts +0 -108
  292. package/packages/mailx-send/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  293. package/packages/mailx-send/node_modules/undici-types/global-origin.d.ts +0 -7
  294. package/packages/mailx-send/node_modules/undici-types/handlers.d.ts +0 -15
  295. package/packages/mailx-send/node_modules/undici-types/header.d.ts +0 -4
  296. package/packages/mailx-send/node_modules/undici-types/index.d.ts +0 -71
  297. package/packages/mailx-send/node_modules/undici-types/interceptors.d.ts +0 -17
  298. package/packages/mailx-send/node_modules/undici-types/mock-agent.d.ts +0 -50
  299. package/packages/mailx-send/node_modules/undici-types/mock-client.d.ts +0 -25
  300. package/packages/mailx-send/node_modules/undici-types/mock-errors.d.ts +0 -12
  301. package/packages/mailx-send/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  302. package/packages/mailx-send/node_modules/undici-types/mock-pool.d.ts +0 -25
  303. package/packages/mailx-send/node_modules/undici-types/package.json +0 -55
  304. package/packages/mailx-send/node_modules/undici-types/patch.d.ts +0 -33
  305. package/packages/mailx-send/node_modules/undici-types/pool-stats.d.ts +0 -19
  306. package/packages/mailx-send/node_modules/undici-types/pool.d.ts +0 -39
  307. package/packages/mailx-send/node_modules/undici-types/proxy-agent.d.ts +0 -28
  308. package/packages/mailx-send/node_modules/undici-types/readable.d.ts +0 -65
  309. package/packages/mailx-send/node_modules/undici-types/retry-agent.d.ts +0 -8
  310. package/packages/mailx-send/node_modules/undici-types/retry-handler.d.ts +0 -116
  311. package/packages/mailx-send/node_modules/undici-types/util.d.ts +0 -18
  312. package/packages/mailx-send/node_modules/undici-types/webidl.d.ts +0 -228
  313. package/packages/mailx-send/node_modules/undici-types/websocket.d.ts +0 -150
@@ -1,503 +0,0 @@
1
- /**
2
- * The `dns.promises` API provides an alternative set of asynchronous DNS methods
3
- * that return `Promise` objects rather than using callbacks. The API is accessible
4
- * via `import { promises as dnsPromises } from 'node:dns'` or `import dnsPromises from 'node:dns/promises'`.
5
- * @since v10.6.0
6
- */
7
- declare module "dns/promises" {
8
- import {
9
- AnyRecord,
10
- CaaRecord,
11
- LookupAddress,
12
- LookupAllOptions,
13
- LookupOneOptions,
14
- LookupOptions,
15
- MxRecord,
16
- NaptrRecord,
17
- RecordWithTtl,
18
- ResolveOptions,
19
- ResolverOptions,
20
- ResolveWithTtlOptions,
21
- SoaRecord,
22
- SrvRecord,
23
- TlsaRecord,
24
- } from "node:dns";
25
- /**
26
- * Returns an array of IP address strings, formatted according to [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6),
27
- * that are currently configured for DNS resolution. A string will include a port
28
- * section if a custom port is used.
29
- *
30
- * ```js
31
- * [
32
- * '4.4.4.4',
33
- * '2001:4860:4860::8888',
34
- * '4.4.4.4:1053',
35
- * '[2001:4860:4860::8888]:1053',
36
- * ]
37
- * ```
38
- * @since v10.6.0
39
- */
40
- function getServers(): string[];
41
- /**
42
- * Resolves a host name (e.g. `'nodejs.org'`) into the first found A (IPv4) or
43
- * AAAA (IPv6) record. All `option` properties are optional. If `options` is an
44
- * integer, then it must be `4` or `6` – if `options` is not provided, then IPv4
45
- * and IPv6 addresses are both returned if found.
46
- *
47
- * With the `all` option set to `true`, the `Promise` is resolved with `addresses` being an array of objects with the properties `address` and `family`.
48
- *
49
- * On error, the `Promise` is rejected with an [`Error`](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-error) object, where `err.code` is the error code.
50
- * Keep in mind that `err.code` will be set to `'ENOTFOUND'` not only when
51
- * the host name does not exist but also when the lookup fails in other ways
52
- * such as no available file descriptors.
53
- *
54
- * [`dnsPromises.lookup()`](https://nodejs.org/docs/latest-v20.x/api/dns.html#dnspromiseslookuphostname-options) does not necessarily have anything to do with the DNS
55
- * protocol. The implementation uses an operating system facility that can
56
- * associate names with addresses and vice versa. This implementation can have
57
- * subtle but important consequences on the behavior of any Node.js program. Please
58
- * take some time to consult the [Implementation considerations section](https://nodejs.org/docs/latest-v20.x/api/dns.html#implementation-considerations) before
59
- * using `dnsPromises.lookup()`.
60
- *
61
- * Example usage:
62
- *
63
- * ```js
64
- * import dns from 'node:dns';
65
- * const dnsPromises = dns.promises;
66
- * const options = {
67
- * family: 6,
68
- * hints: dns.ADDRCONFIG | dns.V4MAPPED,
69
- * };
70
- *
71
- * dnsPromises.lookup('example.com', options).then((result) => {
72
- * console.log('address: %j family: IPv%s', result.address, result.family);
73
- * // address: "2606:2800:220:1:248:1893:25c8:1946" family: IPv6
74
- * });
75
- *
76
- * // When options.all is true, the result will be an Array.
77
- * options.all = true;
78
- * dnsPromises.lookup('example.com', options).then((result) => {
79
- * console.log('addresses: %j', result);
80
- * // addresses: [{"address":"2606:2800:220:1:248:1893:25c8:1946","family":6}]
81
- * });
82
- * ```
83
- * @since v10.6.0
84
- */
85
- function lookup(hostname: string, family: number): Promise<LookupAddress>;
86
- function lookup(hostname: string, options: LookupOneOptions): Promise<LookupAddress>;
87
- function lookup(hostname: string, options: LookupAllOptions): Promise<LookupAddress[]>;
88
- function lookup(hostname: string, options: LookupOptions): Promise<LookupAddress | LookupAddress[]>;
89
- function lookup(hostname: string): Promise<LookupAddress>;
90
- /**
91
- * Resolves the given `address` and `port` into a host name and service using
92
- * the operating system's underlying `getnameinfo` implementation.
93
- *
94
- * If `address` is not a valid IP address, a `TypeError` will be thrown.
95
- * The `port` will be coerced to a number. If it is not a legal port, a `TypeError` will be thrown.
96
- *
97
- * On error, the `Promise` is rejected with an [`Error`](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-error) object, where `err.code` is the error code.
98
- *
99
- * ```js
100
- * import dnsPromises from 'node:dns';
101
- * dnsPromises.lookupService('127.0.0.1', 22).then((result) => {
102
- * console.log(result.hostname, result.service);
103
- * // Prints: localhost ssh
104
- * });
105
- * ```
106
- * @since v10.6.0
107
- */
108
- function lookupService(
109
- address: string,
110
- port: number,
111
- ): Promise<{
112
- hostname: string;
113
- service: string;
114
- }>;
115
- /**
116
- * Uses the DNS protocol to resolve a host name (e.g. `'nodejs.org'`) into an array
117
- * of the resource records. When successful, the `Promise` is resolved with an
118
- * array of resource records. The type and structure of individual results vary
119
- * based on `rrtype`:
120
- *
121
- * <omitted>
122
- *
123
- * On error, the `Promise` is rejected with an [`Error`](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-error) object, where `err.code`
124
- * is one of the [DNS error codes](https://nodejs.org/docs/latest-v20.x/api/dns.html#error-codes).
125
- * @since v10.6.0
126
- * @param hostname Host name to resolve.
127
- * @param [rrtype='A'] Resource record type.
128
- */
129
- function resolve(hostname: string): Promise<string[]>;
130
- function resolve(hostname: string, rrtype: "A" | "AAAA" | "CNAME" | "NS" | "PTR"): Promise<string[]>;
131
- function resolve(hostname: string, rrtype: "ANY"): Promise<AnyRecord[]>;
132
- function resolve(hostname: string, rrtype: "CAA"): Promise<CaaRecord[]>;
133
- function resolve(hostname: string, rrtype: "MX"): Promise<MxRecord[]>;
134
- function resolve(hostname: string, rrtype: "NAPTR"): Promise<NaptrRecord[]>;
135
- function resolve(hostname: string, rrtype: "SOA"): Promise<SoaRecord>;
136
- function resolve(hostname: string, rrtype: "SRV"): Promise<SrvRecord[]>;
137
- function resolve(hostname: string, rrtype: "TLSA"): Promise<TlsaRecord[]>;
138
- function resolve(hostname: string, rrtype: "TXT"): Promise<string[][]>;
139
- function resolve(hostname: string, rrtype: string): Promise<
140
- | string[]
141
- | CaaRecord[]
142
- | MxRecord[]
143
- | NaptrRecord[]
144
- | SoaRecord
145
- | SrvRecord[]
146
- | TlsaRecord[]
147
- | string[][]
148
- | AnyRecord[]
149
- >;
150
- /**
151
- * Uses the DNS protocol to resolve IPv4 addresses (`A` records) for the `hostname`. On success, the `Promise` is resolved with an array of IPv4
152
- * addresses (e.g. `['74.125.79.104', '74.125.79.105', '74.125.79.106']`).
153
- * @since v10.6.0
154
- * @param hostname Host name to resolve.
155
- */
156
- function resolve4(hostname: string): Promise<string[]>;
157
- function resolve4(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
158
- function resolve4(hostname: string, options: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
159
- /**
160
- * Uses the DNS protocol to resolve IPv6 addresses (`AAAA` records) for the `hostname`. On success, the `Promise` is resolved with an array of IPv6
161
- * addresses.
162
- * @since v10.6.0
163
- * @param hostname Host name to resolve.
164
- */
165
- function resolve6(hostname: string): Promise<string[]>;
166
- function resolve6(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
167
- function resolve6(hostname: string, options: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
168
- /**
169
- * Uses the DNS protocol to resolve all records (also known as `ANY` or `*` query).
170
- * On success, the `Promise` is resolved with an array containing various types of
171
- * records. Each object has a property `type` that indicates the type of the
172
- * current record. And depending on the `type`, additional properties will be
173
- * present on the object:
174
- *
175
- * <omitted>
176
- *
177
- * Here is an example of the result object:
178
- *
179
- * ```js
180
- * [ { type: 'A', address: '127.0.0.1', ttl: 299 },
181
- * { type: 'CNAME', value: 'example.com' },
182
- * { type: 'MX', exchange: 'alt4.aspmx.l.example.com', priority: 50 },
183
- * { type: 'NS', value: 'ns1.example.com' },
184
- * { type: 'TXT', entries: [ 'v=spf1 include:_spf.example.com ~all' ] },
185
- * { type: 'SOA',
186
- * nsname: 'ns1.example.com',
187
- * hostmaster: 'admin.example.com',
188
- * serial: 156696742,
189
- * refresh: 900,
190
- * retry: 900,
191
- * expire: 1800,
192
- * minttl: 60 } ]
193
- * ```
194
- * @since v10.6.0
195
- */
196
- function resolveAny(hostname: string): Promise<AnyRecord[]>;
197
- /**
198
- * Uses the DNS protocol to resolve `CAA` records for the `hostname`. On success,
199
- * the `Promise` is resolved with an array of objects containing available
200
- * certification authority authorization records available for the `hostname` (e.g. `[{critical: 0, iodef: 'mailto:pki@example.com'},{critical: 128, issue: 'pki.example.com'}]`).
201
- * @since v15.0.0, v14.17.0
202
- */
203
- function resolveCaa(hostname: string): Promise<CaaRecord[]>;
204
- /**
205
- * Uses the DNS protocol to resolve `CNAME` records for the `hostname`. On success,
206
- * the `Promise` is resolved with an array of canonical name records available for
207
- * the `hostname` (e.g. `['bar.example.com']`).
208
- * @since v10.6.0
209
- */
210
- function resolveCname(hostname: string): Promise<string[]>;
211
- /**
212
- * Uses the DNS protocol to resolve mail exchange records (`MX` records) for the `hostname`. On success, the `Promise` is resolved with an array of objects
213
- * containing both a `priority` and `exchange` property (e.g.`[{priority: 10, exchange: 'mx.example.com'}, ...]`).
214
- * @since v10.6.0
215
- */
216
- function resolveMx(hostname: string): Promise<MxRecord[]>;
217
- /**
218
- * Uses the DNS protocol to resolve regular expression-based records (`NAPTR` records) for the `hostname`. On success, the `Promise` is resolved with an array
219
- * of objects with the following properties:
220
- *
221
- * * `flags`
222
- * * `service`
223
- * * `regexp`
224
- * * `replacement`
225
- * * `order`
226
- * * `preference`
227
- *
228
- * ```js
229
- * {
230
- * flags: 's',
231
- * service: 'SIP+D2U',
232
- * regexp: '',
233
- * replacement: '_sip._udp.example.com',
234
- * order: 30,
235
- * preference: 100
236
- * }
237
- * ```
238
- * @since v10.6.0
239
- */
240
- function resolveNaptr(hostname: string): Promise<NaptrRecord[]>;
241
- /**
242
- * Uses the DNS protocol to resolve name server records (`NS` records) for the `hostname`. On success, the `Promise` is resolved with an array of name server
243
- * records available for `hostname` (e.g.`['ns1.example.com', 'ns2.example.com']`).
244
- * @since v10.6.0
245
- */
246
- function resolveNs(hostname: string): Promise<string[]>;
247
- /**
248
- * Uses the DNS protocol to resolve pointer records (`PTR` records) for the `hostname`. On success, the `Promise` is resolved with an array of strings
249
- * containing the reply records.
250
- * @since v10.6.0
251
- */
252
- function resolvePtr(hostname: string): Promise<string[]>;
253
- /**
254
- * Uses the DNS protocol to resolve a start of authority record (`SOA` record) for
255
- * the `hostname`. On success, the `Promise` is resolved with an object with the
256
- * following properties:
257
- *
258
- * * `nsname`
259
- * * `hostmaster`
260
- * * `serial`
261
- * * `refresh`
262
- * * `retry`
263
- * * `expire`
264
- * * `minttl`
265
- *
266
- * ```js
267
- * {
268
- * nsname: 'ns.example.com',
269
- * hostmaster: 'root.example.com',
270
- * serial: 2013101809,
271
- * refresh: 10000,
272
- * retry: 2400,
273
- * expire: 604800,
274
- * minttl: 3600
275
- * }
276
- * ```
277
- * @since v10.6.0
278
- */
279
- function resolveSoa(hostname: string): Promise<SoaRecord>;
280
- /**
281
- * Uses the DNS protocol to resolve service records (`SRV` records) for the `hostname`. On success, the `Promise` is resolved with an array of objects with
282
- * the following properties:
283
- *
284
- * * `priority`
285
- * * `weight`
286
- * * `port`
287
- * * `name`
288
- *
289
- * ```js
290
- * {
291
- * priority: 10,
292
- * weight: 5,
293
- * port: 21223,
294
- * name: 'service.example.com'
295
- * }
296
- * ```
297
- * @since v10.6.0
298
- */
299
- function resolveSrv(hostname: string): Promise<SrvRecord[]>;
300
- /**
301
- * Uses the DNS protocol to resolve certificate associations (`TLSA` records) for
302
- * the `hostname`. On success, the `Promise` is resolved with an array of objectsAdd commentMore actions
303
- * with these properties:
304
- *
305
- * * `certUsage`
306
- * * `selector`
307
- * * `match`
308
- * * `data`
309
- *
310
- * ```js
311
- * {
312
- * certUsage: 3,
313
- * selector: 1,
314
- * match: 1,
315
- * data: [ArrayBuffer]
316
- * }
317
- * ```
318
- * @since v22.15.0
319
- */
320
- function resolveTlsa(hostname: string): Promise<TlsaRecord[]>;
321
- /**
322
- * Uses the DNS protocol to resolve text queries (`TXT` records) for the `hostname`. On success, the `Promise` is resolved with a two-dimensional array
323
- * of the text records available for `hostname` (e.g.`[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of
324
- * one record. Depending on the use case, these could be either joined together or
325
- * treated separately.
326
- * @since v10.6.0
327
- */
328
- function resolveTxt(hostname: string): Promise<string[][]>;
329
- /**
330
- * Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an
331
- * array of host names.
332
- *
333
- * On error, the `Promise` is rejected with an [`Error`](https://nodejs.org/docs/latest-v20.x/api/errors.html#class-error) object, where `err.code`
334
- * is one of the [DNS error codes](https://nodejs.org/docs/latest-v20.x/api/dns.html#error-codes).
335
- * @since v10.6.0
336
- */
337
- function reverse(ip: string): Promise<string[]>;
338
- /**
339
- * Get the default value for `verbatim` in {@link lookup} and [dnsPromises.lookup()](https://nodejs.org/docs/latest-v20.x/api/dns.html#dnspromiseslookuphostname-options).
340
- * The value could be:
341
- *
342
- * * `ipv4first`: for `verbatim` defaulting to `false`.
343
- * * `verbatim`: for `verbatim` defaulting to `true`.
344
- * @since v20.1.0
345
- */
346
- function getDefaultResultOrder(): "ipv4first" | "verbatim";
347
- /**
348
- * Sets the IP address and port of servers to be used when performing DNS
349
- * resolution. The `servers` argument is an array of [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6) formatted
350
- * addresses. If the port is the IANA default DNS port (53) it can be omitted.
351
- *
352
- * ```js
353
- * dnsPromises.setServers([
354
- * '4.4.4.4',
355
- * '[2001:4860:4860::8888]',
356
- * '4.4.4.4:1053',
357
- * '[2001:4860:4860::8888]:1053',
358
- * ]);
359
- * ```
360
- *
361
- * An error will be thrown if an invalid address is provided.
362
- *
363
- * The `dnsPromises.setServers()` method must not be called while a DNS query is in
364
- * progress.
365
- *
366
- * This method works much like [resolve.conf](https://man7.org/linux/man-pages/man5/resolv.conf.5.html).
367
- * That is, if attempting to resolve with the first server provided results in a `NOTFOUND` error, the `resolve()` method will _not_ attempt to resolve with
368
- * subsequent servers provided. Fallback DNS servers will only be used if the
369
- * earlier ones time out or result in some other error.
370
- * @since v10.6.0
371
- * @param servers array of `RFC 5952` formatted addresses
372
- */
373
- function setServers(servers: readonly string[]): void;
374
- /**
375
- * Set the default value of `order` in `dns.lookup()` and `{@link lookup}`. The value could be:
376
- *
377
- * * `ipv4first`: sets default `order` to `ipv4first`.
378
- * * `ipv6first`: sets default `order` to `ipv6first`.
379
- * * `verbatim`: sets default `order` to `verbatim`.
380
- *
381
- * The default is `verbatim` and [dnsPromises.setDefaultResultOrder()](https://nodejs.org/docs/latest-v20.x/api/dns.html#dnspromisessetdefaultresultorderorder)
382
- * have higher priority than [`--dns-result-order`](https://nodejs.org/docs/latest-v20.x/api/cli.html#--dns-result-orderorder).
383
- * When using [worker threads](https://nodejs.org/docs/latest-v20.x/api/worker_threads.html), [`dnsPromises.setDefaultResultOrder()`](https://nodejs.org/docs/latest-v20.x/api/dns.html#dnspromisessetdefaultresultorderorder)
384
- * from the main thread won't affect the default dns orders in workers.
385
- * @since v16.4.0, v14.18.0
386
- * @param order must be `'ipv4first'`, `'ipv6first'` or `'verbatim'`.
387
- */
388
- function setDefaultResultOrder(order: "ipv4first" | "ipv6first" | "verbatim"): void;
389
- // Error codes
390
- const NODATA: "ENODATA";
391
- const FORMERR: "EFORMERR";
392
- const SERVFAIL: "ESERVFAIL";
393
- const NOTFOUND: "ENOTFOUND";
394
- const NOTIMP: "ENOTIMP";
395
- const REFUSED: "EREFUSED";
396
- const BADQUERY: "EBADQUERY";
397
- const BADNAME: "EBADNAME";
398
- const BADFAMILY: "EBADFAMILY";
399
- const BADRESP: "EBADRESP";
400
- const CONNREFUSED: "ECONNREFUSED";
401
- const TIMEOUT: "ETIMEOUT";
402
- const EOF: "EOF";
403
- const FILE: "EFILE";
404
- const NOMEM: "ENOMEM";
405
- const DESTRUCTION: "EDESTRUCTION";
406
- const BADSTR: "EBADSTR";
407
- const BADFLAGS: "EBADFLAGS";
408
- const NONAME: "ENONAME";
409
- const BADHINTS: "EBADHINTS";
410
- const NOTINITIALIZED: "ENOTINITIALIZED";
411
- const LOADIPHLPAPI: "ELOADIPHLPAPI";
412
- const ADDRGETNETWORKPARAMS: "EADDRGETNETWORKPARAMS";
413
- const CANCELLED: "ECANCELLED";
414
-
415
- /**
416
- * An independent resolver for DNS requests.
417
- *
418
- * Creating a new resolver uses the default server settings. Setting
419
- * the servers used for a resolver using [`resolver.setServers()`](https://nodejs.org/docs/latest-v20.x/api/dns.html#dnspromisessetserversservers) does not affect
420
- * other resolvers:
421
- *
422
- * ```js
423
- * import { promises } from 'node:dns';
424
- * const resolver = new promises.Resolver();
425
- * resolver.setServers(['4.4.4.4']);
426
- *
427
- * // This request will use the server at 4.4.4.4, independent of global settings.
428
- * resolver.resolve4('example.org').then((addresses) => {
429
- * // ...
430
- * });
431
- *
432
- * // Alternatively, the same code can be written using async-await style.
433
- * (async function() {
434
- * const addresses = await resolver.resolve4('example.org');
435
- * })();
436
- * ```
437
- *
438
- * The following methods from the `dnsPromises` API are available:
439
- *
440
- * * `resolver.getServers()`
441
- * * `resolver.resolve()`
442
- * * `resolver.resolve4()`
443
- * * `resolver.resolve6()`
444
- * * `resolver.resolveAny()`
445
- * * `resolver.resolveCaa()`
446
- * * `resolver.resolveCname()`
447
- * * `resolver.resolveMx()`
448
- * * `resolver.resolveNaptr()`
449
- * * `resolver.resolveNs()`
450
- * * `resolver.resolvePtr()`
451
- * * `resolver.resolveSoa()`
452
- * * `resolver.resolveSrv()`
453
- * * `resolver.resolveTxt()`
454
- * * `resolver.reverse()`
455
- * * `resolver.setServers()`
456
- * @since v10.6.0
457
- */
458
- class Resolver {
459
- constructor(options?: ResolverOptions);
460
- /**
461
- * Cancel all outstanding DNS queries made by this resolver. The corresponding
462
- * callbacks will be called with an error with code `ECANCELLED`.
463
- * @since v8.3.0
464
- */
465
- cancel(): void;
466
- getServers: typeof getServers;
467
- resolve: typeof resolve;
468
- resolve4: typeof resolve4;
469
- resolve6: typeof resolve6;
470
- resolveAny: typeof resolveAny;
471
- resolveCaa: typeof resolveCaa;
472
- resolveCname: typeof resolveCname;
473
- resolveMx: typeof resolveMx;
474
- resolveNaptr: typeof resolveNaptr;
475
- resolveNs: typeof resolveNs;
476
- resolvePtr: typeof resolvePtr;
477
- resolveSoa: typeof resolveSoa;
478
- resolveSrv: typeof resolveSrv;
479
- resolveTlsa: typeof resolveTlsa;
480
- resolveTxt: typeof resolveTxt;
481
- reverse: typeof reverse;
482
- /**
483
- * The resolver instance will send its requests from the specified IP address.
484
- * This allows programs to specify outbound interfaces when used on multi-homed
485
- * systems.
486
- *
487
- * If a v4 or v6 address is not specified, it is set to the default and the
488
- * operating system will choose a local address automatically.
489
- *
490
- * The resolver will use the v4 local address when making requests to IPv4 DNS
491
- * servers, and the v6 local address when making requests to IPv6 DNS servers.
492
- * The `rrtype` of resolution requests has no impact on the local address used.
493
- * @since v15.1.0, v14.17.0
494
- * @param [ipv4='0.0.0.0'] A string representation of an IPv4 address.
495
- * @param [ipv6='::0'] A string representation of an IPv6 address.
496
- */
497
- setLocalAddress(ipv4?: string, ipv6?: string): void;
498
- setServers: typeof setServers;
499
- }
500
- }
501
- declare module "node:dns/promises" {
502
- export * from "dns/promises";
503
- }