node-red-contrib-tak-registration 0.11.6 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (388) hide show
  1. package/node_modules/@types/node/README.md +2 -2
  2. package/node_modules/@types/node/assert.d.ts +88 -44
  3. package/node_modules/@types/node/async_hooks.d.ts +17 -15
  4. package/node_modules/@types/node/buffer.d.ts +29 -110
  5. package/node_modules/@types/node/child_process.d.ts +38 -34
  6. package/node_modules/@types/node/cluster.d.ts +165 -19
  7. package/node_modules/@types/node/console.d.ts +64 -27
  8. package/node_modules/@types/node/crypto.d.ts +106 -142
  9. package/node_modules/@types/node/dgram.d.ts +14 -14
  10. package/node_modules/@types/node/diagnostics_channel.d.ts +12 -3
  11. package/node_modules/@types/node/dns/promises.d.ts +79 -28
  12. package/node_modules/@types/node/dns.d.ts +124 -69
  13. package/node_modules/@types/node/dom-events.d.ts +2 -0
  14. package/node_modules/@types/node/domain.d.ts +4 -4
  15. package/node_modules/@types/node/events.d.ts +115 -63
  16. package/node_modules/@types/node/fs/promises.d.ts +34 -12
  17. package/node_modules/@types/node/fs.d.ts +104 -40
  18. package/node_modules/@types/node/globals.d.ts +1 -0
  19. package/node_modules/@types/node/http.d.ts +69 -48
  20. package/node_modules/@types/node/http2.d.ts +83 -47
  21. package/node_modules/@types/node/https.d.ts +3 -3
  22. package/node_modules/@types/node/index.d.ts +1 -0
  23. package/node_modules/@types/node/inspector.d.ts +5 -6
  24. package/node_modules/@types/node/module.d.ts +0 -14
  25. package/node_modules/@types/node/net.d.ts +58 -13
  26. package/node_modules/@types/node/os.d.ts +29 -12
  27. package/node_modules/@types/node/package.json +4 -16
  28. package/node_modules/@types/node/path.d.ts +1 -1
  29. package/node_modules/@types/node/perf_hooks.d.ts +308 -48
  30. package/node_modules/@types/node/process.d.ts +241 -48
  31. package/node_modules/@types/node/punycode.d.ts +4 -4
  32. package/node_modules/@types/node/querystring.d.ts +18 -6
  33. package/node_modules/@types/node/readline/promises.d.ts +9 -9
  34. package/node_modules/@types/node/readline.d.ts +23 -22
  35. package/node_modules/@types/node/repl.d.ts +21 -21
  36. package/node_modules/@types/node/sea.d.ts +153 -0
  37. package/node_modules/@types/node/stream/web.d.ts +3 -2
  38. package/node_modules/@types/node/stream.d.ts +63 -57
  39. package/node_modules/@types/node/string_decoder.d.ts +3 -3
  40. package/node_modules/@types/node/test.d.ts +363 -98
  41. package/node_modules/@types/node/timers/promises.d.ts +10 -6
  42. package/node_modules/@types/node/timers.d.ts +5 -5
  43. package/node_modules/@types/node/tls.d.ts +39 -32
  44. package/node_modules/@types/node/trace_events.d.ts +40 -25
  45. package/node_modules/@types/node/tty.d.ts +8 -8
  46. package/node_modules/@types/node/url.d.ts +15 -7
  47. package/node_modules/@types/node/util.d.ts +131 -22
  48. package/node_modules/@types/node/v8.d.ts +51 -7
  49. package/node_modules/@types/node/vm.d.ts +43 -24
  50. package/node_modules/@types/node/wasi.d.ts +12 -10
  51. package/node_modules/@types/node/worker_threads.d.ts +19 -16
  52. package/node_modules/@types/node/zlib.d.ts +16 -3
  53. package/node_modules/adm-zip/README.md +2 -1
  54. package/node_modules/adm-zip/adm-zip.js +46 -45
  55. package/node_modules/adm-zip/headers/entryHeader.js +14 -12
  56. package/node_modules/adm-zip/headers/mainHeader.js +1 -1
  57. package/node_modules/adm-zip/methods/inflater.js +6 -3
  58. package/node_modules/adm-zip/methods/zipcrypto.js +6 -2
  59. package/node_modules/adm-zip/package.json +2 -2
  60. package/node_modules/adm-zip/util/errors.js +1 -0
  61. package/node_modules/adm-zip/zipEntry.js +64 -43
  62. package/node_modules/adm-zip/zipFile.js +35 -35
  63. package/node_modules/axios/CHANGELOG.md +868 -759
  64. package/node_modules/axios/README.md +65 -17
  65. package/node_modules/axios/dist/axios.js +1330 -583
  66. package/node_modules/axios/dist/axios.js.map +1 -1
  67. package/node_modules/axios/dist/axios.min.js +1 -1
  68. package/node_modules/axios/dist/axios.min.js.map +1 -1
  69. package/node_modules/axios/dist/browser/axios.cjs +696 -316
  70. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  71. package/node_modules/axios/dist/esm/axios.js +696 -316
  72. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  73. package/node_modules/axios/dist/esm/axios.min.js +1 -1
  74. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  75. package/node_modules/axios/dist/node/axios.cjs +607 -257
  76. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  77. package/node_modules/axios/index.d.cts +5 -2
  78. package/node_modules/axios/index.d.ts +5 -2
  79. package/node_modules/axios/lib/adapters/adapters.js +3 -1
  80. package/node_modules/axios/lib/adapters/fetch.js +227 -0
  81. package/node_modules/axios/lib/adapters/http.js +1 -1
  82. package/node_modules/axios/lib/adapters/xhr.js +31 -101
  83. package/node_modules/axios/lib/core/Axios.js +17 -11
  84. package/node_modules/axios/lib/core/AxiosHeaders.js +4 -0
  85. package/node_modules/axios/lib/core/mergeConfig.js +1 -1
  86. package/node_modules/axios/lib/defaults/index.js +7 -5
  87. package/node_modules/axios/lib/env/data.js +1 -1
  88. package/node_modules/axios/lib/helpers/AxiosTransformStream.js +9 -8
  89. package/node_modules/axios/lib/helpers/composeSignals.js +46 -0
  90. package/node_modules/axios/lib/helpers/progressEventReducer.js +32 -0
  91. package/node_modules/axios/lib/helpers/resolveConfig.js +57 -0
  92. package/node_modules/axios/lib/helpers/throttle.js +5 -3
  93. package/node_modules/axios/lib/helpers/trackStream.js +55 -0
  94. package/node_modules/axios/lib/platform/common/utils.js +4 -1
  95. package/node_modules/axios/lib/utils.js +7 -2
  96. package/node_modules/axios/package.json +27 -26
  97. package/node_modules/fast-xml-parser/CHANGELOG.md +14 -0
  98. package/node_modules/fast-xml-parser/README.md +7 -14
  99. package/node_modules/fast-xml-parser/package.json +1 -1
  100. package/node_modules/fast-xml-parser/src/fxp.d.ts +4 -4
  101. package/node_modules/fast-xml-parser/src/v5/CharsSymbol.js +16 -0
  102. package/node_modules/fast-xml-parser/src/v5/EntitiesParser.js +107 -0
  103. package/node_modules/fast-xml-parser/src/v5/OptionsBuilder.js +64 -0
  104. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/BaseOutputBuilder.js +71 -0
  105. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsArrBuilder.js +103 -0
  106. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsMinArrBuilder.js +102 -0
  107. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsObjBuilder.js +156 -0
  108. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/ParserOptionsBuilder.js +96 -0
  109. package/node_modules/fast-xml-parser/src/v5/Report.js +0 -0
  110. package/node_modules/fast-xml-parser/src/v5/TagPath.js +81 -0
  111. package/node_modules/fast-xml-parser/src/v5/TagPathMatcher.js +15 -0
  112. package/node_modules/fast-xml-parser/src/v5/XMLParser.js +85 -0
  113. package/node_modules/fast-xml-parser/src/v5/Xml2JsParser.js +237 -0
  114. package/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +212 -0
  115. package/node_modules/fast-xml-parser/src/v5/XmlSpecialTagsReader.js +118 -0
  116. package/node_modules/fast-xml-parser/src/v5/inputSource/BufferSource.js +118 -0
  117. package/node_modules/fast-xml-parser/src/v5/inputSource/StringSource.js +123 -0
  118. package/node_modules/fast-xml-parser/src/v5/valueParsers/EntitiesParser.js +107 -0
  119. package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParser.js +23 -0
  120. package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParserExt.js +20 -0
  121. package/node_modules/fast-xml-parser/src/v5/valueParsers/currency.js +31 -0
  122. package/node_modules/fast-xml-parser/src/v5/valueParsers/join.js +14 -0
  123. package/node_modules/fast-xml-parser/src/v5/valueParsers/number.js +16 -0
  124. package/node_modules/fast-xml-parser/src/v5/valueParsers/trim.js +8 -0
  125. package/node_modules/fast-xml-parser/src/validator.js +2 -0
  126. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +13 -4
  127. package/node_modules/follow-redirects/index.js +1 -1
  128. package/node_modules/follow-redirects/package.json +1 -1
  129. package/node_modules/hasown/CHANGELOG.md +12 -0
  130. package/node_modules/hasown/index.d.ts +2 -2
  131. package/node_modules/hasown/package.json +5 -2
  132. package/node_modules/hasown/tsconfig.json +3 -46
  133. package/node_modules/object-is/.eslintrc +1 -1
  134. package/node_modules/object-is/.nycrc +0 -4
  135. package/node_modules/object-is/CHANGELOG.md +25 -0
  136. package/node_modules/object-is/README.md +20 -20
  137. package/node_modules/object-is/package.json +23 -14
  138. package/node_modules/protobufjs/LICENSE +39 -39
  139. package/node_modules/protobufjs/README.md +727 -740
  140. package/node_modules/protobufjs/dist/light/protobuf.js +6264 -6264
  141. package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  142. package/node_modules/protobufjs/dist/light/protobuf.min.js +2 -2
  143. package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  144. package/node_modules/protobufjs/dist/minimal/protobuf.js +1928 -1928
  145. package/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -1
  146. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
  147. package/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -1
  148. package/node_modules/protobufjs/dist/protobuf.js +7978 -7961
  149. package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  150. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  151. package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  152. package/node_modules/protobufjs/ext/debug/README.md +4 -4
  153. package/node_modules/protobufjs/ext/debug/index.js +71 -71
  154. package/node_modules/protobufjs/ext/descriptor/README.md +72 -72
  155. package/node_modules/protobufjs/ext/descriptor/index.d.ts +191 -191
  156. package/node_modules/protobufjs/ext/descriptor/index.js +1052 -1052
  157. package/node_modules/protobufjs/ext/descriptor/test.js +54 -54
  158. package/node_modules/protobufjs/google/LICENSE +27 -27
  159. package/node_modules/protobufjs/google/README.md +1 -1
  160. package/node_modules/protobufjs/google/api/annotations.json +82 -82
  161. package/node_modules/protobufjs/google/api/annotations.proto +10 -10
  162. package/node_modules/protobufjs/google/api/http.json +85 -85
  163. package/node_modules/protobufjs/google/api/http.proto +30 -30
  164. package/node_modules/protobufjs/google/protobuf/api.json +117 -117
  165. package/node_modules/protobufjs/google/protobuf/api.proto +33 -33
  166. package/node_modules/protobufjs/google/protobuf/descriptor.json +738 -738
  167. package/node_modules/protobufjs/google/protobuf/descriptor.proto +286 -286
  168. package/node_modules/protobufjs/google/protobuf/source_context.json +19 -19
  169. package/node_modules/protobufjs/google/protobuf/source_context.proto +7 -7
  170. package/node_modules/protobufjs/google/protobuf/type.json +201 -201
  171. package/node_modules/protobufjs/google/protobuf/type.proto +89 -89
  172. package/node_modules/protobufjs/index.d.ts +2741 -2741
  173. package/node_modules/protobufjs/index.js +4 -4
  174. package/node_modules/protobufjs/light.d.ts +2 -2
  175. package/node_modules/protobufjs/light.js +3 -3
  176. package/node_modules/protobufjs/minimal.d.ts +2 -2
  177. package/node_modules/protobufjs/minimal.js +4 -4
  178. package/node_modules/protobufjs/package.json +111 -111
  179. package/node_modules/protobufjs/scripts/postinstall.js +32 -32
  180. package/node_modules/protobufjs/src/common.js +399 -399
  181. package/node_modules/protobufjs/src/converter.js +301 -301
  182. package/node_modules/protobufjs/src/decoder.js +129 -129
  183. package/node_modules/protobufjs/src/encoder.js +100 -100
  184. package/node_modules/protobufjs/src/enum.js +198 -198
  185. package/node_modules/protobufjs/src/field.js +377 -377
  186. package/node_modules/protobufjs/src/index-light.js +104 -104
  187. package/node_modules/protobufjs/src/index-minimal.js +36 -36
  188. package/node_modules/protobufjs/src/index.js +12 -12
  189. package/node_modules/protobufjs/src/mapfield.js +126 -126
  190. package/node_modules/protobufjs/src/message.js +138 -138
  191. package/node_modules/protobufjs/src/method.js +160 -160
  192. package/node_modules/protobufjs/src/namespace.js +433 -433
  193. package/node_modules/protobufjs/src/object.js +243 -243
  194. package/node_modules/protobufjs/src/oneof.js +203 -203
  195. package/node_modules/protobufjs/src/parse.js +889 -872
  196. package/node_modules/protobufjs/src/reader.js +416 -416
  197. package/node_modules/protobufjs/src/reader_buffer.js +51 -51
  198. package/node_modules/protobufjs/src/root.js +368 -368
  199. package/node_modules/protobufjs/src/roots.js +18 -18
  200. package/node_modules/protobufjs/src/rpc/service.js +142 -142
  201. package/node_modules/protobufjs/src/rpc.js +36 -36
  202. package/node_modules/protobufjs/src/service.js +167 -167
  203. package/node_modules/protobufjs/src/tokenize.js +416 -416
  204. package/node_modules/protobufjs/src/type.js +589 -589
  205. package/node_modules/protobufjs/src/types.js +196 -196
  206. package/node_modules/protobufjs/src/typescript.jsdoc +15 -15
  207. package/node_modules/protobufjs/src/util/longbits.js +200 -200
  208. package/node_modules/protobufjs/src/util/minimal.js +438 -438
  209. package/node_modules/protobufjs/src/util.js +212 -212
  210. package/node_modules/protobufjs/src/verifier.js +176 -176
  211. package/node_modules/protobufjs/src/wrappers.js +102 -102
  212. package/node_modules/protobufjs/src/writer.js +465 -465
  213. package/node_modules/protobufjs/src/writer_buffer.js +85 -85
  214. package/node_modules/protobufjs/tsconfig.json +7 -7
  215. package/node_modules/set-function-length/CHANGELOG.md +11 -0
  216. package/node_modules/set-function-length/env.d.ts +9 -6
  217. package/node_modules/set-function-length/env.js +1 -0
  218. package/node_modules/set-function-length/index.d.ts +6 -6
  219. package/node_modules/set-function-length/index.js +1 -3
  220. package/node_modules/set-function-length/package.json +11 -13
  221. package/node_modules/set-function-length/tsconfig.json +7 -57
  222. package/node_modules/undici-types/LICENSE +21 -0
  223. package/node_modules/undici-types/balanced-pool.d.ts +11 -0
  224. package/node_modules/undici-types/client.d.ts +12 -1
  225. package/node_modules/undici-types/diagnostics-channel.d.ts +1 -2
  226. package/node_modules/undici-types/dispatcher.d.ts +17 -3
  227. package/node_modules/undici-types/eventsource.d.ts +61 -0
  228. package/node_modules/undici-types/fetch.d.ts +22 -23
  229. package/node_modules/undici-types/handlers.d.ts +10 -4
  230. package/node_modules/undici-types/index.d.ts +6 -1
  231. package/node_modules/undici-types/package.json +1 -1
  232. package/node_modules/undici-types/pool.d.ts +11 -0
  233. package/node_modules/undici-types/proxy-agent.d.ts +0 -2
  234. package/node_modules/undici-types/readable.d.ts +2 -3
  235. package/node_modules/undici-types/retry-agent.d.ts +11 -0
  236. package/node_modules/undici-types/retry-handler.d.ts +116 -0
  237. package/node_modules/undici-types/util.d.ts +31 -0
  238. package/node_modules/undici-types/webidl.d.ts +6 -1
  239. package/node_modules/undici-types/websocket.d.ts +22 -1
  240. package/node_modules/uuid/CHANGELOG.md +18 -0
  241. package/node_modules/uuid/README.md +134 -16
  242. package/node_modules/uuid/dist/commonjs-browser/index.js +40 -15
  243. package/node_modules/uuid/dist/commonjs-browser/max.js +7 -0
  244. package/node_modules/uuid/dist/commonjs-browser/md5.js +30 -53
  245. package/node_modules/uuid/dist/commonjs-browser/native.js +3 -4
  246. package/node_modules/uuid/dist/commonjs-browser/nil.js +1 -2
  247. package/node_modules/uuid/dist/commonjs-browser/parse.js +14 -15
  248. package/node_modules/uuid/dist/commonjs-browser/regex.js +1 -2
  249. package/node_modules/uuid/dist/commonjs-browser/rng.js +2 -4
  250. package/node_modules/uuid/dist/commonjs-browser/sha1.js +27 -49
  251. package/node_modules/uuid/dist/commonjs-browser/stringify.js +10 -16
  252. package/node_modules/uuid/dist/commonjs-browser/v1.js +73 -49
  253. package/node_modules/uuid/dist/commonjs-browser/v1ToV6.js +26 -0
  254. package/node_modules/uuid/dist/commonjs-browser/v3.js +3 -8
  255. package/node_modules/uuid/dist/commonjs-browser/v35.js +15 -32
  256. package/node_modules/uuid/dist/commonjs-browser/v4.js +7 -18
  257. package/node_modules/uuid/dist/commonjs-browser/v5.js +3 -8
  258. package/node_modules/uuid/dist/commonjs-browser/v6.js +42 -0
  259. package/node_modules/uuid/dist/commonjs-browser/v6ToV1.js +26 -0
  260. package/node_modules/uuid/dist/commonjs-browser/v7.js +152 -0
  261. package/node_modules/uuid/dist/commonjs-browser/validate.js +2 -7
  262. package/node_modules/uuid/dist/commonjs-browser/version.js +2 -8
  263. package/node_modules/uuid/dist/esm-browser/index.js +9 -4
  264. package/node_modules/uuid/dist/esm-browser/max.js +1 -0
  265. package/node_modules/uuid/dist/esm-browser/md5.js +29 -50
  266. package/node_modules/uuid/dist/esm-browser/native.js +1 -1
  267. package/node_modules/uuid/dist/esm-browser/parse.js +12 -10
  268. package/node_modules/uuid/dist/esm-browser/regex.js +1 -1
  269. package/node_modules/uuid/dist/esm-browser/rng.js +3 -4
  270. package/node_modules/uuid/dist/esm-browser/sha1.js +26 -46
  271. package/node_modules/uuid/dist/esm-browser/stringify.js +9 -11
  272. package/node_modules/uuid/dist/esm-browser/v1.js +74 -44
  273. package/node_modules/uuid/dist/esm-browser/v1ToV6.js +20 -0
  274. package/node_modules/uuid/dist/esm-browser/v3.js +1 -1
  275. package/node_modules/uuid/dist/esm-browser/v35.js +14 -25
  276. package/node_modules/uuid/dist/esm-browser/v4.js +5 -9
  277. package/node_modules/uuid/dist/esm-browser/v5.js +1 -1
  278. package/node_modules/uuid/dist/esm-browser/v6.js +36 -0
  279. package/node_modules/uuid/dist/esm-browser/v6ToV1.js +20 -0
  280. package/node_modules/uuid/dist/esm-browser/v7.js +146 -0
  281. package/node_modules/uuid/dist/esm-browser/validate.js +0 -2
  282. package/node_modules/uuid/dist/esm-browser/version.js +0 -3
  283. package/node_modules/uuid/dist/esm-node/index.js +9 -4
  284. package/node_modules/uuid/dist/esm-node/max.js +1 -0
  285. package/node_modules/uuid/dist/esm-node/md5.js +1 -4
  286. package/node_modules/uuid/dist/esm-node/native.js +1 -1
  287. package/node_modules/uuid/dist/esm-node/parse.js +11 -9
  288. package/node_modules/uuid/dist/esm-node/regex.js +1 -1
  289. package/node_modules/uuid/dist/esm-node/rng.js +1 -3
  290. package/node_modules/uuid/dist/esm-node/sha1.js +1 -4
  291. package/node_modules/uuid/dist/esm-node/stringify.js +7 -9
  292. package/node_modules/uuid/dist/esm-node/v1.js +66 -36
  293. package/node_modules/uuid/dist/esm-node/v1ToV6.js +20 -0
  294. package/node_modules/uuid/dist/esm-node/v35.js +8 -19
  295. package/node_modules/uuid/dist/esm-node/v4.js +4 -8
  296. package/node_modules/uuid/dist/esm-node/v6.js +32 -0
  297. package/node_modules/uuid/dist/esm-node/v6ToV1.js +20 -0
  298. package/node_modules/uuid/dist/esm-node/v7.js +146 -0
  299. package/node_modules/uuid/dist/esm-node/validate.js +0 -2
  300. package/node_modules/uuid/dist/esm-node/version.js +0 -3
  301. package/node_modules/uuid/dist/index.js +40 -15
  302. package/node_modules/uuid/dist/max.js +7 -0
  303. package/node_modules/uuid/dist/md5-browser.js +8 -31
  304. package/node_modules/uuid/dist/md5.js +4 -10
  305. package/node_modules/uuid/dist/native-browser.js +2 -3
  306. package/node_modules/uuid/dist/native.js +5 -9
  307. package/node_modules/uuid/dist/nil.js +1 -2
  308. package/node_modules/uuid/dist/parse.js +13 -14
  309. package/node_modules/uuid/dist/regex.js +1 -2
  310. package/node_modules/uuid/dist/rng-browser.js +1 -3
  311. package/node_modules/uuid/dist/rng.js +3 -10
  312. package/node_modules/uuid/dist/sha1-browser.js +1 -23
  313. package/node_modules/uuid/dist/sha1.js +4 -10
  314. package/node_modules/uuid/dist/stringify.js +8 -14
  315. package/node_modules/uuid/dist/uuid-bin.js +12 -22
  316. package/node_modules/uuid/dist/v1.js +66 -42
  317. package/node_modules/uuid/dist/v1ToV6.js +26 -0
  318. package/node_modules/uuid/dist/v3.js +2 -7
  319. package/node_modules/uuid/dist/v35.js +11 -28
  320. package/node_modules/uuid/dist/v4.js +6 -17
  321. package/node_modules/uuid/dist/v5.js +2 -7
  322. package/node_modules/uuid/dist/v6.js +38 -0
  323. package/node_modules/uuid/dist/v6ToV1.js +26 -0
  324. package/node_modules/uuid/dist/v7.js +152 -0
  325. package/node_modules/uuid/dist/validate.js +2 -7
  326. package/node_modules/uuid/dist/version.js +2 -8
  327. package/node_modules/uuid/package.json +41 -34
  328. package/node_modules/uuid/wrapper.mjs +5 -0
  329. package/package.json +6 -6
  330. package/tak-ingest.js +1 -1
  331. package/tak-registration.js +8 -1
  332. package/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  333. package/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  334. package/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  335. package/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2363
  336. package/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  337. package/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  338. package/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  339. package/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  340. package/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4487
  341. package/node_modules/@types/node/ts4.8/dgram.d.ts +0 -596
  342. package/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -545
  343. package/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  344. package/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  345. package/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  346. package/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  347. package/node_modules/@types/node/ts4.8/events.d.ts +0 -879
  348. package/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
  349. package/node_modules/@types/node/ts4.8/fs.d.ts +0 -4311
  350. package/node_modules/@types/node/ts4.8/globals.d.ts +0 -411
  351. package/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  352. package/node_modules/@types/node/ts4.8/http.d.ts +0 -1887
  353. package/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  354. package/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  355. package/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  356. package/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  357. package/node_modules/@types/node/ts4.8/module.d.ts +0 -315
  358. package/node_modules/@types/node/ts4.8/net.d.ts +0 -954
  359. package/node_modules/@types/node/ts4.8/os.d.ts +0 -478
  360. package/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  361. package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -645
  362. package/node_modules/@types/node/ts4.8/process.d.ts +0 -1561
  363. package/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  364. package/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  365. package/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  366. package/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  367. package/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  368. package/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  369. package/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  370. package/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -366
  371. package/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  372. package/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  373. package/node_modules/@types/node/ts4.8/test.d.ts +0 -1465
  374. package/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  375. package/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  376. package/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  377. package/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  378. package/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  379. package/node_modules/@types/node/ts4.8/url.d.ts +0 -944
  380. package/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
  381. package/node_modules/@types/node/ts4.8/v8.d.ts +0 -764
  382. package/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
  383. package/node_modules/@types/node/ts4.8/wasi.d.ts +0 -179
  384. package/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  385. package/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  386. package/node_modules/object-is/.eslintignore +0 -1
  387. package/node_modules/set-function-length/env.d.ts.map +0 -1
  388. package/node_modules/set-function-length/index.d.ts.map +0 -1
