node-red-contrib-tak-registration 0.3.1 → 0.6.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 (412) hide show
  1. package/README.md +1 -1
  2. package/node_modules/@turf/along/package.json +41 -69
  3. package/node_modules/@turf/angle/package.json +44 -75
  4. package/node_modules/@turf/area/package.json +38 -68
  5. package/node_modules/@turf/bbox/package.json +37 -81
  6. package/node_modules/@turf/bbox-clip/package.json +44 -81
  7. package/node_modules/@turf/bbox-polygon/package.json +36 -66
  8. package/node_modules/@turf/bearing/package.json +36 -70
  9. package/node_modules/@turf/bezier-spline/package.json +39 -67
  10. package/node_modules/@turf/boolean-clockwise/package.json +42 -83
  11. package/node_modules/@turf/boolean-contains/package.json +46 -80
  12. package/node_modules/@turf/boolean-crosses/package.json +45 -79
  13. package/node_modules/@turf/boolean-disjoint/package.json +44 -79
  14. package/node_modules/@turf/boolean-equal/package.json +47 -84
  15. package/node_modules/@turf/boolean-intersects/package.json +42 -77
  16. package/node_modules/@turf/boolean-overlap/package.json +48 -82
  17. package/node_modules/@turf/boolean-parallel/package.json +42 -73
  18. package/node_modules/@turf/boolean-point-in-polygon/package.json +37 -77
  19. package/node_modules/@turf/boolean-point-on-line/package.json +39 -73
  20. package/node_modules/@turf/boolean-within/package.json +46 -79
  21. package/node_modules/@turf/buffer/package.json +47 -84
  22. package/node_modules/@turf/center/package.json +42 -73
  23. package/node_modules/@turf/center-mean/package.json +45 -78
  24. package/node_modules/@turf/center-median/package.json +45 -76
  25. package/node_modules/@turf/center-of-mass/package.json +40 -68
  26. package/node_modules/@turf/centroid/package.json +40 -74
  27. package/node_modules/@turf/circle/package.json +41 -71
  28. package/node_modules/@turf/clean-coords/package.json +40 -75
  29. package/node_modules/@turf/clone/package.json +36 -81
  30. package/node_modules/@turf/clusters/package.json +39 -70
  31. package/node_modules/@turf/clusters-dbscan/package.json +51 -88
  32. package/node_modules/@turf/clusters-kmeans/package.json +53 -90
  33. package/node_modules/@turf/collect/package.json +42 -73
  34. package/node_modules/@turf/combine/package.json +37 -65
  35. package/node_modules/@turf/concave/package.json +56 -111
  36. package/node_modules/@turf/convex/package.json +39 -68
  37. package/node_modules/@turf/destination/package.json +41 -75
  38. package/node_modules/@turf/difference/package.json +35 -63
  39. package/node_modules/@turf/dissolve/package.json +38 -66
  40. package/node_modules/@turf/distance/package.json +38 -83
  41. package/node_modules/@turf/distance-weight/package.json +40 -72
  42. package/node_modules/@turf/ellipse/package.json +43 -75
  43. package/node_modules/@turf/envelope/package.json +36 -65
  44. package/node_modules/@turf/explode/package.json +36 -67
  45. package/node_modules/@turf/flatten/package.json +39 -73
  46. package/node_modules/@turf/flip/package.json +36 -64
  47. package/node_modules/@turf/great-circle/package.json +41 -78
  48. package/node_modules/@turf/helpers/package.json +38 -184
  49. package/node_modules/@turf/hex-grid/package.json +50 -97
  50. package/node_modules/@turf/interpolate/package.json +47 -78
  51. package/node_modules/@turf/intersect/package.json +39 -69
  52. package/node_modules/@turf/invariant/package.json +36 -126
  53. package/node_modules/@turf/isobands/package.json +52 -83
  54. package/node_modules/@turf/isolines/package.json +48 -79
  55. package/node_modules/@turf/kinks/package.json +35 -63
  56. package/node_modules/@turf/length/package.json +43 -78
  57. package/node_modules/@turf/line-arc/package.json +36 -65
  58. package/node_modules/@turf/line-chunk/package.json +44 -84
  59. package/node_modules/@turf/line-intersect/package.json +46 -85
  60. package/node_modules/@turf/line-offset/package.json +41 -78
  61. package/node_modules/@turf/line-overlap/package.json +48 -80
  62. package/node_modules/@turf/line-segment/package.json +38 -70
  63. package/node_modules/@turf/line-slice/package.json +39 -67
  64. package/node_modules/@turf/line-slice-along/package.json +36 -65
  65. package/node_modules/@turf/line-split/package.json +46 -77
  66. package/node_modules/@turf/line-to-polygon/package.json +43 -74
  67. package/node_modules/@turf/mask/package.json +35 -63
  68. package/node_modules/@turf/meta/package.json +39 -128
  69. package/node_modules/@turf/midpoint/package.json +36 -64
  70. package/node_modules/@turf/moran-index/package.json +39 -70
  71. package/node_modules/@turf/nearest-point/package.json +39 -69
  72. package/node_modules/@turf/nearest-point-on-line/package.json +40 -71
  73. package/node_modules/@turf/nearest-point-to-line/package.json +47 -78
  74. package/node_modules/@turf/planepoint/package.json +34 -62
  75. package/node_modules/@turf/point-grid/package.json +45 -80
  76. package/node_modules/@turf/point-on-feature/package.json +40 -68
  77. package/node_modules/@turf/point-to-line-distance/package.json +46 -78
  78. package/node_modules/@turf/points-within-polygon/package.json +35 -64
  79. package/node_modules/@turf/polygon-smooth/package.json +37 -68
  80. package/node_modules/@turf/polygon-tangents/package.json +43 -77
  81. package/node_modules/@turf/polygon-to-line/package.json +39 -69
  82. package/node_modules/@turf/polygonize/package.json +43 -77
  83. package/node_modules/@turf/projection/package.json +44 -77
  84. package/node_modules/@turf/random/package.json +34 -62
  85. package/node_modules/@turf/rectangle-grid/package.json +43 -77
  86. package/node_modules/@turf/rewind/package.json +43 -83
  87. package/node_modules/@turf/rhumb-bearing/package.json +43 -85
  88. package/node_modules/@turf/rhumb-destination/package.json +44 -85
  89. package/node_modules/@turf/rhumb-distance/package.json +44 -84
  90. package/node_modules/@turf/sample/package.json +32 -60
  91. package/node_modules/@turf/sector/package.json +37 -65
  92. package/node_modules/@turf/shortest-path/package.json +45 -79
  93. package/node_modules/@turf/simplify/package.json +43 -77
  94. package/node_modules/@turf/square/package.json +33 -62
  95. package/node_modules/@turf/square-grid/package.json +40 -69
  96. package/node_modules/@turf/standard-deviational-ellipse/package.json +43 -74
  97. package/node_modules/@turf/tag/package.json +38 -66
  98. package/node_modules/@turf/tesselate/package.json +40 -80
  99. package/node_modules/@turf/tin/package.json +34 -63
  100. package/node_modules/@turf/transform-rotate/package.json +45 -80
  101. package/node_modules/@turf/transform-scale/package.json +51 -86
  102. package/node_modules/@turf/transform-translate/package.json +44 -78
  103. package/node_modules/@turf/triangle-grid/package.json +42 -71
  104. package/node_modules/@turf/truncate/package.json +40 -72
  105. package/node_modules/@turf/turf/package.json +74 -102
  106. package/node_modules/@turf/union/package.json +39 -67
  107. package/node_modules/@turf/unkink-polygon/package.json +40 -68
  108. package/node_modules/@turf/voronoi/package.json +43 -83
  109. package/node_modules/@types/geojson/package.json +42 -66
  110. package/node_modules/adm-zip/LICENSE +21 -21
  111. package/node_modules/adm-zip/adm-zip.js +25 -22
  112. package/node_modules/adm-zip/headers/mainHeader.js +2 -1
  113. package/node_modules/adm-zip/package.json +28 -57
  114. package/node_modules/adm-zip/util/utils.js +1 -0
  115. package/node_modules/asynckit/package.json +40 -68
  116. package/node_modules/axios/CHANGELOG.md +473 -837
  117. package/node_modules/axios/LICENSE +4 -16
  118. package/node_modules/axios/MIGRATION_GUIDE.md +3 -0
  119. package/node_modules/axios/README.md +518 -114
  120. package/node_modules/axios/SECURITY.md +4 -3
  121. package/node_modules/axios/dist/axios.js +2759 -2070
  122. package/node_modules/axios/dist/axios.js.map +1 -0
  123. package/node_modules/axios/dist/axios.min.js +2 -2
  124. package/node_modules/axios/dist/axios.min.js.map +1 -0
  125. package/node_modules/axios/dist/browser/axios.cjs +3210 -0
  126. package/node_modules/axios/dist/browser/axios.cjs.map +1 -0
  127. package/node_modules/axios/dist/esm/axios.js +3232 -0
  128. package/node_modules/axios/dist/esm/axios.js.map +1 -0
  129. package/node_modules/axios/dist/esm/axios.min.js +2 -0
  130. package/node_modules/axios/dist/esm/axios.min.js.map +1 -0
  131. package/node_modules/axios/dist/node/axios.cjs +4237 -0
  132. package/node_modules/axios/dist/node/axios.cjs.map +1 -0
  133. package/node_modules/axios/index.d.cts +532 -0
  134. package/node_modules/axios/index.d.ts +398 -72
  135. package/node_modules/axios/index.js +41 -1
  136. package/node_modules/axios/lib/adapters/adapters.js +59 -0
  137. package/node_modules/axios/lib/adapters/http.js +479 -217
  138. package/node_modules/axios/lib/adapters/xhr.js +95 -54
  139. package/node_modules/axios/lib/axios.js +49 -20
  140. package/node_modules/axios/lib/cancel/CancelToken.js +91 -89
  141. package/node_modules/axios/lib/cancel/CanceledError.js +25 -0
  142. package/node_modules/axios/lib/cancel/isCancel.js +2 -2
  143. package/node_modules/axios/lib/core/Axios.js +155 -100
  144. package/node_modules/axios/lib/core/AxiosError.js +100 -0
  145. package/node_modules/axios/lib/core/AxiosHeaders.js +288 -0
  146. package/node_modules/axios/lib/core/InterceptorManager.js +62 -45
  147. package/node_modules/axios/lib/core/buildFullPath.js +5 -4
  148. package/node_modules/axios/lib/core/dispatchRequest.js +27 -33
  149. package/node_modules/axios/lib/core/mergeConfig.js +58 -52
  150. package/node_modules/axios/lib/core/settle.js +8 -6
  151. package/node_modules/axios/lib/core/transformData.js +15 -9
  152. package/node_modules/axios/lib/defaults/index.js +76 -41
  153. package/node_modules/axios/lib/defaults/transitional.js +1 -1
  154. package/node_modules/axios/lib/env/classes/FormData.js +2 -0
  155. package/node_modules/axios/lib/env/data.js +1 -3
  156. package/node_modules/axios/lib/helpers/AxiosTransformStream.js +191 -0
  157. package/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +58 -0
  158. package/node_modules/axios/lib/helpers/HttpStatusCode.js +71 -0
  159. package/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +28 -0
  160. package/node_modules/axios/lib/helpers/bind.js +3 -7
  161. package/node_modules/axios/lib/helpers/buildURL.js +26 -33
  162. package/node_modules/axios/lib/helpers/callbackify.js +16 -0
  163. package/node_modules/axios/lib/helpers/combineURLs.js +3 -2
  164. package/node_modules/axios/lib/helpers/cookies.js +43 -44
  165. package/node_modules/axios/lib/helpers/deprecatedMethod.js +4 -2
  166. package/node_modules/axios/lib/helpers/formDataToJSON.js +92 -0
  167. package/node_modules/axios/lib/helpers/formDataToStream.js +111 -0
  168. package/node_modules/axios/lib/helpers/fromDataURI.js +53 -0
  169. package/node_modules/axios/lib/helpers/isAbsoluteURL.js +3 -2
  170. package/node_modules/axios/lib/helpers/isAxiosError.js +4 -3
  171. package/node_modules/axios/lib/helpers/isURLSameOrigin.js +44 -45
  172. package/node_modules/axios/lib/helpers/null.js +2 -0
  173. package/node_modules/axios/lib/helpers/parseHeaders.js +24 -22
  174. package/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
  175. package/node_modules/axios/lib/helpers/readBlob.js +15 -0
  176. package/node_modules/axios/lib/helpers/speedometer.js +55 -0
  177. package/node_modules/axios/lib/helpers/spread.js +3 -2
  178. package/node_modules/axios/lib/helpers/throttle.js +33 -0
  179. package/node_modules/axios/lib/helpers/toFormData.js +203 -39
  180. package/node_modules/axios/lib/helpers/toURLEncodedForm.js +18 -0
  181. package/node_modules/axios/lib/helpers/validator.js +27 -18
  182. package/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
  183. package/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
  184. package/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
  185. package/node_modules/axios/lib/platform/browser/index.js +64 -0
  186. package/node_modules/axios/lib/platform/index.js +3 -0
  187. package/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
  188. package/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
  189. package/node_modules/axios/lib/platform/node/index.js +12 -0
  190. package/node_modules/axios/lib/utils.js +517 -144
  191. package/node_modules/axios/package.json +194 -93
  192. package/node_modules/call-bind/package.json +78 -109
  193. package/node_modules/combined-stream/package.json +14 -46
  194. package/node_modules/commander/package.json +20 -53
  195. package/node_modules/concaveman/node_modules/quickselect/package.json +43 -0
  196. package/node_modules/{@turf/collect → concaveman}/node_modules/rbush/README.md +22 -95
  197. package/node_modules/{@turf/unkink-polygon → concaveman}/node_modules/rbush/index.js +131 -181
  198. package/node_modules/concaveman/node_modules/rbush/package.json +56 -0
  199. package/node_modules/concaveman/node_modules/rbush/rbush.js +574 -0
  200. package/node_modules/concaveman/node_modules/rbush/rbush.min.js +1 -0
  201. package/node_modules/concaveman/package.json +15 -46
  202. package/node_modules/d3-array/package.json +19 -47
  203. package/node_modules/d3-geo/package.json +24 -52
  204. package/node_modules/d3-voronoi/package.json +19 -47
  205. package/node_modules/deep-equal/package.json +34 -64
  206. package/node_modules/define-properties/.eslintrc +10 -3
  207. package/node_modules/define-properties/.github/FUNDING.yml +12 -0
  208. package/node_modules/define-properties/.nycrc +9 -0
  209. package/node_modules/define-properties/CHANGELOG.md +39 -0
  210. package/node_modules/define-properties/README.md +11 -13
  211. package/node_modules/define-properties/index.js +12 -17
  212. package/node_modules/define-properties/package.json +85 -95
  213. package/node_modules/delayed-stream/package.json +14 -49
  214. package/node_modules/density-clustering/package.json +46 -70
  215. package/node_modules/earcut/README.md +12 -3
  216. package/node_modules/earcut/dist/earcut.dev.js +47 -50
  217. package/node_modules/earcut/dist/earcut.min.js +1 -1
  218. package/node_modules/earcut/package.json +26 -60
  219. package/node_modules/earcut/src/earcut.js +46 -49
  220. package/node_modules/follow-redirects/README.md +8 -1
  221. package/node_modules/follow-redirects/index.js +83 -36
  222. package/node_modules/follow-redirects/package.json +38 -74
  223. package/node_modules/form-data/package.json +37 -70
  224. package/node_modules/function-bind/package.json +23 -56
  225. package/node_modules/functions-have-names/.editorconfig +20 -0
  226. package/node_modules/functions-have-names/.eslintrc +19 -0
  227. package/node_modules/functions-have-names/.github/FUNDING.yml +12 -0
  228. package/node_modules/functions-have-names/.nycrc +9 -0
  229. package/node_modules/functions-have-names/CHANGELOG.md +89 -0
  230. package/node_modules/functions-have-names/LICENSE +21 -0
  231. package/node_modules/functions-have-names/README.md +40 -0
  232. package/node_modules/functions-have-names/index.js +31 -0
  233. package/node_modules/functions-have-names/package.json +55 -0
  234. package/node_modules/functions-have-names/test/index.js +65 -0
  235. package/node_modules/geojson-equality/package.json +23 -55
  236. package/node_modules/geojson-rbush/node_modules/quickselect/package.json +43 -0
  237. package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/rbush/README.md +22 -95
  238. package/node_modules/{@turf/collect → geojson-rbush}/node_modules/rbush/index.js +131 -181
  239. package/node_modules/geojson-rbush/node_modules/rbush/package.json +56 -0
  240. package/node_modules/geojson-rbush/node_modules/rbush/rbush.js +574 -0
  241. package/node_modules/geojson-rbush/node_modules/rbush/rbush.min.js +1 -0
  242. package/node_modules/geojson-rbush/package.json +32 -71
  243. package/node_modules/get-intrinsic/.eslintrc +3 -8
  244. package/node_modules/get-intrinsic/.nycrc +0 -4
  245. package/node_modules/get-intrinsic/CHANGELOG.md +53 -0
  246. package/node_modules/get-intrinsic/README.md +7 -1
  247. package/node_modules/get-intrinsic/index.js +29 -8
  248. package/node_modules/get-intrinsic/package.json +91 -104
  249. package/node_modules/get-intrinsic/test/GetIntrinsic.js +26 -12
  250. package/node_modules/has/package.json +21 -46
  251. package/node_modules/has-property-descriptors/.eslintrc +13 -0
  252. package/node_modules/has-property-descriptors/.github/FUNDING.yml +12 -0
  253. package/node_modules/has-property-descriptors/.nycrc +9 -0
  254. package/node_modules/has-property-descriptors/CHANGELOG.md +16 -0
  255. package/node_modules/has-property-descriptors/LICENSE +21 -0
  256. package/node_modules/has-property-descriptors/README.md +43 -0
  257. package/node_modules/has-property-descriptors/index.js +33 -0
  258. package/node_modules/has-property-descriptors/package.json +70 -0
  259. package/node_modules/has-property-descriptors/test/index.js +57 -0
  260. package/node_modules/has-proto/.eslintrc +5 -0
  261. package/node_modules/has-proto/.github/FUNDING.yml +12 -0
  262. package/node_modules/has-proto/CHANGELOG.md +23 -0
  263. package/node_modules/has-proto/LICENSE +21 -0
  264. package/node_modules/has-proto/README.md +38 -0
  265. package/node_modules/has-proto/index.js +11 -0
  266. package/node_modules/has-proto/package.json +74 -0
  267. package/node_modules/has-proto/test/index.js +19 -0
  268. package/node_modules/has-symbols/package.json +99 -125
  269. package/node_modules/has-tostringtag/package.json +82 -109
  270. package/node_modules/is-arguments/package.json +89 -114
  271. package/node_modules/is-date-object/package.json +77 -108
  272. package/node_modules/is-regex/package.json +84 -112
  273. package/node_modules/mime-db/HISTORY.md +8 -0
  274. package/node_modules/mime-db/LICENSE +19 -18
  275. package/node_modules/mime-db/README.md +1 -1
  276. package/node_modules/mime-db/db.json +54 -6
  277. package/node_modules/mime-db/index.js +1 -0
  278. package/node_modules/mime-db/package.json +24 -66
  279. package/node_modules/mime-types/HISTORY.md +9 -0
  280. package/node_modules/mime-types/README.md +1 -1
  281. package/node_modules/mime-types/package.json +19 -62
  282. package/node_modules/object-assign/package.json +15 -49
  283. package/node_modules/object-is/package.json +85 -112
  284. package/node_modules/object-keys/package.json +86 -116
  285. package/node_modules/point-in-polygon/package.json +19 -48
  286. package/node_modules/polygon-clipping/package.json +41 -80
  287. package/node_modules/proxy-from-env/.eslintrc +29 -0
  288. package/node_modules/proxy-from-env/.travis.yml +10 -0
  289. package/node_modules/proxy-from-env/LICENSE +20 -0
  290. package/node_modules/proxy-from-env/README.md +131 -0
  291. package/node_modules/proxy-from-env/index.js +108 -0
  292. package/node_modules/proxy-from-env/package.json +34 -0
  293. package/node_modules/proxy-from-env/test.js +483 -0
  294. package/node_modules/quickselect/package.json +13 -41
  295. package/node_modules/rbush/README.md +95 -22
  296. package/node_modules/rbush/index.js +181 -131
  297. package/node_modules/rbush/package.json +39 -71
  298. package/node_modules/rbush/rbush.js +412 -360
  299. package/node_modules/rbush/rbush.min.js +1 -1
  300. package/node_modules/regexp.prototype.flags/.eslintrc +1 -0
  301. package/node_modules/regexp.prototype.flags/CHANGELOG.md +19 -0
  302. package/node_modules/regexp.prototype.flags/implementation.js +9 -0
  303. package/node_modules/regexp.prototype.flags/package.json +98 -122
  304. package/node_modules/regexp.prototype.flags/test/shimmed.js +2 -1
  305. package/node_modules/regexp.prototype.flags/test/tests.js +7 -5
  306. package/node_modules/robust-predicates/package.json +25 -52
  307. package/node_modules/skmeans/package.json +18 -53
  308. package/node_modules/splaytree/Readme.md +58 -57
  309. package/node_modules/splaytree/dist/splay.esm.js +21 -8
  310. package/node_modules/splaytree/dist/splay.esm.js.map +1 -1
  311. package/node_modules/splaytree/dist/splay.js +21 -8
  312. package/node_modules/splaytree/dist/splay.js.map +1 -1
  313. package/node_modules/splaytree/package.json +36 -68
  314. package/node_modules/splaytree/src/index.ts +16 -4
  315. package/node_modules/tinyqueue/package.json +34 -59
  316. package/node_modules/topojson-client/package.json +28 -56
  317. package/node_modules/topojson-server/package.json +27 -55
  318. package/node_modules/turf-jsts/package.json +33 -68
  319. package/node_modules/uuid/CHANGELOG.md +39 -0
  320. package/node_modules/uuid/README.md +30 -73
  321. package/node_modules/uuid/dist/commonjs-browser/index.js +79 -0
  322. package/node_modules/uuid/dist/commonjs-browser/md5.js +223 -0
  323. package/node_modules/uuid/dist/commonjs-browser/native.js +11 -0
  324. package/node_modules/uuid/dist/commonjs-browser/nil.js +8 -0
  325. package/node_modules/uuid/dist/commonjs-browser/parse.js +45 -0
  326. package/node_modules/uuid/dist/commonjs-browser/regex.js +8 -0
  327. package/node_modules/uuid/dist/commonjs-browser/rng.js +25 -0
  328. package/node_modules/uuid/dist/commonjs-browser/sha1.js +104 -0
  329. package/node_modules/uuid/dist/commonjs-browser/stringify.js +44 -0
  330. package/node_modules/uuid/dist/commonjs-browser/v1.js +107 -0
  331. package/node_modules/uuid/dist/commonjs-browser/v3.js +16 -0
  332. package/node_modules/uuid/dist/commonjs-browser/v35.js +80 -0
  333. package/node_modules/uuid/dist/commonjs-browser/v4.js +43 -0
  334. package/node_modules/uuid/dist/commonjs-browser/v5.js +16 -0
  335. package/node_modules/uuid/dist/commonjs-browser/validate.js +17 -0
  336. package/node_modules/uuid/dist/commonjs-browser/version.js +21 -0
  337. package/node_modules/uuid/dist/esm-browser/md5.js +23 -23
  338. package/node_modules/uuid/dist/esm-browser/native.js +4 -0
  339. package/node_modules/uuid/dist/esm-browser/parse.js +2 -2
  340. package/node_modules/uuid/dist/esm-browser/rng.js +4 -5
  341. package/node_modules/uuid/dist/esm-browser/sha1.js +26 -26
  342. package/node_modules/uuid/dist/esm-browser/stringify.js +9 -6
  343. package/node_modules/uuid/dist/esm-browser/v1.js +17 -17
  344. package/node_modules/uuid/dist/esm-browser/v3.js +1 -1
  345. package/node_modules/uuid/dist/esm-browser/v35.js +12 -10
  346. package/node_modules/uuid/dist/esm-browser/v4.js +9 -4
  347. package/node_modules/uuid/dist/esm-browser/v5.js +1 -1
  348. package/node_modules/uuid/dist/esm-browser/version.js +1 -1
  349. package/node_modules/uuid/dist/esm-node/native.js +4 -0
  350. package/node_modules/uuid/dist/esm-node/stringify.js +7 -3
  351. package/node_modules/uuid/dist/esm-node/v1.js +2 -2
  352. package/node_modules/uuid/dist/esm-node/v35.js +6 -4
  353. package/node_modules/uuid/dist/esm-node/v4.js +7 -2
  354. package/node_modules/uuid/dist/esm-node/version.js +1 -1
  355. package/node_modules/uuid/dist/index.js +18 -18
  356. package/node_modules/uuid/dist/native-browser.js +11 -0
  357. package/node_modules/uuid/dist/native.js +15 -0
  358. package/node_modules/uuid/dist/rng-browser.js +2 -3
  359. package/node_modules/uuid/dist/stringify.js +8 -3
  360. package/node_modules/uuid/dist/v1.js +2 -2
  361. package/node_modules/uuid/dist/v35.js +7 -5
  362. package/node_modules/uuid/dist/v4.js +8 -2
  363. package/node_modules/uuid/dist/version.js +1 -1
  364. package/node_modules/uuid/package.json +87 -120
  365. package/package.json +12 -8
  366. package/tak-ingest.html +40 -0
  367. package/tak-ingest.js +48 -0
  368. package/tak-registration.html +13 -2
  369. package/tak-registration.js +55 -7
  370. package/node_modules/@turf/collect/node_modules/quickselect/package.json +0 -69
  371. package/node_modules/@turf/collect/node_modules/rbush/package.json +0 -85
  372. package/node_modules/@turf/collect/node_modules/rbush/rbush.js +0 -626
  373. package/node_modules/@turf/collect/node_modules/rbush/rbush.min.js +0 -1
  374. package/node_modules/@turf/unkink-polygon/node_modules/quickselect/package.json +0 -69
  375. package/node_modules/@turf/unkink-polygon/node_modules/rbush/package.json +0 -85
  376. package/node_modules/@turf/unkink-polygon/node_modules/rbush/rbush.js +0 -626
  377. package/node_modules/@turf/unkink-polygon/node_modules/rbush/rbush.min.js +0 -1
  378. package/node_modules/axios/UPGRADE_GUIDE.md +0 -168
  379. package/node_modules/axios/dist/axios.map +0 -1
  380. package/node_modules/axios/dist/axios.min.map +0 -1
  381. package/node_modules/axios/lib/cancel/Cancel.js +0 -19
  382. package/node_modules/axios/lib/core/createError.js +0 -18
  383. package/node_modules/axios/lib/core/enhanceError.js +0 -43
  384. package/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
  385. package/node_modules/axios/tsconfig.json +0 -14
  386. package/node_modules/axios/tslint.json +0 -6
  387. package/node_modules/combined-stream/yarn.lock +0 -17
  388. package/node_modules/d3-array/yarn.lock +0 -939
  389. package/node_modules/define-properties/.jscs.json +0 -175
  390. package/node_modules/define-properties/.travis.yml +0 -233
  391. package/node_modules/define-properties/test/index.js +0 -125
  392. package/node_modules/get-intrinsic/.eslintignore +0 -1
  393. package/node_modules/uuid/dist/umd/uuid.min.js +0 -1
  394. package/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
  395. package/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
  396. package/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
  397. package/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
  398. package/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
  399. package/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
  400. package/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
  401. package/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
  402. package/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
  403. /package/node_modules/{@turf/collect → concaveman}/node_modules/quickselect/LICENSE +0 -0
  404. /package/node_modules/{@turf/collect → concaveman}/node_modules/quickselect/README.md +0 -0
  405. /package/node_modules/{@turf/collect → concaveman}/node_modules/quickselect/index.js +0 -0
  406. /package/node_modules/{@turf/collect → concaveman}/node_modules/quickselect/quickselect.js +0 -0
  407. /package/node_modules/{@turf/collect → concaveman}/node_modules/rbush/LICENSE +0 -0
  408. /package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/quickselect/LICENSE +0 -0
  409. /package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/quickselect/README.md +0 -0
  410. /package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/quickselect/index.js +0 -0
  411. /package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/quickselect/quickselect.js +0 -0
  412. /package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/rbush/LICENSE +0 -0
