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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (458) hide show
  1. package/README.md +1 -1
  2. package/node_modules/@types/geojson/README.md +1 -1
  3. package/node_modules/@types/geojson/index.d.ts +36 -2
  4. package/node_modules/@types/geojson/package.json +2 -2
  5. package/node_modules/@types/node/README.md +2 -2
  6. package/node_modules/@types/node/assert.d.ts +14 -0
  7. package/node_modules/@types/node/async_hooks.d.ts +64 -2
  8. package/node_modules/@types/node/buffer.buffer.d.ts +117 -39
  9. package/node_modules/@types/node/buffer.d.ts +6 -13
  10. package/node_modules/@types/node/cluster.d.ts +1 -1
  11. package/node_modules/@types/node/constants.d.ts +14 -12
  12. package/node_modules/@types/node/crypto.d.ts +44 -10
  13. package/node_modules/@types/node/dgram.d.ts +10 -7
  14. package/node_modules/@types/node/diagnostics_channel.d.ts +20 -1
  15. package/node_modules/@types/node/fs/promises.d.ts +23 -26
  16. package/node_modules/@types/node/fs.d.ts +166 -125
  17. package/node_modules/@types/node/globals.d.ts +141 -338
  18. package/node_modules/@types/node/http.d.ts +25 -3
  19. package/node_modules/@types/node/http2.d.ts +3 -4
  20. package/node_modules/@types/node/https.d.ts +3 -1
  21. package/node_modules/@types/node/inspector.d.ts +36 -0
  22. package/node_modules/@types/node/module.d.ts +599 -236
  23. package/node_modules/@types/node/net.d.ts +44 -13
  24. package/node_modules/@types/node/package.json +9 -4
  25. package/node_modules/@types/node/perf_hooks.d.ts +5 -0
  26. package/node_modules/@types/node/process.d.ts +69 -2
  27. package/node_modules/@types/node/querystring.d.ts +2 -3
  28. package/node_modules/@types/node/readline.d.ts +6 -1
  29. package/node_modules/@types/node/sea.d.ts +1 -1
  30. package/node_modules/@types/node/sqlite.d.ts +291 -17
  31. package/node_modules/@types/node/stream/consumers.d.ts +32 -6
  32. package/node_modules/@types/node/stream/web.d.ts +9 -4
  33. package/node_modules/@types/node/stream.d.ts +936 -1000
  34. package/node_modules/@types/node/test.d.ts +169 -137
  35. package/node_modules/@types/node/timers/promises.d.ts +24 -13
  36. package/node_modules/@types/node/timers.d.ts +159 -112
  37. package/node_modules/@types/node/tls.d.ts +34 -1
  38. package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +110 -35
  39. package/node_modules/@types/node/util.d.ts +323 -110
  40. package/node_modules/@types/node/v8.d.ts +81 -0
  41. package/node_modules/@types/node/vm.d.ts +21 -6
  42. package/node_modules/@types/node/worker_threads.d.ts +1 -0
  43. package/node_modules/@types/node/zlib.d.ts +167 -36
  44. package/node_modules/axios/CHANGELOG.md +165 -0
  45. package/node_modules/axios/README.md +55 -33
  46. package/node_modules/axios/dist/axios.js +85 -43
  47. package/node_modules/axios/dist/axios.js.map +1 -1
  48. package/node_modules/axios/dist/axios.min.js +2 -1
  49. package/node_modules/axios/dist/axios.min.js.map +1 -1
  50. package/node_modules/axios/dist/browser/axios.cjs +92 -47
  51. package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
  52. package/node_modules/axios/dist/esm/axios.js +92 -47
  53. package/node_modules/axios/dist/esm/axios.js.map +1 -1
  54. package/node_modules/axios/dist/esm/axios.min.js +2 -1
  55. package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
  56. package/node_modules/axios/dist/node/axios.cjs +123 -51
  57. package/node_modules/axios/dist/node/axios.cjs.map +1 -1
  58. package/node_modules/axios/index.d.cts +17 -5
  59. package/node_modules/axios/index.d.ts +6 -3
  60. package/node_modules/axios/lib/adapters/fetch.js +2 -2
  61. package/node_modules/axios/lib/adapters/http.js +1 -1
  62. package/node_modules/axios/lib/core/Axios.js +13 -4
  63. package/node_modules/axios/lib/core/AxiosHeaders.js +15 -3
  64. package/node_modules/axios/lib/core/buildFullPath.js +3 -2
  65. package/node_modules/axios/lib/core/mergeConfig.js +1 -1
  66. package/node_modules/axios/lib/env/data.js +1 -1
  67. package/node_modules/axios/lib/helpers/formDataToStream.js +4 -3
  68. package/node_modules/axios/lib/helpers/resolveConfig.js +1 -1
  69. package/node_modules/axios/lib/helpers/throttle.js +1 -1
  70. package/node_modules/axios/lib/helpers/toFormData.js +4 -0
  71. package/node_modules/axios/lib/helpers/toURLEncodedForm.js +4 -3
  72. package/node_modules/axios/lib/platform/node/index.js +26 -0
  73. package/node_modules/axios/lib/utils.js +48 -28
  74. package/node_modules/axios/package.json +14 -5
  75. package/node_modules/bignumber.js/CHANGELOG.md +82 -1
  76. package/node_modules/bignumber.js/LICENCE.md +1 -1
  77. package/node_modules/bignumber.js/README.md +6 -4
  78. package/node_modules/bignumber.js/bignumber.d.mts +6 -0
  79. package/node_modules/bignumber.js/bignumber.d.ts +3 -1829
  80. package/node_modules/bignumber.js/bignumber.js +3 -3
  81. package/node_modules/bignumber.js/bignumber.mjs +3 -3
  82. package/node_modules/bignumber.js/package.json +17 -7
  83. package/node_modules/bignumber.js/types.d.ts +1821 -0
  84. package/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
  85. package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
  86. package/node_modules/call-bind-apply-helpers/.nycrc +9 -0
  87. package/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
  88. package/node_modules/call-bind-apply-helpers/LICENSE +21 -0
  89. package/node_modules/call-bind-apply-helpers/README.md +62 -0
  90. package/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
  91. package/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
  92. package/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
  93. package/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
  94. package/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
  95. package/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
  96. package/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
  97. package/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
  98. package/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
  99. package/node_modules/call-bind-apply-helpers/index.js +15 -0
  100. package/node_modules/call-bind-apply-helpers/package.json +85 -0
  101. package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
  102. package/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
  103. package/node_modules/call-bind-apply-helpers/test/index.js +63 -0
  104. package/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
  105. package/node_modules/dunder-proto/.eslintrc +5 -0
  106. package/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
  107. package/node_modules/dunder-proto/.nycrc +13 -0
  108. package/node_modules/dunder-proto/CHANGELOG.md +24 -0
  109. package/node_modules/dunder-proto/LICENSE +21 -0
  110. package/node_modules/dunder-proto/README.md +54 -0
  111. package/node_modules/dunder-proto/get.d.ts +5 -0
  112. package/node_modules/dunder-proto/get.js +30 -0
  113. package/node_modules/dunder-proto/package.json +76 -0
  114. package/node_modules/dunder-proto/set.d.ts +5 -0
  115. package/node_modules/dunder-proto/set.js +35 -0
  116. package/node_modules/dunder-proto/test/get.js +34 -0
  117. package/node_modules/dunder-proto/test/index.js +4 -0
  118. package/node_modules/dunder-proto/test/set.js +50 -0
  119. package/node_modules/dunder-proto/tsconfig.json +9 -0
  120. package/node_modules/es-define-property/.eslintrc +13 -0
  121. package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
  122. package/node_modules/es-define-property/.nycrc +9 -0
  123. package/node_modules/es-define-property/CHANGELOG.md +29 -0
  124. package/node_modules/es-define-property/LICENSE +21 -0
  125. package/node_modules/es-define-property/README.md +49 -0
  126. package/node_modules/es-define-property/index.d.ts +3 -0
  127. package/node_modules/es-define-property/index.js +14 -0
  128. package/node_modules/es-define-property/package.json +81 -0
  129. package/node_modules/es-define-property/test/index.js +56 -0
  130. package/node_modules/es-define-property/tsconfig.json +10 -0
  131. package/node_modules/es-errors/.eslintrc +5 -0
  132. package/node_modules/es-errors/.github/FUNDING.yml +12 -0
  133. package/node_modules/es-errors/CHANGELOG.md +40 -0
  134. package/node_modules/es-errors/LICENSE +21 -0
  135. package/node_modules/es-errors/README.md +55 -0
  136. package/node_modules/es-errors/eval.d.ts +3 -0
  137. package/node_modules/es-errors/eval.js +4 -0
  138. package/node_modules/es-errors/index.d.ts +3 -0
  139. package/node_modules/es-errors/index.js +4 -0
  140. package/node_modules/es-errors/package.json +80 -0
  141. package/node_modules/es-errors/range.d.ts +3 -0
  142. package/node_modules/es-errors/range.js +4 -0
  143. package/node_modules/es-errors/ref.d.ts +3 -0
  144. package/node_modules/es-errors/ref.js +4 -0
  145. package/node_modules/es-errors/syntax.d.ts +3 -0
  146. package/node_modules/es-errors/syntax.js +4 -0
  147. package/node_modules/es-errors/test/index.js +19 -0
  148. package/node_modules/es-errors/tsconfig.json +49 -0
  149. package/node_modules/es-errors/type.d.ts +3 -0
  150. package/node_modules/es-errors/type.js +4 -0
  151. package/node_modules/es-errors/uri.d.ts +3 -0
  152. package/node_modules/es-errors/uri.js +4 -0
  153. package/node_modules/es-object-atoms/.eslintrc +16 -0
  154. package/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
  155. package/node_modules/es-object-atoms/CHANGELOG.md +37 -0
  156. package/node_modules/es-object-atoms/LICENSE +21 -0
  157. package/node_modules/es-object-atoms/README.md +63 -0
  158. package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
  159. package/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
  160. package/node_modules/es-object-atoms/ToObject.d.ts +7 -0
  161. package/node_modules/es-object-atoms/ToObject.js +10 -0
  162. package/node_modules/es-object-atoms/index.d.ts +3 -0
  163. package/node_modules/es-object-atoms/index.js +4 -0
  164. package/node_modules/es-object-atoms/isObject.d.ts +3 -0
  165. package/node_modules/es-object-atoms/isObject.js +6 -0
  166. package/node_modules/es-object-atoms/package.json +80 -0
  167. package/node_modules/es-object-atoms/test/index.js +38 -0
  168. package/node_modules/es-object-atoms/tsconfig.json +6 -0
  169. package/node_modules/es-set-tostringtag/.eslintrc +13 -0
  170. package/node_modules/es-set-tostringtag/.nycrc +9 -0
  171. package/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
  172. package/node_modules/es-set-tostringtag/LICENSE +21 -0
  173. package/node_modules/es-set-tostringtag/README.md +53 -0
  174. package/node_modules/es-set-tostringtag/index.d.ts +10 -0
  175. package/node_modules/es-set-tostringtag/index.js +35 -0
  176. package/node_modules/es-set-tostringtag/package.json +78 -0
  177. package/node_modules/es-set-tostringtag/test/index.js +85 -0
  178. package/node_modules/es-set-tostringtag/tsconfig.json +9 -0
  179. package/node_modules/fast-xml-parser/CHANGELOG.md +70 -0
  180. package/node_modules/fast-xml-parser/README.md +37 -51
  181. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
  182. package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
  183. package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
  184. package/node_modules/fast-xml-parser/lib/fxp.d.cts +458 -0
  185. package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
  186. package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
  187. package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
  188. package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
  189. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
  190. package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -0
  191. package/node_modules/fast-xml-parser/package.json +36 -19
  192. package/node_modules/fast-xml-parser/src/cli/cli.js +16 -12
  193. package/node_modules/fast-xml-parser/src/cli/man.js +6 -1
  194. package/node_modules/fast-xml-parser/src/cli/read.js +30 -79
  195. package/node_modules/fast-xml-parser/src/fxp.d.ts +33 -6
  196. package/node_modules/fast-xml-parser/src/fxp.js +11 -8
  197. package/node_modules/fast-xml-parser/src/ignoreAttributes.js +2 -4
  198. package/node_modules/fast-xml-parser/src/util.js +14 -18
  199. package/node_modules/fast-xml-parser/src/{v5 → v6}/CharsSymbol.js +1 -1
  200. package/node_modules/fast-xml-parser/src/{v5 → v6}/EntitiesParser.js +3 -6
  201. package/node_modules/fast-xml-parser/src/{v5 → v6}/OptionsBuilder.js +3 -6
  202. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/BaseOutputBuilder.js +1 -3
  203. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsArrBuilder.js +3 -3
  204. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsMinArrBuilder.js +3 -5
  205. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsObjBuilder.js +3 -5
  206. package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/ParserOptionsBuilder.js +6 -11
  207. package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPath.js +1 -1
  208. package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPathMatcher.js +3 -5
  209. package/node_modules/fast-xml-parser/src/{v5 → v6}/XMLParser.js +3 -5
  210. package/node_modules/fast-xml-parser/src/{v5 → v6}/Xml2JsParser.js +8 -10
  211. package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlPartReader.js +4 -10
  212. package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlSpecialTagsReader.js +5 -12
  213. package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/BufferSource.js +1 -3
  214. package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/StringSource.js +1 -3
  215. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/EntitiesParser.js +3 -5
  216. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParser.js +1 -2
  217. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParserExt.js +1 -2
  218. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/currency.js +1 -3
  219. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/join.js +1 -2
  220. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/number.js +2 -4
  221. package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/trim.js +1 -3
  222. package/node_modules/fast-xml-parser/src/validator.js +5 -5
  223. package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +5 -4
  224. package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +1 -2
  225. package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +287 -71
  226. package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +3 -5
  227. package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +23 -23
  228. package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +21 -8
  229. package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +8 -2
  230. package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +22 -7
  231. package/node_modules/form-data/CHANGELOG.md +601 -0
  232. package/node_modules/form-data/{Readme.md → README.md} +34 -37
  233. package/node_modules/form-data/lib/browser.js +3 -1
  234. package/node_modules/form-data/lib/form_data.js +140 -147
  235. package/node_modules/form-data/lib/populate.js +5 -5
  236. package/node_modules/form-data/package.json +34 -23
  237. package/node_modules/function-bind/.eslintrc +21 -0
  238. package/node_modules/function-bind/.github/FUNDING.yml +12 -0
  239. package/node_modules/function-bind/.github/SECURITY.md +3 -0
  240. package/node_modules/function-bind/.nycrc +13 -0
  241. package/node_modules/function-bind/CHANGELOG.md +136 -0
  242. package/node_modules/function-bind/LICENSE +20 -0
  243. package/node_modules/function-bind/README.md +46 -0
  244. package/node_modules/function-bind/implementation.js +84 -0
  245. package/node_modules/function-bind/index.js +5 -0
  246. package/node_modules/function-bind/package.json +87 -0
  247. package/node_modules/function-bind/test/.eslintrc +9 -0
  248. package/node_modules/function-bind/test/index.js +252 -0
  249. package/node_modules/get-intrinsic/.eslintrc +42 -0
  250. package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
  251. package/node_modules/get-intrinsic/.nycrc +9 -0
  252. package/node_modules/get-intrinsic/CHANGELOG.md +186 -0
  253. package/node_modules/get-intrinsic/LICENSE +21 -0
  254. package/node_modules/get-intrinsic/README.md +71 -0
  255. package/node_modules/get-intrinsic/index.js +378 -0
  256. package/node_modules/get-intrinsic/package.json +97 -0
  257. package/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
  258. package/node_modules/get-proto/.eslintrc +10 -0
  259. package/node_modules/get-proto/.github/FUNDING.yml +12 -0
  260. package/node_modules/get-proto/.nycrc +9 -0
  261. package/node_modules/get-proto/CHANGELOG.md +21 -0
  262. package/node_modules/get-proto/LICENSE +21 -0
  263. package/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
  264. package/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
  265. package/node_modules/get-proto/README.md +50 -0
  266. package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
  267. package/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
  268. package/node_modules/get-proto/index.d.ts +5 -0
  269. package/node_modules/get-proto/index.js +27 -0
  270. package/node_modules/get-proto/package.json +81 -0
  271. package/node_modules/get-proto/test/index.js +68 -0
  272. package/node_modules/get-proto/tsconfig.json +9 -0
  273. package/node_modules/gopd/.eslintrc +16 -0
  274. package/node_modules/gopd/.github/FUNDING.yml +12 -0
  275. package/node_modules/gopd/CHANGELOG.md +45 -0
  276. package/node_modules/gopd/LICENSE +21 -0
  277. package/node_modules/gopd/README.md +40 -0
  278. package/node_modules/gopd/gOPD.d.ts +1 -0
  279. package/node_modules/gopd/gOPD.js +4 -0
  280. package/node_modules/gopd/index.d.ts +5 -0
  281. package/node_modules/gopd/index.js +15 -0
  282. package/node_modules/gopd/package.json +77 -0
  283. package/node_modules/gopd/test/index.js +36 -0
  284. package/node_modules/gopd/tsconfig.json +9 -0
  285. package/node_modules/has-symbols/.eslintrc +11 -0
  286. package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
  287. package/node_modules/has-symbols/.nycrc +9 -0
  288. package/node_modules/has-symbols/CHANGELOG.md +91 -0
  289. package/node_modules/has-symbols/LICENSE +21 -0
  290. package/node_modules/has-symbols/README.md +46 -0
  291. package/node_modules/has-symbols/index.d.ts +3 -0
  292. package/node_modules/has-symbols/index.js +14 -0
  293. package/node_modules/has-symbols/package.json +111 -0
  294. package/node_modules/has-symbols/shams.d.ts +3 -0
  295. package/node_modules/has-symbols/shams.js +45 -0
  296. package/node_modules/has-symbols/test/index.js +22 -0
  297. package/node_modules/has-symbols/test/shams/core-js.js +29 -0
  298. package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
  299. package/node_modules/has-symbols/test/tests.js +58 -0
  300. package/node_modules/has-symbols/tsconfig.json +10 -0
  301. package/node_modules/has-tostringtag/.eslintrc +5 -0
  302. package/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
  303. package/node_modules/has-tostringtag/.nycrc +13 -0
  304. package/node_modules/has-tostringtag/CHANGELOG.md +42 -0
  305. package/node_modules/has-tostringtag/LICENSE +21 -0
  306. package/node_modules/has-tostringtag/README.md +46 -0
  307. package/node_modules/has-tostringtag/index.d.ts +3 -0
  308. package/node_modules/has-tostringtag/index.js +8 -0
  309. package/node_modules/has-tostringtag/package.json +108 -0
  310. package/node_modules/has-tostringtag/shams.d.ts +3 -0
  311. package/node_modules/has-tostringtag/shams.js +8 -0
  312. package/node_modules/has-tostringtag/test/index.js +21 -0
  313. package/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
  314. package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
  315. package/node_modules/has-tostringtag/test/tests.js +15 -0
  316. package/node_modules/has-tostringtag/tsconfig.json +49 -0
  317. package/node_modules/hasown/.eslintrc +5 -0
  318. package/node_modules/hasown/.github/FUNDING.yml +12 -0
  319. package/node_modules/hasown/.nycrc +13 -0
  320. package/node_modules/hasown/CHANGELOG.md +40 -0
  321. package/node_modules/hasown/LICENSE +21 -0
  322. package/node_modules/hasown/README.md +40 -0
  323. package/node_modules/hasown/index.d.ts +3 -0
  324. package/node_modules/hasown/index.js +8 -0
  325. package/node_modules/hasown/package.json +92 -0
  326. package/node_modules/hasown/tsconfig.json +6 -0
  327. package/node_modules/long/README.md +93 -87
  328. package/node_modules/long/index.d.ts +2 -2
  329. package/node_modules/long/index.js +360 -246
  330. package/node_modules/long/package.json +12 -4
  331. package/node_modules/long/types.d.ts +474 -0
  332. package/node_modules/long/umd/index.d.ts +2 -456
  333. package/node_modules/long/umd/index.js +1585 -1395
  334. package/node_modules/long/umd/types.d.ts +474 -0
  335. package/node_modules/math-intrinsics/.eslintrc +16 -0
  336. package/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
  337. package/node_modules/math-intrinsics/CHANGELOG.md +24 -0
  338. package/node_modules/math-intrinsics/LICENSE +21 -0
  339. package/node_modules/math-intrinsics/README.md +50 -0
  340. package/node_modules/math-intrinsics/abs.d.ts +1 -0
  341. package/node_modules/math-intrinsics/abs.js +4 -0
  342. package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
  343. package/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
  344. package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
  345. package/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
  346. package/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
  347. package/node_modules/math-intrinsics/constants/maxValue.js +5 -0
  348. package/node_modules/math-intrinsics/floor.d.ts +1 -0
  349. package/node_modules/math-intrinsics/floor.js +4 -0
  350. package/node_modules/math-intrinsics/isFinite.d.ts +3 -0
  351. package/node_modules/math-intrinsics/isFinite.js +12 -0
  352. package/node_modules/math-intrinsics/isInteger.d.ts +3 -0
  353. package/node_modules/math-intrinsics/isInteger.js +16 -0
  354. package/node_modules/math-intrinsics/isNaN.d.ts +1 -0
  355. package/node_modules/math-intrinsics/isNaN.js +6 -0
  356. package/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
  357. package/node_modules/math-intrinsics/isNegativeZero.js +6 -0
  358. package/node_modules/math-intrinsics/max.d.ts +1 -0
  359. package/node_modules/math-intrinsics/max.js +4 -0
  360. package/node_modules/math-intrinsics/min.d.ts +1 -0
  361. package/node_modules/math-intrinsics/min.js +4 -0
  362. package/node_modules/math-intrinsics/mod.d.ts +3 -0
  363. package/node_modules/math-intrinsics/mod.js +9 -0
  364. package/node_modules/math-intrinsics/package.json +86 -0
  365. package/node_modules/math-intrinsics/pow.d.ts +1 -0
  366. package/node_modules/math-intrinsics/pow.js +4 -0
  367. package/node_modules/math-intrinsics/round.d.ts +1 -0
  368. package/node_modules/math-intrinsics/round.js +4 -0
  369. package/node_modules/math-intrinsics/sign.d.ts +3 -0
  370. package/node_modules/math-intrinsics/sign.js +11 -0
  371. package/node_modules/math-intrinsics/test/index.js +192 -0
  372. package/node_modules/math-intrinsics/tsconfig.json +3 -0
  373. package/node_modules/protobufjs/dist/light/protobuf.js +532 -80
  374. package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
  375. package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
  376. package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
  377. package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
  378. package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
  379. package/node_modules/protobufjs/dist/protobuf.js +672 -144
  380. package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
  381. package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
  382. package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
  383. package/node_modules/protobufjs/ext/descriptor/index.js +179 -69
  384. package/node_modules/protobufjs/google/protobuf/descriptor.json +659 -16
  385. package/node_modules/protobufjs/google/protobuf/descriptor.proto +254 -6
  386. package/node_modules/protobufjs/index.d.ts +71 -13
  387. package/node_modules/protobufjs/package.json +4 -2
  388. package/node_modules/protobufjs/src/decoder.js +8 -10
  389. package/node_modules/protobufjs/src/encoder.js +1 -1
  390. package/node_modules/protobufjs/src/enum.js +25 -0
  391. package/node_modules/protobufjs/src/field.js +104 -28
  392. package/node_modules/protobufjs/src/namespace.js +126 -13
  393. package/node_modules/protobufjs/src/object.js +139 -4
  394. package/node_modules/protobufjs/src/oneof.js +19 -0
  395. package/node_modules/protobufjs/src/parse.js +139 -63
  396. package/node_modules/protobufjs/src/root.js +51 -15
  397. package/node_modules/protobufjs/src/service.js +23 -1
  398. package/node_modules/protobufjs/src/type.js +29 -4
  399. package/node_modules/protobufjs/src/util.js +4 -1
  400. package/node_modules/strnum/.github/SECURITY.md +5 -0
  401. package/node_modules/strnum/CHANGELOG.md +33 -0
  402. package/node_modules/strnum/README.md +14 -3
  403. package/node_modules/strnum/algo.stflow +84 -0
  404. package/node_modules/strnum/package.json +9 -2
  405. package/node_modules/strnum/strnum.js +72 -67
  406. package/node_modules/strnum/strnum.test.js +29 -6
  407. package/node_modules/strnum/test.js +9 -0
  408. package/node_modules/undici-types/dispatcher.d.ts +1 -0
  409. package/node_modules/undici-types/package.json +1 -1
  410. package/node_modules/undici-types/readable.d.ts +5 -0
  411. package/node_modules/undici-types/webidl.d.ts +6 -0
  412. package/node_modules/uuid/README.md +12 -12
  413. package/node_modules/uuid/dist/cjs/types.d.ts +1 -1
  414. package/node_modules/uuid/dist/cjs/v1.d.ts +1 -1
  415. package/node_modules/uuid/dist/cjs/v1.js +1 -1
  416. package/node_modules/uuid/dist/cjs/v3.d.ts +1 -1
  417. package/node_modules/uuid/dist/cjs/v35.d.ts +1 -1
  418. package/node_modules/uuid/dist/cjs/v4.d.ts +1 -1
  419. package/node_modules/uuid/dist/cjs/v5.d.ts +1 -1
  420. package/node_modules/uuid/dist/cjs/v6.d.ts +1 -1
  421. package/node_modules/uuid/dist/cjs/v7.d.ts +1 -1
  422. package/node_modules/uuid/dist/cjs/v7.js +1 -1
  423. package/node_modules/uuid/dist/cjs-browser/types.d.ts +1 -1
  424. package/node_modules/uuid/dist/cjs-browser/v1.d.ts +1 -1
  425. package/node_modules/uuid/dist/cjs-browser/v1.js +1 -1
  426. package/node_modules/uuid/dist/cjs-browser/v3.d.ts +1 -1
  427. package/node_modules/uuid/dist/cjs-browser/v35.d.ts +1 -1
  428. package/node_modules/uuid/dist/cjs-browser/v4.d.ts +1 -1
  429. package/node_modules/uuid/dist/cjs-browser/v5.d.ts +1 -1
  430. package/node_modules/uuid/dist/cjs-browser/v6.d.ts +1 -1
  431. package/node_modules/uuid/dist/cjs-browser/v7.d.ts +1 -1
  432. package/node_modules/uuid/dist/cjs-browser/v7.js +1 -1
  433. package/node_modules/uuid/dist/esm/types.d.ts +1 -1
  434. package/node_modules/uuid/dist/esm/v1.d.ts +1 -1
  435. package/node_modules/uuid/dist/esm/v1.js +1 -1
  436. package/node_modules/uuid/dist/esm/v3.d.ts +1 -1
  437. package/node_modules/uuid/dist/esm/v35.d.ts +1 -1
  438. package/node_modules/uuid/dist/esm/v4.d.ts +1 -1
  439. package/node_modules/uuid/dist/esm/v5.d.ts +1 -1
  440. package/node_modules/uuid/dist/esm/v6.d.ts +1 -1
  441. package/node_modules/uuid/dist/esm/v7.d.ts +1 -1
  442. package/node_modules/uuid/dist/esm/v7.js +1 -1
  443. package/node_modules/uuid/dist/esm-browser/types.d.ts +1 -1
  444. package/node_modules/uuid/dist/esm-browser/v1.d.ts +1 -1
  445. package/node_modules/uuid/dist/esm-browser/v1.js +1 -1
  446. package/node_modules/uuid/dist/esm-browser/v3.d.ts +1 -1
  447. package/node_modules/uuid/dist/esm-browser/v35.d.ts +1 -1
  448. package/node_modules/uuid/dist/esm-browser/v4.d.ts +1 -1
  449. package/node_modules/uuid/dist/esm-browser/v5.d.ts +1 -1
  450. package/node_modules/uuid/dist/esm-browser/v6.d.ts +1 -1
  451. package/node_modules/uuid/dist/esm-browser/v7.d.ts +1 -1
  452. package/node_modules/uuid/dist/esm-browser/v7.js +1 -1
  453. package/node_modules/uuid/package.json +1 -1
  454. package/package.json +7 -7
  455. package/tak-registration.html +4 -4
  456. package/tak-registration.js +19 -10
  457. package/node_modules/axios/SECURITY.md +0 -6
  458. /package/node_modules/fast-xml-parser/src/{v5 → v6}/Report.js +0 -0
