@cdklabs/cdk-ecs-codedeploy 0.0.445 → 0.0.447
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 +3 -3
- package/lib/api-canary/index.js +1 -1
- package/lib/ecs-appspec/index.js +1 -1
- package/lib/ecs-deployment/index.js +1 -1
- package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
- package/node_modules/@aws/lambda-invoke-store/README.md +25 -1
- package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +12 -0
- package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +12 -0
- package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +6 -0
- package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +4188 -578
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commandBuilder.js +6 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationRevisionsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentGroupsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentInstancesCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentTargetsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ContinueDeploymentCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateApplicationCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentConfigCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentGroupCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteApplicationCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentConfigCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentGroupCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteGitHubAccountTokenCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteResourcesByExternalIdCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationRevisionCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentConfigCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentGroupCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentInstanceCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentTargetCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetOnPremisesInstanceCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationRevisionsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentConfigsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentGroupsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentInstancesCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentTargetsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentsCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListOnPremisesInstancesCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterApplicationRevisionCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterOnPremisesInstanceCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/StopDeploymentCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/TagResourceCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UntagResourceCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateApplicationCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateDeploymentGroupCommand.js +2 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.browser.js +0 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.native.js +0 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commandBuilder.d.ts +18 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteApplicationCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/AddTagsToOnPremisesInstancesCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetApplicationRevisionsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentGroupsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ContinueDeploymentCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentConfigCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentGroupCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteDeploymentGroupCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteGitHubAccountTokenCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteResourcesByExternalIdCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeregisterOnPremisesInstanceCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetApplicationRevisionCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentConfigCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentGroupCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentInstanceCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentTargetCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetOnPremisesInstanceCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListApplicationRevisionsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentConfigsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentTargetsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListGitHubAccountTokenNamesCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UpdateDeploymentGroupCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
- package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/client-codedeploy/package.json +8 -10
- package/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +1 -3
- package/node_modules/@aws-sdk/core/client.d.ts +1 -3
- package/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +1 -3
- package/node_modules/@aws-sdk/core/package.json +10 -17
- package/node_modules/@aws-sdk/core/protocols.d.ts +1 -3
- package/node_modules/@aws-sdk/core/util.d.ts +1 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +172 -1
- package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +58 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -8
- package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +13 -25
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +13 -17
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +12 -15
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +12 -15
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +13 -25
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commandBuilder.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.native.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commandBuilder.js +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +2 -17
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.native.js +0 -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/sso/commandBuilder.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commandBuilder.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.native.js +0 -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/sts/commandBuilder.js +6 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +0 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.native.js +0 -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-types/submodules/cognito-identity/commandBuilder.d.ts +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commandBuilder.d.ts +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commandBuilder.d.ts +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commandBuilder.d.ts +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commandBuilder.d.ts +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commandBuilder.d.ts +46 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commandBuilder.d.ts +42 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commandBuilder.d.ts +42 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commandBuilder.d.ts +42 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -8
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commandBuilder.d.ts +46 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +7 -16
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +8 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +8 -10
- package/node_modules/@aws-sdk/nested-clients/signin.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/sso.d.ts +1 -3
- package/node_modules/@aws-sdk/nested-clients/sts.d.ts +1 -3
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +236 -3
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +233 -43
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -1
- package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +2 -1
- package/node_modules/@aws-sdk/xml-builder/package.json +6 -7
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +358 -145
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +462 -142
- package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +358 -145
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +18 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +108 -63
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +11 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -8
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +5 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +30 -36
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +85 -137
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +30 -36
- package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Js.js +30 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Node.js +24 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.browser.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/index.native.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Js.js +92 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Node.js +29 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Js.js +179 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Node.js +59 -0
- package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256WebCrypto.js +71 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client-command-builder.js +17 -0
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js +92 -0
- package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js +3 -56
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/EventStreamCodec.js +5 -3
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/splitMessage.js +7 -6
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js +15 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +35 -27
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.js +2 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +12 -38
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js +18 -33
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.browser.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Js.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Node.d.ts +18 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.browser.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/index.native.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Js.d.ts +19 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Node.d.ts +17 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Js.d.ts +28 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Node.d.ts +13 -0
- package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256WebCrypto.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client-command-builder.d.ts +22 -0
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/command.d.ts +5 -6
- package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/constants.d.ts +12 -0
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.browser.d.ts +4 -5
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +4 -5
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.d.ts +3 -4
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/endpointMiddleware.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/getEndpointPlugin.d.ts +1 -2
- package/node_modules/@smithy/core/dist-types/submodules/serde/concatBytes.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +29 -12
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.browser.d.ts +8 -2
- package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.d.ts +4 -1
- package/node_modules/@smithy/core/package.json +5 -5
- package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -55
- package/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -2
- package/node_modules/@smithy/fetch-http-handler/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +3 -51
- package/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -3
- package/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/package.json +4 -4
- package/node_modules/@smithy/signature-v4/package.json +3 -4
- package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/package.json +2 -2
- package/node_modules/@aws-crypto/crc32/CHANGELOG.md +0 -100
- package/node_modules/@aws-crypto/crc32/LICENSE +0 -201
- package/node_modules/@aws-crypto/crc32/README.md +0 -16
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +0 -31
- package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/build/main/index.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/main/index.js +0 -108
- package/node_modules/@aws-crypto/crc32/build/main/index.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js +0 -28
- package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/build/module/index.d.ts +0 -7
- package/node_modules/@aws-crypto/crc32/build/module/index.js +0 -103
- package/node_modules/@aws-crypto/crc32/build/module/index.js.map +0 -1
- package/node_modules/@aws-crypto/crc32/package.json +0 -32
- package/node_modules/@aws-crypto/crc32/src/aws_crc32.ts +0 -24
- package/node_modules/@aws-crypto/crc32/src/index.ts +0 -92
- package/node_modules/@aws-crypto/crc32/tsconfig.json +0 -9
- package/node_modules/@aws-crypto/crc32/tsconfig.module.json +0 -7
- package/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md +0 -118
- package/node_modules/@aws-crypto/sha256-browser/LICENSE +0 -202
- package/node_modules/@aws-crypto/sha256-browser/README.md +0 -31
- package/node_modules/@aws-crypto/sha256-browser/build/main/constants.d.ts +0 -10
- package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js +0 -43
- package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.d.ts +0 -8
- package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js +0 -30
- package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/main/index.d.ts +0 -2
- package/node_modules/@aws-crypto/sha256-browser/build/main/index.js +0 -8
- package/node_modules/@aws-crypto/sha256-browser/build/main/index.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.d.ts +0 -2
- package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js +0 -11
- package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.d.ts +0 -10
- package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js +0 -56
- package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/module/constants.d.ts +0 -10
- package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js +0 -40
- package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.d.ts +0 -8
- package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js +0 -27
- package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/module/index.d.ts +0 -2
- package/node_modules/@aws-crypto/sha256-browser/build/module/index.js +0 -3
- package/node_modules/@aws-crypto/sha256-browser/build/module/index.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.d.ts +0 -2
- package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js +0 -7
- package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.d.ts +0 -10
- package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js +0 -53
- package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-browser/package.json +0 -33
- package/node_modules/@aws-crypto/sha256-browser/src/constants.ts +0 -41
- package/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts +0 -30
- package/node_modules/@aws-crypto/sha256-browser/src/index.ts +0 -2
- package/node_modules/@aws-crypto/sha256-browser/src/isEmptyData.ts +0 -9
- package/node_modules/@aws-crypto/sha256-browser/src/webCryptoSha256.ts +0 -71
- package/node_modules/@aws-crypto/sha256-browser/tsconfig.json +0 -10
- package/node_modules/@aws-crypto/sha256-browser/tsconfig.module.json +0 -7
- package/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +0 -106
- package/node_modules/@aws-crypto/sha256-js/LICENSE +0 -201
- package/node_modules/@aws-crypto/sha256-js/README.md +0 -29
- package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.d.ts +0 -17
- package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js +0 -124
- package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/main/constants.d.ts +0 -20
- package/node_modules/@aws-crypto/sha256-js/build/main/constants.js +0 -98
- package/node_modules/@aws-crypto/sha256-js/build/main/constants.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/main/index.d.ts +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/main/index.js +0 -5
- package/node_modules/@aws-crypto/sha256-js/build/main/index.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.d.ts +0 -12
- package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js +0 -85
- package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.d.ts +0 -5
- package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js +0 -322
- package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.d.ts +0 -17
- package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js +0 -121
- package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/module/constants.d.ts +0 -20
- package/node_modules/@aws-crypto/sha256-js/build/module/constants.js +0 -95
- package/node_modules/@aws-crypto/sha256-js/build/module/constants.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/module/index.d.ts +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/module/index.js +0 -2
- package/node_modules/@aws-crypto/sha256-js/build/module/index.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.d.ts +0 -12
- package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js +0 -82
- package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.d.ts +0 -5
- package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js +0 -319
- package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js.map +0 -1
- package/node_modules/@aws-crypto/sha256-js/package.json +0 -32
- package/node_modules/@aws-crypto/sha256-js/src/RawSha256.ts +0 -164
- package/node_modules/@aws-crypto/sha256-js/src/constants.ts +0 -98
- package/node_modules/@aws-crypto/sha256-js/src/index.ts +0 -1
- package/node_modules/@aws-crypto/sha256-js/src/jsSha256.ts +0 -94
- package/node_modules/@aws-crypto/sha256-js/src/knownHashes.fixture.ts +0 -401
- package/node_modules/@aws-crypto/sha256-js/tsconfig.json +0 -10
- package/node_modules/@aws-crypto/sha256-js/tsconfig.module.json +0 -7
- package/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md +0 -66
- package/node_modules/@aws-crypto/supports-web-crypto/LICENSE +0 -202
- package/node_modules/@aws-crypto/supports-web-crypto/README.md +0 -32
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.d.ts +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js +0 -5
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js.map +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.d.ts +0 -4
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js +0 -69
- package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js.map +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.d.ts +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js +0 -2
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js.map +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.d.ts +0 -4
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js +0 -62
- package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js.map +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/package.json +0 -28
- package/node_modules/@aws-crypto/supports-web-crypto/src/index.ts +0 -1
- package/node_modules/@aws-crypto/supports-web-crypto/src/supportsWebCrypto.ts +0 -76
- package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.json +0 -10
- package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.module.json +0 -7
- package/node_modules/@aws-crypto/util/CHANGELOG.md +0 -71
- package/node_modules/@aws-crypto/util/LICENSE +0 -201
- package/node_modules/@aws-crypto/util/README.md +0 -16
- package/node_modules/@aws-crypto/util/build/main/convertToBuffer.d.ts +0 -2
- package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js +0 -24
- package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/main/index.d.ts +0 -4
- package/node_modules/@aws-crypto/util/build/main/index.js +0 -14
- package/node_modules/@aws-crypto/util/build/main/index.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/main/isEmptyData.d.ts +0 -2
- package/node_modules/@aws-crypto/util/build/main/isEmptyData.js +0 -13
- package/node_modules/@aws-crypto/util/build/main/isEmptyData.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/main/numToUint8.d.ts +0 -1
- package/node_modules/@aws-crypto/util/build/main/numToUint8.js +0 -15
- package/node_modules/@aws-crypto/util/build/main/numToUint8.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.d.ts +0 -1
- package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js +0 -20
- package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/module/convertToBuffer.d.ts +0 -2
- package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js +0 -20
- package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/module/index.d.ts +0 -4
- package/node_modules/@aws-crypto/util/build/module/index.js +0 -7
- package/node_modules/@aws-crypto/util/build/module/index.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/module/isEmptyData.d.ts +0 -2
- package/node_modules/@aws-crypto/util/build/module/isEmptyData.js +0 -9
- package/node_modules/@aws-crypto/util/build/module/isEmptyData.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/module/numToUint8.d.ts +0 -1
- package/node_modules/@aws-crypto/util/build/module/numToUint8.js +0 -11
- package/node_modules/@aws-crypto/util/build/module/numToUint8.js.map +0 -1
- package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.d.ts +0 -1
- package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js +0 -16
- package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js.map +0 -1
- package/node_modules/@aws-crypto/util/package.json +0 -32
- package/node_modules/@aws-crypto/util/src/convertToBuffer.ts +0 -30
- package/node_modules/@aws-crypto/util/src/index.ts +0 -7
- package/node_modules/@aws-crypto/util/src/isEmptyData.ts +0 -12
- package/node_modules/@aws-crypto/util/src/numToUint8.ts +0 -11
- package/node_modules/@aws-crypto/util/src/uint32ArrayFrom.ts +0 -16
- package/node_modules/@aws-crypto/util/tsconfig.json +0 -9
- package/node_modules/@aws-crypto/util/tsconfig.module.json +0 -7
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/bdd.js +0 -46
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/CodeDeployServiceException.js +0 -8
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/errors.js +0 -1321
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.browser.js +0 -32
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.js +0 -45
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.native.js +0 -12
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.shared.js +0 -39
- package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/schemas/schemas_0.js +0 -2398
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +0 -869
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +0 -862
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +0 -42
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +0 -27
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +0 -71
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +0 -49
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +0 -13
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +0 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +0 -29
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +0 -25
- package/node_modules/@aws-sdk/util-locate-window/LICENSE +0 -201
- package/node_modules/@aws-sdk/util-locate-window/README.md +0 -4
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +0 -12
- package/node_modules/@aws-sdk/util-locate-window/dist-es/index.js +0 -10
- package/node_modules/@aws-sdk/util-locate-window/dist-types/index.d.ts +0 -6
- package/node_modules/@aws-sdk/util-locate-window/dist-types/ts3.4/index.d.ts +0 -1
- package/node_modules/@aws-sdk/util-locate-window/package.json +0 -54
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +0 -333
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +0 -57
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +0 -44
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-external/nodable_entities.js +0 -332
- package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-external/nodable_entities.d.ts +0 -66
- package/node_modules/@aws-sdk/xml-builder/dist-types/xml-external/nodable_entities.d.ts +0 -65
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +0 -827
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/LICENSE +0 -21
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +0 -202
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +0 -770
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +0 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +0 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +0 -93
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/cli.js +0 -97
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/man.js +0 -17
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/read.js +0 -43
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +0 -739
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +0 -14
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/ignoreAttributes.js +0 -18
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +0 -61
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/CharsSymbol.js +0 -16
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +0 -106
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +0 -61
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -69
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +0 -103
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -100
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +0 -154
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -94
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/Report.js +0 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/TagPath.js +0 -81
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js +0 -13
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +0 -83
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js +0 -235
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XmlPartReader.js +0 -210
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js +0 -111
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js +0 -116
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js +0 -121
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +0 -105
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js +0 -22
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js +0 -19
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js +0 -38
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/join.js +0 -13
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/number.js +0 -14
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js +0 -6
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +0 -425
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +0 -6
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +0 -407
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +0 -163
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +0 -840
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +0 -71
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +0 -177
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +0 -40
- package/node_modules/@nodable/entities/README.md +0 -41
- package/node_modules/@nodable/entities/package.json +0 -57
- package/node_modules/@nodable/entities/src/EntityDecoder.js +0 -644
- package/node_modules/@nodable/entities/src/EntityEncoder.js +0 -194
- package/node_modules/@nodable/entities/src/entities.js +0 -1159
- package/node_modules/@nodable/entities/src/entityTries.js +0 -49
- package/node_modules/@nodable/entities/src/index.d.ts +0 -341
- package/node_modules/@nodable/entities/src/index.js +0 -29
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/constants.js +0 -3
- package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/md5.js +0 -168
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/constants.d.ts +0 -12
- package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/md5.d.ts +0 -16
- package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +0 -53
- package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +0 -2
- package/node_modules/@smithy/is-array-buffer/LICENSE +0 -201
- package/node_modules/@smithy/is-array-buffer/README.md +0 -10
- package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +0 -32
- package/node_modules/@smithy/is-array-buffer/dist-es/index.js +0 -2
- package/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +0 -4
- package/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +0 -4
- package/node_modules/@smithy/is-array-buffer/package.json +0 -60
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -8
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -5
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +0 -7
- package/node_modules/@smithy/util-buffer-from/LICENSE +0 -201
- package/node_modules/@smithy/util-buffer-from/README.md +0 -10
- package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +0 -47
- package/node_modules/@smithy/util-buffer-from/dist-es/index.js +0 -14
- package/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +0 -13
- package/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +0 -13
- package/node_modules/@smithy/util-buffer-from/package.json +0 -61
- package/node_modules/@smithy/util-utf8/LICENSE +0 -201
- package/node_modules/@smithy/util-utf8/README.md +0 -4
- package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
- package/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +0 -1
- package/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +0 -5
- package/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
- package/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +0 -10
- package/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +0 -9
- package/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +0 -10
- package/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +0 -1
- package/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +0 -1
- package/node_modules/@smithy/util-utf8/dist-types/index.d.ts +0 -3
- package/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +0 -1
- package/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +0 -7
- package/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +0 -7
- package/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +0 -1
- package/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +0 -1
- package/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +0 -3
- package/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +0 -1
- package/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +0 -7
- package/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +0 -7
- package/node_modules/@smithy/util-utf8/package.json +0 -66
- package/node_modules/anynum/LICENSE +0 -21
- package/node_modules/anynum/README.md +0 -142
- package/node_modules/anynum/anynum.js +0 -135
- package/node_modules/anynum/digitTable.js +0 -116
- package/node_modules/anynum/package.json +0 -42
- package/node_modules/fast-xml-builder/CHANGELOG.md +0 -40
- package/node_modules/fast-xml-builder/LICENSE +0 -21
- package/node_modules/fast-xml-builder/README.md +0 -74
- package/node_modules/fast-xml-builder/lib/fxb.cjs +0 -1
- package/node_modules/fast-xml-builder/lib/fxb.d.cts +0 -270
- package/node_modules/fast-xml-builder/lib/fxb.min.js +0 -2
- package/node_modules/fast-xml-builder/lib/fxb.min.js.map +0 -1
- package/node_modules/fast-xml-builder/package.json +0 -81
- package/node_modules/fast-xml-builder/src/fxb.d.ts +0 -270
- package/node_modules/fast-xml-builder/src/fxb.js +0 -599
- package/node_modules/fast-xml-builder/src/ignoreAttributes.js +0 -18
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +0 -359
- package/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
- package/node_modules/fast-xml-builder/src/util.js +0 -16
- package/node_modules/path-expression-matcher/LICENSE +0 -21
- package/node_modules/path-expression-matcher/README.md +0 -947
- package/node_modules/path-expression-matcher/lib/pem.cjs +0 -1
- package/node_modules/path-expression-matcher/lib/pem.d.cts +0 -715
- package/node_modules/path-expression-matcher/lib/pem.min.js +0 -2
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +0 -1
- package/node_modules/path-expression-matcher/package.json +0 -79
- package/node_modules/path-expression-matcher/src/Expression.js +0 -232
- package/node_modules/path-expression-matcher/src/ExpressionSet.js +0 -225
- package/node_modules/path-expression-matcher/src/Matcher.js +0 -660
- package/node_modules/path-expression-matcher/src/index.d.ts +0 -589
- package/node_modules/path-expression-matcher/src/index.js +0 -29
- package/node_modules/strnum/CHANGELOG.md +0 -51
- package/node_modules/strnum/LICENSE +0 -21
- package/node_modules/strnum/README.md +0 -113
- package/node_modules/strnum/package.json +0 -36
- package/node_modules/strnum/strnum.js +0 -171
- package/node_modules/xml-naming/README.md +0 -189
- package/node_modules/xml-naming/package.json +0 -54
- package/node_modules/xml-naming/src/index.d.ts +0 -74
- package/node_modules/xml-naming/src/index.js +0 -270
- /package/node_modules/@smithy/{core/dist-es/submodules/endpoints/middleware-endpoint/types.js → types/dist-es/endpoints/EndpointParameterInstructions.js} +0 -0
- /package/node_modules/@smithy/{core/dist-types/submodules/endpoints/middleware-endpoint/types.d.ts → types/dist-types/endpoints/EndpointParameterInstructions.d.ts} +0 -0
|
@@ -1,660 +0,0 @@
|
|
|
1
|
-
import ExpressionSet from "./ExpressionSet.js";
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* MatcherView - A lightweight read-only view over a Matcher's internal state.
|
|
5
|
-
*
|
|
6
|
-
* Created once by Matcher and reused across all callbacks. Holds a direct
|
|
7
|
-
* reference to the parent Matcher so it always reflects current parser state
|
|
8
|
-
* with zero copying or freezing overhead.
|
|
9
|
-
*
|
|
10
|
-
* Users receive this via {@link Matcher#readOnly} or directly from parser
|
|
11
|
-
* callbacks. It exposes all query and matching methods but has no mutation
|
|
12
|
-
* methods — misuse is caught at the TypeScript level rather than at runtime.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* const matcher = new Matcher();
|
|
16
|
-
* const view = matcher.readOnly();
|
|
17
|
-
*
|
|
18
|
-
* matcher.push("root", {});
|
|
19
|
-
* view.getCurrentTag(); // "root"
|
|
20
|
-
* view.getDepth(); // 1
|
|
21
|
-
*/
|
|
22
|
-
export class MatcherView {
|
|
23
|
-
/**
|
|
24
|
-
* @param {Matcher} matcher - The parent Matcher instance to read from.
|
|
25
|
-
*/
|
|
26
|
-
constructor(matcher) {
|
|
27
|
-
this._matcher = matcher;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Get the path separator used by the parent matcher.
|
|
32
|
-
* @returns {string}
|
|
33
|
-
*/
|
|
34
|
-
get separator() {
|
|
35
|
-
return this._matcher.separator;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Get current tag name.
|
|
40
|
-
* @returns {string|undefined}
|
|
41
|
-
*/
|
|
42
|
-
getCurrentTag() {
|
|
43
|
-
const path = this._matcher.path;
|
|
44
|
-
return path.length > 0 ? path[path.length - 1].tag : undefined;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Get current namespace.
|
|
49
|
-
* @returns {string|undefined}
|
|
50
|
-
*/
|
|
51
|
-
getCurrentNamespace() {
|
|
52
|
-
const path = this._matcher.path;
|
|
53
|
-
return path.length > 0 ? path[path.length - 1].namespace : undefined;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* Get current node's attribute value.
|
|
58
|
-
* @param {string} attrName
|
|
59
|
-
* @returns {*}
|
|
60
|
-
*/
|
|
61
|
-
getAttrValue(attrName) {
|
|
62
|
-
const path = this._matcher.path;
|
|
63
|
-
if (path.length === 0) return undefined;
|
|
64
|
-
return path[path.length - 1].values?.[attrName];
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* Check if current node has an attribute.
|
|
69
|
-
* @param {string} attrName
|
|
70
|
-
* @returns {boolean}
|
|
71
|
-
*/
|
|
72
|
-
hasAttr(attrName) {
|
|
73
|
-
const path = this._matcher.path;
|
|
74
|
-
if (path.length === 0) return false;
|
|
75
|
-
const current = path[path.length - 1];
|
|
76
|
-
return current.values !== undefined && attrName in current.values;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
* Get the value of a "kept" attribute from the nearest ancestor (or
|
|
81
|
-
* current node) that declared it via `push(tag, attrs, ns, { keep: [...] })`.
|
|
82
|
-
* @param {string} attrName
|
|
83
|
-
* @returns {*}
|
|
84
|
-
*/
|
|
85
|
-
getAnyParentAttr(attrName) {
|
|
86
|
-
return this._matcher.getAnyParentAttr(attrName);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Check whether any ancestor (or the current node) kept the given
|
|
91
|
-
* attribute via `push(tag, attrs, ns, { keep: [...] })`.
|
|
92
|
-
* @param {string} attrName
|
|
93
|
-
* @returns {boolean}
|
|
94
|
-
*/
|
|
95
|
-
hasAnyParentAttr(attrName) {
|
|
96
|
-
return this._matcher.hasAnyParentAttr(attrName);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* Get current node's sibling position (child index in parent).
|
|
101
|
-
* @returns {number}
|
|
102
|
-
*/
|
|
103
|
-
getPosition() {
|
|
104
|
-
const path = this._matcher.path;
|
|
105
|
-
if (path.length === 0) return -1;
|
|
106
|
-
return path[path.length - 1].position ?? 0;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Get current node's repeat counter (occurrence count of this tag name).
|
|
111
|
-
* @returns {number}
|
|
112
|
-
*/
|
|
113
|
-
getCounter() {
|
|
114
|
-
const path = this._matcher.path;
|
|
115
|
-
if (path.length === 0) return -1;
|
|
116
|
-
return path[path.length - 1].counter ?? 0;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* Get current node's sibling index (alias for getPosition).
|
|
121
|
-
* @returns {number}
|
|
122
|
-
* @deprecated Use getPosition() or getCounter() instead
|
|
123
|
-
*/
|
|
124
|
-
getIndex() {
|
|
125
|
-
return this.getPosition();
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* Get current path depth.
|
|
130
|
-
* @returns {number}
|
|
131
|
-
*/
|
|
132
|
-
getDepth() {
|
|
133
|
-
return this._matcher.path.length;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Get path as string.
|
|
138
|
-
* @param {string} [separator] - Optional separator (uses default if not provided)
|
|
139
|
-
* @param {boolean} [includeNamespace=true]
|
|
140
|
-
* @returns {string}
|
|
141
|
-
*/
|
|
142
|
-
toString(separator, includeNamespace = true) {
|
|
143
|
-
return this._matcher.toString(separator, includeNamespace);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* Get path as array of tag names.
|
|
148
|
-
* @returns {string[]}
|
|
149
|
-
*/
|
|
150
|
-
toArray() {
|
|
151
|
-
return this._matcher.path.map(n => n.tag);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* Match current path against an Expression.
|
|
156
|
-
* @param {Expression} expression
|
|
157
|
-
* @returns {boolean}
|
|
158
|
-
*/
|
|
159
|
-
matches(expression) {
|
|
160
|
-
return this._matcher.matches(expression);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* Match any expression in the given set against the current path.
|
|
165
|
-
* @param {ExpressionSet} exprSet
|
|
166
|
-
* @returns {boolean}
|
|
167
|
-
*/
|
|
168
|
-
matchesAny(exprSet) {
|
|
169
|
-
return exprSet.matchesAny(this._matcher);
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Matcher - Tracks current path in XML/JSON tree and matches against Expressions.
|
|
175
|
-
*
|
|
176
|
-
* The matcher maintains a stack of nodes representing the current path from root to
|
|
177
|
-
* current tag. It only stores attribute values for the current (top) node to minimize
|
|
178
|
-
* memory usage. Sibling tracking is used to auto-calculate position and counter.
|
|
179
|
-
*
|
|
180
|
-
* Use {@link Matcher#readOnly} to obtain a {@link MatcherView} safe to pass to
|
|
181
|
-
* user callbacks — it always reflects current state with no Proxy overhead.
|
|
182
|
-
*
|
|
183
|
-
* @example
|
|
184
|
-
* const matcher = new Matcher();
|
|
185
|
-
* matcher.push("root", {});
|
|
186
|
-
* matcher.push("users", {});
|
|
187
|
-
* matcher.push("user", { id: "123", type: "admin" });
|
|
188
|
-
*
|
|
189
|
-
* const expr = new Expression("root.users.user");
|
|
190
|
-
* matcher.matches(expr); // true
|
|
191
|
-
*/
|
|
192
|
-
export default class Matcher {
|
|
193
|
-
/**
|
|
194
|
-
* Create a new Matcher.
|
|
195
|
-
* @param {Object} [options={}]
|
|
196
|
-
* @param {string} [options.separator='.'] - Default path separator
|
|
197
|
-
*/
|
|
198
|
-
constructor(options = {}) {
|
|
199
|
-
this.separator = options.separator || '.';
|
|
200
|
-
this.path = [];
|
|
201
|
-
this.siblingStacks = [];
|
|
202
|
-
// Each path node: { tag, values, position, counter, namespace? }
|
|
203
|
-
// values only present for current (last) node
|
|
204
|
-
// Each siblingStacks entry: Map<tagName, count> tracking occurrences at each level
|
|
205
|
-
this._pathStringCache = null;
|
|
206
|
-
this._view = new MatcherView(this);
|
|
207
|
-
|
|
208
|
-
// Kept-attribute stack: only populated when push() is called with options.keep.
|
|
209
|
-
this._keptAttrs = [];
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Push a new tag onto the path.
|
|
214
|
-
* @param {string} tagName
|
|
215
|
-
* @param {Object|null} [attrValues=null]
|
|
216
|
-
* @param {string|null} [namespace=null]
|
|
217
|
-
* @param {Object|null} [options=null]
|
|
218
|
-
* @param {string[]} [options.keep] - Names of attributes (from attrValues)
|
|
219
|
-
*/
|
|
220
|
-
push(tagName, attrValues = null, namespace = null, options = null) {
|
|
221
|
-
this._pathStringCache = null;
|
|
222
|
-
|
|
223
|
-
// Remove values from previous current node (now becoming ancestor)
|
|
224
|
-
if (this.path.length > 0) {
|
|
225
|
-
this.path[this.path.length - 1].values = undefined;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
// Get or create sibling tracking for current level
|
|
229
|
-
const currentLevel = this.path.length;
|
|
230
|
-
if (!this.siblingStacks[currentLevel]) {
|
|
231
|
-
this.siblingStacks[currentLevel] = new Map();
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
const siblings = this.siblingStacks[currentLevel];
|
|
235
|
-
|
|
236
|
-
// Create a unique key for sibling tracking that includes namespace
|
|
237
|
-
const siblingKey = namespace ? `${namespace}:${tagName}` : tagName;
|
|
238
|
-
|
|
239
|
-
// Calculate counter (how many times this tag appeared at this level)
|
|
240
|
-
const counter = siblings.get(siblingKey) || 0;
|
|
241
|
-
|
|
242
|
-
// Calculate position (total children at this level so far)
|
|
243
|
-
let position = 0;
|
|
244
|
-
for (const count of siblings.values()) {
|
|
245
|
-
position += count;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
// Update sibling count for this tag
|
|
249
|
-
siblings.set(siblingKey, counter + 1);
|
|
250
|
-
|
|
251
|
-
// Create new node
|
|
252
|
-
const node = {
|
|
253
|
-
tag: tagName,
|
|
254
|
-
position: position,
|
|
255
|
-
counter: counter
|
|
256
|
-
};
|
|
257
|
-
|
|
258
|
-
if (namespace !== null && namespace !== undefined) {
|
|
259
|
-
node.namespace = namespace;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
if (attrValues !== null && attrValues !== undefined) {
|
|
263
|
-
node.values = attrValues;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
this.path.push(node);
|
|
267
|
-
|
|
268
|
-
// Depth of the node we just pushed (1-based, matches this.path.length)
|
|
269
|
-
const depth = this.path.length;
|
|
270
|
-
|
|
271
|
-
// Copy only the requested attributes into the kept-attrs stack. This is
|
|
272
|
-
// the one part of push() whose cost scales with input (O(keep.length))
|
|
273
|
-
// rather than being O(1) — by design, since the caller is explicitly
|
|
274
|
-
// opting in for specific attribute names. No options/keep => zero added
|
|
275
|
-
// cost beyond the two property reads below.
|
|
276
|
-
const keep = options !== null ? options.keep : null;
|
|
277
|
-
if (keep !== null && keep !== undefined && keep.length > 0 && attrValues) {
|
|
278
|
-
for (let i = 0; i < keep.length; i++) {
|
|
279
|
-
const name = keep[i];
|
|
280
|
-
if (attrValues[name] !== undefined) {
|
|
281
|
-
this._keptAttrs.push({ depth, name, value: attrValues[name] });
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
* Pop the last tag from the path.
|
|
289
|
-
* @returns {Object|undefined} The popped node
|
|
290
|
-
*/
|
|
291
|
-
pop() {
|
|
292
|
-
if (this.path.length === 0) return undefined;
|
|
293
|
-
this._pathStringCache = null;
|
|
294
|
-
|
|
295
|
-
const node = this.path.pop();
|
|
296
|
-
|
|
297
|
-
if (this.siblingStacks.length > this.path.length + 1) {
|
|
298
|
-
this.siblingStacks.length = this.path.length + 1;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
// Drop any kept attributes that belonged to the popped node (or deeper).
|
|
302
|
-
// _keptAttrs is depth-ordered (push only ever appends increasing depths),
|
|
303
|
-
// so this is a backward scan that stops at the first surviving entry —
|
|
304
|
-
// typically O(1) since kept attrs are rare by design.
|
|
305
|
-
const poppedDepth = this.path.length + 1;
|
|
306
|
-
while (
|
|
307
|
-
this._keptAttrs.length > 0 &&
|
|
308
|
-
this._keptAttrs[this._keptAttrs.length - 1].depth >= poppedDepth
|
|
309
|
-
) {
|
|
310
|
-
this._keptAttrs.pop();
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
return node;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* Update current node's attribute values.
|
|
318
|
-
* Useful when attributes are parsed after push.
|
|
319
|
-
* @param {Object} attrValues
|
|
320
|
-
*/
|
|
321
|
-
updateCurrent(attrValues) {
|
|
322
|
-
if (this.path.length > 0) {
|
|
323
|
-
const current = this.path[this.path.length - 1];
|
|
324
|
-
if (attrValues !== null && attrValues !== undefined) {
|
|
325
|
-
current.values = attrValues;
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
/**
|
|
331
|
-
* Get current tag name.
|
|
332
|
-
* @returns {string|undefined}
|
|
333
|
-
*/
|
|
334
|
-
getCurrentTag() {
|
|
335
|
-
return this.path.length > 0 ? this.path[this.path.length - 1].tag : undefined;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
/**
|
|
339
|
-
* Get current namespace.
|
|
340
|
-
* @returns {string|undefined}
|
|
341
|
-
*/
|
|
342
|
-
getCurrentNamespace() {
|
|
343
|
-
return this.path.length > 0 ? this.path[this.path.length - 1].namespace : undefined;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
/**
|
|
347
|
-
* Get current node's attribute value.
|
|
348
|
-
* @param {string} attrName
|
|
349
|
-
* @returns {*}
|
|
350
|
-
*/
|
|
351
|
-
getAttrValue(attrName) {
|
|
352
|
-
if (this.path.length === 0) return undefined;
|
|
353
|
-
return this.path[this.path.length - 1].values?.[attrName];
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* Check if current node has an attribute.
|
|
358
|
-
* @param {string} attrName
|
|
359
|
-
* @returns {boolean}
|
|
360
|
-
*/
|
|
361
|
-
hasAttr(attrName) {
|
|
362
|
-
if (this.path.length === 0) return false;
|
|
363
|
-
const current = this.path[this.path.length - 1];
|
|
364
|
-
return current.values !== undefined && attrName in current.values;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
* Get the value of a "kept" attribute from the nearest ancestor (or
|
|
369
|
-
* current node) that declared it via `push(tag, attrs, ns, { keep: [...] })`.
|
|
370
|
-
* Unlike getAttrValue(), this works regardless of how deep the path has
|
|
371
|
-
* gone since the attribute was pushed — but only for attribute names that
|
|
372
|
-
* were explicitly marked with `keep` at push time. Cost is proportional to
|
|
373
|
-
* the number of currently-kept attributes (typically 0-3), not path depth.
|
|
374
|
-
* @param {string} attrName
|
|
375
|
-
* @returns {*} the value, or undefined if no ancestor kept this attribute
|
|
376
|
-
*/
|
|
377
|
-
getAnyParentAttr(attrName) {
|
|
378
|
-
const kept = this._keptAttrs;
|
|
379
|
-
for (let i = kept.length - 1; i >= 0; i--) {
|
|
380
|
-
if (kept[i].name === attrName) return kept[i].value;
|
|
381
|
-
}
|
|
382
|
-
return undefined;
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* Check whether any ancestor (or the current node) kept the given
|
|
387
|
-
* attribute via `push(tag, attrs, ns, { keep: [...] })`.
|
|
388
|
-
* @param {string} attrName
|
|
389
|
-
* @returns {boolean}
|
|
390
|
-
*/
|
|
391
|
-
hasAnyParentAttr(attrName) {
|
|
392
|
-
const kept = this._keptAttrs;
|
|
393
|
-
for (let i = kept.length - 1; i >= 0; i--) {
|
|
394
|
-
if (kept[i].name === attrName) return true;
|
|
395
|
-
}
|
|
396
|
-
return false;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
/**
|
|
400
|
-
* Get current node's sibling position (child index in parent).
|
|
401
|
-
* @returns {number}
|
|
402
|
-
*/
|
|
403
|
-
getPosition() {
|
|
404
|
-
if (this.path.length === 0) return -1;
|
|
405
|
-
return this.path[this.path.length - 1].position ?? 0;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* Get current node's repeat counter (occurrence count of this tag name).
|
|
410
|
-
* @returns {number}
|
|
411
|
-
*/
|
|
412
|
-
getCounter() {
|
|
413
|
-
if (this.path.length === 0) return -1;
|
|
414
|
-
return this.path[this.path.length - 1].counter ?? 0;
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* Get current node's sibling index (alias for getPosition).
|
|
419
|
-
* @returns {number}
|
|
420
|
-
* @deprecated Use getPosition() or getCounter() instead
|
|
421
|
-
*/
|
|
422
|
-
getIndex() {
|
|
423
|
-
return this.getPosition();
|
|
424
|
-
}
|
|
425
|
-
|
|
426
|
-
/**
|
|
427
|
-
* Get current path depth.
|
|
428
|
-
* @returns {number}
|
|
429
|
-
*/
|
|
430
|
-
getDepth() {
|
|
431
|
-
return this.path.length;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
/**
|
|
435
|
-
* Get path as string.
|
|
436
|
-
* @param {string} [separator] - Optional separator (uses default if not provided)
|
|
437
|
-
* @param {boolean} [includeNamespace=true]
|
|
438
|
-
* @returns {string}
|
|
439
|
-
*/
|
|
440
|
-
toString(separator, includeNamespace = true) {
|
|
441
|
-
const sep = separator || this.separator;
|
|
442
|
-
const isDefault = (sep === this.separator && includeNamespace === true);
|
|
443
|
-
|
|
444
|
-
if (isDefault) {
|
|
445
|
-
if (this._pathStringCache !== null) {
|
|
446
|
-
return this._pathStringCache;
|
|
447
|
-
}
|
|
448
|
-
const result = this.path.map(n =>
|
|
449
|
-
(n.namespace) ? `${n.namespace}:${n.tag}` : n.tag
|
|
450
|
-
).join(sep);
|
|
451
|
-
this._pathStringCache = result;
|
|
452
|
-
return result;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
return this.path.map(n =>
|
|
456
|
-
(includeNamespace && n.namespace) ? `${n.namespace}:${n.tag}` : n.tag
|
|
457
|
-
).join(sep);
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* Get path as array of tag names.
|
|
462
|
-
* @returns {string[]}
|
|
463
|
-
*/
|
|
464
|
-
toArray() {
|
|
465
|
-
return this.path.map(n => n.tag);
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
/**
|
|
469
|
-
* Reset the path to empty.
|
|
470
|
-
*/
|
|
471
|
-
reset() {
|
|
472
|
-
this._pathStringCache = null;
|
|
473
|
-
this.path = [];
|
|
474
|
-
this.siblingStacks = [];
|
|
475
|
-
this._keptAttrs = [];
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
/**
|
|
479
|
-
* Match current path against an Expression.
|
|
480
|
-
* @param {Expression} expression
|
|
481
|
-
* @returns {boolean}
|
|
482
|
-
*/
|
|
483
|
-
matches(expression) {
|
|
484
|
-
const segments = expression.segments;
|
|
485
|
-
|
|
486
|
-
if (segments.length === 0) {
|
|
487
|
-
return false;
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
if (expression.hasDeepWildcard()) {
|
|
491
|
-
return this._matchWithDeepWildcard(segments);
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
return this._matchSimple(segments);
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
* @private
|
|
499
|
-
*/
|
|
500
|
-
_matchSimple(segments) {
|
|
501
|
-
if (this.path.length !== segments.length) {
|
|
502
|
-
return false;
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
for (let i = 0; i < segments.length; i++) {
|
|
506
|
-
if (!this._matchSegment(segments[i], this.path[i], i === this.path.length - 1)) {
|
|
507
|
-
return false;
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
return true;
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
/**
|
|
515
|
-
* @private
|
|
516
|
-
*/
|
|
517
|
-
_matchWithDeepWildcard(segments) {
|
|
518
|
-
let pathIdx = this.path.length - 1;
|
|
519
|
-
let segIdx = segments.length - 1;
|
|
520
|
-
|
|
521
|
-
while (segIdx >= 0 && pathIdx >= 0) {
|
|
522
|
-
const segment = segments[segIdx];
|
|
523
|
-
|
|
524
|
-
if (segment.type === 'deep-wildcard') {
|
|
525
|
-
segIdx--;
|
|
526
|
-
|
|
527
|
-
if (segIdx < 0) {
|
|
528
|
-
return true;
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
const nextSeg = segments[segIdx];
|
|
532
|
-
let found = false;
|
|
533
|
-
|
|
534
|
-
for (let i = pathIdx; i >= 0; i--) {
|
|
535
|
-
if (this._matchSegment(nextSeg, this.path[i], i === this.path.length - 1)) {
|
|
536
|
-
pathIdx = i - 1;
|
|
537
|
-
segIdx--;
|
|
538
|
-
found = true;
|
|
539
|
-
break;
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
if (!found) {
|
|
544
|
-
return false;
|
|
545
|
-
}
|
|
546
|
-
} else {
|
|
547
|
-
if (!this._matchSegment(segment, this.path[pathIdx], pathIdx === this.path.length - 1)) {
|
|
548
|
-
return false;
|
|
549
|
-
}
|
|
550
|
-
pathIdx--;
|
|
551
|
-
segIdx--;
|
|
552
|
-
}
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
return segIdx < 0;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
/**
|
|
559
|
-
* @private
|
|
560
|
-
*/
|
|
561
|
-
_matchSegment(segment, node, isCurrentNode) {
|
|
562
|
-
if (segment.tag !== '*' && segment.tag !== node.tag) {
|
|
563
|
-
return false;
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
if (segment.namespace !== undefined) {
|
|
567
|
-
if (segment.namespace !== '*' && segment.namespace !== node.namespace) {
|
|
568
|
-
return false;
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
if (segment.attrName !== undefined) {
|
|
573
|
-
if (!isCurrentNode) {
|
|
574
|
-
return false;
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
if (!node.values || !(segment.attrName in node.values)) {
|
|
578
|
-
return false;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
if (segment.attrValue !== undefined) {
|
|
582
|
-
if (String(node.values[segment.attrName]) !== String(segment.attrValue)) {
|
|
583
|
-
return false;
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
if (segment.position !== undefined) {
|
|
589
|
-
if (!isCurrentNode) {
|
|
590
|
-
return false;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
const counter = node.counter ?? 0;
|
|
594
|
-
|
|
595
|
-
if (segment.position === 'first' && counter !== 0) {
|
|
596
|
-
return false;
|
|
597
|
-
} else if (segment.position === 'odd' && counter % 2 !== 1) {
|
|
598
|
-
return false;
|
|
599
|
-
} else if (segment.position === 'even' && counter % 2 !== 0) {
|
|
600
|
-
return false;
|
|
601
|
-
} else if (segment.position === 'nth' && counter !== segment.positionValue) {
|
|
602
|
-
return false;
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
return true;
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
/**
|
|
610
|
-
* Match any expression in the given set against the current path.
|
|
611
|
-
* @param {ExpressionSet} exprSet
|
|
612
|
-
* @returns {boolean}
|
|
613
|
-
*/
|
|
614
|
-
matchesAny(exprSet) {
|
|
615
|
-
return exprSet.matchesAny(this);
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
/**
|
|
619
|
-
* Create a snapshot of current state.
|
|
620
|
-
* @returns {Object}
|
|
621
|
-
*/
|
|
622
|
-
snapshot() {
|
|
623
|
-
return {
|
|
624
|
-
path: this.path.map(node => ({ ...node })),
|
|
625
|
-
siblingStacks: this.siblingStacks.map(map => new Map(map)),
|
|
626
|
-
keptAttrs: this._keptAttrs.map(entry => ({ ...entry }))
|
|
627
|
-
};
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
/**
|
|
631
|
-
* Restore state from snapshot.
|
|
632
|
-
* @param {Object} snapshot
|
|
633
|
-
*/
|
|
634
|
-
restore(snapshot) {
|
|
635
|
-
this._pathStringCache = null;
|
|
636
|
-
this.path = snapshot.path.map(node => ({ ...node }));
|
|
637
|
-
this.siblingStacks = snapshot.siblingStacks.map(map => new Map(map));
|
|
638
|
-
this._keptAttrs = (snapshot.keptAttrs || []).map(entry => ({ ...entry }));
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
/**
|
|
642
|
-
* Return the read-only {@link MatcherView} for this matcher.
|
|
643
|
-
*
|
|
644
|
-
* The same instance is returned on every call — no allocation occurs.
|
|
645
|
-
* It always reflects the current parser state and is safe to pass to
|
|
646
|
-
* user callbacks without risk of accidental mutation.
|
|
647
|
-
*
|
|
648
|
-
* @returns {MatcherView}
|
|
649
|
-
*
|
|
650
|
-
* @example
|
|
651
|
-
* const view = matcher.readOnly();
|
|
652
|
-
* // pass view to callbacks — it stays in sync automatically
|
|
653
|
-
* view.matches(expr); // ✓
|
|
654
|
-
* view.getCurrentTag(); // ✓
|
|
655
|
-
* // view.push(...) // ✗ method does not exist — caught by TypeScript
|
|
656
|
-
*/
|
|
657
|
-
readOnly() {
|
|
658
|
-
return this._view;
|
|
659
|
-
}
|
|
660
|
-
}
|