cloudstructs 0.9.26 → 0.9.28

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 (382) hide show
  1. package/.jsii +54 -21
  2. package/API.md +42 -16
  3. package/assets/slack-textract/detect.lambda/index.js +866 -17
  4. package/lib/codecommit-mirror/index.js +2 -2
  5. package/lib/dmarc/index.js +1 -1
  6. package/lib/ecs-service-roller/index.js +2 -2
  7. package/lib/email-receiver/receiver.d.ts +11 -1
  8. package/lib/email-receiver/receiver.js +12 -8
  9. package/lib/mjml-template/index.js +1 -1
  10. package/lib/saml-identity-provider/index.js +2 -2
  11. package/lib/slack-app/manifest.js +1 -1
  12. package/lib/slack-app/slack-app.js +2 -2
  13. package/lib/slack-events/index.js +1 -1
  14. package/lib/slack-textract/index.js +1 -1
  15. package/lib/ssl-server-test/index.js +1 -1
  16. package/lib/state-machine-cr-provider/index.js +1 -1
  17. package/lib/static-website/index.js +1 -1
  18. package/lib/toolkit-cleaner/index.js +1 -1
  19. package/lib/url-shortener/index.js +1 -1
  20. package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +2 -2
  21. package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +1 -1
  22. package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +2 -2
  23. package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +1 -1
  24. package/node_modules/@babel/runtime/package.json +1 -1
  25. package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
  26. package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +55 -0
  27. package/node_modules/@slack/logger/node_modules/@types/node/buffer.buffer.d.ts +2 -1
  28. package/node_modules/@slack/logger/node_modules/@types/node/dgram.d.ts +10 -7
  29. package/node_modules/@slack/logger/node_modules/@types/node/fs/promises.d.ts +2 -2
  30. package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +45 -98
  31. package/node_modules/@slack/logger/node_modules/@types/node/globals.d.ts +0 -57
  32. package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +1 -0
  33. package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +527 -234
  34. package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +30 -5
  35. package/node_modules/@slack/logger/node_modules/@types/node/package.json +2 -2
  36. package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +5 -0
  37. package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +54 -4
  38. package/node_modules/@slack/logger/node_modules/@types/node/sea.d.ts +1 -1
  39. package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +207 -2
  40. package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +6 -1
  41. package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +40 -138
  42. package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +85 -17
  43. package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +1 -1
  44. package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
  45. package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +55 -0
  46. package/node_modules/@slack/web-api/node_modules/@types/node/buffer.buffer.d.ts +2 -1
  47. package/node_modules/@slack/web-api/node_modules/@types/node/dgram.d.ts +10 -7
  48. package/node_modules/@slack/web-api/node_modules/@types/node/fs/promises.d.ts +2 -2
  49. package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +45 -98
  50. package/node_modules/@slack/web-api/node_modules/@types/node/globals.d.ts +0 -57
  51. package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +1 -0
  52. package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +527 -234
  53. package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +30 -5
  54. package/node_modules/@slack/web-api/node_modules/@types/node/package.json +2 -2
  55. package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +5 -0
  56. package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +54 -4
  57. package/node_modules/@slack/web-api/node_modules/@types/node/sea.d.ts +1 -1
  58. package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +207 -2
  59. package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +6 -1
  60. package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +40 -138
  61. package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +85 -17
  62. package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +1 -1
  63. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  64. package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +55 -0
  65. package/node_modules/@types/cacheable-request/node_modules/@types/node/buffer.buffer.d.ts +2 -1
  66. package/node_modules/@types/cacheable-request/node_modules/@types/node/dgram.d.ts +10 -7
  67. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs/promises.d.ts +2 -2
  68. package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +45 -98
  69. package/node_modules/@types/cacheable-request/node_modules/@types/node/globals.d.ts +0 -57
  70. package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +1 -0
  71. package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +527 -234
  72. package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +30 -5
  73. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  74. package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +5 -0
  75. package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +54 -4
  76. package/node_modules/@types/cacheable-request/node_modules/@types/node/sea.d.ts +1 -1
  77. package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +207 -2
  78. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +6 -1
  79. package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +40 -138
  80. package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +85 -17
  81. package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +1 -1
  82. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  83. package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +55 -0
  84. package/node_modules/@types/keyv/node_modules/@types/node/buffer.buffer.d.ts +2 -1
  85. package/node_modules/@types/keyv/node_modules/@types/node/dgram.d.ts +10 -7
  86. package/node_modules/@types/keyv/node_modules/@types/node/fs/promises.d.ts +2 -2
  87. package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +45 -98
  88. package/node_modules/@types/keyv/node_modules/@types/node/globals.d.ts +0 -57
  89. package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +1 -0
  90. package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +527 -234
  91. package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +30 -5
  92. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  93. package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +5 -0
  94. package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +54 -4
  95. package/node_modules/@types/keyv/node_modules/@types/node/sea.d.ts +1 -1
  96. package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +207 -2
  97. package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +6 -1
  98. package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +40 -138
  99. package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +85 -17
  100. package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +1 -1
  101. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  102. package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +55 -0
  103. package/node_modules/@types/responselike/node_modules/@types/node/buffer.buffer.d.ts +2 -1
  104. package/node_modules/@types/responselike/node_modules/@types/node/dgram.d.ts +10 -7
  105. package/node_modules/@types/responselike/node_modules/@types/node/fs/promises.d.ts +2 -2
  106. package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +45 -98
  107. package/node_modules/@types/responselike/node_modules/@types/node/globals.d.ts +0 -57
  108. package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +1 -0
  109. package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +527 -234
  110. package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +30 -5
  111. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  112. package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +5 -0
  113. package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +54 -4
  114. package/node_modules/@types/responselike/node_modules/@types/node/sea.d.ts +1 -1
  115. package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +207 -2
  116. package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +6 -1
  117. package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +40 -138
  118. package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +85 -17
  119. package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +1 -1
  120. package/node_modules/abbrev/package.json +11 -9
  121. package/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  122. package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  123. package/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  124. package/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  125. package/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  126. package/node_modules/call-bind-apply-helpers/README.md +62 -0
  127. package/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  128. package/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  129. package/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  130. package/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  131. package/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  132. package/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  133. package/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  134. package/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  135. package/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  136. package/node_modules/call-bind-apply-helpers/index.js +15 -0
  137. package/node_modules/call-bind-apply-helpers/package.json +85 -0
  138. package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  139. package/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  140. package/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  141. package/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  142. package/node_modules/dunder-proto/.eslintrc +5 -0
  143. package/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  144. package/node_modules/dunder-proto/.nycrc +13 -0
  145. package/node_modules/dunder-proto/CHANGELOG.md +24 -0
  146. package/node_modules/dunder-proto/LICENSE +21 -0
  147. package/node_modules/dunder-proto/README.md +54 -0
  148. package/node_modules/dunder-proto/get.d.ts +5 -0
  149. package/node_modules/dunder-proto/get.js +30 -0
  150. package/node_modules/dunder-proto/package.json +76 -0
  151. package/node_modules/dunder-proto/set.d.ts +5 -0
  152. package/node_modules/dunder-proto/set.js +35 -0
  153. package/node_modules/dunder-proto/test/get.js +34 -0
  154. package/node_modules/dunder-proto/test/index.js +4 -0
  155. package/node_modules/dunder-proto/test/set.js +50 -0
  156. package/node_modules/dunder-proto/tsconfig.json +9 -0
  157. package/node_modules/es-define-property/.eslintrc +13 -0
  158. package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  159. package/node_modules/es-define-property/.nycrc +9 -0
  160. package/node_modules/es-define-property/CHANGELOG.md +29 -0
  161. package/node_modules/es-define-property/LICENSE +21 -0
  162. package/node_modules/es-define-property/README.md +49 -0
  163. package/node_modules/es-define-property/index.d.ts +3 -0
  164. package/node_modules/es-define-property/index.js +14 -0
  165. package/node_modules/es-define-property/package.json +81 -0
  166. package/node_modules/es-define-property/test/index.js +56 -0
  167. package/node_modules/es-define-property/tsconfig.json +10 -0
  168. package/node_modules/es-errors/.eslintrc +5 -0
  169. package/node_modules/es-errors/.github/FUNDING.yml +12 -0
  170. package/node_modules/es-errors/CHANGELOG.md +40 -0
  171. package/node_modules/es-errors/LICENSE +21 -0
  172. package/node_modules/es-errors/README.md +55 -0
  173. package/node_modules/es-errors/eval.d.ts +3 -0
  174. package/node_modules/es-errors/eval.js +4 -0
  175. package/node_modules/es-errors/index.d.ts +3 -0
  176. package/node_modules/es-errors/index.js +4 -0
  177. package/node_modules/es-errors/package.json +80 -0
  178. package/node_modules/es-errors/range.d.ts +3 -0
  179. package/node_modules/es-errors/range.js +4 -0
  180. package/node_modules/es-errors/ref.d.ts +3 -0
  181. package/node_modules/es-errors/ref.js +4 -0
  182. package/node_modules/es-errors/syntax.d.ts +3 -0
  183. package/node_modules/es-errors/syntax.js +4 -0
  184. package/node_modules/es-errors/test/index.js +19 -0
  185. package/node_modules/es-errors/tsconfig.json +49 -0
  186. package/node_modules/es-errors/type.d.ts +3 -0
  187. package/node_modules/es-errors/type.js +4 -0
  188. package/node_modules/es-errors/uri.d.ts +3 -0
  189. package/node_modules/es-errors/uri.js +4 -0
  190. package/node_modules/es-object-atoms/.eslintrc +16 -0
  191. package/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  192. package/node_modules/es-object-atoms/CHANGELOG.md +37 -0
  193. package/node_modules/es-object-atoms/LICENSE +21 -0
  194. package/node_modules/es-object-atoms/README.md +63 -0
  195. package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  196. package/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  197. package/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  198. package/node_modules/es-object-atoms/ToObject.js +10 -0
  199. package/node_modules/es-object-atoms/index.d.ts +3 -0
  200. package/node_modules/es-object-atoms/index.js +4 -0
  201. package/node_modules/es-object-atoms/isObject.d.ts +3 -0
  202. package/node_modules/es-object-atoms/isObject.js +6 -0
  203. package/node_modules/es-object-atoms/package.json +80 -0
  204. package/node_modules/es-object-atoms/test/index.js +38 -0
  205. package/node_modules/es-object-atoms/tsconfig.json +6 -0
  206. package/node_modules/es-set-tostringtag/.eslintrc +13 -0
  207. package/node_modules/es-set-tostringtag/.nycrc +9 -0
  208. package/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
  209. package/node_modules/es-set-tostringtag/LICENSE +21 -0
  210. package/node_modules/es-set-tostringtag/README.md +53 -0
  211. package/node_modules/es-set-tostringtag/index.d.ts +10 -0
  212. package/node_modules/es-set-tostringtag/index.js +35 -0
  213. package/node_modules/es-set-tostringtag/package.json +78 -0
  214. package/node_modules/es-set-tostringtag/test/index.js +85 -0
  215. package/node_modules/es-set-tostringtag/tsconfig.json +9 -0
  216. package/node_modules/form-data/lib/form_data.js +24 -22
  217. package/node_modules/form-data/package.json +17 -14
  218. package/node_modules/function-bind/.eslintrc +21 -0
  219. package/node_modules/function-bind/.github/FUNDING.yml +12 -0
  220. package/node_modules/function-bind/.github/SECURITY.md +3 -0
  221. package/node_modules/function-bind/.nycrc +13 -0
  222. package/node_modules/function-bind/CHANGELOG.md +136 -0
  223. package/node_modules/function-bind/LICENSE +20 -0
  224. package/node_modules/function-bind/README.md +46 -0
  225. package/node_modules/function-bind/implementation.js +84 -0
  226. package/node_modules/function-bind/index.js +5 -0
  227. package/node_modules/function-bind/package.json +87 -0
  228. package/node_modules/function-bind/test/.eslintrc +9 -0
  229. package/node_modules/function-bind/test/index.js +252 -0
  230. package/node_modules/get-intrinsic/.eslintrc +42 -0
  231. package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  232. package/node_modules/get-intrinsic/.nycrc +9 -0
  233. package/node_modules/get-intrinsic/CHANGELOG.md +186 -0
  234. package/node_modules/get-intrinsic/LICENSE +21 -0
  235. package/node_modules/get-intrinsic/README.md +71 -0
  236. package/node_modules/get-intrinsic/index.js +378 -0
  237. package/node_modules/get-intrinsic/package.json +97 -0
  238. package/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  239. package/node_modules/get-proto/.eslintrc +10 -0
  240. package/node_modules/get-proto/.github/FUNDING.yml +12 -0
  241. package/node_modules/get-proto/.nycrc +9 -0
  242. package/node_modules/get-proto/CHANGELOG.md +21 -0
  243. package/node_modules/get-proto/LICENSE +21 -0
  244. package/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  245. package/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  246. package/node_modules/get-proto/README.md +50 -0
  247. package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  248. package/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  249. package/node_modules/get-proto/index.d.ts +5 -0
  250. package/node_modules/get-proto/index.js +27 -0
  251. package/node_modules/get-proto/package.json +81 -0
  252. package/node_modules/get-proto/test/index.js +68 -0
  253. package/node_modules/get-proto/tsconfig.json +9 -0
  254. package/node_modules/gopd/.eslintrc +16 -0
  255. package/node_modules/gopd/.github/FUNDING.yml +12 -0
  256. package/node_modules/gopd/CHANGELOG.md +45 -0
  257. package/node_modules/gopd/LICENSE +21 -0
  258. package/node_modules/gopd/README.md +40 -0
  259. package/node_modules/gopd/gOPD.d.ts +1 -0
  260. package/node_modules/gopd/gOPD.js +4 -0
  261. package/node_modules/gopd/index.d.ts +5 -0
  262. package/node_modules/gopd/index.js +15 -0
  263. package/node_modules/gopd/package.json +77 -0
  264. package/node_modules/gopd/test/index.js +36 -0
  265. package/node_modules/gopd/tsconfig.json +9 -0
  266. package/node_modules/has-symbols/.eslintrc +11 -0
  267. package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  268. package/node_modules/has-symbols/.nycrc +9 -0
  269. package/node_modules/has-symbols/CHANGELOG.md +91 -0
  270. package/node_modules/has-symbols/LICENSE +21 -0
  271. package/node_modules/has-symbols/README.md +46 -0
  272. package/node_modules/has-symbols/index.d.ts +3 -0
  273. package/node_modules/has-symbols/index.js +14 -0
  274. package/node_modules/has-symbols/package.json +111 -0
  275. package/node_modules/has-symbols/shams.d.ts +3 -0
  276. package/node_modules/has-symbols/shams.js +45 -0
  277. package/node_modules/has-symbols/test/index.js +22 -0
  278. package/node_modules/has-symbols/test/shams/core-js.js +29 -0
  279. package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  280. package/node_modules/has-symbols/test/tests.js +58 -0
  281. package/node_modules/has-symbols/tsconfig.json +10 -0
  282. package/node_modules/has-tostringtag/.eslintrc +5 -0
  283. package/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
  284. package/node_modules/has-tostringtag/.nycrc +13 -0
  285. package/node_modules/has-tostringtag/CHANGELOG.md +42 -0
  286. package/node_modules/has-tostringtag/LICENSE +21 -0
  287. package/node_modules/has-tostringtag/README.md +46 -0
  288. package/node_modules/has-tostringtag/index.d.ts +3 -0
  289. package/node_modules/has-tostringtag/index.js +8 -0
  290. package/node_modules/has-tostringtag/package.json +108 -0
  291. package/node_modules/has-tostringtag/shams.d.ts +3 -0
  292. package/node_modules/has-tostringtag/shams.js +8 -0
  293. package/node_modules/has-tostringtag/test/index.js +21 -0
  294. package/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
  295. package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
  296. package/node_modules/has-tostringtag/test/tests.js +15 -0
  297. package/node_modules/has-tostringtag/tsconfig.json +49 -0
  298. package/node_modules/hasown/.eslintrc +5 -0
  299. package/node_modules/hasown/.github/FUNDING.yml +12 -0
  300. package/node_modules/hasown/.nycrc +13 -0
  301. package/node_modules/hasown/CHANGELOG.md +40 -0
  302. package/node_modules/hasown/LICENSE +21 -0
  303. package/node_modules/hasown/README.md +40 -0
  304. package/node_modules/hasown/index.d.ts +3 -0
  305. package/node_modules/hasown/index.js +8 -0
  306. package/node_modules/hasown/package.json +92 -0
  307. package/node_modules/hasown/tsconfig.json +6 -0
  308. package/node_modules/js-beautify/README.md +19 -8
  309. package/node_modules/js-beautify/js/lib/beautifier.js +35 -18
  310. package/node_modules/js-beautify/js/lib/beautifier.min.js +1 -1
  311. package/node_modules/js-beautify/js/lib/beautify-html.js +35 -18
  312. package/node_modules/js-beautify/js/lib/beautify.js +4 -0
  313. package/node_modules/js-beautify/js/src/core/templatablepattern.js +4 -0
  314. package/node_modules/js-beautify/js/src/html/beautifier.js +5 -4
  315. package/node_modules/js-beautify/js/src/html/tokenizer.js +26 -14
  316. package/node_modules/js-beautify/package.json +5 -5
  317. package/node_modules/math-intrinsics/.eslintrc +16 -0
  318. package/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  319. package/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  320. package/node_modules/math-intrinsics/LICENSE +21 -0
  321. package/node_modules/math-intrinsics/README.md +50 -0
  322. package/node_modules/math-intrinsics/abs.d.ts +1 -0
  323. package/node_modules/math-intrinsics/abs.js +4 -0
  324. package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  325. package/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  326. package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  327. package/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  328. package/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  329. package/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  330. package/node_modules/math-intrinsics/floor.d.ts +1 -0
  331. package/node_modules/math-intrinsics/floor.js +4 -0
  332. package/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  333. package/node_modules/math-intrinsics/isFinite.js +12 -0
  334. package/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  335. package/node_modules/math-intrinsics/isInteger.js +16 -0
  336. package/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  337. package/node_modules/math-intrinsics/isNaN.js +6 -0
  338. package/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  339. package/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  340. package/node_modules/math-intrinsics/max.d.ts +1 -0
  341. package/node_modules/math-intrinsics/max.js +4 -0
  342. package/node_modules/math-intrinsics/min.d.ts +1 -0
  343. package/node_modules/math-intrinsics/min.js +4 -0
  344. package/node_modules/math-intrinsics/mod.d.ts +3 -0
  345. package/node_modules/math-intrinsics/mod.js +9 -0
  346. package/node_modules/math-intrinsics/package.json +86 -0
  347. package/node_modules/math-intrinsics/pow.d.ts +1 -0
  348. package/node_modules/math-intrinsics/pow.js +4 -0
  349. package/node_modules/math-intrinsics/round.d.ts +1 -0
  350. package/node_modules/math-intrinsics/round.js +4 -0
  351. package/node_modules/math-intrinsics/sign.d.ts +3 -0
  352. package/node_modules/math-intrinsics/sign.js +11 -0
  353. package/node_modules/math-intrinsics/test/index.js +192 -0
  354. package/node_modules/math-intrinsics/tsconfig.json +3 -0
  355. package/node_modules/nopt/README.md +9 -8
  356. package/node_modules/nopt/lib/nopt-lib.js +40 -5
  357. package/node_modules/nopt/lib/nopt.js +4 -0
  358. package/node_modules/nopt/package.json +10 -9
  359. package/node_modules/semver/README.md +14 -4
  360. package/node_modules/semver/bin/semver.js +2 -1
  361. package/node_modules/semver/classes/semver.js +22 -6
  362. package/node_modules/semver/functions/diff.js +5 -12
  363. package/node_modules/semver/internal/re.js +2 -0
  364. package/node_modules/semver/package.json +8 -7
  365. package/package.json +17 -17
  366. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/LICENSE +0 -0
  367. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/README.md +0 -0
  368. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/commonjs/index.d.ts +0 -0
  369. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/commonjs/index.d.ts.map +0 -0
  370. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/commonjs/index.js +0 -0
  371. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/commonjs/index.js.map +0 -0
  372. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/commonjs/index.min.js +0 -0
  373. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/commonjs/index.min.js.map +0 -0
  374. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/commonjs/package.json +0 -0
  375. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/esm/index.d.ts +0 -0
  376. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/esm/index.d.ts.map +0 -0
  377. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/esm/index.js +0 -0
  378. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/esm/index.js.map +0 -0
  379. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/esm/index.min.js +0 -0
  380. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/esm/index.min.js.map +0 -0
  381. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/dist/esm/package.json +0 -0
  382. /package/node_modules/{path-scurry/node_modules/lru-cache → lru-cache}/package.json +0 -0
