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