@@ -6,7 +6,7 @@
6
6
  * ```js
7
7
  * const util = require('node:util');
8
8
  * ```
9
- * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/util.js)
9
+ * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/util.js)
10
10
  */
11
11
  declare module "util" {
12
12
  import * as types from "node:util/types";
@@ -110,7 +110,7 @@ declare module "util" {
110
110
  }
111
111
  /**
112
112
  * The `util.format()` method returns a formatted string using the first argument
113
- * as a `printf`\-like format string which can contain zero or more format
113
+ * as a `printf`-like format string which can contain zero or more format
114
114
  * specifiers. Each specifier is replaced with the converted value from the
115
115
  * corresponding argument. Supported specifiers are:
116
116
  *
@@ -121,7 +121,7 @@ declare module "util" {
121
121
  * // Returns: 'foo:%s'
122
122
  * ```
123
123
  *
124
- * Values that are not part of the format string are formatted using`util.inspect()` if their type is not `string`.
124
+ * Values that are not part of the format string are formatted using `util.inspect()` if their type is not `string`.
125
125
  *
126
126
  * If there are more arguments passed to the `util.format()` method than the
127
127
  * number of specifiers, the extra arguments are concatenated to the returned
@@ -132,7 +132,7 @@ declare module "util" {
132
132
  * // Returns: 'foo:bar baz'
133
133
  * ```
134
134
  *
135
- * If the first argument does not contain a valid format specifier, `util.format()`returns a string that is the concatenation of all arguments separated by spaces:
135
+ * If the first argument does not contain a valid format specifier, `util.format()` returns a string that is the concatenation of all arguments separated by spaces:
136
136
  *
137
137
  * ```js
138
138
  * util.format(1, 2, 3);
@@ -265,7 +265,7 @@ declare module "util" {
265
265
  * The `util.inspect()` method returns a string representation of `object` that is
266
266
  * intended for debugging. The output of `util.inspect` may change at any time
267
267
  * and should not be depended upon programmatically. Additional `options` may be
268
- * passed that alter the result.`util.inspect()` will use the constructor's name and/or `@@toStringTag` to make
268
+ * passed that alter the result. `util.inspect()` will use the constructor's name and/or `@@toStringTag` to make
269
269
  * an identifiable tag for an inspected value.
270
270
  *
271
271
  * ```js
@@ -507,7 +507,7 @@ declare module "util" {
507
507
  */
508
508
  export function isDate(object: unknown): object is Date;
509
509
  /**
510
- * Returns `true` if the given `object` is an `Error`. Otherwise, returns`false`.
510
+ * Returns `true` if the given `object` is an `Error`. Otherwise, returns `false`.
511
511
  *
512
512
  * ```js
513
513
  * const util = require('node:util');
@@ -521,7 +521,7 @@ declare module "util" {
521
521
  * ```
522
522
  *
523
523
  * This method relies on `Object.prototype.toString()` behavior. It is
524
- * possible to obtain an incorrect result when the `object` argument manipulates`@@toStringTag`.
524
+ * possible to obtain an incorrect result when the `object` argument manipulates `@@toStringTag`.
525
525
  *
526
526
  * ```js
527
527
  * const util = require('node:util');
@@ -538,11 +538,11 @@ declare module "util" {
538
538
  */
539
539
  export function isError(object: unknown): object is Error;
540
540
  /**
541
- * Usage of `util.inherits()` is discouraged. Please use the ES6 `class` and`extends` keywords to get language level inheritance support. Also note
541
+ * Usage of `util.inherits()` is discouraged. Please use the ES6 `class` and `extends` keywords to get language level inheritance support. Also note
542
542
  * that the two styles are [semantically incompatible](https://github.com/nodejs/node/issues/4179).
543
543
  *
544
544
  * Inherit the prototype methods from one [constructor](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/constructor) into another. The
545
- * prototype of `constructor` will be set to a new object created from`superConstructor`.
545
+ * prototype of `constructor` will be set to a new object created from `superConstructor`.
546
546
  *
547
547
  * This mainly adds some input validation on top of`Object.setPrototypeOf(constructor.prototype, superConstructor.prototype)`.
548
548
  * As an additional convenience, `superConstructor` will be accessible
@@ -693,7 +693,7 @@ declare module "util" {
693
693
  */
694
694
  export function isBuffer(object: unknown): object is Buffer;
695
695
  /**
696
- * Returns `true` if the given `object` is a `Function`. Otherwise, returns`false`.
696
+ * Returns `true` if the given `object` is a `Function`. Otherwise, returns `false`.
697
697
  *
698
698
  * ```js
699
699
  * const util = require('node:util');
@@ -881,7 +881,7 @@ declare module "util" {
881
881
  * }, 'obsoleteFunction() is deprecated. Use newShinyFunction() instead.');
882
882
  * ```
883
883
  *
884
- * When called, `util.deprecate()` will return a function that will emit a`DeprecationWarning` using the `'warning'` event. The warning will
884
+ * When called, `util.deprecate()` will return a function that will emit a `DeprecationWarning` using the `'warning'` event. The warning will
885
885
  * be emitted and printed to `stderr` the first time the returned function is
886
886
  * called. After the warning is emitted, the wrapped function is called without
887
887
  * emitting a warning.
@@ -907,10 +907,10 @@ declare module "util" {
907
907
  * stack trace are printed to `stderr` the first time the deprecated function is
908
908
  * called.
909
909
  *
910
- * If the `--throw-deprecation` command-line flag is set, or the`process.throwDeprecation` property is set to `true`, then an exception will be
910
+ * If the `--throw-deprecation` command-line flag is set, or the `process.throwDeprecation` property is set to `true`, then an exception will be
911
911
  * thrown when the deprecated function is called.
912
912
  *
913
- * The `--throw-deprecation` command-line flag and `process.throwDeprecation`property take precedence over `--trace-deprecation` and`process.traceDeprecation`.
913
+ * The `--throw-deprecation` command-line flag and `process.throwDeprecation` property take precedence over `--trace-deprecation` and `process.traceDeprecation`.
914
914
  * @since v0.8.0
915
915
  * @param fn The function that is being deprecated.
916
916
  * @param msg A warning message to display when the deprecated function is invoked.
@@ -941,7 +941,7 @@ declare module "util" {
941
941
  * Takes an `async` function (or a function that returns a `Promise`) and returns a
942
942
  * function following the error-first callback style, i.e. taking
943
943
  * an `(err, value) => ...` callback as the last argument. In the callback, the
944
- * first argument will be the rejection reason (or `null` if the `Promise`resolved), and the second argument will be the resolved value.
944
+ * first argument will be the rejection reason (or `null` if the `Promise` resolved), and the second argument will be the resolved value.
945
945
  *
946
946
  * ```js
947
947
  * const util = require('node:util');
@@ -968,7 +968,7 @@ declare module "util" {
968
968
  *
969
969
  * Since `null` has a special meaning as the first argument to a callback, if a
970
970
  * wrapped function rejects a `Promise` with a falsy value as a reason, the value
971
- * is wrapped in an `Error` with the original value stored in a field named`reason`.
971
+ * is wrapped in an `Error` with the original value stored in a field named `reason`.
972
972
  *
973
973
  * ```js
974
974
  * function fn() {
@@ -1097,10 +1097,10 @@ declare module "util" {
1097
1097
  * callStat();
1098
1098
  * ```
1099
1099
  *
1100
- * If there is an `original[util.promisify.custom]` property present, `promisify`will return its value, see `Custom promisified functions`.
1100
+ * If there is an `original[util.promisify.custom]` property present, `promisify` will return its value, see `Custom promisified functions`.
1101
1101
  *
1102
1102
  * `promisify()` assumes that `original` is a function taking a callback as its
1103
- * final argument in all cases. If `original` is not a function, `promisify()`will throw an error. If `original` is a function but its last argument is not
1103
+ * final argument in all cases. If `original` is not a function, `promisify()` will throw an error. If `original` is a function but its last argument is not
1104
1104
  * an error-first callback, it will still be passed an error-first
1105
1105
  * callback as its last argument.
1106
1106
  *
@@ -1173,6 +1173,115 @@ declare module "util" {
1173
1173
  */
1174
1174
  const custom: unique symbol;
1175
1175
  }