@@ -65,6 +65,7 @@ declare module "net" {
65
65
  * @since v18.13.0
66
66
  */
67
67
  autoSelectFamilyAttemptTimeout?: number | undefined;
68
+ blockList?: BlockList | undefined;
68
69
  }
69
70
  interface IpcSocketConnectOpts {
70
71
  path: string;
@@ -486,17 +487,18 @@ declare module "net" {
486
487
  prependOnceListener(event: "timeout", listener: () => void): this;
487
488
  }
488
489
  interface ListenOptions extends Abortable {
489
- port?: number | undefined;
490
- host?: string | undefined;
491
490
  backlog?: number | undefined;
492
- path?: string | undefined;
493
491
  exclusive?: boolean | undefined;
494
- readableAll?: boolean | undefined;
495
- writableAll?: boolean | undefined;
492
+ host?: string | undefined;
496
493
  /**
497
494
  * @default false
498
495
  */
499
496
  ipv6Only?: boolean | undefined;
497
+ reusePort?: boolean | undefined;
498
+ path?: string | undefined;
499
+ port?: number | undefined;
500
+ readableAll?: boolean | undefined;
501
+ writableAll?: boolean | undefined;
500
502
  }
501
503
  interface ServerOpts {
502
504
  /**
@@ -534,6 +536,15 @@ declare module "net" {
534
536
  * @since v18.17.0, v20.1.0
535
537
  */
536
538
  highWaterMark?: number | undefined;
539
+ /**
540
+ * `blockList` can be used for disabling inbound
541
+ * access to specific IP addresses, IP ranges, or IP subnets. This does not
542
+ * work if the server is behind a reverse proxy, NAT, etc. because the address
543
+ * checked against the block list is the address of the proxy, or the one
544
+ * specified by the NAT.
545
+ * @since v22.13.0
546
+ */
547
+ blockList?: BlockList | undefined;
537
548
  }
538
549
  interface DropArgument {
539
550
  localAddress?: string;
@@ -785,6 +796,12 @@ declare module "net" {
785
796
  * @since v15.0.0, v14.18.0
786
797
  */
787
798
  rules: readonly string[];
799
+ /**
800
+ * Returns `true` if the `value` is a `net.BlockList`.
801
+ * @since v22.13.0
802
+ * @param value Any JS value
803
+ */
804
+ static isBlockList(value: unknown): value is BlockList;
788
805
  }
789
806
  interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts {
790
807
  timeout?: number | undefined;
@@ -997,6 +1014,14 @@ declare module "net" {
997
1014
  * @since v15.14.0, v14.18.0
998
1015
  */
999
1016
  readonly flowlabel: number;
1017
+ /**
1018
+ * @since v22.13.0
1019
+ * @param input An input string containing an IP address and optional port,
1020
+ * e.g. `123.1.2.3:1234` or `[1::1]:1234`.
1021
+ * @returns Returns a `SocketAddress` if parsing was successful.
1022
+ * Otherwise returns `undefined`.
1023
+ */
1024
+ static parse(input: string): SocketAddress | undefined;
1000
1025
  }
1001
1026
  }
1002
1027
  declare module "node:net" {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.10.5",
3
+ "version": "22.13.5",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -215,6 +215,6 @@
215
215
  "undici-types": "~6.20.0"
216
216
  },
217
217
  "peerDependencies": {},
218
- "typesPublisherContentHash": "5204c15eb02bc9a74afae771b0dc25867021c6aa886a7aad0f8c75fe7571881e",
218
+ "typesPublisherContentHash": "f50d94abf6b192ce8d4087c8e3714bfeea42915f01b0f6338f726e5286a67f3a",
219
219
  "typeScriptVersion": "5.0"
220
220
  }
@@ -594,6 +594,11 @@ declare module "perf_hooks" {
594
594
  buffered?: boolean | undefined;
595
595
  },
596
596
  ): void;
