@cdklabs/cdk-ssm-documents 0.0.74 → 0.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (551) hide show
  1. package/.jsii +12 -12
  2. package/lib/construct/synth-utils.js +1 -1
  3. package/lib/document/automation-document.js +1 -1
  4. package/lib/document/command-document.js +1 -1
  5. package/lib/document/document-builder.js +2 -2
  6. package/lib/document/ssm-document.js +1 -1
  7. package/lib/domain/aws-service.js +1 -1
  8. package/lib/domain/choice.js +1 -1
  9. package/lib/domain/data-type.js +1 -1
  10. package/lib/domain/enum/install-action.js +2 -2
  11. package/lib/domain/enum/install-uninstall-repair.js +2 -2
  12. package/lib/domain/enum/installation-type.js +2 -2
  13. package/lib/domain/enum/package-name.js +2 -2
  14. package/lib/domain/input.js +1 -1
  15. package/lib/domain/operation.js +1 -1
  16. package/lib/domain/platform.js +1 -1
  17. package/lib/domain/precondition.js +1 -1
  18. package/lib/incident-response/incident-response.js +3 -3
  19. package/lib/interface/approve-hook.js +2 -2
  20. package/lib/interface/auth-method.js +3 -3
  21. package/lib/interface/aws-invoker.js +2 -2
  22. package/lib/interface/downloadable-content.js +8 -8
  23. package/lib/interface/environment.js +3 -3
  24. package/lib/interface/execute-automation-hook/api-execute-automation-hook.js +1 -1
  25. package/lib/interface/observer.js +1 -1
  26. package/lib/interface/on-failure.js +6 -6
  27. package/lib/interface/pause-hook.js +2 -2
  28. package/lib/interface/run-command-hook/api-run-command-hook.js +1 -1
  29. package/lib/interface/run-document-location.js +2 -2
  30. package/lib/interface/sleep-hook.js +2 -2
  31. package/lib/interface/step-ref.js +1 -1
  32. package/lib/interface/variables/boolean-variable.js +2 -2
  33. package/lib/interface/variables/map-list-variable.js +2 -2
  34. package/lib/interface/variables/number-variable.js +2 -2
  35. package/lib/interface/variables/secure-string-variable.js +4 -4
  36. package/lib/interface/variables/string-list-variable.js +2 -2
  37. package/lib/interface/variables/string-map-variable.js +2 -2
  38. package/lib/interface/variables/string-variable.js +4 -4
  39. package/lib/interface/variables/variable.js +2 -2
  40. package/lib/interface/webhook.js +1 -1
  41. package/lib/parent-steps/automation/approve-step.js +1 -1
  42. package/lib/parent-steps/automation/assert-aws-resource-step.js +1 -1
  43. package/lib/parent-steps/automation/aws-api-step.js +1 -1
  44. package/lib/parent-steps/automation/branch-step.js +1 -1
  45. package/lib/parent-steps/automation/change-instance-state-step.js +3 -3
  46. package/lib/parent-steps/automation/copy-image-step.js +1 -1
  47. package/lib/parent-steps/automation/create-image-step.js +1 -1
  48. package/lib/parent-steps/automation/create-stack-step.js +3 -3
  49. package/lib/parent-steps/automation/create-tags-step.js +3 -3
  50. package/lib/parent-steps/automation/delete-image-step.js +1 -1
  51. package/lib/parent-steps/automation/delete-stack-step.js +1 -1
  52. package/lib/parent-steps/automation/execute-automation-step.js +1 -1
  53. package/lib/parent-steps/automation/execute-script-step.js +5 -5
  54. package/lib/parent-steps/automation/execute-state-machine-step.js +1 -1
  55. package/lib/parent-steps/automation/invoke-lambda-function-step.js +1 -1
  56. package/lib/parent-steps/automation/invoke-webhook-step.js +1 -1
  57. package/lib/parent-steps/automation/pause-step.js +1 -1
  58. package/lib/parent-steps/automation/run-command-step.js +3 -3
  59. package/lib/parent-steps/automation/run-instance-step.js +1 -1
  60. package/lib/parent-steps/automation/sleep-step.js +1 -1
  61. package/lib/parent-steps/automation/update-variable.js +1 -1
  62. package/lib/parent-steps/automation/wait-for-resource-step.js +1 -1
  63. package/lib/parent-steps/automation-step.js +1 -1
  64. package/lib/parent-steps/command/applications-step.js +1 -1
  65. package/lib/parent-steps/command/configure-docker-step.js +1 -1
  66. package/lib/parent-steps/command/configure-package-step.js +1 -1
  67. package/lib/parent-steps/command/domain-join-step.js +1 -1
  68. package/lib/parent-steps/command/download-content-step.js +1 -1
  69. package/lib/parent-steps/command/ps-module-step.js +1 -1
  70. package/lib/parent-steps/command/run-docker-action-step.js +1 -1
  71. package/lib/parent-steps/command/run-document-step.js +1 -1
  72. package/lib/parent-steps/command/run-powershell-script-step.js +1 -1
  73. package/lib/parent-steps/command/run-shell-script-step.js +1 -1
  74. package/lib/parent-steps/command/software-inventory-step.js +1 -1
  75. package/lib/parent-steps/command/update-agent-step.js +1 -1
  76. package/lib/parent-steps/command/update-ssm-agent-step.js +1 -1
  77. package/lib/parent-steps/command-step.js +1 -1
  78. package/lib/parent-steps/step.js +1 -1
  79. package/lib/patterns/automation/composite-step.js +2 -2
  80. package/lib/patterns/automation/reboot-instance-and-wait.js +1 -1
  81. package/lib/patterns/automation/string-step.js +1 -1
  82. package/lib/patterns/document/string-document.js +1 -1
  83. package/lib/patterns/document/timed-document.js +1 -1
  84. package/lib/samples/hello-world.js +1 -1
  85. package/lib/simulation/automation/approve-simulation.js +1 -1
  86. package/lib/simulation/automation/assert-aws-resource-simulation.js +1 -1
  87. package/lib/simulation/automation/automation-simulation-base.js +1 -1
  88. package/lib/simulation/automation/aws-api-simulation.js +1 -1
  89. package/lib/simulation/automation/branch-simulation.js +1 -1
  90. package/lib/simulation/automation/change-instance-state-simulation.js +1 -1
  91. package/lib/simulation/automation/copy-image-simulation.js +1 -1
  92. package/lib/simulation/automation/create-image-simulation.js +1 -1
  93. package/lib/simulation/automation/create-stack-simulation.js +1 -1
  94. package/lib/simulation/automation/create-tags-simulation.js +1 -1
  95. package/lib/simulation/automation/delete-image-simulation.js +1 -1
  96. package/lib/simulation/automation/delete-stack-simulation.js +1 -1
  97. package/lib/simulation/automation/execute-script-simulation.js +1 -1
  98. package/lib/simulation/automation/execute-state-machine-simulation.js +1 -1
  99. package/lib/simulation/automation/invoke-lambda-function-simulation.js +1 -1
  100. package/lib/simulation/automation/invoke-webhook-simulation.js +1 -1
  101. package/lib/simulation/automation/pause-simulation.js +1 -1
  102. package/lib/simulation/automation/run-command-simulation.js +1 -1
  103. package/lib/simulation/automation/run-instance-simulation.js +1 -1
  104. package/lib/simulation/automation/sleep-simulation.js +1 -1
  105. package/lib/simulation/automation/update-variable-simulation.js +1 -1
  106. package/lib/simulation/automation/wait-for-resource-simulation.js +1 -1
  107. package/lib/simulation/automation-step-simulation.js +1 -1
  108. package/lib/simulation/command/command-simulation-base.js +1 -1
  109. package/lib/simulation/command/ps-module-simulation.js +1 -1
  110. package/lib/simulation/command/run-powershell-script-simulation.js +1 -1
  111. package/lib/simulation/command/run-shell-script-simulation.js +1 -1
  112. package/lib/simulation/command-step-simulation.js +1 -1
  113. package/lib/simulation/document/automation-simulation.js +1 -1
  114. package/lib/simulation/document/command-simulation.js +1 -1
  115. package/lib/simulation/simulation.js +1 -1
  116. package/node_modules/@aws-sdk/checksums/package.json +6 -6
  117. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
  118. package/node_modules/@aws-sdk/client-cloudformation/dist-es/index.js +1 -1
  119. package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
  120. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +38 -38
  121. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +36 -36
  122. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +37 -37
  123. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.shared.d.ts +2 -2
  124. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/index.d.ts +1 -1
  125. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +54 -56
  126. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +57 -57
  127. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +58 -60
  128. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  129. package/node_modules/@aws-sdk/client-cloudformation/package.json +10 -10
  130. package/node_modules/@aws-sdk/client-cloudwatch/dist-cjs/index.js +18 -9
  131. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/index.js +1 -1
  132. package/node_modules/@aws-sdk/client-cloudwatch/dist-es/schemas/schemas_0.js +16 -8
  133. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/AssociateDatasetKmsKeyCommand.d.ts +19 -10
  134. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DescribeAlarmsCommand.d.ts +8 -0
  135. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DescribeAlarmsForMetricCommand.d.ts +4 -0
  136. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/DisassociateDatasetKmsKeyCommand.d.ts +14 -7
  137. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/PutLogAlarmCommand.d.ts +4 -0
  138. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/commands/PutMetricAlarmCommand.d.ts +4 -0
  139. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/index.d.ts +1 -1
  140. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/models/models_0.d.ts +70 -4
  141. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.browser.d.ts +40 -40
  142. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.d.ts +36 -36
  143. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.native.d.ts +37 -37
  144. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/runtimeConfig.shared.d.ts +2 -2
  145. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/schemas/schemas_0.d.ts +1 -0
  146. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/index.d.ts +1 -1
  147. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/models/models_0.d.ts +8 -0
  148. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  149. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.d.ts +59 -59
  150. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.native.d.ts +58 -60
  151. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  152. package/node_modules/@aws-sdk/client-cloudwatch/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  153. package/node_modules/@aws-sdk/client-cloudwatch/package.json +12 -12
  154. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +12 -8
  155. package/node_modules/@aws-sdk/client-ec2/dist-es/index.js +1 -1
  156. package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +11 -7
  157. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/AssociateApplicationStatusCheckCommand.d.ts +5 -5
  158. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateApplicationStatusCheckCommand.d.ts +6 -6
  159. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateImageCommand.d.ts +6 -0
  160. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeApplicationStatusChecksCommand.d.ts +1 -1
  161. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeApplicationStatusCommand.d.ts +1 -1
  162. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisableApplicationStatusCheckSuppressionCommand.d.ts +1 -1
  163. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/EnableApplicationStatusCheckSuppressionCommand.d.ts +1 -1
  164. package/node_modules/@aws-sdk/client-ec2/dist-types/index.d.ts +1 -1
  165. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +2 -2
  166. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +13 -8
  167. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +1 -1
  168. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +3 -3
  169. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +1 -1
  170. package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.browser.d.ts +40 -40
  171. package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.d.ts +36 -36
  172. package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.native.d.ts +38 -38
  173. package/node_modules/@aws-sdk/client-ec2/dist-types/runtimeConfig.shared.d.ts +2 -2
  174. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/index.d.ts +1 -1
  175. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  176. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  177. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  178. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  179. package/node_modules/@aws-sdk/client-ec2/package.json +12 -12
  180. package/node_modules/@aws-sdk/client-iam/README.md +28 -0
  181. package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +285 -27
  182. package/node_modules/@aws-sdk/client-iam/dist-es/IAM.js +8 -0
  183. package/node_modules/@aws-sdk/client-iam/dist-es/commands/AcquireRoleCommand.js +4 -0
  184. package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetAccountPropertiesCommand.js +4 -0
  185. package/node_modules/@aws-sdk/client-iam/dist-es/commands/GetRoleTemplateVersionCommand.js +4 -0
  186. package/node_modules/@aws-sdk/client-iam/dist-es/commands/PutAccountPropertiesCommand.js +4 -0
  187. package/node_modules/@aws-sdk/client-iam/dist-es/commands/index.js +4 -0
  188. package/node_modules/@aws-sdk/client-iam/dist-es/index.js +1 -1
  189. package/node_modules/@aws-sdk/client-iam/dist-es/models/enums.js +14 -3
  190. package/node_modules/@aws-sdk/client-iam/dist-es/models/errors.js +52 -16
  191. package/node_modules/@aws-sdk/client-iam/dist-es/schemas/schemas_0.js +176 -8
  192. package/node_modules/@aws-sdk/client-iam/dist-types/IAM.d.ts +29 -0
  193. package/node_modules/@aws-sdk/client-iam/dist-types/IAMClient.d.ts +6 -2
  194. package/node_modules/@aws-sdk/client-iam/dist-types/commands/AcquireRoleCommand.d.ts +154 -0
  195. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateInstanceProfileCommand.d.ts +4 -0
  196. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateRoleCommand.d.ts +4 -0
  197. package/node_modules/@aws-sdk/client-iam/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +4 -0
  198. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +4 -0
  199. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetAccountPropertiesCommand.d.ts +84 -0
  200. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetInstanceProfileCommand.d.ts +4 -0
  201. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetRoleCommand.d.ts +4 -0
  202. package/node_modules/@aws-sdk/client-iam/dist-types/commands/GetRoleTemplateVersionCommand.d.ts +135 -0
  203. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfilesCommand.d.ts +4 -0
  204. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +4 -0
  205. package/node_modules/@aws-sdk/client-iam/dist-types/commands/ListRolesCommand.d.ts +4 -0
  206. package/node_modules/@aws-sdk/client-iam/dist-types/commands/PutAccountPropertiesCommand.d.ts +88 -0
  207. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -1
  208. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagServerCertificateCommand.d.ts +1 -1
  209. package/node_modules/@aws-sdk/client-iam/dist-types/commands/TagUserCommand.d.ts +1 -1
  210. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -1
  211. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -1
  212. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
  213. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagPolicyCommand.d.ts +1 -1
  214. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagRoleCommand.d.ts +1 -1
  215. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -1
  216. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -1
  217. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UntagUserCommand.d.ts +1 -1
  218. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccessKeyCommand.d.ts +1 -1
  219. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
  220. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
  221. package/node_modules/@aws-sdk/client-iam/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +4 -0
  222. package/node_modules/@aws-sdk/client-iam/dist-types/commands/index.d.ts +4 -0
  223. package/node_modules/@aws-sdk/client-iam/dist-types/index.d.ts +1 -1
  224. package/node_modules/@aws-sdk/client-iam/dist-types/models/enums.d.ts +38 -11
  225. package/node_modules/@aws-sdk/client-iam/dist-types/models/errors.d.ts +58 -18
  226. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_0.d.ts +508 -511
  227. package/node_modules/@aws-sdk/client-iam/dist-types/models/models_1.d.ts +358 -0
  228. package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.browser.d.ts +40 -40
  229. package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.d.ts +36 -36
  230. package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.native.d.ts +38 -38
  231. package/node_modules/@aws-sdk/client-iam/dist-types/runtimeConfig.shared.d.ts +2 -2
  232. package/node_modules/@aws-sdk/client-iam/dist-types/schemas/schemas_0.d.ts +21 -0
  233. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAM.d.ts +66 -0
  234. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/IAMClient.d.ts +21 -0
  235. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/AcquireRoleCommand.d.ts +38 -0
  236. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetAccountPropertiesCommand.d.ts +39 -0
  237. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/GetRoleTemplateVersionCommand.d.ts +39 -0
  238. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/PutAccountPropertiesCommand.d.ts +39 -0
  239. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +1 -1
  240. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +1 -1
  241. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/TagUserCommand.d.ts +1 -1
  242. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +1 -1
  243. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +1 -1
  244. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
  245. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +1 -1
  246. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +1 -1
  247. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +1 -1
  248. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +1 -1
  249. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UntagUserCommand.d.ts +1 -1
  250. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +1 -1
  251. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
  252. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
  253. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/commands/index.d.ts +4 -0
  254. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/index.d.ts +1 -1
  255. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/enums.d.ts +18 -5
  256. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/errors.d.ts +23 -8
  257. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_0.d.ts +100 -89
  258. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/models/models_1.d.ts +64 -0
  259. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  260. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  261. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  262. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  263. package/node_modules/@aws-sdk/client-iam/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
  264. package/node_modules/@aws-sdk/client-iam/package.json +11 -11
  265. package/node_modules/@aws-sdk/client-lambda/README.md +21 -0
  266. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +67 -1
  267. package/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +6 -0
  268. package/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteResourcePolicyCommand.js +4 -0
  269. package/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetResourcePolicyCommand.js +4 -0
  270. package/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutResourcePolicyCommand.js +4 -0
  271. package/node_modules/@aws-sdk/client-lambda/dist-es/commands/index.js +3 -0
  272. package/node_modules/@aws-sdk/client-lambda/dist-es/index.js +1 -1
  273. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +43 -0
  274. package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +21 -0
  275. package/node_modules/@aws-sdk/client-lambda/dist-types/LambdaClient.d.ts +5 -2
  276. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/AddPermissionCommand.d.ts +1 -1
  277. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteResourcePolicyCommand.d.ts +88 -0
  278. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +4 -4
  279. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetResourcePolicyCommand.d.ts +84 -0
  280. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutResourcePolicyCommand.d.ts +98 -0
  281. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/RemovePermissionCommand.d.ts +1 -1
  282. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/index.d.ts +3 -0
  283. package/node_modules/@aws-sdk/client-lambda/dist-types/index.d.ts +1 -1
  284. package/node_modules/@aws-sdk/client-lambda/dist-types/models/errors.d.ts +1 -1
  285. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +76 -1
  286. package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.browser.d.ts +41 -41
  287. package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.d.ts +36 -36
  288. package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.native.d.ts +39 -39
  289. package/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.shared.d.ts +2 -2
  290. package/node_modules/@aws-sdk/client-lambda/dist-types/schemas/schemas_0.d.ts +8 -0
  291. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +51 -0
  292. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/LambdaClient.d.ts +18 -0
  293. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +38 -0
  294. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
  295. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
  296. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/index.d.ts +3 -0
  297. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/index.d.ts +1 -1
  298. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +20 -0
  299. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.browser.d.ts +57 -59
  300. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.d.ts +59 -59
  301. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.native.d.ts +61 -63
  302. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  303. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  304. package/node_modules/@aws-sdk/client-lambda/package.json +11 -11
  305. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +1 -1
  306. package/node_modules/@aws-sdk/client-s3/dist-es/index.js +1 -1
  307. package/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +1 -1
  308. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +58 -58
  309. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +61 -61
  310. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +57 -57
  311. package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +2 -2
  312. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +1 -1
  313. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -99
  314. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +103 -103
  315. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +101 -103
  316. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  317. package/node_modules/@aws-sdk/client-s3/package.json +15 -15
  318. package/node_modules/@aws-sdk/client-sns/dist-cjs/index.js +1 -1
  319. package/node_modules/@aws-sdk/client-sns/dist-es/index.js +1 -1
  320. package/node_modules/@aws-sdk/client-sns/dist-types/index.d.ts +1 -1
  321. package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.browser.d.ts +40 -40
  322. package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.d.ts +36 -36
  323. package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.native.d.ts +38 -38
  324. package/node_modules/@aws-sdk/client-sns/dist-types/runtimeConfig.shared.d.ts +2 -2
  325. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/index.d.ts +1 -1
  326. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  327. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  328. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  329. package/node_modules/@aws-sdk/client-sns/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  330. package/node_modules/@aws-sdk/client-sns/package.json +10 -10
  331. package/node_modules/@aws-sdk/client-sqs/dist-cjs/index.js +1 -1
  332. package/node_modules/@aws-sdk/client-sqs/dist-es/index.js +1 -1
  333. package/node_modules/@aws-sdk/client-sqs/dist-types/index.d.ts +1 -1
  334. package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.browser.d.ts +39 -39
  335. package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.d.ts +38 -38
  336. package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.native.d.ts +38 -38
  337. package/node_modules/@aws-sdk/client-sqs/dist-types/runtimeConfig.shared.d.ts +2 -2
  338. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/index.d.ts +1 -1
  339. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.browser.d.ts +55 -57
  340. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  341. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.native.d.ts +59 -61
  342. package/node_modules/@aws-sdk/client-sqs/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  343. package/node_modules/@aws-sdk/client-sqs/package.json +12 -12
  344. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +1 -1
  345. package/node_modules/@aws-sdk/client-ssm/dist-es/index.js +1 -1
  346. package/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts +1 -1
  347. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +40 -40
  348. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +36 -36
  349. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +38 -38
  350. package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.shared.d.ts +2 -2
  351. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/index.d.ts +1 -1
  352. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +56 -58
  353. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  354. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +60 -62
  355. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  356. package/node_modules/@aws-sdk/client-ssm/package.json +10 -10
  357. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
  358. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -1
  359. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -1
  360. package/node_modules/@aws-sdk/core/dist-types/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -1
  361. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-endpoints/lib/aws/partitions.d.ts +54 -54
  362. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.d.ts +1 -4
  363. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-browser/defaultUserAgent.native.d.ts +1 -4
  364. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/util-user-agent-node/defaultUserAgent.d.ts +1 -4
  365. package/node_modules/@aws-sdk/core/package.json +6 -6
  366. package/node_modules/@aws-sdk/credential-provider-env/package.json +6 -6
  367. package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
  368. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
  369. package/node_modules/@aws-sdk/credential-provider-login/package.json +7 -7
  370. package/node_modules/@aws-sdk/credential-provider-node/package.json +11 -11
  371. package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
  372. package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
  373. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -7
  374. package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +6 -6
  375. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +7 -7
  376. package/node_modules/@aws-sdk/middleware-sdk-sqs/package.json +5 -5
  377. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  378. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  379. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  380. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  381. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  382. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +42 -42
  383. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +42 -42
  384. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +41 -41
  385. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +2 -2
  386. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +43 -43
  387. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +43 -43
  388. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +42 -42
  389. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +2 -2
  390. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +42 -42
  391. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +42 -42
  392. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +41 -41
  393. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +2 -2
  394. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +42 -42
  395. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +42 -42
  396. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +41 -41
  397. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +2 -2
  398. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +44 -44
  399. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +35 -35
  400. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +43 -43
  401. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +2 -2
  402. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +64 -66
  403. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +65 -65
  404. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +68 -70
  405. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +3 -3
  406. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +67 -69
  407. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +66 -66
  408. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +71 -73
  409. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +3 -3
  410. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +64 -66
  411. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +65 -65
  412. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +68 -70
  413. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +3 -3
  414. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +64 -66
  415. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +65 -65
  416. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +68 -70
  417. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +3 -3
  418. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +68 -70
  419. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +68 -68
  420. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +72 -74
  421. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +3 -3
  422. package/node_modules/@aws-sdk/nested-clients/package.json +9 -9
  423. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +4 -4
  424. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +8 -4
  425. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +8 -4
  426. package/node_modules/@aws-sdk/token-providers/package.json +7 -7
  427. package/node_modules/@aws-sdk/types/package.json +3 -3
  428. package/node_modules/@aws-sdk/xml-builder/package.json +3 -3
  429. package/node_modules/@smithy/core/dist-cjs/index.js +3 -1
  430. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +127 -41
  431. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +14 -3
  432. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +3 -1
  433. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +3 -1
  434. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +33 -24
  435. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +33 -24
  436. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +33 -15
  437. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +4 -1
  438. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +4 -1
  439. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +0 -10
  440. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +4 -1
  441. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +4 -1
  442. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +4 -1
  443. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +7 -0
  444. package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +3 -0
  445. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +1 -2
  446. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +29 -13
  447. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +12 -4
  448. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +9 -0
  449. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +7 -0
  450. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +44 -15
  451. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +22 -4
  452. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +5 -0
  453. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +3 -0
  454. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +4 -1
  455. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +6 -1
  456. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +4 -1
  457. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +3 -0
  458. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +11 -4
  459. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +23 -20
  460. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +9 -0
  461. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +5 -0
  462. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +6 -4
  463. package/node_modules/@smithy/core/dist-es/submodules/protocols/middleware-content-length/contentLengthMiddleware.js +6 -4
  464. package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +8 -5
  465. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +4 -1
  466. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +0 -2
  467. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +0 -2
  468. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/OperationSchema.js +0 -2
  469. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +0 -2
  470. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +0 -2
  471. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
  472. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  473. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
  474. package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +3 -0
  475. package/node_modules/@smithy/core/dist-es/submodules/transport/hasOwn.js +3 -0
  476. package/node_modules/@smithy/core/dist-es/submodules/transport/index.js +1 -0
  477. package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +3 -0
  478. package/node_modules/@smithy/core/dist-types/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
  479. package/node_modules/@smithy/core/dist-types/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
  480. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
  481. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
  482. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
  483. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
  484. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
  485. package/node_modules/@smithy/core/dist-types/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
  486. package/node_modules/@smithy/core/dist-types/submodules/event-streams/EventStreamSerde.d.ts +14 -2
  487. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
  488. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
  489. package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +1 -1
  490. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
  491. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  492. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
  493. package/node_modules/@smithy/core/dist-types/submodules/serde/parse-utils.d.ts +5 -5
  494. package/node_modules/@smithy/core/dist-types/submodules/transport/hasOwn.d.ts +4 -0
  495. package/node_modules/@smithy/core/dist-types/submodules/transport/index.d.ts +1 -0
  496. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/client/smithy-client/extensions/defaultExtensionConfiguration.d.ts +1 -7
  497. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/config/config-resolver/regionConfig/checkRegion.d.ts +2 -1
  498. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateCondition.d.ts +1 -1
  499. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateConditions.d.ts +1 -1
  500. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateExpression.d.ts +2 -2
  501. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/evaluateRules.d.ts +2 -2
  502. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getEndpointProperties.d.ts +2 -2
  503. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/util-endpoints/utils/getReferenceValue.d.ts +2 -2
  504. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/event-streams/EventStreamSerde.d.ts +14 -2
  505. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +7 -2
  506. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +2 -2
  507. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +1 -1
  508. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
  509. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  510. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
  511. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/parse-utils.d.ts +5 -5
  512. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/hasOwn.d.ts +4 -0
  513. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/transport/index.d.ts +1 -0
  514. package/node_modules/@smithy/core/package.json +3 -11
  515. package/node_modules/@smithy/credential-provider-imds/package.json +4 -12
  516. package/node_modules/@smithy/fetch-http-handler/package.json +5 -13
  517. package/node_modules/@smithy/middleware-compression/package.json +5 -10
  518. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +16 -4
  519. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +3 -0
  520. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +12 -2
  521. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
  522. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
  523. package/node_modules/@smithy/node-http-handler/package.json +5 -13
  524. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +28 -16
  525. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +13 -10
  526. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +4 -1
  527. package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +4 -1
  528. package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +10 -3
  529. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +4 -1
  530. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +4 -1
  531. package/node_modules/@smithy/signature-v4/package.json +4 -12
  532. package/node_modules/@smithy/types/dist-types/schema/sentinels.d.ts +14 -14
  533. package/node_modules/@smithy/types/package.json +29 -39
  534. package/node_modules/fflate/CHANGELOG.md +22 -0
  535. package/node_modules/fflate/LICENSE +1 -1
  536. package/node_modules/fflate/README.md +14 -17
  537. package/node_modules/fflate/esm/browser.d.ts +160 -28
  538. package/node_modules/fflate/esm/browser.js +182 -95
  539. package/node_modules/fflate/esm/index.d.mts +160 -28
  540. package/node_modules/fflate/esm/index.mjs +187 -96
  541. package/node_modules/fflate/lib/browser.cjs +206 -118
  542. package/node_modules/fflate/lib/browser.d.cts +160 -28
  543. package/node_modules/fflate/lib/index.cjs +206 -118
  544. package/node_modules/fflate/lib/index.d.ts +160 -28
  545. package/node_modules/fflate/lib/node-worker.cjs +5 -2
  546. package/node_modules/fflate/lib/node.cjs +211 -119
  547. package/node_modules/fflate/lib/node.d.cts +160 -28
  548. package/node_modules/fflate/lib/worker.cjs +0 -1
  549. package/node_modules/fflate/package.json +12 -12
  550. package/node_modules/fflate/umd/index.js +1 -1
  551. package/package.json +10 -10
