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,3 +1,877 @@
|
|
|
1
|
-
# Migration Guide
|
|
1
|
+
# Axios Migration Guide
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> **Migrating from Axios 0.x to 1.x**
|
|
4
|
+
>
|
|
5
|
+
> This guide helps developers upgrade from Axios 0.x to 1.x by documenting breaking changes, providing migration strategies, and offering solutions to common upgrade challenges.
|
|
6
|
+
|
|
7
|
+
## Table of Contents
|
|
8
|
+
|
|
9
|
+
- [Overview](#overview)
|
|
10
|
+
- [Breaking Changes](#breaking-changes)
|
|
11
|
+
- [Error Handling Migration](#error-handling-migration)
|
|
12
|
+
- [API Changes](#api-changes)
|
|
13
|
+
- [Configuration Changes](#configuration-changes)
|
|
14
|
+
- [Migration Strategies](#migration-strategies)
|
|
15
|
+
- [Common Patterns](#common-patterns)
|
|
16
|
+
- [Troubleshooting](#troubleshooting)
|
|
17
|
+
- [Resources](#resources)
|
|
18
|
+
|
|
19
|
+
## Overview
|
|
20
|
+
|
|
21
|
+
Axios 1.x introduced several breaking changes to improve consistency, security, and developer experience. While these changes provide better error handling and more predictable behavior, they require code updates when migrating from 0.x versions.
|
|
22
|
+
|
|
23
|
+
### Key Changes Summary
|
|
24
|
+
|
|
25
|
+
| Area | 0.x Behavior | 1.x Behavior | Impact |
|
|
26
|
+
|------|--------------|--------------|--------|
|
|
27
|
+
| Error Handling | Selective throwing | Consistent throwing | High |
|
|
28
|
+
| JSON Parsing | Lenient | Strict | Medium |
|
|
29
|
+
| Browser Support | IE11+ | Modern browsers | Low-Medium |
|
|
30
|
+
| TypeScript | Partial | Full support | Low |
|
|
31
|
+
|
|
32
|
+
### Migration Complexity
|
|
33
|
+
|
|
34
|
+
- **Simple applications**: 1-2 hours
|
|
35
|
+
- **Medium applications**: 1-2 days
|
|
36
|
+
- **Large applications with complex error handling**: 3-5 days
|
|
37
|
+
|
|
38
|
+
## Breaking Changes
|
|
39
|
+
|
|
40
|
+
### 1. Error Handling Changes
|
|
41
|
+
|
|
42
|
+
**The most significant change in Axios 1.x is how errors are handled.**
|
|
43
|
+
|
|
44
|
+
#### 0.x Behavior
|
|
45
|
+
```javascript
|
|
46
|
+
// Axios 0.x - Some HTTP error codes didn't throw
|
|
47
|
+
axios.get('/api/data')
|
|
48
|
+
.then(response => {
|
|
49
|
+
// Response interceptor could handle all errors
|
|
50
|
+
console.log('Success:', response.data);
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
// Response interceptor handled everything
|
|
54
|
+
axios.interceptors.response.use(
|
|
55
|
+
response => response,
|
|
56
|
+
error => {
|
|
57
|
+
handleError(error);
|
|
58
|
+
// Error was "handled" and didn't propagate
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
#### 1.x Behavior
|
|
64
|
+
```javascript
|
|
65
|
+
// Axios 1.x - All HTTP errors throw consistently
|
|
66
|
+
axios.get('/api/data')
|
|
67
|
+
.then(response => {
|
|
68
|
+
console.log('Success:', response.data);
|
|
69
|
+
})
|
|
70
|
+
.catch(error => {
|
|
71
|
+
// Must handle errors at call site or they propagate
|
|
72
|
+
console.error('Request failed:', error);
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
// Response interceptor must re-throw or return rejected promise
|
|
76
|
+
axios.interceptors.response.use(
|
|
77
|
+
response => response,
|
|
78
|
+
error => {
|
|
79
|
+
handleError(error);
|
|
80
|
+
// Must explicitly handle propagation
|
|
81
|
+
return Promise.reject(error); // or throw error;
|
|
82
|
+
}
|
|
83
|
+
);
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
#### Impact
|
|
87
|
+
- **Response interceptors** can no longer "swallow" errors silently
|
|
88
|
+
- **Every API call** must handle errors explicitly or they become unhandled promise rejections
|
|
89
|
+
- **Centralized error handling** requires new patterns
|
|
90
|
+
|
|
91
|
+
### 2. JSON Parsing Changes
|
|
92
|
+
|
|
93
|
+
#### 0.x Behavior
|
|
94
|
+
```javascript
|
|
95
|
+
// Axios 0.x - Lenient JSON parsing
|
|
96
|
+
// Would attempt to parse even invalid JSON
|
|
97
|
+
response.data; // Might contain partial data or fallbacks
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
#### 1.x Behavior
|
|
101
|
+
```javascript
|
|
102
|
+
// Axios 1.x - Strict JSON parsing
|
|
103
|
+
// Throws clear errors for invalid JSON
|
|
104
|
+
try {
|
|
105
|
+
const data = response.data;
|
|
106
|
+
} catch (error) {
|
|
107
|
+
// Handle JSON parsing errors explicitly
|
|
108
|
+
}
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### 3. Request/Response Transform Changes
|
|
112
|
+
|
|
113
|
+
#### 0.x Behavior
|
|
114
|
+
```javascript
|
|
115
|
+
// Implicit transformations with some edge cases
|
|
116
|
+
transformRequest: [function (data) {
|
|
117
|
+
// Less predictable behavior
|
|
118
|
+
return data;
|
|
119
|
+
}]
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
#### 1.x Behavior
|
|
123
|
+
```javascript
|
|
124
|
+
// More consistent transformation pipeline
|
|
125
|
+
transformRequest: [function (data, headers) {
|
|
126
|
+
// Headers parameter always available
|
|
127
|
+
// More predictable behavior
|
|
128
|
+
return data;
|
|
129
|
+
}]
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### 4. Browser Support Changes
|
|
133
|
+
|
|
134
|
+
- **0.x**: Supported IE11 and older browsers
|
|
135
|
+
- **1.x**: Requires modern browsers with Promise support
|
|
136
|
+
- **Polyfills**: May be needed for older browser support
|
|
137
|
+
|
|
138
|
+
## Error Handling Migration
|
|
139
|
+
|
|
140
|
+
The error handling changes are the most complex part of migrating to Axios 1.x. Here are proven strategies:
|
|
141
|
+
|
|
142
|
+
### Strategy 1: Centralized Error Handling with Error Boundary
|
|
143
|
+
|
|
144
|
+
```javascript
|
|
145
|
+
// Create a centralized error handler
|
|
146
|
+
class ApiErrorHandler {
|
|
147
|
+
constructor() {
|
|
148
|
+
this.setupInterceptors();
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
setupInterceptors() {
|
|
152
|
+
axios.interceptors.response.use(
|
|
153
|
+
response => response,
|
|
154
|
+
error => {
|
|
155
|
+
// Centralized error processing
|
|
156
|
+
this.processError(error);
|
|
157
|
+
|
|
158
|
+
// Return a resolved promise with error info for handled errors
|
|
159
|
+
if (this.isHandledError(error)) {
|
|
160
|
+
return Promise.resolve({
|
|
161
|
+
data: null,
|
|
162
|
+
error: this.normalizeError(error),
|
|
163
|
+
handled: true
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
// Re-throw unhandled errors
|
|
168
|
+
return Promise.reject(error);
|
|
169
|
+
}
|
|
170
|
+
);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
processError(error) {
|
|
174
|
+
// Log errors
|
|
175
|
+
console.error('API Error:', error);
|
|
176
|
+
|
|
177
|
+
// Show user notifications
|
|
178
|
+
if (error.response?.status === 401) {
|
|
179
|
+
this.handleAuthError();
|
|
180
|
+
} else if (error.response?.status >= 500) {
|
|
181
|
+
this.showErrorNotification('Server error occurred');
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
isHandledError(error) {
|
|
186
|
+
// Define which errors are "handled" centrally
|
|
187
|
+
const handledStatuses = [401, 403, 404, 422, 500, 502, 503];
|
|
188
|
+
return handledStatuses.includes(error.response?.status);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
normalizeError(error) {
|
|
192
|
+
return {
|
|
193
|
+
status: error.response?.status,
|
|
194
|
+
message: error.response?.data?.message || error.message,
|
|
195
|
+
code: error.response?.data?.code || error.code
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
handleAuthError() {
|
|
200
|
+
// Redirect to login, clear tokens, etc.
|
|
201
|
+
localStorage.removeItem('token');
|
|
202
|
+
window.location.href = '/login';
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
showErrorNotification(message) {
|
|
206
|
+
// Show user-friendly error message
|
|
207
|
+
console.error(message); // Replace with your notification system
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
// Initialize globally
|
|
212
|
+
const errorHandler = new ApiErrorHandler();
|
|
213
|
+
|
|
214
|
+
// Usage in components/services
|
|
215
|
+
async function fetchUserData(userId) {
|
|
216
|
+
try {
|
|
217
|
+
const response = await axios.get(`/api/users/${userId}`);
|
|
218
|
+
|
|
219
|
+
// Check if error was handled centrally
|
|
220
|
+
if (response.handled) {
|
|
221
|
+
return { data: null, error: response.error };
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
return { data: response.data, error: null };
|
|
225
|
+
} catch (error) {
|
|
226
|
+
// Unhandled errors still need local handling
|
|
227
|
+
return { data: null, error: { message: 'Unexpected error occurred' } };
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
### Strategy 2: Wrapper Function Pattern
|
|
233
|
+
|
|
234
|
+
```javascript
|
|
235
|
+
// Create a wrapper that provides 0.x-like behavior
|
|
236
|
+
function createApiWrapper() {
|
|
237
|
+
const api = axios.create();
|
|
238
|
+
|
|
239
|
+
// Add response interceptor for centralized handling
|
|
240
|
+
api.interceptors.response.use(
|
|
241
|
+
response => response,
|
|
242
|
+
error => {
|
|
243
|
+
// Handle common errors centrally
|
|
244
|
+
if (error.response?.status === 401) {
|
|
245
|
+
// Handle auth errors
|
|
246
|
+
handleAuthError();
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
if (error.response?.status >= 500) {
|
|
250
|
+
// Handle server errors
|
|
251
|
+
showServerErrorNotification();
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
// Always reject to maintain error propagation
|
|
255
|
+
return Promise.reject(error);
|
|
256
|
+
}
|
|
257
|
+
);
|
|
258
|
+
|
|
259
|
+
// Wrapper function that mimics 0.x behavior
|
|
260
|
+
function safeRequest(requestConfig, options = {}) {
|
|
261
|
+
return api(requestConfig)
|
|
262
|
+
.then(response => response)
|
|
263
|
+
.catch(error => {
|
|
264
|
+
if (options.suppressErrors) {
|
|
265
|
+
// Return error info instead of throwing
|
|
266
|
+
return {
|
|
267
|
+
data: null,
|
|
268
|
+
error: {
|
|
269
|
+
status: error.response?.status,
|
|
270
|
+
message: error.response?.data?.message || error.message
|
|
271
|
+
}
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
throw error;
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
return { safeRequest, axios: api };
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
// Usage
|
|
282
|
+
const { safeRequest } = createApiWrapper();
|
|
283
|
+
|
|
284
|
+
// For calls where you want centralized error handling
|
|
285
|
+
const result = await safeRequest(
|
|
286
|
+
{ method: 'get', url: '/api/data' },
|
|
287
|
+
{ suppressErrors: true }
|
|
288
|
+
);
|
|
289
|
+
|
|
290
|
+
if (result.error) {
|
|
291
|
+
// Handle error case
|
|
292
|
+
console.log('Request failed:', result.error.message);
|
|
293
|
+
} else {
|
|
294
|
+
// Handle success case
|
|
295
|
+
console.log('Data:', result.data);
|
|
296
|
+
}
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
### Strategy 3: Global Error Handler with Custom Events
|
|
300
|
+
|
|
301
|
+
```javascript
|
|
302
|
+
// Set up global error handling with events
|
|
303
|
+
class GlobalErrorHandler extends EventTarget {
|
|
304
|
+
constructor() {
|
|
305
|
+
super();
|
|
306
|
+
this.setupInterceptors();
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
setupInterceptors() {
|
|
310
|
+
axios.interceptors.response.use(
|
|
311
|
+
response => response,
|
|
312
|
+
error => {
|
|
313
|
+
// Emit custom event for global handling
|
|
314
|
+
this.dispatchEvent(new CustomEvent('apiError', {
|
|
315
|
+
detail: { error, timestamp: new Date() }
|
|
316
|
+
}));
|
|
317
|
+
|
|
318
|
+
// Always reject to maintain proper error flow
|
|
319
|
+
return Promise.reject(error);
|
|
320
|
+
}
|
|
321
|
+
);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
const globalErrorHandler = new GlobalErrorHandler();
|
|
326
|
+
|
|
327
|
+
// Set up global listeners
|
|
328
|
+
globalErrorHandler.addEventListener('apiError', (event) => {
|
|
329
|
+
const { error } = event.detail;
|
|
330
|
+
|
|
331
|
+
// Centralized error logic
|
|
332
|
+
if (error.response?.status === 401) {
|
|
333
|
+
handleAuthError();
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
if (error.response?.status >= 500) {
|
|
337
|
+
showErrorNotification('Server error occurred');
|
|
338
|
+
}
|
|
339
|
+
});
|
|
340
|
+
|
|
341
|
+
// Usage remains clean
|
|
342
|
+
async function apiCall() {
|
|
343
|
+
try {
|
|
344
|
+
const response = await axios.get('/api/data');
|
|
345
|
+
return response.data;
|
|
346
|
+
} catch (error) {
|
|
347
|
+
// Error was already handled globally
|
|
348
|
+
// Just handle component-specific logic
|
|
349
|
+
return null;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
## API Changes
|
|
355
|
+
|
|
356
|
+
### Request Configuration
|
|
357
|
+
|
|
358
|
+
#### 0.x to 1.x Changes
|
|
359
|
+
```javascript
|
|
360
|
+
// 0.x - Some properties had different defaults
|
|
361
|
+
const config = {
|
|
362
|
+
timeout: 0, // No timeout by default
|
|
363
|
+
maxContentLength: -1, // No limit
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
// 1.x - More secure defaults
|
|
367
|
+
const config = {
|
|
368
|
+
timeout: 0, // Still no timeout, but easier to configure
|
|
369
|
+
maxContentLength: 2000, // Default limit for security
|
|
370
|
+
maxBodyLength: 2000, // New property
|
|
371
|
+
};
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
### Response Object
|
|
375
|
+
|
|
376
|
+
The response object structure remains largely the same, but error responses are more consistent:
|
|
377
|
+
|
|
378
|
+
```javascript
|
|
379
|
+
// Both 0.x and 1.x
|
|
380
|
+
response = {
|
|
381
|
+
data: {}, // Response body
|
|
382
|
+
status: 200, // HTTP status
|
|
383
|
+
statusText: 'OK', // HTTP status message
|
|
384
|
+
headers: {}, // Response headers
|
|
385
|
+
config: {}, // Request config
|
|
386
|
+
request: {} // Request object
|
|
387
|
+
};
|
|
388
|
+
|
|
389
|
+
// Error responses are more consistent in 1.x
|
|
390
|
+
error.response = {
|
|
391
|
+
data: {}, // Error response body
|
|
392
|
+
status: 404, // HTTP error status
|
|
393
|
+
statusText: 'Not Found',
|
|
394
|
+
headers: {},
|
|
395
|
+
config: {},
|
|
396
|
+
request: {}
|
|
397
|
+
};
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
## Configuration Changes
|
|
401
|
+
|
|
402
|
+
### Default Configuration Updates
|
|
403
|
+
|
|
404
|
+
```javascript
|
|
405
|
+
// 0.x defaults
|
|
406
|
+
axios.defaults.timeout = 0; // No timeout
|
|
407
|
+
axios.defaults.maxContentLength = -1; // No limit
|
|
408
|
+
|
|
409
|
+
// 1.x defaults (more secure)
|
|
410
|
+
axios.defaults.timeout = 0; // Still no timeout
|
|
411
|
+
axios.defaults.maxContentLength = 2000; // 2MB limit
|
|
412
|
+
axios.defaults.maxBodyLength = 2000; // 2MB limit
|
|
413
|
+
```
|
|
414
|
+
|
|
415
|
+
### Instance Configuration
|
|
416
|
+
|
|
417
|
+
```javascript
|
|
418
|
+
// 0.x - Instance creation
|
|
419
|
+
const api = axios.create({
|
|
420
|
+
baseURL: 'https://api.example.com',
|
|
421
|
+
timeout: 1000,
|
|
422
|
+
});
|
|
423
|
+
|
|
424
|
+
// 1.x - Same API, but more options available
|
|
425
|
+
const api = axios.create({
|
|
426
|
+
baseURL: 'https://api.example.com',
|
|
427
|
+
timeout: 1000,
|
|
428
|
+
maxBodyLength: Infinity, // Override default if needed
|
|
429
|
+
maxContentLength: Infinity,
|
|
430
|
+
});
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
## Migration Strategies
|
|
434
|
+
|
|
435
|
+
### Step-by-Step Migration Process
|
|
436
|
+
|
|
437
|
+
#### Phase 1: Preparation
|
|
438
|
+
1. **Audit Current Error Handling**
|
|
439
|
+
```bash
|
|
440
|
+
# Find all axios usage
|
|
441
|
+
grep -r "axios\." src/
|
|
442
|
+
grep -r "\.catch" src/
|
|
443
|
+
grep -r "interceptors" src/
|
|
444
|
+
```
|
|
445
|
+
|
|
446
|
+
2. **Identify Patterns**
|
|
447
|
+
- Response interceptors that handle errors
|
|
448
|
+
- Components that rely on centralized error handling
|
|
449
|
+
- Authentication and retry logic
|
|
450
|
+
|
|
451
|
+
3. **Create Test Cases**
|
|
452
|
+
```javascript
|
|
453
|
+
// Test current error handling behavior
|
|
454
|
+
describe('Error Handling Migration', () => {
|
|
455
|
+
it('should handle 401 errors consistently', async () => {
|
|
456
|
+
// Test authentication error flows
|
|
457
|
+
});
|
|
458
|
+
|
|
459
|
+
it('should handle 500 errors with user feedback', async () => {
|
|
460
|
+
// Test server error handling
|
|
461
|
+
});
|
|
462
|
+
});
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
#### Phase 2: Implementation
|
|
466
|
+
1. **Update Dependencies**
|
|
467
|
+
```bash
|
|
468
|
+
npm update axios
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
2. **Implement New Error Handling**
|
|
472
|
+
- Choose one of the strategies above
|
|
473
|
+
- Update response interceptors
|
|
474
|
+
- Add error handling to API calls
|
|
475
|
+
|
|
476
|
+
3. **Update Authentication Logic**
|
|
477
|
+
```javascript
|
|
478
|
+
// 0.x pattern
|
|
479
|
+
axios.interceptors.response.use(null, error => {
|
|
480
|
+
if (error.response?.status === 401) {
|
|
481
|
+
logout();
|
|
482
|
+
// Error was "handled"
|
|
483
|
+
}
|
|
484
|
+
});
|
|
485
|
+
|
|
486
|
+
// 1.x pattern
|
|
487
|
+
axios.interceptors.response.use(
|
|
488
|
+
response => response,
|
|
489
|
+
error => {
|
|
490
|
+
if (error.response?.status === 401) {
|
|
491
|
+
logout();
|
|
492
|
+
}
|
|
493
|
+
return Promise.reject(error); // Always propagate
|
|
494
|
+
}
|
|
495
|
+
);
|
|
496
|
+
```
|
|
497
|
+
|
|
498
|
+
#### Phase 3: Testing and Validation
|
|
499
|
+
1. **Test Error Scenarios**
|
|
500
|
+
- Network failures
|
|
501
|
+
- HTTP error codes (401, 403, 404, 500, etc.)
|
|
502
|
+
- Timeout errors
|
|
503
|
+
- JSON parsing errors
|
|
504
|
+
|
|
505
|
+
2. **Validate User Experience**
|
|
506
|
+
- Error messages are shown appropriately
|
|
507
|
+
- Authentication redirects work
|
|
508
|
+
- Loading states are handled correctly
|
|
509
|
+
|
|
510
|
+
### Gradual Migration Approach
|
|
511
|
+
|
|
512
|
+
For large applications, consider gradual migration:
|
|
513
|
+
|
|
514
|
+
```javascript
|
|
515
|
+
// Create a compatibility layer
|
|
516
|
+
const axiosCompat = {
|
|
517
|
+
// Use new axios instance for new code
|
|
518
|
+
v1: axios.create({
|
|
519
|
+
// 1.x configuration
|
|
520
|
+
}),
|
|
521
|
+
|
|
522
|
+
// Wrapper for legacy code
|
|
523
|
+
legacy: createLegacyWrapper(axios.create({
|
|
524
|
+
// Configuration that mimics 0.x behavior
|
|
525
|
+
}))
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
function createLegacyWrapper(axiosInstance) {
|
|
529
|
+
// Add interceptors that provide 0.x-like behavior
|
|
530
|
+
axiosInstance.interceptors.response.use(
|
|
531
|
+
response => response,
|
|
532
|
+
error => {
|
|
533
|
+
// Handle errors in 0.x style for legacy code
|
|
534
|
+
handleLegacyError(error);
|
|
535
|
+
// Don't propagate certain errors
|
|
536
|
+
if (shouldSuppressError(error)) {
|
|
537
|
+
return Promise.resolve({ data: null, error: true });
|
|
538
|
+
}
|
|
539
|
+
return Promise.reject(error);
|
|
540
|
+
}
|
|
541
|
+
);
|
|
542
|
+
|
|
543
|
+
return axiosInstance;
|
|
544
|
+
}
|
|
545
|
+
```
|
|
546
|
+
|
|
547
|
+
## Common Patterns
|
|
548
|
+
|
|
549
|
+
### Authentication Interceptors
|
|
550
|
+
|
|
551
|
+
#### Updated Authentication Pattern
|
|
552
|
+
```javascript
|
|
553
|
+
// Token refresh interceptor for 1.x
|
|
554
|
+
let isRefreshing = false;
|
|
555
|
+
let refreshSubscribers = [];
|
|
556
|
+
|
|
557
|
+
function subscribeTokenRefresh(cb) {
|
|
558
|
+
refreshSubscribers.push(cb);
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
function onTokenRefreshed(token) {
|
|
562
|
+
refreshSubscribers.forEach(cb => cb(token));
|
|
563
|
+
refreshSubscribers = [];
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
axios.interceptors.response.use(
|
|
567
|
+
response => response,
|
|
568
|
+
async error => {
|
|
569
|
+
const originalRequest = error.config;
|
|
570
|
+
|
|
571
|
+
if (error.response?.status === 401 && !originalRequest._retry) {
|
|
572
|
+
if (isRefreshing) {
|
|
573
|
+
// Wait for token refresh
|
|
574
|
+
return new Promise(resolve => {
|
|
575
|
+
subscribeTokenRefresh(token => {
|
|
576
|
+
originalRequest.headers.Authorization = `Bearer ${token}`;
|
|
577
|
+
resolve(axios(originalRequest));
|
|
578
|
+
});
|
|
579
|
+
});
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
originalRequest._retry = true;
|
|
583
|
+
isRefreshing = true;
|
|
584
|
+
|
|
585
|
+
try {
|
|
586
|
+
const newToken = await refreshToken();
|
|
587
|
+
onTokenRefreshed(newToken);
|
|
588
|
+
isRefreshing = false;
|
|
589
|
+
|
|
590
|
+
originalRequest.headers.Authorization = `Bearer ${newToken}`;
|
|
591
|
+
return axios(originalRequest);
|
|
592
|
+
} catch (refreshError) {
|
|
593
|
+
isRefreshing = false;
|
|
594
|
+
logout();
|
|
595
|
+
return Promise.reject(refreshError);
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
return Promise.reject(error);
|
|
600
|
+
}
|
|
601
|
+
);
|
|
602
|
+
```
|
|
603
|
+
|
|
604
|
+
### Retry Logic
|
|
605
|
+
|
|
606
|
+
```javascript
|
|
607
|
+
// Retry interceptor for 1.x
|
|
608
|
+
function createRetryInterceptor(maxRetries = 3, retryDelay = 1000) {
|
|
609
|
+
return axios.interceptors.response.use(
|
|
610
|
+
response => response,
|
|
611
|
+
async error => {
|
|
612
|
+
const config = error.config;
|
|
613
|
+
|
|
614
|
+
if (!config || !config.retry) {
|
|
615
|
+
return Promise.reject(error);
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
config.__retryCount = config.__retryCount || 0;
|
|
619
|
+
|
|
620
|
+
if (config.__retryCount >= maxRetries) {
|
|
621
|
+
return Promise.reject(error);
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
config.__retryCount += 1;
|
|
625
|
+
|
|
626
|
+
// Exponential backoff
|
|
627
|
+
const delay = retryDelay * Math.pow(2, config.__retryCount - 1);
|
|
628
|
+
await new Promise(resolve => setTimeout(resolve, delay));
|
|
629
|
+
|
|
630
|
+
return axios(config);
|
|
631
|
+
}
|
|
632
|
+
);
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
// Usage
|
|
636
|
+
const api = axios.create();
|
|
637
|
+
createRetryInterceptor(3, 1000);
|
|
638
|
+
|
|
639
|
+
// Make request with retry
|
|
640
|
+
api.get('/api/data', { retry: true });
|
|
641
|
+
```
|
|
642
|
+
|
|
643
|
+
### Loading State Management
|
|
644
|
+
|
|
645
|
+
```javascript
|
|
646
|
+
// Loading interceptor for 1.x
|
|
647
|
+
class LoadingManager {
|
|
648
|
+
constructor() {
|
|
649
|
+
this.requests = new Set();
|
|
650
|
+
this.setupInterceptors();
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
setupInterceptors() {
|
|
654
|
+
axios.interceptors.request.use(config => {
|
|
655
|
+
this.requests.add(config);
|
|
656
|
+
this.updateLoadingState();
|
|
657
|
+
return config;
|
|
658
|
+
});
|
|
659
|
+
|
|
660
|
+
axios.interceptors.response.use(
|
|
661
|
+
response => {
|
|
662
|
+
this.requests.delete(response.config);
|
|
663
|
+
this.updateLoadingState();
|
|
664
|
+
return response;
|
|
665
|
+
},
|
|
666
|
+
error => {
|
|
667
|
+
this.requests.delete(error.config);
|
|
668
|
+
this.updateLoadingState();
|
|
669
|
+
return Promise.reject(error);
|
|
670
|
+
}
|
|
671
|
+
);
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
updateLoadingState() {
|
|
675
|
+
const isLoading = this.requests.size > 0;
|
|
676
|
+
// Update your loading UI
|
|
677
|
+
document.body.classList.toggle('loading', isLoading);
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
const loadingManager = new LoadingManager();
|
|
682
|
+
```
|
|
683
|
+
|
|
684
|
+
## Troubleshooting
|
|
685
|
+
|
|
686
|
+
### Common Migration Issues
|
|
687
|
+
|
|
688
|
+
#### Issue 1: Unhandled Promise Rejections
|
|
689
|
+
|
|
690
|
+
**Problem:**
|
|
691
|
+
```javascript
|
|
692
|
+
// This pattern worked in 0.x but causes unhandled rejections in 1.x
|
|
693
|
+
axios.get('/api/data'); // No .catch() handler
|
|
694
|
+
```
|
|
695
|
+
|
|
696
|
+
**Solution:**
|
|
697
|
+
```javascript
|
|
698
|
+
// Always handle promises
|
|
699
|
+
axios.get('/api/data')
|
|
700
|
+
.catch(error => {
|
|
701
|
+
// Handle error appropriately
|
|
702
|
+
console.error('Request failed:', error.message);
|
|
703
|
+
});
|
|
704
|
+
|
|
705
|
+
// Or use async/await with try/catch
|
|
706
|
+
async function fetchData() {
|
|
707
|
+
try {
|
|
708
|
+
const response = await axios.get('/api/data');
|
|
709
|
+
return response.data;
|
|
710
|
+
} catch (error) {
|
|
711
|
+
console.error('Request failed:', error.message);
|
|
712
|
+
return null;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
```
|
|
716
|
+
|
|
717
|
+
#### Issue 2: Response Interceptors Not "Handling" Errors
|
|
718
|
+
|
|
719
|
+
**Problem:**
|
|
720
|
+
```javascript
|
|
721
|
+
// 0.x style - interceptor "handled" errors
|
|
722
|
+
axios.interceptors.response.use(null, error => {
|
|
723
|
+
showErrorMessage(error.message);
|
|
724
|
+
// Error was considered "handled"
|
|
725
|
+
});
|
|
726
|
+
```
|
|
727
|
+
|
|
728
|
+
**Solution:**
|
|
729
|
+
```javascript
|
|
730
|
+
// 1.x style - explicitly control error propagation
|
|
731
|
+
axios.interceptors.response.use(
|
|
732
|
+
response => response,
|
|
733
|
+
error => {
|
|
734
|
+
showErrorMessage(error.message);
|
|
735
|
+
|
|
736
|
+
// Choose whether to propagate the error
|
|
737
|
+
if (shouldPropagateError(error)) {
|
|
738
|
+
return Promise.reject(error);
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
// Return success-like response for "handled" errors
|
|
742
|
+
return Promise.resolve({
|
|
743
|
+
data: null,
|
|
744
|
+
handled: true,
|
|
745
|
+
error: normalizeError(error)
|
|
746
|
+
});
|
|
747
|
+
}
|
|
748
|
+
);
|
|
749
|
+
```
|
|
750
|
+
|
|
751
|
+
#### Issue 3: JSON Parsing Errors
|
|
752
|
+
|
|
753
|
+
**Problem:**
|
|
754
|
+
```javascript
|
|
755
|
+
// 1.x is stricter about JSON parsing
|
|
756
|
+
// This might throw where 0.x was lenient
|
|
757
|
+
const data = response.data;
|
|
758
|
+
```
|
|
759
|
+
|
|
760
|
+
**Solution:**
|
|
761
|
+
```javascript
|
|
762
|
+
// Add response transformer for better error handling
|
|
763
|
+
axios.defaults.transformResponse = [
|
|
764
|
+
function (data) {
|
|
765
|
+
if (typeof data === 'string') {
|
|
766
|
+
try {
|
|
767
|
+
return JSON.parse(data);
|
|
768
|
+
} catch (e) {
|
|
769
|
+
// Handle JSON parsing errors gracefully
|
|
770
|
+
console.warn('Invalid JSON response:', data);
|
|
771
|
+
return { error: 'Invalid JSON', rawData: data };
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
return data;
|
|
775
|
+
}
|
|
776
|
+
];
|
|
777
|
+
```
|
|
778
|
+
|
|
779
|
+
#### Issue 4: TypeScript Errors After Upgrade
|
|
780
|
+
|
|
781
|
+
**Problem:**
|
|
782
|
+
```typescript
|
|
783
|
+
// TypeScript errors after upgrade
|
|
784
|
+
const response = await axios.get('/api/data');
|
|
785
|
+
// Property 'someProperty' does not exist on type 'any'
|
|
786
|
+
```
|
|
787
|
+
|
|
788
|
+
**Solution:**
|
|
789
|
+
```typescript
|
|
790
|
+
// Define proper interfaces
|
|
791
|
+
interface ApiResponse {
|
|
792
|
+
data: any;
|
|
793
|
+
message: string;
|
|
794
|
+
success: boolean;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
const response = await axios.get<ApiResponse>('/api/data');
|
|
798
|
+
// Now properly typed
|
|
799
|
+
console.log(response.data.data);
|
|
800
|
+
```
|
|
801
|
+
|
|
802
|
+
### Debug Migration Issues
|
|
803
|
+
|
|
804
|
+
#### Enable Debug Logging
|
|
805
|
+
```javascript
|
|
806
|
+
// Add request/response logging
|
|
807
|
+
axios.interceptors.request.use(config => {
|
|
808
|
+
console.log('Request:', config);
|
|
809
|
+
return config;
|
|
810
|
+
});
|
|
811
|
+
|
|
812
|
+
axios.interceptors.response.use(
|
|
813
|
+
response => {
|
|
814
|
+
console.log('Response:', response);
|
|
815
|
+
return response;
|
|
816
|
+
},
|
|
817
|
+
error => {
|
|
818
|
+
console.log('Error:', error);
|
|
819
|
+
return Promise.reject(error);
|
|
820
|
+
}
|
|
821
|
+
);
|
|
822
|
+
```
|
|
823
|
+
|
|
824
|
+
#### Compare Behavior
|
|
825
|
+
```javascript
|
|
826
|
+
// Create side-by-side comparison during migration
|
|
827
|
+
const axios0x = require('axios-0x'); // Keep old version for testing
|
|
828
|
+
const axios1x = require('axios');
|
|
829
|
+
|
|
830
|
+
async function compareRequests(config) {
|
|
831
|
+
try {
|
|
832
|
+
const [result0x, result1x] = await Promise.allSettled([
|
|
833
|
+
axios0x(config),
|
|
834
|
+
axios1x(config)
|
|
835
|
+
]);
|
|
836
|
+
|
|
837
|
+
console.log('0.x result:', result0x);
|
|
838
|
+
console.log('1.x result:', result1x);
|
|
839
|
+
} catch (error) {
|
|
840
|
+
console.log('Comparison error:', error);
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
```
|
|
844
|
+
|
|
845
|
+
## Resources
|
|
846
|
+
|
|
847
|
+
### Official Documentation
|
|
848
|
+
- [Axios 1.x Documentation](https://axios-http.com/)
|
|
849
|
+
- [Axios GitHub Repository](https://github.com/axios/axios)
|
|
850
|
+
- [Axios Changelog](https://github.com/axios/axios/blob/main/CHANGELOG.md)
|
|
851
|
+
|
|
852
|
+
### Migration Tools
|
|
853
|
+
- [Axios Migration Codemod](https://github.com/axios/axios-migration-codemod) *(if available)*
|
|
854
|
+
- [ESLint Rules for Axios 1.x](https://github.com/axios/eslint-plugin-axios) *(if available)*
|
|
855
|
+
|
|
856
|
+
### Community Resources
|
|
857
|
+
- [Stack Overflow - Axios Migration Questions](https://stackoverflow.com/questions/tagged/axios+migration)
|
|
858
|
+
- [GitHub Discussions](https://github.com/axios/axios/discussions)
|
|
859
|
+
- [Axios Discord Community](https://discord.gg/axios) *(if available)*
|
|
860
|
+
|
|
861
|
+
### Related Issues
|
|
862
|
+
- [Error Handling Changes Discussion](https://github.com/axios/axios/issues/7208)
|
|
863
|
+
- [Migration Guide Request](https://github.com/axios/axios/issues/xxxx) *(link to related issues)*
|
|
864
|
+
|
|
865
|
+
---
|
|
866
|
+
|
|
867
|
+
## Need Help?
|
|
868
|
+
|
|
869
|
+
If you encounter issues during migration that aren't covered in this guide:
|
|
870
|
+
|
|
871
|
+
1. **Search existing issues** in the [Axios GitHub repository](https://github.com/axios/axios/issues)
|
|
872
|
+
2. **Ask questions** in [GitHub Discussions](https://github.com/axios/axios/discussions)
|
|
873
|
+
3. **Contribute improvements** to this migration guide
|
|
874
|
+
|
|
875
|
+
---
|
|
876
|
+
|
|
877
|
+
*This migration guide is maintained by the community. If you find errors or have suggestions, please [open an issue](https://github.com/axios/axios/issues) or submit a pull request.*
|