@cdklabs/cdk-ssm-documents 0.0.63 → 0.0.65

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.
Files changed (883) hide show
  1. package/.jsii +12 -12
  2. package/lib/construct/synth-utils.js +1 -1
  3. package/lib/document/automation-document.js +1 -1
  4. package/lib/document/command-document.js +1 -1
  5. package/lib/document/document-builder.js +2 -2
  6. package/lib/document/ssm-document.js +1 -1
  7. package/lib/domain/aws-service.js +1 -1
  8. package/lib/domain/choice.js +1 -1
  9. package/lib/domain/data-type.js +1 -1
  10. package/lib/domain/enum/install-action.js +2 -2
  11. package/lib/domain/enum/install-uninstall-repair.js +2 -2
  12. package/lib/domain/enum/installation-type.js +2 -2
  13. package/lib/domain/enum/package-name.js +2 -2
  14. package/lib/domain/input.js +1 -1
  15. package/lib/domain/operation.js +1 -1
  16. package/lib/domain/platform.js +1 -1
  17. package/lib/domain/precondition.js +1 -1
  18. package/lib/incident-response/incident-response.js +3 -3
  19. package/lib/interface/approve-hook.js +2 -2
  20. package/lib/interface/auth-method.js +3 -3
  21. package/lib/interface/aws-invoker.js +2 -2
  22. package/lib/interface/downloadable-content.js +8 -8
  23. package/lib/interface/environment.js +3 -3
  24. package/lib/interface/execute-automation-hook/api-execute-automation-hook.js +1 -1
  25. package/lib/interface/observer.js +1 -1
  26. package/lib/interface/on-failure.js +6 -6
  27. package/lib/interface/pause-hook.js +2 -2
  28. package/lib/interface/run-command-hook/api-run-command-hook.js +1 -1
  29. package/lib/interface/run-document-location.js +2 -2
  30. package/lib/interface/sleep-hook.js +2 -2
  31. package/lib/interface/step-ref.js +1 -1
  32. package/lib/interface/variables/boolean-variable.js +2 -2
  33. package/lib/interface/variables/map-list-variable.js +2 -2
  34. package/lib/interface/variables/number-variable.js +2 -2
  35. package/lib/interface/variables/secure-string-variable.js +4 -4
  36. package/lib/interface/variables/string-list-variable.js +2 -2
  37. package/lib/interface/variables/string-map-variable.js +2 -2
  38. package/lib/interface/variables/string-variable.js +4 -4
  39. package/lib/interface/variables/variable.js +2 -2
  40. package/lib/interface/webhook.js +1 -1
  41. package/lib/parent-steps/automation/approve-step.js +1 -1
  42. package/lib/parent-steps/automation/assert-aws-resource-step.js +1 -1
  43. package/lib/parent-steps/automation/aws-api-step.js +1 -1
  44. package/lib/parent-steps/automation/branch-step.js +1 -1
  45. package/lib/parent-steps/automation/change-instance-state-step.js +3 -3
  46. package/lib/parent-steps/automation/copy-image-step.js +1 -1
  47. package/lib/parent-steps/automation/create-image-step.js +1 -1
  48. package/lib/parent-steps/automation/create-stack-step.js +3 -3
  49. package/lib/parent-steps/automation/create-tags-step.js +3 -3
  50. package/lib/parent-steps/automation/delete-image-step.js +1 -1
  51. package/lib/parent-steps/automation/delete-stack-step.js +1 -1
  52. package/lib/parent-steps/automation/execute-automation-step.js +1 -1
  53. package/lib/parent-steps/automation/execute-script-step.js +5 -5
  54. package/lib/parent-steps/automation/execute-state-machine-step.js +1 -1
  55. package/lib/parent-steps/automation/invoke-lambda-function-step.js +1 -1
  56. package/lib/parent-steps/automation/invoke-webhook-step.js +1 -1
  57. package/lib/parent-steps/automation/pause-step.js +1 -1
  58. package/lib/parent-steps/automation/run-command-step.js +3 -3
  59. package/lib/parent-steps/automation/run-instance-step.js +1 -1
  60. package/lib/parent-steps/automation/sleep-step.js +1 -1
  61. package/lib/parent-steps/automation/update-variable.js +1 -1
  62. package/lib/parent-steps/automation/wait-for-resource-step.js +1 -1
  63. package/lib/parent-steps/automation-step.js +1 -1
  64. package/lib/parent-steps/command/applications-step.js +1 -1
  65. package/lib/parent-steps/command/configure-docker-step.js +1 -1
  66. package/lib/parent-steps/command/configure-package-step.js +1 -1
  67. package/lib/parent-steps/command/domain-join-step.js +1 -1
  68. package/lib/parent-steps/command/download-content-step.js +1 -1
  69. package/lib/parent-steps/command/ps-module-step.js +1 -1
  70. package/lib/parent-steps/command/run-docker-action-step.js +1 -1
  71. package/lib/parent-steps/command/run-document-step.js +1 -1
  72. package/lib/parent-steps/command/run-powershell-script-step.js +1 -1
  73. package/lib/parent-steps/command/run-shell-script-step.js +1 -1
  74. package/lib/parent-steps/command/software-inventory-step.js +1 -1
  75. package/lib/parent-steps/command/update-agent-step.js +1 -1
  76. package/lib/parent-steps/command/update-ssm-agent-step.js +1 -1
  77. package/lib/parent-steps/command-step.js +1 -1
  78. package/lib/parent-steps/step.js +1 -1
  79. package/lib/patterns/automation/composite-step.js +2 -2
  80. package/lib/patterns/automation/reboot-instance-and-wait.js +1 -1
  81. package/lib/patterns/automation/string-step.js +1 -1
  82. package/lib/patterns/document/string-document.js +1 -1
  83. package/lib/patterns/document/timed-document.js +1 -1
  84. package/lib/samples/hello-world.js +1 -1
  85. package/lib/simulation/automation/approve-simulation.js +1 -1
  86. package/lib/simulation/automation/assert-aws-resource-simulation.js +1 -1
  87. package/lib/simulation/automation/automation-simulation-base.js +1 -1
  88. package/lib/simulation/automation/aws-api-simulation.js +1 -1
  89. package/lib/simulation/automation/branch-simulation.js +1 -1
  90. package/lib/simulation/automation/change-instance-state-simulation.js +1 -1
  91. package/lib/simulation/automation/copy-image-simulation.js +1 -1
  92. package/lib/simulation/automation/create-image-simulation.js +1 -1
  93. package/lib/simulation/automation/create-stack-simulation.js +1 -1
  94. package/lib/simulation/automation/create-tags-simulation.js +1 -1
  95. package/lib/simulation/automation/delete-image-simulation.js +1 -1
  96. package/lib/simulation/automation/delete-stack-simulation.js +1 -1
  97. package/lib/simulation/automation/execute-script-simulation.js +1 -1
  98. package/lib/simulation/automation/execute-state-machine-simulation.js +1 -1
  99. package/lib/simulation/automation/invoke-lambda-function-simulation.js +1 -1
  100. package/lib/simulation/automation/invoke-webhook-simulation.js +1 -1
  101. package/lib/simulation/automation/pause-simulation.js +1 -1
  102. package/lib/simulation/automation/run-command-simulation.js +1 -1
  103. package/lib/simulation/automation/run-instance-simulation.js +1 -1
  104. package/lib/simulation/automation/sleep-simulation.js +1 -1
  105. package/lib/simulation/automation/update-variable-simulation.js +1 -1
  106. package/lib/simulation/automation/wait-for-resource-simulation.js +1 -1
  107. package/lib/simulation/automation-step-simulation.js +1 -1
  108. package/lib/simulation/command/command-simulation-base.js +1 -1
  109. package/lib/simulation/command/ps-module-simulation.js +1 -1
  110. package/lib/simulation/command/run-powershell-script-simulation.js +1 -1
  111. package/lib/simulation/command/run-shell-script-simulation.js +1 -1
  112. package/lib/simulation/command-step-simulation.js +1 -1
  113. package/lib/simulation/document/automation-simulation.js +1 -1
  114. package/lib/simulation/document/command-simulation.js +1 -1
  115. package/lib/simulation/simulation.js +1 -1
  116. package/node_modules/@aws-sdk/{middleware-ssec → checksums}/LICENSE +1 -1
  117. package/node_modules/@aws-sdk/checksums/README.md +6 -0
  118. package/node_modules/@aws-sdk/checksums/dist-cjs/index.js +547 -0
  119. package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/selectChecksumAlgorithmFunction.js +2 -1
  120. package/node_modules/@aws-sdk/checksums/dist-es/index.js +8 -0
  121. package/node_modules/@aws-sdk/checksums/dist-types/index.d.ts +11 -0
  122. package/node_modules/@aws-sdk/checksums/dist-types/ts3.4/index.d.ts +33 -0
  123. package/node_modules/@aws-sdk/{middleware-ssec → checksums}/package.json +33 -17
  124. package/node_modules/@aws-sdk/client-cloudformation/README.md +1 -1
  125. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +1 -1
  126. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +1 -1
  127. package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
  128. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +1 -1
  129. package/node_modules/@aws-sdk/client-cloudformation/package.json +10 -10
  130. package/node_modules/@aws-sdk/client-cloudwatch/README.md +21 -0
  131. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js +42 -0
  132. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/models/errors.js +75 -30
  133. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/schemas/schemas_0.js +77 -4
  134. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/CloudWatch.js +6 -0
  135. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/AssociateDatasetKmsKeyCommand.js +16 -0
  136. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/DisassociateDatasetKmsKeyCommand.js +16 -0
  137. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/GetDatasetCommand.js +16 -0
  138. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/commands/index.js +3 -0
  139. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/models/errors.js +68 -26
  140. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/schemas/schemas_0.js +73 -1
  141. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/CloudWatch.d.ts +21 -0
  142. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/CloudWatchClient.d.ts +5 -2
  143. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/AssociateDatasetKmsKeyCommand.d.ts +161 -0
  144. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DisassociateDatasetKmsKeyCommand.d.ts +105 -0
  145. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/GetDatasetCommand.d.ts +91 -0
  146. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/index.d.ts +3 -0
  147. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/models/errors.d.ts +74 -23
  148. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/models/models_0.d.ts +90 -0
  149. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/schemas/schemas_0.d.ts +12 -0
  150. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/CloudWatch.d.ts +51 -0
  151. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/CloudWatchClient.d.ts +18 -0
  152. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/AssociateDatasetKmsKeyCommand.d.ts +53 -0
  153. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/DisassociateDatasetKmsKeyCommand.d.ts +53 -0
  154. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/GetDatasetCommand.d.ts +49 -0
  155. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/commands/index.d.ts +3 -0
  156. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/models/errors.d.ts +40 -16
  157. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/models/models_0.d.ts +17 -0
  158. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/schemas/schemas_0.d.ts +12 -0
  159. package/node_modules/@aws-sdk/client-cloudwatch/package.json +16 -16
  160. package/node_modules/@aws-sdk/client-ec2/README.md +28 -0
  161. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +75 -0
  162. package/node_modules/@aws-sdk/client-ec2/dist-cjs/schemas/schemas_0.js +280 -82
  163. package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +8 -0
  164. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/AttachImageWatermarkCommand.js +16 -0
  165. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/CreateCapacityReservationCancellationQuoteCommand.js +16 -0
  166. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DescribeCapacityReservationCancellationQuotesCommand.js +16 -0
  167. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/DetachImageWatermarkCommand.js +16 -0
  168. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +4 -0
  169. package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +16 -0
  170. package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +218 -21
  171. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +29 -0
  172. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +6 -2
  173. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  174. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  175. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  176. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AllocateIpamPoolCidrCommand.d.ts +1 -1
  177. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  178. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AttachImageWatermarkCommand.d.ts +84 -0
  179. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  180. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  181. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CancelCapacityReservationCommand.d.ts +16 -2
  182. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyImageCommand.d.ts +1 -1
  183. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  184. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CopyVolumesCommand.d.ts +1 -1
  185. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityManagerDataExportCommand.d.ts +1 -1
  186. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +5 -5
  187. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationCancellationQuoteCommand.d.ts +117 -0
  188. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationCommand.d.ts +3 -3
  189. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +2 -2
  190. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  191. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  192. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  193. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  194. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDefaultSubnetCommand.d.ts +2 -1
  195. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDefaultVpcCommand.d.ts +1 -1
  196. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  197. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  198. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  199. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  200. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFlowLogsCommand.d.ts +9 -1
  201. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  202. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageCommand.d.ts +1 -1
  203. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageUsageReportCommand.d.ts +1 -1
  204. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  205. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  206. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  207. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  208. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateInterruptibleCapacityReservationAllocationCommand.d.ts +1 -1
  209. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  210. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  211. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPolicyCommand.d.ts +1 -1
  212. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  213. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPrefixListResolverCommand.d.ts +1 -1
  214. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamPrefixListResolverTargetCommand.d.ts +1 -1
  215. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  216. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  217. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  218. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  219. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  220. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  221. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  222. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  223. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  224. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  225. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
  226. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  227. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  228. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  229. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  230. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  231. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  232. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  233. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  234. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  235. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  236. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
  237. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
  238. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteServerPeerCommand.d.ts +3 -2
  239. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateRouteTableCommand.d.ts +2 -2
  240. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecondaryNetworkCommand.d.ts +1 -1
  241. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecondarySubnetCommand.d.ts +1 -1
  242. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  243. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  244. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  245. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  246. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  247. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  248. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  249. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  250. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  251. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  252. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  253. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  254. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayMeteringPolicyCommand.d.ts +1 -1
  255. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  256. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  257. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  258. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  259. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  260. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  261. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  262. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  263. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  264. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  265. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  266. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
  267. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  268. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEncryptionControlCommand.d.ts +1 -1
  269. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  270. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  271. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  272. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnConcentratorCommand.d.ts +1 -1
  273. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  274. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  275. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -1
  276. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteSnapshotCommand.d.ts +1 -1
  277. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteSpotDatafeedSubscriptionCommand.d.ts +1 -1
  278. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteSubnetCidrReservationCommand.d.ts +1 -1
  279. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteSubnetCommand.d.ts +1 -1
  280. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
  281. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTrafficMirrorFilterCommand.d.ts +1 -2
  282. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityReservationCancellationQuotesCommand.d.ts +119 -0
  283. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -2
  284. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeFlowLogsCommand.d.ts +8 -0
  285. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeImagesCommand.d.ts +9 -0
  286. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeImportSnapshotTasksCommand.d.ts +1 -1
  287. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
  288. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceConnectEndpointsCommand.d.ts +1 -1
  289. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +9 -0
  290. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  291. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  292. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -1
  293. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -1
  294. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -1
  295. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
  296. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeSubnetsCommand.d.ts +1 -2
  297. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  298. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeVolumesModificationsCommand.d.ts +0 -5
  299. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DetachImageWatermarkCommand.d.ts +82 -0
  300. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ExportImageCommand.d.ts +1 -1
  301. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerAttributesCommand.d.ts +1 -1
  302. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +1 -1
  303. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +1 -1
  304. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMonitoredTagKeysCommand.d.ts +1 -2
  305. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  306. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  307. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportImageCommand.d.ts +1 -1
  308. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  309. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  310. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyIpamScopeCommand.d.ts +2 -1
  311. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  312. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
  313. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
  314. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyManagedResourceVisibilityCommand.d.ts +1 -1
  315. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
  316. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +1 -1
  317. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyVolumeCommand.d.ts +0 -5
  318. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +4 -4
  319. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  320. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +3 -3
  321. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  322. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  323. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  324. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  325. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  326. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  327. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  328. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  329. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +4 -0
  330. package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +40 -0
  331. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +196 -207
  332. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +237 -356
  333. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +354 -140
  334. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +249 -434
  335. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +2348 -2496
  336. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +907 -861
  337. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +580 -384
  338. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +385 -7
  339. package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +18 -0
  340. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +81 -0
  341. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +24 -0
  342. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/AttachImageWatermarkCommand.d.ts +53 -0
  343. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateCapacityReservationCancellationQuoteCommand.d.ts +53 -0
  344. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateDefaultSubnetCommand.d.ts +2 -4
  345. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateDefaultVpcCommand.d.ts +1 -1
  346. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateRouteServerPeerCommand.d.ts +2 -4
  347. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateRouteTableCommand.d.ts +1 -1
  348. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSecurityGroupCommand.d.ts +2 -4
  349. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +1 -1
  350. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSpotDatafeedSubscriptionCommand.d.ts +1 -1
  351. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSubnetCidrReservationCommand.d.ts +1 -1
  352. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteSubnetCommand.d.ts +1 -1
  353. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTagsCommand.d.ts +1 -1
  354. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteTrafficMirrorFilterCommand.d.ts +4 -2
  355. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeCapacityReservationCancellationQuotesCommand.d.ts +53 -0
  356. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeImportSnapshotTasksCommand.d.ts +1 -1
  357. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +1 -1
  358. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeInstanceConnectEndpointsCommand.d.ts +1 -1
  359. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSpotInstanceRequestsCommand.d.ts +2 -4
  360. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSpotPriceHistoryCommand.d.ts +1 -1
  361. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -1
  362. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
  363. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeSubnetsCommand.d.ts +4 -2
  364. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DetachImageWatermarkCommand.d.ts +53 -0
  365. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerAttributesCommand.d.ts +1 -1
  366. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerMetricDataCommand.d.ts +1 -1
  367. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +1 -1
  368. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerMonitoredTagKeysCommand.d.ts +4 -2
  369. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyIpamScopeCommand.d.ts +2 -4
  370. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyLaunchTemplateCommand.d.ts +1 -1
  371. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyLocalGatewayRouteCommand.d.ts +1 -1
  372. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyManagedPrefixListCommand.d.ts +1 -1
  373. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyManagedResourceVisibilityCommand.d.ts +1 -1
  374. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyNetworkInterfaceAttributeCommand.d.ts +1 -1
  375. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyPrivateDnsNameOptionsCommand.d.ts +1 -1
  376. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +4 -0
  377. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +22 -0
  378. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_0.d.ts +45 -52
  379. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_1.d.ts +60 -74
  380. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_2.d.ts +79 -34
  381. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +61 -90
  382. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +92 -87
  383. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +98 -110
  384. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +109 -92
  385. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +89 -3
  386. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +18 -0
  387. package/node_modules/@aws-sdk/client-ec2/package.json +16 -14
  388. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +18 -3
  389. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +17 -2
  390. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +5 -2
  391. package/node_modules/@aws-sdk/client-iam/package.json +15 -15
  392. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +5 -0
  393. package/node_modules/@aws-sdk/client-lambda/dist-cjs/schemas/schemas_0.js +20 -13
  394. package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +4 -0
  395. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +16 -9
  396. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateCapacityProviderCommand.d.ts +12 -0
  397. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteCapacityProviderCommand.d.ts +6 -0
  398. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetCapacityProviderCommand.d.ts +6 -0
  399. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
  400. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListCapacityProvidersCommand.d.ts +6 -0
  401. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateCapacityProviderCommand.d.ts +12 -0
  402. package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +18 -0
  403. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +32 -1
  404. package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +1 -0
  405. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +6 -0
  406. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +8 -0
  407. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  408. package/node_modules/@aws-sdk/client-lambda/package.json +11 -11
  409. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +85 -88
  410. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +3 -4
  411. package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +2 -2
  412. package/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +1 -2
  413. package/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +1 -1
  414. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +1 -2
  415. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +1 -2
  416. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +1 -2
  417. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +1 -2
  418. package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +1 -1
  419. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +1 -1
  420. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +1 -1
  421. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +1 -1
  422. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAbacCommand.js +1 -1
  423. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +1 -1
  424. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +1 -1
  425. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +1 -1
  426. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +1 -1
  427. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +1 -1
  428. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +1 -1
  429. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +1 -1
  430. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +1 -1
  431. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +1 -1
  432. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +1 -1
  433. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataConfigurationCommand.js +1 -1
  434. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +1 -1
  435. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +1 -1
  436. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +1 -1
  437. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +1 -1
  438. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +1 -1
  439. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +1 -1
  440. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +1 -1
  441. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +1 -1
  442. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +1 -1
  443. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +1 -1
  444. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +1 -1
  445. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +1 -2
  446. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +1 -2
  447. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +1 -1
  448. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +1 -1
  449. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +1 -1
  450. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +1 -1
  451. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +1 -1
  452. package/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +1 -1
  453. package/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +1 -2
  454. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +1 -1
  455. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +1 -1
  456. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +1 -1
  457. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +1 -1
  458. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +1 -1
  459. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +1 -1
  460. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +1 -1
  461. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +1 -1
  462. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +1 -1
  463. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +1 -1
  464. package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +1 -2
  465. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +1 -1
  466. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +1 -1
  467. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +1 -2
  468. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +1 -1
  469. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +1 -1
  470. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +1 -1
  471. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +1 -1
  472. package/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js +1 -1
  473. package/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +1 -1
  474. package/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +1 -1
  475. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateObjectEncryptionCommand.js +1 -1
  476. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +1 -2
  477. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +1 -2
  478. package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +1 -2
  479. package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +1 -1
  480. package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +1 -1
  481. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +4 -4
  482. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +2 -2
  483. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +4 -4
  484. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +1 -1
  485. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +1 -1
  486. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +6 -6
  487. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  488. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -6
  489. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  490. package/node_modules/@aws-sdk/client-s3/package.json +15 -19
  491. package/node_modules/@aws-sdk/client-sns/dist-types/commands/ConfirmSubscriptionCommand.d.ts +1 -1
  492. package/node_modules/@aws-sdk/client-sns/dist-types/commands/SetSubscriptionAttributesCommand.d.ts +1 -1
  493. package/node_modules/@aws-sdk/client-sns/dist-types/commands/SubscribeCommand.d.ts +1 -1
  494. package/node_modules/@aws-sdk/client-sns/dist-types/models/errors.d.ts +1 -1
  495. package/node_modules/@aws-sdk/client-sns/package.json +10 -10
  496. package/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js +1 -1
  497. package/node_modules/@aws-sdk/client-sqs/dist-es/commands/ReceiveMessageCommand.js +1 -1
  498. package/node_modules/@aws-sdk/client-sqs/package.json +12 -12
  499. package/node_modules/@aws-sdk/client-ssm/package.json +10 -10
  500. package/node_modules/@aws-sdk/core/dist-cjs/index.js +47 -2291
  501. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +12 -6
  502. package/node_modules/@aws-sdk/core/dist-es/index.js +3 -3
  503. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -0
  504. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +11 -6
  505. package/node_modules/@aws-sdk/core/dist-types/index.d.ts +5 -5
  506. package/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +5 -5
  507. package/node_modules/@aws-sdk/core/package.json +12 -12
  508. package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -7
  509. package/node_modules/@aws-sdk/credential-provider-http/package.json +11 -10
  510. package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -15
  511. package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
  512. package/node_modules/@aws-sdk/credential-provider-node/package.json +13 -13
  513. package/node_modules/@aws-sdk/credential-provider-process/package.json +7 -7
  514. package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +4 -1
  515. package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +4 -1
  516. package/node_modules/@aws-sdk/credential-provider-sso/package.json +12 -10
  517. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -8
  518. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +21 -447
  519. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/index.js +1 -6
  520. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/index.d.ts +2 -6
  521. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +5 -36
  522. package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +8 -8
  523. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.browser.js +34 -0
  524. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +57 -53
  525. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.browser.js +1028 -0
  526. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3/index.js +1042 -0
  527. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/submodules/s3-control/index.js +215 -0
  528. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.browser.js +1 -0
  529. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js +1 -9
  530. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/index.browser.js +30 -0
  531. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3/index.js +25 -0
  532. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3Configuration.js → submodules/s3/middleware-s3-configuration/s3Configuration.js} +1 -1
  533. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{throw-200-exceptions.js → submodules/s3/middleware-throw-200-exceptions/throw-200-exceptions.js} +1 -1
  534. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{validate-bucket-name.js → submodules/s3/middleware-validate-bucket-name/validate-bucket-name.js} +1 -1
  535. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/configurations.js +7 -0
  536. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/constants.js +5 -0
  537. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/index.js +7 -0
  538. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-host-prefix-deduplication/hostPrefixDeduplicationMiddleware.js +17 -0
  539. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-process-arnables/getOutpostEndpoint.js +18 -0
  540. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-process-arnables/getProcessArnablesPlugin.js +8 -0
  541. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-process-arnables/parse-outpost-arnables.js +94 -0
  542. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-process-arnables/update-arnables-request.js +31 -0
  543. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/submodules/s3-control/middleware-redirect-from-postid/redirect-from-postid.js +26 -0
  544. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.browser.d.ts +2 -0
  545. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.d.ts +2 -9
  546. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/index.browser.d.ts +36 -0
  547. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3/index.d.ts +32 -0
  548. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3Configuration.d.ts → submodules/s3/middleware-s3-configuration/s3Configuration.d.ts} +1 -1
  549. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{validate-bucket-name.d.ts → submodules/s3/middleware-validate-bucket-name/validate-bucket-name.d.ts} +1 -1
  550. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/configurations.d.ts +47 -0
  551. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/constants.d.ts +5 -0
  552. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/index.d.ts +9 -0
  553. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-host-prefix-deduplication/hostPrefixDeduplicationMiddleware.d.ts +17 -0
  554. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-process-arnables/getOutpostEndpoint.d.ts +6 -0
  555. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-process-arnables/getProcessArnablesPlugin.d.ts +3 -0
  556. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-process-arnables/parse-outpost-arnables.d.ts +27 -0
  557. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-process-arnables/update-arnables-request.d.ts +19 -0
  558. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/submodules/s3-control/middleware-redirect-from-postid/redirect-from-postid.d.ts +17 -0
  559. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.browser.d.ts +39 -0
  560. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.d.ts +39 -9
  561. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/index.browser.d.ts +103 -0
  562. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3/index.d.ts +107 -0
  563. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3Configuration.d.ts → submodules/s3/middleware-s3-configuration/s3Configuration.d.ts} +1 -1
  564. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{validate-bucket-name.d.ts → submodules/s3/middleware-validate-bucket-name/validate-bucket-name.d.ts} +1 -1
  565. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/configurations.d.ts +23 -0
  566. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/constants.d.ts +5 -0
  567. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/index.d.ts +26 -0
  568. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-host-prefix-deduplication/hostPrefixDeduplicationMiddleware.d.ts +13 -0
  569. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/getOutpostEndpoint.d.ts +13 -0
  570. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/getProcessArnablesPlugin.d.ts +5 -0
  571. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/parse-outpost-arnables.d.ts +12 -0
  572. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-process-arnables/update-arnables-request.d.ts +13 -0
  573. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/submodules/s3-control/middleware-redirect-from-postid/redirect-from-postid.d.ts +22 -0
  574. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +66 -15
  575. package/node_modules/@aws-sdk/middleware-sdk-s3/s3-control.d.ts +7 -0
  576. package/node_modules/@aws-sdk/middleware-sdk-s3/s3-control.js +5 -0
  577. package/node_modules/@aws-sdk/middleware-sdk-s3/s3.d.ts +7 -0
  578. package/node_modules/@aws-sdk/middleware-sdk-s3/s3.js +5 -0
  579. package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +7 -7
  580. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +99 -106
  581. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +62 -120
  582. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +55 -86
  583. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +73 -104
  584. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +102 -185
  585. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +4 -5
  586. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +21 -57
  587. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +1 -2
  588. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -4
  589. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +73 -41
  590. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +4 -5
  591. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +20 -52
  592. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +1 -2
  593. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -4
  594. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +36 -59
  595. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +4 -5
  596. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +17 -45
  597. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +1 -2
  598. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -4
  599. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +32 -32
  600. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +4 -5
  601. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +17 -45
  602. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +1 -2
  603. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -4
  604. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +50 -50
  605. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +4 -5
  606. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
  607. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +34 -96
  608. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +1 -2
  609. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +3 -6
  610. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +63 -80
  611. package/node_modules/@aws-sdk/nested-clients/package.json +11 -11
  612. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +10 -9
  613. package/node_modules/@aws-sdk/token-providers/package.json +8 -8
  614. package/node_modules/@aws-sdk/types/package.json +4 -4
  615. package/node_modules/@aws-sdk/util-locate-window/package.json +3 -3
  616. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/CHANGELOG.md +8 -0
  617. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/README.md +9 -0
  618. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/package.json +4 -1
  619. package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/strnum.js +9 -1
  620. package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
  621. package/node_modules/@nodable/entities/package.json +4 -1
  622. package/node_modules/@nodable/entities/src/EntityDecoder.js +104 -3
  623. package/node_modules/@nodable/entities/src/index.d.ts +77 -0
  624. package/node_modules/@nodable/entities/src/index.js +1 -1
  625. package/node_modules/@smithy/core/dist-cjs/index.js +13 -15
  626. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +29 -31
  627. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +2 -4
  628. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +7 -9
  629. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +3 -5
  630. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +22 -23
  631. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +10 -11
  632. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +38 -39
  633. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +10 -11
  634. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +14 -17
  635. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +20 -23
  636. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +9 -11
  637. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -13
  638. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +59 -60
  639. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +26 -27
  640. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +28 -29
  641. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +5 -7
  642. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -6
  643. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +23 -25
  644. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -6
  645. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +2 -4
  646. package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +1 -1
  647. package/node_modules/@smithy/core/dist-es/legacy-root-exports/middleware-http-signing/httpSigningMiddleware.js +1 -1
  648. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -1
  649. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/endpointMiddleware.js +1 -1
  650. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +2 -2
  651. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/DefaultRateLimiter.js +1 -1
  652. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  653. package/node_modules/@smithy/core/package.json +18 -17
  654. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +23 -24
  655. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +2 -2
  656. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js +2 -0
  657. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
  658. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/node-http.d.ts +2 -0
  659. package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
  660. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +6 -8
  661. package/node_modules/@smithy/fetch-http-handler/package.json +10 -10
  662. package/node_modules/@smithy/middleware-compression/dist-cjs/compressStream.browser.js +3 -7
  663. package/node_modules/@smithy/middleware-compression/dist-cjs/compressStream.js +2 -6
  664. package/node_modules/@smithy/middleware-compression/dist-cjs/compressString.browser.js +4 -8
  665. package/node_modules/@smithy/middleware-compression/dist-cjs/compressString.js +7 -11
  666. package/node_modules/@smithy/middleware-compression/dist-cjs/index.js +18 -20
  667. package/node_modules/@smithy/middleware-compression/package.json +6 -6
  668. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +15 -15
  669. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +7 -6
  670. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +2 -1
  671. package/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
  672. package/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
  673. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +2 -2
  674. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
  675. package/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
  676. package/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
  677. package/node_modules/@smithy/node-http-handler/package.json +8 -8
  678. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +27 -29
  679. package/node_modules/@smithy/signature-v4/package.json +7 -7
  680. package/node_modules/@smithy/types/dist-cjs/index.js +23 -18
  681. package/node_modules/@smithy/types/package.json +10 -10
  682. package/node_modules/anynum/LICENSE +21 -0
  683. package/node_modules/anynum/README.md +142 -0
  684. package/node_modules/anynum/anynum.js +135 -0
  685. package/node_modules/anynum/digitTable.js +116 -0
  686. package/node_modules/anynum/package.json +42 -0
  687. package/package.json +10 -10
  688. package/node_modules/@aws-sdk/crc64-nvme/LICENSE +0 -201
  689. package/node_modules/@aws-sdk/crc64-nvme/README.md +0 -61
  690. package/node_modules/@aws-sdk/crc64-nvme/dist-cjs/index.js +0 -101
  691. package/node_modules/@aws-sdk/crc64-nvme/dist-es/index.js +0 -2
  692. package/node_modules/@aws-sdk/crc64-nvme/dist-types/index.d.ts +0 -2
  693. package/node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/index.d.ts +0 -2
  694. package/node_modules/@aws-sdk/crc64-nvme/package.json +0 -49
  695. package/node_modules/@aws-sdk/middleware-bucket-endpoint/LICENSE +0 -201
  696. package/node_modules/@aws-sdk/middleware-bucket-endpoint/README.md +0 -4
  697. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-cjs/index.js +0 -352
  698. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-es/index.js +0 -6
  699. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/index.d.ts +0 -6
  700. package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/ts3.4/index.d.ts +0 -16
  701. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +0 -58
  702. package/node_modules/@aws-sdk/middleware-expect-continue/LICENSE +0 -201
  703. package/node_modules/@aws-sdk/middleware-expect-continue/README.md +0 -4
  704. package/node_modules/@aws-sdk/middleware-expect-continue/dist-cjs/index.js +0 -48
  705. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +0 -58
  706. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/index.d.ts +0 -6
  707. package/node_modules/@aws-sdk/middleware-location-constraint/LICENSE +0 -201
  708. package/node_modules/@aws-sdk/middleware-location-constraint/README.md +0 -4
  709. package/node_modules/@aws-sdk/middleware-location-constraint/dist-cjs/index.js +0 -30
  710. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +0 -57
  711. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.browser.js +0 -11
  712. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/toStream.js +0 -7
  713. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/index.js +0 -7
  714. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/index.d.ts +0 -9
  715. package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/s3-express/index.d.ts +0 -17
  716. package/node_modules/@aws-sdk/middleware-ssec/README.md +0 -4
  717. package/node_modules/@aws-sdk/middleware-ssec/dist-cjs/index.js +0 -73
  718. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-cjs → checksums/dist-cjs/flexible-checksums}/getCrc32ChecksumAlgorithmFunction.browser.js +0 -0
  719. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-cjs → checksums/dist-cjs/flexible-checksums}/getCrc32ChecksumAlgorithmFunction.js +0 -0
  720. /package/node_modules/@aws-sdk/{crc64-nvme/dist-es → checksums/dist-es/crc64-nvme}/Crc64Nvme.js +0 -0
  721. /package/node_modules/@aws-sdk/{crc64-nvme/dist-es → checksums/dist-es/crc64-nvme}/crc64-nvme-crt-container.js +0 -0
  722. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.js +0 -0
  723. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.js +0 -0
  724. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/configuration.js +0 -0
  725. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/constants.js +0 -0
  726. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/flexibleChecksumsInputMiddleware.js +0 -0
  727. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/flexibleChecksumsMiddleware.js +0 -0
  728. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/flexibleChecksumsResponseMiddleware.js +0 -0
  729. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/getChecksum.js +0 -0
  730. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/getChecksumAlgorithmForRequest.js +0 -0
  731. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/getChecksumAlgorithmListForResponse.js +0 -0
  732. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/getChecksumLocationName.js +0 -0
  733. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/getCrc32ChecksumAlgorithmFunction.browser.js +0 -0
  734. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/getCrc32ChecksumAlgorithmFunction.js +0 -0
  735. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/getFlexibleChecksumsPlugin.js +0 -0
  736. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/hasHeader.js +0 -0
  737. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/hasHeaderWithPrefix.js +0 -0
  738. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/isChecksumWithPartNumber.js +0 -0
  739. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/isStreaming.js +0 -0
  740. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/resolveFlexibleChecksumsConfig.js +0 -0
  741. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/stringHasher.js +0 -0
  742. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/stringUnionSelector.js +0 -0
  743. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/types.js +0 -0
  744. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-es → checksums/dist-es/flexible-checksums}/validateChecksumFromResponse.js +0 -0
  745. /package/node_modules/@aws-sdk/{crc64-nvme/dist-types → checksums/dist-types/crc64-nvme}/Crc64Nvme.d.ts +0 -0
  746. /package/node_modules/@aws-sdk/{crc64-nvme/dist-types → checksums/dist-types/crc64-nvme}/crc64-nvme-crt-container.d.ts +0 -0
  747. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts +0 -0
  748. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts +0 -0
  749. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/configuration.d.ts +0 -0
  750. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/constants.d.ts +0 -0
  751. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/flexibleChecksumsInputMiddleware.d.ts +0 -0
  752. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/flexibleChecksumsMiddleware.d.ts +0 -0
  753. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/flexibleChecksumsResponseMiddleware.d.ts +0 -0
  754. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/getChecksum.d.ts +0 -0
  755. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/getChecksumAlgorithmForRequest.d.ts +0 -0
  756. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/getChecksumAlgorithmListForResponse.d.ts +0 -0
  757. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/getChecksumLocationName.d.ts +0 -0
  758. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/getCrc32ChecksumAlgorithmFunction.browser.d.ts +0 -0
  759. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/getCrc32ChecksumAlgorithmFunction.d.ts +0 -0
  760. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/getFlexibleChecksumsPlugin.d.ts +0 -0
  761. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/hasHeader.d.ts +0 -0
  762. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/hasHeaderWithPrefix.d.ts +0 -0
  763. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/isChecksumWithPartNumber.d.ts +0 -0
  764. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/isStreaming.d.ts +0 -0
  765. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/resolveFlexibleChecksumsConfig.d.ts +0 -0
  766. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/selectChecksumAlgorithmFunction.d.ts +0 -0
  767. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/stringHasher.d.ts +0 -0
  768. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/stringUnionSelector.d.ts +0 -0
  769. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/types.d.ts +0 -0
  770. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types → checksums/dist-types/flexible-checksums}/validateChecksumFromResponse.d.ts +0 -0
  771. /package/node_modules/@aws-sdk/{crc64-nvme/dist-types/ts3.4 → checksums/dist-types/ts3.4/crc64-nvme}/Crc64Nvme.d.ts +0 -0
  772. /package/node_modules/@aws-sdk/{crc64-nvme/dist-types/ts3.4 → checksums/dist-types/ts3.4/crc64-nvme}/crc64-nvme-crt-container.d.ts +0 -0
  773. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts +0 -0
  774. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts +0 -0
  775. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/configuration.d.ts +0 -0
  776. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/constants.d.ts +0 -0
  777. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/flexibleChecksumsInputMiddleware.d.ts +0 -0
  778. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/flexibleChecksumsMiddleware.d.ts +0 -0
  779. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/flexibleChecksumsResponseMiddleware.d.ts +0 -0
  780. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/getChecksum.d.ts +0 -0
  781. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/getChecksumAlgorithmForRequest.d.ts +0 -0
  782. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/getChecksumAlgorithmListForResponse.d.ts +0 -0
  783. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/getChecksumLocationName.d.ts +0 -0
  784. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/getCrc32ChecksumAlgorithmFunction.browser.d.ts +0 -0
  785. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/getCrc32ChecksumAlgorithmFunction.d.ts +0 -0
  786. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/getFlexibleChecksumsPlugin.d.ts +0 -0
  787. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/hasHeader.d.ts +0 -0
  788. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/hasHeaderWithPrefix.d.ts +0 -0
  789. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/isChecksumWithPartNumber.d.ts +0 -0
  790. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/isStreaming.d.ts +0 -0
  791. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/resolveFlexibleChecksumsConfig.d.ts +0 -0
  792. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/selectChecksumAlgorithmFunction.d.ts +0 -0
  793. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/stringHasher.d.ts +0 -0
  794. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/stringUnionSelector.d.ts +0 -0
  795. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/types.d.ts +0 -0
  796. /package/node_modules/@aws-sdk/{middleware-flexible-checksums/dist-types/ts3.4 → checksums/dist-types/ts3.4/flexible-checksums}/validateChecksumFromResponse.d.ts +0 -0
  797. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-es → middleware-sdk-s3/dist-es/submodules/s3}/NodeDisableMultiregionAccessPointConfigOptions.js +0 -0
  798. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-es → middleware-sdk-s3/dist-es/submodules/s3}/NodeUseArnRegionConfigOptions.js +0 -0
  799. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-es → middleware-sdk-s3/dist-es/submodules/s3/middleware-bucket-endpoint}/bucketEndpointMiddleware.js +0 -0
  800. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-es → middleware-sdk-s3/dist-es/submodules/s3/middleware-bucket-endpoint}/bucketHostname.js +0 -0
  801. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-es → middleware-sdk-s3/dist-es/submodules/s3/middleware-bucket-endpoint}/bucketHostnameUtils.js +0 -0
  802. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-es → middleware-sdk-s3/dist-es/submodules/s3/middleware-bucket-endpoint}/configurations.js +0 -0
  803. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{check-content-length-header.js → submodules/s3/middleware-check-content-length-header/check-content-length-header.js} +0 -0
  804. /package/node_modules/@aws-sdk/{middleware-expect-continue/dist-es/index.js → middleware-sdk-s3/dist-es/submodules/s3/middleware-expect-continue/middleware-expect-continue.js} +0 -0
  805. /package/node_modules/@aws-sdk/{middleware-location-constraint/dist-es → middleware-sdk-s3/dist-es/submodules/s3/middleware-location-constraint}/configuration.js +0 -0
  806. /package/node_modules/@aws-sdk/{middleware-location-constraint/dist-es/index.js → middleware-sdk-s3/dist-es/submodules/s3/middleware-location-constraint/middleware-location-constraint.js} +0 -0
  807. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{bucket-endpoint-middleware.js → submodules/s3/middleware-region-redirect/bucket-endpoint-middleware.js} +0 -0
  808. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{region-redirect-endpoint-middleware.js → submodules/s3/middleware-region-redirect/region-redirect-endpoint-middleware.js} +0 -0
  809. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{region-redirect-middleware.js → submodules/s3/middleware-region-redirect/region-redirect-middleware.js} +0 -0
  810. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-expires-middleware.js → submodules/s3/middleware-s3-expires/s3-expires-middleware.js} +0 -0
  811. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityCache.js +0 -0
  812. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityCacheEntry.js +0 -0
  813. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityProviderImpl.js +0 -0
  814. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/classes/SignatureV4S3Express.js +0 -0
  815. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/constants.js +0 -0
  816. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/functions/s3ExpressHttpSigningMiddleware.js +0 -0
  817. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/functions/s3ExpressMiddleware.js +0 -0
  818. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/functions/signS3Express.js +0 -0
  819. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/interfaces/S3ExpressIdentity.js +0 -0
  820. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{s3-express → submodules/s3/middleware-s3-express}/interfaces/S3ExpressIdentityProvider.js +0 -0
  821. /package/node_modules/@aws-sdk/{middleware-ssec/dist-es/index.js → middleware-sdk-s3/dist-es/submodules/s3/middleware-ssec/middleware-ssec.js} +0 -0
  822. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{protocol → submodules/s3/protocol}/S3RestXmlProtocol.js +0 -0
  823. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{toStream.browser.js → submodules/s3/to-stream/toStream.browser.js} +0 -0
  824. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/{toStream.js → submodules/s3/to-stream/toStream.js} +0 -0
  825. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types → middleware-sdk-s3/dist-types/submodules/s3}/NodeDisableMultiregionAccessPointConfigOptions.d.ts +0 -0
  826. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types → middleware-sdk-s3/dist-types/submodules/s3}/NodeUseArnRegionConfigOptions.d.ts +0 -0
  827. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types → middleware-sdk-s3/dist-types/submodules/s3/middleware-bucket-endpoint}/bucketEndpointMiddleware.d.ts +0 -0
  828. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types → middleware-sdk-s3/dist-types/submodules/s3/middleware-bucket-endpoint}/bucketHostname.d.ts +0 -0
  829. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types → middleware-sdk-s3/dist-types/submodules/s3/middleware-bucket-endpoint}/bucketHostnameUtils.d.ts +0 -0
  830. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types → middleware-sdk-s3/dist-types/submodules/s3/middleware-bucket-endpoint}/configurations.d.ts +0 -0
  831. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{check-content-length-header.d.ts → submodules/s3/middleware-check-content-length-header/check-content-length-header.d.ts} +0 -0
  832. /package/node_modules/@aws-sdk/{middleware-expect-continue/dist-types/index.d.ts → middleware-sdk-s3/dist-types/submodules/s3/middleware-expect-continue/middleware-expect-continue.d.ts} +0 -0
  833. /package/node_modules/@aws-sdk/{middleware-location-constraint/dist-types → middleware-sdk-s3/dist-types/submodules/s3/middleware-location-constraint}/configuration.d.ts +0 -0
  834. /package/node_modules/@aws-sdk/{middleware-location-constraint/dist-types/index.d.ts → middleware-sdk-s3/dist-types/submodules/s3/middleware-location-constraint/middleware-location-constraint.d.ts} +0 -0
  835. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{bucket-endpoint-middleware.d.ts → submodules/s3/middleware-region-redirect/bucket-endpoint-middleware.d.ts} +0 -0
  836. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{region-redirect-endpoint-middleware.d.ts → submodules/s3/middleware-region-redirect/region-redirect-endpoint-middleware.d.ts} +0 -0
  837. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{region-redirect-middleware.d.ts → submodules/s3/middleware-region-redirect/region-redirect-middleware.d.ts} +0 -0
  838. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-expires-middleware.d.ts → submodules/s3/middleware-s3-expires/s3-expires-middleware.d.ts} +0 -0
  839. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityCache.d.ts +0 -0
  840. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityCacheEntry.d.ts +0 -0
  841. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityProviderImpl.d.ts +0 -0
  842. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/classes/SignatureV4S3Express.d.ts +0 -0
  843. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/constants.d.ts +0 -0
  844. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/functions/s3ExpressHttpSigningMiddleware.d.ts +0 -0
  845. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/functions/s3ExpressMiddleware.d.ts +0 -0
  846. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/functions/signS3Express.d.ts +0 -0
  847. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/interfaces/S3ExpressIdentity.d.ts +0 -0
  848. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{s3-express → submodules/s3/middleware-s3-express}/interfaces/S3ExpressIdentityProvider.d.ts +0 -0
  849. /package/node_modules/@aws-sdk/{middleware-ssec/dist-types/index.d.ts → middleware-sdk-s3/dist-types/submodules/s3/middleware-ssec/middleware-ssec.d.ts} +0 -0
  850. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{throw-200-exceptions.d.ts → submodules/s3/middleware-throw-200-exceptions/throw-200-exceptions.d.ts} +0 -0
  851. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{protocol → submodules/s3/protocol}/S3RestXmlProtocol.d.ts +0 -0
  852. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{toStream.browser.d.ts → submodules/s3/to-stream/toStream.browser.d.ts} +0 -0
  853. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/{toStream.d.ts → submodules/s3/to-stream/toStream.d.ts} +0 -0
  854. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types/ts3.4 → middleware-sdk-s3/dist-types/ts3.4/submodules/s3}/NodeDisableMultiregionAccessPointConfigOptions.d.ts +0 -0
  855. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types/ts3.4 → middleware-sdk-s3/dist-types/ts3.4/submodules/s3}/NodeUseArnRegionConfigOptions.d.ts +0 -0
  856. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types/ts3.4 → middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint}/bucketEndpointMiddleware.d.ts +0 -0
  857. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types/ts3.4 → middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint}/bucketHostname.d.ts +0 -0
  858. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types/ts3.4 → middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint}/bucketHostnameUtils.d.ts +0 -0
  859. /package/node_modules/@aws-sdk/{middleware-bucket-endpoint/dist-types/ts3.4 → middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-bucket-endpoint}/configurations.d.ts +0 -0
  860. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{check-content-length-header.d.ts → submodules/s3/middleware-check-content-length-header/check-content-length-header.d.ts} +0 -0
  861. /package/node_modules/@aws-sdk/{middleware-expect-continue/dist-types/ts3.4/index.d.ts → middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-expect-continue/middleware-expect-continue.d.ts} +0 -0
  862. /package/node_modules/@aws-sdk/{middleware-location-constraint/dist-types/ts3.4 → middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-location-constraint}/configuration.d.ts +0 -0
  863. /package/node_modules/@aws-sdk/{middleware-location-constraint/dist-types/ts3.4/index.d.ts → middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-location-constraint/middleware-location-constraint.d.ts} +0 -0
  864. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{bucket-endpoint-middleware.d.ts → submodules/s3/middleware-region-redirect/bucket-endpoint-middleware.d.ts} +0 -0
  865. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{region-redirect-endpoint-middleware.d.ts → submodules/s3/middleware-region-redirect/region-redirect-endpoint-middleware.d.ts} +0 -0
  866. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{region-redirect-middleware.d.ts → submodules/s3/middleware-region-redirect/region-redirect-middleware.d.ts} +0 -0
  867. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-expires-middleware.d.ts → submodules/s3/middleware-s3-expires/s3-expires-middleware.d.ts} +0 -0
  868. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityCache.d.ts +0 -0
  869. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityCacheEntry.d.ts +0 -0
  870. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/classes/S3ExpressIdentityProviderImpl.d.ts +0 -0
  871. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/classes/SignatureV4S3Express.d.ts +0 -0
  872. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/constants.d.ts +0 -0
  873. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/functions/s3ExpressHttpSigningMiddleware.d.ts +0 -0
  874. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/functions/s3ExpressMiddleware.d.ts +0 -0
  875. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/functions/signS3Express.d.ts +0 -0
  876. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/interfaces/S3ExpressIdentity.d.ts +0 -0
  877. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{s3-express → submodules/s3/middleware-s3-express}/interfaces/S3ExpressIdentityProvider.d.ts +0 -0
  878. /package/node_modules/@aws-sdk/{middleware-ssec/dist-types/ts3.4/index.d.ts → middleware-sdk-s3/dist-types/ts3.4/submodules/s3/middleware-ssec/middleware-ssec.d.ts} +0 -0
  879. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{throw-200-exceptions.d.ts → submodules/s3/middleware-throw-200-exceptions/throw-200-exceptions.d.ts} +0 -0
  880. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{protocol → submodules/s3/protocol}/S3RestXmlProtocol.d.ts +0 -0
  881. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{toStream.browser.d.ts → submodules/s3/to-stream/toStream.browser.d.ts} +0 -0
  882. /package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/{toStream.d.ts → submodules/s3/to-stream/toStream.d.ts} +0 -0
  883. /package/node_modules/{strnum → @aws-sdk/xml-builder/node_modules/strnum}/LICENSE +0 -0
