cloudstructs 0.6.32 → 0.6.34

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 (599) hide show
  1. package/.gitattributes +1 -0
  2. package/.jsii +3 -3
  3. package/lib/codecommit-mirror/index.js +2 -2
  4. package/lib/dmarc/index.js +1 -1
  5. package/lib/ecs-service-roller/index.js +2 -2
  6. package/lib/email-receiver/receiver.js +1 -1
  7. package/lib/saml-identity-provider/index.js +2 -2
  8. package/lib/slack-app/manifest.js +1 -1
  9. package/lib/slack-app/slack-app.js +2 -2
  10. package/lib/slack-events/index.js +1 -1
  11. package/lib/slack-textract/index.js +1 -1
  12. package/lib/ssl-server-test/index.js +1 -1
  13. package/lib/state-machine-cr-provider/index.js +1 -1
  14. package/lib/static-website/index.js +1 -1
  15. package/lib/toolkit-cleaner/index.js +1 -1
  16. package/lib/url-shortener/index.js +1 -1
  17. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  18. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +86 -75
  19. package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +66 -49
  20. package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +136 -97
  21. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +81 -55
  22. package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +12 -12
  23. package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +5 -5
  24. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +210 -221
  25. package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +15 -15
  26. package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  27. package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +50 -6
  28. package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +25 -16
  29. package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +4 -4
  30. package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +111 -65
  31. package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +80 -49
  32. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +162 -91
  33. package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +3 -1
  34. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +195 -129
  35. package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +42 -46
  36. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +52 -153
  37. package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +1 -1
  38. package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +10 -3
  39. package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +5 -4
  40. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +21 -18
  41. package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +22 -18
  42. package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
  43. package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +4 -4
  44. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +28 -15
  45. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +43 -46
  46. package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +1 -1
  47. package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +5 -5
  48. package/node_modules/@slack/logger/node_modules/@types/node/readline/promises.d.ts +65 -63
  49. package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +32 -159
  50. package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +20 -20
  51. package/node_modules/@slack/logger/node_modules/@types/node/stream/consumers.d.ts +1 -1
  52. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +839 -857
  53. package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +6 -6
  54. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +498 -206
  55. package/node_modules/@slack/logger/node_modules/@types/node/timers/promises.d.ts +3 -3
  56. package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +122 -8
  57. package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +34 -22
  58. package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +20 -9
  59. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
  60. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
  61. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
  62. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
  63. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  64. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  65. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
  66. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  67. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  68. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
  69. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
  70. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  71. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/events.d.ts +111 -65
  72. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  73. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
  74. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
  75. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/http.d.ts +202 -129
  76. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  77. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  78. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  79. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  80. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  81. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  82. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  83. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  84. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  85. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  86. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  87. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
  88. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
  89. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
  90. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  91. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  92. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  93. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/test.d.ts +498 -206
  94. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  95. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
  96. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  97. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  98. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  99. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/url.d.ts +46 -42
  100. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/util.d.ts +150 -109
  101. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  102. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  103. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  104. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  105. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  106. package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +4 -5
  107. package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +46 -42
  108. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +150 -109
  109. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +204 -16
  110. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +292 -42
  111. package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +13 -19
  112. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +38 -34
  113. package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +11 -11
  114. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  115. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +86 -75
  116. package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +66 -49
  117. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +136 -97
  118. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +81 -55
  119. package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +12 -12
  120. package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +5 -5
  121. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +210 -221
  122. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +15 -15
  123. package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  124. package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +50 -6
  125. package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +25 -16
  126. package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +4 -4
  127. package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +111 -65
  128. package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +80 -49
  129. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +162 -91
  130. package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +3 -1
  131. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +195 -129
  132. package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +42 -46
  133. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +52 -153
  134. package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +1 -1
  135. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +10 -3
  136. package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +5 -4
  137. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +21 -18
  138. package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +22 -18
  139. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  140. package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +4 -4
  141. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +28 -15
  142. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +43 -46
  143. package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +1 -1
  144. package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +5 -5
  145. package/node_modules/@slack/web-api/node_modules/@types/node/readline/promises.d.ts +65 -63
  146. package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +32 -159
  147. package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +20 -20
  148. package/node_modules/@slack/web-api/node_modules/@types/node/stream/consumers.d.ts +1 -1
  149. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +839 -857
  150. package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +6 -6
  151. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +498 -206
  152. package/node_modules/@slack/web-api/node_modules/@types/node/timers/promises.d.ts +3 -3
  153. package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +122 -8
  154. package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +34 -22
  155. package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +20 -9
  156. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
  157. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
  158. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
  159. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
  160. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  161. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  162. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
  163. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  164. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  165. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
  166. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
  167. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  168. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/events.d.ts +111 -65
  169. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  170. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
  171. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
  172. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/http.d.ts +202 -129
  173. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  174. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  175. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  176. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  177. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  178. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  179. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  180. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  181. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  182. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  183. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  184. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
  185. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
  186. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
  187. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  188. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  189. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  190. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/test.d.ts +498 -206
  191. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  192. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
  193. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  194. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  195. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  196. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/url.d.ts +46 -42
  197. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/util.d.ts +150 -109
  198. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  199. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  200. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  201. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  202. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  203. package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +4 -5
  204. package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +46 -42
  205. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +150 -109
  206. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +204 -16
  207. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +292 -42
  208. package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +13 -19
  209. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +38 -34
  210. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +11 -11
  211. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  212. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +86 -75
  213. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +66 -49
  214. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +136 -97
  215. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +81 -55
  216. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +12 -12
  217. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +5 -5
  218. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +210 -221
  219. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +15 -15
  220. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  221. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +50 -6
  222. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +25 -16
  223. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +4 -4
  224. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +111 -65
  225. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +80 -49
  226. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +162 -91
  227. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +3 -1
  228. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +195 -129
  229. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +42 -46
  230. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +52 -153
  231. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +1 -1
  232. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +10 -3
  233. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +5 -4
  234. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +21 -18
  235. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +22 -18
  236. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  237. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +4 -4
  238. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +28 -15
  239. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +43 -46
  240. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +1 -1
  241. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +5 -5
  242. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +65 -63
  243. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +32 -159
  244. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +20 -20
  245. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/consumers.d.ts +1 -1
  246. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +839 -857
  247. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +6 -6
  248. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +498 -206
  249. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +3 -3
  250. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +122 -8
  251. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +34 -22
  252. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +20 -9
  253. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
  254. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
  255. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
  256. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
  257. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  258. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  259. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
  260. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  261. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  262. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
  263. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
  264. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  265. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/events.d.ts +111 -65
  266. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  267. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
  268. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
  269. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/http.d.ts +202 -129
  270. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  271. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  272. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  273. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  274. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  275. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  276. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  277. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  278. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  279. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  280. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  281. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
  282. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
  283. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
  284. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  285. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  286. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  287. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/test.d.ts +498 -206
  288. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  289. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
  290. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  291. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  292. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  293. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/url.d.ts +46 -42
  294. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/util.d.ts +150 -109
  295. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  296. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  297. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  298. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  299. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  300. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +4 -5
  301. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +46 -42
  302. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +150 -109
  303. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +204 -16
  304. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +292 -42
  305. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +13 -19
  306. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +38 -34
  307. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +11 -11
  308. package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
  309. package/node_modules/@types/is-stream/node_modules/@types/node/assert.d.ts +86 -75
  310. package/node_modules/@types/is-stream/node_modules/@types/node/async_hooks.d.ts +66 -49
  311. package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +136 -97
  312. package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +81 -55
  313. package/node_modules/@types/is-stream/node_modules/@types/node/cluster.d.ts +12 -12
  314. package/node_modules/@types/is-stream/node_modules/@types/node/console.d.ts +5 -5
  315. package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +210 -221
  316. package/node_modules/@types/is-stream/node_modules/@types/node/dgram.d.ts +15 -15
  317. package/node_modules/@types/is-stream/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  318. package/node_modules/@types/is-stream/node_modules/@types/node/dns/promises.d.ts +50 -6
  319. package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +25 -16
  320. package/node_modules/@types/is-stream/node_modules/@types/node/domain.d.ts +4 -4
  321. package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +111 -65
  322. package/node_modules/@types/is-stream/node_modules/@types/node/fs/promises.d.ts +80 -49
  323. package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +162 -91
  324. package/node_modules/@types/is-stream/node_modules/@types/node/globals.d.ts +3 -1
  325. package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +195 -129
  326. package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +42 -46
  327. package/node_modules/@types/is-stream/node_modules/@types/node/https.d.ts +52 -153
  328. package/node_modules/@types/is-stream/node_modules/@types/node/index.d.ts +1 -1
  329. package/node_modules/@types/is-stream/node_modules/@types/node/inspector.d.ts +10 -3
  330. package/node_modules/@types/is-stream/node_modules/@types/node/module.d.ts +5 -4
  331. package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +21 -18
  332. package/node_modules/@types/is-stream/node_modules/@types/node/os.d.ts +22 -18
  333. package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
  334. package/node_modules/@types/is-stream/node_modules/@types/node/path.d.ts +4 -4
  335. package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +28 -15
  336. package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +43 -46
  337. package/node_modules/@types/is-stream/node_modules/@types/node/punycode.d.ts +1 -1
  338. package/node_modules/@types/is-stream/node_modules/@types/node/querystring.d.ts +5 -5
  339. package/node_modules/@types/is-stream/node_modules/@types/node/readline/promises.d.ts +65 -63
  340. package/node_modules/@types/is-stream/node_modules/@types/node/readline.d.ts +32 -159
  341. package/node_modules/@types/is-stream/node_modules/@types/node/repl.d.ts +20 -20
  342. package/node_modules/@types/is-stream/node_modules/@types/node/stream/consumers.d.ts +1 -1
  343. package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +839 -857
  344. package/node_modules/@types/is-stream/node_modules/@types/node/string_decoder.d.ts +6 -6
  345. package/node_modules/@types/is-stream/node_modules/@types/node/test.d.ts +498 -206
  346. package/node_modules/@types/is-stream/node_modules/@types/node/timers/promises.d.ts +3 -3
  347. package/node_modules/@types/is-stream/node_modules/@types/node/timers.d.ts +122 -8
  348. package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +34 -22
  349. package/node_modules/@types/is-stream/node_modules/@types/node/trace_events.d.ts +20 -9
  350. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
  351. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
  352. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
  353. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
  354. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  355. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  356. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
  357. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  358. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  359. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
  360. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
  361. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  362. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/events.d.ts +111 -65
  363. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  364. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
  365. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
  366. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/http.d.ts +202 -129
  367. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  368. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  369. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  370. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  371. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  372. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  373. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  374. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  375. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  376. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  377. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  378. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
  379. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
  380. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
  381. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  382. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  383. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  384. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/test.d.ts +498 -206
  385. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  386. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
  387. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  388. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  389. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  390. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/url.d.ts +46 -42
  391. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/util.d.ts +150 -109
  392. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  393. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  394. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  395. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  396. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  397. package/node_modules/@types/is-stream/node_modules/@types/node/tty.d.ts +4 -5
  398. package/node_modules/@types/is-stream/node_modules/@types/node/url.d.ts +46 -42
  399. package/node_modules/@types/is-stream/node_modules/@types/node/util.d.ts +150 -109
  400. package/node_modules/@types/is-stream/node_modules/@types/node/v8.d.ts +204 -16
  401. package/node_modules/@types/is-stream/node_modules/@types/node/vm.d.ts +292 -42
  402. package/node_modules/@types/is-stream/node_modules/@types/node/wasi.d.ts +13 -19
  403. package/node_modules/@types/is-stream/node_modules/@types/node/worker_threads.d.ts +38 -34
  404. package/node_modules/@types/is-stream/node_modules/@types/node/zlib.d.ts +11 -11
  405. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  406. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +86 -75
  407. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +66 -49
  408. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +136 -97
  409. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +81 -55
  410. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +12 -12
  411. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +5 -5
  412. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +210 -221
  413. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +15 -15
  414. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  415. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +50 -6
  416. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +25 -16
  417. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +4 -4
  418. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +111 -65
  419. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +80 -49
  420. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +162 -91
  421. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +3 -1
  422. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +195 -129
  423. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +42 -46
  424. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +52 -153
  425. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +1 -1
  426. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +10 -3
  427. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +5 -4
  428. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +21 -18
  429. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +22 -18
  430. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  431. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +4 -4
  432. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +28 -15
  433. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +43 -46
  434. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +1 -1
  435. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +5 -5
  436. package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +65 -63
  437. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +32 -159
  438. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +20 -20
  439. package/node_modules/@types/keyv/node_modules/@types/node/stream/consumers.d.ts +1 -1
  440. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +839 -857
  441. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +6 -6
  442. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +498 -206
  443. package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +3 -3
  444. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +122 -8
  445. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +34 -22
  446. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +20 -9
  447. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
  448. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
  449. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
  450. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
  451. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  452. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  453. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
  454. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  455. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  456. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
  457. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
  458. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  459. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/events.d.ts +111 -65
  460. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  461. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
  462. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
  463. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/http.d.ts +202 -129
  464. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  465. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  466. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  467. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  468. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  469. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  470. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  471. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  472. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  473. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  474. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  475. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
  476. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
  477. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
  478. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  479. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  480. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  481. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/test.d.ts +498 -206
  482. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  483. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
  484. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  485. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  486. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  487. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/url.d.ts +46 -42
  488. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/util.d.ts +150 -109
  489. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  490. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  491. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  492. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  493. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  494. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +4 -5
  495. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +46 -42
  496. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +150 -109
  497. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +204 -16
  498. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +292 -42
  499. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +13 -19
  500. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +38 -34
  501. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +11 -11
  502. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  503. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +86 -75
  504. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +66 -49
  505. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +136 -97
  506. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +81 -55
  507. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +12 -12
  508. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +5 -5
  509. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +210 -221
  510. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +15 -15
  511. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  512. package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +50 -6
  513. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +25 -16
  514. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +4 -4
  515. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +111 -65
  516. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +80 -49
  517. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +162 -91
  518. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +3 -1
  519. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +195 -129
  520. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +42 -46
  521. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +52 -153
  522. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +1 -1
  523. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +10 -3
  524. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +5 -4
  525. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +21 -18
  526. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +22 -18
  527. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  528. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +4 -4
  529. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +28 -15
  530. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +43 -46
  531. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +1 -1
  532. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +5 -5
  533. package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +65 -63
  534. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +32 -159
  535. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +20 -20
  536. package/node_modules/@types/responselike/node_modules/@types/node/stream/consumers.d.ts +1 -1
  537. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +839 -857
  538. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +6 -6
  539. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +498 -206
  540. package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +3 -3
  541. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +122 -8
  542. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +34 -22
  543. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +20 -9
  544. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/assert.d.ts +86 -75
  545. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/async_hooks.d.ts +66 -49
  546. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/buffer.d.ts +137 -99
  547. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/child_process.d.ts +81 -55
  548. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  549. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  550. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/crypto.d.ts +210 -221
  551. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  552. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  553. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dns/promises.d.ts +50 -6
  554. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dns.d.ts +25 -16
  555. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  556. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/events.d.ts +111 -65
  557. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  558. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/fs.d.ts +243 -72
  559. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/globals.d.ts +20 -11
  560. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/http.d.ts +202 -129
  561. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  562. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  563. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  564. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  565. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  566. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  567. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  568. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  569. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  570. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  571. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  572. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/readline/promises.d.ts +65 -63
  573. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/readline.d.ts +32 -159
  574. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/repl.d.ts +20 -20
  575. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  576. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  577. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  578. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/test.d.ts +498 -206
  579. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  580. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/timers.d.ts +125 -4
  581. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  582. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  583. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  584. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/url.d.ts +46 -42
  585. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/util.d.ts +150 -109
  586. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  587. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  588. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  589. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  590. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  591. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +4 -5
  592. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +46 -42
  593. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +150 -109
  594. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +204 -16
  595. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +292 -42
  596. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +13 -19
  597. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +38 -34
  598. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +11 -11
  599. package/package.json +20 -20