597
+ /**
598
+ * @since v16.0.0
599
+ * @returns Current list of entries stored in the performance observer, emptying it out.
600
+ */
601
+ takeRecords(): PerformanceEntry[];
597
602
  }
598
603
  /**
599
604
  * Provides detailed network timing data regarding the loading of an application's resources.
@@ -186,7 +186,10 @@ declare module "process" {
186
186
  readonly inspector: boolean;
187
187
  /**
188
188
  * A boolean value that is `true` if the current Node.js build includes support for IPv6.
189
+ *
190
+ * Since all Node.js builds have IPv6 support, this value is always `true`.
189
191
  * @since v0.5.3
192
+ * @deprecated This property is always true, and any checks based on it are redundant.
190
193
  */
191
194
  readonly ipv6: boolean;
192
195
  /**
@@ -202,17 +205,29 @@ declare module "process" {
202
205
  readonly tls: boolean;
203
206
  /**
204
207
  * A boolean value that is `true` if the current Node.js build includes support for ALPN in TLS.
208
+ *
209
+ * In Node.js 11.0.0 and later versions, the OpenSSL dependencies feature unconditional ALPN support.
210
+ * This value is therefore identical to that of `process.features.tls`.
205
211
  * @since v4.8.0
212
+ * @deprecated Use `process.features.tls` instead.
206
213
  */
