@openclaw/slack 2026.7.1-beta.2 → 2026.7.1-beta.5

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 (696) hide show
  1. package/dist/{account-inspect-DOtQbKkB.js → account-inspect-Di7ditqZ.js} +1 -1
  2. package/dist/account-inspect-api.js +1 -1
  3. package/dist/{accounts-BPCiCe8y.js → accounts-BOJJiHSr.js} +14 -1
  4. package/dist/accounts.runtime-DWvaCb-X.js +2 -0
  5. package/dist/{action-runtime-E9QZMf0z.js → action-runtime-DoQGk_8D.js} +36 -32
  6. package/dist/action-runtime.runtime-BABj3aM-.js +2 -0
  7. package/dist/{actions-CqRHPciJ.js → actions-DMpDmKEA.js} +211 -57
  8. package/dist/actions.runtime-C103_BPW.js +2 -0
  9. package/dist/api.js +13 -13
  10. package/dist/{approval-handler.runtime-BqNO_HC_.js → approval-handler.runtime-CIUbOt5T.js} +2 -2
  11. package/dist/{channel-jO8Jdkge.js → channel-CG29WLVd.js} +198 -87
  12. package/dist/channel-plugin-api.js +1 -1
  13. package/dist/{channel.setup-CDOZ8V3p.js → channel.setup-Dq6syTNU.js} +3 -3
  14. package/dist/{client-DG9cyk55.js → client-DGxwSL7f.js} +0 -1
  15. package/dist/{directory-config-DDVHDmrN.js → directory-config-BZuS8141.js} +1 -1
  16. package/dist/directory-contract-api.js +1 -1
  17. package/dist/{directory-live-DC-YA5SQ.js → directory-live-BNsxCgqP.js} +2 -2
  18. package/dist/format-YCNoNkM2.js +107 -0
  19. package/dist/http-routes-api.js +1 -1
  20. package/dist/index.js +1 -1
  21. package/dist/{interactive-replies-D-22gTp3.js → interactive-replies-CXpT-vA_.js} +13 -2
  22. package/dist/interactive-replies-api.js +1 -1
  23. package/dist/{message-tool-api--zYyTqrR.js → message-tool-api-BgWKyu2r.js} +11 -4
  24. package/dist/message-tool-api.js +1 -1
  25. package/dist/{monitor-BQ7P93ll.js → monitor-D6Km2CFH.js} +3 -3
  26. package/dist/outbound-adapter-DVoBfBW5.js +272 -0
  27. package/dist/{pipeline.runtime-cxw6Zihc.js → pipeline.runtime-0wEFX2CS.js} +184 -260
  28. package/dist/{plugin-routes-B9PvcDQJ.js → plugin-routes-CLp4obpN.js} +1 -1
  29. package/dist/{policy-DAE6BTN3.js → policy-Dj-puVPb.js} +10 -4
  30. package/dist/{probe-DFKt9Ute.js → probe-CuwRDE5j.js} +10 -4
  31. package/dist/{provider-BdoeWKr8.js → provider-Cot8h818.js} +153 -120
  32. package/dist/{relay-source-OcqQzKfX.js → relay-source-CU1LhyBj.js} +2 -2
  33. package/dist/{replies-D_G-EPr8.js → replies-Bbx6pG_B.js} +4 -3
  34. package/dist/{reply-blocks-CfJqf7eq.js → reply-blocks-BGQ6zSqM.js} +184 -36
  35. package/dist/{resolve-channels-eniB45fy.js → resolve-channels-CstkChBE.js} +1 -1
  36. package/dist/{resolve-users-DDKzl37a.js → resolve-users-C3NP2c-Q.js} +1 -1
  37. package/dist/{runtime-api-DHJ8ntLr.js → runtime-api-CEmqYxR-.js} +1 -1
  38. package/dist/runtime-api.js +12 -12
  39. package/dist/{scopes-BdVdJxFf.js → scopes-DCWVD5-8.js} +2 -2
  40. package/dist/{send-Dg6U9K7_.js → send-DKDXoeoV.js} +392 -225
  41. package/dist/send.runtime-GPRa63l1.js +2 -0
  42. package/dist/{setup-core-BCGzyZhx.js → setup-core-fGd6Gquy.js} +4 -3
  43. package/dist/setup-entry.js +1 -1
  44. package/dist/setup-plugin-api.js +1 -1
  45. package/dist/{setup-surface-D7xdZLxB.js → setup-surface-Dv2fIJNB.js} +5 -5
  46. package/dist/{shared-iMaNxOIL.js → shared-CosfcFri.js} +5 -5
  47. package/dist/{slash-dispatch.runtime-DVhs_fpQ.js → slash-dispatch.runtime-Ccm3quU1.js} +1 -1
  48. package/node_modules/@slack/web-api/dist/chat-stream.d.ts +6 -0
  49. package/node_modules/@slack/web-api/dist/chat-stream.d.ts.map +1 -1
  50. package/node_modules/@slack/web-api/dist/chat-stream.js +8 -0
  51. package/node_modules/@slack/web-api/dist/chat-stream.js.map +1 -1
  52. package/node_modules/@slack/web-api/dist/types/request/assistant.d.ts +1 -1
  53. package/node_modules/@slack/web-api/dist/types/request/assistant.d.ts.map +1 -1
  54. package/node_modules/@slack/web-api/package.json +1 -1
  55. package/node_modules/@types/node/README.md +1 -1
  56. package/node_modules/@types/node/assert/strict.d.ts +10 -1
  57. package/node_modules/@types/node/assert.d.ts +144 -17
  58. package/node_modules/@types/node/async_hooks.d.ts +9 -9
  59. package/node_modules/@types/node/buffer.d.ts +64 -30
  60. package/node_modules/@types/node/child_process.d.ts +17 -21
  61. package/node_modules/@types/node/cluster.d.ts +13 -13
  62. package/node_modules/@types/node/console.d.ts +1 -1
  63. package/node_modules/@types/node/crypto.d.ts +471 -575
  64. package/node_modules/@types/node/diagnostics_channel.d.ts +274 -32
  65. package/node_modules/@types/node/dns.d.ts +15 -15
  66. package/node_modules/@types/node/events.d.ts +3 -3
  67. package/node_modules/@types/node/ffi.d.ts +486 -0
  68. package/node_modules/@types/node/fs/promises.d.ts +7 -4
  69. package/node_modules/@types/node/fs.d.ts +24 -18
  70. package/node_modules/@types/node/globals.d.ts +4 -4
  71. package/node_modules/@types/node/http.d.ts +30 -5
  72. package/node_modules/@types/node/http2.d.ts +2 -1
  73. package/node_modules/@types/node/index.d.ts +1 -3
  74. package/node_modules/@types/node/inspector.d.ts +1 -1
  75. package/node_modules/@types/node/module.d.ts +16 -45
  76. package/node_modules/@types/node/net.d.ts +1 -1
  77. package/node_modules/@types/node/os.d.ts +2 -2
  78. package/node_modules/@types/node/package.json +4 -4
  79. package/node_modules/@types/node/perf_hooks.d.ts +1 -9
  80. package/node_modules/@types/node/process.d.ts +25 -12
  81. package/node_modules/@types/node/quic.d.ts +92 -11
  82. package/node_modules/@types/node/readline.d.ts +12 -11
  83. package/node_modules/@types/node/repl.d.ts +10 -10
  84. package/node_modules/@types/node/sqlite.d.ts +56 -1
  85. package/node_modules/@types/node/stream/iter.d.ts +150 -0
  86. package/node_modules/@types/node/stream/promises.d.ts +2 -2
  87. package/node_modules/@types/node/stream/web.d.ts +1 -1
  88. package/node_modules/@types/node/stream.d.ts +37 -5
  89. package/node_modules/@types/node/test/reporters.d.ts +1 -1
  90. package/node_modules/@types/node/test.d.ts +120 -10
  91. package/node_modules/@types/node/tls.d.ts +1 -1
  92. package/node_modules/@types/node/ts5.6/index.d.ts +2 -4
  93. package/node_modules/@types/node/ts5.7/index.d.ts +1 -3
  94. package/node_modules/@types/node/url.d.ts +3 -3
  95. package/node_modules/@types/node/util/types.d.ts +1 -1
  96. package/node_modules/@types/node/util.d.ts +22 -22
  97. package/node_modules/@types/node/v8.d.ts +85 -3
  98. package/node_modules/@types/node/vm.d.ts +9 -9
  99. package/node_modules/@types/node/web-globals/domexception.d.ts +15 -0
  100. package/node_modules/@types/node/worker_threads.d.ts +10 -12
  101. package/node_modules/@types/node/zlib.d.ts +3 -3
  102. package/node_modules/body-parser/README.md +16 -1
  103. package/node_modules/body-parser/index.js +4 -20
  104. package/node_modules/body-parser/lib/read.js +17 -17
  105. package/node_modules/body-parser/lib/types/json.js +60 -32
  106. package/node_modules/body-parser/lib/types/raw.js +3 -3
  107. package/node_modules/body-parser/lib/types/text.js +3 -3
  108. package/node_modules/body-parser/lib/types/urlencoded.js +16 -20
  109. package/node_modules/body-parser/lib/utils.js +18 -16
  110. package/node_modules/body-parser/node_modules/content-type/LICENSE +22 -0
  111. package/node_modules/body-parser/node_modules/content-type/README.md +69 -0
  112. package/node_modules/body-parser/node_modules/content-type/dist/index.d.ts +26 -0
  113. package/node_modules/body-parser/node_modules/content-type/dist/index.js +170 -0
  114. package/node_modules/body-parser/node_modules/content-type/dist/index.js.map +1 -0
  115. package/node_modules/body-parser/node_modules/content-type/package.json +52 -0
  116. package/node_modules/body-parser/package.json +23 -10
  117. package/node_modules/range-parser/README.md +13 -12
  118. package/node_modules/range-parser/index.js +27 -8
  119. package/node_modules/range-parser/package.json +12 -8
  120. package/node_modules/semver/classes/range.js +6 -2
  121. package/node_modules/semver/package.json +1 -1
  122. package/node_modules/side-channel/CHANGELOG.md +10 -0
  123. package/node_modules/side-channel/README.md +1 -1
  124. package/node_modules/side-channel/index.js +5 -2
  125. package/node_modules/side-channel/package.json +10 -10
  126. package/node_modules/side-channel/test/index.js +16 -0
  127. package/node_modules/typebox/build/compile/validator.d.mts +2 -7
  128. package/node_modules/typebox/build/compile/validator.mjs +6 -36
  129. package/node_modules/typebox/build/error/errors.d.mts +1 -7
  130. package/node_modules/typebox/build/format/_idna.mjs +36 -6
  131. package/node_modules/typebox/build/format/_puny.mjs +4 -1
  132. package/node_modules/typebox/build/format/uuid.d.mts +2 -2
  133. package/node_modules/typebox/build/format/uuid.mjs +3 -3
  134. package/node_modules/typebox/build/guard/emit.d.mts +0 -4
  135. package/node_modules/typebox/build/guard/emit.mjs +0 -8
  136. package/node_modules/typebox/build/guard/guard.d.mts +4 -8
  137. package/node_modules/typebox/build/guard/guard.mjs +5 -13
  138. package/node_modules/typebox/build/schema/engine/boolean.d.mts +3 -3
  139. package/node_modules/typebox/build/schema/engine/boolean.mjs +4 -4
  140. package/node_modules/typebox/build/schema/engine/index.d.mts +0 -1
  141. package/node_modules/typebox/build/schema/engine/index.mjs +0 -1
  142. package/node_modules/typebox/build/schema/engine/schema.mjs +5 -10
  143. package/node_modules/typebox/build/schema/engine/type.mjs +14 -18
  144. package/node_modules/typebox/build/schema/types/dependencies.mjs +1 -1
  145. package/node_modules/typebox/build/schema/types/index.d.mts +0 -1
  146. package/node_modules/typebox/build/schema/types/index.mjs +0 -1
  147. package/node_modules/typebox/build/schema/types/schema.d.mts +1 -1
  148. package/node_modules/typebox/build/schema/types/schema.mjs +2 -2
  149. package/node_modules/typebox/build/system/locale/ar_001.mjs +0 -1
  150. package/node_modules/typebox/build/system/locale/bn_BD.mjs +0 -1
  151. package/node_modules/typebox/build/system/locale/cs_CZ.mjs +0 -1
  152. package/node_modules/typebox/build/system/locale/de_DE.mjs +0 -1
  153. package/node_modules/typebox/build/system/locale/el_GR.mjs +0 -1
  154. package/node_modules/typebox/build/system/locale/en_US.mjs +0 -1
  155. package/node_modules/typebox/build/system/locale/es_419.mjs +0 -1
  156. package/node_modules/typebox/build/system/locale/es_AR.mjs +0 -1
  157. package/node_modules/typebox/build/system/locale/es_ES.mjs +0 -1
  158. package/node_modules/typebox/build/system/locale/es_MX.mjs +0 -1
  159. package/node_modules/typebox/build/system/locale/fa_IR.mjs +0 -1
  160. package/node_modules/typebox/build/system/locale/fil_PH.mjs +0 -1
  161. package/node_modules/typebox/build/system/locale/fr_CA.mjs +0 -1
  162. package/node_modules/typebox/build/system/locale/fr_FR.mjs +0 -1
  163. package/node_modules/typebox/build/system/locale/ha_NG.mjs +0 -1
  164. package/node_modules/typebox/build/system/locale/hi_IN.mjs +0 -1
  165. package/node_modules/typebox/build/system/locale/hu_HU.mjs +0 -1
  166. package/node_modules/typebox/build/system/locale/id_ID.mjs +0 -1
  167. package/node_modules/typebox/build/system/locale/it_IT.mjs +0 -1
  168. package/node_modules/typebox/build/system/locale/ja_JP.mjs +0 -1
  169. package/node_modules/typebox/build/system/locale/ko_KR.mjs +0 -1
  170. package/node_modules/typebox/build/system/locale/ms_MY.mjs +0 -1
  171. package/node_modules/typebox/build/system/locale/nl_NL.mjs +0 -1
  172. package/node_modules/typebox/build/system/locale/pl_PL.mjs +0 -1
  173. package/node_modules/typebox/build/system/locale/pt_BR.mjs +0 -1
  174. package/node_modules/typebox/build/system/locale/pt_PT.mjs +0 -1
  175. package/node_modules/typebox/build/system/locale/ro_RO.mjs +0 -1
  176. package/node_modules/typebox/build/system/locale/ru_RU.mjs +0 -1
  177. package/node_modules/typebox/build/system/locale/sv_SE.mjs +0 -1
  178. package/node_modules/typebox/build/system/locale/sw_TZ.mjs +0 -1
  179. package/node_modules/typebox/build/system/locale/th_TH.mjs +0 -1
  180. package/node_modules/typebox/build/system/locale/tr_TR.mjs +0 -1
  181. package/node_modules/typebox/build/system/locale/uk_UA.mjs +0 -1
  182. package/node_modules/typebox/build/system/locale/ur_PK.mjs +0 -1
  183. package/node_modules/typebox/build/system/locale/vi_VN.mjs +0 -1
  184. package/node_modules/typebox/build/system/locale/yo_NG.mjs +0 -1
  185. package/node_modules/typebox/build/system/locale/zh_Hans.mjs +0 -1
  186. package/node_modules/typebox/build/system/locale/zh_Hant.mjs +0 -1
  187. package/node_modules/typebox/build/system/memory/clone.d.mts +2 -3
  188. package/node_modules/typebox/build/system/memory/clone.mjs +73 -26
  189. package/node_modules/typebox/build/system/settings/settings.d.mts +15 -0
  190. package/node_modules/typebox/build/system/settings/settings.mjs +3 -1
  191. package/node_modules/typebox/build/type/action/_add_immutable.d.mts +11 -0
  192. package/node_modules/typebox/build/type/action/_add_immutable.mjs +11 -0
  193. package/node_modules/typebox/build/type/action/_add_optional.d.mts +11 -0
  194. package/node_modules/typebox/build/type/action/_add_optional.mjs +11 -0
  195. package/node_modules/typebox/build/type/action/_add_readonly.d.mts +11 -0
  196. package/node_modules/typebox/build/type/action/_add_readonly.mjs +11 -0
  197. package/node_modules/typebox/build/type/action/_remove_immutable.d.mts +11 -0
  198. package/node_modules/typebox/build/type/action/_remove_immutable.mjs +11 -0
  199. package/node_modules/typebox/build/type/action/_remove_optional.d.mts +11 -0
  200. package/node_modules/typebox/build/type/action/_remove_optional.mjs +11 -0
  201. package/node_modules/typebox/build/type/action/_remove_readonly.d.mts +11 -0
  202. package/node_modules/typebox/build/type/action/_remove_readonly.mjs +11 -0
  203. package/node_modules/typebox/build/type/action/conditional.d.mts +2 -3
  204. package/node_modules/typebox/build/type/action/conditional.mjs +2 -1
  205. package/node_modules/typebox/build/type/action/index.d.mts +7 -4
  206. package/node_modules/typebox/build/type/action/index.mjs +7 -4
  207. package/node_modules/typebox/build/type/action/mapped.d.mts +2 -3
  208. package/node_modules/typebox/build/type/action/mapped.mjs +2 -1
  209. package/node_modules/typebox/build/type/action/module.d.mts +8 -7
  210. package/node_modules/typebox/build/type/action/module.mjs +7 -6
  211. package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -5
  212. package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -5
  213. package/node_modules/typebox/build/type/action/with.d.mts +11 -0
  214. package/node_modules/typebox/build/type/action/with.mjs +11 -0
  215. package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +1 -1
  216. package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +1 -3
  217. package/node_modules/typebox/build/type/engine/call/instantiate.mjs +3 -2
  218. package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +2 -2
  219. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +3 -4
  220. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +2 -1
  221. package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +2 -3
  222. package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +3 -6
  223. package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +6 -9
  224. package/node_modules/typebox/build/type/engine/cyclic/check.mjs +10 -16
  225. package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +1 -4
  226. package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +9 -15
  227. package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +1 -4
  228. package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +8 -14
  229. package/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +2 -5
  230. package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +3 -2
  231. package/node_modules/typebox/build/type/engine/enum/index.d.mts +0 -1
  232. package/node_modules/typebox/build/type/engine/enum/index.mjs +0 -1
  233. package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +1 -2
  234. package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +2 -6
  235. package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +10 -6
  236. package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +10 -6
  237. package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +2 -1
  238. package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +3 -3
  239. package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +17 -5
  240. package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +34 -8
  241. package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +5 -6
  242. package/node_modules/typebox/build/type/engine/exclude/operation.mjs +11 -12
  243. package/node_modules/typebox/build/type/engine/extract/operation.d.mts +5 -6
  244. package/node_modules/typebox/build/type/engine/extract/operation.mjs +11 -12
  245. package/node_modules/typebox/build/type/engine/immutable/instantiate_add.d.mts +10 -0
  246. package/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +14 -0
  247. package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.d.mts +10 -0
  248. package/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs +14 -0
  249. package/node_modules/typebox/build/type/engine/index.d.mts +2 -2
  250. package/node_modules/typebox/build/type/engine/index.mjs +2 -2
  251. package/node_modules/typebox/build/type/engine/indexable/from_dependent.d.mts +5 -0
  252. package/node_modules/typebox/build/type/engine/indexable/from_dependent.mjs +8 -0
  253. package/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +3 -3
  254. package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +4 -4
  255. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +2 -2
  256. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +3 -3
  257. package/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +3 -1
  258. package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +9 -6
  259. package/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +2 -1
  260. package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +5 -2
  261. package/node_modules/typebox/build/type/engine/instantiate.d.mts +44 -31
  262. package/node_modules/typebox/build/type/engine/instantiate.mjs +82 -83
  263. package/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +3 -6
  264. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +2 -2
  265. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +3 -3
  266. package/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +2 -1
  267. package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +5 -1
  268. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +4 -4
  269. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +3 -3
  270. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +5 -4
  271. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +10 -5
  272. package/node_modules/typebox/build/type/engine/module/instantiate.d.mts +7 -9
  273. package/node_modules/typebox/build/type/engine/module/instantiate.mjs +17 -15
  274. package/node_modules/typebox/build/type/engine/object/from_dependent.d.mts +5 -0
  275. package/node_modules/typebox/build/type/engine/object/from_dependent.mjs +8 -0
  276. package/node_modules/typebox/build/type/engine/object/from_type.d.mts +3 -1
  277. package/node_modules/typebox/build/type/engine/object/from_type.mjs +8 -5
  278. package/node_modules/typebox/build/type/engine/object/from_union.mjs +2 -2
  279. package/node_modules/typebox/build/type/engine/optional/instantiate_add.d.mts +10 -0
  280. package/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +14 -0
  281. package/node_modules/typebox/build/type/engine/optional/instantiate_remove.d.mts +10 -0
  282. package/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs +14 -0
  283. package/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +3 -4
  284. package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +2 -1
  285. package/node_modules/typebox/build/type/engine/partial/from_dependent.d.mts +5 -0
  286. package/node_modules/typebox/build/type/engine/partial/from_dependent.mjs +8 -0
  287. package/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +1 -1
  288. package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +3 -2
  289. package/node_modules/typebox/build/type/engine/partial/from_object.d.mts +2 -2
  290. package/node_modules/typebox/build/type/engine/partial/from_object.mjs +2 -2
  291. package/node_modules/typebox/build/type/engine/partial/from_type.d.mts +3 -1
  292. package/node_modules/typebox/build/type/engine/partial/from_type.mjs +7 -4
  293. package/node_modules/typebox/build/type/engine/priority/index.d.mts +1 -0
  294. package/node_modules/typebox/build/type/engine/priority/index.mjs +1 -0
  295. package/node_modules/typebox/build/type/engine/priority/priority.d.mts +20 -0
  296. package/node_modules/typebox/build/type/engine/priority/priority.mjs +28 -0
  297. package/node_modules/typebox/build/type/engine/readonly/instantiate_add.d.mts +10 -0
  298. package/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +14 -0
  299. package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.d.mts +10 -0
  300. package/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs +14 -0
  301. package/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +2 -2
  302. package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +2 -2
  303. package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.d.mts +5 -0
  304. package/node_modules/typebox/build/type/engine/readonly_object/from_dependent.mjs +8 -0
  305. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +1 -1
  306. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +3 -2
  307. package/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +2 -2
  308. package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +2 -2
  309. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +2 -2
  310. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +2 -2
  311. package/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +3 -1
  312. package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +8 -5
  313. package/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +2 -2
  314. package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +2 -2
  315. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +2 -2
  316. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +2 -2
  317. package/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +3 -3
  318. package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +6 -6
  319. package/node_modules/typebox/build/type/engine/required/from_dependent.d.mts +5 -0
  320. package/node_modules/typebox/build/type/engine/required/from_dependent.mjs +8 -0
  321. package/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +1 -1
  322. package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +3 -2
  323. package/node_modules/typebox/build/type/engine/required/from_object.d.mts +2 -2
  324. package/node_modules/typebox/build/type/engine/required/from_object.mjs +2 -2
  325. package/node_modules/typebox/build/type/engine/required/from_type.d.mts +3 -1
  326. package/node_modules/typebox/build/type/engine/required/from_type.mjs +7 -4
  327. package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +3 -3
  328. package/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +2 -2
  329. package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +6 -6
  330. package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +1 -1
  331. package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +1 -0
  332. package/node_modules/typebox/build/type/engine/this/expand_this.d.mts +1 -4
  333. package/node_modules/typebox/build/type/engine/this/expand_this.mjs +7 -13
  334. package/node_modules/typebox/build/type/engine/with/instantiate.d.mts +8 -0
  335. package/node_modules/typebox/build/type/engine/{options → with}/instantiate.mjs +5 -5
  336. package/node_modules/typebox/build/type/extends/dependent.d.mts +6 -0
  337. package/node_modules/typebox/build/type/extends/dependent.mjs +6 -0
  338. package/node_modules/typebox/build/type/extends/enum.d.mts +4 -4
  339. package/node_modules/typebox/build/type/extends/enum.mjs +3 -2
  340. package/node_modules/typebox/build/type/extends/extends_left.d.mts +5 -7
  341. package/node_modules/typebox/build/type/extends/extends_left.mjs +24 -27
  342. package/node_modules/typebox/build/type/extends/extends_right.d.mts +7 -5
  343. package/node_modules/typebox/build/type/extends/extends_right.mjs +20 -15
  344. package/node_modules/typebox/build/type/extends/inference.mjs +1 -1
  345. package/node_modules/typebox/build/type/extends/object.d.mts +8 -1
  346. package/node_modules/typebox/build/type/extends/object.mjs +25 -3
  347. package/node_modules/typebox/build/type/extends/parameters.mjs +2 -2
  348. package/node_modules/typebox/build/type/extends/record.d.mts +13 -0
  349. package/node_modules/typebox/build/type/extends/record.mjs +23 -0
  350. package/node_modules/typebox/build/type/extends/template_literal.d.mts +3 -3
  351. package/node_modules/typebox/build/type/extends/template_literal.mjs +3 -3
  352. package/node_modules/typebox/build/type/extends/tuple.d.mts +3 -6
  353. package/node_modules/typebox/build/type/extends/tuple.mjs +6 -5
  354. package/node_modules/typebox/build/type/extends/union.mjs +2 -2
  355. package/node_modules/typebox/build/type/script/mapping.d.mts +84 -99
  356. package/node_modules/typebox/build/type/script/mapping.mjs +81 -85
  357. package/node_modules/typebox/build/type/script/parser.d.mts +40 -40
  358. package/node_modules/typebox/build/type/script/parser.mjs +22 -22
  359. package/node_modules/typebox/build/type/script/script.d.mts +3 -4
  360. package/node_modules/typebox/build/type/script/script.mjs +3 -2
  361. package/node_modules/typebox/build/type/script/token/internal/guard.d.mts +1 -1
  362. package/node_modules/typebox/build/type/script/token/internal/guard.mjs +1 -1
  363. package/node_modules/typebox/build/type/script/token/internal/take.mjs +1 -1
  364. package/node_modules/typebox/build/type/script/token/until.mjs +2 -2
  365. package/node_modules/typebox/build/type/types/_codec.d.mts +12 -12
  366. package/node_modules/typebox/build/type/types/_codec.mjs +0 -1
  367. package/node_modules/typebox/build/type/types/_immutable.d.mts +2 -9
  368. package/node_modules/typebox/build/type/types/_immutable.mjs +2 -10
  369. package/node_modules/typebox/build/type/types/_optional.d.mts +2 -9
  370. package/node_modules/typebox/build/type/types/_optional.mjs +2 -11
  371. package/node_modules/typebox/build/type/types/_readonly.d.mts +2 -9
  372. package/node_modules/typebox/build/type/types/_readonly.mjs +2 -10
  373. package/node_modules/typebox/build/type/types/_refine.d.mts +8 -10
  374. package/node_modules/typebox/build/type/types/_refine.mjs +1 -2
  375. package/node_modules/typebox/build/type/types/call.d.mts +3 -3
  376. package/node_modules/typebox/build/type/types/call.mjs +3 -2
  377. package/node_modules/typebox/build/type/types/deferred.d.mts +1 -0
  378. package/node_modules/typebox/build/type/types/deferred.mjs +1 -1
  379. package/node_modules/typebox/build/type/types/dependent.d.mts +17 -0
  380. package/node_modules/typebox/build/type/types/dependent.mjs +24 -0
  381. package/node_modules/typebox/build/type/types/enum.d.mts +3 -1
  382. package/node_modules/typebox/build/type/types/enum.mjs +5 -0
  383. package/node_modules/typebox/build/type/types/index.d.mts +1 -4
  384. package/node_modules/typebox/build/type/types/index.mjs +1 -4
  385. package/node_modules/typebox/build/type/types/number.d.mts +1 -1
  386. package/node_modules/typebox/build/type/types/number.mjs +1 -1
  387. package/node_modules/typebox/build/type/types/record.d.mts +13 -7
  388. package/node_modules/typebox/build/type/types/record.mjs +15 -9
  389. package/node_modules/typebox/build/type/types/static.d.mts +2 -5
  390. package/node_modules/typebox/build/typebox.d.mts +4 -8
  391. package/node_modules/typebox/build/typebox.mjs +4 -8
  392. package/node_modules/typebox/build/value/clean/clean.mjs +4 -2
  393. package/node_modules/typebox/build/value/clean/from_intersect.mjs +2 -2
  394. package/node_modules/typebox/build/value/clean/from_type.mjs +8 -10
  395. package/node_modules/typebox/build/value/clean/from_union.d.mts +1 -1
  396. package/node_modules/typebox/build/value/clean/from_union.mjs +1 -2
  397. package/node_modules/typebox/build/value/clone/clone.mjs +2 -73
  398. package/node_modules/typebox/build/value/codec/decode.mjs +4 -2
  399. package/node_modules/typebox/build/value/codec/encode.mjs +4 -2
  400. package/node_modules/typebox/build/value/codec/from_array.mjs +1 -4
  401. package/node_modules/typebox/build/value/codec/from_object.mjs +1 -4
  402. package/node_modules/typebox/build/value/codec/from_record.mjs +2 -7
  403. package/node_modules/typebox/build/value/codec/from_tuple.mjs +1 -4
  404. package/node_modules/typebox/build/value/codec/from_union.mjs +2 -3
  405. package/node_modules/typebox/build/value/convert/from_enum.mjs +3 -4
  406. package/node_modules/typebox/build/value/convert/from_template_literal.d.mts +1 -1
  407. package/node_modules/typebox/build/value/convert/from_template_literal.mjs +2 -3
  408. package/node_modules/typebox/build/value/convert/from_type.mjs +19 -21
  409. package/node_modules/typebox/build/value/create/from_enum.mjs +2 -2
  410. package/node_modules/typebox/build/value/create/from_type.mjs +23 -31
  411. package/node_modules/typebox/build/value/default/from_object.mjs +1 -1
  412. package/node_modules/typebox/build/value/default/from_type.mjs +8 -10
  413. package/node_modules/typebox/build/value/index.d.mts +0 -1
  414. package/node_modules/typebox/build/value/index.mjs +0 -1
  415. package/node_modules/typebox/build/value/repair/from_enum.mjs +2 -3
  416. package/node_modules/typebox/build/value/repair/from_type.mjs +24 -22
  417. package/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +6 -2
  418. package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +62 -26
  419. package/node_modules/typebox/build/value/value.d.mts +0 -1
  420. package/node_modules/typebox/build/value/value.mjs +0 -1
  421. package/node_modules/typebox/package.json +25 -25
  422. package/node_modules/typebox/readme.md +97 -80
  423. package/node_modules/undici-types/agent.d.ts +0 -2
  424. package/node_modules/undici-types/client.d.ts +25 -19
  425. package/node_modules/undici-types/dispatcher.d.ts +7 -33
  426. package/node_modules/undici-types/dispatcher1-wrapper.d.ts +7 -0
  427. package/node_modules/undici-types/fetch.d.ts +24 -4
  428. package/node_modules/undici-types/h2c-client.d.ts +6 -6
  429. package/node_modules/undici-types/handlers.d.ts +1 -2
  430. package/node_modules/undici-types/header.d.ts +5 -0
  431. package/node_modules/undici-types/index.d.ts +3 -1
  432. package/node_modules/undici-types/interceptors.d.ts +1 -1
  433. package/node_modules/undici-types/package.json +1 -1
  434. package/node_modules/undici-types/pool.d.ts +0 -2
  435. package/node_modules/undici-types/proxy-agent.d.ts +2 -2
  436. package/node_modules/undici-types/round-robin-pool.d.ts +0 -2
  437. package/node_modules/undici-types/snapshot-agent.d.ts +4 -0
  438. package/node_modules/undici-types/socks5-proxy-agent.d.ts +2 -2
  439. package/node_modules/undici-types/webidl.d.ts +0 -1
  440. package/npm-shrinkwrap.json +55 -56
  441. package/openclaw.plugin.json +46 -0
  442. package/package.json +6 -6
  443. package/dist/accounts.runtime-CgWgzjLX.js +0 -2
  444. package/dist/action-runtime.runtime-BQrVgSOq.js +0 -2
  445. package/dist/actions.runtime-Dl6AfO_g.js +0 -2
  446. package/dist/errors-CZtmv-h0.js +0 -107
  447. package/dist/outbound-adapter-BHUtpXz0.js +0 -188
  448. package/dist/send.runtime-a-O4PP2B.js +0 -2
  449. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/LICENSE +0 -21
  450. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/README.md +0 -15
  451. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/assert/strict.d.ts +0 -59
  452. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/assert.d.ts +0 -950
  453. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/async_hooks.d.ts +0 -711
  454. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  455. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/buffer.d.ts +0 -1765
  456. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/child_process.d.ts +0 -1366
  457. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/cluster.d.ts +0 -432
  458. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  459. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/console.d.ts +0 -93
  460. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/constants.d.ts +0 -14
  461. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/crypto.d.ts +0 -4058
  462. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/dgram.d.ts +0 -537
  463. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/diagnostics_channel.d.ts +0 -552
  464. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/dns/promises.d.ts +0 -497
  465. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/dns.d.ts +0 -876
  466. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/domain.d.ts +0 -150
  467. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/events.d.ts +0 -1008
  468. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs/promises.d.ts +0 -1468
  469. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/fs.d.ts +0 -4780
  470. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/globals.d.ts +0 -150
  471. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  472. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/http.d.ts +0 -2147
  473. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/http2.d.ts +0 -2485
  474. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/https.d.ts +0 -400
  475. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/index.d.ts +0 -117
  476. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector/promises.d.ts +0 -35
  477. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector.d.ts +0 -264
  478. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/inspector.generated.d.ts +0 -4406
  479. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/module.d.ts +0 -755
  480. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/net.d.ts +0 -970
  481. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/os.d.ts +0 -498
  482. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/package.json +0 -155
  483. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/path/posix.d.ts +0 -8
  484. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/path/win32.d.ts +0 -8
  485. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/path.d.ts +0 -178
  486. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/perf_hooks.d.ts +0 -612
  487. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/process.d.ts +0 -2204
  488. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/punycode.d.ts +0 -89
  489. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/querystring.d.ts +0 -139
  490. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/quic.d.ts +0 -897
  491. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/readline/promises.d.ts +0 -158
  492. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/readline.d.ts +0 -507
  493. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/repl.d.ts +0 -420
  494. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/sea.d.ts +0 -47
  495. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/sqlite.d.ts +0 -1068
  496. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/consumers.d.ts +0 -114
  497. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/iter.d.ts +0 -301
  498. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/promises.d.ts +0 -211
  499. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream/web.d.ts +0 -300
  500. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/stream.d.ts +0 -1774
  501. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/string_decoder.d.ts +0 -27
  502. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/test/reporters.d.ts +0 -59
  503. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/test.d.ts +0 -2279
  504. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/timers/promises.d.ts +0 -93
  505. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/timers.d.ts +0 -149
  506. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/tls.d.ts +0 -1193
  507. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/trace_events.d.ts +0 -103
  508. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  509. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  510. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  511. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.6/index.d.ts +0 -119
  512. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  513. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/ts5.7/index.d.ts +0 -119
  514. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/tty.d.ts +0 -225
  515. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/url.d.ts +0 -556
  516. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/util/types.d.ts +0 -558
  517. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/util.d.ts +0 -1677
  518. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/v8.d.ts +0 -980
  519. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/vm.d.ts +0 -1136
  520. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/wasi.d.ts +0 -131
  521. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  522. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  523. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/console.d.ts +0 -9
  524. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  525. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  526. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  527. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/events.d.ts +0 -106
  528. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
  529. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  530. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  531. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  532. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  533. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  534. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  535. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  536. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/web-globals/url.d.ts +0 -24
  537. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/worker_threads.d.ts +0 -671
  538. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/zlib/iter.d.ts +0 -131
  539. package/node_modules/@types/jsonwebtoken/node_modules/@types/node/zlib.d.ts +0 -589
  540. package/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  541. package/node_modules/@types/ws/node_modules/@types/node/LICENSE +0 -21
  542. package/node_modules/@types/ws/node_modules/@types/node/README.md +0 -15
  543. package/node_modules/@types/ws/node_modules/@types/node/assert/strict.d.ts +0 -59
  544. package/node_modules/@types/ws/node_modules/@types/node/assert.d.ts +0 -950
  545. package/node_modules/@types/ws/node_modules/@types/node/async_hooks.d.ts +0 -711
  546. package/node_modules/@types/ws/node_modules/@types/node/buffer.buffer.d.ts +0 -466
  547. package/node_modules/@types/ws/node_modules/@types/node/buffer.d.ts +0 -1765
  548. package/node_modules/@types/ws/node_modules/@types/node/child_process.d.ts +0 -1366
  549. package/node_modules/@types/ws/node_modules/@types/node/cluster.d.ts +0 -432
  550. package/node_modules/@types/ws/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  551. package/node_modules/@types/ws/node_modules/@types/node/console.d.ts +0 -93
  552. package/node_modules/@types/ws/node_modules/@types/node/constants.d.ts +0 -14
  553. package/node_modules/@types/ws/node_modules/@types/node/crypto.d.ts +0 -4058
  554. package/node_modules/@types/ws/node_modules/@types/node/dgram.d.ts +0 -537
  555. package/node_modules/@types/ws/node_modules/@types/node/diagnostics_channel.d.ts +0 -552
  556. package/node_modules/@types/ws/node_modules/@types/node/dns/promises.d.ts +0 -497
  557. package/node_modules/@types/ws/node_modules/@types/node/dns.d.ts +0 -876
  558. package/node_modules/@types/ws/node_modules/@types/node/domain.d.ts +0 -150
  559. package/node_modules/@types/ws/node_modules/@types/node/events.d.ts +0 -1008
  560. package/node_modules/@types/ws/node_modules/@types/node/fs/promises.d.ts +0 -1468
  561. package/node_modules/@types/ws/node_modules/@types/node/fs.d.ts +0 -4780
  562. package/node_modules/@types/ws/node_modules/@types/node/globals.d.ts +0 -150
  563. package/node_modules/@types/ws/node_modules/@types/node/globals.typedarray.d.ts +0 -101
  564. package/node_modules/@types/ws/node_modules/@types/node/http.d.ts +0 -2147
  565. package/node_modules/@types/ws/node_modules/@types/node/http2.d.ts +0 -2485
  566. package/node_modules/@types/ws/node_modules/@types/node/https.d.ts +0 -400
  567. package/node_modules/@types/ws/node_modules/@types/node/index.d.ts +0 -117
  568. package/node_modules/@types/ws/node_modules/@types/node/inspector/promises.d.ts +0 -35
  569. package/node_modules/@types/ws/node_modules/@types/node/inspector.d.ts +0 -264
  570. package/node_modules/@types/ws/node_modules/@types/node/inspector.generated.d.ts +0 -4406
  571. package/node_modules/@types/ws/node_modules/@types/node/module.d.ts +0 -755
  572. package/node_modules/@types/ws/node_modules/@types/node/net.d.ts +0 -970
  573. package/node_modules/@types/ws/node_modules/@types/node/os.d.ts +0 -498
  574. package/node_modules/@types/ws/node_modules/@types/node/package.json +0 -155
  575. package/node_modules/@types/ws/node_modules/@types/node/path/posix.d.ts +0 -8
  576. package/node_modules/@types/ws/node_modules/@types/node/path/win32.d.ts +0 -8
  577. package/node_modules/@types/ws/node_modules/@types/node/path.d.ts +0 -178
  578. package/node_modules/@types/ws/node_modules/@types/node/perf_hooks.d.ts +0 -612
  579. package/node_modules/@types/ws/node_modules/@types/node/process.d.ts +0 -2204
  580. package/node_modules/@types/ws/node_modules/@types/node/punycode.d.ts +0 -89
  581. package/node_modules/@types/ws/node_modules/@types/node/querystring.d.ts +0 -139
  582. package/node_modules/@types/ws/node_modules/@types/node/quic.d.ts +0 -897
  583. package/node_modules/@types/ws/node_modules/@types/node/readline/promises.d.ts +0 -158
  584. package/node_modules/@types/ws/node_modules/@types/node/readline.d.ts +0 -507
  585. package/node_modules/@types/ws/node_modules/@types/node/repl.d.ts +0 -420
  586. package/node_modules/@types/ws/node_modules/@types/node/sea.d.ts +0 -47
  587. package/node_modules/@types/ws/node_modules/@types/node/sqlite.d.ts +0 -1068
  588. package/node_modules/@types/ws/node_modules/@types/node/stream/consumers.d.ts +0 -114
  589. package/node_modules/@types/ws/node_modules/@types/node/stream/iter.d.ts +0 -301
  590. package/node_modules/@types/ws/node_modules/@types/node/stream/promises.d.ts +0 -211
  591. package/node_modules/@types/ws/node_modules/@types/node/stream/web.d.ts +0 -300
  592. package/node_modules/@types/ws/node_modules/@types/node/stream.d.ts +0 -1774
  593. package/node_modules/@types/ws/node_modules/@types/node/string_decoder.d.ts +0 -27
  594. package/node_modules/@types/ws/node_modules/@types/node/test/reporters.d.ts +0 -59
  595. package/node_modules/@types/ws/node_modules/@types/node/test.d.ts +0 -2279
  596. package/node_modules/@types/ws/node_modules/@types/node/timers/promises.d.ts +0 -93
  597. package/node_modules/@types/ws/node_modules/@types/node/timers.d.ts +0 -149
  598. package/node_modules/@types/ws/node_modules/@types/node/tls.d.ts +0 -1193
  599. package/node_modules/@types/ws/node_modules/@types/node/trace_events.d.ts +0 -103
  600. package/node_modules/@types/ws/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -462
  601. package/node_modules/@types/ws/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
  602. package/node_modules/@types/ws/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -36
  603. package/node_modules/@types/ws/node_modules/@types/node/ts5.6/index.d.ts +0 -119
  604. package/node_modules/@types/ws/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
  605. package/node_modules/@types/ws/node_modules/@types/node/ts5.7/index.d.ts +0 -119
  606. package/node_modules/@types/ws/node_modules/@types/node/tty.d.ts +0 -225
  607. package/node_modules/@types/ws/node_modules/@types/node/url.d.ts +0 -556
  608. package/node_modules/@types/ws/node_modules/@types/node/util/types.d.ts +0 -558
  609. package/node_modules/@types/ws/node_modules/@types/node/util.d.ts +0 -1677
  610. package/node_modules/@types/ws/node_modules/@types/node/v8.d.ts +0 -980
  611. package/node_modules/@types/ws/node_modules/@types/node/vm.d.ts +0 -1136
  612. package/node_modules/@types/ws/node_modules/@types/node/wasi.d.ts +0 -131
  613. package/node_modules/@types/ws/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -59
  614. package/node_modules/@types/ws/node_modules/@types/node/web-globals/blob.d.ts +0 -23
  615. package/node_modules/@types/ws/node_modules/@types/node/web-globals/console.d.ts +0 -9
  616. package/node_modules/@types/ws/node_modules/@types/node/web-globals/crypto.d.ts +0 -39
  617. package/node_modules/@types/ws/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  618. package/node_modules/@types/ws/node_modules/@types/node/web-globals/encoding.d.ts +0 -11
  619. package/node_modules/@types/ws/node_modules/@types/node/web-globals/events.d.ts +0 -106
  620. package/node_modules/@types/ws/node_modules/@types/node/web-globals/fetch.d.ts +0 -69
  621. package/node_modules/@types/ws/node_modules/@types/node/web-globals/importmeta.d.ts +0 -13
  622. package/node_modules/@types/ws/node_modules/@types/node/web-globals/messaging.d.ts +0 -23
  623. package/node_modules/@types/ws/node_modules/@types/node/web-globals/navigator.d.ts +0 -25
  624. package/node_modules/@types/ws/node_modules/@types/node/web-globals/performance.d.ts +0 -45
  625. package/node_modules/@types/ws/node_modules/@types/node/web-globals/storage.d.ts +0 -24
  626. package/node_modules/@types/ws/node_modules/@types/node/web-globals/streams.d.ts +0 -115
  627. package/node_modules/@types/ws/node_modules/@types/node/web-globals/timers.d.ts +0 -44
  628. package/node_modules/@types/ws/node_modules/@types/node/web-globals/url.d.ts +0 -24
  629. package/node_modules/@types/ws/node_modules/@types/node/worker_threads.d.ts +0 -671
  630. package/node_modules/@types/ws/node_modules/@types/node/zlib/iter.d.ts +0 -131
  631. package/node_modules/@types/ws/node_modules/@types/node/zlib.d.ts +0 -589
  632. package/node_modules/typebox/build/schema/engine/_guard.d.mts +0 -6
  633. package/node_modules/typebox/build/schema/engine/_guard.mjs +0 -26
  634. package/node_modules/typebox/build/schema/types/_guard.d.mts +0 -10
  635. package/node_modules/typebox/build/schema/types/_guard.mjs +0 -16
  636. package/node_modules/typebox/build/type/action/_optional.d.mts +0 -19
  637. package/node_modules/typebox/build/type/action/_optional.mjs +0 -40
  638. package/node_modules/typebox/build/type/action/_readonly.d.mts +0 -19
  639. package/node_modules/typebox/build/type/action/_readonly.mjs +0 -40
  640. package/node_modules/typebox/build/type/action/awaited.d.mts +0 -15
  641. package/node_modules/typebox/build/type/action/awaited.mjs +0 -15
  642. package/node_modules/typebox/build/type/action/options.d.mts +0 -11
  643. package/node_modules/typebox/build/type/action/options.mjs +0 -11
  644. package/node_modules/typebox/build/type/engine/awaited/instantiate.d.mts +0 -11
  645. package/node_modules/typebox/build/type/engine/awaited/instantiate.mjs +0 -20
  646. package/node_modules/typebox/build/type/engine/enum/enum_to_union.d.mts +0 -14
  647. package/node_modules/typebox/build/type/engine/enum/enum_to_union.mjs +0 -24
  648. package/node_modules/typebox/build/type/engine/options/index.d.mts +0 -1
  649. package/node_modules/typebox/build/type/engine/options/index.mjs +0 -1
  650. package/node_modules/typebox/build/type/engine/options/instantiate.d.mts +0 -8
  651. package/node_modules/typebox/build/type/extends/async_iterator.d.mts +0 -7
  652. package/node_modules/typebox/build/type/extends/async_iterator.mjs +0 -9
  653. package/node_modules/typebox/build/type/extends/iterator.d.mts +0 -7
  654. package/node_modules/typebox/build/type/extends/iterator.mjs +0 -9
  655. package/node_modules/typebox/build/type/extends/promise.d.mts +0 -7
  656. package/node_modules/typebox/build/type/extends/promise.mjs +0 -9
  657. package/node_modules/typebox/build/type/types/async_iterator.d.mts +0 -20
  658. package/node_modules/typebox/build/type/types/async_iterator.mjs +0 -28
  659. package/node_modules/typebox/build/type/types/base.d.mts +0 -50
  660. package/node_modules/typebox/build/type/types/base.mjs +0 -84
  661. package/node_modules/typebox/build/type/types/iterator.d.mts +0 -20
  662. package/node_modules/typebox/build/type/types/iterator.mjs +0 -28
  663. package/node_modules/typebox/build/type/types/promise.d.mts +0 -21
  664. package/node_modules/typebox/build/type/types/promise.mjs +0 -29
  665. package/node_modules/typebox/build/value/clean/from_base.d.mts +0 -2
  666. package/node_modules/typebox/build/value/clean/from_base.mjs +0 -4
  667. package/node_modules/typebox/build/value/convert/from_base.d.mts +0 -2
  668. package/node_modules/typebox/build/value/convert/from_base.mjs +0 -4
  669. package/node_modules/typebox/build/value/create/from_async_iterator.d.mts +0 -2
  670. package/node_modules/typebox/build/value/create/from_async_iterator.mjs +0 -5
  671. package/node_modules/typebox/build/value/create/from_base.d.mts +0 -2
  672. package/node_modules/typebox/build/value/create/from_base.mjs +0 -4
  673. package/node_modules/typebox/build/value/create/from_iterator.d.mts +0 -2
  674. package/node_modules/typebox/build/value/create/from_iterator.mjs +0 -5
  675. package/node_modules/typebox/build/value/create/from_promise.d.mts +0 -2
  676. package/node_modules/typebox/build/value/create/from_promise.mjs +0 -5
  677. package/node_modules/typebox/build/value/default/from_base.d.mts +0 -2
  678. package/node_modules/typebox/build/value/default/from_base.mjs +0 -5
  679. package/node_modules/typebox/build/value/mutate/error.d.mts +0 -3
  680. package/node_modules/typebox/build/value/mutate/error.mjs +0 -6
  681. package/node_modules/typebox/build/value/mutate/from_array.d.mts +0 -2
  682. package/node_modules/typebox/build/value/mutate/from_array.mjs +0 -16
  683. package/node_modules/typebox/build/value/mutate/from_object.d.mts +0 -2
  684. package/node_modules/typebox/build/value/mutate/from_object.mjs +0 -40
  685. package/node_modules/typebox/build/value/mutate/from_unknown.d.mts +0 -2
  686. package/node_modules/typebox/build/value/mutate/from_unknown.mjs +0 -7
  687. package/node_modules/typebox/build/value/mutate/from_value.d.mts +0 -2
  688. package/node_modules/typebox/build/value/mutate/from_value.mjs +0 -12
  689. package/node_modules/typebox/build/value/mutate/index.d.mts +0 -1
  690. package/node_modules/typebox/build/value/mutate/index.mjs +0 -1
  691. package/node_modules/typebox/build/value/mutate/mutate.d.mts +0 -11
  692. package/node_modules/typebox/build/value/mutate/mutate.mjs +0 -41
  693. package/node_modules/typebox/build/value/repair/from_base.d.mts +0 -2
  694. package/node_modules/typebox/build/value/repair/from_base.mjs +0 -8
  695. /package/node_modules/typebox/build/type/engine/{awaited → with}/index.d.mts +0 -0
  696. /package/node_modules/typebox/build/type/engine/{awaited → with}/index.mjs +0 -0
