cdk-preflight 1.12.0 → 1.12.2

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 (402) hide show
  1. package/.jsii +3 -3
  2. package/lib/index.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +2 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/package.json +6 -6
  6. package/node_modules/@aws-sdk/client-ec2/README.md +28 -0
  7. package/node_modules/@aws-sdk/client-ec2/dist-cjs/index.js +499 -113
  8. package/node_modules/@aws-sdk/client-ec2/dist-es/EC2.js +10 -0
  9. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/GetCapacityManagerSupportabilityScoresCommand.js +4 -0
  10. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/GetImageFindingsCommand.js +4 -0
  11. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/GetTransitGatewayAttachmentNatConfigurationCommand.js +4 -0
  12. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/ModifyTransitGatewayAttachmentNatConfigurationCommand.js +4 -0
  13. package/node_modules/@aws-sdk/client-ec2/dist-es/commands/index.js +4 -0
  14. package/node_modules/@aws-sdk/client-ec2/dist-es/models/enums.js +80 -29
  15. package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/GetImageFindingsPaginator.js +4 -0
  16. package/node_modules/@aws-sdk/client-ec2/dist-es/pagination/index.js +1 -0
  17. package/node_modules/@aws-sdk/client-ec2/dist-es/schemas/schemas_0.js +365 -83
  18. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2.d.ts +35 -0
  19. package/node_modules/@aws-sdk/client-ec2/dist-types/EC2Client.d.ts +8 -3
  20. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +82 -1
  21. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  22. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/CreateTransitGatewayRouteCommand.d.ts +1 -1
  23. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +2 -1
  24. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
  25. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DeleteTransitGatewayRouteTableCommand.d.ts +5 -2
  26. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeCapacityReservationFleetsCommand.d.ts +81 -0
  27. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeFleetHistoryCommand.d.ts +2 -1
  28. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeImagesCommand.d.ts +9 -0
  29. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeInstanceStatusCommand.d.ts +5 -0
  30. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +48 -0
  31. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +2 -1
  32. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +1 -2
  33. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -0
  34. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -2
  36. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetAllowedImagesSettingsCommand.d.ts +9 -0
  37. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMetricDataCommand.d.ts +2 -2
  38. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerMetricDimensionsCommand.d.ts +1 -1
  39. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetCapacityManagerSupportabilityScoresCommand.d.ts +183 -0
  40. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetImageFindingsCommand.d.ts +90 -0
  41. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.d.ts +19 -0
  42. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetTransitGatewayAttachmentNatConfigurationCommand.d.ts +82 -0
  43. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetVerifiedAccessEndpointTargetsCommand.d.ts +2 -1
  44. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  45. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetVpcResourcesBlockingEncryptionEnforcementCommand.d.ts +1 -1
  46. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -1
  47. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetVpnConnectionDeviceTypesCommand.d.ts +1 -1
  48. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/GetVpnTunnelReplacementStatusCommand.d.ts +1 -2
  49. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ModifyTransitGatewayAttachmentNatConfigurationCommand.d.ts +107 -0
  50. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  51. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  52. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  53. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
  54. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReleaseAddressCommand.d.ts +1 -1
  55. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReleaseHostsCommand.d.ts +1 -1
  56. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  57. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
  58. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +9 -0
  59. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
  60. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/SearchTransitGatewayRoutesCommand.d.ts +1 -1
  61. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +48 -0
  62. package/node_modules/@aws-sdk/client-ec2/dist-types/commands/index.d.ts +4 -0
  63. package/node_modules/@aws-sdk/client-ec2/dist-types/models/enums.d.ts +192 -77
  64. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_0.d.ts +165 -291
  65. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_1.d.ts +1839 -1665
  66. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_2.d.ts +25 -12
  67. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_3.d.ts +27 -38
  68. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_4.d.ts +241 -242
  69. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_5.d.ts +247 -57
  70. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_6.d.ts +537 -341
  71. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_7.d.ts +389 -246
  72. package/node_modules/@aws-sdk/client-ec2/dist-types/models/models_8.d.ts +360 -3
  73. package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/GetImageFindingsPaginator.d.ts +7 -0
  74. package/node_modules/@aws-sdk/client-ec2/dist-types/pagination/index.d.ts +1 -0
  75. package/node_modules/@aws-sdk/client-ec2/dist-types/schemas/schemas_0.d.ts +21 -0
  76. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2.d.ts +75 -0
  77. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/EC2Client.d.ts +24 -0
  78. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  79. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  80. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DeleteLaunchTemplateCommand.d.ts +2 -1
  81. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeFleetHistoryCommand.d.ts +2 -1
  82. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeReservedInstancesModificationsCommand.d.ts +2 -4
  83. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DescribeReservedInstancesOfferingsCommand.d.ts +4 -2
  84. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -1
  85. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +4 -2
  86. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetCapacityManagerSupportabilityScoresCommand.d.ts +42 -0
  87. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetImageFindingsCommand.d.ts +38 -0
  88. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetTransitGatewayAttachmentNatConfigurationCommand.d.ts +42 -0
  89. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetVerifiedAccessEndpointTargetsCommand.d.ts +2 -4
  90. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  91. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetVpcResourcesBlockingEncryptionEnforcementCommand.d.ts +1 -1
  92. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -1
  93. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetVpnConnectionDeviceTypesCommand.d.ts +1 -1
  94. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/GetVpnTunnelReplacementStatusCommand.d.ts +4 -2
  95. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ModifyTransitGatewayAttachmentNatConfigurationCommand.d.ts +42 -0
  96. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  97. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  98. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  99. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
  100. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReleaseAddressCommand.d.ts +1 -1
  101. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReleaseHostsCommand.d.ts +1 -1
  102. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  103. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
  104. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/commands/index.d.ts +4 -0
  105. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/enums.d.ts +99 -35
  106. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_0.d.ts +27 -60
  107. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_1.d.ts +118 -69
  108. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_2.d.ts +6 -6
  109. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_3.d.ts +10 -9
  110. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_4.d.ts +31 -34
  111. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_5.d.ts +37 -14
  112. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_6.d.ts +89 -68
  113. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_7.d.ts +86 -64
  114. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/models/models_8.d.ts +76 -1
  115. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/GetImageFindingsPaginator.d.ts +11 -0
  116. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/pagination/index.d.ts +1 -0
  117. package/node_modules/@aws-sdk/client-ec2/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
  118. package/node_modules/@aws-sdk/client-ec2/package.json +8 -8
  119. package/node_modules/@aws-sdk/client-lambda/README.md +1 -1
  120. package/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +9 -3
  121. package/node_modules/@aws-sdk/client-lambda/dist-es/models/enums.js +4 -0
  122. package/node_modules/@aws-sdk/client-lambda/dist-es/schemas/schemas_0.js +3 -2
  123. package/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +1 -1
  124. package/node_modules/@aws-sdk/client-lambda/dist-types/LambdaClient.d.ts +3 -2
  125. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts +2 -0
  126. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +1 -0
  127. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +1 -1
  128. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts +1 -0
  129. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCommand.d.ts +1 -1
  130. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts +1 -0
  131. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +1 -1
  132. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts +1 -1
  133. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishVersionCommand.d.ts +1 -1
  134. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +1 -1
  135. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +1 -1
  136. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +2 -0
  137. package/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +1 -1
  138. package/node_modules/@aws-sdk/client-lambda/dist-types/index.d.ts +1 -1
  139. package/node_modules/@aws-sdk/client-lambda/dist-types/models/enums.d.ts +12 -0
  140. package/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +21 -16
  141. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/enums.d.ts +6 -0
  142. package/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +2 -0
  143. package/node_modules/@aws-sdk/client-lambda/package.json +7 -7
  144. package/node_modules/@aws-sdk/client-service-quotas/dist-cjs/index.js +1 -1
  145. package/node_modules/@aws-sdk/client-service-quotas/dist-types/ServiceQuotasClient.d.ts +2 -1
  146. package/node_modules/@aws-sdk/client-service-quotas/package.json +6 -6
  147. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +1 -1
  148. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +2 -1
  149. package/node_modules/@aws-sdk/client-sts/package.json +8 -8
  150. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +38 -13
  151. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +7 -7
  152. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +104 -1549
  153. package/node_modules/@aws-sdk/core/dist-cjs/submodules/util/index.js +2 -1
  154. package/node_modules/@aws-sdk/core/dist-es/submodules/client/getDefaultSocketTimeout.js +10 -0
  155. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.browser.js +1 -0
  156. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
  157. package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.native.js +1 -0
  158. package/node_modules/@aws-sdk/core/dist-es/submodules/client/middleware-host-header/hostHeaderMiddleware.js +4 -2
  159. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-endpoints/lib/aws/parseArn.js +4 -2
  160. package/node_modules/@aws-sdk/core/dist-es/submodules/client/util-user-agent-browser/defaultUserAgent.js +18 -9
  161. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js +6 -3
  162. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +1 -4
  163. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +2 -7
  164. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +1 -3
  165. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +1 -3
  166. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.js +51 -0
  167. package/node_modules/@aws-sdk/core/dist-es/submodules/util/util-arn-parser/arn.js +2 -1
  168. package/node_modules/@aws-sdk/core/dist-types/submodules/client/getDefaultSocketTimeout.d.ts +11 -0
  169. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.browser.d.ts +1 -0
  170. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
  171. package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.native.d.ts +1 -0
  172. package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +3 -7
  173. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +3 -8
  174. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
  175. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
  176. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
  177. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
  178. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +25 -0
  179. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/getDefaultSocketTimeout.d.ts +4 -0
  180. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.browser.d.ts +1 -0
  181. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
  182. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.native.d.ts +1 -0
  183. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +11 -10
  184. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +1 -2
  185. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +1 -2
  186. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +2 -3
  187. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +2 -3
  188. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsSmithyRpcV2JsonProtocol.d.ts +36 -0
  189. package/node_modules/@aws-sdk/core/package.json +5 -5
  190. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
  191. package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
  192. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
  193. package/node_modules/@aws-sdk/credential-provider-login/package.json +5 -5
  194. package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
  195. package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
  196. package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
  197. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
  198. package/node_modules/@aws-sdk/middleware-sdk-ec2/package.json +5 -5
  199. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +3 -2
  200. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +10 -2
  201. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +3 -2
  202. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +3 -2
  203. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +3 -2
  204. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -1
  205. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/models/enums.js +7 -0
  206. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -1
  207. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -1
  208. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -1
  209. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -1
  210. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +2 -1
  211. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
  212. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -2
  213. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +3 -3
  214. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenCommand.d.ts +5 -59
  215. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/commands/CreateOAuth2TokenWithIAMCommand.d.ts +5 -33
  216. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -2
  217. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/enums.d.ts +16 -9
  218. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +8 -39
  219. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/models_0.d.ts +36 -48
  220. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +1 -0
  221. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts +2 -1
  222. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +1 -0
  223. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +2 -1
  224. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
  225. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +2 -1
  226. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
  227. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +1 -0
  228. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/models/enums.d.ts +7 -0
  229. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +1 -0
  230. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +1 -0
  231. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
  232. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -0
  233. package/node_modules/@aws-sdk/nested-clients/package.json +6 -6
  234. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -3
  235. package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +37 -19
  236. package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +37 -19
  237. package/node_modules/@aws-sdk/token-providers/package.json +5 -5
  238. package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +3 -0
  239. package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +3 -0
  240. package/node_modules/@aws-sdk/types/package.json +1 -1
  241. package/node_modules/@aws-sdk/xml-builder/package.json +1 -1
  242. package/node_modules/@smithy/core/dist-cjs/index.js +4 -2
  243. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +45 -53
  244. package/node_modules/@smithy/core/dist-cjs/submodules/client/index.js +52 -19
  245. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.browser.js +8 -4
  246. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.js +16 -8
  247. package/node_modules/@smithy/core/dist-cjs/submodules/config/index.native.js +8 -4
  248. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.browser.js +2 -1
  249. package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +10 -5
  250. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.browser.js +28 -9
  251. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +28 -9
  252. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +91 -58
  253. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +53 -15
  254. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +57 -17
  255. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +13 -4
  256. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +7 -1
  257. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +13 -4
  258. package/node_modules/@smithy/core/dist-cjs/submodules/transport/index.js +6 -3
  259. package/node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/DefaultIdentityProviderConfig.js +2 -1
  260. package/node_modules/@smithy/core/dist-es/normalizeProvider.js +2 -1
  261. package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +12 -37
  262. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeDeserializer.js +8 -4
  263. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v1/CborShapeSerializer.js +6 -3
  264. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeDeserializer2.js +12 -6
  265. package/node_modules/@smithy/core/dist-es/submodules/cbor/codec-v2/CborShapeSerializer2.js +4 -2
  266. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +2 -1
  267. package/node_modules/@smithy/core/dist-es/submodules/client/middleware-stack/MiddlewareStack.js +10 -5
  268. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/command.js +17 -2
  269. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/create-aggregated-client.js +2 -1
  270. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/exceptions.js +4 -2
  271. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/extensions/checksum.js +2 -1
  272. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/get-value-from-text-node.js +2 -1
  273. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/object-mapping.js +4 -2
  274. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/schemaLogFilter.js +10 -4
  275. package/node_modules/@smithy/core/dist-es/submodules/client/smithy-client/serde-json.js +2 -1
  276. package/node_modules/@smithy/core/dist-es/submodules/config/shared-ini-file-loader/getHomeDir.js +8 -4
  277. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/booleanSelector.js +6 -3
  278. package/node_modules/@smithy/core/dist-es/submodules/config/util-config-provider/numberSelector.js +2 -1
  279. package/node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointUrlConfig.js +8 -4
  280. package/node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/resolveEndpoint.js +2 -1
  281. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +6 -3
  282. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/HeaderMarshaller.js +12 -1
  283. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/Int64.js +2 -1
  284. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-codec/SmithyMessageDecoderStream.js +2 -1
  285. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde/utils.js +2 -1
  286. package/node_modules/@smithy/core/dist-es/submodules/event-streams/eventstream-serde-universal/getUnmarshalledStream.js +4 -2
  287. package/node_modules/@smithy/core/dist-es/submodules/protocols/AbstractRpcV2Protocol.js +35 -0
  288. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +8 -4
  289. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +4 -2
  290. package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +6 -2
  291. package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +1 -0
  292. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/SmithyRpcV2JsonProtocol.js +8 -31
  293. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +7 -5
  294. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +7 -5
  295. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +7 -5
  296. package/node_modules/@smithy/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +11 -8
  297. package/node_modules/@smithy/core/dist-es/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.js +3 -0
  298. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/configurations.js +4 -2
  299. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/parseRetryAfterHeader.js +2 -1
  300. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retry-pre-sra-deprecated/StandardRetryStrategy.js +6 -3
  301. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js +17 -8
  302. package/node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/util.js +6 -3
  303. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/race.js +22 -0
  304. package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +1 -0
  305. package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
  306. package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +1 -0
  307. package/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js +2 -1
  308. package/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.browser.js +6 -3
  309. package/node_modules/@smithy/core/dist-es/submodules/transport/httpResponse.js +2 -1
  310. package/node_modules/@smithy/core/dist-es/submodules/transport/normalizeProvider.js +2 -1
  311. package/node_modules/@smithy/core/dist-es/submodules/transport/toEndpointV1.js +2 -1
  312. package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
  313. package/node_modules/@smithy/core/dist-types/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
  314. package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +12 -0
  315. package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +1 -0
  316. package/node_modules/@smithy/core/dist-types/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +5 -14
  317. package/node_modules/@smithy/core/dist-types/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
  318. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/race.d.ts +3 -0
  319. package/node_modules/@smithy/core/dist-types/submodules/serde/index.browser.d.ts +1 -0
  320. package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
  321. package/node_modules/@smithy/core/dist-types/submodules/serde/index.native.d.ts +1 -0
  322. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +5 -14
  323. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/AbstractRpcV2Protocol.d.ts +45 -0
  324. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +12 -0
  325. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +1 -0
  326. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/json/SmithyRpcV2JsonProtocol.d.ts +5 -14
  327. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/protocol-http/extensions/httpExtensionConfiguration.d.ts +1 -0
  328. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/race.d.ts +3 -0
  329. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.browser.d.ts +1 -0
  330. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
  331. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.native.d.ts +1 -0
  332. package/node_modules/@smithy/core/package.json +2 -2
  333. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +84 -29
  334. package/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js +2 -1
  335. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +23 -11
  336. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +26 -2
  337. package/node_modules/@smithy/node-http-handler/dist-es/resolve-default-socket-timeout.js +4 -0
  338. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +30 -15
  339. package/node_modules/@smithy/node-http-handler/dist-types/resolve-default-socket-timeout.d.ts +4 -0
  340. package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +10 -1
  341. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/resolve-default-socket-timeout.d.ts +4 -0
  342. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +10 -1
  343. package/node_modules/@smithy/node-http-handler/package.json +3 -3
  344. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +23 -11
  345. package/node_modules/@smithy/signature-v4/dist-es/HeaderFormatter.js +4 -2
  346. package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +4 -2
  347. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalHeaders.js +5 -1
  348. package/node_modules/@smithy/signature-v4/dist-es/getCanonicalQuery.js +2 -1
  349. package/node_modules/@smithy/signature-v4/dist-es/getPayloadHash.js +2 -1
  350. package/node_modules/@smithy/signature-v4/dist-es/headerUtil.js +6 -3
  351. package/node_modules/@smithy/signature-v4/dist-es/moveHeadersToQuery.js +2 -1
  352. package/node_modules/@smithy/signature-v4/dist-es/prepareRequest.js +2 -1
  353. package/node_modules/@smithy/signature-v4/package.json +2 -2
  354. package/node_modules/@smithy/types/dist-types/middleware.d.ts +6 -0
  355. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +6 -0
  356. package/node_modules/@smithy/types/package.json +1 -1
  357. package/package.json +1 -1
  358. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonSettings.js +0 -1
  359. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v1/JsonCodec.js +0 -20
  360. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v1/JsonSettings.js +0 -1
  361. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeDeserializer.js +0 -160
  362. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v1/JsonShapeSerializer.js +0 -193
  363. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.js +0 -103
  364. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonCodec2.js +0 -20
  365. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.js +0 -200
  366. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/codec-v2/JsonShapeSerializer2.js +0 -519
  367. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/detectBufferParsing.js +0 -18
  368. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js +0 -46
  369. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js +0 -121
  370. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/needsReviver.js +0 -41
  371. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +0 -89
  372. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonSettings.d.ts +0 -7
  373. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonCodec.d.ts +0 -15
  374. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -7
  375. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -14
  376. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -29
  377. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -51
  378. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +0 -13
  379. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -30
  380. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -60
  381. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/detectBufferParsing.d.ts +0 -1
  382. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReplacer.d.ts +0 -21
  383. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/jsonReviver.d.ts +0 -15
  384. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/needsReviver.d.ts +0 -11
  385. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +0 -22
  386. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/JsonSettings.d.ts +0 -4
  387. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonCodec.d.ts +0 -11
  388. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonSettings.d.ts +0 -4
  389. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeDeserializer.d.ts +0 -13
  390. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v1/JsonShapeSerializer.d.ts +0 -18
  391. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonBytesStringAdapter.d.ts +0 -27
  392. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonCodec2.d.ts +0 -9
  393. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeDeserializer2.d.ts +0 -15
  394. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/codec-v2/JsonShapeSerializer2.d.ts +0 -39
  395. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/detectBufferParsing.d.ts +0 -1
  396. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReplacer.d.ts +0 -7
  397. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/jsonReviver.d.ts +0 -7
  398. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/needsReviver.d.ts +0 -2
  399. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +0 -14
  400. /package/node_modules/@smithy/core/dist-es/submodules/{protocols → serde}/writeKey.js +0 -0
  401. /package/node_modules/@smithy/core/dist-types/submodules/{protocols → serde}/writeKey.d.ts +0 -0
  402. /package/node_modules/@smithy/core/dist-types/ts3.4/submodules/{protocols → serde}/writeKey.d.ts +0 -0