207
214
  readonly tls_alpn: boolean;
208
215
  /**
209
216
  * A boolean value that is `true` if the current Node.js build includes support for OCSP in TLS.
217
+ *
218
+ * In Node.js 11.0.0 and later versions, the OpenSSL dependencies feature unconditional OCSP support.
219
+ * This value is therefore identical to that of `process.features.tls`.
210
220
  * @since v0.11.13
221
+ * @deprecated Use `process.features.tls` instead.
211
222
  */
212
223
  readonly tls_ocsp: boolean;
213
224
  /**
214
225
  * A boolean value that is `true` if the current Node.js build includes support for SNI in TLS.
226
+ *
227
+ * In Node.js 11.0.0 and later versions, the OpenSSL dependencies feature unconditional SNI support.
228
+ * This value is therefore identical to that of `process.features.tls`.
215
229
  * @since v0.5.3
230
+ * @deprecated Use `process.features.tls` instead.
216
231
  */
217
232
  readonly tls_sni: boolean;
218
233
  /**
@@ -223,8 +238,10 @@ declare module "process" {
223
238
  readonly typescript: "strip" | "transform" | false;
224
239
  /**
225
240
  * A boolean value that is `true` if the current Node.js build includes support for libuv.
226
- * Since it's currently not possible to build Node.js without libuv, this value is always `true`.
241
+ *
242
+ * Since it's not possible to build Node.js without libuv, this value is always `true`.
227
243
  * @since v0.5.3
244
+ * @deprecated This property is always true, and any checks based on it are redundant.
228
245
  */
