node-red-contrib-tak-registration 0.14.1 → 0.16.0

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 (458) hide show
  1. package/README.md +1 -1
  2. package/node_modules/@types/geojson/README.md +1 -1
  3. package/node_modules/@types/geojson/index.d.ts +36 -2
  4. package/node_modules/@types/geojson/package.json +2 -2
  5. package/node_modules/@types/node/README.md +2 -2
  6. package/node_modules/@types/node/assert.d.ts +14 -0
  7. package/node_modules/@types/node/async_hooks.d.ts +64 -2
  8. package/node_modules/@types/node/buffer.buffer.d.ts +117 -39
  9. package/node_modules/@types/node/buffer.d.ts +6 -13
  10. package/node_modules/@types/node/cluster.d.ts +1 -1
  11. package/node_modules/@types/node/constants.d.ts +14 -12
  12. package/node_modules/@types/node/crypto.d.ts +44 -10
  13. package/node_modules/@types/node/dgram.d.ts +10 -7
  14. package/node_modules/@types/node/diagnostics_channel.d.ts +20 -1
  15. package/node_modules/@types/node/fs/promises.d.ts +23 -26
  16. package/node_modules/@types/node/fs.d.ts +166 -125
  17. package/node_modules/@types/node/globals.d.ts +141 -338
  18. package/node_modules/@types/node/http.d.ts +25 -3
  19. package/node_modules/@types/node/http2.d.ts +3 -4
  20. package/node_modules/@types/node/https.d.ts +3 -1
  21. package/node_modules/@types/node/inspector.d.ts +36 -0
  22. package/node_modules/@types/node/module.d.ts +599 -236
  23. package/node_modules/@types/node/net.d.ts +44 -13
  24. package/node_modules/@types/node/package.json +9 -4
  25. package/node_modules/@types/node/perf_hooks.d.ts +5 -0
  26. package/node_modules/@types/node/process.d.ts +69 -2
  27. package/node_modules/@types/node/querystring.d.ts +2 -3
  28. package/node_modules/@types/node/readline.d.ts +6 -1
  29. package/node_modules/@types/node/sea.d.ts +1 -1
  30. package/node_modules/@types/node/sqlite.d.ts +291 -17
  31. package/node_modules/@types/node/stream/consumers.d.ts +32 -6
  32. package/node_modules/@types/node/stream/web.d.ts +9 -4
  33. package/node_modules/@types/node/stream.d.ts +936 -1000
  34. package/node_modules/@types/node/test.d.ts +169 -137
  35. package/node_modules/@types/node/timers/promises.d.ts +24 -13
  36. package/node_modules/@types/node/timers.d.ts +159 -112
  37. package/node_modules/@types/node/tls.d.ts +34 -1
  38. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +110 -35
  39. package/node_modules/@types/node/util.d.ts +323 -110
  40. package/node_modules/@types/node/v8.d.ts +81 -0
  41. package/node_modules/@types/node/vm.d.ts +21 -6
  42. package/node_modules/@types/node/worker_threads.d.ts +1 -0
  43. package/node_modules/@types/node/zlib.d.ts +167 -36
  44. package/node_modules/axios/CHANGELOG.md +165 -0
  45. package/node_modules/axios/README.md +55 -33
  46. package/node_modules/axios/dist/axios.js +85 -43
  47. package/node_modules/axios/dist/axios.js.map +1 -1
  48. package/node_modules/axios/dist/axios.min.js +2 -1
  49. package/node_modules/axios/dist/axios.min.js.map +1 -1
  50. package/node_modules/axios/dist/browser/axios.cjs +92 -47
  51. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  52. package/node_modules/axios/dist/esm/axios.js +92 -47
  53. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  54. package/node_modules/axios/dist/esm/axios.min.js +2 -1
  55. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  56. package/node_modules/axios/dist/node/axios.cjs +123 -51
  57. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  58. package/node_modules/axios/index.d.cts +17 -5
  59. package/node_modules/axios/index.d.ts +6 -3
  60. package/node_modules/axios/lib/adapters/fetch.js +2 -2
  61. package/node_modules/axios/lib/adapters/http.js +1 -1
  62. package/node_modules/axios/lib/core/Axios.js +13 -4
  63. package/node_modules/axios/lib/core/AxiosHeaders.js +15 -3
  64. package/node_modules/axios/lib/core/buildFullPath.js +3 -2
  65. package/node_modules/axios/lib/core/mergeConfig.js +1 -1
  66. package/node_modules/axios/lib/env/data.js +1 -1
  67. package/node_modules/axios/lib/helpers/formDataToStream.js +4 -3
  68. package/node_modules/axios/lib/helpers/resolveConfig.js +1 -1
  69. package/node_modules/axios/lib/helpers/throttle.js +1 -1
  70. package/node_modules/axios/lib/helpers/toFormData.js +4 -0
  71. package/node_modules/axios/lib/helpers/toURLEncodedForm.js +4 -3
  72. package/node_modules/axios/lib/platform/node/index.js +26 -0
  73. package/node_modules/axios/lib/utils.js +48 -28
  74. package/node_modules/axios/package.json +14 -5
  75. package/node_modules/bignumber.js/CHANGELOG.md +82 -1
  76. package/node_modules/bignumber.js/LICENCE.md +1 -1
  77. package/node_modules/bignumber.js/README.md +6 -4
  78. package/node_modules/bignumber.js/bignumber.d.mts +6 -0
  79. package/node_modules/bignumber.js/bignumber.d.ts +3 -1829
  80. package/node_modules/bignumber.js/bignumber.js +3 -3
  81. package/node_modules/bignumber.js/bignumber.mjs +3 -3
  82. package/node_modules/bignumber.js/package.json +17 -7
  83. package/node_modules/bignumber.js/types.d.ts +1821 -0
  84. package/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  85. package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  86. package/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  87. package/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  88. package/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  89. package/node_modules/call-bind-apply-helpers/README.md +62 -0
  90. package/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  91. package/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  92. package/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  93. package/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  94. package/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  95. package/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  96. package/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  97. package/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  98. package/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  99. package/node_modules/call-bind-apply-helpers/index.js +15 -0
  100. package/node_modules/call-bind-apply-helpers/package.json +85 -0
  101. package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  102. package/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  103. package/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  104. package/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  105. package/node_modules/dunder-proto/.eslintrc +5 -0
  106. package/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  107. package/node_modules/dunder-proto/.nycrc +13 -0
  108. package/node_modules/dunder-proto/CHANGELOG.md +24 -0
  109. package/node_modules/dunder-proto/LICENSE +21 -0
  110. package/node_modules/dunder-proto/README.md +54 -0
  111. package/node_modules/dunder-proto/get.d.ts +5 -0
  112. package/node_modules/dunder-proto/get.js +30 -0
  113. package/node_modules/dunder-proto/package.json +76 -0
  114. package/node_modules/dunder-proto/set.d.ts +5 -0
  115. package/node_modules/dunder-proto/set.js +35 -0
  116. package/node_modules/dunder-proto/test/get.js +34 -0
  117. package/node_modules/dunder-proto/test/index.js +4 -0
  118. package/node_modules/dunder-proto/test/set.js +50 -0
  119. package/node_modules/dunder-proto/tsconfig.json +9 -0
  120. package/node_modules/es-define-property/.eslintrc +13 -0
  121. package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  122. package/node_modules/es-define-property/.nycrc +9 -0
  123. package/node_modules/es-define-property/CHANGELOG.md +29 -0
  124. package/node_modules/es-define-property/LICENSE +21 -0
  125. package/node_modules/es-define-property/README.md +49 -0
  126. package/node_modules/es-define-property/index.d.ts +3 -0
  127. package/node_modules/es-define-property/index.js +14 -0
  128. package/node_modules/es-define-property/package.json +81 -0
  129. package/node_modules/es-define-property/test/index.js +56 -0
  130. package/node_modules/es-define-property/tsconfig.json +10 -0
  131. package/node_modules/es-errors/.eslintrc +5 -0
  132. package/node_modules/es-errors/.github/FUNDING.yml +12 -0
  133. package/node_modules/es-errors/CHANGELOG.md +40 -0
  134. package/node_modules/es-errors/LICENSE +21 -0
  135. package/node_modules/es-errors/README.md +55 -0
  136. package/node_modules/es-errors/eval.d.ts +3 -0
  137. package/node_modules/es-errors/eval.js +4 -0
  138. package/node_modules/es-errors/index.d.ts +3 -0
  139. package/node_modules/es-errors/index.js +4 -0
  140. package/node_modules/es-errors/package.json +80 -0
  141. package/node_modules/es-errors/range.d.ts +3 -0
  142. package/node_modules/es-errors/range.js +4 -0
  143. package/node_modules/es-errors/ref.d.ts +3 -0
  144. package/node_modules/es-errors/ref.js +4 -0
  145. package/node_modules/es-errors/syntax.d.ts +3 -0
  146. package/node_modules/es-errors/syntax.js +4 -0
  147. package/node_modules/es-errors/test/index.js +19 -0
  148. package/node_modules/es-errors/tsconfig.json +49 -0
  149. package/node_modules/es-errors/type.d.ts +3 -0
  150. package/node_modules/es-errors/type.js +4 -0
  151. package/node_modules/es-errors/uri.d.ts +3 -0
  152. package/node_modules/es-errors/uri.js +4 -0
  153. package/node_modules/es-object-atoms/.eslintrc +16 -0
  154. package/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  155. package/node_modules/es-object-atoms/CHANGELOG.md +37 -0
  156. package/node_modules/es-object-atoms/LICENSE +21 -0
  157. package/node_modules/es-object-atoms/README.md +63 -0
  158. package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  159. package/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  160. package/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  161. package/node_modules/es-object-atoms/ToObject.js +10 -0
  162. package/node_modules/es-object-atoms/index.d.ts +3 -0
  163. package/node_modules/es-object-atoms/index.js +4 -0
  164. package/node_modules/es-object-atoms/isObject.d.ts +3 -0
  165. package/node_modules/es-object-atoms/isObject.js +6 -0
  166. package/node_modules/es-object-atoms/package.json +80 -0
  167. package/node_modules/es-object-atoms/test/index.js +38 -0
  168. package/node_modules/es-object-atoms/tsconfig.json +6 -0
  169. package/node_modules/es-set-tostringtag/.eslintrc +13 -0
  170. package/node_modules/es-set-tostringtag/.nycrc +9 -0
  171. package/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
  172. package/node_modules/es-set-tostringtag/LICENSE +21 -0
  173. package/node_modules/es-set-tostringtag/README.md +53 -0
  174. package/node_modules/es-set-tostringtag/index.d.ts +10 -0
  175. package/node_modules/es-set-tostringtag/index.js +35 -0
  176. package/node_modules/es-set-tostringtag/package.json +78 -0
  177. package/node_modules/es-set-tostringtag/test/index.js +85 -0
  178. package/node_modules/es-set-tostringtag/tsconfig.json +9 -0
  179. package/node_modules/fast-xml-parser/CHANGELOG.md +70 -0
  180. package/node_modules/fast-xml-parser/README.md +37 -51
  181. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
  182. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
  183. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
  184. package/node_modules/fast-xml-parser/lib/fxp.d.cts +458 -0
  185. package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
  186. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
  187. package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
  188. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
  189. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
  190. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -0
  191. package/node_modules/fast-xml-parser/package.json +36 -19
  192. package/node_modules/fast-xml-parser/src/cli/cli.js +16 -12
  193. package/node_modules/fast-xml-parser/src/cli/man.js +6 -1
  194. package/node_modules/fast-xml-parser/src/cli/read.js +30 -79
  195. package/node_modules/fast-xml-parser/src/fxp.d.ts +33 -6
  196. package/node_modules/fast-xml-parser/src/fxp.js +11 -8
  197. package/node_modules/fast-xml-parser/src/ignoreAttributes.js +2 -4
  198. package/node_modules/fast-xml-parser/src/util.js +14 -18
  199. package/node_modules/fast-xml-parser/src/{v5 → v6}/CharsSymbol.js +1 -1
  200. package/node_modules/fast-xml-parser/src/{v5 → v6}/EntitiesParser.js +3 -6
  201. package/node_modules/fast-xml-parser/src/{v5 → v6}/OptionsBuilder.js +3 -6
  202. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/BaseOutputBuilder.js +1 -3
  203. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsArrBuilder.js +3 -3
  204. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsMinArrBuilder.js +3 -5
  205. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsObjBuilder.js +3 -5
  206. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/ParserOptionsBuilder.js +6 -11
  207. package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPath.js +1 -1
  208. package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPathMatcher.js +3 -5
  209. package/node_modules/fast-xml-parser/src/{v5 → v6}/XMLParser.js +3 -5
  210. package/node_modules/fast-xml-parser/src/{v5 → v6}/Xml2JsParser.js +8 -10
  211. package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlPartReader.js +4 -10
  212. package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlSpecialTagsReader.js +5 -12
  213. package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/BufferSource.js +1 -3
  214. package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/StringSource.js +1 -3
  215. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/EntitiesParser.js +3 -5
  216. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParser.js +1 -2
  217. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParserExt.js +1 -2
  218. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/currency.js +1 -3
  219. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/join.js +1 -2
  220. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/number.js +2 -4
  221. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/trim.js +1 -3
  222. package/node_modules/fast-xml-parser/src/validator.js +5 -5
  223. package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +5 -4
  224. package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +1 -2
  225. package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +287 -71
  226. package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +3 -5
  227. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +23 -23
  228. package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +21 -8
  229. package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +8 -2
  230. package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +22 -7
  231. package/node_modules/form-data/CHANGELOG.md +601 -0
  232. package/node_modules/form-data/{Readme.md → README.md} +34 -37
  233. package/node_modules/form-data/lib/browser.js +3 -1
  234. package/node_modules/form-data/lib/form_data.js +140 -147
  235. package/node_modules/form-data/lib/populate.js +5 -5
  236. package/node_modules/form-data/package.json +34 -23
  237. package/node_modules/function-bind/.eslintrc +21 -0
  238. package/node_modules/function-bind/.github/FUNDING.yml +12 -0
  239. package/node_modules/function-bind/.github/SECURITY.md +3 -0
  240. package/node_modules/function-bind/.nycrc +13 -0
  241. package/node_modules/function-bind/CHANGELOG.md +136 -0
  242. package/node_modules/function-bind/LICENSE +20 -0
  243. package/node_modules/function-bind/README.md +46 -0
  244. package/node_modules/function-bind/implementation.js +84 -0
  245. package/node_modules/function-bind/index.js +5 -0
  246. package/node_modules/function-bind/package.json +87 -0
  247. package/node_modules/function-bind/test/.eslintrc +9 -0
  248. package/node_modules/function-bind/test/index.js +252 -0
  249. package/node_modules/get-intrinsic/.eslintrc +42 -0
  250. package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  251. package/node_modules/get-intrinsic/.nycrc +9 -0
  252. package/node_modules/get-intrinsic/CHANGELOG.md +186 -0
  253. package/node_modules/get-intrinsic/LICENSE +21 -0
  254. package/node_modules/get-intrinsic/README.md +71 -0
  255. package/node_modules/get-intrinsic/index.js +378 -0
  256. package/node_modules/get-intrinsic/package.json +97 -0
  257. package/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  258. package/node_modules/get-proto/.eslintrc +10 -0
  259. package/node_modules/get-proto/.github/FUNDING.yml +12 -0
  260. package/node_modules/get-proto/.nycrc +9 -0
  261. package/node_modules/get-proto/CHANGELOG.md +21 -0
  262. package/node_modules/get-proto/LICENSE +21 -0
  263. package/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  264. package/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  265. package/node_modules/get-proto/README.md +50 -0
  266. package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  267. package/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  268. package/node_modules/get-proto/index.d.ts +5 -0
  269. package/node_modules/get-proto/index.js +27 -0
  270. package/node_modules/get-proto/package.json +81 -0
  271. package/node_modules/get-proto/test/index.js +68 -0
  272. package/node_modules/get-proto/tsconfig.json +9 -0
  273. package/node_modules/gopd/.eslintrc +16 -0
  274. package/node_modules/gopd/.github/FUNDING.yml +12 -0
  275. package/node_modules/gopd/CHANGELOG.md +45 -0
  276. package/node_modules/gopd/LICENSE +21 -0
  277. package/node_modules/gopd/README.md +40 -0
  278. package/node_modules/gopd/gOPD.d.ts +1 -0
  279. package/node_modules/gopd/gOPD.js +4 -0
  280. package/node_modules/gopd/index.d.ts +5 -0
  281. package/node_modules/gopd/index.js +15 -0
  282. package/node_modules/gopd/package.json +77 -0
  283. package/node_modules/gopd/test/index.js +36 -0
  284. package/node_modules/gopd/tsconfig.json +9 -0
  285. package/node_modules/has-symbols/.eslintrc +11 -0
  286. package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  287. package/node_modules/has-symbols/.nycrc +9 -0
  288. package/node_modules/has-symbols/CHANGELOG.md +91 -0
  289. package/node_modules/has-symbols/LICENSE +21 -0
  290. package/node_modules/has-symbols/README.md +46 -0
  291. package/node_modules/has-symbols/index.d.ts +3 -0
  292. package/node_modules/has-symbols/index.js +14 -0
  293. package/node_modules/has-symbols/package.json +111 -0
  294. package/node_modules/has-symbols/shams.d.ts +3 -0
  295. package/node_modules/has-symbols/shams.js +45 -0
  296. package/node_modules/has-symbols/test/index.js +22 -0
  297. package/node_modules/has-symbols/test/shams/core-js.js +29 -0
  298. package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  299. package/node_modules/has-symbols/test/tests.js +58 -0
  300. package/node_modules/has-symbols/tsconfig.json +10 -0
  301. package/node_modules/has-tostringtag/.eslintrc +5 -0
  302. package/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
  303. package/node_modules/has-tostringtag/.nycrc +13 -0
  304. package/node_modules/has-tostringtag/CHANGELOG.md +42 -0
  305. package/node_modules/has-tostringtag/LICENSE +21 -0
  306. package/node_modules/has-tostringtag/README.md +46 -0
  307. package/node_modules/has-tostringtag/index.d.ts +3 -0
  308. package/node_modules/has-tostringtag/index.js +8 -0
  309. package/node_modules/has-tostringtag/package.json +108 -0
  310. package/node_modules/has-tostringtag/shams.d.ts +3 -0
  311. package/node_modules/has-tostringtag/shams.js +8 -0
  312. package/node_modules/has-tostringtag/test/index.js +21 -0
  313. package/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
  314. package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
  315. package/node_modules/has-tostringtag/test/tests.js +15 -0
  316. package/node_modules/has-tostringtag/tsconfig.json +49 -0
  317. package/node_modules/hasown/.eslintrc +5 -0
  318. package/node_modules/hasown/.github/FUNDING.yml +12 -0
  319. package/node_modules/hasown/.nycrc +13 -0
  320. package/node_modules/hasown/CHANGELOG.md +40 -0
  321. package/node_modules/hasown/LICENSE +21 -0
  322. package/node_modules/hasown/README.md +40 -0
  323. package/node_modules/hasown/index.d.ts +3 -0
  324. package/node_modules/hasown/index.js +8 -0
  325. package/node_modules/hasown/package.json +92 -0
  326. package/node_modules/hasown/tsconfig.json +6 -0
  327. package/node_modules/long/README.md +93 -87
  328. package/node_modules/long/index.d.ts +2 -2
  329. package/node_modules/long/index.js +360 -246
  330. package/node_modules/long/package.json +12 -4
  331. package/node_modules/long/types.d.ts +474 -0
  332. package/node_modules/long/umd/index.d.ts +2 -456
  333. package/node_modules/long/umd/index.js +1585 -1395
  334. package/node_modules/long/umd/types.d.ts +474 -0
  335. package/node_modules/math-intrinsics/.eslintrc +16 -0
  336. package/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  337. package/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  338. package/node_modules/math-intrinsics/LICENSE +21 -0
  339. package/node_modules/math-intrinsics/README.md +50 -0
  340. package/node_modules/math-intrinsics/abs.d.ts +1 -0
  341. package/node_modules/math-intrinsics/abs.js +4 -0
  342. package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  343. package/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  344. package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  345. package/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  346. package/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  347. package/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  348. package/node_modules/math-intrinsics/floor.d.ts +1 -0
  349. package/node_modules/math-intrinsics/floor.js +4 -0
  350. package/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  351. package/node_modules/math-intrinsics/isFinite.js +12 -0
  352. package/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  353. package/node_modules/math-intrinsics/isInteger.js +16 -0
  354. package/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  355. package/node_modules/math-intrinsics/isNaN.js +6 -0
  356. package/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  357. package/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  358. package/node_modules/math-intrinsics/max.d.ts +1 -0
  359. package/node_modules/math-intrinsics/max.js +4 -0
  360. package/node_modules/math-intrinsics/min.d.ts +1 -0
  361. package/node_modules/math-intrinsics/min.js +4 -0
  362. package/node_modules/math-intrinsics/mod.d.ts +3 -0
  363. package/node_modules/math-intrinsics/mod.js +9 -0
  364. package/node_modules/math-intrinsics/package.json +86 -0
  365. package/node_modules/math-intrinsics/pow.d.ts +1 -0
  366. package/node_modules/math-intrinsics/pow.js +4 -0
  367. package/node_modules/math-intrinsics/round.d.ts +1 -0
  368. package/node_modules/math-intrinsics/round.js +4 -0
  369. package/node_modules/math-intrinsics/sign.d.ts +3 -0
  370. package/node_modules/math-intrinsics/sign.js +11 -0
  371. package/node_modules/math-intrinsics/test/index.js +192 -0
  372. package/node_modules/math-intrinsics/tsconfig.json +3 -0
  373. package/node_modules/protobufjs/dist/light/protobuf.js +532 -80
  374. package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  375. package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  376. package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  377. package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
  378. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
  379. package/node_modules/protobufjs/dist/protobuf.js +672 -144
  380. package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  381. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  382. package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  383. package/node_modules/protobufjs/ext/descriptor/index.js +179 -69
  384. package/node_modules/protobufjs/google/protobuf/descriptor.json +659 -16
  385. package/node_modules/protobufjs/google/protobuf/descriptor.proto +254 -6
  386. package/node_modules/protobufjs/index.d.ts +71 -13
  387. package/node_modules/protobufjs/package.json +4 -2
  388. package/node_modules/protobufjs/src/decoder.js +8 -10
  389. package/node_modules/protobufjs/src/encoder.js +1 -1
  390. package/node_modules/protobufjs/src/enum.js +25 -0
  391. package/node_modules/protobufjs/src/field.js +104 -28
  392. package/node_modules/protobufjs/src/namespace.js +126 -13
  393. package/node_modules/protobufjs/src/object.js +139 -4
  394. package/node_modules/protobufjs/src/oneof.js +19 -0
  395. package/node_modules/protobufjs/src/parse.js +139 -63
  396. package/node_modules/protobufjs/src/root.js +51 -15
  397. package/node_modules/protobufjs/src/service.js +23 -1
  398. package/node_modules/protobufjs/src/type.js +29 -4
  399. package/node_modules/protobufjs/src/util.js +4 -1
  400. package/node_modules/strnum/.github/SECURITY.md +5 -0
  401. package/node_modules/strnum/CHANGELOG.md +33 -0
  402. package/node_modules/strnum/README.md +14 -3
  403. package/node_modules/strnum/algo.stflow +84 -0
  404. package/node_modules/strnum/package.json +9 -2
  405. package/node_modules/strnum/strnum.js +72 -67
  406. package/node_modules/strnum/strnum.test.js +29 -6
  407. package/node_modules/strnum/test.js +9 -0
  408. package/node_modules/undici-types/dispatcher.d.ts +1 -0
  409. package/node_modules/undici-types/package.json +1 -1
  410. package/node_modules/undici-types/readable.d.ts +5 -0
  411. package/node_modules/undici-types/webidl.d.ts +6 -0
  412. package/node_modules/uuid/README.md +12 -12
  413. package/node_modules/uuid/dist/cjs/types.d.ts +1 -1
  414. package/node_modules/uuid/dist/cjs/v1.d.ts +1 -1
  415. package/node_modules/uuid/dist/cjs/v1.js +1 -1
  416. package/node_modules/uuid/dist/cjs/v3.d.ts +1 -1
  417. package/node_modules/uuid/dist/cjs/v35.d.ts +1 -1
  418. package/node_modules/uuid/dist/cjs/v4.d.ts +1 -1
  419. package/node_modules/uuid/dist/cjs/v5.d.ts +1 -1
  420. package/node_modules/uuid/dist/cjs/v6.d.ts +1 -1
  421. package/node_modules/uuid/dist/cjs/v7.d.ts +1 -1
  422. package/node_modules/uuid/dist/cjs/v7.js +1 -1
  423. package/node_modules/uuid/dist/cjs-browser/types.d.ts +1 -1
  424. package/node_modules/uuid/dist/cjs-browser/v1.d.ts +1 -1
  425. package/node_modules/uuid/dist/cjs-browser/v1.js +1 -1
  426. package/node_modules/uuid/dist/cjs-browser/v3.d.ts +1 -1
  427. package/node_modules/uuid/dist/cjs-browser/v35.d.ts +1 -1
  428. package/node_modules/uuid/dist/cjs-browser/v4.d.ts +1 -1
  429. package/node_modules/uuid/dist/cjs-browser/v5.d.ts +1 -1
  430. package/node_modules/uuid/dist/cjs-browser/v6.d.ts +1 -1
  431. package/node_modules/uuid/dist/cjs-browser/v7.d.ts +1 -1
  432. package/node_modules/uuid/dist/cjs-browser/v7.js +1 -1
  433. package/node_modules/uuid/dist/esm/types.d.ts +1 -1
  434. package/node_modules/uuid/dist/esm/v1.d.ts +1 -1
  435. package/node_modules/uuid/dist/esm/v1.js +1 -1
  436. package/node_modules/uuid/dist/esm/v3.d.ts +1 -1
  437. package/node_modules/uuid/dist/esm/v35.d.ts +1 -1
  438. package/node_modules/uuid/dist/esm/v4.d.ts +1 -1
  439. package/node_modules/uuid/dist/esm/v5.d.ts +1 -1
  440. package/node_modules/uuid/dist/esm/v6.d.ts +1 -1
  441. package/node_modules/uuid/dist/esm/v7.d.ts +1 -1
  442. package/node_modules/uuid/dist/esm/v7.js +1 -1
  443. package/node_modules/uuid/dist/esm-browser/types.d.ts +1 -1
  444. package/node_modules/uuid/dist/esm-browser/v1.d.ts +1 -1
  445. package/node_modules/uuid/dist/esm-browser/v1.js +1 -1
  446. package/node_modules/uuid/dist/esm-browser/v3.d.ts +1 -1
  447. package/node_modules/uuid/dist/esm-browser/v35.d.ts +1 -1
  448. package/node_modules/uuid/dist/esm-browser/v4.d.ts +1 -1
  449. package/node_modules/uuid/dist/esm-browser/v5.d.ts +1 -1
  450. package/node_modules/uuid/dist/esm-browser/v6.d.ts +1 -1
  451. package/node_modules/uuid/dist/esm-browser/v7.d.ts +1 -1
  452. package/node_modules/uuid/dist/esm-browser/v7.js +1 -1
  453. package/node_modules/uuid/package.json +1 -1
  454. package/package.json +7 -7
  455. package/tak-registration.html +4 -4
  456. package/tak-registration.js +19 -10
  457. package/node_modules/axios/SECURITY.md +0 -6
  458. /package/node_modules/fast-xml-parser/src/{v5 → v6}/Report.js +0 -0
