node-red-contrib-tak-registration 0.15.0 → 0.16.1

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 (374) hide show
  1. package/node_modules/@types/node/README.md +2 -2
  2. package/node_modules/@types/node/assert.d.ts +8 -6
  3. package/node_modules/@types/node/async_hooks.d.ts +26 -6
  4. package/node_modules/@types/node/buffer.d.ts +7 -3
  5. package/node_modules/@types/node/child_process.d.ts +28 -124
  6. package/node_modules/@types/node/cluster.d.ts +15 -15
  7. package/node_modules/@types/node/console.d.ts +17 -17
  8. package/node_modules/@types/node/crypto.d.ts +95 -38
  9. package/node_modules/@types/node/dgram.d.ts +1 -1
  10. package/node_modules/@types/node/diagnostics_channel.d.ts +18 -13
  11. package/node_modules/@types/node/dns/promises.d.ts +36 -9
  12. package/node_modules/@types/node/dns.d.ts +89 -36
  13. package/node_modules/@types/node/domain.d.ts +1 -1
  14. package/node_modules/@types/node/events.d.ts +1 -2
  15. package/node_modules/@types/node/fs/promises.d.ts +67 -40
  16. package/node_modules/@types/node/fs.d.ts +88 -52
  17. package/node_modules/@types/node/globals.d.ts +148 -351
  18. package/node_modules/@types/node/globals.typedarray.d.ts +1 -0
  19. package/node_modules/@types/node/http.d.ts +73 -7
  20. package/node_modules/@types/node/http2.d.ts +88 -15
  21. package/node_modules/@types/node/https.d.ts +1 -1
  22. package/node_modules/@types/node/index.d.ts +13 -6
  23. package/node_modules/@types/node/inspector.d.ts +222 -13
  24. package/node_modules/@types/node/module.d.ts +153 -31
  25. package/node_modules/@types/node/net.d.ts +3 -6
  26. package/node_modules/@types/node/os.d.ts +8 -7
  27. package/node_modules/@types/node/package.json +14 -84
  28. package/node_modules/@types/node/path.d.ts +1 -1
  29. package/node_modules/@types/node/perf_hooks.d.ts +24 -10
  30. package/node_modules/@types/node/process.d.ts +21 -11
  31. package/node_modules/@types/node/punycode.d.ts +1 -1
  32. package/node_modules/@types/node/querystring.d.ts +1 -1
  33. package/node_modules/@types/node/readline/promises.d.ts +0 -1
  34. package/node_modules/@types/node/readline.d.ts +13 -13
  35. package/node_modules/@types/node/repl.d.ts +25 -17
  36. package/node_modules/@types/node/sea.d.ts +1 -1
  37. package/node_modules/@types/node/sqlite.d.ts +209 -3
  38. package/node_modules/@types/node/stream/web.d.ts +8 -0
  39. package/node_modules/@types/node/stream.d.ts +30 -24
  40. package/node_modules/@types/node/string_decoder.d.ts +1 -1
  41. package/node_modules/@types/node/test.d.ts +2029 -1975
  42. package/node_modules/@types/node/timers/promises.d.ts +1 -1
  43. package/node_modules/@types/node/timers.d.ts +1 -3
  44. package/node_modules/@types/node/tls.d.ts +2 -48
  45. package/node_modules/@types/node/trace_events.d.ts +6 -6
  46. package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  47. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +1 -0
  48. package/node_modules/@types/node/ts5.6/index.d.ts +15 -6
  49. package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  50. package/node_modules/@types/node/ts5.7/index.d.ts +101 -0
  51. package/node_modules/@types/node/tty.d.ts +1 -1
  52. package/node_modules/@types/node/url.d.ts +73 -20
  53. package/node_modules/@types/node/util.d.ts +23 -298
  54. package/node_modules/@types/node/v8.d.ts +62 -32
  55. package/node_modules/@types/node/vm.d.ts +132 -24
  56. package/node_modules/@types/node/wasi.d.ts +22 -1
  57. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  58. package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  59. package/node_modules/@types/node/web-globals/events.d.ts +94 -0
  60. package/node_modules/@types/node/web-globals/fetch.d.ts +50 -0
  61. package/node_modules/@types/node/web-globals/navigator.d.ts +22 -0
  62. package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  63. package/node_modules/@types/node/worker_threads.d.ts +85 -26
  64. package/node_modules/@types/node/zlib.d.ts +13 -9
  65. package/node_modules/axios/CHANGELOG.md +99 -0
  66. package/node_modules/axios/README.md +105 -28
  67. package/node_modules/axios/dist/axios.js +395 -292
  68. package/node_modules/axios/dist/axios.js.map +1 -1
  69. package/node_modules/axios/dist/axios.min.js +2 -2
  70. package/node_modules/axios/dist/axios.min.js.map +1 -1
  71. package/node_modules/axios/dist/browser/axios.cjs +333 -219
  72. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  73. package/node_modules/axios/dist/esm/axios.js +333 -219
  74. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  75. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  76. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  77. package/node_modules/axios/dist/node/axios.cjs +424 -219
  78. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  79. package/node_modules/axios/index.d.cts +26 -8
  80. package/node_modules/axios/index.d.ts +14 -5
  81. package/node_modules/axios/lib/adapters/adapters.js +6 -4
  82. package/node_modules/axios/lib/adapters/fetch.js +221 -162
  83. package/node_modules/axios/lib/adapters/http.js +18 -0
  84. package/node_modules/axios/lib/adapters/xhr.js +11 -8
  85. package/node_modules/axios/lib/core/Axios.js +2 -4
  86. package/node_modules/axios/lib/core/AxiosError.js +10 -3
  87. package/node_modules/axios/lib/core/dispatchRequest.js +1 -1
  88. package/node_modules/axios/lib/core/mergeConfig.js +1 -1
  89. package/node_modules/axios/lib/defaults/index.js +1 -1
  90. package/node_modules/axios/lib/env/data.js +1 -1
  91. package/node_modules/axios/lib/helpers/buildURL.js +1 -3
  92. package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +73 -0
  93. package/node_modules/axios/lib/helpers/resolveConfig.js +13 -9
  94. package/node_modules/axios/lib/helpers/throttle.js +1 -1
  95. package/node_modules/axios/lib/helpers/toFormData.js +4 -0
  96. package/node_modules/axios/lib/helpers/toURLEncodedForm.js +4 -3
  97. package/node_modules/axios/lib/utils.js +40 -2
  98. package/node_modules/axios/package.json +30 -15
  99. package/node_modules/bignumber.js/CHANGELOG.md +6 -1
  100. package/node_modules/bignumber.js/README.md +5 -4
  101. package/node_modules/bignumber.js/bignumber.js +2 -2
  102. package/node_modules/bignumber.js/bignumber.mjs +2 -2
  103. package/node_modules/bignumber.js/package.json +1 -1
  104. package/node_modules/fast-xml-parser/CHANGELOG.md +7 -0
  105. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  106. package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  107. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  108. package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  109. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  110. package/node_modules/fast-xml-parser/package.json +1 -2
  111. package/node_modules/fast-xml-parser/src/cli/cli.js +4 -0
  112. package/node_modules/fast-xml-parser/src/fxp.d.ts +5 -5
  113. package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +3 -3
  114. package/node_modules/follow-redirects/package.json +1 -1
  115. package/node_modules/form-data/CHANGELOG.md +601 -0
  116. package/node_modules/form-data/{Readme.md → README.md} +34 -37
  117. package/node_modules/form-data/lib/browser.js +3 -1
  118. package/node_modules/form-data/lib/form_data.js +126 -135
  119. package/node_modules/form-data/lib/populate.js +5 -5
  120. package/node_modules/form-data/package.json +24 -16
  121. package/node_modules/protobufjs/dist/light/protobuf.js +8 -7
  122. package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  123. package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  124. package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  125. package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
  126. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
  127. package/node_modules/protobufjs/dist/protobuf.js +8 -7
  128. package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  129. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  130. package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  131. package/node_modules/protobufjs/ext/descriptor/index.js +179 -69
  132. package/node_modules/protobufjs/google/protobuf/descriptor.json +660 -17
  133. package/node_modules/protobufjs/google/protobuf/descriptor.proto +255 -6
  134. package/node_modules/protobufjs/package.json +1 -1
  135. package/node_modules/protobufjs/src/namespace.js +3 -1
  136. package/node_modules/protobufjs/src/root.js +3 -4
  137. package/node_modules/undici-types/agent.d.ts +11 -7
  138. package/node_modules/undici-types/api.d.ts +24 -24
  139. package/node_modules/undici-types/balanced-pool.d.ts +11 -11
  140. package/node_modules/undici-types/cache-interceptor.d.ts +172 -0
  141. package/node_modules/undici-types/client-stats.d.ts +15 -0
  142. package/node_modules/undici-types/client.d.ts +18 -16
  143. package/node_modules/undici-types/cookies.d.ts +2 -0
  144. package/node_modules/undici-types/diagnostics-channel.d.ts +19 -10
  145. package/node_modules/undici-types/dispatcher.d.ts +119 -93
  146. package/node_modules/undici-types/env-http-proxy-agent.d.ts +4 -3
  147. package/node_modules/undici-types/errors.d.ts +69 -47
  148. package/node_modules/undici-types/eventsource.d.ts +3 -3
  149. package/node_modules/undici-types/fetch.d.ts +18 -16
  150. package/node_modules/undici-types/formdata.d.ts +7 -7
  151. package/node_modules/undici-types/global-dispatcher.d.ts +4 -4
  152. package/node_modules/undici-types/global-origin.d.ts +5 -5
  153. package/node_modules/undici-types/h2c-client.d.ts +75 -0
  154. package/node_modules/undici-types/handlers.d.ts +8 -8
  155. package/node_modules/undici-types/header.d.ts +157 -1
  156. package/node_modules/undici-types/index.d.ts +51 -47
  157. package/node_modules/undici-types/interceptors.d.ts +25 -8
  158. package/node_modules/undici-types/mock-agent.d.ts +36 -18
  159. package/node_modules/undici-types/mock-call-history.d.ts +111 -0
  160. package/node_modules/undici-types/mock-client.d.ts +6 -4
  161. package/node_modules/undici-types/mock-errors.d.ts +3 -3
  162. package/node_modules/undici-types/mock-interceptor.d.ts +21 -19
  163. package/node_modules/undici-types/mock-pool.d.ts +6 -4
  164. package/node_modules/undici-types/package.json +1 -1
  165. package/node_modules/undici-types/patch.d.ts +0 -4
  166. package/node_modules/undici-types/pool-stats.d.ts +8 -8
  167. package/node_modules/undici-types/pool.d.ts +14 -12
  168. package/node_modules/undici-types/proxy-agent.d.ts +5 -4
  169. package/node_modules/undici-types/readable.d.ts +18 -15
  170. package/node_modules/undici-types/retry-agent.d.ts +1 -1
  171. package/node_modules/undici-types/retry-handler.d.ts +19 -10
  172. package/node_modules/undici-types/util.d.ts +3 -3
  173. package/node_modules/undici-types/utility.d.ts +7 -0
  174. package/node_modules/undici-types/webidl.d.ts +50 -8
  175. package/node_modules/undici-types/websocket.d.ts +36 -2
  176. package/node_modules/uuid/README.md +8 -19
  177. package/node_modules/uuid/dist/{esm-browser/uuid-bin.js → uuid-bin.js} +1 -1
  178. package/node_modules/uuid/dist/{esm-browser/v4.js → v4.js} +7 -4
  179. package/node_modules/uuid/{dist/esm → dist-node}/md5.js +1 -1
  180. package/node_modules/uuid/dist-node/native.js +2 -0
  181. package/node_modules/uuid/{dist/esm → dist-node}/rng.js +1 -1
  182. package/node_modules/uuid/{dist/esm → dist-node}/sha1.js +1 -1
  183. package/node_modules/uuid/{dist/esm → dist-node}/uuid-bin.js +1 -1
  184. package/node_modules/uuid/{dist/esm → dist-node}/v4.js +7 -4
  185. package/node_modules/uuid/package.json +28 -41
  186. package/package.json +6 -6
  187. package/tak-registration.bak +557 -0
  188. package/tak-registration.js +14 -12
  189. package/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  190. package/node_modules/@types/node/compatibility/index.d.ts +0 -9
  191. package/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  192. package/node_modules/@types/node/dom-events.d.ts +0 -124
  193. package/node_modules/undici-types/file.d.ts +0 -39
  194. package/node_modules/undici-types/filereader.d.ts +0 -54
  195. package/node_modules/uuid/dist/cjs/index.d.ts +0 -15
  196. package/node_modules/uuid/dist/cjs/index.js +0 -31
  197. package/node_modules/uuid/dist/cjs/max.d.ts +0 -2
  198. package/node_modules/uuid/dist/cjs/max.js +0 -3
  199. package/node_modules/uuid/dist/cjs/md5.d.ts +0 -4
  200. package/node_modules/uuid/dist/cjs/md5.js +0 -13
  201. package/node_modules/uuid/dist/cjs/native.d.ts +0 -6
  202. package/node_modules/uuid/dist/cjs/native.js +0 -4
  203. package/node_modules/uuid/dist/cjs/nil.d.ts +0 -2
  204. package/node_modules/uuid/dist/cjs/nil.js +0 -3
  205. package/node_modules/uuid/dist/cjs/package.json +0 -1
  206. package/node_modules/uuid/dist/cjs/parse.d.ts +0 -2
  207. package/node_modules/uuid/dist/cjs/parse.js +0 -11
  208. package/node_modules/uuid/dist/cjs/regex.d.ts +0 -2
  209. package/node_modules/uuid/dist/cjs/regex.js +0 -3
  210. package/node_modules/uuid/dist/cjs/rng.d.ts +0 -1
  211. package/node_modules/uuid/dist/cjs/rng.js +0 -13
  212. package/node_modules/uuid/dist/cjs/sha1.d.ts +0 -4
  213. package/node_modules/uuid/dist/cjs/sha1.js +0 -13
  214. package/node_modules/uuid/dist/cjs/stringify.d.ts +0 -3
  215. package/node_modules/uuid/dist/cjs/stringify.js +0 -39
  216. package/node_modules/uuid/dist/cjs/types.d.ts +0 -21
  217. package/node_modules/uuid/dist/cjs/types.js +0 -2
  218. package/node_modules/uuid/dist/cjs/uuid-bin.d.ts +0 -1
  219. package/node_modules/uuid/dist/cjs/uuid-bin.js +0 -72
  220. package/node_modules/uuid/dist/cjs/v1.d.ts +0 -11
  221. package/node_modules/uuid/dist/cjs/v1.js +0 -87
  222. package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +0 -2
  223. package/node_modules/uuid/dist/cjs/v1ToV6.js +0 -13
  224. package/node_modules/uuid/dist/cjs/v3.d.ts +0 -9
  225. package/node_modules/uuid/dist/cjs/v3.js +0 -14
  226. package/node_modules/uuid/dist/cjs/v35.d.ts +0 -7
  227. package/node_modules/uuid/dist/cjs/v35.js +0 -41
  228. package/node_modules/uuid/dist/cjs/v4.d.ts +0 -4
  229. package/node_modules/uuid/dist/cjs/v4.js +0 -29
  230. package/node_modules/uuid/dist/cjs/v5.d.ts +0 -9
  231. package/node_modules/uuid/dist/cjs/v5.js +0 -14
  232. package/node_modules/uuid/dist/cjs/v6.d.ts +0 -4
  233. package/node_modules/uuid/dist/cjs/v6.js +0 -19
  234. package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +0 -2
  235. package/node_modules/uuid/dist/cjs/v6ToV1.js +0 -13
  236. package/node_modules/uuid/dist/cjs/v7.d.ts +0 -9
  237. package/node_modules/uuid/dist/cjs/v7.js +0 -69
  238. package/node_modules/uuid/dist/cjs/validate.d.ts +0 -2
  239. package/node_modules/uuid/dist/cjs/validate.js +0 -7
  240. package/node_modules/uuid/dist/cjs/version.d.ts +0 -2
  241. package/node_modules/uuid/dist/cjs/version.js +0 -10
  242. package/node_modules/uuid/dist/cjs-browser/index.js +0 -31
  243. package/node_modules/uuid/dist/cjs-browser/max.js +0 -3
  244. package/node_modules/uuid/dist/cjs-browser/md5.js +0 -137
  245. package/node_modules/uuid/dist/cjs-browser/native.js +0 -4
  246. package/node_modules/uuid/dist/cjs-browser/nil.js +0 -3
  247. package/node_modules/uuid/dist/cjs-browser/package.json +0 -1
  248. package/node_modules/uuid/dist/cjs-browser/parse.js +0 -11
  249. package/node_modules/uuid/dist/cjs-browser/regex.js +0 -3
  250. package/node_modules/uuid/dist/cjs-browser/rng.js +0 -14
  251. package/node_modules/uuid/dist/cjs-browser/sha1.js +0 -72
  252. package/node_modules/uuid/dist/cjs-browser/stringify.js +0 -39
  253. package/node_modules/uuid/dist/cjs-browser/types.js +0 -2
  254. package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +0 -72
  255. package/node_modules/uuid/dist/cjs-browser/v1.js +0 -87
  256. package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +0 -13
  257. package/node_modules/uuid/dist/cjs-browser/v3.js +0 -14
  258. package/node_modules/uuid/dist/cjs-browser/v35.js +0 -41
  259. package/node_modules/uuid/dist/cjs-browser/v4.js +0 -29
  260. package/node_modules/uuid/dist/cjs-browser/v5.js +0 -14
  261. package/node_modules/uuid/dist/cjs-browser/v6.js +0 -19
  262. package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +0 -13
  263. package/node_modules/uuid/dist/cjs-browser/v7.js +0 -69
  264. package/node_modules/uuid/dist/cjs-browser/validate.js +0 -7
  265. package/node_modules/uuid/dist/cjs-browser/version.js +0 -10
  266. package/node_modules/uuid/dist/esm/index.d.ts +0 -15
  267. package/node_modules/uuid/dist/esm/max.d.ts +0 -2
  268. package/node_modules/uuid/dist/esm/md5.d.ts +0 -4
  269. package/node_modules/uuid/dist/esm/native.d.ts +0 -6
  270. package/node_modules/uuid/dist/esm/native.js +0 -2
  271. package/node_modules/uuid/dist/esm/nil.d.ts +0 -2
  272. package/node_modules/uuid/dist/esm/parse.d.ts +0 -2
  273. package/node_modules/uuid/dist/esm/regex.d.ts +0 -2
  274. package/node_modules/uuid/dist/esm/rng.d.ts +0 -1
  275. package/node_modules/uuid/dist/esm/sha1.d.ts +0 -4
  276. package/node_modules/uuid/dist/esm/stringify.d.ts +0 -3
  277. package/node_modules/uuid/dist/esm/types.d.ts +0 -21
  278. package/node_modules/uuid/dist/esm/uuid-bin.d.ts +0 -1
  279. package/node_modules/uuid/dist/esm/v1.d.ts +0 -11
  280. package/node_modules/uuid/dist/esm/v1ToV6.d.ts +0 -2
  281. package/node_modules/uuid/dist/esm/v3.d.ts +0 -9
  282. package/node_modules/uuid/dist/esm/v35.d.ts +0 -7
  283. package/node_modules/uuid/dist/esm/v4.d.ts +0 -4
  284. package/node_modules/uuid/dist/esm/v5.d.ts +0 -9
  285. package/node_modules/uuid/dist/esm/v6.d.ts +0 -4
  286. package/node_modules/uuid/dist/esm/v6ToV1.d.ts +0 -2
  287. package/node_modules/uuid/dist/esm/v7.d.ts +0 -9
  288. package/node_modules/uuid/dist/esm/validate.d.ts +0 -2
  289. package/node_modules/uuid/dist/esm/version.d.ts +0 -2
  290. package/node_modules/uuid/dist/esm-browser/index.d.ts +0 -15
  291. package/node_modules/uuid/dist/esm-browser/max.d.ts +0 -2
  292. package/node_modules/uuid/dist/esm-browser/md5.d.ts +0 -2
  293. package/node_modules/uuid/dist/esm-browser/native.d.ts +0 -4
  294. package/node_modules/uuid/dist/esm-browser/nil.d.ts +0 -2
  295. package/node_modules/uuid/dist/esm-browser/parse.d.ts +0 -2
  296. package/node_modules/uuid/dist/esm-browser/regex.d.ts +0 -2
  297. package/node_modules/uuid/dist/esm-browser/rng.d.ts +0 -1
  298. package/node_modules/uuid/dist/esm-browser/sha1.d.ts +0 -2
  299. package/node_modules/uuid/dist/esm-browser/stringify.d.ts +0 -3
  300. package/node_modules/uuid/dist/esm-browser/types.d.ts +0 -21
  301. package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +0 -1
  302. package/node_modules/uuid/dist/esm-browser/v1.d.ts +0 -11
  303. package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +0 -2
  304. package/node_modules/uuid/dist/esm-browser/v3.d.ts +0 -9
  305. package/node_modules/uuid/dist/esm-browser/v35.d.ts +0 -7
  306. package/node_modules/uuid/dist/esm-browser/v4.d.ts +0 -4
  307. package/node_modules/uuid/dist/esm-browser/v5.d.ts +0 -9
  308. package/node_modules/uuid/dist/esm-browser/v6.d.ts +0 -4
  309. package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +0 -2
  310. package/node_modules/uuid/dist/esm-browser/v7.d.ts +0 -9
  311. package/node_modules/uuid/dist/esm-browser/validate.d.ts +0 -2
  312. package/node_modules/uuid/dist/esm-browser/version.d.ts +0 -2
  313. /package/node_modules/uuid/dist/{cjs-browser/index.d.ts → index.d.ts} +0 -0
  314. /package/node_modules/uuid/dist/{esm/index.js → index.js} +0 -0
  315. /package/node_modules/uuid/dist/{cjs-browser/max.d.ts → max.d.ts} +0 -0
  316. /package/node_modules/uuid/dist/{esm/max.js → max.js} +0 -0
  317. /package/node_modules/uuid/dist/{cjs-browser/md5.d.ts → md5.d.ts} +0 -0
  318. /package/node_modules/uuid/dist/{esm-browser/md5.js → md5.js} +0 -0
  319. /package/node_modules/uuid/dist/{cjs-browser/native.d.ts → native.d.ts} +0 -0
  320. /package/node_modules/uuid/dist/{esm-browser/native.js → native.js} +0 -0
  321. /package/node_modules/uuid/dist/{cjs-browser/nil.d.ts → nil.d.ts} +0 -0
  322. /package/node_modules/uuid/dist/{esm/nil.js → nil.js} +0 -0
  323. /package/node_modules/uuid/dist/{cjs-browser/parse.d.ts → parse.d.ts} +0 -0
  324. /package/node_modules/uuid/dist/{esm/parse.js → parse.js} +0 -0
  325. /package/node_modules/uuid/dist/{cjs-browser/regex.d.ts → regex.d.ts} +0 -0
  326. /package/node_modules/uuid/dist/{esm/regex.js → regex.js} +0 -0
  327. /package/node_modules/uuid/dist/{cjs-browser/rng.d.ts → rng.d.ts} +0 -0
  328. /package/node_modules/uuid/dist/{esm-browser/rng.js → rng.js} +0 -0
  329. /package/node_modules/uuid/dist/{cjs-browser/sha1.d.ts → sha1.d.ts} +0 -0
  330. /package/node_modules/uuid/dist/{esm-browser/sha1.js → sha1.js} +0 -0
  331. /package/node_modules/uuid/dist/{cjs-browser/stringify.d.ts → stringify.d.ts} +0 -0
  332. /package/node_modules/uuid/dist/{esm/stringify.js → stringify.js} +0 -0
  333. /package/node_modules/uuid/dist/{cjs-browser/types.d.ts → types.d.ts} +0 -0
  334. /package/node_modules/uuid/dist/{esm/types.js → types.js} +0 -0
  335. /package/node_modules/uuid/dist/{cjs-browser/uuid-bin.d.ts → uuid-bin.d.ts} +0 -0
  336. /package/node_modules/uuid/dist/{cjs-browser/v1.d.ts → v1.d.ts} +0 -0
  337. /package/node_modules/uuid/dist/{esm/v1.js → v1.js} +0 -0
  338. /package/node_modules/uuid/dist/{cjs-browser/v1ToV6.d.ts → v1ToV6.d.ts} +0 -0
  339. /package/node_modules/uuid/dist/{esm/v1ToV6.js → v1ToV6.js} +0 -0
  340. /package/node_modules/uuid/dist/{cjs-browser/v3.d.ts → v3.d.ts} +0 -0
  341. /package/node_modules/uuid/dist/{esm/v3.js → v3.js} +0 -0
  342. /package/node_modules/uuid/dist/{cjs-browser/v35.d.ts → v35.d.ts} +0 -0
  343. /package/node_modules/uuid/dist/{esm/v35.js → v35.js} +0 -0
  344. /package/node_modules/uuid/dist/{cjs-browser/v4.d.ts → v4.d.ts} +0 -0
  345. /package/node_modules/uuid/dist/{cjs-browser/v5.d.ts → v5.d.ts} +0 -0
  346. /package/node_modules/uuid/dist/{esm/v5.js → v5.js} +0 -0
  347. /package/node_modules/uuid/dist/{cjs-browser/v6.d.ts → v6.d.ts} +0 -0
  348. /package/node_modules/uuid/dist/{esm/v6.js → v6.js} +0 -0
  349. /package/node_modules/uuid/dist/{cjs-browser/v6ToV1.d.ts → v6ToV1.d.ts} +0 -0
  350. /package/node_modules/uuid/dist/{esm/v6ToV1.js → v6ToV1.js} +0 -0
  351. /package/node_modules/uuid/dist/{cjs-browser/v7.d.ts → v7.d.ts} +0 -0
  352. /package/node_modules/uuid/dist/{esm/v7.js → v7.js} +0 -0
  353. /package/node_modules/uuid/dist/{cjs-browser/validate.d.ts → validate.d.ts} +0 -0
  354. /package/node_modules/uuid/dist/{esm/validate.js → validate.js} +0 -0
  355. /package/node_modules/uuid/dist/{cjs-browser/version.d.ts → version.d.ts} +0 -0
  356. /package/node_modules/uuid/dist/{esm/version.js → version.js} +0 -0
  357. /package/node_modules/uuid/{dist/esm → dist-node}/bin/uuid +0 -0
  358. /package/node_modules/uuid/{dist/esm-browser → dist-node}/index.js +0 -0
  359. /package/node_modules/uuid/{dist/esm-browser → dist-node}/max.js +0 -0
  360. /package/node_modules/uuid/{dist/esm-browser → dist-node}/nil.js +0 -0
  361. /package/node_modules/uuid/{dist/esm-browser → dist-node}/parse.js +0 -0
  362. /package/node_modules/uuid/{dist/esm-browser → dist-node}/regex.js +0 -0
  363. /package/node_modules/uuid/{dist/esm-browser → dist-node}/stringify.js +0 -0
  364. /package/node_modules/uuid/{dist/esm-browser → dist-node}/types.js +0 -0
  365. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v1.js +0 -0
  366. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v1ToV6.js +0 -0
  367. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v3.js +0 -0
  368. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v35.js +0 -0
  369. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v5.js +0 -0
  370. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v6.js +0 -0
  371. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v6ToV1.js +0 -0
  372. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v7.js +0 -0
  373. /package/node_modules/uuid/{dist/esm-browser → dist-node}/validate.js +0 -0
  374. /package/node_modules/uuid/{dist/esm-browser → dist-node}/version.js +0 -0