229
246
  readonly uv: boolean;
230
247
  }
@@ -333,11 +350,43 @@ declare module "process" {
333
350
  TZ?: string;
334
351
  }
335
352
  interface HRTime {
353
+ /**
354
+ * This is the legacy version of {@link process.hrtime.bigint()}
355
+ * before bigint was introduced in JavaScript.
356
+ *
357
+ * The `process.hrtime()` method returns the current high-resolution real time in a `[seconds, nanoseconds]` tuple `Array`,
358
+ * where `nanoseconds` is the remaining part of the real time that can't be represented in second precision.
359
+ *
360
+ * `time` is an optional parameter that must be the result of a previous `process.hrtime()` call to diff with the current time.
361
+ * If the parameter passed in is not a tuple `Array`, a TypeError will be thrown.
362
+ * Passing in a user-defined array instead of the result of a previous call to `process.hrtime()` will lead to undefined behavior.
363
+ *
364
+ * These times are relative to an arbitrary time in the past,
365
+ * and not related to the time of day and therefore not subject to clock drift.
366
+ * The primary use is for measuring performance between intervals:
367
+ * ```js
368
+ * const { hrtime } = require('node:process');
369
+ * const NS_PER_SEC = 1e9;
370
+ * const time = hrtime();
371
+ * // [ 1800216, 25 ]
372
+ *
373
+ * setTimeout(() => {
374
+ * const diff = hrtime(time);
375
+ * // [ 1, 552 ]
376
+ *
377
+ * console.log(`Benchmark took ${diff[0] * NS_PER_SEC + diff[1]} nanoseconds`);
378
+ * // Benchmark took 1000000552 nanoseconds
379
+ * }, 1000);
380
+ * ```
381
+ * @since 0.7.6
382
+ * @legacy Use {@link process.hrtime.bigint()} instead.
383
+ * @param time The result of a previous call to `process.hrtime()`
384
+ */
336
385
  (time?: [number, number]): [number, number];
337
386
  /**
338
- * The `bigint` version of the `{@link hrtime()}` method returning the current high-resolution real time in nanoseconds as a `bigint`.
387
+ * The `bigint` version of the {@link process.hrtime()} method returning the current high-resolution real time in nanoseconds as a `bigint`.
339
388
  *
340
- * Unlike `{@link hrtime()}`, it does not support an additional time argument since the difference can just be computed directly by subtraction of the two `bigint`s.
389
+ * Unlike {@link process.hrtime()}, it does not support an additional time argument since the difference can just be computed directly by subtraction of the two `bigint`s.
341
390
  * ```js
342
391
  * import { hrtime } from 'node:process';
343
392
  *
@@ -352,6 +401,7 @@ declare module "process" {
352
401
  * // Benchmark took 1154389282 nanoseconds
353
402
  * }, 1000);
354
403
  * ```
404
+ * @since v10.7.0
355
405
  */
356
406
  bigint(): bigint;
357
407
  }