1176
+ /**
1177
+ * Stability: 1.1 - Active development
1178
+ * Given an example `.env` file:
1179
+ *
1180
+ * ```js
1181
+ * const { parseEnv } = require('node:util');
1182
+ *
1183
+ * parseEnv('HELLO=world\nHELLO=oh my\n');
1184
+ * // Returns: { HELLO: 'oh my' }
1185
+ * ```
1186
+ * @param content The raw contents of a `.env` file.
1187
+ * @since v20.12.0
1188
+ */
1189
+ export function parseEnv(content: string): object;
1190
+ // https://nodejs.org/docs/latest/api/util.html#foreground-colors
1191
+ type ForegroundColors =
1192
+ | "black"
1193
+ | "blackBright"
1194
+ | "blue"
1195
+ | "blueBright"
1196
+ | "cyan"
1197
+ | "cyanBright"
1198
+ | "gray"
1199
+ | "green"
1200
+ | "greenBright"
1201
+ | "grey"
1202
+ | "magenta"
1203
+ | "magentaBright"
1204
+ | "red"
1205
+ | "redBright"
1206
+ | "white"
1207
+ | "whiteBright"
1208
+ | "yellow"
1209
+ | "yellowBright";
1210
+ // https://nodejs.org/docs/latest/api/util.html#background-colors
1211
+ type BackgroundColors =
1212
+ | "bgBlack"
1213
+ | "bgBlackBright"
1214
+ | "bgBlue"
1215
+ | "bgBlueBright"
1216
+ | "bgCyan"
1217
+ | "bgCyanBright"
1218
+ | "bgGray"
1219
+ | "bgGreen"
1220
+ | "bgGreenBright"
1221
+ | "bgGrey"
1222
+ | "bgMagenta"
1223
+ | "bgMagentaBright"
1224
+ | "bgRed"
1225
+ | "bgRedBright"
1226
+ | "bgWhite"
1227
+ | "bgWhiteBright"
1228
+ | "bgYellow"
1229
+ | "bgYellowBright";
1230
+ // https://nodejs.org/docs/latest/api/util.html#modifiers
1231
+ type Modifiers =
1232
+ | "blink"
1233
+ | "bold"
1234
+ | "dim"
1235
+ | "doubleunderline"
1236
+ | "framed"
1237
+ | "hidden"
1238
+ | "inverse"
1239
+ | "italic"
1240
+ | "overlined"
1241
+ | "reset"
1242
+ | "strikethrough"
1243
+ | "underline";
1244
+ /**
1245
+ * Stability: 1.1 - Active development
1246
+ *
1247
+ * This function returns a formatted text considering the `format` passed.
1248
+ *
1249
+ * ```js
1250
+ * const { styleText } = require('node:util');
1251
+ * const errorMessage = styleText('red', 'Error! Error!');
1252
+ * console.log(errorMessage);
1253
+ * ```
1254
+ *
1255
+ * `util.inspect.colors` also provides text formats such as `italic`, and `underline` and you can combine both:
1256
+ *
1257
+ * ```js
1258
+ * console.log(
1259
+ * util.styleText(['underline', 'italic'], 'My italic underlined message'),
1260
+ * );
1261
+ * ```
1262
+ *
1263
+ * When passing an array of formats, the order of the format applied is left to right so the following style
1264
+ * might overwrite the previous one.
1265
+ *
1266
+ * ```js
1267
+ * console.log(
1268
+ * util.styleText(['red', 'green'], 'text'), // green
1269
+ * );
1270
+ * ```
1271
+ *
1272
+ * The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-v22.x/api/util.html#modifiers).
1273
+ * @param format A text format or an Array of text formats defined in `util.inspect.colors`.
1274
+ * @param text The text to to be formatted.
1275
+ * @since v20.12.0
1276
+ */
1277
+ export function styleText(
1278
+ format:
1279
+ | ForegroundColors
1280
+ | BackgroundColors
1281
+ | Modifiers
1282
+ | Array<ForegroundColors | BackgroundColors | Modifiers>,
1283
+ text: string,
1284
+ ): string;
1176
1285
  /**
1177
1286
  * An implementation of the [WHATWG Encoding Standard](https://encoding.spec.whatwg.org/) `TextDecoder` API.
1178
1287
  *
@@ -1210,7 +1319,7 @@ declare module "util" {
1210
1319
  * incomplete byte sequences occurring at the end of the `input` are buffered
1211
1320
  * internally and emitted after the next call to `textDecoder.decode()`.
1212
1321
  *
1213
- * If `textDecoder.fatal` is `true`, decoding errors that occur will result in a`TypeError` being thrown.
1322
+ * If `textDecoder.fatal` is `true`, decoding errors that occur will result in a `TypeError` being thrown.
1214
1323
  * @param input An `ArrayBuffer`, `DataView`, or `TypedArray` instance containing the encoded data.
1215
1324
  */
