node-red-contrib-tak-registration 0.16.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 (347) 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 +58 -0
  66. package/node_modules/axios/README.md +87 -10
  67. package/node_modules/axios/dist/axios.js +355 -289
  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 +286 -213
  72. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  73. package/node_modules/axios/dist/esm/axios.js +286 -213
  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 +377 -213
  78. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  79. package/node_modules/axios/index.d.cts +12 -5
  80. package/node_modules/axios/index.d.ts +13 -4
  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 +0 -2
  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/defaults/index.js +1 -1
  89. package/node_modules/axios/lib/env/data.js +1 -1
  90. package/node_modules/axios/lib/helpers/buildURL.js +1 -3
  91. package/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js +73 -0
  92. package/node_modules/axios/lib/helpers/resolveConfig.js +13 -9
  93. package/node_modules/axios/lib/utils.js +5 -3
  94. package/node_modules/axios/package.json +18 -12
  95. package/node_modules/bignumber.js/CHANGELOG.md +6 -1
  96. package/node_modules/bignumber.js/README.md +5 -4
  97. package/node_modules/bignumber.js/bignumber.js +2 -2
  98. package/node_modules/bignumber.js/bignumber.mjs +2 -2
  99. package/node_modules/bignumber.js/package.json +1 -1
  100. package/node_modules/follow-redirects/package.json +1 -1
  101. package/node_modules/protobufjs/dist/light/protobuf.js +2 -2
  102. package/node_modules/protobufjs/dist/light/protobuf.min.js +2 -2
  103. package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
  104. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
  105. package/node_modules/protobufjs/dist/protobuf.js +2 -2
  106. package/node_modules/protobufjs/dist/protobuf.min.js +2 -2
  107. package/node_modules/protobufjs/google/protobuf/descriptor.json +2 -2
  108. package/node_modules/protobufjs/google/protobuf/descriptor.proto +2 -1
  109. package/node_modules/protobufjs/package.json +1 -1
  110. package/node_modules/undici-types/agent.d.ts +11 -7
  111. package/node_modules/undici-types/api.d.ts +24 -24
  112. package/node_modules/undici-types/balanced-pool.d.ts +11 -11
  113. package/node_modules/undici-types/cache-interceptor.d.ts +172 -0
  114. package/node_modules/undici-types/client-stats.d.ts +15 -0
  115. package/node_modules/undici-types/client.d.ts +18 -16
  116. package/node_modules/undici-types/cookies.d.ts +2 -0
  117. package/node_modules/undici-types/diagnostics-channel.d.ts +19 -10
  118. package/node_modules/undici-types/dispatcher.d.ts +119 -93
  119. package/node_modules/undici-types/env-http-proxy-agent.d.ts +4 -3
  120. package/node_modules/undici-types/errors.d.ts +69 -47
  121. package/node_modules/undici-types/eventsource.d.ts +3 -3
  122. package/node_modules/undici-types/fetch.d.ts +18 -16
  123. package/node_modules/undici-types/formdata.d.ts +7 -7
  124. package/node_modules/undici-types/global-dispatcher.d.ts +4 -4
  125. package/node_modules/undici-types/global-origin.d.ts +5 -5
  126. package/node_modules/undici-types/h2c-client.d.ts +75 -0
  127. package/node_modules/undici-types/handlers.d.ts +8 -8
  128. package/node_modules/undici-types/header.d.ts +157 -1
  129. package/node_modules/undici-types/index.d.ts +51 -47
  130. package/node_modules/undici-types/interceptors.d.ts +25 -8
  131. package/node_modules/undici-types/mock-agent.d.ts +36 -18
  132. package/node_modules/undici-types/mock-call-history.d.ts +111 -0
  133. package/node_modules/undici-types/mock-client.d.ts +6 -4
  134. package/node_modules/undici-types/mock-errors.d.ts +3 -3
  135. package/node_modules/undici-types/mock-interceptor.d.ts +21 -19
  136. package/node_modules/undici-types/mock-pool.d.ts +6 -4
  137. package/node_modules/undici-types/package.json +1 -1
  138. package/node_modules/undici-types/patch.d.ts +0 -4
  139. package/node_modules/undici-types/pool-stats.d.ts +8 -8
  140. package/node_modules/undici-types/pool.d.ts +14 -12
  141. package/node_modules/undici-types/proxy-agent.d.ts +5 -4
  142. package/node_modules/undici-types/readable.d.ts +18 -15
  143. package/node_modules/undici-types/retry-agent.d.ts +1 -1
  144. package/node_modules/undici-types/retry-handler.d.ts +19 -10
  145. package/node_modules/undici-types/util.d.ts +3 -3
  146. package/node_modules/undici-types/utility.d.ts +7 -0
  147. package/node_modules/undici-types/webidl.d.ts +50 -8
  148. package/node_modules/undici-types/websocket.d.ts +36 -2
  149. package/node_modules/uuid/README.md +8 -19
  150. package/node_modules/uuid/dist/{esm-browser/uuid-bin.js → uuid-bin.js} +1 -1
  151. package/node_modules/uuid/dist/{esm-browser/v4.js → v4.js} +7 -4
  152. package/node_modules/uuid/{dist/esm → dist-node}/md5.js +1 -1
  153. package/node_modules/uuid/dist-node/native.js +2 -0
  154. package/node_modules/uuid/{dist/esm → dist-node}/rng.js +1 -1
  155. package/node_modules/uuid/{dist/esm → dist-node}/sha1.js +1 -1
  156. package/node_modules/uuid/{dist/esm → dist-node}/uuid-bin.js +1 -1
  157. package/node_modules/uuid/{dist/esm → dist-node}/v4.js +7 -4
  158. package/node_modules/uuid/package.json +28 -41
  159. package/package.json +4 -4
  160. package/tak-registration.bak +557 -0
  161. package/tak-registration.js +8 -8
  162. package/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  163. package/node_modules/@types/node/compatibility/index.d.ts +0 -9
  164. package/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
  165. package/node_modules/@types/node/dom-events.d.ts +0 -124
  166. package/node_modules/undici-types/file.d.ts +0 -39
  167. package/node_modules/undici-types/filereader.d.ts +0 -54
  168. package/node_modules/uuid/dist/cjs/index.d.ts +0 -15
  169. package/node_modules/uuid/dist/cjs/index.js +0 -31
  170. package/node_modules/uuid/dist/cjs/max.d.ts +0 -2
  171. package/node_modules/uuid/dist/cjs/max.js +0 -3
  172. package/node_modules/uuid/dist/cjs/md5.d.ts +0 -4
  173. package/node_modules/uuid/dist/cjs/md5.js +0 -13
  174. package/node_modules/uuid/dist/cjs/native.d.ts +0 -6
  175. package/node_modules/uuid/dist/cjs/native.js +0 -4
  176. package/node_modules/uuid/dist/cjs/nil.d.ts +0 -2
  177. package/node_modules/uuid/dist/cjs/nil.js +0 -3
  178. package/node_modules/uuid/dist/cjs/package.json +0 -1
  179. package/node_modules/uuid/dist/cjs/parse.d.ts +0 -2
  180. package/node_modules/uuid/dist/cjs/parse.js +0 -11
  181. package/node_modules/uuid/dist/cjs/regex.d.ts +0 -2
  182. package/node_modules/uuid/dist/cjs/regex.js +0 -3
  183. package/node_modules/uuid/dist/cjs/rng.d.ts +0 -1
  184. package/node_modules/uuid/dist/cjs/rng.js +0 -13
  185. package/node_modules/uuid/dist/cjs/sha1.d.ts +0 -4
  186. package/node_modules/uuid/dist/cjs/sha1.js +0 -13
  187. package/node_modules/uuid/dist/cjs/stringify.d.ts +0 -3
  188. package/node_modules/uuid/dist/cjs/stringify.js +0 -39
  189. package/node_modules/uuid/dist/cjs/types.d.ts +0 -21
  190. package/node_modules/uuid/dist/cjs/types.js +0 -2
  191. package/node_modules/uuid/dist/cjs/uuid-bin.d.ts +0 -1
  192. package/node_modules/uuid/dist/cjs/uuid-bin.js +0 -72
  193. package/node_modules/uuid/dist/cjs/v1.d.ts +0 -11
  194. package/node_modules/uuid/dist/cjs/v1.js +0 -87
  195. package/node_modules/uuid/dist/cjs/v1ToV6.d.ts +0 -2
  196. package/node_modules/uuid/dist/cjs/v1ToV6.js +0 -13
  197. package/node_modules/uuid/dist/cjs/v3.d.ts +0 -9
  198. package/node_modules/uuid/dist/cjs/v3.js +0 -14
  199. package/node_modules/uuid/dist/cjs/v35.d.ts +0 -7
  200. package/node_modules/uuid/dist/cjs/v35.js +0 -41
  201. package/node_modules/uuid/dist/cjs/v4.d.ts +0 -4
  202. package/node_modules/uuid/dist/cjs/v4.js +0 -29
  203. package/node_modules/uuid/dist/cjs/v5.d.ts +0 -9
  204. package/node_modules/uuid/dist/cjs/v5.js +0 -14
  205. package/node_modules/uuid/dist/cjs/v6.d.ts +0 -4
  206. package/node_modules/uuid/dist/cjs/v6.js +0 -19
  207. package/node_modules/uuid/dist/cjs/v6ToV1.d.ts +0 -2
  208. package/node_modules/uuid/dist/cjs/v6ToV1.js +0 -13
  209. package/node_modules/uuid/dist/cjs/v7.d.ts +0 -9
  210. package/node_modules/uuid/dist/cjs/v7.js +0 -69
  211. package/node_modules/uuid/dist/cjs/validate.d.ts +0 -2
  212. package/node_modules/uuid/dist/cjs/validate.js +0 -7
  213. package/node_modules/uuid/dist/cjs/version.d.ts +0 -2
  214. package/node_modules/uuid/dist/cjs/version.js +0 -10
  215. package/node_modules/uuid/dist/cjs-browser/index.js +0 -31
  216. package/node_modules/uuid/dist/cjs-browser/max.js +0 -3
  217. package/node_modules/uuid/dist/cjs-browser/md5.js +0 -137
  218. package/node_modules/uuid/dist/cjs-browser/native.js +0 -4
  219. package/node_modules/uuid/dist/cjs-browser/nil.js +0 -3
  220. package/node_modules/uuid/dist/cjs-browser/package.json +0 -1
  221. package/node_modules/uuid/dist/cjs-browser/parse.js +0 -11
  222. package/node_modules/uuid/dist/cjs-browser/regex.js +0 -3
  223. package/node_modules/uuid/dist/cjs-browser/rng.js +0 -14
  224. package/node_modules/uuid/dist/cjs-browser/sha1.js +0 -72
  225. package/node_modules/uuid/dist/cjs-browser/stringify.js +0 -39
  226. package/node_modules/uuid/dist/cjs-browser/types.js +0 -2
  227. package/node_modules/uuid/dist/cjs-browser/uuid-bin.js +0 -72
  228. package/node_modules/uuid/dist/cjs-browser/v1.js +0 -87
  229. package/node_modules/uuid/dist/cjs-browser/v1ToV6.js +0 -13
  230. package/node_modules/uuid/dist/cjs-browser/v3.js +0 -14
  231. package/node_modules/uuid/dist/cjs-browser/v35.js +0 -41
  232. package/node_modules/uuid/dist/cjs-browser/v4.js +0 -29
  233. package/node_modules/uuid/dist/cjs-browser/v5.js +0 -14
  234. package/node_modules/uuid/dist/cjs-browser/v6.js +0 -19
  235. package/node_modules/uuid/dist/cjs-browser/v6ToV1.js +0 -13
  236. package/node_modules/uuid/dist/cjs-browser/v7.js +0 -69
  237. package/node_modules/uuid/dist/cjs-browser/validate.js +0 -7
  238. package/node_modules/uuid/dist/cjs-browser/version.js +0 -10
  239. package/node_modules/uuid/dist/esm/index.d.ts +0 -15
  240. package/node_modules/uuid/dist/esm/max.d.ts +0 -2
  241. package/node_modules/uuid/dist/esm/md5.d.ts +0 -4
  242. package/node_modules/uuid/dist/esm/native.d.ts +0 -6
  243. package/node_modules/uuid/dist/esm/native.js +0 -2
  244. package/node_modules/uuid/dist/esm/nil.d.ts +0 -2
  245. package/node_modules/uuid/dist/esm/parse.d.ts +0 -2
  246. package/node_modules/uuid/dist/esm/regex.d.ts +0 -2
  247. package/node_modules/uuid/dist/esm/rng.d.ts +0 -1
  248. package/node_modules/uuid/dist/esm/sha1.d.ts +0 -4
  249. package/node_modules/uuid/dist/esm/stringify.d.ts +0 -3
  250. package/node_modules/uuid/dist/esm/types.d.ts +0 -21
  251. package/node_modules/uuid/dist/esm/uuid-bin.d.ts +0 -1
  252. package/node_modules/uuid/dist/esm/v1.d.ts +0 -11
  253. package/node_modules/uuid/dist/esm/v1ToV6.d.ts +0 -2
  254. package/node_modules/uuid/dist/esm/v3.d.ts +0 -9
  255. package/node_modules/uuid/dist/esm/v35.d.ts +0 -7
  256. package/node_modules/uuid/dist/esm/v4.d.ts +0 -4
  257. package/node_modules/uuid/dist/esm/v5.d.ts +0 -9
  258. package/node_modules/uuid/dist/esm/v6.d.ts +0 -4
  259. package/node_modules/uuid/dist/esm/v6ToV1.d.ts +0 -2
  260. package/node_modules/uuid/dist/esm/v7.d.ts +0 -9
  261. package/node_modules/uuid/dist/esm/validate.d.ts +0 -2
  262. package/node_modules/uuid/dist/esm/version.d.ts +0 -2
  263. package/node_modules/uuid/dist/esm-browser/index.d.ts +0 -15
  264. package/node_modules/uuid/dist/esm-browser/max.d.ts +0 -2
  265. package/node_modules/uuid/dist/esm-browser/md5.d.ts +0 -2
  266. package/node_modules/uuid/dist/esm-browser/native.d.ts +0 -4
  267. package/node_modules/uuid/dist/esm-browser/nil.d.ts +0 -2
  268. package/node_modules/uuid/dist/esm-browser/parse.d.ts +0 -2
  269. package/node_modules/uuid/dist/esm-browser/regex.d.ts +0 -2
  270. package/node_modules/uuid/dist/esm-browser/rng.d.ts +0 -1
  271. package/node_modules/uuid/dist/esm-browser/sha1.d.ts +0 -2
  272. package/node_modules/uuid/dist/esm-browser/stringify.d.ts +0 -3
  273. package/node_modules/uuid/dist/esm-browser/types.d.ts +0 -21
  274. package/node_modules/uuid/dist/esm-browser/uuid-bin.d.ts +0 -1
  275. package/node_modules/uuid/dist/esm-browser/v1.d.ts +0 -11
  276. package/node_modules/uuid/dist/esm-browser/v1ToV6.d.ts +0 -2
  277. package/node_modules/uuid/dist/esm-browser/v3.d.ts +0 -9
  278. package/node_modules/uuid/dist/esm-browser/v35.d.ts +0 -7
  279. package/node_modules/uuid/dist/esm-browser/v4.d.ts +0 -4
  280. package/node_modules/uuid/dist/esm-browser/v5.d.ts +0 -9
  281. package/node_modules/uuid/dist/esm-browser/v6.d.ts +0 -4
  282. package/node_modules/uuid/dist/esm-browser/v6ToV1.d.ts +0 -2
  283. package/node_modules/uuid/dist/esm-browser/v7.d.ts +0 -9
  284. package/node_modules/uuid/dist/esm-browser/validate.d.ts +0 -2
  285. package/node_modules/uuid/dist/esm-browser/version.d.ts +0 -2
  286. /package/node_modules/uuid/dist/{cjs-browser/index.d.ts → index.d.ts} +0 -0
  287. /package/node_modules/uuid/dist/{esm/index.js → index.js} +0 -0
  288. /package/node_modules/uuid/dist/{cjs-browser/max.d.ts → max.d.ts} +0 -0
  289. /package/node_modules/uuid/dist/{esm/max.js → max.js} +0 -0
  290. /package/node_modules/uuid/dist/{cjs-browser/md5.d.ts → md5.d.ts} +0 -0
  291. /package/node_modules/uuid/dist/{esm-browser/md5.js → md5.js} +0 -0
  292. /package/node_modules/uuid/dist/{cjs-browser/native.d.ts → native.d.ts} +0 -0
  293. /package/node_modules/uuid/dist/{esm-browser/native.js → native.js} +0 -0
  294. /package/node_modules/uuid/dist/{cjs-browser/nil.d.ts → nil.d.ts} +0 -0
  295. /package/node_modules/uuid/dist/{esm/nil.js → nil.js} +0 -0
  296. /package/node_modules/uuid/dist/{cjs-browser/parse.d.ts → parse.d.ts} +0 -0
  297. /package/node_modules/uuid/dist/{esm/parse.js → parse.js} +0 -0
  298. /package/node_modules/uuid/dist/{cjs-browser/regex.d.ts → regex.d.ts} +0 -0
  299. /package/node_modules/uuid/dist/{esm/regex.js → regex.js} +0 -0
  300. /package/node_modules/uuid/dist/{cjs-browser/rng.d.ts → rng.d.ts} +0 -0
  301. /package/node_modules/uuid/dist/{esm-browser/rng.js → rng.js} +0 -0
  302. /package/node_modules/uuid/dist/{cjs-browser/sha1.d.ts → sha1.d.ts} +0 -0
  303. /package/node_modules/uuid/dist/{esm-browser/sha1.js → sha1.js} +0 -0
  304. /package/node_modules/uuid/dist/{cjs-browser/stringify.d.ts → stringify.d.ts} +0 -0
  305. /package/node_modules/uuid/dist/{esm/stringify.js → stringify.js} +0 -0
  306. /package/node_modules/uuid/dist/{cjs-browser/types.d.ts → types.d.ts} +0 -0
  307. /package/node_modules/uuid/dist/{esm/types.js → types.js} +0 -0
  308. /package/node_modules/uuid/dist/{cjs-browser/uuid-bin.d.ts → uuid-bin.d.ts} +0 -0
  309. /package/node_modules/uuid/dist/{cjs-browser/v1.d.ts → v1.d.ts} +0 -0
  310. /package/node_modules/uuid/dist/{esm/v1.js → v1.js} +0 -0
  311. /package/node_modules/uuid/dist/{cjs-browser/v1ToV6.d.ts → v1ToV6.d.ts} +0 -0
  312. /package/node_modules/uuid/dist/{esm/v1ToV6.js → v1ToV6.js} +0 -0
  313. /package/node_modules/uuid/dist/{cjs-browser/v3.d.ts → v3.d.ts} +0 -0
  314. /package/node_modules/uuid/dist/{esm/v3.js → v3.js} +0 -0
  315. /package/node_modules/uuid/dist/{cjs-browser/v35.d.ts → v35.d.ts} +0 -0
  316. /package/node_modules/uuid/dist/{esm/v35.js → v35.js} +0 -0
  317. /package/node_modules/uuid/dist/{cjs-browser/v4.d.ts → v4.d.ts} +0 -0
  318. /package/node_modules/uuid/dist/{cjs-browser/v5.d.ts → v5.d.ts} +0 -0
  319. /package/node_modules/uuid/dist/{esm/v5.js → v5.js} +0 -0
  320. /package/node_modules/uuid/dist/{cjs-browser/v6.d.ts → v6.d.ts} +0 -0
  321. /package/node_modules/uuid/dist/{esm/v6.js → v6.js} +0 -0
  322. /package/node_modules/uuid/dist/{cjs-browser/v6ToV1.d.ts → v6ToV1.d.ts} +0 -0
  323. /package/node_modules/uuid/dist/{esm/v6ToV1.js → v6ToV1.js} +0 -0
  324. /package/node_modules/uuid/dist/{cjs-browser/v7.d.ts → v7.d.ts} +0 -0
  325. /package/node_modules/uuid/dist/{esm/v7.js → v7.js} +0 -0
  326. /package/node_modules/uuid/dist/{cjs-browser/validate.d.ts → validate.d.ts} +0 -0
  327. /package/node_modules/uuid/dist/{esm/validate.js → validate.js} +0 -0
  328. /package/node_modules/uuid/dist/{cjs-browser/version.d.ts → version.d.ts} +0 -0
  329. /package/node_modules/uuid/dist/{esm/version.js → version.js} +0 -0
  330. /package/node_modules/uuid/{dist/esm → dist-node}/bin/uuid +0 -0
  331. /package/node_modules/uuid/{dist/esm-browser → dist-node}/index.js +0 -0
  332. /package/node_modules/uuid/{dist/esm-browser → dist-node}/max.js +0 -0
  333. /package/node_modules/uuid/{dist/esm-browser → dist-node}/nil.js +0 -0
  334. /package/node_modules/uuid/{dist/esm-browser → dist-node}/parse.js +0 -0
  335. /package/node_modules/uuid/{dist/esm-browser → dist-node}/regex.js +0 -0
  336. /package/node_modules/uuid/{dist/esm-browser → dist-node}/stringify.js +0 -0
  337. /package/node_modules/uuid/{dist/esm-browser → dist-node}/types.js +0 -0
  338. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v1.js +0 -0
  339. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v1ToV6.js +0 -0
  340. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v3.js +0 -0
  341. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v35.js +0 -0
  342. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v5.js +0 -0
  343. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v6.js +0 -0
  344. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v6ToV1.js +0 -0
  345. /package/node_modules/uuid/{dist/esm-browser → dist-node}/v7.js +0 -0
  346. /package/node_modules/uuid/{dist/esm-browser → dist-node}/validate.js +0 -0
  347. /package/node_modules/uuid/{dist/esm-browser → dist-node}/version.js +0 -0