@@ -40,7 +40,7 @@
40
40
  * ```
41
41
  * @since v22.5.0
42
42
  * @experimental
43
- * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/sqlite.js)
43
+ * @see [source](https://github.com/nodejs/node/blob/v24.x/lib/sqlite.js)
44
44
  */
45
45
  declare module "node:sqlite" {
46
46
  type SQLInputValue = null | number | bigint | string | NodeJS.ArrayBufferView;
@@ -89,6 +89,41 @@ declare module "node:sqlite" {
89
89
  * @default false
90
90
  */
91
91
  allowExtension?: boolean | undefined;
92
+ /**
93
+ * The [busy timeout](https://sqlite.org/c3ref/busy_timeout.html) in milliseconds. This is the maximum amount of
94
+ * time that SQLite will wait for a database lock to be released before
95
+ * returning an error.
96
+ * @since v24.0.0
97
+ * @default 0
98
+ */
99
+ timeout?: number | undefined;
100
+ /**
101
+ * If `true`, integer fields are read as JavaScript `BigInt` values. If `false`,
102
+ * integer fields are read as JavaScript numbers.
103
+ * @since v24.4.0
104
+ * @default false
105
+ */
106
+ readBigInts?: boolean | undefined;
107
+ /**
108
+ * If `true`, query results are returned as arrays instead of objects.
109
+ * @since v24.4.0
110
+ * @default false
111
+ */
112
+ returnArrays?: boolean | undefined;
113
+ /**
114
+ * If `true`, allows binding named parameters without the prefix
115
+ * character (e.g., `foo` instead of `:foo`).
116
+ * @since v24.4.40
117
+ * @default true
118
+ */
119
+ allowBareNamedParameters?: boolean | undefined;
120
+ /**
121
+ * If `true`, unknown named parameters are ignored when binding.
122
+ * If `false`, an exception is thrown for unknown named parameters.
123
+ * @since v24.4.40
124
+ * @default false
125
+ */
126
+ allowUnknownNamedParameters?: boolean | undefined;
92
127
  }
93
128
  interface CreateSessionOptions {
94
129
  /**
@@ -166,6 +201,31 @@ declare module "node:sqlite" {
166
201
  */
167
202
  varargs?: boolean | undefined;
168
203
  }
204
+ interface AggregateOptions<T extends SQLInputValue = SQLInputValue> extends FunctionOptions {
205
+ /**
206
+ * The identity value for the aggregation function. This value is used when the aggregation
207
+ * function is initialized. When a `Function` is passed the identity will be its return value.
208
+ */
209
+ start: T | (() => T);
210
+ /**
211
+ * The function to call for each row in the aggregation. The
212
+ * function receives the current state and the row value. The return value of
213
+ * this function should be the new state.
214
+ */
215
+ step: (accumulator: T, ...args: SQLOutputValue[]) => T;
216
+ /**
217
+ * The function to call to get the result of the
218
+ * aggregation. The function receives the final state and should return the
219
+ * result of the aggregation.
220
+ */
221
+ result?: ((accumulator: T) => SQLInputValue) | undefined;
222
+ /**
223
+ * When this function is provided, the `aggregate` method will work as a window function.
224
+ * The function receives the current state and the dropped row value. The return value of this function should be the
225
+ * new state.
226
+ */
227
+ inverse?: ((accumulator: T, ...args: SQLOutputValue[]) => T) | undefined;
228
+ }
169
229
  /**
170
230
  * This class represents a single [connection](https://www.sqlite.org/c3ref/sqlite3.html) to a SQLite database. All APIs
171
231
  * exposed by this class execute synchronously.
@@ -181,6 +241,38 @@ declare module "node:sqlite" {
181
241
  * @param options Configuration options for the database connection.
182
242
  */
183
243
  constructor(path: string | Buffer | URL, options?: DatabaseSyncOptions);
244
+ /**
245
+ * Registers a new aggregate function with the SQLite database. This method is a wrapper around
246
+ * [`sqlite3_create_window_function()`](https://www.sqlite.org/c3ref/create_function.html).
247
+ *
248
+ * When used as a window function, the `result` function will be called multiple times.
249
+ *
250
+ * ```js
251
+ * import { DatabaseSync } from 'node:sqlite';
252
+ *
253
+ * const db = new DatabaseSync(':memory:');
254
+ * db.exec(`
255
+ * CREATE TABLE t3(x, y);
256
+ * INSERT INTO t3 VALUES ('a', 4),
257
+ * ('b', 5),
258
+ * ('c', 3),
259
+ * ('d', 8),
260
+ * ('e', 1);
261
+ * `);
262
+ *
263
+ * db.aggregate('sumint', {
264
+ * start: 0,
265
+ * step: (acc, value) => acc + value,
266
+ * });
267
+ *
268
+ * db.prepare('SELECT sumint(y) as total FROM t3').get(); // { total: 21 }
269
+ * ```
270
+ * @since v24.0.0
271
+ * @param name The name of the SQLite function to create.
272
+ * @param options Function configuration settings.
273
+ */
274
+ aggregate(name: string, options: AggregateOptions): void;
275
+ aggregate<T extends SQLInputValue>(name: string, options: AggregateOptions<T>): void;
184
276
  /**
185
277
  * Closes the database connection. An exception is thrown if the database is not
186
278
  * open. This method is a wrapper around [`sqlite3_close_v2()`](https://www.sqlite.org/c3ref/close.html).
@@ -203,6 +295,15 @@ declare module "node:sqlite" {
203
295
  * @param allow Whether to allow loading extensions.
204
296
  */
205
297
  enableLoadExtension(allow: boolean): void;
298
+ /**
299
+ * This method is a wrapper around [`sqlite3_db_filename()`](https://sqlite.org/c3ref/db_filename.html)
300
+ * @since v24.0.0
301
+ * @param dbName Name of the database. This can be `'main'` (the default primary database) or any other
302
+ * database that has been added with [`ATTACH DATABASE`](https://www.sqlite.org/lang_attach.html) **Default:** `'main'`.
303
+ * @returns The location of the database file. When using an in-memory database,
304
+ * this method returns null.
305
+ */
306
+ location(dbName?: string): string | null;
206
307
  /**
207
308
  * This method allows one or more SQL statements to be executed without returning
208
309
  * any results. This method is useful when executing SQL statements read from a
@@ -220,7 +321,7 @@ declare module "node:sqlite" {
220
321
  * @param func The JavaScript function to call when the SQLite
221
322
  * function is invoked. The return value of this function should be a valid
222
323
  * SQLite data type: see
223
- * [Type conversion between JavaScript and SQLite](https://nodejs.org/docs/latest-v22.x/api/sqlite.html#type-conversion-between-javascript-and-sqlite).
324
+ * [Type conversion between JavaScript and SQLite](https://nodejs.org/docs/latest-v24.x/api/sqlite.html#type-conversion-between-javascript-and-sqlite).
224
325
  * The result defaults to `NULL` if the return value is `undefined`.
225
326
  */
226
327
  function(
@@ -234,6 +335,12 @@ declare module "node:sqlite" {
234
335
  * @since v22.15.0
235
336
  */
236
337
  readonly isOpen: boolean;
338
+ /**
339
+ * Whether the database is currently within a transaction. This method
340
+ * is a wrapper around [`sqlite3_get_autocommit()`](https://sqlite.org/c3ref/get_autocommit.html).
341
+ * @since v24.0.0
342
+ */
343
+ readonly isTransaction: boolean;
237
344
  /**
238
345
  * Opens the database specified in the `path` argument of the `DatabaseSync`constructor. This method should only be used when the database is not opened via
239
346
  * the constructor. An exception is thrown if the database is already open.
@@ -289,7 +396,6 @@ declare module "node:sqlite" {
289
396
  * Closes the database connection. If the database connection is already closed
290
397
  * then this is a no-op.
291
398
  * @since v22.15.0
292
- * @experimental
293
399
  */
294
400
  [Symbol.dispose](): void;
295
401
  }
@@ -322,6 +428,38 @@ declare module "node:sqlite" {
322
428
  */
323
429
  close(): void;
324
430
  }
431
+ interface StatementColumnMetadata {
432
+ /**
433
+ * The unaliased name of the column in the origin
434
+ * table, or `null` if the column is the result of an expression or subquery.
435
+ * This property is the result of [`sqlite3_column_origin_name()`](https://www.sqlite.org/c3ref/column_database_name.html).
436
+ */
437
+ column: string | null;
438
+ /**
439
+ * The unaliased name of the origin database, or
440
+ * `null` if the column is the result of an expression or subquery. This
441
+ * property is the result of [`sqlite3_column_database_name()`](https://www.sqlite.org/c3ref/column_database_name.html).
442
+ */
443
+ database: string | null;
444
+ /**
445
+ * The name assigned to the column in the result set of a
446
+ * `SELECT` statement. This property is the result of
447
+ * [`sqlite3_column_name()`](https://www.sqlite.org/c3ref/column_name.html).
448
+ */
449
+ name: string;
450
+ /**
451
+ * The unaliased name of the origin table, or `null` if
452
+ * the column is the result of an expression or subquery. This property is the
453
+ * result of [`sqlite3_column_table_name()`](https://www.sqlite.org/c3ref/column_database_name.html).
454
+ */
455
+ table: string | null;
456
+ /**
457
+ * The declared data type of the column, or `null` if the
458
+ * column is the result of an expression or subquery. This property is the
459
+ * result of [`sqlite3_column_decltype()`](https://www.sqlite.org/c3ref/column_decltype.html).
460
+ */
461
+ type: string | null;
462
+ }
325
463
  interface StatementResultingChanges {
326
464
  /**
327
465
  * The number of rows modified, inserted, or deleted by the most recently completed `INSERT`, `UPDATE`, or `DELETE` statement.
@@ -366,6 +504,14 @@ declare module "node:sqlite" {
366
504
  namedParameters: Record<string, SQLInputValue>,
367
505
  ...anonymousParameters: SQLInputValue[]
368
506
  ): Record<string, SQLOutputValue>[];
507
+ /**
508
+ * This method is used to retrieve information about the columns returned by the
509
+ * prepared statement.
510
+ * @since v23.11.0
511
+ * @returns An array of objects. Each object corresponds to a column
512
+ * in the prepared statement, and contains the following properties:
513
+ */
514
+ columns(): StatementColumnMetadata[];
369
515
  /**
370
516
  * The source SQL text of the prepared statement with parameter
371
517
  * placeholders replaced by the values that were used during the most recent
@@ -465,6 +611,66 @@ declare module "node:sqlite" {
465
611
  */
466
612
  readonly sourceSQL: string;
467
613
  }
614
+ interface BackupOptions {
615
+ /**
616
+ * Name of the source database. This can be `'main'` (the default primary database) or any other
617
+ * database that have been added with [`ATTACH DATABASE`](https://www.sqlite.org/lang_attach.html)
618
+ * @default 'main'
619
+ */
620
+ source?: string | undefined;
621
+ /**
622
+ * Name of the target database. This can be `'main'` (the default primary database) or any other
623
+ * database that have been added with [`ATTACH DATABASE`](https://www.sqlite.org/lang_attach.html)
624
+ * @default 'main'
625
+ */
626
+ target?: string | undefined;
627
+ /**
628
+ * Number of pages to be transmitted in each batch of the backup.
629
+ * @default 100
630
+ */
631
+ rate?: number | undefined;
632
+ /**
633
+ * Callback function that will be called with the number of pages copied and the total number of
634
+ * pages.
635
+ */
636
+ progress?: ((progressInfo: BackupProgressInfo) => void) | undefined;
637
+ }
638
+ interface BackupProgressInfo {
639
+ totalPages: number;
640
+ remainingPages: number;
641
+ }
642
+ /**
643
+ * This method makes a database backup. This method abstracts the
644
+ * [`sqlite3_backup_init()`](https://www.sqlite.org/c3ref/backup_finish.html#sqlite3backupinit),
645
+ * [`sqlite3_backup_step()`](https://www.sqlite.org/c3ref/backup_finish.html#sqlite3backupstep)
646
+ * and [`sqlite3_backup_finish()`](https://www.sqlite.org/c3ref/backup_finish.html#sqlite3backupfinish) functions.
647
+ *
648
+ * The backed-up database can be used normally during the backup process. Mutations coming from the same connection - same
649
+ * `DatabaseSync` - object will be reflected in the backup right away. However, mutations from other connections will cause
650
+ * the backup process to restart.
651
+ *
652
+ * ```js
653
+ * import { backup, DatabaseSync } from 'node:sqlite';
654
+ *
655
+ * const sourceDb = new DatabaseSync('source.db');
656
+ * const totalPagesTransferred = await backup(sourceDb, 'backup.db', {
657
+ * rate: 1, // Copy one page at a time.
658
+ * progress: ({ totalPages, remainingPages }) => {
659
+ * console.log('Backup in progress', { totalPages, remainingPages });
660
+ * },
661
+ * });
662
+ *
663
+ * console.log('Backup completed', totalPagesTransferred);
664
+ * ```
665
+ * @since v23.8.0
666
+ * @param sourceDb The database to backup. The source database must be open.
667
+ * @param path The path where the backup will be created. If the file already exists,
668
+ * the contents will be overwritten.
669
+ * @param options Optional configuration for the backup. The
670
+ * following properties are supported:
671
+ * @returns A promise that resolves when the backup is completed and rejects if an error occurs.
672
+ */
673
+ function backup(sourceDb: DatabaseSync, path: string | Buffer | URL, options?: BackupOptions): Promise<void>;
468
674
  /**
469
675
  * @since v22.13.0
470
676
  */
@@ -6,6 +6,8 @@ type _CountQueuingStrategy = typeof globalThis extends { onmessage: any } ? {}
6
6
  : import("stream/web").CountQueuingStrategy;
7
7
  type _DecompressionStream = typeof globalThis extends { onmessage: any; ReportingObserver: any } ? {}
8
8
  : import("stream/web").DecompressionStream;
9
+ type _QueuingStrategy<T = any> = typeof globalThis extends { onmessage: any } ? {}
10
+ : import("stream/web").QueuingStrategy<T>;
9
11
  type _ReadableByteStreamController = typeof globalThis extends { onmessage: any } ? {}
10
12
  : import("stream/web").ReadableByteStreamController;
11
13
  type _ReadableStream<R = any> = typeof globalThis extends { onmessage: any } ? {}
@@ -143,6 +145,9 @@ declare module "stream/web" {
143
145
  interface TransformerTransformCallback<I, O> {
144
146
  (chunk: I, controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;
145
147
  }
148
+ interface TransformerCancelCallback {
149
+ (reason: any): void | PromiseLike<void>;
150
+ }
146
151
  interface UnderlyingByteSource {
147
152
  autoAllocateChunkSize?: number;
148
153
  cancel?: ReadableStreamErrorCallback;
@@ -261,6 +266,7 @@ declare module "stream/web" {
261
266
  readableType?: undefined;
262
267
  start?: TransformerStartCallback<O>;
263
268
  transform?: TransformerTransformCallback<I, O>;
269
+ cancel?: TransformerCancelCallback;
264
270
  writableType?: undefined;
265
271
  }
266
272
  interface TransformStream<I = any, O = any> {
@@ -483,6 +489,8 @@ declare module "stream/web" {
483
489
  }
484
490
  : typeof import("stream/web").DecompressionStream;
485
491
 
492
+ interface QueuingStrategy<T = any> extends _QueuingStrategy<T> {}
493
+
486
494
  interface ReadableByteStreamController extends _ReadableByteStreamController {}
487
495
  /**
488
496
  * `ReadableByteStreamController` class is a global reference for `import { ReadableByteStreamController } from 'node:stream/web'`.
@@ -2,10 +2,10 @@
2
2
  * A stream is an abstract interface for working with streaming data in Node.js.
3
3
  * The `node:stream` module provides an API for implementing the stream interface.
4
4
  *
5
- * There are many stream objects provided by Node.js. For instance, a [request to an HTTP server](https://nodejs.org/docs/latest-v22.x/api/http.html#class-httpincomingmessage)
6
- * and [`process.stdout`](https://nodejs.org/docs/latest-v22.x/api/process.html#processstdout) are both stream instances.
5
+ * There are many stream objects provided by Node.js. For instance, a [request to an HTTP server](https://nodejs.org/docs/latest-v24.x/api/http.html#class-httpincomingmessage)
6
+ * and [`process.stdout`](https://nodejs.org/docs/latest-v24.x/api/process.html#processstdout) are both stream instances.
7
7
  *
8
- * Streams can be readable, writable, or both. All streams are instances of [`EventEmitter`](https://nodejs.org/docs/latest-v22.x/api/events.html#class-eventemitter).
8
+ * Streams can be readable, writable, or both. All streams are instances of [`EventEmitter`](https://nodejs.org/docs/latest-v24.x/api/events.html#class-eventemitter).
9
9
  *
10
10
  * To access the `node:stream` module:
11
11
  *
@@ -15,7 +15,7 @@
15
15
  *
16
16
  * The `node:stream` module is useful for creating new types of stream instances.
17
17
  * It is usually not necessary to use the `node:stream` module to consume streams.
18
- * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/stream.js)
18
+ * @see [source](https://github.com/nodejs/node/blob/v24.x/lib/stream.js)
19
19
  */
20
20
  declare module "stream" {
21
21
  import { Abortable, EventEmitter } from "node:events";
@@ -76,7 +76,6 @@ declare module "stream" {
76
76
  /**
77
77
  * A utility method for creating a `Readable` from a web `ReadableStream`.
78
78
  * @since v17.0.0
79
- * @experimental
80
79
  */
81
80
  static fromWeb(
82
81
  readableStream: streamWeb.ReadableStream,
@@ -85,7 +84,6 @@ declare module "stream" {
85
84
  /**
86
85
  * A utility method for creating a web `ReadableStream` from a `Readable`.
87
86
  * @since v17.0.0
88
- * @experimental
89
87
  */
90
88
  static toWeb(
91
89
  streamReadable: Readable,
@@ -101,7 +99,6 @@ declare module "stream" {
101
99
  /**
102
100
  * Returns whether the stream was destroyed or errored before emitting `'end'`.
103
101
  * @since v16.8.0
104
- * @experimental
105
102
  */
106
103
  readonly readableAborted: boolean;
107
104
  /**
@@ -113,7 +110,6 @@ declare module "stream" {
113
110
  /**
114
111
  * Returns whether `'data'` has been emitted.
115
112
  * @since v16.7.0, v14.18.0
116
- * @experimental
117
113
  */
118
114
  readonly readableDidRead: boolean;
119
115
  /**
@@ -122,13 +118,13 @@ declare module "stream" {
122
118
  */
123
119
  readonly readableEncoding: BufferEncoding | null;
124
120
  /**
125
- * Becomes `true` when [`'end'`](https://nodejs.org/docs/latest-v22.x/api/stream.html#event-end) event is emitted.
121
+ * Becomes `true` when [`'end'`](https://nodejs.org/docs/latest-v24.x/api/stream.html#event-end) event is emitted.
126
122
  * @since v12.9.0
127
123
  */
128
124
  readonly readableEnded: boolean;
129
125
  /**
130
126
  * This property reflects the current state of a `Readable` stream as described
131
- * in the [Three states](https://nodejs.org/docs/latest-v22.x/api/stream.html#three-states) section.
127
+ * in the [Three states](https://nodejs.org/docs/latest-v24.x/api/stream.html#three-states) section.
132
128
  * @since v9.4.0
133
129
  */
134
130
  readonly readableFlowing: boolean | null;
@@ -619,6 +615,17 @@ declare module "stream" {
619
615
  * @param error Error which will be passed as payload in `'error'` event
620
616
  */
621
617
  destroy(error?: Error): this;
618
+ /**
619
+ * @returns `AsyncIterator` to fully consume the stream.
620
+ * @since v10.0.0
621
+ */
622
+ [Symbol.asyncIterator](): NodeJS.AsyncIterator<any>;
623
+ /**
624
+ * Calls `readable.destroy()` with an `AbortError` and returns
625
+ * a promise that fulfills when the stream is finished.
626
+ * @since v20.4.0
627
+ */
628
+ [Symbol.asyncDispose](): Promise<void>;
622
629
  /**
623
630
  * Event emitter
624
631
  * The defined events on documents including:
@@ -686,12 +693,6 @@ declare module "stream" {
686
693
  removeListener(event: "readable", listener: () => void): this;
687
694
  removeListener(event: "resume", listener: () => void): this;
688
695
  removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
689
- [Symbol.asyncIterator](): NodeJS.AsyncIterator<any>;
690
- /**
691
- * Calls `readable.destroy()` with an `AbortError` and returns a promise that fulfills when the stream is finished.
692
- * @since v20.4.0
693
- */
694
- [Symbol.asyncDispose](): Promise<void>;
695
696
  }
696
697
  interface WritableOptions<T extends Writable = Writable> extends StreamOptions<T> {
697
698
  decodeStrings?: boolean | undefined;
@@ -719,7 +720,6 @@ declare module "stream" {
719
720
  /**
720
721
  * A utility method for creating a `Writable` from a web `WritableStream`.
721
722
  * @since v17.0.0
722
- * @experimental
723
723
  */
724
724
  static fromWeb(
725
725
  writableStream: streamWeb.WritableStream,
@@ -728,7 +728,6 @@ declare module "stream" {
728
728
  /**
729
729
  * A utility method for creating a web `WritableStream` from a `Writable`.
730
730
  * @since v17.0.0
731
- * @experimental
732
731
  */
733
732
  static toWeb(streamWritable: Writable): streamWeb.WritableStream;
734
733
  /**
@@ -737,6 +736,11 @@ declare module "stream" {
737
736
  * @since v11.4.0
738
737
  */
739
738
  readonly writable: boolean;
739
+ /**
740
+ * Returns whether the stream was destroyed or errored before emitting `'finish'`.
741
+ * @since v18.0.0, v16.17.0
742
+ */
743
+ readonly writableAborted: boolean;
740
744
  /**
741
745
  * Is `true` after `writable.end()` has been called. This property
742
746
  * does not indicate whether the data has been flushed, for this use `writable.writableFinished` instead.
@@ -958,6 +962,12 @@ declare module "stream" {
958
962
  * @param error Optional, an error to emit with `'error'` event.
959
963
  */
960
964
  destroy(error?: Error): this;
965
+ /**
966
+ * Calls `writable.destroy()` with an `AbortError` and returns
967
+ * a promise that fulfills when the stream is finished.
968
+ * @since v22.4.0, v20.16.0
969
+ */
970
+ [Symbol.asyncDispose](): Promise<void>;
961
971
  /**
962
972
  * Event emitter
963
973
  * The defined events on documents including:
@@ -1084,7 +1094,6 @@ declare module "stream" {
1084
1094
  /**
1085
1095
  * A utility method for creating a web `ReadableStream` and `WritableStream` from a `Duplex`.
1086
1096
  * @since v17.0.0
1087
- * @experimental
1088
1097
  */
1089
1098
  static toWeb(streamDuplex: Duplex): {
1090
1099
  readable: streamWeb.ReadableStream;
@@ -1093,7 +1102,6 @@ declare module "stream" {
1093
1102
  /**
1094
1103
  * A utility method for creating a `Duplex` from a web `ReadableStream` and `WritableStream`.
1095
1104
  * @since v17.0.0
1096
- * @experimental
1097
1105
  */
1098
1106
  static fromWeb(
1099
1107
  duplexStream: {
@@ -1374,7 +1382,7 @@ declare module "stream" {
1374
1382
  * Especially useful in error handling scenarios where a stream is destroyed
1375
1383
  * prematurely (like an aborted HTTP request), and will not emit `'end'` or `'finish'`.
1376
1384
  *
1377
- * The `finished` API provides [`promise version`](https://nodejs.org/docs/latest-v22.x/api/stream.html#streamfinishedstream-options).
1385
+ * The `finished` API provides [`promise version`](https://nodejs.org/docs/latest-v24.x/api/stream.html#streamfinishedstream-options).
1378
1386
  *
1379
1387
  * `stream.finished()` leaves dangling event listeners (in particular `'error'`, `'end'`, `'finish'` and `'close'`) after `callback` has been
1380
1388
  * invoked. The reason for this is so that unexpected `'error'` events (due to
@@ -1462,7 +1470,7 @@ declare module "stream" {
1462
1470
  * );
1463
1471
  * ```
