node-red-contrib-tak-registration 0.15.0 → 0.16.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 (374) hide show
  1. package/node_modules/@types/node/README.md +2 -2
  2. package/node_modules/@types/node/assert.d.ts +8 -6
  3. package/node_modules/@types/node/async_hooks.d.ts +26 -6
  4. package/node_modules/@types/node/buffer.d.ts +7 -3
  5. package/node_modules/@types/node/child_process.d.ts +28 -124
  6. package/node_modules/@types/node/cluster.d.ts +15 -15
  7. package/node_modules/@types/node/console.d.ts +17 -17
  8. package/node_modules/@types/node/crypto.d.ts +95 -38
  9. package/node_modules/@types/node/dgram.d.ts +1 -1
  10. package/node_modules/@types/node/diagnostics_channel.d.ts +18 -13
  11. package/node_modules/@types/node/dns/promises.d.ts +36 -9
  12. package/node_modules/@types/node/dns.d.ts +89 -36
  13. package/node_modules/@types/node/domain.d.ts +1 -1
  14. package/node_modules/@types/node/events.d.ts +1 -2
  15. package/node_modules/@types/node/fs/promises.d.ts +67 -40
  16. package/node_modules/@types/node/fs.d.ts +88 -52
  17. package/node_modules/@types/node/globals.d.ts +148 -351
  18. package/node_modules/@types/node/globals.typedarray.d.ts +1 -0
  19. package/node_modules/@types/node/http.d.ts +73 -7
  20. package/node_modules/@types/node/http2.d.ts +88 -15
  21. package/node_modules/@types/node/https.d.ts +1 -1
  22. package/node_modules/@types/node/index.d.ts +13 -6
  23. package/node_modules/@types/node/inspector.d.ts +222 -13
  24. package/node_modules/@types/node/module.d.ts +153 -31
  25. package/node_modules/@types/node/net.d.ts +3 -6
  26. package/node_modules/@types/node/os.d.ts +8 -7
  27. package/node_modules/@types/node/package.json +14 -84
  28. package/node_modules/@types/node/path.d.ts +1 -1
  29. package/node_modules/@types/node/perf_hooks.d.ts +24 -10
  30. package/node_modules/@types/node/process.d.ts +21 -11
  31. package/node_modules/@types/node/punycode.d.ts +1 -1
  32. package/node_modules/@types/node/querystring.d.ts +1 -1
  33. package/node_modules/@types/node/readline/promises.d.ts +0 -1
  34. package/node_modules/@types/node/readline.d.ts +13 -13
  35. package/node_modules/@types/node/repl.d.ts +25 -17
  36. package/node_modules/@types/node/sea.d.ts +1 -1
  37. package/node_modules/@types/node/sqlite.d.ts +209 -3
  38. package/node_modules/@types/node/stream/web.d.ts +8 -0
  39. package/node_modules/@types/node/stream.d.ts +30 -24
  40. package/node_modules/@types/node/string_decoder.d.ts +1 -1
  41. package/node_modules/@types/node/test.d.ts +2029 -1975
  42. package/node_modules/@types/node/timers/promises.d.ts +1 -1
  43. package/node_modules/@types/node/timers.d.ts +1 -3
  44. package/node_modules/@types/node/tls.d.ts +2 -48
  45. package/node_modules/@types/node/trace_events.d.ts +6 -6
  46. package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
  47. package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +1 -0
  48. package/node_modules/@types/node/ts5.6/index.d.ts +15 -6
  49. package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
  50. package/node_modules/@types/node/ts5.7/index.d.ts +101 -0
  51. package/node_modules/@types/node/tty.d.ts +1 -1
  52. package/node_modules/@types/node/url.d.ts +73 -20
  53. package/node_modules/@types/node/util.d.ts +23 -298
  54. package/node_modules/@types/node/v8.d.ts +62 -32
  55. package/node_modules/@types/node/vm.d.ts +132 -24
  56. package/node_modules/@types/node/wasi.d.ts +22 -1
  57. package/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  58. package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  59. package/node_modules/@types/node/web-globals/events.d.ts +94 -0
  60. package/node_modules/@types/node/web-globals/fetch.d.ts +50 -0
  61. package/node_modules/@types/node/web-globals/navigator.d.ts +22 -0
  62. package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
  63. package/node_modules/@types/node/worker_threads.d.ts +85 -26
  64. package/node_modules/@types/node/zlib.d.ts +13 -9
  65. package/node_modules/axios/CHANGELOG.md +99 -0
  66. package/node_modules/axios/README.md +105 -28
  67. package/node_modules/axios/dist/axios.js +395 -292
  68. package/node_modules/axios/dist/axios.js.map +1 -1
  69. package/node_modules/axios/dist/axios.min.js +2 -2
  70. package/node_modules/axios/dist/axios.min.js.map +1 -1
  71. package/node_modules/axios/dist/browser/axios.cjs +333 -219
  72. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  73. package/node_modules/axios/dist/esm/axios.js +333 -219
  74. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  75. package/node_modules/axios/dist/esm/axios.min.js +2 -2
  76. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  77. package/node_modules/axios/dist/node/axios.cjs +424 -219
  78. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  79. package/node_modules/axios/index.d.cts +26 -8
  80. package/node_modules/axios/index.d.ts +14 -5
  81. package/node_modules/axios/lib/adapters/adapters.js +6 -4
  82. package/node_modules/axios/lib/adapters/fetch.js +221 -162
  83. package/node_modules/axios/lib/adapters/http.js +18 -0
  84. package/node_modules/axios/lib/adapters/xhr.js +11 -8
  85. package/node_modules/axios/lib/core/Axios.js +2 -4
  86. package/node_modules/axios/lib/core/AxiosError.js +10 -3
  87. package/node_modules/axios/lib/core/dispatchRequest.js +1 -1
  88. package/node_modules/axios/lib/core/mergeConfig.js +1 -1
  89. package/node_modules/axios/lib/defaults/index.js +1 -1
  90. package/node_modules/axios/lib/env/data.js +1 -1
  91. package/node_modules/axios/lib/helpers/buildURL.js +1 -3
  92. package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +73 -0
  93. package/node_modules/axios/lib/helpers/resolveConfig.js +13 -9
  94. package/node_modules/axios/lib/helpers/throttle.js +1 -1
  95. package/node_modules/axios/lib/helpers/toFormData.js +4 -0
  96. package/node_modules/axios/lib/helpers/toURLEncodedForm.js +4 -3
  97. package/node_modules/axios/lib/utils.js +40 -2
  98. package/node_modules/axios/package.json +30 -15
  99. package/node_modules/bignumber.js/CHANGELOG.md +6 -1
  100. package/node_modules/bignumber.js/README.md +5 -4
  101. package/node_modules/bignumber.js/bignumber.js +2 -2
  102. package/node_modules/bignumber.js/bignumber.mjs +2 -2
  103. package/node_modules/bignumber.js/package.json +1 -1
  104. package/node_modules/fast-xml-parser/CHANGELOG.md +7 -0
  105. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
  106. package/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
  107. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
  108. package/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
  109. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
  110. package/node_modules/fast-xml-parser/package.json +1 -2
  111. package/node_modules/fast-xml-parser/src/cli/cli.js +4 -0
  112. package/node_modules/fast-xml-parser/src/fxp.d.ts +5 -5
  113. package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +3 -3
  114. package/node_modules/follow-redirects/package.json +1 -1
  115. package/node_modules/form-data/CHANGELOG.md +601 -0
  116. package/node_modules/form-data/{Readme.md → README.md} +34 -37
  117. package/node_modules/form-data/lib/browser.js +3 -1
  118. package/node_modules/form-data/lib/form_data.js +126 -135
  119. package/node_modules/form-data/lib/populate.js +5 -5
  120. package/node_modules/form-data/package.json +24 -16
  121. package/node_modules/protobufjs/dist/light/protobuf.js +8 -7
  122. package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  123. package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  124. package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  125. package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
  126. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
  127. package/node_modules/protobufjs/dist/protobuf.js +8 -7
  128. package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  129. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  130. package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  131. package/node_modules/protobufjs/ext/descriptor/index.js +179 -69
  132. package/node_modules/protobufjs/google/protobuf/descriptor.json +660 -17
  133. package/node_modules/protobufjs/google/protobuf/descriptor.proto +255 -6
  134. package/node_modules/protobufjs/package.json +1 -1
  135. package/node_modules/protobufjs/src/namespace.js +3 -1
  136. package/node_modules/protobufjs/src/root.js +3 -4
  137. package/node_modules/undici-types/agent.d.ts +11 -7
  138. package/node_modules/undici-types/api.d.ts +24 -24
  139. package/node_modules/undici-types/balanced-pool.d.ts +11 -11
  140. package/node_modules/undici-types/cache-interceptor.d.ts +172 -0
  141. package/node_modules/undici-types/client-stats.d.ts +15 -0
  142. package/node_modules/undici-types/client.d.ts +18 -16
  143. package/node_modules/undici-types/cookies.d.ts +2 -0
  144. package/node_modules/undici-types/diagnostics-channel.d.ts +19 -10
  145. package/node_modules/undici-types/dispatcher.d.ts +119 -93
  146. package/node_modules/undici-types/env-http-proxy-agent.d.ts +4 -3
  147. package/node_modules/undici-types/errors.d.ts +69 -47
  148. package/node_modules/undici-types/eventsource.d.ts +3 -3
  149. package/node_modules/undici-types/fetch.d.ts +18 -16
  150. package/node_modules/undici-types/formdata.d.ts +7 -7
  151. package/node_modules/undici-types/global-dispatcher.d.ts +4 -4
  152. package/node_modules/undici-types/global-origin.d.ts +5 -5
  153. package/node_modules/undici-types/h2c-client.d.ts +75 -0
  154. package/node_modules/undici-types/handlers.d.ts +8 -8
  155. package/node_modules/undici-types/header.d.ts +157 -1
  156. package/node_modules/undici-types/index.d.ts +51 -47
  157. package/node_modules/undici-types/interceptors.d.ts +25 -8
  158. package/node_modules/undici-types/mock-agent.d.ts +36 -18
  159. package/node_modules/undici-types/mock-call-history.d.ts +111 -0
  160. package/node_modules/undici-types/mock-client.d.ts +6 -4
  161. package/node_modules/undici-types/mock-errors.d.ts +3 -3
  162. package/node_modules/undici-types/mock-interceptor.d.ts +21 -19
  163. package/node_modules/undici-types/mock-pool.d.ts +6 -4
  164. package/node_modules/undici-types/package.json +1 -1
  165. package/node_modules/undici-types/patch.d.ts +0 -4
  166. package/node_modules/undici-types/pool-stats.d.ts +8 -8
  167. package/node_modules/undici-types/pool.d.ts +14 -12
  168. package/node_modules/undici-types/proxy-agent.d.ts +5 -4
  169. package/node_modules/undici-types/readable.d.ts +18 -15
  170. package/node_modules/undici-types/retry-agent.d.ts +1 -1
  171. package/node_modules/undici-types/retry-handler.d.ts +19 -10
  172. package/node_modules/undici-types/util.d.ts +3 -3
  173. package/node_modules/undici-types/utility.d.ts +7 -0
  174. package/node_modules/undici-types/webidl.d.ts +50 -8
  175. package/node_modules/undici-types/websocket.d.ts +36 -2
  176. package/node_modules/uuid/README.md +8 -19
  177. package/node_modules/uuid/dist/{esm-browser/uuid-bin.js → uuid-bin.js} +1 -1
  178. package/node_modules/uuid/dist/{esm-browser/v4.js → v4.js} +7 -4
  179. package/node_modules/uuid/{dist/esm → dist-node}/md5.js +1 -1
  180. package/node_modules/uuid/dist-node/native.js +2 -0
  181. package/node_modules/uuid/{dist/esm → dist-node}/rng.js +1 -1
  182. package/node_modules/uuid/{dist/esm → dist-node}/sha1.js +1 -1
  183. package/node_modules/uuid/{dist/esm → dist-node}/uuid-bin.js +1 -1
  184. package/node_modules/uuid/{dist/esm → dist-node}/v4.js +7 -4
  185. package/node_modules/uuid/package.json +28 -41
  186. package/package.json +6 -6
  187. package/tak-registration.bak +557 -0
  188. package/tak-registration.js +14 -12
  189. package/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  190. package/node_modules/@types/node/compatibility/index.d.ts +0 -9
  191. package/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  192. package/node_modules/@types/node/dom-events.d.ts +0 -124
  193. package/node_modules/undici-types/file.d.ts +0 -39
  194. package/node_modules/undici-types/filereader.d.ts +0 -54
  195. package/node_modules/uuid/dist/cjs/index.d.ts +0 -15
  196. package/node_modules/uuid/dist/cjs/index.js +0 -31
  197. package/node_modules/uuid/dist/cjs/max.d.ts +0 -2
  198. package/node_modules/uuid/dist/cjs/max.js +0 -3
  199. package/node_modules/uuid/dist/cjs/md5.d.ts +0 -4
  200. package/node_modules/uuid/dist/cjs/md5.js +0 -13
  201. package/node_modules/uuid/dist/cjs/native.d.ts +0 -6
  202. package/node_modules/uuid/dist/cjs/native.js +0 -4
  203. package/node_modules/uuid/dist/cjs/nil.d.ts +0 -2
  204. package/node_modules/uuid/dist/cjs/nil.js +0 -3
  205. package/node_modules/uuid/dist/cjs/package.json +0 -1
  206. package/node_modules/uuid/dist/cjs/parse.d.ts +0 -2
  207. package/node_modules/uuid/dist/cjs/parse.js +0 -11
  208. package/node_modules/uuid/dist/cjs/regex.d.ts +0 -2
  209. package/node_modules/uuid/dist/cjs/regex.js +0 -3
  210. package/node_modules/uuid/dist/cjs/rng.d.ts +0 -1
  211. package/node_modules/uuid/dist/cjs/rng.js +0 -13
  212. package/node_modules/uuid/dist/cjs/sha1.d.ts +0 -4
  213. package/node_modules/uuid/dist/cjs/sha1.js +0 -13
  214. package/node_modules/uuid/dist/cjs/stringify.d.ts +0 -3
  215. package/node_modules/uuid/dist/cjs/stringify.js +0 -39
  216. package/node_modules/uuid/dist/cjs/types.d.ts +0 -21
  217. package/node_modules/uuid/dist/cjs/types.js +0 -2
  218. package/node_modules/uuid/dist/cjs/uuid-bin.d.ts +0 -1
  219. package/node_modules/uuid/dist/cjs/uuid-bin.js +0 -72
  220. package/node_modules/uuid/dist/cjs/v1.d.ts +0 -11
  221. package/node_modules/uuid/dist/cjs/v1.js +0 -87
  222. package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +0 -2
  223. package/node_modules/uuid/dist/cjs/v1ToV6.js +0 -13
  224. package/node_modules/uuid/dist/cjs/v3.d.ts +0 -9
  225. package/node_modules/uuid/dist/cjs/v3.js +0 -14
  226. package/node_modules/uuid/dist/cjs/v35.d.ts +0 -7
  227. package/node_modules/uuid/dist/cjs/v35.js +0 -41
  228. package/node_modules/uuid/dist/cjs/v4.d.ts +0 -4
  229. package/node_modules/uuid/dist/cjs/v4.js +0 -29
  230. package/node_modules/uuid/dist/cjs/v5.d.ts +0 -9
  231. package/node_modules/uuid/dist/cjs/v5.js +0 -14
  232. package/node_modules/uuid/dist/cjs/v6.d.ts +0 -4
  233. package/node_modules/uuid/dist/cjs/v6.js +0 -19
  234. package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +0 -2
  235. package/node_modules/uuid/dist/cjs/v6ToV1.js +0 -13
  236. package/node_modules/uuid/dist/cjs/v7.d.ts +0 -9
  237. package/node_modules/uuid/dist/cjs/v7.js +0 -69
  238. package/node_modules/uuid/dist/cjs/validate.d.ts +0 -2
  239. package/node_modules/uuid/dist/cjs/validate.js +0 -7
  240. package/node_modules/uuid/dist/cjs/version.d.ts +0 -2
  241. package/node_modules/uuid/dist/cjs/version.js +0 -10
  242. package/node_modules/uuid/dist/cjs-browser/index.js +0 -31
  243. package/node_modules/uuid/dist/cjs-browser/max.js +0 -3
  244. package/node_modules/uuid/dist/cjs-browser/md5.js +0 -137
  245. package/node_modules/uuid/dist/cjs-browser/native.js +0 -4
  246. package/node_modules/uuid/dist/cjs-browser/nil.js +0 -3
  247. package/node_modules/uuid/dist/cjs-browser/package.json +0 -1
  248. package/node_modules/uuid/dist/cjs-browser/parse.js +0 -11
  249. package/node_modules/uuid/dist/cjs-browser/regex.js +0 -3
  250. package/node_modules/uuid/dist/cjs-browser/rng.js +0 -14
  251. package/node_modules/uuid/dist/cjs-browser/sha1.js +0 -72
  252. package/node_modules/uuid/dist/cjs-browser/stringify.js +0 -39
  253. package/node_modules/uuid/dist/cjs-browser/types.js +0 -2
  254. package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +0 -72
  255. package/node_modules/uuid/dist/cjs-browser/v1.js +0 -87
  256. package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +0 -13
  257. package/node_modules/uuid/dist/cjs-browser/v3.js +0 -14
  258. package/node_modules/uuid/dist/cjs-browser/v35.js +0 -41
  259. package/node_modules/uuid/dist/cjs-browser/v4.js +0 -29
  260. package/node_modules/uuid/dist/cjs-browser/v5.js +0 -14
  261. package/node_modules/uuid/dist/cjs-browser/v6.js +0 -19
  262. package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +0 -13
  263. package/node_modules/uuid/dist/cjs-browser/v7.js +0 -69
  264. package/node_modules/uuid/dist/cjs-browser/validate.js +0 -7
  265. package/node_modules/uuid/dist/cjs-browser/version.js +0 -10
  266. package/node_modules/uuid/dist/esm/index.d.ts +0 -15
  267. package/node_modules/uuid/dist/esm/max.d.ts +0 -2
  268. package/node_modules/uuid/dist/esm/md5.d.ts +0 -4
  269. package/node_modules/uuid/dist/esm/native.d.ts +0 -6
  270. package/node_modules/uuid/dist/esm/native.js +0 -2
  271. package/node_modules/uuid/dist/esm/nil.d.ts +0 -2
  272. package/node_modules/uuid/dist/esm/parse.d.ts +0 -2
  273. package/node_modules/uuid/dist/esm/regex.d.ts +0 -2
  274. package/node_modules/uuid/dist/esm/rng.d.ts +0 -1
  275. package/node_modules/uuid/dist/esm/sha1.d.ts +0 -4
  276. package/node_modules/uuid/dist/esm/stringify.d.ts +0 -3
  277. package/node_modules/uuid/dist/esm/types.d.ts +0 -21
  278. package/node_modules/uuid/dist/esm/uuid-bin.d.ts +0 -1
  279. package/node_modules/uuid/dist/esm/v1.d.ts +0 -11
  280. package/node_modules/uuid/dist/esm/v1ToV6.d.ts +0 -2
  281. package/node_modules/uuid/dist/esm/v3.d.ts +0 -9
  282. package/node_modules/uuid/dist/esm/v35.d.ts +0 -7
  283. package/node_modules/uuid/dist/esm/v4.d.ts +0 -4
  284. package/node_modules/uuid/dist/esm/v5.d.ts +0 -9
  285. package/node_modules/uuid/dist/esm/v6.d.ts +0 -4
  286. package/node_modules/uuid/dist/esm/v6ToV1.d.ts +0 -2
  287. package/node_modules/uuid/dist/esm/v7.d.ts +0 -9
  288. package/node_modules/uuid/dist/esm/validate.d.ts +0 -2
  289. package/node_modules/uuid/dist/esm/version.d.ts +0 -2
  290. package/node_modules/uuid/dist/esm-browser/index.d.ts +0 -15
  291. package/node_modules/uuid/dist/esm-browser/max.d.ts +0 -2
  292. package/node_modules/uuid/dist/esm-browser/md5.d.ts +0 -2
  293. package/node_modules/uuid/dist/esm-browser/native.d.ts +0 -4
  294. package/node_modules/uuid/dist/esm-browser/nil.d.ts +0 -2
  295. package/node_modules/uuid/dist/esm-browser/parse.d.ts +0 -2
  296. package/node_modules/uuid/dist/esm-browser/regex.d.ts +0 -2
  297. package/node_modules/uuid/dist/esm-browser/rng.d.ts +0 -1
  298. package/node_modules/uuid/dist/esm-browser/sha1.d.ts +0 -2
  299. package/node_modules/uuid/dist/esm-browser/stringify.d.ts +0 -3
  300. package/node_modules/uuid/dist/esm-browser/types.d.ts +0 -21
  301. package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +0 -1
  302. package/node_modules/uuid/dist/esm-browser/v1.d.ts +0 -11
  303. package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +0 -2
  304. package/node_modules/uuid/dist/esm-browser/v3.d.ts +0 -9
  305. package/node_modules/uuid/dist/esm-browser/v35.d.ts +0 -7
  306. package/node_modules/uuid/dist/esm-browser/v4.d.ts +0 -4
  307. package/node_modules/uuid/dist/esm-browser/v5.d.ts +0 -9
  308. package/node_modules/uuid/dist/esm-browser/v6.d.ts +0 -4
  309. package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +0 -2
  310. package/node_modules/uuid/dist/esm-browser/v7.d.ts +0 -9
  311. package/node_modules/uuid/dist/esm-browser/validate.d.ts +0 -2
  312. package/node_modules/uuid/dist/esm-browser/version.d.ts +0 -2
  313. /package/node_modules/uuid/dist/{cjs-browser/index.d.ts → index.d.ts} +0 -0
  314. /package/node_modules/uuid/dist/{esm/index.js → index.js} +0 -0
  315. /package/node_modules/uuid/dist/{cjs-browser/max.d.ts → max.d.ts} +0 -0
  316. /package/node_modules/uuid/dist/{esm/max.js → max.js} +0 -0
  317. /package/node_modules/uuid/dist/{cjs-browser/md5.d.ts → md5.d.ts} +0 -0
  318. /package/node_modules/uuid/dist/{esm-browser/md5.js → md5.js} +0 -0
  319. /package/node_modules/uuid/dist/{cjs-browser/native.d.ts → native.d.ts} +0 -0
  320. /package/node_modules/uuid/dist/{esm-browser/native.js → native.js} +0 -0
  321. /package/node_modules/uuid/dist/{cjs-browser/nil.d.ts → nil.d.ts} +0 -0
  322. /package/node_modules/uuid/dist/{esm/nil.js → nil.js} +0 -0
  323. /package/node_modules/uuid/dist/{cjs-browser/parse.d.ts → parse.d.ts} +0 -0
  324. /package/node_modules/uuid/dist/{esm/parse.js → parse.js} +0 -0
  325. /package/node_modules/uuid/dist/{cjs-browser/regex.d.ts → regex.d.ts} +0 -0
  326. /package/node_modules/uuid/dist/{esm/regex.js → regex.js} +0 -0
  327. /package/node_modules/uuid/dist/{cjs-browser/rng.d.ts → rng.d.ts} +0 -0
  328. /package/node_modules/uuid/dist/{esm-browser/rng.js → rng.js} +0 -0
  329. /package/node_modules/uuid/dist/{cjs-browser/sha1.d.ts → sha1.d.ts} +0 -0
  330. /package/node_modules/uuid/dist/{esm-browser/sha1.js → sha1.js} +0 -0
  331. /package/node_modules/uuid/dist/{cjs-browser/stringify.d.ts → stringify.d.ts} +0 -0
  332. /package/node_modules/uuid/dist/{esm/stringify.js → stringify.js} +0 -0
  333. /package/node_modules/uuid/dist/{cjs-browser/types.d.ts → types.d.ts} +0 -0
  334. /package/node_modules/uuid/dist/{esm/types.js → types.js} +0 -0
  335. /package/node_modules/uuid/dist/{cjs-browser/uuid-bin.d.ts → uuid-bin.d.ts} +0 -0
  336. /package/node_modules/uuid/dist/{cjs-browser/v1.d.ts → v1.d.ts} +0 -0
  337. /package/node_modules/uuid/dist/{esm/v1.js → v1.js} +0 -0
  338. /package/node_modules/uuid/dist/{cjs-browser/v1ToV6.d.ts → v1ToV6.d.ts} +0 -0
  339. /package/node_modules/uuid/dist/{esm/v1ToV6.js → v1ToV6.js} +0 -0
  340. /package/node_modules/uuid/dist/{cjs-browser/v3.d.ts → v3.d.ts} +0 -0
  341. /package/node_modules/uuid/dist/{esm/v3.js → v3.js} +0 -0
  342. /package/node_modules/uuid/dist/{cjs-browser/v35.d.ts → v35.d.ts} +0 -0
  343. /package/node_modules/uuid/dist/{esm/v35.js → v35.js} +0 -0
  344. /package/node_modules/uuid/dist/{cjs-browser/v4.d.ts → v4.d.ts} +0 -0
  345. /package/node_modules/uuid/dist/{cjs-browser/v5.d.ts → v5.d.ts} +0 -0
  346. /package/node_modules/uuid/dist/{esm/v5.js → v5.js} +0 -0
  347. /package/node_modules/uuid/dist/{cjs-browser/v6.d.ts → v6.d.ts} +0 -0
  348. /package/node_modules/uuid/dist/{esm/v6.js → v6.js} +0 -0
  349. /package/node_modules/uuid/dist/{cjs-browser/v6ToV1.d.ts → v6ToV1.d.ts} +0 -0
  350. /package/node_modules/uuid/dist/{esm/v6ToV1.js → v6ToV1.js} +0 -0
  351. /package/node_modules/uuid/dist/{cjs-browser/v7.d.ts → v7.d.ts} +0 -0
  352. /package/node_modules/uuid/dist/{esm/v7.js → v7.js} +0 -0
  353. /package/node_modules/uuid/dist/{cjs-browser/validate.d.ts → validate.d.ts} +0 -0
  354. /package/node_modules/uuid/dist/{esm/validate.js → validate.js} +0 -0
  355. /package/node_modules/uuid/dist/{cjs-browser/version.d.ts → version.d.ts} +0 -0
  356. /package/node_modules/uuid/dist/{esm/version.js → version.js} +0 -0
  357. /package/node_modules/uuid/{dist/esm → dist-node}/bin/uuid +0 -0
  358. /package/node_modules/uuid/{dist/esm-browser → dist-node}/index.js +0 -0
  359. /package/node_modules/uuid/{dist/esm-browser → dist-node}/max.js +0 -0
  360. /package/node_modules/uuid/{dist/esm-browser → dist-node}/nil.js +0 -0
  361. /package/node_modules/uuid/{dist/esm-browser → dist-node}/parse.js +0 -0
  362. /package/node_modules/uuid/{dist/esm-browser → dist-node}/regex.js +0 -0
  363. /package/node_modules/uuid/{dist/esm-browser → dist-node}/stringify.js +0 -0
  364. /package/node_modules/uuid/{dist/esm-browser → dist-node}/types.js +0 -0
  365. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v1.js +0 -0
  366. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v1ToV6.js +0 -0
  367. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v3.js +0 -0
  368. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v35.js +0 -0
  369. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v5.js +0 -0
  370. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v6.js +0 -0
  371. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v6ToV1.js +0 -0
  372. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v7.js +0 -0
  373. /package/node_modules/uuid/{dist/esm-browser → dist-node}/validate.js +0 -0
  374. /package/node_modules/uuid/{dist/esm-browser → dist-node}/version.js +0 -0
