cloudstructs 0.6.31 → 0.6.33

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 (603) hide show
  1. package/.gitattributes +1 -0
  2. package/.jsii +340 -2
  3. package/API.md +82 -0
  4. package/lib/codecommit-mirror/index.js +2 -2
  5. package/lib/dmarc/index.d.ts +115 -0
  6. package/lib/dmarc/index.js +84 -0
  7. package/lib/ecs-service-roller/index.js +2 -2
  8. package/lib/email-receiver/receiver.js +1 -1
  9. package/lib/index.d.ts +1 -0
  10. package/lib/index.js +2 -1
  11. package/lib/saml-identity-provider/index.js +2 -2
  12. package/lib/slack-app/manifest.js +1 -1
  13. package/lib/slack-app/slack-app.js +2 -2
  14. package/lib/slack-events/index.js +1 -1
  15. package/lib/slack-textract/index.js +1 -1
  16. package/lib/ssl-server-test/index.js +1 -1
  17. package/lib/state-machine-cr-provider/index.js +1 -1
  18. package/lib/static-website/index.js +1 -1
  19. package/lib/toolkit-cleaner/index.js +1 -1
  20. package/lib/url-shortener/index.js +1 -1
  21. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  22. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +71 -75
  23. package/node_modules/@slack/logger/node_modules/@types/node/async_hooks.d.ts +68 -43
  24. package/node_modules/@slack/logger/node_modules/@types/node/buffer.d.ts +131 -95
  25. package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +50 -54
  26. package/node_modules/@slack/logger/node_modules/@types/node/cluster.d.ts +12 -12
  27. package/node_modules/@slack/logger/node_modules/@types/node/console.d.ts +5 -5
  28. package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +209 -220
  29. package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +15 -15
  30. package/node_modules/@slack/logger/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  31. package/node_modules/@slack/logger/node_modules/@types/node/dns/promises.d.ts +6 -6
  32. package/node_modules/@slack/logger/node_modules/@types/node/dns.d.ts +24 -16
  33. package/node_modules/@slack/logger/node_modules/@types/node/domain.d.ts +4 -4
  34. package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +62 -58
  35. package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +78 -48
  36. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +117 -81
  37. package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +2 -1
  38. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +195 -129
  39. package/node_modules/@slack/logger/node_modules/@types/node/http2.d.ts +42 -46
  40. package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +52 -153
  41. package/node_modules/@slack/logger/node_modules/@types/node/index.d.ts +1 -1
  42. package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +10 -3
  43. package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +5 -4
  44. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +21 -18
  45. package/node_modules/@slack/logger/node_modules/@types/node/os.d.ts +22 -18
  46. package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
  47. package/node_modules/@slack/logger/node_modules/@types/node/path.d.ts +4 -4
  48. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +28 -15
  49. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +43 -46
  50. package/node_modules/@slack/logger/node_modules/@types/node/punycode.d.ts +1 -1
  51. package/node_modules/@slack/logger/node_modules/@types/node/querystring.d.ts +5 -5
  52. package/node_modules/@slack/logger/node_modules/@types/node/readline/promises.d.ts +6 -4
  53. package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +15 -15
  54. package/node_modules/@slack/logger/node_modules/@types/node/repl.d.ts +9 -9
  55. package/node_modules/@slack/logger/node_modules/@types/node/stream/consumers.d.ts +1 -1
  56. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +90 -137
  57. package/node_modules/@slack/logger/node_modules/@types/node/string_decoder.d.ts +6 -6
  58. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +423 -186
  59. package/node_modules/@slack/logger/node_modules/@types/node/timers/promises.d.ts +3 -3
  60. package/node_modules/@slack/logger/node_modules/@types/node/timers.d.ts +2 -2
  61. package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +34 -22
  62. package/node_modules/@slack/logger/node_modules/@types/node/trace_events.d.ts +20 -9
  63. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/assert.d.ts +71 -75
  64. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/async_hooks.d.ts +68 -43
  65. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/buffer.d.ts +132 -97
  66. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/child_process.d.ts +50 -54
  67. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  68. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  69. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/crypto.d.ts +209 -220
  70. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  71. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  72. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/dns/promises.d.ts +6 -6
  73. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/dns.d.ts +24 -16
  74. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  75. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/events.d.ts +62 -58
  76. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  77. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/fs.d.ts +203 -67
  78. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/globals.d.ts +19 -11
  79. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/http.d.ts +198 -126
  80. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  81. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  82. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  83. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  84. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  85. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  86. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  87. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  88. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  89. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  90. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  91. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/readline/promises.d.ts +6 -4
  92. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/readline.d.ts +15 -15
  93. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/repl.d.ts +9 -9
  94. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  95. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  96. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  97. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/test.d.ts +423 -186
  98. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  99. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/timers.d.ts +9 -2
  100. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  101. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  102. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  103. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/url.d.ts +30 -35
  104. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/util.d.ts +146 -113
  105. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  106. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  107. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  108. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  109. package/node_modules/@slack/logger/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  110. package/node_modules/@slack/logger/node_modules/@types/node/tty.d.ts +4 -5
  111. package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +30 -35
  112. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +149 -108
  113. package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +204 -16
  114. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +292 -42
  115. package/node_modules/@slack/logger/node_modules/@types/node/wasi.d.ts +13 -19
  116. package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +38 -34
  117. package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +11 -11
  118. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  119. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +71 -75
  120. package/node_modules/@slack/web-api/node_modules/@types/node/async_hooks.d.ts +68 -43
  121. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.d.ts +131 -95
  122. package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +50 -54
  123. package/node_modules/@slack/web-api/node_modules/@types/node/cluster.d.ts +12 -12
  124. package/node_modules/@slack/web-api/node_modules/@types/node/console.d.ts +5 -5
  125. package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +209 -220
  126. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +15 -15
  127. package/node_modules/@slack/web-api/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  128. package/node_modules/@slack/web-api/node_modules/@types/node/dns/promises.d.ts +6 -6
  129. package/node_modules/@slack/web-api/node_modules/@types/node/dns.d.ts +24 -16
  130. package/node_modules/@slack/web-api/node_modules/@types/node/domain.d.ts +4 -4
  131. package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +62 -58
  132. package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +78 -48
  133. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +117 -81
  134. package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +2 -1
  135. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +195 -129
  136. package/node_modules/@slack/web-api/node_modules/@types/node/http2.d.ts +42 -46
  137. package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +52 -153
  138. package/node_modules/@slack/web-api/node_modules/@types/node/index.d.ts +1 -1
  139. package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +10 -3
  140. package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +5 -4
  141. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +21 -18
  142. package/node_modules/@slack/web-api/node_modules/@types/node/os.d.ts +22 -18
  143. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  144. package/node_modules/@slack/web-api/node_modules/@types/node/path.d.ts +4 -4
  145. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +28 -15
  146. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +43 -46
  147. package/node_modules/@slack/web-api/node_modules/@types/node/punycode.d.ts +1 -1
  148. package/node_modules/@slack/web-api/node_modules/@types/node/querystring.d.ts +5 -5
  149. package/node_modules/@slack/web-api/node_modules/@types/node/readline/promises.d.ts +6 -4
  150. package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +15 -15
  151. package/node_modules/@slack/web-api/node_modules/@types/node/repl.d.ts +9 -9
  152. package/node_modules/@slack/web-api/node_modules/@types/node/stream/consumers.d.ts +1 -1
  153. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +90 -137
  154. package/node_modules/@slack/web-api/node_modules/@types/node/string_decoder.d.ts +6 -6
  155. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +423 -186
  156. package/node_modules/@slack/web-api/node_modules/@types/node/timers/promises.d.ts +3 -3
  157. package/node_modules/@slack/web-api/node_modules/@types/node/timers.d.ts +2 -2
  158. package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +34 -22
  159. package/node_modules/@slack/web-api/node_modules/@types/node/trace_events.d.ts +20 -9
  160. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/assert.d.ts +71 -75
  161. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/async_hooks.d.ts +68 -43
  162. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/buffer.d.ts +132 -97
  163. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/child_process.d.ts +50 -54
  164. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  165. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  166. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/crypto.d.ts +209 -220
  167. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  168. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  169. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/dns/promises.d.ts +6 -6
  170. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/dns.d.ts +24 -16
  171. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  172. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/events.d.ts +62 -58
  173. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  174. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/fs.d.ts +203 -67
  175. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/globals.d.ts +19 -11
  176. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/http.d.ts +198 -126
  177. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  178. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  179. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  180. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  181. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  182. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  183. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  184. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  185. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  186. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  187. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  188. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/readline/promises.d.ts +6 -4
  189. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/readline.d.ts +15 -15
  190. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/repl.d.ts +9 -9
  191. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  192. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  193. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  194. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/test.d.ts +423 -186
  195. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  196. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/timers.d.ts +9 -2
  197. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  198. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  199. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  200. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/url.d.ts +30 -35
  201. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/util.d.ts +146 -113
  202. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  203. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  204. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  205. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  206. package/node_modules/@slack/web-api/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  207. package/node_modules/@slack/web-api/node_modules/@types/node/tty.d.ts +4 -5
  208. package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +30 -35
  209. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +149 -108
  210. package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +204 -16
  211. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +292 -42
  212. package/node_modules/@slack/web-api/node_modules/@types/node/wasi.d.ts +13 -19
  213. package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +38 -34
  214. package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +11 -11
  215. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  216. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +71 -75
  217. package/node_modules/@types/cacheable-request/node_modules/@types/node/async_hooks.d.ts +68 -43
  218. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.d.ts +131 -95
  219. package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +50 -54
  220. package/node_modules/@types/cacheable-request/node_modules/@types/node/cluster.d.ts +12 -12
  221. package/node_modules/@types/cacheable-request/node_modules/@types/node/console.d.ts +5 -5
  222. package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +209 -220
  223. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +15 -15
  224. package/node_modules/@types/cacheable-request/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  225. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns/promises.d.ts +6 -6
  226. package/node_modules/@types/cacheable-request/node_modules/@types/node/dns.d.ts +24 -16
  227. package/node_modules/@types/cacheable-request/node_modules/@types/node/domain.d.ts +4 -4
  228. package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +62 -58
  229. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +78 -48
  230. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +117 -81
  231. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +2 -1
  232. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +195 -129
  233. package/node_modules/@types/cacheable-request/node_modules/@types/node/http2.d.ts +42 -46
  234. package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +52 -153
  235. package/node_modules/@types/cacheable-request/node_modules/@types/node/index.d.ts +1 -1
  236. package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +10 -3
  237. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +5 -4
  238. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +21 -18
  239. package/node_modules/@types/cacheable-request/node_modules/@types/node/os.d.ts +22 -18
  240. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  241. package/node_modules/@types/cacheable-request/node_modules/@types/node/path.d.ts +4 -4
  242. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +28 -15
  243. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +43 -46
  244. package/node_modules/@types/cacheable-request/node_modules/@types/node/punycode.d.ts +1 -1
  245. package/node_modules/@types/cacheable-request/node_modules/@types/node/querystring.d.ts +5 -5
  246. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline/promises.d.ts +6 -4
  247. package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +15 -15
  248. package/node_modules/@types/cacheable-request/node_modules/@types/node/repl.d.ts +9 -9
  249. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/consumers.d.ts +1 -1
  250. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +90 -137
  251. package/node_modules/@types/cacheable-request/node_modules/@types/node/string_decoder.d.ts +6 -6
  252. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +423 -186
  253. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers/promises.d.ts +3 -3
  254. package/node_modules/@types/cacheable-request/node_modules/@types/node/timers.d.ts +2 -2
  255. package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +34 -22
  256. package/node_modules/@types/cacheable-request/node_modules/@types/node/trace_events.d.ts +20 -9
  257. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/assert.d.ts +71 -75
  258. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/async_hooks.d.ts +68 -43
  259. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/buffer.d.ts +132 -97
  260. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/child_process.d.ts +50 -54
  261. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  262. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  263. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/crypto.d.ts +209 -220
  264. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  265. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  266. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dns/promises.d.ts +6 -6
  267. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/dns.d.ts +24 -16
  268. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  269. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/events.d.ts +62 -58
  270. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  271. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/fs.d.ts +203 -67
  272. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/globals.d.ts +19 -11
  273. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/http.d.ts +198 -126
  274. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  275. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  276. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  277. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  278. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  279. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  280. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  281. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  282. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  283. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  284. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  285. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/readline/promises.d.ts +6 -4
  286. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/readline.d.ts +15 -15
  287. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/repl.d.ts +9 -9
  288. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  289. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  290. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  291. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/test.d.ts +423 -186
  292. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  293. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/timers.d.ts +9 -2
  294. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  295. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  296. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  297. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/url.d.ts +30 -35
  298. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/util.d.ts +146 -113
  299. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  300. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  301. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  302. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  303. package/node_modules/@types/cacheable-request/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  304. package/node_modules/@types/cacheable-request/node_modules/@types/node/tty.d.ts +4 -5
  305. package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +30 -35
  306. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +149 -108
  307. package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +204 -16
  308. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +292 -42
  309. package/node_modules/@types/cacheable-request/node_modules/@types/node/wasi.d.ts +13 -19
  310. package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +38 -34
  311. package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +11 -11
  312. package/node_modules/@types/is-stream/node_modules/@types/node/README.md +1 -1
  313. package/node_modules/@types/is-stream/node_modules/@types/node/assert.d.ts +71 -75
  314. package/node_modules/@types/is-stream/node_modules/@types/node/async_hooks.d.ts +68 -43
  315. package/node_modules/@types/is-stream/node_modules/@types/node/buffer.d.ts +131 -95
  316. package/node_modules/@types/is-stream/node_modules/@types/node/child_process.d.ts +50 -54
  317. package/node_modules/@types/is-stream/node_modules/@types/node/cluster.d.ts +12 -12
  318. package/node_modules/@types/is-stream/node_modules/@types/node/console.d.ts +5 -5
  319. package/node_modules/@types/is-stream/node_modules/@types/node/crypto.d.ts +209 -220
  320. package/node_modules/@types/is-stream/node_modules/@types/node/dgram.d.ts +15 -15
  321. package/node_modules/@types/is-stream/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  322. package/node_modules/@types/is-stream/node_modules/@types/node/dns/promises.d.ts +6 -6
  323. package/node_modules/@types/is-stream/node_modules/@types/node/dns.d.ts +24 -16
  324. package/node_modules/@types/is-stream/node_modules/@types/node/domain.d.ts +4 -4
  325. package/node_modules/@types/is-stream/node_modules/@types/node/events.d.ts +62 -58
  326. package/node_modules/@types/is-stream/node_modules/@types/node/fs/promises.d.ts +78 -48
  327. package/node_modules/@types/is-stream/node_modules/@types/node/fs.d.ts +117 -81
  328. package/node_modules/@types/is-stream/node_modules/@types/node/globals.d.ts +2 -1
  329. package/node_modules/@types/is-stream/node_modules/@types/node/http.d.ts +195 -129
  330. package/node_modules/@types/is-stream/node_modules/@types/node/http2.d.ts +42 -46
  331. package/node_modules/@types/is-stream/node_modules/@types/node/https.d.ts +52 -153
  332. package/node_modules/@types/is-stream/node_modules/@types/node/index.d.ts +1 -1
  333. package/node_modules/@types/is-stream/node_modules/@types/node/inspector.d.ts +10 -3
  334. package/node_modules/@types/is-stream/node_modules/@types/node/module.d.ts +5 -4
  335. package/node_modules/@types/is-stream/node_modules/@types/node/net.d.ts +21 -18
  336. package/node_modules/@types/is-stream/node_modules/@types/node/os.d.ts +22 -18
  337. package/node_modules/@types/is-stream/node_modules/@types/node/package.json +2 -2
  338. package/node_modules/@types/is-stream/node_modules/@types/node/path.d.ts +4 -4
  339. package/node_modules/@types/is-stream/node_modules/@types/node/perf_hooks.d.ts +28 -15
  340. package/node_modules/@types/is-stream/node_modules/@types/node/process.d.ts +43 -46
  341. package/node_modules/@types/is-stream/node_modules/@types/node/punycode.d.ts +1 -1
  342. package/node_modules/@types/is-stream/node_modules/@types/node/querystring.d.ts +5 -5
  343. package/node_modules/@types/is-stream/node_modules/@types/node/readline/promises.d.ts +6 -4
  344. package/node_modules/@types/is-stream/node_modules/@types/node/readline.d.ts +15 -15
  345. package/node_modules/@types/is-stream/node_modules/@types/node/repl.d.ts +9 -9
  346. package/node_modules/@types/is-stream/node_modules/@types/node/stream/consumers.d.ts +1 -1
  347. package/node_modules/@types/is-stream/node_modules/@types/node/stream.d.ts +90 -137
  348. package/node_modules/@types/is-stream/node_modules/@types/node/string_decoder.d.ts +6 -6
  349. package/node_modules/@types/is-stream/node_modules/@types/node/test.d.ts +423 -186
  350. package/node_modules/@types/is-stream/node_modules/@types/node/timers/promises.d.ts +3 -3
  351. package/node_modules/@types/is-stream/node_modules/@types/node/timers.d.ts +2 -2
  352. package/node_modules/@types/is-stream/node_modules/@types/node/tls.d.ts +34 -22
  353. package/node_modules/@types/is-stream/node_modules/@types/node/trace_events.d.ts +20 -9
  354. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/assert.d.ts +71 -75
  355. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/async_hooks.d.ts +68 -43
  356. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/buffer.d.ts +132 -97
  357. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/child_process.d.ts +50 -54
  358. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  359. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  360. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/crypto.d.ts +209 -220
  361. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  362. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  363. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/dns/promises.d.ts +6 -6
  364. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/dns.d.ts +24 -16
  365. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  366. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/events.d.ts +62 -58
  367. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  368. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/fs.d.ts +203 -67
  369. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/globals.d.ts +19 -11
  370. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/http.d.ts +198 -126
  371. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  372. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  373. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  374. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  375. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  376. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  377. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  378. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  379. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  380. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  381. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  382. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/readline/promises.d.ts +6 -4
  383. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/readline.d.ts +15 -15
  384. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/repl.d.ts +9 -9
  385. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  386. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  387. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  388. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/test.d.ts +423 -186
  389. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  390. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/timers.d.ts +9 -2
  391. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  392. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  393. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  394. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/url.d.ts +30 -35
  395. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/util.d.ts +146 -113
  396. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  397. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  398. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  399. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  400. package/node_modules/@types/is-stream/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  401. package/node_modules/@types/is-stream/node_modules/@types/node/tty.d.ts +4 -5
  402. package/node_modules/@types/is-stream/node_modules/@types/node/url.d.ts +30 -35
  403. package/node_modules/@types/is-stream/node_modules/@types/node/util.d.ts +149 -108
  404. package/node_modules/@types/is-stream/node_modules/@types/node/v8.d.ts +204 -16
  405. package/node_modules/@types/is-stream/node_modules/@types/node/vm.d.ts +292 -42
  406. package/node_modules/@types/is-stream/node_modules/@types/node/wasi.d.ts +13 -19
  407. package/node_modules/@types/is-stream/node_modules/@types/node/worker_threads.d.ts +38 -34
  408. package/node_modules/@types/is-stream/node_modules/@types/node/zlib.d.ts +11 -11
  409. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  410. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +71 -75
  411. package/node_modules/@types/keyv/node_modules/@types/node/async_hooks.d.ts +68 -43
  412. package/node_modules/@types/keyv/node_modules/@types/node/buffer.d.ts +131 -95
  413. package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +50 -54
  414. package/node_modules/@types/keyv/node_modules/@types/node/cluster.d.ts +12 -12
  415. package/node_modules/@types/keyv/node_modules/@types/node/console.d.ts +5 -5
  416. package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +209 -220
  417. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +15 -15
  418. package/node_modules/@types/keyv/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  419. package/node_modules/@types/keyv/node_modules/@types/node/dns/promises.d.ts +6 -6
  420. package/node_modules/@types/keyv/node_modules/@types/node/dns.d.ts +24 -16
  421. package/node_modules/@types/keyv/node_modules/@types/node/domain.d.ts +4 -4
  422. package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +62 -58
  423. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +78 -48
  424. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +117 -81
  425. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +2 -1
  426. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +195 -129
  427. package/node_modules/@types/keyv/node_modules/@types/node/http2.d.ts +42 -46
  428. package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +52 -153
  429. package/node_modules/@types/keyv/node_modules/@types/node/index.d.ts +1 -1
  430. package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +10 -3
  431. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +5 -4
  432. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +21 -18
  433. package/node_modules/@types/keyv/node_modules/@types/node/os.d.ts +22 -18
  434. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  435. package/node_modules/@types/keyv/node_modules/@types/node/path.d.ts +4 -4
  436. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +28 -15
  437. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +43 -46
  438. package/node_modules/@types/keyv/node_modules/@types/node/punycode.d.ts +1 -1
  439. package/node_modules/@types/keyv/node_modules/@types/node/querystring.d.ts +5 -5
  440. package/node_modules/@types/keyv/node_modules/@types/node/readline/promises.d.ts +6 -4
  441. package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +15 -15
  442. package/node_modules/@types/keyv/node_modules/@types/node/repl.d.ts +9 -9
  443. package/node_modules/@types/keyv/node_modules/@types/node/stream/consumers.d.ts +1 -1
  444. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +90 -137
  445. package/node_modules/@types/keyv/node_modules/@types/node/string_decoder.d.ts +6 -6
  446. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +423 -186
  447. package/node_modules/@types/keyv/node_modules/@types/node/timers/promises.d.ts +3 -3
  448. package/node_modules/@types/keyv/node_modules/@types/node/timers.d.ts +2 -2
  449. package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +34 -22
  450. package/node_modules/@types/keyv/node_modules/@types/node/trace_events.d.ts +20 -9
  451. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/assert.d.ts +71 -75
  452. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/async_hooks.d.ts +68 -43
  453. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/buffer.d.ts +132 -97
  454. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/child_process.d.ts +50 -54
  455. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  456. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  457. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/crypto.d.ts +209 -220
  458. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  459. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  460. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dns/promises.d.ts +6 -6
  461. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/dns.d.ts +24 -16
  462. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  463. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/events.d.ts +62 -58
  464. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  465. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/fs.d.ts +203 -67
  466. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/globals.d.ts +19 -11
  467. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/http.d.ts +198 -126
  468. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  469. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  470. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  471. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  472. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  473. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  474. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  475. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  476. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  477. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  478. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  479. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/readline/promises.d.ts +6 -4
  480. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/readline.d.ts +15 -15
  481. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/repl.d.ts +9 -9
  482. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  483. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  484. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  485. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/test.d.ts +423 -186
  486. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  487. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/timers.d.ts +9 -2
  488. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  489. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  490. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  491. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/url.d.ts +30 -35
  492. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/util.d.ts +146 -113
  493. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  494. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  495. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  496. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  497. package/node_modules/@types/keyv/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  498. package/node_modules/@types/keyv/node_modules/@types/node/tty.d.ts +4 -5
  499. package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +30 -35
  500. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +149 -108
  501. package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +204 -16
  502. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +292 -42
  503. package/node_modules/@types/keyv/node_modules/@types/node/wasi.d.ts +13 -19
  504. package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +38 -34
  505. package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +11 -11
  506. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  507. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +71 -75
  508. package/node_modules/@types/responselike/node_modules/@types/node/async_hooks.d.ts +68 -43
  509. package/node_modules/@types/responselike/node_modules/@types/node/buffer.d.ts +131 -95
  510. package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +50 -54
  511. package/node_modules/@types/responselike/node_modules/@types/node/cluster.d.ts +12 -12
  512. package/node_modules/@types/responselike/node_modules/@types/node/console.d.ts +5 -5
  513. package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +209 -220
  514. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +15 -15
  515. package/node_modules/@types/responselike/node_modules/@types/node/diagnostics_channel.d.ts +25 -26
  516. package/node_modules/@types/responselike/node_modules/@types/node/dns/promises.d.ts +6 -6
  517. package/node_modules/@types/responselike/node_modules/@types/node/dns.d.ts +24 -16
  518. package/node_modules/@types/responselike/node_modules/@types/node/domain.d.ts +4 -4
  519. package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +62 -58
  520. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +78 -48
  521. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +117 -81
  522. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +2 -1
  523. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +195 -129
  524. package/node_modules/@types/responselike/node_modules/@types/node/http2.d.ts +42 -46
  525. package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +52 -153
  526. package/node_modules/@types/responselike/node_modules/@types/node/index.d.ts +1 -1
  527. package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +10 -3
  528. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +5 -4
  529. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +21 -18
  530. package/node_modules/@types/responselike/node_modules/@types/node/os.d.ts +22 -18
  531. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  532. package/node_modules/@types/responselike/node_modules/@types/node/path.d.ts +4 -4
  533. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +28 -15
  534. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +43 -46
  535. package/node_modules/@types/responselike/node_modules/@types/node/punycode.d.ts +1 -1
  536. package/node_modules/@types/responselike/node_modules/@types/node/querystring.d.ts +5 -5
  537. package/node_modules/@types/responselike/node_modules/@types/node/readline/promises.d.ts +6 -4
  538. package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +15 -15
  539. package/node_modules/@types/responselike/node_modules/@types/node/repl.d.ts +9 -9
  540. package/node_modules/@types/responselike/node_modules/@types/node/stream/consumers.d.ts +1 -1
  541. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +90 -137
  542. package/node_modules/@types/responselike/node_modules/@types/node/string_decoder.d.ts +6 -6
  543. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +423 -186
  544. package/node_modules/@types/responselike/node_modules/@types/node/timers/promises.d.ts +3 -3
  545. package/node_modules/@types/responselike/node_modules/@types/node/timers.d.ts +2 -2
  546. package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +34 -22
  547. package/node_modules/@types/responselike/node_modules/@types/node/trace_events.d.ts +20 -9
  548. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/assert.d.ts +71 -75
  549. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/async_hooks.d.ts +68 -43
  550. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/buffer.d.ts +132 -97
  551. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/child_process.d.ts +50 -54
  552. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/cluster.d.ts +12 -12
  553. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/console.d.ts +5 -5
  554. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/crypto.d.ts +209 -220
  555. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dgram.d.ts +15 -15
  556. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +25 -26
  557. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dns/promises.d.ts +6 -6
  558. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/dns.d.ts +24 -16
  559. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/domain.d.ts +4 -4
  560. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/events.d.ts +62 -58
  561. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/fs/promises.d.ts +96 -45
  562. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/fs.d.ts +203 -67
  563. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/globals.d.ts +19 -11
  564. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/http.d.ts +198 -126
  565. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/http2.d.ts +42 -46
  566. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/https.d.ts +52 -153
  567. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/inspector.d.ts +10 -3
  568. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/module.d.ts +5 -4
  569. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/net.d.ts +24 -21
  570. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/os.d.ts +22 -18
  571. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/path.d.ts +4 -4
  572. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/perf_hooks.d.ts +28 -15
  573. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/process.d.ts +43 -46
  574. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/punycode.d.ts +1 -1
  575. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/querystring.d.ts +5 -5
  576. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/readline/promises.d.ts +6 -4
  577. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/readline.d.ts +15 -15
  578. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/repl.d.ts +9 -9
  579. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream/consumers.d.ts +1 -1
  580. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/stream.d.ts +93 -140
  581. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/string_decoder.d.ts +6 -6
  582. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/test.d.ts +423 -186
  583. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/timers/promises.d.ts +3 -3
  584. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/timers.d.ts +9 -2
  585. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/tls.d.ts +34 -22
  586. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/trace_events.d.ts +20 -9
  587. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/tty.d.ts +4 -5
  588. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/url.d.ts +30 -35
  589. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/util.d.ts +146 -113
  590. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/v8.d.ts +204 -16
  591. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/vm.d.ts +292 -42
  592. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/wasi.d.ts +13 -19
  593. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/worker_threads.d.ts +38 -34
  594. package/node_modules/@types/responselike/node_modules/@types/node/ts4.8/zlib.d.ts +11 -11
  595. package/node_modules/@types/responselike/node_modules/@types/node/tty.d.ts +4 -5
  596. package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +30 -35
  597. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +149 -108
  598. package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +204 -16
  599. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +292 -42
  600. package/node_modules/@types/responselike/node_modules/@types/node/wasi.d.ts +13 -19
  601. package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +38 -34
  602. package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +11 -11
  603. package/package.json +17 -16
