cloudstructs 0.12.9 → 0.12.10
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/.jsii +6 -6
- package/API.md +308 -0
- package/assets/slack-textract/detect.lambda/index.js +831 -823
- package/assets/ssl-server-test/analyze.lambda/index.js +52 -37
- package/assets/toolkit-cleaner/clean.lambda/index.js +52 -37
- package/lib/codecommit-mirror/index.js +2 -2
- package/lib/dmarc/index.js +1 -1
- package/lib/ecs-service-roller/index.js +2 -2
- package/lib/email-receiver/receiver.js +1 -1
- package/lib/mjml-template/index.js +1 -1
- package/lib/saml-identity-provider/index.js +2 -2
- package/lib/slack-app/manifest.js +1 -1
- package/lib/slack-app/slack-app.js +2 -2
- package/lib/slack-events/index.js +1 -1
- package/lib/slack-textract/index.js +1 -1
- package/lib/ssl-server-test/index.js +1 -1
- package/lib/state-machine-cr-provider/index.js +1 -1
- package/lib/static-website/index.js +1 -1
- package/lib/toolkit-cleaner/index.js +1 -1
- package/lib/url-shortener/index.js +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs +91 -37
- package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js +91 -37
- package/node_modules/@aws/durable-execution-sdk-js/dist-cjs/index.js.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.d.ts +5 -2
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.test.d.ts +2 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/context/durable-context/durable-context.test.d.ts.map +1 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/durable-execution-api-client/durable-execution-api-client.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/concurrent-execution-handler/batch-result.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/handlers/invoke-handler/invoke-handler.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/durable-context.d.ts +9 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/durable-context.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/invoke.d.ts +2 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/invoke.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts +0 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/constants.d.ts +12 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/constants.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/version.d.ts +14 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/constants/version.d.ts.map +1 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/logger/default-logger.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/with-durable-execution.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/package.json +1 -1
- package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +2 -2
- package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +2 -2
- package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +1 -1
- package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
- package/node_modules/@aws-sdk/client-lambda/README.md +26 -46
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +17 -18
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeAsyncCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +2 -1
- package/node_modules/@aws-sdk/client-lambda/package.json +43 -43
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +15 -19
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +15 -19
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +2 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +2 -8
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +5 -7
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProcessCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -15
- package/node_modules/@aws-sdk/credential-provider-login/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-node/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/resolveProcessCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/isSsoProfile.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/loadSso.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +5 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/types.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/validateSsoProfile.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +14 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-host-header/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-logger/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +7 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +9 -9
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +9 -9
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +4 -2
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -8
- package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/cognito-identity.js +5 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +60 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +146 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +174 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js +121 -0
- package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
- package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.js +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +110 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +128 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +17 -18
- package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/auth/httpAuthSchemeProvider.js +8 -27
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
- package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/index.js +18 -71
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js +15 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +101 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +17 -18
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +140 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +23 -17
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +54 -0
- package/node_modules/@aws-sdk/{client-sso/dist-es/commands/ListAccountsCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js} +5 -5
- package/node_modules/@aws-sdk/{client-sso/dist-es/commands/LogoutCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js} +5 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/index.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/EndpointParameters.js +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js +143 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js +109 -0
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.browser.js +3 -2
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.js +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +46 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +107 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +128 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +9 -0
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/SSOClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/auth/httpAuthSchemeProvider.js +9 -28
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +14 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js +103 -0
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/index.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +33 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +48 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +87 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +101 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +140 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +198 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +30 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +120 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +107 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +29 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +14 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts +119 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/models_0.d.ts +136 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +62 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +62 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +61 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/schemas/schemas_0.d.ts +25 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +32 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/SSOClient.d.ts +6 -8
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/EndpointParameters.d.ts +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/models_0.d.ts +61 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/schemas/schemas_0.d.ts +0 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +126 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +41 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +10 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +68 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/models_0.d.ts +23 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +122 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +117 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +126 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +60 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +24 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +22 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/SSOClient.d.ts +3 -24
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +5 -9
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +51 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/index.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/models_0.d.ts +14 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/schemas/schemas_0.d.ts +0 -10
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +57 -37
- package/node_modules/@aws-sdk/nested-clients/sso.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/sso.js +5 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +12 -23
- package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +8 -8
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -12
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +3 -3
- package/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/http.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +2 -2
- package/node_modules/@aws-sdk/types/dist-types/token.d.ts +2 -2
- package/node_modules/@aws-sdk/types/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +3 -12
- package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +1 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +6 -6
- package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +133 -6
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +10 -3
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js +15 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getRuntimeUserAgentPair.js +10 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js +14 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js +9 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +75 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getNodeModulesParentDirs.d.ts +10 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getRuntimeUserAgentPair.d.ts +6 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts +8 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts +8 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptUserAgentPair.d.ts +6 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts +1 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getRuntimeUserAgentPair.d.ts +2 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptUserAgentPair.d.ts +4 -0
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +10 -7
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +1 -4
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/XmlNode.d.ts +1 -1
- package/node_modules/@aws-sdk/xml-builder/dist-types/XmlText.d.ts +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +36 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +96 -13
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +6 -5
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +90 -12
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +1 -26
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +89 -87
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +10 -10
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +23 -23
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +29 -29
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +39 -39
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +17 -17
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +22 -22
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +85 -85
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +34 -34
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +5 -284
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +66 -54
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +86 -44
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +279 -189
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +21 -21
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +38 -34
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +10 -10
- package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
- package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +18 -31
- package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +18 -31
- package/node_modules/@babel/runtime/package.json +1 -1
- package/node_modules/@isaacs/cliui/node_modules/strip-ansi/index.js +5 -0
- package/node_modules/@isaacs/cliui/node_modules/strip-ansi/package.json +5 -5
- package/node_modules/@slack/logger/LICENSE +23 -0
- package/node_modules/@slack/logger/README.md +36 -3
- package/node_modules/@slack/logger/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/logger/dist/index.js +5 -6
- package/node_modules/@slack/logger/dist/index.js.map +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/logger/node_modules/@types/node/assert.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/child_process.d.ts +5 -0
- package/node_modules/@slack/logger/node_modules/@types/node/events.d.ts +6 -13
- package/node_modules/@slack/logger/node_modules/@types/node/fs.d.ts +2 -0
- package/node_modules/@slack/logger/node_modules/@types/node/http.d.ts +22 -1
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.d.ts +45 -0
- package/node_modules/@slack/logger/node_modules/@types/node/inspector.generated.d.ts +579 -404
- package/node_modules/@slack/logger/node_modules/@types/node/module.d.ts +0 -62
- package/node_modules/@slack/logger/node_modules/@types/node/net.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +21 -7
- package/node_modules/@slack/logger/node_modules/@types/node/readline.d.ts +1 -0
- package/node_modules/@slack/logger/node_modules/@types/node/sqlite.d.ts +128 -18
- package/node_modules/@slack/logger/node_modules/@types/node/stream.d.ts +15 -5
- package/node_modules/@slack/logger/node_modules/@types/node/test.d.ts +54 -19
- package/node_modules/@slack/logger/node_modules/@types/node/tls.d.ts +14 -9
- package/node_modules/@slack/logger/node_modules/@types/node/url.d.ts +22 -0
- package/node_modules/@slack/logger/node_modules/@types/node/util.d.ts +27 -2
- package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +9 -4
- package/node_modules/@slack/logger/node_modules/@types/node/worker_threads.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/@types/node/zlib.d.ts +68 -4
- package/node_modules/@slack/logger/node_modules/undici-types/agent.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/api.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/undici-types/balanced-pool.d.ts +2 -1
- package/node_modules/@slack/logger/node_modules/undici-types/cache-interceptor.d.ts +1 -0
- package/node_modules/@slack/logger/node_modules/undici-types/client.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/connector.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/undici-types/dispatcher.d.ts +12 -12
- package/node_modules/@slack/logger/node_modules/undici-types/fetch.d.ts +4 -4
- package/node_modules/@slack/logger/node_modules/undici-types/formdata.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/h2c-client.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/index.d.ts +9 -1
- package/node_modules/@slack/logger/node_modules/undici-types/interceptors.d.ts +36 -2
- package/node_modules/@slack/logger/node_modules/undici-types/package.json +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/pool.d.ts +1 -1
- package/node_modules/@slack/logger/node_modules/undici-types/readable.d.ts +2 -2
- package/node_modules/@slack/logger/node_modules/undici-types/round-robin-pool.d.ts +41 -0
- package/node_modules/@slack/logger/node_modules/undici-types/websocket.d.ts +9 -9
- package/node_modules/@slack/logger/package.json +13 -33
- package/node_modules/@slack/types/package.json +2 -6
- package/node_modules/@slack/web-api/dist/WebClient.js +241 -266
- package/node_modules/@slack/web-api/dist/WebClient.js.map +1 -1
- package/node_modules/@slack/web-api/dist/chat-stream.js +75 -90
- package/node_modules/@slack/web-api/dist/chat-stream.js.map +1 -1
- package/node_modules/@slack/web-api/dist/file-upload.js +108 -125
- package/node_modules/@slack/web-api/dist/file-upload.js.map +1 -1
- package/node_modules/@slack/web-api/dist/methods.d.ts +11 -2
- package/node_modules/@slack/web-api/dist/methods.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/methods.js +9 -0
- package/node_modules/@slack/web-api/dist/methods.js.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/apps.d.ts +6 -0
- package/node_modules/@slack/web-api/dist/types/request/apps.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/index.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/index.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.d.ts +9 -0
- package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.d.ts.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.js +11 -0
- package/node_modules/@slack/web-api/dist/types/response/AppsUserConnectionUpdateResponse.js.map +1 -0
- package/node_modules/@slack/web-api/dist/types/response/index.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/types/response/index.d.ts.map +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/README.md +1 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/assert.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/child_process.d.ts +5 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/events.d.ts +6 -13
- package/node_modules/@slack/web-api/node_modules/@types/node/fs.d.ts +2 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/http.d.ts +22 -1
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.d.ts +45 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/inspector.generated.d.ts +579 -404
- package/node_modules/@slack/web-api/node_modules/@types/node/module.d.ts +0 -62
- package/node_modules/@slack/web-api/node_modules/@types/node/net.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +21 -7
- package/node_modules/@slack/web-api/node_modules/@types/node/readline.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/sqlite.d.ts +128 -18
- package/node_modules/@slack/web-api/node_modules/@types/node/stream.d.ts +15 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/test.d.ts +54 -19
- package/node_modules/@slack/web-api/node_modules/@types/node/tls.d.ts +14 -9
- package/node_modules/@slack/web-api/node_modules/@types/node/url.d.ts +22 -0
- package/node_modules/@slack/web-api/node_modules/@types/node/util.d.ts +27 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +9 -4
- package/node_modules/@slack/web-api/node_modules/@types/node/worker_threads.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/@types/node/zlib.d.ts +68 -4
- package/node_modules/@slack/web-api/node_modules/undici-types/agent.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/api.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/undici-types/balanced-pool.d.ts +2 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/cache-interceptor.d.ts +1 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/client.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/connector.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/undici-types/dispatcher.d.ts +12 -12
- package/node_modules/@slack/web-api/node_modules/undici-types/fetch.d.ts +4 -4
- package/node_modules/@slack/web-api/node_modules/undici-types/formdata.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/h2c-client.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/index.d.ts +9 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/interceptors.d.ts +36 -2
- package/node_modules/@slack/web-api/node_modules/undici-types/package.json +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/pool.d.ts +1 -1
- package/node_modules/@slack/web-api/node_modules/undici-types/readable.d.ts +2 -2
- package/node_modules/@slack/web-api/node_modules/undici-types/round-robin-pool.d.ts +41 -0
- package/node_modules/@slack/web-api/node_modules/undici-types/websocket.d.ts +9 -9
- package/node_modules/@slack/web-api/package.json +9 -23
- package/node_modules/@smithy/abort-controller/package.json +7 -7
- package/node_modules/@smithy/config-resolver/package.json +11 -11
- package/node_modules/@smithy/core/dist-cjs/index.js +2 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +9 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +37 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +42 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +1 -4
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +2 -8
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +17 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +25 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +3 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +31 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +5 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/toEndpointV1.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +11 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +6 -0
- package/node_modules/@smithy/core/endpoints.d.ts +7 -0
- package/node_modules/@smithy/core/endpoints.js +6 -0
- package/node_modules/@smithy/core/package.json +21 -12
- package/node_modules/@smithy/credential-provider-imds/package.json +10 -10
- package/node_modules/@smithy/eventstream-codec/package.json +9 -9
- package/node_modules/@smithy/eventstream-serde-browser/package.json +8 -8
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +7 -7
- package/node_modules/@smithy/eventstream-serde-node/package.json +8 -8
- package/node_modules/@smithy/eventstream-serde-universal/package.json +9 -9
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -4
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +21 -4
- package/node_modules/@smithy/fetch-http-handler/package.json +11 -11
- package/node_modules/@smithy/hash-node/package.json +9 -9
- package/node_modules/@smithy/invalid-dependency/package.json +7 -7
- package/node_modules/@smithy/is-array-buffer/package.json +6 -6
- package/node_modules/@smithy/middleware-content-length/package.json +8 -8
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +17 -1
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +9 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js +8 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +9 -9
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +9 -12
- package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +9 -12
- package/node_modules/@smithy/middleware-retry/package.json +10 -10
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +3 -2
- package/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js +3 -2
- package/node_modules/@smithy/middleware-serde/package.json +9 -8
- package/node_modules/@smithy/middleware-stack/package.json +7 -7
- package/node_modules/@smithy/node-config-provider/package.json +9 -9
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +68 -45
- package/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +41 -35
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +4 -5
- package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +6 -6
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
- package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/package.json +6 -6
- package/node_modules/@smithy/property-provider/package.json +7 -7
- package/node_modules/@smithy/protocol-http/package.json +7 -7
- package/node_modules/@smithy/querystring-builder/package.json +8 -8
- package/node_modules/@smithy/querystring-parser/package.json +7 -7
- package/node_modules/@smithy/service-error-classification/package.json +7 -7
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +16 -14
- package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -7
- package/node_modules/@smithy/signature-v4/package.json +13 -13
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +30 -16
- package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +20 -1
- package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +9 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +9 -7
- package/node_modules/@smithy/smithy-client/package.json +11 -9
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
- package/node_modules/@smithy/types/package.json +5 -5
- package/node_modules/@smithy/url-parser/package.json +8 -8
- package/node_modules/@smithy/util-base64/dist-cjs/index.js +14 -6
- package/node_modules/@smithy/util-base64/package.json +8 -8
- package/node_modules/@smithy/util-body-length-browser/package.json +6 -6
- package/node_modules/@smithy/util-body-length-node/package.json +6 -6
- package/node_modules/@smithy/util-buffer-from/package.json +7 -7
- package/node_modules/@smithy/util-config-provider/package.json +6 -6
- package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +7 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +5 -5
- package/node_modules/@smithy/util-defaults-mode-node/package.json +8 -8
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js +1 -1
- package/node_modules/@smithy/util-endpoints/package.json +8 -8
- package/node_modules/@smithy/util-hex-encoding/package.json +6 -6
- package/node_modules/@smithy/util-middleware/package.json +7 -7
- package/node_modules/@smithy/util-retry/package.json +8 -8
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +13 -2
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +51 -29
- package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +13 -2
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +1 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +1 -0
- package/node_modules/@smithy/util-stream/package.json +9 -9
- package/node_modules/@smithy/util-uri-escape/package.json +6 -6
- package/node_modules/@smithy/util-utf8/package.json +7 -7
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/util-waiter/dist-es/poller.js +1 -1
- package/node_modules/@smithy/util-waiter/package.json +8 -8
- package/node_modules/@smithy/uuid/package.json +6 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/assert.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/child_process.d.ts +5 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/events.d.ts +6 -13
- package/node_modules/@types/cacheable-request/node_modules/@types/node/fs.d.ts +2 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/http.d.ts +22 -1
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.d.ts +45 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/inspector.generated.d.ts +579 -404
- package/node_modules/@types/cacheable-request/node_modules/@types/node/module.d.ts +0 -62
- package/node_modules/@types/cacheable-request/node_modules/@types/node/net.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +21 -7
- package/node_modules/@types/cacheable-request/node_modules/@types/node/readline.d.ts +1 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/sqlite.d.ts +128 -18
- package/node_modules/@types/cacheable-request/node_modules/@types/node/stream.d.ts +15 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/test.d.ts +54 -19
- package/node_modules/@types/cacheable-request/node_modules/@types/node/tls.d.ts +14 -9
- package/node_modules/@types/cacheable-request/node_modules/@types/node/url.d.ts +22 -0
- package/node_modules/@types/cacheable-request/node_modules/@types/node/util.d.ts +27 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +9 -4
- package/node_modules/@types/cacheable-request/node_modules/@types/node/worker_threads.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/@types/node/zlib.d.ts +68 -4
- package/node_modules/@types/cacheable-request/node_modules/undici-types/agent.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/api.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/undici-types/balanced-pool.d.ts +2 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/cache-interceptor.d.ts +1 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/client.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/connector.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/undici-types/dispatcher.d.ts +12 -12
- package/node_modules/@types/cacheable-request/node_modules/undici-types/fetch.d.ts +4 -4
- package/node_modules/@types/cacheable-request/node_modules/undici-types/formdata.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/h2c-client.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/index.d.ts +9 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/interceptors.d.ts +36 -2
- package/node_modules/@types/cacheable-request/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/pool.d.ts +1 -1
- package/node_modules/@types/cacheable-request/node_modules/undici-types/readable.d.ts +2 -2
- package/node_modules/@types/cacheable-request/node_modules/undici-types/round-robin-pool.d.ts +41 -0
- package/node_modules/@types/cacheable-request/node_modules/undici-types/websocket.d.ts +9 -9
- package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/keyv/node_modules/@types/node/assert.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/child_process.d.ts +5 -0
- package/node_modules/@types/keyv/node_modules/@types/node/events.d.ts +6 -13
- package/node_modules/@types/keyv/node_modules/@types/node/fs.d.ts +2 -0
- package/node_modules/@types/keyv/node_modules/@types/node/http.d.ts +22 -1
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.d.ts +45 -0
- package/node_modules/@types/keyv/node_modules/@types/node/inspector.generated.d.ts +579 -404
- package/node_modules/@types/keyv/node_modules/@types/node/module.d.ts +0 -62
- package/node_modules/@types/keyv/node_modules/@types/node/net.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +21 -7
- package/node_modules/@types/keyv/node_modules/@types/node/readline.d.ts +1 -0
- package/node_modules/@types/keyv/node_modules/@types/node/sqlite.d.ts +128 -18
- package/node_modules/@types/keyv/node_modules/@types/node/stream.d.ts +15 -5
- package/node_modules/@types/keyv/node_modules/@types/node/test.d.ts +54 -19
- package/node_modules/@types/keyv/node_modules/@types/node/tls.d.ts +14 -9
- package/node_modules/@types/keyv/node_modules/@types/node/url.d.ts +22 -0
- package/node_modules/@types/keyv/node_modules/@types/node/util.d.ts +27 -2
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +9 -4
- package/node_modules/@types/keyv/node_modules/@types/node/worker_threads.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/@types/node/zlib.d.ts +68 -4
- package/node_modules/@types/keyv/node_modules/undici-types/agent.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/api.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/undici-types/balanced-pool.d.ts +2 -1
- package/node_modules/@types/keyv/node_modules/undici-types/cache-interceptor.d.ts +1 -0
- package/node_modules/@types/keyv/node_modules/undici-types/client.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/connector.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/undici-types/dispatcher.d.ts +12 -12
- package/node_modules/@types/keyv/node_modules/undici-types/fetch.d.ts +4 -4
- package/node_modules/@types/keyv/node_modules/undici-types/formdata.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/h2c-client.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/index.d.ts +9 -1
- package/node_modules/@types/keyv/node_modules/undici-types/interceptors.d.ts +36 -2
- package/node_modules/@types/keyv/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/pool.d.ts +1 -1
- package/node_modules/@types/keyv/node_modules/undici-types/readable.d.ts +2 -2
- package/node_modules/@types/keyv/node_modules/undici-types/round-robin-pool.d.ts +41 -0
- package/node_modules/@types/keyv/node_modules/undici-types/websocket.d.ts +9 -9
- package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/responselike/node_modules/@types/node/assert.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/child_process.d.ts +5 -0
- package/node_modules/@types/responselike/node_modules/@types/node/events.d.ts +6 -13
- package/node_modules/@types/responselike/node_modules/@types/node/fs.d.ts +2 -0
- package/node_modules/@types/responselike/node_modules/@types/node/http.d.ts +22 -1
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.d.ts +45 -0
- package/node_modules/@types/responselike/node_modules/@types/node/inspector.generated.d.ts +579 -404
- package/node_modules/@types/responselike/node_modules/@types/node/module.d.ts +0 -62
- package/node_modules/@types/responselike/node_modules/@types/node/net.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +21 -7
- package/node_modules/@types/responselike/node_modules/@types/node/readline.d.ts +1 -0
- package/node_modules/@types/responselike/node_modules/@types/node/sqlite.d.ts +128 -18
- package/node_modules/@types/responselike/node_modules/@types/node/stream.d.ts +15 -5
- package/node_modules/@types/responselike/node_modules/@types/node/test.d.ts +54 -19
- package/node_modules/@types/responselike/node_modules/@types/node/tls.d.ts +14 -9
- package/node_modules/@types/responselike/node_modules/@types/node/url.d.ts +22 -0
- package/node_modules/@types/responselike/node_modules/@types/node/util.d.ts +27 -2
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +9 -4
- package/node_modules/@types/responselike/node_modules/@types/node/worker_threads.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/@types/node/zlib.d.ts +68 -4
- package/node_modules/@types/responselike/node_modules/undici-types/agent.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/api.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/undici-types/balanced-pool.d.ts +2 -1
- package/node_modules/@types/responselike/node_modules/undici-types/cache-interceptor.d.ts +1 -0
- package/node_modules/@types/responselike/node_modules/undici-types/client.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/connector.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/undici-types/diagnostics-channel.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/undici-types/dispatcher.d.ts +12 -12
- package/node_modules/@types/responselike/node_modules/undici-types/fetch.d.ts +4 -4
- package/node_modules/@types/responselike/node_modules/undici-types/formdata.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/h2c-client.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/index.d.ts +9 -1
- package/node_modules/@types/responselike/node_modules/undici-types/interceptors.d.ts +36 -2
- package/node_modules/@types/responselike/node_modules/undici-types/package.json +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/pool.d.ts +1 -1
- package/node_modules/@types/responselike/node_modules/undici-types/readable.d.ts +2 -2
- package/node_modules/@types/responselike/node_modules/undici-types/round-robin-pool.d.ts +41 -0
- package/node_modules/@types/responselike/node_modules/undici-types/websocket.d.ts +9 -9
- package/node_modules/axios/CHANGELOG.md +206 -206
- package/node_modules/axios/dist/axios.js +161 -51
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +1013 -753
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +1014 -754
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +1675 -1347
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +234 -109
- package/node_modules/axios/index.js +3 -3
- package/node_modules/axios/lib/adapters/README.md +4 -5
- package/node_modules/axios/lib/adapters/adapters.js +18 -14
- package/node_modules/axios/lib/adapters/fetch.js +137 -91
- package/node_modules/axios/lib/adapters/http.js +604 -553
- package/node_modules/axios/lib/adapters/xhr.js +187 -165
- package/node_modules/axios/lib/axios.js +6 -6
- package/node_modules/axios/lib/cancel/CancelToken.js +4 -4
- package/node_modules/axios/lib/core/Axios.js +57 -43
- package/node_modules/axios/lib/core/AxiosError.js +52 -35
- package/node_modules/axios/lib/core/AxiosHeaders.js +54 -24
- package/node_modules/axios/lib/core/InterceptorManager.js +1 -1
- package/node_modules/axios/lib/core/dispatchRequest.js +25 -29
- package/node_modules/axios/lib/core/mergeConfig.js +10 -22
- package/node_modules/axios/lib/core/settle.js +11 -7
- package/node_modules/axios/lib/defaults/index.js +85 -74
- package/node_modules/axios/lib/defaults/transitional.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/AxiosTransformStream.js +37 -24
- package/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +12 -8
- package/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +5 -4
- package/node_modules/axios/lib/helpers/buildURL.js +15 -13
- package/node_modules/axios/lib/helpers/callbackify.js +13 -11
- package/node_modules/axios/lib/helpers/composeSignals.js +22 -14
- package/node_modules/axios/lib/helpers/cookies.js +44 -49
- package/node_modules/axios/lib/helpers/deprecatedMethod.js +9 -4
- package/node_modules/axios/lib/helpers/formDataToJSON.js +1 -1
- package/node_modules/axios/lib/helpers/formDataToStream.js +32 -26
- package/node_modules/axios/lib/helpers/fromDataURI.js +2 -2
- package/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -1
- package/node_modules/axios/lib/helpers/isAxiosError.js +1 -1
- package/node_modules/axios/lib/helpers/isURLSameOrigin.js +13 -11
- package/node_modules/axios/lib/helpers/parseHeaders.js +34 -20
- package/node_modules/axios/lib/helpers/parseProtocol.js +1 -1
- package/node_modules/axios/lib/helpers/progressEventReducer.js +22 -15
- package/node_modules/axios/lib/helpers/readBlob.js +4 -4
- package/node_modules/axios/lib/helpers/resolveConfig.js +23 -14
- package/node_modules/axios/lib/helpers/speedometer.js +1 -1
- package/node_modules/axios/lib/helpers/throttle.js +4 -4
- package/node_modules/axios/lib/helpers/toFormData.js +43 -25
- package/node_modules/axios/lib/helpers/toURLEncodedForm.js +2 -2
- package/node_modules/axios/lib/helpers/trackStream.js +33 -31
- package/node_modules/axios/lib/helpers/validator.js +16 -5
- package/node_modules/axios/lib/platform/browser/classes/Blob.js +2 -2
- package/node_modules/axios/lib/platform/browser/index.js +5 -5
- package/node_modules/axios/lib/platform/common/utils.js +6 -5
- package/node_modules/axios/lib/platform/index.js +2 -2
- package/node_modules/axios/lib/platform/node/index.js +9 -10
- package/node_modules/axios/lib/utils.js +149 -93
- package/node_modules/axios/package.json +10 -4
- package/node_modules/editorconfig/lib/cli.js +18 -8
- package/node_modules/editorconfig/lib/index.d.ts +0 -1
- package/node_modules/editorconfig/lib/index.js +24 -15
- package/node_modules/editorconfig/node_modules/minimatch/README.md +39 -2
- package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.d.ts +2 -6
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.d.ts.map +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/ast.js +229 -48
- package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.d.ts.map +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.d.ts +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → commonjs}/index.d.ts +4 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/index.js +135 -123
- package/node_modules/editorconfig/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → commonjs}/unescape.d.ts +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.d.ts.map +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.d.ts +2 -6
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.d.ts.map +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/ast.js +229 -48
- package/node_modules/editorconfig/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.d.ts.map +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.d.ts +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → esm}/index.d.ts +4 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/index.js +135 -123
- package/node_modules/editorconfig/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → esm}/unescape.d.ts +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.d.ts.map +1 -1
- package/node_modules/editorconfig/node_modules/minimatch/package.json +31 -35
- package/node_modules/editorconfig/package.json +4 -30
- package/node_modules/fast-xml-builder/CHANGELOG.md +16 -0
- package/node_modules/fast-xml-builder/LICENSE +21 -0
- package/node_modules/fast-xml-builder/README.md +23 -0
- package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
- package/node_modules/fast-xml-builder/lib/fxb.d.cts +180 -0
- package/node_modules/fast-xml-builder/lib/fxb.min.js +2 -0
- package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -0
- package/node_modules/fast-xml-builder/package.json +80 -0
- package/node_modules/fast-xml-builder/src/fxb.d.ts +180 -0
- package/node_modules/fast-xml-builder/src/fxb.js +529 -0
- package/node_modules/fast-xml-builder/src/ignoreAttributes.js +18 -0
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +292 -0
- package/node_modules/js-beautify/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
- package/node_modules/js-beautify/node_modules/brace-expansion/LICENSE +21 -0
- package/node_modules/js-beautify/node_modules/brace-expansion/README.md +135 -0
- package/node_modules/js-beautify/node_modules/brace-expansion/index.js +203 -0
- package/node_modules/js-beautify/node_modules/brace-expansion/package.json +49 -0
- package/node_modules/js-beautify/node_modules/minimatch/README.md +37 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.js +179 -24
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/ast.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/escape.d.ts +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.d.ts +4 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js +124 -118
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/index.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/unescape.d.ts +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.js +179 -24
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/ast.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/escape.d.ts +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.d.ts +4 -0
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js +124 -118
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/index.js.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/unescape.d.ts +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -1
- package/node_modules/js-beautify/node_modules/minimatch/package.json +14 -14
- package/node_modules/minipass/LICENSE.md +55 -0
- package/node_modules/minipass/dist/commonjs/index.d.ts +12 -16
- package/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -1
- package/node_modules/minipass/dist/commonjs/index.js +13 -3
- package/node_modules/minipass/dist/commonjs/index.js.map +1 -1
- package/node_modules/minipass/dist/esm/index.d.ts +12 -16
- package/node_modules/minipass/dist/esm/index.d.ts.map +1 -1
- package/node_modules/minipass/dist/esm/index.js +3 -1
- package/node_modules/minipass/dist/esm/index.js.map +1 -1
- package/node_modules/minipass/package.json +9 -14
- package/node_modules/mjml-cli/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
- package/node_modules/mjml-cli/node_modules/brace-expansion/LICENSE +21 -0
- package/node_modules/mjml-cli/node_modules/brace-expansion/README.md +135 -0
- package/node_modules/mjml-cli/node_modules/brace-expansion/index.js +203 -0
- package/node_modules/mjml-cli/node_modules/brace-expansion/package.json +49 -0
- package/node_modules/mjml-cli/node_modules/minimatch/README.md +37 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.js +179 -24
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/ast.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/escape.d.ts +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.d.ts +4 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js +124 -118
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/index.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/unescape.d.ts +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.js +179 -24
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/ast.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/escape.d.ts +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.d.ts +4 -0
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js +124 -118
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/index.js.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/unescape.d.ts +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -1
- package/node_modules/mjml-cli/node_modules/minimatch/package.json +14 -14
- package/node_modules/path-expression-matcher/LICENSE +21 -0
- package/node_modules/path-expression-matcher/README.md +635 -0
- package/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
- package/node_modules/path-expression-matcher/lib/pem.d.cts +335 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -0
- package/node_modules/path-expression-matcher/package.json +78 -0
- package/node_modules/path-expression-matcher/src/Expression.js +232 -0
- package/node_modules/path-expression-matcher/src/Matcher.js +414 -0
- package/node_modules/path-expression-matcher/src/index.d.ts +366 -0
- package/node_modules/path-expression-matcher/src/index.js +28 -0
- package/node_modules/pump/empty.js +1 -0
- package/node_modules/pump/package.json +7 -1
- package/node_modules/strnum/README.md +1 -0
- package/node_modules/strnum/package.json +3 -3
- package/node_modules/strnum/strnum.js +85 -59
- package/node_modules/strnum/tests/infinity_test.js +18 -0
- package/node_modules/strnum/{strnum.test.js → tests/strnum_test.js} +67 -68
- package/package.json +22 -22
- package/node_modules/@aws-sdk/client-sso/LICENSE +0 -201
- package/node_modules/@aws-sdk/client-sso/README.md +0 -244
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-sso/dist-cjs/schemas/schemas_0.js +0 -161
- package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +0 -21
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +0 -16
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/index.js +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/index.js +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +0 -158
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +0 -67
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +0 -98
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +0 -100
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +0 -97
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/index.d.ts +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -189
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +0 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +0 -7
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +0 -7
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +0 -91
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +0 -50
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +0 -47
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +0 -41
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/index.d.ts +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -45
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountRolesPaginator.d.ts +0 -11
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +0 -11
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/LICENSE +0 -201
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/README.md +0 -6
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +0 -415
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +0 -267
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +0 -10
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +0 -6
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +0 -3
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +0 -25
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +0 -18
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +0 -41
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +0 -267
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +0 -21
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +0 -6
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -5
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +0 -7
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +0 -38
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -56
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +0 -6
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -4
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +0 -28
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -35
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +0 -6
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +0 -5
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +0 -12
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +0 -1
- package/node_modules/@aws-sdk/client-sso/node_modules/@aws-sdk/util-endpoints/package.json +0 -60
- package/node_modules/@aws-sdk/client-sso/package.json +0 -99
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-CVy8iqsZ.js +0 -14
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/LICENSE +0 -201
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/README.md +0 -6
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +0 -415
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +0 -267
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +0 -10
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +0 -6
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +0 -3
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +0 -25
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +0 -18
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +0 -41
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +0 -267
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +0 -21
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +0 -6
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +0 -2
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +0 -3
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -5
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +0 -7
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +0 -38
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -56
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +0 -2
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +0 -3
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -4
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +0 -2
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +0 -28
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -35
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +0 -5
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +0 -12
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-user-agent/node_modules/@aws-sdk/util-endpoints/package.json +0 -60
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/LICENSE +0 -201
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/README.md +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +0 -415
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +0 -267
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/aws.js +0 -10
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js +0 -3
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js +0 -25
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js +0 -18
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +0 -41
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +0 -267
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +0 -21
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/index.d.ts +0 -3
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -5
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +0 -7
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +0 -38
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/lib/isIpAddress.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -56
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/resolveEndpoint.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/aws.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/index.d.ts +0 -3
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/isVirtualHostableS3Bucket.d.ts +0 -4
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/parseArn.d.ts +0 -2
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +0 -28
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/isIpAddress.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +0 -35
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveEndpoint.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointError.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/EndpointRuleObject.d.ts +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/ErrorRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/RuleSetObject.d.ts +0 -5
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/TreeRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/types/shared.d.ts +0 -12
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointError.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/EndpointRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/ErrorRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/RuleSetObject.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/TreeRuleObject.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/dist-types/types/shared.d.ts +0 -1
- package/node_modules/@aws-sdk/nested-clients/node_modules/@aws-sdk/util-endpoints/package.json +0 -60
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +0 -134
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/assert-valid-pattern.js.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/ast.js.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/brace-expressions.js.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/escape.d.ts.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/index.d.ts.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/cjs/index.js.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/assert-valid-pattern.js.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/ast.js.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/brace-expressions.js.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/escape.d.ts.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/index.d.ts.map +0 -1
- package/node_modules/editorconfig/node_modules/minimatch/dist/mjs/index.js.map +0 -1
- package/node_modules/minipass/LICENSE +0 -15
- package/node_modules/strnum/test.js +0 -9
- /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/models/SSOServiceException.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/models/errors.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/runtimeConfig.shared.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/auth/httpAuthExtensionConfiguration.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/extensionConfiguration.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/models/models_0.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeExtensions.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/commands/GetRoleCredentialsCommand.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/endpoint/EndpointParameters.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es/pagination/Interfaces.js → nested-clients/dist-es/submodules/sso/extensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/SSOServiceException.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/errors.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js → nested-clients/dist-es/submodules/sso/models/models_0.js} +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/runtimeConfig.shared.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/extensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/SSOServiceException.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/errors.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.native.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeExtensions.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/ruleset.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/endpoint/ruleset.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/extensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/SSOServiceException.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/errors.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.browser.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.native.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.shared.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeExtensions.d.ts +0 -0
- /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/.github/FUNDING.yml +0 -0
- /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/LICENSE +0 -0
- /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/README.md +0 -0
- /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/index.js +0 -0
- /package/node_modules/{brace-expansion → editorconfig/node_modules/brace-expansion}/package.json +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.d.ts +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.d.ts.map +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/assert-valid-pattern.js +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.d.ts +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/brace-expressions.js +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.js +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/escape.js.map +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/package.json +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.js +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{cjs → commonjs}/unescape.js.map +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.d.ts +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.d.ts.map +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/assert-valid-pattern.js +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.d.ts +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/brace-expressions.js +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.js +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/escape.js.map +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/package.json +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.js +0 -0
- /package/node_modules/editorconfig/node_modules/minimatch/dist/{mjs → esm}/unescape.js.map +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder → fast-xml-builder/src}/prettifyJs2Xml.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Axios v1.13.
|
|
1
|
+
/*! Axios v1.13.6 Copyright (c) 2026 Matt Zabriskie and contributors */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -48,7 +48,7 @@ const { isArray } = Array;
|
|
|
48
48
|
*
|
|
49
49
|
* @returns {boolean} True if the value is undefined, otherwise false
|
|
50
50
|
*/
|
|
51
|
-
const isUndefined = typeOfTest(
|
|
51
|
+
const isUndefined = typeOfTest('undefined');
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
54
|
* Determine if a value is a Buffer
|
|
@@ -75,7 +75,7 @@ function isBuffer(val) {
|
|
|
75
75
|
*
|
|
76
76
|
* @returns {boolean} True if value is an ArrayBuffer, otherwise false
|
|
77
77
|
*/
|
|
78
|
-
const isArrayBuffer = kindOfTest(
|
|
78
|
+
const isArrayBuffer = kindOfTest('ArrayBuffer');
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
81
|
* Determine if a value is a view on an ArrayBuffer
|
|
@@ -86,7 +86,7 @@ const isArrayBuffer = kindOfTest("ArrayBuffer");
|
|
|
86
86
|
*/
|
|
87
87
|
function isArrayBufferView(val) {
|
|
88
88
|
let result;
|
|
89
|
-
if (typeof ArrayBuffer !==
|
|
89
|
+
if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {
|
|
90
90
|
result = ArrayBuffer.isView(val);
|
|
91
91
|
} else {
|
|
92
92
|
result = val && val.buffer && isArrayBuffer(val.buffer);
|
|
@@ -101,7 +101,7 @@ function isArrayBufferView(val) {
|
|
|
101
101
|
*
|
|
102
102
|
* @returns {boolean} True if value is a String, otherwise false
|
|
103
103
|
*/
|
|
104
|
-
const isString = typeOfTest(
|
|
104
|
+
const isString = typeOfTest('string');
|
|
105
105
|
|
|
106
106
|
/**
|
|
107
107
|
* Determine if a value is a Function
|
|
@@ -109,7 +109,7 @@ const isString = typeOfTest("string");
|
|
|
109
109
|
* @param {*} val The value to test
|
|
110
110
|
* @returns {boolean} True if value is a Function, otherwise false
|
|
111
111
|
*/
|
|
112
|
-
const isFunction$1 = typeOfTest(
|
|
112
|
+
const isFunction$1 = typeOfTest('function');
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
115
|
* Determine if a value is a Number
|
|
@@ -118,7 +118,7 @@ const isFunction$1 = typeOfTest("function");
|
|
|
118
118
|
*
|
|
119
119
|
* @returns {boolean} True if value is a Number, otherwise false
|
|
120
120
|
*/
|
|
121
|
-
const isNumber = typeOfTest(
|
|
121
|
+
const isNumber = typeOfTest('number');
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
124
|
* Determine if a value is an Object
|
|
@@ -127,7 +127,7 @@ const isNumber = typeOfTest("number");
|
|
|
127
127
|
*
|
|
128
128
|
* @returns {boolean} True if value is an Object, otherwise false
|
|
129
129
|
*/
|
|
130
|
-
const isObject = (thing) => thing !== null && typeof thing ===
|
|
130
|
+
const isObject = (thing) => thing !== null && typeof thing === 'object';
|
|
131
131
|
|
|
132
132
|
/**
|
|
133
133
|
* Determine if a value is a Boolean
|
|
@@ -145,7 +145,7 @@ const isBoolean = (thing) => thing === true || thing === false;
|
|
|
145
145
|
* @returns {boolean} True if value is a plain Object, otherwise false
|
|
146
146
|
*/
|
|
147
147
|
const isPlainObject = (val) => {
|
|
148
|
-
if (kindOf(val) !==
|
|
148
|
+
if (kindOf(val) !== 'object') {
|
|
149
149
|
return false;
|
|
150
150
|
}
|
|
151
151
|
|
|
@@ -173,10 +173,7 @@ const isEmptyObject = (val) => {
|
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
try {
|
|
176
|
-
return (
|
|
177
|
-
Object.keys(val).length === 0 &&
|
|
178
|
-
Object.getPrototypeOf(val) === Object.prototype
|
|
179
|
-
);
|
|
176
|
+
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
180
177
|
} catch (e) {
|
|
181
178
|
// Fallback for any other objects that might cause RangeError with Object.keys()
|
|
182
179
|
return false;
|
|
@@ -190,7 +187,7 @@ const isEmptyObject = (val) => {
|
|
|
190
187
|
*
|
|
191
188
|
* @returns {boolean} True if value is a Date, otherwise false
|
|
192
189
|
*/
|
|
193
|
-
const isDate = kindOfTest(
|
|
190
|
+
const isDate = kindOfTest('Date');
|
|
194
191
|
|
|
195
192
|
/**
|
|
196
193
|
* Determine if a value is a File
|
|
@@ -199,7 +196,32 @@ const isDate = kindOfTest("Date");
|
|
|
199
196
|
*
|
|
200
197
|
* @returns {boolean} True if value is a File, otherwise false
|
|
201
198
|
*/
|
|
202
|
-
const isFile = kindOfTest(
|
|
199
|
+
const isFile = kindOfTest('File');
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Determine if a value is a React Native Blob
|
|
203
|
+
* React Native "blob": an object with a `uri` attribute. Optionally, it can
|
|
204
|
+
* also have a `name` and `type` attribute to specify filename and content type
|
|
205
|
+
*
|
|
206
|
+
* @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71
|
|
207
|
+
*
|
|
208
|
+
* @param {*} value The value to test
|
|
209
|
+
*
|
|
210
|
+
* @returns {boolean} True if value is a React Native Blob, otherwise false
|
|
211
|
+
*/
|
|
212
|
+
const isReactNativeBlob = (value) => {
|
|
213
|
+
return !!(value && typeof value.uri !== 'undefined');
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Determine if environment is React Native
|
|
218
|
+
* ReactNative `FormData` has a non-standard `getParts()` method
|
|
219
|
+
*
|
|
220
|
+
* @param {*} formData The formData to test
|
|
221
|
+
*
|
|
222
|
+
* @returns {boolean} True if environment is React Native, otherwise false
|
|
223
|
+
*/
|
|
224
|
+
const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';
|
|
203
225
|
|
|
204
226
|
/**
|
|
205
227
|
* Determine if a value is a Blob
|
|
@@ -208,7 +230,7 @@ const isFile = kindOfTest("File");
|
|
|
208
230
|
*
|
|
209
231
|
* @returns {boolean} True if value is a Blob, otherwise false
|
|
210
232
|
*/
|
|
211
|
-
const isBlob = kindOfTest(
|
|
233
|
+
const isBlob = kindOfTest('Blob');
|
|
212
234
|
|
|
213
235
|
/**
|
|
214
236
|
* Determine if a value is a FileList
|
|
@@ -217,7 +239,7 @@ const isBlob = kindOfTest("Blob");
|
|
|
217
239
|
*
|
|
218
240
|
* @returns {boolean} True if value is a File, otherwise false
|
|
219
241
|
*/
|
|
220
|
-
const isFileList = kindOfTest(
|
|
242
|
+
const isFileList = kindOfTest('FileList');
|
|
221
243
|
|
|
222
244
|
/**
|
|
223
245
|
* Determine if a value is a Stream
|
|
@@ -235,17 +257,27 @@ const isStream = (val) => isObject(val) && isFunction$1(val.pipe);
|
|
|
235
257
|
*
|
|
236
258
|
* @returns {boolean} True if value is an FormData, otherwise false
|
|
237
259
|
*/
|
|
260
|
+
function getGlobal() {
|
|
261
|
+
if (typeof globalThis !== 'undefined') return globalThis;
|
|
262
|
+
if (typeof self !== 'undefined') return self;
|
|
263
|
+
if (typeof window !== 'undefined') return window;
|
|
264
|
+
if (typeof global !== 'undefined') return global;
|
|
265
|
+
return {};
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
const G = getGlobal();
|
|
269
|
+
const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;
|
|
270
|
+
|
|
238
271
|
const isFormData = (thing) => {
|
|
239
272
|
let kind;
|
|
240
|
-
return (
|
|
241
|
-
thing
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
thing.toString() === "[object FormData]"))))
|
|
273
|
+
return thing && (
|
|
274
|
+
(FormDataCtor && thing instanceof FormDataCtor) || (
|
|
275
|
+
isFunction$1(thing.append) && (
|
|
276
|
+
(kind = kindOf(thing)) === 'formdata' ||
|
|
277
|
+
// detect form-data instance
|
|
278
|
+
(kind === 'object' && isFunction$1(thing.toString) && thing.toString() === '[object FormData]')
|
|
279
|
+
)
|
|
280
|
+
)
|
|
249
281
|
);
|
|
250
282
|
};
|
|
251
283
|
|
|
@@ -256,13 +288,13 @@ const isFormData = (thing) => {
|
|
|
256
288
|
*
|
|
257
289
|
* @returns {boolean} True if value is a URLSearchParams object, otherwise false
|
|
258
290
|
*/
|
|
259
|
-
const isURLSearchParams = kindOfTest(
|
|
291
|
+
const isURLSearchParams = kindOfTest('URLSearchParams');
|
|
260
292
|
|
|
261
293
|
const [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
294
|
+
'ReadableStream',
|
|
295
|
+
'Request',
|
|
296
|
+
'Response',
|
|
297
|
+
'Headers',
|
|
266
298
|
].map(kindOfTest);
|
|
267
299
|
|
|
268
300
|
/**
|
|
@@ -272,9 +304,9 @@ const [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
|
272
304
|
*
|
|
273
305
|
* @returns {String} The String freed of excess whitespace
|
|
274
306
|
*/
|
|
275
|
-
const trim = (str) =>
|
|
276
|
-
str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
|
|
277
|
-
|
|
307
|
+
const trim = (str) => {
|
|
308
|
+
return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
|
|
309
|
+
};
|
|
278
310
|
/**
|
|
279
311
|
* Iterate over an Array or an Object invoking a function for each item.
|
|
280
312
|
*
|
|
@@ -293,7 +325,7 @@ const trim = (str) =>
|
|
|
293
325
|
*/
|
|
294
326
|
function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
295
327
|
// Don't bother if no value provided
|
|
296
|
-
if (obj === null || typeof obj ===
|
|
328
|
+
if (obj === null || typeof obj === 'undefined') {
|
|
297
329
|
return;
|
|
298
330
|
}
|
|
299
331
|
|
|
@@ -301,7 +333,7 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
301
333
|
let l;
|
|
302
334
|
|
|
303
335
|
// Force an array if not already something iterable
|
|
304
|
-
if (typeof obj !==
|
|
336
|
+
if (typeof obj !== 'object') {
|
|
305
337
|
/*eslint no-param-reassign:0*/
|
|
306
338
|
obj = [obj];
|
|
307
339
|
}
|
|
@@ -318,9 +350,7 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
318
350
|
}
|
|
319
351
|
|
|
320
352
|
// Iterate over object keys
|
|
321
|
-
const keys = allOwnKeys
|
|
322
|
-
? Object.getOwnPropertyNames(obj)
|
|
323
|
-
: Object.keys(obj);
|
|
353
|
+
const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
324
354
|
const len = keys.length;
|
|
325
355
|
let key;
|
|
326
356
|
|
|
@@ -331,6 +361,14 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
|
331
361
|
}
|
|
332
362
|
}
|
|
333
363
|
|
|
364
|
+
/**
|
|
365
|
+
* Finds a key in an object, case-insensitive, returning the actual key name.
|
|
366
|
+
* Returns null if the object is a Buffer or if no match is found.
|
|
367
|
+
*
|
|
368
|
+
* @param {Object} obj - The object to search.
|
|
369
|
+
* @param {string} key - The key to find (case-insensitive).
|
|
370
|
+
* @returns {?string} The actual key name if found, otherwise null.
|
|
371
|
+
*/
|
|
334
372
|
function findKey(obj, key) {
|
|
335
373
|
if (isBuffer(obj)) {
|
|
336
374
|
return null;
|
|
@@ -351,16 +389,11 @@ function findKey(obj, key) {
|
|
|
351
389
|
|
|
352
390
|
const _global = (() => {
|
|
353
391
|
/*eslint no-undef:0*/
|
|
354
|
-
if (typeof globalThis !==
|
|
355
|
-
return typeof self !==
|
|
356
|
-
? self
|
|
357
|
-
: typeof window !== "undefined"
|
|
358
|
-
? window
|
|
359
|
-
: global;
|
|
392
|
+
if (typeof globalThis !== 'undefined') return globalThis;
|
|
393
|
+
return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global;
|
|
360
394
|
})();
|
|
361
395
|
|
|
362
|
-
const isContextDefined = (context) =>
|
|
363
|
-
!isUndefined(context) && context !== _global;
|
|
396
|
+
const isContextDefined = (context) => !isUndefined(context) && context !== _global;
|
|
364
397
|
|
|
365
398
|
/**
|
|
366
399
|
* Accepts varargs expecting each argument to be an object, then
|
|
@@ -385,7 +418,7 @@ function merge(/* obj1, obj2, obj3, ... */) {
|
|
|
385
418
|
const result = {};
|
|
386
419
|
const assignValue = (val, key) => {
|
|
387
420
|
// Skip dangerous property names to prevent prototype pollution
|
|
388
|
-
if (key ===
|
|
421
|
+
if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
|
|
389
422
|
return;
|
|
390
423
|
}
|
|
391
424
|
|
|
@@ -438,7 +471,7 @@ const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
|
|
|
438
471
|
});
|
|
439
472
|
}
|
|
440
473
|
},
|
|
441
|
-
{ allOwnKeys }
|
|
474
|
+
{ allOwnKeys }
|
|
442
475
|
);
|
|
443
476
|
return a;
|
|
444
477
|
};
|
|
@@ -467,17 +500,14 @@ const stripBOM = (content) => {
|
|
|
467
500
|
* @returns {void}
|
|
468
501
|
*/
|
|
469
502
|
const inherits = (constructor, superConstructor, props, descriptors) => {
|
|
470
|
-
constructor.prototype = Object.create(
|
|
471
|
-
|
|
472
|
-
descriptors,
|
|
473
|
-
);
|
|
474
|
-
Object.defineProperty(constructor.prototype, "constructor", {
|
|
503
|
+
constructor.prototype = Object.create(superConstructor.prototype, descriptors);
|
|
504
|
+
Object.defineProperty(constructor.prototype, 'constructor', {
|
|
475
505
|
value: constructor,
|
|
476
506
|
writable: true,
|
|
477
507
|
enumerable: false,
|
|
478
508
|
configurable: true,
|
|
479
509
|
});
|
|
480
|
-
Object.defineProperty(constructor,
|
|
510
|
+
Object.defineProperty(constructor, 'super', {
|
|
481
511
|
value: superConstructor.prototype,
|
|
482
512
|
});
|
|
483
513
|
props && Object.assign(constructor.prototype, props);
|
|
@@ -507,20 +537,13 @@ const toFlatObject = (sourceObj, destObj, filter, propFilter) => {
|
|
|
507
537
|
i = props.length;
|
|
508
538
|
while (i-- > 0) {
|
|
509
539
|
prop = props[i];
|
|
510
|
-
if (
|
|
511
|
-
(!propFilter || propFilter(prop, sourceObj, destObj)) &&
|
|
512
|
-
!merged[prop]
|
|
513
|
-
) {
|
|
540
|
+
if ((!propFilter || propFilter(prop, sourceObj, destObj)) && !merged[prop]) {
|
|
514
541
|
destObj[prop] = sourceObj[prop];
|
|
515
542
|
merged[prop] = true;
|
|
516
543
|
}
|
|
517
544
|
}
|
|
518
545
|
sourceObj = filter !== false && getPrototypeOf(sourceObj);
|
|
519
|
-
} while (
|
|
520
|
-
sourceObj &&
|
|
521
|
-
(!filter || filter(sourceObj, destObj)) &&
|
|
522
|
-
sourceObj !== Object.prototype
|
|
523
|
-
);
|
|
546
|
+
} while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);
|
|
524
547
|
|
|
525
548
|
return destObj;
|
|
526
549
|
};
|
|
@@ -577,7 +600,7 @@ const isTypedArray = ((TypedArray) => {
|
|
|
577
600
|
return (thing) => {
|
|
578
601
|
return TypedArray && thing instanceof TypedArray;
|
|
579
602
|
};
|
|
580
|
-
})(typeof Uint8Array !==
|
|
603
|
+
})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));
|
|
581
604
|
|
|
582
605
|
/**
|
|
583
606
|
* For each entry in the object, call the function with the key and value.
|
|
@@ -620,14 +643,12 @@ const matchAll = (regExp, str) => {
|
|
|
620
643
|
};
|
|
621
644
|
|
|
622
645
|
/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
|
|
623
|
-
const isHTMLForm = kindOfTest(
|
|
646
|
+
const isHTMLForm = kindOfTest('HTMLFormElement');
|
|
624
647
|
|
|
625
648
|
const toCamelCase = (str) => {
|
|
626
|
-
return str
|
|
627
|
-
.
|
|
628
|
-
|
|
629
|
-
return p1.toUpperCase() + p2;
|
|
630
|
-
});
|
|
649
|
+
return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
|
|
650
|
+
return p1.toUpperCase() + p2;
|
|
651
|
+
});
|
|
631
652
|
};
|
|
632
653
|
|
|
633
654
|
/* Creating a function that will check if an object has a property. */
|
|
@@ -644,7 +665,7 @@ const hasOwnProperty = (
|
|
|
644
665
|
*
|
|
645
666
|
* @returns {boolean} True if value is a RegExp object, otherwise false
|
|
646
667
|
*/
|
|
647
|
-
const isRegExp = kindOfTest(
|
|
668
|
+
const isRegExp = kindOfTest('RegExp');
|
|
648
669
|
|
|
649
670
|
const reduceDescriptors = (obj, reducer) => {
|
|
650
671
|
const descriptors = Object.getOwnPropertyDescriptors(obj);
|
|
@@ -668,10 +689,7 @@ const reduceDescriptors = (obj, reducer) => {
|
|
|
668
689
|
const freezeMethods = (obj) => {
|
|
669
690
|
reduceDescriptors(obj, (descriptor, name) => {
|
|
670
691
|
// skip restricted props in strict mode
|
|
671
|
-
if (
|
|
672
|
-
isFunction$1(obj) &&
|
|
673
|
-
["arguments", "caller", "callee"].indexOf(name) !== -1
|
|
674
|
-
) {
|
|
692
|
+
if (isFunction$1(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
|
|
675
693
|
return false;
|
|
676
694
|
}
|
|
677
695
|
|
|
@@ -681,7 +699,7 @@ const freezeMethods = (obj) => {
|
|
|
681
699
|
|
|
682
700
|
descriptor.enumerable = false;
|
|
683
701
|
|
|
684
|
-
if (
|
|
702
|
+
if ('writable' in descriptor) {
|
|
685
703
|
descriptor.writable = false;
|
|
686
704
|
return;
|
|
687
705
|
}
|
|
@@ -694,6 +712,14 @@ const freezeMethods = (obj) => {
|
|
|
694
712
|
});
|
|
695
713
|
};
|
|
696
714
|
|
|
715
|
+
/**
|
|
716
|
+
* Converts an array or a delimited string into an object set with values as keys and true as values.
|
|
717
|
+
* Useful for fast membership checks.
|
|
718
|
+
*
|
|
719
|
+
* @param {Array|string} arrayOrString - The array or string to convert.
|
|
720
|
+
* @param {string} delimiter - The delimiter to use if input is a string.
|
|
721
|
+
* @returns {Object} An object with keys from the array or string, values set to true.
|
|
722
|
+
*/
|
|
697
723
|
const toObjectSet = (arrayOrString, delimiter) => {
|
|
698
724
|
const obj = {};
|
|
699
725
|
|
|
@@ -703,9 +729,7 @@ const toObjectSet = (arrayOrString, delimiter) => {
|
|
|
703
729
|
});
|
|
704
730
|
};
|
|
705
731
|
|
|
706
|
-
isArray(arrayOrString)
|
|
707
|
-
? define(arrayOrString)
|
|
708
|
-
: define(String(arrayOrString).split(delimiter));
|
|
732
|
+
isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
|
|
709
733
|
|
|
710
734
|
return obj;
|
|
711
735
|
};
|
|
@@ -713,9 +737,7 @@ const toObjectSet = (arrayOrString, delimiter) => {
|
|
|
713
737
|
const noop = () => {};
|
|
714
738
|
|
|
715
739
|
const toFiniteNumber = (value, defaultValue) => {
|
|
716
|
-
return value != null && Number.isFinite((value = +value))
|
|
717
|
-
? value
|
|
718
|
-
: defaultValue;
|
|
740
|
+
return value != null && Number.isFinite((value = +value)) ? value : defaultValue;
|
|
719
741
|
};
|
|
720
742
|
|
|
721
743
|
/**
|
|
@@ -729,11 +751,17 @@ function isSpecCompliantForm(thing) {
|
|
|
729
751
|
return !!(
|
|
730
752
|
thing &&
|
|
731
753
|
isFunction$1(thing.append) &&
|
|
732
|
-
thing[toStringTag] ===
|
|
754
|
+
thing[toStringTag] === 'FormData' &&
|
|
733
755
|
thing[iterator]
|
|
734
756
|
);
|
|
735
757
|
}
|
|
736
758
|
|
|
759
|
+
/**
|
|
760
|
+
* Recursively converts an object to a JSON-compatible object, handling circular references and Buffers.
|
|
761
|
+
*
|
|
762
|
+
* @param {Object} obj - The object to convert.
|
|
763
|
+
* @returns {Object} The JSON-compatible object.
|
|
764
|
+
*/
|
|
737
765
|
const toJSONObject = (obj) => {
|
|
738
766
|
const stack = new Array(10);
|
|
739
767
|
|
|
@@ -748,7 +776,7 @@ const toJSONObject = (obj) => {
|
|
|
748
776
|
return source;
|
|
749
777
|
}
|
|
750
778
|
|
|
751
|
-
if (!(
|
|
779
|
+
if (!('toJSON' in source)) {
|
|
752
780
|
stack[i] = source;
|
|
753
781
|
const target = isArray(source) ? [] : {};
|
|
754
782
|
|
|
@@ -769,8 +797,20 @@ const toJSONObject = (obj) => {
|
|
|
769
797
|
return visit(obj, 0);
|
|
770
798
|
};
|
|
771
799
|
|
|
772
|
-
|
|
800
|
+
/**
|
|
801
|
+
* Determines if a value is an async function.
|
|
802
|
+
*
|
|
803
|
+
* @param {*} thing - The value to test.
|
|
804
|
+
* @returns {boolean} True if value is an async function, otherwise false.
|
|
805
|
+
*/
|
|
806
|
+
const isAsyncFn = kindOfTest('AsyncFunction');
|
|
773
807
|
|
|
808
|
+
/**
|
|
809
|
+
* Determines if a value is thenable (has then and catch methods).
|
|
810
|
+
*
|
|
811
|
+
* @param {*} thing - The value to test.
|
|
812
|
+
* @returns {boolean} True if value is thenable, otherwise false.
|
|
813
|
+
*/
|
|
774
814
|
const isThenable = (thing) =>
|
|
775
815
|
thing &&
|
|
776
816
|
(isObject(thing) || isFunction$1(thing)) &&
|
|
@@ -780,6 +820,14 @@ const isThenable = (thing) =>
|
|
|
780
820
|
// original code
|
|
781
821
|
// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
|
|
782
822
|
|
|
823
|
+
/**
|
|
824
|
+
* Provides a cross-platform setImmediate implementation.
|
|
825
|
+
* Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout.
|
|
826
|
+
*
|
|
827
|
+
* @param {boolean} setImmediateSupported - Whether setImmediate is supported.
|
|
828
|
+
* @param {boolean} postMessageSupported - Whether postMessage is supported.
|
|
829
|
+
* @returns {Function} A function to schedule a callback asynchronously.
|
|
830
|
+
*/
|
|
783
831
|
const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
784
832
|
if (setImmediateSupported) {
|
|
785
833
|
return setImmediate;
|
|
@@ -788,27 +836,33 @@ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
|
788
836
|
return postMessageSupported
|
|
789
837
|
? ((token, callbacks) => {
|
|
790
838
|
_global.addEventListener(
|
|
791
|
-
|
|
839
|
+
'message',
|
|
792
840
|
({ source, data }) => {
|
|
793
841
|
if (source === _global && data === token) {
|
|
794
842
|
callbacks.length && callbacks.shift()();
|
|
795
843
|
}
|
|
796
844
|
},
|
|
797
|
-
false
|
|
845
|
+
false
|
|
798
846
|
);
|
|
799
847
|
|
|
800
848
|
return (cb) => {
|
|
801
849
|
callbacks.push(cb);
|
|
802
|
-
_global.postMessage(token,
|
|
850
|
+
_global.postMessage(token, '*');
|
|
803
851
|
};
|
|
804
852
|
})(`axios@${Math.random()}`, [])
|
|
805
853
|
: (cb) => setTimeout(cb);
|
|
806
|
-
})(typeof setImmediate ===
|
|
854
|
+
})(typeof setImmediate === 'function', isFunction$1(_global.postMessage));
|
|
807
855
|
|
|
856
|
+
/**
|
|
857
|
+
* Schedules a microtask or asynchronous callback as soon as possible.
|
|
858
|
+
* Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate.
|
|
859
|
+
*
|
|
860
|
+
* @type {Function}
|
|
861
|
+
*/
|
|
808
862
|
const asap =
|
|
809
|
-
typeof queueMicrotask !==
|
|
863
|
+
typeof queueMicrotask !== 'undefined'
|
|
810
864
|
? queueMicrotask.bind(_global)
|
|
811
|
-
: (typeof process !==
|
|
865
|
+
: (typeof process !== 'undefined' && process.nextTick) || _setImmediate;
|
|
812
866
|
|
|
813
867
|
// *********************
|
|
814
868
|
|
|
@@ -833,6 +887,8 @@ var utils$1 = {
|
|
|
833
887
|
isUndefined,
|
|
834
888
|
isDate,
|
|
835
889
|
isFile,
|
|
890
|
+
isReactNativeBlob,
|
|
891
|
+
isReactNative,
|
|
836
892
|
isBlob,
|
|
837
893
|
isRegExp,
|
|
838
894
|
isFunction: isFunction$1,
|
|
@@ -875,14 +931,20 @@ var utils$1 = {
|
|
|
875
931
|
};
|
|
876
932
|
|
|
877
933
|
class AxiosError extends Error {
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
934
|
+
static from(error, code, config, request, response, customProps) {
|
|
935
|
+
const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
|
|
936
|
+
axiosError.cause = error;
|
|
937
|
+
axiosError.name = error.name;
|
|
938
|
+
|
|
939
|
+
// Preserve status from the original error if not already set from response
|
|
940
|
+
if (error.status != null && axiosError.status == null) {
|
|
941
|
+
axiosError.status = error.status;
|
|
884
942
|
}
|
|
885
943
|
|
|
944
|
+
customProps && Object.assign(axiosError, customProps);
|
|
945
|
+
return axiosError;
|
|
946
|
+
}
|
|
947
|
+
|
|
886
948
|
/**
|
|
887
949
|
* Create an Error with the specified message, config, error code, request and response.
|
|
888
950
|
*
|
|
@@ -895,37 +957,48 @@ class AxiosError extends Error {
|
|
|
895
957
|
* @returns {Error} The created error.
|
|
896
958
|
*/
|
|
897
959
|
constructor(message, code, config, request, response) {
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
960
|
+
super(message);
|
|
961
|
+
|
|
962
|
+
// Make message enumerable to maintain backward compatibility
|
|
963
|
+
// The native Error constructor sets message as non-enumerable,
|
|
964
|
+
// but axios < v1.13.3 had it as enumerable
|
|
965
|
+
Object.defineProperty(this, 'message', {
|
|
966
|
+
value: message,
|
|
967
|
+
enumerable: true,
|
|
968
|
+
writable: true,
|
|
969
|
+
configurable: true
|
|
970
|
+
});
|
|
971
|
+
|
|
972
|
+
this.name = 'AxiosError';
|
|
973
|
+
this.isAxiosError = true;
|
|
974
|
+
code && (this.code = code);
|
|
975
|
+
config && (this.config = config);
|
|
976
|
+
request && (this.request = request);
|
|
977
|
+
if (response) {
|
|
978
|
+
this.response = response;
|
|
979
|
+
this.status = response.status;
|
|
980
|
+
}
|
|
908
981
|
}
|
|
909
982
|
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
983
|
+
toJSON() {
|
|
984
|
+
return {
|
|
985
|
+
// Standard
|
|
986
|
+
message: this.message,
|
|
987
|
+
name: this.name,
|
|
988
|
+
// Microsoft
|
|
989
|
+
description: this.description,
|
|
990
|
+
number: this.number,
|
|
991
|
+
// Mozilla
|
|
992
|
+
fileName: this.fileName,
|
|
993
|
+
lineNumber: this.lineNumber,
|
|
994
|
+
columnNumber: this.columnNumber,
|
|
995
|
+
stack: this.stack,
|
|
996
|
+
// Axios
|
|
997
|
+
config: utils$1.toJSONObject(this.config),
|
|
998
|
+
code: this.code,
|
|
999
|
+
status: this.status,
|
|
1000
|
+
};
|
|
1001
|
+
}
|
|
929
1002
|
}
|
|
930
1003
|
|
|
931
1004
|
// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.
|
|
@@ -980,11 +1053,14 @@ function removeBrackets(key) {
|
|
|
980
1053
|
*/
|
|
981
1054
|
function renderKey(path, key, dots) {
|
|
982
1055
|
if (!path) return key;
|
|
983
|
-
return path
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
1056
|
+
return path
|
|
1057
|
+
.concat(key)
|
|
1058
|
+
.map(function each(token, i) {
|
|
1059
|
+
// eslint-disable-next-line no-param-reassign
|
|
1060
|
+
token = removeBrackets(token);
|
|
1061
|
+
return !dots && i ? '[' + token + ']' : token;
|
|
1062
|
+
})
|
|
1063
|
+
.join(dots ? '.' : '');
|
|
988
1064
|
}
|
|
989
1065
|
|
|
990
1066
|
/**
|
|
@@ -1034,21 +1110,26 @@ function toFormData(obj, formData, options) {
|
|
|
1034
1110
|
formData = formData || new (FormData)();
|
|
1035
1111
|
|
|
1036
1112
|
// eslint-disable-next-line no-param-reassign
|
|
1037
|
-
options = utils$1.toFlatObject(
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1113
|
+
options = utils$1.toFlatObject(
|
|
1114
|
+
options,
|
|
1115
|
+
{
|
|
1116
|
+
metaTokens: true,
|
|
1117
|
+
dots: false,
|
|
1118
|
+
indexes: false,
|
|
1119
|
+
},
|
|
1120
|
+
false,
|
|
1121
|
+
function defined(option, source) {
|
|
1122
|
+
// eslint-disable-next-line no-eq-null,eqeqeq
|
|
1123
|
+
return !utils$1.isUndefined(source[option]);
|
|
1124
|
+
}
|
|
1125
|
+
);
|
|
1045
1126
|
|
|
1046
1127
|
const metaTokens = options.metaTokens;
|
|
1047
1128
|
// eslint-disable-next-line no-use-before-define
|
|
1048
1129
|
const visitor = options.visitor || defaultVisitor;
|
|
1049
1130
|
const dots = options.dots;
|
|
1050
1131
|
const indexes = options.indexes;
|
|
1051
|
-
const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;
|
|
1132
|
+
const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);
|
|
1052
1133
|
const useBlob = _Blob && utils$1.isSpecCompliantForm(formData);
|
|
1053
1134
|
|
|
1054
1135
|
if (!utils$1.isFunction(visitor)) {
|
|
@@ -1090,6 +1171,11 @@ function toFormData(obj, formData, options) {
|
|
|
1090
1171
|
function defaultVisitor(value, key, path) {
|
|
1091
1172
|
let arr = value;
|
|
1092
1173
|
|
|
1174
|
+
if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) {
|
|
1175
|
+
formData.append(renderKey(path, key, dots), convertValue(value));
|
|
1176
|
+
return false;
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1093
1179
|
if (value && !path && typeof value === 'object') {
|
|
1094
1180
|
if (utils$1.endsWith(key, '{}')) {
|
|
1095
1181
|
// eslint-disable-next-line no-param-reassign
|
|
@@ -1098,17 +1184,22 @@ function toFormData(obj, formData, options) {
|
|
|
1098
1184
|
value = JSON.stringify(value);
|
|
1099
1185
|
} else if (
|
|
1100
1186
|
(utils$1.isArray(value) && isFlatArray(value)) ||
|
|
1101
|
-
((utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value))
|
|
1102
|
-
|
|
1187
|
+
((utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value)))
|
|
1188
|
+
) {
|
|
1103
1189
|
// eslint-disable-next-line no-param-reassign
|
|
1104
1190
|
key = removeBrackets(key);
|
|
1105
1191
|
|
|
1106
1192
|
arr.forEach(function each(el, index) {
|
|
1107
|
-
!(utils$1.isUndefined(el) || el === null) &&
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1193
|
+
!(utils$1.isUndefined(el) || el === null) &&
|
|
1194
|
+
formData.append(
|
|
1195
|
+
// eslint-disable-next-line no-nested-ternary
|
|
1196
|
+
indexes === true
|
|
1197
|
+
? renderKey([key], index, dots)
|
|
1198
|
+
: indexes === null
|
|
1199
|
+
? key
|
|
1200
|
+
: key + '[]',
|
|
1201
|
+
convertValue(el)
|
|
1202
|
+
);
|
|
1112
1203
|
});
|
|
1113
1204
|
return false;
|
|
1114
1205
|
}
|
|
@@ -1128,7 +1219,7 @@ function toFormData(obj, formData, options) {
|
|
|
1128
1219
|
const exposedHelpers = Object.assign(predicates, {
|
|
1129
1220
|
defaultVisitor,
|
|
1130
1221
|
convertValue,
|
|
1131
|
-
isVisitable
|
|
1222
|
+
isVisitable,
|
|
1132
1223
|
});
|
|
1133
1224
|
|
|
1134
1225
|
function build(value, path) {
|
|
@@ -1141,9 +1232,9 @@ function toFormData(obj, formData, options) {
|
|
|
1141
1232
|
stack.push(value);
|
|
1142
1233
|
|
|
1143
1234
|
utils$1.forEach(value, function each(el, key) {
|
|
1144
|
-
const result =
|
|
1145
|
-
|
|
1146
|
-
|
|
1235
|
+
const result =
|
|
1236
|
+
!(utils$1.isUndefined(el) || el === null) &&
|
|
1237
|
+
visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers);
|
|
1147
1238
|
|
|
1148
1239
|
if (result === true) {
|
|
1149
1240
|
build(el, path ? path.concat(key) : [key]);
|
|
@@ -1178,7 +1269,7 @@ function encode$1(str) {
|
|
|
1178
1269
|
')': '%29',
|
|
1179
1270
|
'~': '%7E',
|
|
1180
1271
|
'%20': '+',
|
|
1181
|
-
'%00': '\x00'
|
|
1272
|
+
'%00': '\x00',
|
|
1182
1273
|
};
|
|
1183
1274
|
return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
|
|
1184
1275
|
return charMap[match];
|
|
@@ -1206,13 +1297,17 @@ prototype.append = function append(name, value) {
|
|
|
1206
1297
|
};
|
|
1207
1298
|
|
|
1208
1299
|
prototype.toString = function toString(encoder) {
|
|
1209
|
-
const _encode = encoder
|
|
1210
|
-
|
|
1211
|
-
|
|
1300
|
+
const _encode = encoder
|
|
1301
|
+
? function (value) {
|
|
1302
|
+
return encoder.call(this, value, encode$1);
|
|
1303
|
+
}
|
|
1304
|
+
: encode$1;
|
|
1212
1305
|
|
|
1213
|
-
return this._pairs
|
|
1214
|
-
|
|
1215
|
-
|
|
1306
|
+
return this._pairs
|
|
1307
|
+
.map(function each(pair) {
|
|
1308
|
+
return _encode(pair[0]) + '=' + _encode(pair[1]);
|
|
1309
|
+
}, '')
|
|
1310
|
+
.join('&');
|
|
1216
1311
|
};
|
|
1217
1312
|
|
|
1218
1313
|
/**
|
|
@@ -1224,11 +1319,11 @@ prototype.toString = function toString(encoder) {
|
|
|
1224
1319
|
* @returns {string} The encoded value.
|
|
1225
1320
|
*/
|
|
1226
1321
|
function encode(val) {
|
|
1227
|
-
return encodeURIComponent(val)
|
|
1228
|
-
replace(/%3A/gi, ':')
|
|
1229
|
-
replace(/%24/g, '$')
|
|
1230
|
-
replace(/%2C/gi, ',')
|
|
1231
|
-
replace(/%20/g, '+');
|
|
1322
|
+
return encodeURIComponent(val)
|
|
1323
|
+
.replace(/%3A/gi, ':')
|
|
1324
|
+
.replace(/%24/g, '$')
|
|
1325
|
+
.replace(/%2C/gi, ',')
|
|
1326
|
+
.replace(/%20/g, '+');
|
|
1232
1327
|
}
|
|
1233
1328
|
|
|
1234
1329
|
/**
|
|
@@ -1245,11 +1340,13 @@ function buildURL(url, params, options) {
|
|
|
1245
1340
|
return url;
|
|
1246
1341
|
}
|
|
1247
1342
|
|
|
1248
|
-
const _encode = options && options.encode || encode;
|
|
1343
|
+
const _encode = (options && options.encode) || encode;
|
|
1249
1344
|
|
|
1250
|
-
const _options = utils$1.isFunction(options)
|
|
1251
|
-
|
|
1252
|
-
|
|
1345
|
+
const _options = utils$1.isFunction(options)
|
|
1346
|
+
? {
|
|
1347
|
+
serialize: options,
|
|
1348
|
+
}
|
|
1349
|
+
: options;
|
|
1253
1350
|
|
|
1254
1351
|
const serializeFn = _options && _options.serialize;
|
|
1255
1352
|
|
|
@@ -1258,13 +1355,13 @@ function buildURL(url, params, options) {
|
|
|
1258
1355
|
if (serializeFn) {
|
|
1259
1356
|
serializedParams = serializeFn(params, _options);
|
|
1260
1357
|
} else {
|
|
1261
|
-
serializedParams = utils$1.isURLSearchParams(params)
|
|
1262
|
-
params.toString()
|
|
1263
|
-
new AxiosURLSearchParams(params, _options).toString(_encode);
|
|
1358
|
+
serializedParams = utils$1.isURLSearchParams(params)
|
|
1359
|
+
? params.toString()
|
|
1360
|
+
: new AxiosURLSearchParams(params, _options).toString(_encode);
|
|
1264
1361
|
}
|
|
1265
1362
|
|
|
1266
1363
|
if (serializedParams) {
|
|
1267
|
-
const hashmarkIndex = url.indexOf(
|
|
1364
|
+
const hashmarkIndex = url.indexOf('#');
|
|
1268
1365
|
|
|
1269
1366
|
if (hashmarkIndex !== -1) {
|
|
1270
1367
|
url = url.slice(0, hashmarkIndex);
|
|
@@ -1294,7 +1391,7 @@ class InterceptorManager {
|
|
|
1294
1391
|
fulfilled,
|
|
1295
1392
|
rejected,
|
|
1296
1393
|
synchronous: options ? options.synchronous : false,
|
|
1297
|
-
runWhen: options ? options.runWhen : null
|
|
1394
|
+
runWhen: options ? options.runWhen : null,
|
|
1298
1395
|
});
|
|
1299
1396
|
return this.handlers.length - 1;
|
|
1300
1397
|
}
|
|
@@ -1348,7 +1445,7 @@ var transitionalDefaults = {
|
|
|
1348
1445
|
silentJSONParsing: true,
|
|
1349
1446
|
forcedJSONParsing: true,
|
|
1350
1447
|
clarifyTimeoutError: false,
|
|
1351
|
-
legacyInterceptorReqResOrdering: true
|
|
1448
|
+
legacyInterceptorReqResOrdering: true,
|
|
1352
1449
|
};
|
|
1353
1450
|
|
|
1354
1451
|
var URLSearchParams$1 = typeof URLSearchParams !== 'undefined' ? URLSearchParams : AxiosURLSearchParams;
|
|
@@ -1362,14 +1459,14 @@ var platform$1 = {
|
|
|
1362
1459
|
classes: {
|
|
1363
1460
|
URLSearchParams: URLSearchParams$1,
|
|
1364
1461
|
FormData: FormData$1,
|
|
1365
|
-
Blob: Blob$1
|
|
1462
|
+
Blob: Blob$1,
|
|
1366
1463
|
},
|
|
1367
|
-
protocols: ['http', 'https', 'file', 'blob', 'url', 'data']
|
|
1464
|
+
protocols: ['http', 'https', 'file', 'blob', 'url', 'data'],
|
|
1368
1465
|
};
|
|
1369
1466
|
|
|
1370
1467
|
const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
1371
1468
|
|
|
1372
|
-
const _navigator = typeof navigator === 'object' && navigator || undefined;
|
|
1469
|
+
const _navigator = (typeof navigator === 'object' && navigator) || undefined;
|
|
1373
1470
|
|
|
1374
1471
|
/**
|
|
1375
1472
|
* Determine if we're running in a standard browser environment
|
|
@@ -1388,7 +1485,8 @@ const _navigator = typeof navigator === 'object' && navigator || undefined;
|
|
|
1388
1485
|
*
|
|
1389
1486
|
* @returns {boolean}
|
|
1390
1487
|
*/
|
|
1391
|
-
const hasStandardBrowserEnv =
|
|
1488
|
+
const hasStandardBrowserEnv =
|
|
1489
|
+
hasBrowserEnv &&
|
|
1392
1490
|
(!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
|
|
1393
1491
|
|
|
1394
1492
|
/**
|
|
@@ -1409,7 +1507,7 @@ const hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
1409
1507
|
);
|
|
1410
1508
|
})();
|
|
1411
1509
|
|
|
1412
|
-
const origin = hasBrowserEnv && window.location.href || 'http://localhost';
|
|
1510
|
+
const origin = (hasBrowserEnv && window.location.href) || 'http://localhost';
|
|
1413
1511
|
|
|
1414
1512
|
var utils = /*#__PURE__*/Object.freeze({
|
|
1415
1513
|
__proto__: null,
|
|
@@ -1422,12 +1520,12 @@ var utils = /*#__PURE__*/Object.freeze({
|
|
|
1422
1520
|
|
|
1423
1521
|
var platform = {
|
|
1424
1522
|
...utils,
|
|
1425
|
-
...platform$1
|
|
1523
|
+
...platform$1,
|
|
1426
1524
|
};
|
|
1427
1525
|
|
|
1428
1526
|
function toURLEncodedForm(data, options) {
|
|
1429
1527
|
return toFormData(data, new platform.classes.URLSearchParams(), {
|
|
1430
|
-
visitor: function(value, key, path, helpers) {
|
|
1528
|
+
visitor: function (value, key, path, helpers) {
|
|
1431
1529
|
if (platform.isNode && utils$1.isBuffer(value)) {
|
|
1432
1530
|
this.append(key, value.toString('base64'));
|
|
1433
1531
|
return false;
|
|
@@ -1435,7 +1533,7 @@ function toURLEncodedForm(data, options) {
|
|
|
1435
1533
|
|
|
1436
1534
|
return helpers.defaultVisitor.apply(this, arguments);
|
|
1437
1535
|
},
|
|
1438
|
-
...options
|
|
1536
|
+
...options,
|
|
1439
1537
|
});
|
|
1440
1538
|
}
|
|
1441
1539
|
|
|
@@ -1451,7 +1549,7 @@ function parsePropPath(name) {
|
|
|
1451
1549
|
// foo.x.y.z
|
|
1452
1550
|
// foo-x-y-z
|
|
1453
1551
|
// foo x y z
|
|
1454
|
-
return utils$1.matchAll(/\w+|\[(\w*)]/g, name).map(match => {
|
|
1552
|
+
return utils$1.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
1455
1553
|
return match[0] === '[]' ? '' : match[1] || match[0];
|
|
1456
1554
|
});
|
|
1457
1555
|
}
|
|
@@ -1555,96 +1653,107 @@ function stringifySafely(rawValue, parser, encoder) {
|
|
|
1555
1653
|
}
|
|
1556
1654
|
|
|
1557
1655
|
const defaults = {
|
|
1558
|
-
|
|
1559
1656
|
transitional: transitionalDefaults,
|
|
1560
1657
|
|
|
1561
1658
|
adapter: ['xhr', 'http', 'fetch'],
|
|
1562
1659
|
|
|
1563
|
-
transformRequest: [
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1660
|
+
transformRequest: [
|
|
1661
|
+
function transformRequest(data, headers) {
|
|
1662
|
+
const contentType = headers.getContentType() || '';
|
|
1663
|
+
const hasJSONContentType = contentType.indexOf('application/json') > -1;
|
|
1664
|
+
const isObjectPayload = utils$1.isObject(data);
|
|
1567
1665
|
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1666
|
+
if (isObjectPayload && utils$1.isHTMLForm(data)) {
|
|
1667
|
+
data = new FormData(data);
|
|
1668
|
+
}
|
|
1571
1669
|
|
|
1572
|
-
|
|
1670
|
+
const isFormData = utils$1.isFormData(data);
|
|
1573
1671
|
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1672
|
+
if (isFormData) {
|
|
1673
|
+
return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
|
|
1674
|
+
}
|
|
1577
1675
|
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1676
|
+
if (
|
|
1677
|
+
utils$1.isArrayBuffer(data) ||
|
|
1678
|
+
utils$1.isBuffer(data) ||
|
|
1679
|
+
utils$1.isStream(data) ||
|
|
1680
|
+
utils$1.isFile(data) ||
|
|
1681
|
+
utils$1.isBlob(data) ||
|
|
1682
|
+
utils$1.isReadableStream(data)
|
|
1683
|
+
) {
|
|
1684
|
+
return data;
|
|
1685
|
+
}
|
|
1686
|
+
if (utils$1.isArrayBufferView(data)) {
|
|
1687
|
+
return data.buffer;
|
|
1688
|
+
}
|
|
1689
|
+
if (utils$1.isURLSearchParams(data)) {
|
|
1690
|
+
headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);
|
|
1691
|
+
return data.toString();
|
|
1692
|
+
}
|
|
1594
1693
|
|
|
1595
|
-
|
|
1694
|
+
let isFileList;
|
|
1596
1695
|
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1696
|
+
if (isObjectPayload) {
|
|
1697
|
+
if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
|
|
1698
|
+
return toURLEncodedForm(data, this.formSerializer).toString();
|
|
1699
|
+
}
|
|
1601
1700
|
|
|
1602
|
-
|
|
1603
|
-
|
|
1701
|
+
if (
|
|
1702
|
+
(isFileList = utils$1.isFileList(data)) ||
|
|
1703
|
+
contentType.indexOf('multipart/form-data') > -1
|
|
1704
|
+
) {
|
|
1705
|
+
const _FormData = this.env && this.env.FormData;
|
|
1604
1706
|
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1707
|
+
return toFormData(
|
|
1708
|
+
isFileList ? { 'files[]': data } : data,
|
|
1709
|
+
_FormData && new _FormData(),
|
|
1710
|
+
this.formSerializer
|
|
1711
|
+
);
|
|
1712
|
+
}
|
|
1610
1713
|
}
|
|
1611
|
-
}
|
|
1612
1714
|
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1715
|
+
if (isObjectPayload || hasJSONContentType) {
|
|
1716
|
+
headers.setContentType('application/json', false);
|
|
1717
|
+
return stringifySafely(data);
|
|
1718
|
+
}
|
|
1617
1719
|
|
|
1618
|
-
|
|
1619
|
-
|
|
1720
|
+
return data;
|
|
1721
|
+
},
|
|
1722
|
+
],
|
|
1620
1723
|
|
|
1621
|
-
transformResponse: [
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1724
|
+
transformResponse: [
|
|
1725
|
+
function transformResponse(data) {
|
|
1726
|
+
const transitional = this.transitional || defaults.transitional;
|
|
1727
|
+
const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
|
|
1728
|
+
const JSONRequested = this.responseType === 'json';
|
|
1625
1729
|
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1730
|
+
if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) {
|
|
1731
|
+
return data;
|
|
1732
|
+
}
|
|
1629
1733
|
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1734
|
+
if (
|
|
1735
|
+
data &&
|
|
1736
|
+
utils$1.isString(data) &&
|
|
1737
|
+
((forcedJSONParsing && !this.responseType) || JSONRequested)
|
|
1738
|
+
) {
|
|
1739
|
+
const silentJSONParsing = transitional && transitional.silentJSONParsing;
|
|
1740
|
+
const strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
1633
1741
|
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1742
|
+
try {
|
|
1743
|
+
return JSON.parse(data, this.parseReviver);
|
|
1744
|
+
} catch (e) {
|
|
1745
|
+
if (strictJSONParsing) {
|
|
1746
|
+
if (e.name === 'SyntaxError') {
|
|
1747
|
+
throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
|
|
1748
|
+
}
|
|
1749
|
+
throw e;
|
|
1640
1750
|
}
|
|
1641
|
-
throw e;
|
|
1642
1751
|
}
|
|
1643
1752
|
}
|
|
1644
|
-
}
|
|
1645
1753
|
|
|
1646
|
-
|
|
1647
|
-
|
|
1754
|
+
return data;
|
|
1755
|
+
},
|
|
1756
|
+
],
|
|
1648
1757
|
|
|
1649
1758
|
/**
|
|
1650
1759
|
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
@@ -1660,7 +1769,7 @@ const defaults = {
|
|
|
1660
1769
|
|
|
1661
1770
|
env: {
|
|
1662
1771
|
FormData: platform.classes.FormData,
|
|
1663
|
-
Blob: platform.classes.Blob
|
|
1772
|
+
Blob: platform.classes.Blob,
|
|
1664
1773
|
},
|
|
1665
1774
|
|
|
1666
1775
|
validateStatus: function validateStatus(status) {
|
|
@@ -1669,10 +1778,10 @@ const defaults = {
|
|
|
1669
1778
|
|
|
1670
1779
|
headers: {
|
|
1671
1780
|
common: {
|
|
1672
|
-
|
|
1673
|
-
'Content-Type': undefined
|
|
1674
|
-
}
|
|
1675
|
-
}
|
|
1781
|
+
Accept: 'application/json, text/plain, */*',
|
|
1782
|
+
'Content-Type': undefined,
|
|
1783
|
+
},
|
|
1784
|
+
},
|
|
1676
1785
|
};
|
|
1677
1786
|
|
|
1678
1787
|
utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
|
|
@@ -1684,10 +1793,23 @@ var defaults$1 = defaults;
|
|
|
1684
1793
|
// RawAxiosHeaders whose duplicates are ignored by node
|
|
1685
1794
|
// c.f. https://nodejs.org/api/http.html#http_message_headers
|
|
1686
1795
|
const ignoreDuplicateOf = utils$1.toObjectSet([
|
|
1687
|
-
'age',
|
|
1688
|
-
'
|
|
1689
|
-
'
|
|
1690
|
-
'
|
|
1796
|
+
'age',
|
|
1797
|
+
'authorization',
|
|
1798
|
+
'content-length',
|
|
1799
|
+
'content-type',
|
|
1800
|
+
'etag',
|
|
1801
|
+
'expires',
|
|
1802
|
+
'from',
|
|
1803
|
+
'host',
|
|
1804
|
+
'if-modified-since',
|
|
1805
|
+
'if-unmodified-since',
|
|
1806
|
+
'last-modified',
|
|
1807
|
+
'location',
|
|
1808
|
+
'max-forwards',
|
|
1809
|
+
'proxy-authorization',
|
|
1810
|
+
'referer',
|
|
1811
|
+
'retry-after',
|
|
1812
|
+
'user-agent',
|
|
1691
1813
|
]);
|
|
1692
1814
|
|
|
1693
1815
|
/**
|
|
@@ -1704,31 +1826,32 @@ const ignoreDuplicateOf = utils$1.toObjectSet([
|
|
|
1704
1826
|
*
|
|
1705
1827
|
* @returns {Object} Headers parsed into an object
|
|
1706
1828
|
*/
|
|
1707
|
-
var parseHeaders = rawHeaders => {
|
|
1829
|
+
var parseHeaders = (rawHeaders) => {
|
|
1708
1830
|
const parsed = {};
|
|
1709
1831
|
let key;
|
|
1710
1832
|
let val;
|
|
1711
1833
|
let i;
|
|
1712
1834
|
|
|
1713
|
-
rawHeaders &&
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1835
|
+
rawHeaders &&
|
|
1836
|
+
rawHeaders.split('\n').forEach(function parser(line) {
|
|
1837
|
+
i = line.indexOf(':');
|
|
1838
|
+
key = line.substring(0, i).trim().toLowerCase();
|
|
1839
|
+
val = line.substring(i + 1).trim();
|
|
1717
1840
|
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1841
|
+
if (!key || (parsed[key] && ignoreDuplicateOf[key])) {
|
|
1842
|
+
return;
|
|
1843
|
+
}
|
|
1721
1844
|
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1845
|
+
if (key === 'set-cookie') {
|
|
1846
|
+
if (parsed[key]) {
|
|
1847
|
+
parsed[key].push(val);
|
|
1848
|
+
} else {
|
|
1849
|
+
parsed[key] = [val];
|
|
1850
|
+
}
|
|
1725
1851
|
} else {
|
|
1726
|
-
parsed[key] = [val
|
|
1852
|
+
parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
|
|
1727
1853
|
}
|
|
1728
|
-
}
|
|
1729
|
-
parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
|
|
1730
|
-
}
|
|
1731
|
-
});
|
|
1854
|
+
});
|
|
1732
1855
|
|
|
1733
1856
|
return parsed;
|
|
1734
1857
|
};
|
|
@@ -1782,8 +1905,10 @@ function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
|
|
|
1782
1905
|
}
|
|
1783
1906
|
|
|
1784
1907
|
function formatHeader(header) {
|
|
1785
|
-
return header
|
|
1786
|
-
.
|
|
1908
|
+
return header
|
|
1909
|
+
.trim()
|
|
1910
|
+
.toLowerCase()
|
|
1911
|
+
.replace(/([a-z\d])(\w*)/g, (w, char, str) => {
|
|
1787
1912
|
return char.toUpperCase() + str;
|
|
1788
1913
|
});
|
|
1789
1914
|
}
|
|
@@ -1791,12 +1916,12 @@ function formatHeader(header) {
|
|
|
1791
1916
|
function buildAccessors(obj, header) {
|
|
1792
1917
|
const accessorName = utils$1.toCamelCase(' ' + header);
|
|
1793
1918
|
|
|
1794
|
-
['get', 'set', 'has'].forEach(methodName => {
|
|
1919
|
+
['get', 'set', 'has'].forEach((methodName) => {
|
|
1795
1920
|
Object.defineProperty(obj, methodName + accessorName, {
|
|
1796
|
-
value: function(arg1, arg2, arg3) {
|
|
1921
|
+
value: function (arg1, arg2, arg3) {
|
|
1797
1922
|
return this[methodName].call(this, header, arg1, arg2, arg3);
|
|
1798
1923
|
},
|
|
1799
|
-
configurable: true
|
|
1924
|
+
configurable: true,
|
|
1800
1925
|
});
|
|
1801
1926
|
});
|
|
1802
1927
|
}
|
|
@@ -1818,7 +1943,12 @@ class AxiosHeaders {
|
|
|
1818
1943
|
|
|
1819
1944
|
const key = utils$1.findKey(self, lHeader);
|
|
1820
1945
|
|
|
1821
|
-
if
|
|
1946
|
+
if (
|
|
1947
|
+
!key ||
|
|
1948
|
+
self[key] === undefined ||
|
|
1949
|
+
_rewrite === true ||
|
|
1950
|
+
(_rewrite === undefined && self[key] !== false)
|
|
1951
|
+
) {
|
|
1822
1952
|
self[key || _header] = normalizeValue(_value);
|
|
1823
1953
|
}
|
|
1824
1954
|
}
|
|
@@ -1828,17 +1958,22 @@ class AxiosHeaders {
|
|
|
1828
1958
|
|
|
1829
1959
|
if (utils$1.isPlainObject(header) || header instanceof this.constructor) {
|
|
1830
1960
|
setHeaders(header, valueOrRewrite);
|
|
1831
|
-
} else if(utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
1961
|
+
} else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
1832
1962
|
setHeaders(parseHeaders(header), valueOrRewrite);
|
|
1833
1963
|
} else if (utils$1.isObject(header) && utils$1.isIterable(header)) {
|
|
1834
|
-
let obj = {},
|
|
1964
|
+
let obj = {},
|
|
1965
|
+
dest,
|
|
1966
|
+
key;
|
|
1835
1967
|
for (const entry of header) {
|
|
1836
1968
|
if (!utils$1.isArray(entry)) {
|
|
1837
1969
|
throw TypeError('Object iterator must return a key-value pair');
|
|
1838
1970
|
}
|
|
1839
1971
|
|
|
1840
|
-
obj[key = entry[0]] = (dest = obj[key])
|
|
1841
|
-
|
|
1972
|
+
obj[(key = entry[0])] = (dest = obj[key])
|
|
1973
|
+
? utils$1.isArray(dest)
|
|
1974
|
+
? [...dest, entry[1]]
|
|
1975
|
+
: [dest, entry[1]]
|
|
1976
|
+
: entry[1];
|
|
1842
1977
|
}
|
|
1843
1978
|
|
|
1844
1979
|
setHeaders(obj, valueOrRewrite);
|
|
@@ -1885,7 +2020,11 @@ class AxiosHeaders {
|
|
|
1885
2020
|
if (header) {
|
|
1886
2021
|
const key = utils$1.findKey(this, header);
|
|
1887
2022
|
|
|
1888
|
-
return !!(
|
|
2023
|
+
return !!(
|
|
2024
|
+
key &&
|
|
2025
|
+
this[key] !== undefined &&
|
|
2026
|
+
(!matcher || matchHeaderValue(this, this[key], key, matcher))
|
|
2027
|
+
);
|
|
1889
2028
|
}
|
|
1890
2029
|
|
|
1891
2030
|
return false;
|
|
@@ -1925,7 +2064,7 @@ class AxiosHeaders {
|
|
|
1925
2064
|
|
|
1926
2065
|
while (i--) {
|
|
1927
2066
|
const key = keys[i];
|
|
1928
|
-
if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
|
|
2067
|
+
if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
|
|
1929
2068
|
delete this[key];
|
|
1930
2069
|
deleted = true;
|
|
1931
2070
|
}
|
|
@@ -1969,7 +2108,9 @@ class AxiosHeaders {
|
|
|
1969
2108
|
const obj = Object.create(null);
|
|
1970
2109
|
|
|
1971
2110
|
utils$1.forEach(this, (value, header) => {
|
|
1972
|
-
value != null &&
|
|
2111
|
+
value != null &&
|
|
2112
|
+
value !== false &&
|
|
2113
|
+
(obj[header] = asStrings && utils$1.isArray(value) ? value.join(', ') : value);
|
|
1973
2114
|
});
|
|
1974
2115
|
|
|
1975
2116
|
return obj;
|
|
@@ -1980,11 +2121,13 @@ class AxiosHeaders {
|
|
|
1980
2121
|
}
|
|
1981
2122
|
|
|
1982
2123
|
toString() {
|
|
1983
|
-
return Object.entries(this.toJSON())
|
|
2124
|
+
return Object.entries(this.toJSON())
|
|
2125
|
+
.map(([header, value]) => header + ': ' + value)
|
|
2126
|
+
.join('\n');
|
|
1984
2127
|
}
|
|
1985
2128
|
|
|
1986
2129
|
getSetCookie() {
|
|
1987
|
-
return this.get(
|
|
2130
|
+
return this.get('set-cookie') || [];
|
|
1988
2131
|
}
|
|
1989
2132
|
|
|
1990
2133
|
get [Symbol.toStringTag]() {
|
|
@@ -2004,9 +2147,12 @@ class AxiosHeaders {
|
|
|
2004
2147
|
}
|
|
2005
2148
|
|
|
2006
2149
|
static accessor(header) {
|
|
2007
|
-
const internals =
|
|
2008
|
-
|
|
2009
|
-
|
|
2150
|
+
const internals =
|
|
2151
|
+
(this[$internals] =
|
|
2152
|
+
this[$internals] =
|
|
2153
|
+
{
|
|
2154
|
+
accessors: {},
|
|
2155
|
+
});
|
|
2010
2156
|
|
|
2011
2157
|
const accessors = internals.accessors;
|
|
2012
2158
|
const prototype = this.prototype;
|
|
@@ -2026,17 +2172,24 @@ class AxiosHeaders {
|
|
|
2026
2172
|
}
|
|
2027
2173
|
}
|
|
2028
2174
|
|
|
2029
|
-
AxiosHeaders.accessor([
|
|
2175
|
+
AxiosHeaders.accessor([
|
|
2176
|
+
'Content-Type',
|
|
2177
|
+
'Content-Length',
|
|
2178
|
+
'Accept',
|
|
2179
|
+
'Accept-Encoding',
|
|
2180
|
+
'User-Agent',
|
|
2181
|
+
'Authorization',
|
|
2182
|
+
]);
|
|
2030
2183
|
|
|
2031
2184
|
// reserved names hotfix
|
|
2032
|
-
utils$1.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
|
|
2185
|
+
utils$1.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
2033
2186
|
let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
|
|
2034
2187
|
return {
|
|
2035
2188
|
get: () => value,
|
|
2036
2189
|
set(headerValue) {
|
|
2037
2190
|
this[mapped] = headerValue;
|
|
2038
|
-
}
|
|
2039
|
-
}
|
|
2191
|
+
},
|
|
2192
|
+
};
|
|
2040
2193
|
});
|
|
2041
2194
|
|
|
2042
2195
|
utils$1.freezeMethods(AxiosHeaders);
|
|
@@ -2103,19 +2256,23 @@ function settle(resolve, reject, response) {
|
|
|
2103
2256
|
if (!response.status || !validateStatus || validateStatus(response.status)) {
|
|
2104
2257
|
resolve(response);
|
|
2105
2258
|
} else {
|
|
2106
|
-
reject(
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2259
|
+
reject(
|
|
2260
|
+
new AxiosError$1(
|
|
2261
|
+
'Request failed with status code ' + response.status,
|
|
2262
|
+
[AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][
|
|
2263
|
+
Math.floor(response.status / 100) - 4
|
|
2264
|
+
],
|
|
2265
|
+
response.config,
|
|
2266
|
+
response.request,
|
|
2267
|
+
response
|
|
2268
|
+
)
|
|
2269
|
+
);
|
|
2113
2270
|
}
|
|
2114
2271
|
}
|
|
2115
2272
|
|
|
2116
2273
|
function parseProtocol(url) {
|
|
2117
2274
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
|
2118
|
-
return match && match[1] || '';
|
|
2275
|
+
return (match && match[1]) || '';
|
|
2119
2276
|
}
|
|
2120
2277
|
|
|
2121
2278
|
/**
|
|
@@ -2166,7 +2323,7 @@ function speedometer(samplesCount, min) {
|
|
|
2166
2323
|
|
|
2167
2324
|
const passed = startedAt && now - startedAt;
|
|
2168
2325
|
|
|
2169
|
-
return passed ? Math.round(bytesCount * 1000 / passed) : undefined;
|
|
2326
|
+
return passed ? Math.round((bytesCount * 1000) / passed) : undefined;
|
|
2170
2327
|
};
|
|
2171
2328
|
}
|
|
2172
2329
|
|
|
@@ -2195,7 +2352,7 @@ function throttle(fn, freq) {
|
|
|
2195
2352
|
const throttled = (...args) => {
|
|
2196
2353
|
const now = Date.now();
|
|
2197
2354
|
const passed = now - timestamp;
|
|
2198
|
-
if (
|
|
2355
|
+
if (passed >= threshold) {
|
|
2199
2356
|
invoke(args, now);
|
|
2200
2357
|
} else {
|
|
2201
2358
|
lastArgs = args;
|
|
@@ -2217,7 +2374,7 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
2217
2374
|
let bytesNotified = 0;
|
|
2218
2375
|
const _speedometer = speedometer(50, 250);
|
|
2219
2376
|
|
|
2220
|
-
return throttle(e => {
|
|
2377
|
+
return throttle((e) => {
|
|
2221
2378
|
const loaded = e.loaded;
|
|
2222
2379
|
const total = e.lengthComputable ? e.total : undefined;
|
|
2223
2380
|
const progressBytes = loaded - bytesNotified;
|
|
@@ -2229,13 +2386,13 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
2229
2386
|
const data = {
|
|
2230
2387
|
loaded,
|
|
2231
2388
|
total,
|
|
2232
|
-
progress: total ?
|
|
2389
|
+
progress: total ? loaded / total : undefined,
|
|
2233
2390
|
bytes: progressBytes,
|
|
2234
2391
|
rate: rate ? rate : undefined,
|
|
2235
2392
|
estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
|
|
2236
2393
|
event: e,
|
|
2237
2394
|
lengthComputable: total != null,
|
|
2238
|
-
[isDownloadStream ? 'download' : 'upload']: true
|
|
2395
|
+
[isDownloadStream ? 'download' : 'upload']: true,
|
|
2239
2396
|
};
|
|
2240
2397
|
|
|
2241
2398
|
listener(data);
|
|
@@ -2245,77 +2402,82 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
2245
2402
|
const progressEventDecorator = (total, throttled) => {
|
|
2246
2403
|
const lengthComputable = total != null;
|
|
2247
2404
|
|
|
2248
|
-
return [
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2405
|
+
return [
|
|
2406
|
+
(loaded) =>
|
|
2407
|
+
throttled[0]({
|
|
2408
|
+
lengthComputable,
|
|
2409
|
+
total,
|
|
2410
|
+
loaded,
|
|
2411
|
+
}),
|
|
2412
|
+
throttled[1],
|
|
2413
|
+
];
|
|
2253
2414
|
};
|
|
2254
2415
|
|
|
2255
|
-
const asyncDecorator =
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2416
|
+
const asyncDecorator =
|
|
2417
|
+
(fn) =>
|
|
2418
|
+
(...args) =>
|
|
2419
|
+
utils$1.asap(() => fn(...args));
|
|
2259
2420
|
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
(isMSIE || origin.port === url.port)
|
|
2264
|
-
);
|
|
2265
|
-
})(
|
|
2266
|
-
new URL(platform.origin),
|
|
2267
|
-
platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)
|
|
2268
|
-
) : () => true;
|
|
2421
|
+
var isURLSameOrigin = platform.hasStandardBrowserEnv
|
|
2422
|
+
? ((origin, isMSIE) => (url) => {
|
|
2423
|
+
url = new URL(url, platform.origin);
|
|
2269
2424
|
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2425
|
+
return (
|
|
2426
|
+
origin.protocol === url.protocol &&
|
|
2427
|
+
origin.host === url.host &&
|
|
2428
|
+
(isMSIE || origin.port === url.port)
|
|
2429
|
+
);
|
|
2430
|
+
})(
|
|
2431
|
+
new URL(platform.origin),
|
|
2432
|
+
platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)
|
|
2433
|
+
)
|
|
2434
|
+
: () => true;
|
|
2435
|
+
|
|
2436
|
+
var cookies = platform.hasStandardBrowserEnv
|
|
2437
|
+
? // Standard browser envs support document.cookie
|
|
2438
|
+
{
|
|
2439
|
+
write(name, value, expires, path, domain, secure, sameSite) {
|
|
2440
|
+
if (typeof document === 'undefined') return;
|
|
2441
|
+
|
|
2442
|
+
const cookie = [`${name}=${encodeURIComponent(value)}`];
|
|
2443
|
+
|
|
2444
|
+
if (utils$1.isNumber(expires)) {
|
|
2445
|
+
cookie.push(`expires=${new Date(expires).toUTCString()}`);
|
|
2446
|
+
}
|
|
2447
|
+
if (utils$1.isString(path)) {
|
|
2448
|
+
cookie.push(`path=${path}`);
|
|
2449
|
+
}
|
|
2450
|
+
if (utils$1.isString(domain)) {
|
|
2451
|
+
cookie.push(`domain=${domain}`);
|
|
2452
|
+
}
|
|
2453
|
+
if (secure === true) {
|
|
2454
|
+
cookie.push('secure');
|
|
2455
|
+
}
|
|
2456
|
+
if (utils$1.isString(sameSite)) {
|
|
2457
|
+
cookie.push(`SameSite=${sameSite}`);
|
|
2458
|
+
}
|
|
2294
2459
|
|
|
2295
|
-
|
|
2296
|
-
|
|
2460
|
+
document.cookie = cookie.join('; ');
|
|
2461
|
+
},
|
|
2297
2462
|
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2463
|
+
read(name) {
|
|
2464
|
+
if (typeof document === 'undefined') return null;
|
|
2465
|
+
const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
|
|
2466
|
+
return match ? decodeURIComponent(match[1]) : null;
|
|
2467
|
+
},
|
|
2303
2468
|
|
|
2304
|
-
|
|
2305
|
-
|
|
2469
|
+
remove(name) {
|
|
2470
|
+
this.write(name, '', Date.now() - 86400000, '/');
|
|
2471
|
+
},
|
|
2306
2472
|
}
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
return null;
|
|
2316
|
-
},
|
|
2317
|
-
remove() {}
|
|
2318
|
-
};
|
|
2473
|
+
: // Non-standard browser env (web workers, react-native) lack needed support.
|
|
2474
|
+
{
|
|
2475
|
+
write() {},
|
|
2476
|
+
read() {
|
|
2477
|
+
return null;
|
|
2478
|
+
},
|
|
2479
|
+
remove() {},
|
|
2480
|
+
};
|
|
2319
2481
|
|
|
2320
2482
|
/**
|
|
2321
2483
|
* Determines whether the specified URL is absolute
|
|
@@ -2367,8 +2529,7 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
|
2367
2529
|
return requestedURL;
|
|
2368
2530
|
}
|
|
2369
2531
|
|
|
2370
|
-
const headersToObject = (thing) =>
|
|
2371
|
-
thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
|
|
2532
|
+
const headersToObject = (thing) => (thing instanceof AxiosHeaders$1 ? { ...thing } : thing);
|
|
2372
2533
|
|
|
2373
2534
|
/**
|
|
2374
2535
|
* Config-specific merge-function which creates a new config-object
|
|
@@ -2461,23 +2622,12 @@ function mergeConfig(config1, config2) {
|
|
|
2461
2622
|
mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),
|
|
2462
2623
|
};
|
|
2463
2624
|
|
|
2464
|
-
utils$1.forEach(
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
prop === "prototype"
|
|
2471
|
-
)
|
|
2472
|
-
return;
|
|
2473
|
-
const merge = utils$1.hasOwnProp(mergeMap, prop)
|
|
2474
|
-
? mergeMap[prop]
|
|
2475
|
-
: mergeDeepProperties;
|
|
2476
|
-
const configValue = merge(config1[prop], config2[prop], prop);
|
|
2477
|
-
(utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) ||
|
|
2478
|
-
(config[prop] = configValue);
|
|
2479
|
-
},
|
|
2480
|
-
);
|
|
2625
|
+
utils$1.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
|
|
2626
|
+
if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;
|
|
2627
|
+
const merge = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
|
|
2628
|
+
const configValue = merge(config1[prop], config2[prop], prop);
|
|
2629
|
+
(utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
|
|
2630
|
+
});
|
|
2481
2631
|
|
|
2482
2632
|
return config;
|
|
2483
2633
|
}
|
|
@@ -2489,12 +2639,22 @@ var resolveConfig = (config) => {
|
|
|
2489
2639
|
|
|
2490
2640
|
newConfig.headers = headers = AxiosHeaders$1.from(headers);
|
|
2491
2641
|
|
|
2492
|
-
newConfig.url = buildURL(
|
|
2642
|
+
newConfig.url = buildURL(
|
|
2643
|
+
buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls),
|
|
2644
|
+
config.params,
|
|
2645
|
+
config.paramsSerializer
|
|
2646
|
+
);
|
|
2493
2647
|
|
|
2494
2648
|
// HTTP basic authentication
|
|
2495
2649
|
if (auth) {
|
|
2496
|
-
headers.set(
|
|
2497
|
-
|
|
2650
|
+
headers.set(
|
|
2651
|
+
'Authorization',
|
|
2652
|
+
'Basic ' +
|
|
2653
|
+
btoa(
|
|
2654
|
+
(auth.username || '') +
|
|
2655
|
+
':' +
|
|
2656
|
+
(auth.password ? unescape(encodeURIComponent(auth.password)) : '')
|
|
2657
|
+
)
|
|
2498
2658
|
);
|
|
2499
2659
|
}
|
|
2500
2660
|
|
|
@@ -2512,7 +2672,7 @@ var resolveConfig = (config) => {
|
|
|
2512
2672
|
}
|
|
2513
2673
|
});
|
|
2514
2674
|
}
|
|
2515
|
-
}
|
|
2675
|
+
}
|
|
2516
2676
|
|
|
2517
2677
|
// Add xsrf header
|
|
2518
2678
|
// This is only done if running in a standard browser environment.
|
|
@@ -2536,196 +2696,218 @@ var resolveConfig = (config) => {
|
|
|
2536
2696
|
|
|
2537
2697
|
const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
2538
2698
|
|
|
2539
|
-
var xhrAdapter = isXHRAdapterSupported &&
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2699
|
+
var xhrAdapter = isXHRAdapterSupported &&
|
|
2700
|
+
function (config) {
|
|
2701
|
+
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
2702
|
+
const _config = resolveConfig(config);
|
|
2703
|
+
let requestData = _config.data;
|
|
2704
|
+
const requestHeaders = AxiosHeaders$1.from(_config.headers).normalize();
|
|
2705
|
+
let { responseType, onUploadProgress, onDownloadProgress } = _config;
|
|
2706
|
+
let onCanceled;
|
|
2707
|
+
let uploadThrottled, downloadThrottled;
|
|
2708
|
+
let flushUpload, flushDownload;
|
|
2548
2709
|
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2710
|
+
function done() {
|
|
2711
|
+
flushUpload && flushUpload(); // flush events
|
|
2712
|
+
flushDownload && flushDownload(); // flush events
|
|
2552
2713
|
|
|
2553
|
-
|
|
2714
|
+
_config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
|
|
2554
2715
|
|
|
2555
|
-
|
|
2556
|
-
|
|
2716
|
+
_config.signal && _config.signal.removeEventListener('abort', onCanceled);
|
|
2717
|
+
}
|
|
2557
2718
|
|
|
2558
|
-
|
|
2719
|
+
let request = new XMLHttpRequest();
|
|
2559
2720
|
|
|
2560
|
-
|
|
2721
|
+
request.open(_config.method.toUpperCase(), _config.url, true);
|
|
2561
2722
|
|
|
2562
|
-
|
|
2563
|
-
|
|
2723
|
+
// Set the request timeout in MS
|
|
2724
|
+
request.timeout = _config.timeout;
|
|
2564
2725
|
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2726
|
+
function onloadend() {
|
|
2727
|
+
if (!request) {
|
|
2728
|
+
return;
|
|
2729
|
+
}
|
|
2730
|
+
// Prepare the response
|
|
2731
|
+
const responseHeaders = AxiosHeaders$1.from(
|
|
2732
|
+
'getAllResponseHeaders' in request && request.getAllResponseHeaders()
|
|
2733
|
+
);
|
|
2734
|
+
const responseData =
|
|
2735
|
+
!responseType || responseType === 'text' || responseType === 'json'
|
|
2736
|
+
? request.responseText
|
|
2737
|
+
: request.response;
|
|
2738
|
+
const response = {
|
|
2739
|
+
data: responseData,
|
|
2740
|
+
status: request.status,
|
|
2741
|
+
statusText: request.statusText,
|
|
2742
|
+
headers: responseHeaders,
|
|
2743
|
+
config,
|
|
2744
|
+
request,
|
|
2745
|
+
};
|
|
2746
|
+
|
|
2747
|
+
settle(
|
|
2748
|
+
function _resolve(value) {
|
|
2749
|
+
resolve(value);
|
|
2750
|
+
done();
|
|
2751
|
+
},
|
|
2752
|
+
function _reject(err) {
|
|
2753
|
+
reject(err);
|
|
2754
|
+
done();
|
|
2755
|
+
},
|
|
2756
|
+
response
|
|
2757
|
+
);
|
|
2758
|
+
|
|
2759
|
+
// Clean up request
|
|
2760
|
+
request = null;
|
|
2568
2761
|
}
|
|
2569
|
-
// Prepare the response
|
|
2570
|
-
const responseHeaders = AxiosHeaders$1.from(
|
|
2571
|
-
'getAllResponseHeaders' in request && request.getAllResponseHeaders()
|
|
2572
|
-
);
|
|
2573
|
-
const responseData = !responseType || responseType === 'text' || responseType === 'json' ?
|
|
2574
|
-
request.responseText : request.response;
|
|
2575
|
-
const response = {
|
|
2576
|
-
data: responseData,
|
|
2577
|
-
status: request.status,
|
|
2578
|
-
statusText: request.statusText,
|
|
2579
|
-
headers: responseHeaders,
|
|
2580
|
-
config,
|
|
2581
|
-
request
|
|
2582
|
-
};
|
|
2583
2762
|
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
}
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2763
|
+
if ('onloadend' in request) {
|
|
2764
|
+
// Use onloadend if available
|
|
2765
|
+
request.onloadend = onloadend;
|
|
2766
|
+
} else {
|
|
2767
|
+
// Listen for ready state to emulate onloadend
|
|
2768
|
+
request.onreadystatechange = function handleLoad() {
|
|
2769
|
+
if (!request || request.readyState !== 4) {
|
|
2770
|
+
return;
|
|
2771
|
+
}
|
|
2591
2772
|
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2773
|
+
// The request errored out and we didn't get a response, this will be
|
|
2774
|
+
// handled by onerror instead
|
|
2775
|
+
// With one exception: request that using file: protocol, most browsers
|
|
2776
|
+
// will return status as 0 even though it's a successful request
|
|
2777
|
+
if (
|
|
2778
|
+
request.status === 0 &&
|
|
2779
|
+
!(request.responseURL && request.responseURL.indexOf('file:') === 0)
|
|
2780
|
+
) {
|
|
2781
|
+
return;
|
|
2782
|
+
}
|
|
2783
|
+
// readystate handler is calling before onerror or ontimeout handlers,
|
|
2784
|
+
// so we should call onloadend on the next 'tick'
|
|
2785
|
+
setTimeout(onloadend);
|
|
2786
|
+
};
|
|
2787
|
+
}
|
|
2595
2788
|
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
} else {
|
|
2600
|
-
// Listen for ready state to emulate onloadend
|
|
2601
|
-
request.onreadystatechange = function handleLoad() {
|
|
2602
|
-
if (!request || request.readyState !== 4) {
|
|
2789
|
+
// Handle browser request cancellation (as opposed to a manual cancellation)
|
|
2790
|
+
request.onabort = function handleAbort() {
|
|
2791
|
+
if (!request) {
|
|
2603
2792
|
return;
|
|
2604
2793
|
}
|
|
2605
2794
|
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
//
|
|
2609
|
-
|
|
2610
|
-
if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
|
|
2611
|
-
return;
|
|
2612
|
-
}
|
|
2613
|
-
// readystate handler is calling before onerror or ontimeout handlers,
|
|
2614
|
-
// so we should call onloadend on the next 'tick'
|
|
2615
|
-
setTimeout(onloadend);
|
|
2795
|
+
reject(new AxiosError$1('Request aborted', AxiosError$1.ECONNABORTED, config, request));
|
|
2796
|
+
|
|
2797
|
+
// Clean up request
|
|
2798
|
+
request = null;
|
|
2616
2799
|
};
|
|
2617
|
-
}
|
|
2618
2800
|
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2801
|
+
// Handle low level network errors
|
|
2802
|
+
request.onerror = function handleError(event) {
|
|
2803
|
+
// Browsers deliver a ProgressEvent in XHR onerror
|
|
2804
|
+
// (message may be empty; when present, surface it)
|
|
2805
|
+
// See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
|
|
2806
|
+
const msg = event && event.message ? event.message : 'Network Error';
|
|
2807
|
+
const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config, request);
|
|
2808
|
+
// attach the underlying event for consumers who want details
|
|
2809
|
+
err.event = event || null;
|
|
2810
|
+
reject(err);
|
|
2811
|
+
request = null;
|
|
2812
|
+
};
|
|
2624
2813
|
|
|
2625
|
-
|
|
2814
|
+
// Handle timeout
|
|
2815
|
+
request.ontimeout = function handleTimeout() {
|
|
2816
|
+
let timeoutErrorMessage = _config.timeout
|
|
2817
|
+
? 'timeout of ' + _config.timeout + 'ms exceeded'
|
|
2818
|
+
: 'timeout exceeded';
|
|
2819
|
+
const transitional = _config.transitional || transitionalDefaults;
|
|
2820
|
+
if (_config.timeoutErrorMessage) {
|
|
2821
|
+
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
2822
|
+
}
|
|
2823
|
+
reject(
|
|
2824
|
+
new AxiosError$1(
|
|
2825
|
+
timeoutErrorMessage,
|
|
2826
|
+
transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
|
|
2827
|
+
config,
|
|
2828
|
+
request
|
|
2829
|
+
)
|
|
2830
|
+
);
|
|
2626
2831
|
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2832
|
+
// Clean up request
|
|
2833
|
+
request = null;
|
|
2834
|
+
};
|
|
2630
2835
|
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
// Browsers deliver a ProgressEvent in XHR onerror
|
|
2634
|
-
// (message may be empty; when present, surface it)
|
|
2635
|
-
// See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
|
|
2636
|
-
const msg = event && event.message ? event.message : 'Network Error';
|
|
2637
|
-
const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config, request);
|
|
2638
|
-
// attach the underlying event for consumers who want details
|
|
2639
|
-
err.event = event || null;
|
|
2640
|
-
reject(err);
|
|
2641
|
-
request = null;
|
|
2642
|
-
};
|
|
2643
|
-
|
|
2644
|
-
// Handle timeout
|
|
2645
|
-
request.ontimeout = function handleTimeout() {
|
|
2646
|
-
let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
2647
|
-
const transitional = _config.transitional || transitionalDefaults;
|
|
2648
|
-
if (_config.timeoutErrorMessage) {
|
|
2649
|
-
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
2650
|
-
}
|
|
2651
|
-
reject(new AxiosError$1(
|
|
2652
|
-
timeoutErrorMessage,
|
|
2653
|
-
transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
|
|
2654
|
-
config,
|
|
2655
|
-
request));
|
|
2656
|
-
|
|
2657
|
-
// Clean up request
|
|
2658
|
-
request = null;
|
|
2659
|
-
};
|
|
2836
|
+
// Remove Content-Type if data is undefined
|
|
2837
|
+
requestData === undefined && requestHeaders.setContentType(null);
|
|
2660
2838
|
|
|
2661
|
-
|
|
2662
|
-
|
|
2839
|
+
// Add headers to the request
|
|
2840
|
+
if ('setRequestHeader' in request) {
|
|
2841
|
+
utils$1.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
|
|
2842
|
+
request.setRequestHeader(key, val);
|
|
2843
|
+
});
|
|
2844
|
+
}
|
|
2663
2845
|
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
});
|
|
2669
|
-
}
|
|
2846
|
+
// Add withCredentials to request if needed
|
|
2847
|
+
if (!utils$1.isUndefined(_config.withCredentials)) {
|
|
2848
|
+
request.withCredentials = !!_config.withCredentials;
|
|
2849
|
+
}
|
|
2670
2850
|
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2851
|
+
// Add responseType to request if needed
|
|
2852
|
+
if (responseType && responseType !== 'json') {
|
|
2853
|
+
request.responseType = _config.responseType;
|
|
2854
|
+
}
|
|
2675
2855
|
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2856
|
+
// Handle progress if needed
|
|
2857
|
+
if (onDownloadProgress) {
|
|
2858
|
+
[downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true);
|
|
2859
|
+
request.addEventListener('progress', downloadThrottled);
|
|
2860
|
+
}
|
|
2680
2861
|
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
request.addEventListener('progress', downloadThrottled);
|
|
2685
|
-
}
|
|
2862
|
+
// Not all browsers support upload events
|
|
2863
|
+
if (onUploadProgress && request.upload) {
|
|
2864
|
+
[uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);
|
|
2686
2865
|
|
|
2687
|
-
|
|
2688
|
-
if (onUploadProgress && request.upload) {
|
|
2689
|
-
([uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress));
|
|
2866
|
+
request.upload.addEventListener('progress', uploadThrottled);
|
|
2690
2867
|
|
|
2691
|
-
|
|
2868
|
+
request.upload.addEventListener('loadend', flushUpload);
|
|
2869
|
+
}
|
|
2692
2870
|
|
|
2693
|
-
|
|
2694
|
-
|
|
2871
|
+
if (_config.cancelToken || _config.signal) {
|
|
2872
|
+
// Handle cancellation
|
|
2873
|
+
// eslint-disable-next-line func-names
|
|
2874
|
+
onCanceled = (cancel) => {
|
|
2875
|
+
if (!request) {
|
|
2876
|
+
return;
|
|
2877
|
+
}
|
|
2878
|
+
reject(!cancel || cancel.type ? new CanceledError$1(null, config, request) : cancel);
|
|
2879
|
+
request.abort();
|
|
2880
|
+
request = null;
|
|
2881
|
+
};
|
|
2695
2882
|
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
return;
|
|
2883
|
+
_config.cancelToken && _config.cancelToken.subscribe(onCanceled);
|
|
2884
|
+
if (_config.signal) {
|
|
2885
|
+
_config.signal.aborted
|
|
2886
|
+
? onCanceled()
|
|
2887
|
+
: _config.signal.addEventListener('abort', onCanceled);
|
|
2702
2888
|
}
|
|
2703
|
-
reject(!cancel || cancel.type ? new CanceledError$1(null, config, request) : cancel);
|
|
2704
|
-
request.abort();
|
|
2705
|
-
request = null;
|
|
2706
|
-
};
|
|
2707
|
-
|
|
2708
|
-
_config.cancelToken && _config.cancelToken.subscribe(onCanceled);
|
|
2709
|
-
if (_config.signal) {
|
|
2710
|
-
_config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
|
|
2711
2889
|
}
|
|
2712
|
-
}
|
|
2713
2890
|
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
if (protocol && platform.protocols.indexOf(protocol) === -1) {
|
|
2717
|
-
reject(new AxiosError$1('Unsupported protocol ' + protocol + ':', AxiosError$1.ERR_BAD_REQUEST, config));
|
|
2718
|
-
return;
|
|
2719
|
-
}
|
|
2891
|
+
const protocol = parseProtocol(_config.url);
|
|
2720
2892
|
|
|
2893
|
+
if (protocol && platform.protocols.indexOf(protocol) === -1) {
|
|
2894
|
+
reject(
|
|
2895
|
+
new AxiosError$1(
|
|
2896
|
+
'Unsupported protocol ' + protocol + ':',
|
|
2897
|
+
AxiosError$1.ERR_BAD_REQUEST,
|
|
2898
|
+
config
|
|
2899
|
+
)
|
|
2900
|
+
);
|
|
2901
|
+
return;
|
|
2902
|
+
}
|
|
2721
2903
|
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
};
|
|
2904
|
+
// Send the request
|
|
2905
|
+
request.send(requestData || null);
|
|
2906
|
+
});
|
|
2907
|
+
};
|
|
2726
2908
|
|
|
2727
2909
|
const composeSignals = (signals, timeout) => {
|
|
2728
|
-
const {length} = (signals = signals ? signals.filter(Boolean) : []);
|
|
2910
|
+
const { length } = (signals = signals ? signals.filter(Boolean) : []);
|
|
2729
2911
|
|
|
2730
2912
|
if (timeout || length) {
|
|
2731
2913
|
let controller = new AbortController();
|
|
@@ -2737,21 +2919,29 @@ const composeSignals = (signals, timeout) => {
|
|
|
2737
2919
|
aborted = true;
|
|
2738
2920
|
unsubscribe();
|
|
2739
2921
|
const err = reason instanceof Error ? reason : this.reason;
|
|
2740
|
-
controller.abort(
|
|
2922
|
+
controller.abort(
|
|
2923
|
+
err instanceof AxiosError$1
|
|
2924
|
+
? err
|
|
2925
|
+
: new CanceledError$1(err instanceof Error ? err.message : err)
|
|
2926
|
+
);
|
|
2741
2927
|
}
|
|
2742
2928
|
};
|
|
2743
2929
|
|
|
2744
|
-
let timer =
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2930
|
+
let timer =
|
|
2931
|
+
timeout &&
|
|
2932
|
+
setTimeout(() => {
|
|
2933
|
+
timer = null;
|
|
2934
|
+
onabort(new AxiosError$1(`timeout of ${timeout}ms exceeded`, AxiosError$1.ETIMEDOUT));
|
|
2935
|
+
}, timeout);
|
|
2748
2936
|
|
|
2749
2937
|
const unsubscribe = () => {
|
|
2750
2938
|
if (signals) {
|
|
2751
2939
|
timer && clearTimeout(timer);
|
|
2752
2940
|
timer = null;
|
|
2753
|
-
signals.forEach(signal => {
|
|
2754
|
-
signal.unsubscribe
|
|
2941
|
+
signals.forEach((signal) => {
|
|
2942
|
+
signal.unsubscribe
|
|
2943
|
+
? signal.unsubscribe(onabort)
|
|
2944
|
+
: signal.removeEventListener('abort', onabort);
|
|
2755
2945
|
});
|
|
2756
2946
|
signals = null;
|
|
2757
2947
|
}
|
|
@@ -2759,7 +2949,7 @@ const composeSignals = (signals, timeout) => {
|
|
|
2759
2949
|
|
|
2760
2950
|
signals.forEach((signal) => signal.addEventListener('abort', onabort));
|
|
2761
2951
|
|
|
2762
|
-
const {signal} = controller;
|
|
2952
|
+
const { signal } = controller;
|
|
2763
2953
|
|
|
2764
2954
|
signal.unsubscribe = () => utils$1.asap(unsubscribe);
|
|
2765
2955
|
|
|
@@ -2802,7 +2992,7 @@ const readStream = async function* (stream) {
|
|
|
2802
2992
|
const reader = stream.getReader();
|
|
2803
2993
|
try {
|
|
2804
2994
|
for (;;) {
|
|
2805
|
-
const {done, value} = await reader.read();
|
|
2995
|
+
const { done, value } = await reader.read();
|
|
2806
2996
|
if (done) {
|
|
2807
2997
|
break;
|
|
2808
2998
|
}
|
|
@@ -2825,64 +3015,69 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
2825
3015
|
}
|
|
2826
3016
|
};
|
|
2827
3017
|
|
|
2828
|
-
return new ReadableStream(
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
3018
|
+
return new ReadableStream(
|
|
3019
|
+
{
|
|
3020
|
+
async pull(controller) {
|
|
3021
|
+
try {
|
|
3022
|
+
const { done, value } = await iterator.next();
|
|
2832
3023
|
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
3024
|
+
if (done) {
|
|
3025
|
+
_onFinish();
|
|
3026
|
+
controller.close();
|
|
3027
|
+
return;
|
|
3028
|
+
}
|
|
2838
3029
|
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
3030
|
+
let len = value.byteLength;
|
|
3031
|
+
if (onProgress) {
|
|
3032
|
+
let loadedBytes = (bytes += len);
|
|
3033
|
+
onProgress(loadedBytes);
|
|
3034
|
+
}
|
|
3035
|
+
controller.enqueue(new Uint8Array(value));
|
|
3036
|
+
} catch (err) {
|
|
3037
|
+
_onFinish(err);
|
|
3038
|
+
throw err;
|
|
2843
3039
|
}
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
_onFinish(
|
|
2847
|
-
|
|
2848
|
-
}
|
|
3040
|
+
},
|
|
3041
|
+
cancel(reason) {
|
|
3042
|
+
_onFinish(reason);
|
|
3043
|
+
return iterator.return();
|
|
3044
|
+
},
|
|
2849
3045
|
},
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
return iterator.return();
|
|
3046
|
+
{
|
|
3047
|
+
highWaterMark: 2,
|
|
2853
3048
|
}
|
|
2854
|
-
|
|
2855
|
-
highWaterMark: 2
|
|
2856
|
-
})
|
|
3049
|
+
);
|
|
2857
3050
|
};
|
|
2858
3051
|
|
|
2859
3052
|
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
2860
3053
|
|
|
2861
|
-
const {isFunction} = utils$1;
|
|
3054
|
+
const { isFunction } = utils$1;
|
|
2862
3055
|
|
|
2863
|
-
const globalFetchAPI = (({Request, Response}) => ({
|
|
2864
|
-
Request,
|
|
3056
|
+
const globalFetchAPI = (({ Request, Response }) => ({
|
|
3057
|
+
Request,
|
|
3058
|
+
Response,
|
|
2865
3059
|
}))(utils$1.global);
|
|
2866
3060
|
|
|
2867
|
-
const {
|
|
2868
|
-
ReadableStream: ReadableStream$1, TextEncoder
|
|
2869
|
-
} = utils$1.global;
|
|
2870
|
-
|
|
3061
|
+
const { ReadableStream: ReadableStream$1, TextEncoder } = utils$1.global;
|
|
2871
3062
|
|
|
2872
3063
|
const test = (fn, ...args) => {
|
|
2873
3064
|
try {
|
|
2874
3065
|
return !!fn(...args);
|
|
2875
3066
|
} catch (e) {
|
|
2876
|
-
return false
|
|
3067
|
+
return false;
|
|
2877
3068
|
}
|
|
2878
3069
|
};
|
|
2879
3070
|
|
|
2880
3071
|
const factory = (env) => {
|
|
2881
|
-
env = utils$1.merge.call(
|
|
2882
|
-
|
|
2883
|
-
|
|
3072
|
+
env = utils$1.merge.call(
|
|
3073
|
+
{
|
|
3074
|
+
skipUndefined: true,
|
|
3075
|
+
},
|
|
3076
|
+
globalFetchAPI,
|
|
3077
|
+
env
|
|
3078
|
+
);
|
|
2884
3079
|
|
|
2885
|
-
const {fetch: envFetch, Request, Response} = env;
|
|
3080
|
+
const { fetch: envFetch, Request, Response } = env;
|
|
2886
3081
|
const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function';
|
|
2887
3082
|
const isRequestSupported = isFunction(Request);
|
|
2888
3083
|
const isResponseSupported = isFunction(Response);
|
|
@@ -2893,46 +3088,61 @@ const factory = (env) => {
|
|
|
2893
3088
|
|
|
2894
3089
|
const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream$1);
|
|
2895
3090
|
|
|
2896
|
-
const encodeText =
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
3091
|
+
const encodeText =
|
|
3092
|
+
isFetchSupported &&
|
|
3093
|
+
(typeof TextEncoder === 'function'
|
|
3094
|
+
? (
|
|
3095
|
+
(encoder) => (str) =>
|
|
3096
|
+
encoder.encode(str)
|
|
3097
|
+
)(new TextEncoder())
|
|
3098
|
+
: async (str) => new Uint8Array(await new Request(str).arrayBuffer()));
|
|
3099
|
+
|
|
3100
|
+
const supportsRequestStream =
|
|
3101
|
+
isRequestSupported &&
|
|
3102
|
+
isReadableStreamSupported &&
|
|
3103
|
+
test(() => {
|
|
3104
|
+
let duplexAccessed = false;
|
|
3105
|
+
|
|
3106
|
+
const hasContentType = new Request(platform.origin, {
|
|
3107
|
+
body: new ReadableStream$1(),
|
|
3108
|
+
method: 'POST',
|
|
3109
|
+
get duplex() {
|
|
3110
|
+
duplexAccessed = true;
|
|
3111
|
+
return 'half';
|
|
3112
|
+
},
|
|
3113
|
+
}).headers.has('Content-Type');
|
|
2912
3114
|
|
|
2913
|
-
|
|
2914
|
-
|
|
3115
|
+
return duplexAccessed && !hasContentType;
|
|
3116
|
+
});
|
|
2915
3117
|
|
|
2916
|
-
const supportsResponseStream =
|
|
3118
|
+
const supportsResponseStream =
|
|
3119
|
+
isResponseSupported &&
|
|
3120
|
+
isReadableStreamSupported &&
|
|
2917
3121
|
test(() => utils$1.isReadableStream(new Response('').body));
|
|
2918
3122
|
|
|
2919
3123
|
const resolvers = {
|
|
2920
|
-
stream: supportsResponseStream && ((res) => res.body)
|
|
3124
|
+
stream: supportsResponseStream && ((res) => res.body),
|
|
2921
3125
|
};
|
|
2922
3126
|
|
|
2923
|
-
isFetchSupported &&
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
3127
|
+
isFetchSupported &&
|
|
3128
|
+
(() => {
|
|
3129
|
+
['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => {
|
|
3130
|
+
!resolvers[type] &&
|
|
3131
|
+
(resolvers[type] = (res, config) => {
|
|
3132
|
+
let method = res && res[type];
|
|
2927
3133
|
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
3134
|
+
if (method) {
|
|
3135
|
+
return method.call(res);
|
|
3136
|
+
}
|
|
2931
3137
|
|
|
2932
|
-
|
|
3138
|
+
throw new AxiosError$1(
|
|
3139
|
+
`Response type '${type}' is not supported`,
|
|
3140
|
+
AxiosError$1.ERR_NOT_SUPPORT,
|
|
3141
|
+
config
|
|
3142
|
+
);
|
|
3143
|
+
});
|
|
2933
3144
|
});
|
|
2934
|
-
});
|
|
2935
|
-
})());
|
|
3145
|
+
})();
|
|
2936
3146
|
|
|
2937
3147
|
const getBodyLength = async (body) => {
|
|
2938
3148
|
if (body == null) {
|
|
@@ -2983,32 +3193,41 @@ const factory = (env) => {
|
|
|
2983
3193
|
responseType,
|
|
2984
3194
|
headers,
|
|
2985
3195
|
withCredentials = 'same-origin',
|
|
2986
|
-
fetchOptions
|
|
3196
|
+
fetchOptions,
|
|
2987
3197
|
} = resolveConfig(config);
|
|
2988
3198
|
|
|
2989
3199
|
let _fetch = envFetch || fetch;
|
|
2990
3200
|
|
|
2991
3201
|
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
|
2992
3202
|
|
|
2993
|
-
let composedSignal = composeSignals$1(
|
|
3203
|
+
let composedSignal = composeSignals$1(
|
|
3204
|
+
[signal, cancelToken && cancelToken.toAbortSignal()],
|
|
3205
|
+
timeout
|
|
3206
|
+
);
|
|
2994
3207
|
|
|
2995
3208
|
let request = null;
|
|
2996
3209
|
|
|
2997
|
-
const unsubscribe =
|
|
2998
|
-
composedSignal
|
|
2999
|
-
|
|
3210
|
+
const unsubscribe =
|
|
3211
|
+
composedSignal &&
|
|
3212
|
+
composedSignal.unsubscribe &&
|
|
3213
|
+
(() => {
|
|
3214
|
+
composedSignal.unsubscribe();
|
|
3215
|
+
});
|
|
3000
3216
|
|
|
3001
3217
|
let requestContentLength;
|
|
3002
3218
|
|
|
3003
3219
|
try {
|
|
3004
3220
|
if (
|
|
3005
|
-
onUploadProgress &&
|
|
3221
|
+
onUploadProgress &&
|
|
3222
|
+
supportsRequestStream &&
|
|
3223
|
+
method !== 'get' &&
|
|
3224
|
+
method !== 'head' &&
|
|
3006
3225
|
(requestContentLength = await resolveBodyLength(headers, data)) !== 0
|
|
3007
3226
|
) {
|
|
3008
3227
|
let _request = new Request(url, {
|
|
3009
3228
|
method: 'POST',
|
|
3010
3229
|
body: data,
|
|
3011
|
-
duplex:
|
|
3230
|
+
duplex: 'half',
|
|
3012
3231
|
});
|
|
3013
3232
|
|
|
3014
3233
|
let contentTypeHeader;
|
|
@@ -3033,7 +3252,7 @@ const factory = (env) => {
|
|
|
3033
3252
|
|
|
3034
3253
|
// Cloudflare Workers throws when credentials are defined
|
|
3035
3254
|
// see https://github.com/cloudflare/workerd/issues/902
|
|
3036
|
-
const isCredentialsSupported = isRequestSupported &&
|
|
3255
|
+
const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;
|
|
3037
3256
|
|
|
3038
3257
|
const resolvedOptions = {
|
|
3039
3258
|
...fetchOptions,
|
|
@@ -3041,29 +3260,35 @@ const factory = (env) => {
|
|
|
3041
3260
|
method: method.toUpperCase(),
|
|
3042
3261
|
headers: headers.normalize().toJSON(),
|
|
3043
3262
|
body: data,
|
|
3044
|
-
duplex:
|
|
3045
|
-
credentials: isCredentialsSupported ? withCredentials : undefined
|
|
3263
|
+
duplex: 'half',
|
|
3264
|
+
credentials: isCredentialsSupported ? withCredentials : undefined,
|
|
3046
3265
|
};
|
|
3047
3266
|
|
|
3048
3267
|
request = isRequestSupported && new Request(url, resolvedOptions);
|
|
3049
3268
|
|
|
3050
|
-
let response = await (isRequestSupported
|
|
3269
|
+
let response = await (isRequestSupported
|
|
3270
|
+
? _fetch(request, fetchOptions)
|
|
3271
|
+
: _fetch(url, resolvedOptions));
|
|
3051
3272
|
|
|
3052
|
-
const isStreamResponse =
|
|
3273
|
+
const isStreamResponse =
|
|
3274
|
+
supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
3053
3275
|
|
|
3054
3276
|
if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {
|
|
3055
3277
|
const options = {};
|
|
3056
3278
|
|
|
3057
|
-
['status', 'statusText', 'headers'].forEach(prop => {
|
|
3279
|
+
['status', 'statusText', 'headers'].forEach((prop) => {
|
|
3058
3280
|
options[prop] = response[prop];
|
|
3059
3281
|
});
|
|
3060
3282
|
|
|
3061
3283
|
const responseContentLength = utils$1.toFiniteNumber(response.headers.get('content-length'));
|
|
3062
3284
|
|
|
3063
|
-
const [onProgress, flush] =
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3285
|
+
const [onProgress, flush] =
|
|
3286
|
+
(onDownloadProgress &&
|
|
3287
|
+
progressEventDecorator(
|
|
3288
|
+
responseContentLength,
|
|
3289
|
+
progressEventReducer(asyncDecorator(onDownloadProgress), true)
|
|
3290
|
+
)) ||
|
|
3291
|
+
[];
|
|
3067
3292
|
|
|
3068
3293
|
response = new Response(
|
|
3069
3294
|
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
@@ -3076,7 +3301,10 @@ const factory = (env) => {
|
|
|
3076
3301
|
|
|
3077
3302
|
responseType = responseType || 'text';
|
|
3078
3303
|
|
|
3079
|
-
let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || 'text'](
|
|
3304
|
+
let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || 'text'](
|
|
3305
|
+
response,
|
|
3306
|
+
config
|
|
3307
|
+
);
|
|
3080
3308
|
|
|
3081
3309
|
!isStreamResponse && unsubscribe && unsubscribe();
|
|
3082
3310
|
|
|
@@ -3087,43 +3315,50 @@ const factory = (env) => {
|
|
|
3087
3315
|
status: response.status,
|
|
3088
3316
|
statusText: response.statusText,
|
|
3089
3317
|
config,
|
|
3090
|
-
request
|
|
3318
|
+
request,
|
|
3091
3319
|
});
|
|
3092
|
-
})
|
|
3320
|
+
});
|
|
3093
3321
|
} catch (err) {
|
|
3094
3322
|
unsubscribe && unsubscribe();
|
|
3095
3323
|
|
|
3096
3324
|
if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
|
|
3097
3325
|
throw Object.assign(
|
|
3098
|
-
new AxiosError$1(
|
|
3326
|
+
new AxiosError$1(
|
|
3327
|
+
'Network Error',
|
|
3328
|
+
AxiosError$1.ERR_NETWORK,
|
|
3329
|
+
config,
|
|
3330
|
+
request,
|
|
3331
|
+
err && err.response
|
|
3332
|
+
),
|
|
3099
3333
|
{
|
|
3100
|
-
cause: err.cause || err
|
|
3334
|
+
cause: err.cause || err,
|
|
3101
3335
|
}
|
|
3102
|
-
)
|
|
3336
|
+
);
|
|
3103
3337
|
}
|
|
3104
3338
|
|
|
3105
3339
|
throw AxiosError$1.from(err, err && err.code, config, request, err && err.response);
|
|
3106
3340
|
}
|
|
3107
|
-
}
|
|
3341
|
+
};
|
|
3108
3342
|
};
|
|
3109
3343
|
|
|
3110
3344
|
const seedCache = new Map();
|
|
3111
3345
|
|
|
3112
3346
|
const getFetch = (config) => {
|
|
3113
3347
|
let env = (config && config.env) || {};
|
|
3114
|
-
const {fetch, Request, Response} = env;
|
|
3115
|
-
const seeds = [
|
|
3116
|
-
Request, Response, fetch
|
|
3117
|
-
];
|
|
3348
|
+
const { fetch, Request, Response } = env;
|
|
3349
|
+
const seeds = [Request, Response, fetch];
|
|
3118
3350
|
|
|
3119
|
-
let len = seeds.length,
|
|
3120
|
-
|
|
3351
|
+
let len = seeds.length,
|
|
3352
|
+
i = len,
|
|
3353
|
+
seed,
|
|
3354
|
+
target,
|
|
3355
|
+
map = seedCache;
|
|
3121
3356
|
|
|
3122
3357
|
while (i--) {
|
|
3123
3358
|
seed = seeds[i];
|
|
3124
3359
|
target = map.get(seed);
|
|
3125
3360
|
|
|
3126
|
-
target === undefined && map.set(seed, target =
|
|
3361
|
+
target === undefined && map.set(seed, (target = i ? new Map() : factory(env)));
|
|
3127
3362
|
|
|
3128
3363
|
map = target;
|
|
3129
3364
|
}
|
|
@@ -3139,7 +3374,7 @@ getFetch();
|
|
|
3139
3374
|
* - `http` for Node.js
|
|
3140
3375
|
* - `xhr` for browsers
|
|
3141
3376
|
* - `fetch` for fetch API-based requests
|
|
3142
|
-
*
|
|
3377
|
+
*
|
|
3143
3378
|
* @type {Object<string, Function|Object>}
|
|
3144
3379
|
*/
|
|
3145
3380
|
const knownAdapters = {
|
|
@@ -3147,7 +3382,7 @@ const knownAdapters = {
|
|
|
3147
3382
|
xhr: xhrAdapter,
|
|
3148
3383
|
fetch: {
|
|
3149
3384
|
get: getFetch,
|
|
3150
|
-
}
|
|
3385
|
+
},
|
|
3151
3386
|
};
|
|
3152
3387
|
|
|
3153
3388
|
// Assign adapter names for easier debugging and identification
|
|
@@ -3164,7 +3399,7 @@ utils$1.forEach(knownAdapters, (fn, value) => {
|
|
|
3164
3399
|
|
|
3165
3400
|
/**
|
|
3166
3401
|
* Render a rejection reason string for unknown or unsupported adapters
|
|
3167
|
-
*
|
|
3402
|
+
*
|
|
3168
3403
|
* @param {string} reason
|
|
3169
3404
|
* @returns {string}
|
|
3170
3405
|
*/
|
|
@@ -3172,17 +3407,18 @@ const renderReason = (reason) => `- ${reason}`;
|
|
|
3172
3407
|
|
|
3173
3408
|
/**
|
|
3174
3409
|
* Check if the adapter is resolved (function, null, or false)
|
|
3175
|
-
*
|
|
3410
|
+
*
|
|
3176
3411
|
* @param {Function|null|false} adapter
|
|
3177
3412
|
* @returns {boolean}
|
|
3178
3413
|
*/
|
|
3179
|
-
const isResolvedHandle = (adapter) =>
|
|
3414
|
+
const isResolvedHandle = (adapter) =>
|
|
3415
|
+
utils$1.isFunction(adapter) || adapter === null || adapter === false;
|
|
3180
3416
|
|
|
3181
3417
|
/**
|
|
3182
3418
|
* Get the first suitable adapter from the provided list.
|
|
3183
3419
|
* Tries each adapter in order until a supported one is found.
|
|
3184
3420
|
* Throws an AxiosError if no adapter is suitable.
|
|
3185
|
-
*
|
|
3421
|
+
*
|
|
3186
3422
|
* @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.
|
|
3187
3423
|
* @param {Object} config - Axios request configuration
|
|
3188
3424
|
* @throws {AxiosError} If no suitable adapter is available
|
|
@@ -3219,14 +3455,17 @@ function getAdapter(adapters, config) {
|
|
|
3219
3455
|
}
|
|
3220
3456
|
|
|
3221
3457
|
if (!adapter) {
|
|
3222
|
-
const reasons = Object.entries(rejectedReasons)
|
|
3223
|
-
|
|
3458
|
+
const reasons = Object.entries(rejectedReasons).map(
|
|
3459
|
+
([id, state]) =>
|
|
3460
|
+
`adapter ${id} ` +
|
|
3224
3461
|
(state === false ? 'is not supported by the environment' : 'is not available in the build')
|
|
3225
|
-
|
|
3462
|
+
);
|
|
3226
3463
|
|
|
3227
|
-
let s = length
|
|
3228
|
-
|
|
3229
|
-
|
|
3464
|
+
let s = length
|
|
3465
|
+
? reasons.length > 1
|
|
3466
|
+
? 'since :\n' + reasons.map(renderReason).join('\n')
|
|
3467
|
+
: ' ' + renderReason(reasons[0])
|
|
3468
|
+
: 'as no adapter specified';
|
|
3230
3469
|
|
|
3231
3470
|
throw new AxiosError$1(
|
|
3232
3471
|
`There is no suitable adapter to dispatch the request ` + s,
|
|
@@ -3251,7 +3490,7 @@ var adapters = {
|
|
|
3251
3490
|
* Exposes all known adapters
|
|
3252
3491
|
* @type {Object<string, Function|Object>}
|
|
3253
3492
|
*/
|
|
3254
|
-
adapters: knownAdapters
|
|
3493
|
+
adapters: knownAdapters,
|
|
3255
3494
|
};
|
|
3256
3495
|
|
|
3257
3496
|
/**
|
|
@@ -3284,10 +3523,7 @@ function dispatchRequest(config) {
|
|
|
3284
3523
|
config.headers = AxiosHeaders$1.from(config.headers);
|
|
3285
3524
|
|
|
3286
3525
|
// Transform request data
|
|
3287
|
-
config.data = transformData.call(
|
|
3288
|
-
config,
|
|
3289
|
-
config.transformRequest
|
|
3290
|
-
);
|
|
3526
|
+
config.data = transformData.call(config, config.transformRequest);
|
|
3291
3527
|
|
|
3292
3528
|
if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {
|
|
3293
3529
|
config.headers.setContentType('application/x-www-form-urlencoded', false);
|
|
@@ -3295,39 +3531,38 @@ function dispatchRequest(config) {
|
|
|
3295
3531
|
|
|
3296
3532
|
const adapter = adapters.getAdapter(config.adapter || defaults$1.adapter, config);
|
|
3297
3533
|
|
|
3298
|
-
return adapter(config).then(
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
// Transform response data
|
|
3302
|
-
response.data = transformData.call(
|
|
3303
|
-
config,
|
|
3304
|
-
config.transformResponse,
|
|
3305
|
-
response
|
|
3306
|
-
);
|
|
3307
|
-
|
|
3308
|
-
response.headers = AxiosHeaders$1.from(response.headers);
|
|
3309
|
-
|
|
3310
|
-
return response;
|
|
3311
|
-
}, function onAdapterRejection(reason) {
|
|
3312
|
-
if (!isCancel(reason)) {
|
|
3534
|
+
return adapter(config).then(
|
|
3535
|
+
function onAdapterResolution(response) {
|
|
3313
3536
|
throwIfCancellationRequested(config);
|
|
3314
3537
|
|
|
3315
3538
|
// Transform response data
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3539
|
+
response.data = transformData.call(config, config.transformResponse, response);
|
|
3540
|
+
|
|
3541
|
+
response.headers = AxiosHeaders$1.from(response.headers);
|
|
3542
|
+
|
|
3543
|
+
return response;
|
|
3544
|
+
},
|
|
3545
|
+
function onAdapterRejection(reason) {
|
|
3546
|
+
if (!isCancel(reason)) {
|
|
3547
|
+
throwIfCancellationRequested(config);
|
|
3548
|
+
|
|
3549
|
+
// Transform response data
|
|
3550
|
+
if (reason && reason.response) {
|
|
3551
|
+
reason.response.data = transformData.call(
|
|
3552
|
+
config,
|
|
3553
|
+
config.transformResponse,
|
|
3554
|
+
reason.response
|
|
3555
|
+
);
|
|
3556
|
+
reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
|
|
3557
|
+
}
|
|
3323
3558
|
}
|
|
3324
|
-
}
|
|
3325
3559
|
|
|
3326
|
-
|
|
3327
|
-
|
|
3560
|
+
return Promise.reject(reason);
|
|
3561
|
+
}
|
|
3562
|
+
);
|
|
3328
3563
|
}
|
|
3329
3564
|
|
|
3330
|
-
const VERSION = "1.13.
|
|
3565
|
+
const VERSION = "1.13.6";
|
|
3331
3566
|
|
|
3332
3567
|
const validators$1 = {};
|
|
3333
3568
|
|
|
@@ -3351,7 +3586,15 @@ const deprecatedWarnings = {};
|
|
|
3351
3586
|
*/
|
|
3352
3587
|
validators$1.transitional = function transitional(validator, version, message) {
|
|
3353
3588
|
function formatMessage(opt, desc) {
|
|
3354
|
-
return
|
|
3589
|
+
return (
|
|
3590
|
+
'[Axios v' +
|
|
3591
|
+
VERSION +
|
|
3592
|
+
"] Transitional option '" +
|
|
3593
|
+
opt +
|
|
3594
|
+
"'" +
|
|
3595
|
+
desc +
|
|
3596
|
+
(message ? '. ' + message : '')
|
|
3597
|
+
);
|
|
3355
3598
|
}
|
|
3356
3599
|
|
|
3357
3600
|
// eslint-disable-next-line func-names
|
|
@@ -3383,7 +3626,7 @@ validators$1.spelling = function spelling(correctSpelling) {
|
|
|
3383
3626
|
// eslint-disable-next-line no-console
|
|
3384
3627
|
console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
|
|
3385
3628
|
return true;
|
|
3386
|
-
}
|
|
3629
|
+
};
|
|
3387
3630
|
};
|
|
3388
3631
|
|
|
3389
3632
|
/**
|
|
@@ -3409,7 +3652,10 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
3409
3652
|
const value = options[opt];
|
|
3410
3653
|
const result = value === undefined || validator(value, opt, options);
|
|
3411
3654
|
if (result !== true) {
|
|
3412
|
-
throw new AxiosError$1(
|
|
3655
|
+
throw new AxiosError$1(
|
|
3656
|
+
'option ' + opt + ' must be ' + result,
|
|
3657
|
+
AxiosError$1.ERR_BAD_OPTION_VALUE
|
|
3658
|
+
);
|
|
3413
3659
|
}
|
|
3414
3660
|
continue;
|
|
3415
3661
|
}
|
|
@@ -3421,7 +3667,7 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
3421
3667
|
|
|
3422
3668
|
var validator = {
|
|
3423
3669
|
assertOptions,
|
|
3424
|
-
validators: validators$1
|
|
3670
|
+
validators: validators$1,
|
|
3425
3671
|
};
|
|
3426
3672
|
|
|
3427
3673
|
const validators = validator.validators;
|
|
@@ -3438,7 +3684,7 @@ class Axios {
|
|
|
3438
3684
|
this.defaults = instanceConfig || {};
|
|
3439
3685
|
this.interceptors = {
|
|
3440
3686
|
request: new InterceptorManager$1(),
|
|
3441
|
-
response: new InterceptorManager$1()
|
|
3687
|
+
response: new InterceptorManager$1(),
|
|
3442
3688
|
};
|
|
3443
3689
|
}
|
|
3444
3690
|
|
|
@@ -3489,27 +3735,35 @@ class Axios {
|
|
|
3489
3735
|
|
|
3490
3736
|
config = mergeConfig(this.defaults, config);
|
|
3491
3737
|
|
|
3492
|
-
const {transitional, paramsSerializer, headers} = config;
|
|
3738
|
+
const { transitional, paramsSerializer, headers } = config;
|
|
3493
3739
|
|
|
3494
3740
|
if (transitional !== undefined) {
|
|
3495
|
-
validator.assertOptions(
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3741
|
+
validator.assertOptions(
|
|
3742
|
+
transitional,
|
|
3743
|
+
{
|
|
3744
|
+
silentJSONParsing: validators.transitional(validators.boolean),
|
|
3745
|
+
forcedJSONParsing: validators.transitional(validators.boolean),
|
|
3746
|
+
clarifyTimeoutError: validators.transitional(validators.boolean),
|
|
3747
|
+
legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),
|
|
3748
|
+
},
|
|
3749
|
+
false
|
|
3750
|
+
);
|
|
3501
3751
|
}
|
|
3502
3752
|
|
|
3503
3753
|
if (paramsSerializer != null) {
|
|
3504
3754
|
if (utils$1.isFunction(paramsSerializer)) {
|
|
3505
3755
|
config.paramsSerializer = {
|
|
3506
|
-
serialize: paramsSerializer
|
|
3756
|
+
serialize: paramsSerializer,
|
|
3507
3757
|
};
|
|
3508
3758
|
} else {
|
|
3509
|
-
validator.assertOptions(
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3759
|
+
validator.assertOptions(
|
|
3760
|
+
paramsSerializer,
|
|
3761
|
+
{
|
|
3762
|
+
encode: validators.function,
|
|
3763
|
+
serialize: validators.function,
|
|
3764
|
+
},
|
|
3765
|
+
true
|
|
3766
|
+
);
|
|
3513
3767
|
}
|
|
3514
3768
|
}
|
|
3515
3769
|
|
|
@@ -3520,26 +3774,25 @@ class Axios {
|
|
|
3520
3774
|
config.allowAbsoluteUrls = true;
|
|
3521
3775
|
}
|
|
3522
3776
|
|
|
3523
|
-
validator.assertOptions(
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3777
|
+
validator.assertOptions(
|
|
3778
|
+
config,
|
|
3779
|
+
{
|
|
3780
|
+
baseUrl: validators.spelling('baseURL'),
|
|
3781
|
+
withXsrfToken: validators.spelling('withXSRFToken'),
|
|
3782
|
+
},
|
|
3783
|
+
true
|
|
3784
|
+
);
|
|
3527
3785
|
|
|
3528
3786
|
// Set config.method
|
|
3529
3787
|
config.method = (config.method || this.defaults.method || 'get').toLowerCase();
|
|
3530
3788
|
|
|
3531
3789
|
// Flatten headers
|
|
3532
|
-
let contextHeaders = headers && utils$1.merge(
|
|
3533
|
-
headers.common,
|
|
3534
|
-
headers[config.method]
|
|
3535
|
-
);
|
|
3790
|
+
let contextHeaders = headers && utils$1.merge(headers.common, headers[config.method]);
|
|
3536
3791
|
|
|
3537
|
-
headers &&
|
|
3538
|
-
['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
|
|
3539
|
-
(method) => {
|
|
3792
|
+
headers &&
|
|
3793
|
+
utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], (method) => {
|
|
3540
3794
|
delete headers[method];
|
|
3541
|
-
}
|
|
3542
|
-
);
|
|
3795
|
+
});
|
|
3543
3796
|
|
|
3544
3797
|
config.headers = AxiosHeaders$1.concat(contextHeaders, headers);
|
|
3545
3798
|
|
|
@@ -3554,7 +3807,8 @@ class Axios {
|
|
|
3554
3807
|
synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
|
|
3555
3808
|
|
|
3556
3809
|
const transitional = config.transitional || transitionalDefaults;
|
|
3557
|
-
const legacyInterceptorReqResOrdering =
|
|
3810
|
+
const legacyInterceptorReqResOrdering =
|
|
3811
|
+
transitional && transitional.legacyInterceptorReqResOrdering;
|
|
3558
3812
|
|
|
3559
3813
|
if (legacyInterceptorReqResOrdering) {
|
|
3560
3814
|
requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
|
|
@@ -3628,12 +3882,14 @@ class Axios {
|
|
|
3628
3882
|
// Provide aliases for supported request methods
|
|
3629
3883
|
utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
|
|
3630
3884
|
/*eslint func-names:0*/
|
|
3631
|
-
Axios.prototype[method] = function(url, config) {
|
|
3632
|
-
return this.request(
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3885
|
+
Axios.prototype[method] = function (url, config) {
|
|
3886
|
+
return this.request(
|
|
3887
|
+
mergeConfig(config || {}, {
|
|
3888
|
+
method,
|
|
3889
|
+
url,
|
|
3890
|
+
data: (config || {}).data,
|
|
3891
|
+
})
|
|
3892
|
+
);
|
|
3637
3893
|
};
|
|
3638
3894
|
});
|
|
3639
3895
|
|
|
@@ -3642,14 +3898,18 @@ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method)
|
|
|
3642
3898
|
|
|
3643
3899
|
function generateHTTPMethod(isForm) {
|
|
3644
3900
|
return function httpMethod(url, data, config) {
|
|
3645
|
-
return this.request(
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3901
|
+
return this.request(
|
|
3902
|
+
mergeConfig(config || {}, {
|
|
3903
|
+
method,
|
|
3904
|
+
headers: isForm
|
|
3905
|
+
? {
|
|
3906
|
+
'Content-Type': 'multipart/form-data',
|
|
3907
|
+
}
|
|
3908
|
+
: {},
|
|
3909
|
+
url,
|
|
3910
|
+
data,
|
|
3911
|
+
})
|
|
3912
|
+
);
|
|
3653
3913
|
};
|
|
3654
3914
|
}
|
|
3655
3915
|
|
|
@@ -3682,7 +3942,7 @@ class CancelToken {
|
|
|
3682
3942
|
const token = this;
|
|
3683
3943
|
|
|
3684
3944
|
// eslint-disable-next-line func-names
|
|
3685
|
-
this.promise.then(cancel => {
|
|
3945
|
+
this.promise.then((cancel) => {
|
|
3686
3946
|
if (!token._listeners) return;
|
|
3687
3947
|
|
|
3688
3948
|
let i = token._listeners.length;
|
|
@@ -3694,10 +3954,10 @@ class CancelToken {
|
|
|
3694
3954
|
});
|
|
3695
3955
|
|
|
3696
3956
|
// eslint-disable-next-line func-names
|
|
3697
|
-
this.promise.then = onfulfilled => {
|
|
3957
|
+
this.promise.then = (onfulfilled) => {
|
|
3698
3958
|
let _resolve;
|
|
3699
3959
|
// eslint-disable-next-line func-names
|
|
3700
|
-
const promise = new Promise(resolve => {
|
|
3960
|
+
const promise = new Promise((resolve) => {
|
|
3701
3961
|
token.subscribe(resolve);
|
|
3702
3962
|
_resolve = resolve;
|
|
3703
3963
|
}).then(onfulfilled);
|
|
@@ -3785,7 +4045,7 @@ class CancelToken {
|
|
|
3785
4045
|
});
|
|
3786
4046
|
return {
|
|
3787
4047
|
token,
|
|
3788
|
-
cancel
|
|
4048
|
+
cancel,
|
|
3789
4049
|
};
|
|
3790
4050
|
}
|
|
3791
4051
|
}
|
|
@@ -3827,7 +4087,7 @@ function spread(callback) {
|
|
|
3827
4087
|
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
|
3828
4088
|
*/
|
|
3829
4089
|
function isAxiosError(payload) {
|
|
3830
|
-
return utils$1.isObject(payload) &&
|
|
4090
|
+
return utils$1.isObject(payload) && payload.isAxiosError === true;
|
|
3831
4091
|
}
|
|
3832
4092
|
|
|
3833
4093
|
const HttpStatusCode = {
|
|
@@ -3920,10 +4180,10 @@ function createInstance(defaultConfig) {
|
|
|
3920
4180
|
const instance = bind(Axios$1.prototype.request, context);
|
|
3921
4181
|
|
|
3922
4182
|
// Copy axios.prototype to instance
|
|
3923
|
-
utils$1.extend(instance, Axios$1.prototype, context, {allOwnKeys: true});
|
|
4183
|
+
utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
|
|
3924
4184
|
|
|
3925
4185
|
// Copy context to instance
|
|
3926
|
-
utils$1.extend(instance, context, null, {allOwnKeys: true});
|
|
4186
|
+
utils$1.extend(instance, context, null, { allOwnKeys: true });
|
|
3927
4187
|
|
|
3928
4188
|
// Factory for creating new instances
|
|
3929
4189
|
instance.create = function create(instanceConfig) {
|
|
@@ -3967,7 +4227,7 @@ axios.mergeConfig = mergeConfig;
|
|
|
3967
4227
|
|
|
3968
4228
|
axios.AxiosHeaders = AxiosHeaders$1;
|
|
3969
4229
|
|
|
3970
|
-
axios.formToJSON = thing => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
4230
|
+
axios.formToJSON = (thing) => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
3971
4231
|
|
|
3972
4232
|
axios.getAdapter = adapters.getAdapter;
|
|
3973
4233
|
|