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.
- package/README.md +1 -1
- package/node_modules/@turf/along/package.json +41 -69
- package/node_modules/@turf/angle/package.json +44 -75
- package/node_modules/@turf/area/package.json +38 -68
- package/node_modules/@turf/bbox/package.json +37 -81
- package/node_modules/@turf/bbox-clip/package.json +44 -81
- package/node_modules/@turf/bbox-polygon/package.json +36 -66
- package/node_modules/@turf/bearing/package.json +36 -70
- package/node_modules/@turf/bezier-spline/package.json +39 -67
- package/node_modules/@turf/boolean-clockwise/package.json +42 -83
- package/node_modules/@turf/boolean-contains/package.json +46 -80
- package/node_modules/@turf/boolean-crosses/package.json +45 -79
- package/node_modules/@turf/boolean-disjoint/package.json +44 -79
- package/node_modules/@turf/boolean-equal/package.json +47 -84
- package/node_modules/@turf/boolean-intersects/package.json +42 -77
- package/node_modules/@turf/boolean-overlap/package.json +48 -82
- package/node_modules/@turf/boolean-parallel/package.json +42 -73
- package/node_modules/@turf/boolean-point-in-polygon/package.json +37 -77
- package/node_modules/@turf/boolean-point-on-line/package.json +39 -73
- package/node_modules/@turf/boolean-within/package.json +46 -79
- package/node_modules/@turf/buffer/package.json +47 -84
- package/node_modules/@turf/center/package.json +42 -73
- package/node_modules/@turf/center-mean/package.json +45 -78
- package/node_modules/@turf/center-median/package.json +45 -76
- package/node_modules/@turf/center-of-mass/package.json +40 -68
- package/node_modules/@turf/centroid/package.json +40 -74
- package/node_modules/@turf/circle/package.json +41 -71
- package/node_modules/@turf/clean-coords/package.json +40 -75
- package/node_modules/@turf/clone/package.json +36 -81
- package/node_modules/@turf/clusters/package.json +39 -70
- package/node_modules/@turf/clusters-dbscan/package.json +51 -88
- package/node_modules/@turf/clusters-kmeans/package.json +53 -90
- package/node_modules/@turf/collect/package.json +42 -73
- package/node_modules/@turf/combine/package.json +37 -65
- package/node_modules/@turf/concave/package.json +56 -111
- package/node_modules/@turf/convex/package.json +39 -68
- package/node_modules/@turf/destination/package.json +41 -75
- package/node_modules/@turf/difference/package.json +35 -63
- package/node_modules/@turf/dissolve/package.json +38 -66
- package/node_modules/@turf/distance/package.json +38 -83
- package/node_modules/@turf/distance-weight/package.json +40 -72
- package/node_modules/@turf/ellipse/package.json +43 -75
- package/node_modules/@turf/envelope/package.json +36 -65
- package/node_modules/@turf/explode/package.json +36 -67
- package/node_modules/@turf/flatten/package.json +39 -73
- package/node_modules/@turf/flip/package.json +36 -64
- package/node_modules/@turf/great-circle/package.json +41 -78
- package/node_modules/@turf/helpers/package.json +38 -184
- package/node_modules/@turf/hex-grid/package.json +50 -97
- package/node_modules/@turf/interpolate/package.json +47 -78
- package/node_modules/@turf/intersect/package.json +39 -69
- package/node_modules/@turf/invariant/package.json +36 -126
- package/node_modules/@turf/isobands/package.json +52 -83
- package/node_modules/@turf/isolines/package.json +48 -79
- package/node_modules/@turf/kinks/package.json +35 -63
- package/node_modules/@turf/length/package.json +43 -78
- package/node_modules/@turf/line-arc/package.json +36 -65
- package/node_modules/@turf/line-chunk/package.json +44 -84
- package/node_modules/@turf/line-intersect/package.json +46 -85
- package/node_modules/@turf/line-offset/package.json +41 -78
- package/node_modules/@turf/line-overlap/package.json +48 -80
- package/node_modules/@turf/line-segment/package.json +38 -70
- package/node_modules/@turf/line-slice/package.json +39 -67
- package/node_modules/@turf/line-slice-along/package.json +36 -65
- package/node_modules/@turf/line-split/package.json +46 -77
- package/node_modules/@turf/line-to-polygon/package.json +43 -74
- package/node_modules/@turf/mask/package.json +35 -63
- package/node_modules/@turf/meta/package.json +39 -128
- package/node_modules/@turf/midpoint/package.json +36 -64
- package/node_modules/@turf/moran-index/package.json +39 -70
- package/node_modules/@turf/nearest-point/package.json +39 -69
- package/node_modules/@turf/nearest-point-on-line/package.json +40 -71
- package/node_modules/@turf/nearest-point-to-line/package.json +47 -78
- package/node_modules/@turf/planepoint/package.json +34 -62
- package/node_modules/@turf/point-grid/package.json +45 -80
- package/node_modules/@turf/point-on-feature/package.json +40 -68
- package/node_modules/@turf/point-to-line-distance/package.json +46 -78
- package/node_modules/@turf/points-within-polygon/package.json +35 -64
- package/node_modules/@turf/polygon-smooth/package.json +37 -68
- package/node_modules/@turf/polygon-tangents/package.json +43 -77
- package/node_modules/@turf/polygon-to-line/package.json +39 -69
- package/node_modules/@turf/polygonize/package.json +43 -77
- package/node_modules/@turf/projection/package.json +44 -77
- package/node_modules/@turf/random/package.json +34 -62
- package/node_modules/@turf/rectangle-grid/package.json +43 -77
- package/node_modules/@turf/rewind/package.json +43 -83
- package/node_modules/@turf/rhumb-bearing/package.json +43 -85
- package/node_modules/@turf/rhumb-destination/package.json +44 -85
- package/node_modules/@turf/rhumb-distance/package.json +44 -84
- package/node_modules/@turf/sample/package.json +32 -60
- package/node_modules/@turf/sector/package.json +37 -65
- package/node_modules/@turf/shortest-path/package.json +45 -79
- package/node_modules/@turf/simplify/package.json +43 -77
- package/node_modules/@turf/square/package.json +33 -62
- package/node_modules/@turf/square-grid/package.json +40 -69
- package/node_modules/@turf/standard-deviational-ellipse/package.json +43 -74
- package/node_modules/@turf/tag/package.json +38 -66
- package/node_modules/@turf/tesselate/package.json +40 -80
- package/node_modules/@turf/tin/package.json +34 -63
- package/node_modules/@turf/transform-rotate/package.json +45 -80
- package/node_modules/@turf/transform-scale/package.json +51 -86
- package/node_modules/@turf/transform-translate/package.json +44 -78
- package/node_modules/@turf/triangle-grid/package.json +42 -71
- package/node_modules/@turf/truncate/package.json +40 -72
- package/node_modules/@turf/turf/package.json +74 -102
- package/node_modules/@turf/union/package.json +39 -67
- package/node_modules/@turf/unkink-polygon/package.json +40 -68
- package/node_modules/@turf/voronoi/package.json +43 -83
- package/node_modules/@types/geojson/package.json +42 -66
- package/node_modules/adm-zip/LICENSE +21 -21
- package/node_modules/adm-zip/adm-zip.js +25 -22
- package/node_modules/adm-zip/headers/mainHeader.js +2 -1
- package/node_modules/adm-zip/package.json +28 -57
- package/node_modules/adm-zip/util/utils.js +1 -0
- package/node_modules/asynckit/package.json +40 -68
- package/node_modules/axios/CHANGELOG.md +473 -837
- package/node_modules/axios/LICENSE +4 -16
- package/node_modules/axios/MIGRATION_GUIDE.md +3 -0
- package/node_modules/axios/README.md +518 -114
- package/node_modules/axios/SECURITY.md +4 -3
- package/node_modules/axios/dist/axios.js +2759 -2070
- package/node_modules/axios/dist/axios.js.map +1 -0
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -0
- package/node_modules/axios/dist/browser/axios.cjs +3210 -0
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -0
- package/node_modules/axios/dist/esm/axios.js +3232 -0
- package/node_modules/axios/dist/esm/axios.js.map +1 -0
- package/node_modules/axios/dist/esm/axios.min.js +2 -0
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -0
- package/node_modules/axios/dist/node/axios.cjs +4237 -0
- package/node_modules/axios/dist/node/axios.cjs.map +1 -0
- package/node_modules/axios/index.d.cts +532 -0
- package/node_modules/axios/index.d.ts +398 -72
- package/node_modules/axios/index.js +41 -1
- package/node_modules/axios/lib/adapters/adapters.js +59 -0
- package/node_modules/axios/lib/adapters/http.js +479 -217
- package/node_modules/axios/lib/adapters/xhr.js +95 -54
- package/node_modules/axios/lib/axios.js +49 -20
- package/node_modules/axios/lib/cancel/CancelToken.js +91 -89
- package/node_modules/axios/lib/cancel/CanceledError.js +25 -0
- package/node_modules/axios/lib/cancel/isCancel.js +2 -2
- package/node_modules/axios/lib/core/Axios.js +155 -100
- package/node_modules/axios/lib/core/AxiosError.js +100 -0
- package/node_modules/axios/lib/core/AxiosHeaders.js +288 -0
- package/node_modules/axios/lib/core/InterceptorManager.js +62 -45
- package/node_modules/axios/lib/core/buildFullPath.js +5 -4
- package/node_modules/axios/lib/core/dispatchRequest.js +27 -33
- package/node_modules/axios/lib/core/mergeConfig.js +58 -52
- package/node_modules/axios/lib/core/settle.js +8 -6
- package/node_modules/axios/lib/core/transformData.js +15 -9
- package/node_modules/axios/lib/defaults/index.js +76 -41
- package/node_modules/axios/lib/defaults/transitional.js +1 -1
- package/node_modules/axios/lib/env/classes/FormData.js +2 -0
- package/node_modules/axios/lib/env/data.js +1 -3
- package/node_modules/axios/lib/helpers/AxiosTransformStream.js +191 -0
- package/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +58 -0
- package/node_modules/axios/lib/helpers/HttpStatusCode.js +71 -0
- package/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +28 -0
- package/node_modules/axios/lib/helpers/bind.js +3 -7
- package/node_modules/axios/lib/helpers/buildURL.js +26 -33
- package/node_modules/axios/lib/helpers/callbackify.js +16 -0
- package/node_modules/axios/lib/helpers/combineURLs.js +3 -2
- package/node_modules/axios/lib/helpers/cookies.js +43 -44
- package/node_modules/axios/lib/helpers/deprecatedMethod.js +4 -2
- package/node_modules/axios/lib/helpers/formDataToJSON.js +92 -0
- package/node_modules/axios/lib/helpers/formDataToStream.js +111 -0
- package/node_modules/axios/lib/helpers/fromDataURI.js +53 -0
- package/node_modules/axios/lib/helpers/isAbsoluteURL.js +3 -2
- package/node_modules/axios/lib/helpers/isAxiosError.js +4 -3
- package/node_modules/axios/lib/helpers/isURLSameOrigin.js +44 -45
- package/node_modules/axios/lib/helpers/null.js +2 -0
- package/node_modules/axios/lib/helpers/parseHeaders.js +24 -22
- package/node_modules/axios/lib/helpers/parseProtocol.js +6 -0
- package/node_modules/axios/lib/helpers/readBlob.js +15 -0
- package/node_modules/axios/lib/helpers/speedometer.js +55 -0
- package/node_modules/axios/lib/helpers/spread.js +3 -2
- package/node_modules/axios/lib/helpers/throttle.js +33 -0
- package/node_modules/axios/lib/helpers/toFormData.js +203 -39
- package/node_modules/axios/lib/helpers/toURLEncodedForm.js +18 -0
- package/node_modules/axios/lib/helpers/validator.js +27 -18
- package/node_modules/axios/lib/platform/browser/classes/Blob.js +3 -0
- package/node_modules/axios/lib/platform/browser/classes/FormData.js +3 -0
- package/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +4 -0
- package/node_modules/axios/lib/platform/browser/index.js +64 -0
- package/node_modules/axios/lib/platform/index.js +3 -0
- package/node_modules/axios/lib/platform/node/classes/FormData.js +3 -0
- package/node_modules/axios/lib/platform/node/classes/URLSearchParams.js +4 -0
- package/node_modules/axios/lib/platform/node/index.js +12 -0
- package/node_modules/axios/lib/utils.js +517 -144
- package/node_modules/axios/package.json +194 -93
- package/node_modules/call-bind/package.json +78 -109
- package/node_modules/combined-stream/package.json +14 -46
- package/node_modules/commander/package.json +20 -53
- package/node_modules/concaveman/node_modules/quickselect/package.json +43 -0
- package/node_modules/{@turf/collect → concaveman}/node_modules/rbush/README.md +22 -95
- package/node_modules/{@turf/unkink-polygon → concaveman}/node_modules/rbush/index.js +131 -181
- package/node_modules/concaveman/node_modules/rbush/package.json +56 -0
- package/node_modules/concaveman/node_modules/rbush/rbush.js +574 -0
- package/node_modules/concaveman/node_modules/rbush/rbush.min.js +1 -0
- package/node_modules/concaveman/package.json +15 -46
- package/node_modules/d3-array/package.json +19 -47
- package/node_modules/d3-geo/package.json +24 -52
- package/node_modules/d3-voronoi/package.json +19 -47
- package/node_modules/deep-equal/package.json +34 -64
- package/node_modules/define-properties/.eslintrc +10 -3
- package/node_modules/define-properties/.github/FUNDING.yml +12 -0
- package/node_modules/define-properties/.nycrc +9 -0
- package/node_modules/define-properties/CHANGELOG.md +39 -0
- package/node_modules/define-properties/README.md +11 -13
- package/node_modules/define-properties/index.js +12 -17
- package/node_modules/define-properties/package.json +85 -95
- package/node_modules/delayed-stream/package.json +14 -49
- package/node_modules/density-clustering/package.json +46 -70
- package/node_modules/earcut/README.md +12 -3
- package/node_modules/earcut/dist/earcut.dev.js +47 -50
- package/node_modules/earcut/dist/earcut.min.js +1 -1
- package/node_modules/earcut/package.json +26 -60
- package/node_modules/earcut/src/earcut.js +46 -49
- package/node_modules/follow-redirects/README.md +8 -1
- package/node_modules/follow-redirects/index.js +83 -36
- package/node_modules/follow-redirects/package.json +38 -74
- package/node_modules/form-data/package.json +37 -70
- package/node_modules/function-bind/package.json +23 -56
- package/node_modules/functions-have-names/.editorconfig +20 -0
- package/node_modules/functions-have-names/.eslintrc +19 -0
- package/node_modules/functions-have-names/.github/FUNDING.yml +12 -0
- package/node_modules/functions-have-names/.nycrc +9 -0
- package/node_modules/functions-have-names/CHANGELOG.md +89 -0
- package/node_modules/functions-have-names/LICENSE +21 -0
- package/node_modules/functions-have-names/README.md +40 -0
- package/node_modules/functions-have-names/index.js +31 -0
- package/node_modules/functions-have-names/package.json +55 -0
- package/node_modules/functions-have-names/test/index.js +65 -0
- package/node_modules/geojson-equality/package.json +23 -55
- package/node_modules/geojson-rbush/node_modules/quickselect/package.json +43 -0
- package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/rbush/README.md +22 -95
- package/node_modules/{@turf/collect → geojson-rbush}/node_modules/rbush/index.js +131 -181
- package/node_modules/geojson-rbush/node_modules/rbush/package.json +56 -0
- package/node_modules/geojson-rbush/node_modules/rbush/rbush.js +574 -0
- package/node_modules/geojson-rbush/node_modules/rbush/rbush.min.js +1 -0
- package/node_modules/geojson-rbush/package.json +32 -71
- package/node_modules/get-intrinsic/.eslintrc +3 -8
- package/node_modules/get-intrinsic/.nycrc +0 -4
- package/node_modules/get-intrinsic/CHANGELOG.md +53 -0
- package/node_modules/get-intrinsic/README.md +7 -1
- package/node_modules/get-intrinsic/index.js +29 -8
- package/node_modules/get-intrinsic/package.json +91 -104
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +26 -12
- package/node_modules/has/package.json +21 -46
- package/node_modules/has-property-descriptors/.eslintrc +13 -0
- package/node_modules/has-property-descriptors/.github/FUNDING.yml +12 -0
- package/node_modules/has-property-descriptors/.nycrc +9 -0
- package/node_modules/has-property-descriptors/CHANGELOG.md +16 -0
- package/node_modules/has-property-descriptors/LICENSE +21 -0
- package/node_modules/has-property-descriptors/README.md +43 -0
- package/node_modules/has-property-descriptors/index.js +33 -0
- package/node_modules/has-property-descriptors/package.json +70 -0
- package/node_modules/has-property-descriptors/test/index.js +57 -0
- package/node_modules/has-proto/.eslintrc +5 -0
- package/node_modules/has-proto/.github/FUNDING.yml +12 -0
- package/node_modules/has-proto/CHANGELOG.md +23 -0
- package/node_modules/has-proto/LICENSE +21 -0
- package/node_modules/has-proto/README.md +38 -0
- package/node_modules/has-proto/index.js +11 -0
- package/node_modules/has-proto/package.json +74 -0
- package/node_modules/has-proto/test/index.js +19 -0
- package/node_modules/has-symbols/package.json +99 -125
- package/node_modules/has-tostringtag/package.json +82 -109
- package/node_modules/is-arguments/package.json +89 -114
- package/node_modules/is-date-object/package.json +77 -108
- package/node_modules/is-regex/package.json +84 -112
- package/node_modules/mime-db/HISTORY.md +8 -0
- package/node_modules/mime-db/LICENSE +19 -18
- package/node_modules/mime-db/README.md +1 -1
- package/node_modules/mime-db/db.json +54 -6
- package/node_modules/mime-db/index.js +1 -0
- package/node_modules/mime-db/package.json +24 -66
- package/node_modules/mime-types/HISTORY.md +9 -0
- package/node_modules/mime-types/README.md +1 -1
- package/node_modules/mime-types/package.json +19 -62
- package/node_modules/object-assign/package.json +15 -49
- package/node_modules/object-is/package.json +85 -112
- package/node_modules/object-keys/package.json +86 -116
- package/node_modules/point-in-polygon/package.json +19 -48
- package/node_modules/polygon-clipping/package.json +41 -80
- package/node_modules/proxy-from-env/.eslintrc +29 -0
- package/node_modules/proxy-from-env/.travis.yml +10 -0
- package/node_modules/proxy-from-env/LICENSE +20 -0
- package/node_modules/proxy-from-env/README.md +131 -0
- package/node_modules/proxy-from-env/index.js +108 -0
- package/node_modules/proxy-from-env/package.json +34 -0
- package/node_modules/proxy-from-env/test.js +483 -0
- package/node_modules/quickselect/package.json +13 -41
- package/node_modules/rbush/README.md +95 -22
- package/node_modules/rbush/index.js +181 -131
- package/node_modules/rbush/package.json +39 -71
- package/node_modules/rbush/rbush.js +412 -360
- package/node_modules/rbush/rbush.min.js +1 -1
- package/node_modules/regexp.prototype.flags/.eslintrc +1 -0
- package/node_modules/regexp.prototype.flags/CHANGELOG.md +19 -0
- package/node_modules/regexp.prototype.flags/implementation.js +9 -0
- package/node_modules/regexp.prototype.flags/package.json +98 -122
- package/node_modules/regexp.prototype.flags/test/shimmed.js +2 -1
- package/node_modules/regexp.prototype.flags/test/tests.js +7 -5
- package/node_modules/robust-predicates/package.json +25 -52
- package/node_modules/skmeans/package.json +18 -53
- package/node_modules/splaytree/Readme.md +58 -57
- package/node_modules/splaytree/dist/splay.esm.js +21 -8
- package/node_modules/splaytree/dist/splay.esm.js.map +1 -1
- package/node_modules/splaytree/dist/splay.js +21 -8
- package/node_modules/splaytree/dist/splay.js.map +1 -1
- package/node_modules/splaytree/package.json +36 -68
- package/node_modules/splaytree/src/index.ts +16 -4
- package/node_modules/tinyqueue/package.json +34 -59
- package/node_modules/topojson-client/package.json +28 -56
- package/node_modules/topojson-server/package.json +27 -55
- package/node_modules/turf-jsts/package.json +33 -68
- package/node_modules/uuid/CHANGELOG.md +39 -0
- package/node_modules/uuid/README.md +30 -73
- package/node_modules/uuid/dist/commonjs-browser/index.js +79 -0
- package/node_modules/uuid/dist/commonjs-browser/md5.js +223 -0
- package/node_modules/uuid/dist/commonjs-browser/native.js +11 -0
- package/node_modules/uuid/dist/commonjs-browser/nil.js +8 -0
- package/node_modules/uuid/dist/commonjs-browser/parse.js +45 -0
- package/node_modules/uuid/dist/commonjs-browser/regex.js +8 -0
- package/node_modules/uuid/dist/commonjs-browser/rng.js +25 -0
- package/node_modules/uuid/dist/commonjs-browser/sha1.js +104 -0
- package/node_modules/uuid/dist/commonjs-browser/stringify.js +44 -0
- package/node_modules/uuid/dist/commonjs-browser/v1.js +107 -0
- package/node_modules/uuid/dist/commonjs-browser/v3.js +16 -0
- package/node_modules/uuid/dist/commonjs-browser/v35.js +80 -0
- package/node_modules/uuid/dist/commonjs-browser/v4.js +43 -0
- package/node_modules/uuid/dist/commonjs-browser/v5.js +16 -0
- package/node_modules/uuid/dist/commonjs-browser/validate.js +17 -0
- package/node_modules/uuid/dist/commonjs-browser/version.js +21 -0
- package/node_modules/uuid/dist/esm-browser/md5.js +23 -23
- package/node_modules/uuid/dist/esm-browser/native.js +4 -0
- package/node_modules/uuid/dist/esm-browser/parse.js +2 -2
- package/node_modules/uuid/dist/esm-browser/rng.js +4 -5
- package/node_modules/uuid/dist/esm-browser/sha1.js +26 -26
- package/node_modules/uuid/dist/esm-browser/stringify.js +9 -6
- package/node_modules/uuid/dist/esm-browser/v1.js +17 -17
- package/node_modules/uuid/dist/esm-browser/v3.js +1 -1
- package/node_modules/uuid/dist/esm-browser/v35.js +12 -10
- package/node_modules/uuid/dist/esm-browser/v4.js +9 -4
- package/node_modules/uuid/dist/esm-browser/v5.js +1 -1
- package/node_modules/uuid/dist/esm-browser/version.js +1 -1
- package/node_modules/uuid/dist/esm-node/native.js +4 -0
- package/node_modules/uuid/dist/esm-node/stringify.js +7 -3
- package/node_modules/uuid/dist/esm-node/v1.js +2 -2
- package/node_modules/uuid/dist/esm-node/v35.js +6 -4
- package/node_modules/uuid/dist/esm-node/v4.js +7 -2
- package/node_modules/uuid/dist/esm-node/version.js +1 -1
- package/node_modules/uuid/dist/index.js +18 -18
- package/node_modules/uuid/dist/native-browser.js +11 -0
- package/node_modules/uuid/dist/native.js +15 -0
- package/node_modules/uuid/dist/rng-browser.js +2 -3
- package/node_modules/uuid/dist/stringify.js +8 -3
- package/node_modules/uuid/dist/v1.js +2 -2
- package/node_modules/uuid/dist/v35.js +7 -5
- package/node_modules/uuid/dist/v4.js +8 -2
- package/node_modules/uuid/dist/version.js +1 -1
- package/node_modules/uuid/package.json +87 -120
- package/package.json +12 -8
- package/tak-ingest.html +40 -0
- package/tak-ingest.js +48 -0
- package/tak-registration.html +13 -2
- package/tak-registration.js +55 -7
- package/node_modules/@turf/collect/node_modules/quickselect/package.json +0 -69
- package/node_modules/@turf/collect/node_modules/rbush/package.json +0 -85
- package/node_modules/@turf/collect/node_modules/rbush/rbush.js +0 -626
- package/node_modules/@turf/collect/node_modules/rbush/rbush.min.js +0 -1
- package/node_modules/@turf/unkink-polygon/node_modules/quickselect/package.json +0 -69
- package/node_modules/@turf/unkink-polygon/node_modules/rbush/package.json +0 -85
- package/node_modules/@turf/unkink-polygon/node_modules/rbush/rbush.js +0 -626
- package/node_modules/@turf/unkink-polygon/node_modules/rbush/rbush.min.js +0 -1
- package/node_modules/axios/UPGRADE_GUIDE.md +0 -168
- package/node_modules/axios/dist/axios.map +0 -1
- package/node_modules/axios/dist/axios.min.map +0 -1
- package/node_modules/axios/lib/cancel/Cancel.js +0 -19
- package/node_modules/axios/lib/core/createError.js +0 -18
- package/node_modules/axios/lib/core/enhanceError.js +0 -43
- package/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -12
- package/node_modules/axios/tsconfig.json +0 -14
- package/node_modules/axios/tslint.json +0 -6
- package/node_modules/combined-stream/yarn.lock +0 -17
- package/node_modules/d3-array/yarn.lock +0 -939
- package/node_modules/define-properties/.jscs.json +0 -175
- package/node_modules/define-properties/.travis.yml +0 -233
- package/node_modules/define-properties/test/index.js +0 -125
- package/node_modules/get-intrinsic/.eslintignore +0 -1
- package/node_modules/uuid/dist/umd/uuid.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
- /package/node_modules/{@turf/collect → concaveman}/node_modules/quickselect/LICENSE +0 -0
- /package/node_modules/{@turf/collect → concaveman}/node_modules/quickselect/README.md +0 -0
- /package/node_modules/{@turf/collect → concaveman}/node_modules/quickselect/index.js +0 -0
- /package/node_modules/{@turf/collect → concaveman}/node_modules/quickselect/quickselect.js +0 -0
- /package/node_modules/{@turf/collect → concaveman}/node_modules/rbush/LICENSE +0 -0
- /package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/quickselect/LICENSE +0 -0
- /package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/quickselect/README.md +0 -0
- /package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/quickselect/index.js +0 -0
- /package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/quickselect/quickselect.js +0 -0
- /package/node_modules/{@turf/unkink-polygon → geojson-rbush}/node_modules/rbush/LICENSE +0 -0
package/tak-registration.html
CHANGED
|
@@ -139,13 +139,24 @@
|
|
|
139
139
|
<dd>each object must contain at least a <b>filename</b> (string) and <b>content</b> a buffer of the file/data.
|
|
140
140
|
eg <code>[{filename:"foo.kml", content: <buffer of the file>}]</code></dd>
|
|
141
141
|
</dl>
|
|
142
|
+
|
|
143
|
+
<h3>Sending simple GeoChat messages...</h3>
|
|
144
|
+
<dl class="message-properties">
|
|
145
|
+
<dt>sendTo <span class="property-type">string | array</span></dt>
|
|
146
|
+
<dd>can either be an individual TAK callsign, a comma separted list of callsigns, an array of callsigns,
|
|
147
|
+
or <b>broadcast</b> to send to all users.</dd>
|
|
148
|
+
<dt>payload <span class="property-type">string</span></dt>
|
|
149
|
+
<dd>the text of the message to send.</dd>
|
|
150
|
+
</dl>
|
|
151
|
+
|
|
142
152
|
<h3>Sending marker position...</h3>
|
|
143
153
|
<dl class="message-properties">
|
|
144
154
|
<dt>payload <span class="property-type">object</span></dt>
|
|
145
155
|
<dd>a "standard" <b>node-red worldmap</b> format msg.payload containing `name, lat, lon, SIDC or cottype or aistype,
|
|
146
|
-
(alt), (speed), (bearing), (layer)`, where SIDC is the standard mil 2525C code, eg SFGPU, or cottype is the
|
|
156
|
+
(alt), (speed), (bearing), (layer), (remarks)`, where SIDC is the standard mil 2525C code, eg SFGPU, or cottype is the
|
|
147
157
|
CoT type, eg a-f-g-u, or aistype is the AIS type code, eg 80 for a tanker. The layer will get turned into a hashtag
|
|
148
|
-
which can then be selected on/off in the TAK app layers control
|
|
158
|
+
which can then be selected on/off in the TAK app layers control, and any `remarks` will get added to the CoT remarks
|
|
159
|
+
field.</dd>
|
|
149
160
|
</dl>
|
|
150
161
|
|
|
151
162
|
<h3>Updating gateway position...</h3>
|
package/tak-registration.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
const { methodToString } = require('adm-zip/util');
|
|
2
|
+
const { isArray } = require('util');
|
|
2
3
|
|
|
3
4
|
module.exports = function(RED) {
|
|
4
5
|
"use strict";
|
|
@@ -11,21 +12,31 @@ module.exports = function(RED) {
|
|
|
11
12
|
const uuid = require('uuid');
|
|
12
13
|
const turf = require("@turf/turf");
|
|
13
14
|
const ver = require('./package.json').version;
|
|
15
|
+
const teamList = ["Cyan","Red","Green","Blue","Magenta","Yellow","Orange","Maroon","Purple","Dark Blue","Dark Green","Teal","Brown"];
|
|
14
16
|
|
|
15
17
|
function TakRegistrationNode(n) {
|
|
16
18
|
RED.nodes.createNode(this,n);
|
|
19
|
+
const invalid = "9999999.0";
|
|
17
20
|
this.group = n.group;
|
|
18
21
|
this.role = n.role || "Gateway";
|
|
19
|
-
this.
|
|
22
|
+
this.ntype = n.ntype || "a-f-G-I-B";
|
|
20
23
|
this.lat = n.latitude;
|
|
21
24
|
this.lon = n.longitude;
|
|
22
25
|
this.callsign = n.callsign;
|
|
23
26
|
this.repeat = n.repeat;
|
|
24
27
|
this.host = n.dphost;
|
|
25
|
-
this.uuid = "GATEWAY-"+(crypto.createHash('md5').update(Buffer.from(
|
|
28
|
+
this.uuid = "GATEWAY-"+(crypto.createHash('md5').update(Buffer.from(this.id)).digest('hex')).slice(0,16);
|
|
26
29
|
var node = this;
|
|
27
|
-
|
|
28
|
-
|
|
30
|
+
node.alt = invalid;
|
|
31
|
+
var globalContext = this.context().global;
|
|
32
|
+
var g = {};
|
|
33
|
+
g[node.uuid] = node.callsign;
|
|
34
|
+
globalContext.set("_takgatewayid",g);
|
|
35
|
+
var gr = {};
|
|
36
|
+
gr[node.callsign] = node.uuid;
|
|
37
|
+
globalContext.set("_takgatewaycs",gr);
|
|
38
|
+
|
|
39
|
+
if (node.role !== "Gateway") { node.ntype = "a-f-G-U-C" }
|
|
29
40
|
|
|
30
41
|
if (node.repeat > 2147483) {
|
|
31
42
|
node.error("TAK Heartbeat interval is too long.");
|
|
@@ -69,7 +80,7 @@ module.exports = function(RED) {
|
|
|
69
80
|
callsign: node.callsign,
|
|
70
81
|
group: node.group,
|
|
71
82
|
role: node.role,
|
|
72
|
-
type: node.
|
|
83
|
+
type: node.ntype,
|
|
73
84
|
heartbeat: true
|
|
74
85
|
});
|
|
75
86
|
};
|
|
@@ -161,7 +172,7 @@ module.exports = function(RED) {
|
|
|
161
172
|
const stale = new Date(new Date().getTime() + (10000)).toISOString();
|
|
162
173
|
|
|
163
174
|
var m = `<event version="2.0" uid="${uuidv4()}" type="b-f-t-r" how="h-e" time="${start}" start="${start}" stale="${stale}">
|
|
164
|
-
<point lat="${msg.lat}" lon="${msg.lon}" hae="9999999" ce="9999999" le="9999999" />
|
|
175
|
+
<point lat="${msg.lat}" lon="${msg.lon}" hae="9999999.0" ce="9999999.0" le="9999999.0" />
|
|
165
176
|
<detail>
|
|
166
177
|
<fileshare filename="${fname}" senderUrl="${node.host}/Marti/sync/content?hash=${msg.hash}" sizeInBytes="${msg.len}" sha256="${msg.hash}" senderUid="${msg.uid}" senderCallsign="${msg.from}" name="${fnam}" />`
|
|
167
178
|
if (msg.sendTo !== "broadcast") {
|
|
@@ -183,7 +194,7 @@ module.exports = function(RED) {
|
|
|
183
194
|
node.error(error.message,error);
|
|
184
195
|
})
|
|
185
196
|
}
|
|
186
|
-
// Otherwise if it's a string maybe it's raw cot xml - or NMEA from GPS
|
|
197
|
+
// Otherwise if it's a string maybe it's raw cot xml - or NMEA from GPS - or maybe a simple chat message
|
|
187
198
|
else if (typeof msg.payload === "string" ) {
|
|
188
199
|
if (msg.payload.trim().startsWith('<') && msg.payload.trim().endsWith('>')) { // Assume it's proper XML event so pass straight through
|
|
189
200
|
node.send(msg);
|
|
@@ -199,6 +210,43 @@ module.exports = function(RED) {
|
|
|
199
210
|
node.alt = nm[9];
|
|
200
211
|
}
|
|
201
212
|
}
|
|
213
|
+
else if (msg.hasOwnProperty("sendTo")) {
|
|
214
|
+
// simple text payload and no attachments so guess it's a chat message...
|
|
215
|
+
// node.log("Geochat to " + msg.sendTo);
|
|
216
|
+
if (!Array.isArray(msg.sendTo)) { msg.sendTo = msg.sendTo.split(','); }
|
|
217
|
+
const start = new Date().toISOString();
|
|
218
|
+
const stale = new Date(new Date().getTime() + (10000)).toISOString();
|
|
219
|
+
const mid = uuidv4();
|
|
220
|
+
var type = "a-f-G-I-B";
|
|
221
|
+
var par = '';
|
|
222
|
+
|
|
223
|
+
for (var t=0; t < msg.sendTo.length; t++) {
|
|
224
|
+
var m = RED.util.cloneMessage(msg);
|
|
225
|
+
const to = m.sendTo[t];
|
|
226
|
+
m.sendTo = to;
|
|
227
|
+
const toid = globalContext.get("_takgatewaycs")[m.sendTo] || m.sendTo;
|
|
228
|
+
var ma = `<marti><dest callsign="${m.sendTo}"/></marti>`;
|
|
229
|
+
if (m.sendTo === "broadcast") { m.sendTo = "All Chat Rooms"; }
|
|
230
|
+
if (m.sendTo === "All Chat Rooms") { ma = ""; }
|
|
231
|
+
if (teamList.includes(m.sendTo)) { par = 'parent="TeamGroups"'; }
|
|
232
|
+
|
|
233
|
+
var xm = `<event version="2.0" uid="GeoChat.${node.uuid}.${toid}.${mid}" type="b-t-f" time="${start}" start="${start}" stale="${stale}" how="h-g-i-g-o">
|
|
234
|
+
<point lat="${node.lat}" lon="${node.lon}" hae="9999999.0" ce="9999999.0" le="9999999.0"/>
|
|
235
|
+
<detail>
|
|
236
|
+
<__chat ${par} groupOwner="false" messageId="${mid}" chatroom="${m.sendTo}" id="${toid}" senderCallsign="${node.callsign}">
|
|
237
|
+
<chatgrp uid0="${node.uuid}" uid1="${toid}" id="${toid}"/>
|
|
238
|
+
</__chat>
|
|
239
|
+
<link uid="${node.uuid}" type="${type}" relation="p-p"/>
|
|
240
|
+
<remarks source="BAO.F.ATAK.${node.uuid}" to="${toid}" time="${start}">${msg.payload}</remarks>
|
|
241
|
+
${ma}
|
|
242
|
+
<track speed="0.0" course="0.0"/>
|
|
243
|
+
</detail>
|
|
244
|
+
</event>`;
|
|
245
|
+
// console.log(xm);
|
|
246
|
+
m.payload = xm.replace(/>\s+</g, "><");
|
|
247
|
+
node.send(m);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
202
250
|
}
|
|
203
251
|
// Just has lat, lon (and alt) but no name - assume it's our local position we're updating
|
|
204
252
|
else if (typeof msg.payload === "object" && !msg.payload.hasOwnProperty("name") && msg.payload.hasOwnProperty("lat") && msg.payload.hasOwnProperty("lon")) {
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_from": "quickselect@^1.0.1",
|
|
3
|
-
"_id": "quickselect@1.1.1",
|
|
4
|
-
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-qN0Gqdw4c4KGPsBOQafj6yj/PA6c/L63f6CaZ/DCF/xF4Esu3jVmKLUDYxghFx8Kb/O7y9tI7x2RjTSXwdK1iQ==",
|
|
6
|
-
"_location": "/@turf/collect/quickselect",
|
|
7
|
-
"_phantomChildren": {},
|
|
8
|
-
"_requested": {
|
|
9
|
-
"type": "range",
|
|
10
|
-
"registry": true,
|
|
11
|
-
"raw": "quickselect@^1.0.1",
|
|
12
|
-
"name": "quickselect",
|
|
13
|
-
"escapedName": "quickselect",
|
|
14
|
-
"rawSpec": "^1.0.1",
|
|
15
|
-
"saveSpec": null,
|
|
16
|
-
"fetchSpec": "^1.0.1"
|
|
17
|
-
},
|
|
18
|
-
"_requiredBy": [
|
|
19
|
-
"/@turf/collect/rbush"
|
|
20
|
-
],
|
|
21
|
-
"_resolved": "https://registry.npmjs.org/quickselect/-/quickselect-1.1.1.tgz",
|
|
22
|
-
"_shasum": "852e412ce418f237ad5b660d70cffac647ae94c2",
|
|
23
|
-
"_spec": "quickselect@^1.0.1",
|
|
24
|
-
"_where": "/Users/conway/Projects/TAKreg/node_modules/@turf/collect/node_modules/rbush",
|
|
25
|
-
"author": {
|
|
26
|
-
"name": "Vladimir Agafonkin"
|
|
27
|
-
},
|
|
28
|
-
"bundleDependencies": false,
|
|
29
|
-
"dependencies": {},
|
|
30
|
-
"deprecated": false,
|
|
31
|
-
"description": "A tiny and fast selection algorithm in JavaScript.",
|
|
32
|
-
"devDependencies": {
|
|
33
|
-
"eslint": "^4.19.1",
|
|
34
|
-
"eslint-config-mourner": "^2.0.3",
|
|
35
|
-
"esm": "^3.0.15",
|
|
36
|
-
"rollup": "^0.57.1",
|
|
37
|
-
"tape": "^4.9.0"
|
|
38
|
-
},
|
|
39
|
-
"eslintConfig": {
|
|
40
|
-
"extends": "mourner",
|
|
41
|
-
"parserOptions": {
|
|
42
|
-
"sourceType": "module"
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"files": [
|
|
46
|
-
"index.js",
|
|
47
|
-
"quickselect.js"
|
|
48
|
-
],
|
|
49
|
-
"keywords": [
|
|
50
|
-
"selection",
|
|
51
|
-
"algorithm",
|
|
52
|
-
"quickselect",
|
|
53
|
-
"sort",
|
|
54
|
-
"partial",
|
|
55
|
-
"floyd",
|
|
56
|
-
"rivest"
|
|
57
|
-
],
|
|
58
|
-
"license": "ISC",
|
|
59
|
-
"main": "quickselect.js",
|
|
60
|
-
"name": "quickselect",
|
|
61
|
-
"scripts": {
|
|
62
|
-
"bench": "node -r esm bench.js",
|
|
63
|
-
"build": "rollup -c",
|
|
64
|
-
"prepublishOnly": "npm run build",
|
|
65
|
-
"pretest": "eslint index.js test.js bench.js",
|
|
66
|
-
"test": "node -r esm test.js"
|
|
67
|
-
},
|
|
68
|
-
"version": "1.1.1"
|
|
69
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_from": "rbush@2.x",
|
|
3
|
-
"_id": "rbush@2.0.2",
|
|
4
|
-
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-XBOuALcTm+O/H8G90b6pzu6nX6v2zCKiFG4BJho8a+bY6AER6t8uQUZdi5bomQc0AprCWhEGa7ncAbbRap0bRA==",
|
|
6
|
-
"_location": "/@turf/collect/rbush",
|
|
7
|
-
"_phantomChildren": {},
|
|
8
|
-
"_requested": {
|
|
9
|
-
"type": "range",
|
|
10
|
-
"registry": true,
|
|
11
|
-
"raw": "rbush@2.x",
|
|
12
|
-
"name": "rbush",
|
|
13
|
-
"escapedName": "rbush",
|
|
14
|
-
"rawSpec": "2.x",
|
|
15
|
-
"saveSpec": null,
|
|
16
|
-
"fetchSpec": "2.x"
|
|
17
|
-
},
|
|
18
|
-
"_requiredBy": [
|
|
19
|
-
"/@turf/collect"
|
|
20
|
-
],
|
|
21
|
-
"_resolved": "https://registry.npmjs.org/rbush/-/rbush-2.0.2.tgz",
|
|
22
|
-
"_shasum": "bb6005c2731b7ba1d5a9a035772927d16a614605",
|
|
23
|
-
"_spec": "rbush@2.x",
|
|
24
|
-
"_where": "/Users/conway/Projects/TAKreg/node_modules/@turf/collect",
|
|
25
|
-
"author": {
|
|
26
|
-
"name": "Vladimir Agafonkin"
|
|
27
|
-
},
|
|
28
|
-
"bugs": {
|
|
29
|
-
"url": "https://github.com/mourner/rbush/issues"
|
|
30
|
-
},
|
|
31
|
-
"bundleDependencies": false,
|
|
32
|
-
"dependencies": {
|
|
33
|
-
"quickselect": "^1.0.1"
|
|
34
|
-
},
|
|
35
|
-
"deprecated": false,
|
|
36
|
-
"description": "High-performance 2D spatial index for rectangles (based on R*-tree with bulk loading and bulk insertion algorithms)",
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"benchmark": "^2.1.4",
|
|
39
|
-
"browserify": "^14.5.0",
|
|
40
|
-
"eslint": "^4.13.1",
|
|
41
|
-
"eslint-config-mourner": "^2.0.3",
|
|
42
|
-
"faucet": "0.0.1",
|
|
43
|
-
"istanbul": "~0.4.5",
|
|
44
|
-
"tape": "^4.8.0",
|
|
45
|
-
"uglify-js": "^3.2.2"
|
|
46
|
-
},
|
|
47
|
-
"eslintConfig": {
|
|
48
|
-
"extends": "mourner",
|
|
49
|
-
"rules": {
|
|
50
|
-
"new-cap": 0,
|
|
51
|
-
"consistent-return": 0
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"files": [
|
|
55
|
-
"rbush.js",
|
|
56
|
-
"rbush.min.js"
|
|
57
|
-
],
|
|
58
|
-
"homepage": "https://github.com/mourner/rbush",
|
|
59
|
-
"jsdelivr": "rbush.js",
|
|
60
|
-
"keywords": [
|
|
61
|
-
"spatial",
|
|
62
|
-
"tree",
|
|
63
|
-
"search",
|
|
64
|
-
"rectangle",
|
|
65
|
-
"index",
|
|
66
|
-
"math"
|
|
67
|
-
],
|
|
68
|
-
"license": "MIT",
|
|
69
|
-
"main": "index.js",
|
|
70
|
-
"name": "rbush",
|
|
71
|
-
"repository": {
|
|
72
|
-
"type": "git",
|
|
73
|
-
"url": "git://github.com/mourner/rbush.git"
|
|
74
|
-
},
|
|
75
|
-
"scripts": {
|
|
76
|
-
"build": "browserify index.js -s rbush -o rbush.js",
|
|
77
|
-
"build-min": "browserify index.js -s rbush | uglifyjs -c warnings=false -m > rbush.min.js",
|
|
78
|
-
"cov": "istanbul cover test/test.js -x test/test.js",
|
|
79
|
-
"perf": "node ./bench/perf.js",
|
|
80
|
-
"prepare": "npm run build && npm run build-min",
|
|
81
|
-
"test": "eslint index.js test/test.js && node test/test.js | faucet"
|
|
82
|
-
},
|
|
83
|
-
"unpkg": "rbush.js",
|
|
84
|
-
"version": "2.0.2"
|
|
85
|
-
}
|