@cdklabs/cdk-ecs-codedeploy 0.0.445 → 0.0.447

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (749) hide show
  1. package/.jsii +3 -3
  2. package/lib/api-canary/index.js +1 -1
  3. package/lib/ecs-appspec/index.js +1 -1
  4. package/lib/ecs-deployment/index.js +1 -1
  5. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  6. package/node_modules/@aws/lambda-invoke-store/README.md +25 -1
  7. package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +12 -0
  8. package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +12 -0
  9. package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +6 -0
  10. package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
  11. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +4188 -578
  12. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commandBuilder.js +6 -0
  13. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/AddTagsToOnPremisesInstancesCommand.js +2 -14
  14. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationRevisionsCommand.js +2 -14
  15. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetApplicationsCommand.js +2 -14
  16. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentGroupsCommand.js +2 -14
  17. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentInstancesCommand.js +2 -14
  18. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentTargetsCommand.js +2 -14
  19. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetDeploymentsCommand.js +2 -14
  20. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/BatchGetOnPremisesInstancesCommand.js +2 -14
  21. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ContinueDeploymentCommand.js +2 -14
  22. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateApplicationCommand.js +2 -14
  23. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentCommand.js +2 -14
  24. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentConfigCommand.js +2 -14
  25. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/CreateDeploymentGroupCommand.js +2 -14
  26. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteApplicationCommand.js +2 -14
  27. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentConfigCommand.js +2 -14
  28. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteDeploymentGroupCommand.js +2 -14
  29. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteGitHubAccountTokenCommand.js +2 -14
  30. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeleteResourcesByExternalIdCommand.js +2 -14
  31. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/DeregisterOnPremisesInstanceCommand.js +2 -14
  32. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationCommand.js +2 -14
  33. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetApplicationRevisionCommand.js +2 -14
  34. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentCommand.js +2 -14
  35. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentConfigCommand.js +2 -14
  36. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentGroupCommand.js +2 -14
  37. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentInstanceCommand.js +2 -14
  38. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetDeploymentTargetCommand.js +2 -14
  39. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/GetOnPremisesInstanceCommand.js +2 -14
  40. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationRevisionsCommand.js +2 -14
  41. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListApplicationsCommand.js +2 -14
  42. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentConfigsCommand.js +2 -14
  43. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentGroupsCommand.js +2 -14
  44. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentInstancesCommand.js +2 -14
  45. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentTargetsCommand.js +2 -14
  46. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListDeploymentsCommand.js +2 -14
  47. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListGitHubAccountTokenNamesCommand.js +2 -14
  48. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListOnPremisesInstancesCommand.js +2 -14
  49. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  50. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +2 -14
  51. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterApplicationRevisionCommand.js +2 -14
  52. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RegisterOnPremisesInstanceCommand.js +2 -14
  53. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/RemoveTagsFromOnPremisesInstancesCommand.js +2 -14
  54. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/SkipWaitTimeForInstanceTerminationCommand.js +2 -14
  55. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/StopDeploymentCommand.js +2 -14
  56. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/TagResourceCommand.js +2 -14
  57. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UntagResourceCommand.js +2 -14
  58. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateApplicationCommand.js +2 -14
  59. package/node_modules/@aws-sdk/client-codedeploy/dist-es/commands/UpdateDeploymentGroupCommand.js +2 -14
  60. package/node_modules/@aws-sdk/client-codedeploy/dist-es/index.js +1 -0
  61. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.browser.js +0 -2
  62. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.js +1 -2
  63. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.native.js +0 -2
  64. package/node_modules/@aws-sdk/client-codedeploy/dist-es/runtimeConfig.shared.js +2 -0
  65. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commandBuilder.d.ts +18 -0
  66. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/AddTagsToOnPremisesInstancesCommand.d.ts +3 -8
  67. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationRevisionsCommand.d.ts +3 -8
  68. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetApplicationsCommand.d.ts +3 -8
  69. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentGroupsCommand.d.ts +3 -8
  70. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentInstancesCommand.d.ts +3 -8
  71. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentTargetsCommand.d.ts +3 -8
  72. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetDeploymentsCommand.d.ts +3 -8
  73. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/BatchGetOnPremisesInstancesCommand.d.ts +3 -8
  74. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ContinueDeploymentCommand.d.ts +3 -8
  75. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateApplicationCommand.d.ts +3 -8
  76. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentCommand.d.ts +3 -8
  77. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentConfigCommand.d.ts +3 -8
  78. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/CreateDeploymentGroupCommand.d.ts +3 -8
  79. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteApplicationCommand.d.ts +3 -8
  80. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentConfigCommand.d.ts +3 -8
  81. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteDeploymentGroupCommand.d.ts +3 -8
  82. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteGitHubAccountTokenCommand.d.ts +3 -8
  83. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeleteResourcesByExternalIdCommand.d.ts +3 -8
  84. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/DeregisterOnPremisesInstanceCommand.d.ts +3 -8
  85. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationCommand.d.ts +3 -8
  86. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetApplicationRevisionCommand.d.ts +3 -8
  87. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentCommand.d.ts +3 -8
  88. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentConfigCommand.d.ts +3 -8
  89. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentGroupCommand.d.ts +3 -8
  90. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentInstanceCommand.d.ts +3 -8
  91. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetDeploymentTargetCommand.d.ts +3 -8
  92. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/GetOnPremisesInstanceCommand.d.ts +3 -8
  93. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationRevisionsCommand.d.ts +3 -8
  94. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListApplicationsCommand.d.ts +3 -8
  95. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentConfigsCommand.d.ts +3 -8
  96. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentGroupsCommand.d.ts +3 -8
  97. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentInstancesCommand.d.ts +3 -8
  98. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentTargetsCommand.d.ts +3 -8
  99. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListDeploymentsCommand.d.ts +3 -8
  100. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListGitHubAccountTokenNamesCommand.d.ts +3 -8
  101. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListOnPremisesInstancesCommand.d.ts +3 -8
  102. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  103. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +3 -8
  104. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterApplicationRevisionCommand.d.ts +3 -8
  105. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RegisterOnPremisesInstanceCommand.d.ts +3 -8
  106. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +3 -8
  107. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +3 -8
  108. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/StopDeploymentCommand.d.ts +3 -8
  109. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/TagResourceCommand.d.ts +3 -8
  110. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  111. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateApplicationCommand.d.ts +3 -8
  112. package/node_modules/@aws-sdk/client-codedeploy/dist-types/commands/UpdateDeploymentGroupCommand.d.ts +3 -8
  113. package/node_modules/@aws-sdk/client-codedeploy/dist-types/index.d.ts +1 -0
  114. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.browser.d.ts +2 -2
  115. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.d.ts +2 -2
  116. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.native.d.ts +2 -2
  117. package/node_modules/@aws-sdk/client-codedeploy/dist-types/runtimeConfig.shared.d.ts +1 -0
  118. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  119. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/AddTagsToOnPremisesInstancesCommand.d.ts +7 -16
  120. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetApplicationRevisionsCommand.d.ts +7 -16
  121. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +7 -16
  122. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentGroupsCommand.d.ts +7 -16
  123. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +7 -16
  124. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +7 -16
  125. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +7 -16
  126. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +7 -16
  127. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ContinueDeploymentCommand.d.ts +7 -16
  128. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +7 -16
  129. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +7 -16
  130. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentConfigCommand.d.ts +7 -16
  131. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/CreateDeploymentGroupCommand.d.ts +7 -16
  132. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +7 -16
  133. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +7 -16
  134. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteDeploymentGroupCommand.d.ts +7 -16
  135. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteGitHubAccountTokenCommand.d.ts +7 -16
  136. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeleteResourcesByExternalIdCommand.d.ts +7 -16
  137. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/DeregisterOnPremisesInstanceCommand.d.ts +7 -16
  138. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +7 -16
  139. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetApplicationRevisionCommand.d.ts +7 -16
  140. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +7 -16
  141. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentConfigCommand.d.ts +7 -16
  142. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentGroupCommand.d.ts +7 -16
  143. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentInstanceCommand.d.ts +7 -16
  144. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetDeploymentTargetCommand.d.ts +7 -16
  145. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/GetOnPremisesInstanceCommand.d.ts +7 -16
  146. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListApplicationRevisionsCommand.d.ts +7 -16
  147. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +7 -16
  148. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentConfigsCommand.d.ts +7 -16
  149. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +7 -16
  150. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +7 -16
  151. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentTargetsCommand.d.ts +7 -16
  152. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +7 -16
  153. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListGitHubAccountTokenNamesCommand.d.ts +7 -16
  154. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +7 -16
  155. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  156. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +7 -16
  157. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +7 -16
  158. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +7 -16
  159. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +7 -16
  160. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +7 -16
  161. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +7 -16
  162. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  163. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  164. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +7 -16
  165. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/commands/UpdateDeploymentGroupCommand.d.ts +7 -16
  166. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/index.d.ts +1 -0
  167. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
  168. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
  169. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
  170. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  171. package/node_modules/@aws-sdk/client-codedeploy/package.json +8 -10
  172. package/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +1 -3
  173. package/node_modules/@aws-sdk/core/client.d.ts +1 -3
  174. package/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +1 -3
  175. package/node_modules/@aws-sdk/core/package.json +10 -17
  176. package/node_modules/@aws-sdk/core/protocols.d.ts +1 -3
  177. package/node_modules/@aws-sdk/core/util.d.ts +1 -3
  178. package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
  179. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js +172 -1
  180. package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -10
  181. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  182. package/node_modules/@aws-sdk/credential-provider-login/package.json +6 -6
  183. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  184. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  185. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  186. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +58 -3
  187. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -8
  188. package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +1 -3
  189. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +13 -25
  190. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +13 -17
  191. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +12 -15
  192. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +12 -15
  193. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +13 -25
  194. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commandBuilder.js +6 -0
  195. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js +2 -14
  196. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js +2 -14
  197. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js +1 -0
  198. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +0 -2
  199. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +1 -2
  200. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.native.js +0 -2
  201. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +2 -0
  202. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commandBuilder.js +8 -0
  203. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +2 -17
  204. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js +1 -0
  205. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +0 -2
  206. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +1 -2
  207. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.native.js +0 -2
  208. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +2 -0
  209. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commandBuilder.js +6 -0
  210. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js +2 -14
  211. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/index.js +1 -0
  212. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +0 -2
  213. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +1 -2
  214. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js +0 -2
  215. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js +2 -0
  216. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commandBuilder.js +6 -0
  217. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +2 -14
  218. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js +1 -0
  219. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +0 -2
  220. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +1 -2
  221. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.native.js +0 -2
  222. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +2 -0
  223. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commandBuilder.js +6 -0
  224. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +2 -14
  225. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +2 -14
  226. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js +1 -0
  227. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +0 -2
  228. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +1 -2
  229. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.native.js +0 -2
  230. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +2 -0
  231. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commandBuilder.d.ts +18 -0
  232. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +3 -8
  233. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +3 -8
  234. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +1 -0
  235. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -2
  236. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +2 -2
  237. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -2
  238. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -0
  239. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commandBuilder.d.ts +18 -0
  240. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +3 -8
  241. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -0
  242. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +2 -2
  243. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +2 -2
  244. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +2 -2
  245. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +1 -0
  246. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commandBuilder.d.ts +18 -0
  247. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +3 -8
  248. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/index.d.ts +1 -0
  249. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +2 -2
  250. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +2 -2
  251. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +2 -2
  252. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +1 -0
  253. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commandBuilder.d.ts +18 -0
  254. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -8
  255. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +1 -0
  256. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -2
  257. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +2 -2
  258. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -2
  259. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -0
  260. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commandBuilder.d.ts +18 -0
  261. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleCommand.d.ts +3 -8
  262. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +3 -8
  263. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +1 -0
  264. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +2 -2
  265. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +2 -2
  266. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +2 -2
  267. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -0
  268. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commandBuilder.d.ts +46 -0
  269. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +7 -16
  270. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +7 -16
  271. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +1 -0
  272. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +8 -2
  273. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +8 -2
  274. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +8 -2
  275. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -0
  276. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commandBuilder.d.ts +42 -0
  277. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +3 -8
  278. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts +1 -0
  279. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +8 -2
  280. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +8 -2
  281. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +8 -2
  282. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +1 -0
  283. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commandBuilder.d.ts +42 -0
  284. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +3 -8
  285. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/index.d.ts +1 -0
  286. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +8 -2
  287. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +8 -2
  288. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +8 -2
  289. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +1 -0
  290. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commandBuilder.d.ts +42 -0
  291. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +3 -8
  292. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +1 -0
  293. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +8 -2
  294. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +8 -2
  295. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +8 -2
  296. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -0
  297. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commandBuilder.d.ts +46 -0
  298. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleCommand.d.ts +7 -16
  299. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.d.ts +7 -16
  300. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts +1 -0
  301. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +8 -2
  302. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +8 -2
  303. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +8 -2
  304. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +1 -0
  305. package/node_modules/@aws-sdk/nested-clients/package.json +8 -10
  306. package/node_modules/@aws-sdk/nested-clients/signin.d.ts +1 -3
  307. package/node_modules/@aws-sdk/nested-clients/sso-oidc.d.ts +1 -3
  308. package/node_modules/@aws-sdk/nested-clients/sso.d.ts +1 -3
  309. package/node_modules/@aws-sdk/nested-clients/sts.d.ts +1 -3
  310. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  311. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  312. package/node_modules/@aws-sdk/types/package.json +2 -2
  313. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +236 -3
  314. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +1 -1
  315. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +233 -43
  316. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -1
  317. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +2 -1
  318. package/node_modules/@aws-sdk/xml-builder/package.json +6 -7
  319. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.browser.js +358 -145
  320. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.js +462 -142
  321. package/node_modules/@smithy/core/dist-cjs/submodules/checksum/index.native.js +358 -145
  322. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +18 -0
  323. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +108 -63
  324. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +11 -8
  325. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +11 -8
  326. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +5 -2
  327. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +30 -36
  328. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +85 -137
  329. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +30 -36
  330. package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Js.js +30 -0
  331. package/node_modules/@smithy/core/dist-es/submodules/checksum/crc32/Crc32Node.js +24 -0
  332. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.browser.js +7 -1
  333. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.js +7 -1
  334. package/node_modules/@smithy/core/dist-es/submodules/checksum/index.native.js +7 -1
  335. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Js.js +92 -0
  336. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5/Md5Node.js +29 -0
  337. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Js.js +179 -0
  338. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256Node.js +59 -0
  339. package/node_modules/@smithy/core/dist-es/submodules/checksum/sha256/Sha256WebCrypto.js +71 -0
  340. package/node_modules/@smithy/core/dist-es/submodules/client/index.js +1 -0
  341. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/client-command-builder.js +17 -0
  342. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/config.js +6 -1
  343. package/node_modules/@smithy/core/dist-es/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.js +92 -0
  344. package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/constants.js +3 -0
  345. package/node_modules/@smithy/core/dist-es/submodules/config/defaults-mode/resolveDefaultsModeConfig.js +3 -56
  346. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/EventStreamCodec.js +5 -3
  347. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/splitMessage.js +7 -6
  348. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -1
  349. package/node_modules/@smithy/core/dist-es/submodules/serde/concatBytes.js +15 -0
  350. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +2 -0
  351. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +2 -0
  352. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +2 -0
  353. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/checksum/ChecksumStream.js +35 -27
  354. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/headStream.js +2 -1
  355. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js +12 -38
  356. package/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js +18 -33
  357. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.browser.js +3 -0
  358. package/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js +3 -0
  359. package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Js.d.ts +18 -0
  360. package/node_modules/@smithy/core/dist-types/submodules/checksum/crc32/Crc32Node.d.ts +18 -0
  361. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.browser.d.ts +7 -1
  362. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.d.ts +7 -1
  363. package/node_modules/@smithy/core/dist-types/submodules/checksum/index.native.d.ts +7 -1
  364. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Js.d.ts +19 -0
  365. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5/Md5Node.d.ts +17 -0
  366. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Js.d.ts +28 -0
  367. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256Node.d.ts +13 -0
  368. package/node_modules/@smithy/core/dist-types/submodules/checksum/sha256/Sha256WebCrypto.d.ts +22 -0
  369. package/node_modules/@smithy/core/dist-types/submodules/client/index.d.ts +1 -0
  370. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/client-command-builder.d.ts +22 -0
  371. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/command.d.ts +5 -6
  372. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/getInstanceMetadataRegion.d.ts +7 -0
  373. package/node_modules/@smithy/core/dist-types/submodules/config/defaults-mode/constants.d.ts +12 -0
  374. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.browser.d.ts +4 -5
  375. package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +4 -5
  376. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.d.ts +3 -4
  377. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/endpointMiddleware.d.ts +1 -2
  378. package/node_modules/@smithy/core/dist-types/submodules/endpoints/middleware-endpoint/getEndpointPlugin.d.ts +1 -2
  379. package/node_modules/@smithy/core/dist-types/submodules/serde/concatBytes.d.ts +6 -0
  380. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +2 -0
  381. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +2 -0
  382. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +2 -0
  383. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/checksum/ChecksumStream.d.ts +29 -12
  384. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.browser.d.ts +8 -2
  385. package/node_modules/@smithy/core/dist-types/submodules/serde/util-stream/stream-collector.d.ts +4 -1
  386. package/node_modules/@smithy/core/package.json +5 -5
  387. package/node_modules/@smithy/credential-provider-imds/package.json +3 -3
  388. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -55
  389. package/node_modules/@smithy/fetch-http-handler/dist-es/index.js +2 -2
  390. package/node_modules/@smithy/fetch-http-handler/dist-types/index.d.ts +2 -2
  391. package/node_modules/@smithy/fetch-http-handler/package.json +4 -4
  392. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +3 -51
  393. package/node_modules/@smithy/node-http-handler/dist-es/index.js +3 -3
  394. package/node_modules/@smithy/node-http-handler/dist-types/index.d.ts +3 -3
  395. package/node_modules/@smithy/node-http-handler/package.json +4 -4
  396. package/node_modules/@smithy/signature-v4/package.json +3 -4
  397. package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
  398. package/node_modules/@smithy/types/package.json +1 -1
  399. package/package.json +2 -2
  400. package/node_modules/@aws-crypto/crc32/CHANGELOG.md +0 -100
  401. package/node_modules/@aws-crypto/crc32/LICENSE +0 -201
  402. package/node_modules/@aws-crypto/crc32/README.md +0 -16
  403. package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.d.ts +0 -7
  404. package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js +0 -31
  405. package/node_modules/@aws-crypto/crc32/build/main/aws_crc32.js.map +0 -1
  406. package/node_modules/@aws-crypto/crc32/build/main/index.d.ts +0 -7
  407. package/node_modules/@aws-crypto/crc32/build/main/index.js +0 -108
  408. package/node_modules/@aws-crypto/crc32/build/main/index.js.map +0 -1
  409. package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.d.ts +0 -7
  410. package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js +0 -28
  411. package/node_modules/@aws-crypto/crc32/build/module/aws_crc32.js.map +0 -1
  412. package/node_modules/@aws-crypto/crc32/build/module/index.d.ts +0 -7
  413. package/node_modules/@aws-crypto/crc32/build/module/index.js +0 -103
  414. package/node_modules/@aws-crypto/crc32/build/module/index.js.map +0 -1
  415. package/node_modules/@aws-crypto/crc32/package.json +0 -32
  416. package/node_modules/@aws-crypto/crc32/src/aws_crc32.ts +0 -24
  417. package/node_modules/@aws-crypto/crc32/src/index.ts +0 -92
  418. package/node_modules/@aws-crypto/crc32/tsconfig.json +0 -9
  419. package/node_modules/@aws-crypto/crc32/tsconfig.module.json +0 -7
  420. package/node_modules/@aws-crypto/sha256-browser/CHANGELOG.md +0 -118
  421. package/node_modules/@aws-crypto/sha256-browser/LICENSE +0 -202
  422. package/node_modules/@aws-crypto/sha256-browser/README.md +0 -31
  423. package/node_modules/@aws-crypto/sha256-browser/build/main/constants.d.ts +0 -10
  424. package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js +0 -43
  425. package/node_modules/@aws-crypto/sha256-browser/build/main/constants.js.map +0 -1
  426. package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.d.ts +0 -8
  427. package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js +0 -30
  428. package/node_modules/@aws-crypto/sha256-browser/build/main/crossPlatformSha256.js.map +0 -1
  429. package/node_modules/@aws-crypto/sha256-browser/build/main/index.d.ts +0 -2
  430. package/node_modules/@aws-crypto/sha256-browser/build/main/index.js +0 -8
  431. package/node_modules/@aws-crypto/sha256-browser/build/main/index.js.map +0 -1
  432. package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.d.ts +0 -2
  433. package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js +0 -11
  434. package/node_modules/@aws-crypto/sha256-browser/build/main/isEmptyData.js.map +0 -1
  435. package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.d.ts +0 -10
  436. package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js +0 -56
  437. package/node_modules/@aws-crypto/sha256-browser/build/main/webCryptoSha256.js.map +0 -1
  438. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.d.ts +0 -10
  439. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js +0 -40
  440. package/node_modules/@aws-crypto/sha256-browser/build/module/constants.js.map +0 -1
  441. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.d.ts +0 -8
  442. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js +0 -27
  443. package/node_modules/@aws-crypto/sha256-browser/build/module/crossPlatformSha256.js.map +0 -1
  444. package/node_modules/@aws-crypto/sha256-browser/build/module/index.d.ts +0 -2
  445. package/node_modules/@aws-crypto/sha256-browser/build/module/index.js +0 -3
  446. package/node_modules/@aws-crypto/sha256-browser/build/module/index.js.map +0 -1
  447. package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.d.ts +0 -2
  448. package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js +0 -7
  449. package/node_modules/@aws-crypto/sha256-browser/build/module/isEmptyData.js.map +0 -1
  450. package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.d.ts +0 -10
  451. package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js +0 -53
  452. package/node_modules/@aws-crypto/sha256-browser/build/module/webCryptoSha256.js.map +0 -1
  453. package/node_modules/@aws-crypto/sha256-browser/package.json +0 -33
  454. package/node_modules/@aws-crypto/sha256-browser/src/constants.ts +0 -41
  455. package/node_modules/@aws-crypto/sha256-browser/src/crossPlatformSha256.ts +0 -30
  456. package/node_modules/@aws-crypto/sha256-browser/src/index.ts +0 -2
  457. package/node_modules/@aws-crypto/sha256-browser/src/isEmptyData.ts +0 -9
  458. package/node_modules/@aws-crypto/sha256-browser/src/webCryptoSha256.ts +0 -71
  459. package/node_modules/@aws-crypto/sha256-browser/tsconfig.json +0 -10
  460. package/node_modules/@aws-crypto/sha256-browser/tsconfig.module.json +0 -7
  461. package/node_modules/@aws-crypto/sha256-js/CHANGELOG.md +0 -106
  462. package/node_modules/@aws-crypto/sha256-js/LICENSE +0 -201
  463. package/node_modules/@aws-crypto/sha256-js/README.md +0 -29
  464. package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.d.ts +0 -17
  465. package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js +0 -124
  466. package/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js.map +0 -1
  467. package/node_modules/@aws-crypto/sha256-js/build/main/constants.d.ts +0 -20
  468. package/node_modules/@aws-crypto/sha256-js/build/main/constants.js +0 -98
  469. package/node_modules/@aws-crypto/sha256-js/build/main/constants.js.map +0 -1
  470. package/node_modules/@aws-crypto/sha256-js/build/main/index.d.ts +0 -1
  471. package/node_modules/@aws-crypto/sha256-js/build/main/index.js +0 -5
  472. package/node_modules/@aws-crypto/sha256-js/build/main/index.js.map +0 -1
  473. package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.d.ts +0 -12
  474. package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js +0 -85
  475. package/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js.map +0 -1
  476. package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.d.ts +0 -5
  477. package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js +0 -322
  478. package/node_modules/@aws-crypto/sha256-js/build/main/knownHashes.fixture.js.map +0 -1
  479. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.d.ts +0 -17
  480. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js +0 -121
  481. package/node_modules/@aws-crypto/sha256-js/build/module/RawSha256.js.map +0 -1
  482. package/node_modules/@aws-crypto/sha256-js/build/module/constants.d.ts +0 -20
  483. package/node_modules/@aws-crypto/sha256-js/build/module/constants.js +0 -95
  484. package/node_modules/@aws-crypto/sha256-js/build/module/constants.js.map +0 -1
  485. package/node_modules/@aws-crypto/sha256-js/build/module/index.d.ts +0 -1
  486. package/node_modules/@aws-crypto/sha256-js/build/module/index.js +0 -2
  487. package/node_modules/@aws-crypto/sha256-js/build/module/index.js.map +0 -1
  488. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.d.ts +0 -12
  489. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js +0 -82
  490. package/node_modules/@aws-crypto/sha256-js/build/module/jsSha256.js.map +0 -1
  491. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.d.ts +0 -5
  492. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js +0 -319
  493. package/node_modules/@aws-crypto/sha256-js/build/module/knownHashes.fixture.js.map +0 -1
  494. package/node_modules/@aws-crypto/sha256-js/package.json +0 -32
  495. package/node_modules/@aws-crypto/sha256-js/src/RawSha256.ts +0 -164
  496. package/node_modules/@aws-crypto/sha256-js/src/constants.ts +0 -98
  497. package/node_modules/@aws-crypto/sha256-js/src/index.ts +0 -1
  498. package/node_modules/@aws-crypto/sha256-js/src/jsSha256.ts +0 -94
  499. package/node_modules/@aws-crypto/sha256-js/src/knownHashes.fixture.ts +0 -401
  500. package/node_modules/@aws-crypto/sha256-js/tsconfig.json +0 -10
  501. package/node_modules/@aws-crypto/sha256-js/tsconfig.module.json +0 -7
  502. package/node_modules/@aws-crypto/supports-web-crypto/CHANGELOG.md +0 -66
  503. package/node_modules/@aws-crypto/supports-web-crypto/LICENSE +0 -202
  504. package/node_modules/@aws-crypto/supports-web-crypto/README.md +0 -32
  505. package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.d.ts +0 -1
  506. package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js +0 -5
  507. package/node_modules/@aws-crypto/supports-web-crypto/build/main/index.js.map +0 -1
  508. package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.d.ts +0 -4
  509. package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js +0 -69
  510. package/node_modules/@aws-crypto/supports-web-crypto/build/main/supportsWebCrypto.js.map +0 -1
  511. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.d.ts +0 -1
  512. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js +0 -2
  513. package/node_modules/@aws-crypto/supports-web-crypto/build/module/index.js.map +0 -1
  514. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.d.ts +0 -4
  515. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js +0 -62
  516. package/node_modules/@aws-crypto/supports-web-crypto/build/module/supportsWebCrypto.js.map +0 -1
  517. package/node_modules/@aws-crypto/supports-web-crypto/package.json +0 -28
  518. package/node_modules/@aws-crypto/supports-web-crypto/src/index.ts +0 -1
  519. package/node_modules/@aws-crypto/supports-web-crypto/src/supportsWebCrypto.ts +0 -76
  520. package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.json +0 -10
  521. package/node_modules/@aws-crypto/supports-web-crypto/tsconfig.module.json +0 -7
  522. package/node_modules/@aws-crypto/util/CHANGELOG.md +0 -71
  523. package/node_modules/@aws-crypto/util/LICENSE +0 -201
  524. package/node_modules/@aws-crypto/util/README.md +0 -16
  525. package/node_modules/@aws-crypto/util/build/main/convertToBuffer.d.ts +0 -2
  526. package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js +0 -24
  527. package/node_modules/@aws-crypto/util/build/main/convertToBuffer.js.map +0 -1
  528. package/node_modules/@aws-crypto/util/build/main/index.d.ts +0 -4
  529. package/node_modules/@aws-crypto/util/build/main/index.js +0 -14
  530. package/node_modules/@aws-crypto/util/build/main/index.js.map +0 -1
  531. package/node_modules/@aws-crypto/util/build/main/isEmptyData.d.ts +0 -2
  532. package/node_modules/@aws-crypto/util/build/main/isEmptyData.js +0 -13
  533. package/node_modules/@aws-crypto/util/build/main/isEmptyData.js.map +0 -1
  534. package/node_modules/@aws-crypto/util/build/main/numToUint8.d.ts +0 -1
  535. package/node_modules/@aws-crypto/util/build/main/numToUint8.js +0 -15
  536. package/node_modules/@aws-crypto/util/build/main/numToUint8.js.map +0 -1
  537. package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.d.ts +0 -1
  538. package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js +0 -20
  539. package/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js.map +0 -1
  540. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.d.ts +0 -2
  541. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js +0 -20
  542. package/node_modules/@aws-crypto/util/build/module/convertToBuffer.js.map +0 -1
  543. package/node_modules/@aws-crypto/util/build/module/index.d.ts +0 -4
  544. package/node_modules/@aws-crypto/util/build/module/index.js +0 -7
  545. package/node_modules/@aws-crypto/util/build/module/index.js.map +0 -1
  546. package/node_modules/@aws-crypto/util/build/module/isEmptyData.d.ts +0 -2
  547. package/node_modules/@aws-crypto/util/build/module/isEmptyData.js +0 -9
  548. package/node_modules/@aws-crypto/util/build/module/isEmptyData.js.map +0 -1
  549. package/node_modules/@aws-crypto/util/build/module/numToUint8.d.ts +0 -1
  550. package/node_modules/@aws-crypto/util/build/module/numToUint8.js +0 -11
  551. package/node_modules/@aws-crypto/util/build/module/numToUint8.js.map +0 -1
  552. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.d.ts +0 -1
  553. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js +0 -16
  554. package/node_modules/@aws-crypto/util/build/module/uint32ArrayFrom.js.map +0 -1
  555. package/node_modules/@aws-crypto/util/package.json +0 -32
  556. package/node_modules/@aws-crypto/util/src/convertToBuffer.ts +0 -30
  557. package/node_modules/@aws-crypto/util/src/index.ts +0 -7
  558. package/node_modules/@aws-crypto/util/src/isEmptyData.ts +0 -12
  559. package/node_modules/@aws-crypto/util/src/numToUint8.ts +0 -11
  560. package/node_modules/@aws-crypto/util/src/uint32ArrayFrom.ts +0 -16
  561. package/node_modules/@aws-crypto/util/tsconfig.json +0 -9
  562. package/node_modules/@aws-crypto/util/tsconfig.module.json +0 -7
  563. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
  564. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/bdd.js +0 -46
  565. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/endpoint/endpointResolver.js +0 -14
  566. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/CodeDeployServiceException.js +0 -8
  567. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/models/errors.js +0 -1321
  568. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.browser.js +0 -32
  569. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.js +0 -45
  570. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.native.js +0 -12
  571. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/runtimeConfig.shared.js +0 -39
  572. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/schemas/schemas_0.js +0 -2398
  573. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.browser.js +0 -869
  574. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.native.js +0 -862
  575. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js +0 -42
  576. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.browser.js +0 -27
  577. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +0 -71
  578. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js +0 -49
  579. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js +0 -13
  580. package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.browser.js +0 -2
  581. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +0 -29
  582. package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js +0 -25
  583. package/node_modules/@aws-sdk/util-locate-window/LICENSE +0 -201
  584. package/node_modules/@aws-sdk/util-locate-window/README.md +0 -4
  585. package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +0 -12
  586. package/node_modules/@aws-sdk/util-locate-window/dist-es/index.js +0 -10
  587. package/node_modules/@aws-sdk/util-locate-window/dist-types/index.d.ts +0 -6
  588. package/node_modules/@aws-sdk/util-locate-window/dist-types/ts3.4/index.d.ts +0 -1
  589. package/node_modules/@aws-sdk/util-locate-window/package.json +0 -54
  590. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-external/nodable_entities.js +0 -333
  591. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.browser.js +0 -57
  592. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +0 -44
  593. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-external/nodable_entities.js +0 -332
  594. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-external/nodable_entities.d.ts +0 -66
  595. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-external/nodable_entities.d.ts +0 -65
  596. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +0 -827
  597. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/LICENSE +0 -21
  598. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +0 -202
  599. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +0 -2
  600. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +0 -1
  601. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +0 -1
  602. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +0 -770
  603. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +0 -2
  604. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +0 -1
  605. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +0 -2
  606. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +0 -1
  607. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +0 -2
  608. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +0 -1
  609. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +0 -93
  610. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/cli.js +0 -97
  611. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/man.js +0 -17
  612. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/cli/read.js +0 -43
  613. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +0 -739
  614. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +0 -14
  615. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/ignoreAttributes.js +0 -18
  616. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +0 -61
  617. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/CharsSymbol.js +0 -16
  618. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +0 -106
  619. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +0 -61
  620. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +0 -69
  621. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +0 -103
  622. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +0 -100
  623. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +0 -154
  624. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +0 -94
  625. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/Report.js +0 -0
  626. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/TagPath.js +0 -81
  627. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/TagPathMatcher.js +0 -13
  628. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +0 -83
  629. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/Xml2JsParser.js +0 -235
  630. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XmlPartReader.js +0 -210
  631. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XmlSpecialTagsReader.js +0 -111
  632. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/inputSource/BufferSource.js +0 -116
  633. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/inputSource/StringSource.js +0 -121
  634. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +0 -105
  635. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParser.js +0 -22
  636. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/booleanParserExt.js +0 -19
  637. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/currency.js +0 -38
  638. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/join.js +0 -13
  639. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/number.js +0 -14
  640. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/trim.js +0 -6
  641. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +0 -425
  642. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +0 -6
  643. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +0 -407
  644. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +0 -163
  645. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +0 -840
  646. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +0 -71
  647. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +0 -177
  648. package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +0 -40
  649. package/node_modules/@nodable/entities/README.md +0 -41
  650. package/node_modules/@nodable/entities/package.json +0 -57
  651. package/node_modules/@nodable/entities/src/EntityDecoder.js +0 -644
  652. package/node_modules/@nodable/entities/src/EntityEncoder.js +0 -194
  653. package/node_modules/@nodable/entities/src/entities.js +0 -1159
  654. package/node_modules/@nodable/entities/src/entityTries.js +0 -49
  655. package/node_modules/@nodable/entities/src/index.d.ts +0 -341
  656. package/node_modules/@nodable/entities/src/index.js +0 -29
  657. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/constants.js +0 -3
  658. package/node_modules/@smithy/core/dist-es/submodules/checksum/md5-js/md5.js +0 -168
  659. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/constants.d.ts +0 -12
  660. package/node_modules/@smithy/core/dist-types/submodules/checksum/md5-js/md5.d.ts +0 -16
  661. package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +0 -53
  662. package/node_modules/@smithy/fetch-http-handler/dist-types/stream-collector.d.ts +0 -2
  663. package/node_modules/@smithy/is-array-buffer/LICENSE +0 -201
  664. package/node_modules/@smithy/is-array-buffer/README.md +0 -10
  665. package/node_modules/@smithy/is-array-buffer/dist-cjs/index.js +0 -32
  666. package/node_modules/@smithy/is-array-buffer/dist-es/index.js +0 -2
  667. package/node_modules/@smithy/is-array-buffer/dist-types/index.d.ts +0 -4
  668. package/node_modules/@smithy/is-array-buffer/dist-types/ts3.4/index.d.ts +0 -4
  669. package/node_modules/@smithy/is-array-buffer/package.json +0 -60
  670. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +0 -8
  671. package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/index.js +0 -41
  672. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +0 -5
  673. package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/index.d.ts +0 -7
  674. package/node_modules/@smithy/util-buffer-from/LICENSE +0 -201
  675. package/node_modules/@smithy/util-buffer-from/README.md +0 -10
  676. package/node_modules/@smithy/util-buffer-from/dist-cjs/index.js +0 -47
  677. package/node_modules/@smithy/util-buffer-from/dist-es/index.js +0 -14
  678. package/node_modules/@smithy/util-buffer-from/dist-types/index.d.ts +0 -13
  679. package/node_modules/@smithy/util-buffer-from/dist-types/ts3.4/index.d.ts +0 -13
  680. package/node_modules/@smithy/util-buffer-from/package.json +0 -61
  681. package/node_modules/@smithy/util-utf8/LICENSE +0 -201
  682. package/node_modules/@smithy/util-utf8/README.md +0 -4
  683. package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.browser.js +0 -1
  684. package/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js +0 -1
  685. package/node_modules/@smithy/util-utf8/dist-cjs/index.js +0 -65
  686. package/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js +0 -1
  687. package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.browser.js +0 -1
  688. package/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js +0 -1
  689. package/node_modules/@smithy/util-utf8/dist-es/fromUtf8.browser.js +0 -1
  690. package/node_modules/@smithy/util-utf8/dist-es/fromUtf8.js +0 -5
  691. package/node_modules/@smithy/util-utf8/dist-es/index.js +0 -3
  692. package/node_modules/@smithy/util-utf8/dist-es/toUint8Array.js +0 -10
  693. package/node_modules/@smithy/util-utf8/dist-es/toUtf8.browser.js +0 -9
  694. package/node_modules/@smithy/util-utf8/dist-es/toUtf8.js +0 -10
  695. package/node_modules/@smithy/util-utf8/dist-types/fromUtf8.browser.d.ts +0 -1
  696. package/node_modules/@smithy/util-utf8/dist-types/fromUtf8.d.ts +0 -1
  697. package/node_modules/@smithy/util-utf8/dist-types/index.d.ts +0 -3
  698. package/node_modules/@smithy/util-utf8/dist-types/toUint8Array.d.ts +0 -1
  699. package/node_modules/@smithy/util-utf8/dist-types/toUtf8.browser.d.ts +0 -7
  700. package/node_modules/@smithy/util-utf8/dist-types/toUtf8.d.ts +0 -7
  701. package/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.browser.d.ts +0 -1
  702. package/node_modules/@smithy/util-utf8/dist-types/ts3.4/fromUtf8.d.ts +0 -1
  703. package/node_modules/@smithy/util-utf8/dist-types/ts3.4/index.d.ts +0 -3
  704. package/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUint8Array.d.ts +0 -1
  705. package/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.browser.d.ts +0 -7
  706. package/node_modules/@smithy/util-utf8/dist-types/ts3.4/toUtf8.d.ts +0 -7
  707. package/node_modules/@smithy/util-utf8/package.json +0 -66
  708. package/node_modules/anynum/LICENSE +0 -21
  709. package/node_modules/anynum/README.md +0 -142
  710. package/node_modules/anynum/anynum.js +0 -135
  711. package/node_modules/anynum/digitTable.js +0 -116
  712. package/node_modules/anynum/package.json +0 -42
  713. package/node_modules/fast-xml-builder/CHANGELOG.md +0 -40
  714. package/node_modules/fast-xml-builder/LICENSE +0 -21
  715. package/node_modules/fast-xml-builder/README.md +0 -74
  716. package/node_modules/fast-xml-builder/lib/fxb.cjs +0 -1
  717. package/node_modules/fast-xml-builder/lib/fxb.d.cts +0 -270
  718. package/node_modules/fast-xml-builder/lib/fxb.min.js +0 -2
  719. package/node_modules/fast-xml-builder/lib/fxb.min.js.map +0 -1
  720. package/node_modules/fast-xml-builder/package.json +0 -81
  721. package/node_modules/fast-xml-builder/src/fxb.d.ts +0 -270
  722. package/node_modules/fast-xml-builder/src/fxb.js +0 -599
  723. package/node_modules/fast-xml-builder/src/ignoreAttributes.js +0 -18
  724. package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +0 -359
  725. package/node_modules/fast-xml-builder/src/prettifyJs2Xml.js +0 -0
  726. package/node_modules/fast-xml-builder/src/util.js +0 -16
  727. package/node_modules/path-expression-matcher/LICENSE +0 -21
  728. package/node_modules/path-expression-matcher/README.md +0 -947
  729. package/node_modules/path-expression-matcher/lib/pem.cjs +0 -1
  730. package/node_modules/path-expression-matcher/lib/pem.d.cts +0 -715
  731. package/node_modules/path-expression-matcher/lib/pem.min.js +0 -2
  732. package/node_modules/path-expression-matcher/lib/pem.min.js.map +0 -1
  733. package/node_modules/path-expression-matcher/package.json +0 -79
  734. package/node_modules/path-expression-matcher/src/Expression.js +0 -232
  735. package/node_modules/path-expression-matcher/src/ExpressionSet.js +0 -225
  736. package/node_modules/path-expression-matcher/src/Matcher.js +0 -660
  737. package/node_modules/path-expression-matcher/src/index.d.ts +0 -589
  738. package/node_modules/path-expression-matcher/src/index.js +0 -29
  739. package/node_modules/strnum/CHANGELOG.md +0 -51
  740. package/node_modules/strnum/LICENSE +0 -21
  741. package/node_modules/strnum/README.md +0 -113
  742. package/node_modules/strnum/package.json +0 -36
  743. package/node_modules/strnum/strnum.js +0 -171
  744. package/node_modules/xml-naming/README.md +0 -189
  745. package/node_modules/xml-naming/package.json +0 -54
  746. package/node_modules/xml-naming/src/index.d.ts +0 -74
  747. package/node_modules/xml-naming/src/index.js +0 -270
  748. /package/node_modules/@smithy/{core/dist-es/submodules/endpoints/middleware-endpoint/types.js → types/dist-es/endpoints/EndpointParameterInstructions.js} +0 -0
  749. /package/node_modules/@smithy/{core/dist-types/submodules/endpoints/middleware-endpoint/types.d.ts → types/dist-types/endpoints/EndpointParameterInstructions.d.ts} +0 -0