@@ -62,6 +62,7 @@ const writeSSOTokenToFile = (id, ssoToken) => {
62
62
  };
63
63
 
64
64
  const lastRefreshAttemptTimes = new Map();
65
+ const inFlightRefreshes = new Map();
65
66
  const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
66
67
  init.logger?.debug("@aws-sdk/token-providers - fromSso");
67
68
  const profiles = await parseKnownFiles(init);
@@ -76,6 +77,10 @@ const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
76
77
  throw new TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`);
77
78
  }
78
79
  const ssoSessionName = profile["sso_session"];
80
+ const inFlightRefresh = inFlightRefreshes.get(ssoSessionName);
81
+ if (inFlightRefresh) {
82
+ return await inFlightRefresh;
83
+ }
79
84
  const ssoSessions = await loadSsoSessionData(init);
80
85
  const ssoSession = ssoSessions[ssoSessionName];
81
86
  if (!ssoSession) {
@@ -105,6 +110,10 @@ const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
105
110
  if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {
106
111
  return existingToken;
107
112
  }
113
+ const inFlightRefreshAfterReadingToken = inFlightRefreshes.get(ssoSessionName);
114
+ if (inFlightRefreshAfterReadingToken) {
115
+ return await inFlightRefreshAfterReadingToken;
116
+ }
108
117
  const lastRefreshAttemptTime = lastRefreshAttemptTimes.get(ssoSessionName) ?? 0;
109
118
  if (Date.now() - lastRefreshAttemptTime < 30 * 1000) {
110
119
  validateTokenExpiry(existingToken);
@@ -113,30 +122,39 @@ const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
113
122
  validateTokenKey("clientId", ssoToken.clientId, true);
114
123
  validateTokenKey("clientSecret", ssoToken.clientSecret, true);
115
124
  validateTokenKey("refreshToken", ssoToken.refreshToken, true);
116
- try {
117
- lastRefreshAttemptTimes.set(ssoSessionName, Date.now());
118
- const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig);
119
- validateTokenKey("accessToken", newSsoOidcToken.accessToken);
120
- validateTokenKey("expiresIn", newSsoOidcToken.expiresIn);
121
- const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1000);
125
+ const refresh = (async () => {
122
126
  try {
123
- await writeSSOTokenToFile(ssoSessionName, {
124
- ...ssoToken,
125
- accessToken: newSsoOidcToken.accessToken,
126
- expiresAt: newTokenExpiration.toISOString(),
127
- refreshToken: newSsoOidcToken.refreshToken,
128
- });
127
+ lastRefreshAttemptTimes.set(ssoSessionName, Date.now());
128
+ const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig);
129
+ validateTokenKey("accessToken", newSsoOidcToken.accessToken);
130
+ validateTokenKey("expiresIn", newSsoOidcToken.expiresIn);
131
+ const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1000);
132
+ try {
133
+ await writeSSOTokenToFile(ssoSessionName, {
134
+ ...ssoToken,
135
+ accessToken: newSsoOidcToken.accessToken,
136
+ expiresAt: newTokenExpiration.toISOString(),
137
+ refreshToken: newSsoOidcToken.refreshToken,
138
+ });
139
+ }
140
+ catch (error) {
141
+ }
142
+ return {
143
+ token: newSsoOidcToken.accessToken,
144
+ expiration: newTokenExpiration,
145
+ };
129
146
  }
130
147
  catch (error) {
148
+ validateTokenExpiry(existingToken);
149
+ return existingToken;
131
150
  }
132
- return {
133
- token: newSsoOidcToken.accessToken,
134
- expiration: newTokenExpiration,
135
- };
151
+ })();
152
+ inFlightRefreshes.set(ssoSessionName, refresh);
153
+ try {
154
+ return await refresh;
136
155
  }
137
- catch (error) {
138
- validateTokenExpiry(existingToken);
139
- return existingToken;
156
+ finally {
157
+ inFlightRefreshes.delete(ssoSessionName);
140
158
  }
141
159
  };
142
160
 
@@ -5,6 +5,7 @@ import { validateTokenExpiry } from "./validateTokenExpiry";
5
5
  import { validateTokenKey } from "./validateTokenKey";
6
6
  import { writeSSOTokenToFile } from "./writeSSOTokenToFile";
7
7
  const lastRefreshAttemptTimes = new Map();
8
+ const inFlightRefreshes = new Map();
8
9
  export const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
9
10
  init.logger?.debug("@aws-sdk/token-providers - fromSso");
10
11
  const profiles = await parseKnownFiles(init);
@@ -19,6 +20,10 @@ export const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
19
20
  throw new TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`);
