plugin-file-preview-auth 1.1.2 → 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/dist/client/{348b1a931814844c.js → 166.17caa11c2ba40313.js} +1 -1
- package/dist/client/{02dcfcac51f80d8d.js → 374.96762d13b15e7467.js} +1 -1
- package/dist/client/index.js +1 -1
- package/dist/externalVersion.js +4 -4
- 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/plugin.d.ts +1 -0
- package/dist/server/plugin.js +65 -0
- package/package.json +10 -1
|
@@ -0,0 +1,601 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
///@ts-check
|
|
3
|
+
|
|
4
|
+
const util = require('../util');
|
|
5
|
+
const xmlNode = require('./xmlNode');
|
|
6
|
+
const readDocType = require("./DocTypeReader");
|
|
7
|
+
const toNumber = require("strnum");
|
|
8
|
+
|
|
9
|
+
// const regx =
|
|
10
|
+
// '<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)'
|
|
11
|
+
// .replace(/NAME/g, util.nameRegexp);
|
|
12
|
+
|
|
13
|
+
//const tagsRegx = new RegExp("<(\\/?[\\w:\\-\._]+)([^>]*)>(\\s*"+cdataRegx+")*([^<]+)?","g");
|
|
14
|
+
//const tagsRegx = new RegExp("<(\\/?)((\\w*:)?([\\w:\\-\._]+))([^>]*)>([^<]*)("+cdataRegx+"([^<]*))*([^<]+)?","g");
|
|
15
|
+
|
|
16
|
+
class OrderedObjParser{
|
|
17
|
+
constructor(options){
|
|
18
|
+
this.options = options;
|
|
19
|
+
this.currentNode = null;
|
|
20
|
+
this.tagsNodeStack = [];
|
|
21
|
+
this.docTypeEntities = {};
|
|
22
|
+
this.lastEntities = {
|
|
23
|
+
"apos" : { regex: /&(apos|#39|#x27);/g, val : "'"},
|
|
24
|
+
"gt" : { regex: /&(gt|#62|#x3E);/g, val : ">"},
|
|
25
|
+
"lt" : { regex: /&(lt|#60|#x3C);/g, val : "<"},
|
|
26
|
+
"quot" : { regex: /&(quot|#34|#x22);/g, val : "\""},
|
|
27
|
+
};
|
|
28
|
+
this.ampEntity = { regex: /&(amp|#38|#x26);/g, val : "&"};
|
|
29
|
+
this.htmlEntities = {
|
|
30
|
+
"space": { regex: /&(nbsp|#160);/g, val: " " },
|
|
31
|
+
// "lt" : { regex: /&(lt|#60);/g, val: "<" },
|
|
32
|
+
// "gt" : { regex: /&(gt|#62);/g, val: ">" },
|
|
33
|
+
// "amp" : { regex: /&(amp|#38);/g, val: "&" },
|
|
34
|
+
// "quot" : { regex: /&(quot|#34);/g, val: "\"" },
|
|
35
|
+
// "apos" : { regex: /&(apos|#39);/g, val: "'" },
|
|
36
|
+
"cent" : { regex: /&(cent|#162);/g, val: "¢" },
|
|
37
|
+
"pound" : { regex: /&(pound|#163);/g, val: "£" },
|
|
38
|
+
"yen" : { regex: /&(yen|#165);/g, val: "¥" },
|
|
39
|
+
"euro" : { regex: /&(euro|#8364);/g, val: "€" },
|
|
40
|
+
"copyright" : { regex: /&(copy|#169);/g, val: "©" },
|
|
41
|
+
"reg" : { regex: /&(reg|#174);/g, val: "®" },
|
|
42
|
+
"inr" : { regex: /&(inr|#8377);/g, val: "₹" },
|
|
43
|
+
"num_dec": { regex: /&#([0-9]{1,7});/g, val : (_, str) => String.fromCharCode(Number.parseInt(str, 10)) },
|
|
44
|
+
"num_hex": { regex: /&#x([0-9a-fA-F]{1,6});/g, val : (_, str) => String.fromCharCode(Number.parseInt(str, 16)) },
|
|
45
|
+
};
|
|
46
|
+
this.addExternalEntities = addExternalEntities;
|
|
47
|
+
this.parseXml = parseXml;
|
|
48
|
+
this.parseTextData = parseTextData;
|
|
49
|
+
this.resolveNameSpace = resolveNameSpace;
|
|
50
|
+
this.buildAttributesMap = buildAttributesMap;
|
|
51
|
+
this.isItStopNode = isItStopNode;
|
|
52
|
+
this.replaceEntitiesValue = replaceEntitiesValue;
|
|
53
|
+
this.readStopNodeData = readStopNodeData;
|
|
54
|
+
this.saveTextToParentTag = saveTextToParentTag;
|
|
55
|
+
this.addChild = addChild;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function addExternalEntities(externalEntities){
|
|
61
|
+
const entKeys = Object.keys(externalEntities);
|
|
62
|
+
for (let i = 0; i < entKeys.length; i++) {
|
|
63
|
+
const ent = entKeys[i];
|
|
64
|
+
this.lastEntities[ent] = {
|
|
65
|
+
regex: new RegExp("&"+ent+";","g"),
|
|
66
|
+
val : externalEntities[ent]
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @param {string} val
|
|
73
|
+
* @param {string} tagName
|
|
74
|
+
* @param {string} jPath
|
|
75
|
+
* @param {boolean} dontTrim
|
|
76
|
+
* @param {boolean} hasAttributes
|
|
77
|
+
* @param {boolean} isLeafNode
|
|
78
|
+
* @param {boolean} escapeEntities
|
|
79
|
+
*/
|
|
80
|
+
function parseTextData(val, tagName, jPath, dontTrim, hasAttributes, isLeafNode, escapeEntities) {
|
|
81
|
+
if (val !== undefined) {
|
|
82
|
+
if (this.options.trimValues && !dontTrim) {
|
|
83
|
+
val = val.trim();
|
|
84
|
+
}
|
|
85
|
+
if(val.length > 0){
|
|
86
|
+
if(!escapeEntities) val = this.replaceEntitiesValue(val);
|
|
87
|
+
|
|
88
|
+
const newval = this.options.tagValueProcessor(tagName, val, jPath, hasAttributes, isLeafNode);
|
|
89
|
+
if(newval === null || newval === undefined){
|
|
90
|
+
//don't parse
|
|
91
|
+
return val;
|
|
92
|
+
}else if(typeof newval !== typeof val || newval !== val){
|
|
93
|
+
//overwrite
|
|
94
|
+
return newval;
|
|
95
|
+
}else if(this.options.trimValues){
|
|
96
|
+
return parseValue(val, this.options.parseTagValue, this.options.numberParseOptions);
|
|
97
|
+
}else{
|
|
98
|
+
const trimmedVal = val.trim();
|
|
99
|
+
if(trimmedVal === val){
|
|
100
|
+
return parseValue(val, this.options.parseTagValue, this.options.numberParseOptions);
|
|
101
|
+
}else{
|
|
102
|
+
return val;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function resolveNameSpace(tagname) {
|
|
110
|
+
if (this.options.removeNSPrefix) {
|
|
111
|
+
const tags = tagname.split(':');
|
|
112
|
+
const prefix = tagname.charAt(0) === '/' ? '/' : '';
|
|
113
|
+
if (tags[0] === 'xmlns') {
|
|
114
|
+
return '';
|
|
115
|
+
}
|
|
116
|
+
if (tags.length === 2) {
|
|
117
|
+
tagname = prefix + tags[1];
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return tagname;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
//TODO: change regex to capture NS
|
|
124
|
+
//const attrsRegx = new RegExp("([\\w\\-\\.\\:]+)\\s*=\\s*(['\"])((.|\n)*?)\\2","gm");
|
|
125
|
+
const attrsRegx = new RegExp('([^\\s=]+)\\s*(=\\s*([\'"])([\\s\\S]*?)\\3)?', 'gm');
|
|
126
|
+
|
|
127
|
+
function buildAttributesMap(attrStr, jPath, tagName) {
|
|
128
|
+
if (!this.options.ignoreAttributes && typeof attrStr === 'string') {
|
|
129
|
+
// attrStr = attrStr.replace(/\r?\n/g, ' ');
|
|
130
|
+
//attrStr = attrStr || attrStr.trim();
|
|
131
|
+
|
|
132
|
+
const matches = util.getAllMatches(attrStr, attrsRegx);
|
|
133
|
+
const len = matches.length; //don't make it inline
|
|
134
|
+
const attrs = {};
|
|
135
|
+
for (let i = 0; i < len; i++) {
|
|
136
|
+
const attrName = this.resolveNameSpace(matches[i][1]);
|
|
137
|
+
let oldVal = matches[i][4];
|
|
138
|
+
let aName = this.options.attributeNamePrefix + attrName;
|
|
139
|
+
if (attrName.length) {
|
|
140
|
+
if (this.options.transformAttributeName) {
|
|
141
|
+
aName = this.options.transformAttributeName(aName);
|
|
142
|
+
}
|
|
143
|
+
if(aName === "__proto__") aName = "#__proto__";
|
|
144
|
+
if (oldVal !== undefined) {
|
|
145
|
+
if (this.options.trimValues) {
|
|
146
|
+
oldVal = oldVal.trim();
|
|
147
|
+
}
|
|
148
|
+
oldVal = this.replaceEntitiesValue(oldVal);
|
|
149
|
+
const newVal = this.options.attributeValueProcessor(attrName, oldVal, jPath);
|
|
150
|
+
if(newVal === null || newVal === undefined){
|
|
151
|
+
//don't parse
|
|
152
|
+
attrs[aName] = oldVal;
|
|
153
|
+
}else if(typeof newVal !== typeof oldVal || newVal !== oldVal){
|
|
154
|
+
//overwrite
|
|
155
|
+
attrs[aName] = newVal;
|
|
156
|
+
}else{
|
|
157
|
+
//parse
|
|
158
|
+
attrs[aName] = parseValue(
|
|
159
|
+
oldVal,
|
|
160
|
+
this.options.parseAttributeValue,
|
|
161
|
+
this.options.numberParseOptions
|
|
162
|
+
);
|
|
163
|
+
}
|
|
164
|
+
} else if (this.options.allowBooleanAttributes) {
|
|
165
|
+
attrs[aName] = true;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
if (!Object.keys(attrs).length) {
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
if (this.options.attributesGroupName) {
|
|
173
|
+
const attrCollection = {};
|
|
174
|
+
attrCollection[this.options.attributesGroupName] = attrs;
|
|
175
|
+
return attrCollection;
|
|
176
|
+
}
|
|
177
|
+
return attrs
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
const parseXml = function(xmlData) {
|
|
182
|
+
xmlData = xmlData.replace(/\r\n?/g, "\n"); //TODO: remove this line
|
|
183
|
+
const xmlObj = new xmlNode('!xml');
|
|
184
|
+
let currentNode = xmlObj;
|
|
185
|
+
let textData = "";
|
|
186
|
+
let jPath = "";
|
|
187
|
+
for(let i=0; i< xmlData.length; i++){//for each char in XML data
|
|
188
|
+
const ch = xmlData[i];
|
|
189
|
+
if(ch === '<'){
|
|
190
|
+
// const nextIndex = i+1;
|
|
191
|
+
// const _2ndChar = xmlData[nextIndex];
|
|
192
|
+
if( xmlData[i+1] === '/') {//Closing Tag
|
|
193
|
+
const closeIndex = findClosingIndex(xmlData, ">", i, "Closing Tag is not closed.")
|
|
194
|
+
let tagName = xmlData.substring(i+2,closeIndex).trim();
|
|
195
|
+
|
|
196
|
+
if(this.options.removeNSPrefix){
|
|
197
|
+
const colonIndex = tagName.indexOf(":");
|
|
198
|
+
if(colonIndex !== -1){
|
|
199
|
+
tagName = tagName.substr(colonIndex+1);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
if(this.options.transformTagName) {
|
|
204
|
+
tagName = this.options.transformTagName(tagName);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
if(currentNode){
|
|
208
|
+
textData = this.saveTextToParentTag(textData, currentNode, jPath);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
//check if last tag of nested tag was unpaired tag
|
|
212
|
+
const lastTagName = jPath.substring(jPath.lastIndexOf(".")+1);
|
|
213
|
+
if(tagName && this.options.unpairedTags.indexOf(tagName) !== -1 ){
|
|
214
|
+
throw new Error(`Unpaired tag can not be used as closing tag: </${tagName}>`);
|
|
215
|
+
}
|
|
216
|
+
let propIndex = 0
|
|
217
|
+
if(lastTagName && this.options.unpairedTags.indexOf(lastTagName) !== -1 ){
|
|
218
|
+
propIndex = jPath.lastIndexOf('.', jPath.lastIndexOf('.')-1)
|
|
219
|
+
this.tagsNodeStack.pop();
|
|
220
|
+
}else{
|
|
221
|
+
propIndex = jPath.lastIndexOf(".");
|
|
222
|
+
}
|
|
223
|
+
jPath = jPath.substring(0, propIndex);
|
|
224
|
+
|
|
225
|
+
currentNode = this.tagsNodeStack.pop();//avoid recursion, set the parent tag scope
|
|
226
|
+
textData = "";
|
|
227
|
+
i = closeIndex;
|
|
228
|
+
} else if( xmlData[i+1] === '?') {
|
|
229
|
+
|
|
230
|
+
let tagData = readTagExp(xmlData,i, false, "?>");
|
|
231
|
+
if(!tagData) throw new Error("Pi Tag is not closed.");
|
|
232
|
+
|
|
233
|
+
textData = this.saveTextToParentTag(textData, currentNode, jPath);
|
|
234
|
+
if( (this.options.ignoreDeclaration && tagData.tagName === "?xml") || this.options.ignorePiTags){
|
|
235
|
+
|
|
236
|
+
}else{
|
|
237
|
+
|
|
238
|
+
const childNode = new xmlNode(tagData.tagName);
|
|
239
|
+
childNode.add(this.options.textNodeName, "");
|
|
240
|
+
|
|
241
|
+
if(tagData.tagName !== tagData.tagExp && tagData.attrExpPresent){
|
|
242
|
+
childNode[":@"] = this.buildAttributesMap(tagData.tagExp, jPath, tagData.tagName);
|
|
243
|
+
}
|
|
244
|
+
this.addChild(currentNode, childNode, jPath)
|
|
245
|
+
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
i = tagData.closeIndex + 1;
|
|
250
|
+
} else if(xmlData.substr(i + 1, 3) === '!--') {
|
|
251
|
+
const endIndex = findClosingIndex(xmlData, "-->", i+4, "Comment is not closed.")
|
|
252
|
+
if(this.options.commentPropName){
|
|
253
|
+
const comment = xmlData.substring(i + 4, endIndex - 2);
|
|
254
|
+
|
|
255
|
+
textData = this.saveTextToParentTag(textData, currentNode, jPath);
|
|
256
|
+
|
|
257
|
+
currentNode.add(this.options.commentPropName, [ { [this.options.textNodeName] : comment } ]);
|
|
258
|
+
}
|
|
259
|
+
i = endIndex;
|
|
260
|
+
} else if( xmlData.substr(i + 1, 2) === '!D') {
|
|
261
|
+
const result = readDocType(xmlData, i);
|
|
262
|
+
this.docTypeEntities = result.entities;
|
|
263
|
+
i = result.i;
|
|
264
|
+
}else if(xmlData.substr(i + 1, 2) === '![') {
|
|
265
|
+
const closeIndex = findClosingIndex(xmlData, "]]>", i, "CDATA is not closed.") - 2;
|
|
266
|
+
const tagExp = xmlData.substring(i + 9,closeIndex);
|
|
267
|
+
|
|
268
|
+
textData = this.saveTextToParentTag(textData, currentNode, jPath);
|
|
269
|
+
|
|
270
|
+
let val = this.parseTextData(tagExp, currentNode.tagname, jPath, true, false, true, true);
|
|
271
|
+
if(val == undefined) val = "";
|
|
272
|
+
|
|
273
|
+
//cdata should be set even if it is 0 length string
|
|
274
|
+
if(this.options.cdataPropName){
|
|
275
|
+
currentNode.add(this.options.cdataPropName, [ { [this.options.textNodeName] : tagExp } ]);
|
|
276
|
+
}else{
|
|
277
|
+
currentNode.add(this.options.textNodeName, val);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
i = closeIndex + 2;
|
|
281
|
+
}else {//Opening tag
|
|
282
|
+
let result = readTagExp(xmlData,i, this.options.removeNSPrefix);
|
|
283
|
+
let tagName= result.tagName;
|
|
284
|
+
const rawTagName = result.rawTagName;
|
|
285
|
+
let tagExp = result.tagExp;
|
|
286
|
+
let attrExpPresent = result.attrExpPresent;
|
|
287
|
+
let closeIndex = result.closeIndex;
|
|
288
|
+
|
|
289
|
+
if (this.options.transformTagName) {
|
|
290
|
+
tagName = this.options.transformTagName(tagName);
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
//save text as child node
|
|
294
|
+
if (currentNode && textData) {
|
|
295
|
+
if(currentNode.tagname !== '!xml'){
|
|
296
|
+
//when nested tag is found
|
|
297
|
+
textData = this.saveTextToParentTag(textData, currentNode, jPath, false);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
//check if last tag was unpaired tag
|
|
302
|
+
const lastTag = currentNode;
|
|
303
|
+
if(lastTag && this.options.unpairedTags.indexOf(lastTag.tagname) !== -1 ){
|
|
304
|
+
currentNode = this.tagsNodeStack.pop();
|
|
305
|
+
jPath = jPath.substring(0, jPath.lastIndexOf("."));
|
|
306
|
+
}
|
|
307
|
+
if(tagName !== xmlObj.tagname){
|
|
308
|
+
jPath += jPath ? "." + tagName : tagName;
|
|
309
|
+
}
|
|
310
|
+
if (this.isItStopNode(this.options.stopNodes, jPath, tagName)) {
|
|
311
|
+
let tagContent = "";
|
|
312
|
+
//self-closing tag
|
|
313
|
+
if(tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1){
|
|
314
|
+
if(tagName[tagName.length - 1] === "/"){ //remove trailing '/'
|
|
315
|
+
tagName = tagName.substr(0, tagName.length - 1);
|
|
316
|
+
jPath = jPath.substr(0, jPath.length - 1);
|
|
317
|
+
tagExp = tagName;
|
|
318
|
+
}else{
|
|
319
|
+
tagExp = tagExp.substr(0, tagExp.length - 1);
|
|
320
|
+
}
|
|
321
|
+
i = result.closeIndex;
|
|
322
|
+
}
|
|
323
|
+
//unpaired tag
|
|
324
|
+
else if(this.options.unpairedTags.indexOf(tagName) !== -1){
|
|
325
|
+
|
|
326
|
+
i = result.closeIndex;
|
|
327
|
+
}
|
|
328
|
+
//normal tag
|
|
329
|
+
else{
|
|
330
|
+
//read until closing tag is found
|
|
331
|
+
const result = this.readStopNodeData(xmlData, rawTagName, closeIndex + 1);
|
|
332
|
+
if(!result) throw new Error(`Unexpected end of ${rawTagName}`);
|
|
333
|
+
i = result.i;
|
|
334
|
+
tagContent = result.tagContent;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
const childNode = new xmlNode(tagName);
|
|
338
|
+
if(tagName !== tagExp && attrExpPresent){
|
|
339
|
+
childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName);
|
|
340
|
+
}
|
|
341
|
+
if(tagContent) {
|
|
342
|
+
tagContent = this.parseTextData(tagContent, tagName, jPath, true, attrExpPresent, true, true);
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
jPath = jPath.substr(0, jPath.lastIndexOf("."));
|
|
346
|
+
childNode.add(this.options.textNodeName, tagContent);
|
|
347
|
+
|
|
348
|
+
this.addChild(currentNode, childNode, jPath)
|
|
349
|
+
}else{
|
|
350
|
+
//selfClosing tag
|
|
351
|
+
if(tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1){
|
|
352
|
+
if(tagName[tagName.length - 1] === "/"){ //remove trailing '/'
|
|
353
|
+
tagName = tagName.substr(0, tagName.length - 1);
|
|
354
|
+
jPath = jPath.substr(0, jPath.length - 1);
|
|
355
|
+
tagExp = tagName;
|
|
356
|
+
}else{
|
|
357
|
+
tagExp = tagExp.substr(0, tagExp.length - 1);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
if(this.options.transformTagName) {
|
|
361
|
+
tagName = this.options.transformTagName(tagName);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
const childNode = new xmlNode(tagName);
|
|
365
|
+
if(tagName !== tagExp && attrExpPresent){
|
|
366
|
+
childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName);
|
|
367
|
+
}
|
|
368
|
+
this.addChild(currentNode, childNode, jPath)
|
|
369
|
+
jPath = jPath.substr(0, jPath.lastIndexOf("."));
|
|
370
|
+
}
|
|
371
|
+
//opening tag
|
|
372
|
+
else{
|
|
373
|
+
const childNode = new xmlNode( tagName);
|
|
374
|
+
this.tagsNodeStack.push(currentNode);
|
|
375
|
+
|
|
376
|
+
if(tagName !== tagExp && attrExpPresent){
|
|
377
|
+
childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName);
|
|
378
|
+
}
|
|
379
|
+
this.addChild(currentNode, childNode, jPath)
|
|
380
|
+
currentNode = childNode;
|
|
381
|
+
}
|
|
382
|
+
textData = "";
|
|
383
|
+
i = closeIndex;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
}else{
|
|
387
|
+
textData += xmlData[i];
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
return xmlObj.child;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
function addChild(currentNode, childNode, jPath){
|
|
394
|
+
const result = this.options.updateTag(childNode.tagname, jPath, childNode[":@"])
|
|
395
|
+
if(result === false){
|
|
396
|
+
}else if(typeof result === "string"){
|
|
397
|
+
childNode.tagname = result
|
|
398
|
+
currentNode.addChild(childNode);
|
|
399
|
+
}else{
|
|
400
|
+
currentNode.addChild(childNode);
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
const replaceEntitiesValue = function(val){
|
|
405
|
+
|
|
406
|
+
if(this.options.processEntities){
|
|
407
|
+
for(let entityName in this.docTypeEntities){
|
|
408
|
+
const entity = this.docTypeEntities[entityName];
|
|
409
|
+
val = val.replace( entity.regx, entity.val);
|
|
410
|
+
}
|
|
411
|
+
for(let entityName in this.lastEntities){
|
|
412
|
+
const entity = this.lastEntities[entityName];
|
|
413
|
+
val = val.replace( entity.regex, entity.val);
|
|
414
|
+
}
|
|
415
|
+
if(this.options.htmlEntities){
|
|
416
|
+
for(let entityName in this.htmlEntities){
|
|
417
|
+
const entity = this.htmlEntities[entityName];
|
|
418
|
+
val = val.replace( entity.regex, entity.val);
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
val = val.replace( this.ampEntity.regex, this.ampEntity.val);
|
|
422
|
+
}
|
|
423
|
+
return val;
|
|
424
|
+
}
|
|
425
|
+
function saveTextToParentTag(textData, currentNode, jPath, isLeafNode) {
|
|
426
|
+
if (textData) { //store previously collected data as textNode
|
|
427
|
+
if(isLeafNode === undefined) isLeafNode = Object.keys(currentNode.child).length === 0
|
|
428
|
+
|
|
429
|
+
textData = this.parseTextData(textData,
|
|
430
|
+
currentNode.tagname,
|
|
431
|
+
jPath,
|
|
432
|
+
false,
|
|
433
|
+
currentNode[":@"] ? Object.keys(currentNode[":@"]).length !== 0 : false,
|
|
434
|
+
isLeafNode);
|
|
435
|
+
|
|
436
|
+
if (textData !== undefined && textData !== "")
|
|
437
|
+
currentNode.add(this.options.textNodeName, textData);
|
|
438
|
+
textData = "";
|
|
439
|
+
}
|
|
440
|
+
return textData;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
//TODO: use jPath to simplify the logic
|
|
444
|
+
/**
|
|
445
|
+
*
|
|
446
|
+
* @param {string[]} stopNodes
|
|
447
|
+
* @param {string} jPath
|
|
448
|
+
* @param {string} currentTagName
|
|
449
|
+
*/
|
|
450
|
+
function isItStopNode(stopNodes, jPath, currentTagName){
|
|
451
|
+
const allNodesExp = "*." + currentTagName;
|
|
452
|
+
for (const stopNodePath in stopNodes) {
|
|
453
|
+
const stopNodeExp = stopNodes[stopNodePath];
|
|
454
|
+
if( allNodesExp === stopNodeExp || jPath === stopNodeExp ) return true;
|
|
455
|
+
}
|
|
456
|
+
return false;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Returns the tag Expression and where it is ending handling single-double quotes situation
|
|
461
|
+
* @param {string} xmlData
|
|
462
|
+
* @param {number} i starting index
|
|
463
|
+
* @returns
|
|
464
|
+
*/
|
|
465
|
+
function tagExpWithClosingIndex(xmlData, i, closingChar = ">"){
|
|
466
|
+
let attrBoundary;
|
|
467
|
+
let tagExp = "";
|
|
468
|
+
for (let index = i; index < xmlData.length; index++) {
|
|
469
|
+
let ch = xmlData[index];
|
|
470
|
+
if (attrBoundary) {
|
|
471
|
+
if (ch === attrBoundary) attrBoundary = "";//reset
|
|
472
|
+
} else if (ch === '"' || ch === "'") {
|
|
473
|
+
attrBoundary = ch;
|
|
474
|
+
} else if (ch === closingChar[0]) {
|
|
475
|
+
if(closingChar[1]){
|
|
476
|
+
if(xmlData[index + 1] === closingChar[1]){
|
|
477
|
+
return {
|
|
478
|
+
data: tagExp,
|
|
479
|
+
index: index
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
}else{
|
|
483
|
+
return {
|
|
484
|
+
data: tagExp,
|
|
485
|
+
index: index
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
} else if (ch === '\t') {
|
|
489
|
+
ch = " "
|
|
490
|
+
}
|
|
491
|
+
tagExp += ch;
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
function findClosingIndex(xmlData, str, i, errMsg){
|
|
496
|
+
const closingIndex = xmlData.indexOf(str, i);
|
|
497
|
+
if(closingIndex === -1){
|
|
498
|
+
throw new Error(errMsg)
|
|
499
|
+
}else{
|
|
500
|
+
return closingIndex + str.length - 1;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
function readTagExp(xmlData,i, removeNSPrefix, closingChar = ">"){
|
|
505
|
+
const result = tagExpWithClosingIndex(xmlData, i+1, closingChar);
|
|
506
|
+
if(!result) return;
|
|
507
|
+
let tagExp = result.data;
|
|
508
|
+
const closeIndex = result.index;
|
|
509
|
+
const separatorIndex = tagExp.search(/\s/);
|
|
510
|
+
let tagName = tagExp;
|
|
511
|
+
let attrExpPresent = true;
|
|
512
|
+
if(separatorIndex !== -1){//separate tag name and attributes expression
|
|
513
|
+
tagName = tagExp.substring(0, separatorIndex);
|
|
514
|
+
tagExp = tagExp.substring(separatorIndex + 1).trimStart();
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
const rawTagName = tagName;
|
|
518
|
+
if(removeNSPrefix){
|
|
519
|
+
const colonIndex = tagName.indexOf(":");
|
|
520
|
+
if(colonIndex !== -1){
|
|
521
|
+
tagName = tagName.substr(colonIndex+1);
|
|
522
|
+
attrExpPresent = tagName !== result.data.substr(colonIndex + 1);
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
return {
|
|
527
|
+
tagName: tagName,
|
|
528
|
+
tagExp: tagExp,
|
|
529
|
+
closeIndex: closeIndex,
|
|
530
|
+
attrExpPresent: attrExpPresent,
|
|
531
|
+
rawTagName: rawTagName,
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
/**
|
|
535
|
+
* find paired tag for a stop node
|
|
536
|
+
* @param {string} xmlData
|
|
537
|
+
* @param {string} tagName
|
|
538
|
+
* @param {number} i
|
|
539
|
+
*/
|
|
540
|
+
function readStopNodeData(xmlData, tagName, i){
|
|
541
|
+
const startIndex = i;
|
|
542
|
+
// Starting at 1 since we already have an open tag
|
|
543
|
+
let openTagCount = 1;
|
|
544
|
+
|
|
545
|
+
for (; i < xmlData.length; i++) {
|
|
546
|
+
if( xmlData[i] === "<"){
|
|
547
|
+
if (xmlData[i+1] === "/") {//close tag
|
|
548
|
+
const closeIndex = findClosingIndex(xmlData, ">", i, `${tagName} is not closed`);
|
|
549
|
+
let closeTagName = xmlData.substring(i+2,closeIndex).trim();
|
|
550
|
+
if(closeTagName === tagName){
|
|
551
|
+
openTagCount--;
|
|
552
|
+
if (openTagCount === 0) {
|
|
553
|
+
return {
|
|
554
|
+
tagContent: xmlData.substring(startIndex, i),
|
|
555
|
+
i : closeIndex
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
i=closeIndex;
|
|
560
|
+
} else if(xmlData[i+1] === '?') {
|
|
561
|
+
const closeIndex = findClosingIndex(xmlData, "?>", i+1, "StopNode is not closed.")
|
|
562
|
+
i=closeIndex;
|
|
563
|
+
} else if(xmlData.substr(i + 1, 3) === '!--') {
|
|
564
|
+
const closeIndex = findClosingIndex(xmlData, "-->", i+3, "StopNode is not closed.")
|
|
565
|
+
i=closeIndex;
|
|
566
|
+
} else if(xmlData.substr(i + 1, 2) === '![') {
|
|
567
|
+
const closeIndex = findClosingIndex(xmlData, "]]>", i, "StopNode is not closed.") - 2;
|
|
568
|
+
i=closeIndex;
|
|
569
|
+
} else {
|
|
570
|
+
const tagData = readTagExp(xmlData, i, '>')
|
|
571
|
+
|
|
572
|
+
if (tagData) {
|
|
573
|
+
const openTagName = tagData && tagData.tagName;
|
|
574
|
+
if (openTagName === tagName && tagData.tagExp[tagData.tagExp.length-1] !== "/") {
|
|
575
|
+
openTagCount++;
|
|
576
|
+
}
|
|
577
|
+
i=tagData.closeIndex;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
}//end for loop
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
function parseValue(val, shouldParse, options) {
|
|
585
|
+
if (shouldParse && typeof val === 'string') {
|
|
586
|
+
//console.log(options)
|
|
587
|
+
const newval = val.trim();
|
|
588
|
+
if(newval === 'true' ) return true;
|
|
589
|
+
else if(newval === 'false' ) return false;
|
|
590
|
+
else return toNumber(val, options);
|
|
591
|
+
} else {
|
|
592
|
+
if (util.isExist(val)) {
|
|
593
|
+
return val;
|
|
594
|
+
} else {
|
|
595
|
+
return '';
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
module.exports = OrderedObjParser;
|
package/dist/node_modules/@aws-sdk/client-s3/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
const { buildOptions} = require("./OptionsBuilder");
|
|
2
|
+
const OrderedObjParser = require("./OrderedObjParser");
|
|
3
|
+
const { prettify} = require("./node2json");
|
|
4
|
+
const validator = require('../validator');
|
|
5
|
+
|
|
6
|
+
class XMLParser{
|
|
7
|
+
|
|
8
|
+
constructor(options){
|
|
9
|
+
this.externalEntities = {};
|
|
10
|
+
this.options = buildOptions(options);
|
|
11
|
+
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Parse XML dats to JS object
|
|
15
|
+
* @param {string|Buffer} xmlData
|
|
16
|
+
* @param {boolean|Object} validationOption
|
|
17
|
+
*/
|
|
18
|
+
parse(xmlData,validationOption){
|
|
19
|
+
if(typeof xmlData === "string"){
|
|
20
|
+
}else if( xmlData.toString){
|
|
21
|
+
xmlData = xmlData.toString();
|
|
22
|
+
}else{
|
|
23
|
+
throw new Error("XML data is accepted in String or Bytes[] form.")
|
|
24
|
+
}
|
|
25
|
+
if( validationOption){
|
|
26
|
+
if(validationOption === true) validationOption = {}; //validate with default options
|
|
27
|
+
|
|
28
|
+
const result = validator.validate(xmlData, validationOption);
|
|
29
|
+
if (result !== true) {
|
|
30
|
+
throw Error( `${result.err.msg}:${result.err.line}:${result.err.col}` )
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
const orderedObjParser = new OrderedObjParser(this.options);
|
|
34
|
+
orderedObjParser.addExternalEntities(this.externalEntities);
|
|
35
|
+
const orderedResult = orderedObjParser.parseXml(xmlData);
|
|
36
|
+
if(this.options.preserveOrder || orderedResult === undefined) return orderedResult;
|
|
37
|
+
else return prettify(orderedResult, this.options);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Add Entity which is not by default supported by this library
|
|
42
|
+
* @param {string} key
|
|
43
|
+
* @param {string} value
|
|
44
|
+
*/
|
|
45
|
+
addEntity(key, value){
|
|
46
|
+
if(value.indexOf("&") !== -1){
|
|
47
|
+
throw new Error("Entity value can't have '&'")
|
|
48
|
+
}else if(key.indexOf("&") !== -1 || key.indexOf(";") !== -1){
|
|
49
|
+
throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '
'")
|
|
50
|
+
}else if(value === "&"){
|
|
51
|
+
throw new Error("An entity with value '&' is not permitted");
|
|
52
|
+
}else{
|
|
53
|
+
this.externalEntities[key] = value;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
module.exports = XMLParser;
|