@@ -5,6 +5,30 @@
5
5
 
6
6
  import { XML as DEFAULT_XML_ENTITIES } from "./entities.js"
7
7
 
8
+ // ---------------------------------------------------------------------------
9
+ // Entity hook action constants
10
+ // ---------------------------------------------------------------------------
11
+
12
+ /**
13
+ * Action constants for `onExternalEntity` and `onInputEntity` hooks.
14
+ *
15
+ * Use these instead of raw strings to avoid typos:
16
+ *
17
+ * @example
18
+ * import EntityDecoder, { ENTITY_ACTION } from './EntityDecoder.js';
19
+ * const dec = new EntityDecoder({
20
+ * onInputEntity: (name, value) => ENTITY_ACTION.BLOCK,
21
+ * });
22
+ */
23
+ export const ENTITY_ACTION = Object.freeze({
24
+ /** Resolve and expand the entity normally. */
25
+ ALLOW: 'allow',
26
+ /** Silently skip this entity — it will not be registered. */
27
+ BLOCK: 'block',
28
+ /** Throw an error, aborting entity registration entirely. */
29
+ THROW: 'throw',
30
+ });
31
+
8
32
  // ---------------------------------------------------------------------------
9
33
  // Helpers
10
34
  // ---------------------------------------------------------------------------