20
21
  }
21
22
  const ssoSessionName = profile["sso_session"];
23
+ const inFlightRefresh = inFlightRefreshes.get(ssoSessionName);
24
+ if (inFlightRefresh) {
25
+ return await inFlightRefresh;
26
+ }
22
27
  const ssoSessions = await loadSsoSessionData(init);
23
28
  const ssoSession = ssoSessions[ssoSessionName];
24
29
  if (!ssoSession) {
@@ -48,6 +53,10 @@ export const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
48
53
  if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) {
49
54
  return existingToken;
50
55
  }
56
+ const inFlightRefreshAfterReadingToken = inFlightRefreshes.get(ssoSessionName);
57
+ if (inFlightRefreshAfterReadingToken) {
58
+ return await inFlightRefreshAfterReadingToken;
59
+ }
51
60
  const lastRefreshAttemptTime = lastRefreshAttemptTimes.get(ssoSessionName) ?? 0;
52
61
  if (Date.now() - lastRefreshAttemptTime < 30 * 1000) {
53
62
  validateTokenExpiry(existingToken);
@@ -56,29 +65,38 @@ export const fromSso = (init = {}) => async ({ callerClientConfig } = {}) => {
56
65
  validateTokenKey("clientId", ssoToken.clientId, true);
57
66
  validateTokenKey("clientSecret", ssoToken.clientSecret, true);
58
67
  validateTokenKey("refreshToken", ssoToken.refreshToken, true);
59
- try {
60
- lastRefreshAttemptTimes.set(ssoSessionName, Date.now());
61
- const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig);
62
- validateTokenKey("accessToken", newSsoOidcToken.accessToken);
63
- validateTokenKey("expiresIn", newSsoOidcToken.expiresIn);
64
- const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1000);
68
+ const refresh = (async () => {
65
69
  try {
66
- await writeSSOTokenToFile(ssoSessionName, {
67
- ...ssoToken,
68
- accessToken: newSsoOidcToken.accessToken,
69
- expiresAt: newTokenExpiration.toISOString(),
70
- refreshToken: newSsoOidcToken.refreshToken,
71
- });
70
+ lastRefreshAttemptTimes.set(ssoSessionName, Date.now());
71
+ const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init, callerClientConfig);
72
+ validateTokenKey("accessToken", newSsoOidcToken.accessToken);
73
+ validateTokenKey("expiresIn", newSsoOidcToken.expiresIn);
74
+ const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1000);
75
+ try {
76
+ await writeSSOTokenToFile(ssoSessionName, {
77
+ ...ssoToken,
78
+ accessToken: newSsoOidcToken.accessToken,
79
+ expiresAt: newTokenExpiration.toISOString(),
80
+ refreshToken: newSsoOidcToken.refreshToken,
81
+ });
82
+ }
83
+ catch (error) {
84
+ }
85
+ return {
86
+ token: newSsoOidcToken.accessToken,
87
+ expiration: newTokenExpiration,
88
+ };
72
89
  }
73
90
  catch (error) {
91
+ validateTokenExpiry(existingToken);
92
+ return existingToken;
74
93
  }
75
- return {
76
- token: newSsoOidcToken.accessToken,
77
- expiration: newTokenExpiration,
78
- };
94
+ })();
95
+ inFlightRefreshes.set(ssoSessionName, refresh);
96
+ try {
97
+ return await refresh;
79
98
  }