@@ -1643,7 +1693,7 @@ declare module "process" {
1643
1693
  */
1644
1694
  nextTick(callback: Function, ...args: any[]): void;
1645
1695
  /**
1646
- * This API is available through the [--experimental-permission](https://nodejs.org/api/cli.html#--experimental-permission) flag.
1696
+ * This API is available through the [--permission](https://nodejs.org/api/cli.html#--permission) flag.
1647
1697
  *
1648
1698
  * `process.permission` is an object whose methods are used to manage permissions for the current process.
1649
1699
  * Additional documentation is available in the [Permission Model](https://nodejs.org/api/permissions.html#permission-model).
@@ -149,5 +149,5 @@ declare module "node:sea" {
149
149
  * writes to the returned array buffer is likely to result in a crash.
150
150
  * @since v20.12.0
151
151
  */
152
- function getRawAsset(key: AssetKey): string | ArrayBuffer;
152
+ function getRawAsset(key: AssetKey): ArrayBuffer;
153
153
  }
@@ -10,7 +10,7 @@
10
10
  * work:
11
11
  *
12
12
  * ```js
13
- * import sqlite from 'node:sqlite';
13
+ * import sqlite from 'sqlite';
14
14
  * ```
15
15
  *
16
16
  * The following example shows the basic usage of the `node:sqlite` module to open
@@ -43,6 +43,7 @@
43
43
  * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/sqlite.js)
44
44
  */