@@ -2,9 +2,35 @@ syntax = "proto2";
2
2
 
3
3
  package google.protobuf;
4
4
 
5
+ option go_package = "google.golang.org/protobuf/types/descriptorpb";
6
+ option java_package = "com.google.protobuf";
7
+ option java_outer_classname = "DescriptorProtos";
8
+ option csharp_namespace = "Google.Protobuf.Reflection";
9
+ option objc_class_prefix = "GPB";
10
+ option cc_enable_arenas = true;
11
+ option optimize_for = "SPEED";
12
+
5
13
  message FileDescriptorSet {
6
14
 
7
15
  repeated FileDescriptorProto file = 1;
16
+
17
+ extensions 536000000;
18
+ }
19
+
20
+ enum Edition {
21
+
22
+ EDITION_UNKNOWN = 0;
23
+ EDITION_LEGACY = 900;
24
+ EDITION_PROTO2 = 998;
25
+ EDITION_PROTO3 = 999;
26
+ EDITION_2023 = 1000;
27
+ EDITION_2024 = 1001;
28
+ EDITION_1_TEST_ONLY = 1;
29
+ EDITION_2_TEST_ONLY = 2;
30
+ EDITION_99997_TEST_ONLY = 99997;
31
+ EDITION_99998_TEST_ONLY = 99998;
32
+ EDITION_99999_TEST_ONLY = 99999;
33
+ EDITION_MAX = 2147483647;
8
34
  }