@@ -170,8 +170,6 @@ class Axios {
170
170
 
171
171
  let newConfig = config;
172
172
 
173
- i = 0;
174
-
175
173
  while (i < len) {
176
174
  const onFulfilled = requestInterceptorChain[i++];
177
175
  const onRejected = requestInterceptorChain[i++];
@@ -89,11 +89,18 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
89
89
  return prop !== 'isAxiosError';
90
90
  });
91
91
 
92
- AxiosError.call(axiosError, error.message, code, config, request, response);
92
+ const msg = error && error.message ? error.message : 'Error';
93
93
 
94
- axiosError.cause = error;
94
+ // Prefer explicit code; otherwise copy the low-level error's code (e.g. ECONNREFUSED)
95
+ const errCode = code == null && error ? error.code : code;
96
+ AxiosError.call(axiosError, msg, errCode, config, request, response);
95
97
 
96
- axiosError.name = error.name;
98
+ // Chain the original error on the standard field; non-enumerable to avoid JSON noise
99
+ if (error && axiosError.cause == null) {
100
+ Object.defineProperty(axiosError, 'cause', { value: error, configurable: true });
101
+ }
102
+
103
+ axiosError.name = (error && error.name) || 'Error';
97
104
 
98
105
  customProps && Object.assign(axiosError, customProps);