45
45
  declare module "node:sqlite" {
46
+ type SupportedValueType = null | number | bigint | string | Uint8Array;
46
47
  interface DatabaseSyncOptions {
47
48
  /**
48
49
  * If `true`, the database is opened by the constructor. When
@@ -70,6 +71,76 @@ declare module "node:sqlite" {
70
71
  * @default false
71
72
  */
72
73
  enableDoubleQuotedStringLiterals?: boolean | undefined;
74
+ /**
75
+ * If `true`, the database is opened in read-only mode.
76
+ * If the database does not exist, opening it will fail.
77
+ * @since v22.12.0
78
+ * @default false
79
+ */
80
+ readOnly?: boolean | undefined;
81
+ /**
82
+ * If `true`, the `loadExtension` SQL function
83
+ * and the `loadExtension()` method are enabled.
84
+ * You can call `enableLoadExtension(false)` later to disable this feature.
85
+ * @since v22.13.0
86
+ * @default false
87
+ */
88
+ allowExtension?: boolean | undefined;
89
+ }
90
+ interface CreateSessionOptions {
91
+ /**
92
+ * A specific table to track changes for. By default, changes to all tables are tracked.
93
+ * @since v22.12.0
94
+ */
95
+ table?: string | undefined;
96
+ /**
97
+ * Name of the database to track. This is useful when multiple databases have been added using
98
+ * [`ATTACH DATABASE`](https://www.sqlite.org/lang_attach.html).
99
+ * @since v22.12.0
100
+ * @default 'main'
101
+ */
102
+ db?: string | undefined;
103
+ }
104
+ interface ApplyChangesetOptions {
105
+ /**
106
+ * Skip changes that, when targeted table name is supplied to this function, return a truthy value.
107
+ * By default, all changes are attempted.
108
+ * @since v22.12.0
109
+ */
110
+ filter?: ((tableName: string) => boolean) | undefined;
111
+ /**
112
+ * Determines how conflicts are handled. **Default**: `SQLITE_CHANGESET_ABORT`.
113
+ * @since v22.12.0
114
+ */
115
+ onConflict?: number | undefined;
116
+ }
117
+ interface FunctionOptions {
118
+ /**
119
+ * If `true`, the [`SQLITE_DETERMINISTIC`](https://www.sqlite.org/c3ref/c_deterministic.html) flag is
120
+ * set on the created function.
121
+ * @default false
122
+ */
123
+ deterministic?: boolean | undefined;
124
+ /**
125
+ * If `true`, the [`SQLITE_DIRECTONLY`](https://www.sqlite.org/c3ref/c_directonly.html) flag is set on
126
+ * the created function.
127
+ * @default false
128
+ */
129
+ directOnly?: boolean | undefined;
130
+ /**
131
+ * If `true`, integer arguments to `function`
132
+ * are converted to `BigInt`s. If `false`, integer arguments are passed as
133
+ * JavaScript numbers.
134
+ * @default false
135
+ */
136
+ useBigIntArguments?: boolean | undefined;
137
+ /**
138
+ * If `true`, `function` can accept a variable number of
139
+ * arguments. If `false`, `function` must be invoked with exactly
140
+ * `function.length` arguments.
141
+ * @default false
142
+ */
143
+ varargs?: boolean | undefined;
73
144
  }
74
145
  /**
75
146
  * This class represents a single [connection](https://www.sqlite.org/c3ref/sqlite3.html) to a SQLite database. All APIs
@@ -92,6 +163,22 @@ declare module "node:sqlite" {
92
163
  * @since v22.5.0
93
164
  */
94
165
  close(): void;
166
+ /**
167
+ * Loads a shared library into the database connection. This method is a wrapper
168
+ * around [`sqlite3_load_extension()`](https://www.sqlite.org/c3ref/load_extension.html). It is required to enable the
169
+ * `allowExtension` option when constructing the `DatabaseSync` instance.
170
+ * @since v22.13.0
171
+ * @param path The path to the shared library to load.
172
+ */
173
+ loadExtension(path: string): void;
174
+ /**
175
+ * Enables or disables the `loadExtension` SQL function, and the `loadExtension()`
176
+ * method. When `allowExtension` is `false` when constructing, you cannot enable
177
+ * loading extensions for security reasons.
178
+ * @since v22.13.0
179
+ * @param allow Whether to allow loading extensions.
180
+ */
181
+ enableLoadExtension(allow: boolean): void;
95
182
  /**
96
183
  * This method allows one or more SQL statements to be executed without returning
97
184
  * any results. This method is useful when executing SQL statements read from a
@@ -100,6 +187,21 @@ declare module "node:sqlite" {
100
187
  * @param sql A SQL string to execute.
101
188
  */
102
189
  exec(sql: string): void;
190
+ /**
191
+ * This method is used to create SQLite user-defined functions. This method is a
192
+ * wrapper around [`sqlite3_create_function_v2()`](https://www.sqlite.org/c3ref/create_function.html).
193
+ * @since v22.13.0
194
+ * @param name The name of the SQLite function to create.
195
+ * @param options Optional configuration settings for the function.
196
+ * @param func The JavaScript function to call when the SQLite
197
+ * function is invoked.
198
+ */
199
+ function(
200
+ name: string,
201
+ options: FunctionOptions,
202
+ func: (...args: SupportedValueType[]) => SupportedValueType,
203
+ ): void;
204
+ function(name: string, func: (...args: SupportedValueType[]) => SupportedValueType): void;
103
205
  /**
104
206
  * Opens the database specified in the `location` argument of the `DatabaseSync`constructor. This method should only be used when the database is not opened via
105
207
  * the constructor. An exception is thrown if the database is already open.
@@ -114,8 +216,73 @@ declare module "node:sqlite" {
114
216
  * @return The prepared statement.
115
217
  */
116
218
  prepare(sql: string): StatementSync;
219
+ /**
220
+ * Creates and attaches a session to the database. This method is a wrapper around
221
+ * [`sqlite3session_create()`](https://www.sqlite.org/session/sqlite3session_create.html) and
222
+ * [`sqlite3session_attach()`](https://www.sqlite.org/session/sqlite3session_attach.html).
223
+ * @param options The configuration options for the session.
224
+ * @returns A session handle.
225
+ * @since v22.12.0
226
+ */
227
+ createSession(options?: CreateSessionOptions): Session;
228
+ /**
229
+ * An exception is thrown if the database is not
230
+ * open. This method is a wrapper around
231
+ * [`sqlite3changeset_apply()`](https://www.sqlite.org/session/sqlite3changeset_apply.html).
232
+ *
233
+ * ```js
234
+ * const sourceDb = new DatabaseSync(':memory:');
235
+ * const targetDb = new DatabaseSync(':memory:');
236
+ *
237
+ * sourceDb.exec('CREATE TABLE data(key INTEGER PRIMARY KEY, value TEXT)');
238
+ * targetDb.exec('CREATE TABLE data(key INTEGER PRIMARY KEY, value TEXT)');
239
+ *
240
+ * const session = sourceDb.createSession();
241
+ *
242
+ * const insert = sourceDb.prepare('INSERT INTO data (key, value) VALUES (?, ?)');
243
+ * insert.run(1, 'hello');
244
+ * insert.run(2, 'world');
245
+ *
246
+ * const changeset = session.changeset();
247
+ * targetDb.applyChangeset(changeset);
248
+ * // Now that the changeset has been applied, targetDb contains the same data as sourceDb.
249
+ * ```
250
+ * @param changeset A binary changeset or patchset.
251
+ * @param options The configuration options for how the changes will be applied.
252
+ * @returns Whether the changeset was applied succesfully without being aborted.
253
+ * @since v22.12.0
254
+ */
255
+ applyChangeset(changeset: Uint8Array, options?: ApplyChangesetOptions): boolean;
256
+ }
257
+ /**
258
+ * @since v22.12.0
259
+ */
260
+ interface Session {
261
+ /**
262
+ * Retrieves a changeset containing all changes since the changeset was created. Can be called multiple times.
263
+ * An exception is thrown if the database or the session is not open. This method is a wrapper around
264
+ * [`sqlite3session_changeset()`](https://www.sqlite.org/session/sqlite3session_changeset.html).
265
+ * @returns Binary changeset that can be applied to other databases.
266
+ * @since v22.12.0
267
+ */
268
+ changeset(): Uint8Array;
269
+ /**
270
+ * Similar to the method above, but generates a more compact patchset. See
271
+ * [Changesets and Patchsets](https://www.sqlite.org/sessionintro.html#changesets_and_patchsets)
272
+ * in the documentation of SQLite. An exception is thrown if the database or the session is not open. This method is a
273
+ * wrapper around
274
+ * [`sqlite3session_patchset()`](https://www.sqlite.org/session/sqlite3session_patchset.html).
275
+ * @returns Binary patchset that can be applied to other databases.
276
+ * @since v22.12.0
277
+ */
278
+ patchset(): Uint8Array;
279
+ /**
280
+ * Closes the session. An exception is thrown if the database or the session is not open. This method is a
281
+ * wrapper around
282
+ * [`sqlite3session_delete()`](https://www.sqlite.org/session/sqlite3session_delete.html).
283
+ */
284
+ close(): void;
117
285
  }