@@ -169,6 +193,14 @@ export default class EntityDecoder {
169
193
  * the effective action is max(onNCR, rangeMinimum).
170
194
  * @param {'remove'|'throw'} [options.ncr.nullNCR='remove']
171
195
  * Action for U+0000 (null). 'allow' and 'leave' are clamped to 'remove' since null is never safe.
196
+ * @param {((name: string, value: string) => 'allow'|'block'|'throw')|null} [options.onExternalEntity=null]
197
+ * Hook called when an external entity is registered via `setExternalEntities()` or
198
+ * `addExternalEntity()`. Return `ENTITY_ACTION.ALLOW` to accept the entity,
199
+ * `ENTITY_ACTION.BLOCK` to silently skip it, or `ENTITY_ACTION.THROW` to abort with an error.
200
+ * @param {((name: string, value: string) => 'allow'|'block'|'throw')|null} [options.onInputEntity=null]
201
+ * Hook called when an input entity is registered via `addInputEntities()`. Return
202
+ * `ENTITY_ACTION.ALLOW` to accept, `ENTITY_ACTION.BLOCK` to silently skip, or
203
+ * `ENTITY_ACTION.THROW` to abort with an error.
172
204
  */
173
205
  constructor(options = {}) {
174
206
  this._limit = options.limit || {};
@@ -204,6 +236,43 @@ export default class EntityDecoder {
204
236
  this._ncrXmlVersion = ncrCfg.xmlVersion;
205
237
  this._ncrOnLevel = ncrCfg.onLevel;
206
238
  this._ncrNullLevel = ncrCfg.nullLevel;
239
+
240
+ // --- Registration hooks ---
241
+ /** @type {((name: string, value: string) => 'allow'|'block'|'throw')|null} */
242
+ this._onExternalEntity = typeof options.onExternalEntity === 'function'
243
+ ? options.onExternalEntity
244
+ : null;
245
+ /** @type {((name: string, value: string) => 'allow'|'block'|'throw')|null} */
246
+ this._onInputEntity = typeof options.onInputEntity === 'function'
247
+ ? options.onInputEntity
248
+ : null;
249
+ }
250
+
251
+ // -------------------------------------------------------------------------
252
+ // Private: registration hook dispatch
253
+ // -------------------------------------------------------------------------
254
+
255
+ /**
256
+ * Invoke a registration hook for a single entity name/value pair.
257
+ * Returns true when the entity should be accepted, false when it should be
258
+ * silently skipped (BLOCK), and throws when the hook returns THROW.
259
+ *
260
+ * @param {((name: string, value: string) => 'allow'|'block'|'throw')|null} hook
261
+ * @param {string} name
262
+ * @param {string} value
263
+ * @param {string} context — used in error messages ('external' | 'input')
264
+ * @returns {boolean} true = accept, false = skip
265
+ */
266
+ _applyRegistrationHook(hook, name, value, context) {
267
+ if (!hook) return true; // no hook → always accept
268
+ const action = hook(name, value);
269
+ if (action === ENTITY_ACTION.BLOCK) return false;
270
+ if (action === ENTITY_ACTION.THROW) {
271
+ throw new Error(
272
+ `[EntityDecoder] Registration of ${context} entity "&${name};" was rejected by hook`
273
+ );
274
+ }
275
+ return true; // ALLOW or any unknown return value → accept
207
276
  }
208
277
 
209
278
  // -------------------------------------------------------------------------
@@ -213,6 +282,9 @@ export default class EntityDecoder {
213
282
  /**
214
283
  * Replace the full set of persistent external entities.
215
284
  * All keys are validated — throws on invalid characters.
285
+ * If `onExternalEntity` is set, it is called once per entry; entries that
286
+ * return `ENTITY_ACTION.BLOCK` are silently omitted, `ENTITY_ACTION.THROW`
287
+ * aborts the whole call.
216
288
  * @param {Record<string, string | { regex?: RegExp, val: string }>} map
217
289
  */
218
290
  setExternalEntities(map) {
@@ -221,18 +293,34 @@ export default class EntityDecoder {
221
293
  validateEntityName(key);
222
294
  }
223
295
  }
224
- this._externalMap = mergeEntityMaps(map);
296
+ if (!this._onExternalEntity) {
297
+ this._externalMap = mergeEntityMaps(map);
298
+ return;
299
+ }
300
+ // Hook present — resolve values first, then filter
301
+ const flat = mergeEntityMaps(map);
302
+ const filtered = Object.create(null);
303
+ for (const [name, value] of Object.entries(flat)) {
304
+ if (this._applyRegistrationHook(this._onExternalEntity, name, value, 'external')) {
305
+ filtered[name] = value;
306
+ }
307
+ }
308
+ this._externalMap = filtered;
225
309
  }
226
310
 
227
311
  /**
228
312
  * Add a single persistent external entity.
313
+ * If `onExternalEntity` is set it is called before the entity is stored;
314
+ * `ENTITY_ACTION.BLOCK` silently skips storage, `ENTITY_ACTION.THROW` raises.
229
315
  * @param {string} key
230
316
  * @param {string} value
231
317
  */
232
318
  addExternalEntity(key, value) {
233
319
  validateEntityName(key);
234
320
  if (typeof value === 'string' && value.indexOf('&') === -1) {
235
- this._externalMap[key] = value;
321
+ if (this._applyRegistrationHook(this._onExternalEntity, key, value, 'external')) {
322
+ this._externalMap[key] = value;
323
+ }
236
324
  }
237
325
  }
238
326
 
@@ -243,12 +331,25 @@ export default class EntityDecoder {
243
331
  /**
244
332
  * Inject DOCTYPE entities for the current document.
245
333
  * Also resets per-document expansion counters.
334
+ * If `onInputEntity` is set it is called once per entry; entries returning
335
+ * `ENTITY_ACTION.BLOCK` are silently omitted, `ENTITY_ACTION.THROW` aborts.
246
336
  * @param {Record<string, string | { regx?: RegExp, regex?: RegExp, val: string }>} map
247
337
  */
248
338
  addInputEntities(map) {
249
339
  this._totalExpansions = 0;
250
340
  this._expandedLength = 0;
251
- this._inputMap = mergeEntityMaps(map);
341
+ if (!this._onInputEntity) {
342
+ this._inputMap = mergeEntityMaps(map);
343
+ return;
344
+ }
345
+ const flat = mergeEntityMaps(map);
346
+ const filtered = Object.create(null);
347
+ for (const [name, value] of Object.entries(flat)) {
348
+ if (this._applyRegistrationHook(this._onInputEntity, name, value, 'input')) {
349
+ filtered[name] = value;
350
+ }
351
+ }
352
+ this._inputMap = filtered;
252
353
  }
253
354
 
254
355
  // -------------------------------------------------------------------------
@@ -5,6 +5,50 @@
5
5
  /** A function-based entity replacement value (used for numeric refs). */
6
6
  export type EntityValFn = (match: string, captured: string, ...rest: unknown[]) => string;
7
7
 
8
+ // ---------------------------------------------------------------------------
9
+ // Entity registration hook
10
+ // ---------------------------------------------------------------------------
11
+
12
+ /**
13
+ * Actions returned by `onExternalEntity` / `onInputEntity` hooks.
14
+ * Use the `ENTITY_ACTION` constant object instead of raw strings to avoid typos.
15
+ *
16
+ * - `'allow'` — register and expand the entity normally
17
+ * - `'block'` — silently skip the entity (not registered, treated as unknown)
18
+ * - `'throw'` — abort registration with an error
19
+ */
20
+ export type EntityHookAction = 'allow' | 'block' | 'throw';
21
+
22
+ /**
23
+ * Immutable constant bag for entity registration hook return values.
24
+ *
25
+ * @example
26
+ * import { ENTITY_ACTION } from '@nodable/entities';
27
+ * const dec = new EntityDecoder({
28
+ * onInputEntity: (_name, _value) => ENTITY_ACTION.BLOCK,
29
+ * });
30
+ */
31
+ export const ENTITY_ACTION: Readonly<{
32
+ /** Register and expand the entity normally. */
33
+ ALLOW: 'allow';
34
+ /** Silently skip this entity — it will not be registered. */
35
+ BLOCK: 'block';
36
+ /** Throw an error, aborting entity registration. */
37
+ THROW: 'throw';
38
+ }>;
39
+
40
+ /**
41
+ * Callback signature for `onExternalEntity` and `onInputEntity` hooks.
42
+ *
43
+ * Called once per entity **at registration time** (not at decode time).
44
+ * Return `ENTITY_ACTION.ALLOW` (or `'allow'`) to accept, `ENTITY_ACTION.BLOCK`
45
+ * to silently skip, or `ENTITY_ACTION.THROW` to raise an error.
46
+ *
47
+ * @param name — the entity name without `&` / `;`, e.g. `"brand"`
48
+ * @param value — the resolved string value after any `{regex,val}` unwrapping
49
+ */
50
+ export type EntityRegistrationHook = (name: string, value: string) => EntityHookAction;
51
+
8
52
  // ---------------------------------------------------------------------------
9
53
  // Encoder options
10
54
  // ---------------------------------------------------------------------------
@@ -191,6 +235,39 @@ export interface EntityDecoderOptions {
191
235
  * Numeric Character Reference (NCR) policy.
192
236
  */
193
237
  ncr?: EntityDecoderNCROptions;
238
+
239
+ /**
240
+ * Hook called once **at registration time** for each entity passed to
241
+ * `setExternalEntities()` or `addExternalEntity()`.
242
+ *
243
+ * - `'allow'` (or `ENTITY_ACTION.ALLOW`) — register the entity normally (default)
244
+ * - `'block'` (or `ENTITY_ACTION.BLOCK`) — silently skip; the entity is not stored
245
+ * - `'throw'` (or `ENTITY_ACTION.THROW`) — abort registration with an `Error`
246
+ *
247
+ * The hook receives the entity name (without `&`/`;`) and the resolved string
248
+ * value. It is **not** called during `decode()` — only when entities are added.
249
+ *
250
+ * @example
251
+ * const dec = new EntityDecoder({
252
+ * onExternalEntity: (name, value) =>
253
+ * DANGEROUS_NAMES.has(name) ? ENTITY_ACTION.BLOCK : ENTITY_ACTION.ALLOW,
254
+ * });
255
+ */
256
+ onExternalEntity?: EntityRegistrationHook | null;
257
+
258
+ /**
259
+ * Hook called once **at registration time** for each entity passed to
260
+ * `addInputEntities()`.
261
+ *
262
+ * Follows the same `'allow' | 'block' | 'throw'` contract as `onExternalEntity`.
263
+ *
264
+ * @example
265
+ * const dec = new EntityDecoder({
266
+ * // Block all input / DOCTYPE entities unconditionally
267
+ * onInputEntity: () => ENTITY_ACTION.BLOCK,
268
+ * });
269
+ */
270
+ onInputEntity?: EntityRegistrationHook | null;
194
271
  }
195
272
 
196
273
  // ---------------------------------------------------------------------------
@@ -6,7 +6,7 @@
6
6
 
7
7
  */
8
8
 
9
- export { default as EntityDecoder } from './EntityDecoder.js';
9
+ export { default as EntityDecoder, ENTITY_ACTION } from './EntityDecoder.js';
10
10
  export {
11
11
  COMMON_HTML,
12
12
  XML,
@@ -1,9 +1,9 @@
1
- 'use strict';
2
-
3
- var transport = require('@smithy/core/transport');
4
- var protocols = require('@smithy/core/protocols');
5
- var types = require('@smithy/types');
6
- var client = require('@smithy/core/client');
1
+ const { getSmithyContext } = require("@smithy/core/transport");
2
+ exports.getSmithyContext = getSmithyContext;
3
+ const { HttpRequest } = require("@smithy/core/protocols");
4
+ const { requestBuilder } = require("@smithy/core/protocols");
5
+ exports.requestBuilder = requestBuilder;
6
+ const { HttpApiKeyAuthLocation } = require("@smithy/types");
7
7
 
8
8
  const resolveAuthOptions = (candidateAuthOptions, authSchemePreference) => {
9
9
  if (!authSchemePreference || authSchemePreference.length === 0) {
@@ -38,7 +38,7 @@ const httpAuthSchemeMiddleware = (config, mwOptions) => (next, context) => async
38
38
  const authSchemePreference = config.authSchemePreference ? await config.authSchemePreference() : [];
39
39
  const resolvedOptions = resolveAuthOptions(options, authSchemePreference);
40
40
  const authSchemes = convertHttpAuthSchemesToMap(config.httpAuthSchemes);
41
- const smithyContext = client.getSmithyContext(context);
41
+ const smithyContext = getSmithyContext(context);
42
42
  const failureReasons = [];
43
43
  for (const option of resolvedOptions) {
44
44
  const scheme = authSchemes.get(option.schemeId);
@@ -106,10 +106,10 @@ const defaultErrorHandler = (signingProperties) => (error) => {
106
106
  };
107
107
  const defaultSuccessHandler = (httpResponse, signingProperties) => { };
108
108
  const httpSigningMiddleware = (config) => (next, context) => async (args) => {
109
- if (!protocols.HttpRequest.isInstance(args.request)) {
109
+ if (!HttpRequest.isInstance(args.request)) {
110
110
  return next(args);
111
111
  }
112
- const smithyContext = client.getSmithyContext(context);
112
+ const smithyContext = getSmithyContext(context);
113
113
  const scheme = smithyContext.selectedHttpAuthScheme;
114
114
  if (!scheme) {
115
115
  throw new Error(`No HttpAuthScheme was selected: unable to sign request`);
@@ -228,11 +228,11 @@ class HttpApiKeyAuthSigner {
228
228
  if (!identity.apiKey) {
229
229
  throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined");
230
230
  }
231
- const clonedRequest = protocols.HttpRequest.clone(httpRequest);
232
- if (signingProperties.in === types.HttpApiKeyAuthLocation.QUERY) {
231
+ const clonedRequest = HttpRequest.clone(httpRequest);
232
+ if (signingProperties.in === HttpApiKeyAuthLocation.QUERY) {
233
233
  clonedRequest.query[signingProperties.name] = identity.apiKey;
234
234
  }
235
- else if (signingProperties.in === types.HttpApiKeyAuthLocation.HEADER) {
235
+ else if (signingProperties.in === HttpApiKeyAuthLocation.HEADER) {
236
236
  clonedRequest.headers[signingProperties.name] = signingProperties.scheme
237
237
  ? `${signingProperties.scheme} ${identity.apiKey}`
238
238
  : identity.apiKey;
@@ -249,7 +249,7 @@ class HttpApiKeyAuthSigner {
249
249
 
250
250
  class HttpBearerAuthSigner {
251
251
  async sign(httpRequest, identity, signingProperties) {
252
- const clonedRequest = protocols.HttpRequest.clone(httpRequest);
252
+ const clonedRequest = HttpRequest.clone(httpRequest);
253
253
  if (!identity.token) {
254
254
  throw new Error("request could not be signed with `token` since the `token` is not defined");
255
255
  }
@@ -320,8 +320,6 @@ const memoizeIdentityProvider = (provider, isExpired, requiresRefresh) => {
320
320
  };
321
321
  };
322
322
 
323
- exports.getSmithyContext = transport.getSmithyContext;
324
- exports.requestBuilder = protocols.requestBuilder;
325
323
  exports.DefaultIdentityProviderConfig = DefaultIdentityProviderConfig;
326
324
  exports.EXPIRATION_MS = EXPIRATION_MS;
327
325
  exports.HttpApiKeyAuthSigner = HttpApiKeyAuthSigner;
@@ -1,9 +1,7 @@
1
- 'use strict';
2
-
3
- var serde = require('@smithy/core/serde');
4
- var protocols = require('@smithy/core/protocols');
5
- var client = require('@smithy/core/client');
6
- var schema = require('@smithy/core/schema');
1
+ const { nv, toUtf8, fromUtf8, NumericValue, calculateBodyLength, _parseEpochTimestamp, fromBase64, generateIdempotencyToken } = require("@smithy/core/serde");
2
+ const { HttpRequest, collectBody, SerdeContext, RpcProtocol } = require("@smithy/core/protocols");
3
+ const { NormalizedSchema, deref, TypeRegistry } = require("@smithy/core/schema");
4
+ const { getSmithyContext } = require("@smithy/core/transport");
7
5
 
8
6
  const majorUint64 = 0;
9
7
  const majorNegativeInt64 = 1;
@@ -133,7 +131,7 @@ function decode(at, to) {
133
131
  }
134
132
  numericString = sign + numericString;
135
133
  _offset = offset + _offset;
136
- return serde.nv(numericString);
134
+ return nv(numericString);
137
135
  }
138
136
  else {
139
137
  const value = decode(at + offset, to);
@@ -181,7 +179,7 @@ function bytesToUtf8(bytes, at, to) {
181
179
  if (textDecoder) {
182
180
  return textDecoder.decode(bytes.subarray(at, to));
183
181
  }
184
- return serde.toUtf8(bytes.subarray(at, to));
182
+ return toUtf8(bytes.subarray(at, to));
185
183
  }
186
184
  function demote(bigInteger) {
187
185
  const num = Number(bigInteger);
@@ -525,7 +523,7 @@ function encode(_input) {
525
523
  cursor += data.write(input, cursor);
526
524
  }
527
525
  else {
528
- const bytes = serde.fromUtf8(input);
526
+ const bytes = fromUtf8(input);
529
527
  encodeHeader(majorUtf8String, bytes.byteLength);
530
528
  data.set(bytes, cursor);
531
529
  cursor += bytes.byteLength;
@@ -641,7 +639,7 @@ function encode(_input) {
641
639
  continue;
642
640
  }
643
641
  else if (typeof input === "object") {
644
- if (input instanceof serde.NumericValue) {
642
+ if (input instanceof NumericValue) {
645
643
  const decimalIndex = input.string.indexOf(".");
646
644
  const exponent = decimalIndex === -1 ? 0 : decimalIndex - input.string.length + 1;
647
645
  const mantissa = BigInt(input.string.replace(".", ""));
@@ -695,7 +693,7 @@ const cbor = {
695
693
  };
696
694
 
697
695
  const parseCborBody = (streamBody, context) => {
698
- return protocols.collectBody(streamBody, context).then(async (bytes) => {
696
+ return collectBody(streamBody, context).then(async (bytes) => {
699
697
  if (bytes.length) {
700
698
  try {
701
699
  return cbor.deserialize(bytes);
@@ -781,14 +779,14 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
781
779
  if (body !== undefined) {
782
780
  contents.body = body;
783
781
  try {
784
- contents.headers["content-length"] = String(serde.calculateBodyLength(body));
782
+ contents.headers["content-length"] = String(calculateBodyLength(body));
785
783
  }
786
784
  catch (e) { }
787
785
  }
788
- return new protocols.HttpRequest(contents);
786
+ return new HttpRequest(contents);
789
787
  };
790
788
 
791
- class CborCodec extends protocols.SerdeContext {
789
+ class CborCodec extends SerdeContext {
792
790
  createSerializer() {
793
791
  const serializer = new CborShapeSerializer();
794
792
  serializer.setSerdeContext(this.serdeContext);
@@ -800,22 +798,22 @@ class CborCodec extends protocols.SerdeContext {
800
798
  return deserializer;
801
799
  }
802
800
  }
803
- class CborShapeSerializer extends protocols.SerdeContext {
801
+ class CborShapeSerializer extends SerdeContext {
804
802
  value;
805
803
  write(schema, value) {
806
804
  this.value = this.serialize(schema, value);
807
805
  }
808
- serialize(schema$1, source) {
809
- const ns = schema.NormalizedSchema.of(schema$1);
806
+ serialize(schema, source) {
807
+ const ns = NormalizedSchema.of(schema);
810
808
  if (source == null) {
811
809
  if (ns.isIdempotencyToken()) {
812
- return serde.generateIdempotencyToken();
810
+ return generateIdempotencyToken();
813
811
  }
814
812
  return source;
815
813
  }
816
814
  if (ns.isBlobSchema()) {
817
815
  if (typeof source === "string") {
818
- return (this.serdeContext?.base64Decoder ?? serde.fromBase64)(source);
816
+ return (this.serdeContext?.base64Decoder ?? fromBase64)(source);
819
817
  }
820
818
  return source;
821
819
  }
@@ -890,26 +888,26 @@ class CborShapeSerializer extends protocols.SerdeContext {
890
888
  return buffer;
891
889
  }
892
890
  }
893
- class CborShapeDeserializer extends protocols.SerdeContext {
891
+ class CborShapeDeserializer extends SerdeContext {
894
892
  read(schema, bytes) {
895
893
  const data = cbor.deserialize(bytes);
896
894
  return this.readValue(schema, data);
897
895
  }
898
896
  readValue(_schema, value) {
899
- const ns = schema.NormalizedSchema.of(_schema);
897
+ const ns = NormalizedSchema.of(_schema);
900
898
  if (ns.isTimestampSchema()) {
901
899
  if (typeof value === "number") {
902
- return serde._parseEpochTimestamp(value);
900
+ return _parseEpochTimestamp(value);
903
901
  }
904
902
  if (typeof value === "object") {
905
903
  if (value.tag === 1 && "value" in value) {
906
- return serde._parseEpochTimestamp(value.value);
904
+ return _parseEpochTimestamp(value.value);
907
905
  }
908
906
  }
909
907
  }
910
908
  if (ns.isBlobSchema()) {
911
909
  if (typeof value === "string") {
912
- return (this.serdeContext?.base64Decoder ?? serde.fromBase64)(value);
910
+ return (this.serdeContext?.base64Decoder ?? fromBase64)(value);
913
911
  }
914
912
  return value;
915
913
  }
@@ -989,7 +987,7 @@ class CborShapeDeserializer extends protocols.SerdeContext {
989
987
  }
990
988
  }
991
989
  }
992
- else if (value instanceof serde.NumericValue) {
990
+ else if (value instanceof NumericValue) {
993
991
  return value;
994
992
  }
995
993
  return newObject;
@@ -1000,7 +998,7 @@ class CborShapeDeserializer extends protocols.SerdeContext {
1000
998
  }
1001
999
  }
1002
1000
 
1003
- class SmithyRpcV2CborProtocol extends protocols.RpcProtocol {
1001
+ class SmithyRpcV2CborProtocol extends RpcProtocol {
1004
1002
  codec = new CborCodec();
1005
1003
  serializer = this.codec.createSerializer();
1006
1004
  deserializer = this.codec.createDeserializer();
@@ -1020,7 +1018,7 @@ class SmithyRpcV2CborProtocol extends protocols.RpcProtocol {
1020
1018
  "smithy-protocol": "rpc-v2-cbor",
1021
1019
  accept: this.getDefaultContentType(),
1022
1020
  });
1023
- if (schema.deref(operationSchema.input) === "unit") {
1021
+ if (deref(operationSchema.input) === "unit") {
1024
1022
  delete request.body;
1025
1023
  delete request.headers["content-type"];
1026
1024
  }
@@ -1034,7 +1032,7 @@ class SmithyRpcV2CborProtocol extends protocols.RpcProtocol {
1034
1032
  }
1035
1033
  catch (e) { }
1036
1034
  }
1037
- const { service, operation } = client.getSmithyContext(context);
1035
+ const { service, operation } = getSmithyContext(context);
1038
1036
  const path = `/service/${service}/operation/${operation}`;
1039
1037
  if (request.path.endsWith("/")) {
1040
1038
  request.path += path.slice(1);
@@ -1058,7 +1056,7 @@ class SmithyRpcV2CborProtocol extends protocols.RpcProtocol {
1058
1056
  [namespace] = errorName.split("#");
1059
1057
  }
1060
1058
  const registry = this.compositeErrorRegistry;
1061
- const nsRegistry = schema.TypeRegistry.for(namespace);
1059
+ const nsRegistry = TypeRegistry.for(namespace);
1062
1060
  registry.copyFrom(nsRegistry);
1063
1061
  let errorSchema;
1064
1062
  try {
@@ -1068,7 +1066,7 @@ class SmithyRpcV2CborProtocol extends protocols.RpcProtocol {
1068
1066
  if (dataObject.Message) {
1069
1067
  dataObject.message = dataObject.Message;
1070
1068
  }
1071
- const syntheticRegistry = schema.TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace);
1069
+ const syntheticRegistry = TypeRegistry.for("smithy.ts.sdk.synthetic." + namespace);
1072
1070
  registry.copyFrom(syntheticRegistry);
1073
1071
  const baseExceptionSchema = registry.getBaseException();
1074
1072
  if (baseExceptionSchema) {
@@ -1077,7 +1075,7 @@ class SmithyRpcV2CborProtocol extends protocols.RpcProtocol {
1077
1075
  }
1078
1076
  throw Object.assign(new Error(errorName), errorMetadata, dataObject);
1079
1077
  }
1080
- const ns = schema.NormalizedSchema.of(errorSchema);
1078
+ const ns = NormalizedSchema.of(errorSchema);
1081
1079
  const ErrorCtor = registry.getErrorCtor(errorSchema);
1082
1080
  const message = dataObject.message ?? dataObject.Message ?? "Unknown";
1083
1081
  const exception = new ErrorCtor({});
@@ -1,6 +1,4 @@
1
- 'use strict';
2
-
3
- var serde = require('@smithy/core/serde');
1
+ const { fromUtf8 } = require("@smithy/core/serde");
4
2
 
5
3
  async function blobReader(blob, onChunk, chunkSize = 1024 * 1024) {
6
4
  const size = blob.size;
@@ -183,7 +181,7 @@ function isEmptyData(data) {
183
181
  }
184
182
  function convertToBuffer(data) {
185
183
  if (typeof data === "string") {
186
- return serde.fromUtf8(data);
184
+ return fromUtf8(data);
187
185
  }
188
186
  if (ArrayBuffer.isView(data)) {
189
187
  return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);
@@ -1,8 +1,6 @@
1
- 'use strict';
2
-
3
- var node_fs = require('node:fs');
4
- var node_stream = require('node:stream');
5
- var serde = require('@smithy/core/serde');
1
+ const { createReadStream } = require("node:fs");
2
+ const { Writable } = require("node:stream");
3
+ const { toUint8Array, fromUtf8 } = require("@smithy/core/serde");
6
4
 
7
5
  async function blobReader(blob, onChunk, chunkSize = 1024 * 1024) {
8
6
  const size = blob.size;
@@ -22,7 +20,7 @@ const blobHasher = async function blobHasher(hashCtor, blob) {
22
20
  return hash.digest();
23
21
  };
24
22
 
25
- class HashCalculator extends node_stream.Writable {
23
+ class HashCalculator extends Writable {
26
24
  hash;
27
25
  constructor(hash, options) {
28
26
  super(options);
@@ -30,7 +28,7 @@ class HashCalculator extends node_stream.Writable {
30
28
  }
31
29
  _write(chunk, encoding, callback) {
32
30
  try {
33
- this.hash.update(serde.toUint8Array(chunk));
31
+ this.hash.update(toUint8Array(chunk));
34
32
  }
35
33
  catch (err) {
36
34
  return callback(err);
@@ -44,7 +42,7 @@ const fileStreamHasher = (hashCtor, fileStream) => new Promise((resolve, reject)
44
42
  reject(new Error("Unable to calculate hash for non-file streams."));
45
43
  return;
46
44
  }
47
- const fileStreamTee = node_fs.createReadStream(fileStream.path, {
45
+ const fileStreamTee = createReadStream(fileStream.path, {
48
46
  start: fileStream.start,
49
47
  end: fileStream.end,
50
48
  });
@@ -244,7 +242,7 @@ function isEmptyData(data) {
244
242
  }
245
243
  function convertToBuffer(data) {
246
244
  if (typeof data === "string") {
247
- return serde.fromUtf8(data);
245
+ return fromUtf8(data);
248
246
  }
249
247
  if (ArrayBuffer.isView(data)) {
250
248
  return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);
@@ -1,6 +1,4 @@
1
- 'use strict';
2
-
3
- var serde = require('@smithy/core/serde');
1
+ const { fromUtf8, fromBase64 } = require("@smithy/core/serde");
4
2
 
5
3
  async function blobReader$1(blob, onChunk, chunkSize = 1024 * 1024) {
6
4
  const size = blob.size;
@@ -183,7 +181,7 @@ function isEmptyData(data) {
183
181
  }
184
182
  function convertToBuffer(data) {
185
183
  if (typeof data === "string") {
186
- return serde.fromUtf8(data);
184
+ return fromUtf8(data);
187
185
  }
188
186
  if (ArrayBuffer.isView(data)) {
189
187
  return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);
@@ -209,7 +207,7 @@ function blobReader(blob, onChunk, chunkSize = 1024 * 1024) {
209
207
  const result = event.target.result;
210
208
  const dataOffset = result.indexOf(",") + 1;
211
209
  const data = result.substring(dataOffset);
212
- const decoded = serde.fromBase64(data);
210
+ const decoded = fromBase64(data);
213
211
  onChunk(decoded);
214
212
  totalBytesRead += decoded.byteLength;
215
213
  read();