node-red-contrib-tak-registration 0.14.0 → 0.15.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 +124 -0
- package/node_modules/axios/README.md +38 -16
- package/node_modules/axios/dist/axios.js +44 -39
- 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 +43 -39
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +43 -39
- 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 +74 -43
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +3 -2
- package/node_modules/axios/index.d.ts +5 -2
- package/node_modules/axios/lib/adapters/fetch.js +1 -1
- package/node_modules/axios/lib/adapters/http.js +1 -1
- package/node_modules/axios/lib/core/Axios.js +11 -2
- 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/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/platform/node/index.js +26 -0
- package/node_modules/axios/lib/utils.js +12 -28
- package/node_modules/axios/package.json +3 -3
- 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 +63 -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 -18
- package/node_modules/fast-xml-parser/src/cli/cli.js +12 -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 +28 -1
- 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/lib/form_data.js +24 -22
- package/node_modules/form-data/package.json +17 -14
- 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 +531 -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 +671 -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/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 +124 -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 +52 -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 +16 -7
- package/node_modules/axios/SECURITY.md +0 -6
- /package/node_modules/fast-xml-parser/src/{v5 → v6}/Report.js +0 -0
|
@@ -359,7 +359,7 @@ declare namespace axios {
|
|
|
359
359
|
|
|
360
360
|
type Milliseconds = number;
|
|
361
361
|
|
|
362
|
-
type AxiosAdapterName = 'fetch' | 'xhr' | 'http' | string;
|
|
362
|
+
type AxiosAdapterName = 'fetch' | 'xhr' | 'http' | (string & {});
|
|
363
363
|
|
|
364
364
|
type AxiosAdapterConfig = AxiosAdapter | AxiosAdapterName;
|
|
365
365
|
|
|
@@ -376,6 +376,7 @@ declare namespace axios {
|
|
|
376
376
|
url?: string;
|
|
377
377
|
method?: Method | string;
|
|
378
378
|
baseURL?: string;
|
|
379
|
+
allowAbsoluteUrls?: boolean;
|
|
379
380
|
transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[];
|
|
380
381
|
transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[];
|
|
381
382
|
headers?: (RawAxiosRequestHeaders & MethodsHeaders) | AxiosHeaders;
|
|
@@ -507,6 +508,7 @@ declare namespace axios {
|
|
|
507
508
|
<T = any, R = AxiosResponse<T>, D = any>(config: AxiosRequestConfig<D>): Promise<R>;
|
|
508
509
|
<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
509
510
|
|
|
511
|
+
create(config?: CreateAxiosDefaults): AxiosInstance;
|
|
510
512
|
defaults: Omit<AxiosDefaults, 'headers'> & {
|
|
511
513
|
headers: HeadersDefaults & {
|
|
512
514
|
[key: string]: AxiosHeaderValue
|
|
@@ -525,7 +527,6 @@ declare namespace axios {
|
|
|
525
527
|
}
|
|
526
528
|
|
|
527
529
|
interface AxiosStatic extends AxiosInstance {
|
|
528
|
-
create(config?: CreateAxiosDefaults): AxiosInstance;
|
|
529
530
|
Cancel: CancelStatic;
|
|
530
531
|
CancelToken: CancelTokenStatic;
|
|
531
532
|
Axios: typeof Axios;
|
|
@@ -74,6 +74,8 @@ export class AxiosHeaders {
|
|
|
74
74
|
getAuthorization(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
|
|
75
75
|
hasAuthorization(matcher?: AxiosHeaderMatcher): boolean;
|
|
76
76
|
|
|
77
|
+
getSetCookie(): string[];
|
|
78
|
+
|
|
77
79
|
[Symbol.iterator](): IterableIterator<[string, AxiosHeaderValue]>;
|
|
78
80
|
}
|
|
79
81
|
|
|
@@ -300,7 +302,7 @@ export interface AxiosProgressEvent {
|
|
|
300
302
|
|
|
301
303
|
type Milliseconds = number;
|
|
302
304
|
|
|
303
|
-
type AxiosAdapterName = 'fetch' | 'xhr' | 'http' | string;
|
|
305
|
+
type AxiosAdapterName = 'fetch' | 'xhr' | 'http' | (string & {});
|
|
304
306
|
|
|
305
307
|
type AxiosAdapterConfig = AxiosAdapter | AxiosAdapterName;
|
|
306
308
|
|
|
@@ -317,6 +319,7 @@ export interface AxiosRequestConfig<D = any> {
|
|
|
317
319
|
url?: string;
|
|
318
320
|
method?: Method | string;
|
|
319
321
|
baseURL?: string;
|
|
322
|
+
allowAbsoluteUrls?: boolean;
|
|
320
323
|
transformRequest?: AxiosRequestTransformer | AxiosRequestTransformer[];
|
|
321
324
|
transformResponse?: AxiosResponseTransformer | AxiosResponseTransformer[];
|
|
322
325
|
headers?: (RawAxiosRequestHeaders & MethodsHeaders) | AxiosHeaders;
|
|
@@ -511,6 +514,7 @@ export interface AxiosInstance extends Axios {
|
|
|
511
514
|
<T = any, R = AxiosResponse<T>, D = any>(config: AxiosRequestConfig<D>): Promise<R>;
|
|
512
515
|
<T = any, R = AxiosResponse<T>, D = any>(url: string, config?: AxiosRequestConfig<D>): Promise<R>;
|
|
513
516
|
|
|
517
|
+
create(config?: CreateAxiosDefaults): AxiosInstance;
|
|
514
518
|
defaults: Omit<AxiosDefaults, 'headers'> & {
|
|
515
519
|
headers: HeadersDefaults & {
|
|
516
520
|
[key: string]: AxiosHeaderValue
|
|
@@ -545,7 +549,6 @@ export function all<T>(values: Array<T | Promise<T>>): Promise<T[]>;
|
|
|
545
549
|
export function mergeConfig<D = any>(config1: AxiosRequestConfig<D>, config2: AxiosRequestConfig<D>): AxiosRequestConfig<D>;
|
|
546
550
|
|
|
547
551
|
export interface AxiosStatic extends AxiosInstance {
|
|
548
|
-
create(config?: CreateAxiosDefaults): AxiosInstance;
|
|
549
552
|
Cancel: CancelStatic;
|
|
550
553
|
CancelToken: CancelTokenStatic;
|
|
551
554
|
Axios: typeof Axios;
|
|
@@ -213,7 +213,7 @@ export default isFetchSupported && (async (config) => {
|
|
|
213
213
|
} catch (err) {
|
|
214
214
|
unsubscribe && unsubscribe();
|
|
215
215
|
|
|
216
|
-
if (err && err.name === 'TypeError' && /fetch/i.test(err.message)) {
|
|
216
|
+
if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
|
|
217
217
|
throw Object.assign(
|
|
218
218
|
new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request),
|
|
219
219
|
{
|
|
@@ -228,7 +228,7 @@ export default isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
// Parse url
|
|
231
|
-
const fullPath = buildFullPath(config.baseURL, config.url);
|
|
231
|
+
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
|
232
232
|
const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);
|
|
233
233
|
const protocol = parsed.protocol || supportedProtocols[0];
|
|
234
234
|
|
|
@@ -20,7 +20,7 @@ const validators = validator.validators;
|
|
|
20
20
|
*/
|
|
21
21
|
class Axios {
|
|
22
22
|
constructor(instanceConfig) {
|
|
23
|
-
this.defaults = instanceConfig;
|
|
23
|
+
this.defaults = instanceConfig || {};
|
|
24
24
|
this.interceptors = {
|
|
25
25
|
request: new InterceptorManager(),
|
|
26
26
|
response: new InterceptorManager()
|
|
@@ -97,6 +97,15 @@ class Axios {
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
+
// Set config.allowAbsoluteUrls
|
|
101
|
+
if (config.allowAbsoluteUrls !== undefined) {
|
|
102
|
+
// do nothing
|
|
103
|
+
} else if (this.defaults.allowAbsoluteUrls !== undefined) {
|
|
104
|
+
config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
|
|
105
|
+
} else {
|
|
106
|
+
config.allowAbsoluteUrls = true;
|
|
107
|
+
}
|
|
108
|
+
|
|
100
109
|
validator.assertOptions(config, {
|
|
101
110
|
baseUrl: validators.spelling('baseURL'),
|
|
102
111
|
withXsrfToken: validators.spelling('withXSRFToken')
|
|
@@ -192,7 +201,7 @@ class Axios {
|
|
|
192
201
|
|
|
193
202
|
getUri(config) {
|
|
194
203
|
config = mergeConfig(this.defaults, config);
|
|
195
|
-
const fullPath = buildFullPath(config.baseURL, config.url);
|
|
204
|
+
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
|
196
205
|
return buildURL(fullPath, config.params, config.paramsSerializer);
|
|
197
206
|
}
|
|
198
207
|
}
|
|
@@ -100,10 +100,18 @@ class AxiosHeaders {
|
|
|
100
100
|
setHeaders(header, valueOrRewrite)
|
|
101
101
|
} else if(utils.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
102
102
|
setHeaders(parseHeaders(header), valueOrRewrite);
|
|
103
|
-
} else if (utils.
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
} else if (utils.isObject(header) && utils.isIterable(header)) {
|
|
104
|
+
let obj = {}, dest, key;
|
|
105
|
+
for (const entry of header) {
|
|
106
|
+
if (!utils.isArray(entry)) {
|
|
107
|
+
throw TypeError('Object iterator must return a key-value pair');
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
obj[key = entry[0]] = (dest = obj[key]) ?
|
|
111
|
+
(utils.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]]) : entry[1];
|
|
106
112
|
}
|
|
113
|
+
|
|
114
|
+
setHeaders(obj, valueOrRewrite)
|
|
107
115
|
} else {
|
|
108
116
|
header != null && setHeader(valueOrRewrite, header, rewrite);
|
|
109
117
|
}
|
|
@@ -245,6 +253,10 @@ class AxiosHeaders {
|
|
|
245
253
|
return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\n');
|
|
246
254
|
}
|
|
247
255
|
|
|
256
|
+
getSetCookie() {
|
|
257
|
+
return this.get("set-cookie") || [];
|
|
258
|
+
}
|
|
259
|
+
|
|
248
260
|
get [Symbol.toStringTag]() {
|
|
249
261
|
return 'AxiosHeaders';
|
|
250
262
|
}
|
|
@@ -13,8 +13,9 @@ import combineURLs from '../helpers/combineURLs.js';
|
|
|
13
13
|
*
|
|
14
14
|
* @returns {string} The combined full path
|
|
15
15
|
*/
|
|
16
|
-
export default function buildFullPath(baseURL, requestedURL) {
|
|
17
|
-
|
|
16
|
+
export default function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
17
|
+
let isRelativeUrl = !isAbsoluteURL(requestedURL);
|
|
18
|
+
if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
|
|
18
19
|
return combineURLs(baseURL, requestedURL);
|
|
19
20
|
}
|
|
20
21
|
return requestedURL;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "1.
|
|
1
|
+
export const VERSION = "1.9.0";
|
|
@@ -2,8 +2,9 @@ import util from 'util';
|
|
|
2
2
|
import {Readable} from 'stream';
|
|
3
3
|
import utils from "../utils.js";
|
|
4
4
|
import readBlob from "./readBlob.js";
|
|
5
|
+
import platform from "../platform/index.js";
|
|
5
6
|
|
|
6
|
-
const BOUNDARY_ALPHABET =
|
|
7
|
+
const BOUNDARY_ALPHABET = platform.ALPHABET.ALPHA_DIGIT + '-_';
|
|
7
8
|
|
|
8
9
|
const textEncoder = typeof TextEncoder === 'function' ? new TextEncoder() : new util.TextEncoder();
|
|
9
10
|
|
|
@@ -63,7 +64,7 @@ const formDataToStream = (form, headersHandler, options) => {
|
|
|
63
64
|
const {
|
|
64
65
|
tag = 'form-data-boundary',
|
|
65
66
|
size = 25,
|
|
66
|
-
boundary = tag + '-' +
|
|
67
|
+
boundary = tag + '-' + platform.generateString(size, BOUNDARY_ALPHABET)
|
|
67
68
|
} = options || {};
|
|
68
69
|
|
|
69
70
|
if(!utils.isFormData(form)) {
|
|
@@ -75,7 +76,7 @@ const formDataToStream = (form, headersHandler, options) => {
|
|
|
75
76
|
}
|
|
76
77
|
|
|
77
78
|
const boundaryBytes = textEncoder.encode('--' + boundary + CRLF);
|
|
78
|
-
const footerBytes = textEncoder.encode('--' + boundary + '--' + CRLF
|
|
79
|
+
const footerBytes = textEncoder.encode('--' + boundary + '--' + CRLF);
|
|
79
80
|
let contentLength = footerBytes.byteLength;
|
|
80
81
|
|
|
81
82
|
const parts = Array.from(form.entries()).map(([name, value]) => {
|
|
@@ -14,7 +14,7 @@ export default (config) => {
|
|
|
14
14
|
|
|
15
15
|
newConfig.headers = headers = AxiosHeaders.from(headers);
|
|
16
16
|
|
|
17
|
-
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
|
|
17
|
+
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
|
18
18
|
|
|
19
19
|
// HTTP basic authentication
|
|
20
20
|
if (auth) {
|
|
@@ -1,6 +1,30 @@
|
|
|
1
|
+
import crypto from 'crypto';
|
|
1
2
|
import URLSearchParams from './classes/URLSearchParams.js'
|
|
2
3
|
import FormData from './classes/FormData.js'
|
|
3
4
|
|
|
5
|
+
const ALPHA = 'abcdefghijklmnopqrstuvwxyz'
|
|
6
|
+
|
|
7
|
+
const DIGIT = '0123456789';
|
|
8
|
+
|
|
9
|
+
const ALPHABET = {
|
|
10
|
+
DIGIT,
|
|
11
|
+
ALPHA,
|
|
12
|
+
ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
|
|
16
|
+
let str = '';
|
|
17
|
+
const {length} = alphabet;
|
|
18
|
+
const randomValues = new Uint32Array(size);
|
|
19
|
+
crypto.randomFillSync(randomValues);
|
|
20
|
+
for (let i = 0; i < size; i++) {
|
|
21
|
+
str += alphabet[randomValues[i] % length];
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
return str;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
4
28
|
export default {
|
|
5
29
|
isNode: true,
|
|
6
30
|
classes: {
|
|
@@ -8,5 +32,7 @@ export default {
|
|
|
8
32
|
FormData,
|
|
9
33
|
Blob: typeof Blob !== 'undefined' && Blob || null
|
|
10
34
|
},
|
|
35
|
+
ALPHABET,
|
|
36
|
+
generateString,
|
|
11
37
|
protocols: [ 'http', 'https', 'file', 'data' ]
|
|
12
38
|
};
|
|
@@ -6,6 +6,7 @@ import bind from './helpers/bind.js';
|
|
|
6
6
|
|
|
7
7
|
const {toString} = Object.prototype;
|
|
8
8
|
const {getPrototypeOf} = Object;
|
|
9
|
+
const {iterator, toStringTag} = Symbol;
|
|
9
10
|
|
|
10
11
|
const kindOf = (cache => thing => {
|
|
11
12
|
const str = toString.call(thing);
|
|
@@ -132,7 +133,7 @@ const isPlainObject = (val) => {
|
|
|
132
133
|
}
|
|
133
134
|
|
|
134
135
|
const prototype = getPrototypeOf(val);
|
|
135
|
-
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(
|
|
136
|
+
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(toStringTag in val) && !(iterator in val);
|
|
136
137
|
}
|
|
137
138
|
|
|
138
139
|
/**
|
|
@@ -483,13 +484,13 @@ const isTypedArray = (TypedArray => {
|
|
|
483
484
|
* @returns {void}
|
|
484
485
|
*/
|
|
485
486
|
const forEachEntry = (obj, fn) => {
|
|
486
|
-
const generator = obj && obj[
|
|
487
|
+
const generator = obj && obj[iterator];
|
|
487
488
|
|
|
488
|
-
const
|
|
489
|
+
const _iterator = generator.call(obj);
|
|
489
490
|
|
|
490
491
|
let result;
|
|
491
492
|
|
|
492
|
-
while ((result =
|
|
493
|
+
while ((result = _iterator.next()) && !result.done) {
|
|
493
494
|
const pair = result.value;
|
|
494
495
|
fn.call(obj, pair[0], pair[1]);
|
|
495
496
|
}
|
|
@@ -602,26 +603,6 @@ const toFiniteNumber = (value, defaultValue) => {
|
|
|
602
603
|
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
603
604
|
}
|
|
604
605
|
|
|
605
|
-
const ALPHA = 'abcdefghijklmnopqrstuvwxyz'
|
|
606
|
-
|
|
607
|
-
const DIGIT = '0123456789';
|
|
608
|
-
|
|
609
|
-
const ALPHABET = {
|
|
610
|
-
DIGIT,
|
|
611
|
-
ALPHA,
|
|
612
|
-
ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
|
|
616
|
-
let str = '';
|
|
617
|
-
const {length} = alphabet;
|
|
618
|
-
while (size--) {
|
|
619
|
-
str += alphabet[Math.random() * length|0]
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
return str;
|
|
623
|
-
}
|
|
624
|
-
|
|
625
606
|
/**
|
|
626
607
|
* If the thing is a FormData object, return true, otherwise return false.
|
|
627
608
|
*
|
|
@@ -630,7 +611,7 @@ const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
|
|
|
630
611
|
* @returns {boolean}
|
|
631
612
|
*/
|
|
632
613
|
function isSpecCompliantForm(thing) {
|
|
633
|
-
return !!(thing && isFunction(thing.append) && thing[
|
|
614
|
+
return !!(thing && isFunction(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]);
|
|
634
615
|
}
|
|
635
616
|
|
|
636
617
|
const toJSONObject = (obj) => {
|
|
@@ -699,6 +680,10 @@ const asap = typeof queueMicrotask !== 'undefined' ?
|
|
|
699
680
|
|
|
700
681
|
// *********************
|
|
701
682
|
|
|
683
|
+
|
|
684
|
+
const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
|
|
685
|
+
|
|
686
|
+
|
|
702
687
|
export default {
|
|
703
688
|
isArray,
|
|
704
689
|
isArrayBuffer,
|
|
@@ -749,12 +734,11 @@ export default {
|
|
|
749
734
|
findKey,
|
|
750
735
|
global: _global,
|
|
751
736
|
isContextDefined,
|
|
752
|
-
ALPHABET,
|
|
753
|
-
generateString,
|
|
754
737
|
isSpecCompliantForm,
|
|
755
738
|
toJSONObject,
|
|
756
739
|
isAsyncFn,
|
|
757
740
|
isThenable,
|
|
758
741
|
setImmediate: _setImmediate,
|
|
759
|
-
asap
|
|
742
|
+
asap,
|
|
743
|
+
isIterable
|
|
760
744
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "axios",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "Promise based HTTP client for the browser and node.js",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -163,12 +163,12 @@
|
|
|
163
163
|
"Dmitriy Mozgovoy (https://github.com/DigitalBrainJS)",
|
|
164
164
|
"Jay (https://github.com/jasonsaayman)",
|
|
165
165
|
"Emily Morehouse (https://github.com/emilyemorehouse)",
|
|
166
|
-
"Justin Beckwith (https://github.com/JustinBeckwith)",
|
|
167
166
|
"Rubén Norte (https://github.com/rubennorte)",
|
|
167
|
+
"Justin Beckwith (https://github.com/JustinBeckwith)",
|
|
168
168
|
"Martti Laine (https://github.com/codeclown)",
|
|
169
169
|
"Xianming Zhong (https://github.com/chinesedfan)",
|
|
170
|
-
"Remco Haszing (https://github.com/remcohaszing)",
|
|
171
170
|
"Rikki Gibson (https://github.com/RikkiGibson)",
|
|
171
|
+
"Remco Haszing (https://github.com/remcohaszing)",
|
|
172
172
|
"Yasu Flores (https://github.com/yasuf)",
|
|
173
173
|
"Ben Carp (https://github.com/carpben)"
|
|
174
174
|
],
|