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,30 +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
217
  type __Blob = typeof globalThis extends { onmessage: any; Blob: infer T } ? T : NodeBlob;
204
218
  global {
219
+ namespace NodeJS {
220
+ export { BufferEncoding };
221
+ }
205
222
  // Buffer class
206
223
  type BufferEncoding =
207
224
  | 'ascii'
@@ -276,7 +293,7 @@ declare module 'buffer' {
276
293
  * Array entries outside that range will be truncated to fit into it.
277
294
  *
278
295
  * ```js
279
- * import { Buffer } from 'buffer';
296
+ * import { Buffer } from 'node:buffer';
280
297
  *
281
298
  * // Creates a new Buffer containing the UTF-8 bytes of the string 'buffer'.
282
299
  * const buf = Buffer.from([0x62, 0x75, 0x66, 0x66, 0x65, 0x72]);
@@ -321,7 +338,7 @@ declare module 'buffer' {
321
338
  * Returns `true` if `obj` is a `Buffer`, `false` otherwise.
322
339
  *
323
340
  * ```js
324
- * import { Buffer } from 'buffer';
341
+ * import { Buffer } from 'node:buffer';
325
342
  *
326
343
  * Buffer.isBuffer(Buffer.alloc(10)); // true
327
344
  * Buffer.isBuffer(Buffer.from('foo')); // true
@@ -337,7 +354,7 @@ declare module 'buffer' {
337
354
  * or `false` otherwise.
338
355
  *
339
356
  * ```js
340
- * import { Buffer } from 'buffer';
357
+ * import { Buffer } from 'node:buffer';
341
358
  *
342
359
  * console.log(Buffer.isEncoding('utf8'));
343
360
  * // Prints: true
@@ -366,7 +383,7 @@ declare module 'buffer' {
366
383
  * string.
367
384
  *
368
385
  * ```js
369
- * import { Buffer } from 'buffer';
386
+ * import { Buffer } from 'node:buffer';
370
387
  *
371
388
  * const str = '\u00bd + \u00bc = \u00be';
372
389
  *
@@ -401,7 +418,7 @@ declare module 'buffer' {
401
418
  * truncated to `totalLength`.
402
419
  *
403
420
  * ```js
404
- * import { Buffer } from 'buffer';
421
+ * import { Buffer } from 'node:buffer';
405
422
  *
406
423
  * // Create a single `Buffer` from a list of three `Buffer` instances.
407
424
  *
@@ -427,11 +444,28 @@ declare module 'buffer' {
427
444
  * @param totalLength Total length of the `Buffer` instances in `list` when concatenated.
428
445
  */
429
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;
430
464
  /**
431
465
  * Compares `buf1` to `buf2`, typically for the purpose of sorting arrays of`Buffer` instances. This is equivalent to calling `buf1.compare(buf2)`.
432
466
  *
433
467
  * ```js
434
- * import { Buffer } from 'buffer';
468
+ * import { Buffer } from 'node:buffer';
435
469
  *
436
470
  * const buf1 = Buffer.from('1234');
437
471
  * const buf2 = Buffer.from('0123');
@@ -449,7 +483,7 @@ declare module 'buffer' {
449
483
  * Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the`Buffer` will be zero-filled.
450
484
  *
451
485
  * ```js
452
- * import { Buffer } from 'buffer';
486
+ * import { Buffer } from 'node:buffer';
453
487
  *
454
488
  * const buf = Buffer.alloc(5);
455
489
  *
@@ -457,12 +491,12 @@ declare module 'buffer' {
457
491
  * // Prints: <Buffer 00 00 00 00 00>
458
492
  * ```
459
493
  *
460
- * 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.
461
495
  *
462
496
  * If `fill` is specified, the allocated `Buffer` will be initialized by calling `buf.fill(fill)`.
463
497
  *
464
498
  * ```js
465
- * import { Buffer } from 'buffer';
499
+ * import { Buffer } from 'node:buffer';
466
500
  *
467
501
  * const buf = Buffer.alloc(5, 'a');
468
502
  *
@@ -474,7 +508,7 @@ declare module 'buffer' {
474
508
  * initialized by calling `buf.fill(fill, encoding)`.
475
509
  *
476
510
  * ```js
477
- * import { Buffer } from 'buffer';
511
+ * import { Buffer } from 'node:buffer';
478
512
  *
479
513
  * const buf = Buffer.alloc(11, 'aGVsbG8gd29ybGQ=', 'base64');
480
514
  *
@@ -494,13 +528,13 @@ declare module 'buffer' {
494
528
  */
495
529
  alloc(size: number, fill?: string | Buffer | number, encoding?: BufferEncoding): Buffer;
496
530
  /**
497
- * 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.
498
532
  *
499
533
  * The underlying memory for `Buffer` instances created in this way is _not_
500
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.
501
535
  *
502
536
  * ```js
503
- * import { Buffer } from 'buffer';
537
+ * import { Buffer } from 'node:buffer';
504
538
  *
505
539
  * const buf = Buffer.allocUnsafe(10);
506
540
  *
@@ -531,15 +565,15 @@ declare module 'buffer' {
531
565
  */
532
566
  allocUnsafe(size: number): Buffer;
533
567
  /**
534
- * 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
535
- * 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.
536
570
  *
537
571
  * The underlying memory for `Buffer` instances created in this way is _not_
538
572
  * _initialized_. The contents of the newly created `Buffer` are unknown and _may contain sensitive data_. Use `buf.fill(0)` to initialize
539
573
  * such `Buffer` instances with zeroes.
540
574
  *
541
575
  * When using `Buffer.allocUnsafe()` to allocate new `Buffer` instances,
542
- * 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
543
577
  * allows applications to avoid the garbage collection overhead of creating many
544
578
  * individually allocated `Buffer` instances. This approach improves both
545
579
  * performance and memory usage by eliminating the need to track and clean up as
@@ -551,7 +585,7 @@ declare module 'buffer' {
551
585
  * then copying out the relevant bits.
552
586
  *
553
587
  * ```js
554
- * import { Buffer } from 'buffer';
588
+ * import { Buffer } from 'node:buffer';
555
589
  *
556
590
  * // Need to keep around a few small chunks of memory.
557
591
  * const store = [];
@@ -589,7 +623,7 @@ declare module 'buffer' {
589
623
  * written. However, partially encoded characters will not be written.
590
624
  *
591
625
  * ```js
592
- * import { Buffer } from 'buffer';
626
+ * import { Buffer } from 'node:buffer';
593
627
  *
594
628
  * const buf = Buffer.alloc(256);
595
629
  *
@@ -625,7 +659,7 @@ declare module 'buffer' {
625
659
  * as {@link constants.MAX_STRING_LENGTH}.
626
660
  *
627
661
  * ```js
628
- * import { Buffer } from 'buffer';
662
+ * import { Buffer } from 'node:buffer';
629
663
  *
630
664
  * const buf1 = Buffer.allocUnsafe(26);
631
665
  *
@@ -662,7 +696,7 @@ declare module 'buffer' {
662
696
  * In particular, `Buffer.from(buf.toJSON())` works like `Buffer.from(buf)`.
663
697
  *
664
698
  * ```js
665
- * import { Buffer } from 'buffer';
699
+ * import { Buffer } from 'node:buffer';
666
700
  *
667
701
  * const buf = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5]);
668
702
  * const json = JSON.stringify(buf);
@@ -689,7 +723,7 @@ declare module 'buffer' {
689
723
  * Returns `true` if both `buf` and `otherBuffer` have exactly the same bytes,`false` otherwise. Equivalent to `buf.compare(otherBuffer) === 0`.
690
724
  *
691
725
  * ```js
692
- * import { Buffer } from 'buffer';
726
+ * import { Buffer } from 'node:buffer';
693
727
  *
694
728
  * const buf1 = Buffer.from('ABC');
695
729
  * const buf2 = Buffer.from('414243', 'hex');
@@ -713,7 +747,7 @@ declare module 'buffer' {
713
747
  * * `-1` is returned if `target` should come _after_`buf` when sorted.
714
748
  *
715
749
  * ```js
716
- * import { Buffer } from 'buffer';
750
+ * import { Buffer } from 'node:buffer';
717
751
  *
718
752
  * const buf1 = Buffer.from('ABC');
719
753
  * const buf2 = Buffer.from('BCD');
@@ -737,7 +771,7 @@ declare module 'buffer' {
737
771
  * The optional `targetStart`, `targetEnd`, `sourceStart`, and `sourceEnd`arguments can be used to limit the comparison to specific ranges within `target`and `buf` respectively.
738
772
  *
739
773
  * ```js
740
- * import { Buffer } from 'buffer';
774
+ * import { Buffer } from 'node:buffer';
741
775
  *
742
776
  * const buf1 = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8, 9]);
743
777
  * const buf2 = Buffer.from([5, 6, 7, 8, 9, 1, 2, 3, 4]);
@@ -773,7 +807,7 @@ declare module 'buffer' {
773
807
  * different function arguments.
774
808
  *
775
809
  * ```js
776
- * import { Buffer } from 'buffer';
810
+ * import { Buffer } from 'node:buffer';
777
811
  *
778
812
  * // Create two `Buffer` instances.
779
813
  * const buf1 = Buffer.allocUnsafe(26);
@@ -794,7 +828,7 @@ declare module 'buffer' {
794
828
  * ```
795
829
  *
796
830
  * ```js
797
- * import { Buffer } from 'buffer';
831
+ * import { Buffer } from 'node:buffer';
798
832
  *
799
833
  * // Create a `Buffer` and copy data from one region to an overlapping region
800
834
  * // within the same `Buffer`.
@@ -827,7 +861,7 @@ declare module 'buffer' {
827
861
  * which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`.
828
862
  *
829
863
  * ```js
830
- * import { Buffer } from 'buffer';
864
+ * import { Buffer } from 'node:buffer';
831
865
  *
832
866
  * const buf = Buffer.from('buffer');
833
867
  *
@@ -865,7 +899,7 @@ declare module 'buffer' {
865
899
  * Modifying the new `Buffer` slice will modify the memory in the original `Buffer`because the allocated memory of the two objects overlap.
866
900
  *
867
901
  * ```js
868
- * import { Buffer } from 'buffer';
902
+ * import { Buffer } from 'node:buffer';
869
903
  *
870
904
  * // Create a `Buffer` with the ASCII alphabet, take a slice, and modify one byte
871
905
  * // from the original `Buffer`.
@@ -892,7 +926,7 @@ declare module 'buffer' {
892
926
  * end of `buf` rather than the beginning.
893
927
  *
894
928
  * ```js
895
- * import { Buffer } from 'buffer';
929
+ * import { Buffer } from 'node:buffer';
896
930
  *
897
931
  * const buf = Buffer.from('buffer');
898
932
  *
@@ -919,7 +953,7 @@ declare module 'buffer' {
919
953
  * `value` is interpreted and written as a two's complement signed integer.
920
954
  *
921
955
  * ```js
922
- * import { Buffer } from 'buffer';
956
+ * import { Buffer } from 'node:buffer';
923
957
  *
924
958
  * const buf = Buffer.allocUnsafe(8);
925
959
  *
@@ -940,7 +974,7 @@ declare module 'buffer' {
940
974
  * `value` is interpreted and written as a two's complement signed integer.
941
975
  *
942
976
  * ```js
943
- * import { Buffer } from 'buffer';
977
+ * import { Buffer } from 'node:buffer';
944
978
  *
945
979
  * const buf = Buffer.allocUnsafe(8);
946
980
  *
@@ -961,7 +995,7 @@ declare module 'buffer' {
961
995
  * This function is also available under the `writeBigUint64BE` alias.
962
996
  *
963
997
  * ```js
964
- * import { Buffer } from 'buffer';
998
+ * import { Buffer } from 'node:buffer';
965
999
  *
966
1000
  * const buf = Buffer.allocUnsafe(8);
967
1001
  *
@@ -985,7 +1019,7 @@ declare module 'buffer' {
985
1019
  * Writes `value` to `buf` at the specified `offset` as little-endian
986
1020
  *
987
1021
  * ```js
988
- * import { Buffer } from 'buffer';
1022
+ * import { Buffer } from 'node:buffer';
989
1023
  *
990
1024
  * const buf = Buffer.allocUnsafe(8);
991
1025
  *
@@ -1014,7 +1048,7 @@ declare module 'buffer' {
1014
1048
  * This function is also available under the `writeUintLE` alias.
1015
1049
  *
1016
1050
  * ```js
1017
- * import { Buffer } from 'buffer';
1051
+ * import { Buffer } from 'node:buffer';
1018
1052
  *
1019
1053
  * const buf = Buffer.allocUnsafe(6);
1020
1054
  *
@@ -1042,7 +1076,7 @@ declare module 'buffer' {
1042
1076
  * This function is also available under the `writeUintBE` alias.
1043
1077
  *
1044
1078
  * ```js
1045
- * import { Buffer } from 'buffer';
1079
+ * import { Buffer } from 'node:buffer';
1046
1080
  *
1047
1081
  * const buf = Buffer.allocUnsafe(6);
1048
1082
  *
@@ -1068,7 +1102,7 @@ declare module 'buffer' {
1068
1102
  * when `value` is anything other than a signed integer.
1069
1103
  *
1070
1104
  * ```js
1071
- * import { Buffer } from 'buffer';
1105
+ * import { Buffer } from 'node:buffer';
1072
1106
  *
1073
1107
  * const buf = Buffer.allocUnsafe(6);
1074
1108
  *
@@ -1089,7 +1123,7 @@ declare module 'buffer' {
1089
1123
  * signed integer.
1090
1124
  *
1091
1125
  * ```js
1092
- * import { Buffer } from 'buffer';
1126
+ * import { Buffer } from 'node:buffer';
1093
1127
  *
1094
1128
  * const buf = Buffer.allocUnsafe(6);
1095
1129
  *
@@ -1111,7 +1145,7 @@ declare module 'buffer' {
1111
1145
  * This function is also available under the `readBigUint64BE` alias.
1112
1146
  *
1113
1147
  * ```js
1114
- * import { Buffer } from 'buffer';
1148
+ * import { Buffer } from 'node:buffer';
1115
1149
  *
1116
1150
  * const buf = Buffer.from([0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff]);
1117
1151
  *
@@ -1133,7 +1167,7 @@ declare module 'buffer' {
1133
1167
  * This function is also available under the `readBigUint64LE` alias.
1134
1168
  *
1135
1169
  * ```js
1136
- * import { Buffer } from 'buffer';
1170
+ * import { Buffer } from 'node:buffer';
1137
1171
  *
1138
1172
  * const buf = Buffer.from([0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff]);
1139
1173
  *
@@ -1174,7 +1208,7 @@ declare module 'buffer' {
1174
1208
  * This function is also available under the `readUintLE` alias.
1175
1209
  *
1176
1210
  * ```js
1177
- * import { Buffer } from 'buffer';
1211
+ * import { Buffer } from 'node:buffer';
1178
1212
  *
1179
1213
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]);
1180
1214
  *
@@ -1198,7 +1232,7 @@ declare module 'buffer' {
1198
1232
  * This function is also available under the `readUintBE` alias.
1199
1233
  *
1200
1234
  * ```js
1201
- * import { Buffer } from 'buffer';
1235
+ * import { Buffer } from 'node:buffer';
1202
1236
  *
1203
1237
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]);
1204
1238
  *
@@ -1222,7 +1256,7 @@ declare module 'buffer' {
1222
1256
  * supporting up to 48 bits of accuracy.
1223
1257
  *
1224
1258
  * ```js
1225
- * import { Buffer } from 'buffer';
1259
+ * import { Buffer } from 'node:buffer';
1226
1260
  *
1227
1261
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]);
1228
1262
  *
@@ -1239,7 +1273,7 @@ declare module 'buffer' {
1239
1273
  * supporting up to 48 bits of accuracy.
1240
1274
  *
1241
1275
  * ```js
1242
- * import { Buffer } from 'buffer';
1276
+ * import { Buffer } from 'node:buffer';
1243
1277
  *
1244
1278
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]);
1245
1279
  *
@@ -1261,7 +1295,7 @@ declare module 'buffer' {
1261
1295
  * This function is also available under the `readUint8` alias.
1262
1296
  *
1263
1297
  * ```js
1264
- * import { Buffer } from 'buffer';
1298
+ * import { Buffer } from 'node:buffer';
1265
1299
  *
1266
1300
  * const buf = Buffer.from([1, -2]);
1267
1301
  *
@@ -1287,7 +1321,7 @@ declare module 'buffer' {
1287
1321
  * This function is also available under the `readUint16LE` alias.
1288
1322
  *
1289
1323
  * ```js
1290
- * import { Buffer } from 'buffer';
1324
+ * import { Buffer } from 'node:buffer';
1291
1325
  *
1292
1326
  * const buf = Buffer.from([0x12, 0x34, 0x56]);
1293
1327
  *
@@ -1313,7 +1347,7 @@ declare module 'buffer' {
1313
1347
  * This function is also available under the `readUint16BE` alias.
1314
1348
  *
1315
1349
  * ```js
1316
- * import { Buffer } from 'buffer';
1350
+ * import { Buffer } from 'node:buffer';
1317
1351
  *
1318
1352
  * const buf = Buffer.from([0x12, 0x34, 0x56]);
1319
1353
  *
@@ -1337,7 +1371,7 @@ declare module 'buffer' {
1337
1371
  * This function is also available under the `readUint32LE` alias.
1338
1372
  *
1339
1373
  * ```js
1340
- * import { Buffer } from 'buffer';
1374
+ * import { Buffer } from 'node:buffer';
1341
1375
  *
1342
1376
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78]);
1343
1377
  *
@@ -1361,7 +1395,7 @@ declare module 'buffer' {
1361
1395
  * This function is also available under the `readUint32BE` alias.
1362
1396
  *
1363
1397
  * ```js
1364
- * import { Buffer } from 'buffer';
1398
+ * import { Buffer } from 'node:buffer';
1365
1399
  *
1366
1400
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78]);
1367
1401
  *
@@ -1383,7 +1417,7 @@ declare module 'buffer' {
1383
1417
  * Integers read from a `Buffer` are interpreted as two's complement signed values.
1384
1418
  *
1385
1419
  * ```js
1386
- * import { Buffer } from 'buffer';
1420
+ * import { Buffer } from 'node:buffer';
1387
1421
  *
1388
1422
  * const buf = Buffer.from([-1, 5]);
1389
1423
  *
@@ -1404,7 +1438,7 @@ declare module 'buffer' {
1404
1438
  * Integers read from a `Buffer` are interpreted as two's complement signed values.
1405
1439
  *
1406
1440
  * ```js
1407
- * import { Buffer } from 'buffer';
1441
+ * import { Buffer } from 'node:buffer';
1408
1442
  *
1409
1443
  * const buf = Buffer.from([0, 5]);
1410
1444
  *
@@ -1423,7 +1457,7 @@ declare module 'buffer' {
1423
1457
  * Integers read from a `Buffer` are interpreted as two's complement signed values.
1424
1458
  *
1425
1459
  * ```js
1426
- * import { Buffer } from 'buffer';
1460
+ * import { Buffer } from 'node:buffer';
1427
1461
  *
1428
1462
  * const buf = Buffer.from([0, 5]);
1429
1463
  *
@@ -1440,7 +1474,7 @@ declare module 'buffer' {
1440
1474
  * Integers read from a `Buffer` are interpreted as two's complement signed values.
1441
1475
  *
1442
1476
  * ```js
1443
- * import { Buffer } from 'buffer';
1477
+ * import { Buffer } from 'node:buffer';
1444
1478
  *
1445
1479
  * const buf = Buffer.from([0, 0, 0, 5]);
1446
1480
  *
@@ -1459,7 +1493,7 @@ declare module 'buffer' {
1459
1493
  * Integers read from a `Buffer` are interpreted as two's complement signed values.
1460
1494
  *
1461
1495
  * ```js
1462
- * import { Buffer } from 'buffer';
1496
+ * import { Buffer } from 'node:buffer';
1463
1497
  *
1464
1498
  * const buf = Buffer.from([0, 0, 0, 5]);
1465
1499
  *
@@ -1474,7 +1508,7 @@ declare module 'buffer' {
1474
1508
  * Reads a 32-bit, little-endian float from `buf` at the specified `offset`.
1475
1509
  *
1476
1510
  * ```js
1477
- * import { Buffer } from 'buffer';
1511
+ * import { Buffer } from 'node:buffer';
1478
1512
  *
1479
1513
  * const buf = Buffer.from([1, 2, 3, 4]);
1480
1514
  *
@@ -1491,7 +1525,7 @@ declare module 'buffer' {
1491
1525
  * Reads a 32-bit, big-endian float from `buf` at the specified `offset`.
1492
1526
  *
1493
1527
  * ```js
1494
- * import { Buffer } from 'buffer';
1528
+ * import { Buffer } from 'node:buffer';
1495
1529
  *
1496
1530
  * const buf = Buffer.from([1, 2, 3, 4]);
1497
1531
  *
@@ -1506,7 +1540,7 @@ declare module 'buffer' {
1506
1540
  * Reads a 64-bit, little-endian double from `buf` at the specified `offset`.
1507
1541
  *
1508
1542
  * ```js
1509
- * import { Buffer } from 'buffer';
1543
+ * import { Buffer } from 'node:buffer';
1510
1544
  *
1511
1545
  * const buf = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]);
1512
1546
  *
@@ -1523,7 +1557,7 @@ declare module 'buffer' {
1523
1557
  * Reads a 64-bit, big-endian double from `buf` at the specified `offset`.
1524
1558
  *
1525
1559
  * ```js
1526
- * import { Buffer } from 'buffer';
1560
+ * import { Buffer } from 'node:buffer';
1527
1561
  *
1528
1562
  * const buf = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]);
1529
1563
  *
@@ -1540,7 +1574,7 @@ declare module 'buffer' {
1540
1574
  * byte order _in-place_. Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 2.
1541
1575
  *
1542
1576
  * ```js
1543
- * import { Buffer } from 'buffer';
1577
+ * import { Buffer } from 'node:buffer';
1544
1578
  *
1545
1579
  * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]);
1546
1580
  *
@@ -1562,7 +1596,7 @@ declare module 'buffer' {
1562
1596
  * between UTF-16 little-endian and UTF-16 big-endian:
1563
1597
  *
1564
1598
  * ```js
1565
- * import { Buffer } from 'buffer';
1599
+ * import { Buffer } from 'node:buffer';
1566
1600
  *
1567
1601
  * const buf = Buffer.from('This is little-endian UTF-16', 'utf16le');
1568
1602
  * buf.swap16(); // Convert to big-endian UTF-16 text.
@@ -1576,7 +1610,7 @@ declare module 'buffer' {
1576
1610
  * byte order _in-place_. Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 4.
1577
1611
  *
1578
1612
  * ```js
1579
- * import { Buffer } from 'buffer';
1613
+ * import { Buffer } from 'node:buffer';
1580
1614
  *
1581
1615
  * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]);
1582
1616
  *
@@ -1602,7 +1636,7 @@ declare module 'buffer' {
1602
1636
  * Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 8.
1603
1637
  *
1604
1638
  * ```js
1605
- * import { Buffer } from 'buffer';
1639
+ * import { Buffer } from 'node:buffer';
1606
1640
  *
1607
1641
  * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]);
1608
1642
  *
@@ -1631,7 +1665,7 @@ declare module 'buffer' {
1631
1665
  * This function is also available under the `writeUint8` alias.
1632
1666
  *
1633
1667
  * ```js
1634
- * import { Buffer } from 'buffer';
1668
+ * import { Buffer } from 'node:buffer';
1635
1669
  *
1636
1670
  * const buf = Buffer.allocUnsafe(4);
1637
1671
  *
@@ -1661,7 +1695,7 @@ declare module 'buffer' {
1661
1695
  * This function is also available under the `writeUint16LE` alias.
1662
1696
  *
1663
1697
  * ```js
1664
- * import { Buffer } from 'buffer';
1698
+ * import { Buffer } from 'node:buffer';
1665
1699
  *
1666
1700
  * const buf = Buffer.allocUnsafe(4);
1667
1701
  *
@@ -1689,7 +1723,7 @@ declare module 'buffer' {
1689
1723
  * This function is also available under the `writeUint16BE` alias.
1690
1724
  *
1691
1725
  * ```js
1692
- * import { Buffer } from 'buffer';
1726
+ * import { Buffer } from 'node:buffer';
1693
1727
  *
1694
1728
  * const buf = Buffer.allocUnsafe(4);
1695
1729
  *
@@ -1717,7 +1751,7 @@ declare module 'buffer' {
1717
1751
  * This function is also available under the `writeUint32LE` alias.
1718
1752
  *
1719
1753
  * ```js
1720
- * import { Buffer } from 'buffer';
1754
+ * import { Buffer } from 'node:buffer';
1721
1755
  *
1722
1756
  * const buf = Buffer.allocUnsafe(4);
1723
1757
  *
@@ -1744,7 +1778,7 @@ declare module 'buffer' {
1744
1778
  * This function is also available under the `writeUint32BE` alias.
1745
1779
  *
1746
1780
  * ```js
1747
- * import { Buffer } from 'buffer';
1781
+ * import { Buffer } from 'node:buffer';
1748
1782
  *
1749
1783
  * const buf = Buffer.allocUnsafe(4);
1750
1784
  *
@@ -1772,7 +1806,7 @@ declare module 'buffer' {
1772
1806
  * `value` is interpreted and written as a two's complement signed integer.
1773
1807
  *
1774
1808
  * ```js
1775
- * import { Buffer } from 'buffer';
1809
+ * import { Buffer } from 'node:buffer';
1776
1810
  *
1777
1811
  * const buf = Buffer.allocUnsafe(2);
1778
1812
  *
@@ -1795,7 +1829,7 @@ declare module 'buffer' {
1795
1829
  * The `value` is interpreted and written as a two's complement signed integer.
1796
1830
  *
1797
1831
  * ```js
1798
- * import { Buffer } from 'buffer';
1832
+ * import { Buffer } from 'node:buffer';
1799
1833
  *
1800
1834
  * const buf = Buffer.allocUnsafe(2);
1801
1835
  *
@@ -1817,7 +1851,7 @@ declare module 'buffer' {
1817
1851
  * The `value` is interpreted and written as a two's complement signed integer.
1818
1852
  *
1819
1853
  * ```js
1820
- * import { Buffer } from 'buffer';
1854
+ * import { Buffer } from 'node:buffer';
1821
1855
  *
1822
1856
  * const buf = Buffer.allocUnsafe(2);
1823
1857
  *
@@ -1839,7 +1873,7 @@ declare module 'buffer' {
1839
1873
  * The `value` is interpreted and written as a two's complement signed integer.
1840
1874
  *
1841
1875
  * ```js
1842
- * import { Buffer } from 'buffer';
1876
+ * import { Buffer } from 'node:buffer';
1843
1877
  *
1844
1878
  * const buf = Buffer.allocUnsafe(4);
1845
1879
  *
@@ -1861,7 +1895,7 @@ declare module 'buffer' {
1861
1895
  * The `value` is interpreted and written as a two's complement signed integer.
1862
1896
  *
1863
1897
  * ```js
1864
- * import { Buffer } from 'buffer';
1898
+ * import { Buffer } from 'node:buffer';
1865
1899
  *
1866
1900
  * const buf = Buffer.allocUnsafe(4);
1867
1901
  *
@@ -1881,7 +1915,7 @@ declare module 'buffer' {
1881
1915
  * undefined when `value` is anything other than a JavaScript number.
1882
1916
  *
1883
1917
  * ```js
1884
- * import { Buffer } from 'buffer';
1918
+ * import { Buffer } from 'node:buffer';
1885
1919
  *
1886
1920
  * const buf = Buffer.allocUnsafe(4);
1887
1921
  *
@@ -1901,7 +1935,7 @@ declare module 'buffer' {
1901
1935
  * undefined when `value` is anything other than a JavaScript number.
1902
1936
  *
1903
1937
  * ```js
1904
- * import { Buffer } from 'buffer';
1938
+ * import { Buffer } from 'node:buffer';
1905
1939
  *
1906
1940
  * const buf = Buffer.allocUnsafe(4);
1907
1941
  *
@@ -1921,7 +1955,7 @@ declare module 'buffer' {
1921
1955
  * other than a JavaScript number.
1922
1956
  *
1923
1957
  * ```js
1924
- * import { Buffer } from 'buffer';
1958
+ * import { Buffer } from 'node:buffer';
1925
1959
  *
1926
1960
  * const buf = Buffer.allocUnsafe(8);
1927
1961
  *
@@ -1941,7 +1975,7 @@ declare module 'buffer' {
1941
1975
  * other than a JavaScript number.
1942
1976
  *
1943
1977
  * ```js
1944
- * import { Buffer } from 'buffer';
1978
+ * import { Buffer } from 'node:buffer';
1945
1979
  *
1946
1980
  * const buf = Buffer.allocUnsafe(8);
1947
1981
  *
@@ -1961,7 +1995,7 @@ declare module 'buffer' {
1961
1995
  * the entire `buf` will be filled:
1962
1996
  *
1963
1997
  * ```js
1964
- * import { Buffer } from 'buffer';
1998
+ * import { Buffer } from 'node:buffer';
1965
1999
  *
1966
2000
  * // Fill a `Buffer` with the ASCII character 'h'.
1967
2001
  *
@@ -1969,6 +2003,12 @@ declare module 'buffer' {
1969
2003
  *
1970
2004
  * console.log(b.toString());
1971
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>
1972
2012
  * ```
1973
2013
  *
1974
2014
  * `value` is coerced to a `uint32` value if it is not a string, `Buffer`, or
@@ -1979,7 +2019,7 @@ declare module 'buffer' {
1979
2019
  * then only the bytes of that character that fit into `buf` are written:
1980
2020
  *
1981
2021
  * ```js
1982
- * import { Buffer } from 'buffer';
2022
+ * import { Buffer } from 'node:buffer';
1983
2023
  *
1984
2024
  * // Fill a `Buffer` with character that takes up two bytes in UTF-8.
1985
2025
  *
@@ -1991,7 +2031,7 @@ declare module 'buffer' {
1991
2031
  * fill data remains, an exception is thrown:
1992
2032
  *
1993
2033
  * ```js
1994
- * import { Buffer } from 'buffer';
2034
+ * import { Buffer } from 'node:buffer';
1995
2035
  *
1996
2036
  * const buf = Buffer.allocUnsafe(5);
1997
2037
  *
@@ -2003,7 +2043,7 @@ declare module 'buffer' {
2003
2043
  * // Throws an exception.
2004
2044
  * ```
2005
2045
  * @since v0.5.0
2006
- * @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`.
2007
2047
  * @param [offset=0] Number of bytes to skip before starting to fill `buf`.
2008
2048
  * @param [end=buf.length] Where to stop filling `buf` (not inclusive).
2009
2049
  * @param [encoding='utf8'] The encoding for `value` if `value` is a string.
@@ -2020,7 +2060,7 @@ declare module 'buffer' {
2020
2060
  * value between `0` and `255`.
2021
2061
  *
2022
2062
  * ```js
2023
- * import { Buffer } from 'buffer';
2063
+ * import { Buffer } from 'node:buffer';
2024
2064
  *
2025
2065
  * const buf = Buffer.from('this is a buffer');
2026
2066
  *
@@ -2053,7 +2093,7 @@ declare module 'buffer' {
2053
2093
  * behavior matches [`String.prototype.indexOf()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf).
2054
2094
  *
2055
2095
  * ```js
2056
- * import { Buffer } from 'buffer';
2096
+ * import { Buffer } from 'node:buffer';
2057
2097
  *
2058
2098
  * const b = Buffer.from('abcdef');
2059
2099
  *
@@ -2084,7 +2124,7 @@ declare module 'buffer' {
2084
2124
  * rather than the first occurrence.
2085
2125
  *
2086
2126
  * ```js
2087
- * import { Buffer } from 'buffer';
2127
+ * import { Buffer } from 'node:buffer';
2088
2128
  *
2089
2129
  * const buf = Buffer.from('this buffer is a buffer');
2090
2130
  *
@@ -2119,7 +2159,7 @@ declare module 'buffer' {
2119
2159
  * This behavior matches [`String.prototype.lastIndexOf()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf).
2120
2160
  *
2121
2161
  * ```js
2122
- * import { Buffer } from 'buffer';
2162
+ * import { Buffer } from 'node:buffer';
2123
2163
  *
2124
2164
  * const b = Buffer.from('abcdef');
2125
2165
  *
@@ -2152,7 +2192,7 @@ declare module 'buffer' {
2152
2192
  * of `buf`.
2153
2193
  *
2154
2194
  * ```js
2155
- * import { Buffer } from 'buffer';
2195
+ * import { Buffer } from 'node:buffer';
2156
2196
  *
2157
2197
  * // Log the entire contents of a `Buffer`.
2158
2198
  *
@@ -2176,7 +2216,7 @@ declare module 'buffer' {
2176
2216
  * Equivalent to `buf.indexOf() !== -1`.
2177
2217
  *
2178
2218
  * ```js
2179
- * import { Buffer } from 'buffer';
2219
+ * import { Buffer } from 'node:buffer';
2180
2220
  *
2181
2221
  * const buf = Buffer.from('this is a buffer');
2182
2222
  *
@@ -2206,7 +2246,7 @@ declare module 'buffer' {
2206
2246
  * Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) of `buf` keys (indices).
2207
2247
  *
2208
2248
  * ```js
2209
- * import { Buffer } from 'buffer';
2249
+ * import { Buffer } from 'node:buffer';
2210
2250
  *
2211
2251
  * const buf = Buffer.from('buffer');
2212
2252
  *
@@ -2229,7 +2269,7 @@ declare module 'buffer' {
2229
2269
  * called automatically when a `Buffer` is used in a `for..of` statement.
2230
2270
  *
2231
2271
  * ```js
2232
- * import { Buffer } from 'buffer';
2272
+ * import { Buffer } from 'node:buffer';
2233
2273
  *
2234
2274
  * const buf = Buffer.from('buffer');
2235
2275
  *
@@ -2272,7 +2312,7 @@ declare module 'buffer' {
2272
2312
  * **For code running using Node.js APIs, converting between base64-encoded strings**
2273
2313
  * **and binary data should be performed using `Buffer.from(str, 'base64')` and`buf.toString('base64')`.**
2274
2314
  * @since v15.13.0, v14.17.0
2275
- * @deprecated Use `Buffer.from(data, 'base64')` instead.
2315
+ * @legacy Use `Buffer.from(data, 'base64')` instead.
2276
2316
  * @param data The Base64-encoded input string.
2277
2317
  */
2278
2318
  function atob(data: string): string;
@@ -2288,11 +2328,10 @@ declare module 'buffer' {
2288
2328
  * **For code running using Node.js APIs, converting between base64-encoded strings**
2289
2329
  * **and binary data should be performed using `Buffer.from(str, 'base64')` and`buf.toString('base64')`.**
2290
2330
  * @since v15.13.0, v14.17.0
2291
- * @deprecated Use `buf.toString('base64')` instead.
2331
+ * @legacy Use `buf.toString('base64')` instead.
2292
2332
  * @param data An ASCII (Latin1) string.
2293
2333
  */
2294
2334
  function btoa(data: string): string;
2295
-
2296
2335
  interface Blob extends __Blob {}
2297
2336
  /**
2298
2337
  * `Blob` class is a global reference for `require('node:buffer').Blob`