1464
1472
  *
1465
- * The `pipeline` API provides a [`promise version`](https://nodejs.org/docs/latest-v22.x/api/stream.html#streampipelinesource-transforms-destination-options).
1473
+ * The `pipeline` API provides a [`promise version`](https://nodejs.org/docs/latest-v24.x/api/stream.html#streampipelinesource-transforms-destination-options).
1466
1474
  *
1467
1475
  * `stream.pipeline()` will call `stream.destroy(err)` on all streams except:
1468
1476
  *
@@ -1644,13 +1652,11 @@ declare module "stream" {
1644
1652
  /**
1645
1653
  * Returns whether the stream has encountered an error.
1646
1654
  * @since v17.3.0, v16.14.0
1647
- * @experimental
1648
1655
  */
1649
1656
  function isErrored(stream: Readable | Writable | NodeJS.ReadableStream | NodeJS.WritableStream): boolean;
1650
1657
  /**
1651
1658
  * Returns whether the stream is readable.
1652
1659
  * @since v17.4.0, v16.14.0
1653
- * @experimental
1654
1660
  */
1655
1661
  function isReadable(stream: Readable | NodeJS.ReadableStream): boolean;
1656
1662
  }
@@ -36,7 +36,7 @@
36
36
  * decoder.write(Buffer.from([0x82]));
37
37
  * console.log(decoder.end(Buffer.from([0xAC]))); // Prints: €
38
38
  * ```
39
- * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/string_decoder.js)
39
+ * @see [source](https://github.com/nodejs/node/blob/v24.x/lib/string_decoder.js)
40
40
  */
41
41
  declare module "string_decoder" {
42
42
  class StringDecoder {