@@ -147,6 +147,7 @@ declare module "node:test" {
147
147
  export {
148
148
  after,
149
149
  afterEach,
150
+ assert,
150
151
  before,
151
152
  beforeEach,
152
153
  describe,
@@ -564,6 +565,23 @@ declare module "node:test" {
564
565
  /**
565
566
  * An object containing assertion methods bound to the test context.
566
567
  * The top-level functions from the `node:assert` module are exposed here for the purpose of creating test plans.
568
+ *
569
+ * **Note:** Some of the functions from `node:assert` contain type assertions. If these are called via the
570
+ * TestContext `assert` object, then the context parameter in the test's function signature **must be explicitly typed**
571
+ * (ie. the parameter must have a type annotation), otherwise an error will be raised by the TypeScript compiler:
572
+ * ```ts
573
+ * import { test, type TestContext } from 'node:test';
574
+ *
575
+ * // The test function's context parameter must have a type annotation.
576
+ * test('example', (t: TestContext) => {
577
+ * t.assert.deepStrictEqual(actual, expected);
578
+ * });
579
+ *
580
+ * // Omitting the type annotation will result in a compilation error.
581
+ * test('example', t => {
582
+ * t.assert.deepStrictEqual(actual, expected); // Error: 't' needs an explicit type annotation.
583
+ * });
584
+ * ```
567
585
  * @since v22.2.0, v20.15.0
568
586
  */
569
587
  readonly assert: TestContextAssert;
@@ -630,11 +648,12 @@ declare module "node:test" {
630
648
  */
631
649
  readonly name: string;
632
650
  /**
633
- * Used to set the number of assertions and subtests that are expected to run within the test.
634
- * If the number of assertions and subtests that run does not match the expected count, the test will fail.
651
+ * This function is used to set the number of assertions and subtests that are expected to run
652
+ * within the test. If the number of assertions and subtests that run does not match the
653
+ * expected count, the test will fail.
654
+ *
655
+ * > Note: To make sure assertions are tracked, `t.assert` must be used instead of `assert` directly.
635
656
  *
636
- * To make sure assertions are tracked, the assert functions on `context.assert` must be used,
637
- * instead of importing from the `node:assert` module.
638
657
  * ```js
639
658
  * test('top level test', (t) => {
640
659
  * t.plan(2);
@@ -643,7 +662,9 @@ declare module "node:test" {
643
662
  * });
644
663
  * ```
645
664
  *
646
- * When working with asynchronous code, the `plan` function can be used to ensure that the correct number of assertions are run:
665
+ * When working with asynchronous code, the `plan` function can be used to ensure that the
666
+ * correct number of assertions are run:
667
+ *
647
668
  * ```js
648
669
  * test('planning with streams', (t, done) => {
649
670
  * function* generate() {
@@ -657,14 +678,35 @@ declare module "node:test" {
657
678
  * stream.on('data', (chunk) => {
658
679
  * t.assert.strictEqual(chunk, expected.shift());
659
680
  * });
681
+ *
660
682
  * stream.on('end', () => {
661
683
  * done();
662
684
  * });
663
685
  * });
664
686
  * ```
687
+ *
688
+ * When using the `wait` option, you can control how long the test will wait for the expected assertions.
689
+ * For example, setting a maximum wait time ensures that the test will wait for asynchronous assertions
690
+ * to complete within the specified timeframe:
691
+ *
692
+ * ```js
693
+ * test('plan with wait: 2000 waits for async assertions', (t) => {
694
+ * t.plan(1, { wait: 2000 }); // Waits for up to 2 seconds for the assertion to complete.
695
+ *
696
+ * const asyncActivity = () => {
697
+ * setTimeout(() => {
698
+ * * t.assert.ok(true, 'Async assertion completed within the wait time');
699
+ * }, 1000); // Completes after 1 second, within the 2-second wait time.
700
+ * };
701
+ *
702
+ * asyncActivity(); // The test will pass because the assertion is completed in time.
703
+ * });
704
+ * ```
705
+ *
706
+ * Note: If a `wait` timeout is specified, it begins counting down only after the test function finishes executing.
665
707
  * @since v22.2.0
666
708
  */
667
- plan(count: number): void;
709
+ plan(count: number, options?: TestContextPlanOptions): void;
668
710
  /**
669
711
  * If `shouldRunOnlyTests` is truthy, the test context will only run tests that
670
712
  * have the `only` option set. Otherwise, all tests are run. If Node.js was not
@@ -736,144 +778,73 @@ declare module "node:test" {
736
778
  * @returns A {@link Promise} resolved with `undefined` once the test completes.
737
779
  */
738
780
  test: typeof test;
781
+ /**
782
+ * This method polls a `condition` function until that function either returns
783
+ * successfully or the operation times out.
784
+ * @since v22.14.0
785
+ * @param condition An assertion function that is invoked
786
+ * periodically until it completes successfully or the defined polling timeout
787
+ * elapses. Successful completion is defined as not throwing or rejecting. This
788
+ * function does not accept any arguments, and is allowed to return any value.
789
+ * @param options An optional configuration object for the polling operation.
790
+ * @returns Fulfilled with the value returned by `condition`.
791
+ */
792
+ waitFor<T>(condition: () => T, options?: TestContextWaitForOptions): Promise<Awaited<T>>;
739
793
  /**
740
794
  * Each test provides its own MockTracker instance.
741
795
  */
742
796
  readonly mock: MockTracker;
743
797
  }
744
- interface TestContextAssert {
745
- /**
746
- * Identical to the `deepEqual` function from the `node:assert` module, but bound to the test context.
747
- */
748
- deepEqual: typeof import("node:assert").deepEqual;
749
- /**
750
- * Identical to the `deepStrictEqual` function from the `node:assert` module, but bound to the test context.
751
- *
752
- * **Note:** as this method returns a type assertion, the context parameter in the callback signature must have a
753
- * type annotation, otherwise an error will be raised by the TypeScript compiler:
754
- * ```ts
755
- * import { test, type TestContext } from 'node:test';
798
+ interface TestContextAssert extends
799
+ Pick<
800
+ typeof import("assert"),
801
+ | "deepEqual"
802
+ | "deepStrictEqual"
803
+ | "doesNotMatch"
804
+ | "doesNotReject"
805
+ | "doesNotThrow"
806
+ | "equal"
807
+ | "fail"
808
+ | "ifError"
809
+ | "match"
810
+ | "notDeepEqual"
811
+ | "notDeepStrictEqual"
812
+ | "notEqual"
813
+ | "notStrictEqual"
814
+ | "ok"
815
+ | "partialDeepStrictEqual"
816
+ | "rejects"
817
+ | "strictEqual"
818
+ | "throws"
819
+ >
820
+ {
821
+ /**
822
+ * This function serializes `value` and writes it to the file specified by `path`.
756
823
  *
757
- * // The test function's context parameter must have a type annotation.
758
- * test('example', (t: TestContext) => {
759
- * t.assert.deepStrictEqual(actual, expected);
760
- * });
761
- *
762
- * // Omitting the type annotation will result in a compilation error.
763
- * test('example', t => {
764
- * t.assert.deepStrictEqual(actual, expected); // Error: 't' needs an explicit type annotation.
765
- * });
766
- * ```
767
- */
768
- deepStrictEqual: typeof import("node:assert").deepStrictEqual;
769
- /**
770
- * Identical to the `doesNotMatch` function from the `node:assert` module, but bound to the test context.
771
- */
772
- doesNotMatch: typeof import("node:assert").doesNotMatch;
773
- /**
774
- * Identical to the `doesNotReject` function from the `node:assert` module, but bound to the test context.
775
- */
776
- doesNotReject: typeof import("node:assert").doesNotReject;
777
- /**
778
- * Identical to the `doesNotThrow` function from the `node:assert` module, but bound to the test context.
779
- */
780
- doesNotThrow: typeof import("node:assert").doesNotThrow;
781
- /**
782
- * Identical to the `equal` function from the `node:assert` module, but bound to the test context.
783
- */
784
- equal: typeof import("node:assert").equal;
785
- /**
786
- * Identical to the `fail` function from the `node:assert` module, but bound to the test context.
787
- */
788
- fail: typeof import("node:assert").fail;
789
- /**
790
- * Identical to the `ifError` function from the `node:assert` module, but bound to the test context.
791
- *
792
- * **Note:** as this method returns a type assertion, the context parameter in the callback signature must have a
793
- * type annotation, otherwise an error will be raised by the TypeScript compiler:
794
- * ```ts
795
- * import { test, type TestContext } from 'node:test';
796
- *
797
- * // The test function's context parameter must have a type annotation.
798
- * test('example', (t: TestContext) => {
799
- * t.assert.ifError(err);
800
- * });
801
- *
802
- * // Omitting the type annotation will result in a compilation error.
803
- * test('example', t => {
804
- * t.assert.ifError(err); // Error: 't' needs an explicit type annotation.
824
+ * ```js
825
+ * test('snapshot test with default serialization', (t) => {
826
+ * t.assert.fileSnapshot({ value1: 1, value2: 2 }, './snapshots/snapshot.json');
805
827
  * });
806
828
  * ```
807
- */
808
- ifError: typeof import("node:assert").ifError;
809
- /**
810
- * Identical to the `match` function from the `node:assert` module, but bound to the test context.
811
- */
812
- match: typeof import("node:assert").match;
813
- /**
814
- * Identical to the `notDeepEqual` function from the `node:assert` module, but bound to the test context.
815
- */
816
- notDeepEqual: typeof import("node:assert").notDeepEqual;
817
- /**
818
- * Identical to the `notDeepStrictEqual` function from the `node:assert` module, but bound to the test context.
819
- */
820
- notDeepStrictEqual: typeof import("node:assert").notDeepStrictEqual;
821
- /**
822
- * Identical to the `notEqual` function from the `node:assert` module, but bound to the test context.
823
- */
824
- notEqual: typeof import("node:assert").notEqual;
825
- /**
826
- * Identical to the `notStrictEqual` function from the `node:assert` module, but bound to the test context.
827
- */
828
- notStrictEqual: typeof import("node:assert").notStrictEqual;
829
- /**
830
- * Identical to the `ok` function from the `node:assert` module, but bound to the test context.
831
829
  *
832
- * **Note:** as this method returns a type assertion, the context parameter in the callback signature must have a
833
- * type annotation, otherwise an error will be raised by the TypeScript compiler:
834
- * ```ts
835
- * import { test, type TestContext } from 'node:test';
830
+ * This function differs from `context.assert.snapshot()` in the following ways:
836
831
  *
837
- * // The test function's context parameter must have a type annotation.
838
- * test('example', (t: TestContext) => {
839
- * t.assert.ok(condition);
840
- * });
832
+ * * The snapshot file path is explicitly provided by the user.
833
+ * * Each snapshot file is limited to a single snapshot value.
834
+ * * No additional escaping is performed by the test runner.
841
835
  *
842
- * // Omitting the type annotation will result in a compilation error.
843
- * test('example', t => {
844
- * t.assert.ok(condition)); // Error: 't' needs an explicit type annotation.
845
- * });
846
- * ```
847
- */
848
- ok: typeof import("node:assert").ok;
849
- /**
850
- * Identical to the `rejects` function from the `node:assert` module, but bound to the test context.
836
+ * These differences allow snapshot files to better support features such as syntax
837
+ * highlighting.
838
+ * @since v22.14.0
839
+ * @param value A value to serialize to a string. If Node.js was started with
840
+ * the [`--test-update-snapshots`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--test-update-snapshots)
841
+ * flag, the serialized value is written to
842
+ * `path`. Otherwise, the serialized value is compared to the contents of the
843
+ * existing snapshot file.
844
+ * @param path The file where the serialized `value` is written.
845
+ * @param options Optional configuration options.
851
846
  */
852
- rejects: typeof import("node:assert").rejects;
853
- /**
854
- * Identical to the `strictEqual` function from the `node:assert` module, but bound to the test context.
855
- *
856
- * **Note:** as this method returns a type assertion, the context parameter in the callback signature must have a
857
- * type annotation, otherwise an error will be raised by the TypeScript compiler:
858
- * ```ts
859
- * import { test, type TestContext } from 'node:test';
860
- *
861
- * // The test function's context parameter must have a type annotation.
862
- * test('example', (t: TestContext) => {
863
- * t.assert.strictEqual(actual, expected);
864
- * });
865
- *
866
- * // Omitting the type annotation will result in a compilation error.
867
- * test('example', t => {
868
- * t.assert.strictEqual(actual, expected); // Error: 't' needs an explicit type annotation.
869
- * });
870
- * ```
871
- */
872
- strictEqual: typeof import("node:assert").strictEqual;
873
- /**
874
- * Identical to the `throws` function from the `node:assert` module, but bound to the test context.
875
- */
876
- throws: typeof import("node:assert").throws;
847
+ fileSnapshot(value: any, path: string, options?: AssertSnapshotOptions): void;
877
848
  /**
878
849
  * This function implements assertions for snapshot testing.
879
850
  * ```js
@@ -887,12 +858,18 @@ declare module "node:test" {
887
858
  * });
888
859
  * });
889
860
  * ```
890
- *
891
- * Only available through the [--experimental-test-snapshots](https://nodejs.org/api/cli.html#--experimental-test-snapshots) flag.
892
861
  * @since v22.3.0
893
- * @experimental
862
+ * @param value A value to serialize to a string. If Node.js was started with
863
+ * the [`--test-update-snapshots`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--test-update-snapshots)
864
+ * flag, the serialized value is written to
865
+ * the snapshot file. Otherwise, the serialized value is compared to the
866
+ * corresponding value in the existing snapshot file.
894
867
  */
895
868
  snapshot(value: any, options?: AssertSnapshotOptions): void;
869
+ /**
870
+ * A custom assertion function registered with `assert.register()`.
871
+ */
872
+ [name: string]: (...args: any[]) => void;
896
873
  }
897
874
  interface AssertSnapshotOptions {
898
875
  /**
@@ -905,6 +882,34 @@ declare module "node:test" {
905
882
  */
906
883
  serializers?: ReadonlyArray<(value: any) => any> | undefined;
907
884
  }
885
+ interface TestContextPlanOptions {
886
+ /**
887
+ * The wait time for the plan:
888
+ * * If `true`, the plan waits indefinitely for all assertions and subtests to run.
889
+ * * If `false`, the plan performs an immediate check after the test function completes,
890
+ * without waiting for any pending assertions or subtests.
891
+ * Any assertions or subtests that complete after this check will not be counted towards the plan.
892
+ * * If a number, it specifies the maximum wait time in milliseconds
893
+ * before timing out while waiting for expected assertions and subtests to be matched.
894
+ * If the timeout is reached, the test will fail.
895
+ * @default false
896
+ */
897
+ wait?: boolean | number | undefined;
898
+ }
899
+ interface TestContextWaitForOptions {
900
+ /**
901
+ * The number of milliseconds to wait after an unsuccessful
902
+ * invocation of `condition` before trying again.
903
+ * @default 50
904
+ */
905
+ interval?: number | undefined;
906
+ /**
907
+ * The poll timeout in milliseconds. If `condition` has not
908
+ * succeeded by the time this elapses, an error occurs.
909
+ * @default 1000
910
+ */
911
+ timeout?: number | undefined;
912
+ }
908
913
 
909
914
  /**
910
915
  * An instance of `SuiteContext` is passed to each suite function in order to
@@ -1691,9 +1696,25 @@ declare module "node:test" {
1691
1696
  [Symbol.dispose](): void;
1692
1697
  }
1693
1698
  /**
1694
- * Only available through the [--experimental-test-snapshots](https://nodejs.org/api/cli.html#--experimental-test-snapshots) flag.
1699
+ * An object whose methods are used to configure available assertions on the
1700
+ * `TestContext` objects in the current process. The methods from `node:assert`
1701
+ * and snapshot testing functions are available by default.
1702
+ *
1703
+ * It is possible to apply the same configuration to all files by placing common
1704
+ * configuration code in a module
1705
+ * preloaded with `--require` or `--import`.
1706
+ * @since v22.14.0
1707
+ */
1708
+ namespace assert {
1709
+ /**
1710
+ * Defines a new assertion function with the provided name and function. If an
1711
+ * assertion already exists with the same name, it is overwritten.
1712
+ * @since v22.14.0
1713
+ */
1714
+ function register(name: string, fn: (this: TestContext, ...args: any[]) => void): void;
1715
+ }
1716
+ /**
1695
1717
  * @since v22.3.0
1696
- * @experimental
1697
1718
  */
1698
1719
  namespace snapshot {
1699
1720
  /**
@@ -1723,6 +1744,7 @@ declare module "node:test" {
1723
1744
  export {
1724
1745
  after,
1725
1746
  afterEach,
1747
+ assert,
1726
1748
  before,
1727
1749
  beforeEach,
1728
1750
  describe,
@@ -1987,6 +2009,11 @@ interface TestDequeue extends TestLocationInfo {
1987
2009
  * The nesting level of the test.
1988
2010
  */
1989
2011
  nesting: number;
2012
+ /**
2013
+ * The test type. Either `'suite'` or `'test'`.
2014
+ * @since v22.15.0
2015
+ */
2016
+ type: "suite" | "test";
1990
2017
  }
1991
2018
  interface TestEnqueue extends TestLocationInfo {
1992
2019
  /**
@@ -1997,6 +2024,11 @@ interface TestEnqueue extends TestLocationInfo {
1997
2024
  * The nesting level of the test.
1998
2025
  */
1999
2026
  nesting: number;
2027
+ /**
2028
+ * The test type. Either `'suite'` or `'test'`.
2029
+ * @since v22.15.0
2030
+ */
2031
+ type: "suite" | "test";
2000
2032
  }
2001
2033
  interface TestFail extends TestLocationInfo {
2002
2034
  /**
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * The `timers/promises` API provides an alternative set of timer functions
3
- * that return `Promise` objects. The API is accessible via `import timersPromises from 'node:timers/promises'`.
3
+ * that return `Promise` objects. The API is accessible via
4
+ * `require('node:timers/promises')`.
4
5
  *
5
6
  * ```js
6
7
  * import {
@@ -10,6 +11,7 @@
10
11
  * } from 'node:timers/promises';
11
12
  * ```
12
13
  * @since v15.0.0
14
+ * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/timers/promises.js)
13
15
  */
14
16
  declare module "timers/promises" {
15
17
  import { TimerOptions } from "node:timers";
@@ -24,7 +26,8 @@ declare module "timers/promises" {
24
26
  * console.log(res); // Prints 'result'
25
27
  * ```
26
28
  * @since v15.0.0
27
- * @param [delay=1] The number of milliseconds to wait before fulfilling the promise.
29
+ * @param delay The number of milliseconds to wait before fulfilling the
30
+ * promise. **Default:** `1`.
28
31
  * @param value A value with which the promise is fulfilled.
29
32
  */
30
33
  function setTimeout<T = void>(delay?: number, value?: T, options?: TimerOptions): Promise<T>;
@@ -62,33 +65,41 @@ declare module "timers/promises" {
62
65
  * console.log(Date.now());
63
66
  * ```
64
67
  * @since v15.9.0
68
+ * @param delay The number of milliseconds to wait between iterations.
69
+ * **Default:** `1`.
70
+ * @param value A value with which the iterator returns.
65
71
  */
66
- function setInterval<T = void>(delay?: number, value?: T, options?: TimerOptions): AsyncIterable<T>;
72
+ function setInterval<T = void>(delay?: number, value?: T, options?: TimerOptions): NodeJS.AsyncIterator<T>;
67
73
  interface Scheduler {
68
74
  /**
69
- * An experimental API defined by the [Scheduling APIs](https://github.com/WICG/scheduling-apis) draft specification being developed as a standard Web Platform API.
75
+ * An experimental API defined by the [Scheduling APIs](https://github.com/WICG/scheduling-apis) draft specification
76
+ * being developed as a standard Web Platform API.
70
77
  *
71
- * Calling `timersPromises.scheduler.wait(delay, options)` is roughly equivalent to calling `timersPromises.setTimeout(delay, undefined, options)` except that the `ref`
72
- * option is not supported.
78
+ * Calling `timersPromises.scheduler.wait(delay, options)` is roughly equivalent
79
+ * to calling `timersPromises.setTimeout(delay, undefined, options)` except that
80
+ * the `ref` option is not supported.
73
81
  *
74
82
  * ```js
75
83
  * import { scheduler } from 'node:timers/promises';
76
84
  *
77
85
  * await scheduler.wait(1000); // Wait one second before continuing
78
86
  * ```
79
- * @since v16.14.0
87
+ * @since v17.3.0, v16.14.0
80
88
  * @experimental
81
- * @param [delay=1] The number of milliseconds to wait before fulfilling the promise.
89
+ * @param delay The number of milliseconds to wait before resolving the
90
+ * promise.
82
91
  */
83
- wait: (delay?: number, options?: TimerOptions) => Promise<void>;
92
+ wait(delay: number, options?: { signal?: AbortSignal }): Promise<void>;
84
93
  /**
85
- * An experimental API defined by the [Scheduling APIs](https://nodejs.org/docs/latest-v20.x/api/async_hooks.html#promise-execution-tracking) draft specification
94
+ * An experimental API defined by the [Scheduling APIs](https://github.com/WICG/scheduling-apis) draft specification
86
95
  * being developed as a standard Web Platform API.
87
- * Calling `timersPromises.scheduler.yield()` is equivalent to calling `timersPromises.setImmediate()` with no arguments.
88
- * @since v16.14.0
96
+ *
97
+ * Calling `timersPromises.scheduler.yield()` is equivalent to calling
98
+ * `timersPromises.setImmediate()` with no arguments.
99
+ * @since v17.3.0, v16.14.0
89
100
  * @experimental
90
101
  */
91
- yield: () => Promise<void>;
102
+ yield(): Promise<void>;
92
103
  }
93
104
  const scheduler: Scheduler;
94
105
  }