@gemeentenijmegen/webapp 1.1.1 → 1.1.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 (394) hide show
  1. package/.jsii +10 -10
  2. package/assets/webapp/auth/auth.lambda/index.js +56 -35
  3. package/assets/webapp/login/login.lambda/index.js +56 -35
  4. package/assets/webapp/logout/logout.lambda/index.js +56 -209
  5. package/lib/webapp/Criticality.js +1 -1
  6. package/lib/webapp/Webapp.js +1 -1
  7. package/lib/webapp/Webpage.js +1 -1
  8. package/lib/webapp/util/Files.js +1 -1
  9. package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js +23 -20
  10. package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_0.js +15 -15
  11. package/node_modules/@aws-sdk/client-dynamodb/dist-es/protocols/Aws_json1_0.js +3 -0
  12. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateGlobalTableCommand.d.ts +10 -0
  13. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateTableCommand.d.ts +28 -0
  14. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteTableCommand.d.ts +20 -0
  15. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableCommand.d.ts +10 -0
  16. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeImportCommand.d.ts +4 -0
  17. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableCommand.d.ts +20 -0
  18. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ImportTableCommand.d.ts +8 -0
  19. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableFromBackupCommand.d.ts +24 -0
  20. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +24 -0
  21. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableCommand.d.ts +10 -0
  22. package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableCommand.d.ts +32 -0
  23. package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts +758 -655
  24. package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_0.d.ts +744 -641
  25. package/node_modules/@aws-sdk/client-dynamodb/package.json +37 -37
  26. package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +152 -29
  27. package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +0 -1
  28. package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +0 -1
  29. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +0 -1
  30. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +0 -1
  31. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +0 -1
  32. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +0 -1
  33. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +0 -1
  34. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +0 -1
  35. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +0 -1
  36. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +0 -1
  37. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +0 -1
  38. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +0 -1
  39. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +0 -1
  40. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +0 -1
  41. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +0 -1
  42. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +0 -1
  43. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +0 -1
  44. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +0 -1
  45. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +0 -1
  46. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +0 -1
  47. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +0 -1
  48. package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +0 -1
  49. package/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +0 -1
  50. package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +0 -1
  51. package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +48 -0
  52. package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +75 -4
  53. package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +16 -13
  54. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +47 -42
  55. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +77 -57
  56. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +60 -45
  57. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +92 -66
  58. package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +30 -16
  59. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +1 -1
  60. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +10 -3
  61. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +1 -1
  62. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +18 -10
  63. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  64. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +1 -1
  65. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +52 -9
  66. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +1 -1
  67. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +1 -1
  68. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +25 -21
  69. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +1 -1
  70. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -1
  71. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +1 -1
  72. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +3 -0
  73. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +1 -1
  74. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +41 -27
  75. package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -1
  76. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +1 -1
  77. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +1 -1
  78. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +1 -1
  79. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +1 -1
  80. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +18 -10
  81. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  82. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
  83. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +61 -17
  84. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +1 -1
  85. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -1
  86. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +1 -1
  87. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +1 -1
  88. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +1 -1
  89. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +30 -21
  90. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -1
  91. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +1 -1
  92. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +1 -1
  93. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
  94. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +1 -1
  95. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +1 -1
  96. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +1 -1
  97. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +62 -44
  98. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +98 -79
  99. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -1
  100. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +1 -1
  101. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -1
  102. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +20 -20
  103. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +1 -1
  104. package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -1
  105. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +32 -16
  106. package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +61 -39
  107. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +1 -1
  108. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -1
  109. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
  110. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +1 -1
  111. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +10 -3
  112. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +12 -3
  113. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +82 -65
  114. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +1 -1
  115. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +1 -1
  116. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +23 -14
  117. package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +22 -17
  118. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
  119. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +1 -1
  120. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
  121. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
  122. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +47 -32
  123. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
  124. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
  125. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +84 -45
  126. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
  127. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
  128. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
  129. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
  130. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +30 -21
  131. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +3 -4
  132. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
  133. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -1
  134. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +3 -6
  135. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +1 -1
  136. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +1 -1
  137. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +126 -78
  138. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
  139. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +3 -3
  140. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +2 -2
  141. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
  142. package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
  143. package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +1 -1
  144. package/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +1 -1
  145. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +52 -41
  146. package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +66 -52
  147. package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -1
  148. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +1720 -1409
  149. package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +509 -414
  150. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +799 -780
  151. package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +303 -279
  152. package/node_modules/@aws-sdk/client-s3/package.json +57 -57
  153. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/models/models_0.d.ts +184 -184
  154. package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/models/models_0.d.ts +184 -184
  155. package/node_modules/@aws-sdk/client-secrets-manager/package.json +35 -35
  156. package/node_modules/@aws-sdk/client-ssm/README.md +39 -7
  157. package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +834 -437
  158. package/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js +8 -0
  159. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetExecutionPreviewCommand.js +22 -0
  160. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListNodesCommand.js +23 -0
  161. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListNodesSummaryCommand.js +22 -0
  162. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/SendCommandCommand.js +1 -1
  163. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartExecutionPreviewCommand.js +22 -0
  164. package/node_modules/@aws-sdk/client-ssm/dist-es/commands/index.js +4 -0
  165. package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +99 -144
  166. package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js +167 -1
  167. package/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListNodesPaginator.js +4 -0
  168. package/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListNodesSummaryPaginator.js +4 -0
  169. package/node_modules/@aws-sdk/client-ssm/dist-es/pagination/index.js +2 -0
  170. package/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +159 -3
  171. package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +29 -0
  172. package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +6 -2
  173. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateResourceDataSyncCommand.d.ts +1 -1
  174. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteActivationCommand.d.ts +1 -1
  175. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeActivationsCommand.d.ts +1 -1
  176. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +1 -1
  177. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchesCommand.d.ts +1 -1
  178. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePropertiesCommand.d.ts +1 -1
  179. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetExecutionPreviewCommand.d.ts +98 -0
  180. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventoryCommand.d.ts +3 -4
  181. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsSummaryCommand.d.ts +3 -4
  182. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceItemsCommand.d.ts +1 -1
  183. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceSummariesCommand.d.ts +1 -1
  184. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListInventoryEntriesCommand.d.ts +1 -1
  185. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListNodesCommand.d.ts +123 -0
  186. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListNodesSummaryCommand.d.ts +123 -0
  187. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +1 -1
  188. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResetServiceSettingCommand.d.ts +2 -1
  189. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResumeSessionCommand.d.ts +1 -1
  190. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts +1 -1
  191. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendCommandCommand.d.ts +1 -1
  192. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAssociationsOnceCommand.d.ts +1 -1
  193. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAutomationExecutionCommand.d.ts +1 -1
  194. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartExecutionPreviewCommand.d.ts +141 -0
  195. package/node_modules/@aws-sdk/client-ssm/dist-types/commands/index.d.ts +4 -0
  196. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +711 -706
  197. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +2303 -2337
  198. package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +961 -196
  199. package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListNodesPaginator.d.ts +7 -0
  200. package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListNodesSummaryPaginator.d.ts +7 -0
  201. package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/index.d.ts +2 -0
  202. package/node_modules/@aws-sdk/client-ssm/dist-types/protocols/Aws_json1_1.d.ts +36 -0
  203. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +69 -0
  204. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +24 -0
  205. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetExecutionPreviewCommand.d.ts +51 -0
  206. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListNodesCommand.d.ts +47 -0
  207. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListNodesSummaryCommand.d.ts +48 -0
  208. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts +2 -4
  209. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResumeSessionCommand.d.ts +1 -1
  210. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendAutomationSignalCommand.d.ts +1 -1
  211. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendCommandCommand.d.ts +1 -1
  212. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAssociationsOnceCommand.d.ts +1 -1
  213. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAutomationExecutionCommand.d.ts +1 -1
  214. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartExecutionPreviewCommand.d.ts +51 -0
  215. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/index.d.ts +4 -0
  216. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +706 -702
  217. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +1010 -1004
  218. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +436 -198
  219. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListNodesPaginator.d.ts +11 -0
  220. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListNodesSummaryPaginator.d.ts +11 -0
  221. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/index.d.ts +2 -0
  222. package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
  223. package/node_modules/@aws-sdk/client-ssm/package.json +36 -36
  224. package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +18 -18
  225. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +18 -18
  226. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  227. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +74 -74
  228. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +74 -74
  229. package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
  230. package/node_modules/@aws-sdk/client-sts/README.md +8 -0
  231. package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +89 -12
  232. package/node_modules/@aws-sdk/client-sts/dist-es/STS.js +2 -0
  233. package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRootCommand.js +23 -0
  234. package/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js +1 -0
  235. package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +4 -0
  236. package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +53 -0
  237. package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +7 -0
  238. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +3 -2
  239. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +13 -13
  240. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +8 -8
  241. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +15 -30
  242. package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRootCommand.d.ts +129 -0
  243. package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +2 -2
  244. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +8 -8
  245. package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +6 -6
  246. package/node_modules/@aws-sdk/client-sts/dist-types/commands/index.d.ts +1 -0
  247. package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +202 -88
  248. package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +9 -0
  249. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +17 -0
  250. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +6 -0
  251. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRootCommand.d.ts +47 -0
  252. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/index.d.ts +1 -0
  253. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +68 -56
  254. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
  255. package/node_modules/@aws-sdk/client-sts/package.json +36 -36
  256. package/node_modules/@aws-sdk/core/package.json +14 -14
  257. package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -7
  258. package/node_modules/@aws-sdk/credential-provider-http/package.json +12 -12
  259. package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -15
  260. package/node_modules/@aws-sdk/credential-provider-node/package.json +14 -14
  261. package/node_modules/@aws-sdk/credential-provider-process/package.json +8 -8
  262. package/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -10
  263. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +10 -10
  264. package/node_modules/@aws-sdk/endpoint-cache/package.json +3 -3
  265. package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +8 -8
  266. package/node_modules/@aws-sdk/middleware-endpoint-discovery/package.json +10 -10
  267. package/node_modules/@aws-sdk/middleware-expect-continue/package.json +8 -8
  268. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +2 -2
  269. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js +2 -2
  270. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsMiddleware.d.ts +0 -3
  271. package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsMiddleware.d.ts +0 -1
  272. package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +13 -13
  273. package/node_modules/@aws-sdk/middleware-host-header/package.json +8 -8
  274. package/node_modules/@aws-sdk/middleware-location-constraint/package.json +7 -7
  275. package/node_modules/@aws-sdk/middleware-logger/package.json +7 -7
  276. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +8 -8
  277. package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +19 -18
  278. package/node_modules/@aws-sdk/middleware-ssec/package.json +7 -7
  279. package/node_modules/@aws-sdk/middleware-user-agent/package.json +11 -11
  280. package/node_modules/@aws-sdk/region-config-resolver/package.json +7 -7
  281. package/node_modules/@aws-sdk/s3-request-presigner/package.json +12 -12
  282. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +8 -8
  283. package/node_modules/@aws-sdk/token-providers/package.json +8 -8
  284. package/node_modules/@aws-sdk/types/package.json +2 -2
  285. package/node_modules/@aws-sdk/util-arn-parser/package.json +3 -3
  286. package/node_modules/@aws-sdk/util-endpoints/package.json +8 -8
  287. package/node_modules/@aws-sdk/util-format-url/package.json +6 -6
  288. package/node_modules/@aws-sdk/util-locate-window/package.json +3 -3
  289. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +5 -5
  290. package/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -7
  291. package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
  292. package/node_modules/@gemeentenijmegen/apiclient/package.json +7 -7
  293. package/node_modules/@gemeentenijmegen/apigateway-http/package.json +5 -5
  294. package/node_modules/@gemeentenijmegen/session/package.json +5 -5
  295. package/node_modules/@gemeentenijmegen/utils/package.json +7 -7
  296. package/node_modules/@smithy/abort-controller/package.json +4 -3
  297. package/node_modules/@smithy/config-resolver/package.json +7 -6
  298. package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +32 -7
  299. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +21 -20
  300. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +2 -2
  301. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +11 -1
  302. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js +5 -0
  303. package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +8 -2
  304. package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +1 -0
  305. package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +3 -2
  306. package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +1 -1
  307. package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +23 -0
  308. package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +1 -0
  309. package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +4 -2
  310. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +23 -0
  311. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +1 -0
  312. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +4 -2
  313. package/node_modules/@smithy/core/package.json +10 -9
  314. package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
  315. package/node_modules/@smithy/eventstream-codec/package.json +4 -3
  316. package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
  317. package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +5 -4
  318. package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
  319. package/node_modules/@smithy/eventstream-serde-universal/package.json +5 -4
  320. package/node_modules/@smithy/fetch-http-handler/dist-cjs/create-request.js +1 -0
  321. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +10 -3
  322. package/node_modules/@smithy/fetch-http-handler/dist-es/create-request.js +3 -0
  323. package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +3 -2
  324. package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +1 -1
  325. package/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +6 -0
  326. package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +6 -0
  327. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +6 -0
  328. package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +6 -0
  329. package/node_modules/@smithy/fetch-http-handler/package.json +9 -6
  330. package/node_modules/@smithy/hash-blob-browser/package.json +4 -3
  331. package/node_modules/@smithy/hash-node/package.json +4 -3
  332. package/node_modules/@smithy/hash-stream-node/package.json +4 -3
  333. package/node_modules/@smithy/invalid-dependency/package.json +4 -3
  334. package/node_modules/@smithy/md5-js/package.json +4 -3
  335. package/node_modules/@smithy/middleware-content-length/package.json +5 -4
  336. package/node_modules/@smithy/middleware-endpoint/package.json +11 -10
  337. package/node_modules/@smithy/middleware-retry/package.json +12 -10
  338. package/node_modules/@smithy/middleware-serde/package.json +6 -4
  339. package/node_modules/@smithy/middleware-stack/package.json +4 -3
  340. package/node_modules/@smithy/node-config-provider/package.json +6 -5
  341. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +20 -14
  342. package/node_modules/@smithy/node-http-handler/dist-cjs/timing.js +1 -0
  343. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +5 -4
  344. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
  345. package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +9 -2
  346. package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +5 -4
  347. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +2 -1
  348. package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -1
  349. package/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
  350. package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +4 -3
  351. package/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
  352. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
  353. package/node_modules/@smithy/node-http-handler/package.json +7 -6
  354. package/node_modules/@smithy/property-provider/package.json +4 -3
  355. package/node_modules/@smithy/protocol-http/package.json +4 -3
  356. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  357. package/node_modules/@smithy/querystring-parser/package.json +4 -3
  358. package/node_modules/@smithy/service-error-classification/package.json +4 -3
  359. package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -3
  360. package/node_modules/@smithy/signature-v4/package.json +6 -5
  361. package/node_modules/@smithy/smithy-client/package.json +9 -8
  362. package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
  363. package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +3 -2
  364. package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
  365. package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +3 -2
  366. package/node_modules/@smithy/types/package.json +1 -1
  367. package/node_modules/@smithy/url-parser/package.json +5 -4
  368. package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -5
  369. package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -8
  370. package/node_modules/@smithy/util-endpoints/package.json +7 -5
  371. package/node_modules/@smithy/util-middleware/package.json +4 -3
  372. package/node_modules/@smithy/util-retry/dist-cjs/index.js +5 -1
  373. package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +2 -1
  374. package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +4 -0
  375. package/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts +4 -0
  376. package/node_modules/@smithy/util-retry/package.json +5 -4
  377. package/node_modules/@smithy/util-stream/dist-cjs/index.js +1 -0
  378. package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -2
  379. package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +1 -1
  380. package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +6 -1
  381. package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +0 -1
  382. package/node_modules/@smithy/util-stream/dist-es/splitStream.js +2 -2
  383. package/node_modules/@smithy/util-stream/dist-es/stream-type-check.js +3 -0
  384. package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +4 -0
  385. package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +4 -0
  386. package/node_modules/@smithy/util-stream/package.json +10 -6
  387. package/node_modules/@smithy/util-waiter/package.json +5 -4
  388. package/package.json +13 -13
  389. package/node_modules/@gemeentenijmegen/session/node_modules/cookie/HISTORY.md +0 -147
  390. package/node_modules/@gemeentenijmegen/session/node_modules/cookie/LICENSE +0 -24
  391. package/node_modules/@gemeentenijmegen/session/node_modules/cookie/README.md +0 -317
  392. package/node_modules/@gemeentenijmegen/session/node_modules/cookie/SECURITY.md +0 -25
  393. package/node_modules/@gemeentenijmegen/session/node_modules/cookie/index.js +0 -274
  394. package/node_modules/@gemeentenijmegen/session/node_modules/cookie/package.json +0 -44
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/eventstream-serde-universal",
3
- "version": "3.0.10",
3
+ "version": "3.0.12",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline eventstream-serde-universal",
@@ -11,7 +11,8 @@
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
- "test": "yarn g:jest"
14
+ "test": "yarn g:vitest run",
15
+ "test:watch": "yarn g:vitest watch"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "module": "./dist-es/index.js",
@@ -22,8 +23,8 @@
22
23
  },
