@cdk8s/awscdk-resolver 0.0.1 → 0.0.3
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 +69 -4
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/README.md +7 -7
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/CloudFormationClient.js +4 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ActivateOrganizationsAccessCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ActivateTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/BatchDescribeTypeConfigurationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CancelUpdateStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ContinueUpdateRollbackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateChangeSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateStackInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/CreateStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeactivateOrganizationsAccessCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeactivateTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteChangeSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteStackInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeleteStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DeregisterTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeAccountLimitsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeChangeSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeChangeSetHooksCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeOrganizationsAccessCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribePublisherCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackDriftDetectionStatusCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackEventsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackResourceDriftsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackResourcesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStackSetOperationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeStacksCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DescribeTypeRegistrationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DetectStackDriftCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DetectStackResourceDriftCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/DetectStackSetDriftCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/EstimateTemplateCostCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ExecuteChangeSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetStackPolicyCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetTemplateCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/GetTemplateSummaryCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ImportStacksToStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListChangeSetsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListExportsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListImportsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackInstanceResourceDriftsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackResourcesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackSetOperationResultsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackSetOperationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStackSetsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListStacksCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListTypeRegistrationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListTypeVersionsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ListTypesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/PublishTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RecordHandlerProgressCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RegisterPublisherCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RegisterTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/RollbackStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SetStackPolicyCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SetTypeConfigurationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SetTypeDefaultVersionCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/SignalResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/StopStackSetOperationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/TestTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateStackInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/UpdateTerminationProtectionCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/commands/ValidateTemplateCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/extensionConfiguration.js +2 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeExtensions.js +22 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +4 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ActivateOrganizationsAccessCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ActivateTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/BatchDescribeTypeConfigurationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CancelUpdateStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ContinueUpdateRollbackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateChangeSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeactivateOrganizationsAccessCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeactivateTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteChangeSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeleteStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DeregisterTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeAccountLimitsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeChangeSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeChangeSetHooksCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeOrganizationsAccessCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribePublisherCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackDriftDetectionStatusCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackEventsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackInstanceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourceDriftsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackResourcesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackSetOperationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStacksCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeTypeRegistrationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackDriftCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackResourceDriftCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DetectStackSetDriftCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/EstimateTemplateCostCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ExecuteChangeSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetStackPolicyCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetTemplateCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/GetTemplateSummaryCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ImportStacksToStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListChangeSetsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListExportsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListImportsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackInstanceResourceDriftsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackResourcesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetOperationResultsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetOperationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackSetsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStacksCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypeRegistrationsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypeVersionsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListTypesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/PublishTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RecordHandlerProgressCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RegisterPublisherCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RegisterTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/RollbackStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetStackPolicyCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetTypeConfigurationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SetTypeDefaultVersionCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/SignalResourceCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/StopStackSetOperationCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/TestTypeCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackInstancesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateStackSetCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/UpdateTerminationProtectionCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ValidateTemplateCommand.js +5 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/extensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeExtensions.js +18 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +6 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/extensionConfiguration.d.ts +8 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +32 -36
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +5 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +5 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +5 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +3 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/client-cloudformation/package.json +33 -32
- package/node_modules/@aws-sdk/client-sso/README.md +7 -10
- package/node_modules/@aws-sdk/client-sso/dist-cjs/SSOClient.js +4 -2
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/GetRoleCredentialsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountRolesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/ListAccountsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/commands/LogoutCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-cjs/extensionConfiguration.js +2 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeExtensions.js +22 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +4 -2
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +3 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/extensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +18 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +6 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +0 -2
- package/node_modules/@aws-sdk/client-sso/dist-types/extensionConfiguration.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sso/package.json +29 -28
- package/node_modules/@aws-sdk/client-sts/README.md +7 -7
- package/node_modules/@aws-sdk/client-sts/dist-cjs/STSClient.js +4 -2
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithSAMLCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/AssumeRoleWithWebIdentityCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/DecodeAuthorizationMessageCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetAccessKeyInfoCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetCallerIdentityCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetFederationTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/commands/GetSessionTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/extensionConfiguration.js +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeExtensions.js +22 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/STSClient.js +4 -2
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithSAMLCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRoleWithWebIdentityCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/DecodeAuthorizationMessageCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetAccessKeyInfoCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetCallerIdentityCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetFederationTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/GetSessionTokenCommand.js +5 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-es/extensionConfiguration.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.shared.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeExtensions.js +18 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +6 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/extensionConfiguration.d.ts +8 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +5 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/node_modules/@aws-sdk/client-sts/package.json +32 -31
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/resolveAssumeRoleCredentials.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +4 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/README.md +6 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/resolveSSOCredentials.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +1 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-signing/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
- package/node_modules/@aws-sdk/region-config-resolver/LICENSE +201 -0
- package/node_modules/@aws-sdk/region-config-resolver/README.md +12 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/extensions/index.js +30 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +5 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/config.js +15 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/getRealRegion.js +10 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/index.js +5 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/isFipsRegion.js +5 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/resolveRegionConfig.js +29 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js +25 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/index.js +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/config.js +12 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/getRealRegion.js +6 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/index.js +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/isFipsRegion.js +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +25 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/extensions/index.d.ts +16 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/index.d.ts +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/config.d.ts +17 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/getRealRegion.d.ts +4 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/index.d.ts +8 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/isFipsRegion.d.ts +4 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/regionConfig/resolveRegionConfig.d.ts +37 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/extensions/index.d.ts +14 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/config.d.ts +8 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/getRealRegion.d.ts +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/index.d.ts +2 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/isFipsRegion.d.ts +1 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-types/ts3.4/regionConfig/resolveRegionConfig.d.ts +14 -0
- package/node_modules/@aws-sdk/region-config-resolver/package.json +61 -0
- package/node_modules/@aws-sdk/token-providers/package.json +29 -29
- package/node_modules/@aws-sdk/types/dist-cjs/extensions/index.js +2 -0
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/extensions/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +8 -0
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/extensions/index.d.ts +5 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +7 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +7 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/@smithy/abort-controller/package.json +7 -9
- package/node_modules/@smithy/config-resolver/package.json +9 -11
- package/node_modules/@smithy/credential-provider-imds/package.json +10 -12
- package/node_modules/@smithy/eventstream-codec/package.json +7 -9
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/fetch-http-handler.js +23 -9
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +18 -5
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +22 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +22 -2
- package/node_modules/@smithy/fetch-http-handler/package.json +9 -11
- package/node_modules/@smithy/hash-node/package.json +7 -9
- package/node_modules/@smithy/invalid-dependency/package.json +7 -9
- package/node_modules/@smithy/middleware-content-length/package.json +10 -10
- package/node_modules/@smithy/middleware-endpoint/package.json +10 -12
- package/node_modules/@smithy/middleware-retry/README.md +7 -0
- package/node_modules/@smithy/middleware-retry/package.json +14 -14
- package/node_modules/@smithy/middleware-serde/package.json +9 -9
- package/node_modules/@smithy/middleware-stack/dist-cjs/MiddlewareStack.js +97 -35
- package/node_modules/@smithy/middleware-stack/dist-es/MiddlewareStack.js +95 -35
- package/node_modules/@smithy/middleware-stack/package.json +7 -9
- package/node_modules/@smithy/node-config-provider/package.json +9 -11
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http-handler.js +13 -0
- package/node_modules/@smithy/node-http-handler/dist-cjs/node-http2-handler.js +13 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +12 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +4 -2
- package/node_modules/@smithy/node-http-handler/package.json +10 -12
- package/node_modules/@smithy/property-provider/dist-cjs/chain.js +19 -13
- package/node_modules/@smithy/property-provider/dist-es/chain.js +19 -13
- package/node_modules/@smithy/property-provider/dist-types/chain.d.ts +1 -1
- package/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +1 -1
- package/node_modules/@smithy/property-provider/package.json +7 -9
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +27 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +4 -0
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +22 -0
- package/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-es/index.js +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +37 -0
- package/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +15 -1
- package/node_modules/@smithy/protocol-http/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +37 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +15 -1
- package/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/protocol-http/package.json +7 -9
- package/node_modules/@smithy/querystring-builder/package.json +6 -8
- package/node_modules/@smithy/querystring-parser/package.json +7 -9
- package/node_modules/@smithy/service-error-classification/package.json +9 -9
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js +11 -1
- package/node_modules/@smithy/shared-ini-file-loader/dist-es/getHomeDir.js +11 -1
- package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -9
- package/node_modules/@smithy/signature-v4/package.json +10 -12
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/checksum.js +36 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/defaultExtensionConfiguration.js +20 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/index.js +4 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/extensions/retry.js +21 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +31 -0
- package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +15 -0
- package/node_modules/@smithy/smithy-client/dist-es/extensions/index.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js +16 -0
- package/node_modules/@smithy/smithy-client/dist-es/index.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +25 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +38 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/retry.d.ts +15 -0
- package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +25 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +38 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/index.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/retry.d.ts +15 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/smithy-client/package.json +9 -11
- package/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/index.js +4 -0
- package/node_modules/@smithy/types/dist-cjs/extensions/retry.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/externals-check/browser-externals-check.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/middleware.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/transform/exact.js +2 -0
- package/node_modules/@smithy/types/dist-es/extensions/defaultExtensionConfiguration.js +1 -0
- package/node_modules/@smithy/types/dist-es/extensions/index.js +2 -0
- package/node_modules/@smithy/types/dist-es/extensions/retry.js +1 -0
- package/node_modules/@smithy/types/dist-es/externals-check/browser-externals-check.js +1 -0
- package/node_modules/@smithy/types/dist-es/middleware.js +1 -1
- package/node_modules/@smithy/types/dist-es/transform/exact.js +1 -0
- package/node_modules/@smithy/types/dist-types/blob/blob-payload-input-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +19 -2
- package/node_modules/@smithy/types/dist-types/extensions/defaultClientConfiguration.d.ts +10 -0
- package/node_modules/@smithy/types/dist-types/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/extensions/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/types/dist-types/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/middleware.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/pagination.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-common-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-input-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/streaming-payload/streaming-blob-payload-output-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/transform/exact.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/blob/blob-payload-input-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +19 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultClientConfiguration.d.ts +10 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +9 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/index.d.ts +3 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/retry.d.ts +18 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/externals-check/browser-externals-check.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +35 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/pagination.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-common-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-input-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/streaming-payload/streaming-blob-payload-output-types.d.ts +2 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/exact.d.ts +14 -0
- package/node_modules/@smithy/types/package.json +7 -9
- package/node_modules/@smithy/url-parser/package.json +8 -10
- package/node_modules/@smithy/util-body-length-node/dist-cjs/calculateBodyLength.js +3 -0
- package/node_modules/@smithy/util-body-length-node/dist-es/calculateBodyLength.js +3 -0
- package/node_modules/@smithy/util-body-length-node/package.json +1 -1
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +9 -11
- package/node_modules/@smithy/util-defaults-mode-node/package.json +12 -14
- package/node_modules/@smithy/util-middleware/dist-cjs/getSmithyContext.js +6 -0
- package/node_modules/@smithy/util-middleware/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js +2 -0
- package/node_modules/@smithy/util-middleware/dist-es/index.js +1 -0
- package/node_modules/@smithy/util-middleware/dist-types/getSmithyContext.d.ts +5 -0
- package/node_modules/@smithy/util-middleware/dist-types/index.d.ts +4 -0
- package/node_modules/@smithy/util-middleware/dist-types/ts3.4/getSmithyContext.d.ts +5 -0
- package/node_modules/@smithy/util-middleware/dist-types/ts3.4/index.d.ts +4 -0
- package/node_modules/@smithy/util-middleware/package.json +7 -9
- package/node_modules/@smithy/util-retry/README.md +2 -1
- package/node_modules/@smithy/util-retry/package.json +8 -10
- package/node_modules/@smithy/util-stream/README.md +0 -6
- package/node_modules/@smithy/util-stream/package.json +11 -10
- package/node_modules/@smithy/util-waiter/package.json +8 -10
- package/node_modules/tslib/package.json +2 -2
- package/package.json +12 -12
@@ -1,18 +1,37 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.constructStack = void 0;
|
4
|
+
const getAllAliases = (name, aliases) => {
|
5
|
+
const _aliases = [];
|
6
|
+
if (name) {
|
7
|
+
_aliases.push(name);
|
8
|
+
}
|
9
|
+
if (aliases) {
|
10
|
+
for (const alias of aliases) {
|
11
|
+
_aliases.push(alias);
|
12
|
+
}
|
13
|
+
}
|
14
|
+
return _aliases;
|
15
|
+
};
|
16
|
+
const getMiddlewareNameWithAliases = (name, aliases) => {
|
17
|
+
return `${name || "anonymous"}${aliases && aliases.length > 0 ? ` (a.k.a. ${aliases.join(",")})` : ""}`;
|
18
|
+
};
|
4
19
|
const constructStack = () => {
|
5
20
|
let absoluteEntries = [];
|
6
21
|
let relativeEntries = [];
|
22
|
+
let identifyOnResolve = false;
|
7
23
|
const entriesNameSet = new Set();
|
8
24
|
const sort = (entries) => entries.sort((a, b) => stepWeights[b.step] - stepWeights[a.step] ||
|
9
25
|
priorityWeights[b.priority || "normal"] - priorityWeights[a.priority || "normal"]);
|
10
26
|
const removeByName = (toRemove) => {
|
11
27
|
let isRemoved = false;
|
12
28
|
const filterCb = (entry) => {
|
13
|
-
|
29
|
+
const aliases = getAllAliases(entry.name, entry.aliases);
|
30
|
+
if (aliases.includes(toRemove)) {
|
14
31
|
isRemoved = true;
|
15
|
-
|
32
|
+
for (const alias of aliases) {
|
33
|
+
entriesNameSet.delete(alias);
|
34
|
+
}
|
16
35
|
return false;
|
17
36
|
}
|
18
37
|
return true;
|
@@ -26,8 +45,9 @@ const constructStack = () => {
|
|
26
45
|
const filterCb = (entry) => {
|
27
46
|
if (entry.middleware === toRemove) {
|
28
47
|
isRemoved = true;
|
29
|
-
|
30
|
-
entriesNameSet.delete(
|
48
|
+
for (const alias of getAllAliases(entry.name, entry.aliases)) {
|
49
|
+
entriesNameSet.delete(alias);
|
50
|
+
}
|
31
51
|
return false;
|
32
52
|
}
|
33
53
|
return true;
|
@@ -37,12 +57,14 @@ const constructStack = () => {
|
|
37
57
|
return isRemoved;
|
38
58
|
};
|
39
59
|
const cloneTo = (toStack) => {
|
60
|
+
var _a;
|
40
61
|
absoluteEntries.forEach((entry) => {
|
41
62
|
toStack.add(entry.middleware, { ...entry });
|
42
63
|
});
|
43
64
|
relativeEntries.forEach((entry) => {
|
44
65
|
toStack.addRelativeTo(entry.middleware, { ...entry });
|
45
66
|
});
|
67
|
+
(_a = toStack.identifyOnResolve) === null || _a === void 0 ? void 0 : _a.call(toStack, stack.identifyOnResolve());
|
46
68
|
return toStack;
|
47
69
|
};
|
48
70
|
const expandRelativeMiddlewareList = (from) => {
|
@@ -76,8 +98,9 @@ const constructStack = () => {
|
|
76
98
|
before: [],
|
77
99
|
after: [],
|
78
100
|
};
|
79
|
-
|
80
|
-
normalizedEntriesNameMap[
|
101
|
+
for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
|
102
|
+
normalizedEntriesNameMap[alias] = normalizedEntry;
|
103
|
+
}
|
81
104
|
normalizedAbsoluteEntries.push(normalizedEntry);
|
82
105
|
});
|
83
106
|
relativeEntries.forEach((entry) => {
|
@@ -86,8 +109,9 @@ const constructStack = () => {
|
|
86
109
|
before: [],
|
87
110
|
after: [],
|
88
111
|
};
|
89
|
-
|
90
|
-
normalizedEntriesNameMap[
|
112
|
+
for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
|
113
|
+
normalizedEntriesNameMap[alias] = normalizedEntry;
|
114
|
+
}
|
91
115
|
normalizedRelativeEntries.push(normalizedEntry);
|
92
116
|
});
|
93
117
|
normalizedRelativeEntries.forEach((entry) => {
|
@@ -97,7 +121,9 @@ const constructStack = () => {
|
|
97
121
|
if (debug) {
|
98
122
|
return;
|
99
123
|
}
|
100
|
-
throw new Error(`${entry.toMiddleware} is not found when adding
|
124
|
+
throw new Error(`${entry.toMiddleware} is not found when adding ` +
|
125
|
+
`${getMiddlewareNameWithAliases(entry.name, entry.aliases)} ` +
|
126
|
+
`middleware ${entry.relation} ${entry.toMiddleware}`);
|
101
127
|
}
|
102
128
|
if (entry.relation === "after") {
|
103
129
|
toMiddleware.after.push(entry);
|
@@ -117,48 +143,68 @@ const constructStack = () => {
|
|
117
143
|
};
|
118
144
|
const stack = {
|
119
145
|
add: (middleware, options = {}) => {
|
120
|
-
const { name, override } = options;
|
146
|
+
const { name, override, aliases: _aliases } = options;
|
121
147
|
const entry = {
|
122
148
|
step: "initialize",
|
123
149
|
priority: "normal",
|
124
150
|
middleware,
|
125
151
|
...options,
|
126
152
|
};
|
127
|
-
|
128
|
-
|
153
|
+
const aliases = getAllAliases(name, _aliases);
|
154
|
+
if (aliases.length > 0) {
|
155
|
+
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
129
156
|
if (!override)
|
130
|
-
throw new Error(`Duplicate middleware name '${name}'`);
|
131
|
-
const
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
157
|
+
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
158
|
+
for (const alias of aliases) {
|
159
|
+
const toOverrideIndex = absoluteEntries.findIndex((entry) => { var _a; return entry.name === alias || ((_a = entry.aliases) === null || _a === void 0 ? void 0 : _a.some((a) => a === alias)); });
|
160
|
+
if (toOverrideIndex === -1) {
|
161
|
+
continue;
|
162
|
+
}
|
163
|
+
const toOverride = absoluteEntries[toOverrideIndex];
|
164
|
+
if (toOverride.step !== entry.step || entry.priority !== toOverride.priority) {
|
165
|
+
throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware with ` +
|
166
|
+
`${toOverride.priority} priority in ${toOverride.step} step cannot ` +
|
167
|
+
`be overridden by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware with ` +
|
168
|
+
`${entry.priority} priority in ${entry.step} step.`);
|
169
|
+
}
|
170
|
+
absoluteEntries.splice(toOverrideIndex, 1);
|
136
171
|
}
|
137
|
-
absoluteEntries.splice(toOverrideIndex, 1);
|
138
172
|
}
|
139
|
-
|
173
|
+
for (const alias of aliases) {
|
174
|
+
entriesNameSet.add(alias);
|
175
|
+
}
|
140
176
|
}
|
141
177
|
absoluteEntries.push(entry);
|
142
178
|
},
|
143
179
|
addRelativeTo: (middleware, options) => {
|
144
|
-
const { name, override } = options;
|
180
|
+
const { name, override, aliases: _aliases } = options;
|
145
181
|
const entry = {
|
146
182
|
middleware,
|
147
183
|
...options,
|
148
184
|
};
|
149
|
-
|
150
|
-
|
185
|
+
const aliases = getAllAliases(name, _aliases);
|
186
|
+
if (aliases.length > 0) {
|
187
|
+
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
151
188
|
if (!override)
|
152
|
-
throw new Error(`Duplicate middleware name '${name}'`);
|
153
|
-
const
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
189
|
+
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
190
|
+
for (const alias of aliases) {
|
191
|
+
const toOverrideIndex = relativeEntries.findIndex((entry) => { var _a; return entry.name === alias || ((_a = entry.aliases) === null || _a === void 0 ? void 0 : _a.some((a) => a === alias)); });
|
192
|
+
if (toOverrideIndex === -1) {
|
193
|
+
continue;
|
194
|
+
}
|
195
|
+
const toOverride = relativeEntries[toOverrideIndex];
|
196
|
+
if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) {
|
197
|
+
throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware ` +
|
198
|
+
`${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden ` +
|
199
|
+
`by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware ${entry.relation} ` +
|
200
|
+
`"${entry.toMiddleware}" middleware.`);
|
201
|
+
}
|
202
|
+
relativeEntries.splice(toOverrideIndex, 1);
|
158
203
|
}
|
159
|
-
relativeEntries.splice(toOverrideIndex, 1);
|
160
204
|
}
|
161
|
-
|
205
|
+
for (const alias of aliases) {
|
206
|
+
entriesNameSet.add(alias);
|
207
|
+
}
|
162
208
|
}
|
163
209
|
relativeEntries.push(entry);
|
164
210
|
},
|
@@ -175,10 +221,12 @@ const constructStack = () => {
|
|
175
221
|
removeByTag: (toRemove) => {
|
176
222
|
let isRemoved = false;
|
177
223
|
const filterCb = (entry) => {
|
178
|
-
const { tags, name } = entry;
|
224
|
+
const { tags, name, aliases: _aliases } = entry;
|
179
225
|
if (tags && tags.includes(toRemove)) {
|
180
|
-
|
181
|
-
|
226
|
+
const aliases = getAllAliases(name, _aliases);
|
227
|
+
for (const alias of aliases) {
|
228
|
+
entriesNameSet.delete(alias);
|
229
|
+
}
|
182
230
|
isRemoved = true;
|
183
231
|
return false;
|
184
232
|
}
|
@@ -189,22 +237,36 @@ const constructStack = () => {
|
|
189
237
|
return isRemoved;
|
190
238
|
},
|
191
239
|
concat: (from) => {
|
240
|
+
var _a, _b;
|
192
241
|
const cloned = cloneTo((0, exports.constructStack)());
|
193
242
|
cloned.use(from);
|
243
|
+
cloned.identifyOnResolve(identifyOnResolve || cloned.identifyOnResolve() || ((_b = (_a = from.identifyOnResolve) === null || _a === void 0 ? void 0 : _a.call(from)) !== null && _b !== void 0 ? _b : false));
|
194
244
|
return cloned;
|
195
245
|
},
|
196
246
|
applyToStack: cloneTo,
|
197
247
|
identify: () => {
|
198
248
|
return getMiddlewareList(true).map((mw) => {
|
199
|
-
|
249
|
+
var _a;
|
250
|
+
const step = (_a = mw.step) !== null && _a !== void 0 ? _a : mw.relation +
|
251
|
+
" " +
|
252
|
+
mw.toMiddleware;
|
253
|
+
return getMiddlewareNameWithAliases(mw.name, mw.aliases) + " - " + step;
|
200
254
|
});
|
201
255
|
},
|
256
|
+
identifyOnResolve(toggle) {
|
257
|
+
if (typeof toggle === "boolean")
|
258
|
+
identifyOnResolve = toggle;
|
259
|
+
return identifyOnResolve;
|
260
|
+
},
|
202
261
|
resolve: (handler, context) => {
|
203
262
|
for (const middleware of getMiddlewareList()
|
204
263
|
.map((entry) => entry.middleware)
|
205
264
|
.reverse()) {
|
206
265
|
handler = middleware(handler, context);
|
207
266
|
}
|
267
|
+
if (identifyOnResolve) {
|
268
|
+
console.log(stack.identify());
|
269
|
+
}
|
208
270
|
return handler;
|
209
271
|
},
|
210
272
|
};
|
@@ -1,15 +1,34 @@
|
|
1
|
+
const getAllAliases = (name, aliases) => {
|
2
|
+
const _aliases = [];
|
3
|
+
if (name) {
|
4
|
+
_aliases.push(name);
|
5
|
+
}
|
6
|
+
if (aliases) {
|
7
|
+
for (const alias of aliases) {
|
8
|
+
_aliases.push(alias);
|
9
|
+
}
|
10
|
+
}
|
11
|
+
return _aliases;
|
12
|
+
};
|
13
|
+
const getMiddlewareNameWithAliases = (name, aliases) => {
|
14
|
+
return `${name || "anonymous"}${aliases && aliases.length > 0 ? ` (a.k.a. ${aliases.join(",")})` : ""}`;
|
15
|
+
};
|
1
16
|
export const constructStack = () => {
|
2
17
|
let absoluteEntries = [];
|
3
18
|
let relativeEntries = [];
|
19
|
+
let identifyOnResolve = false;
|
4
20
|
const entriesNameSet = new Set();
|
5
21
|
const sort = (entries) => entries.sort((a, b) => stepWeights[b.step] - stepWeights[a.step] ||
|
6
22
|
priorityWeights[b.priority || "normal"] - priorityWeights[a.priority || "normal"]);
|
7
23
|
const removeByName = (toRemove) => {
|
8
24
|
let isRemoved = false;
|
9
25
|
const filterCb = (entry) => {
|
10
|
-
|
26
|
+
const aliases = getAllAliases(entry.name, entry.aliases);
|
27
|
+
if (aliases.includes(toRemove)) {
|
11
28
|
isRemoved = true;
|
12
|
-
|
29
|
+
for (const alias of aliases) {
|
30
|
+
entriesNameSet.delete(alias);
|
31
|
+
}
|
13
32
|
return false;
|
14
33
|
}
|
15
34
|
return true;
|
@@ -23,8 +42,9 @@ export const constructStack = () => {
|
|
23
42
|
const filterCb = (entry) => {
|
24
43
|
if (entry.middleware === toRemove) {
|
25
44
|
isRemoved = true;
|
26
|
-
|
27
|
-
entriesNameSet.delete(
|
45
|
+
for (const alias of getAllAliases(entry.name, entry.aliases)) {
|
46
|
+
entriesNameSet.delete(alias);
|
47
|
+
}
|
28
48
|
return false;
|
29
49
|
}
|
30
50
|
return true;
|
@@ -40,6 +60,7 @@ export const constructStack = () => {
|
|
40
60
|
relativeEntries.forEach((entry) => {
|
41
61
|
toStack.addRelativeTo(entry.middleware, { ...entry });
|
42
62
|
});
|
63
|
+
toStack.identifyOnResolve?.(stack.identifyOnResolve());
|
43
64
|
return toStack;
|
44
65
|
};
|
45
66
|
const expandRelativeMiddlewareList = (from) => {
|
@@ -73,8 +94,9 @@ export const constructStack = () => {
|
|
73
94
|
before: [],
|
74
95
|
after: [],
|
75
96
|
};
|
76
|
-
|
77
|
-
normalizedEntriesNameMap[
|
97
|
+
for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
|
98
|
+
normalizedEntriesNameMap[alias] = normalizedEntry;
|
99
|
+
}
|
78
100
|
normalizedAbsoluteEntries.push(normalizedEntry);
|
79
101
|
});
|
80
102
|
relativeEntries.forEach((entry) => {
|
@@ -83,8 +105,9 @@ export const constructStack = () => {
|
|
83
105
|
before: [],
|
84
106
|
after: [],
|
85
107
|
};
|
86
|
-
|
87
|
-
normalizedEntriesNameMap[
|
108
|
+
for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
|
109
|
+
normalizedEntriesNameMap[alias] = normalizedEntry;
|
110
|
+
}
|
88
111
|
normalizedRelativeEntries.push(normalizedEntry);
|
89
112
|
});
|
90
113
|
normalizedRelativeEntries.forEach((entry) => {
|
@@ -94,7 +117,9 @@ export const constructStack = () => {
|
|
94
117
|
if (debug) {
|
95
118
|
return;
|
96
119
|
}
|
97
|
-
throw new Error(`${entry.toMiddleware} is not found when adding
|
120
|
+
throw new Error(`${entry.toMiddleware} is not found when adding ` +
|
121
|
+
`${getMiddlewareNameWithAliases(entry.name, entry.aliases)} ` +
|
122
|
+
`middleware ${entry.relation} ${entry.toMiddleware}`);
|
98
123
|
}
|
99
124
|
if (entry.relation === "after") {
|
100
125
|
toMiddleware.after.push(entry);
|
@@ -114,48 +139,68 @@ export const constructStack = () => {
|
|
114
139
|
};
|
115
140
|
const stack = {
|
116
141
|
add: (middleware, options = {}) => {
|
117
|
-
const { name, override } = options;
|
142
|
+
const { name, override, aliases: _aliases } = options;
|
118
143
|
const entry = {
|
119
144
|
step: "initialize",
|
120
145
|
priority: "normal",
|
121
146
|
middleware,
|
122
147
|
...options,
|
123
148
|
};
|
124
|
-
|
125
|
-
|
149
|
+
const aliases = getAllAliases(name, _aliases);
|
150
|
+
if (aliases.length > 0) {
|
151
|
+
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
126
152
|
if (!override)
|
127
|
-
throw new Error(`Duplicate middleware name '${name}'`);
|
128
|
-
const
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
153
|
+
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
154
|
+
for (const alias of aliases) {
|
155
|
+
const toOverrideIndex = absoluteEntries.findIndex((entry) => entry.name === alias || entry.aliases?.some((a) => a === alias));
|
156
|
+
if (toOverrideIndex === -1) {
|
157
|
+
continue;
|
158
|
+
}
|
159
|
+
const toOverride = absoluteEntries[toOverrideIndex];
|
160
|
+
if (toOverride.step !== entry.step || entry.priority !== toOverride.priority) {
|
161
|
+
throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware with ` +
|
162
|
+
`${toOverride.priority} priority in ${toOverride.step} step cannot ` +
|
163
|
+
`be overridden by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware with ` +
|
164
|
+
`${entry.priority} priority in ${entry.step} step.`);
|
165
|
+
}
|
166
|
+
absoluteEntries.splice(toOverrideIndex, 1);
|
133
167
|
}
|
134
|
-
absoluteEntries.splice(toOverrideIndex, 1);
|
135
168
|
}
|
136
|
-
|
169
|
+
for (const alias of aliases) {
|
170
|
+
entriesNameSet.add(alias);
|
171
|
+
}
|
137
172
|
}
|
138
173
|
absoluteEntries.push(entry);
|
139
174
|
},
|
140
175
|
addRelativeTo: (middleware, options) => {
|
141
|
-
const { name, override } = options;
|
176
|
+
const { name, override, aliases: _aliases } = options;
|
142
177
|
const entry = {
|
143
178
|
middleware,
|
144
179
|
...options,
|
145
180
|
};
|
146
|
-
|
147
|
-
|
181
|
+
const aliases = getAllAliases(name, _aliases);
|
182
|
+
if (aliases.length > 0) {
|
183
|
+
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
148
184
|
if (!override)
|
149
|
-
throw new Error(`Duplicate middleware name '${name}'`);
|
150
|
-
const
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
185
|
+
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
186
|
+
for (const alias of aliases) {
|
187
|
+
const toOverrideIndex = relativeEntries.findIndex((entry) => entry.name === alias || entry.aliases?.some((a) => a === alias));
|
188
|
+
if (toOverrideIndex === -1) {
|
189
|
+
continue;
|
190
|
+
}
|
191
|
+
const toOverride = relativeEntries[toOverrideIndex];
|
192
|
+
if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) {
|
193
|
+
throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware ` +
|
194
|
+
`${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden ` +
|
195
|
+
`by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware ${entry.relation} ` +
|
196
|
+
`"${entry.toMiddleware}" middleware.`);
|
197
|
+
}
|
198
|
+
relativeEntries.splice(toOverrideIndex, 1);
|
155
199
|
}
|
156
|
-
relativeEntries.splice(toOverrideIndex, 1);
|
157
200
|
}
|
158
|
-
|
201
|
+
for (const alias of aliases) {
|
202
|
+
entriesNameSet.add(alias);
|
203
|
+
}
|
159
204
|
}
|
160
205
|
relativeEntries.push(entry);
|
161
206
|
},
|
@@ -172,10 +217,12 @@ export const constructStack = () => {
|
|
172
217
|
removeByTag: (toRemove) => {
|
173
218
|
let isRemoved = false;
|
174
219
|
const filterCb = (entry) => {
|
175
|
-
const { tags, name } = entry;
|
220
|
+
const { tags, name, aliases: _aliases } = entry;
|
176
221
|
if (tags && tags.includes(toRemove)) {
|
177
|
-
|
178
|
-
|
222
|
+
const aliases = getAllAliases(name, _aliases);
|
223
|
+
for (const alias of aliases) {
|
224
|
+
entriesNameSet.delete(alias);
|
225
|
+
}
|
179
226
|
isRemoved = true;
|
180
227
|
return false;
|
181
228
|
}
|
@@ -188,20 +235,33 @@ export const constructStack = () => {
|
|
188
235
|
concat: (from) => {
|
189
236
|
const cloned = cloneTo(constructStack());
|
190
237
|
cloned.use(from);
|
238
|
+
cloned.identifyOnResolve(identifyOnResolve || cloned.identifyOnResolve() || (from.identifyOnResolve?.() ?? false));
|
191
239
|
return cloned;
|
192
240
|
},
|
193
241
|
applyToStack: cloneTo,
|
194
242
|
identify: () => {
|
195
243
|
return getMiddlewareList(true).map((mw) => {
|
196
|
-
|
244
|
+
const step = mw.step ??
|
245
|
+
mw.relation +
|
246
|
+
" " +
|
247
|
+
mw.toMiddleware;
|
248
|
+
return getMiddlewareNameWithAliases(mw.name, mw.aliases) + " - " + step;
|
197
249
|
});
|
198
250
|
},
|
251
|
+
identifyOnResolve(toggle) {
|
252
|
+
if (typeof toggle === "boolean")
|
253
|
+
identifyOnResolve = toggle;
|
254
|
+
return identifyOnResolve;
|
255
|
+
},
|
199
256
|
resolve: (handler, context) => {
|
200
257
|
for (const middleware of getMiddlewareList()
|
201
258
|
.map((entry) => entry.middleware)
|
202
259
|
.reverse()) {
|
203
260
|
handler = middleware(handler, context);
|
204
261
|
}
|
262
|
+
if (identifyOnResolve) {
|
263
|
+
console.log(stack.identify());
|
264
|
+
}
|
205
265
|
return handler;
|
206
266
|
},
|
207
267
|
};
|
@@ -1,19 +1,19 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-stack",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.4",
|
4
4
|
"description": "Provides a means for composing multiple middleware functions into a single handler",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
7
|
-
"build:cjs": "tsc -p tsconfig.cjs.json",
|
8
|
-
"build:es": "tsc -p tsconfig.es.json",
|
9
|
-
"build:types": "tsc -p tsconfig.types.json",
|
7
|
+
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
8
|
+
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
9
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
10
10
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
11
11
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
13
13
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
14
14
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
15
15
|
"extract:docs": "api-extractor run --local",
|
16
|
-
"test": "jest"
|
16
|
+
"test": "yarn g:jest"
|
17
17
|
},
|
18
18
|
"author": {
|
19
19
|
"name": "AWS SDK for JavaScript Team",
|
@@ -25,17 +25,15 @@
|
|
25
25
|
"module": "./dist-es/index.js",
|
26
26
|
"types": "./dist-types/index.d.ts",
|
27
27
|
"dependencies": {
|
28
|
+
"@smithy/types": "^2.3.4",
|
28
29
|
"tslib": "^2.5.0"
|
29
30
|
},
|
30
31
|
"devDependencies": {
|
31
|
-
"@smithy/types": "^2.0.1",
|
32
32
|
"@tsconfig/recommended": "1.0.1",
|
33
33
|
"concurrently": "7.0.0",
|
34
34
|
"downlevel-dts": "0.10.1",
|
35
|
-
"jest": "28.1.1",
|
36
35
|
"rimraf": "3.0.2",
|
37
|
-
"typedoc": "0.23.23"
|
38
|
-
"typescript": "~4.9.5"
|
36
|
+
"typedoc": "0.23.23"
|
39
37
|
},
|
40
38
|
"engines": {
|
41
39
|
"node": ">=14.0.0"
|
@@ -1,18 +1,18 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/node-config-provider",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.13",
|
4
4
|
"description": "Load config default values from ini config files and environmental variable",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
7
|
-
"build:cjs": "tsc -p tsconfig.cjs.json",
|
8
|
-
"build:es": "tsc -p tsconfig.es.json",
|
9
|
-
"build:types": "tsc -p tsconfig.types.json",
|
7
|
+
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
8
|
+
"build:es": "yarn g:tsc -p tsconfig.es.json",
|
9
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
10
10
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
11
11
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
12
12
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
13
13
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
14
14
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
15
|
-
"test": "jest --passWithNoTests"
|
15
|
+
"test": "yarn g:jest --passWithNoTests"
|
16
16
|
},
|
17
17
|
"author": {
|
18
18
|
"name": "AWS SDK for JavaScript Team",
|
@@ -24,9 +24,9 @@
|
|
24
24
|
"module": "./dist-es/index.js",
|
25
25
|
"types": "./dist-types/index.d.ts",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/property-provider": "^2.0.
|
28
|
-
"@smithy/shared-ini-file-loader": "^2.0.
|
29
|
-
"@smithy/types": "^2.
|
27
|
+
"@smithy/property-provider": "^2.0.11",
|
28
|
+
"@smithy/shared-ini-file-loader": "^2.0.12",
|
29
|
+
"@smithy/types": "^2.3.4",
|
30
30
|
"tslib": "^2.5.0"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
@@ -34,10 +34,8 @@
|
|
34
34
|
"@types/node": "^14.14.31",
|
35
35
|
"concurrently": "7.0.0",
|
36
36
|
"downlevel-dts": "0.10.1",
|
37
|
-
"jest": "28.1.1",
|
38
37
|
"rimraf": "3.0.2",
|
39
|
-
"typedoc": "0.23.23"
|
40
|
-
"typescript": "~4.9.5"
|
38
|
+
"typedoc": "0.23.23"
|
41
39
|
},
|
42
40
|
"engines": {
|
43
41
|
"node": ">=14.0.0"
|
@@ -130,5 +130,18 @@ class NodeHttpHandler {
|
|
130
130
|
writeRequestBodyPromise = (0, write_request_body_1.writeRequestBody)(req, request, this.config.requestTimeout).catch(_reject);
|
131
131
|
});
|
132
132
|
}
|
133
|
+
updateHttpClientConfig(key, value) {
|
134
|
+
this.config = undefined;
|
135
|
+
this.configProvider = this.configProvider.then((config) => {
|
136
|
+
return {
|
137
|
+
...config,
|
138
|
+
[key]: value,
|
139
|
+
};
|
140
|
+
});
|
141
|
+
}
|
142
|
+
httpHandlerConfigs() {
|
143
|
+
var _a;
|
144
|
+
return (_a = this.config) !== null && _a !== void 0 ? _a : {};
|
145
|
+
}
|
133
146
|
}
|
134
147
|
exports.NodeHttpHandler = NodeHttpHandler;
|
@@ -137,6 +137,19 @@ class NodeHttp2Handler {
|
|
137
137
|
writeRequestBodyPromise = (0, write_request_body_1.writeRequestBody)(req, request, requestTimeout);
|
138
138
|
});
|
139
139
|
}
|
140
|
+
updateHttpClientConfig(key, value) {
|
141
|
+
this.config = undefined;
|
142
|
+
this.configProvider = this.configProvider.then((config) => {
|
143
|
+
return {
|
144
|
+
...config,
|
145
|
+
[key]: value,
|
146
|
+
};
|
147
|
+
});
|
148
|
+
}
|
149
|
+
httpHandlerConfigs() {
|
150
|
+
var _a;
|
151
|
+
return (_a = this.config) !== null && _a !== void 0 ? _a : {};
|
152
|
+
}
|
140
153
|
destroySession(session) {
|
141
154
|
if (!session.destroyed) {
|
142
155
|
session.destroy();
|
@@ -125,4 +125,16 @@ export class NodeHttpHandler {
|
|
125
125
|
writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch(_reject);
|
126
126
|
});
|
127
127
|
}
|
128
|
+
updateHttpClientConfig(key, value) {
|
129
|
+
this.config = undefined;
|
130
|
+
this.configProvider = this.configProvider.then((config) => {
|
131
|
+
return {
|
132
|
+
...config,
|
133
|
+
[key]: value,
|
134
|
+
};
|
135
|
+
});
|
136
|
+
}
|
137
|
+
httpHandlerConfigs() {
|
138
|
+
return this.config ?? {};
|
139
|
+
}
|
128
140
|
}
|
@@ -133,6 +133,18 @@ export class NodeHttp2Handler {
|
|
133
133
|
writeRequestBodyPromise = writeRequestBody(req, request, requestTimeout);
|
134
134
|
});
|
135
135
|
}
|
136
|
+
updateHttpClientConfig(key, value) {
|
137
|
+
this.config = undefined;
|
138
|
+
this.configProvider = this.configProvider.then((config) => {
|
139
|
+
return {
|
140
|
+
...config,
|
141
|
+
[key]: value,
|
142
|
+
};
|
143
|
+
});
|
144
|
+
}
|
145
|
+
httpHandlerConfigs() {
|
146
|
+
return this.config ?? {};
|
147
|
+
}
|
136
148
|
destroySession(session) {
|
137
149
|
if (!session.destroyed) {
|
138
150
|
session.destroy();
|