80
- catch (error) {
81
- validateTokenExpiry(existingToken);
82
- return existingToken;
99
+ finally {
100
+ inFlightRefreshes.delete(ssoSessionName);
83
101
  }
84
102
  };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.1150.0",
3
+ "version": "3.1164.0",
4
4
  "description": "A collection of token providers",
5
5
  "keywords": [
6
6
  "aws",
@@ -48,10 +48,10 @@
48
48
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-sdk/core": "^3.978.3",
52
- "@aws-sdk/nested-clients": "^3.997.48",
53
- "@aws-sdk/types": "^3.974.6",
54
- "@smithy/core": "^3.35.2",
51
+ "@aws-sdk/core": "^3.980.1",
52
+ "@aws-sdk/nested-clients": "^3.998.1",
53
+ "@aws-sdk/types": "^3.975.0",
54
+ "@smithy/core": "^3.38.0",
55
55
  "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
@@ -8,6 +8,9 @@ export type AwsSdkFeatures = Partial<{
8
8
  RETRY_MODE_LEGACY: "D";
9
9
  RETRY_MODE_STANDARD: "E";
10
10
  RETRY_MODE_ADAPTIVE: "F";
11
+ S3_TRANSFER: "G";
12
+ S3_TRANSFER_UPLOAD_DIRECTORY: "9";
13
+ S3_TRANSFER_DOWNLOAD_DIRECTORY: "+";
11
14
  S3_EXPRESS_BUCKET: "J";
12
15
  S3_ACCESS_GRANTS: "K";
13
16
  GZIP_REQUEST_COMPRESSION: "L";
@@ -5,6 +5,9 @@ export type AwsSdkFeatures = Partial<{
5
5
  RETRY_MODE_LEGACY: "D";
6
6
  RETRY_MODE_STANDARD: "E";
7
7
  RETRY_MODE_ADAPTIVE: "F";
8
+ S3_TRANSFER: "G";
9
+ S3_TRANSFER_UPLOAD_DIRECTORY: "9";
10
+ S3_TRANSFER_DOWNLOAD_DIRECTORY: "+";
8
11
  S3_EXPRESS_BUCKET: "J";
9
12
  S3_ACCESS_GRANTS: "K";
10
13
  GZIP_REQUEST_COMPRESSION: "L";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.974.6",
3
+ "version": "3.975.0",
4
4
  "description": "Types for the AWS SDK",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/types",
6
6
  "license": "Apache-2.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/xml-builder",
3
- "version": "3.972.41",
3
+ "version": "3.972.42",
4
4
  "description": "XML utilities for the AWS SDK",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/xml-builder",
6
6
  "license": "Apache-2.0",
@@ -139,8 +139,9 @@ const getHttpSigningPlugin = (config) => ({
139
139
  });
140
140
 
141
141
  const normalizeProvider = (input) => {
142
- if (typeof input === "function")
142
+ if (typeof input === "function") {
143
143
  return input;
144
+ }
144
145
  const promisified = Promise.resolve(input);
145
146
  return () => promisified;
146
147
  };
@@ -203,8 +204,9 @@ class DefaultIdentityProviderConfig {
203
204
  authSchemes = new Map();
204
205
  constructor(config) {
205
206
  for (const key in config) {
206
- if (!hasOwn(config, key))
207
+ if (!hasOwn(config, key)) {
207
208
  continue;
209
+ }
208
210
  const value = config[key];
209
211
  if (value !== undefined) {
210
212
  this.authSchemes.set(key, value);
@@ -1,7 +1,7 @@
1
1
  const { nv, NumericValue, calculateBodyLength, generateIdempotencyToken, fromBase64, _parseEpochTimestamp } = require("@smithy/core/serde");
2
- const { hasOwn, getSmithyContext } = require("@smithy/core/transport");
3
- const { HttpRequest, collectBody, SerdeContext, RpcProtocol } = require("@smithy/core/protocols");
4
- const { NormalizedSchema, deref, TypeRegistry } = require("@smithy/core/schema");
2
+ const { hasOwn } = require("@smithy/core/transport");
3
+ const { HttpRequest, collectBody, SerdeContext, AbstractRpcV2Protocol } = require("@smithy/core/protocols");
4
+ const { NormalizedSchema, TypeRegistry } = require("@smithy/core/schema");
5
5
 
6
6
  const majorUint64 = 0;
7
7
  const majorNegativeInt64 = 1;
@@ -931,8 +931,9 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
931
931
  }
932
932
  if (endpoint.headers) {
933
933
  for (const name in endpoint.headers) {
934
- if (!hasOwn(endpoint.headers, name))
934
+ if (!hasOwn(endpoint.headers, name)) {
935
935
  continue;
936
+ }
936
937
  contents.headers[name] = endpoint.headers[name];
937
938
  }
938
939
  }
@@ -1193,8 +1194,9 @@ function writeStruct(ns, value, serdeContext) {
1193
1194
  }
1194
1195
  if (typeof value.__type === "string") {
1195
1196
  for (const k in value) {
1196
- if (!hasOwn(value, k))
1197
+ if (!hasOwn(value, k)) {
1197
1198
  continue;
1199
+ }
1198
1200
  if (!memberNames.includes(k)) {
1199
1201
  writeString(k);
1200
1202
  writeUntypedValue(value[k]);
@@ -1260,8 +1262,9 @@ function writeMap(ns, value, isDocument, serdeContext) {
1260
1262
  const valueSchema = ns.getValueSchema();
1261
1263
  const keys = [];
1262
1264
  for (const k in value) {
1263
- if (!hasOwn(value, k))
1265
+ if (!hasOwn(value, k)) {
1264
1266
  continue;
1267
+ }
1265
1268
  const v = value[k];
1266
1269
  if (isDocument ? v !== undefined : v != null || sparse) {
1267
1270
  keys.push(k);
@@ -1675,8 +1678,9 @@ function readStruct(ns, count, startPos) {
1675
1678
  if (isUnion) {
1676
1679
  let resultEmpty = true;
1677
1680
  for (const _ in result) {
1678
- if (!hasOwn(result, _))
1681
+ if (!hasOwn(result, _)) {
1679
1682
  continue;
1683
+ }
1680
1684
  resultEmpty = false;
1681
1685
  break;
1682
1686
  }
@@ -1845,8 +1849,9 @@ function readMapIndefinite(ns) {
1845
1849
  if (isUnion) {
1846
1850
  let resultEmpty = true;
1847
1851
  for (const _ in result) {
1848
- if (!hasOwn(result, _))
1852
+ if (!hasOwn(result, _)) {
1849
1853
  continue;
1854
+ }
1850
1855
  resultEmpty = false;
1851
1856
  break;
1852
1857
  }
@@ -2151,8 +2156,9 @@ function transformObject(ns, value) {
2151
2156
  if (ns.isMapSchema()) {
2152
2157
  const targetSchema = ns.getValueSchema();
2153
2158
  for (const key in value) {
2154
- if (!hasOwn(value, key))
2159
+ if (!hasOwn(value, key)) {
2155
2160
  continue;
2161
+ }
2156
2162
  newObject[key] = transformObject(targetSchema, value[key]);
2157
2163
  }
2158
2164
  }
@@ -2162,8 +2168,9 @@ function transformObject(ns, value) {
2162
2168
  if (isUnion) {
2163
2169
  keys = new Set();
2164
2170
  for (const k in value) {
2165
- if (!hasOwn(value, k))
2171
+ if (!hasOwn(value, k)) {
2166
2172
  continue;
2173
+ }
2167
2174
  if (k !== "__type") {
2168
2175
  keys.add(k);
2169
2176
  }
@@ -2180,8 +2187,9 @@ function transformObject(ns, value) {
2180
2187
  if (isUnion && keys?.size === 1) {
2181
2188
  let newObjectEmpty = true;
2182
2189
  for (const _ in newObject) {
2183
- if (!hasOwn(newObject, _))
2190
+ if (!hasOwn(newObject, _)) {
2184
2191
  continue;
2192
+ }
2185
2193
  newObjectEmpty = false;
2186
2194
  break;
2187
2195
  }
@@ -2192,8 +2200,9 @@ function transformObject(ns, value) {
2192
2200
  }
2193
2201
  else if (typeof value.__type === "string") {
2194
2202
  for (const k in value) {
2195
- if (!hasOwn(value, k))
2203
+ if (!hasOwn(value, k)) {
2196
2204
  continue;
2205
+ }
2197
2206
  if (!(k in newObject)) {
2198
2207
  newObject[k] = value[k];
2199
2208
  }
@@ -2216,51 +2225,27 @@ class CborCodec extends SerdeContext {
2216
2225
  }
2217
2226
  }
2218
2227
 
2219
- class SmithyRpcV2CborProtocol extends RpcProtocol {
2228
+ class SmithyRpcV2CborProtocol extends AbstractRpcV2Protocol {
2220
2229
  codec = new CborCodec();
2221
2230
  serializer = this.codec.createSerializer();
2222
2231
  deserializer = this.codec.createDeserializer();
2223
- constructor({ defaultNamespace, errorTypeRegistries, }) {
2224
- super({ defaultNamespace, errorTypeRegistries });
2225
- }
2226
2232
  getShapeId() {
2227
2233
  return "smithy.protocols#rpcv2Cbor";
2228
2234
  }
2229
2235
  getPayloadCodec() {
2230
2236
  return this.codec;
2231
2237
  }
2232
- async serializeRequest(operationSchema, input, context) {
2233
- const request = await super.serializeRequest(operationSchema, input, context);
2234
- Object.assign(request.headers, {
2235
- "content-type": this.getDefaultContentType(),
2236
- "smithy-protocol": "rpc-v2-cbor",
2237
- accept: this.getDefaultContentType(),
2238
- });
2239
- if (deref(operationSchema.input) === "unit") {
2240
- delete request.body;
2241
- delete request.headers["content-type"];
2242
- }
2243
- else {
2244
- if (!request.body) {
2245
- this.serializer.write(15, {});
2246
- request.body = this.serializer.flush();
2247
- }
2248
- if (request.body instanceof Uint8Array) {
2249
- request.headers["content-length"] = String(request.body.byteLength);
2250
- }
2251
- }
2252
- const { service, operation } = getSmithyContext(context);
2253
- const path = `/service/${service}/operation/${operation}`;
2254
- if (request.path.endsWith("/")) {
2255
- request.path += path.slice(1);
2238
+ getSmithyProtocolHeaderValue() {
2239
+ return "rpc-v2-cbor";
2240
+ }
2241
+ applyEmptyBody(request) {
2242
+ if (!request.body) {
2243
+ this.serializer.write(15, {});
2244
+ request.body = this.serializer.flush();
2256
2245
  }
2257
- else {
2258
- request.path += path;
2246
+ if (request.body instanceof Uint8Array) {
2247
+ request.headers["content-length"] = String(request.body.byteLength);
2259
2248
  }
2260
- return request;
2261
- }
2262
- async deserializeResponse(operationSchema, context, response) {
2263
- return super.deserializeResponse(operationSchema, context, response);
2264
2249
  }
2265
2250
  async handleError(operationSchema, context, response, dataObject, metadata) {
2266
2251
  const errorIdentifier = loadSmithyRpcV2CborErrorCode(response, dataObject) ?? "Unknown";
@@ -2356,8 +2341,9 @@ class CborShapeSerializer extends SerdeContext {
2356
2341
  if (ns.isMapSchema()) {
2357
2342
  const sparse = !!ns.getMergedTraits().sparse;
2358
2343
  for (const key in sourceObject) {
2359
- if (!hasOwn(sourceObject, key))
2344
+ if (!hasOwn(sourceObject, key)) {
2360
2345
  continue;
2346
+ }
2361
2347
  const value = this.serialize(ns.getValueSchema(), sourceObject[key]);
2362
2348
  if (value != null || sparse) {
2363
2349
  newObject[key] = value;
@@ -2378,8 +2364,9 @@ class CborShapeSerializer extends SerdeContext {
2378
2364
  }
2379
2365
  else if (typeof sourceObject.__type === "string") {
2380
2366
  for (const k in sourceObject) {
2381
- if (!hasOwn(sourceObject, k))
2367
+ if (!hasOwn(sourceObject, k)) {
2382
2368
  continue;
2369
+ }
2383
2370
  if (!(k in newObject)) {
2384
2371
  newObject[k] = this.serialize(15, sourceObject[k]);
2385
2372
  }
@@ -2396,8 +2383,9 @@ class CborShapeSerializer extends SerdeContext {
2396
2383
  return newArray;
2397
2384
  }
2398
2385
  for (const key in sourceObject) {
2399
- if (!hasOwn(sourceObject, key))
2386
+ if (!hasOwn(sourceObject, key)) {
2400
2387
  continue;
2388
+ }
2401
2389
  newObject[key] = this.serialize(ns.getValueSchema(), sourceObject[key]);
2402
2390
  }
2403
2391
  }
@@ -2472,8 +2460,9 @@ class CborShapeDeserializer extends SerdeContext {
2472
2460
  if (ns.isMapSchema()) {
2473
2461
  const targetSchema = ns.getValueSchema();
2474
2462
  for (const key in value) {
2475
- if (!hasOwn(value, key))
2463
+ if (!hasOwn(value, key)) {
2476
2464
  continue;
2465
+ }
2477
2466
  const itemValue = this.readValue(targetSchema, value[key]);
2478
2467
  newObject[key] = itemValue;
2479
2468
  }
@@ -2484,8 +2473,9 @@ class CborShapeDeserializer extends SerdeContext {
2484
2473
  if (isUnion) {
2485
2474
  keys = new Set();
2486
2475
  for (const k in value) {
2487
- if (!hasOwn(value, k))
2476
+ if (!hasOwn(value, k)) {
2488
2477
  continue;
2478
+ }
2489
2479
  if (k !== "__type") {
2490
2480
  keys.add(k);
2491
2481
  }
@@ -2502,8 +2492,9 @@ class CborShapeDeserializer extends SerdeContext {
2502
2492
  if (isUnion && keys?.size === 1) {
2503
2493
  let newObjectEmpty = true;
2504
2494
  for (const _ in newObject) {
2505
- if (!hasOwn(newObject, _))
2495
+ if (!hasOwn(newObject, _)) {
2506
2496
  continue;
2497
+ }
2507
2498
  newObjectEmpty = false;
2508
2499
  break;
2509
2500
  }
@@ -2514,8 +2505,9 @@ class CborShapeDeserializer extends SerdeContext {
2514
2505
  }
2515
2506
  else if (typeof value.__type === "string") {
2516
2507
  for (const k in value) {
2517
- if (!hasOwn(value, k))
2508
+ if (!hasOwn(value, k)) {
2518
2509
  continue;
2510
+ }
2519
2511
  if (!(k in newObject)) {
2520
2512
  newObject[k] = value[k];
2521
2513
  }