cloudstructs 0.12.8 → 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 +1107 -1006
- package/assets/ssl-server-test/analyze.lambda/index.js +103 -68
- package/assets/toolkit-cleaner/clean.lambda/index.js +103 -68
- 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/README.md +25 -5
- package/node_modules/@aws/durable-execution-sdk-js/dist/index.mjs +192 -70
- 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 +192 -70
- 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/concurrent-execution-handler/concurrent-execution-handler.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/index.d.ts +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/index.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/types/step.d.ts +45 -0
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/types/step.d.ts.map +1 -1
- package/node_modules/@aws/durable-execution-sdk-js/dist-types/utils/checkpoint/checkpoint-manager.d.ts +6 -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 -2
- 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 +294 -3996
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/LambdaServiceException.js +12 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/models/errors.js +730 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/schemas/schemas_0.js +2680 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +49 -1
- package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +7 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +320 -308
- package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +150 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts +8 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeAsyncCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts +4 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +8 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +15 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +30 -3
- package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +53 -45
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +173 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +9 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -45
- package/node_modules/@aws-sdk/client-lambda/package.json +43 -43
- package/node_modules/@aws-sdk/core/account-id-endpoint.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +45 -69
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +45 -69
- 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 +3 -10
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +4 -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/query/QueryShapeSerializer.js +15 -8
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +11 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +5 -7
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +1 -2
- 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 +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
- 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/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +6 -1
- package/node_modules/@aws-sdk/core/package.json +16 -16
- 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 +8 -8
- 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 +13 -13
- 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 +17 -17
- package/node_modules/@aws-sdk/credential-provider-login/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +8 -2
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +8 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -15
- 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 +9 -9
- 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 +11 -11
- 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 +10 -10
- 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 +7 -7
- package/node_modules/@aws-sdk/middleware-logger/package.json +6 -6
- 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 +7 -7
- 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 +11 -10
- 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 +27 -206
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
- 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/nested-clients/dist-cjs/submodules/sso/index.js +160 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +56 -0
- 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/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/runtimeConfig.shared.js +2 -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 +27 -355
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
- 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 +33 -314
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
- 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/SigninClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.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/signin/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +15 -12
- 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/models/models_0.js +1 -0
- 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/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/runtimeConfig.shared.js +2 -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/SSOOIDCClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
- 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/sso-oidc/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +40 -37
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +1 -1
- 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-es/submodules/sts/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +60 -57
- 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/SigninClient.d.ts +4 -3
- 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/auth/httpAuthSchemeProvider.d.ts +1 -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/signin/schemas/schemas_0.d.ts +11 -4
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/SSO.d.ts +1 -22
- 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 +11 -14
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +4 -3
- 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/auth/httpAuthSchemeProvider.d.ts +1 -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/sso-oidc/schemas/schemas_0.d.ts +10 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +5 -4
- 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/auth/httpAuthSchemeProvider.d.ts +3 -2
- 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/submodules/sts/schemas/schemas_0.d.ts +15 -8
- 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/SigninClient.d.ts +5 -3
- 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/signin/schemas/schemas_0.d.ts +6 -4
- 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 +6 -14
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +1 -2
- 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/sso-oidc/schemas/schemas_0.d.ts +5 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +5 -3
- 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/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +10 -8
- 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 +8 -8
- 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/blob/blob-types.d.ts +1 -1
- 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 +5 -5
- 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 +4 -4
- 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 +6 -6
- 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 +12 -9
- 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 +52 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +7 -6
- 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 +9 -6
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +92 -14
- 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/JsMinArrBuilder.js +1 -1
- 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 +21 -21
- 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 +315 -293
- 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 +309 -186
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +22 -22
- 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 +7 -7
- 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 +11 -6
- package/node_modules/@slack/logger/node_modules/@types/node/crypto.d.ts +4 -4
- 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 +57 -12
- package/node_modules/@slack/logger/node_modules/@types/node/https.d.ts +6 -0
- 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 +5 -5
- package/node_modules/@slack/logger/node_modules/@types/node/package.json +3 -3
- package/node_modules/@slack/logger/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@slack/logger/node_modules/@types/node/process.d.ts +22 -8
- 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 +145 -17
- 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 +56 -20
- 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 +37 -3
- package/node_modules/@slack/logger/node_modules/@types/node/v8.d.ts +12 -3
- package/node_modules/@slack/logger/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@slack/logger/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- 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/dist/block-kit/block-elements.d.ts +18 -0
- package/node_modules/@slack/types/dist/block-kit/block-elements.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/block-kit/blocks.d.ts +54 -2
- package/node_modules/@slack/types/dist/block-kit/blocks.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/chunk.d.ts +42 -0
- package/node_modules/@slack/types/dist/chunk.d.ts.map +1 -0
- package/node_modules/@slack/types/dist/chunk.js +3 -0
- package/node_modules/@slack/types/dist/chunk.js.map +1 -0
- package/node_modules/@slack/types/dist/events/app.d.ts +53 -0
- package/node_modules/@slack/types/dist/events/app.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/member.d.ts +1 -0
- package/node_modules/@slack/types/dist/events/member.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/events/user.d.ts +1 -0
- package/node_modules/@slack/types/dist/events/user.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/index.d.ts +1 -0
- package/node_modules/@slack/types/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/types/dist/index.js +1 -0
- package/node_modules/@slack/types/dist/index.js.map +1 -1
- package/node_modules/@slack/types/package.json +8 -12
- package/node_modules/@slack/web-api/dist/WebClient.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/chat-stream.js +85 -64
- 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/index.d.ts +1 -0
- package/node_modules/@slack/web-api/dist/index.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/index.js +3 -1
- package/node_modules/@slack/web-api/dist/index.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/canvas.d.ts +1 -1
- package/node_modules/@slack/web-api/dist/types/request/canvas.d.ts.map +1 -1
- package/node_modules/@slack/web-api/dist/types/request/chat.d.ts +21 -2
- package/node_modules/@slack/web-api/dist/types/request/chat.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 +11 -6
- package/node_modules/@slack/web-api/node_modules/@types/node/crypto.d.ts +4 -4
- 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 +57 -12
- package/node_modules/@slack/web-api/node_modules/@types/node/https.d.ts +6 -0
- 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 +5 -5
- package/node_modules/@slack/web-api/node_modules/@types/node/package.json +3 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@slack/web-api/node_modules/@types/node/process.d.ts +22 -8
- 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 +145 -17
- 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 +56 -20
- 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 +37 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/v8.d.ts +12 -3
- package/node_modules/@slack/web-api/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@slack/web-api/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- 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 +15 -29
- 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 +22 -19
- 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 +9 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +42 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +73 -11
- 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/SmithyRpcV2CborProtocol.js +15 -11
- 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 +9 -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 +16 -1
- 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/TypeRegistry.js +24 -5
- 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 +38 -3
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +5 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -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/protocols/HttpBindingProtocol.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +14 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +8 -1
- 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/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
- 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/protocols/HttpBindingProtocol.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +14 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +8 -1
- 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 +77 -47
- 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 +10 -3
- 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 +10 -10
- 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 +59 -19
- package/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js +29 -3
- package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +20 -1
- package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +8 -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/create-aggregated-client.d.ts +8 -1
- 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 +13 -13
- 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 +11 -6
- package/node_modules/@types/cacheable-request/node_modules/@types/node/crypto.d.ts +4 -4
- 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 +57 -12
- package/node_modules/@types/cacheable-request/node_modules/@types/node/https.d.ts +6 -0
- 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 +5 -5
- package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@types/cacheable-request/node_modules/@types/node/process.d.ts +22 -8
- 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 +145 -17
- 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 +56 -20
- 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 +37 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/v8.d.ts +12 -3
- package/node_modules/@types/cacheable-request/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@types/cacheable-request/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- 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/http-cache-semantics/README.md +1 -1
- package/node_modules/@types/http-cache-semantics/index.d.ts +97 -11
- package/node_modules/@types/http-cache-semantics/package.json +4 -3
- 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 +11 -6
- package/node_modules/@types/keyv/node_modules/@types/node/crypto.d.ts +4 -4
- 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 +57 -12
- package/node_modules/@types/keyv/node_modules/@types/node/https.d.ts +6 -0
- 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 +5 -5
- package/node_modules/@types/keyv/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/keyv/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@types/keyv/node_modules/@types/node/process.d.ts +22 -8
- 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 +145 -17
- 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 +56 -20
- 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 +37 -3
- package/node_modules/@types/keyv/node_modules/@types/node/v8.d.ts +12 -3
- package/node_modules/@types/keyv/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@types/keyv/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- 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 +11 -6
- package/node_modules/@types/responselike/node_modules/@types/node/crypto.d.ts +4 -4
- 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 +57 -12
- package/node_modules/@types/responselike/node_modules/@types/node/https.d.ts +6 -0
- 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 +5 -5
- package/node_modules/@types/responselike/node_modules/@types/node/package.json +3 -3
- package/node_modules/@types/responselike/node_modules/@types/node/perf_hooks.d.ts +111 -89
- package/node_modules/@types/responselike/node_modules/@types/node/process.d.ts +22 -8
- 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 +145 -17
- 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 +56 -20
- 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 +37 -3
- package/node_modules/@types/responselike/node_modules/@types/node/v8.d.ts +12 -3
- package/node_modules/@types/responselike/node_modules/@types/node/vm.d.ts +42 -14
- package/node_modules/@types/responselike/node_modules/@types/node/web-globals/fetch.d.ts +15 -0
- 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 +460 -403
- package/node_modules/axios/MIGRATION_GUIDE.md +876 -2
- package/node_modules/axios/README.md +584 -447
- package/node_modules/axios/dist/axios.js +873 -881
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +4 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +1142 -812
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +1143 -813
- 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 +1816 -1415
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +256 -112
- package/node_modules/axios/index.d.ts +341 -116
- package/node_modules/axios/index.js +3 -3
- package/node_modules/axios/lib/adapters/README.md +5 -6
- package/node_modules/axios/lib/adapters/adapters.js +18 -14
- package/node_modules/axios/lib/adapters/fetch.js +138 -92
- package/node_modules/axios/lib/adapters/http.js +615 -561
- package/node_modules/axios/lib/adapters/xhr.js +189 -167
- package/node_modules/axios/lib/axios.js +6 -6
- package/node_modules/axios/lib/cancel/CancelToken.js +4 -4
- package/node_modules/axios/lib/cancel/CanceledError.js +15 -18
- package/node_modules/axios/lib/core/Axios.js +66 -43
- package/node_modules/axios/lib/core/AxiosError.js +64 -84
- package/node_modules/axios/lib/core/AxiosHeaders.js +54 -24
- package/node_modules/axios/lib/core/InterceptorManager.js +3 -2
- package/node_modules/axios/lib/core/dispatchRequest.js +25 -29
- package/node_modules/axios/lib/core/mergeConfig.js +8 -7
- package/node_modules/axios/lib/core/settle.js +11 -7
- package/node_modules/axios/lib/core/transformData.js +1 -1
- package/node_modules/axios/lib/defaults/index.js +85 -74
- package/node_modules/axios/lib/defaults/transitional.js +2 -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 +18 -19
- 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 +45 -50
- 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 +4 -0
- package/node_modules/axios/lib/helpers/isAxiosError.js +2 -2
- package/node_modules/axios/lib/helpers/isURLSameOrigin.js +13 -11
- package/node_modules/axios/lib/helpers/parseHeaders.js +35 -21
- 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/spread.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 +243 -106
- package/node_modules/axios/package.json +57 -70
- package/node_modules/bowser/README.md +72 -3
- package/node_modules/bowser/bundled.js +1 -1
- package/node_modules/bowser/es5.js +1 -1
- package/node_modules/bowser/index.d.ts +44 -6
- package/node_modules/bowser/package.json +10 -5
- package/node_modules/bowser/src/bowser.js +24 -8
- package/node_modules/bowser/src/constants.js +8 -0
- package/node_modules/bowser/src/parser-browsers.js +89 -0
- package/node_modules/bowser/src/parser-platforms.js +42 -0
- package/node_modules/bowser/src/parser.js +86 -5
- 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/semver/README.md +3 -2
- package/node_modules/semver/bin/semver.js +1 -1
- package/node_modules/semver/functions/diff.js +1 -1
- package/node_modules/semver/internal/re.js +2 -2
- package/node_modules/semver/package.json +4 -4
- package/node_modules/semver/ranges/subset.js +1 -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 +23 -23
- 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/index.js +0 -420
- package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +0 -15
- 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 -152
- 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 -73
- 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/package.json +0 -99
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +0 -40
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +0 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +0 -12
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-CVy8iqsZ.js +0 -14
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +0 -134
- package/node_modules/bowser/CHANGELOG.md +0 -218
- 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-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/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,7 +1,7 @@
|
|
|
1
|
-
import utils from '
|
|
2
|
-
import settle from '
|
|
1
|
+
import utils from '../utils.js';
|
|
2
|
+
import settle from '../core/settle.js';
|
|
3
3
|
import buildFullPath from '../core/buildFullPath.js';
|
|
4
|
-
import buildURL from '
|
|
4
|
+
import buildURL from '../helpers/buildURL.js';
|
|
5
5
|
import proxyFromEnv from 'proxy-from-env';
|
|
6
6
|
import http from 'http';
|
|
7
7
|
import https from 'https';
|
|
@@ -9,7 +9,7 @@ import http2 from 'http2';
|
|
|
9
9
|
import util from 'util';
|
|
10
10
|
import followRedirects from 'follow-redirects';
|
|
11
11
|
import zlib from 'zlib';
|
|
12
|
-
import {VERSION} from '../env/data.js';
|
|
12
|
+
import { VERSION } from '../env/data.js';
|
|
13
13
|
import transitionalDefaults from '../defaults/transitional.js';
|
|
14
14
|
import AxiosError from '../core/AxiosError.js';
|
|
15
15
|
import CanceledError from '../cancel/CanceledError.js';
|
|
@@ -18,42 +18,43 @@ import fromDataURI from '../helpers/fromDataURI.js';
|
|
|
18
18
|
import stream from 'stream';
|
|
19
19
|
import AxiosHeaders from '../core/AxiosHeaders.js';
|
|
20
20
|
import AxiosTransformStream from '../helpers/AxiosTransformStream.js';
|
|
21
|
-
import {EventEmitter} from 'events';
|
|
22
|
-
import formDataToStream from
|
|
23
|
-
import readBlob from
|
|
21
|
+
import { EventEmitter } from 'events';
|
|
22
|
+
import formDataToStream from '../helpers/formDataToStream.js';
|
|
23
|
+
import readBlob from '../helpers/readBlob.js';
|
|
24
24
|
import ZlibHeaderTransformStream from '../helpers/ZlibHeaderTransformStream.js';
|
|
25
|
-
import callbackify from
|
|
26
|
-
import {
|
|
25
|
+
import callbackify from '../helpers/callbackify.js';
|
|
26
|
+
import {
|
|
27
|
+
progressEventReducer,
|
|
28
|
+
progressEventDecorator,
|
|
29
|
+
asyncDecorator,
|
|
30
|
+
} from '../helpers/progressEventReducer.js';
|
|
27
31
|
import estimateDataURLDecodedBytes from '../helpers/estimateDataURLDecodedBytes.js';
|
|
28
32
|
|
|
29
33
|
const zlibOptions = {
|
|
30
34
|
flush: zlib.constants.Z_SYNC_FLUSH,
|
|
31
|
-
finishFlush: zlib.constants.Z_SYNC_FLUSH
|
|
35
|
+
finishFlush: zlib.constants.Z_SYNC_FLUSH,
|
|
32
36
|
};
|
|
33
37
|
|
|
34
38
|
const brotliOptions = {
|
|
35
39
|
flush: zlib.constants.BROTLI_OPERATION_FLUSH,
|
|
36
|
-
finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH
|
|
37
|
-
}
|
|
40
|
+
finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH,
|
|
41
|
+
};
|
|
38
42
|
|
|
39
43
|
const isBrotliSupported = utils.isFunction(zlib.createBrotliDecompress);
|
|
40
44
|
|
|
41
|
-
const {http: httpFollow, https: httpsFollow} = followRedirects;
|
|
45
|
+
const { http: httpFollow, https: httpsFollow } = followRedirects;
|
|
42
46
|
|
|
43
47
|
const isHttps = /https:?/;
|
|
44
48
|
|
|
45
|
-
const supportedProtocols = platform.protocols.map(protocol => {
|
|
49
|
+
const supportedProtocols = platform.protocols.map((protocol) => {
|
|
46
50
|
return protocol + ':';
|
|
47
51
|
});
|
|
48
52
|
|
|
49
|
-
|
|
50
53
|
const flushOnFinish = (stream, [throttled, flush]) => {
|
|
51
|
-
stream
|
|
52
|
-
.on('end', flush)
|
|
53
|
-
.on('error', flush);
|
|
54
|
+
stream.on('end', flush).on('error', flush);
|
|
54
55
|
|
|
55
56
|
return throttled;
|
|
56
|
-
}
|
|
57
|
+
};
|
|
57
58
|
|
|
58
59
|
class Http2Sessions {
|
|
59
60
|
constructor() {
|
|
@@ -61,9 +62,12 @@ class Http2Sessions {
|
|
|
61
62
|
}
|
|
62
63
|
|
|
63
64
|
getSession(authority, options) {
|
|
64
|
-
options = Object.assign(
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
options = Object.assign(
|
|
66
|
+
{
|
|
67
|
+
sessionTimeout: 1000,
|
|
68
|
+
},
|
|
69
|
+
options
|
|
70
|
+
);
|
|
67
71
|
|
|
68
72
|
let authoritySessions = this.sessions[authority];
|
|
69
73
|
|
|
@@ -72,7 +76,11 @@ class Http2Sessions {
|
|
|
72
76
|
|
|
73
77
|
for (let i = 0; i < len; i++) {
|
|
74
78
|
const [sessionHandle, sessionOptions] = authoritySessions[i];
|
|
75
|
-
if (
|
|
79
|
+
if (
|
|
80
|
+
!sessionHandle.destroyed &&
|
|
81
|
+
!sessionHandle.closed &&
|
|
82
|
+
util.isDeepStrictEqual(sessionOptions, options)
|
|
83
|
+
) {
|
|
76
84
|
return sessionHandle;
|
|
77
85
|
}
|
|
78
86
|
}
|
|
@@ -89,7 +97,9 @@ class Http2Sessions {
|
|
|
89
97
|
|
|
90
98
|
removed = true;
|
|
91
99
|
|
|
92
|
-
let entries = authoritySessions,
|
|
100
|
+
let entries = authoritySessions,
|
|
101
|
+
len = entries.length,
|
|
102
|
+
i = len;
|
|
93
103
|
|
|
94
104
|
while (i--) {
|
|
95
105
|
if (entries[i][0] === session) {
|
|
@@ -105,10 +115,9 @@ class Http2Sessions {
|
|
|
105
115
|
|
|
106
116
|
const originalRequestFn = session.request;
|
|
107
117
|
|
|
108
|
-
const {sessionTimeout} = options;
|
|
109
|
-
|
|
110
|
-
if(sessionTimeout != null) {
|
|
118
|
+
const { sessionTimeout } = options;
|
|
111
119
|
|
|
120
|
+
if (sessionTimeout != null) {
|
|
112
121
|
let timer;
|
|
113
122
|
let streamsCount = 0;
|
|
114
123
|
|
|
@@ -132,17 +141,16 @@ class Http2Sessions {
|
|
|
132
141
|
});
|
|
133
142
|
|
|
134
143
|
return stream;
|
|
135
|
-
}
|
|
144
|
+
};
|
|
136
145
|
}
|
|
137
146
|
|
|
138
147
|
session.once('close', removeSession);
|
|
139
148
|
|
|
140
|
-
let entry = [
|
|
141
|
-
session,
|
|
142
|
-
options
|
|
143
|
-
];
|
|
149
|
+
let entry = [session, options];
|
|
144
150
|
|
|
145
|
-
authoritySessions
|
|
151
|
+
authoritySessions
|
|
152
|
+
? authoritySessions.push(entry)
|
|
153
|
+
: (authoritySessions = this.sessions[authority] = [entry]);
|
|
146
154
|
|
|
147
155
|
return session;
|
|
148
156
|
}
|
|
@@ -150,7 +158,6 @@ class Http2Sessions {
|
|
|
150
158
|
|
|
151
159
|
const http2Sessions = new Http2Sessions();
|
|
152
160
|
|
|
153
|
-
|
|
154
161
|
/**
|
|
155
162
|
* If the proxy or config beforeRedirects functions are defined, call them with the options
|
|
156
163
|
* object.
|
|
@@ -193,12 +200,16 @@ function setProxy(options, configProxy, location) {
|
|
|
193
200
|
|
|
194
201
|
if (proxy.auth) {
|
|
195
202
|
// Support proxy auth object form
|
|
196
|
-
|
|
203
|
+
const validProxyAuth = Boolean(proxy.auth.username || proxy.auth.password);
|
|
204
|
+
|
|
205
|
+
if (validProxyAuth) {
|
|
197
206
|
proxy.auth = (proxy.auth.username || '') + ':' + (proxy.auth.password || '');
|
|
207
|
+
} else if (typeof proxy.auth === 'object') {
|
|
208
|
+
throw new AxiosError('Invalid proxy authorization', AxiosError.ERR_BAD_OPTION, { proxy });
|
|
198
209
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
210
|
+
|
|
211
|
+
const base64 = Buffer.from(proxy.auth, 'utf8').toString('base64');
|
|
212
|
+
|
|
202
213
|
options.headers['Proxy-Authorization'] = 'Basic ' + base64;
|
|
203
214
|
}
|
|
204
215
|
|
|
@@ -221,7 +232,8 @@ function setProxy(options, configProxy, location) {
|
|
|
221
232
|
};
|
|
222
233
|
}
|
|
223
234
|
|
|
224
|
-
const isHttpAdapterSupported =
|
|
235
|
+
const isHttpAdapterSupported =
|
|
236
|
+
typeof process !== 'undefined' && utils.kindOf(process) === 'process';
|
|
225
237
|
|
|
226
238
|
// temporary hotfix
|
|
227
239
|
|
|
@@ -234,7 +246,7 @@ const wrapAsync = (asyncExecutor) => {
|
|
|
234
246
|
if (isDone) return;
|
|
235
247
|
isDone = true;
|
|
236
248
|
onDone && onDone(value, isRejected);
|
|
237
|
-
}
|
|
249
|
+
};
|
|
238
250
|
|
|
239
251
|
const _resolve = (value) => {
|
|
240
252
|
done(value);
|
|
@@ -244,652 +256,694 @@ const wrapAsync = (asyncExecutor) => {
|
|
|
244
256
|
const _reject = (reason) => {
|
|
245
257
|
done(reason, true);
|
|
246
258
|
reject(reason);
|
|
247
|
-
}
|
|
259
|
+
};
|
|
248
260
|
|
|
249
261
|
asyncExecutor(_resolve, _reject, (onDoneHandler) => (onDone = onDoneHandler)).catch(_reject);
|
|
250
|
-
})
|
|
262
|
+
});
|
|
251
263
|
};
|
|
252
264
|
|
|
253
|
-
const resolveFamily = ({address, family}) => {
|
|
265
|
+
const resolveFamily = ({ address, family }) => {
|
|
254
266
|
if (!utils.isString(address)) {
|
|
255
267
|
throw TypeError('address must be a string');
|
|
256
268
|
}
|
|
257
|
-
return
|
|
269
|
+
return {
|
|
258
270
|
address,
|
|
259
|
-
family: family || (address.indexOf('.') < 0 ? 6 : 4)
|
|
260
|
-
}
|
|
261
|
-
}
|
|
271
|
+
family: family || (address.indexOf('.') < 0 ? 6 : 4),
|
|
272
|
+
};
|
|
273
|
+
};
|
|
262
274
|
|
|
263
|
-
const buildAddressEntry = (address, family) =>
|
|
275
|
+
const buildAddressEntry = (address, family) =>
|
|
276
|
+
resolveFamily(utils.isObject(address) ? address : { address, family });
|
|
264
277
|
|
|
265
278
|
const http2Transport = {
|
|
266
279
|
request(options, cb) {
|
|
267
|
-
|
|
280
|
+
const authority =
|
|
281
|
+
options.protocol +
|
|
282
|
+
'//' +
|
|
283
|
+
options.hostname +
|
|
284
|
+
':' +
|
|
285
|
+
(options.port || (options.protocol === 'https:' ? 443 : 80));
|
|
268
286
|
|
|
269
|
-
|
|
287
|
+
const { http2Options, headers } = options;
|
|
270
288
|
|
|
271
|
-
|
|
289
|
+
const session = http2Sessions.getSession(authority, http2Options);
|
|
272
290
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
HTTP2_HEADER_METHOD,
|
|
276
|
-
HTTP2_HEADER_PATH,
|
|
277
|
-
HTTP2_HEADER_STATUS
|
|
278
|
-
} = http2.constants;
|
|
291
|
+
const { HTTP2_HEADER_SCHEME, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_STATUS } =
|
|
292
|
+
http2.constants;
|
|
279
293
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
294
|
+
const http2Headers = {
|
|
295
|
+
[HTTP2_HEADER_SCHEME]: options.protocol.replace(':', ''),
|
|
296
|
+
[HTTP2_HEADER_METHOD]: options.method,
|
|
297
|
+
[HTTP2_HEADER_PATH]: options.path,
|
|
298
|
+
};
|
|
285
299
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
300
|
+
utils.forEach(headers, (header, name) => {
|
|
301
|
+
name.charAt(0) !== ':' && (http2Headers[name] = header);
|
|
302
|
+
});
|
|
289
303
|
|
|
290
|
-
|
|
304
|
+
const req = session.request(http2Headers);
|
|
291
305
|
|
|
292
|
-
|
|
293
|
-
|
|
306
|
+
req.once('response', (responseHeaders) => {
|
|
307
|
+
const response = req; //duplex
|
|
294
308
|
|
|
295
|
-
|
|
309
|
+
responseHeaders = Object.assign({}, responseHeaders);
|
|
296
310
|
|
|
297
|
-
|
|
311
|
+
const status = responseHeaders[HTTP2_HEADER_STATUS];
|
|
298
312
|
|
|
299
|
-
|
|
313
|
+
delete responseHeaders[HTTP2_HEADER_STATUS];
|
|
300
314
|
|
|
301
|
-
|
|
315
|
+
response.headers = responseHeaders;
|
|
302
316
|
|
|
303
|
-
|
|
317
|
+
response.statusCode = +status;
|
|
304
318
|
|
|
305
|
-
|
|
306
|
-
|
|
319
|
+
cb(response);
|
|
320
|
+
});
|
|
307
321
|
|
|
308
|
-
|
|
309
|
-
}
|
|
310
|
-
}
|
|
322
|
+
return req;
|
|
323
|
+
},
|
|
324
|
+
};
|
|
311
325
|
|
|
312
326
|
/*eslint consistent-return:0*/
|
|
313
|
-
export default isHttpAdapterSupported &&
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
+
export default isHttpAdapterSupported &&
|
|
328
|
+
function httpAdapter(config) {
|
|
329
|
+
return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) {
|
|
330
|
+
let { data, lookup, family, httpVersion = 1, http2Options } = config;
|
|
331
|
+
const { responseType, responseEncoding } = config;
|
|
332
|
+
const method = config.method.toUpperCase();
|
|
333
|
+
let isDone;
|
|
334
|
+
let rejected = false;
|
|
335
|
+
let req;
|
|
336
|
+
|
|
337
|
+
httpVersion = +httpVersion;
|
|
338
|
+
|
|
339
|
+
if (Number.isNaN(httpVersion)) {
|
|
340
|
+
throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`);
|
|
341
|
+
}
|
|
327
342
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
343
|
+
if (httpVersion !== 1 && httpVersion !== 2) {
|
|
344
|
+
throw TypeError(`Unsupported protocol version '${httpVersion}'`);
|
|
345
|
+
}
|
|
331
346
|
|
|
332
|
-
|
|
347
|
+
const isHttp2 = httpVersion === 2;
|
|
333
348
|
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
349
|
+
if (lookup) {
|
|
350
|
+
const _lookup = callbackify(lookup, (value) => (utils.isArray(value) ? value : [value]));
|
|
351
|
+
// hotfix to support opt.all option which is required for node 20.x
|
|
352
|
+
lookup = (hostname, opt, cb) => {
|
|
353
|
+
_lookup(hostname, opt, (err, arg0, arg1) => {
|
|
354
|
+
if (err) {
|
|
355
|
+
return cb(err);
|
|
356
|
+
}
|
|
342
357
|
|
|
343
|
-
|
|
358
|
+
const addresses = utils.isArray(arg0)
|
|
359
|
+
? arg0.map((addr) => buildAddressEntry(addr))
|
|
360
|
+
: [buildAddressEntry(arg0, arg1)];
|
|
344
361
|
|
|
345
|
-
|
|
346
|
-
|
|
362
|
+
opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
|
|
363
|
+
});
|
|
364
|
+
};
|
|
347
365
|
}
|
|
348
|
-
}
|
|
349
366
|
|
|
350
|
-
|
|
367
|
+
const abortEmitter = new EventEmitter();
|
|
351
368
|
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
369
|
+
function abort(reason) {
|
|
370
|
+
try {
|
|
371
|
+
abortEmitter.emit(
|
|
372
|
+
'abort',
|
|
373
|
+
!reason || reason.type ? new CanceledError(null, config, req) : reason
|
|
374
|
+
);
|
|
375
|
+
} catch (err) {
|
|
376
|
+
console.warn('emit error', err);
|
|
377
|
+
}
|
|
357
378
|
}
|
|
358
|
-
}
|
|
359
379
|
|
|
360
|
-
|
|
380
|
+
abortEmitter.once('abort', reject);
|
|
361
381
|
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
382
|
+
const onFinished = () => {
|
|
383
|
+
if (config.cancelToken) {
|
|
384
|
+
config.cancelToken.unsubscribe(abort);
|
|
385
|
+
}
|
|
366
386
|
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
387
|
+
if (config.signal) {
|
|
388
|
+
config.signal.removeEventListener('abort', abort);
|
|
389
|
+
}
|
|
370
390
|
|
|
371
|
-
|
|
372
|
-
|
|
391
|
+
abortEmitter.removeAllListeners();
|
|
392
|
+
};
|
|
373
393
|
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
394
|
+
if (config.cancelToken || config.signal) {
|
|
395
|
+
config.cancelToken && config.cancelToken.subscribe(abort);
|
|
396
|
+
if (config.signal) {
|
|
397
|
+
config.signal.aborted ? abort() : config.signal.addEventListener('abort', abort);
|
|
398
|
+
}
|
|
378
399
|
}
|
|
379
|
-
}
|
|
380
400
|
|
|
381
|
-
|
|
382
|
-
|
|
401
|
+
onDone((response, isRejected) => {
|
|
402
|
+
isDone = true;
|
|
383
403
|
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
404
|
+
if (isRejected) {
|
|
405
|
+
rejected = true;
|
|
406
|
+
onFinished();
|
|
407
|
+
return;
|
|
408
|
+
}
|
|
389
409
|
|
|
390
|
-
|
|
410
|
+
const { data } = response;
|
|
391
411
|
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
412
|
+
if (data instanceof stream.Readable || data instanceof stream.Duplex) {
|
|
413
|
+
const offListeners = stream.finished(data, () => {
|
|
414
|
+
offListeners();
|
|
415
|
+
onFinished();
|
|
416
|
+
});
|
|
417
|
+
} else {
|
|
395
418
|
onFinished();
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
onFinished();
|
|
399
|
-
}
|
|
400
|
-
});
|
|
401
|
-
|
|
419
|
+
}
|
|
420
|
+
});
|
|
402
421
|
|
|
422
|
+
// Parse url
|
|
423
|
+
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
|
424
|
+
const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);
|
|
425
|
+
const protocol = parsed.protocol || supportedProtocols[0];
|
|
426
|
+
|
|
427
|
+
if (protocol === 'data:') {
|
|
428
|
+
// Apply the same semantics as HTTP: only enforce if a finite, non-negative cap is set.
|
|
429
|
+
if (config.maxContentLength > -1) {
|
|
430
|
+
// Use the exact string passed to fromDataURI (config.url); fall back to fullPath if needed.
|
|
431
|
+
const dataUrl = String(config.url || fullPath || '');
|
|
432
|
+
const estimated = estimateDataURLDecodedBytes(dataUrl);
|
|
433
|
+
|
|
434
|
+
if (estimated > config.maxContentLength) {
|
|
435
|
+
return reject(
|
|
436
|
+
new AxiosError(
|
|
437
|
+
'maxContentLength size of ' + config.maxContentLength + ' exceeded',
|
|
438
|
+
AxiosError.ERR_BAD_RESPONSE,
|
|
439
|
+
config
|
|
440
|
+
)
|
|
441
|
+
);
|
|
442
|
+
}
|
|
443
|
+
}
|
|
403
444
|
|
|
445
|
+
let convertedData;
|
|
404
446
|
|
|
447
|
+
if (method !== 'GET') {
|
|
448
|
+
return settle(resolve, reject, {
|
|
449
|
+
status: 405,
|
|
450
|
+
statusText: 'method not allowed',
|
|
451
|
+
headers: {},
|
|
452
|
+
config,
|
|
453
|
+
});
|
|
454
|
+
}
|
|
405
455
|
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
456
|
+
try {
|
|
457
|
+
convertedData = fromDataURI(config.url, responseType === 'blob', {
|
|
458
|
+
Blob: config.env && config.env.Blob,
|
|
459
|
+
});
|
|
460
|
+
} catch (err) {
|
|
461
|
+
throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
|
|
462
|
+
}
|
|
410
463
|
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
if (config.maxContentLength > -1) {
|
|
414
|
-
// Use the exact string passed to fromDataURI (config.url); fall back to fullPath if needed.
|
|
415
|
-
const dataUrl = String(config.url || fullPath || '');
|
|
416
|
-
const estimated = estimateDataURLDecodedBytes(dataUrl);
|
|
464
|
+
if (responseType === 'text') {
|
|
465
|
+
convertedData = convertedData.toString(responseEncoding);
|
|
417
466
|
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
));
|
|
467
|
+
if (!responseEncoding || responseEncoding === 'utf8') {
|
|
468
|
+
convertedData = utils.stripBOM(convertedData);
|
|
469
|
+
}
|
|
470
|
+
} else if (responseType === 'stream') {
|
|
471
|
+
convertedData = stream.Readable.from(convertedData);
|
|
424
472
|
}
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
let convertedData;
|
|
428
473
|
|
|
429
|
-
if (method !== 'GET') {
|
|
430
474
|
return settle(resolve, reject, {
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
475
|
+
data: convertedData,
|
|
476
|
+
status: 200,
|
|
477
|
+
statusText: 'OK',
|
|
478
|
+
headers: new AxiosHeaders(),
|
|
479
|
+
config,
|
|
435
480
|
});
|
|
436
481
|
}
|
|
437
482
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
} catch (err) {
|
|
443
|
-
throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
|
|
483
|
+
if (supportedProtocols.indexOf(protocol) === -1) {
|
|
484
|
+
return reject(
|
|
485
|
+
new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_BAD_REQUEST, config)
|
|
486
|
+
);
|
|
444
487
|
}
|
|
445
488
|
|
|
446
|
-
|
|
447
|
-
|
|
489
|
+
const headers = AxiosHeaders.from(config.headers).normalize();
|
|
490
|
+
|
|
491
|
+
// Set User-Agent (required by some servers)
|
|
492
|
+
// See https://github.com/axios/axios/issues/69
|
|
493
|
+
// User-Agent is specified; handle case where no UA header is desired
|
|
494
|
+
// Only set header if it hasn't been set in config
|
|
495
|
+
headers.set('User-Agent', 'axios/' + VERSION, false);
|
|
496
|
+
|
|
497
|
+
const { onUploadProgress, onDownloadProgress } = config;
|
|
498
|
+
const maxRate = config.maxRate;
|
|
499
|
+
let maxUploadRate = undefined;
|
|
500
|
+
let maxDownloadRate = undefined;
|
|
501
|
+
|
|
502
|
+
// support for spec compliant FormData objects
|
|
503
|
+
if (utils.isSpecCompliantForm(data)) {
|
|
504
|
+
const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i);
|
|
505
|
+
|
|
506
|
+
data = formDataToStream(
|
|
507
|
+
data,
|
|
508
|
+
(formHeaders) => {
|
|
509
|
+
headers.set(formHeaders);
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
tag: `axios-${VERSION}-boundary`,
|
|
513
|
+
boundary: (userBoundary && userBoundary[1]) || undefined,
|
|
514
|
+
}
|
|
515
|
+
);
|
|
516
|
+
// support for https://www.npmjs.com/package/form-data api
|
|
517
|
+
} else if (utils.isFormData(data) && utils.isFunction(data.getHeaders)) {
|
|
518
|
+
headers.set(data.getHeaders());
|
|
448
519
|
|
|
449
|
-
if (!
|
|
450
|
-
|
|
520
|
+
if (!headers.hasContentLength()) {
|
|
521
|
+
try {
|
|
522
|
+
const knownLength = await util.promisify(data.getLength).call(data);
|
|
523
|
+
Number.isFinite(knownLength) &&
|
|
524
|
+
knownLength >= 0 &&
|
|
525
|
+
headers.setContentLength(knownLength);
|
|
526
|
+
/*eslint no-empty:0*/
|
|
527
|
+
} catch (e) {}
|
|
528
|
+
}
|
|
529
|
+
} else if (utils.isBlob(data) || utils.isFile(data)) {
|
|
530
|
+
data.size && headers.setContentType(data.type || 'application/octet-stream');
|
|
531
|
+
headers.setContentLength(data.size || 0);
|
|
532
|
+
data = stream.Readable.from(readBlob(data));
|
|
533
|
+
} else if (data && !utils.isStream(data)) {
|
|
534
|
+
if (Buffer.isBuffer(data)) {
|
|
535
|
+
// Nothing to do...
|
|
536
|
+
} else if (utils.isArrayBuffer(data)) {
|
|
537
|
+
data = Buffer.from(new Uint8Array(data));
|
|
538
|
+
} else if (utils.isString(data)) {
|
|
539
|
+
data = Buffer.from(data, 'utf-8');
|
|
540
|
+
} else {
|
|
541
|
+
return reject(
|
|
542
|
+
new AxiosError(
|
|
543
|
+
'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',
|
|
544
|
+
AxiosError.ERR_BAD_REQUEST,
|
|
545
|
+
config
|
|
546
|
+
)
|
|
547
|
+
);
|
|
451
548
|
}
|
|
452
|
-
} else if (responseType === 'stream') {
|
|
453
|
-
convertedData = stream.Readable.from(convertedData);
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
return settle(resolve, reject, {
|
|
457
|
-
data: convertedData,
|
|
458
|
-
status: 200,
|
|
459
|
-
statusText: 'OK',
|
|
460
|
-
headers: new AxiosHeaders(),
|
|
461
|
-
config
|
|
462
|
-
});
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
if (supportedProtocols.indexOf(protocol) === -1) {
|
|
466
|
-
return reject(new AxiosError(
|
|
467
|
-
'Unsupported protocol ' + protocol,
|
|
468
|
-
AxiosError.ERR_BAD_REQUEST,
|
|
469
|
-
config
|
|
470
|
-
));
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
const headers = AxiosHeaders.from(config.headers).normalize();
|
|
474
|
-
|
|
475
|
-
// Set User-Agent (required by some servers)
|
|
476
|
-
// See https://github.com/axios/axios/issues/69
|
|
477
|
-
// User-Agent is specified; handle case where no UA header is desired
|
|
478
|
-
// Only set header if it hasn't been set in config
|
|
479
|
-
headers.set('User-Agent', 'axios/' + VERSION, false);
|
|
480
|
-
|
|
481
|
-
const {onUploadProgress, onDownloadProgress} = config;
|
|
482
|
-
const maxRate = config.maxRate;
|
|
483
|
-
let maxUploadRate = undefined;
|
|
484
|
-
let maxDownloadRate = undefined;
|
|
485
|
-
|
|
486
|
-
// support for spec compliant FormData objects
|
|
487
|
-
if (utils.isSpecCompliantForm(data)) {
|
|
488
|
-
const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i);
|
|
489
549
|
|
|
490
|
-
|
|
491
|
-
headers.
|
|
492
|
-
}, {
|
|
493
|
-
tag: `axios-${VERSION}-boundary`,
|
|
494
|
-
boundary: userBoundary && userBoundary[1] || undefined
|
|
495
|
-
});
|
|
496
|
-
// support for https://www.npmjs.com/package/form-data api
|
|
497
|
-
} else if (utils.isFormData(data) && utils.isFunction(data.getHeaders)) {
|
|
498
|
-
headers.set(data.getHeaders());
|
|
550
|
+
// Add Content-Length header if data exists
|
|
551
|
+
headers.setContentLength(data.length, false);
|
|
499
552
|
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
553
|
+
if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {
|
|
554
|
+
return reject(
|
|
555
|
+
new AxiosError(
|
|
556
|
+
'Request body larger than maxBodyLength limit',
|
|
557
|
+
AxiosError.ERR_BAD_REQUEST,
|
|
558
|
+
config
|
|
559
|
+
)
|
|
560
|
+
);
|
|
506
561
|
}
|
|
507
562
|
}
|
|
508
|
-
} else if (utils.isBlob(data) || utils.isFile(data)) {
|
|
509
|
-
data.size && headers.setContentType(data.type || 'application/octet-stream');
|
|
510
|
-
headers.setContentLength(data.size || 0);
|
|
511
|
-
data = stream.Readable.from(readBlob(data));
|
|
512
|
-
} else if (data && !utils.isStream(data)) {
|
|
513
|
-
if (Buffer.isBuffer(data)) {
|
|
514
|
-
// Nothing to do...
|
|
515
|
-
} else if (utils.isArrayBuffer(data)) {
|
|
516
|
-
data = Buffer.from(new Uint8Array(data));
|
|
517
|
-
} else if (utils.isString(data)) {
|
|
518
|
-
data = Buffer.from(data, 'utf-8');
|
|
519
|
-
} else {
|
|
520
|
-
return reject(new AxiosError(
|
|
521
|
-
'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',
|
|
522
|
-
AxiosError.ERR_BAD_REQUEST,
|
|
523
|
-
config
|
|
524
|
-
));
|
|
525
|
-
}
|
|
526
563
|
|
|
527
|
-
|
|
528
|
-
headers.setContentLength(data.length, false);
|
|
564
|
+
const contentLength = utils.toFiniteNumber(headers.getContentLength());
|
|
529
565
|
|
|
530
|
-
if (
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
));
|
|
566
|
+
if (utils.isArray(maxRate)) {
|
|
567
|
+
maxUploadRate = maxRate[0];
|
|
568
|
+
maxDownloadRate = maxRate[1];
|
|
569
|
+
} else {
|
|
570
|
+
maxUploadRate = maxDownloadRate = maxRate;
|
|
536
571
|
}
|
|
537
|
-
}
|
|
538
572
|
|
|
539
|
-
|
|
573
|
+
if (data && (onUploadProgress || maxUploadRate)) {
|
|
574
|
+
if (!utils.isStream(data)) {
|
|
575
|
+
data = stream.Readable.from(data, { objectMode: false });
|
|
576
|
+
}
|
|
540
577
|
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
578
|
+
data = stream.pipeline(
|
|
579
|
+
[
|
|
580
|
+
data,
|
|
581
|
+
new AxiosTransformStream({
|
|
582
|
+
maxRate: utils.toFiniteNumber(maxUploadRate),
|
|
583
|
+
}),
|
|
584
|
+
],
|
|
585
|
+
utils.noop
|
|
586
|
+
);
|
|
587
|
+
|
|
588
|
+
onUploadProgress &&
|
|
589
|
+
data.on(
|
|
590
|
+
'progress',
|
|
591
|
+
flushOnFinish(
|
|
592
|
+
data,
|
|
593
|
+
progressEventDecorator(
|
|
594
|
+
contentLength,
|
|
595
|
+
progressEventReducer(asyncDecorator(onUploadProgress), false, 3)
|
|
596
|
+
)
|
|
597
|
+
)
|
|
598
|
+
);
|
|
599
|
+
}
|
|
547
600
|
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
601
|
+
// HTTP basic authentication
|
|
602
|
+
let auth = undefined;
|
|
603
|
+
if (config.auth) {
|
|
604
|
+
const username = config.auth.username || '';
|
|
605
|
+
const password = config.auth.password || '';
|
|
606
|
+
auth = username + ':' + password;
|
|
551
607
|
}
|
|
552
608
|
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
data,
|
|
559
|
-
progressEventDecorator(
|
|
560
|
-
contentLength,
|
|
561
|
-
progressEventReducer(asyncDecorator(onUploadProgress), false, 3)
|
|
562
|
-
)
|
|
563
|
-
));
|
|
564
|
-
}
|
|
609
|
+
if (!auth && parsed.username) {
|
|
610
|
+
const urlUsername = parsed.username;
|
|
611
|
+
const urlPassword = parsed.password;
|
|
612
|
+
auth = urlUsername + ':' + urlPassword;
|
|
613
|
+
}
|
|
565
614
|
|
|
566
|
-
|
|
567
|
-
let auth = undefined;
|
|
568
|
-
if (config.auth) {
|
|
569
|
-
const username = config.auth.username || '';
|
|
570
|
-
const password = config.auth.password || '';
|
|
571
|
-
auth = username + ':' + password;
|
|
572
|
-
}
|
|
615
|
+
auth && headers.delete('authorization');
|
|
573
616
|
|
|
574
|
-
|
|
575
|
-
const urlUsername = parsed.username;
|
|
576
|
-
const urlPassword = parsed.password;
|
|
577
|
-
auth = urlUsername + ':' + urlPassword;
|
|
578
|
-
}
|
|
617
|
+
let path;
|
|
579
618
|
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
config
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
customErr.url = config.url;
|
|
594
|
-
customErr.exists = true;
|
|
595
|
-
return reject(customErr);
|
|
596
|
-
}
|
|
619
|
+
try {
|
|
620
|
+
path = buildURL(
|
|
621
|
+
parsed.pathname + parsed.search,
|
|
622
|
+
config.params,
|
|
623
|
+
config.paramsSerializer
|
|
624
|
+
).replace(/^\?/, '');
|
|
625
|
+
} catch (err) {
|
|
626
|
+
const customErr = new Error(err.message);
|
|
627
|
+
customErr.config = config;
|
|
628
|
+
customErr.url = config.url;
|
|
629
|
+
customErr.exists = true;
|
|
630
|
+
return reject(customErr);
|
|
631
|
+
}
|
|
597
632
|
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
633
|
+
headers.set(
|
|
634
|
+
'Accept-Encoding',
|
|
635
|
+
'gzip, compress, deflate' + (isBrotliSupported ? ', br' : ''),
|
|
636
|
+
false
|
|
601
637
|
);
|
|
602
638
|
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
639
|
+
const options = {
|
|
640
|
+
path,
|
|
641
|
+
method: method,
|
|
642
|
+
headers: headers.toJSON(),
|
|
643
|
+
agents: { http: config.httpAgent, https: config.httpsAgent },
|
|
644
|
+
auth,
|
|
645
|
+
protocol,
|
|
646
|
+
family,
|
|
647
|
+
beforeRedirect: dispatchBeforeRedirect,
|
|
648
|
+
beforeRedirects: {},
|
|
649
|
+
http2Options,
|
|
650
|
+
};
|
|
615
651
|
|
|
616
|
-
|
|
617
|
-
|
|
652
|
+
// cacheable-lookup integration hotfix
|
|
653
|
+
!utils.isUndefined(lookup) && (options.lookup = lookup);
|
|
618
654
|
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
655
|
+
if (config.socketPath) {
|
|
656
|
+
options.socketPath = config.socketPath;
|
|
657
|
+
} else {
|
|
658
|
+
options.hostname = parsed.hostname.startsWith('[')
|
|
659
|
+
? parsed.hostname.slice(1, -1)
|
|
660
|
+
: parsed.hostname;
|
|
661
|
+
options.port = parsed.port;
|
|
662
|
+
setProxy(
|
|
663
|
+
options,
|
|
664
|
+
config.proxy,
|
|
665
|
+
protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path
|
|
666
|
+
);
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
let transport;
|
|
670
|
+
const isHttpsRequest = isHttps.test(options.protocol);
|
|
671
|
+
options.agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;
|
|
626
672
|
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
options.agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;
|
|
630
|
-
|
|
631
|
-
if (isHttp2) {
|
|
632
|
-
transport = http2Transport;
|
|
633
|
-
} else {
|
|
634
|
-
if (config.transport) {
|
|
635
|
-
transport = config.transport;
|
|
636
|
-
} else if (config.maxRedirects === 0) {
|
|
637
|
-
transport = isHttpsRequest ? https : http;
|
|
673
|
+
if (isHttp2) {
|
|
674
|
+
transport = http2Transport;
|
|
638
675
|
} else {
|
|
639
|
-
if (config.
|
|
640
|
-
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
|
|
676
|
+
if (config.transport) {
|
|
677
|
+
transport = config.transport;
|
|
678
|
+
} else if (config.maxRedirects === 0) {
|
|
679
|
+
transport = isHttpsRequest ? https : http;
|
|
680
|
+
} else {
|
|
681
|
+
if (config.maxRedirects) {
|
|
682
|
+
options.maxRedirects = config.maxRedirects;
|
|
683
|
+
}
|
|
684
|
+
if (config.beforeRedirect) {
|
|
685
|
+
options.beforeRedirects.config = config.beforeRedirect;
|
|
686
|
+
}
|
|
687
|
+
transport = isHttpsRequest ? httpsFollow : httpFollow;
|
|
644
688
|
}
|
|
645
|
-
transport = isHttpsRequest ? httpsFollow : httpFollow;
|
|
646
689
|
}
|
|
647
|
-
}
|
|
648
690
|
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
if (config.insecureHTTPParser) {
|
|
657
|
-
options.insecureHTTPParser = config.insecureHTTPParser;
|
|
658
|
-
}
|
|
691
|
+
if (config.maxBodyLength > -1) {
|
|
692
|
+
options.maxBodyLength = config.maxBodyLength;
|
|
693
|
+
} else {
|
|
694
|
+
// follow-redirects does not skip comparison, so it should always succeed for axios -1 unlimited
|
|
695
|
+
options.maxBodyLength = Infinity;
|
|
696
|
+
}
|
|
659
697
|
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
698
|
+
if (config.insecureHTTPParser) {
|
|
699
|
+
options.insecureHTTPParser = config.insecureHTTPParser;
|
|
700
|
+
}
|
|
663
701
|
|
|
664
|
-
|
|
702
|
+
// Create the request
|
|
703
|
+
req = transport.request(options, function handleResponse(res) {
|
|
704
|
+
if (req.destroyed) return;
|
|
665
705
|
|
|
666
|
-
|
|
706
|
+
const streams = [res];
|
|
667
707
|
|
|
668
|
-
|
|
669
|
-
const transformStream = new AxiosTransformStream({
|
|
670
|
-
maxRate: utils.toFiniteNumber(maxDownloadRate)
|
|
671
|
-
});
|
|
708
|
+
const responseLength = utils.toFiniteNumber(res.headers['content-length']);
|
|
672
709
|
|
|
673
|
-
onDownloadProgress
|
|
674
|
-
transformStream
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)
|
|
678
|
-
)
|
|
679
|
-
));
|
|
710
|
+
if (onDownloadProgress || maxDownloadRate) {
|
|
711
|
+
const transformStream = new AxiosTransformStream({
|
|
712
|
+
maxRate: utils.toFiniteNumber(maxDownloadRate),
|
|
713
|
+
});
|
|
680
714
|
|
|
681
|
-
|
|
682
|
-
|
|
715
|
+
onDownloadProgress &&
|
|
716
|
+
transformStream.on(
|
|
717
|
+
'progress',
|
|
718
|
+
flushOnFinish(
|
|
719
|
+
transformStream,
|
|
720
|
+
progressEventDecorator(
|
|
721
|
+
responseLength,
|
|
722
|
+
progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)
|
|
723
|
+
)
|
|
724
|
+
)
|
|
725
|
+
);
|
|
683
726
|
|
|
684
|
-
|
|
685
|
-
|
|
727
|
+
streams.push(transformStream);
|
|
728
|
+
}
|
|
686
729
|
|
|
687
|
-
|
|
688
|
-
|
|
730
|
+
// decompress the response body transparently if required
|
|
731
|
+
let responseStream = res;
|
|
689
732
|
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
// if no content, but headers still say that it is encoded,
|
|
693
|
-
// remove the header not confuse downstream operations
|
|
694
|
-
if (method === 'HEAD' || res.statusCode === 204) {
|
|
695
|
-
delete res.headers['content-encoding'];
|
|
696
|
-
}
|
|
733
|
+
// return the last request in case of redirects
|
|
734
|
+
const lastRequest = res.req || req;
|
|
697
735
|
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
case 'x-compress':
|
|
704
|
-
// add the unzipper to the body stream processing pipeline
|
|
705
|
-
streams.push(zlib.createUnzip(zlibOptions));
|
|
706
|
-
|
|
707
|
-
// remove the content-encoding in order to not confuse downstream operations
|
|
708
|
-
delete res.headers['content-encoding'];
|
|
709
|
-
break;
|
|
710
|
-
case 'deflate':
|
|
711
|
-
streams.push(new ZlibHeaderTransformStream());
|
|
712
|
-
|
|
713
|
-
// add the unzipper to the body stream processing pipeline
|
|
714
|
-
streams.push(zlib.createUnzip(zlibOptions));
|
|
715
|
-
|
|
716
|
-
// remove the content-encoding in order to not confuse downstream operations
|
|
717
|
-
delete res.headers['content-encoding'];
|
|
718
|
-
break;
|
|
719
|
-
case 'br':
|
|
720
|
-
if (isBrotliSupported) {
|
|
721
|
-
streams.push(zlib.createBrotliDecompress(brotliOptions));
|
|
736
|
+
// if decompress disabled we should not decompress
|
|
737
|
+
if (config.decompress !== false && res.headers['content-encoding']) {
|
|
738
|
+
// if no content, but headers still say that it is encoded,
|
|
739
|
+
// remove the header not confuse downstream operations
|
|
740
|
+
if (method === 'HEAD' || res.statusCode === 204) {
|
|
722
741
|
delete res.headers['content-encoding'];
|
|
723
742
|
}
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
743
|
|
|
727
|
-
|
|
744
|
+
switch ((res.headers['content-encoding'] || '').toLowerCase()) {
|
|
745
|
+
/*eslint default-case:0*/
|
|
746
|
+
case 'gzip':
|
|
747
|
+
case 'x-gzip':
|
|
748
|
+
case 'compress':
|
|
749
|
+
case 'x-compress':
|
|
750
|
+
// add the unzipper to the body stream processing pipeline
|
|
751
|
+
streams.push(zlib.createUnzip(zlibOptions));
|
|
752
|
+
|
|
753
|
+
// remove the content-encoding in order to not confuse downstream operations
|
|
754
|
+
delete res.headers['content-encoding'];
|
|
755
|
+
break;
|
|
756
|
+
case 'deflate':
|
|
757
|
+
streams.push(new ZlibHeaderTransformStream());
|
|
758
|
+
|
|
759
|
+
// add the unzipper to the body stream processing pipeline
|
|
760
|
+
streams.push(zlib.createUnzip(zlibOptions));
|
|
761
|
+
|
|
762
|
+
// remove the content-encoding in order to not confuse downstream operations
|
|
763
|
+
delete res.headers['content-encoding'];
|
|
764
|
+
break;
|
|
765
|
+
case 'br':
|
|
766
|
+
if (isBrotliSupported) {
|
|
767
|
+
streams.push(zlib.createBrotliDecompress(brotliOptions));
|
|
768
|
+
delete res.headers['content-encoding'];
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
}
|
|
728
772
|
|
|
773
|
+
responseStream = streams.length > 1 ? stream.pipeline(streams, utils.noop) : streams[0];
|
|
729
774
|
|
|
775
|
+
const response = {
|
|
776
|
+
status: res.statusCode,
|
|
777
|
+
statusText: res.statusMessage,
|
|
778
|
+
headers: new AxiosHeaders(res.headers),
|
|
779
|
+
config,
|
|
780
|
+
request: lastRequest,
|
|
781
|
+
};
|
|
730
782
|
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
783
|
+
if (responseType === 'stream') {
|
|
784
|
+
response.data = responseStream;
|
|
785
|
+
settle(resolve, reject, response);
|
|
786
|
+
} else {
|
|
787
|
+
const responseBuffer = [];
|
|
788
|
+
let totalResponseBytes = 0;
|
|
789
|
+
|
|
790
|
+
responseStream.on('data', function handleStreamData(chunk) {
|
|
791
|
+
responseBuffer.push(chunk);
|
|
792
|
+
totalResponseBytes += chunk.length;
|
|
793
|
+
|
|
794
|
+
// make sure the content length is not over the maxContentLength if specified
|
|
795
|
+
if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
|
|
796
|
+
// stream.destroy() emit aborted event before calling reject() on Node.js v16
|
|
797
|
+
rejected = true;
|
|
798
|
+
responseStream.destroy();
|
|
799
|
+
abort(
|
|
800
|
+
new AxiosError(
|
|
801
|
+
'maxContentLength size of ' + config.maxContentLength + ' exceeded',
|
|
802
|
+
AxiosError.ERR_BAD_RESPONSE,
|
|
803
|
+
config,
|
|
804
|
+
lastRequest
|
|
805
|
+
)
|
|
806
|
+
);
|
|
807
|
+
}
|
|
808
|
+
});
|
|
738
809
|
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
const responseBuffer = [];
|
|
744
|
-
let totalResponseBytes = 0;
|
|
810
|
+
responseStream.on('aborted', function handlerStreamAborted() {
|
|
811
|
+
if (rejected) {
|
|
812
|
+
return;
|
|
813
|
+
}
|
|
745
814
|
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
815
|
+
const err = new AxiosError(
|
|
816
|
+
'stream has been aborted',
|
|
817
|
+
AxiosError.ERR_BAD_RESPONSE,
|
|
818
|
+
config,
|
|
819
|
+
lastRequest
|
|
820
|
+
);
|
|
821
|
+
responseStream.destroy(err);
|
|
822
|
+
reject(err);
|
|
823
|
+
});
|
|
824
|
+
|
|
825
|
+
responseStream.on('error', function handleStreamError(err) {
|
|
826
|
+
if (req.destroyed) return;
|
|
827
|
+
reject(AxiosError.from(err, null, config, lastRequest));
|
|
828
|
+
});
|
|
829
|
+
|
|
830
|
+
responseStream.on('end', function handleStreamEnd() {
|
|
831
|
+
try {
|
|
832
|
+
let responseData =
|
|
833
|
+
responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);
|
|
834
|
+
if (responseType !== 'arraybuffer') {
|
|
835
|
+
responseData = responseData.toString(responseEncoding);
|
|
836
|
+
if (!responseEncoding || responseEncoding === 'utf8') {
|
|
837
|
+
responseData = utils.stripBOM(responseData);
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
response.data = responseData;
|
|
841
|
+
} catch (err) {
|
|
842
|
+
return reject(AxiosError.from(err, null, config, response.request, response));
|
|
843
|
+
}
|
|
844
|
+
settle(resolve, reject, response);
|
|
845
|
+
});
|
|
846
|
+
}
|
|
749
847
|
|
|
750
|
-
|
|
751
|
-
if (
|
|
752
|
-
|
|
753
|
-
rejected = true;
|
|
848
|
+
abortEmitter.once('abort', (err) => {
|
|
849
|
+
if (!responseStream.destroyed) {
|
|
850
|
+
responseStream.emit('error', err);
|
|
754
851
|
responseStream.destroy();
|
|
755
|
-
abort(new AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded',
|
|
756
|
-
AxiosError.ERR_BAD_RESPONSE, config, lastRequest));
|
|
757
852
|
}
|
|
758
853
|
});
|
|
854
|
+
});
|
|
759
855
|
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
856
|
+
abortEmitter.once('abort', (err) => {
|
|
857
|
+
if (req.close) {
|
|
858
|
+
req.close();
|
|
859
|
+
} else {
|
|
860
|
+
req.destroy(err);
|
|
861
|
+
}
|
|
862
|
+
});
|
|
764
863
|
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
lastRequest
|
|
770
|
-
);
|
|
771
|
-
responseStream.destroy(err);
|
|
772
|
-
reject(err);
|
|
773
|
-
});
|
|
864
|
+
// Handle errors
|
|
865
|
+
req.on('error', function handleRequestError(err) {
|
|
866
|
+
reject(AxiosError.from(err, null, config, req));
|
|
867
|
+
});
|
|
774
868
|
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
869
|
+
// set tcp keep alive to prevent drop connection by peer
|
|
870
|
+
req.on('socket', function handleRequestSocket(socket) {
|
|
871
|
+
// default interval of sending ack packet is 1 minute
|
|
872
|
+
socket.setKeepAlive(true, 1000 * 60);
|
|
873
|
+
});
|
|
779
874
|
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
});
|
|
795
|
-
}
|
|
875
|
+
// Handle request timeout
|
|
876
|
+
if (config.timeout) {
|
|
877
|
+
// This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.
|
|
878
|
+
const timeout = parseInt(config.timeout, 10);
|
|
879
|
+
|
|
880
|
+
if (Number.isNaN(timeout)) {
|
|
881
|
+
abort(
|
|
882
|
+
new AxiosError(
|
|
883
|
+
'error trying to parse `config.timeout` to int',
|
|
884
|
+
AxiosError.ERR_BAD_OPTION_VALUE,
|
|
885
|
+
config,
|
|
886
|
+
req
|
|
887
|
+
)
|
|
888
|
+
);
|
|
796
889
|
|
|
797
|
-
|
|
798
|
-
if (!responseStream.destroyed) {
|
|
799
|
-
responseStream.emit('error', err);
|
|
800
|
-
responseStream.destroy();
|
|
890
|
+
return;
|
|
801
891
|
}
|
|
802
|
-
});
|
|
803
|
-
});
|
|
804
892
|
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
893
|
+
// Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.
|
|
894
|
+
// And timer callback will be fired, and abort() will be invoked before connection, then get "socket hang up" and code ECONNRESET.
|
|
895
|
+
// At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.
|
|
896
|
+
// And then these socket which be hang up will devouring CPU little by little.
|
|
897
|
+
// ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.
|
|
898
|
+
req.setTimeout(timeout, function handleRequestTimeout() {
|
|
899
|
+
if (isDone) return;
|
|
900
|
+
let timeoutErrorMessage = config.timeout
|
|
901
|
+
? 'timeout of ' + config.timeout + 'ms exceeded'
|
|
902
|
+
: 'timeout exceeded';
|
|
903
|
+
const transitional = config.transitional || transitionalDefaults;
|
|
904
|
+
if (config.timeoutErrorMessage) {
|
|
905
|
+
timeoutErrorMessage = config.timeoutErrorMessage;
|
|
906
|
+
}
|
|
907
|
+
abort(
|
|
908
|
+
new AxiosError(
|
|
909
|
+
timeoutErrorMessage,
|
|
910
|
+
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
911
|
+
config,
|
|
912
|
+
req
|
|
913
|
+
)
|
|
914
|
+
);
|
|
915
|
+
});
|
|
808
916
|
} else {
|
|
809
|
-
|
|
917
|
+
// explicitly reset the socket timeout value for a possible `keep-alive` request
|
|
918
|
+
req.setTimeout(0);
|
|
810
919
|
}
|
|
811
|
-
});
|
|
812
920
|
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
reject(AxiosError.from(err, null, config, req));
|
|
818
|
-
});
|
|
921
|
+
// Send the request
|
|
922
|
+
if (utils.isStream(data)) {
|
|
923
|
+
let ended = false;
|
|
924
|
+
let errored = false;
|
|
819
925
|
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
socket.setKeepAlive(true, 1000 * 60);
|
|
824
|
-
});
|
|
926
|
+
data.on('end', () => {
|
|
927
|
+
ended = true;
|
|
928
|
+
});
|
|
825
929
|
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
930
|
+
data.once('error', (err) => {
|
|
931
|
+
errored = true;
|
|
932
|
+
req.destroy(err);
|
|
933
|
+
});
|
|
830
934
|
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
req
|
|
837
|
-
));
|
|
935
|
+
data.on('close', () => {
|
|
936
|
+
if (!ended && !errored) {
|
|
937
|
+
abort(new CanceledError('Request stream has been aborted', config, req));
|
|
938
|
+
}
|
|
939
|
+
});
|
|
838
940
|
|
|
839
|
-
|
|
941
|
+
data.pipe(req);
|
|
942
|
+
} else {
|
|
943
|
+
data && req.write(data);
|
|
944
|
+
req.end();
|
|
840
945
|
}
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
// And timer callback will be fired, and abort() will be invoked before connection, then get "socket hang up" and code ECONNRESET.
|
|
844
|
-
// At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.
|
|
845
|
-
// And then these socket which be hang up will devouring CPU little by little.
|
|
846
|
-
// ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.
|
|
847
|
-
req.setTimeout(timeout, function handleRequestTimeout() {
|
|
848
|
-
if (isDone) return;
|
|
849
|
-
let timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
850
|
-
const transitional = config.transitional || transitionalDefaults;
|
|
851
|
-
if (config.timeoutErrorMessage) {
|
|
852
|
-
timeoutErrorMessage = config.timeoutErrorMessage;
|
|
853
|
-
}
|
|
854
|
-
abort(new AxiosError(
|
|
855
|
-
timeoutErrorMessage,
|
|
856
|
-
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
857
|
-
config,
|
|
858
|
-
req
|
|
859
|
-
));
|
|
860
|
-
});
|
|
861
|
-
} else {
|
|
862
|
-
// explicitly reset the socket timeout value for a possible `keep-alive` request
|
|
863
|
-
req.setTimeout(0);
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
// Send the request
|
|
868
|
-
if (utils.isStream(data)) {
|
|
869
|
-
let ended = false;
|
|
870
|
-
let errored = false;
|
|
871
|
-
|
|
872
|
-
data.on('end', () => {
|
|
873
|
-
ended = true;
|
|
874
|
-
});
|
|
875
|
-
|
|
876
|
-
data.once('error', err => {
|
|
877
|
-
errored = true;
|
|
878
|
-
req.destroy(err);
|
|
879
|
-
});
|
|
880
|
-
|
|
881
|
-
data.on('close', () => {
|
|
882
|
-
if (!ended && !errored) {
|
|
883
|
-
abort(new CanceledError('Request stream has been aborted', config, req));
|
|
884
|
-
}
|
|
885
|
-
});
|
|
886
|
-
|
|
887
|
-
data.pipe(req);
|
|
888
|
-
} else {
|
|
889
|
-
data && req.write(data);
|
|
890
|
-
req.end();
|
|
891
|
-
}
|
|
892
|
-
});
|
|
893
|
-
}
|
|
946
|
+
});
|
|
947
|
+
};
|
|
894
948
|
|
|
895
949
|
export const __setProxy = setProxy;
|