@@ -1,55 +1,219 @@
1
1
  'use strict';
2
2
 
3
- function combinedKey(parentKey, elKey) {
4
- return parentKey + '.' + elKey;
3
+ import utils from '../utils.js';
4
+ import AxiosError from '../core/AxiosError.js';
5
+ // temporary hotfix to avoid circular references until AxiosURLSearchParams is refactored
6
+ import PlatformFormData from '../platform/node/classes/FormData.js';
7
+
8
+ /**
9
+ * Determines if the given thing is a array or js object.
10
+ *
11
+ * @param {string} thing - The object or array to be visited.
12
+ *
13
+ * @returns {boolean}
14
+ */
15
+ function isVisitable(thing) {
16
+ return utils.isPlainObject(thing) || utils.isArray(thing);
5
17
  }
6
18
 
7
- function buildFormData(formData, data, parentKey) {
8
- if (Array.isArray(data)) {
9
- data.forEach(function buildArray(el, i) {
10
- buildFormData(formData, el, combinedKey(parentKey, i));
11
- });
12
- } else if (
13
- typeof data === 'object' &&
14
- !(data instanceof File || data === null)
15
- ) {
16
- Object.keys(data).forEach(function buildObject(key) {
17
- buildFormData(
18
- formData,
19
- data[key],
20
- parentKey ? combinedKey(parentKey, key) : key
21
- );
22
- });
23
- } else {
24
- if (data === undefined) {
25
- return;
26
- }
19
+ /**
20
+ * It removes the brackets from the end of a string
21
+ *
22
+ * @param {string} key - The key of the parameter.
23
+ *
24
+ * @returns {string} the key without the brackets.
25
+ */
26
+ function removeBrackets(key) {
27
+ return utils.endsWith(key, '[]') ? key.slice(0, -2) : key;
28
+ }
27
29
 
28
- var value =
29
- typeof data === 'boolean' || typeof data === 'number'
30
- ? data.toString()
31
- : data;
32
- formData.append(parentKey, value);
33
- }
30
+ /**
31
+ * It takes a path, a key, and a boolean, and returns a string
32
+ *
33
+ * @param {string} path - The path to the current key.
34
+ * @param {string} key - The key of the current object being iterated over.
35
+ * @param {string} dots - If true, the key will be rendered with dots instead of brackets.
36
+ *
37
+ * @returns {string} The path to the current key.
38
+ */
39
+ function renderKey(path, key, dots) {
40
+ if (!path) return key;
41
+ return path.concat(key).map(function each(token, i) {
42
+ // eslint-disable-next-line no-param-reassign
43
+ token = removeBrackets(token);
44
+ return !dots && i ? '[' + token + ']' : token;
45
+ }).join(dots ? '.' : '');
34
46
  }
35
47
 
36
48
  /**
37
- * convert a data object to FormData
49
+ * If the array is an array and none of its elements are visitable, then it's a flat array.
38
50
  *
39
- * type FormDataPrimitive = string | Blob | number | boolean
40
- * interface FormDataNest {
41
- * [x: string]: FormVal
42
- * }
51
+ * @param {Array<any>} arr - The array to check
43
52
  *
44
- * type FormVal = FormDataNest | FormDataPrimitive
53
+ * @returns {boolean}
54
+ */
55
+ function isFlatArray(arr) {
56
+ return utils.isArray(arr) && !arr.some(isVisitable);
57
+ }
58
+
59
+ const predicates = utils.toFlatObject(utils, {}, null, function filter(prop) {
60
+ return /^is[A-Z]/.test(prop);
61
+ });
62
+
63
+ /**
64
+ * Convert a data object to FormData
45
65
  *
46
- * @param {FormVal} data
66
+ * @param {Object} obj
67
+ * @param {?Object} [formData]
68
+ * @param {?Object} [options]
69
+ * @param {Function} [options.visitor]
70
+ * @param {Boolean} [options.metaTokens = true]
71
+ * @param {Boolean} [options.dots = false]
72
+ * @param {?Boolean} [options.indexes = false]
73
+ *
74
+ * @returns {Object}
75
+ **/
76
+
77
+ /**
78
+ * It converts an object into a FormData object
79
+ *
80
+ * @param {Object<any, any>} obj - The object to convert to form data.
81
+ * @param {string} formData - The FormData object to append to.
82
+ * @param {Object<string, any>} options
83
+ *
84
+ * @returns
47
85
  */
86
+ function toFormData(obj, formData, options) {
87
+ if (!utils.isObject(obj)) {
88
+ throw new TypeError('target must be an object');
89
+ }
90
+
91
+ // eslint-disable-next-line no-param-reassign
92
+ formData = formData || new (PlatformFormData || FormData)();
93
+
94
+ // eslint-disable-next-line no-param-reassign
95
+ options = utils.toFlatObject(options, {
96
+ metaTokens: true,
97
+ dots: false,
98
+ indexes: false
99
+ }, false, function defined(option, source) {
100
+ // eslint-disable-next-line no-eq-null,eqeqeq
101
+ return !utils.isUndefined(source[option]);
102
+ });
103
+
104
+ const metaTokens = options.metaTokens;
105
+ // eslint-disable-next-line no-use-before-define
106
+ const visitor = options.visitor || defaultVisitor;
107
+ const dots = options.dots;
108
+ const indexes = options.indexes;
109
+ const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;
110
+ const useBlob = _Blob && utils.isSpecCompliantForm(formData);
111
+
112
+ if (!utils.isFunction(visitor)) {
113
+ throw new TypeError('visitor must be a function');
114
+ }
115
+
116
+ function convertValue(value) {
117
+ if (value === null) return '';
118
+
119
+ if (utils.isDate(value)) {
120
+ return value.toISOString();
121
+ }
122
+
123
+ if (!useBlob && utils.isBlob(value)) {
124
+ throw new AxiosError('Blob is not supported. Use a Buffer instead.');
125
+ }
126
+
127
+ if (utils.isArrayBuffer(value) || utils.isTypedArray(value)) {
128
+ return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);
129
+ }
130
+
131
+ return value;
132
+ }
133
+
134
+ /**
135
+ * Default visitor.
136
+ *
137
+ * @param {*} value
138
+ * @param {String|Number} key
139
+ * @param {Array<String|Number>} path
140
+ * @this {FormData}
141
+ *
142
+ * @returns {boolean} return true to visit the each prop of the value recursively
143
+ */
144
+ function defaultVisitor(value, key, path) {
145
+ let arr = value;
146
+
147
+ if (value && !path && typeof value === 'object') {
148
+ if (utils.endsWith(key, '{}')) {
149
+ // eslint-disable-next-line no-param-reassign
150
+ key = metaTokens ? key : key.slice(0, -2);
151
+ // eslint-disable-next-line no-param-reassign
152
+ value = JSON.stringify(value);
153
+ } else if (
154
+ (utils.isArray(value) && isFlatArray(value)) ||
155
+ ((utils.isFileList(value) || utils.endsWith(key, '[]')) && (arr = utils.toArray(value))
156
+ )) {
157
+ // eslint-disable-next-line no-param-reassign
158
+ key = removeBrackets(key);
159
+
160
+ arr.forEach(function each(el, index) {
161
+ !(utils.isUndefined(el) || el === null) && formData.append(
162
+ // eslint-disable-next-line no-nested-ternary
163
+ indexes === true ? renderKey([key], index, dots) : (indexes === null ? key : key + '[]'),
164
+ convertValue(el)
165
+ );
166
+ });
167
+ return false;
168
+ }
169
+ }
170
+
171
+ if (isVisitable(value)) {
172
+ return true;
173
+ }
174
+
175
+ formData.append(renderKey(path, key, dots), convertValue(value));
48
176
 
49
- module.exports = function getFormData(data) {
50
- var formData = new FormData();
177
+ return false;
178
+ }
179
+
180
+ const stack = [];
181
+
182
+ const exposedHelpers = Object.assign(predicates, {
183
+ defaultVisitor,
184
+ convertValue,
185
+ isVisitable
186
+ });
51
187
 
52
- buildFormData(formData, data);
188
+ function build(value, path) {
189
+ if (utils.isUndefined(value)) return;
190
+
191
+ if (stack.indexOf(value) !== -1) {
192
+ throw Error('Circular reference detected in ' + path.join('.'));
193
+ }
194
+
195
+ stack.push(value);
196
+
197
+ utils.forEach(value, function each(el, key) {
198
+ const result = !(utils.isUndefined(el) || el === null) && visitor.call(
199
+ formData, el, utils.isString(key) ? key.trim() : key, path, exposedHelpers
200
+ );
201
+
202
+ if (result === true) {
203
+ build(el, path ? path.concat(key) : [key]);
204
+ }
205
+ });
206
+
207
+ stack.pop();
208
+ }
209
+
210
+ if (!utils.isObject(obj)) {
211
+ throw new TypeError('data must be an object');
212
+ }
213
+
214
+ build(obj);
53
215
 
54
216
  return formData;
55
- };
217
+ }
218
+
219
+ export default toFormData;
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+
3
+ import utils from '../utils.js';
4
+ import toFormData from './toFormData.js';
5
+ import platform from '../platform/index.js';
6
+
7
+ export default function toURLEncodedForm(data, options) {
8
+ return toFormData(data, new platform.classes.URLSearchParams(), Object.assign({
9
+ visitor: function(value, key, path, helpers) {
10
+ if (platform.isNode && utils.isBuffer(value)) {
11
+ this.append(key, value.toString('base64'));
12
+ return false;
13
+ }
14
+
15
+ return helpers.defaultVisitor.apply(this, arguments);
16
+ }
17
+ }, options));
18
+ }
@@ -1,23 +1,26 @@
1
1
  'use strict';
2
2
 
3
- var VERSION = require('../env/data').version;
3
+ import {VERSION} from '../env/data.js';
4
+ import AxiosError from '../core/AxiosError.js';
4
5
 
5
- var validators = {};
6
+ const validators = {};
6
7
 
7
8
  // eslint-disable-next-line func-names
8
- ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {
9
+ ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach((type, i) => {
9
10
  validators[type] = function validator(thing) {
10
11
  return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
11
12
  };
12
13
  });
13
14
 
14
- var deprecatedWarnings = {};
15
+ const deprecatedWarnings = {};
15
16
 
16
17
  /**
17
18
  * Transitional option validator
19
+ *
18
20
  * @param {function|boolean?} validator - set to false if the transitional option has been removed
19
21
  * @param {string?} version - deprecated version / removed since version
20
22
  * @param {string?} message - some message with additional info
23
+ *
21
24
  * @returns {function}
22
25
  */
23
26
  validators.transitional = function transitional(validator, version, message) {
@@ -26,9 +29,12 @@ validators.transitional = function transitional(validator, version, message) {
26
29
  }
27
30
 
28
31
  // eslint-disable-next-line func-names
29
- return function(value, opt, opts) {
32
+ return (value, opt, opts) => {
30
33
  if (validator === false) {
31
- throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')));
34
+ throw new AxiosError(
35
+ formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),
36
+ AxiosError.ERR_DEPRECATED
37
+ );
32
38
  }
33
39
 
34
40
  if (version && !deprecatedWarnings[opt]) {
@@ -48,35 +54,38 @@ validators.transitional = function transitional(validator, version, message) {
48
54
 
49
55
  /**
50
56
  * Assert object's properties type
57
+ *
51
58
  * @param {object} options
52
59
  * @param {object} schema
53
60
  * @param {boolean?} allowUnknown
61
+ *
62
+ * @returns {object}
54
63
  */
55
64
 
56
65
  function assertOptions(options, schema, allowUnknown) {
57
66
  if (typeof options !== 'object') {
58
- throw new TypeError('options must be an object');
67
+ throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
59
68
  }
60
- var keys = Object.keys(options);
61
- var i = keys.length;
69
+ const keys = Object.keys(options);
70
+ let i = keys.length;
62
71
  while (i-- > 0) {
63
- var opt = keys[i];
64
- var validator = schema[opt];
72
+ const opt = keys[i];
73
+ const validator = schema[opt];
65
74
  if (validator) {
66
- var value = options[opt];
67
- var result = value === undefined || validator(value, opt, options);
75
+ const value = options[opt];
76
+ const result = value === undefined || validator(value, opt, options);
68
77
  if (result !== true) {
69
- throw new TypeError('option ' + opt + ' must be ' + result);
78
+ throw new AxiosError('option ' + opt + ' must be ' + result, AxiosError.ERR_BAD_OPTION_VALUE);
70
79
  }
71
80
  continue;
72
81
  }
73
82
  if (allowUnknown !== true) {
74
- throw Error('Unknown option ' + opt);
83
+ throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
75
84
  }
76
85
  }
77
86
  }
78
87
 
79
- module.exports = {
80
- assertOptions: assertOptions,
81
- validators: validators
88
+ export default {
89
+ assertOptions,
90
+ validators
82
91
  };
@@ -0,0 +1,3 @@
1
+ 'use strict'
2
+
3
+ export default typeof Blob !== 'undefined' ? Blob : null
@@ -0,0 +1,3 @@
1
+ 'use strict';
2
+
3
+ export default typeof FormData !== 'undefined' ? FormData : null;
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ import AxiosURLSearchParams from '../../../helpers/AxiosURLSearchParams.js';
4
+ export default typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;
@@ -0,0 +1,64 @@
1
+ import URLSearchParams from './classes/URLSearchParams.js'
2
+ import FormData from './classes/FormData.js'
3
+ import Blob from './classes/Blob.js'
4
+
5
+ /**
6
+ * Determine if we're running in a standard browser environment
7
+ *
8
+ * This allows axios to run in a web worker, and react-native.
9
+ * Both environments support XMLHttpRequest, but not fully standard globals.
10
+ *
11
+ * web workers:
12
+ * typeof window -> undefined
13
+ * typeof document -> undefined
14
+ *
15
+ * react-native:
16
+ * navigator.product -> 'ReactNative'
17
+ * nativescript
18
+ * navigator.product -> 'NativeScript' or 'NS'
19
+ *
20
+ * @returns {boolean}
21
+ */
22
+ const isStandardBrowserEnv = (() => {
23
+ let product;
24
+ if (typeof navigator !== 'undefined' && (
25
+ (product = navigator.product) === 'ReactNative' ||
26
+ product === 'NativeScript' ||
27
+ product === 'NS')
28
+ ) {
29
+ return false;
30
+ }
31
+
32
+ return typeof window !== 'undefined' && typeof document !== 'undefined';
33
+ })();
34
+
35
+ /**
36
+ * Determine if we're running in a standard browser webWorker environment
37
+ *
38
+ * Although the `isStandardBrowserEnv` method indicates that
39
+ * `allows axios to run in a web worker`, the WebWorker will still be
40
+ * filtered out due to its judgment standard
41
+ * `typeof window !== 'undefined' && typeof document !== 'undefined'`.
42
+ * This leads to a problem when axios post `FormData` in webWorker
43
+ */
44
+ const isStandardBrowserWebWorkerEnv = (() => {
45
+ return (
46
+ typeof WorkerGlobalScope !== 'undefined' &&
47
+ // eslint-disable-next-line no-undef
48
+ self instanceof WorkerGlobalScope &&
49
+ typeof self.importScripts === 'function'
50
+ );
51
+ })();
52
+
53
+
54
+ export default {
55
+ isBrowser: true,
56
+ classes: {
57
+ URLSearchParams,
58
+ FormData,
59
+ Blob
60
+ },
61
+ isStandardBrowserEnv,
62
+ isStandardBrowserWebWorkerEnv,
63
+ protocols: ['http', 'https', 'file', 'blob', 'url', 'data']
64
+ };
@@ -0,0 +1,3 @@
1
+ import platform from './node/index.js';
2
+
3
+ export {platform as default}
@@ -0,0 +1,3 @@
1
+ import FormData from 'form-data';
2
+
3
+ export default FormData;
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ import url from 'url';
4
+ export default url.URLSearchParams;
@@ -0,0 +1,12 @@
1
+ import URLSearchParams from './classes/URLSearchParams.js'
2
+ import FormData from './classes/FormData.js'
3
+
4
+ export default {
5
+ isNode: true,
6
+ classes: {
7
+ URLSearchParams,
8
+ FormData,
9
+ Blob: typeof Blob !== 'undefined' && Blob || null
10
+ },
11
+ protocols: [ 'http', 'https', 'file', 'data' ]
12
+ };