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,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
<h3 align="center"> 🥇 Gold sponsors <br> </h3> <table align="center" width="100%"><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://stytch.com/?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=website-link&utm_campaign=axios-http" style="padding: 10px; display: inline-block"> <picture> <source width="200px" height="38px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/stytch_white.png"> <img width="200px" height="38px" src="https://axios-http.com/assets/sponsors/stytch.png" alt="Stytch"/> </picture> </a> <p align="center" title="API-first authentication, authorization, and fraud prevention">API-first authentication, authorization, and fraud prevention</p> <p align="center"> <a href="https://stytch.com/?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=website-link&utm_campaign=axios-http"><b>Website</b></a> | <a href="https://stytch.com/docs?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=docs-link&utm_campaign=axios-http"><b>Documentation</b></a> | <a href="https://github.com/stytchauth/stytch-node?utm_source=oss-sponsorship&utm_medium=paid_sponsorship&utm_content=node-sdk&utm_campaign=axios-http"><b>Node.js</b></a> </p>
|
|
3
3
|
</td><td align="center" width="33.333333333333336%"> <a href="https://www.principal.com/about-us?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="133px" height="43px" src="https://axios-http.com/assets/sponsors/principal.svg" alt="Principal Financial Group"/> </a> <p align="center" title="We’re bound by one common purpose: to give you the financial tools, resources and information you need to live your best life.">We’re bound by one common purpose: to give you the financial tools, resources and information you ne...</p> <p align="center"> <a href="https://www.principal.com/about-us?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>www.principal.com</b></a> </p>
|
|
4
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://
|
|
5
|
-
</td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://
|
|
6
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://
|
|
7
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://
|
|
8
|
-
</td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://
|
|
9
|
-
</td><td align="center" width="33.333333333333336%"> <a href="https://
|
|
4
|
+
</td><td align="center" width="33.333333333333336%"> <a href="https://twicsy.com/buy-instagram-followers?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="85px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/buy-instagram-followers-twicsy.png" alt="Buy Instagram Followers Twicsy"/> </a> <p align="center" title="Buy real Instagram followers from Twicsy starting at only $2.97. Twicsy has been voted the best site to buy followers from the likes of US Magazine.">Buy real Instagram followers from Twicsy starting at only $2.97. Twicsy has been voted the best site...</p> <p align="center"> <a href="https://twicsy.com/buy-instagram-followers?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>twicsy.com</b></a> </p>
|
|
5
|
+
</td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://www.descope.com/?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship" style="padding: 10px; display: inline-block"> <picture> <source width="200px" height="52px" media="(prefers-color-scheme: dark)" srcset="https://axios-http.com/assets/sponsors/descope_white.png"> <img width="200px" height="52px" src="https://axios-http.com/assets/sponsors/descope.png" alt="Descope"/> </picture> </a> <p align="center" title="Hi, we're Descope! We are building something in the authentication space for app developers and can’t wait to place it in your hands.">Hi, we're Descope! We are building something in the authentication space for app developers and...</p> <p align="center"> <a href="https://www.descope.com/?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship"><b>Website</b></a> | <a href="https://docs.descope.com/?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship"><b>Docs</b></a> | <a href="https://www.descope.com/community?utm_source=axios&utm_medium=referral&utm_campaign=axios-oss-sponsorship"><b>Community</b></a> </p>
|
|
6
|
+
</td><td align="center" width="33.333333333333336%"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="62px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/buzzoid-buy-instagram-followers.png" alt="Buzzoid - Buy Instagram Followers"/> </a> <p align="center" title="At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rated world's #1 IG service since 2012.">At Buzzoid, you can buy Instagram followers quickly, safely, and easily with just a few clicks. Rate...</p> <p align="center"> <a href="https://buzzoid.com/buy-instagram-followers/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>buzzoid.com</b></a> </p>
|
|
7
|
+
</td><td align="center" width="33.333333333333336%"> <a href="https://www.famety.net/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/famety-buy-instagram-followers.png" alt="Famety - Buy Instagram Followers"/> </a> <p align="center" title="At Famety, you can grow your social media following quickly, safely, and easily with just a few clicks. Rated the world’s #1 social media service since 2013.">At Famety, you can grow your social media following quickly, safely, and easily with just a few clic...</p> <p align="center"> <a href="https://www.famety.net/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>www.famety.net</b></a> </p>
|
|
8
|
+
</td></tr><tr width="33.333333333333336%"><td align="center" width="33.333333333333336%"> <a href="https://poprey.com/?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/instagram-likes.png" alt="Poprey - Buy Instagram Likes"/> </a> <p align="center" title="Buy Instagram Likes">Buy Instagram Likes</p> <p align="center"> <a href="https://poprey.com/?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>poprey.com</b></a> </p>
|
|
9
|
+
</td><td align="center" width="33.333333333333336%"> <a href="https://ssmarket.net/buy-youtube-subscribers?utm_source=axios&utm_medium=sponsorlist&utm_campaign=sponsorship" style="padding: 10px; display: inline-block"> <img width="70px" height="70px" src="https://axios-http.com/assets/sponsors/opencollective/youtube-subscribers-ssmarket.png" alt="Buy Youtube Subscribers"/> </a> <p align="center" title="SS Market offers professional social media services that rapidly increase your YouTube subscriber count, elevating your channel to a powerful position.">SS Market offers professional social media services that rapidly increase your YouTube subscriber co...</p> <p align="center"> <a href="https://ssmarket.net/buy-youtube-subscribers?utm_source=axios&utm_medium=readme_sponsorlist&utm_campaign=sponsorship"><b>ssmarket.net</b></a> </p>
|
|
10
10
|
</td><td align="center" width="33.333333333333336%"> <a href="https://opencollective.com/axios/contribute">💜 Become a sponsor</a>
|
|
11
11
|
</td></tr></table>
|
|
12
12
|
|
|
@@ -135,6 +135,12 @@ Using pnpm:
|
|
|
135
135
|
$ pnpm add axios
|
|
136
136
|
```
|
|
137
137
|
|
|
138
|
+
Using bun:
|
|
139
|
+
|
|
140
|
+
```bash
|
|
141
|
+
$ bun add axios
|
|
142
|
+
```
|
|
143
|
+
|
|
138
144
|
Once the package is installed, you can import the library using `import` or `require` approach:
|
|
139
145
|
|
|
140
146
|
```js
|
|
@@ -157,7 +163,7 @@ const axios = require('axios');
|
|
|
157
163
|
console.log(axios.isCancel('something'));
|
|
158
164
|
```
|
|
159
165
|
|
|
160
|
-
For some bundlers and some ES6
|
|
166
|
+
For some bundlers and some ES6 linters you may need to do the following:
|
|
161
167
|
|
|
162
168
|
```js
|
|
163
169
|
import { default as axios } from 'axios';
|
|
@@ -372,11 +378,16 @@ These are the available config options for making requests. Only the `url` is re
|
|
|
372
378
|
// `method` is the request method to be used when making the request
|
|
373
379
|
method: 'get', // default
|
|
374
380
|
|
|
375
|
-
// `baseURL` will be prepended to `url` unless `url` is absolute.
|
|
381
|
+
// `baseURL` will be prepended to `url` unless `url` is absolute and option `allowAbsoluteUrls` is set to true.
|
|
376
382
|
// It can be convenient to set `baseURL` for an instance of axios to pass relative URLs
|
|
377
383
|
// to methods of that instance.
|
|
378
384
|
baseURL: 'https://some-domain.com/api/',
|
|
379
385
|
|
|
386
|
+
// `allowAbsoluteUrls` determines whether or not absolute URLs will override a configured `baseUrl`.
|
|
387
|
+
// When set to true (default), absolute values for `url` will override `baseUrl`.
|
|
388
|
+
// When set to false, absolute values for `url` will always be prepended by `baseUrl`.
|
|
389
|
+
allowAbsoluteUrls: true,
|
|
390
|
+
|
|
380
391
|
// `transformRequest` allows changes to the request data before it is sent to the server
|
|
381
392
|
// This is only applicable for request methods 'PUT', 'POST', 'PATCH' and 'DELETE'
|
|
382
393
|
// The last function in the array must return a string or an instance of Buffer, ArrayBuffer,
|
|
@@ -408,13 +419,13 @@ These are the available config options for making requests. Only the `url` is re
|
|
|
408
419
|
// `paramsSerializer` is an optional config that allows you to customize serializing `params`.
|
|
409
420
|
paramsSerializer: {
|
|
410
421
|
|
|
411
|
-
//Custom encoder function which sends key/value pairs in an iterative fashion.
|
|
422
|
+
// Custom encoder function which sends key/value pairs in an iterative fashion.
|
|
412
423
|
encode?: (param: string): string => { /* Do custom operations here and return transformed string */ },
|
|
413
424
|
|
|
414
425
|
// Custom serializer function for the entire parameter. Allows user to mimic pre 1.x behaviour.
|
|
415
426
|
serialize?: (params: Record<string, any>, options?: ParamsSerializerOptions ),
|
|
416
427
|
|
|
417
|
-
//Configuration for formatting array indexes in the params.
|
|
428
|
+
// Configuration for formatting array indexes in the params.
|
|
418
429
|
indexes: false // Three available options: (1) indexes: null (leads to no brackets), (2) (default) indexes: false (leads to empty brackets), (3) indexes: true (leads to brackets with indexes).
|
|
419
430
|
},
|
|
420
431
|
|
|
@@ -448,7 +459,7 @@ These are the available config options for making requests. Only the `url` is re
|
|
|
448
459
|
},
|
|
449
460
|
// Also, you can set the name of the built-in adapter, or provide an array with their names
|
|
450
461
|
// to choose the first available in the environment
|
|
451
|
-
adapter: 'xhr' // 'fetch' | 'http' | ['xhr', 'http', 'fetch']
|
|
462
|
+
adapter: 'xhr', // 'fetch' | 'http' | ['xhr', 'http', 'fetch']
|
|
452
463
|
|
|
453
464
|
// `auth` indicates that HTTP Basic auth should be used, and supplies credentials.
|
|
454
465
|
// This will set an `Authorization` header, overwriting any existing
|
|
@@ -528,12 +539,18 @@ These are the available config options for making requests. Only the `url` is re
|
|
|
528
539
|
// If both are specified, `socketPath` is used.
|
|
529
540
|
socketPath: null, // default
|
|
530
541
|
|
|
531
|
-
// `transport` determines the transport method that will be used to make the request.
|
|
542
|
+
// `transport` determines the transport method that will be used to make the request.
|
|
543
|
+
// If defined, it will be used. Otherwise, if `maxRedirects` is 0,
|
|
544
|
+
// the default `http` or `https` library will be used, depending on the protocol specified in `protocol`.
|
|
545
|
+
// Otherwise, the `httpFollow` or `httpsFollow` library will be used, again depending on the protocol,
|
|
546
|
+
// which can handle redirects.
|
|
532
547
|
transport: undefined, // default
|
|
533
548
|
|
|
534
549
|
// `httpAgent` and `httpsAgent` define a custom agent to be used when performing http
|
|
535
550
|
// and https requests, respectively, in node.js. This allows options to be added like
|
|
536
|
-
// `keepAlive` that are not enabled by default.
|
|
551
|
+
// `keepAlive` that are not enabled by default before Node.js v19.0.0. After Node.js
|
|
552
|
+
// v19.0.0, you no longer need to customize the agent to enable `keepAlive` because
|
|
553
|
+
// `http.globalAgent` has `keepAlive` enabled by default.
|
|
537
554
|
httpAgent: new http.Agent({ keepAlive: true }),
|
|
538
555
|
httpsAgent: new https.Agent({ keepAlive: true }),
|
|
539
556
|
|
|
@@ -690,7 +707,7 @@ instance.defaults.headers.common['Authorization'] = AUTH_TOKEN;
|
|
|
690
707
|
|
|
691
708
|
### Config order of precedence
|
|
692
709
|
|
|
693
|
-
Config will be merged with an order of precedence. The order is library defaults found in [lib/defaults.js](https://github.com/axios/axios/blob/
|
|
710
|
+
Config will be merged with an order of precedence. The order is library defaults found in [lib/defaults/index.js](https://github.com/axios/axios/blob/main/lib/defaults/index.js#L49), then `defaults` property of the instance, and finally `config` argument for the request. The latter will take precedence over the former. Here's an example.
|
|
694
711
|
|
|
695
712
|
```js
|
|
696
713
|
// Create an instance using the config defaults provided by the library
|
|
@@ -712,8 +729,11 @@ instance.get('/longRequest', {
|
|
|
712
729
|
You can intercept requests or responses before they are handled by `then` or `catch`.
|
|
713
730
|
|
|
714
731
|
```js
|
|
732
|
+
|
|
733
|
+
const instance = axios.create();
|
|
734
|
+
|
|
715
735
|
// Add a request interceptor
|
|
716
|
-
|
|
736
|
+
instance.interceptors.request.use(function (config) {
|
|
717
737
|
// Do something before request is sent
|
|
718
738
|
return config;
|
|
719
739
|
}, function (error) {
|
|
@@ -722,7 +742,7 @@ axios.interceptors.request.use(function (config) {
|
|
|
722
742
|
});
|
|
723
743
|
|
|
724
744
|
// Add a response interceptor
|
|
725
|
-
|
|
745
|
+
instance.interceptors.response.use(function (response) {
|
|
726
746
|
// Any status code that lie within the range of 2xx cause this function to trigger
|
|
727
747
|
// Do something with response data
|
|
728
748
|
return response;
|
|
@@ -736,7 +756,8 @@ axios.interceptors.response.use(function (response) {
|
|
|
736
756
|
If you need to remove an interceptor later you can.
|
|
737
757
|
|
|
738
758
|
```js
|
|
739
|
-
const
|
|
759
|
+
const instance = axios.create();
|
|
760
|
+
const myInterceptor = instance.interceptors.request.use(function () {/*...*/});
|
|
740
761
|
axios.interceptors.request.eject(myInterceptor);
|
|
741
762
|
```
|
|
742
763
|
|
|
@@ -815,21 +836,22 @@ The general structure of axios errors is as follows:
|
|
|
815
836
|
| code | Represents an axios identified error. The table below lists out specific definitions for internal axios error. |
|
|
816
837
|
| status | HTTP response status code. See [here](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes) for common HTTP response status code meanings.
|
|
817
838
|
|
|
818
|
-
Below is a list of potential axios identified error
|
|
819
|
-
|
|
820
|
-
|
|
|
821
|
-
|
|
|
822
|
-
|
|
|
823
|
-
|
|
|
824
|
-
|
|
|
825
|
-
|
|
|
826
|
-
|
|
|
827
|
-
|
|
|
828
|
-
|
|
|
829
|
-
|
|
|
830
|
-
|
|
|
831
|
-
|
|
|
832
|
-
|
|
|
839
|
+
Below is a list of potential axios identified error:
|
|
840
|
+
|
|
841
|
+
| Code | Definition |
|
|
842
|
+
| --- | --- |
|
|
843
|
+
| ERR_BAD_OPTION_VALUE | Invalid value provided in axios configuration. |
|
|
844
|
+
| ERR_BAD_OPTION | Invalid option provided in axios configuration. |
|
|
845
|
+
| ERR_NOT_SUPPORT | Feature or method not supported in the current axios environment. |
|
|
846
|
+
| ERR_DEPRECATED | Deprecated feature or method used in axios. |
|
|
847
|
+
| ERR_INVALID_URL | Invalid URL provided for axios request. |
|
|
848
|
+
| ECONNABORTED | Typically indicates that the request has been timed out (unless `transitional.clarifyTimeoutError` is set) or aborted by the browser or its plugin. |
|
|
849
|
+
| ERR_CANCELED | Feature or method is canceled explicitly by the user using an AbortSignal (or a CancelToken). |
|
|
850
|
+
| ETIMEDOUT | Request timed out due to exceeding default axios timelimit. `transitional.clarifyTimeoutError` must be set to `true`, otherwise a generic `ECONNABORTED` error will be thrown instead. |
|
|
851
|
+
| ERR_NETWORK | Network-related issue. In the browser, this error can also be caused by a [CORS](https://developer.mozilla.org/ru/docs/Web/HTTP/Guides/CORS) or [Mixed Content](https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content) policy violation. The browser does not allow the JS code to clarify the real reason for the error caused by security issues, so please check the console. |
|
|
852
|
+
| ERR_FR_TOO_MANY_REDIRECTS | Request is redirected too many times; exceeds max redirects specified in axios configuration. |
|
|
853
|
+
| ERR_BAD_RESPONSE | Response cannot be parsed properly or is in an unexpected format. Usually related to a response with `5xx` status code. |
|
|
854
|
+
| ERR_BAD_REQUEST | The request has an unexpected format or is missing required parameters. Usually related to a response with `4xx` status code. |
|
|
833
855
|
|
|
834
856
|
## Handling Errors
|
|
835
857
|
|
|
@@ -1126,7 +1148,7 @@ to a `FormData` object by following custom rules.
|
|
|
1126
1148
|
- `metaTokens: boolean = true` - add the special ending (e.g `user{}: '{"name": "John"}'`) in the FormData key.
|
|
1127
1149
|
The back-end body-parser could potentially use this meta-information to automatically parse the value as JSON.
|
|
1128
1150
|
|
|
1129
|
-
- `indexes: null|false|true = false` - controls how indexes will be added to unwrapped keys of `flat` array-like objects
|
|
1151
|
+
- `indexes: null|false|true = false` - controls how indexes will be added to unwrapped keys of `flat` array-like objects.
|
|
1130
1152
|
|
|
1131
1153
|
- `null` - don't add brackets (`arr: 1`, `arr: 2`, `arr: 3`)
|
|
1132
1154
|
- `false`(default) - add empty brackets (`arr[]: 1`, `arr[]: 2`, `arr[]: 3`)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/*! Axios v1.11.0 Copyright (c) 2025 Matt Zabriskie and contributors */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(factory) :
|
|
@@ -681,6 +681,8 @@
|
|
|
681
681
|
|
|
682
682
|
var toString = Object.prototype.toString;
|
|
683
683
|
var getPrototypeOf = Object.getPrototypeOf;
|
|
684
|
+
var iterator = Symbol.iterator,
|
|
685
|
+
toStringTag = Symbol.toStringTag;
|
|
684
686
|
var kindOf = function (cache) {
|
|
685
687
|
return function (thing) {
|
|
686
688
|
var str = toString.call(thing);
|
|
@@ -813,7 +815,27 @@
|
|
|
813
815
|
return false;
|
|
814
816
|
}
|
|
815
817
|
var prototype = getPrototypeOf(val);
|
|
816
|
-
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(
|
|
818
|
+
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(toStringTag in val) && !(iterator in val);
|
|
819
|
+
};
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* Determine if a value is an empty object (safely handles Buffers)
|
|
823
|
+
*
|
|
824
|
+
* @param {*} val The value to test
|
|
825
|
+
*
|
|
826
|
+
* @returns {boolean} True if value is an empty object, otherwise false
|
|
827
|
+
*/
|
|
828
|
+
var isEmptyObject = function isEmptyObject(val) {
|
|
829
|
+
// Early return for non-objects or Buffers to prevent RangeError
|
|
830
|
+
if (!isObject(val) || isBuffer(val)) {
|
|
831
|
+
return false;
|
|
832
|
+
}
|
|
833
|
+
try {
|
|
834
|
+
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
835
|
+
} catch (e) {
|
|
836
|
+
// Fallback for any other objects that might cause RangeError with Object.keys()
|
|
837
|
+
return false;
|
|
838
|
+
}
|
|
817
839
|
};
|
|
818
840
|
|
|
819
841
|
/**
|
|
@@ -940,6 +962,11 @@
|
|
|
940
962
|
fn.call(null, obj[i], i, obj);
|
|
941
963
|
}
|
|
942
964
|
} else {
|
|
965
|
+
// Buffer check
|
|
966
|
+
if (isBuffer(obj)) {
|
|
967
|
+
return;
|
|
968
|
+
}
|
|
969
|
+
|
|
943
970
|
// Iterate over object keys
|
|
944
971
|
var keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
945
972
|
var len = keys.length;
|
|
@@ -951,6 +978,9 @@
|
|
|
951
978
|
}
|
|
952
979
|
}
|
|
953
980
|
function findKey(obj, key) {
|
|
981
|
+
if (isBuffer(obj)) {
|
|
982
|
+
return null;
|
|
983
|
+
}
|
|
954
984
|
key = key.toLowerCase();
|
|
955
985
|
var keys = Object.keys(obj);
|
|
956
986
|
var i = keys.length;
|
|
@@ -1165,10 +1195,10 @@
|
|
|
1165
1195
|
* @returns {void}
|
|
1166
1196
|
*/
|
|
1167
1197
|
var forEachEntry = function forEachEntry(obj, fn) {
|
|
1168
|
-
var generator = obj && obj[
|
|
1169
|
-
var
|
|
1198
|
+
var generator = obj && obj[iterator];
|
|
1199
|
+
var _iterator = generator.call(obj);
|
|
1170
1200
|
var result;
|
|
1171
|
-
while ((result =
|
|
1201
|
+
while ((result = _iterator.next()) && !result.done) {
|
|
1172
1202
|
var pair = result.value;
|
|
1173
1203
|
fn.call(obj, pair[0], pair[1]);
|
|
1174
1204
|
}
|
|
@@ -1266,23 +1296,6 @@
|
|
|
1266
1296
|
var toFiniteNumber = function toFiniteNumber(value, defaultValue) {
|
|
1267
1297
|
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
1268
1298
|
};
|
|
1269
|
-
var ALPHA = 'abcdefghijklmnopqrstuvwxyz';
|
|
1270
|
-
var DIGIT = '0123456789';
|
|
1271
|
-
var ALPHABET = {
|
|
1272
|
-
DIGIT: DIGIT,
|
|
1273
|
-
ALPHA: ALPHA,
|
|
1274
|
-
ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
|
|
1275
|
-
};
|
|
1276
|
-
var generateString = function generateString() {
|
|
1277
|
-
var size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 16;
|
|
1278
|
-
var alphabet = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ALPHABET.ALPHA_DIGIT;
|
|
1279
|
-
var str = '';
|
|
1280
|
-
var length = alphabet.length;
|
|
1281
|
-
while (size--) {
|
|
1282
|
-
str += alphabet[Math.random() * length | 0];
|
|
1283
|
-
}
|
|
1284
|
-
return str;
|
|
1285
|
-
};
|
|
1286
1299
|
|
|
1287
1300
|
/**
|
|
1288
1301
|
* If the thing is a FormData object, return true, otherwise return false.
|
|
@@ -1292,7 +1305,7 @@
|
|
|
1292
1305
|
* @returns {boolean}
|
|
1293
1306
|
*/
|
|
1294
1307
|
function isSpecCompliantForm(thing) {
|
|
1295
|
-
return !!(thing && isFunction(thing.append) && thing[
|
|
1308
|
+
return !!(thing && isFunction(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]);
|
|
1296
1309
|
}
|
|
1297
1310
|
var toJSONObject = function toJSONObject(obj) {
|
|
1298
1311
|
var stack = new Array(10);
|
|
@@ -1301,6 +1314,11 @@
|
|
|
1301
1314
|
if (stack.indexOf(source) >= 0) {
|
|
1302
1315
|
return;
|
|
1303
1316
|
}
|
|
1317
|
+
|
|
1318
|
+
//Buffer check
|
|
1319
|
+
if (isBuffer(source)) {
|
|
1320
|
+
return source;
|
|
1321
|
+
}
|
|
1304
1322
|
if (!('toJSON' in source)) {
|
|
1305
1323
|
stack[i] = source;
|
|
1306
1324
|
var target = isArray(source) ? [] : {};
|
|
@@ -1348,6 +1366,9 @@
|
|
|
1348
1366
|
|
|
1349
1367
|
// *********************
|
|
1350
1368
|
|
|
1369
|
+
var isIterable = function isIterable(thing) {
|
|
1370
|
+
return thing != null && isFunction(thing[iterator]);
|
|
1371
|
+
};
|
|
1351
1372
|
var utils$1 = {
|
|
1352
1373
|
isArray: isArray,
|
|
1353
1374
|
isArrayBuffer: isArrayBuffer,
|
|
@@ -1359,6 +1380,7 @@
|
|
|
1359
1380
|
isBoolean: isBoolean,
|
|
1360
1381
|
isObject: isObject,
|
|
1361
1382
|
isPlainObject: isPlainObject,
|
|
1383
|
+
isEmptyObject: isEmptyObject,
|
|
1362
1384
|
isReadableStream: isReadableStream,
|
|
1363
1385
|
isRequest: isRequest,
|
|
1364
1386
|
isResponse: isResponse,
|
|
@@ -1399,14 +1421,13 @@
|
|
|
1399
1421
|
findKey: findKey,
|
|
1400
1422
|
global: _global,
|
|
1401
1423
|
isContextDefined: isContextDefined,
|
|
1402
|
-
ALPHABET: ALPHABET,
|
|
1403
|
-
generateString: generateString,
|
|
1404
1424
|
isSpecCompliantForm: isSpecCompliantForm,
|
|
1405
1425
|
toJSONObject: toJSONObject,
|
|
1406
1426
|
isAsyncFn: isAsyncFn,
|
|
1407
1427
|
isThenable: isThenable,
|
|
1408
1428
|
setImmediate: _setImmediate,
|
|
1409
|
-
asap: asap
|
|
1429
|
+
asap: asap,
|
|
1430
|
+
isIterable: isIterable
|
|
1410
1431
|
};
|
|
1411
1432
|
|
|
1412
1433
|
/**
|
|
@@ -1599,6 +1620,9 @@
|
|
|
1599
1620
|
if (utils$1.isDate(value)) {
|
|
1600
1621
|
return value.toISOString();
|
|
1601
1622
|
}
|
|
1623
|
+
if (utils$1.isBoolean(value)) {
|
|
1624
|
+
return value.toString();
|
|
1625
|
+
}
|
|
1602
1626
|
if (!useBlob && utils$1.isBlob(value)) {
|
|
1603
1627
|
throw new AxiosError('Blob is not supported. Use a Buffer instead.');
|
|
1604
1628
|
}
|
|
@@ -1917,7 +1941,7 @@
|
|
|
1917
1941
|
var platform = _objectSpread2(_objectSpread2({}, utils), platform$1);
|
|
1918
1942
|
|
|
1919
1943
|
function toURLEncodedForm(data, options) {
|
|
1920
|
-
return toFormData(data, new platform.classes.URLSearchParams(),
|
|
1944
|
+
return toFormData(data, new platform.classes.URLSearchParams(), _objectSpread2({
|
|
1921
1945
|
visitor: function visitor(value, key, path, helpers) {
|
|
1922
1946
|
if (platform.isNode && utils$1.isBuffer(value)) {
|
|
1923
1947
|
this.append(key, value.toString('base64'));
|
|
@@ -2246,21 +2270,26 @@
|
|
|
2246
2270
|
setHeaders(header, valueOrRewrite);
|
|
2247
2271
|
} else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
2248
2272
|
setHeaders(parseHeaders(header), valueOrRewrite);
|
|
2249
|
-
} else if (utils$1.
|
|
2250
|
-
var
|
|
2273
|
+
} else if (utils$1.isObject(header) && utils$1.isIterable(header)) {
|
|
2274
|
+
var obj = {},
|
|
2275
|
+
dest,
|
|
2276
|
+
key;
|
|
2277
|
+
var _iterator = _createForOfIteratorHelper(header),
|
|
2251
2278
|
_step;
|
|
2252
2279
|
try {
|
|
2253
2280
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
2254
|
-
var
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2281
|
+
var entry = _step.value;
|
|
2282
|
+
if (!utils$1.isArray(entry)) {
|
|
2283
|
+
throw TypeError('Object iterator must return a key-value pair');
|
|
2284
|
+
}
|
|
2285
|
+
obj[key = entry[0]] = (dest = obj[key]) ? utils$1.isArray(dest) ? [].concat(_toConsumableArray(dest), [entry[1]]) : [dest, entry[1]] : entry[1];
|
|
2258
2286
|
}
|
|
2259
2287
|
} catch (err) {
|
|
2260
2288
|
_iterator.e(err);
|
|
2261
2289
|
} finally {
|
|
2262
2290
|
_iterator.f();
|
|
2263
2291
|
}
|
|
2292
|
+
setHeaders(obj, valueOrRewrite);
|
|
2264
2293
|
} else {
|
|
2265
2294
|
header != null && setHeader(valueOrRewrite, header, rewrite);
|
|
2266
2295
|
}
|
|
@@ -2391,6 +2420,11 @@
|
|
|
2391
2420
|
return header + ': ' + value;
|
|
2392
2421
|
}).join('\n');
|
|
2393
2422
|
}
|
|
2423
|
+
}, {
|
|
2424
|
+
key: "getSetCookie",
|
|
2425
|
+
value: function getSetCookie() {
|
|
2426
|
+
return this.get("set-cookie") || [];
|
|
2427
|
+
}
|
|
2394
2428
|
}, {
|
|
2395
2429
|
key: _Symbol$toStringTag,
|
|
2396
2430
|
get: function get() {
|
|
@@ -2576,7 +2610,7 @@
|
|
|
2576
2610
|
clearTimeout(timer);
|
|
2577
2611
|
timer = null;
|
|
2578
2612
|
}
|
|
2579
|
-
fn.apply(
|
|
2613
|
+
fn.apply(void 0, _toConsumableArray(args));
|
|
2580
2614
|
};
|
|
2581
2615
|
var throttled = function throttled() {
|
|
2582
2616
|
var now = Date.now();
|
|
@@ -2720,8 +2754,9 @@
|
|
|
2720
2754
|
*
|
|
2721
2755
|
* @returns {string} The combined full path
|
|
2722
2756
|
*/
|
|
2723
|
-
function buildFullPath(baseURL, requestedURL) {
|
|
2724
|
-
|
|
2757
|
+
function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
2758
|
+
var isRelativeUrl = !isAbsoluteURL(requestedURL);
|
|
2759
|
+
if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
|
|
2725
2760
|
return combineURLs(baseURL, requestedURL);
|
|
2726
2761
|
}
|
|
2727
2762
|
return requestedURL;
|
|
@@ -2823,7 +2858,7 @@
|
|
|
2823
2858
|
return mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true);
|
|
2824
2859
|
}
|
|
2825
2860
|
};
|
|
2826
|
-
utils$1.forEach(Object.keys(
|
|
2861
|
+
utils$1.forEach(Object.keys(_objectSpread2(_objectSpread2({}, config1), config2)), function computeConfigValue(prop) {
|
|
2827
2862
|
var merge = mergeMap[prop] || mergeDeepProperties;
|
|
2828
2863
|
var configValue = merge(config1[prop], config2[prop], prop);
|
|
2829
2864
|
utils$1.isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue);
|
|
@@ -2840,7 +2875,7 @@
|
|
|
2840
2875
|
headers = newConfig.headers,
|
|
2841
2876
|
auth = newConfig.auth;
|
|
2842
2877
|
newConfig.headers = headers = AxiosHeaders$1.from(headers);
|
|
2843
|
-
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url), config.params, config.paramsSerializer);
|
|
2878
|
+
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
|
2844
2879
|
|
|
2845
2880
|
// HTTP basic authentication
|
|
2846
2881
|
if (auth) {
|
|
@@ -3500,7 +3535,7 @@
|
|
|
3500
3535
|
credentials: isCredentialsSupported ? withCredentials : undefined
|
|
3501
3536
|
}));
|
|
3502
3537
|
_context4.next = 20;
|
|
3503
|
-
return fetch(request);
|
|
3538
|
+
return fetch(request, fetchOptions);
|
|
3504
3539
|
case 20:
|
|
3505
3540
|
response = _context4.sent;
|
|
3506
3541
|
isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
@@ -3539,7 +3574,7 @@
|
|
|
3539
3574
|
_context4.prev = 33;
|
|
3540
3575
|
_context4.t2 = _context4["catch"](4);
|
|
3541
3576
|
unsubscribe && unsubscribe();
|
|
3542
|
-
if (!(_context4.t2 && _context4.t2.name === 'TypeError' && /fetch/i.test(_context4.t2.message))) {
|
|
3577
|
+
if (!(_context4.t2 && _context4.t2.name === 'TypeError' && /Load failed|fetch/i.test(_context4.t2.message))) {
|
|
3543
3578
|
_context4.next = 38;
|
|
3544
3579
|
break;
|
|
3545
3580
|
}
|
|
@@ -3676,7 +3711,7 @@
|
|
|
3676
3711
|
});
|
|
3677
3712
|
}
|
|
3678
3713
|
|
|
3679
|
-
var VERSION = "1.
|
|
3714
|
+
var VERSION = "1.11.0";
|
|
3680
3715
|
|
|
3681
3716
|
var validators$1 = {};
|
|
3682
3717
|
|
|
@@ -3772,7 +3807,7 @@
|
|
|
3772
3807
|
var Axios = /*#__PURE__*/function () {
|
|
3773
3808
|
function Axios(instanceConfig) {
|
|
3774
3809
|
_classCallCheck(this, Axios);
|
|
3775
|
-
this.defaults = instanceConfig;
|
|
3810
|
+
this.defaults = instanceConfig || {};
|
|
3776
3811
|
this.interceptors = {
|
|
3777
3812
|
request: new InterceptorManager$1(),
|
|
3778
3813
|
response: new InterceptorManager$1()
|
|
@@ -3867,6 +3902,13 @@
|
|
|
3867
3902
|
}, true);
|
|
3868
3903
|
}
|
|
3869
3904
|
}
|
|
3905
|
+
|
|
3906
|
+
// Set config.allowAbsoluteUrls
|
|
3907
|
+
if (config.allowAbsoluteUrls !== undefined) ; else if (this.defaults.allowAbsoluteUrls !== undefined) {
|
|
3908
|
+
config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
|
|
3909
|
+
} else {
|
|
3910
|
+
config.allowAbsoluteUrls = true;
|
|
3911
|
+
}
|
|
3870
3912
|
validator.assertOptions(config, {
|
|
3871
3913
|
baseUrl: validators.spelling('baseURL'),
|
|
3872
3914
|
withXsrfToken: validators.spelling('withXSRFToken')
|
|
@@ -3939,7 +3981,7 @@
|
|
|
3939
3981
|
key: "getUri",
|
|
3940
3982
|
value: function getUri(config) {
|
|
3941
3983
|
config = mergeConfig(this.defaults, config);
|
|
3942
|
-
var fullPath = buildFullPath(config.baseURL, config.url);
|
|
3984
|
+
var fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
|
3943
3985
|
return buildURL(fullPath, config.params, config.paramsSerializer);
|
|
3944
3986
|
}
|
|
3945
3987
|
}]);
|