@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.
- package/.jsii +10 -10
- package/assets/webapp/auth/auth.lambda/index.js +56 -35
- package/assets/webapp/login/login.lambda/index.js +56 -35
- package/assets/webapp/logout/logout.lambda/index.js +56 -209
- package/lib/webapp/Criticality.js +1 -1
- package/lib/webapp/Webapp.js +1 -1
- package/lib/webapp/Webpage.js +1 -1
- package/lib/webapp/util/Files.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js +23 -20
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_0.js +15 -15
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/protocols/Aws_json1_0.js +3 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateGlobalTableCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateTableCommand.d.ts +28 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteTableCommand.d.ts +20 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeImportCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableCommand.d.ts +20 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ImportTableCommand.d.ts +8 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableFromBackupCommand.d.ts +24 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +24 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableCommand.d.ts +10 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableCommand.d.ts +32 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts +758 -655
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_0.d.ts +744 -641
- package/node_modules/@aws-sdk/client-dynamodb/package.json +37 -37
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +152 -29
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +48 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +75 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +16 -13
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +47 -42
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +77 -57
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +60 -45
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +92 -66
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +30 -16
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +10 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +18 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +52 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +25 -21
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +41 -27
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +18 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +61 -17
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +30 -21
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +62 -44
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +98 -79
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +20 -20
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +32 -16
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +61 -39
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +10 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +12 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +82 -65
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +23 -14
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +22 -17
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +47 -32
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +84 -45
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +30 -21
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +3 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +126 -78
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +52 -41
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +66 -52
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +1720 -1409
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +509 -414
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +799 -780
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +303 -279
- package/node_modules/@aws-sdk/client-s3/package.json +57 -57
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/models/models_0.d.ts +184 -184
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/models/models_0.d.ts +184 -184
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +35 -35
- package/node_modules/@aws-sdk/client-ssm/README.md +39 -7
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +834 -437
- package/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js +8 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetExecutionPreviewCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListNodesCommand.js +23 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListNodesSummaryCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/SendCommandCommand.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartExecutionPreviewCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/index.js +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +99 -144
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js +167 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListNodesPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListNodesSummaryPaginator.js +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/pagination/index.js +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +159 -3
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +29 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +6 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateResourceDataSyncCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteActivationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeActivationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePropertiesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetExecutionPreviewCommand.d.ts +98 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventoryCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsSummaryCommand.d.ts +3 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceItemsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceSummariesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListInventoryEntriesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListNodesCommand.d.ts +123 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListNodesSummaryCommand.d.ts +123 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResetServiceSettingCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResumeSessionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendCommandCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAssociationsOnceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAutomationExecutionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartExecutionPreviewCommand.d.ts +141 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +711 -706
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +2303 -2337
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +961 -196
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListNodesPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListNodesSummaryPaginator.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/protocols/Aws_json1_1.d.ts +36 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +69 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +24 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetExecutionPreviewCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListNodesCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListNodesSummaryCommand.d.ts +48 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResumeSessionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendAutomationSignalCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendCommandCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAssociationsOnceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAutomationExecutionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartExecutionPreviewCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +706 -702
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +1010 -1004
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +436 -198
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListNodesPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListNodesSummaryPaginator.d.ts +11 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +48 -0
- package/node_modules/@aws-sdk/client-ssm/package.json +36 -36
- package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +18 -18
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +18 -18
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/models/models_0.d.ts +74 -74
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/models/models_0.d.ts +74 -74
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
- package/node_modules/@aws-sdk/client-sts/README.md +8 -0
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +89 -12
- package/node_modules/@aws-sdk/client-sts/dist-es/STS.js +2 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/AssumeRootCommand.js +23 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/models/models_0.js +4 -0
- package/node_modules/@aws-sdk/client-sts/dist-es/protocols/Aws_query.js +53 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/STS.d.ts +7 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +3 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleCommand.d.ts +13 -13
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithSAMLCommand.d.ts +8 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRoleWithWebIdentityCommand.d.ts +15 -30
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/AssumeRootCommand.d.ts +129 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/DecodeAuthorizationMessageCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetFederationTokenCommand.d.ts +8 -8
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/GetSessionTokenCommand.d.ts +6 -6
- package/node_modules/@aws-sdk/client-sts/dist-types/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/models/models_0.d.ts +202 -88
- package/node_modules/@aws-sdk/client-sts/dist-types/protocols/Aws_query.d.ts +9 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STS.d.ts +17 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +6 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/AssumeRootCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/models/models_0.d.ts +68 -56
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
- package/node_modules/@aws-sdk/client-sts/package.json +36 -36
- package/node_modules/@aws-sdk/core/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-http/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -15
- package/node_modules/@aws-sdk/credential-provider-node/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-process/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +10 -10
- package/node_modules/@aws-sdk/endpoint-cache/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-endpoint-discovery/package.json +10 -10
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +2 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js +2 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsMiddleware.d.ts +0 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/flexibleChecksumsMiddleware.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +13 -13
- package/node_modules/@aws-sdk/middleware-host-header/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-logger/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +8 -8
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +19 -18
- package/node_modules/@aws-sdk/middleware-ssec/package.json +7 -7
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +11 -11
- package/node_modules/@aws-sdk/region-config-resolver/package.json +7 -7
- package/node_modules/@aws-sdk/s3-request-presigner/package.json +12 -12
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +8 -8
- package/node_modules/@aws-sdk/token-providers/package.json +8 -8
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-arn-parser/package.json +3 -3
- package/node_modules/@aws-sdk/util-endpoints/package.json +8 -8
- package/node_modules/@aws-sdk/util-format-url/package.json +6 -6
- package/node_modules/@aws-sdk/util-locate-window/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +5 -5
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -7
- package/node_modules/@aws-sdk/xml-builder/package.json +4 -4
- package/node_modules/@gemeentenijmegen/apiclient/package.json +7 -7
- package/node_modules/@gemeentenijmegen/apigateway-http/package.json +5 -5
- package/node_modules/@gemeentenijmegen/session/package.json +5 -5
- package/node_modules/@gemeentenijmegen/utils/package.json +7 -7
- package/node_modules/@smithy/abort-controller/package.json +4 -3
- package/node_modules/@smithy/config-resolver/package.json +7 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +32 -7
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +21 -20
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +2 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +11 -1
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +8 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +3 -2
- package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +1 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +4 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +23 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +4 -2
- package/node_modules/@smithy/core/package.json +10 -9
- package/node_modules/@smithy/credential-provider-imds/package.json +7 -7
- package/node_modules/@smithy/eventstream-codec/package.json +4 -3
- package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +5 -4
- package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-universal/package.json +5 -4
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/create-request.js +1 -0
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +10 -3
- package/node_modules/@smithy/fetch-http-handler/dist-es/create-request.js +3 -0
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +3 -2
- package/node_modules/@smithy/fetch-http-handler/dist-es/stream-collector.js +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/create-request.d.ts +6 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +6 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/create-request.d.ts +6 -0
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +6 -0
- package/node_modules/@smithy/fetch-http-handler/package.json +9 -6
- package/node_modules/@smithy/hash-blob-browser/package.json +4 -3
- package/node_modules/@smithy/hash-node/package.json +4 -3
- package/node_modules/@smithy/hash-stream-node/package.json +4 -3
- package/node_modules/@smithy/invalid-dependency/package.json +4 -3
- package/node_modules/@smithy/md5-js/package.json +4 -3
- package/node_modules/@smithy/middleware-content-length/package.json +5 -4
- package/node_modules/@smithy/middleware-endpoint/package.json +11 -10
- package/node_modules/@smithy/middleware-retry/package.json +12 -10
- package/node_modules/@smithy/middleware-serde/package.json +6 -4
- package/node_modules/@smithy/middleware-stack/package.json +4 -3
- package/node_modules/@smithy/node-config-provider/package.json +6 -5
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +20 -14
- package/node_modules/@smithy/node-http-handler/dist-cjs/timing.js +1 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +5 -4
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +9 -2
- package/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js +5 -4
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/timing.js +4 -0
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +4 -3
- package/node_modules/@smithy/node-http-handler/dist-types/timing.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/timing.d.ts +8 -0
- package/node_modules/@smithy/node-http-handler/package.json +7 -6
- package/node_modules/@smithy/property-provider/package.json +4 -3
- package/node_modules/@smithy/protocol-http/package.json +4 -3
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +4 -3
- package/node_modules/@smithy/service-error-classification/package.json +4 -3
- package/node_modules/@smithy/shared-ini-file-loader/package.json +4 -3
- package/node_modules/@smithy/signature-v4/package.json +6 -5
- package/node_modules/@smithy/smithy-client/package.json +9 -8
- package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +3 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/transform/no-undefined.d.ts +3 -2
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +5 -4
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -5
- package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -8
- package/node_modules/@smithy/util-endpoints/package.json +7 -5
- package/node_modules/@smithy/util-middleware/package.json +4 -3
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +5 -1
- package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +2 -1
- package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +4 -0
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts +4 -0
- package/node_modules/@smithy/util-retry/package.json +5 -4
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js +1 -2
- package/node_modules/@smithy/util-stream/dist-cjs/splitStream.js +1 -1
- package/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js +6 -1
- package/node_modules/@smithy/util-stream/dist-es/sdk-stream-mixin.js +0 -1
- package/node_modules/@smithy/util-stream/dist-es/splitStream.js +2 -2
- package/node_modules/@smithy/util-stream/dist-es/stream-type-check.js +3 -0
- package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +4 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +4 -0
- package/node_modules/@smithy/util-stream/package.json +10 -6
- package/node_modules/@smithy/util-waiter/package.json +5 -4
- package/package.json +13 -13
- package/node_modules/@gemeentenijmegen/session/node_modules/cookie/HISTORY.md +0 -147
- package/node_modules/@gemeentenijmegen/session/node_modules/cookie/LICENSE +0 -24
- package/node_modules/@gemeentenijmegen/session/node_modules/cookie/README.md +0 -317
- package/node_modules/@gemeentenijmegen/session/node_modules/cookie/SECURITY.md +0 -25
- package/node_modules/@gemeentenijmegen/session/node_modules/cookie/index.js +0 -274
- package/node_modules/@gemeentenijmegen/session/node_modules/cookie/package.json +0 -44
|
@@ -56,6 +56,12 @@ var getTransformedHeaders = /* @__PURE__ */ __name((headers) => {
|
|
|
56
56
|
return transformedHeaders;
|
|
57
57
|
}, "getTransformedHeaders");
|
|
58
58
|
|
|
59
|
+
// src/timing.ts
|
|
60
|
+
var timing = {
|
|
61
|
+
setTimeout,
|
|
62
|
+
clearTimeout
|
|
63
|
+
};
|
|
64
|
+
|
|
59
65
|
// src/set-connection-timeout.ts
|
|
60
66
|
var DEFER_EVENT_LISTENER_TIME = 1e3;
|
|
61
67
|
var setConnectionTimeout = /* @__PURE__ */ __name((request, reject, timeoutInMs = 0) => {
|
|
@@ -63,7 +69,7 @@ var setConnectionTimeout = /* @__PURE__ */ __name((request, reject, timeoutInMs
|
|
|
63
69
|
return -1;
|
|
64
70
|
}
|
|
65
71
|
const registerTimeout = /* @__PURE__ */ __name((offset) => {
|
|
66
|
-
const timeoutId = setTimeout(() => {
|
|
72
|
+
const timeoutId = timing.setTimeout(() => {
|
|
67
73
|
request.destroy();
|
|
68
74
|
reject(
|
|
69
75
|
Object.assign(new Error(`Socket timed out without establishing a connection within ${timeoutInMs} ms`), {
|
|
@@ -74,10 +80,10 @@ var setConnectionTimeout = /* @__PURE__ */ __name((request, reject, timeoutInMs
|
|
|
74
80
|
const doWithSocket = /* @__PURE__ */ __name((socket) => {
|
|
75
81
|
if (socket == null ? void 0 : socket.connecting) {
|
|
76
82
|
socket.on("connect", () => {
|
|
77
|
-
clearTimeout(timeoutId);
|
|
83
|
+
timing.clearTimeout(timeoutId);
|
|
78
84
|
});
|
|
79
85
|
} else {
|
|
80
|
-
clearTimeout(timeoutId);
|
|
86
|
+
timing.clearTimeout(timeoutId);
|
|
81
87
|
}
|
|
82
88
|
}, "doWithSocket");
|
|
83
89
|
if (request.socket) {
|
|
@@ -90,7 +96,7 @@ var setConnectionTimeout = /* @__PURE__ */ __name((request, reject, timeoutInMs
|
|
|
90
96
|
registerTimeout(0);
|
|
91
97
|
return 0;
|
|
92
98
|
}
|
|
93
|
-
return setTimeout(registerTimeout.bind(null, DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME);
|
|
99
|
+
return timing.setTimeout(registerTimeout.bind(null, DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME);
|
|
94
100
|
}, "setConnectionTimeout");
|
|
95
101
|
|
|
96
102
|
// src/set-socket-keep-alive.ts
|
|
@@ -112,7 +118,7 @@ var setSocketKeepAlive = /* @__PURE__ */ __name((request, { keepAlive, keepAlive
|
|
|
112
118
|
registerListener();
|
|
113
119
|
return 0;
|
|
114
120
|
}
|
|
115
|
-
return setTimeout(registerListener, deferTimeMs);
|
|
121
|
+
return timing.setTimeout(registerListener, deferTimeMs);
|
|
116
122
|
}, "setSocketKeepAlive");
|
|
117
123
|
|
|
118
124
|
// src/set-socket-timeout.ts
|
|
@@ -128,7 +134,7 @@ var setSocketTimeout = /* @__PURE__ */ __name((request, reject, timeoutInMs = 0)
|
|
|
128
134
|
registerTimeout(0);
|
|
129
135
|
return 0;
|
|
130
136
|
}
|
|
131
|
-
return setTimeout(
|
|
137
|
+
return timing.setTimeout(
|
|
132
138
|
registerTimeout.bind(null, timeoutInMs === 0 ? 0 : DEFER_EVENT_LISTENER_TIME3),
|
|
133
139
|
DEFER_EVENT_LISTENER_TIME3
|
|
134
140
|
);
|
|
@@ -145,16 +151,16 @@ async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN
|
|
|
145
151
|
if (expect === "100-continue") {
|
|
146
152
|
await Promise.race([
|
|
147
153
|
new Promise((resolve) => {
|
|
148
|
-
timeoutId = Number(setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
|
|
154
|
+
timeoutId = Number(timing.setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
|
|
149
155
|
}),
|
|
150
156
|
new Promise((resolve) => {
|
|
151
157
|
httpRequest.on("continue", () => {
|
|
152
|
-
clearTimeout(timeoutId);
|
|
158
|
+
timing.clearTimeout(timeoutId);
|
|
153
159
|
resolve();
|
|
154
160
|
});
|
|
155
161
|
httpRequest.on("error", () => {
|
|
156
162
|
hasError = true;
|
|
157
|
-
clearTimeout(timeoutId);
|
|
163
|
+
timing.clearTimeout(timeoutId);
|
|
158
164
|
resolve();
|
|
159
165
|
});
|
|
160
166
|
})
|
|
@@ -285,12 +291,12 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
285
291
|
const timeouts = [];
|
|
286
292
|
const resolve = /* @__PURE__ */ __name(async (arg) => {
|
|
287
293
|
await writeRequestBodyPromise;
|
|
288
|
-
timeouts.forEach(clearTimeout);
|
|
294
|
+
timeouts.forEach(timing.clearTimeout);
|
|
289
295
|
_resolve(arg);
|
|
290
296
|
}, "resolve");
|
|
291
297
|
const reject = /* @__PURE__ */ __name(async (arg) => {
|
|
292
298
|
await writeRequestBodyPromise;
|
|
293
|
-
timeouts.forEach(clearTimeout);
|
|
299
|
+
timeouts.forEach(timing.clearTimeout);
|
|
294
300
|
_reject(arg);
|
|
295
301
|
}, "reject");
|
|
296
302
|
if (!this.config) {
|
|
@@ -305,7 +311,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
305
311
|
const isSSL = request.protocol === "https:";
|
|
306
312
|
const agent = isSSL ? this.config.httpsAgent : this.config.httpAgent;
|
|
307
313
|
timeouts.push(
|
|
308
|
-
setTimeout(
|
|
314
|
+
timing.setTimeout(
|
|
309
315
|
() => {
|
|
310
316
|
this.socketWarningTimestamp = _NodeHttpHandler.checkSocketUsage(
|
|
311
317
|
agent,
|
|
@@ -391,7 +397,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
391
397
|
);
|
|
392
398
|
}
|
|
393
399
|
writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch((e) => {
|
|
394
|
-
timeouts.forEach(clearTimeout);
|
|
400
|
+
timeouts.forEach(timing.clearTimeout);
|
|
395
401
|
return _reject(e);
|
|
396
402
|
});
|
|
397
403
|
});
|
|
@@ -534,7 +540,7 @@ var _NodeHttp2ConnectionManager = class _NodeHttp2ConnectionManager {
|
|
|
534
540
|
}
|
|
535
541
|
}
|
|
536
542
|
setMaxConcurrentStreams(maxConcurrentStreams) {
|
|
537
|
-
if (
|
|
543
|
+
if (maxConcurrentStreams && maxConcurrentStreams <= 0) {
|
|
538
544
|
throw new RangeError("maxConcurrentStreams must be greater than zero.");
|
|
539
545
|
}
|
|
540
546
|
this.config.maxConcurrency = maxConcurrentStreams;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("./index.js");
|
|
@@ -7,6 +7,7 @@ import { getTransformedHeaders } from "./get-transformed-headers";
|
|
|
7
7
|
import { setConnectionTimeout } from "./set-connection-timeout";
|
|
8
8
|
import { setSocketKeepAlive } from "./set-socket-keep-alive";
|
|
9
9
|
import { setSocketTimeout } from "./set-socket-timeout";
|
|
10
|
+
import { timing } from "./timing";
|
|
10
11
|
import { writeRequestBody } from "./write-request-body";
|
|
11
12
|
export const DEFAULT_REQUEST_TIMEOUT = 0;
|
|
12
13
|
export class NodeHttpHandler {
|
|
@@ -90,12 +91,12 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
90
91
|
const timeouts = [];
|
|
91
92
|
const resolve = async (arg) => {
|
|
92
93
|
await writeRequestBodyPromise;
|
|
93
|
-
timeouts.forEach(clearTimeout);
|
|
94
|
+
timeouts.forEach(timing.clearTimeout);
|
|
94
95
|
_resolve(arg);
|
|
95
96
|
};
|
|
96
97
|
const reject = async (arg) => {
|
|
97
98
|
await writeRequestBodyPromise;
|
|
98
|
-
timeouts.forEach(clearTimeout);
|
|
99
|
+
timeouts.forEach(timing.clearTimeout);
|
|
99
100
|
_reject(arg);
|
|
100
101
|
};
|
|
101
102
|
if (!this.config) {
|
|
@@ -109,7 +110,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
109
110
|
}
|
|
110
111
|
const isSSL = request.protocol === "https:";
|
|
111
112
|
const agent = isSSL ? this.config.httpsAgent : this.config.httpAgent;
|
|
112
|
-
timeouts.push(setTimeout(() => {
|
|
113
|
+
timeouts.push(timing.setTimeout(() => {
|
|
113
114
|
this.socketWarningTimestamp = NodeHttpHandler.checkSocketUsage(agent, this.socketWarningTimestamp, this.config.logger);
|
|
114
115
|
}, this.config.socketAcquisitionWarningTimeout ??
|
|
115
116
|
(this.config.requestTimeout ?? 2000) + (this.config.connectionTimeout ?? 1000)));
|
|
@@ -187,7 +188,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
187
188
|
}));
|
|
188
189
|
}
|
|
189
190
|
writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch((e) => {
|
|
190
|
-
timeouts.forEach(clearTimeout);
|
|
191
|
+
timeouts.forEach(timing.clearTimeout);
|
|
191
192
|
return _reject(e);
|
|
192
193
|
});
|
|
193
194
|
});
|
|
@@ -72,7 +72,7 @@ export class NodeHttp2ConnectionManager {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
setMaxConcurrentStreams(maxConcurrentStreams) {
|
|
75
|
-
if (
|
|
75
|
+
if (maxConcurrentStreams && maxConcurrentStreams <= 0) {
|
|
76
76
|
throw new RangeError("maxConcurrentStreams must be greater than zero.");
|
|
77
77
|
}
|
|
78
78
|
this.config.maxConcurrency = maxConcurrentStreams;
|
|
@@ -4,6 +4,7 @@ import { createServer as createHttp2Server } from "http2";
|
|
|
4
4
|
import { createServer as createHttpsServer } from "https";
|
|
5
5
|
import { join } from "path";
|
|
6
6
|
import { Readable } from "stream";
|
|
7
|
+
import { timing } from "./timing";
|
|
7
8
|
const fixturesDir = join(__dirname, "..", "fixtures");
|
|
8
9
|
const setResponseHeaders = (response, headers) => {
|
|
9
10
|
for (const [key, value] of Object.entries(headers)) {
|
|
@@ -20,17 +21,23 @@ const setResponseBody = (response, body) => {
|
|
|
20
21
|
};
|
|
21
22
|
export const createResponseFunction = (httpResp) => (request, response) => {
|
|
22
23
|
response.statusCode = httpResp.statusCode;
|
|
24
|
+
if (httpResp.reason) {
|
|
25
|
+
response.statusMessage = httpResp.reason;
|
|
26
|
+
}
|
|
23
27
|
setResponseHeaders(response, httpResp.headers);
|
|
24
28
|
setResponseBody(response, httpResp.body);
|
|
25
29
|
};
|
|
26
30
|
export const createResponseFunctionWithDelay = (httpResp, delay) => (request, response) => {
|
|
27
31
|
response.statusCode = httpResp.statusCode;
|
|
32
|
+
if (httpResp.reason) {
|
|
33
|
+
response.statusMessage = httpResp.reason;
|
|
34
|
+
}
|
|
28
35
|
setResponseHeaders(response, httpResp.headers);
|
|
29
|
-
setTimeout(() => setResponseBody(response, httpResp.body), delay);
|
|
36
|
+
timing.setTimeout(() => setResponseBody(response, httpResp.body), delay);
|
|
30
37
|
};
|
|
31
38
|
export const createContinueResponseFunction = (httpResp) => (request, response) => {
|
|
32
39
|
response.writeContinue();
|
|
33
|
-
setTimeout(() => {
|
|
40
|
+
timing.setTimeout(() => {
|
|
34
41
|
createResponseFunction(httpResp)(request, response);
|
|
35
42
|
}, 100);
|
|
36
43
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { timing } from "./timing";
|
|
1
2
|
const DEFER_EVENT_LISTENER_TIME = 1000;
|
|
2
3
|
export const setConnectionTimeout = (request, reject, timeoutInMs = 0) => {
|
|
3
4
|
if (!timeoutInMs) {
|
|
4
5
|
return -1;
|
|
5
6
|
}
|
|
6
7
|
const registerTimeout = (offset) => {
|
|
7
|
-
const timeoutId = setTimeout(() => {
|
|
8
|
+
const timeoutId = timing.setTimeout(() => {
|
|
8
9
|
request.destroy();
|
|
9
10
|
reject(Object.assign(new Error(`Socket timed out without establishing a connection within ${timeoutInMs} ms`), {
|
|
10
11
|
name: "TimeoutError",
|
|
@@ -13,11 +14,11 @@ export const setConnectionTimeout = (request, reject, timeoutInMs = 0) => {
|
|
|
13
14
|
const doWithSocket = (socket) => {
|
|
14
15
|
if (socket?.connecting) {
|
|
15
16
|
socket.on("connect", () => {
|
|
16
|
-
clearTimeout(timeoutId);
|
|
17
|
+
timing.clearTimeout(timeoutId);
|
|
17
18
|
});
|
|
18
19
|
}
|
|
19
20
|
else {
|
|
20
|
-
clearTimeout(timeoutId);
|
|
21
|
+
timing.clearTimeout(timeoutId);
|
|
21
22
|
}
|
|
22
23
|
};
|
|
23
24
|
if (request.socket) {
|
|
@@ -31,5 +32,5 @@ export const setConnectionTimeout = (request, reject, timeoutInMs = 0) => {
|
|
|
31
32
|
registerTimeout(0);
|
|
32
33
|
return 0;
|
|
33
34
|
}
|
|
34
|
-
return setTimeout(registerTimeout.bind(null, DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME);
|
|
35
|
+
return timing.setTimeout(registerTimeout.bind(null, DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME);
|
|
35
36
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { timing } from "./timing";
|
|
1
2
|
const DEFER_EVENT_LISTENER_TIME = 3000;
|
|
2
3
|
export const setSocketKeepAlive = (request, { keepAlive, keepAliveMsecs }, deferTimeMs = DEFER_EVENT_LISTENER_TIME) => {
|
|
3
4
|
if (keepAlive !== true) {
|
|
@@ -17,5 +18,5 @@ export const setSocketKeepAlive = (request, { keepAlive, keepAliveMsecs }, defer
|
|
|
17
18
|
registerListener();
|
|
18
19
|
return 0;
|
|
19
20
|
}
|
|
20
|
-
return setTimeout(registerListener, deferTimeMs);
|
|
21
|
+
return timing.setTimeout(registerListener, deferTimeMs);
|
|
21
22
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { timing } from "./timing";
|
|
1
2
|
const DEFER_EVENT_LISTENER_TIME = 3000;
|
|
2
3
|
export const setSocketTimeout = (request, reject, timeoutInMs = 0) => {
|
|
3
4
|
const registerTimeout = (offset) => {
|
|
@@ -10,5 +11,5 @@ export const setSocketTimeout = (request, reject, timeoutInMs = 0) => {
|
|
|
10
11
|
registerTimeout(0);
|
|
11
12
|
return 0;
|
|
12
13
|
}
|
|
13
|
-
return setTimeout(registerTimeout.bind(null, timeoutInMs === 0 ? 0 : DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME);
|
|
14
|
+
return timing.setTimeout(registerTimeout.bind(null, timeoutInMs === 0 ? 0 : DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME);
|
|
14
15
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Readable } from "stream";
|
|
2
|
+
import { timing } from "./timing";
|
|
2
3
|
const MIN_WAIT_TIME = 1000;
|
|
3
4
|
export async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME) {
|
|
4
5
|
const headers = request.headers ?? {};
|
|
@@ -8,16 +9,16 @@ export async function writeRequestBody(httpRequest, request, maxContinueTimeoutM
|
|
|
8
9
|
if (expect === "100-continue") {
|
|
9
10
|
await Promise.race([
|
|
10
11
|
new Promise((resolve) => {
|
|
11
|
-
timeoutId = Number(setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
|
|
12
|
+
timeoutId = Number(timing.setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs)));
|
|
12
13
|
}),
|
|
13
14
|
new Promise((resolve) => {
|
|
14
15
|
httpRequest.on("continue", () => {
|
|
15
|
-
clearTimeout(timeoutId);
|
|
16
|
+
timing.clearTimeout(timeoutId);
|
|
16
17
|
resolve();
|
|
17
18
|
});
|
|
18
19
|
httpRequest.on("error", () => {
|
|
19
20
|
hasError = true;
|
|
20
|
-
clearTimeout(timeoutId);
|
|
21
|
+
timing.clearTimeout(timeoutId);
|
|
21
22
|
resolve();
|
|
22
23
|
});
|
|
23
24
|
}),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/node-http-handler",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.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,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:
|
|
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,10 +26,10 @@
|
|
|
25
26
|
"module": "./dist-es/index.js",
|
|
26
27
|
"types": "./dist-types/index.d.ts",
|
|
27
28
|
"dependencies": {
|
|
28
|
-
"@smithy/abort-controller": "^3.1.
|
|
29
|
-
"@smithy/protocol-http": "^4.1.
|
|
30
|
-
"@smithy/querystring-builder": "^3.0.
|
|
31
|
-
"@smithy/types": "^3.
|
|
29
|
+
"@smithy/abort-controller": "^3.1.8",
|
|
30
|
+
"@smithy/protocol-http": "^4.1.7",
|
|
31
|
+
"@smithy/querystring-builder": "^3.0.10",
|
|
32
|
+
"@smithy/types": "^3.7.1",
|
|
32
33
|
"tslib": "^2.6.2"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/property-provider",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.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 property-provider",
|
|
@@ -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:
|
|
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.
|
|
26
|
+
"@smithy/types": "^3.7.1",
|
|
26
27
|
"tslib": "^2.6.2"
|
|
27
28
|
},
|
|
28
29
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/protocol-http",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.7",
|
|
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 protocol-http",
|
|
@@ -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:
|
|
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",
|
|
@@ -23,7 +24,7 @@
|
|
|
23
24
|
},
|
|
24
25
|
"license": "Apache-2.0",
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@smithy/types": "^3.
|
|
27
|
+
"@smithy/types": "^3.7.1",
|
|
27
28
|
"tslib": "^2.6.2"
|
|
28
29
|
},
|
|
29
30
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/querystring-builder",
|
|
3
|
-
"version": "3.0.
|
|
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 querystring-builder",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@smithy/types": "^3.
|
|
25
|
+
"@smithy/types": "^3.7.1",
|
|
26
26
|
"@smithy/util-uri-escape": "^3.0.0",
|
|
27
27
|
"tslib": "^2.6.2"
|
|
28
28
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/querystring-parser",
|
|
3
|
-
"version": "3.0.
|
|
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 querystring-parser",
|
|
@@ -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:
|
|
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.
|
|
26
|
+
"@smithy/types": "^3.7.1",
|
|
26
27
|
"tslib": "^2.6.2"
|
|
27
28
|
},
|
|
28
29
|
"engines": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/service-error-classification",
|
|
3
|
-
"version": "3.0.
|
|
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 service-error-classification",
|
|
@@ -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:
|
|
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",
|
|
@@ -53,6 +54,6 @@
|
|
|
53
54
|
"directory": ".release/package"
|
|
54
55
|
},
|
|
55
56
|
"dependencies": {
|
|
56
|
-
"@smithy/types": "^3.
|
|
57
|
+
"@smithy/types": "^3.7.1"
|
|
57
58
|
}
|
|
58
59
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/shared-ini-file-loader",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.11",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@smithy/types": "^3.
|
|
5
|
+
"@smithy/types": "^3.7.1",
|
|
6
6
|
"tslib": "^2.6.2"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
24
24
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
25
25
|
"extract:docs": "api-extractor run --local",
|
|
26
|
-
"test": "yarn g:
|
|
26
|
+
"test": "yarn g:vitest run",
|
|
27
|
+
"test:watch": "yarn g:vitest watch"
|
|
27
28
|
},
|
|
28
29
|
"author": {
|
|
29
30
|
"name": "AWS SDK for JavaScript Team",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/signature-v4",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.3",
|
|
4
4
|
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
|
17
17
|
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
|
|
18
18
|
"extract:docs": "api-extractor run --local",
|
|
19
|
-
"test": "yarn g:
|
|
19
|
+
"test": "yarn g:vitest run",
|
|
20
|
+
"test:watch": "yarn g:vitest watch"
|
|
20
21
|
},
|
|
21
22
|
"author": {
|
|
22
23
|
"name": "AWS SDK for JavaScript Team",
|
|
@@ -25,10 +26,10 @@
|
|
|
25
26
|
"license": "Apache-2.0",
|
|
26
27
|
"dependencies": {
|
|
27
28
|
"@smithy/is-array-buffer": "^3.0.0",
|
|
28
|
-
"@smithy/protocol-http": "^4.1.
|
|
29
|
-
"@smithy/types": "^3.
|
|
29
|
+
"@smithy/protocol-http": "^4.1.7",
|
|
30
|
+
"@smithy/types": "^3.7.1",
|
|
30
31
|
"@smithy/util-hex-encoding": "^3.0.0",
|
|
31
|
-
"@smithy/util-middleware": "^3.0.
|
|
32
|
+
"@smithy/util-middleware": "^3.0.10",
|
|
32
33
|
"@smithy/util-uri-escape": "^3.0.0",
|
|
33
34
|
"@smithy/util-utf8": "^3.0.0",
|
|
34
35
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.5",
|
|
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 smithy-client",
|
|
@@ -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
|
"extract:docs": "api-extractor run --local",
|
|
15
|
-
"test": "yarn g:
|
|
15
|
+
"test": "yarn g:vitest run",
|
|
16
|
+
"test:watch": "yarn g:vitest watch"
|
|
16
17
|
},
|
|
17
18
|
"main": "./dist-cjs/index.js",
|
|
18
19
|
"module": "./dist-es/index.js",
|
|
@@ -23,12 +24,12 @@
|
|
|
23
24
|
},
|
|
24
25
|
"license": "Apache-2.0",
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@smithy/core": "^2.5.
|
|
27
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
28
|
-
"@smithy/middleware-stack": "^3.0.
|
|
29
|
-
"@smithy/protocol-http": "^4.1.
|
|
30
|
-
"@smithy/types": "^3.
|
|
31
|
-
"@smithy/util-stream": "^3.
|
|
27
|
+
"@smithy/core": "^2.5.4",
|
|
28
|
+
"@smithy/middleware-endpoint": "^3.2.4",
|
|
29
|
+
"@smithy/middleware-stack": "^3.0.10",
|
|
30
|
+
"@smithy/protocol-http": "^4.1.7",
|
|
31
|
+
"@smithy/types": "^3.7.1",
|
|
32
|
+
"@smithy/util-stream": "^3.3.1",
|
|
32
33
|
"tslib": "^2.6.2"
|
|
33
34
|
},
|
|
34
35
|
"engines": {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { InvokeMethod, InvokeMethodOptionalArgs } from "../client";
|
|
2
2
|
import type { GetOutputType } from "../command";
|
|
3
|
+
import type { DocumentType } from "../shapes";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*
|
|
@@ -29,7 +30,7 @@ export type UncheckedClient<Client extends object> = UncheckedClientOutputTypes<
|
|
|
29
30
|
*
|
|
30
31
|
* Excludes undefined recursively.
|
|
31
32
|
*/
|
|
32
|
-
export type NoUndefined<T> = T extends Function ? T : [T] extends [object] ? {
|
|
33
|
+
export type NoUndefined<T> = T extends Function ? T : T extends DocumentType ? T : [T] extends [object] ? {
|
|
33
34
|
[key in keyof T]: NoUndefined<T[key]>;
|
|
34
35
|
} : Exclude<T, undefined>;
|
|
35
36
|
/**
|
|
@@ -37,7 +38,7 @@ export type NoUndefined<T> = T extends Function ? T : [T] extends [object] ? {
|
|
|
37
38
|
*
|
|
38
39
|
* Excludes undefined and optional recursively.
|
|
39
40
|
*/
|
|
40
|
-
export type RecursiveRequired<T> = T extends Function ? T : [T] extends [object] ? {
|
|
41
|
+
export type RecursiveRequired<T> = T extends Function ? T : T extends DocumentType ? T : [T] extends [object] ? {
|
|
41
42
|
[key in keyof T]-?: RecursiveRequired<T[key]>;
|
|
42
43
|
} : Exclude<T, undefined>;
|
|
43
44
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { InvokeMethod, InvokeMethodOptionalArgs } from "../client";
|
|
2
2
|
import { GetOutputType } from "../command";
|
|
3
|
+
import { DocumentType } from "../shapes";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*
|
|
@@ -29,7 +30,7 @@ export type UncheckedClient<Client extends object> = UncheckedClientOutputTypes<
|
|
|
29
30
|
*
|
|
30
31
|
* Excludes undefined recursively.
|
|
31
32
|
*/
|
|
32
|
-
export type NoUndefined<T> = T extends Function ? T : [
|
|
33
|
+
export type NoUndefined<T> = T extends Function ? T : T extends DocumentType ? T : [
|
|
33
34
|
T
|
|
34
35
|
] extends [
|
|
35
36
|
object
|
|
@@ -41,7 +42,7 @@ export type NoUndefined<T> = T extends Function ? T : [
|
|
|
41
42
|
*
|
|
42
43
|
* Excludes undefined and optional recursively.
|
|
43
44
|
*/
|
|
44
|
-
export type RecursiveRequired<T> = T extends Function ? T : [
|
|
45
|
+
export type RecursiveRequired<T> = T extends Function ? T : T extends DocumentType ? T : [
|
|
45
46
|
T
|
|
46
47
|
] extends [
|
|
47
48
|
object
|