9
35
 
10
36
  message FileDescriptorProto {
@@ -14,6 +40,7 @@ message FileDescriptorProto {
14
40
  repeated string dependency = 3;
15
41
  repeated int32 public_dependency = 10;
16
42
  repeated int32 weak_dependency = 11;
43
+ repeated string option_dependency = 15;
17
44
  repeated DescriptorProto message_type = 4;
18
45
  repeated EnumDescriptorProto enum_type = 5;
19
46
  repeated ServiceDescriptorProto service = 6;
@@ -21,6 +48,7 @@ message FileDescriptorProto {
21
48
  optional FileOptions options = 8;
22
49
  optional SourceCodeInfo source_code_info = 9;
23
50
  optional string syntax = 12;
51
+ optional Edition edition = 14;
24
52
  }
25
53
 
26
54
  message DescriptorProto {
@@ -35,11 +63,13 @@ message DescriptorProto {
35
63
  optional MessageOptions options = 7;
36
64
  repeated ReservedRange reserved_range = 9;
37
65
  repeated string reserved_name = 10;
66
+ optional SymbolVisibility visibility = 11;
38
67
 
39
68
  message ExtensionRange {
40
69
 
41
70
  optional int32 start = 1;
42
71
  optional int32 end = 2;
72
+ optional ExtensionRangeOptions options = 3;
43
73
  }
44
74
 
45
75
  message ReservedRange {
@@ -49,6 +79,33 @@ message DescriptorProto {
49
79
  }
50
80
  }
51
81
 
82
+ message ExtensionRangeOptions {
83
+
84
+ repeated UninterpretedOption uninterpreted_option = 999;
85
+ repeated Declaration declaration = 2 [retention="RETENTION_SOURCE"];
86
+ optional FeatureSet features = 50;
87
+ optional VerificationState verification = 3 [default=UNVERIFIED, retention="RETENTION_SOURCE"];
88
+
89
+ message Declaration {
90
+
91
+ optional int32 number = 1;
92
+ optional string full_name = 2;
93
+ optional string type = 3;
94
+ optional bool reserved = 5;
95
+ optional bool repeated = 6;
96
+
97
+ reserved 4;
98
+ }
99
+
100
+ enum VerificationState {
101
+
102
+ DECLARATION = 0;
103
+ UNVERIFIED = 1;
104
+ }
105
+
106
+ extensions 1000 to max;
107
+ }
108
+
52
109
  message FieldDescriptorProto {
53
110
 
54
111
  optional string name = 1;
@@ -61,6 +118,7 @@ message FieldDescriptorProto {
61
118
  optional int32 oneof_index = 9;
62
119
  optional string json_name = 10;
63
120
  optional FieldOptions options = 8;
121
+ optional bool proto3_optional = 17;
64
122
 
65
123
  enum Type {
66
124
 
@@ -87,8 +145,8 @@ message FieldDescriptorProto {
87
145
  enum Label {
88
146
 
89
147
  LABEL_OPTIONAL = 1;
90
- LABEL_REQUIRED = 2;
91
148
  LABEL_REPEATED = 3;
149
+ LABEL_REQUIRED = 2;
92
150
  }
93
151
  }
94
152
 
@@ -103,6 +161,15 @@ message EnumDescriptorProto {
103
161
  optional string name = 1;
104
162
  repeated EnumValueDescriptorProto value = 2;
105
163
  optional EnumOptions options = 3;
164
+ repeated EnumReservedRange reserved_range = 4;
165
+ repeated string reserved_name = 5;
166
+ optional SymbolVisibility visibility = 6;
167
+
168
+ message EnumReservedRange {
169
+
170
+ optional int32 start = 1;
171
+ optional int32 end = 2;
172
+ }
106
173
  }
107
174
 
108
175
  message EnumValueDescriptorProto {
@@ -142,9 +209,15 @@ message FileOptions {
142
209
  optional bool java_generic_services = 17;
143
210
  optional bool py_generic_services = 18;
144
211
  optional bool deprecated = 23;
145
- optional bool cc_enable_arenas = 31;
212
+ optional bool cc_enable_arenas = 31 [default=true];
146
213
  optional string objc_class_prefix = 36;
147
214
  optional string csharp_namespace = 37;
215
+ optional string swift_prefix = 39;
216
+ optional string php_class_prefix = 40;
217
+ optional string php_namespace = 41;
218
+ optional string php_metadata_namespace = 44;
219
+ optional string ruby_package = 45;
220
+ optional FeatureSet features = 50;
148
221
  repeated UninterpretedOption uninterpreted_option = 999;
149
222
 
150
223
  enum OptimizeMode {
@@ -156,7 +229,8 @@ message FileOptions {
156
229
 
157
230
  extensions 1000 to max;
158
231
 
159
- reserved 38;
232
+ reserved 42, 38;
233
+ reserved "php_generic_services";
160
234
  }
161
235
 
162
236
  message MessageOptions {
@@ -165,11 +239,13 @@ message MessageOptions {
165
239
  optional bool no_standard_descriptor_accessor = 2;
166
240
  optional bool deprecated = 3;
167
241
  optional bool map_entry = 7;
242
+ optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated=true];
243
+ optional FeatureSet features = 12;
168
244
  repeated UninterpretedOption uninterpreted_option = 999;
169
245
 
170
246
  extensions 1000 to max;
171
247
 
172
- reserved 8;
248
+ reserved 4, 5, 6, 8, 9;
173
249
  }
174
250
 
175
251
  message FieldOptions {
@@ -178,8 +254,15 @@ message FieldOptions {
178
254
  optional bool packed = 2;
179
255
  optional JSType jstype = 6 [default=JS_NORMAL];
180
256
  optional bool lazy = 5;
257
+ optional bool unverified_lazy = 15;
181
258
  optional bool deprecated = 3;
182
- optional bool weak = 10;
259
+ optional bool weak = 10 [deprecated=true];
260
+ optional bool debug_redact = 16;
261
+ optional OptionRetention retention = 17;
262
+ repeated OptionTargetType targets = 19;
263
+ repeated EditionDefault edition_defaults = 20;
264
+ optional FeatureSet features = 21;
265
+ optional FeatureSupport feature_support = 22;
183
266
  repeated UninterpretedOption uninterpreted_option = 999;
184
267
 
185
268
  enum CType {
@@ -196,13 +279,49 @@ message FieldOptions {
196
279
  JS_NUMBER = 2;
197
280
  }
198
281
 
282
+ enum OptionRetention {
283
+
284
+ RETENTION_UNKNOWN = 0;
285
+ RETENTION_RUNTIME = 1;
286
+ RETENTION_SOURCE = 2;
287
+ }
288
+
289
+ enum OptionTargetType {
290
+
291
+ TARGET_TYPE_UNKNOWN = 0;
292
+ TARGET_TYPE_FILE = 1;
293
+ TARGET_TYPE_EXTENSION_RANGE = 2;
294
+ TARGET_TYPE_MESSAGE = 3;
295
+ TARGET_TYPE_FIELD = 4;
296
+ TARGET_TYPE_ONEOF = 5;
297
+ TARGET_TYPE_ENUM = 6;
298
+ TARGET_TYPE_ENUM_ENTRY = 7;
299
+ TARGET_TYPE_SERVICE = 8;
300
+ TARGET_TYPE_METHOD = 9;
301
+ }
302
+
303
+ message EditionDefault {
304
+
305
+ optional Edition edition = 3;
306
+ optional string value = 2;
307
+ }
308
+
309
+ message FeatureSupport {
310
+
311
+ optional Edition edition_introduced = 1;
312
+ optional Edition edition_deprecated = 2;
313
+ optional string deprecation_warning = 3;
314
+ optional Edition edition_removed = 4;
315
+ }
316
+
199
317
  extensions 1000 to max;
200
318
 
201
- reserved 4;
319
+ reserved 4, 18;
202
320
  }
203
321
 
204
322
  message OneofOptions {
205
323
 
324
+ optional FeatureSet features = 1;
206
325
  repeated UninterpretedOption uninterpreted_option = 999;
207
326
 
208
327
  extensions 1000 to max;
@@ -212,14 +331,21 @@ message EnumOptions {
212
331
 
213
332
  optional bool allow_alias = 2;
214
333
  optional bool deprecated = 3;
334
+ optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated=true];
335
+ optional FeatureSet features = 7;
215
336
  repeated UninterpretedOption uninterpreted_option = 999;
216
337
 
217
338
  extensions 1000 to max;
339
+
340
+ reserved 5;
218
341
  }
219
342
 
220
343
  message EnumValueOptions {
221
344
 
222
345
  optional bool deprecated = 1;
346
+ optional FeatureSet features = 2;
347
+ optional bool debug_redact = 3;
348
+ optional FieldOptions.FeatureSupport feature_support = 4;
223
349
  repeated UninterpretedOption uninterpreted_option = 999;
224
350
 
225
351
  extensions 1000 to max;
@@ -227,6 +353,7 @@ message EnumValueOptions {
227
353
 
228
354
  message ServiceOptions {
229
355
 
356
+ optional FeatureSet features = 34;
230
357
  optional bool deprecated = 33;
231
358
  repeated UninterpretedOption uninterpreted_option = 999;
232
359
 
@@ -236,8 +363,17 @@ message ServiceOptions {
236
363
  message MethodOptions {
237
364
 
238
365
  optional bool deprecated = 33;
366
+ optional IdempotencyLevel idempotency_level = 34 [default=IDEMPOTENCY_UNKNOWN];
367
+ optional FeatureSet features = 35;
239
368
  repeated UninterpretedOption uninterpreted_option = 999;
240
369
 
370
+ enum IdempotencyLevel {
371
+
372
+ IDEMPOTENCY_UNKNOWN = 0;
373
+ NO_SIDE_EFFECTS = 1;
374
+ IDEMPOTENT = 2;
375
+ }
376
+
241
377
  extensions 1000 to max;
242
378
  }
243
379
 
@@ -258,6 +394,102 @@ message UninterpretedOption {
258
394
  }
259
395
  }
260
396
 
397
+ message FeatureSet {
398
+
399
+ optional FieldPresence field_presence = 1 [retention="RETENTION_RUNTIME", targets="TARGET_TYPE_FILE", feature_support.edition_introduced="EDITION_2023", edition_defaults.edition="EDITION_2023", edition_defaults.value="EXPLICIT"];
400
+ optional EnumType enum_type = 2 [retention="RETENTION_RUNTIME", targets="TARGET_TYPE_FILE", feature_support.edition_introduced="EDITION_2023", edition_defaults.edition="EDITION_PROTO3", edition_defaults.value="OPEN"];
401
+ optional RepeatedFieldEncoding repeated_field_encoding = 3 [retention="RETENTION_RUNTIME", targets="TARGET_TYPE_FILE", feature_support.edition_introduced="EDITION_2023", edition_defaults.edition="EDITION_PROTO3", edition_defaults.value="PACKED"];
402
+ optional Utf8Validation utf8_validation = 4 [retention="RETENTION_RUNTIME", targets="TARGET_TYPE_FILE", feature_support.edition_introduced="EDITION_2023", edition_defaults.edition="EDITION_PROTO3", edition_defaults.value="VERIFY"];
403
+ optional MessageEncoding message_encoding = 5 [retention="RETENTION_RUNTIME", targets="TARGET_TYPE_FILE", feature_support.edition_introduced="EDITION_2023", edition_defaults.edition="EDITION_LEGACY", edition_defaults.value="LENGTH_PREFIXED"];
404
+ optional JsonFormat json_format = 6 [retention="RETENTION_RUNTIME", targets="TARGET_TYPE_FILE", feature_support.edition_introduced="EDITION_2023", edition_defaults.edition="EDITION_PROTO3", edition_defaults.value="ALLOW"];
405
+ optional EnforceNamingStyle enforce_naming_style = 7 [retention="RETENTION_SOURCE", targets="TARGET_TYPE_METHOD", feature_support.edition_introduced="EDITION_2024", edition_defaults.edition="EDITION_2024", edition_defaults.value="STYLE2024"];
406
+ optional VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8 [retention="RETENTION_SOURCE", targets="TARGET_TYPE_FILE", feature_support.edition_introduced="EDITION_2024", edition_defaults.edition="EDITION_2024", edition_defaults.value="EXPORT_TOP_LEVEL"];
407
+
408
+ enum FieldPresence {
409
+
410
+ FIELD_PRESENCE_UNKNOWN = 0;
411
+ EXPLICIT = 1;
412
+ IMPLICIT = 2;
413
+ LEGACY_REQUIRED = 3;
414
+ }
415
+
416
+ enum EnumType {
417
+
418
+ ENUM_TYPE_UNKNOWN = 0;
419
+ OPEN = 1;
420
+ CLOSED = 2;
421
+ }
422
+
423
+ enum RepeatedFieldEncoding {
424
+
425
+ REPEATED_FIELD_ENCODING_UNKNOWN = 0;
426
+ PACKED = 1;
427
+ EXPANDED = 2;
428
+ }
429
+
430
+ enum Utf8Validation {
431
+
432
+ UTF8_VALIDATION_UNKNOWN = 0;
433
+ VERIFY = 2;
434
+ NONE = 3;
435
+ }
436
+
437
+ enum MessageEncoding {
438
+
439
+ MESSAGE_ENCODING_UNKNOWN = 0;
440
+ LENGTH_PREFIXED = 1;
441
+ DELIMITED = 2;
442
+ }
443
+
444
+ enum JsonFormat {
445
+
446
+ JSON_FORMAT_UNKNOWN = 0;
447
+ ALLOW = 1;
448
+ LEGACY_BEST_EFFORT = 2;
449
+ }
450
+
451
+ enum EnforceNamingStyle {
452
+
453
+ ENFORCE_NAMING_STYLE_UNKNOWN = 0;
454
+ STYLE2024 = 1;
455
+ STYLE_LEGACY = 2;
456
+ }
457
+
458
+ message VisibilityFeature {
459
+
460
+ enum DefaultSymbolVisibility {
461
+
462
+ DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0;
463
+ EXPORT_ALL = 1;
464
+ EXPORT_TOP_LEVEL = 2;
465
+ LOCAL_ALL = 3;
466
+ STRICT = 4;
467
+ }
468
+
469
+ reserved 1 to max;
470
+ }
471
+
472
+ extensions 1000 to 9994, 9995 to 9999, 10000;
473
+
474
+ reserved 999;
475
+ }
476
+
477
+ message FeatureSetDefaults {
478
+
479
+ repeated FeatureSetEditionDefault defaults = 1;
480
+ optional Edition minimum_edition = 4;
481
+ optional Edition maximum_edition = 5;
482
+
483
+ message FeatureSetEditionDefault {
484
+
485
+ optional Edition edition = 3;
486
+ optional FeatureSet overridable_features = 4;
487
+ optional FeatureSet fixed_features = 5;
488
+
489
+ reserved 1, 2, "features";
490
+ }
491
+ }
492
+
261
493
  message SourceCodeInfo {
262
494
 
263
495
  repeated Location location = 1;
@@ -270,6 +502,8 @@ message SourceCodeInfo {
270
502
  optional string trailing_comments = 4;
271
503
  repeated string leading_detached_comments = 6;
272
504
  }
505
+
506
+ extensions 536000000;
273
507
  }
274
508
 
275
509
  message GeneratedCodeInfo {
@@ -282,5 +516,20 @@ message GeneratedCodeInfo {
282
516
  optional string source_file = 2;
283
517
  optional int32 begin = 3;
284
518
  optional int32 end = 4;
519
+ optional Semantic semantic = 5;
520
+
521
+ enum Semantic {
522
+
523
+ NONE = 0;
524
+ SET = 1;
525
+ ALIAS = 2;
526
+ }
285
527
  }
286
528
  }
529
+
530
+ enum SymbolVisibility {
531
+
532
+ VISIBILITY_UNSET = 0;
533
+ VISIBILITY_LOCAL = 1;
534
+ VISIBILITY_EXPORT = 2;
535
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobufjs",
3
- "version": "7.5.2",
3
+ "version": "7.5.4",
4
4
  "versionScheme": "~",
5
5
  "description": "Protocol Buffers for JavaScript (& TypeScript).",
6
6
  "author": "Daniel Wirtz <dcode+protobufjs@dcode.io>",
@@ -352,6 +352,8 @@ Namespace.prototype.define = function define(path, json) {
352
352
  Namespace.prototype.resolveAll = function resolveAll() {
353
353
  if (!this._needsRecursiveResolve) return this;
354
354
 
355
+ this._resolveFeaturesRecursive(this._edition);
356
+
355
357
  var nested = this.nestedArray, i = 0;
356
358
  this.resolve();
357
359
  while (i < nested.length)
@@ -408,7 +410,7 @@ Namespace.prototype.lookup = function lookup(path, filterTypes, parentAlreadyChe
408
410
  return this.root.lookup(path.slice(1), filterTypes);
409
411
 
410
412
  // Early bailout for objects with matching absolute paths
411
- var found = this.root._fullyQualifiedObjects["." + flatPath];
413
+ var found = this.root._fullyQualifiedObjects && this.root._fullyQualifiedObjects["." + flatPath];
412
414
  if (found && (!filterTypes || filterTypes.indexOf(found.constructor) > -1)) {
413
415
  return found;
414
416
  }
@@ -110,9 +110,6 @@ Root.prototype.load = function load(filename, options, callback) {
110
110
 
111
111
  // Finishes loading by calling the callback (exactly once)
112
112
  function finish(err, root) {
113
- if (root) {
114
- root.resolveAll();
115
- }
116
113
  /* istanbul ignore if */
117
114
  if (!callback) {
118
115
  return;
@@ -120,6 +117,9 @@ Root.prototype.load = function load(filename, options, callback) {
120
117
  if (sync) {
121
118
  throw err;
122
119
  }
120
+ if (root) {
121
+ root.resolveAll();
122
+ }
123
123
  var cb = callback;
124
124
  callback = null;
125
125
  cb(err, root);
@@ -285,7 +285,6 @@ Root.prototype.resolveAll = function resolveAll() {
285
285
  throw Error("unresolvable extensions: " + this.deferred.map(function(field) {
286
286
  return "'extend " + field.extend + "' in " + field.parent.fullName;
287
287
  }).join(", "));
288
- this._resolveFeaturesRecursive(this._edition);
289
288
  return Namespace.prototype.resolveAll.call(this);
290
289
  };
291
290
 
@@ -1,17 +1,21 @@
1
1
  import { URL } from 'url'
2
2
  import Pool from './pool'
3
- import Dispatcher from "./dispatcher";
3
+ import Dispatcher from './dispatcher'
4
+ import TClientStats from './client-stats'
5
+ import TPoolStats from './pool-stats'
4
6
 
5
7
  export default Agent
6
8
 
7
- declare class Agent extends Dispatcher{
8
- constructor(opts?: Agent.Options)
9
+ declare class Agent extends Dispatcher {
10
+ constructor (opts?: Agent.Options)
9
11
  /** `true` after `dispatcher.close()` has been called. */
10
- closed: boolean;
12
+ closed: boolean
11
13
  /** `true` after `dispatcher.destroyed()` has been called or `dispatcher.close()` has been called and the dispatcher shutdown has completed. */
12
- destroyed: boolean;
14
+ destroyed: boolean
13
15
  /** Dispatches a request. */
14
- dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean;
16
+ dispatch (options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandler): boolean
17
+ /** Aggregate stats for a Agent by origin. */
18
+ readonly stats: Record<string, TClientStats | TPoolStats>
15
19
  }
16
20
 
17
21
  declare namespace Agent {
@@ -21,7 +25,7 @@ declare namespace Agent {
21
25
  /** Integer. Default: `0` */
22
26
  maxRedirections?: number;
23
27
 
24
- interceptors?: { Agent?: readonly Dispatcher.DispatchInterceptor[] } & Pool.Options["interceptors"]
28
+ interceptors?: { Agent?: readonly Dispatcher.DispatchInterceptor[] } & Pool.Options['interceptors']
25
29
  }
26
30
 
27
31
  export interface DispatchOptions extends Dispatcher.DispatchOptions {
@@ -2,42 +2,42 @@ import { URL, UrlObject } from 'url'
2
2
  import { Duplex } from 'stream'
3
3
  import Dispatcher from './dispatcher'
4
4
 
5
- export {
6
- request,
7
- stream,
8
- pipeline,
9
- connect,
10
- upgrade,
11
- }
12
-
13
5
  /** Performs an HTTP request. */
14
- declare function request(
6
+ declare function request<TOpaque = null> (
15
7
  url: string | URL | UrlObject,
16
- options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.RequestOptions, 'origin' | 'path' | 'method'> & Partial<Pick<Dispatcher.RequestOptions, 'method'>>,
17
- ): Promise<Dispatcher.ResponseData>;
8
+ options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.RequestOptions<TOpaque>, 'origin' | 'path' | 'method'> & Partial<Pick<Dispatcher.RequestOptions, 'method'>>,
9
+ ): Promise<Dispatcher.ResponseData<TOpaque>>
18
10
 
19
11
  /** A faster version of `request`. */
20
- declare function stream(
12
+ declare function stream<TOpaque = null> (
21
13
  url: string | URL | UrlObject,
22
- options: { dispatcher?: Dispatcher } & Omit<Dispatcher.RequestOptions, 'origin' | 'path'>,
23
- factory: Dispatcher.StreamFactory
24
- ): Promise<Dispatcher.StreamData>;
14
+ options: { dispatcher?: Dispatcher } & Omit<Dispatcher.RequestOptions<TOpaque>, 'origin' | 'path'>,
15
+ factory: Dispatcher.StreamFactory<TOpaque>
16
+ ): Promise<Dispatcher.StreamData<TOpaque>>
25
17
 
26
18
  /** For easy use with `stream.pipeline`. */
27
- declare function pipeline(
19
+ declare function pipeline<TOpaque = null> (
28
20
  url: string | URL | UrlObject,
29
- options: { dispatcher?: Dispatcher } & Omit<Dispatcher.PipelineOptions, 'origin' | 'path'>,
30
- handler: Dispatcher.PipelineHandler
31
- ): Duplex;
21
+ options: { dispatcher?: Dispatcher } & Omit<Dispatcher.PipelineOptions<TOpaque>, 'origin' | 'path'>,
22
+ handler: Dispatcher.PipelineHandler<TOpaque>
23
+ ): Duplex
32
24
 
33
25
  /** Starts two-way communications with the requested resource. */
34
- declare function connect(
26
+ declare function connect<TOpaque = null> (
35
27
  url: string | URL | UrlObject,
36
- options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.ConnectOptions, 'origin' | 'path'>
37
- ): Promise<Dispatcher.ConnectData>;
28
+ options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.ConnectOptions<TOpaque>, 'origin' | 'path'>
29
+ ): Promise<Dispatcher.ConnectData<TOpaque>>
38
30
 
39
31
  /** Upgrade to a different protocol. */
40
- declare function upgrade(
32
+ declare function upgrade (
41
33
  url: string | URL | UrlObject,
42
34
  options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.UpgradeOptions, 'origin' | 'path'>
43
- ): Promise<Dispatcher.UpgradeData>;
35
+ ): Promise<Dispatcher.UpgradeData>
36
+
37
+ export {
38
+ request,
39
+ stream,
40
+ pipeline,
41
+ connect,
42
+ upgrade
43
+ }
@@ -4,26 +4,26 @@ import { URL } from 'url'
4
4
 
5
5
  export default BalancedPool
6
6
 
7
- type BalancedPoolConnectOptions = Omit<Dispatcher.ConnectOptions, "origin">;
7
+ type BalancedPoolConnectOptions = Omit<Dispatcher.ConnectOptions, 'origin'>
8
8
 
9
9
  declare class BalancedPool extends Dispatcher {
10
- constructor(url: string | string[] | URL | URL[], options?: Pool.Options);
10
+ constructor (url: string | string[] | URL | URL[], options?: Pool.Options)
11
11
 
12
- addUpstream(upstream: string | URL): BalancedPool;
13
- removeUpstream(upstream: string | URL): BalancedPool;
14
- upstreams: Array<string>;
12
+ addUpstream (upstream: string | URL): BalancedPool
13
+ removeUpstream (upstream: string | URL): BalancedPool
14
+ upstreams: Array<string>
15
15
 
16
16
  /** `true` after `pool.close()` has been called. */
17
- closed: boolean;
17
+ closed: boolean
18
18
  /** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */
19
- destroyed: boolean;
19
+ destroyed: boolean
20
20
 
21
21
  // Override dispatcher APIs.
22
- override connect(
22
+ override connect (
23
23
  options: BalancedPoolConnectOptions
24
- ): Promise<Dispatcher.ConnectData>;
25
- override connect(
24
+ ): Promise<Dispatcher.ConnectData>
25
+ override connect (
26
26
  options: BalancedPoolConnectOptions,
27
27
  callback: (err: Error | null, data: Dispatcher.ConnectData) => void
28
- ): void;
28
+ ): void
29
29
  }