@@ -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,7 @@ message FileOptions {
156
229
 
157
230
  extensions 1000 to max;
158
231
 
159
- reserved 38;
232
+ reserved 42, "php_generic_services", 38;
160
233
  }
161
234
 
162
235
  message MessageOptions {
@@ -165,11 +238,13 @@ message MessageOptions {
165
238
  optional bool no_standard_descriptor_accessor = 2;
166
239
  optional bool deprecated = 3;
167
240
  optional bool map_entry = 7;
241
+ optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated=true];
242
+ optional FeatureSet features = 12;
168
243
  repeated UninterpretedOption uninterpreted_option = 999;
169
244
 
170
245
  extensions 1000 to max;
171
246
 
172
- reserved 8;
247
+ reserved 4, 5, 6, 8, 9;
173
248
  }
174
249
 
175
250
  message FieldOptions {
@@ -178,8 +253,15 @@ message FieldOptions {
178
253
  optional bool packed = 2;
179
254
  optional JSType jstype = 6 [default=JS_NORMAL];
180
255
  optional bool lazy = 5;
256
+ optional bool unverified_lazy = 15;
181
257
  optional bool deprecated = 3;
182
- optional bool weak = 10;
258
+ optional bool weak = 10 [deprecated=true];
259
+ optional bool debug_redact = 16;
260
+ optional OptionRetention retention = 17;
261
+ repeated OptionTargetType targets = 19;
262
+ repeated EditionDefault edition_defaults = 20;
263
+ optional FeatureSet features = 21;
264
+ optional FeatureSupport feature_support = 22;
183
265
  repeated UninterpretedOption uninterpreted_option = 999;
184
266
 
185
267
  enum CType {
@@ -196,13 +278,49 @@ message FieldOptions {
196
278
  JS_NUMBER = 2;
197
279
  }
198
280
 
281
+ enum OptionRetention {
282
+
283
+ RETENTION_UNKNOWN = 0;
284
+ RETENTION_RUNTIME = 1;
285
+ RETENTION_SOURCE = 2;
286
+ }
287
+
288
+ enum OptionTargetType {
289
+
290
+ TARGET_TYPE_UNKNOWN = 0;
291
+ TARGET_TYPE_FILE = 1;
292
+ TARGET_TYPE_EXTENSION_RANGE = 2;
293
+ TARGET_TYPE_MESSAGE = 3;
294
+ TARGET_TYPE_FIELD = 4;
295
+ TARGET_TYPE_ONEOF = 5;
296
+ TARGET_TYPE_ENUM = 6;
297
+ TARGET_TYPE_ENUM_ENTRY = 7;
298
+ TARGET_TYPE_SERVICE = 8;
299
+ TARGET_TYPE_METHOD = 9;
300
+ }
301
+
302
+ message EditionDefault {
303
+
304
+ optional Edition edition = 3;
305
+ optional string value = 2;
306
+ }
307
+
308
+ message FeatureSupport {
309
+
310
+ optional Edition edition_introduced = 1;
311
+ optional Edition edition_deprecated = 2;
312
+ optional string deprecation_warning = 3;
313
+ optional Edition edition_removed = 4;
314
+ }
315
+
199
316
  extensions 1000 to max;
200
317
 
201
- reserved 4;
318
+ reserved 4, 18;
202
319
  }
203
320
 
204
321
  message OneofOptions {
205
322
 
323
+ optional FeatureSet features = 1;
206
324
  repeated UninterpretedOption uninterpreted_option = 999;
207
325
 
208
326
  extensions 1000 to max;
@@ -212,14 +330,21 @@ message EnumOptions {
212
330
 
213
331
  optional bool allow_alias = 2;
214
332
  optional bool deprecated = 3;
333
+ optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated=true];
334
+ optional FeatureSet features = 7;
215
335
  repeated UninterpretedOption uninterpreted_option = 999;
216
336
 
217
337
  extensions 1000 to max;
338
+
339
+ reserved 5;
218
340
  }
219
341
 
220
342
  message EnumValueOptions {
221
343
 
222
344
  optional bool deprecated = 1;
345
+ optional FeatureSet features = 2;
346
+ optional bool debug_redact = 3;
347
+ optional FieldOptions.FeatureSupport feature_support = 4;
223
348
  repeated UninterpretedOption uninterpreted_option = 999;
224
349
 
225
350
  extensions 1000 to max;
@@ -227,6 +352,7 @@ message EnumValueOptions {
227
352
 
228
353
  message ServiceOptions {
229
354
 
355
+ optional FeatureSet features = 34;
230
356
  optional bool deprecated = 33;
231
357
  repeated UninterpretedOption uninterpreted_option = 999;
232
358
 
@@ -236,8 +362,17 @@ message ServiceOptions {
236
362
  message MethodOptions {
237
363
 
238
364
  optional bool deprecated = 33;
365
+ optional IdempotencyLevel idempotency_level = 34 [default=IDEMPOTENCY_UNKNOWN];
366
+ optional FeatureSet features = 35;
239
367
  repeated UninterpretedOption uninterpreted_option = 999;
240
368
 
369
+ enum IdempotencyLevel {
370
+
371
+ IDEMPOTENCY_UNKNOWN = 0;
372
+ NO_SIDE_EFFECTS = 1;
373
+ IDEMPOTENT = 2;
374
+ }
375
+
241
376
  extensions 1000 to max;
242
377
  }
243
378
 
@@ -258,6 +393,102 @@ message UninterpretedOption {
258
393
  }
259
394
  }
260
395
 
396
+ message FeatureSet {
397
+
398
+ 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"];
399
+ 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"];
400
+ 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"];
401
+ 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"];
402
+ 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"];
403
+ 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"];
404
+ 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"];
405
+ 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"];
406
+
407
+ enum FieldPresence {
408
+
409
+ FIELD_PRESENCE_UNKNOWN = 0;
410
+ EXPLICIT = 1;
411
+ IMPLICIT = 2;
412
+ LEGACY_REQUIRED = 3;
413
+ }
414
+
415
+ enum EnumType {
416
+
417
+ ENUM_TYPE_UNKNOWN = 0;
418
+ OPEN = 1;
419
+ CLOSED = 2;
420
+ }
421
+
422
+ enum RepeatedFieldEncoding {
423
+
424
+ REPEATED_FIELD_ENCODING_UNKNOWN = 0;
425
+ PACKED = 1;
426
+ EXPANDED = 2;
427
+ }
428
+
429
+ enum Utf8Validation {
430
+
431
+ UTF8_VALIDATION_UNKNOWN = 0;
432
+ VERIFY = 2;
433
+ NONE = 3;
434
+ }
435
+
436
+ enum MessageEncoding {
437
+
438
+ MESSAGE_ENCODING_UNKNOWN = 0;
439
+ LENGTH_PREFIXED = 1;
440
+ DELIMITED = 2;
441
+ }
442
+
443
+ enum JsonFormat {
444
+
445
+ JSON_FORMAT_UNKNOWN = 0;
446
+ ALLOW = 1;
447
+ LEGACY_BEST_EFFORT = 2;
448
+ }
449
+
450
+ enum EnforceNamingStyle {
451
+
452
+ ENFORCE_NAMING_STYLE_UNKNOWN = 0;
453
+ STYLE2024 = 1;
454
+ STYLE_LEGACY = 2;
455
+ }
456
+
457
+ message VisibilityFeature {
458
+
459
+ enum DefaultSymbolVisibility {
460
+
461
+ DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0;
462
+ EXPORT_ALL = 1;
463
+ EXPORT_TOP_LEVEL = 2;
464
+ LOCAL_ALL = 3;
465
+ STRICT = 4;
466
+ }
467
+
468
+ reserved 1 to max;
469
+ }
470
+
471
+ extensions 1000 to 9994, 9995 to 9999, 10000;
472
+
473
+ reserved 999;
474
+ }
475
+
476
+ message FeatureSetDefaults {
477
+
478
+ repeated FeatureSetEditionDefault defaults = 1;
479
+ optional Edition minimum_edition = 4;
480
+ optional Edition maximum_edition = 5;
481
+
482
+ message FeatureSetEditionDefault {
483
+
484
+ optional Edition edition = 3;
485
+ optional FeatureSet overridable_features = 4;
486
+ optional FeatureSet fixed_features = 5;
487
+
488
+ reserved 1, 2, "features";
489
+ }
490
+ }
491
+
261
492
  message SourceCodeInfo {
262
493
 
263
494
  repeated Location location = 1;
@@ -270,6 +501,8 @@ message SourceCodeInfo {
270
501
  optional string trailing_comments = 4;
271
502
  repeated string leading_detached_comments = 6;
272
503
  }
504
+
505
+ extensions 536000000;
273
506
  }
274
507
 
275
508
  message GeneratedCodeInfo {
@@ -282,5 +515,20 @@ message GeneratedCodeInfo {
282
515
  optional string source_file = 2;
283
516
  optional int32 begin = 3;
284
517
  optional int32 end = 4;
518
+ optional Semantic semantic = 5;
519
+
520
+ enum Semantic {
521
+
522
+ NONE = 0;
523
+ SET = 1;
524
+ ALIAS = 2;
525
+ }
285
526
  }
286
527
  }
528
+
529
+ enum SymbolVisibility {
530
+
531
+ VISIBILITY_UNSET = 0;
532
+ VISIBILITY_LOCAL = 1;
533
+ VISIBILITY_EXPORT = 2;
534
+ }
@@ -179,6 +179,9 @@ export class Enum extends ReflectionObject {
179
179
  /** Values options, if any */
180
180
  public valuesOptions?: { [k: string]: { [k: string]: any } };
181
181
 
182
+ /** Resolved values features, if any */
183
+ public _valuesFeatures?: { [k: string]: { [k: string]: any } };
184
+
182
185
  /** Reserved ranges, if any. */
183
186
  public reserved: (number[]|string)[];
184
187
 
@@ -267,9 +270,24 @@ export class Field extends FieldBase {
267
270
  */
268
271
  public static fromJSON(name: string, json: IField): Field;
269
272
 
270
- /** Determines whether this field is packed. Only relevant when repeated and working with proto2. */
273
+ /** Determines whether this field is required. */
274
+ public readonly required: boolean;
275
+
276
+ /** Determines whether this field is not required. */
277
+ public readonly optional: boolean;
278
+
279
+ /**
280
+ * Determines whether this field uses tag-delimited encoding. In proto2 this
281
+ * corresponded to group syntax.
282
+ */
283
+ public readonly delimited: boolean;
284
+
285
+ /** Determines whether this field is packed. Only relevant when repeated. */
271
286
  public readonly packed: boolean;
272
287
 
288
+ /** Determines whether this field tracks presence. */
289
+ public readonly hasPresence: boolean;
290
+
273
291
  /**
274
292
  * Field decorator (TypeScript).
275
293
  * @param fieldId Field id
@@ -314,12 +332,6 @@ export class FieldBase extends ReflectionObject {
314
332
  /** Extended type if different from parent. */
315
333
  public extend?: string;
316
334
 
317
- /** Whether this field is required. */
318
- public required: boolean;
319
-
320
- /** Whether this field is optional. */
321
- public optional: boolean;
322
-
323
335
  /** Whether this field is repeated. */
324
336
  public repeated: boolean;
325
337
 
@@ -369,6 +381,14 @@ export class FieldBase extends ReflectionObject {
369
381
  * @throws {Error} If any reference cannot be resolved
370
382
  */
371
383
  public resolve(): Field;
384
+
385
+ /**
386
+ * Infers field features from legacy syntax that may have been specified differently.
387
+ * in older editions.
388
+ * @param edition The edition this proto is on, or undefined if pre-editions
389
+ * @returns The feature values to override
390
+ */
391
+ public _inferLegacyProtoFeatures(edition: (string|undefined)): object;
372
392
  }
373
393
 
374
394
  /** Field descriptor. */
@@ -730,6 +750,12 @@ export abstract class NamespaceBase extends ReflectionObject {
730
750
  /** Nested objects by name. */
731
751
  public nested?: { [k: string]: ReflectionObject };
732
752
 
753
+ /** Whether or not objects contained in this namespace need feature resolution. */
754
+ protected _needsRecursiveFeatureResolution: boolean;
755
+
756
+ /** Whether or not objects contained in this namespace need a resolve. */
757
+ protected _needsRecursiveResolve: boolean;
758
+
733
759
  /** Nested objects of this namespace as an array for iteration. */
734
760
  public readonly nestedArray: ReflectionObject[];
735
761
 
@@ -919,6 +945,27 @@ export abstract class ReflectionObject {
919
945
  */
920
946
  public resolve(): ReflectionObject;
921
947
 
948
+ /**
949
+ * Resolves this objects editions features.
950
+ * @param edition The edition we're currently resolving for.
951
+ * @returns `this`
952
+ */
953
+ public _resolveFeaturesRecursive(edition: string): ReflectionObject;
954
+
955
+ /**
956
+ * Resolves child features from parent features
957
+ * @param edition The edition we're currently resolving for.
958
+ */
959
+ public _resolveFeatures(edition: string): void;
960
+
961
+ /**
962
+ * Infers features from legacy syntax that may have been specified differently.
963
+ * in older editions.
964
+ * @param edition The edition this proto is on, or undefined if pre-editions
965
+ * @returns The feature values to override
966
+ */
967
+ public _inferLegacyProtoFeatures(edition: (string|undefined)): object;
968
+
922
969
  /**
923
970
  * Gets an option value.
924
971
  * @param name Option name
@@ -933,7 +980,7 @@ export abstract class ReflectionObject {
933
980
  * @param [ifNotSet] Sets the option only if it isn't currently set
934
981
  * @returns `this`
935
982
  */
936
- public setOption(name: string, value: any, ifNotSet?: boolean): ReflectionObject;
983
+ public setOption(name: string, value: any, ifNotSet?: (boolean|undefined)): ReflectionObject;
937
984
 
938
985
  /**
939
986
  * Sets a parsed option.
@@ -957,6 +1004,12 @@ export abstract class ReflectionObject {
957
1004
  * @returns Class name[, space, full name]
958
1005
  */
959
1006
  public toString(): string;
1007
+
1008
+ /**
1009
+ * Converts the edition this object is pinned to for JSON format.
1010
+ * @returns The edition string for JSON representation
1011
+ */
1012
+ public _editionToJSON(): (string|undefined);
960
1013
  }
961
1014
 
962
1015
  /** Reflected oneof. */
@@ -1010,6 +1063,13 @@ export class OneOf extends ReflectionObject {
1010
1063
  */
1011
1064
  public remove(field: Field): OneOf;
1012
1065
 
1066
+ /**
1067
+ * Determines whether this field corresponds to a synthetic oneof created for
1068
+ * a proto3 optional field. No behavioral logic should depend on this, but it
1069
+ * can be relevant for reflection.
1070
+ */
1071
+ public readonly isProto3Optional: boolean;
1072
+
1013
1073
  /**
1014
1074
  * OneOf decorator (TypeScript).
1015
1075
  * @param fieldNames Field names
@@ -1055,9 +1115,6 @@ export interface IParserResult {
1055
1115
  /** Weak imports, if any */
1056
1116
  weakImports: (string[]|undefined);
1057
1117
 
1058
- /** Syntax, if specified (either `"proto2"` or `"proto3"`) */
1059
- syntax: (string|undefined);
1060
-
1061
1118
  /** Populated root instance */
1062
1119
  root: Root;
1063
1120
  }
@@ -1255,7 +1312,7 @@ export class Root extends NamespaceBase {
1255
1312
 
1256
1313
  /**
1257
1314
  * Loads a namespace descriptor into a root namespace.
1258
- * @param json Nameespace descriptor
1315
+ * @param json Namespace descriptor
1259
1316
  * @param [root] Root namespace, defaults to create a new one if omitted
1260
1317
  * @returns Root namespace
1261
1318
  */
@@ -2194,9 +2251,10 @@ export namespace util {
2194
2251
  * @param dst Destination object
2195
2252
  * @param path dot '.' delimited path of the property to set
2196
2253
  * @param value the value to set
2254
+ * @param [ifNotSet] Sets the option only if it isn't currently set
2197
2255
  * @returns Destination object
2198
2256
  */
2199
- function setProperty(dst: { [k: string]: any }, path: string, value: object): { [k: string]: any };
2257
+ function setProperty(dst: { [k: string]: any }, path: string, value: object, ifNotSet?: (boolean|undefined)): { [k: string]: any };
2200
2258
 
2201
2259
  /** Decorator root (TypeScript). */
2202
2260
  let decorateRoot: Root;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobufjs",
3
- "version": "7.4.0",
3
+ "version": "7.5.3",
4
4
  "versionScheme": "~",
5
5
  "description": "Protocol Buffers for JavaScript (& TypeScript).",
6
6
  "author": "Daniel Wirtz <dcode+protobufjs@dcode.io>",
@@ -33,7 +33,9 @@
33
33
  "build:bundle": "gulp --gulpfile scripts/gulpfile.js",
34
34
  "build:types": "node cli/bin/pbts --main --global protobuf --out index.d.ts src/ lib/aspromise/index.js lib/base64/index.js lib/codegen/index.js lib/eventemitter/index.js lib/float/index.js lib/fetch/index.js lib/inquire/index.js lib/path/index.js lib/pool/index.js lib/utf8/index.js",
35
35
  "changelog": "node scripts/changelog -w",
36
- "coverage": "nyc tape -r ./lib/tape-adapter tests/*.js tests/node/*.js",
36
+ "coverage": "npm run coverage:test && npm run coverage:report",
37
+ "coverage:test": "nyc --silent tape -r ./lib/tape-adapter tests/*.js tests/node/*.js",
38
+ "coverage:report": "nyc report --reporter=lcov --reporter=text",
37
39
  "docs": "jsdoc -c config/jsdoc.json -R README.md --verbose --pedantic",
38
40
  "lint": "npm run lint:sources && npm run lint:types",
39
41
  "lint:sources": "eslint \"**/*.js\" -c config/eslint.json",
@@ -16,16 +16,14 @@ function missing(field) {
16
16
  */
17
17
  function decoder(mtype) {
18
18
  /* eslint-disable no-unexpected-multiline */
19
- var gen = util.codegen(["r", "l"], mtype.name + "$decode")
19
+ var gen = util.codegen(["r", "l", "e"], mtype.name + "$decode")
20
20
  ("if(!(r instanceof Reader))")
21
21
  ("r=Reader.create(r)")
22
22
  ("var c=l===undefined?r.len:r.pos+l,m=new this.ctor" + (mtype.fieldsArray.filter(function(field) { return field.map; }).length ? ",k,value" : ""))
23
23
  ("while(r.pos<c){")
24
- ("var t=r.uint32()");
25
- if (mtype.group) gen
26
- ("if((t&7)===4)")
27
- ("break");
28
- gen
24
+ ("var t=r.uint32()")
25
+ ("if(t===e)")
26
+ ("break")
29
27
  ("switch(t>>>3){");
30
28
 
31
29
  var i = 0;
@@ -91,15 +89,15 @@ function decoder(mtype) {
91
89
  ("}else");
92
90
 
93
91
  // Non-packed
94
- if (types.basic[type] === undefined) gen(field.resolvedType.group
95
- ? "%s.push(types[%i].decode(r))"
92
+ if (types.basic[type] === undefined) gen(field.delimited
93
+ ? "%s.push(types[%i].decode(r,undefined,((t&~7)|4)))"
96
94
  : "%s.push(types[%i].decode(r,r.uint32()))", ref, i);
97
95
  else gen
98
96
  ("%s.push(r.%s())", ref, type);
99
97
 
100
98
  // Non-repeated
101
- } else if (types.basic[type] === undefined) gen(field.resolvedType.group
102
- ? "%s=types[%i].decode(r)"
99
+ } else if (types.basic[type] === undefined) gen(field.delimited
100
+ ? "%s=types[%i].decode(r,undefined,((t&~7)|4))"
103
101
  : "%s=types[%i].decode(r,r.uint32())", ref, i);
104
102
  else gen
105
103
  ("%s=r.%s()", ref, type);
@@ -15,7 +15,7 @@ var Enum = require("./enum"),
15
15
  * @ignore
16
16
  */
17
17
  function genTypePartial(gen, field, fieldIndex, ref) {
18
- return field.resolvedType.group
18
+ return field.delimited
19
19
  ? gen("types[%i].encode(%s,w.uint32(%i)).uint32(%i)", fieldIndex, ref, (field.id << 3 | 3) >>> 0, (field.id << 3 | 4) >>> 0)
20
20
  : gen("types[%i].encode(%s,w.uint32(%i).fork()).ldelim()", fieldIndex, ref, (field.id << 3 | 2) >>> 0);
21
21
  }