99
106
 
@@ -46,7 +46,7 @@ export default function dispatchRequest(config) {
46
46
  config.headers.setContentType('application/x-www-form-urlencoded', false);
47
47
  }
48
48
 
49
- const adapter = adapters.getAdapter(config.adapter || defaults.adapter);
49
+ const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config);
50
50
 
51
51
  return adapter(config).then(function onAdapterResolution(response) {
52
52
  throwIfCancellationRequested(config);
@@ -111,7 +111,7 @@ const defaults = {
111
111
  const strictJSONParsing = !silentJSONParsing && JSONRequested;
112
112
 
113
113
  try {
114
- return JSON.parse(data);
114
+ return JSON.parse(data, this.parseReviver);
115
115
  } catch (e) {
116
116
  if (strictJSONParsing) {
117
117
  if (e.name === 'SyntaxError') {
@@ -1 +1 @@
1
- export const VERSION = "1.11.0";
1
+ export const VERSION = "1.12.2";
@@ -16,9 +16,7 @@ function encode(val) {
16
16
  replace(/%3A/gi, ':').
17
17
  replace(/%24/g, '$').
18
18
  replace(/%2C/gi, ',').
19
- replace(/%20/g, '+').
20
- replace(/%5B/gi, '[').
21
- replace(/%5D/gi, ']');
19
+ replace(/%20/g, '+');
22
20
  }
23
21
 
24
22
  /**
@@ -0,0 +1,73 @@
1
+ /**
2
+ * Estimate decoded byte length of a data:// URL *without* allocating large buffers.
3
+ * - For base64: compute exact decoded size using length and padding;
4
+ * handle %XX at the character-count level (no string allocation).
5
+ * - For non-base64: use UTF-8 byteLength of the encoded body as a safe upper bound.
6
+ *
7
+ * @param {string} url
8
+ * @returns {number}
9
+ */
10
+ export default function estimateDataURLDecodedBytes(url) {
11
+ if (!url || typeof url !== 'string') return 0;
12
+ if (!url.startsWith('data:')) return 0;
13
+
14
+ const comma = url.indexOf(',');
15
+ if (comma < 0) return 0;
16
+
17
+ const meta = url.slice(5, comma);
18
+ const body = url.slice(comma + 1);
19
+ const isBase64 = /;base64/i.test(meta);
20
+
21
+ if (isBase64) {
22
+ let effectiveLen = body.length;
23
+ const len = body.length; // cache length
24
+
25
+ for (let i = 0; i < len; i++) {
26
+ if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) {
27
+ const a = body.charCodeAt(i + 1);
28
+ const b = body.charCodeAt(i + 2);
29
+ const isHex =
30
+ ((a >= 48 && a <= 57) || (a >= 65 && a <= 70) || (a >= 97 && a <= 102)) &&
31
+ ((b >= 48 && b <= 57) || (b >= 65 && b <= 70) || (b >= 97 && b <= 102));
32
+
33
+ if (isHex) {
34
+ effectiveLen -= 2;
35
+ i += 2;
36
+ }
37
+ }
38
+ }
39
+
40
+ let pad = 0;
41
+ let idx = len - 1;
42
+
43
+ const tailIsPct3D = (j) =>
44
+ j >= 2 &&
45
+ body.charCodeAt(j - 2) === 37 && // '%'
46
+ body.charCodeAt(j - 1) === 51 && // '3'
47
+ (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd'
48
+
49
+ if (idx >= 0) {
50
+ if (body.charCodeAt(idx) === 61 /* '=' */) {
51
+ pad++;
52
+ idx--;
53
+ } else if (tailIsPct3D(idx)) {
54
+ pad++;
55
+ idx -= 3;
56
+ }
57
+ }
58
+
59
+ if (pad === 1 && idx >= 0) {
60
+ if (body.charCodeAt(idx) === 61 /* '=' */) {
61
+ pad++;
62
+ } else if (tailIsPct3D(idx)) {
63
+ pad++;
64
+ }
65
+ }
66
+
67
+ const groups = Math.floor(effectiveLen / 4);
68
+ const bytes = groups * 3 - (pad || 0);
69
+ return bytes > 0 ? bytes : 0;
70
+ }
71
+
72
+ return Buffer.byteLength(body, 'utf8');
73
+ }
@@ -10,7 +10,7 @@ import buildURL from "./buildURL.js";
10
10
  export default (config) => {
11
11
  const newConfig = mergeConfig({}, config);
12
12
 
13
- let {data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth} = newConfig;
13
+ let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
14
14
 
15
15
  newConfig.headers = headers = AxiosHeaders.from(headers);
16
16
 
@@ -23,17 +23,21 @@ export default (config) => {
23
23
  );
24
24
  }
25
25
 
26
- let contentType;
27
-
28
26
  if (utils.isFormData(data)) {
29
27
  if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {
30
- headers.setContentType(undefined); // Let the browser set it
31
- } else if ((contentType = headers.getContentType()) !== false) {
32
- // fix semicolon duplication issue for ReactNative FormData implementation
33
- const [type, ...tokens] = contentType ? contentType.split(';').map(token => token.trim()).filter(Boolean) : [];
34
- headers.setContentType([type || 'multipart/form-data', ...tokens].join('; '));
28
+ headers.setContentType(undefined); // browser handles it
29
+ } else if (utils.isFunction(data.getHeaders)) {
30
+ // Node.js FormData (like form-data package)
31
+ const formHeaders = data.getHeaders();
32
+ // Only set safe headers to avoid overwriting security headers
33
+ const allowedHeaders = ['content-type', 'content-length'];
34
+ Object.entries(formHeaders).forEach(([key, val]) => {
35
+ if (allowedHeaders.includes(key.toLowerCase())) {
36
+ headers.set(key, val);
37
+ }
38
+ });
35
39
  }
36
- }
40
+ }
37
41
 
38
42
  // Add xsrf header
39
43
  // This is only done if running in a standard browser environment.
@@ -148,7 +148,7 @@ const isEmptyObject = (val) => {
148
148
  if (!isObject(val) || isBuffer(val)) {
149
149
  return false;
150
150
  }
151
-
151
+
152
152
  try {
153
153
  return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
154
154
  } catch (e) {
@@ -341,7 +341,7 @@ const isContextDefined = (context) => !isUndefined(context) && context !== _glob
341
341
  * @returns {Object} Result of all merge properties
342
342
  */
343
343
  function merge(/* obj1, obj2, obj3, ... */) {
344
- const {caseless} = isContextDefined(this) && this || {};
344
+ const {caseless, skipUndefined} = isContextDefined(this) && this || {};
345
345
  const result = {};
346
346
  const assignValue = (val, key) => {
347
347
  const targetKey = caseless && findKey(result, key) || key;
@@ -351,7 +351,7 @@ function merge(/* obj1, obj2, obj3, ... */) {
351
351
  result[targetKey] = merge({}, val);
352
352
  } else if (isArray(val)) {
353
353
  result[targetKey] = val.slice();
354
- } else {
354
+ } else if (!skipUndefined || !isUndefined(val)) {
355
355
  result[targetKey] = val;
356
356
  }
357
357
  }
@@ -633,6 +633,8 @@ const toFiniteNumber = (value, defaultValue) => {
633
633
  return value != null && Number.isFinite(value = +value) ? value : defaultValue;
634
634
  }
635
635
 
636
+
637
+
636
638
  /**
637
639
  * If the thing is a FormData object, return true, otherwise return false.
638
640
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "axios",
3
- "version": "1.11.0",
3
+ "version": "1.12.2",
4
4
  "description": "Promise based HTTP client for the browser and node.js",
5
5
  "main": "index.js",
6
6
  "exports": {
@@ -33,23 +33,28 @@
33
33
  "./unsafe/adapters/http.js": "./lib/adapters/http.js",
34
34
  "./unsafe/adapters/xhr.js": "./lib/adapters/xhr.js",
35
35
  "./unsafe/utils.js": "./lib/utils.js",
36
- "./package.json": "./package.json"
36
+ "./package.json": "./package.json",
37
+ "./dist/browser/axios.cjs": "./dist/browser/axios.cjs",
38
+ "./dist/node/axios.cjs": "./dist/node/axios.cjs"
37
39
  },
38
40
  "type": "module",
39
41
  "types": "index.d.ts",
40
42
  "scripts": {
41
- "test": "npm run test:eslint && npm run test:mocha && npm run test:karma && npm run test:dtslint && npm run test:exports",
43
+ "test": "npm run test:node && npm run test:browser && npm run test:package",
44
+ "test:node": "npm run test:mocha",
45
+ "test:browser": "npm run test:karma",
46
+ "test:package": "npm run test:eslint && npm run test:dtslint && npm run test:exports",
42
47
  "test:eslint": "node bin/ssl_hotfix.js eslint lib/**/*.js",
43
48
  "test:dtslint": "dtslint --localTs node_modules/typescript/lib",
44
49
  "test:mocha": "node bin/ssl_hotfix.js mocha test/unit/**/*.js --timeout 30000 --exit",
45
50
  "test:exports": "node bin/ssl_hotfix.js mocha test/module/test.js --timeout 30000 --exit",
46
- "test:karma": "node bin/ssl_hotfix.js cross-env LISTEN_ADDR=:: karma start karma.conf.cjs --single-run",
51
+ "test:karma": "node ./bin/run-karma-tests.js",
47
52
  "test:karma:firefox": "node bin/ssl_hotfix.js cross-env LISTEN_ADDR=:: Browsers=Firefox karma start karma.conf.cjs --single-run",
48
53
  "test:karma:server": "node bin/ssl_hotfix.js cross-env karma start karma.conf.cjs",
49
54
  "test:build:version": "node ./bin/check-build-version.js",
50
55
  "start": "node ./sandbox/server.js",
51
56
  "preversion": "gulp version",
52
- "version": "npm run build && git add dist && git add package.json",
57
+ "version": "npm run build && git add package.json",
53
58
  "prepublishOnly": "npm run test:build:version",
54
59
  "postpublish": "git push && git push --tags",
55
60
  "build": "gulp clear && cross-env NODE_ENV=production rollup -c -m",
@@ -89,6 +94,7 @@
89
94
  "@commitlint/cli": "^17.8.1",
90
95
  "@commitlint/config-conventional": "^17.8.1",
91
96
  "@release-it/conventional-changelog": "^5.1.1",
97
+ "@rollup/plugin-alias": "^5.1.0",
92
98
  "@rollup/plugin-babel": "^5.3.1",
93
99
  "@rollup/plugin-commonjs": "^15.1.0",
94
100
  "@rollup/plugin-json": "^4.1.0",
@@ -110,7 +116,6 @@
110
116
  "fs-extra": "^10.1.0",
111
117
  "get-stream": "^3.0.0",
112
118
  "gulp": "^4.0.2",
113
- "gzip-size": "^7.0.0",
114
119
  "handlebars": "^4.7.8",
115
120
  "husky": "^8.0.3",
116
121
  "istanbul-instrumenter-loader": "^3.0.1",
@@ -129,6 +134,7 @@
129
134
  "minimist": "^1.2.8",
130
135
  "mocha": "^10.3.0",
131
136
  "multer": "^1.4.4",
137
+ "pacote": "^20.0.0",
132
138
  "pretty-bytes": "^6.1.1",
133
139
  "release-it": "^15.11.0",
134
140
  "rollup": "^2.79.1",
@@ -138,9 +144,9 @@
138
144
  "sinon": "^4.5.0",
139
145
  "stream-throttle": "^0.1.3",
140
146
  "string-replace-async": "^3.0.2",
147
+ "tar-stream": "^3.1.7",
141
148
  "terser-webpack-plugin": "^4.2.3",
142
- "typescript": "^4.9.5",
143
- "@rollup/plugin-alias": "^5.1.0"
149
+ "typescript": "^4.9.5"
144
150
  },
145
151
  "browser": {
146
152
  "./lib/adapters/http.js": "./lib/helpers/null.js",
@@ -168,8 +174,8 @@
168
174
  ],
169
175
  "contributors": [
170
176
  "Matt Zabriskie (https://github.com/mzabriskie)",
171
- "Nick Uraltsev (https://github.com/nickuraltsev)",
172
177
  "Dmitriy Mozgovoy (https://github.com/DigitalBrainJS)",
178
+ "Nick Uraltsev (https://github.com/nickuraltsev)",
173
179
  "Jay (https://github.com/jasonsaayman)",
174
180
  "Emily Morehouse (https://github.com/emilyemorehouse)",
175
181
  "Rubén Norte (https://github.com/rubennorte)",
@@ -178,7 +184,7 @@
178
184
  "Xianming Zhong (https://github.com/chinesedfan)",
179
185
  "Remco Haszing (https://github.com/remcohaszing)",
180
186
  "Rikki Gibson (https://github.com/RikkiGibson)",
181
- "Ben Carp (https://github.com/carpben)",
187
+ "Willian Agostini (https://github.com/WillianAgostini)",
182
188
  "Yasu Flores (https://github.com/yasuf)"
183
189
  ],
184
190
  "sideEffects": false,
@@ -208,8 +214,8 @@
208
214
  },
209
215
  "hooks": {
210
216
  "before:init": "npm test",
211
- "after:bump": "gulp version --bump ${version} && npm run build && npm run test:build:version && git add ./dist && git add ./package-lock.json",
212
- "before:release": "npm run release:changelog:fix",
217
+ "after:bump": "gulp version --bump ${version} && npm run build && npm run test:build:version",
218
+ "before:release": "npm run release:changelog:fix && git add ./package-lock.json",
213
219
  "after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
214
220
  }
215
221
  },
@@ -1,3 +1,8 @@
1
+ #### 9.3.1
2
+
3
+ * 11/07/25
4
+ * [BUGFIX] #388 `toPrecision` fix.
5
+
1
6
  #### 9.3.0
2
7
 
3
8
  * 19/04/25
@@ -13,7 +18,7 @@
13
18
  #### 9.2.1
14
19
 
15
20
  * 08/04/25
16
- * ##371 #382 Add `BigNumber` as named export.
21
+ * #371 #382 Add `BigNumber` as named export.
17
22
 
18
23
  #### 9.2.0
19
24
 
@@ -4,6 +4,7 @@ A JavaScript library for arbitrary-precision decimal and non-decimal arithmetic.
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/bignumber.js.svg)](https://www.npmjs.com/package/bignumber.js)
6
6
  [![npm downloads](https://img.shields.io/npm/dw/bignumber.js)](https://www.npmjs.com/package/bignumber.js)
7
+ [![CI](https://github.com/MikeMcl/bignumber.js/actions/workflows/ci.yml/badge.svg)](https://github.com/MikeMcl/bignumber.js/actions/workflows/ci.yml)
7
8
 
8
9
  <br />
9
10
 
@@ -48,7 +49,7 @@ import BigNumber from './path/to/bignumber.mjs';
48
49
  > Get a minified version from a CDN:
49
50
 
50
51
  ```html
51
- <script src='https://cdn.jsdelivr.net/npm/bignumber.js@9.3.0/bignumber.min.js'></script>
52
+ <script src='https://cdn.jsdelivr.net/npm/bignumber.js@9.3.1/bignumber.min.js'></script>
52
53
  ```
53
54
 
54
55
  ### [Node.js](http://nodejs.org)
@@ -70,8 +71,8 @@ import BigNumber from "bignumber.js";
70
71
  ### [Deno](https://deno.land/)
71
72
 
72
73
  ```javascript
73
- // @deno-types="https://raw.githubusercontent.com/mikemcl/bignumber.js/v9.3.0/bignumber.d.mts"
74
- import BigNumber from 'https://raw.githubusercontent.com/mikemcl/bignumber.js/v9.3.0/bignumber.mjs';
74
+ // @deno-types="https://raw.githubusercontent.com/mikemcl/bignumber.js/v9.3.1/bignumber.d.mts"
75
+ import BigNumber from 'https://raw.githubusercontent.com/mikemcl/bignumber.js/v9.3.1/bignumber.mjs';
75
76
 
76
77
  // @deno-types="https://unpkg.com/bignumber.js@latest/bignumber.d.mts"
77
78
  import { BigNumber } from 'https://unpkg.com/bignumber.js@latest/bignumber.mjs';
@@ -285,4 +286,4 @@ terser big.js -c -m -o big.min.js
285
286
 
286
287
  The MIT Licence.
287
288
 
288
- See [LICENCE](https://github.com/MikeMcl/bignumber.js/blob/master/LICENCE).
289
+ See [LICENCE](https://github.com/MikeMcl/bignumber.js/blob/main/LICENCE.md).
@@ -2,7 +2,7 @@
2
2
  'use strict';
3
3
 
4
4
  /*
5
- * bignumber.js v9.3.0
5
+ * bignumber.js v9.3.1
6
6
  * A JavaScript library for arbitrary-precision arithmetic.
7
7
  * https://github.com/MikeMcl/bignumber.js
8
8
  * Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
@@ -1270,7 +1270,7 @@
1270
1270
 
1271
1271
  // Fixed-point notation.
1272
1272
  } else {
1273
- i -= ne;
1273
+ i -= ne + (id === 2 && e > ne);
1274
1274
  str = toFixedPoint(str, e, '0');
1275
1275
 
1276
1276
  // Append zeros?
@@ -1,5 +1,5 @@
1
1
  /*
2
- * bignumber.js v9.3.0
2
+ * bignumber.js v9.3.1
3
3
  * A JavaScript library for arbitrary-precision arithmetic.
4
4
  * https://github.com/MikeMcl/bignumber.js
5
5
  * Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
@@ -1267,7 +1267,7 @@ function clone(configObject) {
1267
1267
 
1268
1268
  // Fixed-point notation.
1269
1269
  } else {
1270
- i -= ne;
1270
+ i -= ne + (id === 2 && e > ne);
1271
1271
  str = toFixedPoint(str, e, '0');
1272
1272
 
1273
1273
  // Append zeros?
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bignumber.js",
3
3
  "description": "A library for arbitrary-precision decimal and non-decimal arithmetic",
4
- "version": "9.3.0",
4
+ "version": "9.3.1",
5
5
  "keywords": [
6
6
  "arbitrary",
7
7
  "precision",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "follow-redirects",
3
- "version": "1.15.9",
3
+ "version": "1.15.11",
4
4
  "description": "HTTP and HTTPS modules that follow redirects.",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v7.5.3 (c) 2016, daniel wirtz
3
- * compiled wed, 28 may 2025 22:23:47 utc
2
+ * protobuf.js v7.5.4 (c) 2016, daniel wirtz
3
+ * compiled fri, 15 aug 2025 23:28:54 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v7.5.3 (c) 2016, daniel wirtz
3
- * compiled wed, 28 may 2025 22:23:47 utc
2
+ * protobuf.js v7.5.4 (c) 2016, daniel wirtz
3
+ * compiled fri, 15 aug 2025 23:28:55 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v7.5.3 (c) 2016, daniel wirtz
3
- * compiled wed, 28 may 2025 22:23:47 utc
2
+ * protobuf.js v7.5.4 (c) 2016, daniel wirtz
3
+ * compiled fri, 15 aug 2025 23:28:54 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v7.5.3 (c) 2016, daniel wirtz
3
- * compiled wed, 28 may 2025 22:23:47 utc
2
+ * protobuf.js v7.5.4 (c) 2016, daniel wirtz
3
+ * compiled fri, 15 aug 2025 23:28:55 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v7.5.3 (c) 2016, daniel wirtz
3
- * compiled wed, 28 may 2025 22:23:47 utc
2
+ * protobuf.js v7.5.4 (c) 2016, daniel wirtz
3
+ * compiled fri, 15 aug 2025 23:28:54 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * protobuf.js v7.5.3 (c) 2016, daniel wirtz
3
- * compiled wed, 28 may 2025 22:23:47 utc
2
+ * protobuf.js v7.5.4 (c) 2016, daniel wirtz
3
+ * compiled fri, 15 aug 2025 23:28:55 utc
4
4
  * licensed under the bsd-3-clause license
5
5
  * see: https://github.com/dcodeio/protobuf.js for details
6
6
  */
@@ -588,11 +588,11 @@
588
588
  42,
589
589
  42
590
590
  ],
591
- "php_generic_services",
592
591
  [
593
592
  38,
594
593
  38
595
- ]
594
+ ],
595
+ "php_generic_services"
596
596
  ],
597
597
  "nested": {
598
598
  "OptimizeMode": {
@@ -229,7 +229,8 @@ message FileOptions {
229
229
 
230
230
  extensions 1000 to max;
231
231
 
232
- reserved 42, "php_generic_services", 38;
232
+ reserved 42, 38;
233
+ reserved "php_generic_services";
233
234
  }
234
235
 
235
236
  message MessageOptions {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobufjs",
3
- "version": "7.5.3",
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>",
@@ -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
+ }