@@ -1,9 +1,12 @@
1
+ import { hasOwn } from "@smithy/core/serde";
1
2
  import { escapeUri } from "@smithy/core/protocols";
2
3
  import { SIGNATURE_HEADER } from "./constants";
3
4
  export const getCanonicalQuery = ({ query = {} }) => {
4
5
  const keys = [];
5
6
  const serialized = {};
6
- for (const key of Object.keys(query)) {
7
+ for (const key in query) {
8
+ if (!hasOwn(query, key))
9
+ continue;
7
10
  if (key.toLowerCase() === SIGNATURE_HEADER) {
8
11
  continue;
9
12
  }
@@ -1,7 +1,10 @@
1
+ import { hasOwn } from "@smithy/core/serde";
1
2
  import { isArrayBuffer, toHex, toUint8Array } from "@smithy/core/serde";
2
3
  import { SHA256_HEADER, UNSIGNED_PAYLOAD } from "./constants";
3
4
  export const getPayloadHash = async ({ headers, body }, hashConstructor) => {
4
- for (const headerName of Object.keys(headers)) {
5
+ for (const headerName in headers) {
6
+ if (!hasOwn(headers, headerName))
7
+ continue;
5
8
  if (headerName.toLowerCase() === SHA256_HEADER) {
6
9
  return headers[headerName];
7
10
  }
@@ -1,6 +1,9 @@
1
+ import { hasOwn } from "@smithy/core/serde";
1
2
  export const hasHeader = (soughtHeader, headers) => {
2
3
  soughtHeader = soughtHeader.toLowerCase();
3
- for (const headerName of Object.keys(headers)) {
4
+ for (const headerName in headers) {
5
+ if (!hasOwn(headers, headerName))
6
+ continue;
4
7
  if (soughtHeader === headerName.toLowerCase()) {
5
8
  return true;
6
9
  }
@@ -9,7 +12,9 @@ export const hasHeader = (soughtHeader, headers) => {
9
12
  };
10
13
  export const getHeaderValue = (soughtHeader, headers) => {
11
14
  soughtHeader = soughtHeader.toLowerCase();
12
- for (const headerName of Object.keys(headers)) {
15
+ for (const headerName in headers) {
16
+ if (!hasOwn(headers, headerName))
17
+ continue;
13
18
  if (soughtHeader === headerName.toLowerCase()) {
14
19
  return headers[headerName];
15
20
  }
@@ -18,7 +23,9 @@ export const getHeaderValue = (soughtHeader, headers) => {
18
23
  };
19
24
  export const deleteHeader = (soughtHeader, headers) => {
20
25
  soughtHeader = soughtHeader.toLowerCase();
21
- for (const headerName of Object.keys(headers)) {
26
+ for (const headerName in headers) {
27
+ if (!hasOwn(headers, headerName))
28
+ continue;
22
29
  if (soughtHeader === headerName.toLowerCase()) {
23
30
  delete headers[headerName];
24
31
  }
@@ -1,7 +1,10 @@
1
+ import { hasOwn } from "@smithy/core/serde";
1
2
  import { HttpRequest } from "@smithy/core/protocols";
2
3
  export const moveHeadersToQuery = (request, options = {}) => {
3
4
  const { headers, query = {} } = HttpRequest.clone(request);
4
- for (const name of Object.keys(headers)) {
5
+ for (const name in headers) {
6
+ if (!hasOwn(headers, name))
7
+ continue;
5
8
  const lname = name.toLowerCase();
6
9
  if ((lname.slice(0, 6) === "x-amz-" && !options.unhoistableHeaders?.has(lname)) ||
7
10
  options.hoistableHeaders?.has(lname)) {
@@ -1,8 +1,11 @@
1
+ import { hasOwn } from "@smithy/core/serde";
1
2
  import { HttpRequest } from "@smithy/core/protocols";
2
3
  import { GENERATED_HEADERS } from "./constants";
3
4
  export const prepareRequest = (request) => {
4
5
  request = HttpRequest.clone(request);
5
- for (const headerName of Object.keys(request.headers)) {
6
+ for (const headerName in request.headers) {
7
+ if (!hasOwn(request.headers, headerName))
8
+ continue;
6
9
  if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) {
7
10
  delete request.headers[headerName];
8
11
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/signature-v4",
3
- "version": "5.6.12",
3
+ "version": "5.7.3",
4
4
  "description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
5
5
  "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/signature-v4",
6
6
  "license": "Apache-2.0",
@@ -27,9 +27,6 @@
27
27
  ]
28
28
  }
29
29
  },
30
- "publishConfig": {
31
- "directory": ".release/package"
32
- },
33
30
  "scripts": {
34
31
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
35
32
  "build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
@@ -37,23 +34,18 @@
37
34
  "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4",
38
35
  "clean": "premove dist-cjs dist-es dist-types",
39
36
  "extract:docs": "api-extractor run --local",
40
- "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
41
37
  "test": "yarn g:vitest run",
42
38
  "test:watch": "yarn g:vitest watch"
43
39
  },
44
40
  "dependencies": {
45
- "@smithy/core": "^3.31.1",
46
- "@smithy/types": "^4.16.1",
41
+ "@smithy/core": "^3.33.3",
42
+ "@smithy/types": "^4.17.2",
47
43
  "tslib": "^2.6.2"
48
44
  },
49
45
  "devDependencies": {
50
46
  "concurrently": "7.0.0",
51
47
  "downlevel-dts": "0.10.1",
52
- "premove": "4.0.0",
53
- "typedoc": "0.23.23"
54
- },
55
- "typedoc": {
56
- "entryPoint": "src/index.ts"
48
+ "premove": "4.0.0"
57
49
  },
58
50
  "engines": {
59
51
  "node": ">=18.0.0"
@@ -3,63 +3,63 @@
3
3
  * such as Buffer, string, or Readable(Stream) depending on circumstances.
4
4
  * @public
5
5
  */
6
- export type BlobSchema = 21;
6
+ export type BlobSchema = 0b0001_0101;
7
7
  /**
8
8
  * @public
9
9
  */
10
- export type StreamingBlobSchema = 42;
10
+ export type StreamingBlobSchema = 0b0010_1010;
11
11
  /**
12
12
  * @public
13
13
  */
14
- export type BooleanSchema = 2;
14
+ export type BooleanSchema = 0b0000_0010;
15
15
  /**
16
16
  * Includes string and enum Smithy types.
17
17
  * @public
18
18
  */
19
- export type StringSchema = 0;
19
+ export type StringSchema = 0b0000_0000;
20
20
  /**
21
21
  * Includes all numeric Smithy types except bigInteger and bigDecimal.
22
22
  * byte, short, integer, long, float, double, intEnum.
23
23
  *
24
24
  * @public
25
25
  */
26
- export type NumericSchema = 1;
26
+ export type NumericSchema = 0b0000_0001;
27
27
  /**
28
28
  * @public
29
29
  */
30
- export type BigIntegerSchema = 17;
30
+ export type BigIntegerSchema = 0b0001_0001;
31
31
  /**
32
32
  * @public
33
33
  */
34
- export type BigDecimalSchema = 19;
34
+ export type BigDecimalSchema = 0b0001_0011;
35
35
  /**
36
36
  * @public
37
37
  */
38
- export type DocumentSchema = 15;
38
+ export type DocumentSchema = 0b0000_1111;
39
39
  /**
40
40
  * Smithy type timestamp, in JS as native Date object.
41
41
  * @public
42
42
  */
43
- export type TimestampDefaultSchema = 4;
43
+ export type TimestampDefaultSchema = 0b0000_0100;
44
44
  /**
45
45
  * @public
46
46
  */
47
- export type TimestampDateTimeSchema = 5;
47
+ export type TimestampDateTimeSchema = 0b0000_0101;
48
48
  /**
49
49
  * @public
50
50
  */
51
- export type TimestampHttpDateSchema = 6;
51
+ export type TimestampHttpDateSchema = 0b0000_0110;
52
52
  /**
53
53
  * @public
54
54
  */
55
- export type TimestampEpochSecondsSchema = 7;
55
+ export type TimestampEpochSecondsSchema = 0b0000_0111;
56
56
  /**
57
57
  * Additional bit indicating the type is a list.
58
58
  * @public
59
59
  */
60
- export type ListSchemaModifier = 64;
60
+ export type ListSchemaModifier = 0b0100_0000;
61
61
  /**
62
62
  * Additional bit indicating the type is a map.
63
63
  * @public
64
64
  */
65
- export type MapSchemaModifier = 128;
65
+ export type MapSchemaModifier = 0b1000_0000;
@@ -1,60 +1,50 @@
1
1
  {
2
2
  "name": "@smithy/types",
3
- "version": "4.16.1",
3
+ "version": "4.17.2",
4
+ "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/types",
5
+ "license": "Apache-2.0",
6
+ "author": {
7
+ "name": "AWS Smithy Team",
8
+ "email": "",
9
+ "url": "https://smithy.io"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/smithy-lang/smithy-typescript.git",
14
+ "directory": "packages/types"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "types": "./dist-types/index.d.ts",
23
+ "typesVersions": {
24
+ "<=4.5": {
25
+ "dist-types/*": [
26
+ "dist-types/ts3.4/*"
27
+ ]
28
+ }
29
+ },
4
30
  "scripts": {
5
31
  "build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
6
- "build:es:cjs": "premove dist-es && yarn g:tsc -p tsconfig.es.json && node ../../scripts/inline",
32
+ "build:es:cjs": "node ../../scripts/compilation/es_cjs.js",
7
33
  "build:types": "premove dist-types && yarn g:tsc -p tsconfig.types.json",
8
34
  "build:types:downlevel": "premove dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4 && node scripts/downlevel",
9
35
  "clean": "premove dist-cjs dist-es dist-types",
10
36
  "extract:docs": "api-extractor run --local",
11
- "format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
12
- "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
- "stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
14
37
  "test": "yarn g:tsc -p tsconfig.test.json"
15
38
  },
16
- "main": "./dist-cjs/index.js",
17
- "module": "./dist-es/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "author": {
20
- "name": "AWS Smithy Team",
21
- "email": "",
22
- "url": "https://smithy.io"
23
- },
24
- "license": "Apache-2.0",
25
- "sideEffects": false,
26
39
  "dependencies": {
27
40
  "tslib": "^2.6.2"
28
41
  },
29
42
  "devDependencies": {
30
43
  "concurrently": "7.0.0",
31
44
  "downlevel-dts": "0.10.1",
32
- "premove": "4.0.0",
33
- "typedoc": "0.23.23"
45
+ "premove": "4.0.0"
34
46
  },
35
47
  "engines": {
36
48
  "node": ">=18.0.0"
37
- },
38
- "typesVersions": {
39
- "<=4.5": {
40
- "dist-types/*": [
41
- "dist-types/ts3.4/*"
42
- ]
43
- }
44
- },
45
- "files": [
46
- "dist-*/**"
47
- ],
48
- "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/types",
49
- "repository": {
50
- "type": "git",
51
- "url": "https://github.com/smithy-lang/smithy-typescript.git",
52
- "directory": "packages/types"
53
- },
54
- "typedoc": {
55
- "entryPoint": "src/index.ts"
56
- },
57
- "publishConfig": {
58
- "directory": ".release/package"
59
49
  }
60
50
  }
@@ -1,3 +1,25 @@
1
+ ## 0.8.3
2
+ - Fix buffer over-read for Zip64 extra fields
3
+ - Support sync flushes (`Z_SYNC_FLUSH` in zlib)
4
+ - Allows for immediate decompression of all pushed bytes
5
+ - Enables DEFLATE stream concatenation
6
+ - Fix `zip`/`zipSync` when using cross-realm `Uint8Array`
7
+ - Improve Zip64 support for streamed or undersized archives
8
+ - Update performance estimates in README
9
+ - Fix typings for TypeScript v5.7+
10
+ - Reduce memory consumption after compression stream completion
11
+ ## 0.8.2
12
+ - Fixed broken UMD build
13
+ - Fixed edge-case causing skipped data during streaming compression
14
+ - Fixed bug in GZIP streaming on member boundary
15
+ - Improved streaming performance on inconsistent chunk sizes
16
+ - Improved `unzip` performance on undercompressed archives
17
+ - Added flushing support into streaming API
18
+ - Added backpressure support into async streaming API
19
+ - Use new `ondrain` handler and `queuedSize`
20
+ ## 0.8.1
21
+ - Fixed reallocating on pre-supplied buffer in `inflateSync` and `unzlibSync`
22
+ - Minor documentation fixes
1
23
  ## 0.8.0
2
24
  - BREAKING: synchronous decompression functions now take an options object rather than an output buffer as a second parameter
3
25
  - `inflateSync(compressed, outBuf)` is now `inflateSync(compressed, { out: outBuf })`
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Arjun Barrett
3
+ Copyright (c) 2026 Arjun Barrett
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -8,7 +8,7 @@ In addition to the base decompression and compression APIs, `fflate` supports hi
8
8
 
9
9
  | | `pako` | `tiny-inflate` | `UZIP.js` | `fflate` |
10
10
  |-----------------------------|--------|------------------------|-----------------------|--------------------------------|
11
- | Decompression performance | 1x | Up to 40% slower | **Up to 40% faster** | **Up to 40% faster** |
11
+ | Decompression performance | 1x | Up to 40% slower | **Up to 25% faster** | **Up to 25% faster** |
12
12
  | Compression performance | 1x | N/A | Up to 25% faster | **Up to 50% faster** |
13
13
  | Base bundle size (minified) | 45.6kB | **3kB (inflate only)** | 14.2kB | 8kB **(3kB for inflate only)** |
14
14
  | Decompression support | ✅ | ✅ | ✅ | ✅ |
@@ -58,15 +58,15 @@ You should use either UNPKG or jsDelivr (i.e. only one of the following)
58
58
 
59
59
  Note that tree shaking is completely unsupported from the CDN. If you want
60
60
  a small build without build tools, please ask me and I will make one manually
61
- with only the features you need. This build is about 31kB, or 11.5kB gzipped.
61
+ with only the features you need. This build is about 33kB, or 12.5kB gzipped.
62
62
  -->
63
- <script src="https://unpkg.com/fflate@0.8.0"></script>
64
- <script src="https://cdn.jsdelivr.net/npm/fflate@0.8.0/umd/index.js"></script>
63
+ <script src="https://unpkg.com/fflate@0.8.3"></script>
64
+ <script src="https://cdn.jsdelivr.net/npm/fflate@0.8.3/umd/index.js"></script>
65
65
  <!-- Now, the global variable fflate contains the library -->
66
66
 
67
67
  <!-- If you're going buildless but want ESM, import from Skypack -->
68
68
  <script type="module">
69
- import * as fflate from 'https://cdn.skypack.dev/fflate@0.8.0?min';
69
+ import * as fflate from 'https://cdn.skypack.dev/fflate@0.8.3?min';
70
70
  </script>
71
71
  ```
72
72
 
@@ -75,8 +75,8 @@ If you are using Deno:
75
75
  // Don't use the ?dts Skypack flag; it isn't necessary for Deno support
76
76
  // The @deno-types comment adds TypeScript typings
77
77
 
78
- // @deno-types="https://cdn.skypack.dev/fflate@0.8.0/lib/index.d.ts"
79
- import * as fflate from 'https://cdn.skypack.dev/fflate@0.8.0?min';
78
+ // @deno-types="https://cdn.skypack.dev/fflate@0.8.3/lib/index.d.ts"
79
+ import * as fflate from 'https://cdn.skypack.dev/fflate@0.8.3?min';
80
80
  ```
81
81
 
82
82
 
@@ -376,9 +376,9 @@ unzipper.push(zipChunk2);
376
376
  unzipper.push(zipChunk3, true);
377
377
  ```
378
378
 
379
- As you may have guessed, there is an asynchronous version of every method as well. Unlike most libraries, this will cause the compression or decompression run in a separate thread entirely and automatically by using Web (or Node) Workers (as of now, Deno is unsupported). This means that the processing will not block the main thread at all.
379
+ As you may have guessed, there is an asynchronous version of every method as well. Unlike most libraries, this will cause the compression or decompression run in a separate thread entirely and automatically by using Web (or Node) Workers. This means that the processing will not block the main thread at all.
380
380
 
381
- Note that there is a significant initial overhead to using workers of about 70ms for each asynchronous function. For instance, if you call `unzip` ten times, the overhead only applies for the first call, but if you call `unzip` and `zlib`, they will each cause the 70ms delay. Therefore, it's best to avoid the asynchronous API unless necessary. However, if you're compressing multiple large files at once, or the synchronous API causes the main thread to hang for too long, the callback APIs are an order of magnitude better.
381
+ Note that there is a significant initial overhead to using workers of about 50ms for each asynchronous function. For instance, if you call `unzip` ten times, the overhead only applies for the first call, but if you call `unzip` and `zlib`, they will each cause the 50ms delay. For small (under about 50kB) payloads, the asynchronous APIs will be much slower. However, if you're compressing larger files/multiple files at once, or if the synchronous API causes the main thread to hang for too long, the callback APIs are an order of magnitude better.
382
382
  ```js
383
383
  import {
384
384
  gzip, zlib, AsyncGzip, zip, unzip, strFromU8,
@@ -386,9 +386,6 @@ import {
386
386
  } from 'fflate';
387
387
 
388
388
  // Workers will work in almost any browser (even IE11!)
389
- // However, they fail below Node v12 without the --experimental-worker
390
- // CLI flag, and will fail entirely on Node below v10.
391
-
392
389
  // All of the async APIs use a node-style callback as so:
393
390
  const terminate = gzip(aMassiveFile, (err, data) => {
394
391
  if (err) {
@@ -507,7 +504,7 @@ See the [documentation](https://github.com/101arrowz/fflate/blob/master/docs/REA
507
504
 
508
505
  The bundle size measurements for `fflate` on sites like Bundlephobia include every feature of the library and should be seen as an upper bound. As long as you are using tree shaking or dead code elimination, this table should give you a general idea of `fflate`'s bundle size for the features you need.
509
506
 
510
- The maximum bundle size that is possible with `fflate` is about 31kB (11.5kB gzipped) if you use every single feature, but feature parity with `pako` is only around 10kB (as opposed to 45kB from `pako`). If your bundle size increases dramatically after adding `fflate`, please [create an issue](https://github.com/101arrowz/fflate/issues/new).
507
+ The maximum bundle size that is possible with `fflate` is about 33kB (12.5kB gzipped) if you use every single feature, but feature parity with `pako` is only around 10kB (as opposed to 45kB from `pako`). If your bundle size increases dramatically after adding `fflate`, please [create an issue](https://github.com/101arrowz/fflate/issues/new).
511
508
 
512
509
  | Feature | Bundle size (minified) | Nearest competitor |
513
510
  |-------------------------|--------------------------------|-------------------------|
@@ -527,18 +524,18 @@ Many JavaScript compression/decompression libraries exist. However, the most pop
527
524
 
528
525
  Note that there exist some small libraries like [`tiny-inflate`](https://npmjs.com/package/tiny-inflate) for solely decompression, and with a minified size of 3 kB, it can be appealing; however, its performance is lackluster, typically 40% worse than `pako` in my tests.
529
526
 
530
- [`UZIP.js`](https://github.com/photopea/UZIP.js) is both faster (by up to 40%) and smaller (14 kB minified) than `pako`, and it contains a variety of innovations that make it excellent for both performance and compression ratio. However, the developer made a variety of tiny mistakes and inefficient design choices that make it imperfect. Moreover, it does not support GZIP or Zlib data directly; one must remove the headers manually to use `UZIP.js`.
527
+ [`UZIP.js`](https://github.com/photopea/UZIP.js) is both faster (by up to 25%) and smaller (14 kB minified) than `pako`, and it contains a variety of innovations that make it excellent for both performance and compression ratio. However, the developer made a variety of tiny mistakes and inefficient design choices that make it imperfect. Moreover, it does not support GZIP or Zlib data directly; one must remove the headers manually to use `UZIP.js`.
531
528
 
532
- So what makes `fflate` different? It takes the brilliant innovations of `UZIP.js` and optimizes them while adding direct support for GZIP and Zlib data. And unlike all of the above libraries, it uses ES Modules to allow for partial builds through tree shaking, meaning that it can rival even `tiny-inflate` in size while maintaining excellent performance. The end result is a library that, in total, weighs 8kB minified for the core build (3kB for decompression only and 5kB for compression only), is about 15% faster than `UZIP.js` or up to 60% faster than `pako`, and achieves the same or better compression ratio than the rest.
529
+ So what makes `fflate` different? It takes the brilliant innovations of `UZIP.js` and optimizes them while adding direct support for GZIP and Zlib data. And unlike all of the above libraries, it uses ES Modules to allow for partial builds through tree shaking, meaning that it can rival even `tiny-inflate` in size while maintaining excellent performance. The end result is a library that, in total, weighs 8kB minified for the core build (3kB for decompression only and 5kB for compression only), is about 25% faster than `UZIP.js` or up to 50% faster than `pako`, and achieves the same or better compression ratio than the rest.
533
530
 
534
531
  Before you decide that `fflate` is the end-all compression library, you should note that JavaScript simply cannot rival the performance of a native program. If you're only using Node.js, it's probably better to use the [native Zlib bindings](https://nodejs.org/api/zlib.html), which tend to offer the best performance. Though note that even against Zlib, `fflate` is only around 30% slower in decompression and 10% slower in compression, and can still achieve better compression ratios!
535
532
 
536
533
  ## What about `CompressionStream`?
537
534
  Like `fflate`, the [Compression Streams API](https://developer.mozilla.org/en-US/docs/Web/API/Compression_Streams_API) provides DEFLATE, GZIP, and Zlib compression and decompression support. It's a good option if you'd like to compress or decompress data without installing any third-party libraries, and it wraps native Zlib bindings to achieve better performance than what most JavaScript programs can achieve.
538
535
 
539
- However, browsers do not offer any native non-streaming compression API, and `CompressionStream` has surprisingly poor performance on data already loaded into memory; `fflate` tends to be faster even for files that are dozens of megabytes large. Similarly, `fflate` is much faster for files under a megabyte because it avoids marshalling overheads. Even when streaming hundreds of megabytes of data, the native API usually only performs between 5% slower and 10% faster than `fflate`. And Compression Streams have many other disadvantages - no ability to control compression level, poor support for older browsers, no ZIP support, etc.
536
+ However, browsers do not offer any native non-streaming compression API, and `CompressionStream` has surprisingly poor performance on data already loaded into memory; `fflate` tends to be faster even for files that are dozens of megabytes large. Similarly, `fflate` is much faster for files under a megabyte because it avoids marshalling overheads. Even when streaming hundreds of megabytes of data, the native API usually performs between 30% faster and 10% slower than `fflate`. And Compression Streams have many other disadvantages - no ability to control compression level, poor support for older browsers, no ZIP support, etc.
540
537
 
541
- If you'd still prefer to depend upon a native browser API, you can use an `fflate`-based [Compression Streams ponyfill](https://github.com/101arrowz/compression-streams-polyfill) for a seamless transition to `CompressionStream` and `DecompressionStream` if ever they become substantially faster than `fflate`.
538
+ If you'd still prefer to depend upon a native browser API but want to support older browsers, you can use an `fflate`-based [Compression Streams ponyfill](https://github.com/101arrowz/compression-streams-polyfill).
542
539
 
543
540
  ## Browser support
544
541
  `fflate` makes heavy use of typed arrays (`Uint8Array`, `Uint16Array`, etc.). Typed arrays can be polyfilled at the cost of performance, but the most recent browser that doesn't support them [is from 2011](https://caniuse.com/typedarrays), so I wouldn't bother.