@@ -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.1.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,25 +194,23 @@ 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.
@@ -276,7 +290,7 @@ declare module 'buffer' {
276
290
  * Array entries outside that range will be truncated to fit into it.
277
291
  *
278
292
  * ```js
279
- * import { Buffer } from 'buffer';
293
+ * import { Buffer } from 'node:buffer';
280
294
  *
281
295
  * // Creates a new Buffer containing the UTF-8 bytes of the string 'buffer'.
282
296
  * const buf = Buffer.from([0x62, 0x75, 0x66, 0x66, 0x65, 0x72]);
@@ -321,7 +335,7 @@ declare module 'buffer' {
321
335
  * Returns `true` if `obj` is a `Buffer`, `false` otherwise.
322
336
  *
323
337
  * ```js
324
- * import { Buffer } from 'buffer';
338
+ * import { Buffer } from 'node:buffer';
325
339
  *
326
340
  * Buffer.isBuffer(Buffer.alloc(10)); // true
327
341
  * Buffer.isBuffer(Buffer.from('foo')); // true
@@ -337,7 +351,7 @@ declare module 'buffer' {
337
351
  * or `false` otherwise.
338
352
  *
339
353
  * ```js
340
- * import { Buffer } from 'buffer';
354
+ * import { Buffer } from 'node:buffer';
341
355
  *
342
356
  * console.log(Buffer.isEncoding('utf8'));
343
357
  * // Prints: true
@@ -366,7 +380,7 @@ declare module 'buffer' {
366
380
  * string.
367
381
  *
368
382
  * ```js
369
- * import { Buffer } from 'buffer';
383
+ * import { Buffer } from 'node:buffer';
370
384
  *
371
385
  * const str = '\u00bd + \u00bc = \u00be';
372
386
  *
@@ -401,7 +415,7 @@ declare module 'buffer' {
401
415
  * truncated to `totalLength`.
402
416
  *
403
417
  * ```js
404
- * import { Buffer } from 'buffer';
418
+ * import { Buffer } from 'node:buffer';
405
419
  *
406
420
  * // Create a single `Buffer` from a list of three `Buffer` instances.
407
421
  *
@@ -427,11 +441,28 @@ declare module 'buffer' {
427
441
  * @param totalLength Total length of the `Buffer` instances in `list` when concatenated.
428
442
  */
429
443
  concat(list: ReadonlyArray<Uint8Array>, totalLength?: number): Buffer;
444
+ /**
445
+ * Copies the underlying memory of `view` into a new `Buffer`.
446
+ *
447
+ * ```js
448
+ * const u16 = new Uint16Array([0, 0xffff]);
449
+ * const buf = Buffer.copyBytesFrom(u16, 1, 1);
450
+ * u16[1] = 0;
451
+ * console.log(buf.length); // 2
452
+ * console.log(buf[0]); // 255
453
+ * console.log(buf[1]); // 255
454
+ * ```
455
+ * @since v19.8.0
456
+ * @param view The {TypedArray} to copy.
457
+ * @param [offset=': 0'] The starting offset within `view`.
458
+ * @param [length=view.length - offset] The number of elements from `view` to copy.
459
+ */
460
+ copyBytesFrom(view: NodeJS.TypedArray, offset?: number, length?: number): Buffer;
430
461
  /**
431
462
  * Compares `buf1` to `buf2`, typically for the purpose of sorting arrays of`Buffer` instances. This is equivalent to calling `buf1.compare(buf2)`.
432
463
  *
433
464
  * ```js
434
- * import { Buffer } from 'buffer';
465
+ * import { Buffer } from 'node:buffer';
435
466
  *
436
467
  * const buf1 = Buffer.from('1234');
437
468
  * const buf2 = Buffer.from('0123');
@@ -449,7 +480,7 @@ declare module 'buffer' {
449
480
  * Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the`Buffer` will be zero-filled.
450
481
  *
451
482
  * ```js
452
- * import { Buffer } from 'buffer';
483
+ * import { Buffer } from 'node:buffer';
453
484
  *
454
485
  * const buf = Buffer.alloc(5);
455
486
  *
@@ -457,12 +488,12 @@ declare module 'buffer' {
457
488
  * // Prints: <Buffer 00 00 00 00 00>
458
489
  * ```
459
490
  *
460
- * If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_INVALID_ARG_VALUE` is thrown.
491
+ * If `size` is larger than {@link constants.MAX_LENGTH} or smaller than 0, `ERR_OUT_OF_RANGE` is thrown.
461
492
  *
462
493
  * If `fill` is specified, the allocated `Buffer` will be initialized by calling `buf.fill(fill)`.
463
494
  *
464
495
  * ```js
465
- * import { Buffer } from 'buffer';
496
+ * import { Buffer } from 'node:buffer';
466
497
  *
467
498
  * const buf = Buffer.alloc(5, 'a');
468
499
  *
@@ -474,7 +505,7 @@ declare module 'buffer' {
474
505
  * initialized by calling `buf.fill(fill, encoding)`.
475
506
  *
476
507
  * ```js
477
- * import { Buffer } from 'buffer';
508
+ * import { Buffer } from 'node:buffer';
478
509
  *
479
510
  * const buf = Buffer.alloc(11, 'aGVsbG8gd29ybGQ=', 'base64');
480
511
  *
@@ -494,13 +525,13 @@ declare module 'buffer' {
494
525
  */
495
526
  alloc(size: number, fill?: string | Buffer | number, encoding?: BufferEncoding): Buffer;
496
527
  /**
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.
528
+ * 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
529
  *
499
530
  * The underlying memory for `Buffer` instances created in this way is _not_
500
531
  * _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
532
  *
502
533
  * ```js
503
- * import { Buffer } from 'buffer';
534
+ * import { Buffer } from 'node:buffer';
504
535
  *
505
536
  * const buf = Buffer.allocUnsafe(10);
506
537
  *
@@ -531,15 +562,15 @@ declare module 'buffer' {
531
562
  */
532
563
  allocUnsafe(size: number): Buffer;
533
564
  /**
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.
565
+ * 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
566
+ * `size` is 0.
536
567
  *
537
568
  * The underlying memory for `Buffer` instances created in this way is _not_
538
569
  * _initialized_. The contents of the newly created `Buffer` are unknown and _may contain sensitive data_. Use `buf.fill(0)` to initialize
539
570
  * such `Buffer` instances with zeroes.
540
571
  *
541
572
  * When using `Buffer.allocUnsafe()` to allocate new `Buffer` instances,
542
- * allocations under 4 KB are sliced from a single pre-allocated `Buffer`. This
573
+ * allocations under 4 KiB are sliced from a single pre-allocated `Buffer`. This
543
574
  * allows applications to avoid the garbage collection overhead of creating many
544
575
  * individually allocated `Buffer` instances. This approach improves both
545
576
  * performance and memory usage by eliminating the need to track and clean up as
@@ -551,7 +582,7 @@ declare module 'buffer' {
551
582
  * then copying out the relevant bits.
552
583
  *
553
584
  * ```js
554
- * import { Buffer } from 'buffer';
585
+ * import { Buffer } from 'node:buffer';
555
586
  *
556
587
  * // Need to keep around a few small chunks of memory.
557
588
  * const store = [];
@@ -589,7 +620,7 @@ declare module 'buffer' {
589
620
  * written. However, partially encoded characters will not be written.
590
621
  *
591
622
  * ```js
592
- * import { Buffer } from 'buffer';
623
+ * import { Buffer } from 'node:buffer';
593
624
  *
594
625
  * const buf = Buffer.alloc(256);
595
626
  *
@@ -625,7 +656,7 @@ declare module 'buffer' {
625
656
  * as {@link constants.MAX_STRING_LENGTH}.
626
657
  *
627
658
  * ```js
628
- * import { Buffer } from 'buffer';
659
+ * import { Buffer } from 'node:buffer';
629
660
  *
630
661
  * const buf1 = Buffer.allocUnsafe(26);
631
662
  *
@@ -662,7 +693,7 @@ declare module 'buffer' {
662
693
  * In particular, `Buffer.from(buf.toJSON())` works like `Buffer.from(buf)`.
663
694
  *
664
695
  * ```js
665
- * import { Buffer } from 'buffer';
696
+ * import { Buffer } from 'node:buffer';
666
697
  *
667
698
  * const buf = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5]);
668
699
  * const json = JSON.stringify(buf);
@@ -689,7 +720,7 @@ declare module 'buffer' {
689
720
  * Returns `true` if both `buf` and `otherBuffer` have exactly the same bytes,`false` otherwise. Equivalent to `buf.compare(otherBuffer) === 0`.
690
721
  *
691
722
  * ```js
692
- * import { Buffer } from 'buffer';
723
+ * import { Buffer } from 'node:buffer';
693
724
  *
694
725
  * const buf1 = Buffer.from('ABC');
695
726
  * const buf2 = Buffer.from('414243', 'hex');
@@ -713,7 +744,7 @@ declare module 'buffer' {
713
744
  * * `-1` is returned if `target` should come _after_`buf` when sorted.
714
745
  *
715
746
  * ```js
716
- * import { Buffer } from 'buffer';
747
+ * import { Buffer } from 'node:buffer';
717
748
  *
718
749
  * const buf1 = Buffer.from('ABC');
719
750
  * const buf2 = Buffer.from('BCD');
@@ -737,7 +768,7 @@ declare module 'buffer' {
737
768
  * The optional `targetStart`, `targetEnd`, `sourceStart`, and `sourceEnd`arguments can be used to limit the comparison to specific ranges within `target`and `buf` respectively.
738
769
  *
739
770
  * ```js
740
- * import { Buffer } from 'buffer';
771
+ * import { Buffer } from 'node:buffer';
741
772
  *
742
773
  * const buf1 = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8, 9]);
743
774
  * const buf2 = Buffer.from([5, 6, 7, 8, 9, 1, 2, 3, 4]);
@@ -773,7 +804,7 @@ declare module 'buffer' {
773
804
  * different function arguments.
774
805
  *
775
806
  * ```js
776
- * import { Buffer } from 'buffer';
807
+ * import { Buffer } from 'node:buffer';
777
808
  *
778
809
  * // Create two `Buffer` instances.
779
810
  * const buf1 = Buffer.allocUnsafe(26);
@@ -794,7 +825,7 @@ declare module 'buffer' {
794
825
  * ```
795
826
  *
796
827
  * ```js
797
- * import { Buffer } from 'buffer';
828
+ * import { Buffer } from 'node:buffer';
798
829
  *
799
830
  * // Create a `Buffer` and copy data from one region to an overlapping region
800
831
  * // within the same `Buffer`.
@@ -827,7 +858,7 @@ declare module 'buffer' {
827
858
  * which is a superclass of `Buffer`. To copy the slice, use`Uint8Array.prototype.slice()`.
828
859
  *
829
860
  * ```js
830
- * import { Buffer } from 'buffer';
861
+ * import { Buffer } from 'node:buffer';
831
862
  *
832
863
  * const buf = Buffer.from('buffer');
833
864
  *
@@ -865,7 +896,7 @@ declare module 'buffer' {
865
896
  * Modifying the new `Buffer` slice will modify the memory in the original `Buffer`because the allocated memory of the two objects overlap.
866
897
  *
867
898
  * ```js
868
- * import { Buffer } from 'buffer';
899
+ * import { Buffer } from 'node:buffer';
869
900
  *
870
901
  * // Create a `Buffer` with the ASCII alphabet, take a slice, and modify one byte
871
902
  * // from the original `Buffer`.
@@ -892,7 +923,7 @@ declare module 'buffer' {
892
923
  * end of `buf` rather than the beginning.
893
924
  *
894
925
  * ```js
895
- * import { Buffer } from 'buffer';
926
+ * import { Buffer } from 'node:buffer';
896
927
  *
897
928
  * const buf = Buffer.from('buffer');
898
929
  *
@@ -919,7 +950,7 @@ declare module 'buffer' {
919
950
  * `value` is interpreted and written as a two's complement signed integer.
920
951
  *
921
952
  * ```js
922
- * import { Buffer } from 'buffer';
953
+ * import { Buffer } from 'node:buffer';
923
954
  *
924
955
  * const buf = Buffer.allocUnsafe(8);
925
956
  *
@@ -940,7 +971,7 @@ declare module 'buffer' {
940
971
  * `value` is interpreted and written as a two's complement signed integer.
941
972
  *
942
973
  * ```js
943
- * import { Buffer } from 'buffer';
974
+ * import { Buffer } from 'node:buffer';
944
975
  *
945
976
  * const buf = Buffer.allocUnsafe(8);
946
977
  *
@@ -961,7 +992,7 @@ declare module 'buffer' {
961
992
  * This function is also available under the `writeBigUint64BE` alias.
962
993
  *
963
994
  * ```js
964
- * import { Buffer } from 'buffer';
995
+ * import { Buffer } from 'node:buffer';
965
996
  *
966
997
  * const buf = Buffer.allocUnsafe(8);
967
998
  *
@@ -985,7 +1016,7 @@ declare module 'buffer' {
985
1016
  * Writes `value` to `buf` at the specified `offset` as little-endian
986
1017
  *
987
1018
  * ```js
988
- * import { Buffer } from 'buffer';
1019
+ * import { Buffer } from 'node:buffer';
989
1020
  *
990
1021
  * const buf = Buffer.allocUnsafe(8);
991
1022
  *
@@ -1014,7 +1045,7 @@ declare module 'buffer' {
1014
1045
  * This function is also available under the `writeUintLE` alias.
1015
1046
  *
1016
1047
  * ```js
1017
- * import { Buffer } from 'buffer';
1048
+ * import { Buffer } from 'node:buffer';
1018
1049
  *
1019
1050
  * const buf = Buffer.allocUnsafe(6);
1020
1051
  *
@@ -1042,7 +1073,7 @@ declare module 'buffer' {
1042
1073
  * This function is also available under the `writeUintBE` alias.
1043
1074
  *
1044
1075
  * ```js
1045
- * import { Buffer } from 'buffer';
1076
+ * import { Buffer } from 'node:buffer';
1046
1077
  *
1047
1078
  * const buf = Buffer.allocUnsafe(6);
1048
1079
  *
@@ -1068,7 +1099,7 @@ declare module 'buffer' {
1068
1099
  * when `value` is anything other than a signed integer.
1069
1100
  *
1070
1101
  * ```js
1071
- * import { Buffer } from 'buffer';
1102
+ * import { Buffer } from 'node:buffer';
1072
1103
  *
1073
1104
  * const buf = Buffer.allocUnsafe(6);
1074
1105
  *
@@ -1089,7 +1120,7 @@ declare module 'buffer' {
1089
1120
  * signed integer.
1090
1121
  *
1091
1122
  * ```js
1092
- * import { Buffer } from 'buffer';
1123
+ * import { Buffer } from 'node:buffer';
1093
1124
  *
1094
1125
  * const buf = Buffer.allocUnsafe(6);
1095
1126
  *
@@ -1111,7 +1142,7 @@ declare module 'buffer' {
1111
1142
  * This function is also available under the `readBigUint64BE` alias.
1112
1143
  *
1113
1144
  * ```js
1114
- * import { Buffer } from 'buffer';
1145
+ * import { Buffer } from 'node:buffer';
1115
1146
  *
1116
1147
  * const buf = Buffer.from([0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff]);
1117
1148
  *
@@ -1133,7 +1164,7 @@ declare module 'buffer' {
1133
1164
  * This function is also available under the `readBigUint64LE` alias.
1134
1165
  *
1135
1166
  * ```js
1136
- * import { Buffer } from 'buffer';
1167
+ * import { Buffer } from 'node:buffer';
1137
1168
  *
1138
1169
  * const buf = Buffer.from([0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0xff, 0xff]);
1139
1170
  *
@@ -1174,7 +1205,7 @@ declare module 'buffer' {
1174
1205
  * This function is also available under the `readUintLE` alias.
1175
1206
  *
1176
1207
  * ```js
1177
- * import { Buffer } from 'buffer';
1208
+ * import { Buffer } from 'node:buffer';
1178
1209
  *
1179
1210
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]);
1180
1211
  *
@@ -1198,7 +1229,7 @@ declare module 'buffer' {
1198
1229
  * This function is also available under the `readUintBE` alias.
1199
1230
  *
1200
1231
  * ```js
1201
- * import { Buffer } from 'buffer';
1232
+ * import { Buffer } from 'node:buffer';
1202
1233
  *
1203
1234
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]);
1204
1235
  *
@@ -1222,7 +1253,7 @@ declare module 'buffer' {
1222
1253
  * supporting up to 48 bits of accuracy.
1223
1254
  *
1224
1255
  * ```js
1225
- * import { Buffer } from 'buffer';
1256
+ * import { Buffer } from 'node:buffer';
1226
1257
  *
1227
1258
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]);
1228
1259
  *
@@ -1239,7 +1270,7 @@ declare module 'buffer' {
1239
1270
  * supporting up to 48 bits of accuracy.
1240
1271
  *
1241
1272
  * ```js
1242
- * import { Buffer } from 'buffer';
1273
+ * import { Buffer } from 'node:buffer';
1243
1274
  *
1244
1275
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78, 0x90, 0xab]);
1245
1276
  *
@@ -1261,7 +1292,7 @@ declare module 'buffer' {
1261
1292
  * This function is also available under the `readUint8` alias.
1262
1293
  *
1263
1294
  * ```js
1264
- * import { Buffer } from 'buffer';
1295
+ * import { Buffer } from 'node:buffer';
1265
1296
  *
1266
1297
  * const buf = Buffer.from([1, -2]);
1267
1298
  *
@@ -1287,7 +1318,7 @@ declare module 'buffer' {
1287
1318
  * This function is also available under the `readUint16LE` alias.
1288
1319
  *
1289
1320
  * ```js
1290
- * import { Buffer } from 'buffer';
1321
+ * import { Buffer } from 'node:buffer';
1291
1322
  *
1292
1323
  * const buf = Buffer.from([0x12, 0x34, 0x56]);
1293
1324
  *
@@ -1313,7 +1344,7 @@ declare module 'buffer' {
1313
1344
  * This function is also available under the `readUint16BE` alias.
1314
1345
  *
1315
1346
  * ```js
1316
- * import { Buffer } from 'buffer';
1347
+ * import { Buffer } from 'node:buffer';
1317
1348
  *
1318
1349
  * const buf = Buffer.from([0x12, 0x34, 0x56]);
1319
1350
  *
@@ -1337,7 +1368,7 @@ declare module 'buffer' {
1337
1368
  * This function is also available under the `readUint32LE` alias.
1338
1369
  *
1339
1370
  * ```js
1340
- * import { Buffer } from 'buffer';
1371
+ * import { Buffer } from 'node:buffer';
1341
1372
  *
1342
1373
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78]);
1343
1374
  *
@@ -1361,7 +1392,7 @@ declare module 'buffer' {
1361
1392
  * This function is also available under the `readUint32BE` alias.
1362
1393
  *
1363
1394
  * ```js
1364
- * import { Buffer } from 'buffer';
1395
+ * import { Buffer } from 'node:buffer';
1365
1396
  *
1366
1397
  * const buf = Buffer.from([0x12, 0x34, 0x56, 0x78]);
1367
1398
  *
@@ -1383,7 +1414,7 @@ declare module 'buffer' {
1383
1414
  * Integers read from a `Buffer` are interpreted as two's complement signed values.
1384
1415
  *
1385
1416
  * ```js
1386
- * import { Buffer } from 'buffer';
1417
+ * import { Buffer } from 'node:buffer';
1387
1418
  *
1388
1419
  * const buf = Buffer.from([-1, 5]);
1389
1420
  *
@@ -1404,7 +1435,7 @@ declare module 'buffer' {
1404
1435
  * Integers read from a `Buffer` are interpreted as two's complement signed values.
1405
1436
  *
1406
1437
  * ```js
1407
- * import { Buffer } from 'buffer';
1438
+ * import { Buffer } from 'node:buffer';
1408
1439
  *
1409
1440
  * const buf = Buffer.from([0, 5]);
1410
1441
  *
@@ -1423,7 +1454,7 @@ declare module 'buffer' {
1423
1454
  * Integers read from a `Buffer` are interpreted as two's complement signed values.
1424
1455
  *
1425
1456
  * ```js
1426
- * import { Buffer } from 'buffer';
1457
+ * import { Buffer } from 'node:buffer';
1427
1458
  *
1428
1459
  * const buf = Buffer.from([0, 5]);
1429
1460
  *
@@ -1440,7 +1471,7 @@ declare module 'buffer' {
1440
1471
  * Integers read from a `Buffer` are interpreted as two's complement signed values.
1441
1472
  *
1442
1473
  * ```js
1443
- * import { Buffer } from 'buffer';
1474
+ * import { Buffer } from 'node:buffer';
1444
1475
  *
1445
1476
  * const buf = Buffer.from([0, 0, 0, 5]);
1446
1477
  *
@@ -1459,7 +1490,7 @@ declare module 'buffer' {
1459
1490
  * Integers read from a `Buffer` are interpreted as two's complement signed values.
1460
1491
  *
1461
1492
  * ```js
1462
- * import { Buffer } from 'buffer';
1493
+ * import { Buffer } from 'node:buffer';
1463
1494
  *
1464
1495
  * const buf = Buffer.from([0, 0, 0, 5]);
1465
1496
  *
@@ -1474,7 +1505,7 @@ declare module 'buffer' {
1474
1505
  * Reads a 32-bit, little-endian float from `buf` at the specified `offset`.
1475
1506
  *
1476
1507
  * ```js
1477
- * import { Buffer } from 'buffer';
1508
+ * import { Buffer } from 'node:buffer';
1478
1509
  *
1479
1510
  * const buf = Buffer.from([1, 2, 3, 4]);
1480
1511
  *
@@ -1491,7 +1522,7 @@ declare module 'buffer' {
1491
1522
  * Reads a 32-bit, big-endian float from `buf` at the specified `offset`.
1492
1523
  *
1493
1524
  * ```js
1494
- * import { Buffer } from 'buffer';
1525
+ * import { Buffer } from 'node:buffer';
1495
1526
  *
1496
1527
  * const buf = Buffer.from([1, 2, 3, 4]);
1497
1528
  *
@@ -1506,7 +1537,7 @@ declare module 'buffer' {
1506
1537
  * Reads a 64-bit, little-endian double from `buf` at the specified `offset`.
1507
1538
  *
1508
1539
  * ```js
1509
- * import { Buffer } from 'buffer';
1540
+ * import { Buffer } from 'node:buffer';
1510
1541
  *
1511
1542
  * const buf = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]);
1512
1543
  *
@@ -1523,7 +1554,7 @@ declare module 'buffer' {
1523
1554
  * Reads a 64-bit, big-endian double from `buf` at the specified `offset`.
1524
1555
  *
1525
1556
  * ```js
1526
- * import { Buffer } from 'buffer';
1557
+ * import { Buffer } from 'node:buffer';
1527
1558
  *
1528
1559
  * const buf = Buffer.from([1, 2, 3, 4, 5, 6, 7, 8]);
1529
1560
  *
@@ -1540,7 +1571,7 @@ declare module 'buffer' {
1540
1571
  * byte order _in-place_. Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 2.
1541
1572
  *
1542
1573
  * ```js
1543
- * import { Buffer } from 'buffer';
1574
+ * import { Buffer } from 'node:buffer';
1544
1575
  *
1545
1576
  * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]);
1546
1577
  *
@@ -1562,7 +1593,7 @@ declare module 'buffer' {
1562
1593
  * between UTF-16 little-endian and UTF-16 big-endian:
1563
1594
  *
1564
1595
  * ```js
1565
- * import { Buffer } from 'buffer';
1596
+ * import { Buffer } from 'node:buffer';
1566
1597
  *
1567
1598
  * const buf = Buffer.from('This is little-endian UTF-16', 'utf16le');
1568
1599
  * buf.swap16(); // Convert to big-endian UTF-16 text.
@@ -1576,7 +1607,7 @@ declare module 'buffer' {
1576
1607
  * byte order _in-place_. Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 4.
1577
1608
  *
1578
1609
  * ```js
1579
- * import { Buffer } from 'buffer';
1610
+ * import { Buffer } from 'node:buffer';
1580
1611
  *
1581
1612
  * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]);
1582
1613
  *
@@ -1602,7 +1633,7 @@ declare module 'buffer' {
1602
1633
  * Throws `ERR_INVALID_BUFFER_SIZE` if `buf.length` is not a multiple of 8.
1603
1634
  *
1604
1635
  * ```js
1605
- * import { Buffer } from 'buffer';
1636
+ * import { Buffer } from 'node:buffer';
1606
1637
  *
1607
1638
  * const buf1 = Buffer.from([0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8]);
1608
1639
  *
@@ -1631,7 +1662,7 @@ declare module 'buffer' {
1631
1662
  * This function is also available under the `writeUint8` alias.
1632
1663
  *
1633
1664
  * ```js
1634
- * import { Buffer } from 'buffer';
1665
+ * import { Buffer } from 'node:buffer';
1635
1666
  *
1636
1667
  * const buf = Buffer.allocUnsafe(4);
1637
1668
  *
@@ -1661,7 +1692,7 @@ declare module 'buffer' {
1661
1692
  * This function is also available under the `writeUint16LE` alias.
1662
1693
  *
1663
1694
  * ```js
1664
- * import { Buffer } from 'buffer';
1695
+ * import { Buffer } from 'node:buffer';
1665
1696
  *
1666
1697
  * const buf = Buffer.allocUnsafe(4);
1667
1698
  *
@@ -1689,7 +1720,7 @@ declare module 'buffer' {
1689
1720
  * This function is also available under the `writeUint16BE` alias.
1690
1721
  *
1691
1722
  * ```js
1692
- * import { Buffer } from 'buffer';
1723
+ * import { Buffer } from 'node:buffer';
1693
1724
  *
1694
1725
  * const buf = Buffer.allocUnsafe(4);
1695
1726
  *
@@ -1717,7 +1748,7 @@ declare module 'buffer' {
1717
1748
  * This function is also available under the `writeUint32LE` alias.
1718
1749
  *
1719
1750
  * ```js
1720
- * import { Buffer } from 'buffer';
1751
+ * import { Buffer } from 'node:buffer';
1721
1752
  *
1722
1753
  * const buf = Buffer.allocUnsafe(4);
1723
1754
  *
@@ -1744,7 +1775,7 @@ declare module 'buffer' {
1744
1775
  * This function is also available under the `writeUint32BE` alias.
1745
1776
  *
1746
1777
  * ```js
1747
- * import { Buffer } from 'buffer';
1778
+ * import { Buffer } from 'node:buffer';
1748
1779
  *
1749
1780
  * const buf = Buffer.allocUnsafe(4);
1750
1781
  *
@@ -1772,7 +1803,7 @@ declare module 'buffer' {
1772
1803
  * `value` is interpreted and written as a two's complement signed integer.
1773
1804
  *
1774
1805
  * ```js
1775
- * import { Buffer } from 'buffer';
1806
+ * import { Buffer } from 'node:buffer';
1776
1807
  *
1777
1808
  * const buf = Buffer.allocUnsafe(2);
1778
1809
  *
@@ -1795,7 +1826,7 @@ declare module 'buffer' {
1795
1826
  * The `value` is interpreted and written as a two's complement signed integer.
1796
1827
  *
1797
1828
  * ```js
1798
- * import { Buffer } from 'buffer';
1829
+ * import { Buffer } from 'node:buffer';
1799
1830
  *
1800
1831
  * const buf = Buffer.allocUnsafe(2);
1801
1832
  *
@@ -1817,7 +1848,7 @@ declare module 'buffer' {
1817
1848
  * The `value` is interpreted and written as a two's complement signed integer.
1818
1849
  *
1819
1850
  * ```js
1820
- * import { Buffer } from 'buffer';
1851
+ * import { Buffer } from 'node:buffer';
1821
1852
  *
1822
1853
  * const buf = Buffer.allocUnsafe(2);
1823
1854
  *
@@ -1839,7 +1870,7 @@ declare module 'buffer' {
1839
1870
  * The `value` is interpreted and written as a two's complement signed integer.
1840
1871
  *
1841
1872
  * ```js
1842
- * import { Buffer } from 'buffer';
1873
+ * import { Buffer } from 'node:buffer';
1843
1874
  *
1844
1875
  * const buf = Buffer.allocUnsafe(4);
1845
1876
  *
@@ -1861,7 +1892,7 @@ declare module 'buffer' {
1861
1892
  * The `value` is interpreted and written as a two's complement signed integer.
1862
1893
  *
1863
1894
  * ```js
1864
- * import { Buffer } from 'buffer';
1895
+ * import { Buffer } from 'node:buffer';
1865
1896
  *
1866
1897
  * const buf = Buffer.allocUnsafe(4);
1867
1898
  *
@@ -1881,7 +1912,7 @@ declare module 'buffer' {
1881
1912
  * undefined when `value` is anything other than a JavaScript number.
1882
1913
  *
1883
1914
  * ```js
1884
- * import { Buffer } from 'buffer';
1915
+ * import { Buffer } from 'node:buffer';
1885
1916
  *
1886
1917
  * const buf = Buffer.allocUnsafe(4);
1887
1918
  *
@@ -1901,7 +1932,7 @@ declare module 'buffer' {
1901
1932
  * undefined when `value` is anything other than a JavaScript number.
1902
1933
  *
1903
1934
  * ```js
1904
- * import { Buffer } from 'buffer';
1935
+ * import { Buffer } from 'node:buffer';
1905
1936
  *
1906
1937
  * const buf = Buffer.allocUnsafe(4);
1907
1938
  *
@@ -1921,7 +1952,7 @@ declare module 'buffer' {
1921
1952
  * other than a JavaScript number.
1922
1953
  *
1923
1954
  * ```js
1924
- * import { Buffer } from 'buffer';
1955
+ * import { Buffer } from 'node:buffer';
1925
1956
  *
1926
1957
  * const buf = Buffer.allocUnsafe(8);
1927
1958
  *
@@ -1941,7 +1972,7 @@ declare module 'buffer' {
1941
1972
  * other than a JavaScript number.
1942
1973
  *
1943
1974
  * ```js
1944
- * import { Buffer } from 'buffer';
1975
+ * import { Buffer } from 'node:buffer';
1945
1976
  *
1946
1977
  * const buf = Buffer.allocUnsafe(8);
1947
1978
  *
@@ -1961,7 +1992,7 @@ declare module 'buffer' {
1961
1992
  * the entire `buf` will be filled:
1962
1993
  *
1963
1994
  * ```js
1964
- * import { Buffer } from 'buffer';
1995
+ * import { Buffer } from 'node:buffer';
1965
1996
  *
1966
1997
  * // Fill a `Buffer` with the ASCII character 'h'.
1967
1998
  *
@@ -1969,6 +2000,12 @@ declare module 'buffer' {
1969
2000
  *
1970
2001
  * console.log(b.toString());
1971
2002
  * // Prints: hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
2003
+ *
2004
+ * // Fill a buffer with empty string
2005
+ * const c = Buffer.allocUnsafe(5).fill('');
2006
+ *
2007
+ * console.log(c.fill(''));
2008
+ * // Prints: <Buffer 00 00 00 00 00>
1972
2009
  * ```
1973
2010
  *
1974
2011
  * `value` is coerced to a `uint32` value if it is not a string, `Buffer`, or
@@ -1979,7 +2016,7 @@ declare module 'buffer' {
1979
2016
  * then only the bytes of that character that fit into `buf` are written:
1980
2017
  *
1981
2018
  * ```js
1982
- * import { Buffer } from 'buffer';
2019
+ * import { Buffer } from 'node:buffer';
1983
2020
  *
1984
2021
  * // Fill a `Buffer` with character that takes up two bytes in UTF-8.
1985
2022
  *
@@ -1991,7 +2028,7 @@ declare module 'buffer' {
1991
2028
  * fill data remains, an exception is thrown:
1992
2029
  *
1993
2030
  * ```js
1994
- * import { Buffer } from 'buffer';
2031
+ * import { Buffer } from 'node:buffer';
1995
2032
  *
1996
2033
  * const buf = Buffer.allocUnsafe(5);
1997
2034
  *
@@ -2003,7 +2040,7 @@ declare module 'buffer' {
2003
2040
  * // Throws an exception.
2004
2041
  * ```
2005
2042
  * @since v0.5.0
2006
- * @param value The value with which to fill `buf`.
2043
+ * @param value The value with which to fill `buf`. Empty value (string, Uint8Array, Buffer) is coerced to `0`.
2007
2044
  * @param [offset=0] Number of bytes to skip before starting to fill `buf`.
2008
2045
  * @param [end=buf.length] Where to stop filling `buf` (not inclusive).
2009
2046
  * @param [encoding='utf8'] The encoding for `value` if `value` is a string.
@@ -2020,7 +2057,7 @@ declare module 'buffer' {
2020
2057
  * value between `0` and `255`.
2021
2058
  *
2022
2059
  * ```js
2023
- * import { Buffer } from 'buffer';
2060
+ * import { Buffer } from 'node:buffer';
2024
2061
  *
2025
2062
  * const buf = Buffer.from('this is a buffer');
2026
2063
  *
@@ -2053,7 +2090,7 @@ declare module 'buffer' {
2053
2090
  * behavior matches [`String.prototype.indexOf()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf).
2054
2091
  *
2055
2092
  * ```js
2056
- * import { Buffer } from 'buffer';
2093
+ * import { Buffer } from 'node:buffer';
2057
2094
  *
2058
2095
  * const b = Buffer.from('abcdef');
2059
2096
  *
@@ -2084,7 +2121,7 @@ declare module 'buffer' {
2084
2121
  * rather than the first occurrence.
2085
2122
  *
2086
2123
  * ```js
2087
- * import { Buffer } from 'buffer';
2124
+ * import { Buffer } from 'node:buffer';
2088
2125
  *
2089
2126
  * const buf = Buffer.from('this buffer is a buffer');
2090
2127
  *
@@ -2119,7 +2156,7 @@ declare module 'buffer' {
2119
2156
  * This behavior matches [`String.prototype.lastIndexOf()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf).
2120
2157
  *
2121
2158
  * ```js
2122
- * import { Buffer } from 'buffer';
2159
+ * import { Buffer } from 'node:buffer';
2123
2160
  *
2124
2161
  * const b = Buffer.from('abcdef');
2125
2162
  *
@@ -2152,7 +2189,7 @@ declare module 'buffer' {
2152
2189
  * of `buf`.
2153
2190
  *
2154
2191
  * ```js
2155
- * import { Buffer } from 'buffer';
2192
+ * import { Buffer } from 'node:buffer';
2156
2193
  *
2157
2194
  * // Log the entire contents of a `Buffer`.
2158
2195
  *
@@ -2176,7 +2213,7 @@ declare module 'buffer' {
2176
2213
  * Equivalent to `buf.indexOf() !== -1`.
2177
2214
  *
2178
2215
  * ```js
2179
- * import { Buffer } from 'buffer';
2216
+ * import { Buffer } from 'node:buffer';
2180
2217
  *
2181
2218
  * const buf = Buffer.from('this is a buffer');
2182
2219
  *
@@ -2206,7 +2243,7 @@ declare module 'buffer' {
2206
2243
  * Creates and returns an [iterator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols) of `buf` keys (indices).
2207
2244
  *
2208
2245
  * ```js
2209
- * import { Buffer } from 'buffer';
2246
+ * import { Buffer } from 'node:buffer';
2210
2247
  *
2211
2248
  * const buf = Buffer.from('buffer');
2212
2249
  *
@@ -2229,7 +2266,7 @@ declare module 'buffer' {
2229
2266
  * called automatically when a `Buffer` is used in a `for..of` statement.
2230
2267
  *
2231
2268
  * ```js
2232
- * import { Buffer } from 'buffer';
2269
+ * import { Buffer } from 'node:buffer';
2233
2270
  *
2234
2271
  * const buf = Buffer.from('buffer');
2235
2272
  *
@@ -2292,7 +2329,6 @@ declare module 'buffer' {
2292
2329
  * @param data An ASCII (Latin1) string.
2293
2330
  */
2294
2331
  function btoa(data: string): string;
2295
-
2296
2332
  interface Blob extends __Blob {}
2297
2333
  /**
2298
2334
  * `Blob` class is a global reference for `require('node:buffer').Blob`