@gemeentenijmegen/webapp 1.1.0 → 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 +12 -12
- package/assets/webapp/auth/auth.lambda/index.js +54 -33
- package/assets/webapp/login/login.lambda/index.js +54 -33
- package/assets/webapp/logout/logout.lambda/index.js +53 -32
- 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/README.md +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js +35 -30
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDBClient.js +12 -10
- 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-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js +3 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/DynamoDBClient.d.ts +3 -3
- 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/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.native.d.ts +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/DynamoDBClient.d.ts +7 -1
- 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/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-dynamodb/package.json +38 -38
- package/node_modules/@aws-sdk/client-s3/README.md +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +240 -179
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +2 -1
- 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 +2 -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_0.js +4 -28
- 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 +131 -100
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +3 -2
- 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 +31 -17
- 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 +44 -50
- 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 +63 -49
- 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 +63 -18
- 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 +2 -2
- 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 +81 -62
- 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 +14 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +13 -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 +48 -33
- 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 +93 -53
- 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 +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +2 -2
- 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 +4 -5
- 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 +123 -75
- 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 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +1 -5
- 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 +1835 -1569
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +613 -459
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +2 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +7 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +812 -882
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +313 -275
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +8 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-s3/package.json +58 -59
- package/node_modules/@aws-sdk/client-secrets-manager/README.md +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/runtimeConfig.js +3 -2
- 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/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.native.d.ts +2 -1
- 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/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +36 -36
- package/node_modules/@aws-sdk/client-ssm/README.md +40 -8
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +834 -437
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +2 -1
- 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-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +3 -2
- 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/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +2 -1
- 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/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-ssm/package.json +37 -37
- package/node_modules/@aws-sdk/client-sso/README.md +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +3 -2
- 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/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +2 -1
- 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/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/client-sso-oidc/README.md +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +3 -2
- 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/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +2 -1
- 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/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
- package/node_modules/@aws-sdk/client-sts/README.md +9 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/index.js +99 -14
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +2 -1
- 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/defaultStsRoleAssumers.js +10 -2
- 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-es/runtimeConfig.browser.js +2 -2
- package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +3 -2
- 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/runtimeConfig.browser.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +2 -1
- package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +2 -1
- 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/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -3
- package/node_modules/@aws-sdk/client-sts/package.json +36 -36
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +36 -5
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +6 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +5 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +2 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js +7 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +11 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +6 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/setCredentialFeature.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts +12 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +11 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +6 -0
- package/node_modules/@aws-sdk/core/package.json +14 -11
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -5
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-http/package.json +12 -10
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +29 -13
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +3 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveCredentialSource.js +5 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProcessCredentials.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +10 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveStaticCredentials.js +5 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +15 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +15 -14
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/getValidatedProcessCredentials.js +4 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +8 -6
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +8 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +9 -1
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +6 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +6 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +10 -8
- package/node_modules/@aws-sdk/endpoint-cache/package.json +3 -2
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +8 -7
- package/node_modules/@aws-sdk/middleware-endpoint-discovery/package.json +10 -8
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +8 -6
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.browser.js +6 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js +28 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +35 -10
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js +18 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksum.js +1 -5
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.browser.js +2 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.js +23 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/selectChecksumAlgorithmFunction.js +2 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/validateChecksumFromResponse.js +14 -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/getChecksum.d.ts +2 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.d.ts +10 -0
- 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/dist-types/ts3.4/getChecksum.d.ts +2 -8
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.browser.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getCrc32ChecksumAlgorithmFunction.d.ts +12 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +17 -9
- package/node_modules/@aws-sdk/middleware-host-header/package.json +8 -6
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +7 -5
- package/node_modules/@aws-sdk/middleware-logger/package.json +7 -5
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +8 -6
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +18 -15
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/region-redirect-middleware.js +13 -13
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js +2 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +20 -16
- package/node_modules/@aws-sdk/middleware-ssec/package.json +7 -5
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +112 -4
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +49 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +22 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/encode-features.js +18 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +11 -1
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +18 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +14 -1
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/encode-features.d.ts +5 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +20 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/configurations.d.ts +5 -1
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/encode-features.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/user-agent-middleware.d.ts +2 -1
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -1
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +12 -8
- package/node_modules/@aws-sdk/region-config-resolver/package.json +7 -6
- package/node_modules/@aws-sdk/s3-request-presigner/README.md +23 -41
- package/node_modules/@aws-sdk/s3-request-presigner/dist-cjs/index.js +24 -6
- package/node_modules/@aws-sdk/s3-request-presigner/dist-es/presigner.js +8 -4
- package/node_modules/@aws-sdk/s3-request-presigner/dist-types/presigner.d.ts +2 -2
- package/node_modules/@aws-sdk/s3-request-presigner/dist-types/ts3.4/presigner.d.ts +2 -0
- package/node_modules/@aws-sdk/s3-request-presigner/package.json +12 -11
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +8 -7
- package/node_modules/@aws-sdk/token-providers/package.json +8 -7
- package/node_modules/@aws-sdk/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +59 -0
- package/node_modules/@aws-sdk/types/dist-types/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +12 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +54 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/AwsCredentialIdentity.d.ts +5 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/middleware.d.ts +7 -0
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/util-arn-parser/package.json +3 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +8 -6
- package/node_modules/@aws-sdk/util-format-url/package.json +6 -5
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +1 -0
- package/node_modules/@aws-sdk/util-locate-window/package.json +3 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.js +9 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-cjs/index.native.js +9 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js +7 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.native.js +7 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +9 -1
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +9 -1
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.d.ts +12 -1
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/ts3.4/index.native.d.ts +12 -1
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +5 -4
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +46 -39
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +29 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/index.js +2 -39
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/nodeAppIdConfigOptions.js +8 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +23 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/index.d.ts +2 -20
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +13 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/defaultUserAgent.d.ts +21 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/index.d.ts +2 -12
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/nodeAppIdConfigOptions.d.ts +6 -0
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -5
- package/node_modules/@aws-sdk/xml-builder/package.json +4 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/.jsii +5 -5
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/lib/index.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/.jsii +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/.jsii.tabl.json.gz +0 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/api-call-base.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/assertions.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/common.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/http-call.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/match.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/providers/provider.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/sdk.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/assertions/waiter-state-machine.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/lib/test-case.js +3 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/integ-tests-alpha/package.json +7 -7
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/.jsii +325 -18
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.d.ts +2 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.js +3 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/apigateway-defaults.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-helper.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/kendra-defaults.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/kendra-helper.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/pipes-defaults.d.ts +15 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/pipes-defaults.js +33 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/pipes-helper.d.ts +56 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/pipes-helper.js +197 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/step-function-helper.d.ts +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/step-function-helper.js +10 -4
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/utils.d.ts +9 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/utils.js +28 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/package.json +4 -4
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/pipes-helper.test.d.ts +13 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/pipes-helper.test.js +695 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/step-function-helper.test.js +35 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.d.ts +1 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.js +8 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/utils.test.js +16 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/.jsii +85 -45
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/API.md +841 -255
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/Dockerfile +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/README.md +5 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/construct.d.ts +20 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/construct.js +36 -30
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/dependency.d.ts +0 -4
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/dependency.js +5 -9
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/private/stack-trace.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/private/uniqueid.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/package.json +35 -31
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/package.json +6 -6
- package/node_modules/@gemeentenijmegen/apiclient/package.json +8 -8
- package/node_modules/@gemeentenijmegen/apigateway-http/package.json +5 -5
- package/node_modules/@gemeentenijmegen/session/package.json +6 -6
- package/node_modules/@gemeentenijmegen/utils/package.json +8 -8
- package/node_modules/@smithy/abort-controller/package.json +4 -3
- package/node_modules/@smithy/chunked-blob-reader/dist-cjs/index.js +8 -23
- package/node_modules/@smithy/chunked-blob-reader/dist-es/index.js +8 -22
- package/node_modules/@smithy/chunked-blob-reader/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/chunked-blob-reader/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/chunked-blob-reader/package.json +2 -2
- package/node_modules/@smithy/chunked-blob-reader-native/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +7 -6
- package/node_modules/@smithy/core/dist-cjs/index.js +79 -158
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +34 -9
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +164 -0
- package/node_modules/@smithy/core/dist-es/index.js +4 -3
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +1 -2
- package/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js +1 -2
- package/node_modules/@smithy/core/dist-es/protocols/requestBuilder.js +1 -67
- package/node_modules/@smithy/core/dist-es/setFeature.js +11 -0
- 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 +4 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js +11 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js +5 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +4 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +67 -0
- package/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +19 -0
- package/node_modules/@smithy/core/dist-types/index.d.ts +4 -3
- package/node_modules/@smithy/core/dist-types/protocols/requestBuilder.d.ts +2 -48
- package/node_modules/@smithy/core/dist-types/setFeature.d.ts +12 -0
- 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/submodules/protocols/collect-stream-body.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts +51 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/resolve-path.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +4 -3
- package/node_modules/@smithy/core/dist-types/ts3.4/protocols/requestBuilder.d.ts +2 -48
- package/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +12 -0
- 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/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +4 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +51 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +4 -0
- package/node_modules/@smithy/core/package.json +19 -11
- package/node_modules/@smithy/core/protocols.d.ts +7 -0
- package/node_modules/@smithy/core/protocols.js +6 -0
- 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/index.js +12 -30
- 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 +3 -26
- 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 +6 -5
- 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/dist-cjs/index.js +4 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +4 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +11 -9
- 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/dist-cjs/index.js +59 -36
- package/node_modules/@smithy/smithy-client/dist-cjs/quote-header.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-cjs/split-header.js +1 -0
- package/node_modules/@smithy/smithy-client/dist-es/collect-stream-body.js +1 -11
- package/node_modules/@smithy/smithy-client/dist-es/extended-encode-uri-component.js +1 -5
- package/node_modules/@smithy/smithy-client/dist-es/index.js +2 -0
- package/node_modules/@smithy/smithy-client/dist-es/quote-header.js +6 -0
- package/node_modules/@smithy/smithy-client/dist-es/resolve-path.js +1 -19
- package/node_modules/@smithy/smithy-client/dist-es/split-header.js +37 -0
- package/node_modules/@smithy/smithy-client/dist-types/collect-stream-body.d.ts +2 -7
- package/node_modules/@smithy/smithy-client/dist-types/extended-encode-uri-component.d.ts +2 -4
- package/node_modules/@smithy/smithy-client/dist-types/index.d.ts +2 -0
- package/node_modules/@smithy/smithy-client/dist-types/quote-header.d.ts +6 -0
- package/node_modules/@smithy/smithy-client/dist-types/resolve-path.d.ts +2 -1
- package/node_modules/@smithy/smithy-client/dist-types/split-header.d.ts +5 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/collect-stream-body.d.ts +2 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extended-encode-uri-component.d.ts +2 -4
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/quote-header.d.ts +6 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/resolve-path.d.ts +2 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/split-header.d.ts +5 -0
- package/node_modules/@smithy/smithy-client/package.json +9 -7
- package/node_modules/@smithy/types/dist-cjs/feature-ids.js +1 -0
- package/node_modules/@smithy/types/dist-es/feature-ids.js +1 -0
- package/node_modules/@smithy/types/dist-es/index.js +1 -0
- package/node_modules/@smithy/types/dist-types/feature-ids.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/middleware.d.ts +30 -6
- package/node_modules/@smithy/types/dist-types/transform/no-undefined.d.ts +3 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/feature-ids.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +26 -2
- 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/checksum/ChecksumStream.browser.js +7 -0
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +49 -0
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js +40 -0
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js +13 -0
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +6 -1
- 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/checksum/ChecksumStream.browser.js +3 -0
- package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +44 -0
- package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.browser.js +35 -0
- package/node_modules/@smithy/util-stream/dist-es/checksum/createChecksumStream.js +9 -0
- package/node_modules/@smithy/util-stream/dist-es/index.js +2 -0
- 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/checksum/ChecksumStream.browser.d.ts +37 -0
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +61 -0
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +15 -0
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +12 -0
- package/node_modules/@smithy/util-stream/dist-types/index.d.ts +2 -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/checksum/ChecksumStream.browser.d.ts +37 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +60 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts +15 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +12 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +2 -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 +16 -6
- package/node_modules/@smithy/util-waiter/package.json +5 -4
- package/node_modules/@types/uuid/LICENSE +21 -0
- package/node_modules/@types/uuid/README.md +15 -0
- package/node_modules/@types/uuid/index.d.mts +12 -0
- package/node_modules/@types/uuid/index.d.ts +86 -0
- package/node_modules/@types/uuid/package.json +54 -0
- package/node_modules/cookie/index.js +118 -57
- package/node_modules/cookie/package.json +3 -3
- package/node_modules/form-data/Readme.md +4 -4
- package/node_modules/form-data/lib/form_data.js +1 -1
- package/node_modules/form-data/package.json +9 -6
- package/node_modules/tslib/modules/index.d.ts +1 -0
- package/node_modules/tslib/modules/index.js +2 -0
- package/node_modules/tslib/package.json +1 -1
- package/node_modules/tslib/tslib.d.ts +7 -0
- package/node_modules/tslib/tslib.es6.js +24 -1
- package/node_modules/tslib/tslib.es6.mjs +24 -1
- package/node_modules/tslib/tslib.js +56 -1
- package/package.json +18 -18
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/.gitattributes +0 -28
- package/node_modules/cookie/HISTORY.md +0 -147
- package/node_modules/form-data/README.md.bak +0 -358
- /package/node_modules/{@aws-sdk/endpoint-cache/dist-cjs/Endpoint.js → @smithy/core/dist-cjs/setFeature.js} +0 -0
- /package/node_modules/{@aws-sdk/endpoint-cache/dist-cjs/EndpointCache.js → @smithy/fetch-http-handler/dist-cjs/create-request.js} +0 -0
package/package.json
CHANGED
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"organization": false
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@aws-sdk/types": "^3.
|
|
44
|
-
"@axe-core/playwright": "^4.10.
|
|
45
|
-
"@gemeentenijmegen/projen-project-type": "^1.8.
|
|
43
|
+
"@aws-sdk/types": "^3.696.0",
|
|
44
|
+
"@axe-core/playwright": "^4.10.1",
|
|
45
|
+
"@gemeentenijmegen/projen-project-type": "^1.8.3",
|
|
46
46
|
"@glen/jest-raw-loader": "^2.0.0",
|
|
47
|
-
"@playwright/test": "^1.
|
|
47
|
+
"@playwright/test": "^1.49.0",
|
|
48
48
|
"@types/aws-lambda": "^8.10.145",
|
|
49
49
|
"@types/jest": "^27",
|
|
50
50
|
"@types/mustache": "^4.2.5",
|
|
@@ -60,15 +60,15 @@
|
|
|
60
60
|
"esbuild": "^0.24.0",
|
|
61
61
|
"eslint": "^8",
|
|
62
62
|
"eslint-import-resolver-typescript": "^3.6.3",
|
|
63
|
-
"eslint-plugin-import": "^2.
|
|
63
|
+
"eslint-plugin-import": "^2.31.0",
|
|
64
64
|
"jest": "^27",
|
|
65
65
|
"jest-junit": "^15",
|
|
66
66
|
"jsii": "~5.5.0",
|
|
67
|
-
"jsii-diff": "^1.
|
|
67
|
+
"jsii-diff": "^1.105.0",
|
|
68
68
|
"jsii-docgen": "^10.5.0",
|
|
69
|
-
"jsii-pacmak": "^1.
|
|
69
|
+
"jsii-pacmak": "^1.105.0",
|
|
70
70
|
"jsii-rosetta": "~5.5.0",
|
|
71
|
-
"projen": "^0.88.
|
|
71
|
+
"projen": "^0.88.9",
|
|
72
72
|
"ts-jest": "^27",
|
|
73
73
|
"typescript": "^5.6.2"
|
|
74
74
|
},
|
|
@@ -78,17 +78,17 @@
|
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
80
|
"@aws-lambda-powertools/logger": "^1.17.0",
|
|
81
|
-
"@aws-sdk/client-dynamodb": "^3.
|
|
82
|
-
"@aws-sdk/client-secrets-manager": "^3.
|
|
83
|
-
"@aws-solutions-constructs/aws-lambda-dynamodb": "^2.
|
|
84
|
-
"@gemeentenijmegen/apiclient": "^0.0.
|
|
85
|
-
"@gemeentenijmegen/apigateway-http": "^0.0.
|
|
86
|
-
"@gemeentenijmegen/aws-constructs": "^0.0.
|
|
87
|
-
"@gemeentenijmegen/session": "^0.0.
|
|
88
|
-
"@gemeentenijmegen/utils": "^0.0.
|
|
81
|
+
"@aws-sdk/client-dynamodb": "^3.696.0",
|
|
82
|
+
"@aws-sdk/client-secrets-manager": "^3.696.0",
|
|
83
|
+
"@aws-solutions-constructs/aws-lambda-dynamodb": "^2.74.0",
|
|
84
|
+
"@gemeentenijmegen/apiclient": "^0.0.20",
|
|
85
|
+
"@gemeentenijmegen/apigateway-http": "^0.0.17",
|
|
86
|
+
"@gemeentenijmegen/aws-constructs": "^0.0.23",
|
|
87
|
+
"@gemeentenijmegen/session": "^0.0.18",
|
|
88
|
+
"@gemeentenijmegen/utils": "^0.0.19",
|
|
89
89
|
"axios": "^1.7.7",
|
|
90
90
|
"cdk-remote-stack": "^2.1.0",
|
|
91
|
-
"cookie": "^0.
|
|
91
|
+
"cookie": "^0.7.2",
|
|
92
92
|
"dotenv": "^16.4.5",
|
|
93
93
|
"mustache": "^4.2.0",
|
|
94
94
|
"openid-client": "^5.7.0"
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"publishConfig": {
|
|
118
118
|
"access": "public"
|
|
119
119
|
},
|
|
120
|
-
"version": "1.1.
|
|
120
|
+
"version": "1.1.2",
|
|
121
121
|
"jest": {
|
|
122
122
|
"coverageProvider": "v8",
|
|
123
123
|
"setupFiles": [
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
|
|
2
|
-
|
|
3
|
-
*.snap linguist-generated
|
|
4
|
-
/.eslintrc.json linguist-generated
|
|
5
|
-
/.gitattributes linguist-generated
|
|
6
|
-
/.github/pull_request_template.md linguist-generated
|
|
7
|
-
/.github/workflows/auto-approve.yml linguist-generated
|
|
8
|
-
/.github/workflows/build.yml linguist-generated
|
|
9
|
-
/.github/workflows/pull-request-lint.yml linguist-generated
|
|
10
|
-
/.github/workflows/release-3.x.yml linguist-generated
|
|
11
|
-
/.github/workflows/release.yml linguist-generated
|
|
12
|
-
/.github/workflows/upgrade-10.x.yml linguist-generated
|
|
13
|
-
/.github/workflows/upgrade-3.x.yml linguist-generated
|
|
14
|
-
/.github/workflows/upgrade-cdklabs-projen-project-types-10.x.yml linguist-generated
|
|
15
|
-
/.github/workflows/upgrade-cdklabs-projen-project-types-3.x.yml linguist-generated
|
|
16
|
-
/.gitignore linguist-generated
|
|
17
|
-
/.mergify.yml linguist-generated
|
|
18
|
-
/.npmignore linguist-generated
|
|
19
|
-
/.npmrc linguist-generated
|
|
20
|
-
/.projen/** linguist-generated
|
|
21
|
-
/.projen/deps.json linguist-generated
|
|
22
|
-
/.projen/files.json linguist-generated
|
|
23
|
-
/.projen/tasks.json linguist-generated
|
|
24
|
-
/API.md linguist-generated
|
|
25
|
-
/LICENSE linguist-generated
|
|
26
|
-
/package.json linguist-generated
|
|
27
|
-
/tsconfig.dev.json linguist-generated
|
|
28
|
-
/yarn.lock linguist-generated
|
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
0.6.0 / 2023-11-06
|
|
2
|
-
==================
|
|
3
|
-
|
|
4
|
-
* Add `partitioned` option
|
|
5
|
-
|
|
6
|
-
0.5.0 / 2022-04-11
|
|
7
|
-
==================
|
|
8
|
-
|
|
9
|
-
* Add `priority` option
|
|
10
|
-
* Fix `expires` option to reject invalid dates
|
|
11
|
-
* perf: improve default decode speed
|
|
12
|
-
* perf: remove slow string split in parse
|
|
13
|
-
|
|
14
|
-
0.4.2 / 2022-02-02
|
|
15
|
-
==================
|
|
16
|
-
|
|
17
|
-
* perf: read value only when assigning in parse
|
|
18
|
-
* perf: remove unnecessary regexp in parse
|
|
19
|
-
|
|
20
|
-
0.4.1 / 2020-04-21
|
|
21
|
-
==================
|
|
22
|
-
|
|
23
|
-
* Fix `maxAge` option to reject invalid values
|
|
24
|
-
|
|
25
|
-
0.4.0 / 2019-05-15
|
|
26
|
-
==================
|
|
27
|
-
|
|
28
|
-
* Add `SameSite=None` support
|
|
29
|
-
|
|
30
|
-
0.3.1 / 2016-05-26
|
|
31
|
-
==================
|
|
32
|
-
|
|
33
|
-
* Fix `sameSite: true` to work with draft-7 clients
|
|
34
|
-
- `true` now sends `SameSite=Strict` instead of `SameSite`
|
|
35
|
-
|
|
36
|
-
0.3.0 / 2016-05-26
|
|
37
|
-
==================
|
|
38
|
-
|
|
39
|
-
* Add `sameSite` option
|
|
40
|
-
- Replaces `firstPartyOnly` option, never implemented by browsers
|
|
41
|
-
* Improve error message when `encode` is not a function
|
|
42
|
-
* Improve error message when `expires` is not a `Date`
|
|
43
|
-
|
|
44
|
-
0.2.4 / 2016-05-20
|
|
45
|
-
==================
|
|
46
|
-
|
|
47
|
-
* perf: enable strict mode
|
|
48
|
-
* perf: use for loop in parse
|
|
49
|
-
* perf: use string concatenation for serialization
|
|
50
|
-
|
|
51
|
-
0.2.3 / 2015-10-25
|
|
52
|
-
==================
|
|
53
|
-
|
|
54
|
-
* Fix cookie `Max-Age` to never be a floating point number
|
|
55
|
-
|
|
56
|
-
0.2.2 / 2015-09-17
|
|
57
|
-
==================
|
|
58
|
-
|
|
59
|
-
* Fix regression when setting empty cookie value
|
|
60
|
-
- Ease the new restriction, which is just basic header-level validation
|
|
61
|
-
* Fix typo in invalid value errors
|
|
62
|
-
|
|
63
|
-
0.2.1 / 2015-09-17
|
|
64
|
-
==================
|
|
65
|
-
|
|
66
|
-
* Throw on invalid values provided to `serialize`
|
|
67
|
-
- Ensures the resulting string is a valid HTTP header value
|
|
68
|
-
|
|
69
|
-
0.2.0 / 2015-08-13
|
|
70
|
-
==================
|
|
71
|
-
|
|
72
|
-
* Add `firstPartyOnly` option
|
|
73
|
-
* Throw better error for invalid argument to parse
|
|
74
|
-
* perf: hoist regular expression
|
|
75
|
-
|
|
76
|
-
0.1.5 / 2015-09-17
|
|
77
|
-
==================
|
|
78
|
-
|
|
79
|
-
* Fix regression when setting empty cookie value
|
|
80
|
-
- Ease the new restriction, which is just basic header-level validation
|
|
81
|
-
* Fix typo in invalid value errors
|
|
82
|
-
|
|
83
|
-
0.1.4 / 2015-09-17
|
|
84
|
-
==================
|
|
85
|
-
|
|
86
|
-
* Throw better error for invalid argument to parse
|
|
87
|
-
* Throw on invalid values provided to `serialize`
|
|
88
|
-
- Ensures the resulting string is a valid HTTP header value
|
|
89
|
-
|
|
90
|
-
0.1.3 / 2015-05-19
|
|
91
|
-
==================
|
|
92
|
-
|
|
93
|
-
* Reduce the scope of try-catch deopt
|
|
94
|
-
* Remove argument reassignments
|
|
95
|
-
|
|
96
|
-
0.1.2 / 2014-04-16
|
|
97
|
-
==================
|
|
98
|
-
|
|
99
|
-
* Remove unnecessary files from npm package
|
|
100
|
-
|
|
101
|
-
0.1.1 / 2014-02-23
|
|
102
|
-
==================
|
|
103
|
-
|
|
104
|
-
* Fix bad parse when cookie value contained a comma
|
|
105
|
-
* Fix support for `maxAge` of `0`
|
|
106
|
-
|
|
107
|
-
0.1.0 / 2013-05-01
|
|
108
|
-
==================
|
|
109
|
-
|
|
110
|
-
* Add `decode` option
|
|
111
|
-
* Add `encode` option
|
|
112
|
-
|
|
113
|
-
0.0.6 / 2013-04-08
|
|
114
|
-
==================
|
|
115
|
-
|
|
116
|
-
* Ignore cookie parts missing `=`
|
|
117
|
-
|
|
118
|
-
0.0.5 / 2012-10-29
|
|
119
|
-
==================
|
|
120
|
-
|
|
121
|
-
* Return raw cookie value if value unescape errors
|
|
122
|
-
|
|
123
|
-
0.0.4 / 2012-06-21
|
|
124
|
-
==================
|
|
125
|
-
|
|
126
|
-
* Use encode/decodeURIComponent for cookie encoding/decoding
|
|
127
|
-
- Improve server/client interoperability
|
|
128
|
-
|
|
129
|
-
0.0.3 / 2012-06-06
|
|
130
|
-
==================
|
|
131
|
-
|
|
132
|
-
* Only escape special characters per the cookie RFC
|
|
133
|
-
|
|
134
|
-
0.0.2 / 2012-06-01
|
|
135
|
-
==================
|
|
136
|
-
|
|
137
|
-
* Fix `maxAge` option to not throw error
|
|
138
|
-
|
|
139
|
-
0.0.1 / 2012-05-28
|
|
140
|
-
==================
|
|
141
|
-
|
|
142
|
-
* Add more tests
|
|
143
|
-
|
|
144
|
-
0.0.0 / 2012-05-28
|
|
145
|
-
==================
|
|
146
|
-
|
|
147
|
-
* Initial release
|
|
@@ -1,358 +0,0 @@
|
|
|
1
|
-
# Form-Data [](https://www.npmjs.com/package/form-data) [](https://gitter.im/form-data/form-data)
|
|
2
|
-
|
|
3
|
-
A library to create readable ```"multipart/form-data"``` streams. Can be used to submit forms and file uploads to other web applications.
|
|
4
|
-
|
|
5
|
-
The API of this library is inspired by the [XMLHttpRequest-2 FormData Interface][xhr2-fd].
|
|
6
|
-
|
|
7
|
-
[xhr2-fd]: http://dev.w3.org/2006/webapi/XMLHttpRequest-2/Overview.html#the-formdata-interface
|
|
8
|
-
|
|
9
|
-
[](https://travis-ci.org/form-data/form-data)
|
|
10
|
-
[](https://travis-ci.org/form-data/form-data)
|
|
11
|
-
[](https://travis-ci.org/form-data/form-data)
|
|
12
|
-
|
|
13
|
-
[](https://coveralls.io/github/form-data/form-data?branch=master)
|
|
14
|
-
[](https://david-dm.org/form-data/form-data)
|
|
15
|
-
|
|
16
|
-
## Install
|
|
17
|
-
|
|
18
|
-
```
|
|
19
|
-
npm install --save form-data
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## Usage
|
|
23
|
-
|
|
24
|
-
In this example we are constructing a form with 3 fields that contain a string,
|
|
25
|
-
a buffer and a file stream.
|
|
26
|
-
|
|
27
|
-
``` javascript
|
|
28
|
-
var FormData = require('form-data');
|
|
29
|
-
var fs = require('fs');
|
|
30
|
-
|
|
31
|
-
var form = new FormData();
|
|
32
|
-
form.append('my_field', 'my value');
|
|
33
|
-
form.append('my_buffer', new Buffer(10));
|
|
34
|
-
form.append('my_file', fs.createReadStream('/foo/bar.jpg'));
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
Also you can use http-response stream:
|
|
38
|
-
|
|
39
|
-
``` javascript
|
|
40
|
-
var FormData = require('form-data');
|
|
41
|
-
var http = require('http');
|
|
42
|
-
|
|
43
|
-
var form = new FormData();
|
|
44
|
-
|
|
45
|
-
http.request('http://nodejs.org/images/logo.png', function(response) {
|
|
46
|
-
form.append('my_field', 'my value');
|
|
47
|
-
form.append('my_buffer', new Buffer(10));
|
|
48
|
-
form.append('my_logo', response);
|
|
49
|
-
});
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
Or @mikeal's [request](https://github.com/request/request) stream:
|
|
53
|
-
|
|
54
|
-
``` javascript
|
|
55
|
-
var FormData = require('form-data');
|
|
56
|
-
var request = require('request');
|
|
57
|
-
|
|
58
|
-
var form = new FormData();
|
|
59
|
-
|
|
60
|
-
form.append('my_field', 'my value');
|
|
61
|
-
form.append('my_buffer', new Buffer(10));
|
|
62
|
-
form.append('my_logo', request('http://nodejs.org/images/logo.png'));
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
In order to submit this form to a web application, call ```submit(url, [callback])``` method:
|
|
66
|
-
|
|
67
|
-
``` javascript
|
|
68
|
-
form.submit('http://example.org/', function(err, res) {
|
|
69
|
-
// res – response object (http.IncomingMessage) //
|
|
70
|
-
res.resume();
|
|
71
|
-
});
|
|
72
|
-
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
For more advanced request manipulations ```submit()``` method returns ```http.ClientRequest``` object, or you can choose from one of the alternative submission methods.
|
|
76
|
-
|
|
77
|
-
### Custom options
|
|
78
|
-
|
|
79
|
-
You can provide custom options, such as `maxDataSize`:
|
|
80
|
-
|
|
81
|
-
``` javascript
|
|
82
|
-
var FormData = require('form-data');
|
|
83
|
-
|
|
84
|
-
var form = new FormData({ maxDataSize: 20971520 });
|
|
85
|
-
form.append('my_field', 'my value');
|
|
86
|
-
form.append('my_buffer', /* something big */);
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
List of available options could be found in [combined-stream](https://github.com/felixge/node-combined-stream/blob/master/lib/combined_stream.js#L7-L15)
|
|
90
|
-
|
|
91
|
-
### Alternative submission methods
|
|
92
|
-
|
|
93
|
-
You can use node's http client interface:
|
|
94
|
-
|
|
95
|
-
``` javascript
|
|
96
|
-
var http = require('http');
|
|
97
|
-
|
|
98
|
-
var request = http.request({
|
|
99
|
-
method: 'post',
|
|
100
|
-
host: 'example.org',
|
|
101
|
-
path: '/upload',
|
|
102
|
-
headers: form.getHeaders()
|
|
103
|
-
});
|
|
104
|
-
|
|
105
|
-
form.pipe(request);
|
|
106
|
-
|
|
107
|
-
request.on('response', function(res) {
|
|
108
|
-
console.log(res.statusCode);
|
|
109
|
-
});
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
Or if you would prefer the `'Content-Length'` header to be set for you:
|
|
113
|
-
|
|
114
|
-
``` javascript
|
|
115
|
-
form.submit('example.org/upload', function(err, res) {
|
|
116
|
-
console.log(res.statusCode);
|
|
117
|
-
});
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
To use custom headers and pre-known length in parts:
|
|
121
|
-
|
|
122
|
-
``` javascript
|
|
123
|
-
var CRLF = '\r\n';
|
|
124
|
-
var form = new FormData();
|
|
125
|
-
|
|
126
|
-
var options = {
|
|
127
|
-
header: CRLF + '--' + form.getBoundary() + CRLF + 'X-Custom-Header: 123' + CRLF + CRLF,
|
|
128
|
-
knownLength: 1
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
form.append('my_buffer', buffer, options);
|
|
132
|
-
|
|
133
|
-
form.submit('http://example.com/', function(err, res) {
|
|
134
|
-
if (err) throw err;
|
|
135
|
-
console.log('Done');
|
|
136
|
-
});
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
Form-Data can recognize and fetch all the required information from common types of streams (```fs.readStream```, ```http.response``` and ```mikeal's request```), for some other types of streams you'd need to provide "file"-related information manually:
|
|
140
|
-
|
|
141
|
-
``` javascript
|
|
142
|
-
someModule.stream(function(err, stdout, stderr) {
|
|
143
|
-
if (err) throw err;
|
|
144
|
-
|
|
145
|
-
var form = new FormData();
|
|
146
|
-
|
|
147
|
-
form.append('file', stdout, {
|
|
148
|
-
filename: 'unicycle.jpg', // ... or:
|
|
149
|
-
filepath: 'photos/toys/unicycle.jpg',
|
|
150
|
-
contentType: 'image/jpeg',
|
|
151
|
-
knownLength: 19806
|
|
152
|
-
});
|
|
153
|
-
|
|
154
|
-
form.submit('http://example.com/', function(err, res) {
|
|
155
|
-
if (err) throw err;
|
|
156
|
-
console.log('Done');
|
|
157
|
-
});
|
|
158
|
-
});
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
The `filepath` property overrides `filename` and may contain a relative path. This is typically used when uploading [multiple files from a directory](https://wicg.github.io/entries-api/#dom-htmlinputelement-webkitdirectory).
|
|
162
|
-
|
|
163
|
-
For edge cases, like POST request to URL with query string or to pass HTTP auth credentials, object can be passed to `form.submit()` as first parameter:
|
|
164
|
-
|
|
165
|
-
``` javascript
|
|
166
|
-
form.submit({
|
|
167
|
-
host: 'example.com',
|
|
168
|
-
path: '/probably.php?extra=params',
|
|
169
|
-
auth: 'username:password'
|
|
170
|
-
}, function(err, res) {
|
|
171
|
-
console.log(res.statusCode);
|
|
172
|
-
});
|
|
173
|
-
```
|
|
174
|
-
|
|
175
|
-
In case you need to also send custom HTTP headers with the POST request, you can use the `headers` key in first parameter of `form.submit()`:
|
|
176
|
-
|
|
177
|
-
``` javascript
|
|
178
|
-
form.submit({
|
|
179
|
-
host: 'example.com',
|
|
180
|
-
path: '/surelynot.php',
|
|
181
|
-
headers: {'x-test-header': 'test-header-value'}
|
|
182
|
-
}, function(err, res) {
|
|
183
|
-
console.log(res.statusCode);
|
|
184
|
-
});
|
|
185
|
-
```
|
|
186
|
-
|
|
187
|
-
### Methods
|
|
188
|
-
|
|
189
|
-
- [_Void_ append( **String** _field_, **Mixed** _value_ [, **Mixed** _options_] )](https://github.com/form-data/form-data#void-append-string-field-mixed-value--mixed-options-).
|
|
190
|
-
- [_Headers_ getHeaders( [**Headers** _userHeaders_] )](https://github.com/form-data/form-data#array-getheaders-array-userheaders-)
|
|
191
|
-
- [_String_ getBoundary()](https://github.com/form-data/form-data#string-getboundary)
|
|
192
|
-
- [_Void_ setBoundary()](https://github.com/form-data/form-data#void-setboundary)
|
|
193
|
-
- [_Buffer_ getBuffer()](https://github.com/form-data/form-data#buffer-getbuffer)
|
|
194
|
-
- [_Integer_ getLengthSync()](https://github.com/form-data/form-data#integer-getlengthsync)
|
|
195
|
-
- [_Integer_ getLength( **function** _callback_ )](https://github.com/form-data/form-data#integer-getlength-function-callback-)
|
|
196
|
-
- [_Boolean_ hasKnownLength()](https://github.com/form-data/form-data#boolean-hasknownlength)
|
|
197
|
-
- [_Request_ submit( _params_, **function** _callback_ )](https://github.com/form-data/form-data#request-submit-params-function-callback-)
|
|
198
|
-
- [_String_ toString()](https://github.com/form-data/form-data#string-tostring)
|
|
199
|
-
|
|
200
|
-
#### _Void_ append( **String** _field_, **Mixed** _value_ [, **Mixed** _options_] )
|
|
201
|
-
Append data to the form. You can submit about any format (string, integer, boolean, buffer, etc.). However, Arrays are not supported and need to be turned into strings by the user.
|
|
202
|
-
```javascript
|
|
203
|
-
var form = new FormData();
|
|
204
|
-
form.append( 'my_string', 'my value' );
|
|
205
|
-
form.append( 'my_integer', 1 );
|
|
206
|
-
form.append( 'my_boolean', true );
|
|
207
|
-
form.append( 'my_buffer', new Buffer(10) );
|
|
208
|
-
form.append( 'my_array_as_json', JSON.stringify( ['bird','cute'] ) )
|
|
209
|
-
```
|
|
210
|
-
|
|
211
|
-
You may provide a string for options, or an object.
|
|
212
|
-
```javascript
|
|
213
|
-
// Set filename by providing a string for options
|
|
214
|
-
form.append( 'my_file', fs.createReadStream('/foo/bar.jpg'), 'bar.jpg' );
|
|
215
|
-
|
|
216
|
-
// provide an object.
|
|
217
|
-
form.append( 'my_file', fs.createReadStream('/foo/bar.jpg'), {filename: 'bar.jpg', contentType: 'image/jpeg', knownLength: 19806} );
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
#### _Headers_ getHeaders( [**Headers** _userHeaders_] )
|
|
221
|
-
This method adds the correct `content-type` header to the provided array of `userHeaders`.
|
|
222
|
-
|
|
223
|
-
#### _String_ getBoundary()
|
|
224
|
-
Return the boundary of the formData. By default, the boundary consists of 26 `-` followed by 24 numbers
|
|
225
|
-
for example:
|
|
226
|
-
```javascript
|
|
227
|
-
--------------------------515890814546601021194782
|
|
228
|
-
```
|
|
229
|
-
|
|
230
|
-
#### _Void_ setBoundary(String _boundary_)
|
|
231
|
-
Set the boundary string, overriding the default behavior described above.
|
|
232
|
-
|
|
233
|
-
_Note: The boundary must be unique and may not appear in the data._
|
|
234
|
-
|
|
235
|
-
#### _Buffer_ getBuffer()
|
|
236
|
-
Return the full formdata request package, as a Buffer. You can insert this Buffer in e.g. Axios to send multipart data.
|
|
237
|
-
```javascript
|
|
238
|
-
var form = new FormData();
|
|
239
|
-
form.append( 'my_buffer', Buffer.from([0x4a,0x42,0x20,0x52,0x6f,0x63,0x6b,0x73]) );
|
|
240
|
-
form.append( 'my_file', fs.readFileSync('/foo/bar.jpg') );
|
|
241
|
-
|
|
242
|
-
axios.post( 'https://example.com/path/to/api',
|
|
243
|
-
form.getBuffer(),
|
|
244
|
-
form.getHeaders()
|
|
245
|
-
)
|
|
246
|
-
```
|
|
247
|
-
**Note:** Because the output is of type Buffer, you can only append types that are accepted by Buffer: *string, Buffer, ArrayBuffer, Array, or Array-like Object*. A ReadStream for example will result in an error.
|
|
248
|
-
|
|
249
|
-
#### _Integer_ getLengthSync()
|
|
250
|
-
Same as `getLength` but synchronous.
|
|
251
|
-
|
|
252
|
-
_Note: getLengthSync __doesn't__ calculate streams length._
|
|
253
|
-
|
|
254
|
-
#### _Integer_ getLength( **function** _callback_ )
|
|
255
|
-
Returns the `Content-Length` async. The callback is used to handle errors and continue once the length has been calculated
|
|
256
|
-
```javascript
|
|
257
|
-
this.getLength(function(err, length) {
|
|
258
|
-
if (err) {
|
|
259
|
-
this._error(err);
|
|
260
|
-
return;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
// add content length
|
|
264
|
-
request.setHeader('Content-Length', length);
|
|
265
|
-
|
|
266
|
-
...
|
|
267
|
-
}.bind(this));
|
|
268
|
-
```
|
|
269
|
-
|
|
270
|
-
#### _Boolean_ hasKnownLength()
|
|
271
|
-
Checks if the length of added values is known.
|
|
272
|
-
|
|
273
|
-
#### _Request_ submit( _params_, **function** _callback_ )
|
|
274
|
-
Submit the form to a web application.
|
|
275
|
-
```javascript
|
|
276
|
-
var form = new FormData();
|
|
277
|
-
form.append( 'my_string', 'Hello World' );
|
|
278
|
-
|
|
279
|
-
form.submit( 'http://example.com/', function(err, res) {
|
|
280
|
-
// res – response object (http.IncomingMessage) //
|
|
281
|
-
res.resume();
|
|
282
|
-
} );
|
|
283
|
-
```
|
|
284
|
-
|
|
285
|
-
#### _String_ toString()
|
|
286
|
-
Returns the form data as a string. Don't use this if you are sending files or buffers, use `getBuffer()` instead.
|
|
287
|
-
|
|
288
|
-
### Integration with other libraries
|
|
289
|
-
|
|
290
|
-
#### Request
|
|
291
|
-
|
|
292
|
-
Form submission using [request](https://github.com/request/request):
|
|
293
|
-
|
|
294
|
-
```javascript
|
|
295
|
-
var formData = {
|
|
296
|
-
my_field: 'my_value',
|
|
297
|
-
my_file: fs.createReadStream(__dirname + '/unicycle.jpg'),
|
|
298
|
-
};
|
|
299
|
-
|
|
300
|
-
request.post({url:'http://service.com/upload', formData: formData}, function(err, httpResponse, body) {
|
|
301
|
-
if (err) {
|
|
302
|
-
return console.error('upload failed:', err);
|
|
303
|
-
}
|
|
304
|
-
console.log('Upload successful! Server responded with:', body);
|
|
305
|
-
});
|
|
306
|
-
```
|
|
307
|
-
|
|
308
|
-
For more details see [request readme](https://github.com/request/request#multipartform-data-multipart-form-uploads).
|
|
309
|
-
|
|
310
|
-
#### node-fetch
|
|
311
|
-
|
|
312
|
-
You can also submit a form using [node-fetch](https://github.com/bitinn/node-fetch):
|
|
313
|
-
|
|
314
|
-
```javascript
|
|
315
|
-
var form = new FormData();
|
|
316
|
-
|
|
317
|
-
form.append('a', 1);
|
|
318
|
-
|
|
319
|
-
fetch('http://example.com', { method: 'POST', body: form })
|
|
320
|
-
.then(function(res) {
|
|
321
|
-
return res.json();
|
|
322
|
-
}).then(function(json) {
|
|
323
|
-
console.log(json);
|
|
324
|
-
});
|
|
325
|
-
```
|
|
326
|
-
|
|
327
|
-
#### axios
|
|
328
|
-
|
|
329
|
-
In Node.js you can post a file using [axios](https://github.com/axios/axios):
|
|
330
|
-
```javascript
|
|
331
|
-
const form = new FormData();
|
|
332
|
-
const stream = fs.createReadStream(PATH_TO_FILE);
|
|
333
|
-
|
|
334
|
-
form.append('image', stream);
|
|
335
|
-
|
|
336
|
-
// In Node.js environment you need to set boundary in the header field 'Content-Type' by calling method `getHeaders`
|
|
337
|
-
const formHeaders = form.getHeaders();
|
|
338
|
-
|
|
339
|
-
axios.post('http://example.com', form, {
|
|
340
|
-
headers: {
|
|
341
|
-
...formHeaders,
|
|
342
|
-
},
|
|
343
|
-
})
|
|
344
|
-
.then(response => response)
|
|
345
|
-
.catch(error => error)
|
|
346
|
-
```
|
|
347
|
-
|
|
348
|
-
## Notes
|
|
349
|
-
|
|
350
|
-
- ```getLengthSync()``` method DOESN'T calculate length for streams, use ```knownLength``` options as workaround.
|
|
351
|
-
- ```getLength(cb)``` will send an error as first parameter of callback if stream length cannot be calculated (e.g. send in custom streams w/o using ```knownLength```).
|
|
352
|
-
- ```submit``` will not add `content-length` if form length is unknown or not calculable.
|
|
353
|
-
- Starting version `2.x` FormData has dropped support for `node@0.10.x`.
|
|
354
|
-
- Starting version `3.x` FormData has dropped support for `node@4.x`.
|
|
355
|
-
|
|
356
|
-
## License
|
|
357
|
-
|
|
358
|
-
Form-Data is released under the [MIT](License) license.
|
|
File without changes
|