@@ -10,7 +10,7 @@
10
10
  * recommended to explicitly reference it via an import or require statement.
11
11
  *
12
12
  * ```js
13
- * import { Buffer } from 'buffer';
13
+ * import { Buffer } from 'node:buffer';
14
14
  *
15
15
  * // Creates a zero-filled Buffer of length 10.
16
16
  * const buf1 = Buffer.alloc(10);
@@ -41,12 +41,28 @@
41
41
  * // Creates a Buffer containing the Latin-1 bytes [0x74, 0xe9, 0x73, 0x74].
42
42
  * const buf7 = Buffer.from('tést', 'latin1');
43
43
  * ```
44
- * @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/buffer.js)
44
+ * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/buffer.js)
45
45
  */
46
46
  declare module 'buffer' {
47
47
  import { BinaryLike } from 'node:crypto';
48
48
  import { ReadableStream as WebReadableStream } from 'node:stream/web';
49
+ /**
50
+ * This function returns `true` if `input` contains only valid UTF-8-encoded data,
51
+ * including the case in which `input` is empty.
52
+ *
53
+ * Throws if the `input` is a detached array buffer.
54
+ * @since v19.4.0, v18.14.0
55
+ * @param input The input to validate.
56
+ */
49
57
  export function isUtf8(input: Buffer | ArrayBuffer | NodeJS.TypedArray): boolean;
58
+ /**
59
+ * This function returns `true` if `input` contains only valid ASCII-encoded data,
60
+ * including the case in which `input` is empty.
61
+ *
62
+ * Throws if the `input` is a detached array buffer.
63
+ * @since v19.6.0, v18.15.0
64
+ * @param input The input to validate.
65
+ */
50
66
  export function isAscii(input: Buffer | ArrayBuffer | NodeJS.TypedArray): boolean;
51
67
  export const INSPECT_MAX_BYTES: number;
52
68
  export const kMaxLength: number;
@@ -69,7 +85,7 @@ declare module 'buffer' {
69
85
  * sequence cannot be adequately represented in the target encoding. For instance:
70
86
  *
71
87
  * ```js
72
- * import { Buffer, transcode } from 'buffer';
88
+ * import { Buffer, transcode } from 'node:buffer';
73
89
  *
74
90
  * const newBuf = transcode(Buffer.from('€'), 'utf8', 'ascii');
75
91
  * console.log(newBuf.toString('ascii'));
@@ -160,7 +176,7 @@ declare module 'buffer' {
160
176
  */
161
177
  text(): Promise<string>;
162
178
  /**
163
- * Returns a new (WHATWG) `ReadableStream` that allows the content of the `Blob` to be read.
179
+ * Returns a new `ReadableStream` that allows the content of the `Blob` to be read.
164
180
  * @since v16.7.0
165
181
  */
166
182
  stream(): WebReadableStream;
@@ -178,31 +194,31 @@ declare module 'buffer' {
178
194
  }
179
195
  /**
180
196
  * A [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File) provides information about files.
181
- * @experimental
182
- * @since v18.13.0
197
+ * @since v19.2.0, v18.13.0
183
198
  */
184
199
  export class File extends Blob {
185
200
  constructor(sources: Array<BinaryLike | Blob>, fileName: string, options?: FileOptions);
186
201
  /**
187
202
  * The name of the `File`.
188
- * @since v18.13.0
203
+ * @since v19.2.0, v18.13.0
189
204
  */
190
205
  readonly name: string;
191
206
  /**
192
207
  * The last modified date of the `File`.
193
- * @since v18.13.0
208
+ * @since v19.2.0, v18.13.0
194
209
  */
195
210
  readonly lastModified: number;
196
211
  }
197
212
  export import atob = globalThis.atob;
198
213
  export import btoa = globalThis.btoa;
199
-
200
214
  import { Blob as NodeBlob } from 'buffer';
201
215
  // This conditional type will be the existing global Blob in a browser, or
202
216
  // the copy below in a Node environment.
203
- type __Blob = typeof globalThis extends { onmessage: any; Blob: any } ? {} : NodeBlob;
204
-
217
+ type __Blob = typeof globalThis extends { onmessage: any; Blob: infer T } ? T : NodeBlob;
205
218
  global {
219
+ namespace NodeJS {
220
+ export { BufferEncoding };
221
+ }
206
222
  // Buffer class
207
223
  type BufferEncoding =
208
224
  | 'ascii'
@@ -277,7 +293,7 @@ declare module 'buffer' {
277
293
  * Array entries outside that range will be truncated to fit into it.
278
294
  *
279
295
  * ```js
280
- * import { Buffer } from 'buffer';
296
+ * import { Buffer } from 'node:buffer';
281
297
  *
282
298
  * // Creates a new Buffer containing the UTF-8 bytes of the string 'buffer'.
283
299
  * const buf = Buffer.from([0x62, 0x75, 0x66, 0x66, 0x65, 0x72]);
@@ -322,7 +338,7 @@ declare module 'buffer' {
322
338
  * Returns `true` if `obj` is a `Buffer`, `false` otherwise.
323
339
  *
324
340
  * ```js
325
- * import { Buffer } from 'buffer';
341
+ * import { Buffer } from 'node:buffer';
326
342
  *
327
343
  * Buffer.isBuffer(Buffer.alloc(10)); // true
328
344
  * Buffer.isBuffer(Buffer.from('foo')); // true
@@ -338,7 +354,7 @@ declare module 'buffer' {
338
354
  * or `false` otherwise.
339
355
  *
340
356
  * ```js
341
- * import { Buffer } from 'buffer';
357
+ * import { Buffer } from 'node:buffer';
342
358
  *
343
359
  * console.log(Buffer.isEncoding('utf8'));
344
360
  * // Prints: true
@@ -367,7 +383,7 @@ declare module 'buffer' {
367
383
  * string.
368
384
  *
369
385
  * ```js
370
- * import { Buffer } from 'buffer';
386
+ * import { Buffer } from 'node:buffer';
371
387
  *
372
388
  * const str = '\u00bd + \u00bc = \u00be';
373
389
  *
@@ -402,7 +418,7 @@ declare module 'buffer' {
402
418
  * truncated to `totalLength`.
403
419
  *
404
420
  * ```js
405
- * import { Buffer } from 'buffer';
421
+ * import { Buffer } from 'node:buffer';
406
422
  *
407
423
  * // Create a single `Buffer` from a list of three `Buffer` instances.
408
424
  *
@@ -428,11 +444,28 @@ declare module 'buffer' {
428
444
  * @param totalLength Total length of the `Buffer` instances in `list` when concatenated.
429
445
  */
430
446
  concat(list: ReadonlyArray<Uint8Array>, totalLength?: number): Buffer;
447
+ /**
448
+ * Copies the underlying memory of `view` into a new `Buffer`.
449
+ *
450
+ * ```js
451
+ * const u16 = new Uint16Array([0, 0xffff]);
452
+ * const buf = Buffer.copyBytesFrom(u16, 1, 1);
453
+ * u16[1] = 0;
454
+ * console.log(buf.length); // 2
455
+ * console.log(buf[0]); // 255
456
+ * console.log(buf[1]); // 255
457
+ * ```
458
+ * @since v19.8.0
459
+ * @param view The {TypedArray} to copy.
460
+ * @param [offset=': 0'] The starting offset within `view`.
461
+ * @param [length=view.length - offset] The number of elements from `view` to copy.
462
+ */
463
+ copyBytesFrom(view: NodeJS.TypedArray, offset?: number, length?: number): Buffer;
431
464
  /**
432
465
  * Compares `buf1` to `buf2`, typically for the purpose of sorting arrays of`Buffer` instances. This is equivalent to calling `buf1.compare(buf2)`.
433
466
  *
434
467
  * ```js
435
- * import { Buffer } from 'buffer';
468
+ * import { Buffer } from 'node:buffer';
436
469
  *
437
470
  * const buf1 = Buffer.from('1234');
438
471
  * const buf2 = Buffer.from('0123');
@@ -450,7 +483,7 @@ declare module 'buffer' {
450
483
  * Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the`Buffer` will be zero-filled.
451
484
  *
452
485
  * ```js
453
- * import { Buffer } from 'buffer';
486
+ * import { Buffer } from 'node:buffer';
454
487
  *
455
488
  * const buf = Buffer.alloc(5);
456
489
  *
@@ -458,12 +491,12 @@ declare module 'buffer' {
458
491
  * // Prints: <Buffer 00 00 00 00 00>
459
492
  * ```
460
493
  *
461
- * If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_INVALID_ARG_VALUE` is thrown.
494
+ * If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_OUT_OF_RANGE` is thrown.
462
495
  *
463
496
  * If `fill` is specified, the allocated `Buffer` will be initialized by calling `buf.fill(fill)`.
464
497
  *
465
498
  * ```js
466
- * import { Buffer } from 'buffer';
499
+ * import { Buffer } from 'node:buffer';
467
500
  *
468
501
  * const buf = Buffer.alloc(5, 'a');
469
502
  *
@@ -475,7 +508,7 @@ declare module 'buffer' {
475
508
  * initialized by calling `buf.fill(fill, encoding)`.
476
509
  *
477
510
  * ```js
478
- * import { Buffer } from 'buffer';
511
+ * import { Buffer } from 'node:buffer';
479
512
  *
480
513
  * const buf = Buffer.alloc(11, 'aGVsbG8gd29ybGQ=', 'base64');
481
514
  *
@@ -495,13 +528,13 @@ declare module 'buffer' {
495
528
  */
496
529
  alloc(size: number, fill?: string | Buffer | number, encoding?: BufferEncoding): Buffer;
497
530
  /**
498
- * Allocates a new `Buffer` of `size` bytes. If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_INVALID_ARG_VALUE` is thrown.
531
+ * Allocates a new `Buffer` of `size` bytes. If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_OUT_OF_RANGE` is thrown.
499
532
  *
500
533
  * The underlying memory for `Buffer` instances created in this way is _not_
501
534
  * _initialized_. The contents of the newly created `Buffer` are unknown and _may contain sensitive data_. Use `Buffer.alloc()` instead to initialize`Buffer` instances with zeroes.
502
535
  *
503
536
  * ```js
504
- * import { Buffer } from 'buffer';
537
+ * import { Buffer } from 'node:buffer';
505
538
  *
506
539
  * const buf = Buffer.allocUnsafe(10);
507
540
  *
@@ -532,15 +565,15 @@ declare module 'buffer' {
532
565
  */
533
566
  allocUnsafe(size: number): Buffer;
534
567
  /**
535
- * Allocates a new `Buffer` of `size` bytes. If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_INVALID_ARG_VALUE` is thrown. A zero-length `Buffer` is created
536
- * if `size` is 0.
568
+ * Allocates a new `Buffer` of `size` bytes. If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_OUT_OF_RANGE` is thrown. A zero-length `Buffer` is created if
569
+ * `size` is 0.
537
570
  *
538
571
  * The underlying memory for `Buffer` instances created in this way is _not_
539
572
  * _initialized_. The contents of the newly created `Buffer` are unknown and _may contain sensitive data_. Use `buf.fill(0)` to initialize
540
573
  * such `Buffer` instances with zeroes.
541
574
  *
542
575
  * When using `Buffer.allocUnsafe()` to allocate new `Buffer` instances,
543
- * allocations under 4 KB are sliced from a single pre-allocated `Buffer`. This
576
+ * allocations under 4 KiB are sliced from a single pre-allocated `Buffer`. This
544
577
  * allows applications to avoid the garbage collection overhead of creating many
545
578
  * individually allocated `Buffer` instances. This approach improves both
546
579
  * performance and memory usage by eliminating the need to track and clean up as
@@ -552,7 +585,7 @@ declare module 'buffer' {
552
585
  * then copying out the relevant bits.
553
586
  *
554
587
  * ```js
555
- * import { Buffer } from 'buffer';
588
+ * import { Buffer } from 'node:buffer';
556
589
  *
557
590
  * // Need to keep around a few small chunks of memory.
558
591
  * const store = [];
@@ -590,7 +623,7 @@ declare module 'buffer' {
590
623
  * written. However, partially encoded characters will not be written.
591
624
  *
592
625
  * ```js
593
- * import { Buffer } from 'buffer';
626
+ * import { Buffer } from 'node:buffer';
594
627
  *
595
628
  * const buf = Buffer.alloc(256);
596
629
  *
@@ -626,7 +659,7 @@ declare module 'buffer' {
626
659
  * as {@link constants.MAX_STRING_LENGTH}.
627
660
  *
628
661
  * ```js
629
- * import { Buffer } from 'buffer';
662
+ * import { Buffer } from 'node:buffer';
630
663
  *
631
664
  * const buf1 = Buffer.allocUnsafe(26);
632
665
  *
@@ -663,7 +696,7 @@ declare module 'buffer' {
663
696
  * In particular, `Buffer.from(buf.toJSON())` works like `Buffer.from(buf)`.
664
697
  *
665
698
  * ```js
666
- * import { Buffer } from 'buffer';
699
+ * import { Buffer } from 'node:buffer';
667
700
  *
668
701
  * const buf = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5]);
669
702
  * const json = JSON.stringify(buf);
@@ -690,7 +723,7 @@ declare module 'buffer' {
690
723
  * Returns `true` if both `buf` and `otherBuffer` have exactly the same bytes,`false` otherwise. Equivalent to `buf.compare(otherBuffer) === 0`.
691
724
  *
692
725
  * ```js
693
- * import { Buffer } from 'buffer';
726
+ * import { Buffer } from 'node:buffer';
694
727
  *
695
728
  * const buf1 = Buffer.from('ABC');
696
729
  * const buf2 = Buffer.from('414243', 'hex');
@@ -714,7 +747,7 @@ declare module 'buffer' {
714
747
  * * `-1` is returned if `target` should come _after_`buf` when sorted.
715
748
  *
716
749
  * ```js
717
- * import { Buffer } from 'buffer';
750
+ * import { Buffer } from 'node:buffer';
718
751
  *
719
752
  * const buf1 = Buffer.from('ABC');
720
753
  * const buf2 = Buffer.from('BCD');
@@ -738,7 +771,7 @@ declare module 'buffer' {
738
771
  * The optional `targetStart`, `targetEnd`, `sourceStart`, and `sourceEnd`arguments can be used to limit the comparison to specific ranges within `target`and `buf` respectively.
739
772
  *
740
773
  * ```js
741
- * import { Buffer } from 'buffer';
774
+ * import { Buffer } from 'node:buffer';
742
775
  *
743
776
  * const buf1 = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8, 9]);
744
777
  * const buf2 = Buffer.from([5, 6, 7, 8, 9, 1, 2, 3, 4]);
@@ -774,7 +807,7 @@ declare module 'buffer' {
774
807
  * different function arguments.
775
808
  *
776
809
  * ```js
777
- * import { Buffer } from 'buffer';
810
+ * import { Buffer } from 'node:buffer';
778
811
  *
779
812
  * // Create two `Buffer` instances.
780
813
  * const buf1 = Buffer.allocUnsafe(26);
@@ -795,7 +828,7 @@ declare module 'buffer' {
795
828
  * ```
796
829
  *
797
830
  * ```js
798
- * import { Buffer } from 'buffer';
831
+ * import { Buffer } from 'node:buffer';
799
832
  *
800
833
  * // Create a `Buffer` and copy data from one region to an overlapping region
801
834
  * // within the same `Buffer`.
@@ -828,7 +861,7 @@ declare module 'buffer' {
828
861
  * which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`.
829
862
  *
830
863
  * ```js
831
- * import { Buffer } from 'buffer';
864
+ * import { Buffer } from 'node:buffer';
832
865
  *
833
866
  * const buf = Buffer.from('buffer');
834
867
  *
@@ -866,7 +899,7 @@ declare module 'buffer' {
866
899
  * Modifying the new `Buffer` slice will modify the memory in the original `Buffer`because the allocated memory of the two objects overlap.
867
900
  *
868
901
  * ```js
869
- * import { Buffer } from 'buffer';
902
+ * import { Buffer } from 'node:buffer';
870
903
  *
871
904
  * // Create a `Buffer` with the ASCII alphabet, take a slice, and modify one byte
872
905
  * // from the original `Buffer`.
@@ -893,7 +926,7 @@ declare module 'buffer' {
893
926
  * end of `buf` rather than the beginning.
894
927
  *
895
928
  * ```js
896
- * import { Buffer } from 'buffer';
929
+ * import { Buffer } from 'node:buffer';
897
930
  *
898
931
  * const buf = Buffer.from('buffer');
899
932
  *
@@ -920,7 +953,7 @@ declare module 'buffer' {
920
953
  * `value` is interpreted and written as a two's complement signed integer.
921
954
  *
922
955
  * ```js
923
- * import { Buffer } from 'buffer';
956
+ * import { Buffer } from 'node:buffer';
924
957
  *
925
958
  * const buf = Buffer.allocUnsafe(8);
926
959
  *
@@ -941,7 +974,7 @@ declare module 'buffer' {
941
974
  * `value` is interpreted and written as a two's complement signed integer.
942
975
  *
943
976
  * ```js
944
- * import { Buffer } from 'buffer';
977
+ * import { Buffer } from 'node:buffer';
945
978
  *
946
979
  * const buf = Buffer.allocUnsafe(8);
947
980
  *
@@ -962,7 +995,7 @@ declare module 'buffer' {
962
995
  * This function is also available under the `writeBigUint64BE` alias.
963
996
  *
964
997
  * ```js
965
- * import { Buffer } from 'buffer';
998
+ * import { Buffer } from 'node:buffer';
966
999
  *
967
1000
  * const buf = Buffer.allocUnsafe(8);
968
1001
  *
@@ -986,7 +1019,7 @@ declare module 'buffer' {
986
1019
  * Writes `value` to `buf` at the specified `offset` as little-endian
987
1020
  *
988
1021
  * ```js
989
- * import { Buffer } from 'buffer';
1022
+ * import { Buffer } from 'node:buffer';
990
1023
  *
991
1024
  * const buf = Buffer.allocUnsafe(8);
992
1025
  *
@@ -1015,7 +1048,7 @@ declare module 'buffer' {
1015
1048
  * This function is also available under the `writeUintLE` alias.
1016
1049
  *
1017
1050
  * ```js
1018
- * import { Buffer } from 'buffer';
1051
+ * import { Buffer } from 'node:buffer';
1019
1052
  *
1020
1053
  * const buf = Buffer.allocUnsafe(6);
1021
1054
  *
@@ -1043,7 +1076,7 @@ declare module 'buffer' {
1043
1076
  * This function is also available under the `writeUintBE` alias.
1044
1077
  *
1045
1078
  * ```js
1046
- * import { Buffer } from 'buffer';
1079
+ * import { Buffer } from 'node:buffer';
1047
1080
  *
1048
1081
  * const buf = Buffer.allocUnsafe(6);
1049
1082
  *
@@ -1069,7 +1102,7 @@ declare module 'buffer' {
1069
1102
  * when `value` is anything other than a signed integer.
1070
1103
  *
1071
1104
  * ```js
1072
- * import { Buffer } from 'buffer';
1105
+ * import { Buffer } from 'node:buffer';
1073
1106
  *
1074
1107
  * const buf = Buffer.allocUnsafe(6);
1075
1108
  *
@@ -1090,7 +1123,7 @@ declare module 'buffer' {
1090
1123
  * signed integer.
1091
1124
  *
1092
1125
  * ```js
1093
- * import { Buffer } from 'buffer';
1126
+ * import { Buffer } from 'node:buffer';
1094
1127
  *
1095
1128
  * const buf = Buffer.allocUnsafe(6);
1096
1129
  *
@@ -1112,7 +1145,7 @@ declare module 'buffer' {
1112
1145
  * This function is also available under the `readBigUint64BE` alias.
1113
1146
  *
1114
1147
  * ```js
1115
- * import { Buffer } from 'buffer';
1148
+ * import { Buffer } from 'node:buffer';
1116
1149
  *
1117
1150
  * const buf = Buffer.from([0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff]);
1118
1151
  *
@@ -1134,7 +1167,7 @@ declare module 'buffer' {
1134
1167
  * This function is also available under the `readBigUint64LE` alias.
1135
1168
  *
1136
1169
  * ```js
1137
- * import { Buffer } from 'buffer';
1170
+ * import { Buffer } from 'node:buffer';
1138
1171
  *
1139
1172
  * const buf = Buffer.from([0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff]);
1140
1173
  *
@@ -1175,7 +1208,7 @@ declare module 'buffer' {
1175
1208
  * This function is also available under the `readUintLE` alias.
1176
1209
  *
1177
1210
  * ```js
1178
- * import { Buffer } from 'buffer';
1211
+ * import { Buffer } from 'node:buffer';
1179
1212
  *
1180
1213
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]);
1181
1214
  *
@@ -1199,7 +1232,7 @@ declare module 'buffer' {
1199
1232
  * This function is also available under the `readUintBE` alias.
1200
1233
  *
1201
1234
  * ```js
1202
- * import { Buffer } from 'buffer';
1235
+ * import { Buffer } from 'node:buffer';
1203
1236
  *
1204
1237
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]);
1205
1238
  *
@@ -1223,7 +1256,7 @@ declare module 'buffer' {
1223
1256
  * supporting up to 48 bits of accuracy.
1224
1257
  *
1225
1258
  * ```js
1226
- * import { Buffer } from 'buffer';
1259
+ * import { Buffer } from 'node:buffer';
1227
1260
  *
1228
1261
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]);
1229
1262
  *
@@ -1240,7 +1273,7 @@ declare module 'buffer' {
1240
1273
  * supporting up to 48 bits of accuracy.
1241
1274
  *
1242
1275
  * ```js
1243
- * import { Buffer } from 'buffer';
1276
+ * import { Buffer } from 'node:buffer';
1244
1277
  *
1245
1278
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]);
1246
1279
  *
@@ -1262,7 +1295,7 @@ declare module 'buffer' {
1262
1295
  * This function is also available under the `readUint8` alias.
1263
1296
  *
1264
1297
  * ```js
1265
- * import { Buffer } from 'buffer';
1298
+ * import { Buffer } from 'node:buffer';
1266
1299
  *
1267
1300
  * const buf = Buffer.from([1, -2]);
1268
1301
  *
@@ -1288,7 +1321,7 @@ declare module 'buffer' {
1288
1321
  * This function is also available under the `readUint16LE` alias.
1289
1322
  *
1290
1323
  * ```js
1291
- * import { Buffer } from 'buffer';
1324
+ * import { Buffer } from 'node:buffer';
1292
1325
  *
1293
1326
  * const buf = Buffer.from([0x12, 0x34, 0x56]);
1294
1327
  *
@@ -1314,7 +1347,7 @@ declare module 'buffer' {
1314
1347
  * This function is also available under the `readUint16BE` alias.
1315
1348
  *
1316
1349
  * ```js
1317
- * import { Buffer } from 'buffer';
1350
+ * import { Buffer } from 'node:buffer';
1318
1351
  *
1319
1352
  * const buf = Buffer.from([0x12, 0x34, 0x56]);
1320
1353
  *
@@ -1338,7 +1371,7 @@ declare module 'buffer' {
1338
1371
  * This function is also available under the `readUint32LE` alias.
1339
1372
  *
1340
1373
  * ```js
1341
- * import { Buffer } from 'buffer';
1374
+ * import { Buffer } from 'node:buffer';
1342
1375
  *
1343
1376
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78]);
1344
1377
  *
@@ -1362,7 +1395,7 @@ declare module 'buffer' {
1362
1395
  * This function is also available under the `readUint32BE` alias.
1363
1396
  *
1364
1397
  * ```js
1365
- * import { Buffer } from 'buffer';
1398
+ * import { Buffer } from 'node:buffer';
1366
1399
  *
1367
1400
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78]);
1368
1401
  *
@@ -1384,7 +1417,7 @@ declare module 'buffer' {
1384
1417
  * Integers read from a `Buffer` are interpreted as two's complement signed values.
1385
1418
  *
1386
1419
  * ```js
1387
- * import { Buffer } from 'buffer';
1420
+ * import { Buffer } from 'node:buffer';
1388
1421
  *
1389
1422
  * const buf = Buffer.from([-1, 5]);
1390
1423
  *
@@ -1405,7 +1438,7 @@ declare module 'buffer' {
1405
1438
  * Integers read from a `Buffer` are interpreted as two's complement signed values.
1406
1439
  *
1407
1440
  * ```js
1408
- * import { Buffer } from 'buffer';
1441
+ * import { Buffer } from 'node:buffer';
1409
1442
  *
1410
1443
  * const buf = Buffer.from([0, 5]);
1411
1444
  *
@@ -1424,7 +1457,7 @@ declare module 'buffer' {
1424
1457
  * Integers read from a `Buffer` are interpreted as two's complement signed values.
1425
1458
  *
1426
1459
  * ```js
1427
- * import { Buffer } from 'buffer';
1460
+ * import { Buffer } from 'node:buffer';
1428
1461
  *
1429
1462
  * const buf = Buffer.from([0, 5]);
1430
1463
  *
@@ -1441,7 +1474,7 @@ declare module 'buffer' {
1441
1474
  * Integers read from a `Buffer` are interpreted as two's complement signed values.
1442
1475
  *
1443
1476
  * ```js
1444
- * import { Buffer } from 'buffer';
1477
+ * import { Buffer } from 'node:buffer';
1445
1478
  *
1446
1479
  * const buf = Buffer.from([0, 0, 0, 5]);
1447
1480
  *
@@ -1460,7 +1493,7 @@ declare module 'buffer' {
1460
1493
  * Integers read from a `Buffer` are interpreted as two's complement signed values.
1461
1494
  *
1462
1495
  * ```js
1463
- * import { Buffer } from 'buffer';
1496
+ * import { Buffer } from 'node:buffer';
1464
1497
  *
1465
1498
  * const buf = Buffer.from([0, 0, 0, 5]);
1466
1499
  *
@@ -1475,7 +1508,7 @@ declare module 'buffer' {
1475
1508
  * Reads a 32-bit, little-endian float from `buf` at the specified `offset`.
1476
1509
  *
1477
1510
  * ```js
1478
- * import { Buffer } from 'buffer';
1511
+ * import { Buffer } from 'node:buffer';
1479
1512
  *
1480
1513
  * const buf = Buffer.from([1, 2, 3, 4]);
1481
1514
  *
@@ -1492,7 +1525,7 @@ declare module 'buffer' {
1492
1525
  * Reads a 32-bit, big-endian float from `buf` at the specified `offset`.
1493
1526
  *
1494
1527
  * ```js
1495
- * import { Buffer } from 'buffer';
1528
+ * import { Buffer } from 'node:buffer';
1496
1529
  *
1497
1530
  * const buf = Buffer.from([1, 2, 3, 4]);
1498
1531
  *
@@ -1507,7 +1540,7 @@ declare module 'buffer' {
1507
1540
  * Reads a 64-bit, little-endian double from `buf` at the specified `offset`.
1508
1541
  *
1509
1542
  * ```js
1510
- * import { Buffer } from 'buffer';
1543
+ * import { Buffer } from 'node:buffer';
1511
1544
  *
1512
1545
  * const buf = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]);
1513
1546
  *
@@ -1524,7 +1557,7 @@ declare module 'buffer' {
1524
1557
  * Reads a 64-bit, big-endian double from `buf` at the specified `offset`.
1525
1558
  *
1526
1559
  * ```js
1527
- * import { Buffer } from 'buffer';
1560
+ * import { Buffer } from 'node:buffer';
1528
1561
  *
1529
1562
  * const buf = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]);
1530
1563
  *
@@ -1541,7 +1574,7 @@ declare module 'buffer' {
1541
1574
  * byte order _in-place_. Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 2.
1542
1575
  *
1543
1576
  * ```js
1544
- * import { Buffer } from 'buffer';
1577
+ * import { Buffer } from 'node:buffer';
1545
1578
  *
1546
1579
  * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]);
1547
1580
  *
@@ -1563,7 +1596,7 @@ declare module 'buffer' {
1563
1596
  * between UTF-16 little-endian and UTF-16 big-endian:
1564
1597
  *
1565
1598
  * ```js
1566
- * import { Buffer } from 'buffer';
1599
+ * import { Buffer } from 'node:buffer';
1567
1600
  *
1568
1601
  * const buf = Buffer.from('This is little-endian UTF-16', 'utf16le');
1569
1602
  * buf.swap16(); // Convert to big-endian UTF-16 text.
@@ -1577,7 +1610,7 @@ declare module 'buffer' {
1577
1610
  * byte order _in-place_. Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 4.
1578
1611
  *
1579
1612
  * ```js
1580
- * import { Buffer } from 'buffer';
1613
+ * import { Buffer } from 'node:buffer';
1581
1614
  *
1582
1615
  * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]);
1583
1616
  *
@@ -1603,7 +1636,7 @@ declare module 'buffer' {
1603
1636
  * Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 8.
1604
1637
  *
1605
1638
  * ```js
1606
- * import { Buffer } from 'buffer';
1639
+ * import { Buffer } from 'node:buffer';
1607
1640
  *
1608
1641
  * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]);
1609
1642
  *
@@ -1632,7 +1665,7 @@ declare module 'buffer' {
1632
1665
  * This function is also available under the `writeUint8` alias.
1633
1666
  *
1634
1667
  * ```js
1635
- * import { Buffer } from 'buffer';
1668
+ * import { Buffer } from 'node:buffer';
1636
1669
  *
1637
1670
  * const buf = Buffer.allocUnsafe(4);
1638
1671
  *
@@ -1662,7 +1695,7 @@ declare module 'buffer' {
1662
1695
  * This function is also available under the `writeUint16LE` alias.
1663
1696
  *
1664
1697
  * ```js
1665
- * import { Buffer } from 'buffer';
1698
+ * import { Buffer } from 'node:buffer';
1666
1699
  *
1667
1700
  * const buf = Buffer.allocUnsafe(4);
1668
1701
  *
@@ -1690,7 +1723,7 @@ declare module 'buffer' {
1690
1723
  * This function is also available under the `writeUint16BE` alias.
1691
1724
  *
1692
1725
  * ```js
1693
- * import { Buffer } from 'buffer';
1726
+ * import { Buffer } from 'node:buffer';
1694
1727
  *
1695
1728
  * const buf = Buffer.allocUnsafe(4);
1696
1729
  *
@@ -1718,7 +1751,7 @@ declare module 'buffer' {
1718
1751
  * This function is also available under the `writeUint32LE` alias.
1719
1752
  *
1720
1753
  * ```js
1721
- * import { Buffer } from 'buffer';
1754
+ * import { Buffer } from 'node:buffer';
1722
1755
  *
1723
1756
  * const buf = Buffer.allocUnsafe(4);
1724
1757
  *
@@ -1745,7 +1778,7 @@ declare module 'buffer' {
1745
1778
  * This function is also available under the `writeUint32BE` alias.
1746
1779
  *
1747
1780
  * ```js
1748
- * import { Buffer } from 'buffer';
1781
+ * import { Buffer } from 'node:buffer';
1749
1782
  *
1750
1783
  * const buf = Buffer.allocUnsafe(4);
1751
1784
  *
@@ -1773,7 +1806,7 @@ declare module 'buffer' {
1773
1806
  * `value` is interpreted and written as a two's complement signed integer.
1774
1807
  *
1775
1808
  * ```js
1776
- * import { Buffer } from 'buffer';
1809
+ * import { Buffer } from 'node:buffer';
1777
1810
  *
1778
1811
  * const buf = Buffer.allocUnsafe(2);
1779
1812
  *
@@ -1796,7 +1829,7 @@ declare module 'buffer' {
1796
1829
  * The `value` is interpreted and written as a two's complement signed integer.
1797
1830
  *
1798
1831
  * ```js
1799
- * import { Buffer } from 'buffer';
1832
+ * import { Buffer } from 'node:buffer';
1800
1833
  *
1801
1834
  * const buf = Buffer.allocUnsafe(2);
1802
1835
  *
@@ -1818,7 +1851,7 @@ declare module 'buffer' {
1818
1851
  * The `value` is interpreted and written as a two's complement signed integer.
1819
1852
  *
1820
1853
  * ```js
1821
- * import { Buffer } from 'buffer';
1854
+ * import { Buffer } from 'node:buffer';
1822
1855
  *
1823
1856
  * const buf = Buffer.allocUnsafe(2);
1824
1857
  *
@@ -1840,7 +1873,7 @@ declare module 'buffer' {
1840
1873
  * The `value` is interpreted and written as a two's complement signed integer.
1841
1874
  *
1842
1875
  * ```js
1843
- * import { Buffer } from 'buffer';
1876
+ * import { Buffer } from 'node:buffer';
1844
1877
  *
1845
1878
  * const buf = Buffer.allocUnsafe(4);
1846
1879
  *
@@ -1862,7 +1895,7 @@ declare module 'buffer' {
1862
1895
  * The `value` is interpreted and written as a two's complement signed integer.
1863
1896
  *
1864
1897
  * ```js
1865
- * import { Buffer } from 'buffer';
1898
+ * import { Buffer } from 'node:buffer';
1866
1899
  *
1867
1900
  * const buf = Buffer.allocUnsafe(4);
1868
1901
  *
@@ -1882,7 +1915,7 @@ declare module 'buffer' {
1882
1915
  * undefined when `value` is anything other than a JavaScript number.
1883
1916
  *
1884
1917
  * ```js
1885
- * import { Buffer } from 'buffer';
1918
+ * import { Buffer } from 'node:buffer';
1886
1919
  *
1887
1920
  * const buf = Buffer.allocUnsafe(4);
1888
1921
  *
@@ -1902,7 +1935,7 @@ declare module 'buffer' {
1902
1935
  * undefined when `value` is anything other than a JavaScript number.
1903
1936
  *
1904
1937
  * ```js
1905
- * import { Buffer } from 'buffer';
1938
+ * import { Buffer } from 'node:buffer';
1906
1939
  *
1907
1940
  * const buf = Buffer.allocUnsafe(4);
1908
1941
  *
@@ -1922,7 +1955,7 @@ declare module 'buffer' {
1922
1955
  * other than a JavaScript number.
1923
1956
  *
1924
1957
  * ```js
1925
- * import { Buffer } from 'buffer';
1958
+ * import { Buffer } from 'node:buffer';
1926
1959
  *
1927
1960
  * const buf = Buffer.allocUnsafe(8);
1928
1961
  *
@@ -1942,7 +1975,7 @@ declare module 'buffer' {
1942
1975
  * other than a JavaScript number.
1943
1976
  *
1944
1977
  * ```js
1945
- * import { Buffer } from 'buffer';
1978
+ * import { Buffer } from 'node:buffer';
1946
1979
  *
1947
1980
  * const buf = Buffer.allocUnsafe(8);
1948
1981
  *
@@ -1962,7 +1995,7 @@ declare module 'buffer' {
1962
1995
  * the entire `buf` will be filled:
1963
1996
  *
1964
1997
  * ```js
1965
- * import { Buffer } from 'buffer';
1998
+ * import { Buffer } from 'node:buffer';
1966
1999
  *
1967
2000
  * // Fill a `Buffer` with the ASCII character 'h'.
1968
2001
  *
@@ -1970,6 +2003,12 @@ declare module 'buffer' {
1970
2003
  *
1971
2004
  * console.log(b.toString());
1972
2005
  * // Prints: hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
2006
+ *
2007
+ * // Fill a buffer with empty string
2008
+ * const c = Buffer.allocUnsafe(5).fill('');
2009
+ *
2010
+ * console.log(c.fill(''));
2011
+ * // Prints: <Buffer 00 00 00 00 00>
1973
2012
  * ```
1974
2013
  *
1975
2014
  * `value` is coerced to a `uint32` value if it is not a string, `Buffer`, or
@@ -1980,7 +2019,7 @@ declare module 'buffer' {
1980
2019
  * then only the bytes of that character that fit into `buf` are written:
1981
2020
  *
1982
2021
  * ```js
1983
- * import { Buffer } from 'buffer';
2022
+ * import { Buffer } from 'node:buffer';
1984
2023
  *
1985
2024
  * // Fill a `Buffer` with character that takes up two bytes in UTF-8.
1986
2025
  *
@@ -1992,7 +2031,7 @@ declare module 'buffer' {
1992
2031
  * fill data remains, an exception is thrown:
1993
2032
  *
1994
2033
  * ```js
1995
- * import { Buffer } from 'buffer';
2034
+ * import { Buffer } from 'node:buffer';
1996
2035
  *
1997
2036
  * const buf = Buffer.allocUnsafe(5);
1998
2037
  *
@@ -2004,7 +2043,7 @@ declare module 'buffer' {
2004
2043
  * // Throws an exception.
2005
2044
  * ```
2006
2045
  * @since v0.5.0
2007
- * @param value The value with which to fill `buf`.
2046
+ * @param value The value with which to fill `buf`. Empty value (string, Uint8Array, Buffer) is coerced to `0`.
2008
2047
  * @param [offset=0] Number of bytes to skip before starting to fill `buf`.
2009
2048
  * @param [end=buf.length] Where to stop filling `buf` (not inclusive).
2010
2049
  * @param [encoding='utf8'] The encoding for `value` if `value` is a string.
@@ -2021,7 +2060,7 @@ declare module 'buffer' {
2021
2060
  * value between `0` and `255`.
2022
2061
  *
2023
2062
  * ```js
2024
- * import { Buffer } from 'buffer';
2063
+ * import { Buffer } from 'node:buffer';
2025
2064
  *
2026
2065
  * const buf = Buffer.from('this is a buffer');
2027
2066
  *
@@ -2054,7 +2093,7 @@ declare module 'buffer' {
2054
2093
  * behavior matches [`String.prototype.indexOf()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf).
2055
2094
  *
2056
2095
  * ```js
2057
- * import { Buffer } from 'buffer';
2096
+ * import { Buffer } from 'node:buffer';
2058
2097
  *
2059
2098
  * const b = Buffer.from('abcdef');
2060
2099
  *
@@ -2085,7 +2124,7 @@ declare module 'buffer' {
2085
2124
  * rather than the first occurrence.
2086
2125
  *
2087
2126
  * ```js
2088
- * import { Buffer } from 'buffer';
2127
+ * import { Buffer } from 'node:buffer';
2089
2128
  *
2090
2129
  * const buf = Buffer.from('this buffer is a buffer');
2091
2130
  *
@@ -2120,7 +2159,7 @@ declare module 'buffer' {
2120
2159
  * This behavior matches [`String.prototype.lastIndexOf()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf).
2121
2160
  *
2122
2161
  * ```js
2123
- * import { Buffer } from 'buffer';
2162
+ * import { Buffer } from 'node:buffer';
2124
2163
  *
2125
2164
  * const b = Buffer.from('abcdef');
2126
2165
  *
@@ -2153,7 +2192,7 @@ declare module 'buffer' {
2153
2192
  * of `buf`.
2154
2193
  *
2155
2194
  * ```js
2156
- * import { Buffer } from 'buffer';
2195
+ * import { Buffer } from 'node:buffer';
2157
2196
  *
2158
2197
  * // Log the entire contents of a `Buffer`.
2159
2198
  *
@@ -2177,7 +2216,7 @@ declare module 'buffer' {
2177
2216
  * Equivalent to `buf.indexOf() !== -1`.
2178
2217
  *
2179
2218
  * ```js
2180
- * import { Buffer } from 'buffer';
2219
+ * import { Buffer } from 'node:buffer';
2181
2220
  *
2182
2221
  * const buf = Buffer.from('this is a buffer');
2183
2222
  *
@@ -2207,7 +2246,7 @@ declare module 'buffer' {
2207
2246
  * Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) of `buf` keys (indices).
2208
2247
  *
2209
2248
  * ```js
2210
- * import { Buffer } from 'buffer';
2249
+ * import { Buffer } from 'node:buffer';
2211
2250
  *
2212
2251
  * const buf = Buffer.from('buffer');
2213
2252
  *
@@ -2230,7 +2269,7 @@ declare module 'buffer' {
2230
2269
  * called automatically when a `Buffer` is used in a `for..of` statement.
2231
2270
  *
2232
2271
  * ```js
2233
- * import { Buffer } from 'buffer';
2272
+ * import { Buffer } from 'node:buffer';
2234
2273
  *
2235
2274
  * const buf = Buffer.from('buffer');
2236
2275
  *
@@ -2273,7 +2312,7 @@ declare module 'buffer' {
2273
2312
  * **For code running using Node.js APIs, converting between base64-encoded strings**
2274
2313
  * **and binary data should be performed using `Buffer.from(str, 'base64')` and`buf.toString('base64')`.**
2275
2314
  * @since v15.13.0, v14.17.0
2276
- * @deprecated Use `Buffer.from(data, 'base64')` instead.
2315
+ * @legacy Use `Buffer.from(data, 'base64')` instead.
2277
2316
  * @param data The Base64-encoded input string.
2278
2317
  */
2279
2318
  function atob(data: string): string;
@@ -2289,11 +2328,10 @@ declare module 'buffer' {
2289
2328
  * **For code running using Node.js APIs, converting between base64-encoded strings**
2290
2329
  * **and binary data should be performed using `Buffer.from(str, 'base64')` and`buf.toString('base64')`.**
2291
2330
  * @since v15.13.0, v14.17.0
2292
- * @deprecated Use `buf.toString('base64')` instead.
2331
+ * @legacy Use `buf.toString('base64')` instead.
2293
2332
  * @param data An ASCII (Latin1) string.
2294
2333
  */
2295
2334
  function btoa(data: string): string;
2296
-
2297
2335
  interface Blob extends __Blob {}
2298
2336
  /**
2299
2337
  * `Blob` class is a global reference for `require('node:buffer').Blob`