@@ -1,644 +0,0 @@
1
- // ---------------------------------------------------------------------------
2
- // Built-in named entity map (name → replacement string)
3
- // No regex, no {regex,val} objects — just flat key/value pairs.
4
- // ---------------------------------------------------------------------------
5
-
6
- import { XML as DEFAULT_XML_ENTITIES } from "./entities.js"
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
-
32
- // ---------------------------------------------------------------------------
33
- // Helpers
34
- // ---------------------------------------------------------------------------
35
-
36
- const SPECIAL_CHARS = new Set('!?\\\\/[]$%{}^&*()<>|+');
37
-
38
- /**
39
- * Validate that an entity name contains no dangerous characters.
40
- * @param {string} name
41
- * @returns {string} the name, unchanged
42
- * @throws {Error} on invalid characters
43
- */
44
- function validateEntityName(name) {
45
- if (name[0] === '#') {
46
- throw new Error(`[EntityReplacer] Invalid character '#' in entity name: "${name}"`);
47
- }
48
- for (const ch of name) {
49
- if (SPECIAL_CHARS.has(ch)) {
50
- throw new Error(`[EntityReplacer] Invalid character '${ch}' in entity name: "${name}"`);
51
- }
52
- }
53
- return name;
54
- }
55
-
56
- /**
57
- * Merge one or more entity maps into a flat name→string map.
58
- * Accepts either:
59
- * - plain string values: { amp: '&' }
60
- * - legacy {regex,val} / {regx,val}: { lt: { regex: /.../, val: '<' } }
61
- *
62
- * Values containing '&' are skipped (recursive expansion risk).
63
- *
64
- * @param {...object} maps
65
- * @returns {Record<string, string>}
66
- */
67
- function mergeEntityMaps(...maps) {
68
- const out = Object.create(null);
69
- for (const map of maps) {
70
- if (!map) continue;
71
- for (const key of Object.keys(map)) {
72
- const raw = map[key];
73
- if (typeof raw === 'string') {
74
- out[key] = raw;
75
- } else if (raw && typeof raw === 'object' && raw.val !== undefined) {
76
- // Legacy {regex,val} or {regx,val} — extract the string val only
77
- const val = raw.val;
78
- if (typeof val === 'string') {
79
- out[key] = val;
80
- }
81
- // function vals are not supported in the scanner — skip
82
- }
83
- }
84
- }
85
- return out;
86
- }
87
-
88
- // ---------------------------------------------------------------------------
89
- // applyLimitsTo helpers
90
- // ---------------------------------------------------------------------------
91
-
92
- const LIMIT_TIER_EXTERNAL = 'external'; // input/runtime + persistent external maps
93
- const LIMIT_TIER_BASE = 'base'; // DEFAULT_XML_ENTITIES + namedEntities (system) maps
94
- const LIMIT_TIER_ALL = 'all'; // every entity regardless of tier
95
-
96
- /**
97
- * Resolve `applyLimitsTo` option into a normalised Set of tier strings.
98
- * Accepted values: 'external' | 'base' | 'all' | string[]
99
- * Default: 'external' (only untrusted injected entities are counted).
100
- * @param {string|string[]|undefined} raw
101
- * @returns {Set<string>}
102
- */
103
- function parseLimitTiers(raw) {
104
- if (!raw || raw === LIMIT_TIER_EXTERNAL) return new Set([LIMIT_TIER_EXTERNAL]);
105
- if (raw === LIMIT_TIER_ALL) return new Set([LIMIT_TIER_ALL]);
106
- if (raw === LIMIT_TIER_BASE) return new Set([LIMIT_TIER_BASE]);
107
- if (Array.isArray(raw)) return new Set(raw);
108
- return new Set([LIMIT_TIER_EXTERNAL]); // safe default for unrecognised values
109
- }
110
-
111
- // ---------------------------------------------------------------------------
112
- // NCR (Numeric Character Reference) classification
113
- // ---------------------------------------------------------------------------
114
-
115
- // Severity order — higher number = stricter action.
116
- // Used to enforce minimum action levels for specific codepoint ranges.
117
- const NCR_LEVEL = Object.freeze({ allow: 0, leave: 1, remove: 2, throw: 3 });
118
-
119
- // XML 1.0 §2.2: allowed chars are #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]
120
- // Restricted C0: U+0001–U+001F excluding U+0009, U+000A, U+000D
121
- const XML10_ALLOWED_C0 = new Set([0x09, 0x0A, 0x0D]);
122
-
123
- /**
124
- * Parse the `ncr` constructor option into flat, hot-path-friendly fields.
125
- * @param {object|undefined} ncr
126
- * @returns {{ xmlVersion: number, onLevel: number, nullLevel: number }}
127
- */
128
- function parseNCRConfig(ncr) {
129
- if (!ncr) {
130
- return { xmlVersion: 1.0, onLevel: NCR_LEVEL.allow, nullLevel: NCR_LEVEL.remove };
131
- }
132
- const xmlVersion = ncr.xmlVersion === 1.1 ? 1.1 : 1.0;
133
- const onLevel = NCR_LEVEL[ncr.onNCR] ?? NCR_LEVEL.allow;
134
- const nullLevel = NCR_LEVEL[ncr.nullNCR] ?? NCR_LEVEL.remove;
135
- // 'allow' is not meaningful for null — clamp to at least 'remove'
136
- const clampedNull = Math.max(nullLevel, NCR_LEVEL.remove);
137
- return { xmlVersion, onLevel, nullLevel: clampedNull };
138
- }
139
-
140
- // ---------------------------------------------------------------------------
141
- // EntityReplacer
142
- // ---------------------------------------------------------------------------
143
-
144
- /**
145
- * Single-pass, zero-regex entity replacer for XML/HTML content.
146
- *
147
- * Algorithm: scan the string once for '&', read to ';', resolve via map
148
- * or direct codepoint conversion, build output chunks, join once at the end.
149
- *
150
- * Entity lookup priority (highest → lowest):
151
- * 1. input / runtime (DOCTYPE entities for current document)
152
- * 2. persistent external (survive across documents)
153
- * 3. base named map (DEFAULT_XML_ENTITIES + user-supplied namedEntities)
154
- *
155
- * Both input and external resolve as the 'external' tier for limit purposes.
156
- * Base map entities resolve as the 'base' tier.
157
- *
158
- * Numeric / hex references (&#NNN; / &#xHH;) are resolved directly via
159
- * String.fromCodePoint() — no map needed. They count as 'base' tier.
160
- *
161
- * @example
162
- * const replacer = new EntityReplacer({ namedEntities: COMMON_HTML });
163
- * replacer.setExternalEntities({ brand: 'Acme' });
164
- *
165
- * const instance = replacer.reset();
166
- * instance.addInputEntities({ version: '1.0' });
167
- * instance.encode('&brand; v&version; &lt;'); // 'Acme v1.0 <'
168
- */
169
- export default class EntityDecoder {
170
- /**
171
- * @param {object} [options]
172
- * @param {object|null} [options.namedEntities] — extra named entities merged into base map
173
- * @param {object} [options.limit] — security limits
174
- * @param {number} [options.limit.maxTotalExpansions=0] — 0 = unlimited
175
- * @param {number} [options.limit.maxExpandedLength=0] — 0 = unlimited
176
- * @param {'external'|'base'|'all'|string[]} [options.limit.applyLimitsTo='external']
177
- * Which entity tiers count against the security limits:
178
- * - 'external' (default) — only input/runtime + persistent external entities
179
- * - 'base' — only DEFAULT_XML_ENTITIES + namedEntities
180
- * - 'all' — every entity regardless of tier
181
- * - string[] — explicit combination, e.g. ['external', 'base']
182
- * @param {((resolved: string, original: string) => string)|null} [options.postCheck=null]
183
- * @param {string[]} [options.remove=[]] — entity names (e.g. ['nbsp', '#13']) to delete (replace with empty string)
184
- * @param {string[]} [options.leave=[]] — entity names to keep as literal (unchanged in output)
185
- * @param {object} [options.ncr] — Numeric Character Reference controls
186
- * @param {1.0|1.1} [options.ncr.xmlVersion=1.0]
187
- * XML version governing which codepoint ranges are restricted:
188
- * - 1.0 — C0 controls U+0001–U+001F (except U+0009/000A/000D) are prohibited
189
- * - 1.1 — C0 controls are allowed when written as NCRs; C1 (U+007F–U+009F) decoded as-is
190
- * @param {'allow'|'leave'|'remove'|'throw'} [options.ncr.onNCR='allow']
191
- * Base action for numeric references. Severity order: allow < leave < remove < throw.
192
- * For codepoint ranges that carry a minimum level (surrogates → remove, XML 1.0 C0 → remove),
193
- * the effective action is max(onNCR, rangeMinimum).
194
- * @param {'remove'|'throw'} [options.ncr.nullNCR='remove']
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.
204
- */
205
- constructor(options = {}) {
206
- this._limit = options.limit || {};
207
- this._maxTotalExpansions = this._limit.maxTotalExpansions || 0;
208
- this._maxExpandedLength = this._limit.maxExpandedLength || 0;
209
- this._postCheck = typeof options.postCheck === 'function' ? options.postCheck : r => r;
210
- this._limitTiers = parseLimitTiers(this._limit.applyLimitsTo ?? LIMIT_TIER_EXTERNAL);
211
- this._numericAllowed = options.numericAllowed ?? true;
212
- // Base map: DEFAULT_XML_ENTITIES + user-supplied extras. Immutable after construction.
213
- this._baseMap = mergeEntityMaps(DEFAULT_XML_ENTITIES, options.namedEntities || null);
214
-
215
- // Persistent external entities — survive across documents.
216
- // Stored as a separate map so reset() never touches them.
217
- /** @type {Record<string, string>} */
218
- this._externalMap = Object.create(null);
219
-
220
- // Input / runtime entities — current document only, wiped on reset().
221
- /** @type {Record<string, string>} */
222
- this._inputMap = Object.create(null);
223
-
224
- // Per-document counters
225
- this._totalExpansions = 0;
226
- this._expandedLength = 0;
227
-
228
- // --- New: remove / leave sets ---
229
- /** @type {Set<string>} */
230
- this._removeSet = new Set(options.remove && Array.isArray(options.remove) ? options.remove : []);
231
- /** @type {Set<string>} */
232
- this._leaveSet = new Set(options.leave && Array.isArray(options.leave) ? options.leave : []);
233
-
234
- // --- NCR config (parsed into flat fields for hot-path speed) ---
235
- const ncrCfg = parseNCRConfig(options.ncr);
236
- this._ncrXmlVersion = ncrCfg.xmlVersion;
237
- this._ncrOnLevel = ncrCfg.onLevel;
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
276
- }
277
-
278
- // -------------------------------------------------------------------------
279
- // Persistent external entity registration
280
- // -------------------------------------------------------------------------
281
-
282
- /**
283
- * Replace the full set of persistent external entities.
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.
288
- * @param {Record<string, string | { regex?: RegExp, val: string }>} map
289
- */
290
- setExternalEntities(map) {
291
- if (map) {
292
- for (const key of Object.keys(map)) {
293
- validateEntityName(key);
294
- }
295
- }
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;
309
- }
310
-
311
- /**
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.
315
- * @param {string} key
316
- * @param {string} value
317
- */
318
- addExternalEntity(key, value) {
319
- validateEntityName(key);
320
- if (typeof value === 'string' && value.indexOf('&') === -1) {
321
- if (this._applyRegistrationHook(this._onExternalEntity, key, value, 'external')) {
322
- this._externalMap[key] = value;
323
- }
324
- }
325
- }
326
-
327
- // -------------------------------------------------------------------------
328
- // Input / runtime entity registration (per document)
329
- // -------------------------------------------------------------------------
330
-
331
- /**
332
- * Inject DOCTYPE entities for the current document.
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.
336
- * @param {Record<string, string | { regx?: RegExp, regex?: RegExp, val: string }>} map
337
- */
338
- addInputEntities(map) {
339
- this._totalExpansions = 0;
340
- this._expandedLength = 0;
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;
353
- }
354
-
355
- // -------------------------------------------------------------------------
356
- // Per-document reset
357
- // -------------------------------------------------------------------------
358
-
359
- /**
360
- * Wipe input/runtime entities and reset counters.
361
- * Call this before processing each new document.
362
- * @returns {this}
363
- */
364
- reset() {
365
- this._inputMap = Object.create(null);
366
- this._totalExpansions = 0;
367
- this._expandedLength = 0;
368
- return this;
369
- }
370
-
371
- // -------------------------------------------------------------------------
372
- // XML version (can be set after construction, e.g. once parser reads <?xml?>)
373
- // -------------------------------------------------------------------------
374
-
375
- /**
376
- * Update the XML version used for NCR classification.
377
- * Call this as soon as the document's `<?xml version="...">` declaration is parsed.
378
- * @param {1.0|1.1|number} version
379
- */
380
- setXmlVersion(version) {
381
- this._ncrXmlVersion = version === 1.1 ? 1.1 : 1.0;
382
- }
383
-
384
- // -------------------------------------------------------------------------
385
- // Primary API
386
- // -------------------------------------------------------------------------
387
-
388
- /**
389
- * Replace all entity references in `str` in a single pass.
390
- *
391
- * @param {string} str
392
- * @returns {string}
393
- */
394
- decode(str) {
395
- if (typeof str !== 'string' || str.length === 0) return str;
396
- //TODO: check if needed
397
- if (str.indexOf('&') === -1) return str; // fast path — no entities at all
398
-
399
- const original = str;
400
- const chunks = [];
401
- const len = str.length;
402
- let last = 0; // start of next unprocessed literal chunk
403
- let i = 0;
404
-
405
- const limitExpansions = this._maxTotalExpansions > 0;
406
- const limitLength = this._maxExpandedLength > 0;
407
- const checkLimits = limitExpansions || limitLength;
408
-
409
- while (i < len) {
410
- // Scan forward to next '&'
411
- if (str.charCodeAt(i) !== 38 /* '&' */) { i++; continue; }
412
-
413
- // --- Found '&' at position i ---
414
-
415
- // Scan forward to ';'
416
- let j = i + 1;
417
- while (j < len && str.charCodeAt(j) !== 59 /* ';' */ && (j - i) <= 32) j++;
418
-
419
- if (j >= len || str.charCodeAt(j) !== 59) {
420
- // No closing ';' within window — treat '&' as literal
421
- i++;
422
- continue;
423
- }
424
-
425
- // Raw token between '&' and ';' (exclusive)
426
- const token = str.slice(i + 1, j);
427
- if (token.length === 0) { i++; continue; }
428
-
429
- let replacement;
430
- let tier; // which limit tier this entity belongs to
431
-
432
- if (this._removeSet.has(token)) {
433
- // Remove entity: replace with empty string
434
- replacement = '';
435
- // If entity was unknown (replacement undefined), we still need a tier for limits.
436
- // Treat as external tier because it's user-directed removal of an unknown reference.
437
- if (tier === undefined) {
438
- tier = LIMIT_TIER_EXTERNAL;
439
- }
440
- } else if (this._leaveSet.has(token)) {
441
- // Do not replace — keep original &token; as literal
442
- i++;
443
- continue;
444
- } else if (token.charCodeAt(0) === 35 /* '#' */) {
445
- // ---- Numeric / NCR reference ----
446
- // NCR classification always runs first — prohibited codepoints must be
447
- // caught regardless of numericAllowed.
448
- const ncrResult = this._resolveNCR(token);
449
- if (ncrResult === undefined) {
450
- // 'leave' action — keep original &token; as-is
451
- i++;
452
- continue;
453
- }
454
- replacement = ncrResult; // '' for remove, char string for allow
455
- tier = LIMIT_TIER_BASE;
456
- } else {
457
- // ---- Named reference ----
458
- const resolved = this._resolveName(token);
459
- replacement = resolved?.value;
460
- tier = resolved?.tier;
461
- }
462
-
463
- if (replacement === undefined) {
464
- // Unknown entity — leave as-is, advance past '&' only
465
- i++;
466
- continue;
467
- }
468
-
469
- // Flush literal chunk before this entity
470
- if (i > last) chunks.push(str.slice(last, i));
471
- chunks.push(replacement);
472
- last = j + 1; // skip past ';'
473
- i = last;
474
-
475
- // Apply expansion limits only if this tier is being tracked
476
- if (checkLimits && this._tierCounts(tier)) {
477
- if (limitExpansions) {
478
- this._totalExpansions++;
479
- if (this._totalExpansions > this._maxTotalExpansions) {
480
- throw new Error(
481
- `[EntityReplacer] Entity expansion count limit exceeded: ` +
482
- `${this._totalExpansions} > ${this._maxTotalExpansions}`
483
- );
484
- }
485
- }
486
- if (limitLength) {
487
- // delta: replacement.length minus the raw &token; length (token.length + 2 for '&' and ';')
488
- const delta = replacement.length - (token.length + 2);
489
- if (delta > 0) {
490
- this._expandedLength += delta;
491
- if (this._expandedLength > this._maxExpandedLength) {
492
- throw new Error(
493
- `[EntityReplacer] Expanded content length limit exceeded: ` +
494
- `${this._expandedLength} > ${this._maxExpandedLength}`
495
- );
496
- }
497
- }
498
- }
499
- }
500
- }
501
-
502
- // Flush trailing literal
503
- if (last < len) chunks.push(str.slice(last));
504
-
505
- // If nothing was replaced, chunks is empty — return original
506
- const result = chunks.length === 0 ? str : chunks.join('');
507
-
508
- return this._postCheck(result, original);
509
- }
510
-
511
- // -------------------------------------------------------------------------
512
- // Private: limit tier check
513
- // -------------------------------------------------------------------------
514
-
515
- /**
516
- * Returns true if a resolved entity of the given tier should count
517
- * against the expansion/length limits.
518
- * @param {string} tier — LIMIT_TIER_EXTERNAL | LIMIT_TIER_BASE
519
- * @returns {boolean}
520
- */
521
- _tierCounts(tier) {
522
- if (this._limitTiers.has(LIMIT_TIER_ALL)) return true;
523
- return this._limitTiers.has(tier);
524
- }
525
-
526
- // -------------------------------------------------------------------------
527
- // Private: entity resolution
528
- // -------------------------------------------------------------------------
529
-
530
- /**
531
- * Resolve a named entity token (without & and ;).
532
- * Priority: inputMap > externalMap > baseMap
533
- * Returns the resolved value tagged with its limit tier.
534
- *
535
- * @param {string} name
536
- * @returns {{ value: string, tier: string }|undefined}
537
- */
538
- _resolveName(name) {
539
- // input and external both count as 'external' tier for limit purposes —
540
- // they are injected at runtime and are the untrusted surface.
541
- if (name in this._inputMap) return { value: this._inputMap[name], tier: LIMIT_TIER_EXTERNAL };
542
- if (name in this._externalMap) return { value: this._externalMap[name], tier: LIMIT_TIER_EXTERNAL };
543
- if (name in this._baseMap) return { value: this._baseMap[name], tier: LIMIT_TIER_BASE };
544
- return undefined;
545
- }
546
-
547
- /**
548
- * Classify a codepoint and return the minimum action level that must be applied.
549
- * Returns -1 when no minimum is imposed (normal allow path).
550
- *
551
- * Ranges checked (in priority order):
552
- * 1. U+0000 — null, governed by nullNCR (always ≥ remove)
553
- * 2. U+D800–U+DFFF — surrogates, always prohibited (min: remove)
554
- * 3. U+0001–U+001F \ {0x09,0x0A,0x0D} — XML 1.0 restricted C0 (min: remove)
555
- * (skipped in XML 1.1 — C0 controls are allowed when written as NCRs)
556
- *
557
- * @param {number} cp — codepoint
558
- * @returns {number} — minimum NCR_LEVEL value, or -1 for no restriction
559
- */
560
- _classifyNCR(cp) {
561
- // 1. Null
562
- if (cp === 0) return this._ncrNullLevel;
563
-
564
- // 2. Surrogates — always prohibited, minimum 'remove'
565
- if (cp >= 0xD800 && cp <= 0xDFFF) return NCR_LEVEL.remove;
566
-
567
- // 3. XML 1.0 restricted C0 controls
568
- if (this._ncrXmlVersion === 1.0) {
569
- if (cp >= 0x01 && cp <= 0x1F && !XML10_ALLOWED_C0.has(cp)) return NCR_LEVEL.remove;
570
- }
571
-
572
- return -1; // no restriction
573
- }
574
-
575
- /**
576
- * Execute a resolved NCR action.
577
- *
578
- * @param {number} action — NCR_LEVEL value
579
- * @param {string} token — raw token (e.g. '#38') for error messages
580
- * @param {number} cp — codepoint, used only for error messages
581
- * @returns {string|undefined}
582
- * - decoded character string → 'allow'
583
- * - '' → 'remove'
584
- * - undefined → 'leave' (caller must skip past '&' only)
585
- * - throws Error → 'throw'
586
- */
587
- _applyNCRAction(action, token, cp) {
588
- switch (action) {
589
- case NCR_LEVEL.allow: return String.fromCodePoint(cp);
590
- case NCR_LEVEL.remove: return '';
591
- case NCR_LEVEL.leave: return undefined; // signal: keep literal
592
- case NCR_LEVEL.throw:
593
- throw new Error(
594
- `[EntityDecoder] Prohibited numeric character reference ` +
595
- `&${token}; (U+${cp.toString(16).toUpperCase().padStart(4, '0')})`
596
- );
597
- default: return String.fromCodePoint(cp);
598
- }
599
- }
600
-
601
- /**
602
- * Full NCR resolution pipeline for a numeric token.
603
- *
604
- * Steps:
605
- * 1. Parse the codepoint (decimal or hex).
606
- * 2. Validate the raw codepoint range (NaN, <0, >0x10FFFF).
607
- * 3. If numericAllowed is false and no minimum restriction applies → leave as-is.
608
- * 4. Classify the codepoint to find the minimum required action level.
609
- * 5. Resolve effective action = max(onNCR, minimum).
610
- * 6. Apply and return.
611
- *
612
- * @param {string} token — e.g. '#38', '#x26', '#X26'
613
- * @returns {string|undefined}
614
- * - string (incl. '') — replacement ('' = remove)
615
- * - undefined — leave original &token; as-is
616
- */
617
- _resolveNCR(token) {
618
- // Step 1: parse codepoint
619
- const second = token.charCodeAt(1);
620
- let cp;
621
- if (second === 120 /* x */ || second === 88 /* X */) {
622
- cp = parseInt(token.slice(2), 16);
623
- } else {
624
- cp = parseInt(token.slice(1), 10);
625
- }
626
-
627
- // Step 2: out-of-range → leave as-is unconditionally
628
- if (Number.isNaN(cp) || cp < 0 || cp > 0x10FFFF) return undefined;
629
-
630
- // Step 3: classify to get minimum action level
631
- const minimum = this._classifyNCR(cp);
632
-
633
- // Step 4: if numericAllowed is false and no hard minimum → leave
634
- if (!this._numericAllowed && minimum < NCR_LEVEL.remove) return undefined;
635
-
636
- // Step 5: effective action = max(configured onNCR, range minimum)
637
- const effective = minimum === -1
638
- ? this._ncrOnLevel
639
- : Math.max(this._ncrOnLevel, minimum);
640
-
641
- // Step 6: apply
642
- return this._applyNCRAction(effective, token, cp);
643
- }
644
- }