1216
1325
  decode(
@@ -1589,7 +1698,7 @@ declare module "util" {
1589
1698
  toString(): string;
1590
1699
  }
1591
1700
  /**
1592
- * The `MIMEParams` API provides read and write access to the parameters of a`MIMEType`.
1701
+ * The `MIMEParams` API provides read and write access to the parameters of a `MIMEType`.
1593
1702
  * @since v19.1.0, v18.13.0
1594
1703
  */
1595
1704
  export class MIMEParams {
@@ -1630,7 +1739,7 @@ declare module "util" {
1630
1739
  */
1631
1740
  keys(): IterableIterator<string>;
1632
1741
  /**
1633
- * Sets the value in the `MIMEParams` object associated with `name` to`value`. If there are any pre-existing name-value pairs whose names are `name`,
1742
+ * Sets the value in the `MIMEParams` object associated with `name` to `value`. If there are any pre-existing name-value pairs whose names are `name`,
1634
1743
  * set the first such pair's value to `value`.
1635
1744
  *
1636
1745
  * ```js
@@ -1965,8 +2074,8 @@ declare module "util/types" {
1965
2074
  * console.log(util.types.isNativeError(new MyError())); // true
1966
2075
  * ```
1967
2076
  *
1968
- * A value being `instanceof` a native error class is not equivalent to `isNativeError()`returning `true` for that value. `isNativeError()` returns `true` for errors
1969
- * which come from a different [realm](https://tc39.es/ecma262/#realm) while `instanceof Error` returns `false`for these errors:
2077
+ * A value being `instanceof` a native error class is not equivalent to `isNativeError()` returning `true` for that value. `isNativeError()` returns `true` for errors
2078
+ * which come from a different [realm](https://tc39.es/ecma262/#realm) while `instanceof Error` returns `false` for these errors:
1970
2079
  *
1971
2080
  * ```js
1972
2081
  * const vm = require('node:vm');
@@ -4,7 +4,7 @@
4
4
  * ```js
5
5
  * const v8 = require('node:v8');
6
6
  * ```
7
- * @see [source](https://github.com/nodejs/node/blob/v20.11.0/lib/v8.js)
7
+ * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/v8.js)
8
8
  */
9
9
  declare module "v8" {
10
10
  import { Readable } from "node:stream";
@@ -70,7 +70,7 @@ declare module "v8" {
70
70
  /**
71
71
  * Returns an object with the following properties:
72
72
  *
73
- * `does_zap_garbage` is a 0/1 boolean, which signifies whether the`--zap_code_space` option is enabled or not. This makes V8 overwrite heap
73
+ * `does_zap_garbage` is a 0/1 boolean, which signifies whether the `--zap_code_space` option is enabled or not. This makes V8 overwrite heap
74
74
  * garbage with a bit pattern. The RSS footprint (resident set size) gets bigger
75
75
  * because it continuously touches all heap pages and that makes them less likely
76
76
  * to get swapped out by the operating system.
@@ -170,7 +170,7 @@ declare module "v8" {
170
170
  * after the VM has started may result in unpredictable behavior, including
171
171
  * crashes and data loss; or it may simply do nothing.
172
172
  *
173
- * The V8 options available for a version of Node.js may be determined by running`node --v8-options`.
173
+ * The V8 options available for a version of Node.js may be determined by running `node --v8-options`.
174
174
  *
175
175
  * Usage:
176
176
  *
@@ -183,6 +183,50 @@ declare module "v8" {
183
183
  * @since v1.0.0
184
184
  */
185
185
  function setFlagsFromString(flags: string): void;
186
+ /**
187
+ * This is similar to the [`queryObjects()` console API](https://developer.chrome.com/docs/devtools/console/utilities#queryObjects-function)
188
+ * provided by the Chromium DevTools console. It can be used to search for objects that have the matching constructor on its prototype chain
189
+ * in the heap after a full garbage collection, which can be useful for memory leak regression tests. To avoid surprising results, users should
190
+ * avoid using this API on constructors whose implementation they don't control, or on constructors that can be invoked by other parties in the
191
+ * application.
192
+ *
193
+ * To avoid accidental leaks, this API does not return raw references to the objects found. By default, it returns the count of the objects
194
+ * found. If `options.format` is `'summary'`, it returns an array containing brief string representations for each object. The visibility provided
195
+ * in this API is similar to what the heap snapshot provides, while users can save the cost of serialization and parsing and directly filter the
196
+ * target objects during the search.
197
+ *
198
+ * Only objects created in the current execution context are included in the results.
199
+ *
200
+ * ```js
201
+ * import { queryObjects } from 'node:v8';
202
+ * class A { foo = 'bar'; }
203
+ * console.log(queryObjects(A)); // 0
204
+ * const a = new A();
205
+ * console.log(queryObjects(A)); // 1
206
+ * // [ "A { foo: 'bar' }" ]
207
+ * console.log(queryObjects(A, { format: 'summary' }));
208
+ *
209
+ * class B extends A { bar = 'qux'; }
210
+ * const b = new B();
211
+ * console.log(queryObjects(B)); // 1
212
+ * // [ "B { foo: 'bar', bar: 'qux' }" ]
213
+ * console.log(queryObjects(B, { format: 'summary' }));
214
+ *
215
+ * // Note that, when there are child classes inheriting from a constructor,
216
+ * // the constructor also shows up in the prototype chain of the child
217
+ * // classes's prototoype, so the child classes's prototoype would also be
218
+ * // included in the result.
219
+ * console.log(queryObjects(A)); // 3
220
+ * // [ "B { foo: 'bar', bar: 'qux' }", 'A {}', "A { foo: 'bar' }" ]
221
+ * console.log(queryObjects(A, { format: 'summary' }));
222
+ * ```
223
+ * @param ctor The constructor that can be used to search on the prototype chain in order to filter target objects in the heap.
224
+ * @since v20.13.0
225
+ * @experimental
226
+ */
227
+ function queryObjects(ctor: Function): number | string[];
228
+ function queryObjects(ctor: Function, options: { format: "count" }): number;
229
+ function queryObjects(ctor: Function, options: { format: "summary" }): string[];
186
230
  /**
187
231
  * Generates a snapshot of the current V8 heap and returns a Readable
188
232
  * Stream that may be used to read the JSON serialized representation.
@@ -356,7 +400,7 @@ declare module "v8" {
356
400
  transferArrayBuffer(id: number, arrayBuffer: ArrayBuffer): void;
357
401
  /**
358
402
  * Reads the underlying wire format version. Likely mostly to be useful to
359
- * legacy code reading old wire format versions. May not be called before`.readHeader()`.
403
+ * legacy code reading old wire format versions. May not be called before `.readHeader()`.
360
404
  */
361
405
  getWireFormatVersion(): number;
362
406
  /**
@@ -365,7 +409,7 @@ declare module "v8" {
365
409
  */
366
410
  readUint32(): number;
367
411
  /**
368
- * Read a raw 64-bit unsigned integer and return it as an array `[hi, lo]`with two 32-bit unsigned integer entries.
412
+ * Read a raw 64-bit unsigned integer and return it as an array `[hi, lo]` with two 32-bit unsigned integer entries.
369
413
  * For use inside of a custom `deserializer._readHostObject()`.
370
414
  */
371
415
  readUint64(): [number, number];
@@ -422,7 +466,7 @@ declare module "v8" {
422
466
  function stopCoverage(): void;
423
467
  /**
424
468
  * The API is a no-op if `--heapsnapshot-near-heap-limit` is already set from the command line or the API is called more than once.
425
- * `limit` must be a positive integer. See [`--heapsnapshot-near-heap-limit`](https://nodejs.org/docs/latest-v20.x/api/cli.html#--heapsnapshot-near-heap-limitmax_count) for more information.
469
+ * `limit` must be a positive integer. See [`--heapsnapshot-near-heap-limit`](https://nodejs.org/docs/latest-v22.x/api/cli.html#--heapsnapshot-near-heap-limitmax_count) for more information.
426
470
  * @experimental
427
471
  * @since v18.10.0, v16.18.0
428
472
  */
@@ -438,7 +482,7 @@ declare module "v8" {
438
482
  */
439
483
  start(): void;
440
484
  /**
441
- * Stop collecting GC data and return an object.The content of object
485
+ * Stop collecting GC data and return an object. The content of object
442
486
  * is as follows.
443
487
  *
444
488
  * ```json
@@ -34,7 +34,7 @@
34
34
  *
35
35
  * console.log(x); // 1; y is not defined.
36
36
  * ```
37
- * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/vm.js)
37
+ * @see [source](https://github.com/nodejs/node/blob/v22.x/lib/vm.js)
38
38
  */
39
39
  declare module "vm" {
40
40
  import { ImportAttributes } from "node:module";
@@ -42,12 +42,12 @@ declare module "vm" {
42
42
  interface BaseOptions {
43
43
  /**
44
44
  * Specifies the filename used in stack traces produced by this script.
45
- * Default: `''`.
45
+ * @default ''
46
46
  */
47
47
  filename?: string | undefined;
48
48
  /**
49
49
  * Specifies the line number offset that is displayed in stack traces produced by this script.
50
- * Default: `0`.
50
+ * @default 0
51
51
  */
52
52
  lineOffset?: number | undefined;
53
53
  /**
@@ -64,17 +64,19 @@ declare module "vm" {
64
64
  /** @deprecated in favor of `script.createCachedData()` */
65
65
  produceCachedData?: boolean | undefined;
66
66
  /**
67
- * Called during evaluation of this module when `import()` is called.
68
- * If this option is not specified, calls to `import()` will reject with `ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING`.
67
+ * Used to specify how the modules should be loaded during the evaluation of this script when `import()` is called. This option is
68
+ * part of the experimental modules API. We do not recommend using it in a production environment. For detailed information, see
69
+ * [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
69
70
  */
70
71
  importModuleDynamically?:
71
72
  | ((specifier: string, script: Script, importAttributes: ImportAttributes) => Module)
73
+ | typeof constants.USE_MAIN_CONTEXT_DEFAULT_LOADER
72
74
  | undefined;
73
75
  }
74
76
  interface RunningScriptOptions extends BaseOptions {
75
77
  /**
76
78
  * When `true`, if an `Error` occurs while compiling the `code`, the line of code causing the error is attached to the stack trace.
77
- * Default: `true`.
79
+ * @default true
78
80
  */
79
81
  displayErrors?: boolean | undefined;
80
82
  /**
@@ -86,7 +88,7 @@ declare module "vm" {
86
88
  * If `true`, the execution will be terminated when `SIGINT` (Ctrl+C) is received.
87
89
  * Existing handlers for the event that have been attached via `process.on('SIGINT')` will be disabled during script execution, but will continue to work after that.
88
90
  * If execution is terminated, an `Error` will be thrown.
89
- * Default: `false`.
91
+ * @default false
90
92
  */
91
93
  breakOnSigint?: boolean | undefined;
92
94
  }
@@ -122,7 +124,7 @@ declare module "vm" {
122
124
  cachedData?: Buffer | undefined;
123
125
  /**
124
126
  * Specifies whether to produce new cache data.
125
- * Default: `false`,
127
+ * @default false
126
128
  */
127
129
  produceCachedData?: boolean | undefined;
128
130
  /**
@@ -193,7 +195,7 @@ declare module "vm" {
193
195
  class Script {
194
196
  constructor(code: string, options?: ScriptOptions | string);
195
197
  /**
196
- * Runs the compiled code contained by the `vm.Script` object within the given`contextifiedObject` and returns the result. Running code does not have access
198
+ * Runs the compiled code contained by the `vm.Script` object within the given `contextifiedObject` and returns the result. Running code does not have access
197
199
  * to local scope.
198
200
  *
199
201
  * The following example compiles code that increments a global variable, sets
@@ -281,7 +283,7 @@ declare module "vm" {
281
283
  */
282
284
  runInThisContext(options?: RunningScriptOptions): any;
283
285
  /**
284
- * Creates a code cache that can be used with the `Script` constructor's`cachedData` option. Returns a `Buffer`. This method may be called at any
286
+ * Creates a code cache that can be used with the `Script` constructor's `cachedData` option. Returns a `Buffer`. This method may be called at any
285
287
  * time and any number of times.
286
288
  *
287
289
  * The code cache of the `Script` doesn't contain any JavaScript observable
@@ -319,7 +321,7 @@ declare module "vm" {
319
321
  cachedDataProduced?: boolean | undefined;
320
322
  /**
321
323
  * When `cachedData` is supplied to create the `vm.Script`, this value will be set
322
- * to either `true` or `false` depending on acceptance of the data by V8\.
324
+ * to either `true` or `false` depending on acceptance of the data by V8.
323
325
  * Otherwise the value is `undefined`.
324
326
  * @since v5.7.0
325
327
  */
@@ -345,11 +347,14 @@ declare module "vm" {
345
347
  sourceMapURL?: string | undefined;
346
348
  }
347
349
  /**
348
- * If given a `contextObject`, the `vm.createContext()` method will `prepare
349
- * that object` so that it can be used in calls to {@link runInContext} or `script.runInContext()`. Inside such scripts,
350
- * the `contextObject` will be the global object, retaining all of its existing
351
- * properties but also having the built-in objects and functions any standard [global object](https://es5.github.io/#x15.1) has. Outside of scripts run by the vm module, global variables
352
- * will remain unchanged.
350
+ * If given a `contextObject`, the `vm.createContext()` method will
351
+ * [prepare that object](https://nodejs.org/docs/latest-v22.x/api/vm.html#what-does-it-mean-to-contextify-an-object)
352
+ * and return a reference to it so that it can be used in `{@link runInContext}` or
353
+ * [`script.runInContext()`](https://nodejs.org/docs/latest-v22.x/api/vm.html#scriptrunincontextcontextifiedobject-options). Inside such
354
+ * scripts, the `contextObject` will be the global object, retaining all of its
355
+ * existing properties but also having the built-in objects and functions any
356
+ * standard [global object](https://es5.github.io/#x15.1) has. Outside of scripts run by the vm module, global
357
+ * variables will remain unchanged.
353
358
  *
354
359
  * ```js
355
360
  * const vm = require('node:vm');
@@ -472,9 +477,9 @@ declare module "vm" {
472
477
  * // Prints: evalResult: 'eval', localVar: 'eval'
473
478
  * ```
474
479
  *
475
- * Because `vm.runInThisContext()` does not have access to the local scope,`localVar` is unchanged. In contrast,
480
+ * Because `vm.runInThisContext()` does not have access to the local scope, `localVar` is unchanged. In contrast,
476
481
  * [`eval()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval) _does_ have access to the
477
- * local scope, so the value `localVar` is changed. In this way`vm.runInThisContext()` is much like an [indirect `eval()` call](https://es5.github.io/#x10.4.2), e.g.`(0,eval)('code')`.
482
+ * local scope, so the value `localVar` is changed. In this way `vm.runInThisContext()` is much like an [indirect `eval()` call](https://es5.github.io/#x10.4.2), e.g.`(0,eval)('code')`.
478
483
  *
479
484
  * ## Example: Running an HTTP server within a VM
480
485
  *
@@ -536,7 +541,7 @@ declare module "vm" {
536
541
  * The format of the object that the returned Promise may resolve with is
537
542
  * specific to the V8 engine and may change from one version of V8 to the next.
538
543
  *
539
- * The returned result is different from the statistics returned by`v8.getHeapSpaceStatistics()` in that `vm.measureMemory()` measure the
544
+ * The returned result is different from the statistics returned by `v8.getHeapSpaceStatistics()` in that `vm.measureMemory()` measure the
540
545
  * memory reachable by each V8 specific contexts in the current instance of
541
546
  * the V8 engine, while the result of `v8.getHeapSpaceStatistics()` measure
542
547
  * the memory occupied by each heap space in the current V8 instance.
@@ -593,8 +598,6 @@ declare module "vm" {
593
598
  specifier: string,
594
599
  referencingModule: Module,
595
600
  extra: {
596
- /** @deprecated Use `attributes` instead */
597
- assert: ImportAttributes;
598
601
  attributes: ImportAttributes;
599
602
  },
600
603
  ) => Module | Promise<Module>;
@@ -604,7 +607,7 @@ declare module "vm" {
604
607
  * flag enabled.
605
608
  *
606
609
  * The `vm.Module` class provides a low-level interface for using
607
- * ECMAScript modules in VM contexts. It is the counterpart of the `vm.Script`class that closely mirrors [Module Record](https://262.ecma-international.org/14.0/#sec-abstract-module-records) s as
610
+ * ECMAScript modules in VM contexts. It is the counterpart of the `vm.Script` class that closely mirrors [Module Record](https://262.ecma-international.org/14.0/#sec-abstract-module-records) s as
608
611
  * defined in the ECMAScript
609
612
  * specification.
610
613
  *
@@ -742,7 +745,7 @@ declare module "vm" {
742
745
  * * `'errored'`: The module has been evaluated, but an exception was thrown.
743
746
  *
744
747
  * Other than `'errored'`, this status string corresponds to the specification's [Cyclic Module Record](https://tc39.es/ecma262/#sec-cyclic-module-records)'s `[[Status]]` field. `'errored'`
745
- * corresponds to`'evaluated'` in the specification, but with `[[EvaluationError]]` set to a
748
+ * corresponds to `'evaluated'` in the specification, but with `[[EvaluationError]]` set to a
746
749
  * value that is not `undefined`.
747
750
  */
748
751
  status: ModuleStatus;
@@ -775,7 +778,7 @@ declare module "vm" {
775
778
  * * Its `status` must not be `'errored'`.
776
779
  *
777
780
  * If the returned `Module`'s `status` is `'unlinked'`, this method will be
778
- * recursively called on the returned `Module` with the same provided `linker`function.
781
+ * recursively called on the returned `Module` with the same provided `linker` function.
779
782
  *
780
783
  * `link()` returns a `Promise` that will either get resolved when all linking
781
784
  * instances resolve to a valid `Module`, or rejected if the linker function either
@@ -897,6 +900,22 @@ declare module "vm" {
897
900
  */
898
901
  setExport(name: string, value: any): void;
899
902
  }
903
+ /**
904
+ * Returns an object containing commonly used constants for VM operations.
905
+ * @since v20.12.0
906
+ */
907
+ namespace constants {
908
+ /**
909
+ * Stability: 1.1 - Active development
910
+ *
911
+ * A constant that can be used as the `importModuleDynamically` option to `vm.Script`
912
+ * and `vm.compileFunction()` so that Node.js uses the default ESM loader from the main
913
+ * context to load the requested module.
914
+ *
915
+ * For detailed information, see [Support of dynamic `import()` in compilation APIs](https://nodejs.org/docs/latest-v22.x/api/vm.html#support-of-dynamic-import-in-compilation-apis).
916
+ */
917
+ const USE_MAIN_CONTEXT_DEFAULT_LOADER: number;
918
+ }
900
919
  }
901
920
  declare module "node:vm" {
902
921
  export * from "vm";