plugin-file-preview-auth 1.1.1 → 1.1.4
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/README.md +65 -65
- package/dist/client/{348b1a931814844c.js → 166.17caa11c2ba40313.js} +10 -1
- package/dist/client/{02dcfcac51f80d8d.js → 374.96762d13b15e7467.js} +10 -1
- package/dist/client/index.js +10 -1
- package/dist/client/locale.d.ts +1 -1
- package/dist/externalVersion.js +13 -4
- package/dist/index.js +9 -0
- package/dist/node_modules/@aws-sdk/client-s3/LICENSE +201 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +127 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +33 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +69790 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +69 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +46 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +203 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +61 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +123 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +33 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +29 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +27 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +32 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +29 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +29 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +30 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +37 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +27 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +27 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +27 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +27 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +27 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +32 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +29 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +27 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +24 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +27 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +32 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +27 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +33 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +30 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +33 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +37 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +32 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +32 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +32 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +32 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +33 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +34 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +36 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +98 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +24 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +29 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/extensionConfiguration.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/S3ServiceException.js +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/index.js +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +592 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +198 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/Interfaces.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListBucketsPaginator.js +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +7698 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +42 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +64 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.native.js +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +42 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +21 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/index.js +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +25 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +25 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +698 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +331 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +69 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +179 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +317 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +360 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +283 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +134 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +401 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +196 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +101 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +138 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +104 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +130 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +94 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +99 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +150 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +95 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +107 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +91 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +147 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +108 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +100 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +107 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +205 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +131 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +316 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +100 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +102 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +115 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +135 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +145 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +143 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +121 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +129 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +254 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +116 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +110 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +111 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +128 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +154 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +99 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +159 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +105 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +195 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +101 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +134 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +115 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +139 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +189 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +329 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +369 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +90 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +94 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +91 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +163 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +107 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +116 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +157 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +318 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +147 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +126 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +142 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +136 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +130 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +107 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +345 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +214 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +197 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +262 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +240 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +115 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +309 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +208 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +193 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +209 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +153 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +185 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +293 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +209 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +141 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +206 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +99 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +162 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +233 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +109 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +163 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +143 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +244 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +307 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +462 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +86 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +109 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +89 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +169 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +117 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +383 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +254 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +309 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +376 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +148 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +98 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +83 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +15 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +14 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/index.d.ts +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +13409 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +4029 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +884 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +69 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +70 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +68 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +1751 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +732 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +55 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +45 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +45 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +46 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +46 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +46 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +46 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +46 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +50 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +50 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +50 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +50 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +52 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +50 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +58 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +45 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +45 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +46 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +45 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +45 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +46 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +45 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +46 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +45 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +53 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +50 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +46 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +53 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +50 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +54 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +98 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +94 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +10 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +9 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/index.d.ts +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +2105 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +753 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +1185 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +148 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +150 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +152 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +36 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/index.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/index.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketExists.d.ts +14 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts +14 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts +14 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts +14 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/account-id-endpoint.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/account-id-endpoint.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/client.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/client.js +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-cjs/index.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +97 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +78 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +300 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +227 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/index.js +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +15 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConstants.js +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +24 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/index.js +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js +15 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/client/index.js +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +20 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +72 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.js +25 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +88 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/index.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getDateHeader.js +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.js +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/index.js +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/isClockSkewed.js +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/coercing-serializers.js +53 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/awsExpectUnion.js +10 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js +57 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/index.d.ts +22 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +30 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +14 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/client/emitWarningIfUnsupportedVersion.d.ts +12 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/client/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/client/setCredentialFeature.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/client/setFeature.d.ts +12 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +10 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +42 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +38 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +95 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/index.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +10 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +9 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/protocols/coercing-serializers.d.ts +18 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/protocols/common.d.ts +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/awsExpectUnion.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parseXmlBody.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +15 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/account-id-endpoint/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/emitWarningIfUnsupportedVersion.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setCredentialFeature.d.ts +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/client/setFeature.d.ts +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.d.ts +12 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +39 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +18 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +55 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/index.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getDateHeader.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/isClockSkewed.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/coercing-serializers.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/common.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/awsExpectUnion.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/parseJsonBody.d.ts +13 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/parseXmlBody.d.ts +13 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/httpAuthSchemes.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/httpAuthSchemes.js +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/node_modules/.bin/fxparser +15 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/node_modules/.bin/fxparser.cmd +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/package.json +119 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/protocols.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@aws-sdk/core/protocols.js +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/cbor.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/cbor.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/index.js +428 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/protocols/requestBuilder.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/setFeature.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +730 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +164 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/getSmithyContext.js +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/index.js +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +17 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +18 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +40 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/index.js +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/middleware-http-signing/getHttpSigningMiddleware.js +15 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/middleware-http-signing/httpSigningMiddleware.js +24 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/middleware-http-signing/index.js +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/normalizeProvider.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/pagination/createPaginator.js +41 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/protocols/requestBuilder.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/setFeature.js +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-decode.js +391 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-encode.js +191 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/submodules/cbor/cbor-types.js +25 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/submodules/cbor/cbor.js +21 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/submodules/cbor/index.js +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +83 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/submodules/protocols/collect-stream-body.js +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/submodules/protocols/index.js +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js +67 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +19 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/util-identity-and-auth/DefaultIdentityProviderConfig.js +13 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +34 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/index.js +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/noAuth.js +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/util-identity-and-auth/index.js +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-es/util-identity-and-auth/memoizeIdentityProvider.js +53 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/getSmithyContext.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/index.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +18 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +18 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +32 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/middleware-http-signing/getHttpSigningMiddleware.d.ts +9 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/middleware-http-signing/httpSigningMiddleware.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/middleware-http-signing/index.d.ts +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/normalizeProvider.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/pagination/createPaginator.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/protocols/requestBuilder.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/setFeature.d.ts +12 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-decode.d.ts +17 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-encode.d.ts +9 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/submodules/cbor/cbor-types.d.ts +64 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/submodules/cbor/cbor.d.ts +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/submodules/cbor/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/submodules/cbor/parseCborBody.d.ts +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/submodules/protocols/collect-stream-body.d.ts +10 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/submodules/protocols/index.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/submodules/protocols/requestBuilder.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/submodules/protocols/resolve-path.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/getSmithyContext.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/index.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.d.ts +18 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/getHttpAuthSchemePlugin.d.ts +18 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +32 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/getHttpSigningMiddleware.d.ts +9 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/httpSigningMiddleware.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-signing/index.d.ts +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/normalizeProvider.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/pagination/createPaginator.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/protocols/requestBuilder.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/setFeature.d.ts +12 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-decode.d.ts +17 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-encode.d.ts +9 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor-types.d.ts +66 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/cbor.d.ts +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/parseCborBody.d.ts +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/collect-stream-body.d.ts +10 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/extended-encode-uri-component.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/index.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/requestBuilder.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/resolve-path.d.ts +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +15 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/ts3.4/util-identity-and-auth/memoizeIdentityProvider.d.ts +30 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/util-identity-and-auth/DefaultIdentityProviderConfig.d.ts +15 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/util-identity-and-auth/httpAuthSchemes/noAuth.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/util-identity-and-auth/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/dist-types/util-identity-and-auth/memoizeIdentityProvider.d.ts +30 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/package.json +103 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/protocols.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/core/protocols.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-cjs/CredentialsProviderError.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-cjs/ProviderError.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-cjs/TokenProviderError.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-cjs/chain.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-cjs/fromStatic.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-cjs/index.js +170 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-cjs/memoize.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-es/CredentialsProviderError.js +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-es/ProviderError.js +22 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-es/TokenProviderError.js +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-es/chain.js +21 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-es/fromStatic.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-es/index.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-es/memoize.js +45 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-types/CredentialsProviderError.d.ts +30 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-types/ProviderError.d.ts +39 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-types/TokenProviderError.d.ts +30 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-types/chain.d.ts +13 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-types/fromStatic.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-types/index.d.ts +24 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-types/memoize.d.ts +40 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-types/ts3.4/CredentialsProviderError.d.ts +30 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-types/ts3.4/ProviderError.d.ts +39 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-types/ts3.4/TokenProviderError.d.ts +30 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-types/ts3.4/chain.d.ts +13 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-types/ts3.4/fromStatic.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-types/ts3.4/index.d.ts +24 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/dist-types/ts3.4/memoize.d.ts +40 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/property-provider/package.json +60 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-cjs/Field.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-cjs/Fields.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-cjs/extensions/httpExtensionConfiguration.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-cjs/extensions/index.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-cjs/httpHandler.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-cjs/httpRequest.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-cjs/httpResponse.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-cjs/index.js +263 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-cjs/isValidHostname.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-cjs/types.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-es/Field.js +23 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-es/Fields.js +19 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +22 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-es/extensions/index.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-es/httpHandler.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-es/httpRequest.js +53 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-es/httpResponse.js +14 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-es/index.js +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-es/isValidHostname.js +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-es/types.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/Field.d.ts +49 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/Fields.d.ts +44 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/extensions/httpExtensionConfiguration.d.ts +37 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/extensions/index.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +35 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/httpRequest.d.ts +55 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/httpResponse.d.ts +29 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/index.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/isValidHostname.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/ts3.4/Field.d.ts +49 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/ts3.4/Fields.d.ts +44 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/httpExtensionConfiguration.d.ts +37 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/ts3.4/extensions/index.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +35 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpRequest.d.ts +55 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpResponse.d.ts +29 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/ts3.4/index.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/ts3.4/isValidHostname.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/ts3.4/types.d.ts +21 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/dist-types/types.d.ts +21 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/protocol-http/package.json +61 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/querystring-parser/dist-cjs/index.js +53 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/querystring-parser/dist-es/index.js +23 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/querystring-parser/dist-types/index.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/querystring-parser/dist-types/ts3.4/index.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/querystring-parser/package.json +60 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/url-parser/dist-cjs/index.js +49 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/url-parser/dist-es/index.js +18 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/url-parser/dist-types/index.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/url-parser/dist-types/ts3.4/index.d.ts +5 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/url-parser/package.json +61 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-cjs/constants.browser.js +35 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-cjs/fromBase64.browser.js +40 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-cjs/fromBase64.js +16 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-cjs/index.js +27 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-cjs/toBase64.browser.js +39 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-cjs/toBase64.js +19 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-es/constants.browser.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-es/fromBase64.browser.js +36 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-es/fromBase64.js +12 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-es/index.js +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-es/toBase64.browser.js +35 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-es/toBase64.js +15 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-types/constants.browser.d.ts +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-types/fromBase64.browser.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-types/fromBase64.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-types/index.d.ts +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-types/toBase64.browser.d.ts +9 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-types/toBase64.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-types/ts3.4/constants.browser.d.ts +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.browser.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-types/ts3.4/fromBase64.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-types/ts3.4/index.d.ts +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.browser.d.ts +9 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/dist-types/ts3.4/toBase64.d.ts +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/@smithy/util-base64/package.json +73 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/package.json +74 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/cli/cli.js +93 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/cli/man.js +12 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/cli/read.js +92 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/fxp.d.ts +402 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/fxp.js +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/util.js +72 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/CharsSymbol.js +16 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/EntitiesParser.js +107 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/OptionsBuilder.js +64 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/OutputBuilders/BaseOutputBuilder.js +71 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsArrBuilder.js +103 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsMinArrBuilder.js +102 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/OutputBuilders/JsObjBuilder.js +156 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/OutputBuilders/ParserOptionsBuilder.js +99 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/Report.js +0 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/TagPath.js +81 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/TagPathMatcher.js +15 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/XMLParser.js +85 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/Xml2JsParser.js +237 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/XmlPartReader.js +212 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/XmlSpecialTagsReader.js +118 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/inputSource/BufferSource.js +118 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/inputSource/StringSource.js +123 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/valueParsers/EntitiesParser.js +107 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParser.js +23 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/valueParsers/booleanParserExt.js +20 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/valueParsers/currency.js +40 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/valueParsers/join.js +14 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/valueParsers/number.js +16 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/v5/valueParsers/trim.js +8 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/validator.js +425 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +281 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +135 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlbuilder/prettifyJs2Xml.js +0 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +152 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +48 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +601 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +58 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlparser/node2json.js +113 -0
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +25 -0
- package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -0
- package/dist/node_modules/xlsx/LICENSE +201 -0
- package/dist/node_modules/xlsx/bin/xlsx.njs +310 -0
- package/dist/node_modules/xlsx/bower.json +22 -0
- package/dist/node_modules/xlsx/dist/cpexcel.js +1506 -0
- package/dist/node_modules/xlsx/dist/shim.min.js +2 -0
- package/dist/node_modules/xlsx/dist/xlsx.core.min.js +15 -0
- package/dist/node_modules/xlsx/dist/xlsx.extendscript.js +24642 -0
- package/dist/node_modules/xlsx/dist/xlsx.full.min.js +22 -0
- package/dist/node_modules/xlsx/dist/xlsx.mini.min.js +9 -0
- package/dist/node_modules/xlsx/dist/xlsx.zahl.js +4 -0
- package/dist/node_modules/xlsx/node_modules/.bin/crc32 +15 -0
- package/dist/node_modules/xlsx/node_modules/.bin/crc32.cmd +7 -0
- package/dist/node_modules/xlsx/package.json +1 -0
- package/dist/node_modules/xlsx/types/index.d.ts +900 -0
- package/dist/node_modules/xlsx/xlsx.js +7 -0
- package/dist/node_modules/xlsx/xlsxworker.js +14 -0
- package/dist/server/excel-parser-handler.d.ts +8 -0
- package/dist/server/excel-parser-handler.js +9 -0
- package/dist/server/index.js +9 -0
- package/dist/server/plugin.d.ts +9 -0
- package/dist/server/plugin.js +74 -0
- package/package.json +12 -5
- package/plugin-file-preview-auth-1.1.0.tgz +0 -0
- package/plugin-file-preview-auth-1.1.1.tgz +0 -0
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const util = require('./util');
|
|
4
|
+
|
|
5
|
+
const defaultOptions = {
|
|
6
|
+
allowBooleanAttributes: false, //A tag can have attributes without any value
|
|
7
|
+
unpairedTags: []
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
//const tagsPattern = new RegExp("<\\/?([\\w:\\-_\.]+)\\s*\/?>","g");
|
|
11
|
+
exports.validate = function (xmlData, options) {
|
|
12
|
+
options = Object.assign({}, defaultOptions, options);
|
|
13
|
+
|
|
14
|
+
//xmlData = xmlData.replace(/(\r\n|\n|\r)/gm,"");//make it single line
|
|
15
|
+
//xmlData = xmlData.replace(/(^\s*<\?xml.*?\?>)/g,"");//Remove XML starting tag
|
|
16
|
+
//xmlData = xmlData.replace(/(<!DOCTYPE[\s\w\"\.\/\-\:]+(\[.*\])*\s*>)/g,"");//Remove DOCTYPE
|
|
17
|
+
const tags = [];
|
|
18
|
+
let tagFound = false;
|
|
19
|
+
|
|
20
|
+
//indicates that the root tag has been closed (aka. depth 0 has been reached)
|
|
21
|
+
let reachedRoot = false;
|
|
22
|
+
|
|
23
|
+
if (xmlData[0] === '\ufeff') {
|
|
24
|
+
// check for byte order mark (BOM)
|
|
25
|
+
xmlData = xmlData.substr(1);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
for (let i = 0; i < xmlData.length; i++) {
|
|
29
|
+
|
|
30
|
+
if (xmlData[i] === '<' && xmlData[i+1] === '?') {
|
|
31
|
+
i+=2;
|
|
32
|
+
i = readPI(xmlData,i);
|
|
33
|
+
if (i.err) return i;
|
|
34
|
+
}else if (xmlData[i] === '<') {
|
|
35
|
+
//starting of tag
|
|
36
|
+
//read until you reach to '>' avoiding any '>' in attribute value
|
|
37
|
+
let tagStartPos = i;
|
|
38
|
+
i++;
|
|
39
|
+
|
|
40
|
+
if (xmlData[i] === '!') {
|
|
41
|
+
i = readCommentAndCDATA(xmlData, i);
|
|
42
|
+
continue;
|
|
43
|
+
} else {
|
|
44
|
+
let closingTag = false;
|
|
45
|
+
if (xmlData[i] === '/') {
|
|
46
|
+
//closing tag
|
|
47
|
+
closingTag = true;
|
|
48
|
+
i++;
|
|
49
|
+
}
|
|
50
|
+
//read tagname
|
|
51
|
+
let tagName = '';
|
|
52
|
+
for (; i < xmlData.length &&
|
|
53
|
+
xmlData[i] !== '>' &&
|
|
54
|
+
xmlData[i] !== ' ' &&
|
|
55
|
+
xmlData[i] !== '\t' &&
|
|
56
|
+
xmlData[i] !== '\n' &&
|
|
57
|
+
xmlData[i] !== '\r'; i++
|
|
58
|
+
) {
|
|
59
|
+
tagName += xmlData[i];
|
|
60
|
+
}
|
|
61
|
+
tagName = tagName.trim();
|
|
62
|
+
//console.log(tagName);
|
|
63
|
+
|
|
64
|
+
if (tagName[tagName.length - 1] === '/') {
|
|
65
|
+
//self closing tag without attributes
|
|
66
|
+
tagName = tagName.substring(0, tagName.length - 1);
|
|
67
|
+
//continue;
|
|
68
|
+
i--;
|
|
69
|
+
}
|
|
70
|
+
if (!validateTagName(tagName)) {
|
|
71
|
+
let msg;
|
|
72
|
+
if (tagName.trim().length === 0) {
|
|
73
|
+
msg = "Invalid space after '<'.";
|
|
74
|
+
} else {
|
|
75
|
+
msg = "Tag '"+tagName+"' is an invalid name.";
|
|
76
|
+
}
|
|
77
|
+
return getErrorObject('InvalidTag', msg, getLineNumberForPosition(xmlData, i));
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
const result = readAttributeStr(xmlData, i);
|
|
81
|
+
if (result === false) {
|
|
82
|
+
return getErrorObject('InvalidAttr', "Attributes for '"+tagName+"' have open quote.", getLineNumberForPosition(xmlData, i));
|
|
83
|
+
}
|
|
84
|
+
let attrStr = result.value;
|
|
85
|
+
i = result.index;
|
|
86
|
+
|
|
87
|
+
if (attrStr[attrStr.length - 1] === '/') {
|
|
88
|
+
//self closing tag
|
|
89
|
+
const attrStrStart = i - attrStr.length;
|
|
90
|
+
attrStr = attrStr.substring(0, attrStr.length - 1);
|
|
91
|
+
const isValid = validateAttributeString(attrStr, options);
|
|
92
|
+
if (isValid === true) {
|
|
93
|
+
tagFound = true;
|
|
94
|
+
//continue; //text may presents after self closing tag
|
|
95
|
+
} else {
|
|
96
|
+
//the result from the nested function returns the position of the error within the attribute
|
|
97
|
+
//in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute
|
|
98
|
+
//this gives us the absolute index in the entire xml, which we can use to find the line at last
|
|
99
|
+
return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, attrStrStart + isValid.err.line));
|
|
100
|
+
}
|
|
101
|
+
} else if (closingTag) {
|
|
102
|
+
if (!result.tagClosed) {
|
|
103
|
+
return getErrorObject('InvalidTag', "Closing tag '"+tagName+"' doesn't have proper closing.", getLineNumberForPosition(xmlData, i));
|
|
104
|
+
} else if (attrStr.trim().length > 0) {
|
|
105
|
+
return getErrorObject('InvalidTag', "Closing tag '"+tagName+"' can't have attributes or invalid starting.", getLineNumberForPosition(xmlData, tagStartPos));
|
|
106
|
+
} else if (tags.length === 0) {
|
|
107
|
+
return getErrorObject('InvalidTag', "Closing tag '"+tagName+"' has not been opened.", getLineNumberForPosition(xmlData, tagStartPos));
|
|
108
|
+
} else {
|
|
109
|
+
const otg = tags.pop();
|
|
110
|
+
if (tagName !== otg.tagName) {
|
|
111
|
+
let openPos = getLineNumberForPosition(xmlData, otg.tagStartPos);
|
|
112
|
+
return getErrorObject('InvalidTag',
|
|
113
|
+
"Expected closing tag '"+otg.tagName+"' (opened in line "+openPos.line+", col "+openPos.col+") instead of closing tag '"+tagName+"'.",
|
|
114
|
+
getLineNumberForPosition(xmlData, tagStartPos));
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
//when there are no more tags, we reached the root level.
|
|
118
|
+
if (tags.length == 0) {
|
|
119
|
+
reachedRoot = true;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
} else {
|
|
123
|
+
const isValid = validateAttributeString(attrStr, options);
|
|
124
|
+
if (isValid !== true) {
|
|
125
|
+
//the result from the nested function returns the position of the error within the attribute
|
|
126
|
+
//in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute
|
|
127
|
+
//this gives us the absolute index in the entire xml, which we can use to find the line at last
|
|
128
|
+
return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, i - attrStr.length + isValid.err.line));
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
//if the root level has been reached before ...
|
|
132
|
+
if (reachedRoot === true) {
|
|
133
|
+
return getErrorObject('InvalidXml', 'Multiple possible root nodes found.', getLineNumberForPosition(xmlData, i));
|
|
134
|
+
} else if(options.unpairedTags.indexOf(tagName) !== -1){
|
|
135
|
+
//don't push into stack
|
|
136
|
+
} else {
|
|
137
|
+
tags.push({tagName, tagStartPos});
|
|
138
|
+
}
|
|
139
|
+
tagFound = true;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
//skip tag text value
|
|
143
|
+
//It may include comments and CDATA value
|
|
144
|
+
for (i++; i < xmlData.length; i++) {
|
|
145
|
+
if (xmlData[i] === '<') {
|
|
146
|
+
if (xmlData[i + 1] === '!') {
|
|
147
|
+
//comment or CADATA
|
|
148
|
+
i++;
|
|
149
|
+
i = readCommentAndCDATA(xmlData, i);
|
|
150
|
+
continue;
|
|
151
|
+
} else if (xmlData[i+1] === '?') {
|
|
152
|
+
i = readPI(xmlData, ++i);
|
|
153
|
+
if (i.err) return i;
|
|
154
|
+
} else{
|
|
155
|
+
break;
|
|
156
|
+
}
|
|
157
|
+
} else if (xmlData[i] === '&') {
|
|
158
|
+
const afterAmp = validateAmpersand(xmlData, i);
|
|
159
|
+
if (afterAmp == -1)
|
|
160
|
+
return getErrorObject('InvalidChar', "char '&' is not expected.", getLineNumberForPosition(xmlData, i));
|
|
161
|
+
i = afterAmp;
|
|
162
|
+
}else{
|
|
163
|
+
if (reachedRoot === true && !isWhiteSpace(xmlData[i])) {
|
|
164
|
+
return getErrorObject('InvalidXml', "Extra text at the end", getLineNumberForPosition(xmlData, i));
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
} //end of reading tag text value
|
|
168
|
+
if (xmlData[i] === '<') {
|
|
169
|
+
i--;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
} else {
|
|
173
|
+
if ( isWhiteSpace(xmlData[i])) {
|
|
174
|
+
continue;
|
|
175
|
+
}
|
|
176
|
+
return getErrorObject('InvalidChar', "char '"+xmlData[i]+"' is not expected.", getLineNumberForPosition(xmlData, i));
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
if (!tagFound) {
|
|
181
|
+
return getErrorObject('InvalidXml', 'Start tag expected.', 1);
|
|
182
|
+
}else if (tags.length == 1) {
|
|
183
|
+
return getErrorObject('InvalidTag', "Unclosed tag '"+tags[0].tagName+"'.", getLineNumberForPosition(xmlData, tags[0].tagStartPos));
|
|
184
|
+
}else if (tags.length > 0) {
|
|
185
|
+
return getErrorObject('InvalidXml', "Invalid '"+
|
|
186
|
+
JSON.stringify(tags.map(t => t.tagName), null, 4).replace(/\r?\n/g, '')+
|
|
187
|
+
"' found.", {line: 1, col: 1});
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
return true;
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
function isWhiteSpace(char){
|
|
194
|
+
return char === ' ' || char === '\t' || char === '\n' || char === '\r';
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Read Processing insstructions and skip
|
|
198
|
+
* @param {*} xmlData
|
|
199
|
+
* @param {*} i
|
|
200
|
+
*/
|
|
201
|
+
function readPI(xmlData, i) {
|
|
202
|
+
const start = i;
|
|
203
|
+
for (; i < xmlData.length; i++) {
|
|
204
|
+
if (xmlData[i] == '?' || xmlData[i] == ' ') {
|
|
205
|
+
//tagname
|
|
206
|
+
const tagname = xmlData.substr(start, i - start);
|
|
207
|
+
if (i > 5 && tagname === 'xml') {
|
|
208
|
+
return getErrorObject('InvalidXml', 'XML declaration allowed only at the start of the document.', getLineNumberForPosition(xmlData, i));
|
|
209
|
+
} else if (xmlData[i] == '?' && xmlData[i + 1] == '>') {
|
|
210
|
+
//check if valid attribut string
|
|
211
|
+
i++;
|
|
212
|
+
break;
|
|
213
|
+
} else {
|
|
214
|
+
continue;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
return i;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
function readCommentAndCDATA(xmlData, i) {
|
|
222
|
+
if (xmlData.length > i + 5 && xmlData[i + 1] === '-' && xmlData[i + 2] === '-') {
|
|
223
|
+
//comment
|
|
224
|
+
for (i += 3; i < xmlData.length; i++) {
|
|
225
|
+
if (xmlData[i] === '-' && xmlData[i + 1] === '-' && xmlData[i + 2] === '>') {
|
|
226
|
+
i += 2;
|
|
227
|
+
break;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
} else if (
|
|
231
|
+
xmlData.length > i + 8 &&
|
|
232
|
+
xmlData[i + 1] === 'D' &&
|
|
233
|
+
xmlData[i + 2] === 'O' &&
|
|
234
|
+
xmlData[i + 3] === 'C' &&
|
|
235
|
+
xmlData[i + 4] === 'T' &&
|
|
236
|
+
xmlData[i + 5] === 'Y' &&
|
|
237
|
+
xmlData[i + 6] === 'P' &&
|
|
238
|
+
xmlData[i + 7] === 'E'
|
|
239
|
+
) {
|
|
240
|
+
let angleBracketsCount = 1;
|
|
241
|
+
for (i += 8; i < xmlData.length; i++) {
|
|
242
|
+
if (xmlData[i] === '<') {
|
|
243
|
+
angleBracketsCount++;
|
|
244
|
+
} else if (xmlData[i] === '>') {
|
|
245
|
+
angleBracketsCount--;
|
|
246
|
+
if (angleBracketsCount === 0) {
|
|
247
|
+
break;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
} else if (
|
|
252
|
+
xmlData.length > i + 9 &&
|
|
253
|
+
xmlData[i + 1] === '[' &&
|
|
254
|
+
xmlData[i + 2] === 'C' &&
|
|
255
|
+
xmlData[i + 3] === 'D' &&
|
|
256
|
+
xmlData[i + 4] === 'A' &&
|
|
257
|
+
xmlData[i + 5] === 'T' &&
|
|
258
|
+
xmlData[i + 6] === 'A' &&
|
|
259
|
+
xmlData[i + 7] === '['
|
|
260
|
+
) {
|
|
261
|
+
for (i += 8; i < xmlData.length; i++) {
|
|
262
|
+
if (xmlData[i] === ']' && xmlData[i + 1] === ']' && xmlData[i + 2] === '>') {
|
|
263
|
+
i += 2;
|
|
264
|
+
break;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
return i;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
const doubleQuote = '"';
|
|
273
|
+
const singleQuote = "'";
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Keep reading xmlData until '<' is found outside the attribute value.
|
|
277
|
+
* @param {string} xmlData
|
|
278
|
+
* @param {number} i
|
|
279
|
+
*/
|
|
280
|
+
function readAttributeStr(xmlData, i) {
|
|
281
|
+
let attrStr = '';
|
|
282
|
+
let startChar = '';
|
|
283
|
+
let tagClosed = false;
|
|
284
|
+
for (; i < xmlData.length; i++) {
|
|
285
|
+
if (xmlData[i] === doubleQuote || xmlData[i] === singleQuote) {
|
|
286
|
+
if (startChar === '') {
|
|
287
|
+
startChar = xmlData[i];
|
|
288
|
+
} else if (startChar !== xmlData[i]) {
|
|
289
|
+
//if vaue is enclosed with double quote then single quotes are allowed inside the value and vice versa
|
|
290
|
+
} else {
|
|
291
|
+
startChar = '';
|
|
292
|
+
}
|
|
293
|
+
} else if (xmlData[i] === '>') {
|
|
294
|
+
if (startChar === '') {
|
|
295
|
+
tagClosed = true;
|
|
296
|
+
break;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
attrStr += xmlData[i];
|
|
300
|
+
}
|
|
301
|
+
if (startChar !== '') {
|
|
302
|
+
return false;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
return {
|
|
306
|
+
value: attrStr,
|
|
307
|
+
index: i,
|
|
308
|
+
tagClosed: tagClosed
|
|
309
|
+
};
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Select all the attributes whether valid or invalid.
|
|
314
|
+
*/
|
|
315
|
+
const validAttrStrRegxp = new RegExp('(\\s*)([^\\s=]+)(\\s*=)?(\\s*([\'"])(([\\s\\S])*?)\\5)?', 'g');
|
|
316
|
+
|
|
317
|
+
//attr, ="sd", a="amit's", a="sd"b="saf", ab cd=""
|
|
318
|
+
|
|
319
|
+
function validateAttributeString(attrStr, options) {
|
|
320
|
+
//console.log("start:"+attrStr+":end");
|
|
321
|
+
|
|
322
|
+
//if(attrStr.trim().length === 0) return true; //empty string
|
|
323
|
+
|
|
324
|
+
const matches = util.getAllMatches(attrStr, validAttrStrRegxp);
|
|
325
|
+
const attrNames = {};
|
|
326
|
+
|
|
327
|
+
for (let i = 0; i < matches.length; i++) {
|
|
328
|
+
if (matches[i][1].length === 0) {
|
|
329
|
+
//nospace before attribute name: a="sd"b="saf"
|
|
330
|
+
return getErrorObject('InvalidAttr', "Attribute '"+matches[i][2]+"' has no space in starting.", getPositionFromMatch(matches[i]))
|
|
331
|
+
} else if (matches[i][3] !== undefined && matches[i][4] === undefined) {
|
|
332
|
+
return getErrorObject('InvalidAttr', "Attribute '"+matches[i][2]+"' is without value.", getPositionFromMatch(matches[i]));
|
|
333
|
+
} else if (matches[i][3] === undefined && !options.allowBooleanAttributes) {
|
|
334
|
+
//independent attribute: ab
|
|
335
|
+
return getErrorObject('InvalidAttr', "boolean attribute '"+matches[i][2]+"' is not allowed.", getPositionFromMatch(matches[i]));
|
|
336
|
+
}
|
|
337
|
+
/* else if(matches[i][6] === undefined){//attribute without value: ab=
|
|
338
|
+
return { err: { code:"InvalidAttr",msg:"attribute " + matches[i][2] + " has no value assigned."}};
|
|
339
|
+
} */
|
|
340
|
+
const attrName = matches[i][2];
|
|
341
|
+
if (!validateAttrName(attrName)) {
|
|
342
|
+
return getErrorObject('InvalidAttr', "Attribute '"+attrName+"' is an invalid name.", getPositionFromMatch(matches[i]));
|
|
343
|
+
}
|
|
344
|
+
if (!attrNames.hasOwnProperty(attrName)) {
|
|
345
|
+
//check for duplicate attribute.
|
|
346
|
+
attrNames[attrName] = 1;
|
|
347
|
+
} else {
|
|
348
|
+
return getErrorObject('InvalidAttr', "Attribute '"+attrName+"' is repeated.", getPositionFromMatch(matches[i]));
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
return true;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
function validateNumberAmpersand(xmlData, i) {
|
|
356
|
+
let re = /\d/;
|
|
357
|
+
if (xmlData[i] === 'x') {
|
|
358
|
+
i++;
|
|
359
|
+
re = /[\da-fA-F]/;
|
|
360
|
+
}
|
|
361
|
+
for (; i < xmlData.length; i++) {
|
|
362
|
+
if (xmlData[i] === ';')
|
|
363
|
+
return i;
|
|
364
|
+
if (!xmlData[i].match(re))
|
|
365
|
+
break;
|
|
366
|
+
}
|
|
367
|
+
return -1;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
function validateAmpersand(xmlData, i) {
|
|
371
|
+
// https://www.w3.org/TR/xml/#dt-charref
|
|
372
|
+
i++;
|
|
373
|
+
if (xmlData[i] === ';')
|
|
374
|
+
return -1;
|
|
375
|
+
if (xmlData[i] === '#') {
|
|
376
|
+
i++;
|
|
377
|
+
return validateNumberAmpersand(xmlData, i);
|
|
378
|
+
}
|
|
379
|
+
let count = 0;
|
|
380
|
+
for (; i < xmlData.length; i++, count++) {
|
|
381
|
+
if (xmlData[i].match(/\w/) && count < 20)
|
|
382
|
+
continue;
|
|
383
|
+
if (xmlData[i] === ';')
|
|
384
|
+
break;
|
|
385
|
+
return -1;
|
|
386
|
+
}
|
|
387
|
+
return i;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
function getErrorObject(code, message, lineNumber) {
|
|
391
|
+
return {
|
|
392
|
+
err: {
|
|
393
|
+
code: code,
|
|
394
|
+
msg: message,
|
|
395
|
+
line: lineNumber.line || lineNumber,
|
|
396
|
+
col: lineNumber.col,
|
|
397
|
+
},
|
|
398
|
+
};
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
function validateAttrName(attrName) {
|
|
402
|
+
return util.isName(attrName);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
// const startsWithXML = /^xml/i;
|
|
406
|
+
|
|
407
|
+
function validateTagName(tagname) {
|
|
408
|
+
return util.isName(tagname) /* && !tagname.match(startsWithXML) */;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
//this function returns the line number for the character at the given index
|
|
412
|
+
function getLineNumberForPosition(xmlData, index) {
|
|
413
|
+
const lines = xmlData.substring(0, index).split(/\r?\n/);
|
|
414
|
+
return {
|
|
415
|
+
line: lines.length,
|
|
416
|
+
|
|
417
|
+
// column number is last line's length + 1, because column numbering starts at 1:
|
|
418
|
+
col: lines[lines.length - 1].length + 1
|
|
419
|
+
};
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
//this function returns the position of the first character of match within attrStr
|
|
423
|
+
function getPositionFromMatch(match) {
|
|
424
|
+
return match.startIndex + match[1].length;
|
|
425
|
+
}
|
package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js
ADDED
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
//parse Empty Node as self closing node
|
|
3
|
+
const buildFromOrderedJs = require('./orderedJs2Xml');
|
|
4
|
+
|
|
5
|
+
const defaultOptions = {
|
|
6
|
+
attributeNamePrefix: '@_',
|
|
7
|
+
attributesGroupName: false,
|
|
8
|
+
textNodeName: '#text',
|
|
9
|
+
ignoreAttributes: true,
|
|
10
|
+
cdataPropName: false,
|
|
11
|
+
format: false,
|
|
12
|
+
indentBy: ' ',
|
|
13
|
+
suppressEmptyNode: false,
|
|
14
|
+
suppressUnpairedNode: true,
|
|
15
|
+
suppressBooleanAttributes: true,
|
|
16
|
+
tagValueProcessor: function(key, a) {
|
|
17
|
+
return a;
|
|
18
|
+
},
|
|
19
|
+
attributeValueProcessor: function(attrName, a) {
|
|
20
|
+
return a;
|
|
21
|
+
},
|
|
22
|
+
preserveOrder: false,
|
|
23
|
+
commentPropName: false,
|
|
24
|
+
unpairedTags: [],
|
|
25
|
+
entities: [
|
|
26
|
+
{ regex: new RegExp("&", "g"), val: "&" },//it must be on top
|
|
27
|
+
{ regex: new RegExp(">", "g"), val: ">" },
|
|
28
|
+
{ regex: new RegExp("<", "g"), val: "<" },
|
|
29
|
+
{ regex: new RegExp("\'", "g"), val: "'" },
|
|
30
|
+
{ regex: new RegExp("\"", "g"), val: """ }
|
|
31
|
+
],
|
|
32
|
+
processEntities: true,
|
|
33
|
+
stopNodes: [],
|
|
34
|
+
// transformTagName: false,
|
|
35
|
+
// transformAttributeName: false,
|
|
36
|
+
oneListGroup: false
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
function Builder(options) {
|
|
40
|
+
this.options = Object.assign({}, defaultOptions, options);
|
|
41
|
+
if (this.options.ignoreAttributes || this.options.attributesGroupName) {
|
|
42
|
+
this.isAttribute = function(/*a*/) {
|
|
43
|
+
return false;
|
|
44
|
+
};
|
|
45
|
+
} else {
|
|
46
|
+
this.attrPrefixLen = this.options.attributeNamePrefix.length;
|
|
47
|
+
this.isAttribute = isAttribute;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
this.processTextOrObjNode = processTextOrObjNode
|
|
51
|
+
|
|
52
|
+
if (this.options.format) {
|
|
53
|
+
this.indentate = indentate;
|
|
54
|
+
this.tagEndChar = '>\n';
|
|
55
|
+
this.newLine = '\n';
|
|
56
|
+
} else {
|
|
57
|
+
this.indentate = function() {
|
|
58
|
+
return '';
|
|
59
|
+
};
|
|
60
|
+
this.tagEndChar = '>';
|
|
61
|
+
this.newLine = '';
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
Builder.prototype.build = function(jObj) {
|
|
66
|
+
if(this.options.preserveOrder){
|
|
67
|
+
return buildFromOrderedJs(jObj, this.options);
|
|
68
|
+
}else {
|
|
69
|
+
if(Array.isArray(jObj) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1){
|
|
70
|
+
jObj = {
|
|
71
|
+
[this.options.arrayNodeName] : jObj
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
return this.j2x(jObj, 0).val;
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
Builder.prototype.j2x = function(jObj, level) {
|
|
79
|
+
let attrStr = '';
|
|
80
|
+
let val = '';
|
|
81
|
+
for (let key in jObj) {
|
|
82
|
+
if(!Object.prototype.hasOwnProperty.call(jObj, key)) continue;
|
|
83
|
+
if (typeof jObj[key] === 'undefined') {
|
|
84
|
+
// supress undefined node only if it is not an attribute
|
|
85
|
+
if (this.isAttribute(key)) {
|
|
86
|
+
val += '';
|
|
87
|
+
}
|
|
88
|
+
} else if (jObj[key] === null) {
|
|
89
|
+
// null attribute should be ignored by the attribute list, but should not cause the tag closing
|
|
90
|
+
if (this.isAttribute(key)) {
|
|
91
|
+
val += '';
|
|
92
|
+
} else if (key[0] === '?') {
|
|
93
|
+
val += this.indentate(level) + '<' + key + '?' + this.tagEndChar;
|
|
94
|
+
} else {
|
|
95
|
+
val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;
|
|
96
|
+
}
|
|
97
|
+
// val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;
|
|
98
|
+
} else if (jObj[key] instanceof Date) {
|
|
99
|
+
val += this.buildTextValNode(jObj[key], key, '', level);
|
|
100
|
+
} else if (typeof jObj[key] !== 'object') {
|
|
101
|
+
//premitive type
|
|
102
|
+
const attr = this.isAttribute(key);
|
|
103
|
+
if (attr) {
|
|
104
|
+
attrStr += this.buildAttrPairStr(attr, '' + jObj[key]);
|
|
105
|
+
}else {
|
|
106
|
+
//tag value
|
|
107
|
+
if (key === this.options.textNodeName) {
|
|
108
|
+
let newval = this.options.tagValueProcessor(key, '' + jObj[key]);
|
|
109
|
+
val += this.replaceEntitiesValue(newval);
|
|
110
|
+
} else {
|
|
111
|
+
val += this.buildTextValNode(jObj[key], key, '', level);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
} else if (Array.isArray(jObj[key])) {
|
|
115
|
+
//repeated nodes
|
|
116
|
+
const arrLen = jObj[key].length;
|
|
117
|
+
let listTagVal = "";
|
|
118
|
+
let listTagAttr = "";
|
|
119
|
+
for (let j = 0; j < arrLen; j++) {
|
|
120
|
+
const item = jObj[key][j];
|
|
121
|
+
if (typeof item === 'undefined') {
|
|
122
|
+
// supress undefined node
|
|
123
|
+
} else if (item === null) {
|
|
124
|
+
if(key[0] === "?") val += this.indentate(level) + '<' + key + '?' + this.tagEndChar;
|
|
125
|
+
else val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;
|
|
126
|
+
// val += this.indentate(level) + '<' + key + '/' + this.tagEndChar;
|
|
127
|
+
} else if (typeof item === 'object') {
|
|
128
|
+
if(this.options.oneListGroup){
|
|
129
|
+
const result = this.j2x(item, level + 1);
|
|
130
|
+
listTagVal += result.val;
|
|
131
|
+
if (this.options.attributesGroupName && item.hasOwnProperty(this.options.attributesGroupName)) {
|
|
132
|
+
listTagAttr += result.attrStr
|
|
133
|
+
}
|
|
134
|
+
}else{
|
|
135
|
+
listTagVal += this.processTextOrObjNode(item, key, level)
|
|
136
|
+
}
|
|
137
|
+
} else {
|
|
138
|
+
if (this.options.oneListGroup) {
|
|
139
|
+
let textValue = this.options.tagValueProcessor(key, item);
|
|
140
|
+
textValue = this.replaceEntitiesValue(textValue);
|
|
141
|
+
listTagVal += textValue;
|
|
142
|
+
} else {
|
|
143
|
+
listTagVal += this.buildTextValNode(item, key, '', level);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
if(this.options.oneListGroup){
|
|
148
|
+
listTagVal = this.buildObjectNode(listTagVal, key, listTagAttr, level);
|
|
149
|
+
}
|
|
150
|
+
val += listTagVal;
|
|
151
|
+
} else {
|
|
152
|
+
//nested node
|
|
153
|
+
if (this.options.attributesGroupName && key === this.options.attributesGroupName) {
|
|
154
|
+
const Ks = Object.keys(jObj[key]);
|
|
155
|
+
const L = Ks.length;
|
|
156
|
+
for (let j = 0; j < L; j++) {
|
|
157
|
+
attrStr += this.buildAttrPairStr(Ks[j], '' + jObj[key][Ks[j]]);
|
|
158
|
+
}
|
|
159
|
+
} else {
|
|
160
|
+
val += this.processTextOrObjNode(jObj[key], key, level)
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
return {attrStr: attrStr, val: val};
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
Builder.prototype.buildAttrPairStr = function(attrName, val){
|
|
168
|
+
val = this.options.attributeValueProcessor(attrName, '' + val);
|
|
169
|
+
val = this.replaceEntitiesValue(val);
|
|
170
|
+
if (this.options.suppressBooleanAttributes && val === "true") {
|
|
171
|
+
return ' ' + attrName;
|
|
172
|
+
} else return ' ' + attrName + '="' + val + '"';
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
function processTextOrObjNode (object, key, level) {
|
|
176
|
+
const result = this.j2x(object, level + 1);
|
|
177
|
+
if (object[this.options.textNodeName] !== undefined && Object.keys(object).length === 1) {
|
|
178
|
+
return this.buildTextValNode(object[this.options.textNodeName], key, result.attrStr, level);
|
|
179
|
+
} else {
|
|
180
|
+
return this.buildObjectNode(result.val, key, result.attrStr, level);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
Builder.prototype.buildObjectNode = function(val, key, attrStr, level) {
|
|
185
|
+
if(val === ""){
|
|
186
|
+
if(key[0] === "?") return this.indentate(level) + '<' + key + attrStr+ '?' + this.tagEndChar;
|
|
187
|
+
else {
|
|
188
|
+
return this.indentate(level) + '<' + key + attrStr + this.closeTag(key) + this.tagEndChar;
|
|
189
|
+
}
|
|
190
|
+
}else{
|
|
191
|
+
|
|
192
|
+
let tagEndExp = '</' + key + this.tagEndChar;
|
|
193
|
+
let piClosingChar = "";
|
|
194
|
+
|
|
195
|
+
if(key[0] === "?") {
|
|
196
|
+
piClosingChar = "?";
|
|
197
|
+
tagEndExp = "";
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// attrStr is an empty string in case the attribute came as undefined or null
|
|
201
|
+
if ((attrStr || attrStr === '') && val.indexOf('<') === -1) {
|
|
202
|
+
return ( this.indentate(level) + '<' + key + attrStr + piClosingChar + '>' + val + tagEndExp );
|
|
203
|
+
} else if (this.options.commentPropName !== false && key === this.options.commentPropName && piClosingChar.length === 0) {
|
|
204
|
+
return this.indentate(level) + `<!--${val}-->` + this.newLine;
|
|
205
|
+
}else {
|
|
206
|
+
return (
|
|
207
|
+
this.indentate(level) + '<' + key + attrStr + piClosingChar + this.tagEndChar +
|
|
208
|
+
val +
|
|
209
|
+
this.indentate(level) + tagEndExp );
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
Builder.prototype.closeTag = function(key){
|
|
215
|
+
let closeTag = "";
|
|
216
|
+
if(this.options.unpairedTags.indexOf(key) !== -1){ //unpaired
|
|
217
|
+
if(!this.options.suppressUnpairedNode) closeTag = "/"
|
|
218
|
+
}else if(this.options.suppressEmptyNode){ //empty
|
|
219
|
+
closeTag = "/";
|
|
220
|
+
}else{
|
|
221
|
+
closeTag = `></${key}`
|
|
222
|
+
}
|
|
223
|
+
return closeTag;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
function buildEmptyObjNode(val, key, attrStr, level) {
|
|
227
|
+
if (val !== '') {
|
|
228
|
+
return this.buildObjectNode(val, key, attrStr, level);
|
|
229
|
+
} else {
|
|
230
|
+
if(key[0] === "?") return this.indentate(level) + '<' + key + attrStr+ '?' + this.tagEndChar;
|
|
231
|
+
else {
|
|
232
|
+
return this.indentate(level) + '<' + key + attrStr + '/' + this.tagEndChar;
|
|
233
|
+
// return this.buildTagStr(level,key, attrStr);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
Builder.prototype.buildTextValNode = function(val, key, attrStr, level) {
|
|
239
|
+
if (this.options.cdataPropName !== false && key === this.options.cdataPropName) {
|
|
240
|
+
return this.indentate(level) + `<![CDATA[${val}]]>` + this.newLine;
|
|
241
|
+
}else if (this.options.commentPropName !== false && key === this.options.commentPropName) {
|
|
242
|
+
return this.indentate(level) + `<!--${val}-->` + this.newLine;
|
|
243
|
+
}else if(key[0] === "?") {//PI tag
|
|
244
|
+
return this.indentate(level) + '<' + key + attrStr+ '?' + this.tagEndChar;
|
|
245
|
+
}else{
|
|
246
|
+
let textValue = this.options.tagValueProcessor(key, val);
|
|
247
|
+
textValue = this.replaceEntitiesValue(textValue);
|
|
248
|
+
|
|
249
|
+
if( textValue === ''){
|
|
250
|
+
return this.indentate(level) + '<' + key + attrStr + this.closeTag(key) + this.tagEndChar;
|
|
251
|
+
}else{
|
|
252
|
+
return this.indentate(level) + '<' + key + attrStr + '>' +
|
|
253
|
+
textValue +
|
|
254
|
+
'</' + key + this.tagEndChar;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
Builder.prototype.replaceEntitiesValue = function(textValue){
|
|
260
|
+
if(textValue && textValue.length > 0 && this.options.processEntities){
|
|
261
|
+
for (let i=0; i<this.options.entities.length; i++) {
|
|
262
|
+
const entity = this.options.entities[i];
|
|
263
|
+
textValue = textValue.replace(entity.regex, entity.val);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
return textValue;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
function indentate(level) {
|
|
270
|
+
return this.options.indentBy.repeat(level);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
function isAttribute(name /*, options*/) {
|
|
274
|
+
if (name.startsWith(this.options.attributeNamePrefix) && name !== this.options.textNodeName) {
|
|
275
|
+
return name.substr(this.attrPrefixLen);
|
|
276
|
+
} else {
|
|
277
|
+
return false;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
module.exports = Builder;
|