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.
- package/README.md +1 -1
- package/node_modules/@types/geojson/README.md +1 -1
- package/node_modules/@types/geojson/index.d.ts +36 -2
- package/node_modules/@types/geojson/package.json +2 -2
- package/node_modules/@types/node/README.md +2 -2
- package/node_modules/@types/node/assert.d.ts +14 -0
- package/node_modules/@types/node/async_hooks.d.ts +64 -2
- package/node_modules/@types/node/buffer.buffer.d.ts +117 -39
- package/node_modules/@types/node/buffer.d.ts +6 -13
- package/node_modules/@types/node/cluster.d.ts +1 -1
- package/node_modules/@types/node/constants.d.ts +14 -12
- package/node_modules/@types/node/crypto.d.ts +44 -10
- package/node_modules/@types/node/dgram.d.ts +10 -7
- package/node_modules/@types/node/diagnostics_channel.d.ts +20 -1
- package/node_modules/@types/node/fs/promises.d.ts +23 -26
- package/node_modules/@types/node/fs.d.ts +166 -125
- package/node_modules/@types/node/globals.d.ts +141 -338
- package/node_modules/@types/node/http.d.ts +25 -3
- package/node_modules/@types/node/http2.d.ts +3 -4
- package/node_modules/@types/node/https.d.ts +3 -1
- package/node_modules/@types/node/inspector.d.ts +36 -0
- package/node_modules/@types/node/module.d.ts +599 -236
- package/node_modules/@types/node/net.d.ts +44 -13
- package/node_modules/@types/node/package.json +9 -4
- package/node_modules/@types/node/perf_hooks.d.ts +5 -0
- package/node_modules/@types/node/process.d.ts +69 -2
- package/node_modules/@types/node/querystring.d.ts +2 -3
- package/node_modules/@types/node/readline.d.ts +6 -1
- package/node_modules/@types/node/sea.d.ts +1 -1
- package/node_modules/@types/node/sqlite.d.ts +291 -17
- package/node_modules/@types/node/stream/consumers.d.ts +32 -6
- package/node_modules/@types/node/stream/web.d.ts +9 -4
- package/node_modules/@types/node/stream.d.ts +936 -1000
- package/node_modules/@types/node/test.d.ts +169 -137
- package/node_modules/@types/node/timers/promises.d.ts +24 -13
- package/node_modules/@types/node/timers.d.ts +159 -112
- package/node_modules/@types/node/tls.d.ts +34 -1
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +110 -35
- package/node_modules/@types/node/util.d.ts +323 -110
- package/node_modules/@types/node/v8.d.ts +81 -0
- package/node_modules/@types/node/vm.d.ts +21 -6
- package/node_modules/@types/node/worker_threads.d.ts +1 -0
- package/node_modules/@types/node/zlib.d.ts +167 -36
- package/node_modules/axios/CHANGELOG.md +165 -0
- package/node_modules/axios/README.md +55 -33
- package/node_modules/axios/dist/axios.js +85 -43
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -1
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +92 -47
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +92 -47
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -1
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +123 -51
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +17 -5
- package/node_modules/axios/index.d.ts +6 -3
- package/node_modules/axios/lib/adapters/fetch.js +2 -2
- package/node_modules/axios/lib/adapters/http.js +1 -1
- package/node_modules/axios/lib/core/Axios.js +13 -4
- package/node_modules/axios/lib/core/AxiosHeaders.js +15 -3
- package/node_modules/axios/lib/core/buildFullPath.js +3 -2
- package/node_modules/axios/lib/core/mergeConfig.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/formDataToStream.js +4 -3
- package/node_modules/axios/lib/helpers/resolveConfig.js +1 -1
- package/node_modules/axios/lib/helpers/throttle.js +1 -1
- package/node_modules/axios/lib/helpers/toFormData.js +4 -0
- package/node_modules/axios/lib/helpers/toURLEncodedForm.js +4 -3
- package/node_modules/axios/lib/platform/node/index.js +26 -0
- package/node_modules/axios/lib/utils.js +48 -28
- package/node_modules/axios/package.json +14 -5
- package/node_modules/bignumber.js/CHANGELOG.md +82 -1
- package/node_modules/bignumber.js/LICENCE.md +1 -1
- package/node_modules/bignumber.js/README.md +6 -4
- package/node_modules/bignumber.js/bignumber.d.mts +6 -0
- package/node_modules/bignumber.js/bignumber.d.ts +3 -1829
- package/node_modules/bignumber.js/bignumber.js +3 -3
- package/node_modules/bignumber.js/bignumber.mjs +3 -3
- package/node_modules/bignumber.js/package.json +17 -7
- package/node_modules/bignumber.js/types.d.ts +1821 -0
- package/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/node_modules/dunder-proto/.eslintrc +5 -0
- package/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/node_modules/dunder-proto/.nycrc +13 -0
- package/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/node_modules/dunder-proto/LICENSE +21 -0
- package/node_modules/dunder-proto/README.md +54 -0
- package/node_modules/dunder-proto/get.d.ts +5 -0
- package/node_modules/dunder-proto/get.js +30 -0
- package/node_modules/dunder-proto/package.json +76 -0
- package/node_modules/dunder-proto/set.d.ts +5 -0
- package/node_modules/dunder-proto/set.js +35 -0
- package/node_modules/dunder-proto/test/get.js +34 -0
- package/node_modules/dunder-proto/test/index.js +4 -0
- package/node_modules/dunder-proto/test/set.js +50 -0
- package/node_modules/dunder-proto/tsconfig.json +9 -0
- package/node_modules/es-define-property/.eslintrc +13 -0
- package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/node_modules/es-define-property/.nycrc +9 -0
- package/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/node_modules/es-define-property/LICENSE +21 -0
- package/node_modules/es-define-property/README.md +49 -0
- package/node_modules/es-define-property/index.d.ts +3 -0
- package/node_modules/es-define-property/index.js +14 -0
- package/node_modules/es-define-property/package.json +81 -0
- package/node_modules/es-define-property/test/index.js +56 -0
- package/node_modules/es-define-property/tsconfig.json +10 -0
- package/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/es-errors/README.md +55 -0
- package/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/es-errors/eval.js +4 -0
- package/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/es-errors/index.js +4 -0
- package/node_modules/es-errors/package.json +80 -0
- package/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/es-errors/range.js +4 -0
- package/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/es-errors/ref.js +4 -0
- package/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/es-errors/test/index.js +19 -0
- package/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/es-errors/type.js +4 -0
- package/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/es-errors/uri.js +4 -0
- package/node_modules/es-object-atoms/.eslintrc +16 -0
- package/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/node_modules/es-object-atoms/CHANGELOG.md +37 -0
- package/node_modules/es-object-atoms/LICENSE +21 -0
- package/node_modules/es-object-atoms/README.md +63 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/node_modules/es-object-atoms/ToObject.js +10 -0
- package/node_modules/es-object-atoms/index.d.ts +3 -0
- package/node_modules/es-object-atoms/index.js +4 -0
- package/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/node_modules/es-object-atoms/isObject.js +6 -0
- package/node_modules/es-object-atoms/package.json +80 -0
- package/node_modules/es-object-atoms/test/index.js +38 -0
- package/node_modules/es-object-atoms/tsconfig.json +6 -0
- package/node_modules/es-set-tostringtag/.eslintrc +13 -0
- package/node_modules/es-set-tostringtag/.nycrc +9 -0
- package/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
- package/node_modules/es-set-tostringtag/LICENSE +21 -0
- package/node_modules/es-set-tostringtag/README.md +53 -0
- package/node_modules/es-set-tostringtag/index.d.ts +10 -0
- package/node_modules/es-set-tostringtag/index.js +35 -0
- package/node_modules/es-set-tostringtag/package.json +78 -0
- package/node_modules/es-set-tostringtag/test/index.js +85 -0
- package/node_modules/es-set-tostringtag/tsconfig.json +9 -0
- package/node_modules/fast-xml-parser/CHANGELOG.md +70 -0
- package/node_modules/fast-xml-parser/README.md +37 -51
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.d.cts +458 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -0
- package/node_modules/fast-xml-parser/package.json +36 -19
- package/node_modules/fast-xml-parser/src/cli/cli.js +16 -12
- package/node_modules/fast-xml-parser/src/cli/man.js +6 -1
- package/node_modules/fast-xml-parser/src/cli/read.js +30 -79
- package/node_modules/fast-xml-parser/src/fxp.d.ts +33 -6
- package/node_modules/fast-xml-parser/src/fxp.js +11 -8
- package/node_modules/fast-xml-parser/src/ignoreAttributes.js +2 -4
- package/node_modules/fast-xml-parser/src/util.js +14 -18
- package/node_modules/fast-xml-parser/src/{v5 → v6}/CharsSymbol.js +1 -1
- package/node_modules/fast-xml-parser/src/{v5 → v6}/EntitiesParser.js +3 -6
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OptionsBuilder.js +3 -6
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/BaseOutputBuilder.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsArrBuilder.js +3 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsMinArrBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsObjBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/ParserOptionsBuilder.js +6 -11
- package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPath.js +1 -1
- package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPathMatcher.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XMLParser.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/Xml2JsParser.js +8 -10
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlPartReader.js +4 -10
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlSpecialTagsReader.js +5 -12
- package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/BufferSource.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/StringSource.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/EntitiesParser.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParser.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParserExt.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/currency.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/join.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/number.js +2 -4
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/trim.js +1 -3
- package/node_modules/fast-xml-parser/src/validator.js +5 -5
- package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +5 -4
- package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +1 -2
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +287 -71
- package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +23 -23
- package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +21 -8
- package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +8 -2
- package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +22 -7
- package/node_modules/form-data/CHANGELOG.md +601 -0
- package/node_modules/form-data/{Readme.md → README.md} +34 -37
- package/node_modules/form-data/lib/browser.js +3 -1
- package/node_modules/form-data/lib/form_data.js +140 -147
- package/node_modules/form-data/lib/populate.js +5 -5
- package/node_modules/form-data/package.json +34 -23
- package/node_modules/function-bind/.eslintrc +21 -0
- package/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/node_modules/function-bind/.nycrc +13 -0
- package/node_modules/function-bind/CHANGELOG.md +136 -0
- package/node_modules/function-bind/LICENSE +20 -0
- package/node_modules/function-bind/README.md +46 -0
- package/node_modules/function-bind/implementation.js +84 -0
- package/node_modules/function-bind/index.js +5 -0
- package/node_modules/function-bind/package.json +87 -0
- package/node_modules/function-bind/test/.eslintrc +9 -0
- package/node_modules/function-bind/test/index.js +252 -0
- package/node_modules/get-intrinsic/.eslintrc +42 -0
- package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/node_modules/get-intrinsic/.nycrc +9 -0
- package/node_modules/get-intrinsic/CHANGELOG.md +186 -0
- package/node_modules/get-intrinsic/LICENSE +21 -0
- package/node_modules/get-intrinsic/README.md +71 -0
- package/node_modules/get-intrinsic/index.js +378 -0
- package/node_modules/get-intrinsic/package.json +97 -0
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/node_modules/get-proto/.eslintrc +10 -0
- package/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/node_modules/get-proto/.nycrc +9 -0
- package/node_modules/get-proto/CHANGELOG.md +21 -0
- package/node_modules/get-proto/LICENSE +21 -0
- package/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/node_modules/get-proto/README.md +50 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/node_modules/get-proto/index.d.ts +5 -0
- package/node_modules/get-proto/index.js +27 -0
- package/node_modules/get-proto/package.json +81 -0
- package/node_modules/get-proto/test/index.js +68 -0
- package/node_modules/get-proto/tsconfig.json +9 -0
- package/node_modules/gopd/.eslintrc +16 -0
- package/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/node_modules/gopd/CHANGELOG.md +45 -0
- package/node_modules/gopd/LICENSE +21 -0
- package/node_modules/gopd/README.md +40 -0
- package/node_modules/gopd/gOPD.d.ts +1 -0
- package/node_modules/gopd/gOPD.js +4 -0
- package/node_modules/gopd/index.d.ts +5 -0
- package/node_modules/gopd/index.js +15 -0
- package/node_modules/gopd/package.json +77 -0
- package/node_modules/gopd/test/index.js +36 -0
- package/node_modules/gopd/tsconfig.json +9 -0
- package/node_modules/has-symbols/.eslintrc +11 -0
- package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/node_modules/has-symbols/.nycrc +9 -0
- package/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/node_modules/has-symbols/LICENSE +21 -0
- package/node_modules/has-symbols/README.md +46 -0
- package/node_modules/has-symbols/index.d.ts +3 -0
- package/node_modules/has-symbols/index.js +14 -0
- package/node_modules/has-symbols/package.json +111 -0
- package/node_modules/has-symbols/shams.d.ts +3 -0
- package/node_modules/has-symbols/shams.js +45 -0
- package/node_modules/has-symbols/test/index.js +22 -0
- package/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/node_modules/has-symbols/test/tests.js +58 -0
- package/node_modules/has-symbols/tsconfig.json +10 -0
- package/node_modules/has-tostringtag/.eslintrc +5 -0
- package/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
- package/node_modules/has-tostringtag/.nycrc +13 -0
- package/node_modules/has-tostringtag/CHANGELOG.md +42 -0
- package/node_modules/has-tostringtag/LICENSE +21 -0
- package/node_modules/has-tostringtag/README.md +46 -0
- package/node_modules/has-tostringtag/index.d.ts +3 -0
- package/node_modules/has-tostringtag/index.js +8 -0
- package/node_modules/has-tostringtag/package.json +108 -0
- package/node_modules/has-tostringtag/shams.d.ts +3 -0
- package/node_modules/has-tostringtag/shams.js +8 -0
- package/node_modules/has-tostringtag/test/index.js +21 -0
- package/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
- package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
- package/node_modules/has-tostringtag/test/tests.js +15 -0
- package/node_modules/has-tostringtag/tsconfig.json +49 -0
- package/node_modules/hasown/.eslintrc +5 -0
- package/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/node_modules/hasown/.nycrc +13 -0
- package/node_modules/hasown/CHANGELOG.md +40 -0
- package/node_modules/hasown/LICENSE +21 -0
- package/node_modules/hasown/README.md +40 -0
- package/node_modules/hasown/index.d.ts +3 -0
- package/node_modules/hasown/index.js +8 -0
- package/node_modules/hasown/package.json +92 -0
- package/node_modules/hasown/tsconfig.json +6 -0
- package/node_modules/long/README.md +93 -87
- package/node_modules/long/index.d.ts +2 -2
- package/node_modules/long/index.js +360 -246
- package/node_modules/long/package.json +12 -4
- package/node_modules/long/types.d.ts +474 -0
- package/node_modules/long/umd/index.d.ts +2 -456
- package/node_modules/long/umd/index.js +1585 -1395
- package/node_modules/long/umd/types.d.ts +474 -0
- package/node_modules/math-intrinsics/.eslintrc +16 -0
- package/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/node_modules/math-intrinsics/LICENSE +21 -0
- package/node_modules/math-intrinsics/README.md +50 -0
- package/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/node_modules/math-intrinsics/abs.js +4 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/node_modules/math-intrinsics/floor.js +4 -0
- package/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/node_modules/math-intrinsics/isFinite.js +12 -0
- package/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/isInteger.js +16 -0
- package/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/node_modules/math-intrinsics/isNaN.js +6 -0
- package/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/node_modules/math-intrinsics/max.d.ts +1 -0
- package/node_modules/math-intrinsics/max.js +4 -0
- package/node_modules/math-intrinsics/min.d.ts +1 -0
- package/node_modules/math-intrinsics/min.js +4 -0
- package/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/node_modules/math-intrinsics/mod.js +9 -0
- package/node_modules/math-intrinsics/package.json +86 -0
- package/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/node_modules/math-intrinsics/pow.js +4 -0
- package/node_modules/math-intrinsics/round.d.ts +1 -0
- package/node_modules/math-intrinsics/round.js +4 -0
- package/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/node_modules/math-intrinsics/sign.js +11 -0
- package/node_modules/math-intrinsics/test/index.js +192 -0
- package/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/node_modules/protobufjs/dist/light/protobuf.js +532 -80
- package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
- package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
- package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
- package/node_modules/protobufjs/dist/protobuf.js +672 -144
- package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
- package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
- package/node_modules/protobufjs/ext/descriptor/index.js +179 -69
- package/node_modules/protobufjs/google/protobuf/descriptor.json +659 -16
- package/node_modules/protobufjs/google/protobuf/descriptor.proto +254 -6
- package/node_modules/protobufjs/index.d.ts +71 -13
- package/node_modules/protobufjs/package.json +4 -2
- package/node_modules/protobufjs/src/decoder.js +8 -10
- package/node_modules/protobufjs/src/encoder.js +1 -1
- package/node_modules/protobufjs/src/enum.js +25 -0
- package/node_modules/protobufjs/src/field.js +104 -28
- package/node_modules/protobufjs/src/namespace.js +126 -13
- package/node_modules/protobufjs/src/object.js +139 -4
- package/node_modules/protobufjs/src/oneof.js +19 -0
- package/node_modules/protobufjs/src/parse.js +139 -63
- package/node_modules/protobufjs/src/root.js +51 -15
- package/node_modules/protobufjs/src/service.js +23 -1
- package/node_modules/protobufjs/src/type.js +29 -4
- package/node_modules/protobufjs/src/util.js +4 -1
- package/node_modules/strnum/.github/SECURITY.md +5 -0
- package/node_modules/strnum/CHANGELOG.md +33 -0
- package/node_modules/strnum/README.md +14 -3
- package/node_modules/strnum/algo.stflow +84 -0
- package/node_modules/strnum/package.json +9 -2
- package/node_modules/strnum/strnum.js +72 -67
- package/node_modules/strnum/strnum.test.js +29 -6
- package/node_modules/strnum/test.js +9 -0
- package/node_modules/undici-types/dispatcher.d.ts +1 -0
- package/node_modules/undici-types/package.json +1 -1
- package/node_modules/undici-types/readable.d.ts +5 -0
- package/node_modules/undici-types/webidl.d.ts +6 -0
- package/node_modules/uuid/README.md +12 -12
- package/node_modules/uuid/dist/cjs/types.d.ts +1 -1
- package/node_modules/uuid/dist/cjs/v1.d.ts +1 -1
- package/node_modules/uuid/dist/cjs/v1.js +1 -1
- package/node_modules/uuid/dist/cjs/v3.d.ts +1 -1
- package/node_modules/uuid/dist/cjs/v35.d.ts +1 -1
- package/node_modules/uuid/dist/cjs/v4.d.ts +1 -1
- package/node_modules/uuid/dist/cjs/v5.d.ts +1 -1
- package/node_modules/uuid/dist/cjs/v6.d.ts +1 -1
- package/node_modules/uuid/dist/cjs/v7.d.ts +1 -1
- package/node_modules/uuid/dist/cjs/v7.js +1 -1
- package/node_modules/uuid/dist/cjs-browser/types.d.ts +1 -1
- package/node_modules/uuid/dist/cjs-browser/v1.d.ts +1 -1
- package/node_modules/uuid/dist/cjs-browser/v1.js +1 -1
- package/node_modules/uuid/dist/cjs-browser/v3.d.ts +1 -1
- package/node_modules/uuid/dist/cjs-browser/v35.d.ts +1 -1
- package/node_modules/uuid/dist/cjs-browser/v4.d.ts +1 -1
- package/node_modules/uuid/dist/cjs-browser/v5.d.ts +1 -1
- package/node_modules/uuid/dist/cjs-browser/v6.d.ts +1 -1
- package/node_modules/uuid/dist/cjs-browser/v7.d.ts +1 -1
- package/node_modules/uuid/dist/cjs-browser/v7.js +1 -1
- package/node_modules/uuid/dist/esm/types.d.ts +1 -1
- package/node_modules/uuid/dist/esm/v1.d.ts +1 -1
- package/node_modules/uuid/dist/esm/v1.js +1 -1
- package/node_modules/uuid/dist/esm/v3.d.ts +1 -1
- package/node_modules/uuid/dist/esm/v35.d.ts +1 -1
- package/node_modules/uuid/dist/esm/v4.d.ts +1 -1
- package/node_modules/uuid/dist/esm/v5.d.ts +1 -1
- package/node_modules/uuid/dist/esm/v6.d.ts +1 -1
- package/node_modules/uuid/dist/esm/v7.d.ts +1 -1
- package/node_modules/uuid/dist/esm/v7.js +1 -1
- package/node_modules/uuid/dist/esm-browser/types.d.ts +1 -1
- package/node_modules/uuid/dist/esm-browser/v1.d.ts +1 -1
- package/node_modules/uuid/dist/esm-browser/v1.js +1 -1
- package/node_modules/uuid/dist/esm-browser/v3.d.ts +1 -1
- package/node_modules/uuid/dist/esm-browser/v35.d.ts +1 -1
- package/node_modules/uuid/dist/esm-browser/v4.d.ts +1 -1
- package/node_modules/uuid/dist/esm-browser/v5.d.ts +1 -1
- package/node_modules/uuid/dist/esm-browser/v6.d.ts +1 -1
- package/node_modules/uuid/dist/esm-browser/v7.d.ts +1 -1
- package/node_modules/uuid/dist/esm-browser/v7.js +1 -1
- package/node_modules/uuid/package.json +1 -1
- package/package.json +7 -7
- package/tak-registration.html +4 -4
- package/tak-registration.js +19 -10
- package/node_modules/axios/SECURITY.md +0 -6
- /package/node_modules/fast-xml-parser/src/{v5 → v6}/Report.js +0 -0
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
-- This file is auto-generated from README_js.md. Changes should be made there.
|
|
3
3
|
-->
|
|
4
4
|
|
|
5
|
-
# uuid [](https://github.com/uuidjs/uuid/actions?query=workflow%3ACI) [](https://github.com/uuidjs/uuid/actions
|
|
5
|
+
# uuid [](https://github.com/uuidjs/uuid/actions?query=workflow%3ACI) [](https://github.com/uuidjs/uuid/actions/workflows/browser.yml)
|
|
6
6
|
|
|
7
|
-
For the creation of [RFC9562](https://www.rfc-editor.org/rfc/rfc9562.html) (
|
|
7
|
+
For the creation of [RFC9562](https://www.rfc-editor.org/rfc/rfc9562.html) (formerly [RFC4122](https://www.rfc-editor.org/rfc/rfc4122.html)) UUIDs
|
|
8
8
|
|
|
9
9
|
- **Complete** - Support for all RFC9562 UUID versions
|
|
10
10
|
- **Cross-platform** - Support for...
|
|
11
11
|
- ESM & Common JS
|
|
12
|
-
- [
|
|
12
|
+
- [Typescript](#support)
|
|
13
|
+
- [Chrome, Safari, Firefox, and Edge](#support)
|
|
13
14
|
- [NodeJS](#support)
|
|
14
15
|
- [React Native / Expo](#react-native--expo)
|
|
15
|
-
- **Secure** -
|
|
16
|
-
- **Compact** -
|
|
17
|
-
- **CLI** -
|
|
18
|
-
- **Typescript** - Types now included
|
|
16
|
+
- **Secure** - Uses modern `crypto` API for random values
|
|
17
|
+
- **Compact** - Zero-dependency, [tree-shakable](https://developer.mozilla.org/en-US/docs/Glossary/Tree_shaking)
|
|
18
|
+
- **CLI** - [`uuid` command line](#command-line) utility
|
|
19
19
|
|
|
20
20
|
<!-- prettier-ignore -->
|
|
21
21
|
> [!NOTE]
|
|
22
|
-
|
|
22
|
+
> `uuid@11` is now available: See the [CHANGELOG](./CHANGELOG.md) for details. TL;DR:
|
|
23
23
|
> * TypeScript support is now included (remove `@types/uuid` from your dependencies)
|
|
24
24
|
> * Subtle changes to how the `options` arg is interpreted for `v1()`, `v6()`, and `v7()`. [See details](#options-handling-for-timestamp-uuids)
|
|
25
25
|
> * Binary UUIDs are now `Uint8Array`s. (May impact callers of `parse()`, `stringify()`, or that pass an `option#buf` argument to `v1()`-`v7()`.)
|
|
@@ -180,7 +180,7 @@ Create an RFC version 1 (timestamp) UUID
|
|
|
180
180
|
| [`options.nsecs = 0`] | RFC "timestamp" field (`Number` of nanoseconds to add to `msecs`, should be 0-10,000) |
|
|
181
181
|
| [`options.random = (random)`] | `Array` of 16 random bytes (0-255) used to generate other fields, above |
|
|
182
182
|
| [`options.rng`] | Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) |
|
|
183
|
-
| [`buffer`] | `
|
|
183
|
+
| [`buffer`] | `Uint8Array` or `Uint8Array` subtype (e.g. Node.js `Buffer`). If provided, binary UUID is written into the array, starting at `offset` |
|
|
184
184
|
| [`offset` = 0] | `Number` Index to start writing UUID bytes in `buffer` |
|
|
185
185
|
| _returns_ | UUID `String` if no `buffer` is specified, otherwise returns `buffer` |
|
|
186
186
|
| _throws_ | `Error` if more than 10M UUIDs/sec are requested |
|
|
@@ -244,7 +244,7 @@ Create an RFC version 4 (random) UUID
|
|
|
244
244
|
| [`options`] | `Object` with one or more of the following properties: |
|
|
245
245
|
| [`options.random`] | `Array` of 16 random bytes (0-255) |
|
|
246
246
|
| [`options.rng`] | Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) |
|
|
247
|
-
| [`buffer`] | `
|
|
247
|
+
| [`buffer`] | `Uint8Array` or `Uint8Array` subtype (e.g. Node.js `Buffer`). If provided, binary UUID is written into the array, starting at `offset` |
|
|
248
248
|
| [`offset` = 0] | `Number` Index to start writing UUID bytes in `buffer` |
|
|
249
249
|
| _returns_ | UUID `String` if no `buffer` is specified, otherwise returns `buffer` |
|
|
250
250
|
|
|
@@ -292,7 +292,7 @@ Create an RFC version 5 (namespace w/ SHA-1) UUID
|
|
|
292
292
|
| --- | --- |
|
|
293
293
|
| `name` | `String \| Array` |
|
|
294
294
|
| `namespace` | `String \| Array[16]` Namespace UUID |
|
|
295
|
-
| [`buffer`] | `
|
|
295
|
+
| [`buffer`] | `Uint8Array` or `Uint8Array` subtype (e.g. Node.js `Buffer`). If provided, binary UUID is written into the array, starting at `offset` |
|
|
296
296
|
| [`offset` = 0] | `Number` Index to start writing UUID bytes in `buffer` |
|
|
297
297
|
| _returns_ | UUID `String` if no `buffer` is specified, otherwise returns `buffer` |
|
|
298
298
|
|
|
@@ -367,7 +367,7 @@ Create an RFC version 7 (random) UUID
|
|
|
367
367
|
| [`options.random = (random)`] | `Array` of 16 random bytes (0-255) used to generate other fields, above |
|
|
368
368
|
| [`options.rng`] | Alternative to `options.random`, a `Function` that returns an `Array` of 16 random bytes (0-255) |
|
|
369
369
|
| [`options.seq = (random)`] | 32-bit sequence `Number` between 0 - 0xffffffff. This may be provided to help ensure uniqueness for UUIDs generated within the same millisecond time interval. Default = random value. |
|
|
370
|
-
| [`buffer`] | `
|
|
370
|
+
| [`buffer`] | `Uint8Array` or `Uint8Array` subtype (e.g. Node.js `Buffer`). If provided, binary UUID is written into the array, starting at `offset` |
|
|
371
371
|
| [`offset` = 0] | `Number` Index to start writing UUID bytes in `buffer` |
|
|
372
372
|
| _returns_ | UUID `String` if no `buffer` is specified, otherwise returns `buffer` |
|
|
373
373
|
|
|
@@ -6,6 +6,6 @@ type V1State = {
|
|
|
6
6
|
nsecs?: number;
|
|
7
7
|
};
|
|
8
8
|
declare function v1(options?: Version1Options, buf?: undefined, offset?: number): string;
|
|
9
|
-
declare function v1(options: Version1Options | undefined, buf:
|
|
9
|
+
declare function v1<Buf extends Uint8Array = Uint8Array>(options: Version1Options | undefined, buf: Buf, offset?: number): Buf;
|
|
10
10
|
export declare function updateV1State(state: V1State, now: number, rnds: Uint8Array): V1State;
|
|
11
11
|
export default v1;
|
|
@@ -22,7 +22,7 @@ function v1(options, buf, offset) {
|
|
|
22
22
|
updateV1State(_state, now, rnds);
|
|
23
23
|
bytes = v1Bytes(rnds, _state.msecs, _state.nsecs, isV6 ? undefined : _state.clockseq, isV6 ? undefined : _state.node, buf, offset);
|
|
24
24
|
}
|
|
25
|
-
return buf
|
|
25
|
+
return buf ?? (0, stringify_js_1.unsafeStringify)(bytes);
|
|
26
26
|
}
|
|
27
27
|
function updateV1State(state, now, rnds) {
|
|
28
28
|
state.msecs ??= -Infinity;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UUIDTypes } from './types.js';
|
|
2
2
|
export { DNS, URL } from './v35.js';
|
|
3
3
|
declare function v3(value: string | Uint8Array, namespace: UUIDTypes, buf?: undefined, offset?: number): string;
|
|
4
|
-
declare function v3(value: string | Uint8Array, namespace: UUIDTypes, buf:
|
|
4
|
+
declare function v3<TBuf extends Uint8Array = Uint8Array>(value: string | Uint8Array, namespace: UUIDTypes, buf: TBuf, offset?: number): TBuf;
|
|
5
5
|
declare namespace v3 {
|
|
6
6
|
var DNS: string;
|
|
7
7
|
var URL: string;
|
|
@@ -3,5 +3,5 @@ export declare function stringToBytes(str: string): Uint8Array;
|
|
|
3
3
|
export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
4
4
|
export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
5
5
|
type HashFunction = (bytes: Uint8Array) => Uint8Array;
|
|
6
|
-
export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?:
|
|
6
|
+
export default function v35<TBuf extends Uint8Array = Uint8Array>(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: TBuf, offset?: number): UUIDTypes<TBuf>;
|
|
7
7
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Version4Options } from './types.js';
|
|
2
2
|
declare function v4(options?: Version4Options, buf?: undefined, offset?: number): string;
|
|
3
|
-
declare function v4(options: Version4Options | undefined, buf:
|
|
3
|
+
declare function v4<TBuf extends Uint8Array = Uint8Array>(options: Version4Options | undefined, buf: TBuf, offset?: number): TBuf;
|
|
4
4
|
export default v4;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UUIDTypes } from './types.js';
|
|
2
2
|
export { DNS, URL } from './v35.js';
|
|
3
3
|
declare function v5(value: string | Uint8Array, namespace: UUIDTypes, buf?: undefined, offset?: number): string;
|
|
4
|
-
declare function v5(value: string | Uint8Array, namespace: UUIDTypes, buf:
|
|
4
|
+
declare function v5<TBuf extends Uint8Array = Uint8Array>(value: string | Uint8Array, namespace: UUIDTypes, buf: TBuf, offset?: number): TBuf;
|
|
5
5
|
declare namespace v5 {
|
|
6
6
|
var DNS: string;
|
|
7
7
|
var URL: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Version6Options } from './types.js';
|
|
2
2
|
declare function v6(options?: Version6Options, buf?: undefined, offset?: number): string;
|
|
3
|
-
declare function v6(options: Version6Options | undefined, buf:
|
|
3
|
+
declare function v6<TBuf extends Uint8Array = Uint8Array>(options: Version6Options | undefined, buf: TBuf, offset?: number): TBuf;
|
|
4
4
|
export default v6;
|
|
@@ -4,6 +4,6 @@ type V7State = {
|
|
|
4
4
|
seq?: number;
|
|
5
5
|
};
|
|
6
6
|
declare function v7(options?: Version7Options, buf?: undefined, offset?: number): string;
|
|
7
|
-
declare function v7(options: Version7Options | undefined, buf:
|
|
7
|
+
declare function v7<TBuf extends Uint8Array = Uint8Array>(options: Version7Options | undefined, buf: TBuf, offset?: number): TBuf;
|
|
8
8
|
export declare function updateV7State(state: V7State, now: number, rnds: Uint8Array): V7State;
|
|
9
9
|
export default v7;
|
|
@@ -15,7 +15,7 @@ function v7(options, buf, offset) {
|
|
|
15
15
|
updateV7State(_state, now, rnds);
|
|
16
16
|
bytes = v7Bytes(rnds, _state.msecs, _state.seq, buf, offset);
|
|
17
17
|
}
|
|
18
|
-
return buf
|
|
18
|
+
return buf ?? (0, stringify_js_1.unsafeStringify)(bytes);
|
|
19
19
|
}
|
|
20
20
|
function updateV7State(state, now, rnds) {
|
|
21
21
|
state.msecs ??= -Infinity;
|
|
@@ -6,6 +6,6 @@ type V1State = {
|
|
|
6
6
|
nsecs?: number;
|
|
7
7
|
};
|
|
8
8
|
declare function v1(options?: Version1Options, buf?: undefined, offset?: number): string;
|
|
9
|
-
declare function v1(options: Version1Options | undefined, buf:
|
|
9
|
+
declare function v1<Buf extends Uint8Array = Uint8Array>(options: Version1Options | undefined, buf: Buf, offset?: number): Buf;
|
|
10
10
|
export declare function updateV1State(state: V1State, now: number, rnds: Uint8Array): V1State;
|
|
11
11
|
export default v1;
|
|
@@ -22,7 +22,7 @@ function v1(options, buf, offset) {
|
|
|
22
22
|
updateV1State(_state, now, rnds);
|
|
23
23
|
bytes = v1Bytes(rnds, _state.msecs, _state.nsecs, isV6 ? undefined : _state.clockseq, isV6 ? undefined : _state.node, buf, offset);
|
|
24
24
|
}
|
|
25
|
-
return buf
|
|
25
|
+
return buf ?? (0, stringify_js_1.unsafeStringify)(bytes);
|
|
26
26
|
}
|
|
27
27
|
function updateV1State(state, now, rnds) {
|
|
28
28
|
state.msecs ??= -Infinity;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UUIDTypes } from './types.js';
|
|
2
2
|
export { DNS, URL } from './v35.js';
|
|
3
3
|
declare function v3(value: string | Uint8Array, namespace: UUIDTypes, buf?: undefined, offset?: number): string;
|
|
4
|
-
declare function v3(value: string | Uint8Array, namespace: UUIDTypes, buf:
|
|
4
|
+
declare function v3<TBuf extends Uint8Array = Uint8Array>(value: string | Uint8Array, namespace: UUIDTypes, buf: TBuf, offset?: number): TBuf;
|
|
5
5
|
declare namespace v3 {
|
|
6
6
|
var DNS: string;
|
|
7
7
|
var URL: string;
|
|
@@ -3,5 +3,5 @@ export declare function stringToBytes(str: string): Uint8Array;
|
|
|
3
3
|
export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
4
4
|
export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
5
5
|
type HashFunction = (bytes: Uint8Array) => Uint8Array;
|
|
6
|
-
export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?:
|
|
6
|
+
export default function v35<TBuf extends Uint8Array = Uint8Array>(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: TBuf, offset?: number): UUIDTypes<TBuf>;
|
|
7
7
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Version4Options } from './types.js';
|
|
2
2
|
declare function v4(options?: Version4Options, buf?: undefined, offset?: number): string;
|
|
3
|
-
declare function v4(options: Version4Options | undefined, buf:
|
|
3
|
+
declare function v4<TBuf extends Uint8Array = Uint8Array>(options: Version4Options | undefined, buf: TBuf, offset?: number): TBuf;
|
|
4
4
|
export default v4;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UUIDTypes } from './types.js';
|
|
2
2
|
export { DNS, URL } from './v35.js';
|
|
3
3
|
declare function v5(value: string | Uint8Array, namespace: UUIDTypes, buf?: undefined, offset?: number): string;
|
|
4
|
-
declare function v5(value: string | Uint8Array, namespace: UUIDTypes, buf:
|
|
4
|
+
declare function v5<TBuf extends Uint8Array = Uint8Array>(value: string | Uint8Array, namespace: UUIDTypes, buf: TBuf, offset?: number): TBuf;
|
|
5
5
|
declare namespace v5 {
|
|
6
6
|
var DNS: string;
|
|
7
7
|
var URL: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Version6Options } from './types.js';
|
|
2
2
|
declare function v6(options?: Version6Options, buf?: undefined, offset?: number): string;
|
|
3
|
-
declare function v6(options: Version6Options | undefined, buf:
|
|
3
|
+
declare function v6<TBuf extends Uint8Array = Uint8Array>(options: Version6Options | undefined, buf: TBuf, offset?: number): TBuf;
|
|
4
4
|
export default v6;
|
|
@@ -4,6 +4,6 @@ type V7State = {
|
|
|
4
4
|
seq?: number;
|
|
5
5
|
};
|
|
6
6
|
declare function v7(options?: Version7Options, buf?: undefined, offset?: number): string;
|
|
7
|
-
declare function v7(options: Version7Options | undefined, buf:
|
|
7
|
+
declare function v7<TBuf extends Uint8Array = Uint8Array>(options: Version7Options | undefined, buf: TBuf, offset?: number): TBuf;
|
|
8
8
|
export declare function updateV7State(state: V7State, now: number, rnds: Uint8Array): V7State;
|
|
9
9
|
export default v7;
|
|
@@ -15,7 +15,7 @@ function v7(options, buf, offset) {
|
|
|
15
15
|
updateV7State(_state, now, rnds);
|
|
16
16
|
bytes = v7Bytes(rnds, _state.msecs, _state.seq, buf, offset);
|
|
17
17
|
}
|
|
18
|
-
return buf
|
|
18
|
+
return buf ?? (0, stringify_js_1.unsafeStringify)(bytes);
|
|
19
19
|
}
|
|
20
20
|
function updateV7State(state, now, rnds) {
|
|
21
21
|
state.msecs ??= -Infinity;
|
|
@@ -6,6 +6,6 @@ type V1State = {
|
|
|
6
6
|
nsecs?: number;
|
|
7
7
|
};
|
|
8
8
|
declare function v1(options?: Version1Options, buf?: undefined, offset?: number): string;
|
|
9
|
-
declare function v1(options: Version1Options | undefined, buf:
|
|
9
|
+
declare function v1<Buf extends Uint8Array = Uint8Array>(options: Version1Options | undefined, buf: Buf, offset?: number): Buf;
|
|
10
10
|
export declare function updateV1State(state: V1State, now: number, rnds: Uint8Array): V1State;
|
|
11
11
|
export default v1;
|
|
@@ -19,7 +19,7 @@ function v1(options, buf, offset) {
|
|
|
19
19
|
updateV1State(_state, now, rnds);
|
|
20
20
|
bytes = v1Bytes(rnds, _state.msecs, _state.nsecs, isV6 ? undefined : _state.clockseq, isV6 ? undefined : _state.node, buf, offset);
|
|
21
21
|
}
|
|
22
|
-
return buf
|
|
22
|
+
return buf ?? unsafeStringify(bytes);
|
|
23
23
|
}
|
|
24
24
|
export function updateV1State(state, now, rnds) {
|
|
25
25
|
state.msecs ??= -Infinity;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UUIDTypes } from './types.js';
|
|
2
2
|
export { DNS, URL } from './v35.js';
|
|
3
3
|
declare function v3(value: string | Uint8Array, namespace: UUIDTypes, buf?: undefined, offset?: number): string;
|
|
4
|
-
declare function v3(value: string | Uint8Array, namespace: UUIDTypes, buf:
|
|
4
|
+
declare function v3<TBuf extends Uint8Array = Uint8Array>(value: string | Uint8Array, namespace: UUIDTypes, buf: TBuf, offset?: number): TBuf;
|
|
5
5
|
declare namespace v3 {
|
|
6
6
|
var DNS: string;
|
|
7
7
|
var URL: string;
|
|
@@ -3,5 +3,5 @@ export declare function stringToBytes(str: string): Uint8Array;
|
|
|
3
3
|
export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
4
4
|
export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
5
5
|
type HashFunction = (bytes: Uint8Array) => Uint8Array;
|
|
6
|
-
export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?:
|
|
6
|
+
export default function v35<TBuf extends Uint8Array = Uint8Array>(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: TBuf, offset?: number): UUIDTypes<TBuf>;
|
|
7
7
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Version4Options } from './types.js';
|
|
2
2
|
declare function v4(options?: Version4Options, buf?: undefined, offset?: number): string;
|
|
3
|
-
declare function v4(options: Version4Options | undefined, buf:
|
|
3
|
+
declare function v4<TBuf extends Uint8Array = Uint8Array>(options: Version4Options | undefined, buf: TBuf, offset?: number): TBuf;
|
|
4
4
|
export default v4;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UUIDTypes } from './types.js';
|
|
2
2
|
export { DNS, URL } from './v35.js';
|
|
3
3
|
declare function v5(value: string | Uint8Array, namespace: UUIDTypes, buf?: undefined, offset?: number): string;
|
|
4
|
-
declare function v5(value: string | Uint8Array, namespace: UUIDTypes, buf:
|
|
4
|
+
declare function v5<TBuf extends Uint8Array = Uint8Array>(value: string | Uint8Array, namespace: UUIDTypes, buf: TBuf, offset?: number): TBuf;
|
|
5
5
|
declare namespace v5 {
|
|
6
6
|
var DNS: string;
|
|
7
7
|
var URL: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Version6Options } from './types.js';
|
|
2
2
|
declare function v6(options?: Version6Options, buf?: undefined, offset?: number): string;
|
|
3
|
-
declare function v6(options: Version6Options | undefined, buf:
|
|
3
|
+
declare function v6<TBuf extends Uint8Array = Uint8Array>(options: Version6Options | undefined, buf: TBuf, offset?: number): TBuf;
|
|
4
4
|
export default v6;
|
|
@@ -4,6 +4,6 @@ type V7State = {
|
|
|
4
4
|
seq?: number;
|
|
5
5
|
};
|
|
6
6
|
declare function v7(options?: Version7Options, buf?: undefined, offset?: number): string;
|
|
7
|
-
declare function v7(options: Version7Options | undefined, buf:
|
|
7
|
+
declare function v7<TBuf extends Uint8Array = Uint8Array>(options: Version7Options | undefined, buf: TBuf, offset?: number): TBuf;
|
|
8
8
|
export declare function updateV7State(state: V7State, now: number, rnds: Uint8Array): V7State;
|
|
9
9
|
export default v7;
|
|
@@ -12,7 +12,7 @@ function v7(options, buf, offset) {
|
|
|
12
12
|
updateV7State(_state, now, rnds);
|
|
13
13
|
bytes = v7Bytes(rnds, _state.msecs, _state.seq, buf, offset);
|
|
14
14
|
}
|
|
15
|
-
return buf
|
|
15
|
+
return buf ?? unsafeStringify(bytes);
|
|
16
16
|
}
|
|
17
17
|
export function updateV7State(state, now, rnds) {
|
|
18
18
|
state.msecs ??= -Infinity;
|
|
@@ -6,6 +6,6 @@ type V1State = {
|
|
|
6
6
|
nsecs?: number;
|
|
7
7
|
};
|
|
8
8
|
declare function v1(options?: Version1Options, buf?: undefined, offset?: number): string;
|
|
9
|
-
declare function v1(options: Version1Options | undefined, buf:
|
|
9
|
+
declare function v1<Buf extends Uint8Array = Uint8Array>(options: Version1Options | undefined, buf: Buf, offset?: number): Buf;
|
|
10
10
|
export declare function updateV1State(state: V1State, now: number, rnds: Uint8Array): V1State;
|
|
11
11
|
export default v1;
|
|
@@ -19,7 +19,7 @@ function v1(options, buf, offset) {
|
|
|
19
19
|
updateV1State(_state, now, rnds);
|
|
20
20
|
bytes = v1Bytes(rnds, _state.msecs, _state.nsecs, isV6 ? undefined : _state.clockseq, isV6 ? undefined : _state.node, buf, offset);
|
|
21
21
|
}
|
|
22
|
-
return buf
|
|
22
|
+
return buf ?? unsafeStringify(bytes);
|
|
23
23
|
}
|
|
24
24
|
export function updateV1State(state, now, rnds) {
|
|
25
25
|
state.msecs ??= -Infinity;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UUIDTypes } from './types.js';
|
|
2
2
|
export { DNS, URL } from './v35.js';
|
|
3
3
|
declare function v3(value: string | Uint8Array, namespace: UUIDTypes, buf?: undefined, offset?: number): string;
|
|
4
|
-
declare function v3(value: string | Uint8Array, namespace: UUIDTypes, buf:
|
|
4
|
+
declare function v3<TBuf extends Uint8Array = Uint8Array>(value: string | Uint8Array, namespace: UUIDTypes, buf: TBuf, offset?: number): TBuf;
|
|
5
5
|
declare namespace v3 {
|
|
6
6
|
var DNS: string;
|
|
7
7
|
var URL: string;
|
|
@@ -3,5 +3,5 @@ export declare function stringToBytes(str: string): Uint8Array;
|
|
|
3
3
|
export declare const DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
4
4
|
export declare const URL = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
5
5
|
type HashFunction = (bytes: Uint8Array) => Uint8Array;
|
|
6
|
-
export default function v35(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?:
|
|
6
|
+
export default function v35<TBuf extends Uint8Array = Uint8Array>(version: 0x30 | 0x50, hash: HashFunction, value: string | Uint8Array, namespace: UUIDTypes, buf?: TBuf, offset?: number): UUIDTypes<TBuf>;
|
|
7
7
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Version4Options } from './types.js';
|
|
2
2
|
declare function v4(options?: Version4Options, buf?: undefined, offset?: number): string;
|
|
3
|
-
declare function v4(options: Version4Options | undefined, buf:
|
|
3
|
+
declare function v4<TBuf extends Uint8Array = Uint8Array>(options: Version4Options | undefined, buf: TBuf, offset?: number): TBuf;
|
|
4
4
|
export default v4;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UUIDTypes } from './types.js';
|
|
2
2
|
export { DNS, URL } from './v35.js';
|
|
3
3
|
declare function v5(value: string | Uint8Array, namespace: UUIDTypes, buf?: undefined, offset?: number): string;
|
|
4
|
-
declare function v5(value: string | Uint8Array, namespace: UUIDTypes, buf:
|
|
4
|
+
declare function v5<TBuf extends Uint8Array = Uint8Array>(value: string | Uint8Array, namespace: UUIDTypes, buf: TBuf, offset?: number): TBuf;
|
|
5
5
|
declare namespace v5 {
|
|
6
6
|
var DNS: string;
|
|
7
7
|
var URL: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Version6Options } from './types.js';
|
|
2
2
|
declare function v6(options?: Version6Options, buf?: undefined, offset?: number): string;
|
|
3
|
-
declare function v6(options: Version6Options | undefined, buf:
|
|
3
|
+
declare function v6<TBuf extends Uint8Array = Uint8Array>(options: Version6Options | undefined, buf: TBuf, offset?: number): TBuf;
|
|
4
4
|
export default v6;
|
|
@@ -4,6 +4,6 @@ type V7State = {
|
|
|
4
4
|
seq?: number;
|
|
5
5
|
};
|
|
6
6
|
declare function v7(options?: Version7Options, buf?: undefined, offset?: number): string;
|
|
7
|
-
declare function v7(options: Version7Options | undefined, buf:
|
|
7
|
+
declare function v7<TBuf extends Uint8Array = Uint8Array>(options: Version7Options | undefined, buf: TBuf, offset?: number): TBuf;
|
|
8
8
|
export declare function updateV7State(state: V7State, now: number, rnds: Uint8Array): V7State;
|
|
9
9
|
export default v7;
|
|
@@ -12,7 +12,7 @@ function v7(options, buf, offset) {
|
|
|
12
12
|
updateV7State(_state, now, rnds);
|
|
13
13
|
bytes = v7Bytes(rnds, _state.msecs, _state.seq, buf, offset);
|
|
14
14
|
}
|
|
15
|
-
return buf
|
|
15
|
+
return buf ?? unsafeStringify(bytes);
|
|
16
16
|
}
|
|
17
17
|
export function updateV7State(state, now, rnds) {
|
|
18
18
|
state.msecs ??= -Infinity;
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-red-contrib-tak-registration",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "A Node-RED node to register to TAK and to help wrap files as datapackages to send to TAK",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@turf/turf": "7.2.0",
|
|
7
7
|
"adm-zip": "0.5.16",
|
|
8
|
-
"axios": "1.
|
|
9
|
-
"fast-xml-parser": "
|
|
10
|
-
"form-data": "4.0.
|
|
11
|
-
"long": "5.2
|
|
12
|
-
"protobufjs": "7.
|
|
13
|
-
"uuid": "11.0
|
|
8
|
+
"axios": "1.11.0",
|
|
9
|
+
"fast-xml-parser": "5.2.5",
|
|
10
|
+
"form-data": "4.0.4",
|
|
11
|
+
"long": "5.3.2",
|
|
12
|
+
"protobufjs": "7.5.3",
|
|
13
|
+
"uuid": "11.1.0"
|
|
14
14
|
},
|
|
15
15
|
"bundledDependencies": [
|
|
16
16
|
"@turf/turf",
|
package/tak-registration.html
CHANGED
|
@@ -159,11 +159,11 @@
|
|
|
159
159
|
<h3>Sending marker position...</h3>
|
|
160
160
|
<dl class="message-properties">
|
|
161
161
|
<dt>payload <span class="property-type">object</span></dt>
|
|
162
|
-
<dd>a "standard" <b>node-red worldmap</b> format msg.payload containing
|
|
163
|
-
(alt), (speed), (bearing), (layer), (remarks)
|
|
162
|
+
<dd>a "standard" <b>node-red worldmap</b> format msg.payload containing <code>name, lat, lon, SIDC or cottype or aistype,
|
|
163
|
+
(alt), (speed), (bearing), (layer), (remarks)</code>, where SIDC is the standard mil 2525C code, eg SFGPU, or cottype is the
|
|
164
164
|
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
|
|
165
|
-
which can then be selected on/off in the TAK app layers control, and any
|
|
166
|
-
field.</dd>
|
|
165
|
+
which can then be selected on/off in the TAK app layers control, and any <code>remarks</code> will get added to the CoT remarks
|
|
166
|
+
field. You can also set the <code>icon</code> property to specify one of the inbuilt custom icons if you know the magic iconset codes.</dd>
|
|
167
167
|
</dl>
|
|
168
168
|
|
|
169
169
|
<h3>Updating gateway position...</h3>
|
package/tak-registration.js
CHANGED
|
@@ -297,6 +297,7 @@ module.exports = function (RED) {
|
|
|
297
297
|
else if (typeof msg.payload === "object" && msg.payload.hasOwnProperty("name")) {
|
|
298
298
|
var shapeXML = ``;
|
|
299
299
|
var linkXML = ``;
|
|
300
|
+
var userIcon = ``;
|
|
300
301
|
var d = new Date();
|
|
301
302
|
var st = d.toISOString();
|
|
302
303
|
var ttl = ((msg.payload.ttl || 0) * 1000) || 60000;
|
|
@@ -313,15 +314,22 @@ module.exports = function (RED) {
|
|
|
313
314
|
msg.payload.SIDC = ais2sidc(msg.payload.aistype);
|
|
314
315
|
}
|
|
315
316
|
if (!msg.payload.cottype && msg.payload.SIDC) {
|
|
316
|
-
var s = msg.payload.SIDC.split('-')[0].
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
317
|
+
var s = msg.payload.SIDC.split('-')[0].toUpperCase();
|
|
318
|
+
var t = s.substr(2,1);
|
|
319
|
+
var r = s.substr(4);
|
|
320
|
+
s = s.substr(1,1).toLowerCase();
|
|
321
|
+
type = 'a-' + s + '-' + t + '-' + r.split('').join('-');
|
|
322
|
+
userIcon = '<__milsym id="'+msg.payload.SIDC+'"/>';
|
|
320
323
|
}
|
|
321
|
-
if (msg.payload.icon
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
324
|
+
if (msg.payload.hasOwnProperty("icon")) {
|
|
325
|
+
if (msg.payload.icon === 'fa-circle fa-fw') {
|
|
326
|
+
type = 'b-m-p-s-m';
|
|
327
|
+
shapeXML = '<color argb="' + convertWMtoCOTColour(msg.payload.iconColor.replace('#', '')) + '"/>';
|
|
328
|
+
shapeXML = shapeXML + '<usericon iconsetpath="COT_MAPPING_SPOTMAP/b-m-p-s-m/-16711681"/>';
|
|
329
|
+
}
|
|
330
|
+
else {
|
|
331
|
+
userIcon = `<usericon iconsetpath="${msg.payload.icon}"/>`;
|
|
332
|
+
}
|
|
325
333
|
}
|
|
326
334
|
}
|
|
327
335
|
|
|
@@ -445,14 +453,15 @@ module.exports = function (RED) {
|
|
|
445
453
|
var et = Date.now() + ttl;
|
|
446
454
|
et = (new Date(et)).toISOString();
|
|
447
455
|
|
|
448
|
-
msg.payload = `<event version="2.0" uid="
|
|
456
|
+
msg.payload = `<event version="2.0" uid="NRC-${msg.payload.name}" type="${type}" time="${st}" start="${st}" stale="${et}" how="h-e">
|
|
449
457
|
<point lat="${msg.payload.lat || 0}" lon="${msg.payload.lon || 0}" hae="${parseInt(msg.payload.alt || invalid)}" le="9999999.0" ce="9999999.0"/>
|
|
450
458
|
<detail>
|
|
451
|
-
<takv device="${os.hostname()}" os="${os.platform()}" platform="
|
|
459
|
+
<takv device="${os.hostname()}" os="${os.platform()}" platform="NodeRedTAK" version="${ver}"/>
|
|
452
460
|
<track course="${msg.payload.bearing || 9999999.0}" speed="${parseInt(msg.payload.speed) || 0}"/>
|
|
453
461
|
<contact callsign="${msg.payload.name}"/>
|
|
454
462
|
${linkXML}
|
|
455
463
|
<remarks source="${node.callsign}">${tag}</remarks>
|
|
464
|
+
${userIcon}
|
|
456
465
|
${shapeXML}
|
|
457
466
|
</detail>
|
|
458
467
|
</event>`
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
# Reporting a Vulnerability
|
|
2
|
-
|
|
3
|
-
If you discover a security vulnerability in axios please disclose it via [our huntr page](https://huntr.dev/repos/axios/axios/). Bounty eligibility, CVE assignment, response times and past reports are all there.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
Thank you for improving the security of axios.
|
|
File without changes
|