@@ -1,950 +0,0 @@
1
- declare module "node:assert" {
2
- import strict = require("node:assert/strict");
3
- /**
4
- * An alias of {@link assert.ok}.
5
- * @since v0.5.9
6
- * @param value The input that is checked for being truthy.
7
- */
8
- function assert(value: unknown, message?: string | Error): asserts value;
9
- const kOptions: unique symbol;
10
- namespace assert {
11
- type AssertMethodNames =
12
- | "deepEqual"
13
- | "deepStrictEqual"
14
- | "doesNotMatch"
15
- | "doesNotReject"
16
- | "doesNotThrow"
17
- | "equal"
18
- | "fail"
19
- | "ifError"
20
- | "match"
21
- | "notDeepEqual"
22
- | "notDeepStrictEqual"
23
- | "notEqual"
24
- | "notStrictEqual"
25
- | "ok"
26
- | "partialDeepStrictEqual"
27
- | "rejects"
28
- | "strictEqual"
29
- | "throws";
30
- interface AssertOptions {
31
- /**
32
- * If set to `'full'`, shows the full diff in assertion errors.
33
- * @default 'simple'
34
- */
35
- diff?: "simple" | "full" | undefined;
36
- /**
37
- * If set to `true`, non-strict methods behave like their
38
- * corresponding strict methods.
39
- * @default true
40
- */
41
- strict?: boolean | undefined;
42
- /**
43
- * If set to `true`, skips prototype and constructor
44
- * comparison in deep equality checks.
45
- * @since v24.9.0
46
- * @default false
47
- */
48
- skipPrototype?: boolean | undefined;
49
- }
50
- interface Assert extends Pick<typeof assert, AssertMethodNames> {
51
- readonly [kOptions]: AssertOptions & { strict: false };
52
- }
53
- interface AssertStrict extends Pick<typeof strict, AssertMethodNames> {
54
- readonly [kOptions]: AssertOptions & { strict: true };
55
- }
56
- /**
57
- * The `Assert` class allows creating independent assertion instances with custom options.
58
- * @since v24.6.0
59
- */
60
- var Assert: {
61
- /**
62
- * Creates a new assertion instance. The `diff` option controls the verbosity of diffs in assertion error messages.
63
- *
64
- * ```js
65
- * const { Assert } = require('node:assert');
66
- * const assertInstance = new Assert({ diff: 'full' });
67
- * assertInstance.deepStrictEqual({ a: 1 }, { a: 2 });
68
- * // Shows a full diff in the error message.
69
- * ```
70
- *
71
- * **Important**: When destructuring assertion methods from an `Assert` instance,
72
- * the methods lose their connection to the instance's configuration options (such
73
- * as `diff`, `strict`, and `skipPrototype` settings).
74
- * The destructured methods will fall back to default behavior instead.
75
- *
76
- * ```js
77
- * const myAssert = new Assert({ diff: 'full' });
78
- *
79
- * // This works as expected - uses 'full' diff
80
- * myAssert.strictEqual({ a: 1 }, { b: { c: 1 } });
81
- *
82
- * // This loses the 'full' diff setting - falls back to default 'simple' diff
83
- * const { strictEqual } = myAssert;
84
- * strictEqual({ a: 1 }, { b: { c: 1 } });
85
- * ```
86
- *
87
- * The `skipPrototype` option affects all deep equality methods:
88
- *
89
- * ```js
90
- * class Foo {
91
- * constructor(a) {
92
- * this.a = a;
93
- * }
94
- * }
95
- *
96
- * class Bar {
97
- * constructor(a) {
98
- * this.a = a;
99
- * }
100
- * }
101
- *
102
- * const foo = new Foo(1);
103
- * const bar = new Bar(1);
104
- *
105
- * // Default behavior - fails due to different constructors
106
- * const assert1 = new Assert();
107
- * assert1.deepStrictEqual(foo, bar); // AssertionError
108
- *
109
- * // Skip prototype comparison - passes if properties are equal
110
- * const assert2 = new Assert({ skipPrototype: true });
111
- * assert2.deepStrictEqual(foo, bar); // OK
112
- * ```
113
- *
114
- * When destructured, methods lose access to the instance's `this` context and revert to default assertion behavior
115
- * (diff: 'simple', non-strict mode).
116
- * To maintain custom options when using destructured methods, avoid
117
- * destructuring and call methods directly on the instance.
118
- * @since v24.6.0
119
- */
120
- new(
121
- options?: AssertOptions & { strict?: true | undefined },
122
- ): AssertStrict;
123
- new(
124
- options: AssertOptions,
125
- ): Assert;
126
- };
127
- interface AssertionErrorOptions {
128
- /**
129
- * If provided, the error message is set to this value.
130
- */
131
- message?: string | undefined;
132
- /**
133
- * The `actual` property on the error instance.
134
- */
135
- actual?: unknown;
136
- /**
137
- * The `expected` property on the error instance.
138
- */
139
- expected?: unknown;
140
- /**
141
- * The `operator` property on the error instance.
142
- */
143
- operator?: string | undefined;
144
- /**
145
- * If provided, the generated stack trace omits frames before this function.
146
- */
147
- stackStartFn?: Function | undefined;
148
- /**
149
- * If set to `'full'`, shows the full diff in assertion errors.
150
- * @default 'simple'
151
- */
152
- diff?: "simple" | "full" | undefined;
153
- }
154
- /**
155
- * Indicates the failure of an assertion. All errors thrown by the `node:assert` module will be instances of the `AssertionError` class.
156
- */
157
- class AssertionError extends Error {
158
- constructor(options: AssertionErrorOptions);
159
- /**
160
- * Set to the `actual` argument for methods such as {@link assert.strictEqual()}.
161
- */
162
- actual: unknown;
163
- /**
164
- * Set to the `expected` argument for methods such as {@link assert.strictEqual()}.
165
- */
166
- expected: unknown;
167
- /**
168
- * Indicates if the message was auto-generated (`true`) or not.
169
- */
170
- generatedMessage: boolean;
171
- /**
172
- * Value is always `ERR_ASSERTION` to show that the error is an assertion error.
173
- */
174
- code: "ERR_ASSERTION";
175
- /**
176
- * Set to the passed in operator value.
177
- */
178
- operator: string;
179
- }
180
- type AssertPredicate = RegExp | (new() => object) | ((thrown: unknown) => boolean) | object | Error;
181
- /**
182
- * Throws an `AssertionError` with the provided error message or a default
183
- * error message. If the `message` parameter is an instance of an `Error` then
184
- * it will be thrown instead of the `AssertionError`.
185
- *
186
- * ```js
187
- * import assert from 'node:assert/strict';
188
- *
189
- * assert.fail();
190
- * // AssertionError [ERR_ASSERTION]: Failed
191
- *
192
- * assert.fail('boom');
193
- * // AssertionError [ERR_ASSERTION]: boom
194
- *
195
- * assert.fail(new TypeError('need array'));
196
- * // TypeError: need array
197
- * ```
198
- * @since v0.1.21
199
- * @param [message='Failed']
200
- */
201
- function fail(message?: string | Error): never;
202
- /**
203
- * Tests if `value` is truthy. It is equivalent to `assert.equal(!!value, true, message)`.
204
- *
205
- * If `value` is not truthy, an `AssertionError` is thrown with a `message` property set equal to the value of the `message` parameter. If the `message` parameter is `undefined`, a default
206
- * error message is assigned. If the `message` parameter is an instance of an `Error` then it will be thrown instead of the `AssertionError`.
207
- * If no arguments are passed in at all `message` will be set to the string:`` 'No value argument passed to `assert.ok()`' ``.
208
- *
209
- * Be aware that in the `repl` the error message will be different to the one
210
- * thrown in a file! See below for further details.
211
- *
212
- * ```js
213
- * import assert from 'node:assert/strict';
214
- *
215
- * assert.ok(true);
216
- * // OK
217
- * assert.ok(1);
218
- * // OK
219
- *
220
- * assert.ok();
221
- * // AssertionError: No value argument passed to `assert.ok()`
222
- *
223
- * assert.ok(false, 'it\'s false');
224
- * // AssertionError: it's false
225
- *
226
- * // In the repl:
227
- * assert.ok(typeof 123 === 'string');
228
- * // AssertionError: false == true
229
- *
230
- * // In a file (e.g. test.js):
231
- * assert.ok(typeof 123 === 'string');
232
- * // AssertionError: The expression evaluated to a falsy value:
233
- * //
234
- * // assert.ok(typeof 123 === 'string')
235
- *
236
- * assert.ok(false);
237
- * // AssertionError: The expression evaluated to a falsy value:
238
- * //
239
- * // assert.ok(false)
240
- *
241
- * assert.ok(0);
242
- * // AssertionError: The expression evaluated to a falsy value:
243
- * //
244
- * // assert.ok(0)
245
- * ```
246
- *
247
- * ```js
248
- * import assert from 'node:assert/strict';
249
- *
250
- * // Using `assert()` works the same:
251
- * assert(2 + 2 > 5);;
252
- * // AssertionError: The expression evaluated to a falsy value:
253
- * //
254
- * // assert(2 + 2 > 5)
255
- * ```
256
- * @since v0.1.21
257
- */
258
- function ok(value: unknown, message?: string | Error): asserts value;
259
- /**
260
- * **Strict assertion mode**
261
- *
262
- * An alias of {@link strictEqual}.
263
- *
264
- * **Legacy assertion mode**
265
- *
266
- * > Stability: 3 - Legacy: Use {@link strictEqual} instead.
267
- *
268
- * Tests shallow, coercive equality between the `actual` and `expected` parameters
269
- * using the [`==` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality). `NaN` is specially handled
270
- * and treated as being identical if both sides are `NaN`.
271
- *
272
- * ```js
273
- * import assert from 'node:assert';
274
- *
275
- * assert.equal(1, 1);
276
- * // OK, 1 == 1
277
- * assert.equal(1, '1');
278
- * // OK, 1 == '1'
279
- * assert.equal(NaN, NaN);
280
- * // OK
281
- *
282
- * assert.equal(1, 2);
283
- * // AssertionError: 1 == 2
284
- * assert.equal({ a: { b: 1 } }, { a: { b: 1 } });
285
- * // AssertionError: { a: { b: 1 } } == { a: { b: 1 } }
286
- * ```
287
- *
288
- * If the values are not equal, an `AssertionError` is thrown with a `message` property set equal to the value of the `message` parameter. If the `message` parameter is undefined, a default
289
- * error message is assigned. If the `message` parameter is an instance of an `Error` then it will be thrown instead of the `AssertionError`.
290
- * @since v0.1.21
291
- */
292
- function equal(actual: unknown, expected: unknown, message?: string | Error): void;
293
- /**
294
- * **Strict assertion mode**
295
- *
296
- * An alias of {@link notStrictEqual}.
297
- *
298
- * **Legacy assertion mode**
299
- *
300
- * > Stability: 3 - Legacy: Use {@link notStrictEqual} instead.
301
- *
302
- * Tests shallow, coercive inequality with the [`!=` operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Inequality). `NaN` is
303
- * specially handled and treated as being identical if both sides are `NaN`.
304
- *
305
- * ```js
306
- * import assert from 'node:assert';
307
- *
308
- * assert.notEqual(1, 2);
309
- * // OK
310
- *
311
- * assert.notEqual(1, 1);
312
- * // AssertionError: 1 != 1
313
- *
314
- * assert.notEqual(1, '1');
315
- * // AssertionError: 1 != '1'
316
- * ```
317
- *
318
- * If the values are equal, an `AssertionError` is thrown with a `message` property set equal to the value of the `message` parameter. If the `message` parameter is undefined, a default error
319
- * message is assigned. If the `message` parameter is an instance of an `Error` then it will be thrown instead of the `AssertionError`.
320
- * @since v0.1.21
321
- */
322
- function notEqual(actual: unknown, expected: unknown, message?: string | Error): void;
323
- /**
324
- * **Strict assertion mode**
325
- *
326
- * An alias of {@link deepStrictEqual}.
327
- *
328
- * **Legacy assertion mode**
329
- *
330
- * > Stability: 3 - Legacy: Use {@link deepStrictEqual} instead.
331
- *
332
- * Tests for deep equality between the `actual` and `expected` parameters. Consider
333
- * using {@link deepStrictEqual} instead. {@link deepEqual} can have
334
- * surprising results.
335
- *
336
- * _Deep equality_ means that the enumerable "own" properties of child objects
337
- * are also recursively evaluated by the following rules.
338
- * @since v0.1.21
339
- */
340
- function deepEqual(actual: unknown, expected: unknown, message?: string | Error): void;
341
- /**
342
- * **Strict assertion mode**
343
- *
344
- * An alias of {@link notDeepStrictEqual}.
345
- *
346
- * **Legacy assertion mode**
347
- *
348
- * > Stability: 3 - Legacy: Use {@link notDeepStrictEqual} instead.
349
- *
350
- * Tests for any deep inequality. Opposite of {@link deepEqual}.
351
- *
352
- * ```js
353
- * import assert from 'node:assert';
354
- *
355
- * const obj1 = {
356
- * a: {
357
- * b: 1,
358
- * },
359
- * };
360
- * const obj2 = {
361
- * a: {
362
- * b: 2,
363
- * },
364
- * };
365
- * const obj3 = {
366
- * a: {
367
- * b: 1,
368
- * },
369
- * };
370
- * const obj4 = { __proto__: obj1 };
371
- *
372
- * assert.notDeepEqual(obj1, obj1);
373
- * // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } }
374
- *
375
- * assert.notDeepEqual(obj1, obj2);
376
- * // OK
377
- *
378
- * assert.notDeepEqual(obj1, obj3);
379
- * // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } }
380
- *
381
- * assert.notDeepEqual(obj1, obj4);
382
- * // OK
383
- * ```
384
- *
385
- * If the values are deeply equal, an `AssertionError` is thrown with a `message` property set equal to the value of the `message` parameter. If the `message` parameter is undefined, a default
386
- * error message is assigned. If the `message` parameter is an instance of an `Error` then it will be thrown
387
- * instead of the `AssertionError`.
388
- * @since v0.1.21
389
- */
390
- function notDeepEqual(actual: unknown, expected: unknown, message?: string | Error): void;
391
- /**
392
- * Tests strict equality between the `actual` and `expected` parameters as
393
- * determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is).
394
- *
395
- * ```js
396
- * import assert from 'node:assert/strict';
397
- *
398
- * assert.strictEqual(1, 2);
399
- * // AssertionError [ERR_ASSERTION]: Expected inputs to be strictly equal:
400
- * //
401
- * // 1 !== 2
402
- *
403
- * assert.strictEqual(1, 1);
404
- * // OK
405
- *
406
- * assert.strictEqual('Hello foobar', 'Hello World!');
407
- * // AssertionError [ERR_ASSERTION]: Expected inputs to be strictly equal:
408
- * // + actual - expected
409
- * //
410
- * // + 'Hello foobar'
411
- * // - 'Hello World!'
412
- * // ^
413
- *
414
- * const apples = 1;
415
- * const oranges = 2;
416
- * assert.strictEqual(apples, oranges, `apples ${apples} !== oranges ${oranges}`);
417
- * // AssertionError [ERR_ASSERTION]: apples 1 !== oranges 2
418
- *
419
- * assert.strictEqual(1, '1', new TypeError('Inputs are not identical'));
420
- * // TypeError: Inputs are not identical
421
- * ```
422
- *
423
- * If the values are not strictly equal, an `AssertionError` is thrown with a `message` property set equal to the value of the `message` parameter. If the `message` parameter is undefined, a
424
- * default error message is assigned. If the `message` parameter is an instance of an `Error` then it will be thrown
425
- * instead of the `AssertionError`.
426
- * @since v0.1.21
427
- */
428
- function strictEqual<T>(actual: unknown, expected: T, message?: string | Error): asserts actual is T;
429
- /**
430
- * Tests strict inequality between the `actual` and `expected` parameters as
431
- * determined by [`Object.is()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is).
432
- *
433
- * ```js
434
- * import assert from 'node:assert/strict';
435
- *
436
- * assert.notStrictEqual(1, 2);
437
- * // OK
438
- *
439
- * assert.notStrictEqual(1, 1);
440
- * // AssertionError [ERR_ASSERTION]: Expected "actual" to be strictly unequal to:
441
- * //
442
- * // 1
443
- *
444
- * assert.notStrictEqual(1, '1');
445
- * // OK
446
- * ```
447
- *
448
- * If the values are strictly equal, an `AssertionError` is thrown with a `message` property set equal to the value of the `message` parameter. If the `message` parameter is undefined, a
449
- * default error message is assigned. If the `message` parameter is an instance of an `Error` then it will be thrown
450
- * instead of the `AssertionError`.
451
- * @since v0.1.21
452
- */
453
- function notStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void;
454
- /**
455
- * Tests for deep equality between the `actual` and `expected` parameters.
456
- * "Deep" equality means that the enumerable "own" properties of child objects
457
- * are recursively evaluated also by the following rules.
458
- * @since v1.2.0
459
- */
460
- function deepStrictEqual<T>(actual: unknown, expected: T, message?: string | Error): asserts actual is T;
461
- /**
462
- * Tests for deep strict inequality. Opposite of {@link deepStrictEqual}.
463
- *
464
- * ```js
465
- * import assert from 'node:assert/strict';
466
- *
467
- * assert.notDeepStrictEqual({ a: 1 }, { a: '1' });
468
- * // OK
469
- * ```
470
- *
471
- * If the values are deeply and strictly equal, an `AssertionError` is thrown
472
- * with a `message` property set equal to the value of the `message` parameter. If
473
- * the `message` parameter is undefined, a default error message is assigned. If
474
- * the `message` parameter is an instance of an `Error` then it will be thrown
475
- * instead of the `AssertionError`.
476
- * @since v1.2.0
477
- */
478
- function notDeepStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void;
479
- /**
480
- * Expects the function `fn` to throw an error.
481
- *
482
- * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes),
483
- * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), a validation function,
484
- * a validation object where each property will be tested for strict deep equality,
485
- * or an instance of error where each property will be tested for strict deep
486
- * equality including the non-enumerable `message` and `name` properties. When
487
- * using an object, it is also possible to use a regular expression, when
488
- * validating against a string property. See below for examples.
489
- *
490
- * If specified, `message` will be appended to the message provided by the `AssertionError` if the `fn` call fails to throw or in case the error validation
491
- * fails.
492
- *
493
- * Custom validation object/error instance:
494
- *
495
- * ```js
496
- * import assert from 'node:assert/strict';
497
- *
498
- * const err = new TypeError('Wrong value');
499
- * err.code = 404;
500
- * err.foo = 'bar';
501
- * err.info = {
502
- * nested: true,
503
- * baz: 'text',
504
- * };
505
- * err.reg = /abc/i;
506
- *
507
- * assert.throws(
508
- * () => {
509
- * throw err;
510
- * },
511
- * {
512
- * name: 'TypeError',
513
- * message: 'Wrong value',
514
- * info: {
515
- * nested: true,
516
- * baz: 'text',
517
- * },
518
- * // Only properties on the validation object will be tested for.
519
- * // Using nested objects requires all properties to be present. Otherwise
520
- * // the validation is going to fail.
521
- * },
522
- * );
523
- *
524
- * // Using regular expressions to validate error properties:
525
- * assert.throws(
526
- * () => {
527
- * throw err;
528
- * },
529
- * {
530
- * // The `name` and `message` properties are strings and using regular
531
- * // expressions on those will match against the string. If they fail, an
532
- * // error is thrown.
533
- * name: /^TypeError$/,
534
- * message: /Wrong/,
535
- * foo: 'bar',
536
- * info: {
537
- * nested: true,
538
- * // It is not possible to use regular expressions for nested properties!
539
- * baz: 'text',
540
- * },
541
- * // The `reg` property contains a regular expression and only if the
542
- * // validation object contains an identical regular expression, it is going
543
- * // to pass.
544
- * reg: /abc/i,
545
- * },
546
- * );
547
- *
548
- * // Fails due to the different `message` and `name` properties:
549
- * assert.throws(
550
- * () => {
551
- * const otherErr = new Error('Not found');
552
- * // Copy all enumerable properties from `err` to `otherErr`.
553
- * for (const [key, value] of Object.entries(err)) {
554
- * otherErr[key] = value;
555
- * }
556
- * throw otherErr;
557
- * },
558
- * // The error's `message` and `name` properties will also be checked when using
559
- * // an error as validation object.
560
- * err,
561
- * );
562
- * ```
563
- *
564
- * Validate instanceof using constructor:
565
- *
566
- * ```js
567
- * import assert from 'node:assert/strict';
568
- *
569
- * assert.throws(
570
- * () => {
571
- * throw new Error('Wrong value');
572
- * },
573
- * Error,
574
- * );
575
- * ```
576
- *
577
- * Validate error message using [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions):
578
- *
579
- * Using a regular expression runs `.toString` on the error object, and will
580
- * therefore also include the error name.
581
- *
582
- * ```js
583
- * import assert from 'node:assert/strict';
584
- *
585
- * assert.throws(
586
- * () => {
587
- * throw new Error('Wrong value');
588
- * },
589
- * /^Error: Wrong value$/,
590
- * );
591
- * ```
592
- *
593
- * Custom error validation:
594
- *
595
- * The function must return `true` to indicate all internal validations passed.
596
- * It will otherwise fail with an `AssertionError`.
597
- *
598
- * ```js
599
- * import assert from 'node:assert/strict';
600
- *
601
- * assert.throws(
602
- * () => {
603
- * throw new Error('Wrong value');
604
- * },
605
- * (err) => {
606
- * assert(err instanceof Error);
607
- * assert(/value/.test(err));
608
- * // Avoid returning anything from validation functions besides `true`.
609
- * // Otherwise, it's not clear what part of the validation failed. Instead,
610
- * // throw an error about the specific validation that failed (as done in this
611
- * // example) and add as much helpful debugging information to that error as
612
- * // possible.
613
- * return true;
614
- * },
615
- * 'unexpected error',
616
- * );
617
- * ```
618
- *
619
- * `error` cannot be a string. If a string is provided as the second
620
- * argument, then `error` is assumed to be omitted and the string will be used for `message` instead. This can lead to easy-to-miss mistakes. Using the same
621
- * message as the thrown error message is going to result in an `ERR_AMBIGUOUS_ARGUMENT` error. Please read the example below carefully if using
622
- * a string as the second argument gets considered:
623
- *
624
- * ```js
625
- * import assert from 'node:assert/strict';
626
- *
627
- * function throwingFirst() {
628
- * throw new Error('First');
629
- * }
630
- *
631
- * function throwingSecond() {
632
- * throw new Error('Second');
633
- * }
634
- *
635
- * function notThrowing() {}
636
- *
637
- * // The second argument is a string and the input function threw an Error.
638
- * // The first case will not throw as it does not match for the error message
639
- * // thrown by the input function!
640
- * assert.throws(throwingFirst, 'Second');
641
- * // In the next example the message has no benefit over the message from the
642
- * // error and since it is not clear if the user intended to actually match
643
- * // against the error message, Node.js throws an `ERR_AMBIGUOUS_ARGUMENT` error.
644
- * assert.throws(throwingSecond, 'Second');
645
- * // TypeError [ERR_AMBIGUOUS_ARGUMENT]
646
- *
647
- * // The string is only used (as message) in case the function does not throw:
648
- * assert.throws(notThrowing, 'Second');
649
- * // AssertionError [ERR_ASSERTION]: Missing expected exception: Second
650
- *
651
- * // If it was intended to match for the error message do this instead:
652
- * // It does not throw because the error messages match.
653
- * assert.throws(throwingSecond, /Second$/);
654
- *
655
- * // If the error message does not match, an AssertionError is thrown.
656
- * assert.throws(throwingFirst, /Second$/);
657
- * // AssertionError [ERR_ASSERTION]
658
- * ```
659
- *
660
- * Due to the confusing error-prone notation, avoid a string as the second
661
- * argument.
662
- * @since v0.1.21
663
- */
664
- function throws(block: () => unknown, message?: string | Error): void;
665
- function throws(block: () => unknown, error: AssertPredicate, message?: string | Error): void;
666
- /**
667
- * Asserts that the function `fn` does not throw an error.
668
- *
669
- * Using `assert.doesNotThrow()` is actually not useful because there
670
- * is no benefit in catching an error and then rethrowing it. Instead, consider
671
- * adding a comment next to the specific code path that should not throw and keep
672
- * error messages as expressive as possible.
673
- *
674
- * When `assert.doesNotThrow()` is called, it will immediately call the `fn` function.
675
- *
676
- * If an error is thrown and it is the same type as that specified by the `error` parameter, then an `AssertionError` is thrown. If the error is of a
677
- * different type, or if the `error` parameter is undefined, the error is
678
- * propagated back to the caller.
679
- *
680
- * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes),
681
- * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), or a validation
682
- * function. See {@link throws} for more details.
683
- *
684
- * The following, for instance, will throw the `TypeError` because there is no
685
- * matching error type in the assertion:
686
- *
687
- * ```js
688
- * import assert from 'node:assert/strict';
689
- *
690
- * assert.doesNotThrow(
691
- * () => {
692
- * throw new TypeError('Wrong value');
693
- * },
694
- * SyntaxError,
695
- * );
696
- * ```
697
- *
698
- * However, the following will result in an `AssertionError` with the message
699
- * 'Got unwanted exception...':
700
- *
701
- * ```js
702
- * import assert from 'node:assert/strict';
703
- *
704
- * assert.doesNotThrow(
705
- * () => {
706
- * throw new TypeError('Wrong value');
707
- * },
708
- * TypeError,
709
- * );
710
- * ```
711
- *
712
- * If an `AssertionError` is thrown and a value is provided for the `message` parameter, the value of `message` will be appended to the `AssertionError` message:
713
- *
714
- * ```js
715
- * import assert from 'node:assert/strict';
716
- *
717
- * assert.doesNotThrow(
718
- * () => {
719
- * throw new TypeError('Wrong value');
720
- * },
721
- * /Wrong value/,
722
- * 'Whoops',
723
- * );
724
- * // Throws: AssertionError: Got unwanted exception: Whoops
725
- * ```
726
- * @since v0.1.21
727
- */
728
- function doesNotThrow(block: () => unknown, message?: string | Error): void;
729
- function doesNotThrow(block: () => unknown, error: AssertPredicate, message?: string | Error): void;
730
- /**
731
- * Throws `value` if `value` is not `undefined` or `null`. This is useful when
732
- * testing the `error` argument in callbacks. The stack trace contains all frames
733
- * from the error passed to `ifError()` including the potential new frames for `ifError()` itself.
734
- *
735
- * ```js
736
- * import assert from 'node:assert/strict';
737
- *
738
- * assert.ifError(null);
739
- * // OK
740
- * assert.ifError(0);
741
- * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: 0
742
- * assert.ifError('error');
743
- * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: 'error'
744
- * assert.ifError(new Error());
745
- * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Error
746
- *
747
- * // Create some random error frames.
748
- * let err;
749
- * (function errorFrame() {
750
- * err = new Error('test error');
751
- * })();
752
- *
753
- * (function ifErrorFrame() {
754
- * assert.ifError(err);
755
- * })();
756
- * // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: test error
757
- * // at ifErrorFrame
758
- * // at errorFrame
759
- * ```
760
- * @since v0.1.97
761
- */
762
- function ifError(value: unknown): asserts value is null | undefined;
763
- /**
764
- * Awaits the `asyncFn` promise or, if `asyncFn` is a function, immediately
765
- * calls the function and awaits the returned promise to complete. It will then
766
- * check that the promise is rejected.
767
- *
768
- * If `asyncFn` is a function and it throws an error synchronously, `assert.rejects()` will return a rejected `Promise` with that error. If the
769
- * function does not return a promise, `assert.rejects()` will return a rejected `Promise` with an [ERR_INVALID_RETURN_VALUE](https://nodejs.org/docs/latest-v25.x/api/errors.html#err_invalid_return_value)
770
- * error. In both cases the error handler is skipped.
771
- *
772
- * Besides the async nature to await the completion behaves identically to {@link throws}.
773
- *
774
- * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes),
775
- * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), a validation function,
776
- * an object where each property will be tested for, or an instance of error where
777
- * each property will be tested for including the non-enumerable `message` and `name` properties.
778
- *
779
- * If specified, `message` will be the message provided by the `{@link AssertionError}` if the `asyncFn` fails to reject.
780
- *
781
- * ```js
782
- * import assert from 'node:assert/strict';
783
- *
784
- * await assert.rejects(
785
- * async () => {
786
- * throw new TypeError('Wrong value');
787
- * },
788
- * {
789
- * name: 'TypeError',
790
- * message: 'Wrong value',
791
- * },
792
- * );
793
- * ```
794
- *
795
- * ```js
796
- * import assert from 'node:assert/strict';
797
- *
798
- * await assert.rejects(
799
- * async () => {
800
- * throw new TypeError('Wrong value');
801
- * },
802
- * (err) => {
803
- * assert.strictEqual(err.name, 'TypeError');
804
- * assert.strictEqual(err.message, 'Wrong value');
805
- * return true;
806
- * },
807
- * );
808
- * ```
809
- *
810
- * ```js
811
- * import assert from 'node:assert/strict';
812
- *
813
- * assert.rejects(
814
- * Promise.reject(new Error('Wrong value')),
815
- * Error,
816
- * ).then(() => {
817
- * // ...
818
- * });
819
- * ```
820
- *
821
- * `error` cannot be a string. If a string is provided as the second argument, then `error` is assumed to
822
- * be omitted and the string will be used for `message` instead. This can lead to easy-to-miss mistakes. Please read the
823
- * example in {@link throws} carefully if using a string as the second argument gets considered.
824
- * @since v10.0.0
825
- */
826
- function rejects(block: (() => Promise<unknown>) | Promise<unknown>, message?: string | Error): Promise<void>;
827
- function rejects(
828
- block: (() => Promise<unknown>) | Promise<unknown>,
829
- error: AssertPredicate,
830
- message?: string | Error,
831
- ): Promise<void>;
832
- /**
833
- * Awaits the `asyncFn` promise or, if `asyncFn` is a function, immediately
834
- * calls the function and awaits the returned promise to complete. It will then
835
- * check that the promise is not rejected.
836
- *
837
- * If `asyncFn` is a function and it throws an error synchronously, `assert.doesNotReject()` will return a rejected `Promise` with that error. If
838
- * the function does not return a promise, `assert.doesNotReject()` will return a
839
- * rejected `Promise` with an [ERR_INVALID_RETURN_VALUE](https://nodejs.org/docs/latest-v25.x/api/errors.html#err_invalid_return_value) error. In both cases
840
- * the error handler is skipped.
841
- *
842
- * Using `assert.doesNotReject()` is actually not useful because there is little
843
- * benefit in catching a rejection and then rejecting it again. Instead, consider
844
- * adding a comment next to the specific code path that should not reject and keep
845
- * error messages as expressive as possible.
846
- *
847
- * If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes),
848
- * [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), or a validation
849
- * function. See {@link throws} for more details.
850
- *
851
- * Besides the async nature to await the completion behaves identically to {@link doesNotThrow}.
852
- *
853
- * ```js
854
- * import assert from 'node:assert/strict';
855
- *
856
- * await assert.doesNotReject(
857
- * async () => {
858
- * throw new TypeError('Wrong value');
859
- * },
860
- * SyntaxError,
861
- * );
862
- * ```
863
- *
864
- * ```js
865
- * import assert from 'node:assert/strict';
866
- *
867
- * assert.doesNotReject(Promise.reject(new TypeError('Wrong value')))
868
- * .then(() => {
869
- * // ...
870
- * });
871
- * ```
872
- * @since v10.0.0
873
- */
874
- function doesNotReject(
875
- block: (() => Promise<unknown>) | Promise<unknown>,
876
- message?: string | Error,
877
- ): Promise<void>;
878
- function doesNotReject(
879
- block: (() => Promise<unknown>) | Promise<unknown>,
880
- error: AssertPredicate,
881
- message?: string | Error,
882
- ): Promise<void>;
883
- /**
884
- * Expects the `string` input to match the regular expression.
885
- *
886
- * ```js
887
- * import assert from 'node:assert/strict';
888
- *
889
- * assert.match('I will fail', /pass/);
890
- * // AssertionError [ERR_ASSERTION]: The input did not match the regular ...
891
- *
892
- * assert.match(123, /pass/);
893
- * // AssertionError [ERR_ASSERTION]: The "string" argument must be of type string.
894
- *
895
- * assert.match('I will pass', /pass/);
896
- * // OK
897
- * ```
898
- *
899
- * If the values do not match, or if the `string` argument is of another type than `string`, an `{@link AssertionError}` is thrown with a `message` property set equal
900
- * to the value of the `message` parameter. If the `message` parameter is
901
- * undefined, a default error message is assigned. If the `message` parameter is an
902
- * instance of an [Error](https://nodejs.org/docs/latest-v25.x/api/errors.html#class-error) then it will be thrown instead of the `{@link AssertionError}`.
903
- * @since v13.6.0, v12.16.0
904
- */
905
- function match(value: string, regExp: RegExp, message?: string | Error): void;
906
- /**
907
- * Expects the `string` input not to match the regular expression.
908
- *
909
- * ```js
910
- * import assert from 'node:assert/strict';
911
- *
912
- * assert.doesNotMatch('I will fail', /fail/);
913
- * // AssertionError [ERR_ASSERTION]: The input was expected to not match the ...
914
- *
915
- * assert.doesNotMatch(123, /pass/);
916
- * // AssertionError [ERR_ASSERTION]: The "string" argument must be of type string.
917
- *
918
- * assert.doesNotMatch('I will pass', /different/);
919
- * // OK
920
- * ```
921
- *
922
- * If the values do match, or if the `string` argument is of another type than `string`, an `{@link AssertionError}` is thrown with a `message` property set equal
923
- * to the value of the `message` parameter. If the `message` parameter is
924
- * undefined, a default error message is assigned. If the `message` parameter is an
925
- * instance of an [Error](https://nodejs.org/docs/latest-v25.x/api/errors.html#class-error) then it will be thrown instead of the `{@link AssertionError}`.
926
- * @since v13.6.0, v12.16.0
927
- */
928
- function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void;
929
- /**
930
- * Tests for partial deep equality between the `actual` and `expected` parameters.
931
- * "Deep" equality means that the enumerable "own" properties of child objects
932
- * are recursively evaluated also by the following rules. "Partial" equality means
933
- * that only properties that exist on the `expected` parameter are going to be
934
- * compared.
935
- *
936
- * This method always passes the same test cases as `assert.deepStrictEqual()`,
937
- * behaving as a super set of it.
938
- * @since v22.13.0
939
- */
940
- function partialDeepStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void;
941
- }
942
- namespace assert {
943
- export { strict };
944
- }
945
- export = assert;
946
- }
947
- declare module "assert" {
948
- import assert = require("node:assert");
949
- export = assert;
950
- }