@cdklabs/cdk-ssm-documents 0.0.74 → 0.0.75
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 +12 -12
- package/lib/construct/synth-utils.js +1 -1
- package/lib/document/automation-document.js +1 -1
- package/lib/document/command-document.js +1 -1
- package/lib/document/document-builder.js +2 -2
- package/lib/document/ssm-document.js +1 -1
- package/lib/domain/aws-service.js +1 -1
- package/lib/domain/choice.js +1 -1
- package/lib/domain/data-type.js +1 -1
- package/lib/domain/enum/install-action.js +2 -2
- package/lib/domain/enum/install-uninstall-repair.js +2 -2
- package/lib/domain/enum/installation-type.js +2 -2
- package/lib/domain/enum/package-name.js +2 -2
- package/lib/domain/input.js +1 -1
- package/lib/domain/operation.js +1 -1
- package/lib/domain/platform.js +1 -1
- package/lib/domain/precondition.js +1 -1
- package/lib/incident-response/incident-response.js +3 -3
- package/lib/interface/approve-hook.js +2 -2
- package/lib/interface/auth-method.js +3 -3
- package/lib/interface/aws-invoker.js +2 -2
- package/lib/interface/downloadable-content.js +8 -8
- package/lib/interface/environment.js +3 -3
- package/lib/interface/execute-automation-hook/api-execute-automation-hook.js +1 -1
- package/lib/interface/observer.js +1 -1
- package/lib/interface/on-failure.js +6 -6
- package/lib/interface/pause-hook.js +2 -2
- package/lib/interface/run-command-hook/api-run-command-hook.js +1 -1
- package/lib/interface/run-document-location.js +2 -2
- package/lib/interface/sleep-hook.js +2 -2
- package/lib/interface/step-ref.js +1 -1
- package/lib/interface/variables/boolean-variable.js +2 -2
- package/lib/interface/variables/map-list-variable.js +2 -2
- package/lib/interface/variables/number-variable.js +2 -2
- package/lib/interface/variables/secure-string-variable.js +4 -4
- package/lib/interface/variables/string-list-variable.js +2 -2
- package/lib/interface/variables/string-map-variable.js +2 -2
- package/lib/interface/variables/string-variable.js +4 -4
- package/lib/interface/variables/variable.js +2 -2
- package/lib/interface/webhook.js +1 -1
- package/lib/parent-steps/automation/approve-step.js +1 -1
- package/lib/parent-steps/automation/assert-aws-resource-step.js +1 -1
- package/lib/parent-steps/automation/aws-api-step.js +1 -1
- package/lib/parent-steps/automation/branch-step.js +1 -1
- package/lib/parent-steps/automation/change-instance-state-step.js +3 -3
- package/lib/parent-steps/automation/copy-image-step.js +1 -1
- package/lib/parent-steps/automation/create-image-step.js +1 -1
- package/lib/parent-steps/automation/create-stack-step.js +3 -3
- package/lib/parent-steps/automation/create-tags-step.js +3 -3
- package/lib/parent-steps/automation/delete-image-step.js +1 -1
- package/lib/parent-steps/automation/delete-stack-step.js +1 -1
- package/lib/parent-steps/automation/execute-automation-step.js +1 -1
- package/lib/parent-steps/automation/execute-script-step.js +5 -5
- package/lib/parent-steps/automation/execute-state-machine-step.js +1 -1
- package/lib/parent-steps/automation/invoke-lambda-function-step.js +1 -1
- package/lib/parent-steps/automation/invoke-webhook-step.js +1 -1
- package/lib/parent-steps/automation/pause-step.js +1 -1
- package/lib/parent-steps/automation/run-command-step.js +3 -3
- package/lib/parent-steps/automation/run-instance-step.js +1 -1
- package/lib/parent-steps/automation/sleep-step.js +1 -1
- package/lib/parent-steps/automation/update-variable.js +1 -1
- package/lib/parent-steps/automation/wait-for-resource-step.js +1 -1
- package/lib/parent-steps/automation-step.js +1 -1
- package/lib/parent-steps/command/applications-step.js +1 -1
- package/lib/parent-steps/command/configure-docker-step.js +1 -1
- package/lib/parent-steps/command/configure-package-step.js +1 -1
- package/lib/parent-steps/command/domain-join-step.js +1 -1
- package/lib/parent-steps/command/download-content-step.js +1 -1
- package/lib/parent-steps/command/ps-module-step.js +1 -1
- package/lib/parent-steps/command/run-docker-action-step.js +1 -1
- package/lib/parent-steps/command/run-document-step.js +1 -1
- package/lib/parent-steps/command/run-powershell-script-step.js +1 -1
- package/lib/parent-steps/command/run-shell-script-step.js +1 -1
- package/lib/parent-steps/command/software-inventory-step.js +1 -1
- package/lib/parent-steps/command/update-agent-step.js +1 -1
- package/lib/parent-steps/command/update-ssm-agent-step.js +1 -1
- package/lib/parent-steps/command-step.js +1 -1
- package/lib/parent-steps/step.js +1 -1
- package/lib/patterns/automation/composite-step.js +2 -2
- package/lib/patterns/automation/reboot-instance-and-wait.js +1 -1
- package/lib/patterns/automation/string-step.js +1 -1
- package/lib/patterns/document/string-document.js +1 -1
- package/lib/patterns/document/timed-document.js +1 -1
- package/lib/samples/hello-world.js +1 -1
- package/lib/simulation/automation/approve-simulation.js +1 -1
- package/lib/simulation/automation/assert-aws-resource-simulation.js +1 -1
- package/lib/simulation/automation/automation-simulation-base.js +1 -1
- package/lib/simulation/automation/aws-api-simulation.js +1 -1
- package/lib/simulation/automation/branch-simulation.js +1 -1
- package/lib/simulation/automation/change-instance-state-simulation.js +1 -1
- package/lib/simulation/automation/copy-image-simulation.js +1 -1
- package/lib/simulation/automation/create-image-simulation.js +1 -1
- package/lib/simulation/automation/create-stack-simulation.js +1 -1
- package/lib/simulation/automation/create-tags-simulation.js +1 -1
- package/lib/simulation/automation/delete-image-simulation.js +1 -1
- package/lib/simulation/automation/delete-stack-simulation.js +1 -1
- package/lib/simulation/automation/execute-script-simulation.js +1 -1
- package/lib/simulation/automation/execute-state-machine-simulation.js +1 -1
- package/lib/simulation/automation/invoke-lambda-function-simulation.js +1 -1
- package/lib/simulation/automation/invoke-webhook-simulation.js +1 -1
- package/lib/simulation/automation/pause-simulation.js +1 -1
- package/lib/simulation/automation/run-command-simulation.js +1 -1
- package/lib/simulation/automation/run-instance-simulation.js +1 -1
- package/lib/simulation/automation/sleep-simulation.js +1 -1
- package/lib/simulation/automation/update-variable-simulation.js +1 -1
- package/lib/simulation/automation/wait-for-resource-simulation.js +1 -1
- package/lib/simulation/automation-step-simulation.js +1 -1
- package/lib/simulation/command/command-simulation-base.js +1 -1
- package/lib/simulation/command/ps-module-simulation.js +1 -1
- package/lib/simulation/command/run-powershell-script-simulation.js +1 -1
- package/lib/simulation/command/run-shell-script-simulation.js +1 -1
- package/lib/simulation/command-step-simulation.js +1 -1
- package/lib/simulation/document/automation-simulation.js +1 -1
- package/lib/simulation/document/command-simulation.js +1 -1
- package/lib/simulation/simulation.js +1 -1
- package/node_modules/@aws-sdk/checksums/package.json +6 -6
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +38 -38
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +37 -37
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +54 -56
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +57 -57
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +58 -60
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-cloudformation/package.json +10 -10
- package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js +18 -9
- package/node_modules/@aws-sdk/client-cloudwatch/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch/dist-es/schemas/schemas_0.js +16 -8
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/AssociateDatasetKmsKeyCommand.d.ts +19 -10
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DescribeAlarmsCommand.d.ts +8 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DisassociateDatasetKmsKeyCommand.d.ts +14 -7
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/PutLogAlarmCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/PutMetricAlarmCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/models/models_0.d.ts +70 -4
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.browser.d.ts +40 -40
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.native.d.ts +37 -37
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/schemas/schemas_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.d.ts +59 -59
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.native.d.ts +58 -60
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch/package.json +12 -12
- package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +12 -8
- package/node_modules/@aws-sdk/client-ec2/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +11 -7
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateApplicationStatusCheckCommand.d.ts +5 -5
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateApplicationStatusCheckCommand.d.ts +6 -6
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageCommand.d.ts +6 -0
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeApplicationStatusChecksCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeApplicationStatusCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisableApplicationStatusCheckSuppressionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableApplicationStatusCheckSuppressionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +13 -8
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +3 -3
- package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.browser.d.ts +40 -40
- package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.native.d.ts +38 -38
- package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
- package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-ec2/package.json +12 -12
- package/node_modules/@aws-sdk/client-iam/README.md +28 -0
- package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +285 -27
- package/node_modules/@aws-sdk/client-iam/dist-es/IAM.js +8 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/AcquireRoleCommand.js +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetAccountPropertiesCommand.js +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetRoleTemplateVersionCommand.js +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/PutAccountPropertiesCommand.js +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/commands/index.js +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-es/models/enums.js +14 -3
- package/node_modules/@aws-sdk/client-iam/dist-es/models/errors.js +52 -16
- package/node_modules/@aws-sdk/client-iam/dist-es/schemas/schemas_0.js +176 -8
- package/node_modules/@aws-sdk/client-iam/dist-types/IAM.d.ts +29 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/IAMClient.d.ts +6 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/AcquireRoleCommand.d.ts +154 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateInstanceProfileCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateRoleCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountPropertiesCommand.d.ts +84 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetInstanceProfileCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetRoleCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetRoleTemplateVersionCommand.d.ts +135 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfilesCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListRolesCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutAccountPropertiesCommand.d.ts +88 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccessKeyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/models/enums.d.ts +38 -11
- package/node_modules/@aws-sdk/client-iam/dist-types/models/errors.d.ts +58 -18
- package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +508 -511
- package/node_modules/@aws-sdk/client-iam/dist-types/models/models_1.d.ts +358 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.browser.d.ts +40 -40
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.native.d.ts +38 -38
- package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-iam/dist-types/schemas/schemas_0.d.ts +21 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +66 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAMClient.d.ts +21 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AcquireRoleCommand.d.ts +38 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetAccountPropertiesCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetRoleTemplateVersionCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutAccountPropertiesCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagUserCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/enums.d.ts +18 -5
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/errors.d.ts +23 -8
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_0.d.ts +100 -89
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_1.d.ts +64 -0
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
- package/node_modules/@aws-sdk/client-iam/package.json +11 -11
- package/node_modules/@aws-sdk/client-lambda/README.md +21 -0
- package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +67 -1
- package/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +6 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetResourcePolicyCommand.js +4 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutResourcePolicyCommand.js +4 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/commands/index.js +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +43 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +21 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/LambdaClient.d.ts +5 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/AddPermissionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteResourcePolicyCommand.d.ts +88 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetResourcePolicyCommand.d.ts +84 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutResourcePolicyCommand.d.ts +98 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/commands/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/errors.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +76 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.browser.d.ts +41 -41
- package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.native.d.ts +39 -39
- package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +8 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +51 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/LambdaClient.d.ts +18 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +38 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +20 -0
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.browser.d.ts +57 -59
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.d.ts +59 -59
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.native.d.ts +61 -63
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/node_modules/@aws-sdk/client-lambda/package.json +11 -11
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +58 -58
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +61 -61
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +57 -57
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -99
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +103 -103
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +101 -103
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/package.json +15 -15
- package/node_modules/@aws-sdk/client-sns/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-sns/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-sns/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.browser.d.ts +40 -40
- package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.native.d.ts +38 -38
- package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
- package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
- package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
- package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sns/package.json +10 -10
- package/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-sqs/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-sqs/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.browser.d.ts +39 -39
- package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.d.ts +38 -38
- package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.native.d.ts +38 -38
- package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.browser.d.ts +55 -57
- package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
- package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.native.d.ts +59 -61
- package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-sqs/package.json +12 -12
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/index.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +40 -40
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +36 -36
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +38 -38
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/client-ssm/package.json +10 -10
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -4
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -4
- package/node_modules/@aws-sdk/core/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +5 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +42 -42
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +41 -41
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +44 -44
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +35 -35
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +43 -43
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +64 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +67 -69
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +66 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +71 -73
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +64 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +64 -66
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +65 -65
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +68 -70
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +68 -68
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +72 -74
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/package.json +9 -9
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +8 -4
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +8 -4
- package/node_modules/@aws-sdk/token-providers/package.json +7 -7
- package/node_modules/@aws-sdk/types/package.json +3 -3
- package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
- package/node_modules/@smithy/core/dist-cjs/index.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +127 -41
- package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +14 -3
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +3 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +33 -24
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +33 -24
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +33 -15
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +0 -10
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +7 -0
- package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +29 -13
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +12 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +7 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +44 -15
- package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +22 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +6 -1
- package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +11 -4
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +23 -20
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +6 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +6 -4
- package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +8 -5
- package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +4 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
- package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +14 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
- package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts +5 -5
- package/node_modules/@smithy/core/dist-types/submodules/transport/hasOwn.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +14 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +5 -5
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/hasOwn.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/index.d.ts +1 -0
- package/node_modules/@smithy/core/package.json +3 -11
- package/node_modules/@smithy/credential-provider-imds/package.json +4 -12
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -13
- package/node_modules/@smithy/middleware-compression/package.json +5 -10
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +16 -4
- package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/package.json +5 -13
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +28 -16
- package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +13 -10
- package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +10 -3
- package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +4 -1
- package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +4 -1
- package/node_modules/@smithy/signature-v4/package.json +4 -12
- package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +14 -14
- package/node_modules/@smithy/types/package.json +29 -39
- package/node_modules/fflate/CHANGELOG.md +22 -0
- package/node_modules/fflate/LICENSE +1 -1
- package/node_modules/fflate/README.md +14 -17
- package/node_modules/fflate/esm/browser.d.ts +160 -28
- package/node_modules/fflate/esm/browser.js +182 -95
- package/node_modules/fflate/esm/index.d.mts +160 -28
- package/node_modules/fflate/esm/index.mjs +187 -96
- package/node_modules/fflate/lib/browser.cjs +206 -118
- package/node_modules/fflate/lib/browser.d.cts +160 -28
- package/node_modules/fflate/lib/index.cjs +206 -118
- package/node_modules/fflate/lib/index.d.ts +160 -28
- package/node_modules/fflate/lib/node-worker.cjs +5 -2
- package/node_modules/fflate/lib/node.cjs +211 -119
- package/node_modules/fflate/lib/node.d.cts +160 -28
- package/node_modules/fflate/lib/worker.cjs +0 -1
- package/node_modules/fflate/package.json +12 -12
- package/node_modules/fflate/umd/index.js +1 -1
- package/package.json +10 -10
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/serde";
|
|
1
2
|
import { escapeUri } from "@smithy/core/protocols";
|
|
2
3
|
import { SIGNATURE_HEADER } from "./constants";
|
|
3
4
|
export const getCanonicalQuery = ({ query = {} }) => {
|
|
4
5
|
const keys = [];
|
|
5
6
|
const serialized = {};
|
|
6
|
-
for (const key
|
|
7
|
+
for (const key in query) {
|
|
8
|
+
if (!hasOwn(query, key))
|
|
9
|
+
continue;
|
|
7
10
|
if (key.toLowerCase() === SIGNATURE_HEADER) {
|
|
8
11
|
continue;
|
|
9
12
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/serde";
|
|
1
2
|
import { isArrayBuffer, toHex, toUint8Array } from "@smithy/core/serde";
|
|
2
3
|
import { SHA256_HEADER, UNSIGNED_PAYLOAD } from "./constants";
|
|
3
4
|
export const getPayloadHash = async ({ headers, body }, hashConstructor) => {
|
|
4
|
-
for (const headerName
|
|
5
|
+
for (const headerName in headers) {
|
|
6
|
+
if (!hasOwn(headers, headerName))
|
|
7
|
+
continue;
|
|
5
8
|
if (headerName.toLowerCase() === SHA256_HEADER) {
|
|
6
9
|
return headers[headerName];
|
|
7
10
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/serde";
|
|
1
2
|
export const hasHeader = (soughtHeader, headers) => {
|
|
2
3
|
soughtHeader = soughtHeader.toLowerCase();
|
|
3
|
-
for (const headerName
|
|
4
|
+
for (const headerName in headers) {
|
|
5
|
+
if (!hasOwn(headers, headerName))
|
|
6
|
+
continue;
|
|
4
7
|
if (soughtHeader === headerName.toLowerCase()) {
|
|
5
8
|
return true;
|
|
6
9
|
}
|
|
@@ -9,7 +12,9 @@ export const hasHeader = (soughtHeader, headers) => {
|
|
|
9
12
|
};
|
|
10
13
|
export const getHeaderValue = (soughtHeader, headers) => {
|
|
11
14
|
soughtHeader = soughtHeader.toLowerCase();
|
|
12
|
-
for (const headerName
|
|
15
|
+
for (const headerName in headers) {
|
|
16
|
+
if (!hasOwn(headers, headerName))
|
|
17
|
+
continue;
|
|
13
18
|
if (soughtHeader === headerName.toLowerCase()) {
|
|
14
19
|
return headers[headerName];
|
|
15
20
|
}
|
|
@@ -18,7 +23,9 @@ export const getHeaderValue = (soughtHeader, headers) => {
|
|
|
18
23
|
};
|
|
19
24
|
export const deleteHeader = (soughtHeader, headers) => {
|
|
20
25
|
soughtHeader = soughtHeader.toLowerCase();
|
|
21
|
-
for (const headerName
|
|
26
|
+
for (const headerName in headers) {
|
|
27
|
+
if (!hasOwn(headers, headerName))
|
|
28
|
+
continue;
|
|
22
29
|
if (soughtHeader === headerName.toLowerCase()) {
|
|
23
30
|
delete headers[headerName];
|
|
24
31
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/serde";
|
|
1
2
|
import { HttpRequest } from "@smithy/core/protocols";
|
|
2
3
|
export const moveHeadersToQuery = (request, options = {}) => {
|
|
3
4
|
const { headers, query = {} } = HttpRequest.clone(request);
|
|
4
|
-
for (const name
|
|
5
|
+
for (const name in headers) {
|
|
6
|
+
if (!hasOwn(headers, name))
|
|
7
|
+
continue;
|
|
5
8
|
const lname = name.toLowerCase();
|
|
6
9
|
if ((lname.slice(0, 6) === "x-amz-" && !options.unhoistableHeaders?.has(lname)) ||
|
|
7
10
|
options.hoistableHeaders?.has(lname)) {
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { hasOwn } from "@smithy/core/serde";
|
|
1
2
|
import { HttpRequest } from "@smithy/core/protocols";
|
|
2
3
|
import { GENERATED_HEADERS } from "./constants";
|
|
3
4
|
export const prepareRequest = (request) => {
|
|
4
5
|
request = HttpRequest.clone(request);
|
|
5
|
-
for (const headerName
|
|
6
|
+
for (const headerName in request.headers) {
|
|
7
|
+
if (!hasOwn(request.headers, headerName))
|
|
8
|
+
continue;
|
|
6
9
|
if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) {
|
|
7
10
|
delete request.headers[headerName];
|
|
8
11
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/signature-v4",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.3",
|
|
4
4
|
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
|
|
5
5
|
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/signature-v4",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -27,9 +27,6 @@
|
|
|
27
27
|
]
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
"publishConfig": {
|
|
31
|
-
"directory": ".release/package"
|
|
32
|
-
},
|
|
33
30
|
"scripts": {
|
|
34
31
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
35
32
|
"build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
|
|
@@ -37,23 +34,18 @@
|
|
|
37
34
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
|
|
38
35
|
"clean": "premove dist-cjs dist-es dist-types",
|
|
39
36
|
"extract:docs": "api-extractor run --local",
|
|
40
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
41
37
|
"test": "yarn g:vitest run",
|
|
42
38
|
"test:watch": "yarn g:vitest watch"
|
|
43
39
|
},
|
|
44
40
|
"dependencies": {
|
|
45
|
-
"@smithy/core": "^3.
|
|
46
|
-
"@smithy/types": "^4.
|
|
41
|
+
"@smithy/core": "^3.33.3",
|
|
42
|
+
"@smithy/types": "^4.17.2",
|
|
47
43
|
"tslib": "^2.6.2"
|
|
48
44
|
},
|
|
49
45
|
"devDependencies": {
|
|
50
46
|
"concurrently": "7.0.0",
|
|
51
47
|
"downlevel-dts": "0.10.1",
|
|
52
|
-
"premove": "4.0.0"
|
|
53
|
-
"typedoc": "0.23.23"
|
|
54
|
-
},
|
|
55
|
-
"typedoc": {
|
|
56
|
-
"entryPoint": "src/index.ts"
|
|
48
|
+
"premove": "4.0.0"
|
|
57
49
|
},
|
|
58
50
|
"engines": {
|
|
59
51
|
"node": ">=18.0.0"
|
|
@@ -3,63 +3,63 @@
|
|
|
3
3
|
* such as Buffer, string, or Readable(Stream) depending on circumstances.
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
export type BlobSchema =
|
|
6
|
+
export type BlobSchema = 0b0001_0101;
|
|
7
7
|
/**
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
|
-
export type StreamingBlobSchema =
|
|
10
|
+
export type StreamingBlobSchema = 0b0010_1010;
|
|
11
11
|
/**
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
|
-
export type BooleanSchema =
|
|
14
|
+
export type BooleanSchema = 0b0000_0010;
|
|
15
15
|
/**
|
|
16
16
|
* Includes string and enum Smithy types.
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
|
-
export type StringSchema =
|
|
19
|
+
export type StringSchema = 0b0000_0000;
|
|
20
20
|
/**
|
|
21
21
|
* Includes all numeric Smithy types except bigInteger and bigDecimal.
|
|
22
22
|
* byte, short, integer, long, float, double, intEnum.
|
|
23
23
|
*
|
|
24
24
|
* @public
|
|
25
25
|
*/
|
|
26
|
-
export type NumericSchema =
|
|
26
|
+
export type NumericSchema = 0b0000_0001;
|
|
27
27
|
/**
|
|
28
28
|
* @public
|
|
29
29
|
*/
|
|
30
|
-
export type BigIntegerSchema =
|
|
30
|
+
export type BigIntegerSchema = 0b0001_0001;
|
|
31
31
|
/**
|
|
32
32
|
* @public
|
|
33
33
|
*/
|
|
34
|
-
export type BigDecimalSchema =
|
|
34
|
+
export type BigDecimalSchema = 0b0001_0011;
|
|
35
35
|
/**
|
|
36
36
|
* @public
|
|
37
37
|
*/
|
|
38
|
-
export type DocumentSchema =
|
|
38
|
+
export type DocumentSchema = 0b0000_1111;
|
|
39
39
|
/**
|
|
40
40
|
* Smithy type timestamp, in JS as native Date object.
|
|
41
41
|
* @public
|
|
42
42
|
*/
|
|
43
|
-
export type TimestampDefaultSchema =
|
|
43
|
+
export type TimestampDefaultSchema = 0b0000_0100;
|
|
44
44
|
/**
|
|
45
45
|
* @public
|
|
46
46
|
*/
|
|
47
|
-
export type TimestampDateTimeSchema =
|
|
47
|
+
export type TimestampDateTimeSchema = 0b0000_0101;
|
|
48
48
|
/**
|
|
49
49
|
* @public
|
|
50
50
|
*/
|
|
51
|
-
export type TimestampHttpDateSchema =
|
|
51
|
+
export type TimestampHttpDateSchema = 0b0000_0110;
|
|
52
52
|
/**
|
|
53
53
|
* @public
|
|
54
54
|
*/
|
|
55
|
-
export type TimestampEpochSecondsSchema =
|
|
55
|
+
export type TimestampEpochSecondsSchema = 0b0000_0111;
|
|
56
56
|
/**
|
|
57
57
|
* Additional bit indicating the type is a list.
|
|
58
58
|
* @public
|
|
59
59
|
*/
|
|
60
|
-
export type ListSchemaModifier =
|
|
60
|
+
export type ListSchemaModifier = 0b0100_0000;
|
|
61
61
|
/**
|
|
62
62
|
* Additional bit indicating the type is a map.
|
|
63
63
|
* @public
|
|
64
64
|
*/
|
|
65
|
-
export type MapSchemaModifier =
|
|
65
|
+
export type MapSchemaModifier = 0b1000_0000;
|
|
@@ -1,60 +1,50 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/types",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.17.2",
|
|
4
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/types",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "AWS Smithy Team",
|
|
8
|
+
"email": "",
|
|
9
|
+
"url": "https://smithy.io"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
|
14
|
+
"directory": "packages/types"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"types": "./dist-types/index.d.ts",
|
|
23
|
+
"typesVersions": {
|
|
24
|
+
"<=4.5": {
|
|
25
|
+
"dist-types/*": [
|
|
26
|
+
"dist-types/ts3.4/*"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
},
|
|
4
30
|
"scripts": {
|
|
5
31
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
6
|
-
"build:es:cjs": "
|
|
32
|
+
"build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
|
|
7
33
|
"build:types": "premove dist-types && yarn g:tsc -p tsconfig.types.json",
|
|
8
34
|
"build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4 && node scripts/downlevel",
|
|
9
35
|
"clean": "premove dist-cjs dist-es dist-types",
|
|
10
36
|
"extract:docs": "api-extractor run --local",
|
|
11
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
12
|
-
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
13
|
-
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
|
14
37
|
"test": "yarn g:tsc -p tsconfig.test.json"
|
|
15
38
|
},
|
|
16
|
-
"main": "./dist-cjs/index.js",
|
|
17
|
-
"module": "./dist-es/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"author": {
|
|
20
|
-
"name": "AWS Smithy Team",
|
|
21
|
-
"email": "",
|
|
22
|
-
"url": "https://smithy.io"
|
|
23
|
-
},
|
|
24
|
-
"license": "Apache-2.0",
|
|
25
|
-
"sideEffects": false,
|
|
26
39
|
"dependencies": {
|
|
27
40
|
"tslib": "^2.6.2"
|
|
28
41
|
},
|
|
29
42
|
"devDependencies": {
|
|
30
43
|
"concurrently": "7.0.0",
|
|
31
44
|
"downlevel-dts": "0.10.1",
|
|
32
|
-
"premove": "4.0.0"
|
|
33
|
-
"typedoc": "0.23.23"
|
|
45
|
+
"premove": "4.0.0"
|
|
34
46
|
},
|
|
35
47
|
"engines": {
|
|
36
48
|
"node": ">=18.0.0"
|
|
37
|
-
},
|
|
38
|
-
"typesVersions": {
|
|
39
|
-
"<=4.5": {
|
|
40
|
-
"dist-types/*": [
|
|
41
|
-
"dist-types/ts3.4/*"
|
|
42
|
-
]
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
"files": [
|
|
46
|
-
"dist-*/**"
|
|
47
|
-
],
|
|
48
|
-
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/types",
|
|
49
|
-
"repository": {
|
|
50
|
-
"type": "git",
|
|
51
|
-
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
|
52
|
-
"directory": "packages/types"
|
|
53
|
-
},
|
|
54
|
-
"typedoc": {
|
|
55
|
-
"entryPoint": "src/index.ts"
|
|
56
|
-
},
|
|
57
|
-
"publishConfig": {
|
|
58
|
-
"directory": ".release/package"
|
|
59
49
|
}
|
|
60
50
|
}
|
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
## 0.8.3
|
|
2
|
+
- Fix buffer over-read for Zip64 extra fields
|
|
3
|
+
- Support sync flushes (`Z_SYNC_FLUSH` in zlib)
|
|
4
|
+
- Allows for immediate decompression of all pushed bytes
|
|
5
|
+
- Enables DEFLATE stream concatenation
|
|
6
|
+
- Fix `zip`/`zipSync` when using cross-realm `Uint8Array`
|
|
7
|
+
- Improve Zip64 support for streamed or undersized archives
|
|
8
|
+
- Update performance estimates in README
|
|
9
|
+
- Fix typings for TypeScript v5.7+
|
|
10
|
+
- Reduce memory consumption after compression stream completion
|
|
11
|
+
## 0.8.2
|
|
12
|
+
- Fixed broken UMD build
|
|
13
|
+
- Fixed edge-case causing skipped data during streaming compression
|
|
14
|
+
- Fixed bug in GZIP streaming on member boundary
|
|
15
|
+
- Improved streaming performance on inconsistent chunk sizes
|
|
16
|
+
- Improved `unzip` performance on undercompressed archives
|
|
17
|
+
- Added flushing support into streaming API
|
|
18
|
+
- Added backpressure support into async streaming API
|
|
19
|
+
- Use new `ondrain` handler and `queuedSize`
|
|
20
|
+
## 0.8.1
|
|
21
|
+
- Fixed reallocating on pre-supplied buffer in `inflateSync` and `unzlibSync`
|
|
22
|
+
- Minor documentation fixes
|
|
1
23
|
## 0.8.0
|
|
2
24
|
- BREAKING: synchronous decompression functions now take an options object rather than an output buffer as a second parameter
|
|
3
25
|
- `inflateSync(compressed, outBuf)` is now `inflateSync(compressed, { out: outBuf })`
|
|
@@ -8,7 +8,7 @@ In addition to the base decompression and compression APIs, `fflate` supports hi
|
|
|
8
8
|
|
|
9
9
|
| | `pako` | `tiny-inflate` | `UZIP.js` | `fflate` |
|
|
10
10
|
|-----------------------------|--------|------------------------|-----------------------|--------------------------------|
|
|
11
|
-
| Decompression performance | 1x | Up to 40% slower | **Up to
|
|
11
|
+
| Decompression performance | 1x | Up to 40% slower | **Up to 25% faster** | **Up to 25% faster** |
|
|
12
12
|
| Compression performance | 1x | N/A | Up to 25% faster | **Up to 50% faster** |
|
|
13
13
|
| Base bundle size (minified) | 45.6kB | **3kB (inflate only)** | 14.2kB | 8kB **(3kB for inflate only)** |
|
|
14
14
|
| Decompression support | ✅ | ✅ | ✅ | ✅ |
|
|
@@ -58,15 +58,15 @@ You should use either UNPKG or jsDelivr (i.e. only one of the following)
|
|
|
58
58
|
|
|
59
59
|
Note that tree shaking is completely unsupported from the CDN. If you want
|
|
60
60
|
a small build without build tools, please ask me and I will make one manually
|
|
61
|
-
with only the features you need. This build is about
|
|
61
|
+
with only the features you need. This build is about 33kB, or 12.5kB gzipped.
|
|
62
62
|
-->
|
|
63
|
-
<script src="https://unpkg.com/fflate@0.8.
|
|
64
|
-
<script src="https://cdn.jsdelivr.net/npm/fflate@0.8.
|
|
63
|
+
<script src="https://unpkg.com/fflate@0.8.3"></script>
|
|
64
|
+
<script src="https://cdn.jsdelivr.net/npm/fflate@0.8.3/umd/index.js"></script>
|
|
65
65
|
<!-- Now, the global variable fflate contains the library -->
|
|
66
66
|
|
|
67
67
|
<!-- If you're going buildless but want ESM, import from Skypack -->
|
|
68
68
|
<script type="module">
|
|
69
|
-
import * as fflate from 'https://cdn.skypack.dev/fflate@0.8.
|
|
69
|
+
import * as fflate from 'https://cdn.skypack.dev/fflate@0.8.3?min';
|
|
70
70
|
</script>
|
|
71
71
|
```
|
|
72
72
|
|
|
@@ -75,8 +75,8 @@ If you are using Deno:
|
|
|
75
75
|
// Don't use the ?dts Skypack flag; it isn't necessary for Deno support
|
|
76
76
|
// The @deno-types comment adds TypeScript typings
|
|
77
77
|
|
|
78
|
-
// @deno-types="https://cdn.skypack.dev/fflate@0.8.
|
|
79
|
-
import * as fflate from 'https://cdn.skypack.dev/fflate@0.8.
|
|
78
|
+
// @deno-types="https://cdn.skypack.dev/fflate@0.8.3/lib/index.d.ts"
|
|
79
|
+
import * as fflate from 'https://cdn.skypack.dev/fflate@0.8.3?min';
|
|
80
80
|
```
|
|
81
81
|
|
|
82
82
|
|
|
@@ -376,9 +376,9 @@ unzipper.push(zipChunk2);
|
|
|
376
376
|
unzipper.push(zipChunk3, true);
|
|
377
377
|
```
|
|
378
378
|
|
|
379
|
-
As you may have guessed, there is an asynchronous version of every method as well. Unlike most libraries, this will cause the compression or decompression run in a separate thread entirely and automatically by using Web (or Node) Workers
|
|
379
|
+
As you may have guessed, there is an asynchronous version of every method as well. Unlike most libraries, this will cause the compression or decompression run in a separate thread entirely and automatically by using Web (or Node) Workers. This means that the processing will not block the main thread at all.
|
|
380
380
|
|
|
381
|
-
Note that there is a significant initial overhead to using workers of about
|
|
381
|
+
Note that there is a significant initial overhead to using workers of about 50ms for each asynchronous function. For instance, if you call `unzip` ten times, the overhead only applies for the first call, but if you call `unzip` and `zlib`, they will each cause the 50ms delay. For small (under about 50kB) payloads, the asynchronous APIs will be much slower. However, if you're compressing larger files/multiple files at once, or if the synchronous API causes the main thread to hang for too long, the callback APIs are an order of magnitude better.
|
|
382
382
|
```js
|
|
383
383
|
import {
|
|
384
384
|
gzip, zlib, AsyncGzip, zip, unzip, strFromU8,
|
|
@@ -386,9 +386,6 @@ import {
|
|
|
386
386
|
} from 'fflate';
|
|
387
387
|
|
|
388
388
|
// Workers will work in almost any browser (even IE11!)
|
|
389
|
-
// However, they fail below Node v12 without the --experimental-worker
|
|
390
|
-
// CLI flag, and will fail entirely on Node below v10.
|
|
391
|
-
|
|
392
389
|
// All of the async APIs use a node-style callback as so:
|
|
393
390
|
const terminate = gzip(aMassiveFile, (err, data) => {
|
|
394
391
|
if (err) {
|
|
@@ -507,7 +504,7 @@ See the [documentation](https://github.com/101arrowz/fflate/blob/master/docs/REA
|
|
|
507
504
|
|
|
508
505
|
The bundle size measurements for `fflate` on sites like Bundlephobia include every feature of the library and should be seen as an upper bound. As long as you are using tree shaking or dead code elimination, this table should give you a general idea of `fflate`'s bundle size for the features you need.
|
|
509
506
|
|
|
510
|
-
The maximum bundle size that is possible with `fflate` is about
|
|
507
|
+
The maximum bundle size that is possible with `fflate` is about 33kB (12.5kB gzipped) if you use every single feature, but feature parity with `pako` is only around 10kB (as opposed to 45kB from `pako`). If your bundle size increases dramatically after adding `fflate`, please [create an issue](https://github.com/101arrowz/fflate/issues/new).
|
|
511
508
|
|
|
512
509
|
| Feature | Bundle size (minified) | Nearest competitor |
|
|
513
510
|
|-------------------------|--------------------------------|-------------------------|
|
|
@@ -527,18 +524,18 @@ Many JavaScript compression/decompression libraries exist. However, the most pop
|
|
|
527
524
|
|
|
528
525
|
Note that there exist some small libraries like [`tiny-inflate`](https://npmjs.com/package/tiny-inflate) for solely decompression, and with a minified size of 3 kB, it can be appealing; however, its performance is lackluster, typically 40% worse than `pako` in my tests.
|
|
529
526
|
|
|
530
|
-
[`UZIP.js`](https://github.com/photopea/UZIP.js) is both faster (by up to
|
|
527
|
+
[`UZIP.js`](https://github.com/photopea/UZIP.js) is both faster (by up to 25%) and smaller (14 kB minified) than `pako`, and it contains a variety of innovations that make it excellent for both performance and compression ratio. However, the developer made a variety of tiny mistakes and inefficient design choices that make it imperfect. Moreover, it does not support GZIP or Zlib data directly; one must remove the headers manually to use `UZIP.js`.
|
|
531
528
|
|
|
532
|
-
So what makes `fflate` different? It takes the brilliant innovations of `UZIP.js` and optimizes them while adding direct support for GZIP and Zlib data. And unlike all of the above libraries, it uses ES Modules to allow for partial builds through tree shaking, meaning that it can rival even `tiny-inflate` in size while maintaining excellent performance. The end result is a library that, in total, weighs 8kB minified for the core build (3kB for decompression only and 5kB for compression only), is about
|
|
529
|
+
So what makes `fflate` different? It takes the brilliant innovations of `UZIP.js` and optimizes them while adding direct support for GZIP and Zlib data. And unlike all of the above libraries, it uses ES Modules to allow for partial builds through tree shaking, meaning that it can rival even `tiny-inflate` in size while maintaining excellent performance. The end result is a library that, in total, weighs 8kB minified for the core build (3kB for decompression only and 5kB for compression only), is about 25% faster than `UZIP.js` or up to 50% faster than `pako`, and achieves the same or better compression ratio than the rest.
|
|
533
530
|
|
|
534
531
|
Before you decide that `fflate` is the end-all compression library, you should note that JavaScript simply cannot rival the performance of a native program. If you're only using Node.js, it's probably better to use the [native Zlib bindings](https://nodejs.org/api/zlib.html), which tend to offer the best performance. Though note that even against Zlib, `fflate` is only around 30% slower in decompression and 10% slower in compression, and can still achieve better compression ratios!
|
|
535
532
|
|
|
536
533
|
## What about `CompressionStream`?
|
|
537
534
|
Like `fflate`, the [Compression Streams API](https://developer.mozilla.org/en-US/docs/Web/API/Compression_Streams_API) provides DEFLATE, GZIP, and Zlib compression and decompression support. It's a good option if you'd like to compress or decompress data without installing any third-party libraries, and it wraps native Zlib bindings to achieve better performance than what most JavaScript programs can achieve.
|
|
538
535
|
|
|
539
|
-
However, browsers do not offer any native non-streaming compression API, and `CompressionStream` has surprisingly poor performance on data already loaded into memory; `fflate` tends to be faster even for files that are dozens of megabytes large. Similarly, `fflate` is much faster for files under a megabyte because it avoids marshalling overheads. Even when streaming hundreds of megabytes of data, the native API usually
|
|
536
|
+
However, browsers do not offer any native non-streaming compression API, and `CompressionStream` has surprisingly poor performance on data already loaded into memory; `fflate` tends to be faster even for files that are dozens of megabytes large. Similarly, `fflate` is much faster for files under a megabyte because it avoids marshalling overheads. Even when streaming hundreds of megabytes of data, the native API usually performs between 30% faster and 10% slower than `fflate`. And Compression Streams have many other disadvantages - no ability to control compression level, poor support for older browsers, no ZIP support, etc.
|
|
540
537
|
|
|
541
|
-
If you'd still prefer to depend upon a native browser API, you can use an `fflate`-based [Compression Streams ponyfill](https://github.com/101arrowz/compression-streams-polyfill)
|
|
538
|
+
If you'd still prefer to depend upon a native browser API but want to support older browsers, you can use an `fflate`-based [Compression Streams ponyfill](https://github.com/101arrowz/compression-streams-polyfill).
|
|
542
539
|
|
|
543
540
|
## Browser support
|
|
544
541
|
`fflate` makes heavy use of typed arrays (`Uint8Array`, `Uint16Array`, etc.). Typed arrays can be polyfilled at the cost of performance, but the most recent browser that doesn't support them [is from 2011](https://caniuse.com/typedarrays), so I wouldn't bother.
|