node-red-contrib-tak-registration 0.11.5 → 0.12.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 (476) 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 +37 -36
  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 +139 -72
  9. package/node_modules/@types/node/dgram.d.ts +24 -14
  10. package/node_modules/@types/node/diagnostics_channel.d.ts +365 -2
  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 +18 -12
  17. package/node_modules/@types/node/fs.d.ts +72 -46
  18. package/node_modules/@types/node/globals.d.ts +27 -0
  19. package/node_modules/@types/node/http.d.ts +75 -55
  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 +14 -0
  25. package/node_modules/@types/node/net.d.ts +66 -16
  26. package/node_modules/@types/node/os.d.ts +29 -12
  27. package/node_modules/@types/node/package.json +3 -16
  28. package/node_modules/@types/node/path.d.ts +1 -1
  29. package/node_modules/@types/node/perf_hooks.d.ts +320 -54
  30. package/node_modules/@types/node/process.d.ts +265 -50
  31. package/node_modules/@types/node/punycode.d.ts +4 -4
  32. package/node_modules/@types/node/querystring.d.ts +21 -9
  33. package/node_modules/@types/node/readline/promises.d.ts +9 -9
  34. package/node_modules/@types/node/readline.d.ts +21 -20
  35. package/node_modules/@types/node/repl.d.ts +10 -10
  36. package/node_modules/@types/node/sea.d.ts +153 -0
  37. package/node_modules/@types/node/stream/web.d.ts +18 -1
  38. package/node_modules/@types/node/stream.d.ts +62 -56
  39. package/node_modules/@types/node/string_decoder.d.ts +5 -5
  40. package/node_modules/@types/node/test.d.ts +445 -109
  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 +40 -33
  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 +73 -48
  47. package/node_modules/@types/node/util.d.ts +131 -22
  48. package/node_modules/@types/node/v8.d.ts +183 -10
  49. package/node_modules/@types/node/vm.d.ts +43 -22
  50. package/node_modules/@types/node/wasi.d.ts +38 -15
  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 +873 -711
  64. package/node_modules/axios/README.md +98 -8
  65. package/node_modules/axios/dist/axios.js +1461 -350
  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 +710 -306
  70. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  71. package/node_modules/axios/dist/esm/axios.js +710 -306
  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 +628 -250
  76. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  77. package/node_modules/axios/index.d.cts +6 -3
  78. package/node_modules/axios/index.d.ts +6 -3
  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 +7 -3
  82. package/node_modules/axios/lib/adapters/xhr.js +31 -101
  83. package/node_modules/axios/lib/core/Axios.js +28 -1
  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/combineURLs.js +1 -1
  90. package/node_modules/axios/lib/helpers/composeSignals.js +46 -0
  91. package/node_modules/axios/lib/helpers/formDataToJSON.js +3 -0
  92. package/node_modules/axios/lib/helpers/progressEventReducer.js +32 -0
  93. package/node_modules/axios/lib/helpers/resolveConfig.js +57 -0
  94. package/node_modules/axios/lib/helpers/throttle.js +5 -3
  95. package/node_modules/axios/lib/helpers/trackStream.js +55 -0
  96. package/node_modules/axios/lib/platform/common/utils.js +4 -1
  97. package/node_modules/axios/lib/utils.js +7 -2
  98. package/node_modules/axios/package.json +27 -26
  99. package/node_modules/call-bind/CHANGELOG.md +16 -0
  100. package/node_modules/call-bind/index.js +2 -11
  101. package/node_modules/call-bind/package.json +11 -6
  102. package/node_modules/define-data-property/CHANGELOG.md +29 -0
  103. package/node_modules/define-data-property/index.d.ts +12 -3
  104. package/node_modules/define-data-property/index.js +4 -16
  105. package/node_modules/define-data-property/package.json +26 -33
  106. package/node_modules/define-data-property/test/index.js +10 -10
  107. package/node_modules/es-define-property/.eslintrc +13 -0
  108. package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  109. package/node_modules/es-define-property/.nycrc +9 -0
  110. package/node_modules/es-define-property/CHANGELOG.md +15 -0
  111. package/node_modules/es-define-property/LICENSE +21 -0
  112. package/node_modules/es-define-property/README.md +49 -0
  113. package/node_modules/es-define-property/index.d.ts +3 -0
  114. package/node_modules/es-define-property/index.js +16 -0
  115. package/node_modules/es-define-property/package.json +81 -0
  116. package/node_modules/es-define-property/test/index.js +55 -0
  117. package/node_modules/es-define-property/tsconfig.json +50 -0
  118. package/node_modules/es-errors/.eslintrc +5 -0
  119. package/node_modules/es-errors/.github/FUNDING.yml +12 -0
  120. package/node_modules/es-errors/CHANGELOG.md +40 -0
  121. package/node_modules/es-errors/LICENSE +21 -0
  122. package/node_modules/es-errors/README.md +55 -0
  123. package/node_modules/es-errors/eval.d.ts +3 -0
  124. package/node_modules/es-errors/eval.js +4 -0
  125. package/node_modules/es-errors/index.d.ts +3 -0
  126. package/node_modules/es-errors/index.js +4 -0
  127. package/node_modules/es-errors/package.json +80 -0
  128. package/node_modules/es-errors/range.d.ts +3 -0
  129. package/node_modules/es-errors/range.js +4 -0
  130. package/node_modules/es-errors/ref.d.ts +3 -0
  131. package/node_modules/es-errors/ref.js +4 -0
  132. package/node_modules/es-errors/syntax.d.ts +3 -0
  133. package/node_modules/es-errors/syntax.js +4 -0
  134. package/node_modules/es-errors/test/index.js +19 -0
  135. package/node_modules/es-errors/tsconfig.json +49 -0
  136. package/node_modules/es-errors/type.d.ts +3 -0
  137. package/node_modules/es-errors/type.js +4 -0
  138. package/node_modules/es-errors/uri.d.ts +3 -0
  139. package/node_modules/es-errors/uri.js +4 -0
  140. package/node_modules/fast-xml-parser/CHANGELOG.md +17 -0
  141. package/node_modules/fast-xml-parser/README.md +9 -15
  142. package/node_modules/fast-xml-parser/package.json +4 -1
  143. package/node_modules/fast-xml-parser/src/fxp.d.ts +365 -71
  144. package/node_modules/fast-xml-parser/src/v5/CharsSymbol.js +16 -0
  145. package/node_modules/fast-xml-parser/src/v5/EntitiesParser.js +107 -0
  146. package/node_modules/fast-xml-parser/src/v5/OptionsBuilder.js +64 -0
  147. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/BaseOutputBuilder.js +71 -0
  148. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsArrBuilder.js +103 -0
  149. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsMinArrBuilder.js +102 -0
  150. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsObjBuilder.js +156 -0
  151. package/node_modules/fast-xml-parser/src/v5/OutputBuilders/ParserOptionsBuilder.js +96 -0
  152. package/node_modules/fast-xml-parser/src/v5/Report.js +0 -0
  153. package/node_modules/fast-xml-parser/src/v5/TagPath.js +81 -0
  154. package/node_modules/fast-xml-parser/src/v5/TagPathMatcher.js +15 -0
  155. package/node_modules/fast-xml-parser/src/v5/XMLParser.js +85 -0
  156. package/node_modules/fast-xml-parser/src/v5/Xml2JsParser.js +237 -0
  157. package/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +212 -0
  158. package/node_modules/fast-xml-parser/src/v5/XmlSpecialTagsReader.js +118 -0
  159. package/node_modules/fast-xml-parser/src/v5/inputSource/BufferSource.js +118 -0
  160. package/node_modules/fast-xml-parser/src/v5/inputSource/StringSource.js +123 -0
  161. package/node_modules/fast-xml-parser/src/v5/valueParsers/EntitiesParser.js +107 -0
  162. package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParser.js +23 -0
  163. package/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParserExt.js +20 -0
  164. package/node_modules/fast-xml-parser/src/v5/valueParsers/currency.js +31 -0
  165. package/node_modules/fast-xml-parser/src/v5/valueParsers/join.js +14 -0
  166. package/node_modules/fast-xml-parser/src/v5/valueParsers/number.js +16 -0
  167. package/node_modules/fast-xml-parser/src/v5/valueParsers/trim.js +8 -0
  168. package/node_modules/fast-xml-parser/src/validator.js +2 -0
  169. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +18 -9
  170. package/node_modules/follow-redirects/index.js +115 -76
  171. package/node_modules/follow-redirects/package.json +1 -1
  172. package/node_modules/get-intrinsic/CHANGELOG.md +18 -0
  173. package/node_modules/get-intrinsic/index.js +15 -7
  174. package/node_modules/get-intrinsic/package.json +12 -12
  175. package/node_modules/has-property-descriptors/CHANGELOG.md +8 -0
  176. package/node_modules/has-property-descriptors/index.js +3 -14
  177. package/node_modules/has-property-descriptors/package.json +5 -5
  178. package/node_modules/has-proto/CHANGELOG.md +15 -0
  179. package/node_modules/has-proto/index.d.ts +3 -0
  180. package/node_modules/has-proto/index.js +5 -1
  181. package/node_modules/has-proto/package.json +9 -5
  182. package/node_modules/has-proto/tsconfig.json +49 -0
  183. package/node_modules/has-tostringtag/.eslintrc +0 -6
  184. package/node_modules/has-tostringtag/.nycrc +13 -0
  185. package/node_modules/has-tostringtag/CHANGELOG.md +22 -0
  186. package/node_modules/has-tostringtag/index.d.ts +3 -0
  187. package/node_modules/has-tostringtag/index.js +1 -0
  188. package/node_modules/has-tostringtag/package.json +37 -13
  189. package/node_modules/has-tostringtag/shams.d.ts +3 -0
  190. package/node_modules/has-tostringtag/shams.js +1 -0
  191. package/node_modules/has-tostringtag/test/shams/core-js.js +3 -0
  192. package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +2 -0
  193. package/node_modules/has-tostringtag/test/tests.js +2 -1
  194. package/node_modules/has-tostringtag/tsconfig.json +49 -0
  195. package/node_modules/hasown/CHANGELOG.md +20 -0
  196. package/node_modules/hasown/index.d.ts +3 -3
  197. package/node_modules/hasown/index.js +1 -1
  198. package/node_modules/hasown/package.json +16 -15
  199. package/node_modules/hasown/tsconfig.json +3 -46
  200. package/node_modules/object-is/.eslintrc +1 -1
  201. package/node_modules/object-is/.nycrc +0 -4
  202. package/node_modules/object-is/CHANGELOG.md +25 -0
  203. package/node_modules/object-is/README.md +20 -20
  204. package/node_modules/object-is/package.json +23 -14
  205. package/node_modules/polygon-clipping/README.md +29 -26
  206. package/node_modules/polygon-clipping/dist/polygon-clipping.cjs.js +1398 -1421
  207. package/node_modules/polygon-clipping/dist/polygon-clipping.d.ts +13 -10
  208. package/node_modules/polygon-clipping/dist/polygon-clipping.esm.js +1139 -1427
  209. package/node_modules/polygon-clipping/dist/polygon-clipping.umd.js +1770 -1831
  210. package/node_modules/polygon-clipping/dist/polygon-clipping.umd.min.js +22 -8
  211. package/node_modules/polygon-clipping/dist/polygon-clipping.umd.min.js.map +1 -1
  212. package/node_modules/polygon-clipping/node_modules/robust-predicates/LICENSE +24 -0
  213. package/node_modules/polygon-clipping/node_modules/robust-predicates/README.md +82 -0
  214. package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/incircle.js +765 -0
  215. package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/insphere.js +766 -0
  216. package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/orient2d.js +184 -0
  217. package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/orient3d.js +462 -0
  218. package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/util.js +138 -0
  219. package/node_modules/polygon-clipping/node_modules/robust-predicates/index.d.ts +49 -0
  220. package/node_modules/polygon-clipping/node_modules/robust-predicates/index.js +5 -0
  221. package/node_modules/polygon-clipping/node_modules/robust-predicates/package.json +75 -0
  222. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/incircle.js +908 -0
  223. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/incircle.min.js +1 -0
  224. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/insphere.js +914 -0
  225. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/insphere.min.js +1 -0
  226. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/orient2d.js +280 -0
  227. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/orient2d.min.js +1 -0
  228. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/orient3d.js +601 -0
  229. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/orient3d.min.js +1 -0
  230. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/predicates.js +2328 -0
  231. package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/predicates.min.js +1 -0
  232. package/node_modules/polygon-clipping/package.json +30 -25
  233. package/node_modules/protobufjs/LICENSE +39 -39
  234. package/node_modules/protobufjs/README.md +727 -740
  235. package/node_modules/protobufjs/dist/light/protobuf.js +6264 -6264
  236. package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  237. package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  238. package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  239. package/node_modules/protobufjs/dist/minimal/protobuf.js +1928 -1928
  240. package/node_modules/protobufjs/dist/minimal/protobuf.js.map +1 -1
  241. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
  242. package/node_modules/protobufjs/dist/minimal/protobuf.min.js.map +1 -1
  243. package/node_modules/protobufjs/dist/protobuf.js +7978 -7961
  244. package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  245. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  246. package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  247. package/node_modules/protobufjs/ext/debug/README.md +4 -4
  248. package/node_modules/protobufjs/ext/debug/index.js +71 -71
  249. package/node_modules/protobufjs/ext/descriptor/README.md +72 -72
  250. package/node_modules/protobufjs/ext/descriptor/index.d.ts +191 -191
  251. package/node_modules/protobufjs/ext/descriptor/index.js +1052 -1052
  252. package/node_modules/protobufjs/ext/descriptor/test.js +54 -54
  253. package/node_modules/protobufjs/google/LICENSE +27 -27
  254. package/node_modules/protobufjs/google/README.md +1 -1
  255. package/node_modules/protobufjs/google/api/annotations.json +82 -82
  256. package/node_modules/protobufjs/google/api/annotations.proto +10 -10
  257. package/node_modules/protobufjs/google/api/http.json +85 -85
  258. package/node_modules/protobufjs/google/api/http.proto +30 -30
  259. package/node_modules/protobufjs/google/protobuf/api.json +117 -117
  260. package/node_modules/protobufjs/google/protobuf/api.proto +33 -33
  261. package/node_modules/protobufjs/google/protobuf/descriptor.json +738 -738
  262. package/node_modules/protobufjs/google/protobuf/descriptor.proto +286 -286
  263. package/node_modules/protobufjs/google/protobuf/source_context.json +19 -19
  264. package/node_modules/protobufjs/google/protobuf/source_context.proto +7 -7
  265. package/node_modules/protobufjs/google/protobuf/type.json +201 -201
  266. package/node_modules/protobufjs/google/protobuf/type.proto +89 -89
  267. package/node_modules/protobufjs/index.d.ts +2741 -2741
  268. package/node_modules/protobufjs/index.js +4 -4
  269. package/node_modules/protobufjs/light.d.ts +2 -2
  270. package/node_modules/protobufjs/light.js +3 -3
  271. package/node_modules/protobufjs/minimal.d.ts +2 -2
  272. package/node_modules/protobufjs/minimal.js +4 -4
  273. package/node_modules/protobufjs/package.json +111 -111
  274. package/node_modules/protobufjs/scripts/postinstall.js +32 -32
  275. package/node_modules/protobufjs/src/common.js +399 -399
  276. package/node_modules/protobufjs/src/converter.js +301 -301
  277. package/node_modules/protobufjs/src/decoder.js +129 -129
  278. package/node_modules/protobufjs/src/encoder.js +100 -100
  279. package/node_modules/protobufjs/src/enum.js +198 -198
  280. package/node_modules/protobufjs/src/field.js +377 -377
  281. package/node_modules/protobufjs/src/index-light.js +104 -104
  282. package/node_modules/protobufjs/src/index-minimal.js +36 -36
  283. package/node_modules/protobufjs/src/index.js +12 -12
  284. package/node_modules/protobufjs/src/mapfield.js +126 -126
  285. package/node_modules/protobufjs/src/message.js +138 -138
  286. package/node_modules/protobufjs/src/method.js +160 -160
  287. package/node_modules/protobufjs/src/namespace.js +433 -433
  288. package/node_modules/protobufjs/src/object.js +243 -243
  289. package/node_modules/protobufjs/src/oneof.js +203 -203
  290. package/node_modules/protobufjs/src/parse.js +889 -872
  291. package/node_modules/protobufjs/src/reader.js +416 -416
  292. package/node_modules/protobufjs/src/reader_buffer.js +51 -51
  293. package/node_modules/protobufjs/src/root.js +368 -368
  294. package/node_modules/protobufjs/src/roots.js +18 -18
  295. package/node_modules/protobufjs/src/rpc/service.js +142 -142
  296. package/node_modules/protobufjs/src/rpc.js +36 -36
  297. package/node_modules/protobufjs/src/service.js +167 -167
  298. package/node_modules/protobufjs/src/tokenize.js +416 -416
  299. package/node_modules/protobufjs/src/type.js +589 -589
  300. package/node_modules/protobufjs/src/types.js +196 -196
  301. package/node_modules/protobufjs/src/typescript.jsdoc +15 -15
  302. package/node_modules/protobufjs/src/util/longbits.js +200 -200
  303. package/node_modules/protobufjs/src/util/minimal.js +438 -438
  304. package/node_modules/protobufjs/src/util.js +212 -212
  305. package/node_modules/protobufjs/src/verifier.js +176 -176
  306. package/node_modules/protobufjs/src/wrappers.js +102 -102
  307. package/node_modules/protobufjs/src/writer.js +465 -465
  308. package/node_modules/protobufjs/src/writer_buffer.js +85 -85
  309. package/node_modules/protobufjs/tsconfig.json +7 -7
  310. package/node_modules/regexp.prototype.flags/CHANGELOG.md +13 -0
  311. package/node_modules/regexp.prototype.flags/implementation.js +2 -2
  312. package/node_modules/regexp.prototype.flags/package.json +11 -10
  313. package/node_modules/regexp.prototype.flags/test/tests.js +13 -13
  314. package/node_modules/set-function-length/CHANGELOG.md +29 -0
  315. package/node_modules/set-function-length/env.d.ts +9 -0
  316. package/node_modules/set-function-length/env.js +10 -4
  317. package/node_modules/set-function-length/index.d.ts +7 -0
  318. package/node_modules/set-function-length/index.js +4 -3
  319. package/node_modules/set-function-length/package.json +29 -11
  320. package/node_modules/set-function-length/tsconfig.json +9 -0
  321. package/node_modules/set-function-name/.eslintrc +1 -0
  322. package/node_modules/set-function-name/CHANGELOG.md +9 -0
  323. package/node_modules/set-function-name/index.d.ts +5 -0
  324. package/node_modules/set-function-name/index.js +4 -3
  325. package/node_modules/set-function-name/package.json +28 -9
  326. package/node_modules/set-function-name/tsconfig.json +59 -0
  327. package/node_modules/uuid/CHANGELOG.md +18 -0
  328. package/node_modules/uuid/README.md +134 -16
  329. package/node_modules/uuid/dist/commonjs-browser/index.js +40 -15
  330. package/node_modules/uuid/dist/commonjs-browser/max.js +7 -0
  331. package/node_modules/uuid/dist/commonjs-browser/md5.js +30 -53
  332. package/node_modules/uuid/dist/commonjs-browser/native.js +3 -4
  333. package/node_modules/uuid/dist/commonjs-browser/nil.js +1 -2
  334. package/node_modules/uuid/dist/commonjs-browser/parse.js +14 -15
  335. package/node_modules/uuid/dist/commonjs-browser/regex.js +1 -2
  336. package/node_modules/uuid/dist/commonjs-browser/rng.js +2 -4
  337. package/node_modules/uuid/dist/commonjs-browser/sha1.js +27 -49
  338. package/node_modules/uuid/dist/commonjs-browser/stringify.js +10 -16
  339. package/node_modules/uuid/dist/commonjs-browser/v1.js +73 -49
  340. package/node_modules/uuid/dist/commonjs-browser/v1ToV6.js +26 -0
  341. package/node_modules/uuid/dist/commonjs-browser/v3.js +3 -8
  342. package/node_modules/uuid/dist/commonjs-browser/v35.js +15 -32
  343. package/node_modules/uuid/dist/commonjs-browser/v4.js +7 -18
  344. package/node_modules/uuid/dist/commonjs-browser/v5.js +3 -8
  345. package/node_modules/uuid/dist/commonjs-browser/v6.js +42 -0
  346. package/node_modules/uuid/dist/commonjs-browser/v6ToV1.js +26 -0
  347. package/node_modules/uuid/dist/commonjs-browser/v7.js +152 -0
  348. package/node_modules/uuid/dist/commonjs-browser/validate.js +2 -7
  349. package/node_modules/uuid/dist/commonjs-browser/version.js +2 -8
  350. package/node_modules/uuid/dist/esm-browser/index.js +9 -4
  351. package/node_modules/uuid/dist/esm-browser/max.js +1 -0
  352. package/node_modules/uuid/dist/esm-browser/md5.js +29 -50
  353. package/node_modules/uuid/dist/esm-browser/native.js +1 -1
  354. package/node_modules/uuid/dist/esm-browser/parse.js +12 -10
  355. package/node_modules/uuid/dist/esm-browser/regex.js +1 -1
  356. package/node_modules/uuid/dist/esm-browser/rng.js +3 -4
  357. package/node_modules/uuid/dist/esm-browser/sha1.js +26 -46
  358. package/node_modules/uuid/dist/esm-browser/stringify.js +9 -11
  359. package/node_modules/uuid/dist/esm-browser/v1.js +74 -44
  360. package/node_modules/uuid/dist/esm-browser/v1ToV6.js +20 -0
  361. package/node_modules/uuid/dist/esm-browser/v3.js +1 -1
  362. package/node_modules/uuid/dist/esm-browser/v35.js +14 -25
  363. package/node_modules/uuid/dist/esm-browser/v4.js +5 -9
  364. package/node_modules/uuid/dist/esm-browser/v5.js +1 -1
  365. package/node_modules/uuid/dist/esm-browser/v6.js +36 -0
  366. package/node_modules/uuid/dist/esm-browser/v6ToV1.js +20 -0
  367. package/node_modules/uuid/dist/esm-browser/v7.js +146 -0
  368. package/node_modules/uuid/dist/esm-browser/validate.js +0 -2
  369. package/node_modules/uuid/dist/esm-browser/version.js +0 -3
  370. package/node_modules/uuid/dist/esm-node/index.js +9 -4
  371. package/node_modules/uuid/dist/esm-node/max.js +1 -0
  372. package/node_modules/uuid/dist/esm-node/md5.js +1 -4
  373. package/node_modules/uuid/dist/esm-node/native.js +1 -1
  374. package/node_modules/uuid/dist/esm-node/parse.js +11 -9
  375. package/node_modules/uuid/dist/esm-node/regex.js +1 -1
  376. package/node_modules/uuid/dist/esm-node/rng.js +1 -3
  377. package/node_modules/uuid/dist/esm-node/sha1.js +1 -4
  378. package/node_modules/uuid/dist/esm-node/stringify.js +7 -9
  379. package/node_modules/uuid/dist/esm-node/v1.js +66 -36
  380. package/node_modules/uuid/dist/esm-node/v1ToV6.js +20 -0
  381. package/node_modules/uuid/dist/esm-node/v35.js +8 -19
  382. package/node_modules/uuid/dist/esm-node/v4.js +4 -8
  383. package/node_modules/uuid/dist/esm-node/v6.js +32 -0
  384. package/node_modules/uuid/dist/esm-node/v6ToV1.js +20 -0
  385. package/node_modules/uuid/dist/esm-node/v7.js +146 -0
  386. package/node_modules/uuid/dist/esm-node/validate.js +0 -2
  387. package/node_modules/uuid/dist/esm-node/version.js +0 -3
  388. package/node_modules/uuid/dist/index.js +40 -15
  389. package/node_modules/uuid/dist/max.js +7 -0
  390. package/node_modules/uuid/dist/md5-browser.js +8 -31
  391. package/node_modules/uuid/dist/md5.js +4 -10
  392. package/node_modules/uuid/dist/native-browser.js +2 -3
  393. package/node_modules/uuid/dist/native.js +5 -9
  394. package/node_modules/uuid/dist/nil.js +1 -2
  395. package/node_modules/uuid/dist/parse.js +13 -14
  396. package/node_modules/uuid/dist/regex.js +1 -2
  397. package/node_modules/uuid/dist/rng-browser.js +1 -3
  398. package/node_modules/uuid/dist/rng.js +3 -10
  399. package/node_modules/uuid/dist/sha1-browser.js +1 -23
  400. package/node_modules/uuid/dist/sha1.js +4 -10
  401. package/node_modules/uuid/dist/stringify.js +8 -14
  402. package/node_modules/uuid/dist/uuid-bin.js +12 -22
  403. package/node_modules/uuid/dist/v1.js +66 -42
  404. package/node_modules/uuid/dist/v1ToV6.js +26 -0
  405. package/node_modules/uuid/dist/v3.js +2 -7
  406. package/node_modules/uuid/dist/v35.js +11 -28
  407. package/node_modules/uuid/dist/v4.js +6 -17
  408. package/node_modules/uuid/dist/v5.js +2 -7
  409. package/node_modules/uuid/dist/v6.js +38 -0
  410. package/node_modules/uuid/dist/v6ToV1.js +26 -0
  411. package/node_modules/uuid/dist/v7.js +152 -0
  412. package/node_modules/uuid/dist/validate.js +2 -7
  413. package/node_modules/uuid/dist/version.js +2 -8
  414. package/node_modules/uuid/package.json +41 -34
  415. package/node_modules/uuid/wrapper.mjs +5 -0
  416. package/package.json +6 -6
  417. package/tak-ingest.js +5 -1
  418. package/tak-registration.js +8 -1
  419. package/node_modules/@types/node/ts4.8/assert/strict.d.ts +0 -8
  420. package/node_modules/@types/node/ts4.8/assert.d.ts +0 -996
  421. package/node_modules/@types/node/ts4.8/async_hooks.d.ts +0 -539
  422. package/node_modules/@types/node/ts4.8/buffer.d.ts +0 -2362
  423. package/node_modules/@types/node/ts4.8/child_process.d.ts +0 -1540
  424. package/node_modules/@types/node/ts4.8/cluster.d.ts +0 -432
  425. package/node_modules/@types/node/ts4.8/console.d.ts +0 -415
  426. package/node_modules/@types/node/ts4.8/constants.d.ts +0 -19
  427. package/node_modules/@types/node/ts4.8/crypto.d.ts +0 -4455
  428. package/node_modules/@types/node/ts4.8/dgram.d.ts +0 -586
  429. package/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +0 -191
  430. package/node_modules/@types/node/ts4.8/dns/promises.d.ts +0 -425
  431. package/node_modules/@types/node/ts4.8/dns.d.ts +0 -809
  432. package/node_modules/@types/node/ts4.8/dom-events.d.ts +0 -122
  433. package/node_modules/@types/node/ts4.8/domain.d.ts +0 -170
  434. package/node_modules/@types/node/ts4.8/events.d.ts +0 -879
  435. package/node_modules/@types/node/ts4.8/fs/promises.d.ts +0 -1239
  436. package/node_modules/@types/node/ts4.8/fs.d.ts +0 -4291
  437. package/node_modules/@types/node/ts4.8/globals.d.ts +0 -385
  438. package/node_modules/@types/node/ts4.8/globals.global.d.ts +0 -1
  439. package/node_modules/@types/node/ts4.8/http.d.ts +0 -1888
  440. package/node_modules/@types/node/ts4.8/http2.d.ts +0 -2382
  441. package/node_modules/@types/node/ts4.8/https.d.ts +0 -550
  442. package/node_modules/@types/node/ts4.8/index.d.ts +0 -88
  443. package/node_modules/@types/node/ts4.8/inspector.d.ts +0 -2747
  444. package/node_modules/@types/node/ts4.8/module.d.ts +0 -301
  445. package/node_modules/@types/node/ts4.8/net.d.ts +0 -949
  446. package/node_modules/@types/node/ts4.8/os.d.ts +0 -478
  447. package/node_modules/@types/node/ts4.8/path.d.ts +0 -191
  448. package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +0 -639
  449. package/node_modules/@types/node/ts4.8/process.d.ts +0 -1539
  450. package/node_modules/@types/node/ts4.8/punycode.d.ts +0 -117
  451. package/node_modules/@types/node/ts4.8/querystring.d.ts +0 -141
  452. package/node_modules/@types/node/ts4.8/readline/promises.d.ts +0 -150
  453. package/node_modules/@types/node/ts4.8/readline.d.ts +0 -539
  454. package/node_modules/@types/node/ts4.8/repl.d.ts +0 -430
  455. package/node_modules/@types/node/ts4.8/stream/consumers.d.ts +0 -12
  456. package/node_modules/@types/node/ts4.8/stream/promises.d.ts +0 -83
  457. package/node_modules/@types/node/ts4.8/stream/web.d.ts +0 -350
  458. package/node_modules/@types/node/ts4.8/stream.d.ts +0 -1701
  459. package/node_modules/@types/node/ts4.8/string_decoder.d.ts +0 -67
  460. package/node_modules/@types/node/ts4.8/test.d.ts +0 -1382
  461. package/node_modules/@types/node/ts4.8/timers/promises.d.ts +0 -93
  462. package/node_modules/@types/node/ts4.8/timers.d.ts +0 -240
  463. package/node_modules/@types/node/ts4.8/tls.d.ts +0 -1210
  464. package/node_modules/@types/node/ts4.8/trace_events.d.ts +0 -182
  465. package/node_modules/@types/node/ts4.8/tty.d.ts +0 -208
  466. package/node_modules/@types/node/ts4.8/url.d.ts +0 -927
  467. package/node_modules/@types/node/ts4.8/util.d.ts +0 -2183
  468. package/node_modules/@types/node/ts4.8/v8.d.ts +0 -635
  469. package/node_modules/@types/node/ts4.8/vm.d.ts +0 -903
  470. package/node_modules/@types/node/ts4.8/wasi.d.ts +0 -158
  471. package/node_modules/@types/node/ts4.8/worker_threads.d.ts +0 -691
  472. package/node_modules/@types/node/ts4.8/zlib.d.ts +0 -517
  473. package/node_modules/define-data-property/index.d.ts.map +0 -1
  474. package/node_modules/hasown/index.d.ts.map +0 -1
  475. package/node_modules/object-is/.eslintignore +0 -1
  476. package/node_modules/polygon-clipping/CHANGELOG.md +0 -129
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Clusters of Node.js processes can be used to run multiple instances of Node.js
3
- * that can distribute workloads among their application threads. When process
4
- * isolation is not needed, use the `worker_threads` module instead, which
5
- * allows running multiple application threads within a single Node.js instance.
3
+ * that can distribute workloads among their application threads. When process isolation
4
+ * is not needed, use the [`worker_threads`](https://nodejs.org/docs/latest-v20.x/api/worker_threads.html)
5
+ * module instead, which allows running multiple application threads within a single Node.js instance.
6
6
  *
7
7
  * The cluster module allows easy creation of child processes that all share
8
8
  * server ports.
@@ -50,7 +50,7 @@
50
50
  * ```
51
51
  *
52
52
  * On Windows, it is not yet possible to set up a named pipe server in a worker.
53
- * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/cluster.js)
53
+ * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/cluster.js)
54
54
  */
55
55
  declare module "cluster" {
56
56
  import * as child from "node:child_process";
@@ -58,22 +58,74 @@ declare module "cluster" {
58
58
  import * as net from "node:net";
59
59
  type SerializationType = "json" | "advanced";
60
60
  export interface ClusterSettings {
61
- execArgv?: string[] | undefined; // default: process.execArgv
61
+ /**
62
+ * List of string arguments passed to the Node.js executable.
63
+ * @default process.execArgv
64
+ */
65
+ execArgv?: string[] | undefined;
66
+ /**
67
+ * File path to worker file.
68
+ * @default process.argv[1]
69
+ */
62
70
  exec?: string | undefined;
71
+ /**
72
+ * String arguments passed to worker.
73
+ * @default process.argv.slice(2)
74
+ */
63
75
  args?: string[] | undefined;
76
+ /**
77
+ * Whether or not to send output to parent's stdio.
78
+ * @default false
79
+ */
64
80
  silent?: boolean | undefined;
81
+ /**
82
+ * Configures the stdio of forked processes. Because the cluster module relies on IPC to function, this configuration must
83
+ * contain an `'ipc'` entry. When this option is provided, it overrides `silent`. See [`child_prcess.spawn()`](https://nodejs.org/docs/latest-v20.x/api/child_process.html#child_processspawncommand-args-options)'s
84
+ * [`stdio`](https://nodejs.org/docs/latest-v20.x/api/child_process.html#optionsstdio).
85
+ */
65
86
  stdio?: any[] | undefined;
87
+ /**
88
+ * Sets the user identity of the process. (See [`setuid(2)`](https://man7.org/linux/man-pages/man2/setuid.2.html).)
89
+ */
66
90
  uid?: number | undefined;
91
+ /**
92
+ * Sets the group identity of the process. (See [`setgid(2)`](https://man7.org/linux/man-pages/man2/setgid.2.html).)
93
+ */
67
94
  gid?: number | undefined;
95
+ /**
96
+ * Sets inspector port of worker. This can be a number, or a function that takes no arguments and returns a number.
97
+ * By default each worker gets its own port, incremented from the primary's `process.debugPort`.
98
+ */
68
99
  inspectPort?: number | (() => number) | undefined;
100
+ /**
101
+ * Specify the kind of serialization used for sending messages between processes. Possible values are `'json'` and `'advanced'`.
102
+ * See [Advanced serialization for `child_process`](https://nodejs.org/docs/latest-v20.x/api/child_process.html#advanced-serialization) for more details.
103
+ * @default false
104
+ */
69
105
  serialization?: SerializationType | undefined;
106
+ /**
107
+ * Current working directory of the worker process.
108
+ * @default undefined (inherits from parent process)
109
+ */
70
110
  cwd?: string | undefined;
111
+ /**
112
+ * Hide the forked processes console window that would normally be created on Windows systems.
113
+ * @default false
114
+ */
71
115
  windowsHide?: boolean | undefined;
72
116
  }
73
117
  export interface Address {
74
118
  address: string;
75
119
  port: number;
76
- addressType: number | "udp4" | "udp6"; // 4, 6, -1, "udp4", "udp6"
120
+ /**
121
+ * The `addressType` is one of:
122
+ *
123
+ * * `4` (TCPv4)
124
+ * * `6` (TCPv6)
125
+ * * `-1` (Unix domain socket)
126
+ * * `'udp4'` or `'udp6'` (UDPv4 or UDPv6)
127
+ */
128
+ addressType: 4 | 6 | -1 | "udp4" | "udp6";
77
129
  }
78
130
  /**
79
131
  * A `Worker` object contains all public information and method about a worker.
@@ -83,17 +135,17 @@ declare module "cluster" {
83
135
  */
84
136
  export class Worker extends EventEmitter {
85
137
  /**
86
- * Each new worker is given its own unique id, this id is stored in the`id`.
138
+ * Each new worker is given its own unique id, this id is stored in the `id`.
87
139
  *
88
- * While a worker is alive, this is the key that indexes it in`cluster.workers`.
140
+ * While a worker is alive, this is the key that indexes it in `cluster.workers`.
89
141
  * @since v0.8.0
90
142
  */
91
143
  id: number;
92
144
  /**
93
- * All workers are created using `child_process.fork()`, the returned object
94
- * from this function is stored as `.process`. In a worker, the global `process`is stored.
145
+ * All workers are created using [`child_process.fork()`](https://nodejs.org/docs/latest-v20.x/api/child_process.html#child_processforkmodulepath-args-options), the returned object
146
+ * from this function is stored as `.process`. In a worker, the global `process` is stored.
95
147
  *
96
- * See: `Child Process module`.
148
+ * See: [Child Process module](https://nodejs.org/docs/latest-v20.x/api/child_process.html#child_processforkmodulepath-args-options).
97
149
  *
98
150
  * Workers will call `process.exit(0)` if the `'disconnect'` event occurs
99
151
  * on `process` and `.exitedAfterDisconnect` is not `true`. This protects against
@@ -104,9 +156,9 @@ declare module "cluster" {
104
156
  /**
105
157
  * Send a message to a worker or primary, optionally with a handle.
106
158
  *
107
- * In the primary, this sends a message to a specific worker. It is identical to `ChildProcess.send()`.
159
+ * In the primary, this sends a message to a specific worker. It is identical to [`ChildProcess.send()`](https://nodejs.org/docs/latest-v20.x/api/child_process.html#subprocesssendmessage-sendhandle-options-callback).
108
160
  *
109
- * In a worker, this sends a message to the primary. It is identical to`process.send()`.
161
+ * In a worker, this sends a message to the primary. It is identical to `process.send()`.
110
162
  *
111
163
  * This example will echo back all messages from the primary:
112
164
  *
@@ -122,7 +174,7 @@ declare module "cluster" {
122
174
  * }
123
175
  * ```
124
176
  * @since v0.7.0
125
- * @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles. `options` supports the following properties:
177
+ * @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles.
126
178
  */
127
179
  send(message: child.Serializable, callback?: (error: Error | null) => void): boolean;
128
180
  send(
@@ -138,7 +190,7 @@ declare module "cluster" {
138
190
  ): boolean;
139
191
  /**
140
192
  * This function will kill the worker. In the primary worker, it does this by
141
- * disconnecting the `worker.process`, and once disconnected, killing with`signal`. In the worker, it does it by killing the process with `signal`.
193
+ * disconnecting the `worker.process`, and once disconnected, killing with `signal`. In the worker, it does it by killing the process with `signal`.
142
194
  *
143
195
  * The `kill()` function kills the worker process without waiting for a graceful
144
196
  * disconnect, it has the same behavior as `worker.process.kill()`.
@@ -146,7 +198,7 @@ declare module "cluster" {
146
198
  * This method is aliased as `worker.destroy()` for backwards compatibility.
147
199
  *
148
200
  * In a worker, `process.kill()` exists, but it is not this function;
149
- * it is `kill()`.
201
+ * it is [`kill()`](https://nodejs.org/docs/latest-v20.x/api/process.html#processkillpid-signal).
150
202
  * @since v0.9.12
151
203
  * @param [signal='SIGTERM'] Name of the kill signal to send to the worker process.
152
204
  */
@@ -156,7 +208,7 @@ declare module "cluster" {
156
208
  * In a worker, this function will close all servers, wait for the `'close'` event
157
209
  * on those servers, and then disconnect the IPC channel.
158
210
  *
159
- * In the primary, an internal message is sent to the worker causing it to call`.disconnect()` on itself.
211
+ * In the primary, an internal message is sent to the worker causing it to call `.disconnect()` on itself.
160
212
  *
161
213
  * Causes `.exitedAfterDisconnect` to be set.
162
214
  *
@@ -336,20 +388,114 @@ declare module "cluster" {
336
388
  }
337
389
  export interface Cluster extends EventEmitter {
338
390
  disconnect(callback?: () => void): void;
391
+ /**
392
+ * Spawn a new worker process.
393
+ *
394
+ * This can only be called from the primary process.
395
+ * @param env Key/value pairs to add to worker process environment.
396
+ * @since v0.6.0
397
+ */
339
398
  fork(env?: any): Worker;
340
399
  /** @deprecated since v16.0.0 - use isPrimary. */
341
400
  readonly isMaster: boolean;
401
+ /**
402
+ * True if the process is a primary. This is determined by the `process.env.NODE_UNIQUE_ID`. If `process.env.NODE_UNIQUE_ID`
403
+ * is undefined, then `isPrimary` is `true`.
404
+ * @since v16.0.0
405
+ */
342
406
  readonly isPrimary: boolean;
407
+ /**
408
+ * True if the process is not a primary (it is the negation of `cluster.isPrimary`).
409
+ * @since v0.6.0
410
+ */
343
411
  readonly isWorker: boolean;
412
+ /**
413
+ * The scheduling policy, either `cluster.SCHED_RR` for round-robin or `cluster.SCHED_NONE` to leave it to the operating system. This is a
414
+ * global setting and effectively frozen once either the first worker is spawned, or [`.setupPrimary()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clustersetupprimarysettings)
415
+ * is called, whichever comes first.
416
+ *
417
+ * `SCHED_RR` is the default on all operating systems except Windows. Windows will change to `SCHED_RR` once libuv is able to effectively distribute
418
+ * IOCP handles without incurring a large performance hit.
419
+ *
420
+ * `cluster.schedulingPolicy` can also be set through the `NODE_CLUSTER_SCHED_POLICY` environment variable. Valid values are `'rr'` and `'none'`.
421
+ * @since v0.11.2
422
+ */
344
423
  schedulingPolicy: number;
424
+ /**
425
+ * After calling [`.setupPrimary()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clustersetupprimarysettings)
426
+ * (or [`.fork()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clusterforkenv)) this settings object will contain
427
+ * the settings, including the default values.
428
+ *
429
+ * This object is not intended to be changed or set manually.
430
+ * @since v0.7.1
431
+ */
345
432
  readonly settings: ClusterSettings;
346
- /** @deprecated since v16.0.0 - use setupPrimary. */
433
+ /** @deprecated since v16.0.0 - use [`.setupPrimary()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clustersetupprimarysettings) instead. */
347
434
  setupMaster(settings?: ClusterSettings): void;
348
435
  /**
349
- * `setupPrimary` is used to change the default 'fork' behavior. Once called, the settings will be present in cluster.settings.
436
+ * `setupPrimary` is used to change the default 'fork' behavior. Once called, the settings will be present in `cluster.settings`.
437
+ *
438
+ * Any settings changes only affect future calls to [`.fork()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clusterforkenv)
439
+ * and have no effect on workers that are already running.
440
+ *
441
+ * The only attribute of a worker that cannot be set via `.setupPrimary()` is the `env` passed to
442
+ * [`.fork()`](https://nodejs.org/docs/latest-v20.x/api/cluster.html#clusterforkenv).
443
+ *
444
+ * The defaults above apply to the first call only; the defaults for later calls are the current values at the time of
445
+ * `cluster.setupPrimary()` is called.
446
+ *
447
+ * ```js
448
+ * import cluster from 'node:cluster';
449
+ *
450
+ * cluster.setupPrimary({
451
+ * exec: 'worker.js',
452
+ * args: ['--use', 'https'],
453
+ * silent: true,
454
+ * });
455
+ * cluster.fork(); // https worker
456
+ * cluster.setupPrimary({
457
+ * exec: 'worker.js',
458
+ * args: ['--use', 'http'],
459
+ * });
460
+ * cluster.fork(); // http worker
461
+ * ```
462
+ *
463
+ * This can only be called from the primary process.
464
+ * @since v16.0.0
350
465
  */
351
466
  setupPrimary(settings?: ClusterSettings): void;
467
+ /**
468
+ * A reference to the current worker object. Not available in the primary process.
469
+ *
470
+ * ```js
471
+ * import cluster from 'node:cluster';
472
+ *
473
+ * if (cluster.isPrimary) {
474
+ * console.log('I am primary');
475
+ * cluster.fork();
476
+ * cluster.fork();
477
+ * } else if (cluster.isWorker) {
478
+ * console.log(`I am worker #${cluster.worker.id}`);
479
+ * }
480
+ * ```
481
+ * @since v0.7.0
482
+ */
352
483
  readonly worker?: Worker | undefined;
484
+ /**
485
+ * A hash that stores the active worker objects, keyed by `id` field. This makes it easy to loop through all the workers. It is only available in the primary process.
486
+ *
487
+ * A worker is removed from `cluster.workers` after the worker has disconnected _and_ exited. The order between these two events cannot be determined in advance. However, it
488
+ * is guaranteed that the removal from the `cluster.workers` list happens before the last `'disconnect'` or `'exit'` event is emitted.
489
+ *
490
+ * ```js
491
+ * import cluster from 'node:cluster';
492
+ *
493
+ * for (const worker of Object.values(cluster.workers)) {
494
+ * worker.send('big announcement to all workers');
495
+ * }
496
+ * ```
497
+ * @since v0.7.0
498
+ */
353
499
  readonly workers?: NodeJS.Dict<Worker> | undefined;
354
500
  readonly SCHED_NONE: number;
355
501
  readonly SCHED_RR: number;
@@ -4,12 +4,13 @@
4
4
  *
5
5
  * The module exports two specific components:
6
6
  *
7
- * * A `Console` class with methods such as `console.log()`, `console.error()`, and`console.warn()` that can be used to write to any Node.js stream.
8
- * * A global `console` instance configured to write to `process.stdout` and `process.stderr`. The global `console` can be used without calling`require('node:console')`.
7
+ * * A `Console` class with methods such as `console.log()`, `console.error()`, and `console.warn()` that can be used to write to any Node.js stream.
8
+ * * A global `console` instance configured to write to [`process.stdout`](https://nodejs.org/docs/latest-v20.x/api/process.html#processstdout) and
9
+ * [`process.stderr`](https://nodejs.org/docs/latest-v20.x/api/process.html#processstderr). The global `console` can be used without calling `require('node:console')`.
9
10
  *
10
11
  * _**Warning**_: The global console object's methods are neither consistently
11
12
  * synchronous like the browser APIs they resemble, nor are they consistently
12
- * asynchronous like all other Node.js streams. See the `note on process I/O` for
13
+ * asynchronous like all other Node.js streams. See the [`note on process I/O`](https://nodejs.org/docs/latest-v20.x/api/process.html#a-note-on-process-io) for
13
14
  * more information.
14
15
  *
15
16
  * Example using the global `console`:
@@ -53,7 +54,7 @@
53
54
  * myConsole.warn(`Danger ${name}! Danger!`);
54
55
  * // Prints: Danger Will Robinson! Danger!, to err
55
56
  * ```
56
- * @see [source](https://github.com/nodejs/node/blob/v20.2.0/lib/console.js)
57
+ * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/console.js)
57
58
  */
58
59
  declare module "console" {
59
60
  import console = require("node:console");
@@ -68,7 +69,8 @@ declare module "node:console" {
68
69
  /**
69
70
  * `console.assert()` writes a message if `value` is [falsy](https://developer.mozilla.org/en-US/docs/Glossary/Falsy) or omitted. It only
70
71
  * writes a message and does not otherwise affect execution. The output always
71
- * starts with `"Assertion failed"`. If provided, `message` is formatted using `util.format()`.
72
+ * starts with `"Assertion failed"`. If provided, `message` is formatted using
73
+ * [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args).
72
74
  *
73
75
  * If `value` is [truthy](https://developer.mozilla.org/en-US/docs/Glossary/Truthy), nothing happens.
74
76
  *
@@ -91,7 +93,7 @@ declare module "node:console" {
91
93
  * TTY. When `stdout` is not a TTY, this method does nothing.
92
94
  *
93
95
  * The specific operation of `console.clear()` can vary across operating systems
94
- * and terminal types. For most Linux operating systems, `console.clear()`operates similarly to the `clear` shell command. On Windows, `console.clear()`will clear only the output in the
96
+ * and terminal types. For most Linux operating systems, `console.clear()` operates similarly to the `clear` shell command. On Windows, `console.clear()` will clear only the output in the
95
97
  * current terminal viewport for the Node.js
96
98
  * binary.
97
99
  * @since v8.3.0
@@ -150,7 +152,7 @@ declare module "node:console" {
150
152
  */
151
153
  debug(message?: any, ...optionalParams: any[]): void;
152
154
  /**
153
- * Uses `util.inspect()` on `obj` and prints the resulting string to `stdout`.
155
+ * Uses [`util.inspect()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilinspectobject-options) on `obj` and prints the resulting string to `stdout`.
154
156
  * This function bypasses any custom `inspect()` function defined on `obj`.
155
157
  * @since v0.1.101
156
158
  */
@@ -164,7 +166,8 @@ declare module "node:console" {
164
166
  /**
165
167
  * Prints to `stderr` with newline. Multiple arguments can be passed, with the
166
168
  * first used as the primary message and all additional used as substitution
167
- * values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html) (the arguments are all passed to `util.format()`).
169
+ * values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html)
170
+ * (the arguments are all passed to [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args)).
168
171
  *
169
172
  * ```js
170
173
  * const code = 5;
@@ -174,13 +177,15 @@ declare module "node:console" {
174
177
  * // Prints: error 5, to stderr
175
178
  * ```
176
179
  *
177
- * If formatting elements (e.g. `%d`) are not found in the first string then `util.inspect()` is called on each argument and the resulting string
178
- * values are concatenated. See `util.format()` for more information.
180
+ * If formatting elements (e.g. `%d`) are not found in the first string then
181
+ * [`util.inspect()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilinspectobject-options) is called on each argument and the
182
+ * resulting string values are concatenated. See [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args)
183
+ * for more information.
179
184
  * @since v0.1.100
180
185
  */
181
186
  error(message?: any, ...optionalParams: any[]): void;
182
187
  /**
183
- * Increases indentation of subsequent lines by spaces for `groupIndentation`length.
188
+ * Increases indentation of subsequent lines by spaces for `groupIndentation` length.
184
189
  *
185
190
  * If one or more `label`s are provided, those are printed first without the
186
191
  * additional indentation.
@@ -193,7 +198,7 @@ declare module "node:console" {
193
198
  */
194
199
  groupCollapsed(...label: any[]): void;
195
200
  /**
196
- * Decreases indentation of subsequent lines by spaces for `groupIndentation`length.
201
+ * Decreases indentation of subsequent lines by spaces for `groupIndentation` length.
197
202
  * @since v8.5.0
198
203
  */
199
204
  groupEnd(): void;
@@ -205,7 +210,8 @@ declare module "node:console" {
205
210
  /**
206
211
  * Prints to `stdout` with newline. Multiple arguments can be passed, with the
207
212
  * first used as the primary message and all additional used as substitution
208
- * values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html) (the arguments are all passed to `util.format()`).
213
+ * values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html)
214
+ * (the arguments are all passed to [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args)).
209
215
  *
210
216
  * ```js
211
217
  * const count = 5;
@@ -215,12 +221,12 @@ declare module "node:console" {
215
221
  * // Prints: count: 5, to stdout
216
222
  * ```
217
223
  *
218
- * See `util.format()` for more information.
224
+ * See [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args) for more information.
219
225
  * @since v0.1.100
220
226
  */
221
227
  log(message?: any, ...optionalParams: any[]): void;
222
228
  /**
223
- * Try to construct a table with the columns of the properties of `tabularData`(or use `properties`) and rows of `tabularData` and log it. Falls back to just
229
+ * Try to construct a table with the columns of the properties of `tabularData` (or use `properties`) and rows of `tabularData` and log it. Falls back to just
224
230
  * logging the argument if it can't be parsed as tabular.
225
231
  *
226
232
  * ```js
@@ -291,7 +297,8 @@ declare module "node:console" {
291
297
  */
292
298
  timeLog(label?: string, ...data: any[]): void;
293
299
  /**
294
- * Prints to `stderr` the string `'Trace: '`, followed by the `util.format()` formatted message and stack trace to the current position in the code.
300
+ * Prints to `stderr` the string `'Trace: '`, followed by the [`util.format()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilformatformat-args)
301
+ * formatted message and stack trace to the current position in the code.
295
302
  *
296
303
  * ```js
297
304
  * console.trace('Show me');
@@ -318,18 +325,32 @@ declare module "node:console" {
318
325
  warn(message?: any, ...optionalParams: any[]): void;
319
326
  // --- Inspector mode only ---
320
327
  /**
321
- * This method does not display anything unless used in the inspector.
322
- * Starts a JavaScript CPU profile with an optional label.
328
+ * This method does not display anything unless used in the inspector. The `console.profile()`
329
+ * method starts a JavaScript CPU profile with an optional label until {@link profileEnd}
330
+ * is called. The profile is then added to the Profile panel of the inspector.
331
+ *
332
+ * ```js
333
+ * console.profile('MyLabel');
334
+ * // Some code
335
+ * console.profileEnd('MyLabel');
336
+ * // Adds the profile 'MyLabel' to the Profiles panel of the inspector.
337
+ * ```
338
+ * @since v8.0.0
323
339
  */
324
340
  profile(label?: string): void;
325
341
  /**
326
- * This method does not display anything unless used in the inspector.
327
- * Stops the current JavaScript CPU profiling session if one has been started and prints the report to the Profiles panel of the inspector.
342
+ * This method does not display anything unless used in the inspector. Stops the current
343
+ * JavaScript CPU profiling session if one has been started and prints the report to the
344
+ * Profiles panel of the inspector. See {@link profile} for an example.
345
+ *
346
+ * If this method is called without a label, the most recently started profile is stopped.
347
+ * @since v8.0.0
328
348
  */
329
349
  profileEnd(label?: string): void;
330
350
  /**
331
- * This method does not display anything unless used in the inspector.
332
- * Adds an event with the label `label` to the Timeline panel of the inspector.
351
+ * This method does not display anything unless used in the inspector. The `console.timeStamp()`
352
+ * method adds an event with the label `'label'` to the Timeline panel of the inspector.
353
+ * @since v8.0.0
333
354
  */
334
355
  timeStamp(label?: string): void;
335
356
  }
@@ -339,12 +360,13 @@ declare module "node:console" {
339
360
  *
340
361
  * The module exports two specific components:
341
362
  *
342
- * * A `Console` class with methods such as `console.log()`, `console.error()` and`console.warn()` that can be used to write to any Node.js stream.
343
- * * A global `console` instance configured to write to `process.stdout` and `process.stderr`. The global `console` can be used without calling`require('console')`.
363
+ * * A `Console` class with methods such as `console.log()`, `console.error()` and `console.warn()` that can be used to write to any Node.js stream.
364
+ * * A global `console` instance configured to write to [`process.stdout`](https://nodejs.org/docs/latest-v20.x/api/process.html#processstdout) and
365
+ * [`process.stderr`](https://nodejs.org/docs/latest-v20.x/api/process.html#processstderr). The global `console` can be used without calling `require('console')`.
344
366
  *
345
367
  * _**Warning**_: The global console object's methods are neither consistently
346
368
  * synchronous like the browser APIs they resemble, nor are they consistently
347
- * asynchronous like all other Node.js streams. See the `note on process I/O` for
369
+ * asynchronous like all other Node.js streams. See the [`note on process I/O`](https://nodejs.org/docs/latest-v20.x/api/process.html#a-note-on-process-io) for
348
370
  * more information.
349
371
  *
350
372
  * Example using the global `console`:
@@ -388,17 +410,32 @@ declare module "node:console" {
388
410
  * myConsole.warn(`Danger ${name}! Danger!`);
389
411
  * // Prints: Danger Will Robinson! Danger!, to err
390
412
  * ```
391
- * @see [source](https://github.com/nodejs/node/blob/v16.4.2/lib/console.js)
413
+ * @see [source](https://github.com/nodejs/node/blob/v20.11.1/lib/console.js)
392
414
  */
393
415
  namespace console {
394
416
  interface ConsoleConstructorOptions {
395
417
  stdout: NodeJS.WritableStream;
396
418
  stderr?: NodeJS.WritableStream | undefined;
419
+ /**
420
+ * Ignore errors when writing to the underlying streams.
421
+ * @default true
422
+ */
397
423
  ignoreErrors?: boolean | undefined;
424
+ /**
425
+ * Set color support for this `Console` instance. Setting to true enables coloring while inspecting
426
+ * values. Setting to `false` disables coloring while inspecting values. Setting to `'auto'` makes color
427
+ * support depend on the value of the `isTTY` property and the value returned by `getColorDepth()` on the
428
+ * respective stream. This option can not be used, if `inspectOptions.colors` is set as well.
429
+ * @default auto
430
+ */
398
431
  colorMode?: boolean | "auto" | undefined;
432
+ /**
433
+ * Specifies options that are passed along to
434
+ * [`util.inspect()`](https://nodejs.org/docs/latest-v20.x/api/util.html#utilinspectobject-options).
435
+ */
399
436
  inspectOptions?: InspectOptions | undefined;
400
437
  /**
401
- * Set group indentation
438
+ * Set group indentation.
402
439
  * @default 2
403
440
  */
404
441
  groupIndentation?: number | undefined;