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
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/*! Axios v1.11.0 Copyright (c) 2025 Matt Zabriskie and contributors */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
const FormData$1 = require('form-data');
|
|
5
|
+
const crypto = require('crypto');
|
|
5
6
|
const url = require('url');
|
|
6
7
|
const proxyFromEnv = require('proxy-from-env');
|
|
7
8
|
const http = require('http');
|
|
@@ -15,6 +16,7 @@ const events = require('events');
|
|
|
15
16
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
17
|
|
|
17
18
|
const FormData__default = /*#__PURE__*/_interopDefaultLegacy(FormData$1);
|
|
19
|
+
const crypto__default = /*#__PURE__*/_interopDefaultLegacy(crypto);
|
|
18
20
|
const url__default = /*#__PURE__*/_interopDefaultLegacy(url);
|
|
19
21
|
const proxyFromEnv__default = /*#__PURE__*/_interopDefaultLegacy(proxyFromEnv);
|
|
20
22
|
const http__default = /*#__PURE__*/_interopDefaultLegacy(http);
|
|
@@ -34,6 +36,7 @@ function bind(fn, thisArg) {
|
|
|
34
36
|
|
|
35
37
|
const {toString} = Object.prototype;
|
|
36
38
|
const {getPrototypeOf} = Object;
|
|
39
|
+
const {iterator, toStringTag} = Symbol;
|
|
37
40
|
|
|
38
41
|
const kindOf = (cache => thing => {
|
|
39
42
|
const str = toString.call(thing);
|
|
@@ -160,7 +163,28 @@ const isPlainObject = (val) => {
|
|
|
160
163
|
}
|
|
161
164
|
|
|
162
165
|
const prototype = getPrototypeOf(val);
|
|
163
|
-
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(
|
|
166
|
+
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(toStringTag in val) && !(iterator in val);
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Determine if a value is an empty object (safely handles Buffers)
|
|
171
|
+
*
|
|
172
|
+
* @param {*} val The value to test
|
|
173
|
+
*
|
|
174
|
+
* @returns {boolean} True if value is an empty object, otherwise false
|
|
175
|
+
*/
|
|
176
|
+
const isEmptyObject = (val) => {
|
|
177
|
+
// Early return for non-objects or Buffers to prevent RangeError
|
|
178
|
+
if (!isObject(val) || isBuffer(val)) {
|
|
179
|
+
return false;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
try {
|
|
183
|
+
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
184
|
+
} catch (e) {
|
|
185
|
+
// Fallback for any other objects that might cause RangeError with Object.keys()
|
|
186
|
+
return false;
|
|
187
|
+
}
|
|
164
188
|
};
|
|
165
189
|
|
|
166
190
|
/**
|
|
@@ -285,6 +309,11 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
|
|
|
285
309
|
fn.call(null, obj[i], i, obj);
|
|
286
310
|
}
|
|
287
311
|
} else {
|
|
312
|
+
// Buffer check
|
|
313
|
+
if (isBuffer(obj)) {
|
|
314
|
+
return;
|
|
315
|
+
}
|
|
316
|
+
|
|
288
317
|
// Iterate over object keys
|
|
289
318
|
const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
290
319
|
const len = keys.length;
|
|
@@ -298,6 +327,10 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
|
|
|
298
327
|
}
|
|
299
328
|
|
|
300
329
|
function findKey(obj, key) {
|
|
330
|
+
if (isBuffer(obj)){
|
|
331
|
+
return null;
|
|
332
|
+
}
|
|
333
|
+
|
|
301
334
|
key = key.toLowerCase();
|
|
302
335
|
const keys = Object.keys(obj);
|
|
303
336
|
let i = keys.length;
|
|
@@ -511,13 +544,13 @@ const isTypedArray = (TypedArray => {
|
|
|
511
544
|
* @returns {void}
|
|
512
545
|
*/
|
|
513
546
|
const forEachEntry = (obj, fn) => {
|
|
514
|
-
const generator = obj && obj[
|
|
547
|
+
const generator = obj && obj[iterator];
|
|
515
548
|
|
|
516
|
-
const
|
|
549
|
+
const _iterator = generator.call(obj);
|
|
517
550
|
|
|
518
551
|
let result;
|
|
519
552
|
|
|
520
|
-
while ((result =
|
|
553
|
+
while ((result = _iterator.next()) && !result.done) {
|
|
521
554
|
const pair = result.value;
|
|
522
555
|
fn.call(obj, pair[0], pair[1]);
|
|
523
556
|
}
|
|
@@ -630,26 +663,6 @@ const toFiniteNumber = (value, defaultValue) => {
|
|
|
630
663
|
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
631
664
|
};
|
|
632
665
|
|
|
633
|
-
const ALPHA = 'abcdefghijklmnopqrstuvwxyz';
|
|
634
|
-
|
|
635
|
-
const DIGIT = '0123456789';
|
|
636
|
-
|
|
637
|
-
const ALPHABET = {
|
|
638
|
-
DIGIT,
|
|
639
|
-
ALPHA,
|
|
640
|
-
ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
|
|
641
|
-
};
|
|
642
|
-
|
|
643
|
-
const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
|
|
644
|
-
let str = '';
|
|
645
|
-
const {length} = alphabet;
|
|
646
|
-
while (size--) {
|
|
647
|
-
str += alphabet[Math.random() * length|0];
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
return str;
|
|
651
|
-
};
|
|
652
|
-
|
|
653
666
|
/**
|
|
654
667
|
* If the thing is a FormData object, return true, otherwise return false.
|
|
655
668
|
*
|
|
@@ -658,7 +671,7 @@ const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
|
|
|
658
671
|
* @returns {boolean}
|
|
659
672
|
*/
|
|
660
673
|
function isSpecCompliantForm(thing) {
|
|
661
|
-
return !!(thing && isFunction(thing.append) && thing[
|
|
674
|
+
return !!(thing && isFunction(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]);
|
|
662
675
|
}
|
|
663
676
|
|
|
664
677
|
const toJSONObject = (obj) => {
|
|
@@ -671,6 +684,11 @@ const toJSONObject = (obj) => {
|
|
|
671
684
|
return;
|
|
672
685
|
}
|
|
673
686
|
|
|
687
|
+
//Buffer check
|
|
688
|
+
if (isBuffer(source)) {
|
|
689
|
+
return source;
|
|
690
|
+
}
|
|
691
|
+
|
|
674
692
|
if(!('toJSON' in source)) {
|
|
675
693
|
stack[i] = source;
|
|
676
694
|
const target = isArray(source) ? [] : {};
|
|
@@ -727,6 +745,10 @@ const asap = typeof queueMicrotask !== 'undefined' ?
|
|
|
727
745
|
|
|
728
746
|
// *********************
|
|
729
747
|
|
|
748
|
+
|
|
749
|
+
const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
|
|
750
|
+
|
|
751
|
+
|
|
730
752
|
const utils$1 = {
|
|
731
753
|
isArray,
|
|
732
754
|
isArrayBuffer,
|
|
@@ -738,6 +760,7 @@ const utils$1 = {
|
|
|
738
760
|
isBoolean,
|
|
739
761
|
isObject,
|
|
740
762
|
isPlainObject,
|
|
763
|
+
isEmptyObject,
|
|
741
764
|
isReadableStream,
|
|
742
765
|
isRequest,
|
|
743
766
|
isResponse,
|
|
@@ -777,14 +800,13 @@ const utils$1 = {
|
|
|
777
800
|
findKey,
|
|
778
801
|
global: _global,
|
|
779
802
|
isContextDefined,
|
|
780
|
-
ALPHABET,
|
|
781
|
-
generateString,
|
|
782
803
|
isSpecCompliantForm,
|
|
783
804
|
toJSONObject,
|
|
784
805
|
isAsyncFn,
|
|
785
806
|
isThenable,
|
|
786
807
|
setImmediate: _setImmediate,
|
|
787
|
-
asap
|
|
808
|
+
asap,
|
|
809
|
+
isIterable
|
|
788
810
|
};
|
|
789
811
|
|
|
790
812
|
/**
|
|
@@ -1000,6 +1022,10 @@ function toFormData(obj, formData, options) {
|
|
|
1000
1022
|
return value.toISOString();
|
|
1001
1023
|
}
|
|
1002
1024
|
|
|
1025
|
+
if (utils$1.isBoolean(value)) {
|
|
1026
|
+
return value.toString();
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1003
1029
|
if (!useBlob && utils$1.isBlob(value)) {
|
|
1004
1030
|
throw new AxiosError('Blob is not supported. Use a Buffer instead.');
|
|
1005
1031
|
}
|
|
@@ -1290,6 +1316,29 @@ const transitionalDefaults = {
|
|
|
1290
1316
|
|
|
1291
1317
|
const URLSearchParams = url__default["default"].URLSearchParams;
|
|
1292
1318
|
|
|
1319
|
+
const ALPHA = 'abcdefghijklmnopqrstuvwxyz';
|
|
1320
|
+
|
|
1321
|
+
const DIGIT = '0123456789';
|
|
1322
|
+
|
|
1323
|
+
const ALPHABET = {
|
|
1324
|
+
DIGIT,
|
|
1325
|
+
ALPHA,
|
|
1326
|
+
ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
|
|
1327
|
+
};
|
|
1328
|
+
|
|
1329
|
+
const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
|
|
1330
|
+
let str = '';
|
|
1331
|
+
const {length} = alphabet;
|
|
1332
|
+
const randomValues = new Uint32Array(size);
|
|
1333
|
+
crypto__default["default"].randomFillSync(randomValues);
|
|
1334
|
+
for (let i = 0; i < size; i++) {
|
|
1335
|
+
str += alphabet[randomValues[i] % length];
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
return str;
|
|
1339
|
+
};
|
|
1340
|
+
|
|
1341
|
+
|
|
1293
1342
|
const platform$1 = {
|
|
1294
1343
|
isNode: true,
|
|
1295
1344
|
classes: {
|
|
@@ -1297,6 +1346,8 @@ const platform$1 = {
|
|
|
1297
1346
|
FormData: FormData__default["default"],
|
|
1298
1347
|
Blob: typeof Blob !== 'undefined' && Blob || null
|
|
1299
1348
|
},
|
|
1349
|
+
ALPHABET,
|
|
1350
|
+
generateString,
|
|
1300
1351
|
protocols: [ 'http', 'https', 'file', 'data' ]
|
|
1301
1352
|
};
|
|
1302
1353
|
|
|
@@ -1359,7 +1410,7 @@ const platform = {
|
|
|
1359
1410
|
};
|
|
1360
1411
|
|
|
1361
1412
|
function toURLEncodedForm(data, options) {
|
|
1362
|
-
return toFormData(data, new platform.classes.URLSearchParams(),
|
|
1413
|
+
return toFormData(data, new platform.classes.URLSearchParams(), {
|
|
1363
1414
|
visitor: function(value, key, path, helpers) {
|
|
1364
1415
|
if (platform.isNode && utils$1.isBuffer(value)) {
|
|
1365
1416
|
this.append(key, value.toString('base64'));
|
|
@@ -1367,8 +1418,9 @@ function toURLEncodedForm(data, options) {
|
|
|
1367
1418
|
}
|
|
1368
1419
|
|
|
1369
1420
|
return helpers.defaultVisitor.apply(this, arguments);
|
|
1370
|
-
}
|
|
1371
|
-
|
|
1421
|
+
},
|
|
1422
|
+
...options
|
|
1423
|
+
});
|
|
1372
1424
|
}
|
|
1373
1425
|
|
|
1374
1426
|
/**
|
|
@@ -1762,10 +1814,18 @@ class AxiosHeaders {
|
|
|
1762
1814
|
setHeaders(header, valueOrRewrite);
|
|
1763
1815
|
} else if(utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
1764
1816
|
setHeaders(parseHeaders(header), valueOrRewrite);
|
|
1765
|
-
} else if (utils$1.
|
|
1766
|
-
|
|
1767
|
-
|
|
1817
|
+
} else if (utils$1.isObject(header) && utils$1.isIterable(header)) {
|
|
1818
|
+
let obj = {}, dest, key;
|
|
1819
|
+
for (const entry of header) {
|
|
1820
|
+
if (!utils$1.isArray(entry)) {
|
|
1821
|
+
throw TypeError('Object iterator must return a key-value pair');
|
|
1822
|
+
}
|
|
1823
|
+
|
|
1824
|
+
obj[key = entry[0]] = (dest = obj[key]) ?
|
|
1825
|
+
(utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]]) : entry[1];
|
|
1768
1826
|
}
|
|
1827
|
+
|
|
1828
|
+
setHeaders(obj, valueOrRewrite);
|
|
1769
1829
|
} else {
|
|
1770
1830
|
header != null && setHeader(valueOrRewrite, header, rewrite);
|
|
1771
1831
|
}
|
|
@@ -1907,6 +1967,10 @@ class AxiosHeaders {
|
|
|
1907
1967
|
return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\n');
|
|
1908
1968
|
}
|
|
1909
1969
|
|
|
1970
|
+
getSetCookie() {
|
|
1971
|
+
return this.get("set-cookie") || [];
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1910
1974
|
get [Symbol.toStringTag]() {
|
|
1911
1975
|
return 'AxiosHeaders';
|
|
1912
1976
|
}
|
|
@@ -2071,14 +2135,15 @@ function combineURLs(baseURL, relativeURL) {
|
|
|
2071
2135
|
*
|
|
2072
2136
|
* @returns {string} The combined full path
|
|
2073
2137
|
*/
|
|
2074
|
-
function buildFullPath(baseURL, requestedURL) {
|
|
2075
|
-
|
|
2138
|
+
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
2139
|
+
let isRelativeUrl = !isAbsoluteURL(requestedURL);
|
|
2140
|
+
if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
|
|
2076
2141
|
return combineURLs(baseURL, requestedURL);
|
|
2077
2142
|
}
|
|
2078
2143
|
return requestedURL;
|
|
2079
2144
|
}
|
|
2080
2145
|
|
|
2081
|
-
const VERSION = "1.
|
|
2146
|
+
const VERSION = "1.11.0";
|
|
2082
2147
|
|
|
2083
2148
|
function parseProtocol(url) {
|
|
2084
2149
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
|
@@ -2288,7 +2353,7 @@ const readBlob = async function* (blob) {
|
|
|
2288
2353
|
|
|
2289
2354
|
const readBlob$1 = readBlob;
|
|
2290
2355
|
|
|
2291
|
-
const BOUNDARY_ALPHABET =
|
|
2356
|
+
const BOUNDARY_ALPHABET = platform.ALPHABET.ALPHA_DIGIT + '-_';
|
|
2292
2357
|
|
|
2293
2358
|
const textEncoder = typeof TextEncoder === 'function' ? new TextEncoder() : new util__default["default"].TextEncoder();
|
|
2294
2359
|
|
|
@@ -2348,7 +2413,7 @@ const formDataToStream = (form, headersHandler, options) => {
|
|
|
2348
2413
|
const {
|
|
2349
2414
|
tag = 'form-data-boundary',
|
|
2350
2415
|
size = 25,
|
|
2351
|
-
boundary = tag + '-' +
|
|
2416
|
+
boundary = tag + '-' + platform.generateString(size, BOUNDARY_ALPHABET)
|
|
2352
2417
|
} = options || {};
|
|
2353
2418
|
|
|
2354
2419
|
if(!utils$1.isFormData(form)) {
|
|
@@ -2360,7 +2425,7 @@ const formDataToStream = (form, headersHandler, options) => {
|
|
|
2360
2425
|
}
|
|
2361
2426
|
|
|
2362
2427
|
const boundaryBytes = textEncoder.encode('--' + boundary + CRLF);
|
|
2363
|
-
const footerBytes = textEncoder.encode('--' + boundary + '--' + CRLF
|
|
2428
|
+
const footerBytes = textEncoder.encode('--' + boundary + '--' + CRLF);
|
|
2364
2429
|
let contentLength = footerBytes.byteLength;
|
|
2365
2430
|
|
|
2366
2431
|
const parts = Array.from(form.entries()).map(([name, value]) => {
|
|
@@ -2506,7 +2571,7 @@ function throttle(fn, freq) {
|
|
|
2506
2571
|
clearTimeout(timer);
|
|
2507
2572
|
timer = null;
|
|
2508
2573
|
}
|
|
2509
|
-
fn
|
|
2574
|
+
fn(...args);
|
|
2510
2575
|
};
|
|
2511
2576
|
|
|
2512
2577
|
const throttled = (...args) => {
|
|
@@ -2773,7 +2838,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
2773
2838
|
}
|
|
2774
2839
|
|
|
2775
2840
|
// Parse url
|
|
2776
|
-
const fullPath = buildFullPath(config.baseURL, config.url);
|
|
2841
|
+
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
|
2777
2842
|
const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);
|
|
2778
2843
|
const protocol = parsed.protocol || supportedProtocols[0];
|
|
2779
2844
|
|
|
@@ -3380,7 +3445,7 @@ function mergeConfig(config1, config2) {
|
|
|
3380
3445
|
headers: (a, b , prop) => mergeDeepProperties(headersToObject(a), headersToObject(b),prop, true)
|
|
3381
3446
|
};
|
|
3382
3447
|
|
|
3383
|
-
utils$1.forEach(Object.keys(
|
|
3448
|
+
utils$1.forEach(Object.keys({...config1, ...config2}), function computeConfigValue(prop) {
|
|
3384
3449
|
const merge = mergeMap[prop] || mergeDeepProperties;
|
|
3385
3450
|
const configValue = merge(config1[prop], config2[prop], prop);
|
|
3386
3451
|
(utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
|
|
@@ -3396,7 +3461,7 @@ const resolveConfig = (config) => {
|
|
|
3396
3461
|
|
|
3397
3462
|
newConfig.headers = headers = AxiosHeaders$1.from(headers);
|
|
3398
3463
|
|
|
3399
|
-
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
|
|
3464
|
+
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
|
3400
3465
|
|
|
3401
3466
|
// HTTP basic authentication
|
|
3402
3467
|
if (auth) {
|
|
@@ -3915,7 +3980,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
3915
3980
|
credentials: isCredentialsSupported ? withCredentials : undefined
|
|
3916
3981
|
});
|
|
3917
3982
|
|
|
3918
|
-
let response = await fetch(request);
|
|
3983
|
+
let response = await fetch(request, fetchOptions);
|
|
3919
3984
|
|
|
3920
3985
|
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
3921
3986
|
|
|
@@ -3961,7 +4026,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
|
|
|
3961
4026
|
} catch (err) {
|
|
3962
4027
|
unsubscribe && unsubscribe();
|
|
3963
4028
|
|
|
3964
|
-
if (err && err.name === 'TypeError' && /fetch/i.test(err.message)) {
|
|
4029
|
+
if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
|
|
3965
4030
|
throw Object.assign(
|
|
3966
4031
|
new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request),
|
|
3967
4032
|
{
|
|
@@ -4227,7 +4292,7 @@ const validators = validator.validators;
|
|
|
4227
4292
|
*/
|
|
4228
4293
|
class Axios {
|
|
4229
4294
|
constructor(instanceConfig) {
|
|
4230
|
-
this.defaults = instanceConfig;
|
|
4295
|
+
this.defaults = instanceConfig || {};
|
|
4231
4296
|
this.interceptors = {
|
|
4232
4297
|
request: new InterceptorManager$1(),
|
|
4233
4298
|
response: new InterceptorManager$1()
|
|
@@ -4304,6 +4369,13 @@ class Axios {
|
|
|
4304
4369
|
}
|
|
4305
4370
|
}
|
|
4306
4371
|
|
|
4372
|
+
// Set config.allowAbsoluteUrls
|
|
4373
|
+
if (config.allowAbsoluteUrls !== undefined) ; else if (this.defaults.allowAbsoluteUrls !== undefined) {
|
|
4374
|
+
config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
|
|
4375
|
+
} else {
|
|
4376
|
+
config.allowAbsoluteUrls = true;
|
|
4377
|
+
}
|
|
4378
|
+
|
|
4307
4379
|
validator.assertOptions(config, {
|
|
4308
4380
|
baseUrl: validators.spelling('baseURL'),
|
|
4309
4381
|
withXsrfToken: validators.spelling('withXSRFToken')
|
|
@@ -4351,8 +4423,8 @@ class Axios {
|
|
|
4351
4423
|
|
|
4352
4424
|
if (!synchronousRequestInterceptors) {
|
|
4353
4425
|
const chain = [dispatchRequest.bind(this), undefined];
|
|
4354
|
-
chain.unshift
|
|
4355
|
-
chain.push
|
|
4426
|
+
chain.unshift(...requestInterceptorChain);
|
|
4427
|
+
chain.push(...responseInterceptorChain);
|
|
4356
4428
|
len = chain.length;
|
|
4357
4429
|
|
|
4358
4430
|
promise = Promise.resolve(config);
|
|
@@ -4399,7 +4471,7 @@ class Axios {
|
|
|
4399
4471
|
|
|
4400
4472
|
getUri(config) {
|
|
4401
4473
|
config = mergeConfig(this.defaults, config);
|
|
4402
|
-
const fullPath = buildFullPath(config.baseURL, config.url);
|
|
4474
|
+
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
|
4403
4475
|
return buildURL(fullPath, config.params, config.paramsSerializer);
|
|
4404
4476
|
}
|
|
4405
4477
|
}
|