23
24
  "license": "Apache-2.0",
24
25
  "dependencies": {
25
- "@smithy/eventstream-codec": "^3.1.7",
26
- "@smithy/types": "^3.6.0",
26
+ "@smithy/eventstream-codec": "^3.1.9",
27
+ "@smithy/types": "^3.7.1",
27
28
  "tslib": "^2.6.2"
28
29
  },
29
30
  "devDependencies": {
@@ -0,0 +1 @@
1
+ module.exports = require("./index.js");
@@ -30,6 +30,12 @@ module.exports = __toCommonJS(src_exports);
30
30
  var import_protocol_http = require("@smithy/protocol-http");
31
31
  var import_querystring_builder = require("@smithy/querystring-builder");
32
32
 
33
+ // src/create-request.ts
34
+ function createRequest(url, requestOptions) {
35
+ return new Request(url, requestOptions);
36
+ }
37
+ __name(createRequest, "createRequest");
38
+
33
39
  // src/request-timeout.ts
34
40
  function requestTimeout(timeoutInMs = 0) {
35
41
  return new Promise((resolve, reject) => {
@@ -68,7 +74,7 @@ var _FetchHttpHandler = class _FetchHttpHandler {
68
74
  }
69
75
  if (keepAliveSupport.supported === void 0) {
70
76
  keepAliveSupport.supported = Boolean(
71
- typeof Request !== "undefined" && "keepalive" in new Request("https://[::1]")
77
+ typeof Request !== "undefined" && "keepalive" in createRequest("https://[::1]")
72
78
  );
73
79
  }
74
80
  }
@@ -127,7 +133,7 @@ var _FetchHttpHandler = class _FetchHttpHandler {
127
133
  }
128
134
  let removeSignalEventListener = /* @__PURE__ */ __name(() => {
129
135
  }, "removeSignalEventListener");
130
- const fetchRequest = new Request(url, requestOptions);
136
+ const fetchRequest = createRequest(url, requestOptions);
131
137
  const raceOfPromises = [
132
138
  fetch(fetchRequest).then((response) => {
133
139
  const fetchHeaders = response.headers;
@@ -193,7 +199,8 @@ var FetchHttpHandler = _FetchHttpHandler;
193
199
 
194
200
  // src/stream-collector.ts
195
201
  var streamCollector = /* @__PURE__ */ __name(async (stream) => {
196
- if (typeof Blob === "function" && stream instanceof Blob) {
202
+ var _a;
203
+ if (typeof Blob === "function" && stream instanceof Blob || ((_a = stream.constructor) == null ? void 0 : _a.name) === "Blob") {
197
204
  return new Uint8Array(await stream.arrayBuffer());
198
205
  }
199
206
  return collectStream(stream);
@@ -0,0 +1,3 @@
1
+ export function createRequest(url, requestOptions) {
2
+ return new Request(url, requestOptions);
3
+ }
@@ -1,5 +1,6 @@
1
1
  import { HttpResponse } from "@smithy/protocol-http";
2
2
  import { buildQueryString } from "@smithy/querystring-builder";
3
+ import { createRequest } from "./create-request";
3
4
  import { requestTimeout } from "./request-timeout";
4
5
  export const keepAliveSupport = {
5
6
  supported: undefined,
@@ -20,7 +21,7 @@ export class FetchHttpHandler {
20
21
  this.configProvider = Promise.resolve(this.config);
21
22
  }
22
23
  if (keepAliveSupport.supported === undefined) {
23
- keepAliveSupport.supported = Boolean(typeof Request !== "undefined" && "keepalive" in new Request("https://[::1]"));
24
+ keepAliveSupport.supported = Boolean(typeof Request !== "undefined" && "keepalive" in createRequest("https://[::1]"));
24
25
  }
25
26
  }
26
27
  destroy() {
@@ -76,7 +77,7 @@ export class FetchHttpHandler {
76
77
  Object.assign(requestOptions, this.config.requestInit(request));
77
78
  }
78
79
  let removeSignalEventListener = () => { };
79
- const fetchRequest = new Request(url, requestOptions);
80
+ const fetchRequest = createRequest(url, requestOptions);
80
81
  const raceOfPromises = [
81
82
  fetch(fetchRequest).then((response) => {
82
83
  const fetchHeaders = response.headers;
@@ -1,5 +1,5 @@
1
1
  export const streamCollector = async (stream) => {
2
- if (typeof Blob === "function" && stream instanceof Blob) {
2
+ if ((typeof Blob === "function" && stream instanceof Blob) || stream.constructor?.name === "Blob") {
3
3
  return new Uint8Array(await stream.arrayBuffer());
4
4
  }
5
5
  return collectStream(stream);
@@ -0,0 +1,6 @@
1
+ import { AdditionalRequestParameters } from "./fetch-http-handler";
2
+ /**
3
+ * @internal
4
+ * For mocking/interception.
5
+ */
6
+ export declare function createRequest(url: string, requestOptions?: RequestInit & AdditionalRequestParameters): Request;
@@ -10,6 +10,12 @@ type FetchHttpHandlerConfig = FetchHttpHandlerOptions;
10
10
  export declare const keepAliveSupport: {
11
11
  supported: boolean | undefined;
12
12
  };
13
+ /**
14
+ * @internal
15
+ */
16
+ export type AdditionalRequestParameters = {
17
+ duplex?: "half";
18
+ };
13
19
  /**
14
20
  * @public
15
21
  *
@@ -0,0 +1,6 @@
1
+ import { AdditionalRequestParameters } from "./fetch-http-handler";
2
+ /**
3
+ * @internal
4
+ * For mocking/interception.
5
+ */
6
+ export declare function createRequest(url: string, requestOptions?: RequestInit & AdditionalRequestParameters): Request;
@@ -10,6 +10,12 @@ type FetchHttpHandlerConfig = FetchHttpHandlerOptions;
10
10
  export declare const keepAliveSupport: {
11
11
  supported: boolean | undefined;
12
12
  };
13
+ /**
14
+ * @internal
15
+ */
16
+ export type AdditionalRequestParameters = {
17
+ duplex?: "half";
18
+ };
13
19
  /**
14
20
  * @public
15
21
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/fetch-http-handler",
3
- "version": "4.0.0",
3
+ "version": "4.1.1",
4
4
  "description": "Provides a way to make requests",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -13,7 +13,10 @@
13
13
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
14
14
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
15
15
  "extract:docs": "api-extractor run --local",
16
- "test": "yarn g:jest --coverage --forceExit && yarn g:karma start karma.conf.js"
16
+ "test": "yarn g:vitest run && yarn test:browser",
17
+ "test:watch": "yarn g:vitest watch",
18
+ "test:browser": "yarn g:vitest run -c vitest.config.browser.ts",
19
+ "test:browser:watch": "yarn g:vitest watch -c vitest.config.browser.ts"
17
20
  },
18
21
  "author": {
19
22
  "name": "AWS SDK for JavaScript Team",
@@ -24,14 +27,14 @@
24
27
  "module": "./dist-es/index.js",
25
28
  "types": "./dist-types/index.d.ts",
26
29
  "dependencies": {
27
- "@smithy/protocol-http": "^4.1.5",
28
- "@smithy/querystring-builder": "^3.0.8",
29
- "@smithy/types": "^3.6.0",
30
+ "@smithy/protocol-http": "^4.1.7",
31
+ "@smithy/querystring-builder": "^3.0.10",
32
+ "@smithy/types": "^3.7.1",
30
33
  "@smithy/util-base64": "^3.0.0",
31
34
  "tslib": "^2.6.2"
32
35
  },
33
36
  "devDependencies": {
34
- "@smithy/abort-controller": "^3.1.6",
37
+ "@smithy/abort-controller": "^3.1.8",
35
38
  "concurrently": "7.0.0",
36
39
  "downlevel-dts": "0.10.1",
37
40
  "rimraf": "3.0.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/hash-blob-browser",
3
- "version": "3.1.7",
3
+ "version": "3.1.9",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline hash-blob-browser",
@@ -11,7 +11,8 @@
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
- "test": "yarn g:karma start karma.conf.js"
14
+ "test": "yarn g:vitest run",
15
+ "test:watch": "yarn g:vitest watch"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "module": "./dist-es/index.js",
@@ -24,7 +25,7 @@
24
25
  "dependencies": {
25
26
  "@smithy/chunked-blob-reader": "^4.0.0",
26
27
  "@smithy/chunked-blob-reader-native": "^3.0.1",
27
- "@smithy/types": "^3.6.0",
28
+ "@smithy/types": "^3.7.1",
28
29
  "tslib": "^2.6.2"
29
30
  },
30
31
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/hash-node",
3
- "version": "3.0.8",
3
+ "version": "3.0.10",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline hash-node",
@@ -11,7 +11,8 @@
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
- "test": "yarn g:jest"
14
+ "test": "yarn g:vitest run",
15
+ "test:watch": "yarn g:vitest watch"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "module": "./dist-es/index.js",
@@ -30,7 +31,7 @@
30
31
  "typedoc": "0.23.23"
31
32
  },
32
33
  "dependencies": {
33
- "@smithy/types": "^3.6.0",
34
+ "@smithy/types": "^3.7.1",
34
35
  "@smithy/util-buffer-from": "^3.0.0",
35
36
  "@smithy/util-utf8": "^3.0.0",
36
37
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/hash-stream-node",
3
- "version": "3.1.7",
3
+ "version": "3.1.9",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline hash-stream-node",
@@ -11,7 +11,8 @@
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
- "test": "yarn g:jest"
14
+ "test": "yarn g:vitest run",
15
+ "test:watch": "yarn g:vitest watch"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "module": "./dist-es/index.js",
@@ -22,7 +23,7 @@
22
23
  },
23
24
  "license": "Apache-2.0",
24
25
  "dependencies": {
25
- "@smithy/types": "^3.6.0",
26
+ "@smithy/types": "^3.7.1",
26
27
  "@smithy/util-utf8": "^3.0.0",
27
28
  "tslib": "^2.6.2"
28
29
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/invalid-dependency",
3
- "version": "3.0.8",
3
+ "version": "3.0.10",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline invalid-dependency",
@@ -11,7 +11,8 @@
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
- "test": "yarn g:jest"
14
+ "test": "yarn g:vitest run",
15
+ "test:watch": "yarn g:vitest watch"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "module": "./dist-es/index.js",
@@ -22,7 +23,7 @@
22
23
  },
23
24
  "license": "Apache-2.0",
24
25
  "dependencies": {
25
- "@smithy/types": "^3.6.0",
26
+ "@smithy/types": "^3.7.1",
26
27
  "tslib": "^2.6.2"
27
28
  },
28
29
  "typesVersions": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/md5-js",
3
- "version": "3.0.8",
3
+ "version": "3.0.10",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline md5-js",
@@ -11,7 +11,8 @@
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
- "test": "yarn g:jest"
14
+ "test": "yarn g:vitest run",
15
+ "test:watch": "yarn g:vitest watch"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "module": "./dist-es/index.js",
@@ -32,7 +33,7 @@
32
33
  "typedoc": "0.23.23"
33
34
  },
34
35
  "dependencies": {
35
- "@smithy/types": "^3.6.0",
36
+ "@smithy/types": "^3.7.1",
36
37
  "@smithy/util-utf8": "^3.0.0",
37
38
  "tslib": "^2.6.2"
38
39
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-content-length",
3
- "version": "3.0.10",
3
+ "version": "3.0.12",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-content-length",
@@ -12,7 +12,8 @@
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
14
  "test": "exit 0",
15
- "test:integration": "yarn g:jest --config jest.config.integ.js"
15
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.ts",
16
+ "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.ts"
16
17
  },
17
18
  "main": "./dist-cjs/index.js",
18
19
  "module": "./dist-es/index.js",
@@ -23,8 +24,8 @@
23
24
  },
24
25
  "license": "Apache-2.0",
25
26
  "dependencies": {
26
- "@smithy/protocol-http": "^4.1.5",
27
- "@smithy/types": "^3.6.0",
27
+ "@smithy/protocol-http": "^4.1.7",
28
+ "@smithy/types": "^3.7.1",
28
29
  "tslib": "^2.6.2"
29
30
  },
30
31
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-endpoint",
3
- "version": "3.2.1",
3
+ "version": "3.2.4",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-endpoint",
@@ -11,8 +11,9 @@
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
- "test": "yarn g:jest --passWithNoTests",
15
- "extract:docs": "api-extractor run --local"
14
+ "test": "yarn g:vitest run",
15
+ "extract:docs": "api-extractor run --local",
16
+ "test:watch": "yarn g:vitest watch"
16
17
  },
17
18
  "main": "./dist-cjs/index.js",
18
19
  "module": "./dist-es/index.js",
@@ -23,13 +24,13 @@
23
24
  },
24
25
  "license": "Apache-2.0",
25
26
  "dependencies": {
26
- "@smithy/core": "^2.5.1",
27
- "@smithy/middleware-serde": "^3.0.8",
28
- "@smithy/node-config-provider": "^3.1.9",
29
- "@smithy/shared-ini-file-loader": "^3.1.9",
30
- "@smithy/types": "^3.6.0",
31
- "@smithy/url-parser": "^3.0.8",
32
- "@smithy/util-middleware": "^3.0.8",
27
+ "@smithy/core": "^2.5.4",
28
+ "@smithy/middleware-serde": "^3.0.10",
29
+ "@smithy/node-config-provider": "^3.1.11",
30
+ "@smithy/shared-ini-file-loader": "^3.1.11",
31
+ "@smithy/types": "^3.7.1",
32
+ "@smithy/url-parser": "^3.0.10",
33
+ "@smithy/util-middleware": "^3.0.10",
33
34
  "tslib": "^2.6.2"
34
35
  },
35
36
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-retry",
3
- "version": "3.0.25",
3
+ "version": "3.0.28",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-retry",
@@ -12,8 +12,10 @@
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
14
  "extract:docs": "api-extractor run --local",
15
- "test": "yarn g:jest",
16
- "test:integration": "yarn g:jest --config jest.config.integ.js"
15
+ "test": "yarn g:vitest run",
16
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.ts",
17
+ "test:watch": "yarn g:vitest watch",
18
+ "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.ts"
17
19
  },
18
20
  "main": "./dist-cjs/index.js",
19
21
  "module": "./dist-es/index.js",
@@ -31,13 +33,13 @@
31
33
  },
32
34
  "license": "Apache-2.0",
33
35
  "dependencies": {
34
- "@smithy/node-config-provider": "^3.1.9",
35
- "@smithy/protocol-http": "^4.1.5",
36
- "@smithy/service-error-classification": "^3.0.8",
37
- "@smithy/smithy-client": "^3.4.2",
38
- "@smithy/types": "^3.6.0",
39
- "@smithy/util-middleware": "^3.0.8",
40
- "@smithy/util-retry": "^3.0.8",
36
+ "@smithy/node-config-provider": "^3.1.11",
37
+ "@smithy/protocol-http": "^4.1.7",
38
+ "@smithy/service-error-classification": "^3.0.10",
39
+ "@smithy/smithy-client": "^3.4.5",
40
+ "@smithy/types": "^3.7.1",
41
+ "@smithy/util-middleware": "^3.0.10",
42
+ "@smithy/util-retry": "^3.0.10",
41
43
  "tslib": "^2.6.2",
42
44
  "uuid": "^9.0.1"
43
45
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-serde",
3
- "version": "3.0.8",
3
+ "version": "3.0.10",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline middleware-serde",
@@ -11,8 +11,10 @@
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
12
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
13
13
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
14
- "test": "yarn g:jest",
15
- "test:integration": "yarn g:jest --config jest.config.integ.js"
14
+ "test": "yarn g:vitest run",
15
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.ts",
16
+ "test:watch": "yarn g:vitest watch",
17
+ "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.ts"
16
18
  },
17
19
  "main": "./dist-cjs/index.js",
18
20
  "module": "./dist-es/index.js",
@@ -23,7 +25,7 @@
23
25
  },
24
26
  "license": "Apache-2.0",
25
27
  "dependencies": {
26
- "@smithy/types": "^3.6.0",
28
+ "@smithy/types": "^3.7.1",
27
29
  "tslib": "^2.6.2"
28
30
  },
29
31
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/middleware-stack",
3
- "version": "3.0.8",
3
+ "version": "3.0.10",
4
4
  "description": "Provides a means for composing multiple middleware functions into a single handler",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -13,7 +13,8 @@
13
13
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
14
14
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
15
15
  "extract:docs": "api-extractor run --local",
16
- "test": "yarn g:jest"
16
+ "test": "yarn g:vitest run",
17
+ "test:watch": "yarn g:vitest watch"
17
18
  },
18
19
  "author": {
19
20
  "name": "AWS SDK for JavaScript Team",
@@ -25,7 +26,7 @@
25
26
  "module": "./dist-es/index.js",
26
27
  "types": "./dist-types/index.d.ts",
27
28
  "dependencies": {
28
- "@smithy/types": "^3.6.0",
29
+ "@smithy/types": "^3.7.1",
29
30
  "tslib": "^2.6.2"
30
31
  },
31
32
  "devDependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/node-config-provider",
3
- "version": "3.1.9",
3
+ "version": "3.1.11",
4
4
  "description": "Load config default values from ini config files and environmental variable",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
@@ -12,7 +12,8 @@
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
13
13
  "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
14
14
  "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
15
- "test": "yarn g:jest --passWithNoTests"
15
+ "test": "yarn g:vitest run",
16
+ "test:watch": "yarn g:vitest watch"
16
17
  },
17
18
  "author": {
18
19
  "name": "AWS SDK for JavaScript Team",
@@ -24,9 +25,9 @@
24
25
  "module": "./dist-es/index.js",
25
26
  "types": "./dist-types/index.d.ts",
26
27
  "dependencies": {
27
- "@smithy/property-provider": "^3.1.8",
28
- "@smithy/shared-ini-file-loader": "^3.1.9",
29
- "@smithy/types": "^3.6.0",
28
+ "@smithy/property-provider": "^3.1.10",
29
+ "@smithy/shared-ini-file-loader": "^3.1.11",
30
+ "@smithy/types": "^3.7.1",
30
31
  "tslib": "^2.6.2"
31
32
  },
32
33
  "devDependencies": {