118
- type SupportedValueType = null | number | bigint | string | Uint8Array;
119
286
  interface StatementResultingChanges {
120
287
  /**
121
288
  * The number of rows modified, inserted, or deleted by the most recently completed `INSERT`, `UPDATE`, or `DELETE` statement.
@@ -181,6 +348,24 @@ declare module "node:sqlite" {
181
348
  */
182
349
  get(...anonymousParameters: SupportedValueType[]): unknown;
183
350
  get(namedParameters: Record<string, SupportedValueType>, ...anonymousParameters: SupportedValueType[]): unknown;
351
+ /**
352
+ * This method executes a prepared statement and returns an iterator of
353
+ * objects. If the prepared statement does not return any results, this method
354
+ * returns an empty iterator. The prepared statement [parameters are bound](https://www.sqlite.org/c3ref/bind_blob.html) using
355
+ * the values in `namedParameters` and `anonymousParameters`.
356
+ * @since v22.13.0
357
+ * @param namedParameters An optional object used to bind named parameters.
358
+ * The keys of this object are used to configure the mapping.
359
+ * @param anonymousParameters Zero or more values to bind to anonymous parameters.
360
+ * @returns An iterable iterator of objects. Each object corresponds to a row
361
+ * returned by executing the prepared statement. The keys and values of each
362
+ * object correspond to the column names and values of the row.
363
+ */
364
+ iterate(...anonymousParameters: SupportedValueType[]): NodeJS.Iterator<unknown>;
365
+ iterate(
366
+ namedParameters: Record<string, SupportedValueType>,
367
+ ...anonymousParameters: SupportedValueType[]
368
+ ): NodeJS.Iterator<unknown>;
184
369
  /**
185
370
  * This method executes a prepared statement and returns an object summarizing the
186
371
  * resulting changes. The prepared statement [parameters are bound](https://www.sqlite.org/c3ref/bind_blob.html) using the
@@ -231,4 +416,24 @@ declare module "node:sqlite" {
231
416
  */
232
417
  readonly sourceSQL: string;
233
418
  }
419
+ /**
420
+ * @since v22.13.0
421
+ */
422
+ namespace constants {
423
+ /**
424
+ * Conflicting changes are omitted.
425
+ * @since v22.12.0
426
+ */
427
+ const SQLITE_CHANGESET_OMIT: number;
428
+ /**
429
+ * Conflicting changes replace existing values.
430
+ * @since v22.12.0
431
+ */
432
+ const SQLITE_CHANGESET_REPLACE: number;
433
+ /**
434
+ * Abort when a change encounters a conflict and roll back database.
435
+ * @since v22.12.0
436
+ */
437
+ const SQLITE_CHANGESET_ABORT: number;
438
+ }
234
439
  }
@@ -981,7 +981,12 @@ declare module "stream" {
981
981
  * @since v17.0.0
982
982
  * @experimental
983
983
  */
984
- static toWeb(streamReadable: Readable): streamWeb.ReadableStream;
984
+ static toWeb(
985
+ streamReadable: Readable,
986
+ options?: {
987
+ strategy?: streamWeb.QueuingStrategy | undefined;
988
+ },
989
+ ): streamWeb.ReadableStream;
985
990
  }
986
991
  interface WritableOptions extends StreamOptions<Writable> {
987
992
  decodeStrings?: boolean | undefined;