@gemeentenijmegen/webapp 1.1.9 → 1.1.11
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 +47 -66
- package/assets/webapp/login/login.lambda/index.js +2 -21
- package/assets/webapp/logout/logout.lambda/index.js +2 -2
- 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/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js +98 -22
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/index.js +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_0.js +44 -12
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/models_1.js +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/protocols/Aws_json1_0.js +18 -4
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchExecuteStatementCommand.d.ts +8 -3
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchGetItemCommand.d.ts +14 -7
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchWriteItemCommand.d.ts +18 -7
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateBackupCommand.d.ts +14 -11
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateGlobalTableCommand.d.ts +16 -13
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateTableCommand.d.ts +26 -16
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteBackupCommand.d.ts +12 -10
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteItemCommand.d.ts +16 -8
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteResourcePolicyCommand.d.ts +18 -13
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteTableCommand.d.ts +26 -20
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContributorInsightsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeExportCommand.d.ts +12 -10
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeImportCommand.d.ts +1 -3
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableCommand.d.ts +10 -8
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +2 -6
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +16 -12
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +16 -12
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteStatementCommand.d.ts +14 -7
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteTransactionCommand.d.ts +42 -42
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +14 -11
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetItemCommand.d.ts +14 -7
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetResourcePolicyCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ImportTableCommand.d.ts +19 -17
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListContributorInsightsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListExportsCommand.d.ts +12 -10
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListImportsCommand.d.ts +12 -10
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutItemCommand.d.ts +16 -8
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutResourcePolicyCommand.d.ts +18 -13
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/QueryCommand.d.ts +14 -7
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableFromBackupCommand.d.ts +22 -14
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +24 -15
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ScanCommand.d.ts +14 -7
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TagResourceCommand.d.ts +16 -12
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactGetItemsCommand.d.ts +21 -15
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactWriteItemsCommand.d.ts +44 -43
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UntagResourceCommand.d.ts +16 -12
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContributorInsightsCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableCommand.d.ts +6 -6
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +17 -13
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateItemCommand.d.ts +16 -8
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +16 -12
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableCommand.d.ts +36 -20
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +18 -18
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTimeToLiveCommand.d.ts +16 -12
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts +391 -191
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_1.d.ts +73 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_0.d.ts +61 -16
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_1.d.ts +11 -0
- package/node_modules/@aws-sdk/client-dynamodb/package.json +35 -35
- package/node_modules/@aws-sdk/client-s3/README.md +48 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +739 -139
- package/node_modules/@aws-sdk/client-s3/dist-es/S3.js +12 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +31 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +26 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataConfigurationCommand.js +28 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js +28 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +31 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +31 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +6 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +18 -23
- package/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +36 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +422 -20
- package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +42 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +8 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +17 -22
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +47 -58
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +107 -110
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +93 -83
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +182 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +25 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +99 -116
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +47 -52
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +7 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +10 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +16 -18
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +23 -28
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +114 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +26 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +9 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +5 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +20 -23
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +5 -7
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +9 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +37 -23
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +7 -7
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +37 -44
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +6 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +14 -17
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +17 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +8 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +17 -20
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +6 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +28 -37
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +10 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +146 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +25 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +10 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +7 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +19 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +24 -29
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +5 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +12 -13
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +6 -7
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +9 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +56 -71
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +68 -83
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +8 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +10 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +34 -35
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +53 -64
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +14 -17
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +12 -15
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +15 -18
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +19 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +10 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +49 -50
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +15 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +17 -9
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +29 -32
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +30 -26
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +14 -18
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +60 -60
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +23 -25
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +23 -27
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +41 -49
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +12 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +33 -37
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +51 -60
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +35 -31
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +12 -14
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +29 -35
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -6
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +24 -29
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +32 -39
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +4 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +21 -27
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +20 -23
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +19 -18
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +53 -58
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +68 -70
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +10 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +4 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +18 -24
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +10 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts +138 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +78 -87
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +50 -59
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +161 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +113 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +65 -75
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +81 -97
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +31 -35
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +2789 -3602
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +2226 -711
- package/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +54 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +126 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +36 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +107 -209
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +261 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +72 -0
- package/node_modules/@aws-sdk/client-s3/package.json +53 -51
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +33 -33
- package/node_modules/@aws-sdk/client-ssm/README.md +3 -2
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +15 -7
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowsCommand.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +8 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +3 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +3 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteDocumentCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeParametersCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeSessionsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAccessTokenCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterHistoryCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersByPathCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/LabelParameterVersionCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutComplianceItemsCommand.d.ts +7 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAccessRequestCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UnlabelParameterVersionCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts +3 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +39 -28
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +95 -21
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +17 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts +2 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +5 -7
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +11 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ssm/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +12 -0
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +81 -34
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/client/setTokenFeature.js +7 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +5 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +5 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +4 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +5 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +11 -7
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +3 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +6 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +6 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +7 -10
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +11 -7
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/client/setTokenFeature.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +6 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +6 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeDeserializer.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setTokenFeature.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +8 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +8 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +8 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-endpoint-discovery/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +9 -9
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +11 -11
- package/node_modules/@aws-sdk/middleware-ssec/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/EndpointParameters.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/endpoint/EndpointParameters.d.ts +4 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/endpoint/EndpointParameters.d.ts +4 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +32 -32
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/s3-request-presigner/package.json +10 -10
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -6
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +6 -3
- package/node_modules/@aws-sdk/token-providers/dist-es/fromEnvSigningName.js +5 -2
- package/node_modules/@aws-sdk/token-providers/package.json +10 -8
- package/node_modules/@aws-sdk/types/dist-types/feature-ids.d.ts +7 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/TokenIdentity.d.ts +10 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/feature-ids.d.ts +5 -1
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/identity/TokenIdentity.d.ts +5 -0
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +30 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/resolveDefaultAwsRegionalEndpointsConfig.js +21 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/resolveDefaultAwsRegionalEndpointsConfig.d.ts +56 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/resolveDefaultAwsRegionalEndpointsConfig.d.ts +35 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +6 -4
- package/node_modules/@aws-sdk/util-format-url/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/.jsii +83 -5
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/README.adoc +213 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/README.md +1 -126
- 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-solutions-constructs/core/.jsii +110 -6
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/bedrock-inference-helper.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-defaults.d.ts +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-defaults.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-helper.d.ts +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/cloudfront-distribution-helper.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-defaults.d.ts +2 -19
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-defaults.js +18 -7
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-helper.d.ts +2 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-helper.js +5 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/kendra-helper.js +4 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/waf-helper.js +5 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/package.json +3 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/TwoLogGroups.json +365 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/bedrock-inference-helper.test.js +2 -6
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/dynamo-table.test.js +181 -11
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/lambda/index.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/pipes-helper.test.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/step-function-helper.test.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.d.ts +6 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.js +84 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/waf-helper.test.js +35 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/package.json +8 -7
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-add-secondary-index.js +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/cdk.out +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/integ.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.assets.json +6 -6
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.template.json +1 -136
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddbdeployFunctionWithExistingVpcIntegDefaultTestDeployAssertEE08E38E.assets.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/manifest.json +475 -10
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/tree.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/cdk.out +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/integ.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.assets.json +6 -6
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.template.json +1 -136
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddbdeployFunctionWithVpcIntegDefaultTestDeployAssert0AB8275C.assets.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/manifest.json +475 -10
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/tree.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-no-arguments.js +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-set-billing-mode.js +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-use-existing-func.js +2 -1
- package/node_modules/@gemeentenijmegen/apiclient/node_modules/@gemeentenijmegen/utils/package.json +9 -9
- package/node_modules/@gemeentenijmegen/apiclient/package.json +10 -10
- package/node_modules/@gemeentenijmegen/apigateway-http/package.json +6 -6
- package/node_modules/@gemeentenijmegen/session/package.json +5 -5
- package/node_modules/@gemeentenijmegen/utils/package.json +9 -9
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +4 -4
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +142 -44
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +108 -105
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +92 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +45 -54
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +77 -41
- package/node_modules/@smithy/core/dist-es/submodules/cbor/byte-printer.js +3 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +39 -4
- package/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +33 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +115 -20
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +7 -95
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ErrorSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/ListSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/MapSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +19 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/SimpleSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/StructureSchema.js +10 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/copyDocumentWithTransform.js +1 -53
- package/node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js +2 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +36 -2
- package/node_modules/@smithy/core/dist-types/submodules/cbor/CborCodec.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/submodules/cbor/byte-printer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +10 -2
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +3 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ErrorSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/ListSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/MapSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/SimpleSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/StructureSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/copyDocumentWithTransform.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/generateIdempotencyToken.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts +3 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/CborCodec.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/byte-printer.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +10 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +3 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ErrorSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/ListSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/MapSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +8 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/SimpleSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/StructureSchema.d.ts +3 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/copyDocumentWithTransform.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts +2 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +3 -1
- package/node_modules/@smithy/core/package.json +20 -17
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/eventstream-codec/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +2 -2
- package/node_modules/@smithy/eventstream-serde-node/package.json +3 -3
- package/node_modules/@smithy/eventstream-serde-universal/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +4 -4
- package/node_modules/@smithy/fetch-http-handler/dist-types/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/dist-types/ts3.4/fetch-http-handler.d.ts +1 -1
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-blob-browser/package.json +2 -2
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/hash-stream-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/md5-js/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -3
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +22 -3
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/resolveEndpointRequiredConfig.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +3 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +2 -1
- package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +1 -1
- package/node_modules/@smithy/middleware-endpoint/dist-es/index.js +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointRequiredConfig.js +9 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/index.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +5 -2
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointRequiredConfig.d.ts +32 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +5 -2
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointRequiredConfig.d.ts +32 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +8 -8
- package/node_modules/@smithy/middleware-retry/package.json +9 -9
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +11 -9
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +4 -3
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +7 -6
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +2 -1
- package/node_modules/@smithy/service-error-classification/dist-es/constants.js +1 -0
- package/node_modules/@smithy/service-error-classification/dist-es/index.js +2 -1
- package/node_modules/@smithy/service-error-classification/dist-types/constants.d.ts +4 -0
- package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/constants.d.ts +4 -0
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +4 -4
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -0
- package/node_modules/@smithy/smithy-client/package.json +7 -7
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +1 -0
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +4 -4
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +27 -8
- package/node_modules/@smithy/util-waiter/dist-es/createWaiter.js +27 -8
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/node_modules/@types/aws-lambda/README.md +1 -1
- package/node_modules/@types/aws-lambda/handler.d.ts +1 -0
- package/node_modules/@types/aws-lambda/package.json +2 -2
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/index.d.ts +2 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation-v3.d.ts +50 -0
- package/node_modules/aproba/index.js +1 -1
- package/node_modules/aproba/package.json +1 -1
- package/node_modules/axios/CHANGELOG.md +17 -0
- package/node_modules/axios/README.md +1 -4
- package/node_modules/axios/dist/axios.js +39 -5
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +46 -9
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +46 -9
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +46 -9
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +13 -2
- package/node_modules/axios/lib/core/Axios.js +2 -2
- package/node_modules/axios/lib/core/mergeConfig.js +1 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/throttle.js +1 -1
- package/node_modules/axios/lib/helpers/toURLEncodedForm.js +4 -3
- package/node_modules/axios/lib/utils.js +36 -0
- package/node_modules/axios/package.json +5 -5
- package/node_modules/bowser/CHANGELOG.md +1 -1
- package/node_modules/bowser/README.md +2 -4
- package/node_modules/bowser/bundled.js +1 -1
- package/node_modules/bowser/es5.js +1 -1
- package/node_modules/bowser/index.d.ts +72 -7
- package/node_modules/bowser/package.json +4 -3
- package/node_modules/bowser/src/constants.js +3 -0
- package/node_modules/bowser/src/parser-browsers.js +15 -0
- package/node_modules/bowser/src/parser-platforms.js +17 -1
- package/node_modules/bowser/src/parser.js +20 -5
- package/node_modules/bowser/src/utils.js +2 -2
- package/node_modules/dotenv/CHANGELOG.md +17 -1
- package/node_modules/dotenv/README-es.md +0 -19
- package/node_modules/dotenv/README.md +7 -14
- package/node_modules/dotenv/SECURITY.md +1 -0
- package/node_modules/dotenv/lib/cli-options.js +8 -2
- package/node_modules/dotenv/lib/env-options.js +4 -0
- package/node_modules/dotenv/lib/main.d.ts +12 -3
- package/node_modules/dotenv/lib/main.js +31 -5
- package/node_modules/dotenv/package.json +2 -2
- package/node_modules/fast-xml-parser/CHANGELOG.md +77 -0
- package/node_modules/fast-xml-parser/README.md +39 -52
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.cjs +1 -0
- package/node_modules/fast-xml-parser/lib/fxp.d.cts +458 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js +2 -0
- package/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -0
- package/node_modules/fast-xml-parser/package.json +36 -20
- package/node_modules/fast-xml-parser/src/cli/cli.js +16 -12
- package/node_modules/fast-xml-parser/src/cli/man.js +6 -1
- package/node_modules/fast-xml-parser/src/cli/read.js +30 -79
- package/node_modules/fast-xml-parser/src/fxp.d.ts +52 -9
- package/node_modules/fast-xml-parser/src/fxp.js +11 -8
- package/node_modules/fast-xml-parser/src/ignoreAttributes.js +18 -0
- package/node_modules/fast-xml-parser/src/util.js +14 -18
- package/node_modules/fast-xml-parser/src/{v5 → v6}/CharsSymbol.js +1 -1
- package/node_modules/fast-xml-parser/src/{v5/valueParsers → v6}/EntitiesParser.js +3 -6
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OptionsBuilder.js +3 -6
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/BaseOutputBuilder.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsArrBuilder.js +3 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsMinArrBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/JsObjBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/OutputBuilders/ParserOptionsBuilder.js +6 -11
- package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPath.js +1 -1
- package/node_modules/fast-xml-parser/src/{v5 → v6}/TagPathMatcher.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XMLParser.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/Xml2JsParser.js +8 -10
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlPartReader.js +24 -26
- package/node_modules/fast-xml-parser/src/{v5 → v6}/XmlSpecialTagsReader.js +5 -12
- package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/BufferSource.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/inputSource/StringSource.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6/valueParsers}/EntitiesParser.js +3 -5
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParser.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/booleanParserExt.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/currency.js +1 -3
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/join.js +1 -2
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/number.js +2 -4
- package/node_modules/fast-xml-parser/src/{v5 → v6}/valueParsers/trim.js +1 -3
- package/node_modules/fast-xml-parser/src/validator.js +5 -5
- package/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +17 -13
- package/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +1 -2
- package/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +288 -71
- package/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +3 -5
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +28 -23
- package/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +21 -8
- package/node_modules/fast-xml-parser/src/xmlparser/node2json.js +8 -2
- package/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +22 -7
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/form-data/CHANGELOG.md +601 -0
- package/node_modules/form-data/{README.md.bak → README.md} +4 -4
- package/node_modules/form-data/lib/form_data.js +2 -6
- package/node_modules/form-data/package.json +22 -6
- package/node_modules/oidc-token-hash/README.md +1 -0
- package/node_modules/oidc-token-hash/lib/index.js +0 -10
- package/node_modules/oidc-token-hash/package.json +1 -1
- package/node_modules/strnum/.github/SECURITY.md +5 -0
- package/node_modules/strnum/CHANGELOG.md +11 -0
- package/node_modules/strnum/algo.stflow +84 -0
- package/node_modules/strnum/package.json +2 -1
- package/node_modules/strnum/strnum.js +53 -35
- package/node_modules/strnum/strnum.test.js +9 -1
- package/node_modules/strnum/test.js +9 -0
- package/package.json +20 -20
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-add-secondary-index.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +0 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +0 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/__entrypoint__.js +0 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.7fa1e366ee8a9ded01fc355f704cff92bfd179574e6f9cfee800a3541df1b200/index.js +0 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-no-arguments.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-set-billing-mode.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-use-existing-func.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/form-data/Readme.md +0 -355
- package/node_modules/oidc-token-hash/lib/shake256.js +0 -7
- /package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/{architecture.png → aws-lambda-dynamodb.png} +0 -0
- /package/node_modules/fast-xml-parser/src/{v5 → v6}/Report.js +0 -0
|
@@ -247,12 +247,24 @@ var Schema = class {
|
|
|
247
247
|
};
|
|
248
248
|
|
|
249
249
|
// src/submodules/schema/schemas/ListSchema.ts
|
|
250
|
-
var ListSchema = class extends Schema {
|
|
250
|
+
var ListSchema = class _ListSchema extends Schema {
|
|
251
251
|
constructor(name, traits, valueSchema) {
|
|
252
252
|
super(name, traits);
|
|
253
253
|
this.name = name;
|
|
254
254
|
this.traits = traits;
|
|
255
255
|
this.valueSchema = valueSchema;
|
|
256
|
+
this.symbol = _ListSchema.symbol;
|
|
257
|
+
}
|
|
258
|
+
static {
|
|
259
|
+
this.symbol = Symbol.for("@smithy/core/schema::ListSchema");
|
|
260
|
+
}
|
|
261
|
+
static [Symbol.hasInstance](lhs) {
|
|
262
|
+
const isPrototype = _ListSchema.prototype.isPrototypeOf(lhs);
|
|
263
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
264
|
+
const list2 = lhs;
|
|
265
|
+
return list2.symbol === _ListSchema.symbol;
|
|
266
|
+
}
|
|
267
|
+
return isPrototype;
|
|
256
268
|
}
|
|
257
269
|
};
|
|
258
270
|
function list(namespace, name, traits = {}, valueSchema) {
|
|
@@ -266,13 +278,25 @@ function list(namespace, name, traits = {}, valueSchema) {
|
|
|
266
278
|
}
|
|
267
279
|
|
|
268
280
|
// src/submodules/schema/schemas/MapSchema.ts
|
|
269
|
-
var MapSchema = class extends Schema {
|
|
281
|
+
var MapSchema = class _MapSchema extends Schema {
|
|
270
282
|
constructor(name, traits, keySchema, valueSchema) {
|
|
271
283
|
super(name, traits);
|
|
272
284
|
this.name = name;
|
|
273
285
|
this.traits = traits;
|
|
274
286
|
this.keySchema = keySchema;
|
|
275
287
|
this.valueSchema = valueSchema;
|
|
288
|
+
this.symbol = _MapSchema.symbol;
|
|
289
|
+
}
|
|
290
|
+
static {
|
|
291
|
+
this.symbol = Symbol.for("@smithy/core/schema::MapSchema");
|
|
292
|
+
}
|
|
293
|
+
static [Symbol.hasInstance](lhs) {
|
|
294
|
+
const isPrototype = _MapSchema.prototype.isPrototypeOf(lhs);
|
|
295
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
296
|
+
const map2 = lhs;
|
|
297
|
+
return map2.symbol === _MapSchema.symbol;
|
|
298
|
+
}
|
|
299
|
+
return isPrototype;
|
|
276
300
|
}
|
|
277
301
|
};
|
|
278
302
|
function map(namespace, name, traits = {}, keySchema, valueSchema) {
|
|
@@ -303,18 +327,30 @@ function op(namespace, name, traits = {}, input, output) {
|
|
|
303
327
|
}
|
|
304
328
|
|
|
305
329
|
// src/submodules/schema/schemas/StructureSchema.ts
|
|
306
|
-
var StructureSchema = class extends Schema {
|
|
330
|
+
var StructureSchema = class _StructureSchema extends Schema {
|
|
307
331
|
constructor(name, traits, memberNames, memberList) {
|
|
308
332
|
super(name, traits);
|
|
309
333
|
this.name = name;
|
|
310
334
|
this.traits = traits;
|
|
311
335
|
this.memberNames = memberNames;
|
|
312
336
|
this.memberList = memberList;
|
|
337
|
+
this.symbol = _StructureSchema.symbol;
|
|
313
338
|
this.members = {};
|
|
314
339
|
for (let i = 0; i < memberNames.length; ++i) {
|
|
315
340
|
this.members[memberNames[i]] = Array.isArray(memberList[i]) ? memberList[i] : [memberList[i], 0];
|
|
316
341
|
}
|
|
317
342
|
}
|
|
343
|
+
static {
|
|
344
|
+
this.symbol = Symbol.for("@smithy/core/schema::StructureSchema");
|
|
345
|
+
}
|
|
346
|
+
static [Symbol.hasInstance](lhs) {
|
|
347
|
+
const isPrototype = _StructureSchema.prototype.isPrototypeOf(lhs);
|
|
348
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
349
|
+
const struct2 = lhs;
|
|
350
|
+
return struct2.symbol === _StructureSchema.symbol;
|
|
351
|
+
}
|
|
352
|
+
return isPrototype;
|
|
353
|
+
}
|
|
318
354
|
};
|
|
319
355
|
function struct(namespace, name, traits, memberNames, memberList) {
|
|
320
356
|
const schema = new StructureSchema(namespace + "#" + name, traits, memberNames, memberList);
|
|
@@ -323,7 +359,7 @@ function struct(namespace, name, traits, memberNames, memberList) {
|
|
|
323
359
|
}
|
|
324
360
|
|
|
325
361
|
// src/submodules/schema/schemas/ErrorSchema.ts
|
|
326
|
-
var ErrorSchema = class extends StructureSchema {
|
|
362
|
+
var ErrorSchema = class _ErrorSchema extends StructureSchema {
|
|
327
363
|
constructor(name, traits, memberNames, memberList, ctor) {
|
|
328
364
|
super(name, traits, memberNames, memberList);
|
|
329
365
|
this.name = name;
|
|
@@ -331,6 +367,18 @@ var ErrorSchema = class extends StructureSchema {
|
|
|
331
367
|
this.memberNames = memberNames;
|
|
332
368
|
this.memberList = memberList;
|
|
333
369
|
this.ctor = ctor;
|
|
370
|
+
this.symbol = _ErrorSchema.symbol;
|
|
371
|
+
}
|
|
372
|
+
static {
|
|
373
|
+
this.symbol = Symbol.for("@smithy/core/schema::ErrorSchema");
|
|
374
|
+
}
|
|
375
|
+
static [Symbol.hasInstance](lhs) {
|
|
376
|
+
const isPrototype = _ErrorSchema.prototype.isPrototypeOf(lhs);
|
|
377
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
378
|
+
const err = lhs;
|
|
379
|
+
return err.symbol === _ErrorSchema.symbol;
|
|
380
|
+
}
|
|
381
|
+
return isPrototype;
|
|
334
382
|
}
|
|
335
383
|
};
|
|
336
384
|
function error(namespace, name, traits = {}, memberNames, memberList, ctor) {
|
|
@@ -372,12 +420,24 @@ var SCHEMA = {
|
|
|
372
420
|
};
|
|
373
421
|
|
|
374
422
|
// src/submodules/schema/schemas/SimpleSchema.ts
|
|
375
|
-
var SimpleSchema = class extends Schema {
|
|
423
|
+
var SimpleSchema = class _SimpleSchema extends Schema {
|
|
376
424
|
constructor(name, schemaRef, traits) {
|
|
377
425
|
super(name, traits);
|
|
378
426
|
this.name = name;
|
|
379
427
|
this.schemaRef = schemaRef;
|
|
380
428
|
this.traits = traits;
|
|
429
|
+
this.symbol = _SimpleSchema.symbol;
|
|
430
|
+
}
|
|
431
|
+
static {
|
|
432
|
+
this.symbol = Symbol.for("@smithy/core/schema::SimpleSchema");
|
|
433
|
+
}
|
|
434
|
+
static [Symbol.hasInstance](lhs) {
|
|
435
|
+
const isPrototype = _SimpleSchema.prototype.isPrototypeOf(lhs);
|
|
436
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
437
|
+
const sim2 = lhs;
|
|
438
|
+
return sim2.symbol === _SimpleSchema.symbol;
|
|
439
|
+
}
|
|
440
|
+
return isPrototype;
|
|
381
441
|
}
|
|
382
442
|
};
|
|
383
443
|
function sim(namespace, name, schemaRef, traits) {
|
|
@@ -395,6 +455,7 @@ var NormalizedSchema = class _NormalizedSchema {
|
|
|
395
455
|
constructor(ref, memberName) {
|
|
396
456
|
this.ref = ref;
|
|
397
457
|
this.memberName = memberName;
|
|
458
|
+
this.symbol = _NormalizedSchema.symbol;
|
|
398
459
|
const traitStack = [];
|
|
399
460
|
let _ref = ref;
|
|
400
461
|
let schema = ref;
|
|
@@ -434,10 +495,23 @@ var NormalizedSchema = class _NormalizedSchema {
|
|
|
434
495
|
this.name = (typeof this.schema === "object" ? this.schema?.name : void 0) ?? this.memberName ?? this.getSchemaName();
|
|
435
496
|
if (this._isMemberSchema && !memberName) {
|
|
436
497
|
throw new Error(
|
|
437
|
-
`@smithy/core/schema - NormalizedSchema member schema ${this.getName(
|
|
498
|
+
`@smithy/core/schema - NormalizedSchema member schema ${this.getName(
|
|
499
|
+
true
|
|
500
|
+
)} must initialize with memberName argument.`
|
|
438
501
|
);
|
|
439
502
|
}
|
|
440
503
|
}
|
|
504
|
+
static {
|
|
505
|
+
this.symbol = Symbol.for("@smithy/core/schema::NormalizedSchema");
|
|
506
|
+
}
|
|
507
|
+
static [Symbol.hasInstance](lhs) {
|
|
508
|
+
const isPrototype = _NormalizedSchema.prototype.isPrototypeOf(lhs);
|
|
509
|
+
if (!isPrototype && typeof lhs === "object" && lhs !== null) {
|
|
510
|
+
const ns = lhs;
|
|
511
|
+
return ns.symbol === _NormalizedSchema.symbol;
|
|
512
|
+
}
|
|
513
|
+
return isPrototype;
|
|
514
|
+
}
|
|
441
515
|
/**
|
|
442
516
|
* Static constructor that attempts to avoid wrapping a NormalizedSchema within another.
|
|
443
517
|
*/
|
|
@@ -584,6 +658,18 @@ var NormalizedSchema = class _NormalizedSchema {
|
|
|
584
658
|
}
|
|
585
659
|
return this.getSchema() === SCHEMA.STREAMING_BLOB;
|
|
586
660
|
}
|
|
661
|
+
/**
|
|
662
|
+
* This is a shortcut to avoid calling `getMergedTraits().idempotencyToken` on every string.
|
|
663
|
+
* @returns whether the schema has the idempotencyToken trait.
|
|
664
|
+
*/
|
|
665
|
+
isIdempotencyToken() {
|
|
666
|
+
if (typeof this.traits === "number") {
|
|
667
|
+
return (this.traits & 4) === 4;
|
|
668
|
+
} else if (typeof this.traits === "object") {
|
|
669
|
+
return !!this.traits.idempotencyToken;
|
|
670
|
+
}
|
|
671
|
+
return false;
|
|
672
|
+
}
|
|
587
673
|
/**
|
|
588
674
|
* @returns own traits merged with member traits, where member traits of the same trait key take priority.
|
|
589
675
|
* This method is cached.
|
|
@@ -35,6 +35,7 @@ __export(serde_exports, {
|
|
|
35
35
|
expectShort: () => expectShort,
|
|
36
36
|
expectString: () => expectString,
|
|
37
37
|
expectUnion: () => expectUnion,
|
|
38
|
+
generateIdempotencyToken: () => import_uuid.v4,
|
|
38
39
|
handleFloat: () => handleFloat,
|
|
39
40
|
limitedParseDouble: () => limitedParseDouble,
|
|
40
41
|
limitedParseFloat: () => limitedParseFloat,
|
|
@@ -61,57 +62,7 @@ __export(serde_exports, {
|
|
|
61
62
|
module.exports = __toCommonJS(serde_exports);
|
|
62
63
|
|
|
63
64
|
// src/submodules/serde/copyDocumentWithTransform.ts
|
|
64
|
-
var
|
|
65
|
-
var copyDocumentWithTransform = (source, schemaRef, transform = (_) => _) => {
|
|
66
|
-
const ns = import_schema.NormalizedSchema.of(schemaRef);
|
|
67
|
-
switch (typeof source) {
|
|
68
|
-
case "undefined":
|
|
69
|
-
case "boolean":
|
|
70
|
-
case "number":
|
|
71
|
-
case "string":
|
|
72
|
-
case "bigint":
|
|
73
|
-
case "symbol":
|
|
74
|
-
return transform(source, ns);
|
|
75
|
-
case "function":
|
|
76
|
-
case "object":
|
|
77
|
-
if (source === null) {
|
|
78
|
-
return transform(null, ns);
|
|
79
|
-
}
|
|
80
|
-
if (Array.isArray(source)) {
|
|
81
|
-
const newArray = new Array(source.length);
|
|
82
|
-
let i = 0;
|
|
83
|
-
for (const item of source) {
|
|
84
|
-
newArray[i++] = copyDocumentWithTransform(item, ns.getValueSchema(), transform);
|
|
85
|
-
}
|
|
86
|
-
return transform(newArray, ns);
|
|
87
|
-
}
|
|
88
|
-
if ("byteLength" in source) {
|
|
89
|
-
const newBytes = new Uint8Array(source.byteLength);
|
|
90
|
-
newBytes.set(source, 0);
|
|
91
|
-
return transform(newBytes, ns);
|
|
92
|
-
}
|
|
93
|
-
if (source instanceof Date) {
|
|
94
|
-
return transform(source, ns);
|
|
95
|
-
}
|
|
96
|
-
const newObject = {};
|
|
97
|
-
if (ns.isMapSchema()) {
|
|
98
|
-
for (const key of Object.keys(source)) {
|
|
99
|
-
newObject[key] = copyDocumentWithTransform(source[key], ns.getValueSchema(), transform);
|
|
100
|
-
}
|
|
101
|
-
} else if (ns.isStructSchema()) {
|
|
102
|
-
for (const [key, memberSchema] of ns.structIterator()) {
|
|
103
|
-
newObject[key] = copyDocumentWithTransform(source[key], memberSchema, transform);
|
|
104
|
-
}
|
|
105
|
-
} else if (ns.isDocumentSchema()) {
|
|
106
|
-
for (const key of Object.keys(source)) {
|
|
107
|
-
newObject[key] = copyDocumentWithTransform(source[key], ns.getValueSchema(), transform);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
return transform(newObject, ns);
|
|
111
|
-
default:
|
|
112
|
-
return transform(source, ns);
|
|
113
|
-
}
|
|
114
|
-
};
|
|
65
|
+
var copyDocumentWithTransform = (source, schemaRef, transform = (_) => _) => source;
|
|
115
66
|
|
|
116
67
|
// src/submodules/serde/parse-utils.ts
|
|
117
68
|
var parseBoolean = (value) => {
|
|
@@ -566,6 +517,9 @@ var stripLeadingZeroes = (value) => {
|
|
|
566
517
|
return value.slice(idx);
|
|
567
518
|
};
|
|
568
519
|
|
|
520
|
+
// src/submodules/serde/generateIdempotencyToken.ts
|
|
521
|
+
var import_uuid = require("uuid");
|
|
522
|
+
|
|
569
523
|
// src/submodules/serde/lazy-json.ts
|
|
570
524
|
var LazyJsonString = function LazyJsonString2(val) {
|
|
571
525
|
const str = Object.assign(new String(val), {
|
|
@@ -667,14 +621,50 @@ var splitHeader = (value) => {
|
|
|
667
621
|
};
|
|
668
622
|
|
|
669
623
|
// src/submodules/serde/value/NumericValue.ts
|
|
670
|
-
var NumericValue = class {
|
|
624
|
+
var NumericValue = class _NumericValue {
|
|
671
625
|
constructor(string, type) {
|
|
672
626
|
this.string = string;
|
|
673
627
|
this.type = type;
|
|
628
|
+
let dot = 0;
|
|
629
|
+
for (let i = 0; i < string.length; ++i) {
|
|
630
|
+
const char = string.charCodeAt(i);
|
|
631
|
+
if (i === 0 && char === 45) {
|
|
632
|
+
continue;
|
|
633
|
+
}
|
|
634
|
+
if (char === 46) {
|
|
635
|
+
if (dot) {
|
|
636
|
+
throw new Error("@smithy/core/serde - NumericValue must contain at most one decimal point.");
|
|
637
|
+
}
|
|
638
|
+
dot = 1;
|
|
639
|
+
continue;
|
|
640
|
+
}
|
|
641
|
+
if (char < 48 || char > 57) {
|
|
642
|
+
throw new Error(
|
|
643
|
+
`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`
|
|
644
|
+
);
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
toString() {
|
|
649
|
+
return this.string;
|
|
650
|
+
}
|
|
651
|
+
static [Symbol.hasInstance](object) {
|
|
652
|
+
if (!object || typeof object !== "object") {
|
|
653
|
+
return false;
|
|
654
|
+
}
|
|
655
|
+
const _nv = object;
|
|
656
|
+
const prototypeMatch = _NumericValue.prototype.isPrototypeOf(object.constructor?.prototype);
|
|
657
|
+
if (prototypeMatch) {
|
|
658
|
+
return prototypeMatch;
|
|
659
|
+
}
|
|
660
|
+
if (typeof _nv.string === "string" && typeof _nv.type === "string" && _nv.constructor?.name === "NumericValue") {
|
|
661
|
+
return true;
|
|
662
|
+
}
|
|
663
|
+
return prototypeMatch;
|
|
674
664
|
}
|
|
675
665
|
};
|
|
676
|
-
function nv(
|
|
677
|
-
return new NumericValue(
|
|
666
|
+
function nv(input) {
|
|
667
|
+
return new NumericValue(String(input), "bigDecimal");
|
|
678
668
|
}
|
|
679
669
|
// Annotate the CommonJS export names for ESM import in node:
|
|
680
670
|
0 && (module.exports = {
|
|
@@ -694,6 +684,7 @@ function nv(string) {
|
|
|
694
684
|
expectShort,
|
|
695
685
|
expectString,
|
|
696
686
|
expectUnion,
|
|
687
|
+
generateIdempotencyToken,
|
|
697
688
|
handleFloat,
|
|
698
689
|
limitedParseDouble,
|
|
699
690
|
limitedParseFloat,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { NormalizedSchema } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
2
|
+
import { generateIdempotencyToken, parseEpochTimestamp } from "@smithy/core/serde";
|
|
3
|
+
import { fromBase64 } from "@smithy/util-base64";
|
|
3
4
|
import { cbor } from "./cbor";
|
|
4
5
|
import { dateToTag } from "./parseCborBody";
|
|
5
6
|
export class CborCodec {
|
|
@@ -22,36 +23,71 @@ export class CborShapeSerializer {
|
|
|
22
23
|
this.serdeContext = serdeContext;
|
|
23
24
|
}
|
|
24
25
|
write(schema, value) {
|
|
25
|
-
this.value =
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
26
|
+
this.value = this.serialize(schema, value);
|
|
27
|
+
}
|
|
28
|
+
serialize(schema, source) {
|
|
29
|
+
const ns = NormalizedSchema.of(schema);
|
|
30
|
+
if (source == null) {
|
|
31
|
+
if (ns.isIdempotencyToken()) {
|
|
32
|
+
return generateIdempotencyToken();
|
|
33
|
+
}
|
|
34
|
+
return source;
|
|
35
|
+
}
|
|
36
|
+
if (ns.isBlobSchema()) {
|
|
37
|
+
if (typeof source === "string") {
|
|
38
|
+
return (this.serdeContext?.base64Decoder ?? fromBase64)(source);
|
|
39
|
+
}
|
|
40
|
+
return source;
|
|
41
|
+
}
|
|
42
|
+
if (ns.isTimestampSchema()) {
|
|
43
|
+
if (typeof source === "number" || typeof source === "bigint") {
|
|
44
|
+
return dateToTag(new Date((Number(source) / 1000) | 0));
|
|
45
|
+
}
|
|
46
|
+
return dateToTag(source);
|
|
47
|
+
}
|
|
48
|
+
if (typeof source === "function" || typeof source === "object") {
|
|
49
|
+
const sourceObject = source;
|
|
50
|
+
if (ns.isListSchema() && Array.isArray(sourceObject)) {
|
|
51
|
+
const sparse = !!ns.getMergedTraits().sparse;
|
|
52
|
+
const newArray = [];
|
|
53
|
+
let i = 0;
|
|
54
|
+
for (const item of sourceObject) {
|
|
55
|
+
const value = this.serialize(ns.getValueSchema(), item);
|
|
56
|
+
if (value != null || sparse) {
|
|
57
|
+
newArray[i++] = value;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return newArray;
|
|
61
|
+
}
|
|
62
|
+
if (sourceObject instanceof Date) {
|
|
63
|
+
return dateToTag(sourceObject);
|
|
64
|
+
}
|
|
65
|
+
const newObject = {};
|
|
66
|
+
if (ns.isMapSchema()) {
|
|
67
|
+
const sparse = !!ns.getMergedTraits().sparse;
|
|
68
|
+
for (const key of Object.keys(sourceObject)) {
|
|
69
|
+
const value = this.serialize(ns.getValueSchema(), sourceObject[key]);
|
|
70
|
+
if (value != null || sparse) {
|
|
71
|
+
newObject[key] = value;
|
|
72
|
+
}
|
|
37
73
|
}
|
|
38
74
|
}
|
|
39
|
-
else if (
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
const filteredOutByNonSparse = !sparse && v == null;
|
|
45
|
-
const filteredOutByUnrecognizedMember = isStruct && !(k in members);
|
|
46
|
-
if (filteredOutByNonSparse || filteredOutByUnrecognizedMember) {
|
|
47
|
-
delete _[k];
|
|
48
|
-
}
|
|
75
|
+
else if (ns.isStructSchema()) {
|
|
76
|
+
for (const [key, memberSchema] of ns.structIterator()) {
|
|
77
|
+
const value = this.serialize(memberSchema, sourceObject[key]);
|
|
78
|
+
if (value != null) {
|
|
79
|
+
newObject[key] = value;
|
|
49
80
|
}
|
|
50
|
-
return _;
|
|
51
81
|
}
|
|
52
82
|
}
|
|
53
|
-
|
|
54
|
-
|
|
83
|
+
else if (ns.isDocumentSchema()) {
|
|
84
|
+
for (const key of Object.keys(sourceObject)) {
|
|
85
|
+
newObject[key] = this.serialize(ns.getValueSchema(), sourceObject[key]);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
return newObject;
|
|
89
|
+
}
|
|
90
|
+
return source;
|
|
55
91
|
}
|
|
56
92
|
flush() {
|
|
57
93
|
const buffer = cbor.serialize(this.value);
|
|
@@ -69,14 +105,14 @@ export class CborShapeDeserializer {
|
|
|
69
105
|
}
|
|
70
106
|
readValue(_schema, value) {
|
|
71
107
|
const ns = NormalizedSchema.of(_schema);
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
return value;
|
|
108
|
+
if (ns.isTimestampSchema() && typeof value === "number") {
|
|
109
|
+
return parseEpochTimestamp(value);
|
|
110
|
+
}
|
|
111
|
+
if (ns.isBlobSchema()) {
|
|
112
|
+
if (typeof value === "string") {
|
|
113
|
+
return (this.serdeContext?.base64Decoder ?? fromBase64)(value);
|
|
79
114
|
}
|
|
115
|
+
return value;
|
|
80
116
|
}
|
|
81
117
|
if (typeof value === "undefined" ||
|
|
82
118
|
typeof value === "boolean" ||
|
|
@@ -102,23 +138,23 @@ export class CborShapeDeserializer {
|
|
|
102
138
|
if (ns.isListSchema()) {
|
|
103
139
|
const newArray = [];
|
|
104
140
|
const memberSchema = ns.getValueSchema();
|
|
105
|
-
const sparse =
|
|
141
|
+
const sparse = !!ns.getMergedTraits().sparse;
|
|
106
142
|
for (const item of value) {
|
|
107
|
-
|
|
108
|
-
if (
|
|
109
|
-
newArray.
|
|
143
|
+
const itemValue = this.readValue(memberSchema, item);
|
|
144
|
+
if (itemValue != null || sparse) {
|
|
145
|
+
newArray.push(itemValue);
|
|
110
146
|
}
|
|
111
147
|
}
|
|
112
148
|
return newArray;
|
|
113
149
|
}
|
|
114
150
|
const newObject = {};
|
|
115
151
|
if (ns.isMapSchema()) {
|
|
116
|
-
const sparse = ns.getMergedTraits().sparse;
|
|
152
|
+
const sparse = !!ns.getMergedTraits().sparse;
|
|
117
153
|
const targetSchema = ns.getValueSchema();
|
|
118
154
|
for (const key of Object.keys(value)) {
|
|
119
|
-
|
|
120
|
-
if (
|
|
121
|
-
|
|
155
|
+
const itemValue = this.readValue(targetSchema, value[key]);
|
|
156
|
+
if (itemValue != null || sparse) {
|
|
157
|
+
newObject[key] = itemValue;
|
|
122
158
|
}
|
|
123
159
|
}
|
|
124
160
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { nv } from "@smithy/core/serde";
|
|
1
2
|
import { toUtf8 } from "@smithy/util-utf8";
|
|
2
3
|
import { alloc, extendedFloat16, extendedFloat32, extendedFloat64, extendedOneByte, majorList, majorMap, majorNegativeInt64, majorTag, majorUint64, majorUnstructuredByteString, majorUtf8String, minorIndefinite, specialFalse, specialNull, specialTrue, specialUndefined, tag, } from "./cbor-types";
|
|
3
4
|
const USE_TEXT_DECODER = typeof TextDecoder !== "undefined";
|
|
@@ -72,10 +73,44 @@ export function decode(at, to) {
|
|
|
72
73
|
return castBigInt(negativeInt);
|
|
73
74
|
}
|
|
74
75
|
else {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
if (minor === 2 || minor === 3) {
|
|
77
|
+
const length = decodeCount(at + offset, to);
|
|
78
|
+
let b = BigInt(0);
|
|
79
|
+
const start = at + offset + _offset;
|
|
80
|
+
for (let i = start; i < start + length; ++i) {
|
|
81
|
+
b = (b << BigInt(8)) | BigInt(payload[i]);
|
|
82
|
+
}
|
|
83
|
+
_offset = offset + _offset + length;
|
|
84
|
+
return minor === 3 ? -b - BigInt(1) : b;
|
|
85
|
+
}
|
|
86
|
+
else if (minor === 4) {
|
|
87
|
+
const decimalFraction = decode(at + offset, to);
|
|
88
|
+
const [exponent, mantissa] = decimalFraction;
|
|
89
|
+
const normalizer = mantissa < 0 ? -1 : 1;
|
|
90
|
+
const mantissaStr = "0".repeat(Math.abs(exponent) + 1) + String(BigInt(normalizer) * BigInt(mantissa));
|
|
91
|
+
let numericString;
|
|
92
|
+
const sign = mantissa < 0 ? "-" : "";
|
|
93
|
+
numericString =
|
|
94
|
+
exponent === 0
|
|
95
|
+
? mantissaStr
|
|
96
|
+
: mantissaStr.slice(0, mantissaStr.length + exponent) + "." + mantissaStr.slice(exponent);
|
|
97
|
+
numericString = numericString.replace(/^0+/g, "");
|
|
98
|
+
if (numericString === "") {
|
|
99
|
+
numericString = "0";
|
|
100
|
+
}
|
|
101
|
+
if (numericString[0] === ".") {
|
|
102
|
+
numericString = "0" + numericString;
|
|
103
|
+
}
|
|
104
|
+
numericString = sign + numericString;
|
|
105
|
+
_offset = offset + _offset;
|
|
106
|
+
return nv(numericString);
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
const value = decode(at + offset, to);
|
|
110
|
+
const valueOffset = _offset;
|
|
111
|
+
_offset = offset + valueOffset;
|
|
112
|
+
return tag({ tag: castBigInt(unsignedInt), value });
|
|
113
|
+
}
|
|
79
114
|
}
|
|
80
115
|
case majorUtf8String:
|
|
81
116
|
case majorMap:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { NumericValue } from "@smithy/core/serde";
|
|
1
2
|
import { fromUtf8 } from "@smithy/util-utf8";
|
|
2
|
-
import { extendedFloat16, extendedFloat32, extendedFloat64, majorList, majorMap, majorNegativeInt64, majorSpecial, majorTag, majorUint64, majorUnstructuredByteString, majorUtf8String, specialFalse, specialNull, specialTrue, tagSymbol, } from "./cbor-types";
|
|
3
|
-
import { alloc } from "./cbor-types";
|
|
3
|
+
import { alloc, extendedFloat16, extendedFloat32, extendedFloat64, majorList, majorMap, majorNegativeInt64, majorSpecial, majorTag, majorUint64, majorUnstructuredByteString, majorUtf8String, specialFalse, specialNull, specialTrue, tagSymbol, } from "./cbor-types";
|
|
4
4
|
const USE_BUFFER = typeof Buffer !== "undefined";
|
|
5
5
|
const initialSize = 2048;
|
|
6
6
|
let data = alloc(initialSize);
|
|
@@ -134,11 +134,31 @@ export function encode(_input) {
|
|
|
134
134
|
dataView.setUint32(cursor, n);
|
|
135
135
|
cursor += 4;
|
|
136
136
|
}
|
|
137
|
-
else {
|
|
137
|
+
else if (value < BigInt("18446744073709551616")) {
|
|
138
138
|
data[cursor++] = (major << 5) | extendedFloat64;
|
|
139
139
|
dataView.setBigUint64(cursor, value);
|
|
140
140
|
cursor += 8;
|
|
141
141
|
}
|
|
142
|
+
else {
|
|
143
|
+
const binaryBigInt = value.toString(2);
|
|
144
|
+
const bigIntBytes = new Uint8Array(Math.ceil(binaryBigInt.length / 8));
|
|
145
|
+
let b = value;
|
|
146
|
+
let i = 0;
|
|
147
|
+
while (bigIntBytes.byteLength - ++i >= 0) {
|
|
148
|
+
bigIntBytes[bigIntBytes.byteLength - i] = Number(b & BigInt(255));
|
|
149
|
+
b >>= BigInt(8);
|
|
150
|
+
}
|
|
151
|
+
ensureSpace(bigIntBytes.byteLength * 2);
|
|
152
|
+
data[cursor++] = nonNegative ? 194 : 195;
|
|
153
|
+
if (USE_BUFFER) {
|
|
154
|
+
encodeHeader(majorUnstructuredByteString, Buffer.byteLength(bigIntBytes));
|
|
155
|
+
}
|
|
156
|
+
else {
|
|
157
|
+
encodeHeader(majorUnstructuredByteString, bigIntBytes.byteLength);
|
|
158
|
+
}
|
|
159
|
+
data.set(bigIntBytes, cursor);
|
|
160
|
+
cursor += bigIntBytes.byteLength;
|
|
161
|
+
}
|
|
142
162
|
continue;
|
|
143
163
|
}
|
|
144
164
|
else if (input === null) {
|
|
@@ -167,6 +187,16 @@ export function encode(_input) {
|
|
|
167
187
|
continue;
|
|
168
188
|
}
|
|
169
189
|
else if (typeof input === "object") {
|
|
190
|
+
if (input instanceof NumericValue) {
|
|
191
|
+
const decimalIndex = input.string.indexOf(".");
|
|
192
|
+
const exponent = decimalIndex === -1 ? 0 : decimalIndex - input.string.length + 1;
|
|
193
|
+
const mantissa = BigInt(input.string.replace(".", ""));
|
|
194
|
+
data[cursor++] = 196;
|
|
195
|
+
encodeStack.push(mantissa);
|
|
196
|
+
encodeStack.push(exponent);
|
|
197
|
+
encodeHeader(majorList, 2);
|
|
198
|
+
continue;
|
|
199
|
+
}
|
|
170
200
|
if (input[tagSymbol]) {
|
|
171
201
|
if ("tag" in input && "value" in input) {
|
|
172
202
|
encodeStack.push(input.value);
|