@gemeentenijmegen/webapp 1.1.13 → 1.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +12 -12
- package/.nvmrc +1 -0
- package/API.md +44 -0
- package/assets/webapp/auth/auth.lambda/index.js +1 -1
- package/assets/webapp/login/login.lambda/index.js +1 -1
- package/assets/webapp/logout/logout.lambda/index.js +1 -1
- package/lib/webapp/Criticality.js +1 -1
- package/lib/webapp/Webapp.js +1 -1
- package/lib/webapp/Webpage.js +1 -1
- package/lib/webapp/auth/auth.lambda.d.ts +1 -1
- package/lib/webapp/auth/auth.lambda.js +2 -2
- package/lib/webapp/login/login.lambda.d.ts +1 -1
- package/lib/webapp/login/login.lambda.js +2 -2
- package/lib/webapp/logout/logout.lambda.js +2 -2
- package/lib/webapp/util/Files.js +1 -1
- package/node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js +3 -3
- package/node_modules/@aws/lambda-invoke-store/dist-es/invoke-store.js +3 -3
- package/node_modules/@aws/lambda-invoke-store/dist-types/invoke-store.d.ts +4 -5
- package/node_modules/@aws/lambda-invoke-store/package.json +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/README.md +25 -107
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js +355 -3196
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/models/DynamoDBServiceException.js +12 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/models/errors.js +478 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.shared.js +10 -7
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/schemas/schemas_0.js +2390 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDB.js +29 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDBClient.js +1 -3
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchExecuteStatementCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchGetItemCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/BatchWriteItemCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/CreateBackupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/CreateGlobalTableCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/CreateTableCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteBackupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteItemCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DeleteTableCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeBackupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeContinuousBackupsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeContributorInsightsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeEndpointsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeExportCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeGlobalTableCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeGlobalTableSettingsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeImportCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeLimitsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeTableCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DescribeTimeToLiveCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ExecuteStatementCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ExecuteTransactionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ExportTableToPointInTimeCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/GetItemCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/GetResourcePolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ImportTableCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListBackupsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListContributorInsightsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListExportsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListGlobalTablesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListImportsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListTablesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ListTagsOfResourceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/PutItemCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/PutResourcePolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/QueryCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/RestoreTableFromBackupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/RestoreTableToPointInTimeCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/ScanCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TagResourceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TransactGetItemsCommand.js +3 -6
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TransactWriteItemsCommand.js +3 -6
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UntagResourceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateContinuousBackupsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateContributorInsightsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateGlobalTableCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateGlobalTableSettingsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateItemCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateTableCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/UpdateTimeToLiveCommand.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/index.js +2 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/models/enums.js +5 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js +4 -6
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.shared.js +10 -7
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/schemas/schemas_0.js +1430 -1634
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/index.js +4 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForContributorInsightsEnabled.js +40 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForExportCompleted.js +40 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForImportCompleted.js +49 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForKinesisStreamingDestinationActive.js +49 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForTableExists.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForTableNotExists.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/DynamoDB.d.ts +80 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/DynamoDBClient.d.ts +1 -10
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateGlobalTableCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateTableCommand.d.ts +6 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteTableCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteTransactionCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ListExportsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutItemCommand.d.ts +5 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableFromBackupCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactGetItemsCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactWriteItemsCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateGlobalTableCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/index.d.ts +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/enums.d.ts +13 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/errors.d.ts +2 -3
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts +86 -12
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.d.ts +6 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.native.d.ts +6 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/schemas/schemas_0.d.ts +325 -397
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/DynamoDB.d.ts +103 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/DynamoDBClient.d.ts +1 -5
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/models/models_0.d.ts +16 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/schemas/schemas_0.d.ts +320 -398
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForContributorInsightsEnabled.d.ts +11 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForExportCompleted.d.ts +11 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForImportCompleted.d.ts +11 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/waiters/waitForKinesisStreamingDestinationActive.d.ts +11 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/index.d.ts +4 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForContributorInsightsEnabled.d.ts +14 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForExportCompleted.d.ts +14 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForImportCompleted.d.ts +14 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForKinesisStreamingDestinationActive.d.ts +14 -0
- package/node_modules/@aws-sdk/client-dynamodb/package.json +56 -50
- package/node_modules/@aws-sdk/client-s3/README.md +31 -154
- package/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +8 -9
- package/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +492 -5897
- package/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +12 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js +203 -0
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +4 -8
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +9 -5
- package/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js +3258 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/S3.js +23 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +8 -9
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAbacCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataConfigurationCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +4 -4
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAbacCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js +6 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UpdateObjectEncryptionCommand.js +28 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/index.js +3 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/enums.js +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/models/errors.js +12 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +6 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +9 -5
- package/node_modules/@aws-sdk/client-s3/dist-es/schemas/schemas_0.js +1757 -3928
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +61 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +4 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +5 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +9 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +0 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +5 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +25 -15
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UpdateObjectEncryptionCommand.d.ts +259 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +5 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +3 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +3 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/models/enums.d.ts +13 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/models/errors.d.ts +16 -15
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +51 -29
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +186 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +19 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +20 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +19 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +7 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/schemas/schemas_0.d.ts +464 -502
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +88 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +6 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UpdateObjectEncryptionCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +6 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/errors.d.ts +5 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +34 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +25 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +29 -11
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +25 -10
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/schemas/schemas_0.d.ts +459 -503
- package/node_modules/@aws-sdk/client-s3/package.json +64 -62
- package/node_modules/@aws-sdk/client-secrets-manager/README.md +25 -73
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/index.js +61 -884
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/models/SecretsManagerServiceException.js +12 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/models/errors.js +184 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.shared.js +8 -6
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/schemas/schemas_0.js +665 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/SecretsManager.js +9 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/BatchGetSecretValueCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/CancelRotateSecretCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/CreateSecretCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/DeleteSecretCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/DescribeSecretCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/GetRandomPasswordCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/GetResourcePolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/GetSecretValueCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ListSecretVersionIdsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ListSecretsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/PutResourcePolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/PutSecretValueCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/RemoveRegionsFromReplicationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ReplicateSecretToRegionsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/RestoreSecretCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/RotateSecretCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/StopReplicationToReplicaCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/TagResourceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/UntagResourceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/UpdateSecretCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/UpdateSecretVersionStageCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/commands/ValidateResourcePolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/index.js +2 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/pagination/index.js +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/runtimeConfig.js +4 -6
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/runtimeConfig.shared.js +8 -6
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/schemas/schemas_0.js +419 -424
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/SecretsManager.d.ts +22 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/SecretsManagerClient.d.ts +1 -10
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/index.d.ts +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/pagination/index.d.ts +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.d.ts +6 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.native.d.ts +6 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/schemas/schemas_0.d.ts +99 -114
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/SecretsManager.d.ts +26 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/SecretsManagerClient.d.ts +0 -4
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/pagination/index.d.ts +2 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/schemas/schemas_0.d.ts +93 -116
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +53 -47
- package/node_modules/@aws-sdk/client-ssm/README.md +25 -195
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +462 -9621
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/models/SSMServiceException.js +12 -0
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/models/errors.js +2059 -0
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.shared.js +9 -6
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/schemas/schemas_0.js +5616 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js +107 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/AddTagsToResourceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/AssociateOpsItemRelatedItemCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/CancelCommandCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/CancelMaintenanceWindowExecutionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateActivationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateAssociationBatchCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateAssociationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateDocumentCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateMaintenanceWindowCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateOpsItemCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateOpsMetadataCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreatePatchBaselineCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateResourceDataSyncCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteActivationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteAssociationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteDocumentCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteInventoryCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteMaintenanceWindowCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteOpsItemCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteOpsMetadataCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteParameterCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteParametersCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeletePatchBaselineCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteResourceDataSyncCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterManagedInstanceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterPatchBaselineForPatchGroupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterTargetFromMaintenanceWindowCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterTaskFromMaintenanceWindowCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeActivationsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAssociationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAssociationExecutionTargetsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAssociationExecutionsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAutomationExecutionsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAutomationStepExecutionsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAvailablePatchesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeDocumentCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeDocumentPermissionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeEffectiveInstanceAssociationsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeEffectivePatchesForPatchBaselineCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstanceAssociationsStatusCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstanceInformationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePatchStatesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePatchStatesForPatchGroupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePatchesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePropertiesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInventoryDeletionsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowExecutionTasksCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowExecutionsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowScheduleCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowTargetsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowTasksCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowsForTargetCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeOpsItemsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeParametersCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribePatchBaselinesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribePatchGroupStateCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribePatchGroupsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribePatchPropertiesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeSessionsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/DisassociateOpsItemRelatedItemCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetAccessTokenCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetAutomationExecutionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetCalendarStateCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetCommandInvocationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetConnectionStatusCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetDefaultPatchBaselineCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetDeployablePatchSnapshotForInstanceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetDocumentCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetExecutionPreviewCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetInventoryCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetInventorySchemaCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowExecutionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowExecutionTaskCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowTaskCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetOpsItemCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetOpsMetadataCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetOpsSummaryCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParameterCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParameterHistoryCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParametersByPathCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParametersCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetPatchBaselineCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetPatchBaselineForPatchGroupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetResourcePoliciesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetServiceSettingCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/LabelParameterVersionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListAssociationVersionsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListAssociationsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListCommandInvocationsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListCommandsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListComplianceItemsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListComplianceSummariesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListDocumentMetadataHistoryCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListDocumentVersionsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListDocumentsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListInventoryEntriesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListNodesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListNodesSummaryCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListOpsItemEventsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListOpsItemRelatedItemsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListOpsMetadataCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListResourceComplianceSummariesCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListResourceDataSyncCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ModifyDocumentPermissionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/PutComplianceItemsCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/PutInventoryCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/PutParameterCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/PutResourcePolicyCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterDefaultPatchBaselineCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterPatchBaselineForPatchGroupCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTargetWithMaintenanceWindowCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTaskWithMaintenanceWindowCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/RemoveTagsFromResourceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ResetServiceSettingCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/ResumeSessionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/SendAutomationSignalCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/SendCommandCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartAccessRequestCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartAssociationsOnceCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartAutomationExecutionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartChangeRequestExecutionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartExecutionPreviewCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartSessionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/StopAutomationExecutionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/TerminateSessionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/UnlabelParameterVersionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateAssociationCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateAssociationStatusCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateDocumentCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateDocumentDefaultVersionCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateDocumentMetadataCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateMaintenanceWindowCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateMaintenanceWindowTargetCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateMaintenanceWindowTaskCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateManagedInstanceRoleCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateOpsItemCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateOpsMetadataCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdatePatchBaselineCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateResourceDataSyncCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateServiceSettingCommand.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/index.js +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/pagination/index.js +9 -9
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +4 -6
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.shared.js +9 -6
- package/node_modules/@aws-sdk/client-ssm/dist-es/schemas/schemas_0.js +3821 -5462
- package/node_modules/@aws-sdk/client-ssm/dist-es/waiters/waitForCommandExecuted.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +358 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +1 -10
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationBatchCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationVersionsCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentMetadataHistoryCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartChangeRequestExecutionCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationStatusCommand.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentMetadataCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts +3 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +42 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +25 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/index.d.ts +9 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +6 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +6 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/schemas/schemas_0.d.ts +755 -956
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +366 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +0 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/index.d.ts +9 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/schemas/schemas_0.d.ts +750 -958
- package/node_modules/@aws-sdk/client-ssm/package.json +48 -46
- package/node_modules/@aws-sdk/core/LICENSE +201 -0
- package/node_modules/@aws-sdk/core/account-id-endpoint.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +183 -71
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +9 -1
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +174 -70
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +9 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +3 -3
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/UnionSerde.js +23 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/index.js +2 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +36 -14
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +28 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +10 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsEc2QueryProtocol.js +4 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +1 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +41 -9
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +11 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +17 -7
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +17 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/NodeAccountIdEndpointModeConfigOptions.d.ts +2 -2
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/UnionSerde.d.ts +24 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/index.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/JsonShapeDeserializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QuerySerializerSettings.d.ts +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/QueryShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/XmlShapeSerializer.d.ts +1 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/UnionSerde.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/index.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QuerySerializerSettings.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/QueryShapeSerializer.d.ts +6 -1
- package/node_modules/@aws-sdk/core/package.json +23 -23
- package/node_modules/@aws-sdk/crc64-nvme/LICENSE +201 -0
- package/node_modules/@aws-sdk/crc64-nvme/README.md +61 -0
- package/node_modules/@aws-sdk/crc64-nvme/dist-cjs/index.js +101 -0
- package/node_modules/@aws-sdk/crc64-nvme/dist-es/Crc64Nvme.js +92 -0
- package/node_modules/@aws-sdk/crc64-nvme/dist-es/index.js +2 -0
- package/node_modules/@aws-sdk/crc64-nvme/dist-types/Crc64Nvme.d.ts +24 -0
- package/node_modules/@aws-sdk/crc64-nvme/dist-types/crc64-nvme-crt-container.d.ts +13 -0
- package/node_modules/@aws-sdk/crc64-nvme/dist-types/index.d.ts +2 -0
- package/node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/Crc64Nvme.d.ts +9 -0
- package/node_modules/@aws-sdk/crc64-nvme/dist-types/ts3.4/index.d.ts +2 -0
- package/node_modules/@aws-sdk/crc64-nvme/package.json +50 -0
- package/node_modules/@aws-sdk/credential-provider-env/dist-types/fromEnv.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +14 -14
- package/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-es/fromHttp/fromHttp.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/checkUrl.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/fromHttp.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-http/dist-types/fromHttp/requestHelpers.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +19 -19
- package/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js +22 -24
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/fromIni.js +3 -10
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveAssumeRoleCredentials.js +4 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveLoginCredentials.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveProfileData.js +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js +4 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/fromIni.d.ts +4 -5
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveAssumeRoleCredentials.d.ts +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveCredentialSource.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveLoginCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProcessCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveProfileData.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveSsoCredentials.d.ts +2 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveStaticCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/resolveWebIdentityCredentials.d.ts +4 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/fromIni.d.ts +5 -3
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveAssumeRoleCredentials.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveLoginCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveProfileData.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveSsoCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/dist-types/ts3.4/resolveWebIdentityCredentials.d.ts +3 -1
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +23 -23
- package/node_modules/@aws-sdk/credential-provider-login/package.json +17 -17
- package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +8 -2
- package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +8 -2
- package/node_modules/@aws-sdk/credential-provider-node/package.json +21 -21
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-process/dist-es/resolveProcessCredentials.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/fromProcess.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/getValidatedProcessCredentials.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-process/dist-types/resolveProcessCredentials.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-process/package.json +15 -15
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js +6 -4
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js +8 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/fromSSO.js +2 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/loadSso.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-es/resolveSSOCredentials.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/fromSSO.d.ts +3 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/isSsoProfile.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/loadSso.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/resolveSSOCredentials.d.ts +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/fromSSO.d.ts +2 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/loadSso.d.ts +5 -2
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/ts3.4/resolveSSOCredentials.d.ts +1 -0
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/types.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-sso/dist-types/validateSsoProfile.d.ts +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +17 -17
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js +2 -2
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js +14 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js +1 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/dist-types/fromTokenFile.d.ts +1 -1
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +16 -16
- package/node_modules/@aws-sdk/dynamodb-codec/package.json +14 -17
- package/node_modules/@aws-sdk/endpoint-cache/dist-cjs/index.js +50 -131
- package/node_modules/@aws-sdk/endpoint-cache/dist-types/EndpointCache.d.ts +1 -1
- package/node_modules/@aws-sdk/endpoint-cache/package.json +10 -10
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/NodeDisableMultiregionAccessPointConfigOptions.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/NodeUseArnRegionConfigOptions.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketEndpointMiddleware.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostname.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/bucketHostnameUtils.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/dist-types/configurations.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-bucket-endpoint/package.json +15 -15
- package/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/configurations.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/endpointDiscoveryMiddleware.d.ts +3 -3
- package/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/getCacheKey.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/getEndpointDiscoveryPlugin.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/resolveEndpointDiscoveryConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-endpoint-discovery/dist-types/updateDiscoveredEndpointInCache.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-endpoint-discovery/package.json +14 -14
- package/node_modules/@aws-sdk/middleware-expect-continue/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-expect-continue/package.json +12 -12
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +76 -53
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js +25 -9
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsResponseMiddleware.js +10 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumAlgorithmForRequest.js +0 -5
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getChecksumAlgorithmListForResponse.js +10 -6
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getCrc32ChecksumAlgorithmFunction.js +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/getFlexibleChecksumsPlugin.js +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/index.js +0 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/resolveFlexibleChecksumsConfig.js +2 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/selectChecksumAlgorithmFunction.js +16 -13
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/configuration.d.ts +4 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsInputMiddleware.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsMiddleware.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/flexibleChecksumsResponseMiddleware.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksum.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksumAlgorithmForRequest.d.ts +3 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksumAlgorithmListForResponse.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getChecksumLocationName.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getCrc32ChecksumAlgorithmFunction.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/getFlexibleChecksumsPlugin.d.ts +5 -5
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/hasHeader.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/hasHeaderWithPrefix.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/index.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/resolveFlexibleChecksumsConfig.d.ts +16 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/selectChecksumAlgorithmFunction.d.ts +3 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/stringHasher.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/configuration.d.ts +2 -0
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksumAlgorithmForRequest.d.ts +3 -2
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/getChecksumLocationName.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/index.d.ts +0 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/resolveFlexibleChecksumsConfig.d.ts +11 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/ts3.4/selectChecksumAlgorithmFunction.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/validateChecksumFromResponse.d.ts +3 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +20 -19
- package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-host-header/package.json +12 -12
- package/node_modules/@aws-sdk/middleware-location-constraint/dist-types/configuration.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-location-constraint/dist-types/index.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-location-constraint/package.json +11 -11
- package/node_modules/@aws-sdk/middleware-logger/package.json +12 -12
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js +7 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/configuration.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/getRecursionDetectionPlugin.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/dist-types/recursionDetectionMiddleware.native.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +12 -12
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +2 -3
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressHttpSigningMiddleware.js +0 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/bucket-endpoint-middleware.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/check-content-length-header.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-endpoint-middleware.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/region-redirect-middleware.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-expires-middleware.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCache.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityCacheEntry.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/S3ExpressIdentityProviderImpl.d.ts +3 -3
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/classes/SignatureV4S3Express.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressHttpSigningMiddleware.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/s3ExpressMiddleware.d.ts +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/functions/signS3Express.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentity.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3-express/interfaces/S3ExpressIdentityProvider.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/s3Configuration.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/throw-200-exceptions.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/validate-bucket-name.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +22 -22
- package/node_modules/@aws-sdk/middleware-ssec/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-ssec/package.json +11 -11
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +9 -9
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +9 -9
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/check-features.d.ts +4 -2
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/configurations.d.ts +1 -1
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/ts3.4/check-features.d.ts +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/dist-types/user-agent-middleware.d.ts +2 -2
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +16 -15
- package/node_modules/@aws-sdk/nested-clients/cognito-identity.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/cognito-identity.js +5 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +60 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/endpoint/ruleset.js +146 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +174 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/CognitoIdentityServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/models/errors.js +121 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.browser.js +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.js +53 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/schemas/schemas_0.js +110 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js +128 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +27 -190
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js +64 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +8 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +56 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js +18 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js +106 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +160 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js +56 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.browser.js +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +53 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js +15 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +49 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js +90 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js +101 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +27 -332
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js +195 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +8 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js +140 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js +140 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +36 -294
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js +12 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js +95 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +9 -6
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js +195 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +54 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js +16 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js +16 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/commands/index.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/EndpointParameters.js +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/ruleset.js +143 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/index.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/CognitoIdentityServiceException.js +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/models/errors.js +109 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +33 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +48 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +46 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +107 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/commands/CreateOAuth2TokenCommand.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/ruleset.js +128 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/index.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +8 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +34 -26
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/GetRoleCredentialsCommand.js +16 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/commands/index.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/endpointResolver.js +14 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/ruleset.js +103 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/index.js +7 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/models/models_0.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +33 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +48 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js +11 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js +45 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeExtensions.js +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +87 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/commands/CreateTokenCommand.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/ruleset.js +101 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/index.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +8 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +64 -53
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleCommand.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/commands/AssumeRoleWithWebIdentityCommand.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultStsRoleAssumers.js +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/ruleset.js +140 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/index.js +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +9 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +85 -79
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +198 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +30 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +120 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/GetIdCommand.d.ts +107 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +29 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +14 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/errors.d.ts +119 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/models/models_0.d.ts +136 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +62 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +62 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +61 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeExtensions.d.ts +17 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/schemas/schemas_0.d.ts +25 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +4 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/endpoint/ruleset.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/models/errors.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +6 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +19 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +32 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts +198 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +30 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +97 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/EndpointParameters.d.ts +50 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/endpoint/ruleset.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/index.d.ts +30 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/models_0.d.ts +61 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +62 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +62 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +61 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/schemas/schemas_0.d.ts +17 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +4 -12
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/endpoint/ruleset.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/errors.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +6 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/schemas/schemas_0.d.ts +23 -22
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +5 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/defaultStsRoleAssumers.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/endpoint/ruleset.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +6 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +6 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/schemas/schemas_0.d.ts +27 -26
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentity.d.ts +38 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +126 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/GetIdCommand.d.ts +41 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/extensionConfiguration.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/index.d.ts +10 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/CognitoIdentityServiceException.d.ts +9 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/errors.d.ts +68 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/models/models_0.d.ts +23 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +122 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +117 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +126 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +60 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeExtensions.d.ts +13 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/schemas/schemas_0.d.ts +24 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +5 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +9 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/schemas/schemas_0.d.ts +13 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSO.d.ts +22 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +117 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/GetRoleCredentialsCommand.d.ts +47 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/commands/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/EndpointParameters.d.ts +51 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/endpoint/endpointResolver.d.ts +8 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/index.d.ts +10 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/models/models_0.d.ts +14 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +120 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +115 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +124 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +58 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/schemas/schemas_0.d.ts +16 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +1 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +9 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/schemas/schemas_0.d.ts +17 -22
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +5 -7
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/index.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +9 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +9 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/schemas/schemas_0.d.ts +21 -27
- package/node_modules/@aws-sdk/nested-clients/package.json +62 -42
- package/node_modules/@aws-sdk/nested-clients/sso.d.ts +7 -0
- package/node_modules/@aws-sdk/nested-clients/sso.js +5 -0
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +13 -24
- package/node_modules/@aws-sdk/region-config-resolver/package.json +13 -13
- package/node_modules/@aws-sdk/s3-request-presigner/dist-types/getSignedUrl.d.ts +2 -2
- package/node_modules/@aws-sdk/s3-request-presigner/dist-types/presigner.d.ts +3 -3
- package/node_modules/@aws-sdk/s3-request-presigner/package.json +17 -17
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +1 -1
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4MultiRegion.d.ts +2 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +12 -12
- package/node_modules/@aws-sdk/token-providers/dist-cjs/index.js +8 -15
- package/node_modules/@aws-sdk/token-providers/dist-es/fromSso.js +2 -9
- package/node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-es/writeSSOTokenToFile.js +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/fromSso.d.ts +3 -3
- package/node_modules/@aws-sdk/token-providers/dist-types/fromStatic.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/getNewSsoOidcToken.d.ts +5 -4
- package/node_modules/@aws-sdk/token-providers/dist-types/getSsoOidcClient.d.ts +3 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/nodeProvider.d.ts +2 -2
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/fromSso.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getNewSsoOidcToken.d.ts +3 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/ts3.4/getSsoOidcClient.d.ts +3 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/validateTokenExpiry.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/dist-types/writeSSOTokenToFile.d.ts +1 -1
- package/node_modules/@aws-sdk/token-providers/package.json +14 -14
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -12
- package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +3 -3
- package/node_modules/@aws-sdk/types/dist-types/extensions/index.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/http.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/AnonymousIdentity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/identity/LoginIdentity.d.ts +1 -1
- package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +2 -2
- package/node_modules/@aws-sdk/types/dist-types/token.d.ts +2 -2
- package/node_modules/@aws-sdk/types/package.json +10 -10
- package/node_modules/@aws-sdk/util-arn-parser/dist-cjs/index.js +24 -61
- package/node_modules/@aws-sdk/util-arn-parser/dist-types/index.d.ts +9 -0
- package/node_modules/@aws-sdk/util-arn-parser/package.json +10 -10
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +4 -13
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/aws.d.ts +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/parseArn.d.ts +1 -1
- package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +1 -1
- package/node_modules/@aws-sdk/util-endpoints/package.json +11 -11
- package/node_modules/@aws-sdk/util-format-url/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/util-format-url/package.json +12 -12
- package/node_modules/@aws-sdk/util-locate-window/dist-cjs/index.js +10 -38
- package/node_modules/@aws-sdk/util-locate-window/package.json +10 -10
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/util-user-agent-browser/dist-types/index.native.d.ts +2 -2
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +10 -10
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +133 -6
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/defaultUserAgent.js +10 -3
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getNodeModulesParentDirs.js +15 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getRuntimeUserAgentPair.js +10 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedDevTypeScriptVersion.js +14 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getSanitizedTypeScriptVersion.js +9 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-es/getTypeScriptUserAgentPair.js +75 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/defaultUserAgent.d.ts +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getNodeModulesParentDirs.d.ts +10 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getRuntimeUserAgentPair.d.ts +6 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedDevTypeScriptVersion.d.ts +8 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getSanitizedTypeScriptVersion.d.ts +8 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/getTypeScriptUserAgentPair.d.ts +6 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/is-crt-available.d.ts +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/nodeAppIdConfigOptions.d.ts +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getNodeModulesParentDirs.d.ts +1 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getRuntimeUserAgentPair.d.ts +2 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedDevTypeScriptVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getSanitizedTypeScriptVersion.d.ts +3 -0
- package/node_modules/@aws-sdk/util-user-agent-node/dist-types/ts3.4/getTypeScriptUserAgentPair.d.ts +4 -0
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +18 -15
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +1 -4
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +1 -0
- package/node_modules/@aws-sdk/xml-builder/dist-types/XmlNode.d.ts +1 -1
- package/node_modules/@aws-sdk/xml-builder/dist-types/XmlText.d.ts +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +52 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +7 -6
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +96 -13
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +9 -6
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +92 -14
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +1 -26
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/EntitiesParser.js +89 -87
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OptionsBuilder.js +10 -10
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/BaseOutputBuilder.js +23 -23
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsArrBuilder.js +29 -29
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsMinArrBuilder.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/JsObjBuilder.js +39 -39
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/OutputBuilders/ParserOptionsBuilder.js +21 -21
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/XMLParser.js +22 -22
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/v6/valueParsers/EntitiesParser.js +85 -85
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/validator.js +34 -34
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js +5 -284
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +315 -293
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +86 -44
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +309 -186
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +22 -22
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +38 -34
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/xmlNode.js +10 -10
- package/node_modules/@aws-sdk/xml-builder/package.json +12 -12
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/.jsii +4627 -236
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/README.adoc +8 -9
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/lib/index.d.ts +6 -4
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/lib/index.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/package.json +6 -7
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-add-secondary-index.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-add-secondary-index.js.snapshot/cdk.out +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-add-secondary-index.js.snapshot/integ.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-add-secondary-index.js.snapshot/lamddb-add-secondary-index.assets.json +4 -18
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-add-secondary-index.js.snapshot/lamddb-add-secondary-index.template.json +7 -26
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-add-secondary-index.js.snapshot/lamddbaddsecondaryindexIntegDefaultTestDeployAssert3193B4D9.assets.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-add-secondary-index.js.snapshot/manifest.json +38 -22
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-add-secondary-index.js.snapshot/tree.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/cdk.out +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/integ.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.assets.json +4 -18
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.template.json +7 -15
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddbdeployFunctionWithExistingVpcIntegDefaultTestDeployAssertEE08E38E.assets.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/manifest.json +38 -24
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/tree.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/cdk.out +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/integ.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.assets.json +4 -18
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.template.json +7 -15
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddbdeployFunctionWithVpcIntegDefaultTestDeployAssert0AB8275C.assets.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/manifest.json +38 -24
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/tree.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-no-arguments.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-no-arguments.js.snapshot/cdk.out +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-no-arguments.js.snapshot/integ.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-no-arguments.js.snapshot/lamddb-no-arguments.assets.json +4 -18
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-no-arguments.js.snapshot/lamddb-no-arguments.template.json +7 -15
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-no-arguments.js.snapshot/lamddbnoargumentsIntegDefaultTestDeployAssert248B75D0.assets.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-no-arguments.js.snapshot/manifest.json +38 -18
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-no-arguments.js.snapshot/tree.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/cdk.out +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/integ.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddb-point-in-time-recovery.assets.json +4 -18
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddb-point-in-time-recovery.template.json +7 -15
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddbpointintimerecoveryIntegDefaultTestDeployAssertB0CCD339.assets.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/manifest.json +38 -18
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/tree.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-set-billing-mode.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-set-billing-mode.js.snapshot/cdk.out +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-set-billing-mode.js.snapshot/integ.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-set-billing-mode.js.snapshot/lamddb-set-billing-mode.assets.json +4 -18
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-set-billing-mode.js.snapshot/lamddb-set-billing-mode.template.json +7 -15
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-set-billing-mode.js.snapshot/lamddbsetbillingmodeIntegDefaultTestDeployAssertDAE32272.assets.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-set-billing-mode.js.snapshot/manifest.json +38 -18
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-set-billing-mode.js.snapshot/tree.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-use-existing-func.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-use-existing-func.js.snapshot/cdk.out +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-use-existing-func.js.snapshot/integ.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-use-existing-func.js.snapshot/lamddb-use-existing-func.assets.json +4 -18
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-use-existing-func.js.snapshot/lamddb-use-existing-func.template.json +7 -15
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-use-existing-func.js.snapshot/lamddbuseexistingfuncIntegDefaultTestDeployAssert48D284DD.assets.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-use-existing-func.js.snapshot/manifest.json +38 -18
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-use-existing-func.js.snapshot/tree.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/lambda-dynamodb.test.js +75 -67
- package/node_modules/@aws-solutions-constructs/core/.jsii +15390 -0
- package/node_modules/@aws-solutions-constructs/core/index.d.ts +82 -0
- package/node_modules/@aws-solutions-constructs/core/index.js +99 -0
- package/node_modules/@aws-solutions-constructs/core/lib/constructs-feature-flags.d.ts +23 -0
- package/node_modules/@aws-solutions-constructs/core/lib/constructs-feature-flags.js +69 -0
- package/node_modules/@aws-solutions-constructs/core/lib/glue-job-helper.js +210 -0
- package/node_modules/@aws-solutions-constructs/core/lib/polly-helper.d.ts +50 -0
- package/node_modules/@aws-solutions-constructs/core/lib/polly-helper.js +138 -0
- package/node_modules/@aws-solutions-constructs/core/lib/step-function-helper.js +164 -0
- package/node_modules/@aws-solutions-constructs/core/lib/textract-helper.d.ts +63 -0
- package/node_modules/@aws-solutions-constructs/core/lib/textract-helper.js +220 -0
- package/node_modules/@aws-solutions-constructs/core/lib/validation.d.ts +60 -0
- package/node_modules/@aws-solutions-constructs/core/lib/validation.js +594 -0
- package/node_modules/@aws-solutions-constructs/core/lib/vpc-helper.d.ts +77 -0
- package/node_modules/@aws-solutions-constructs/core/lib/vpc-helper.js +291 -0
- package/node_modules/@aws-solutions-constructs/core/node_modules/@aws-cdk/cloud-assembly-schema/.jsii +6036 -0
- package/node_modules/@aws-solutions-constructs/core/node_modules/@aws-cdk/cloud-assembly-schema/.jsii.tabl.json +1 -0
- package/node_modules/@aws-solutions-constructs/core/node_modules/@aws-cdk/cloud-assembly-schema/cli-version.json +1 -0
- package/node_modules/@aws-solutions-constructs/core/node_modules/@aws-cdk/cloud-assembly-schema/lib/cloud-assembly/artifact-schema.d.ts +301 -0
- package/node_modules/@aws-solutions-constructs/core/node_modules/@aws-cdk/cloud-assembly-schema/lib/cloud-assembly/artifact-schema.js +3 -0
- package/node_modules/@aws-solutions-constructs/core/node_modules/@aws-cdk/cloud-assembly-schema/lib/cloud-assembly/context-queries.d.ts +462 -0
- package/node_modules/@aws-solutions-constructs/core/node_modules/@aws-cdk/cloud-assembly-schema/lib/cloud-assembly/context-queries.js +102 -0
- package/node_modules/@aws-solutions-constructs/core/node_modules/@aws-cdk/cloud-assembly-schema/lib/manifest.d.ts +133 -0
- package/node_modules/@aws-solutions-constructs/core/node_modules/@aws-cdk/cloud-assembly-schema/lib/manifest.js +264 -0
- package/node_modules/@aws-solutions-constructs/core/node_modules/@aws-cdk/cloud-assembly-schema/node_modules/semver/classes/range.js +557 -0
- package/node_modules/@aws-solutions-constructs/core/node_modules/@aws-cdk/cloud-assembly-schema/node_modules/semver/classes/semver.js +333 -0
- package/node_modules/@aws-solutions-constructs/core/node_modules/@aws-cdk/cloud-assembly-schema/node_modules/semver/internal/identifiers.js +29 -0
- package/node_modules/@aws-solutions-constructs/core/node_modules/@aws-cdk/cloud-assembly-schema/node_modules/semver/package.json +78 -0
- package/node_modules/@aws-solutions-constructs/core/node_modules/@aws-cdk/cloud-assembly-schema/package.json +133 -0
- package/node_modules/@aws-solutions-constructs/core/node_modules/@aws-cdk/cloud-assembly-schema/schema/cloud-assembly.schema.json +1193 -0
- package/node_modules/@aws-solutions-constructs/core/node_modules/@aws-cdk/cloud-assembly-schema/schema/version.json +5 -0
- package/node_modules/@aws-solutions-constructs/core/nohoist.sh +16 -0
- package/node_modules/@aws-solutions-constructs/core/package.json +94 -0
- package/node_modules/@aws-solutions-constructs/core/test/alb-helper.test.js +520 -0
- package/node_modules/@aws-solutions-constructs/core/test/apigateway-helper.test.js +819 -0
- package/node_modules/@aws-solutions-constructs/core/test/bedrock-inference-helper.test.js +207 -0
- package/node_modules/@aws-solutions-constructs/core/test/cloudfront-distribution-s3-helper.test.js +1038 -0
- package/node_modules/@aws-solutions-constructs/core/test/constructs-feature-flags.test.js +81 -0
- package/node_modules/@aws-solutions-constructs/core/test/dynamo-table.test.js +639 -0
- package/node_modules/@aws-solutions-constructs/core/test/elasticsearch-helper.test.js +454 -0
- package/node_modules/@aws-solutions-constructs/core/test/eventbridge-helper.test.js +77 -0
- package/node_modules/@aws-solutions-constructs/core/test/fargate-helper.test.js +355 -0
- package/node_modules/@aws-solutions-constructs/core/test/glue-job-helper.test.js +595 -0
- package/node_modules/@aws-solutions-constructs/core/test/kendra-helper.test.js +489 -0
- package/node_modules/@aws-solutions-constructs/core/test/kinesis-streams-helper.test.js +99 -0
- package/node_modules/@aws-solutions-constructs/core/test/lambda-helper.test.js +486 -0
- package/node_modules/@aws-solutions-constructs/core/test/opensearch-helper.test.js +416 -0
- package/node_modules/@aws-solutions-constructs/core/test/override-warning-service.test.js +285 -0
- package/node_modules/@aws-solutions-constructs/core/test/pipes-helper.test.js +787 -0
- package/node_modules/@aws-solutions-constructs/core/test/polly-helper.test.js +495 -0
- package/node_modules/@aws-solutions-constructs/core/test/s3-bucket.test.js +384 -0
- package/node_modules/@aws-solutions-constructs/core/test/sagemaker-helper.test.js +244 -0
- package/node_modules/@aws-solutions-constructs/core/test/secretsmanager-helper.test.js +66 -0
- package/node_modules/@aws-solutions-constructs/core/test/sns-helper.test.js +367 -0
- package/node_modules/@aws-solutions-constructs/core/test/sqs-helper.test.js +361 -0
- package/node_modules/@aws-solutions-constructs/core/test/step-function-helper.test.js +441 -0
- package/node_modules/@aws-solutions-constructs/core/test/test-helper.d.ts +59 -0
- package/node_modules/@aws-solutions-constructs/core/test/test-helper.js +349 -0
- package/node_modules/@aws-solutions-constructs/core/test/textract-helper.test.js +857 -0
- package/node_modules/@aws-solutions-constructs/core/test/utils.test.js +275 -0
- package/node_modules/@aws-solutions-constructs/core/test/validation.test.js +218 -0
- package/node_modules/@aws-solutions-constructs/core/test/vpc-helper.test.js +308 -0
- package/node_modules/@aws-solutions-constructs/core/test/waf-helper.test.d.ts +13 -0
- package/node_modules/@aws-solutions-constructs/core/test/waf-helper.test.js +339 -0
- package/node_modules/@aws-solutions-constructs/core/test/websocket-api-defaults.test.d.ts +13 -0
- package/node_modules/@aws-solutions-constructs/core/test/websocket-api-helper.test.d.ts +13 -0
- package/node_modules/@aws-solutions-constructs/core/test/websocket-api-helper.test.js +471 -0
- package/node_modules/@gemeentenijmegen/apiclient/.nvmrc +1 -0
- package/node_modules/@gemeentenijmegen/apiclient/lib/index.js +1 -1
- package/node_modules/@gemeentenijmegen/apiclient/package.json +6 -6
- package/node_modules/@gemeentenijmegen/apigateway-http/.nvmrc +1 -0
- package/node_modules/@gemeentenijmegen/apigateway-http/package.json +4 -4
- package/node_modules/@gemeentenijmegen/aws-constructs/.jsii +4 -4
- package/node_modules/@gemeentenijmegen/aws-constructs/.nvmrc +1 -0
- package/node_modules/@gemeentenijmegen/aws-constructs/API.md +88 -0
- package/node_modules/@gemeentenijmegen/aws-constructs/lib/Criticality/Criticality.js +1 -1
- package/node_modules/@gemeentenijmegen/aws-constructs/lib/DeadLetterQueue.js +1 -1
- package/node_modules/@gemeentenijmegen/aws-constructs/lib/ErrorMonitoringAlarm.js +1 -1
- package/node_modules/@gemeentenijmegen/aws-constructs/lib/PermissionsBoundaryAspect.js +1 -1
- package/node_modules/@gemeentenijmegen/aws-constructs/lib/QueueWithDlq.js +1 -1
- package/node_modules/@gemeentenijmegen/aws-constructs/lib/Vpc.js +1 -1
- package/node_modules/@gemeentenijmegen/aws-constructs/package.json +9 -9
- package/node_modules/@gemeentenijmegen/session/.nvmrc +1 -0
- package/node_modules/@gemeentenijmegen/session/package.json +4 -4
- package/node_modules/@smithy/abort-controller/package.json +7 -7
- package/node_modules/@smithy/chunked-blob-reader/package.json +6 -6
- package/node_modules/@smithy/chunked-blob-reader-native/package.json +7 -7
- package/node_modules/@smithy/config-resolver/package.json +11 -11
- package/node_modules/@smithy/core/dist-cjs/index.js +2 -6
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +61 -22
- package/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js +22 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +9 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +50 -5
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +97 -19
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +1 -4
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +1 -2
- package/node_modules/@smithy/core/dist-es/submodules/cbor/CborCodec.js +42 -11
- package/node_modules/@smithy/core/dist-es/submodules/cbor/SmithyRpcV2CborProtocol.js +15 -11
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +7 -1
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/endpoints/toEndpointV1.js +17 -0
- package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +9 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +30 -3
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +19 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +24 -5
- package/node_modules/@smithy/core/dist-es/submodules/schema/middleware/schemaSerializationMiddleware.js +3 -2
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +62 -11
- package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/translateTraits.js +5 -1
- package/node_modules/@smithy/core/dist-types/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/endpoints/toEndpointV1.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/HttpProtocol.d.ts +14 -1
- package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/submodules/protocols/SerdeContext.d.ts +10 -2
- package/node_modules/@smithy/core/dist-types/submodules/schema/TypeRegistry.d.ts +8 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +17 -1
- package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/translateTraits.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/cbor/SmithyRpcV2CborProtocol.d.ts +7 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/endpoints/toEndpointV1.d.ts +6 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpBindingProtocol.d.ts +5 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/HttpProtocol.d.ts +14 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +5 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/SerdeContext.d.ts +10 -2
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/TypeRegistry.d.ts +8 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +17 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/translateTraits.d.ts +6 -0
- package/node_modules/@smithy/core/endpoints.d.ts +7 -0
- package/node_modules/@smithy/core/endpoints.js +6 -0
- package/node_modules/@smithy/core/package.json +28 -17
- package/node_modules/@smithy/credential-provider-imds/package.json +10 -10
- package/node_modules/@smithy/eventstream-codec/package.json +9 -9
- package/node_modules/@smithy/eventstream-serde-browser/package.json +8 -8
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +7 -7
- package/node_modules/@smithy/eventstream-serde-node/package.json +8 -8
- package/node_modules/@smithy/eventstream-serde-universal/package.json +9 -9
- package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +21 -4
- package/node_modules/@smithy/fetch-http-handler/dist-es/fetch-http-handler.js +21 -4
- package/node_modules/@smithy/fetch-http-handler/package.json +11 -11
- package/node_modules/@smithy/hash-blob-browser/package.json +10 -10
- package/node_modules/@smithy/hash-node/package.json +9 -9
- package/node_modules/@smithy/hash-stream-node/package.json +9 -9
- package/node_modules/@smithy/invalid-dependency/package.json +7 -7
- package/node_modules/@smithy/is-array-buffer/package.json +6 -6
- package/node_modules/@smithy/md5-js/package.json +10 -10
- package/node_modules/@smithy/middleware-content-length/package.json +8 -8
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +28 -4
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js +10 -2
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js +10 -1
- package/node_modules/@smithy/middleware-endpoint/dist-es/adaptors/toEndpointV1.js +8 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/createConfigValueProvider.d.ts +2 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/adaptors/toEndpointV1.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/createConfigValueProvider.d.ts +2 -1
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/adaptors/toEndpointV1.d.ts +1 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +13 -13
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +9 -12
- package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +9 -12
- package/node_modules/@smithy/middleware-retry/package.json +14 -14
- package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +3 -2
- package/node_modules/@smithy/middleware-serde/dist-es/serializerMiddleware.js +3 -2
- package/node_modules/@smithy/middleware-serde/package.json +9 -8
- package/node_modules/@smithy/middleware-stack/package.json +7 -7
- package/node_modules/@smithy/node-config-provider/package.json +9 -9
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +77 -47
- package/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js +19 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +41 -35
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-connection-manager.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +4 -5
- package/node_modules/@smithy/node-http-handler/dist-es/readable.mock.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/server.mock.js +6 -6
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/collector.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/stream-collector/readable.mock.js +1 -1
- package/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js +10 -3
- package/node_modules/@smithy/node-http-handler/dist-types/build-abort-error.d.ts +10 -0
- package/node_modules/@smithy/node-http-handler/dist-types/get-transformed-headers.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-manager.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-connection-pool.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/server.mock.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/dist-types/set-connection-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-request-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-keep-alive.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/set-socket-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/collector.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/stream-collector/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/build-abort-error.d.ts +10 -0
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/get-transformed-headers.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +4 -4
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-manager.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http2-connection-pool.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/server.mock.d.ts +3 -3
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-connection-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-request-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-keep-alive.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/set-socket-timeout.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/collector.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/stream-collector/readable.mock.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/write-request-body.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/write-request-body.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/package.json +10 -10
- package/node_modules/@smithy/property-provider/package.json +7 -7
- package/node_modules/@smithy/protocol-http/package.json +7 -7
- package/node_modules/@smithy/querystring-builder/package.json +8 -8
- package/node_modules/@smithy/querystring-parser/package.json +7 -7
- package/node_modules/@smithy/service-error-classification/package.json +7 -7
- package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +16 -14
- package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -7
- package/node_modules/@smithy/signature-v4/package.json +13 -13
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +65 -19
- package/node_modules/@smithy/smithy-client/dist-es/client.js +6 -0
- package/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js +29 -3
- package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +20 -1
- package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +33 -7
- package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +8 -1
- package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +9 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +33 -7
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +8 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +9 -7
- package/node_modules/@smithy/smithy-client/package.json +15 -13
- package/node_modules/@smithy/types/dist-types/extensions/checksum.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/http.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/schema/schema-deprecated.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/schema/schema.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/schema/static-schemas.d.ts +19 -2
- package/node_modules/@smithy/types/dist-types/ts3.4/extensions/checksum.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/http.d.ts +1 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema-deprecated.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/schema.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/schema/static-schemas.d.ts +19 -2
- package/node_modules/@smithy/types/package.json +5 -5
- package/node_modules/@smithy/url-parser/package.json +8 -8
- package/node_modules/@smithy/util-base64/dist-cjs/index.js +14 -6
- package/node_modules/@smithy/util-base64/package.json +8 -8
- package/node_modules/@smithy/util-body-length-browser/package.json +6 -6
- package/node_modules/@smithy/util-body-length-node/package.json +6 -6
- package/node_modules/@smithy/util-buffer-from/package.json +7 -7
- package/node_modules/@smithy/util-config-provider/package.json +6 -6
- package/node_modules/@smithy/util-defaults-mode-browser/dist-cjs/index.js +7 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +9 -9
- package/node_modules/@smithy/util-defaults-mode-node/package.json +12 -12
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js +1 -1
- package/node_modules/@smithy/util-endpoints/package.json +8 -8
- package/node_modules/@smithy/util-hex-encoding/package.json +6 -6
- package/node_modules/@smithy/util-middleware/package.json +7 -7
- package/node_modules/@smithy/util-retry/package.json +8 -8
- package/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js +13 -2
- package/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js +20 -9
- package/node_modules/@smithy/util-stream/dist-cjs/index.js +51 -27
- package/node_modules/@smithy/util-stream/dist-es/checksum/ChecksumStream.js +13 -2
- package/node_modules/@smithy/util-stream/dist-es/getAwsChunkedEncodingStream.js +19 -7
- package/node_modules/@smithy/util-stream/dist-es/index.js +1 -1
- package/node_modules/@smithy/util-stream/dist-types/checksum/ChecksumStream.d.ts +8 -7
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.browser.d.ts +2 -3
- package/node_modules/@smithy/util-stream/dist-types/checksum/createChecksumStream.d.ts +4 -2
- package/node_modules/@smithy/util-stream/dist-types/createBufferedReadable.d.ts +4 -1
- package/node_modules/@smithy/util-stream/dist-types/getAwsChunkedEncodingStream.d.ts +7 -3
- package/node_modules/@smithy/util-stream/dist-types/headStream.browser.d.ts +1 -2
- package/node_modules/@smithy/util-stream/dist-types/headStream.d.ts +2 -2
- package/node_modules/@smithy/util-stream/dist-types/index.d.ts +4 -1
- package/node_modules/@smithy/util-stream/dist-types/splitStream.d.ts +3 -0
- package/node_modules/@smithy/util-stream/dist-types/stream-type-check.d.ts +2 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/ChecksumStream.d.ts +8 -7
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.browser.d.ts +2 -3
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/checksum/createChecksumStream.d.ts +4 -2
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadable.d.ts +4 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/getAwsChunkedEncodingStream.d.ts +7 -3
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.browser.d.ts +1 -2
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/headStream.d.ts +2 -2
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/index.d.ts +4 -1
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/splitStream.d.ts +3 -0
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/stream-type-check.d.ts +2 -1
- package/node_modules/@smithy/util-stream/package.json +13 -13
- package/node_modules/@smithy/util-uri-escape/package.json +6 -6
- package/node_modules/@smithy/util-utf8/package.json +7 -7
- package/node_modules/@smithy/util-waiter/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/util-waiter/dist-es/poller.js +1 -1
- package/node_modules/@smithy/util-waiter/package.json +8 -8
- package/node_modules/@smithy/uuid/package.json +6 -6
- package/node_modules/@types/aws-lambda/README.md +1 -1
- package/node_modules/@types/aws-lambda/handler.d.ts +1 -1
- package/node_modules/@types/aws-lambda/package.json +2 -2
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/inbound-federation.d.ts +40 -0
- package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/index.d.ts +3 -1
- package/node_modules/axios/CHANGELOG.md +460 -403
- package/node_modules/axios/MIGRATION_GUIDE.md +876 -2
- package/node_modules/axios/README.md +584 -447
- package/node_modules/axios/dist/axios.js +873 -881
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +4 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +1142 -812
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +1143 -813
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +1816 -1415
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +256 -112
- package/node_modules/axios/index.d.ts +341 -116
- package/node_modules/axios/index.js +3 -3
- package/node_modules/axios/lib/adapters/README.md +5 -6
- package/node_modules/axios/lib/adapters/adapters.js +18 -14
- package/node_modules/axios/lib/adapters/fetch.js +138 -92
- package/node_modules/axios/lib/adapters/http.js +615 -561
- package/node_modules/axios/lib/adapters/xhr.js +189 -167
- package/node_modules/axios/lib/axios.js +6 -6
- package/node_modules/axios/lib/cancel/CancelToken.js +4 -4
- package/node_modules/axios/lib/cancel/CanceledError.js +15 -18
- package/node_modules/axios/lib/core/Axios.js +66 -43
- package/node_modules/axios/lib/core/AxiosError.js +64 -84
- package/node_modules/axios/lib/core/AxiosHeaders.js +54 -24
- package/node_modules/axios/lib/core/InterceptorManager.js +3 -2
- package/node_modules/axios/lib/core/dispatchRequest.js +25 -29
- package/node_modules/axios/lib/core/mergeConfig.js +8 -7
- package/node_modules/axios/lib/core/settle.js +11 -7
- package/node_modules/axios/lib/core/transformData.js +1 -1
- package/node_modules/axios/lib/defaults/index.js +85 -74
- package/node_modules/axios/lib/defaults/transitional.js +2 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/AxiosTransformStream.js +37 -24
- package/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +12 -8
- package/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js +5 -4
- package/node_modules/axios/lib/helpers/buildURL.js +18 -19
- package/node_modules/axios/lib/helpers/callbackify.js +13 -11
- package/node_modules/axios/lib/helpers/composeSignals.js +22 -14
- package/node_modules/axios/lib/helpers/cookies.js +45 -50
- package/node_modules/axios/lib/helpers/deprecatedMethod.js +9 -4
- package/node_modules/axios/lib/helpers/formDataToJSON.js +1 -1
- package/node_modules/axios/lib/helpers/formDataToStream.js +32 -26
- package/node_modules/axios/lib/helpers/fromDataURI.js +2 -2
- package/node_modules/axios/lib/helpers/isAbsoluteURL.js +4 -0
- package/node_modules/axios/lib/helpers/isAxiosError.js +2 -2
- package/node_modules/axios/lib/helpers/isURLSameOrigin.js +13 -11
- package/node_modules/axios/lib/helpers/parseHeaders.js +35 -21
- package/node_modules/axios/lib/helpers/parseProtocol.js +1 -1
- package/node_modules/axios/lib/helpers/progressEventReducer.js +22 -15
- package/node_modules/axios/lib/helpers/readBlob.js +4 -4
- package/node_modules/axios/lib/helpers/resolveConfig.js +23 -14
- package/node_modules/axios/lib/helpers/speedometer.js +1 -1
- package/node_modules/axios/lib/helpers/spread.js +1 -1
- package/node_modules/axios/lib/helpers/throttle.js +4 -4
- package/node_modules/axios/lib/helpers/toFormData.js +43 -25
- package/node_modules/axios/lib/helpers/toURLEncodedForm.js +2 -2
- package/node_modules/axios/lib/helpers/trackStream.js +33 -31
- package/node_modules/axios/lib/helpers/validator.js +16 -5
- package/node_modules/axios/lib/platform/browser/classes/Blob.js +2 -2
- package/node_modules/axios/lib/platform/browser/index.js +5 -5
- package/node_modules/axios/lib/platform/common/utils.js +6 -5
- package/node_modules/axios/lib/platform/index.js +2 -2
- package/node_modules/axios/lib/platform/node/index.js +9 -10
- package/node_modules/axios/lib/utils.js +243 -106
- package/node_modules/axios/package.json +57 -70
- package/node_modules/bowser/README.md +72 -3
- package/node_modules/bowser/bundled.js +1 -1
- package/node_modules/bowser/es5.js +1 -1
- package/node_modules/bowser/index.d.ts +44 -6
- package/node_modules/bowser/package.json +10 -5
- package/node_modules/bowser/src/bowser.js +24 -8
- package/node_modules/bowser/src/constants.js +8 -0
- package/node_modules/bowser/src/parser-browsers.js +89 -0
- package/node_modules/bowser/src/parser-platforms.js +42 -0
- package/node_modules/bowser/src/parser.js +86 -5
- package/node_modules/constructs/.jsii +1471 -0
- package/node_modules/constructs/API.md +1295 -0
- package/node_modules/constructs/README.md +32 -0
- package/node_modules/constructs/lib/construct.d.ts +376 -0
- package/node_modules/constructs/lib/construct.js +526 -0
- package/node_modules/constructs/lib/dependency.d.ts +69 -0
- package/node_modules/constructs/lib/dependency.js +88 -0
- package/node_modules/constructs/lib/index.d.ts +4 -0
- package/node_modules/constructs/lib/index.js +19 -0
- package/node_modules/constructs/lib/mixin.d.ts +15 -0
- package/node_modules/constructs/lib/mixin.js +3 -0
- package/node_modules/constructs/package.json +154 -0
- package/node_modules/fast-xml-builder/CHANGELOG.md +16 -0
- package/node_modules/fast-xml-builder/LICENSE +21 -0
- package/node_modules/fast-xml-builder/README.md +23 -0
- package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
- package/node_modules/fast-xml-builder/lib/fxb.d.cts +180 -0
- package/node_modules/fast-xml-builder/lib/fxb.min.js +2 -0
- package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -0
- package/node_modules/fast-xml-builder/package.json +80 -0
- package/node_modules/fast-xml-builder/src/fxb.d.ts +180 -0
- package/node_modules/fast-xml-builder/src/fxb.js +529 -0
- package/node_modules/fast-xml-builder/src/ignoreAttributes.js +18 -0
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +292 -0
- package/node_modules/path-expression-matcher/LICENSE +21 -0
- package/node_modules/path-expression-matcher/README.md +635 -0
- package/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
- package/node_modules/path-expression-matcher/lib/pem.d.cts +335 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -0
- package/node_modules/path-expression-matcher/package.json +78 -0
- package/node_modules/path-expression-matcher/src/Expression.js +232 -0
- package/node_modules/path-expression-matcher/src/Matcher.js +414 -0
- package/node_modules/path-expression-matcher/src/index.d.ts +366 -0
- package/node_modules/path-expression-matcher/src/index.js +28 -0
- package/node_modules/strnum/README.md +1 -0
- package/node_modules/strnum/package.json +3 -3
- package/node_modules/strnum/strnum.js +85 -59
- package/node_modules/strnum/tests/infinity_test.js +18 -0
- package/node_modules/strnum/tests/strnum_test.js +172 -0
- package/package.json +22 -22
- package/node_modules/@aws-cdk/cloud-assembly-schema/.jsii +0 -6005
- package/node_modules/@aws-cdk/cloud-assembly-schema/.jsii.tabl.json +0 -1
- package/node_modules/@aws-cdk/cloud-assembly-schema/cli-version.json +0 -1
- package/node_modules/@aws-cdk/cloud-assembly-schema/lib/cloud-assembly/artifact-schema.d.ts +0 -295
- package/node_modules/@aws-cdk/cloud-assembly-schema/lib/cloud-assembly/artifact-schema.js +0 -3
- package/node_modules/@aws-cdk/cloud-assembly-schema/lib/cloud-assembly/context-queries.d.ts +0 -451
- package/node_modules/@aws-cdk/cloud-assembly-schema/lib/cloud-assembly/context-queries.js +0 -102
- package/node_modules/@aws-cdk/cloud-assembly-schema/lib/manifest.d.ts +0 -134
- package/node_modules/@aws-cdk/cloud-assembly-schema/lib/manifest.js +0 -295
- package/node_modules/@aws-cdk/cloud-assembly-schema/node_modules/semver/classes/range.js +0 -556
- package/node_modules/@aws-cdk/cloud-assembly-schema/node_modules/semver/classes/semver.js +0 -319
- package/node_modules/@aws-cdk/cloud-assembly-schema/node_modules/semver/internal/identifiers.js +0 -25
- package/node_modules/@aws-cdk/cloud-assembly-schema/node_modules/semver/package.json +0 -78
- package/node_modules/@aws-cdk/cloud-assembly-schema/package.json +0 -133
- package/node_modules/@aws-cdk/cloud-assembly-schema/schema/cloud-assembly.schema.json +0 -1189
- package/node_modules/@aws-cdk/cloud-assembly-schema/schema/version.json +0 -5
- package/node_modules/@aws-sdk/client-sso/LICENSE +0 -201
- package/node_modules/@aws-sdk/client-sso/README.md +0 -252
- package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +0 -68
- package/node_modules/@aws-sdk/client-sso/dist-cjs/endpoint/ruleset.js +0 -7
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +0 -402
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +0 -38
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +0 -53
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.shared.js +0 -42
- package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +0 -15
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +0 -50
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +0 -62
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/GetRoleCredentialsCommand.js +0 -16
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountRolesCommand.js +0 -16
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/ListAccountsCommand.js +0 -16
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/LogoutCommand.js +0 -16
- package/node_modules/@aws-sdk/client-sso/dist-es/commands/index.js +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/ruleset.js +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/index.js +0 -6
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountRolesPaginator.js +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/ListAccountsPaginator.js +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-es/pagination/index.js +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +0 -33
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +0 -48
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.shared.js +0 -38
- package/node_modules/@aws-sdk/client-sso/dist-es/schemas/schemas_0.js +0 -153
- package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +0 -53
- package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +0 -209
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthExtensionConfiguration.d.ts +0 -29
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +0 -75
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/GetRoleCredentialsCommand.d.ts +0 -97
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountRolesCommand.d.ts +0 -98
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/ListAccountsCommand.d.ts +0 -100
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/LogoutCommand.d.ts +0 -97
- package/node_modules/@aws-sdk/client-sso/dist-types/commands/index.d.ts +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/index.d.ts +0 -30
- package/node_modules/@aws-sdk/client-sso/dist-types/models/models_0.d.ts +0 -189
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/Interfaces.d.ts +0 -8
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountRolesPaginator.d.ts +0 -7
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/ListAccountsPaginator.d.ts +0 -7
- package/node_modules/@aws-sdk/client-sso/dist-types/pagination/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +0 -58
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +0 -58
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +0 -57
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.shared.d.ts +0 -33
- package/node_modules/@aws-sdk/client-sso/dist-types/schemas/schemas_0.d.ts +0 -26
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +0 -73
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +0 -142
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +0 -32
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/GetRoleCredentialsCommand.d.ts +0 -51
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountRolesCommand.d.ts +0 -50
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +0 -47
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/LogoutCommand.d.ts +0 -41
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/commands/index.d.ts +0 -4
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/index.d.ts +0 -10
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/models/models_0.d.ts +0 -45
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -5
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountRolesPaginator.d.ts +0 -11
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/ListAccountsPaginator.d.ts +0 -11
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/pagination/index.d.ts +0 -3
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -116
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +0 -111
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -120
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -53
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -32
- package/node_modules/@aws-sdk/client-sso/package.json +0 -99
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +0 -40
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +0 -27
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +0 -12
- package/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-CVy8iqsZ.js +0 -14
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-types/crc64-nvme-crt-container.d.ts +0 -13
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +0 -134
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/.jsii +0 -10107
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.d.ts +0 -79
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.js +0 -96
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/constructs-feature-flags.d.ts +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/constructs-feature-flags.js +0 -63
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/glue-job-helper.js +0 -210
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/step-function-helper.js +0 -154
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/vpc-helper.d.ts +0 -75
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/vpc-helper.js +0 -279
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/nohoist.sh +0 -11
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/package.json +0 -95
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/alb-helper.test.js +0 -520
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/apigateway-helper.test.js +0 -819
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/bedrock-inference-helper.test.js +0 -207
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/cloudfront-distribution-s3-helper.test.js +0 -1038
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/constructs-feature-flags.test.js +0 -50
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/dynamo-table.test.js +0 -639
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/elasticsearch-helper.test.js +0 -454
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/eventbridge-helper.test.js +0 -77
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/fargate-helper.test.js +0 -355
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/glue-job-helper.test.js +0 -595
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/kendra-helper.test.js +0 -489
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/kinesis-streams-helper.test.js +0 -99
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/lambda-helper.test.js +0 -486
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/opensearch-helper.test.js +0 -416
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/override-warning-service.test.js +0 -285
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/pipes-helper.test.js +0 -787
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/s3-bucket.test.js +0 -384
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/sagemaker-helper.test.js +0 -244
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/secretsmanager-helper.test.js +0 -66
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/sns-helper.test.js +0 -367
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/sqs-helper.test.js +0 -361
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/step-function-helper.test.js +0 -441
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.d.ts +0 -59
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.js +0 -349
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/utils.test.js +0 -275
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/vpc-helper.test.js +0 -281
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/waf-helper.test.js +0 -339
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/websocket-api-helper.test.js +0 -471
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/.jsii +0 -1312
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/API.md +0 -1159
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/README.md +0 -32
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/construct.d.ts +0 -341
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/construct.js +0 -476
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/dependency.d.ts +0 -69
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/dependency.js +0 -88
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/index.d.ts +0 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/index.js +0 -20
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/package.json +0 -154
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-add-secondary-index.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-no-arguments.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-set-billing-mode.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-use-existing-func.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +0 -21
- package/node_modules/bowser/CHANGELOG.md +0 -218
- package/node_modules/strnum/strnum.test.js +0 -173
- package/node_modules/strnum/test.js +0 -9
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums → crc64-nvme}/dist-es/crc64-nvme-crt-container.js +0 -0
- /package/node_modules/@aws-sdk/{middleware-flexible-checksums → crc64-nvme}/dist-types/ts3.4/crc64-nvme-crt-container.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/auth/httpAuthExtensionConfiguration.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/endpoint/endpointResolver.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/extensionConfiguration.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/models/models_0.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.native.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeExtensions.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/endpoint/EndpointParameters.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es/pagination/Interfaces.js → nested-clients/dist-es/submodules/sso/extensionConfiguration.js} +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/SSOServiceException.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/models/errors.js +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/extensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/SSOServiceException.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/models/errors.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeExtensions.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/EndpointParameters.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/endpointResolver.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/ts3.4/submodules/cognito-identity}/endpoint/ruleset.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/endpoint/ruleset.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/extensionConfiguration.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/SSOServiceException.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/models/errors.d.ts +0 -0
- /package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeExtensions.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/README.md +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/alb-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/alb-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/alb-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/alb-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/apigateway-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/apigateway-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/apigateway-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/apigateway-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/bedrock-inference-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/bedrock-inference-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/cloudfront-distribution-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/cloudfront-distribution-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/cloudfront-distribution-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/cloudfront-distribution-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/cloudwatch-log-group-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/cloudwatch-log-group-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/cloudwatch-log-group-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/cloudwatch-log-group-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/cognito-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/cognito-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/cognito-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/cognito-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/dynamodb-table-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/dynamodb-table-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/dynamodb-table-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/dynamodb-table-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/elasticache-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/elasticache-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/elasticache-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/elasticache-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/elasticsearch-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/elasticsearch-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/elasticsearch-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/elasticsearch-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/eventbridge-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/eventbridge-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/events-rule-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/events-rule-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/fargate-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/fargate-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/fargate-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/fargate-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/glue-database-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/glue-database-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/glue-database-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/glue-database-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/glue-job-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/glue-job-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/glue-job-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/glue-table-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/glue-table-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/glue-table-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/glue-table-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/iot-topic-rule-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/iot-topic-rule-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kendra-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kendra-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kendra-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kendra-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kinesis-analytics-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kinesis-analytics-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kinesis-analytics-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kinesis-analytics-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kinesis-firehose-s3-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kinesis-firehose-s3-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kinesis-streams-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kinesis-streams-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kinesis-streams-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kinesis-streams-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kms-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kms-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kms-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/kms-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/lambda-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/lambda-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/lambda-event-source-mapping-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/lambda-event-source-mapping-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/lambda-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/lambda-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/opensearch-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/opensearch-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/opensearch-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/opensearch-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/override-warning-service.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/override-warning-service.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/pipes-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/pipes-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/pipes-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/pipes-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/s3-bucket-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/s3-bucket-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/s3-bucket-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/s3-bucket-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/s3-oac-origin.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/s3-oac-origin.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/sagemaker-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/sagemaker-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/sagemaker-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/sagemaker-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/secretsmanager-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/secretsmanager-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/secretsmanager-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/secretsmanager-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/security-group-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/security-group-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/sns-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/sns-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/sns-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/sns-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/sqs-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/sqs-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/sqs-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/sqs-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/ssm-string-parameter-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/ssm-string-parameter-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/step-function-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/step-function-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/step-function-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/translate-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/translate-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/utils.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/utils.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/vpc-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/vpc-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/waf-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/waf-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/waf-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/waf-helper.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/websocket-api-defaults.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/websocket-api-defaults.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/websocket-api-helper.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/lib/websocket-api-helper.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/CONTRIBUTING.md +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/LICENSE +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/NOTICE +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/README.md +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/aws-destination.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/aws-destination.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/docker-image-asset.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/docker-image-asset.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/file-asset.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/file-asset.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/index.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/index.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/schema.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/schema.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/index.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/index.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/interfaces.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/interfaces.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/metadata-schema.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/metadata-schema.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/schema.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/schema.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/index.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/index.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/commands/common.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/commands/common.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/commands/deploy.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/commands/deploy.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/commands/destroy.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/commands/destroy.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/commands/index.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/commands/index.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/index.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/index.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/schema.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/schema.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/test-case.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/test-case.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/.editorconfig +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/LICENSE +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/README.md +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/lib/attribute.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/lib/helpers.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/lib/index.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/lib/index.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/lib/scan.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/lib/validator.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/package.json +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/LICENSE +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/README.md +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/bin/semver.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/classes/comparator.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/classes/index.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/clean.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/cmp.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/coerce.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/compare-build.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/compare-loose.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/compare.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/diff.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/eq.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/gt.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/gte.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/inc.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/lt.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/lte.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/major.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/minor.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/neq.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/parse.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/patch.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/prerelease.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/rcompare.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/rsort.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/satisfies.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/sort.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/valid.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/index.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/internal/constants.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/internal/debug.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/internal/lrucache.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/internal/parse-options.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/internal/re.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/preload.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/range.bnf +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/gtr.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/intersects.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/ltr.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/max-satisfying.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/min-satisfying.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/min-version.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/outside.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/simplify.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/subset.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/to-comparators.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/valid.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/rosetta/default.ts-fixture +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/schema/README.md +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/schema/assets.schema.json +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/core/node_modules/@aws-cdk}/cloud-assembly-schema/schema/integ.schema.json +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/.circleci/config.yml +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/.eslintrc +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/.vscode/launch.json +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/.vscode/tasks.json +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/ChangeLog.md +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/LICENSE +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/Readme.md +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/dist/deep-diff.min.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/dist/deep-diff.min.js.map +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/apply-diff-from-any.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/array-change.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/capture_change_apply_elsewhere.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/diff-ignoring-fun.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/diff-scenarios.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/example1.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-111.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-113-1.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-113-2.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-115.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-124.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-125.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-126.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-35.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-47.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-48.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-62.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-70.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-71.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-72.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-74.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-78.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-83.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/issue-88.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/performance.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/examples/practice-data.json +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/index.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/package.json +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/test/.eslintrc +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/test/tests.html +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deep-diff/test/tests.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deepmerge/.editorconfig +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deepmerge/.eslintcache +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deepmerge/changelog.md +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deepmerge/dist/cjs.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deepmerge/dist/umd.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deepmerge/index.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deepmerge/index.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deepmerge/license.txt +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deepmerge/package.json +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deepmerge/readme.md +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/deepmerge/rollup.config.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/npmlog/LICENSE.md +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/npmlog/README.md +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/npmlog/lib/log.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/node_modules/npmlog/package.json +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/alb-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/apigateway-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/bedrock-inference-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/cloudfront-distribution-api-gateway-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/cloudfront-distribution-api-gateway-helper.test.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/cloudfront-distribution-s3-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/cloudwatch-log-group-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/cloudwatch-log-group-helper.test.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/congnito-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/congnito-helper.test.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/constructs-feature-flags.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/dynamo-table.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/elasticache-defaults.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/elasticache-defaults.test.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/elasticache-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/elasticache-helper.test.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/elasticsearch-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/eventbridge-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/events-rule.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/events-rule.test.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/fargate-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/glue-job-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/glue-table-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/glue-table-helper.test.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/iot-rule.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/iot-rule.test.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/kendra-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/kinesis-analytics.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/kinesis-analytics.test.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/kinesis-firehose-s3-defaults.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/kinesis-firehose-s3-defaults.test.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/kinesis-streams-defaults.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/kinesis-streams-defaults.test.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/kinesis-streams-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/kms-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/kms-helper.test.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/lambda/index.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/lambda-event-source.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/lambda-event-source.test.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/lambda-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/lambda-test/index.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/openapi/apiDefinition.json +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/opensearch-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/override-warning-service.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/pipes-helper.test.d.ts +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/s3-bucket-helper.test.d.ts → core/test/polly-helper.test.d.ts} +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/s3-bucket.test.d.ts → core/test/s3-bucket-helper.test.d.ts} +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/s3-bucket-helper.test.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/sagemaker-helper.test.d.ts → core/test/s3-bucket.test.d.ts} +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/secretsmanager-helper.test.d.ts → core/test/sagemaker-helper.test.d.ts} +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/security-group-helper.test.d.ts → core/test/secretsmanager-helper.test.d.ts} +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/sns-helper.test.d.ts → core/test/security-group-helper.test.d.ts} +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/security-group-helper.test.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/sqs-helper.test.d.ts → core/test/sns-helper.test.d.ts} +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/ssm-string-parameter-helper.test.d.ts → core/test/sqs-helper.test.d.ts} +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/step-function-helper.test.d.ts → core/test/ssm-string-parameter-helper.test.d.ts} +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/ssm-string-parameter-helper.test.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/translate-helper.test.d.ts → core/test/step-function-helper.test.d.ts} +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/utils.test.d.ts → core/test/textract-helper.test.d.ts} +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/vpc-helper.test.d.ts → core/test/translate-helper.test.d.ts} +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/translate-helper.test.js +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/waf-helper.test.d.ts → core/test/utils.test.d.ts} +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/websocket-api-defaults.test.d.ts → core/test/validation.test.d.ts} +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/websocket-api-helper.test.d.ts → core/test/vpc-helper.test.d.ts} +0 -0
- /package/node_modules/@aws-solutions-constructs/{aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core → core}/test/websocket-api-defaults.test.js +0 -0
- /package/node_modules/{@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs → constructs}/.compatignore +0 -0
- /package/node_modules/{@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs → constructs}/CODE_OF_CONDUCT.md +0 -0
- /package/node_modules/{@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs → constructs}/CONTRIBUTING.md +0 -0
- /package/node_modules/{@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs → constructs}/Dockerfile +0 -0
- /package/node_modules/{@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs → constructs}/LICENSE +0 -0
- /package/node_modules/{@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs → constructs}/NOTICE +0 -0
- /package/node_modules/{@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs → constructs}/lib/metadata.d.ts +0 -0
- /package/node_modules/{@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs → constructs}/lib/metadata.js +0 -0
- /package/node_modules/{@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs → constructs}/lib/private/stack-trace.d.ts +0 -0
- /package/node_modules/{@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs → constructs}/lib/private/stack-trace.js +0 -0
- /package/node_modules/{@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs → constructs}/lib/private/uniqueid.d.ts +0 -0
- /package/node_modules/{@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs → constructs}/lib/private/uniqueid.js +0 -0
- /package/node_modules/{@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs → constructs}/version.json +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder → fast-xml-builder/src}/prettifyJs2Xml.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Axios v1.13.
|
|
1
|
+
/*! Axios v1.13.6 Copyright (c) 2026 Matt Zabriskie and contributors */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
const FormData$1 = require('form-data');
|
|
@@ -43,30 +43,30 @@ function bind(fn, thisArg) {
|
|
|
43
43
|
|
|
44
44
|
// utils is a library of generic helper functions non-specific to axios
|
|
45
45
|
|
|
46
|
-
const {toString} = Object.prototype;
|
|
47
|
-
const {getPrototypeOf} = Object;
|
|
48
|
-
const {iterator, toStringTag} = Symbol;
|
|
46
|
+
const { toString } = Object.prototype;
|
|
47
|
+
const { getPrototypeOf } = Object;
|
|
48
|
+
const { iterator, toStringTag } = Symbol;
|
|
49
49
|
|
|
50
|
-
const kindOf = (cache => thing => {
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
const kindOf = ((cache) => (thing) => {
|
|
51
|
+
const str = toString.call(thing);
|
|
52
|
+
return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
|
|
53
53
|
})(Object.create(null));
|
|
54
54
|
|
|
55
55
|
const kindOfTest = (type) => {
|
|
56
56
|
type = type.toLowerCase();
|
|
57
|
-
return (thing) => kindOf(thing) === type
|
|
57
|
+
return (thing) => kindOf(thing) === type;
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
const typeOfTest = type => thing => typeof thing === type;
|
|
60
|
+
const typeOfTest = (type) => (thing) => typeof thing === type;
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
* Determine if a value is
|
|
63
|
+
* Determine if a value is a non-null object
|
|
64
64
|
*
|
|
65
65
|
* @param {Object} val The value to test
|
|
66
66
|
*
|
|
67
67
|
* @returns {boolean} True if value is an Array, otherwise false
|
|
68
68
|
*/
|
|
69
|
-
const {isArray} = Array;
|
|
69
|
+
const { isArray } = Array;
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* Determine if a value is undefined
|
|
@@ -85,8 +85,14 @@ const isUndefined = typeOfTest('undefined');
|
|
|
85
85
|
* @returns {boolean} True if value is a Buffer, otherwise false
|
|
86
86
|
*/
|
|
87
87
|
function isBuffer(val) {
|
|
88
|
-
return
|
|
89
|
-
|
|
88
|
+
return (
|
|
89
|
+
val !== null &&
|
|
90
|
+
!isUndefined(val) &&
|
|
91
|
+
val.constructor !== null &&
|
|
92
|
+
!isUndefined(val.constructor) &&
|
|
93
|
+
isFunction$1(val.constructor.isBuffer) &&
|
|
94
|
+
val.constructor.isBuffer(val)
|
|
95
|
+
);
|
|
90
96
|
}
|
|
91
97
|
|
|
92
98
|
/**
|
|
@@ -98,7 +104,6 @@ function isBuffer(val) {
|
|
|
98
104
|
*/
|
|
99
105
|
const isArrayBuffer = kindOfTest('ArrayBuffer');
|
|
100
106
|
|
|
101
|
-
|
|
102
107
|
/**
|
|
103
108
|
* Determine if a value is a view on an ArrayBuffer
|
|
104
109
|
*
|
|
@@ -108,10 +113,10 @@ const isArrayBuffer = kindOfTest('ArrayBuffer');
|
|
|
108
113
|
*/
|
|
109
114
|
function isArrayBufferView(val) {
|
|
110
115
|
let result;
|
|
111
|
-
if (
|
|
116
|
+
if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {
|
|
112
117
|
result = ArrayBuffer.isView(val);
|
|
113
118
|
} else {
|
|
114
|
-
result =
|
|
119
|
+
result = val && val.buffer && isArrayBuffer(val.buffer);
|
|
115
120
|
}
|
|
116
121
|
return result;
|
|
117
122
|
}
|
|
@@ -157,7 +162,7 @@ const isObject = (thing) => thing !== null && typeof thing === 'object';
|
|
|
157
162
|
* @param {*} thing The value to test
|
|
158
163
|
* @returns {boolean} True if value is a Boolean, otherwise false
|
|
159
164
|
*/
|
|
160
|
-
const isBoolean = thing => thing === true || thing === false;
|
|
165
|
+
const isBoolean = (thing) => thing === true || thing === false;
|
|
161
166
|
|
|
162
167
|
/**
|
|
163
168
|
* Determine if a value is a plain Object
|
|
@@ -172,7 +177,13 @@ const isPlainObject = (val) => {
|
|
|
172
177
|
}
|
|
173
178
|
|
|
174
179
|
const prototype = getPrototypeOf(val);
|
|
175
|
-
return (
|
|
180
|
+
return (
|
|
181
|
+
(prototype === null ||
|
|
182
|
+
prototype === Object.prototype ||
|
|
183
|
+
Object.getPrototypeOf(prototype) === null) &&
|
|
184
|
+
!(toStringTag in val) &&
|
|
185
|
+
!(iterator in val)
|
|
186
|
+
);
|
|
176
187
|
};
|
|
177
188
|
|
|
178
189
|
/**
|
|
@@ -214,6 +225,31 @@ const isDate = kindOfTest('Date');
|
|
|
214
225
|
*/
|
|
215
226
|
const isFile = kindOfTest('File');
|
|
216
227
|
|
|
228
|
+
/**
|
|
229
|
+
* Determine if a value is a React Native Blob
|
|
230
|
+
* React Native "blob": an object with a `uri` attribute. Optionally, it can
|
|
231
|
+
* also have a `name` and `type` attribute to specify filename and content type
|
|
232
|
+
*
|
|
233
|
+
* @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71
|
|
234
|
+
*
|
|
235
|
+
* @param {*} value The value to test
|
|
236
|
+
*
|
|
237
|
+
* @returns {boolean} True if value is a React Native Blob, otherwise false
|
|
238
|
+
*/
|
|
239
|
+
const isReactNativeBlob = (value) => {
|
|
240
|
+
return !!(value && typeof value.uri !== 'undefined');
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Determine if environment is React Native
|
|
245
|
+
* ReactNative `FormData` has a non-standard `getParts()` method
|
|
246
|
+
*
|
|
247
|
+
* @param {*} formData The formData to test
|
|
248
|
+
*
|
|
249
|
+
* @returns {boolean} True if environment is React Native, otherwise false
|
|
250
|
+
*/
|
|
251
|
+
const isReactNative = (formData) => formData && typeof formData.getParts !== 'undefined';
|
|
252
|
+
|
|
217
253
|
/**
|
|
218
254
|
* Determine if a value is a Blob
|
|
219
255
|
*
|
|
@@ -248,17 +284,28 @@ const isStream = (val) => isObject(val) && isFunction$1(val.pipe);
|
|
|
248
284
|
*
|
|
249
285
|
* @returns {boolean} True if value is an FormData, otherwise false
|
|
250
286
|
*/
|
|
287
|
+
function getGlobal() {
|
|
288
|
+
if (typeof globalThis !== 'undefined') return globalThis;
|
|
289
|
+
if (typeof self !== 'undefined') return self;
|
|
290
|
+
if (typeof window !== 'undefined') return window;
|
|
291
|
+
if (typeof global !== 'undefined') return global;
|
|
292
|
+
return {};
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
const G = getGlobal();
|
|
296
|
+
const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;
|
|
297
|
+
|
|
251
298
|
const isFormData = (thing) => {
|
|
252
299
|
let kind;
|
|
253
300
|
return thing && (
|
|
254
|
-
(
|
|
301
|
+
(FormDataCtor && thing instanceof FormDataCtor) || (
|
|
255
302
|
isFunction$1(thing.append) && (
|
|
256
303
|
(kind = kindOf(thing)) === 'formdata' ||
|
|
257
304
|
// detect form-data instance
|
|
258
305
|
(kind === 'object' && isFunction$1(thing.toString) && thing.toString() === '[object FormData]')
|
|
259
306
|
)
|
|
260
307
|
)
|
|
261
|
-
)
|
|
308
|
+
);
|
|
262
309
|
};
|
|
263
310
|
|
|
264
311
|
/**
|
|
@@ -270,7 +317,12 @@ const isFormData = (thing) => {
|
|
|
270
317
|
*/
|
|
271
318
|
const isURLSearchParams = kindOfTest('URLSearchParams');
|
|
272
319
|
|
|
273
|
-
const [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
320
|
+
const [isReadableStream, isRequest, isResponse, isHeaders] = [
|
|
321
|
+
'ReadableStream',
|
|
322
|
+
'Request',
|
|
323
|
+
'Response',
|
|
324
|
+
'Headers',
|
|
325
|
+
].map(kindOfTest);
|
|
274
326
|
|
|
275
327
|
/**
|
|
276
328
|
* Trim excess whitespace off the beginning and end of a string
|
|
@@ -279,9 +331,9 @@ const [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream',
|
|
|
279
331
|
*
|
|
280
332
|
* @returns {String} The String freed of excess whitespace
|
|
281
333
|
*/
|
|
282
|
-
const trim = (str) =>
|
|
283
|
-
str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
|
|
284
|
-
|
|
334
|
+
const trim = (str) => {
|
|
335
|
+
return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
|
|
336
|
+
};
|
|
285
337
|
/**
|
|
286
338
|
* Iterate over an Array or an Object invoking a function for each item.
|
|
287
339
|
*
|
|
@@ -291,13 +343,14 @@ const trim = (str) => str.trim ?
|
|
|
291
343
|
* If 'obj' is an Object callback will be called passing
|
|
292
344
|
* the value, key, and complete object for each property.
|
|
293
345
|
*
|
|
294
|
-
* @param {Object|Array} obj The object to iterate
|
|
346
|
+
* @param {Object|Array<unknown>} obj The object to iterate
|
|
295
347
|
* @param {Function} fn The callback to invoke for each item
|
|
296
348
|
*
|
|
297
|
-
* @param {
|
|
349
|
+
* @param {Object} [options]
|
|
350
|
+
* @param {Boolean} [options.allOwnKeys = false]
|
|
298
351
|
* @returns {any}
|
|
299
352
|
*/
|
|
300
|
-
function forEach(obj, fn, {allOwnKeys = false} = {}) {
|
|
353
|
+
function forEach(obj, fn, { allOwnKeys = false } = {}) {
|
|
301
354
|
// Don't bother if no value provided
|
|
302
355
|
if (obj === null || typeof obj === 'undefined') {
|
|
303
356
|
return;
|
|
@@ -335,8 +388,16 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
|
|
|
335
388
|
}
|
|
336
389
|
}
|
|
337
390
|
|
|
391
|
+
/**
|
|
392
|
+
* Finds a key in an object, case-insensitive, returning the actual key name.
|
|
393
|
+
* Returns null if the object is a Buffer or if no match is found.
|
|
394
|
+
*
|
|
395
|
+
* @param {Object} obj - The object to search.
|
|
396
|
+
* @param {string} key - The key to find (case-insensitive).
|
|
397
|
+
* @returns {?string} The actual key name if found, otherwise null.
|
|
398
|
+
*/
|
|
338
399
|
function findKey(obj, key) {
|
|
339
|
-
if (isBuffer(obj)){
|
|
400
|
+
if (isBuffer(obj)) {
|
|
340
401
|
return null;
|
|
341
402
|
}
|
|
342
403
|
|
|
@@ -355,8 +416,8 @@ function findKey(obj, key) {
|
|
|
355
416
|
|
|
356
417
|
const _global = (() => {
|
|
357
418
|
/*eslint no-undef:0*/
|
|
358
|
-
if (typeof globalThis !==
|
|
359
|
-
return typeof self !==
|
|
419
|
+
if (typeof globalThis !== 'undefined') return globalThis;
|
|
420
|
+
return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global;
|
|
360
421
|
})();
|
|
361
422
|
|
|
362
423
|
const isContextDefined = (context) => !isUndefined(context) && context !== _global;
|
|
@@ -371,7 +432,7 @@ const isContextDefined = (context) => !isUndefined(context) && context !== _glob
|
|
|
371
432
|
* Example:
|
|
372
433
|
*
|
|
373
434
|
* ```js
|
|
374
|
-
*
|
|
435
|
+
* const result = merge({foo: 123}, {foo: 456});
|
|
375
436
|
* console.log(result.foo); // outputs 456
|
|
376
437
|
* ```
|
|
377
438
|
*
|
|
@@ -380,10 +441,15 @@ const isContextDefined = (context) => !isUndefined(context) && context !== _glob
|
|
|
380
441
|
* @returns {Object} Result of all merge properties
|
|
381
442
|
*/
|
|
382
443
|
function merge(/* obj1, obj2, obj3, ... */) {
|
|
383
|
-
const {caseless, skipUndefined} = isContextDefined(this) && this || {};
|
|
444
|
+
const { caseless, skipUndefined } = (isContextDefined(this) && this) || {};
|
|
384
445
|
const result = {};
|
|
385
446
|
const assignValue = (val, key) => {
|
|
386
|
-
|
|
447
|
+
// Skip dangerous property names to prevent prototype pollution
|
|
448
|
+
if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
|
|
449
|
+
return;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
const targetKey = (caseless && findKey(result, key)) || key;
|
|
387
453
|
if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
|
|
388
454
|
result[targetKey] = merge(result[targetKey], val);
|
|
389
455
|
} else if (isPlainObject(val)) {
|
|
@@ -408,17 +474,32 @@ function merge(/* obj1, obj2, obj3, ... */) {
|
|
|
408
474
|
* @param {Object} b The object to copy properties from
|
|
409
475
|
* @param {Object} thisArg The object to bind function to
|
|
410
476
|
*
|
|
411
|
-
* @param {
|
|
477
|
+
* @param {Object} [options]
|
|
478
|
+
* @param {Boolean} [options.allOwnKeys]
|
|
412
479
|
* @returns {Object} The resulting value of object a
|
|
413
480
|
*/
|
|
414
|
-
const extend = (a, b, thisArg, {allOwnKeys}= {}) => {
|
|
415
|
-
forEach(
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
481
|
+
const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
|
|
482
|
+
forEach(
|
|
483
|
+
b,
|
|
484
|
+
(val, key) => {
|
|
485
|
+
if (thisArg && isFunction$1(val)) {
|
|
486
|
+
Object.defineProperty(a, key, {
|
|
487
|
+
value: bind(val, thisArg),
|
|
488
|
+
writable: true,
|
|
489
|
+
enumerable: true,
|
|
490
|
+
configurable: true,
|
|
491
|
+
});
|
|
492
|
+
} else {
|
|
493
|
+
Object.defineProperty(a, key, {
|
|
494
|
+
value: val,
|
|
495
|
+
writable: true,
|
|
496
|
+
enumerable: true,
|
|
497
|
+
configurable: true,
|
|
498
|
+
});
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
{ allOwnKeys }
|
|
502
|
+
);
|
|
422
503
|
return a;
|
|
423
504
|
};
|
|
424
505
|
|
|
@@ -430,7 +511,7 @@ const extend = (a, b, thisArg, {allOwnKeys}= {}) => {
|
|
|
430
511
|
* @returns {string} content value without BOM
|
|
431
512
|
*/
|
|
432
513
|
const stripBOM = (content) => {
|
|
433
|
-
if (content.charCodeAt(0) ===
|
|
514
|
+
if (content.charCodeAt(0) === 0xfeff) {
|
|
434
515
|
content = content.slice(1);
|
|
435
516
|
}
|
|
436
517
|
return content;
|
|
@@ -447,9 +528,14 @@ const stripBOM = (content) => {
|
|
|
447
528
|
*/
|
|
448
529
|
const inherits = (constructor, superConstructor, props, descriptors) => {
|
|
449
530
|
constructor.prototype = Object.create(superConstructor.prototype, descriptors);
|
|
450
|
-
constructor.prototype
|
|
531
|
+
Object.defineProperty(constructor.prototype, 'constructor', {
|
|
532
|
+
value: constructor,
|
|
533
|
+
writable: true,
|
|
534
|
+
enumerable: false,
|
|
535
|
+
configurable: true,
|
|
536
|
+
});
|
|
451
537
|
Object.defineProperty(constructor, 'super', {
|
|
452
|
-
value: superConstructor.prototype
|
|
538
|
+
value: superConstructor.prototype,
|
|
453
539
|
});
|
|
454
540
|
props && Object.assign(constructor.prototype, props);
|
|
455
541
|
};
|
|
@@ -508,7 +594,6 @@ const endsWith = (str, searchString, position) => {
|
|
|
508
594
|
return lastIndex !== -1 && lastIndex === position;
|
|
509
595
|
};
|
|
510
596
|
|
|
511
|
-
|
|
512
597
|
/**
|
|
513
598
|
* Returns new array from array like object or null if failed
|
|
514
599
|
*
|
|
@@ -537,9 +622,9 @@ const toArray = (thing) => {
|
|
|
537
622
|
* @returns {Array}
|
|
538
623
|
*/
|
|
539
624
|
// eslint-disable-next-line func-names
|
|
540
|
-
const isTypedArray = (TypedArray => {
|
|
625
|
+
const isTypedArray = ((TypedArray) => {
|
|
541
626
|
// eslint-disable-next-line func-names
|
|
542
|
-
return thing => {
|
|
627
|
+
return (thing) => {
|
|
543
628
|
return TypedArray && thing instanceof TypedArray;
|
|
544
629
|
};
|
|
545
630
|
})(typeof Uint8Array !== 'undefined' && getPrototypeOf(Uint8Array));
|
|
@@ -587,16 +672,18 @@ const matchAll = (regExp, str) => {
|
|
|
587
672
|
/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
|
|
588
673
|
const isHTMLForm = kindOfTest('HTMLFormElement');
|
|
589
674
|
|
|
590
|
-
const toCamelCase = str => {
|
|
591
|
-
return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
}
|
|
595
|
-
);
|
|
675
|
+
const toCamelCase = (str) => {
|
|
676
|
+
return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
|
|
677
|
+
return p1.toUpperCase() + p2;
|
|
678
|
+
});
|
|
596
679
|
};
|
|
597
680
|
|
|
598
681
|
/* Creating a function that will check if an object has a property. */
|
|
599
|
-
const hasOwnProperty = (
|
|
682
|
+
const hasOwnProperty = (
|
|
683
|
+
({ hasOwnProperty }) =>
|
|
684
|
+
(obj, prop) =>
|
|
685
|
+
hasOwnProperty.call(obj, prop)
|
|
686
|
+
)(Object.prototype);
|
|
600
687
|
|
|
601
688
|
/**
|
|
602
689
|
* Determine if a value is a RegExp object
|
|
@@ -646,17 +733,25 @@ const freezeMethods = (obj) => {
|
|
|
646
733
|
|
|
647
734
|
if (!descriptor.set) {
|
|
648
735
|
descriptor.set = () => {
|
|
649
|
-
throw Error(
|
|
736
|
+
throw Error("Can not rewrite read-only method '" + name + "'");
|
|
650
737
|
};
|
|
651
738
|
}
|
|
652
739
|
});
|
|
653
740
|
};
|
|
654
741
|
|
|
742
|
+
/**
|
|
743
|
+
* Converts an array or a delimited string into an object set with values as keys and true as values.
|
|
744
|
+
* Useful for fast membership checks.
|
|
745
|
+
*
|
|
746
|
+
* @param {Array|string} arrayOrString - The array or string to convert.
|
|
747
|
+
* @param {string} delimiter - The delimiter to use if input is a string.
|
|
748
|
+
* @returns {Object} An object with keys from the array or string, values set to true.
|
|
749
|
+
*/
|
|
655
750
|
const toObjectSet = (arrayOrString, delimiter) => {
|
|
656
751
|
const obj = {};
|
|
657
752
|
|
|
658
753
|
const define = (arr) => {
|
|
659
|
-
arr.forEach(value => {
|
|
754
|
+
arr.forEach((value) => {
|
|
660
755
|
obj[value] = true;
|
|
661
756
|
});
|
|
662
757
|
};
|
|
@@ -669,11 +764,9 @@ const toObjectSet = (arrayOrString, delimiter) => {
|
|
|
669
764
|
const noop = () => {};
|
|
670
765
|
|
|
671
766
|
const toFiniteNumber = (value, defaultValue) => {
|
|
672
|
-
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
767
|
+
return value != null && Number.isFinite((value = +value)) ? value : defaultValue;
|
|
673
768
|
};
|
|
674
769
|
|
|
675
|
-
|
|
676
|
-
|
|
677
770
|
/**
|
|
678
771
|
* If the thing is a FormData object, return true, otherwise return false.
|
|
679
772
|
*
|
|
@@ -682,14 +775,24 @@ const toFiniteNumber = (value, defaultValue) => {
|
|
|
682
775
|
* @returns {boolean}
|
|
683
776
|
*/
|
|
684
777
|
function isSpecCompliantForm(thing) {
|
|
685
|
-
return !!(
|
|
778
|
+
return !!(
|
|
779
|
+
thing &&
|
|
780
|
+
isFunction$1(thing.append) &&
|
|
781
|
+
thing[toStringTag] === 'FormData' &&
|
|
782
|
+
thing[iterator]
|
|
783
|
+
);
|
|
686
784
|
}
|
|
687
785
|
|
|
786
|
+
/**
|
|
787
|
+
* Recursively converts an object to a JSON-compatible object, handling circular references and Buffers.
|
|
788
|
+
*
|
|
789
|
+
* @param {Object} obj - The object to convert.
|
|
790
|
+
* @returns {Object} The JSON-compatible object.
|
|
791
|
+
*/
|
|
688
792
|
const toJSONObject = (obj) => {
|
|
689
793
|
const stack = new Array(10);
|
|
690
794
|
|
|
691
795
|
const visit = (source, i) => {
|
|
692
|
-
|
|
693
796
|
if (isObject(source)) {
|
|
694
797
|
if (stack.indexOf(source) >= 0) {
|
|
695
798
|
return;
|
|
@@ -700,7 +803,7 @@ const toJSONObject = (obj) => {
|
|
|
700
803
|
return source;
|
|
701
804
|
}
|
|
702
805
|
|
|
703
|
-
if(!('toJSON' in source)) {
|
|
806
|
+
if (!('toJSON' in source)) {
|
|
704
807
|
stack[i] = source;
|
|
705
808
|
const target = isArray(source) ? [] : {};
|
|
706
809
|
|
|
@@ -721,45 +824,77 @@ const toJSONObject = (obj) => {
|
|
|
721
824
|
return visit(obj, 0);
|
|
722
825
|
};
|
|
723
826
|
|
|
827
|
+
/**
|
|
828
|
+
* Determines if a value is an async function.
|
|
829
|
+
*
|
|
830
|
+
* @param {*} thing - The value to test.
|
|
831
|
+
* @returns {boolean} True if value is an async function, otherwise false.
|
|
832
|
+
*/
|
|
724
833
|
const isAsyncFn = kindOfTest('AsyncFunction');
|
|
725
834
|
|
|
835
|
+
/**
|
|
836
|
+
* Determines if a value is thenable (has then and catch methods).
|
|
837
|
+
*
|
|
838
|
+
* @param {*} thing - The value to test.
|
|
839
|
+
* @returns {boolean} True if value is thenable, otherwise false.
|
|
840
|
+
*/
|
|
726
841
|
const isThenable = (thing) =>
|
|
727
|
-
thing &&
|
|
842
|
+
thing &&
|
|
843
|
+
(isObject(thing) || isFunction$1(thing)) &&
|
|
844
|
+
isFunction$1(thing.then) &&
|
|
845
|
+
isFunction$1(thing.catch);
|
|
728
846
|
|
|
729
847
|
// original code
|
|
730
848
|
// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
|
|
731
849
|
|
|
850
|
+
/**
|
|
851
|
+
* Provides a cross-platform setImmediate implementation.
|
|
852
|
+
* Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout.
|
|
853
|
+
*
|
|
854
|
+
* @param {boolean} setImmediateSupported - Whether setImmediate is supported.
|
|
855
|
+
* @param {boolean} postMessageSupported - Whether postMessage is supported.
|
|
856
|
+
* @returns {Function} A function to schedule a callback asynchronously.
|
|
857
|
+
*/
|
|
732
858
|
const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
733
859
|
if (setImmediateSupported) {
|
|
734
860
|
return setImmediate;
|
|
735
861
|
}
|
|
736
862
|
|
|
737
|
-
return postMessageSupported
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
863
|
+
return postMessageSupported
|
|
864
|
+
? ((token, callbacks) => {
|
|
865
|
+
_global.addEventListener(
|
|
866
|
+
'message',
|
|
867
|
+
({ source, data }) => {
|
|
868
|
+
if (source === _global && data === token) {
|
|
869
|
+
callbacks.length && callbacks.shift()();
|
|
870
|
+
}
|
|
871
|
+
},
|
|
872
|
+
false
|
|
873
|
+
);
|
|
743
874
|
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
isFunction$1(_global.postMessage)
|
|
752
|
-
);
|
|
875
|
+
return (cb) => {
|
|
876
|
+
callbacks.push(cb);
|
|
877
|
+
_global.postMessage(token, '*');
|
|
878
|
+
};
|
|
879
|
+
})(`axios@${Math.random()}`, [])
|
|
880
|
+
: (cb) => setTimeout(cb);
|
|
881
|
+
})(typeof setImmediate === 'function', isFunction$1(_global.postMessage));
|
|
753
882
|
|
|
754
|
-
|
|
755
|
-
|
|
883
|
+
/**
|
|
884
|
+
* Schedules a microtask or asynchronous callback as soon as possible.
|
|
885
|
+
* Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate.
|
|
886
|
+
*
|
|
887
|
+
* @type {Function}
|
|
888
|
+
*/
|
|
889
|
+
const asap =
|
|
890
|
+
typeof queueMicrotask !== 'undefined'
|
|
891
|
+
? queueMicrotask.bind(_global)
|
|
892
|
+
: (typeof process !== 'undefined' && process.nextTick) || _setImmediate;
|
|
756
893
|
|
|
757
894
|
// *********************
|
|
758
895
|
|
|
759
|
-
|
|
760
896
|
const isIterable = (thing) => thing != null && isFunction$1(thing[iterator]);
|
|
761
897
|
|
|
762
|
-
|
|
763
898
|
const utils$1 = {
|
|
764
899
|
isArray,
|
|
765
900
|
isArrayBuffer,
|
|
@@ -779,6 +914,8 @@ const utils$1 = {
|
|
|
779
914
|
isUndefined,
|
|
780
915
|
isDate,
|
|
781
916
|
isFile,
|
|
917
|
+
isReactNativeBlob,
|
|
918
|
+
isReactNative,
|
|
782
919
|
isBlob,
|
|
783
920
|
isRegExp,
|
|
784
921
|
isFunction: isFunction$1,
|
|
@@ -817,42 +954,60 @@ const utils$1 = {
|
|
|
817
954
|
isThenable,
|
|
818
955
|
setImmediate: _setImmediate,
|
|
819
956
|
asap,
|
|
820
|
-
isIterable
|
|
957
|
+
isIterable,
|
|
821
958
|
};
|
|
822
959
|
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
960
|
+
class AxiosError extends Error {
|
|
961
|
+
static from(error, code, config, request, response, customProps) {
|
|
962
|
+
const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
|
|
963
|
+
axiosError.cause = error;
|
|
964
|
+
axiosError.name = error.name;
|
|
965
|
+
|
|
966
|
+
// Preserve status from the original error if not already set from response
|
|
967
|
+
if (error.status != null && axiosError.status == null) {
|
|
968
|
+
axiosError.status = error.status;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
customProps && Object.assign(axiosError, customProps);
|
|
972
|
+
return axiosError;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Create an Error with the specified message, config, error code, request and response.
|
|
977
|
+
*
|
|
978
|
+
* @param {string} message The error message.
|
|
979
|
+
* @param {string} [code] The error code (for example, 'ECONNABORTED').
|
|
980
|
+
* @param {Object} [config] The config.
|
|
981
|
+
* @param {Object} [request] The request.
|
|
982
|
+
* @param {Object} [response] The response.
|
|
983
|
+
*
|
|
984
|
+
* @returns {Error} The created error.
|
|
985
|
+
*/
|
|
986
|
+
constructor(message, code, config, request, response) {
|
|
987
|
+
super(message);
|
|
988
|
+
|
|
989
|
+
// Make message enumerable to maintain backward compatibility
|
|
990
|
+
// The native Error constructor sets message as non-enumerable,
|
|
991
|
+
// but axios < v1.13.3 had it as enumerable
|
|
992
|
+
Object.defineProperty(this, 'message', {
|
|
993
|
+
value: message,
|
|
994
|
+
enumerable: true,
|
|
995
|
+
writable: true,
|
|
996
|
+
configurable: true
|
|
997
|
+
});
|
|
998
|
+
|
|
999
|
+
this.name = 'AxiosError';
|
|
1000
|
+
this.isAxiosError = true;
|
|
1001
|
+
code && (this.code = code);
|
|
1002
|
+
config && (this.config = config);
|
|
1003
|
+
request && (this.request = request);
|
|
1004
|
+
if (response) {
|
|
1005
|
+
this.response = response;
|
|
1006
|
+
this.status = response.status;
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
853
1009
|
|
|
854
|
-
|
|
855
|
-
toJSON: function toJSON() {
|
|
1010
|
+
toJSON() {
|
|
856
1011
|
return {
|
|
857
1012
|
// Standard
|
|
858
1013
|
message: this.message,
|
|
@@ -868,62 +1023,26 @@ utils$1.inherits(AxiosError, Error, {
|
|
|
868
1023
|
// Axios
|
|
869
1024
|
config: utils$1.toJSONObject(this.config),
|
|
870
1025
|
code: this.code,
|
|
871
|
-
status: this.status
|
|
1026
|
+
status: this.status,
|
|
872
1027
|
};
|
|
873
1028
|
}
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
const prototype$1 = AxiosError.prototype;
|
|
877
|
-
const descriptors = {};
|
|
878
|
-
|
|
879
|
-
[
|
|
880
|
-
'ERR_BAD_OPTION_VALUE',
|
|
881
|
-
'ERR_BAD_OPTION',
|
|
882
|
-
'ECONNABORTED',
|
|
883
|
-
'ETIMEDOUT',
|
|
884
|
-
'ERR_NETWORK',
|
|
885
|
-
'ERR_FR_TOO_MANY_REDIRECTS',
|
|
886
|
-
'ERR_DEPRECATED',
|
|
887
|
-
'ERR_BAD_RESPONSE',
|
|
888
|
-
'ERR_BAD_REQUEST',
|
|
889
|
-
'ERR_CANCELED',
|
|
890
|
-
'ERR_NOT_SUPPORT',
|
|
891
|
-
'ERR_INVALID_URL'
|
|
892
|
-
// eslint-disable-next-line func-names
|
|
893
|
-
].forEach(code => {
|
|
894
|
-
descriptors[code] = {value: code};
|
|
895
|
-
});
|
|
896
|
-
|
|
897
|
-
Object.defineProperties(AxiosError, descriptors);
|
|
898
|
-
Object.defineProperty(prototype$1, 'isAxiosError', {value: true});
|
|
899
|
-
|
|
900
|
-
// eslint-disable-next-line func-names
|
|
901
|
-
AxiosError.from = (error, code, config, request, response, customProps) => {
|
|
902
|
-
const axiosError = Object.create(prototype$1);
|
|
903
|
-
|
|
904
|
-
utils$1.toFlatObject(error, axiosError, function filter(obj) {
|
|
905
|
-
return obj !== Error.prototype;
|
|
906
|
-
}, prop => {
|
|
907
|
-
return prop !== 'isAxiosError';
|
|
908
|
-
});
|
|
909
|
-
|
|
910
|
-
const msg = error && error.message ? error.message : 'Error';
|
|
911
|
-
|
|
912
|
-
// Prefer explicit code; otherwise copy the low-level error's code (e.g. ECONNREFUSED)
|
|
913
|
-
const errCode = code == null && error ? error.code : code;
|
|
914
|
-
AxiosError.call(axiosError, msg, errCode, config, request, response);
|
|
915
|
-
|
|
916
|
-
// Chain the original error on the standard field; non-enumerable to avoid JSON noise
|
|
917
|
-
if (error && axiosError.cause == null) {
|
|
918
|
-
Object.defineProperty(axiosError, 'cause', { value: error, configurable: true });
|
|
919
|
-
}
|
|
920
|
-
|
|
921
|
-
axiosError.name = (error && error.name) || 'Error';
|
|
922
|
-
|
|
923
|
-
customProps && Object.assign(axiosError, customProps);
|
|
1029
|
+
}
|
|
924
1030
|
|
|
925
|
-
|
|
926
|
-
|
|
1031
|
+
// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.
|
|
1032
|
+
AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';
|
|
1033
|
+
AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';
|
|
1034
|
+
AxiosError.ECONNABORTED = 'ECONNABORTED';
|
|
1035
|
+
AxiosError.ETIMEDOUT = 'ETIMEDOUT';
|
|
1036
|
+
AxiosError.ERR_NETWORK = 'ERR_NETWORK';
|
|
1037
|
+
AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';
|
|
1038
|
+
AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';
|
|
1039
|
+
AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE';
|
|
1040
|
+
AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';
|
|
1041
|
+
AxiosError.ERR_CANCELED = 'ERR_CANCELED';
|
|
1042
|
+
AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';
|
|
1043
|
+
AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';
|
|
1044
|
+
|
|
1045
|
+
const AxiosError$1 = AxiosError;
|
|
927
1046
|
|
|
928
1047
|
/**
|
|
929
1048
|
* Determines if the given thing is a array or js object.
|
|
@@ -958,11 +1077,14 @@ function removeBrackets(key) {
|
|
|
958
1077
|
*/
|
|
959
1078
|
function renderKey(path, key, dots) {
|
|
960
1079
|
if (!path) return key;
|
|
961
|
-
return path
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
1080
|
+
return path
|
|
1081
|
+
.concat(key)
|
|
1082
|
+
.map(function each(token, i) {
|
|
1083
|
+
// eslint-disable-next-line no-param-reassign
|
|
1084
|
+
token = removeBrackets(token);
|
|
1085
|
+
return !dots && i ? '[' + token + ']' : token;
|
|
1086
|
+
})
|
|
1087
|
+
.join(dots ? '.' : '');
|
|
966
1088
|
}
|
|
967
1089
|
|
|
968
1090
|
/**
|
|
@@ -1012,21 +1134,26 @@ function toFormData(obj, formData, options) {
|
|
|
1012
1134
|
formData = formData || new (FormData__default["default"] || FormData)();
|
|
1013
1135
|
|
|
1014
1136
|
// eslint-disable-next-line no-param-reassign
|
|
1015
|
-
options = utils$1.toFlatObject(
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1137
|
+
options = utils$1.toFlatObject(
|
|
1138
|
+
options,
|
|
1139
|
+
{
|
|
1140
|
+
metaTokens: true,
|
|
1141
|
+
dots: false,
|
|
1142
|
+
indexes: false,
|
|
1143
|
+
},
|
|
1144
|
+
false,
|
|
1145
|
+
function defined(option, source) {
|
|
1146
|
+
// eslint-disable-next-line no-eq-null,eqeqeq
|
|
1147
|
+
return !utils$1.isUndefined(source[option]);
|
|
1148
|
+
}
|
|
1149
|
+
);
|
|
1023
1150
|
|
|
1024
1151
|
const metaTokens = options.metaTokens;
|
|
1025
1152
|
// eslint-disable-next-line no-use-before-define
|
|
1026
1153
|
const visitor = options.visitor || defaultVisitor;
|
|
1027
1154
|
const dots = options.dots;
|
|
1028
1155
|
const indexes = options.indexes;
|
|
1029
|
-
const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;
|
|
1156
|
+
const _Blob = options.Blob || (typeof Blob !== 'undefined' && Blob);
|
|
1030
1157
|
const useBlob = _Blob && utils$1.isSpecCompliantForm(formData);
|
|
1031
1158
|
|
|
1032
1159
|
if (!utils$1.isFunction(visitor)) {
|
|
@@ -1045,7 +1172,7 @@ function toFormData(obj, formData, options) {
|
|
|
1045
1172
|
}
|
|
1046
1173
|
|
|
1047
1174
|
if (!useBlob && utils$1.isBlob(value)) {
|
|
1048
|
-
throw new AxiosError('Blob is not supported. Use a Buffer instead.');
|
|
1175
|
+
throw new AxiosError$1('Blob is not supported. Use a Buffer instead.');
|
|
1049
1176
|
}
|
|
1050
1177
|
|
|
1051
1178
|
if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
|
|
@@ -1068,6 +1195,11 @@ function toFormData(obj, formData, options) {
|
|
|
1068
1195
|
function defaultVisitor(value, key, path) {
|
|
1069
1196
|
let arr = value;
|
|
1070
1197
|
|
|
1198
|
+
if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) {
|
|
1199
|
+
formData.append(renderKey(path, key, dots), convertValue(value));
|
|
1200
|
+
return false;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1071
1203
|
if (value && !path && typeof value === 'object') {
|
|
1072
1204
|
if (utils$1.endsWith(key, '{}')) {
|
|
1073
1205
|
// eslint-disable-next-line no-param-reassign
|
|
@@ -1076,17 +1208,22 @@ function toFormData(obj, formData, options) {
|
|
|
1076
1208
|
value = JSON.stringify(value);
|
|
1077
1209
|
} else if (
|
|
1078
1210
|
(utils$1.isArray(value) && isFlatArray(value)) ||
|
|
1079
|
-
((utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value))
|
|
1080
|
-
|
|
1211
|
+
((utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value)))
|
|
1212
|
+
) {
|
|
1081
1213
|
// eslint-disable-next-line no-param-reassign
|
|
1082
1214
|
key = removeBrackets(key);
|
|
1083
1215
|
|
|
1084
1216
|
arr.forEach(function each(el, index) {
|
|
1085
|
-
!(utils$1.isUndefined(el) || el === null) &&
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1217
|
+
!(utils$1.isUndefined(el) || el === null) &&
|
|
1218
|
+
formData.append(
|
|
1219
|
+
// eslint-disable-next-line no-nested-ternary
|
|
1220
|
+
indexes === true
|
|
1221
|
+
? renderKey([key], index, dots)
|
|
1222
|
+
: indexes === null
|
|
1223
|
+
? key
|
|
1224
|
+
: key + '[]',
|
|
1225
|
+
convertValue(el)
|
|
1226
|
+
);
|
|
1090
1227
|
});
|
|
1091
1228
|
return false;
|
|
1092
1229
|
}
|
|
@@ -1106,7 +1243,7 @@ function toFormData(obj, formData, options) {
|
|
|
1106
1243
|
const exposedHelpers = Object.assign(predicates, {
|
|
1107
1244
|
defaultVisitor,
|
|
1108
1245
|
convertValue,
|
|
1109
|
-
isVisitable
|
|
1246
|
+
isVisitable,
|
|
1110
1247
|
});
|
|
1111
1248
|
|
|
1112
1249
|
function build(value, path) {
|
|
@@ -1119,9 +1256,9 @@ function toFormData(obj, formData, options) {
|
|
|
1119
1256
|
stack.push(value);
|
|
1120
1257
|
|
|
1121
1258
|
utils$1.forEach(value, function each(el, key) {
|
|
1122
|
-
const result =
|
|
1123
|
-
|
|
1124
|
-
|
|
1259
|
+
const result =
|
|
1260
|
+
!(utils$1.isUndefined(el) || el === null) &&
|
|
1261
|
+
visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers);
|
|
1125
1262
|
|
|
1126
1263
|
if (result === true) {
|
|
1127
1264
|
build(el, path ? path.concat(key) : [key]);
|
|
@@ -1156,7 +1293,7 @@ function encode$1(str) {
|
|
|
1156
1293
|
')': '%29',
|
|
1157
1294
|
'~': '%7E',
|
|
1158
1295
|
'%20': '+',
|
|
1159
|
-
'%00': '\x00'
|
|
1296
|
+
'%00': '\x00',
|
|
1160
1297
|
};
|
|
1161
1298
|
return encodeURIComponent(str).replace(/[!'()~]|%20|%00/g, function replacer(match) {
|
|
1162
1299
|
return charMap[match];
|
|
@@ -1184,13 +1321,17 @@ prototype.append = function append(name, value) {
|
|
|
1184
1321
|
};
|
|
1185
1322
|
|
|
1186
1323
|
prototype.toString = function toString(encoder) {
|
|
1187
|
-
const _encode = encoder
|
|
1188
|
-
|
|
1189
|
-
|
|
1324
|
+
const _encode = encoder
|
|
1325
|
+
? function (value) {
|
|
1326
|
+
return encoder.call(this, value, encode$1);
|
|
1327
|
+
}
|
|
1328
|
+
: encode$1;
|
|
1190
1329
|
|
|
1191
|
-
return this._pairs
|
|
1192
|
-
|
|
1193
|
-
|
|
1330
|
+
return this._pairs
|
|
1331
|
+
.map(function each(pair) {
|
|
1332
|
+
return _encode(pair[0]) + '=' + _encode(pair[1]);
|
|
1333
|
+
}, '')
|
|
1334
|
+
.join('&');
|
|
1194
1335
|
};
|
|
1195
1336
|
|
|
1196
1337
|
/**
|
|
@@ -1202,11 +1343,11 @@ prototype.toString = function toString(encoder) {
|
|
|
1202
1343
|
* @returns {string} The encoded value.
|
|
1203
1344
|
*/
|
|
1204
1345
|
function encode(val) {
|
|
1205
|
-
return encodeURIComponent(val)
|
|
1206
|
-
replace(/%3A/gi, ':')
|
|
1207
|
-
replace(/%24/g, '$')
|
|
1208
|
-
replace(/%2C/gi, ',')
|
|
1209
|
-
replace(/%20/g, '+');
|
|
1346
|
+
return encodeURIComponent(val)
|
|
1347
|
+
.replace(/%3A/gi, ':')
|
|
1348
|
+
.replace(/%24/g, '$')
|
|
1349
|
+
.replace(/%2C/gi, ',')
|
|
1350
|
+
.replace(/%20/g, '+');
|
|
1210
1351
|
}
|
|
1211
1352
|
|
|
1212
1353
|
/**
|
|
@@ -1219,33 +1360,32 @@ function encode(val) {
|
|
|
1219
1360
|
* @returns {string} The formatted url
|
|
1220
1361
|
*/
|
|
1221
1362
|
function buildURL(url, params, options) {
|
|
1222
|
-
/*eslint no-param-reassign:0*/
|
|
1223
1363
|
if (!params) {
|
|
1224
1364
|
return url;
|
|
1225
1365
|
}
|
|
1226
|
-
|
|
1227
|
-
const _encode = options && options.encode || encode;
|
|
1228
1366
|
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1367
|
+
const _encode = (options && options.encode) || encode;
|
|
1368
|
+
|
|
1369
|
+
const _options = utils$1.isFunction(options)
|
|
1370
|
+
? {
|
|
1371
|
+
serialize: options,
|
|
1372
|
+
}
|
|
1373
|
+
: options;
|
|
1234
1374
|
|
|
1235
|
-
const serializeFn =
|
|
1375
|
+
const serializeFn = _options && _options.serialize;
|
|
1236
1376
|
|
|
1237
1377
|
let serializedParams;
|
|
1238
1378
|
|
|
1239
1379
|
if (serializeFn) {
|
|
1240
|
-
serializedParams = serializeFn(params,
|
|
1380
|
+
serializedParams = serializeFn(params, _options);
|
|
1241
1381
|
} else {
|
|
1242
|
-
serializedParams = utils$1.isURLSearchParams(params)
|
|
1243
|
-
params.toString()
|
|
1244
|
-
new AxiosURLSearchParams(params,
|
|
1382
|
+
serializedParams = utils$1.isURLSearchParams(params)
|
|
1383
|
+
? params.toString()
|
|
1384
|
+
: new AxiosURLSearchParams(params, _options).toString(_encode);
|
|
1245
1385
|
}
|
|
1246
1386
|
|
|
1247
1387
|
if (serializedParams) {
|
|
1248
|
-
const hashmarkIndex = url.indexOf(
|
|
1388
|
+
const hashmarkIndex = url.indexOf('#');
|
|
1249
1389
|
|
|
1250
1390
|
if (hashmarkIndex !== -1) {
|
|
1251
1391
|
url = url.slice(0, hashmarkIndex);
|
|
@@ -1266,6 +1406,7 @@ class InterceptorManager {
|
|
|
1266
1406
|
*
|
|
1267
1407
|
* @param {Function} fulfilled The function to handle `then` for a `Promise`
|
|
1268
1408
|
* @param {Function} rejected The function to handle `reject` for a `Promise`
|
|
1409
|
+
* @param {Object} options The options for the interceptor, synchronous and runWhen
|
|
1269
1410
|
*
|
|
1270
1411
|
* @return {Number} An ID used to remove interceptor later
|
|
1271
1412
|
*/
|
|
@@ -1274,7 +1415,7 @@ class InterceptorManager {
|
|
|
1274
1415
|
fulfilled,
|
|
1275
1416
|
rejected,
|
|
1276
1417
|
synchronous: options ? options.synchronous : false,
|
|
1277
|
-
runWhen: options ? options.runWhen : null
|
|
1418
|
+
runWhen: options ? options.runWhen : null,
|
|
1278
1419
|
});
|
|
1279
1420
|
return this.handlers.length - 1;
|
|
1280
1421
|
}
|
|
@@ -1327,7 +1468,8 @@ const InterceptorManager$1 = InterceptorManager;
|
|
|
1327
1468
|
const transitionalDefaults = {
|
|
1328
1469
|
silentJSONParsing: true,
|
|
1329
1470
|
forcedJSONParsing: true,
|
|
1330
|
-
clarifyTimeoutError: false
|
|
1471
|
+
clarifyTimeoutError: false,
|
|
1472
|
+
legacyInterceptorReqResOrdering: true,
|
|
1331
1473
|
};
|
|
1332
1474
|
|
|
1333
1475
|
const URLSearchParams = url__default["default"].URLSearchParams;
|
|
@@ -1339,12 +1481,12 @@ const DIGIT = '0123456789';
|
|
|
1339
1481
|
const ALPHABET = {
|
|
1340
1482
|
DIGIT,
|
|
1341
1483
|
ALPHA,
|
|
1342
|
-
ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
|
|
1484
|
+
ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT,
|
|
1343
1485
|
};
|
|
1344
1486
|
|
|
1345
1487
|
const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
|
|
1346
1488
|
let str = '';
|
|
1347
|
-
const {length} = alphabet;
|
|
1489
|
+
const { length } = alphabet;
|
|
1348
1490
|
const randomValues = new Uint32Array(size);
|
|
1349
1491
|
crypto__default["default"].randomFillSync(randomValues);
|
|
1350
1492
|
for (let i = 0; i < size; i++) {
|
|
@@ -1354,22 +1496,21 @@ const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
|
|
|
1354
1496
|
return str;
|
|
1355
1497
|
};
|
|
1356
1498
|
|
|
1357
|
-
|
|
1358
1499
|
const platform$1 = {
|
|
1359
1500
|
isNode: true,
|
|
1360
1501
|
classes: {
|
|
1361
1502
|
URLSearchParams,
|
|
1362
1503
|
FormData: FormData__default["default"],
|
|
1363
|
-
Blob: typeof Blob !== 'undefined' && Blob || null
|
|
1504
|
+
Blob: (typeof Blob !== 'undefined' && Blob) || null,
|
|
1364
1505
|
},
|
|
1365
1506
|
ALPHABET,
|
|
1366
1507
|
generateString,
|
|
1367
|
-
protocols: [
|
|
1508
|
+
protocols: ['http', 'https', 'file', 'data'],
|
|
1368
1509
|
};
|
|
1369
1510
|
|
|
1370
1511
|
const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
1371
1512
|
|
|
1372
|
-
const _navigator = typeof navigator === 'object' && navigator || undefined;
|
|
1513
|
+
const _navigator = (typeof navigator === 'object' && navigator) || undefined;
|
|
1373
1514
|
|
|
1374
1515
|
/**
|
|
1375
1516
|
* Determine if we're running in a standard browser environment
|
|
@@ -1388,7 +1529,8 @@ const _navigator = typeof navigator === 'object' && navigator || undefined;
|
|
|
1388
1529
|
*
|
|
1389
1530
|
* @returns {boolean}
|
|
1390
1531
|
*/
|
|
1391
|
-
const hasStandardBrowserEnv =
|
|
1532
|
+
const hasStandardBrowserEnv =
|
|
1533
|
+
hasBrowserEnv &&
|
|
1392
1534
|
(!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
|
|
1393
1535
|
|
|
1394
1536
|
/**
|
|
@@ -1409,7 +1551,7 @@ const hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
1409
1551
|
);
|
|
1410
1552
|
})();
|
|
1411
1553
|
|
|
1412
|
-
const origin = hasBrowserEnv && window.location.href || 'http://localhost';
|
|
1554
|
+
const origin = (hasBrowserEnv && window.location.href) || 'http://localhost';
|
|
1413
1555
|
|
|
1414
1556
|
const utils = /*#__PURE__*/Object.freeze({
|
|
1415
1557
|
__proto__: null,
|
|
@@ -1422,12 +1564,12 @@ const utils = /*#__PURE__*/Object.freeze({
|
|
|
1422
1564
|
|
|
1423
1565
|
const platform = {
|
|
1424
1566
|
...utils,
|
|
1425
|
-
...platform$1
|
|
1567
|
+
...platform$1,
|
|
1426
1568
|
};
|
|
1427
1569
|
|
|
1428
1570
|
function toURLEncodedForm(data, options) {
|
|
1429
1571
|
return toFormData(data, new platform.classes.URLSearchParams(), {
|
|
1430
|
-
visitor: function(value, key, path, helpers) {
|
|
1572
|
+
visitor: function (value, key, path, helpers) {
|
|
1431
1573
|
if (platform.isNode && utils$1.isBuffer(value)) {
|
|
1432
1574
|
this.append(key, value.toString('base64'));
|
|
1433
1575
|
return false;
|
|
@@ -1435,7 +1577,7 @@ function toURLEncodedForm(data, options) {
|
|
|
1435
1577
|
|
|
1436
1578
|
return helpers.defaultVisitor.apply(this, arguments);
|
|
1437
1579
|
},
|
|
1438
|
-
...options
|
|
1580
|
+
...options,
|
|
1439
1581
|
});
|
|
1440
1582
|
}
|
|
1441
1583
|
|
|
@@ -1451,7 +1593,7 @@ function parsePropPath(name) {
|
|
|
1451
1593
|
// foo.x.y.z
|
|
1452
1594
|
// foo-x-y-z
|
|
1453
1595
|
// foo x y z
|
|
1454
|
-
return utils$1.matchAll(/\w+|\[(\w*)]/g, name).map(match => {
|
|
1596
|
+
return utils$1.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
|
|
1455
1597
|
return match[0] === '[]' ? '' : match[1] || match[0];
|
|
1456
1598
|
});
|
|
1457
1599
|
}
|
|
@@ -1555,96 +1697,107 @@ function stringifySafely(rawValue, parser, encoder) {
|
|
|
1555
1697
|
}
|
|
1556
1698
|
|
|
1557
1699
|
const defaults = {
|
|
1558
|
-
|
|
1559
1700
|
transitional: transitionalDefaults,
|
|
1560
1701
|
|
|
1561
1702
|
adapter: ['xhr', 'http', 'fetch'],
|
|
1562
1703
|
|
|
1563
|
-
transformRequest: [
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1704
|
+
transformRequest: [
|
|
1705
|
+
function transformRequest(data, headers) {
|
|
1706
|
+
const contentType = headers.getContentType() || '';
|
|
1707
|
+
const hasJSONContentType = contentType.indexOf('application/json') > -1;
|
|
1708
|
+
const isObjectPayload = utils$1.isObject(data);
|
|
1567
1709
|
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1710
|
+
if (isObjectPayload && utils$1.isHTMLForm(data)) {
|
|
1711
|
+
data = new FormData(data);
|
|
1712
|
+
}
|
|
1571
1713
|
|
|
1572
|
-
|
|
1714
|
+
const isFormData = utils$1.isFormData(data);
|
|
1573
1715
|
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1716
|
+
if (isFormData) {
|
|
1717
|
+
return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
|
|
1718
|
+
}
|
|
1577
1719
|
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1720
|
+
if (
|
|
1721
|
+
utils$1.isArrayBuffer(data) ||
|
|
1722
|
+
utils$1.isBuffer(data) ||
|
|
1723
|
+
utils$1.isStream(data) ||
|
|
1724
|
+
utils$1.isFile(data) ||
|
|
1725
|
+
utils$1.isBlob(data) ||
|
|
1726
|
+
utils$1.isReadableStream(data)
|
|
1727
|
+
) {
|
|
1728
|
+
return data;
|
|
1729
|
+
}
|
|
1730
|
+
if (utils$1.isArrayBufferView(data)) {
|
|
1731
|
+
return data.buffer;
|
|
1732
|
+
}
|
|
1733
|
+
if (utils$1.isURLSearchParams(data)) {
|
|
1734
|
+
headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);
|
|
1735
|
+
return data.toString();
|
|
1736
|
+
}
|
|
1594
1737
|
|
|
1595
|
-
|
|
1738
|
+
let isFileList;
|
|
1596
1739
|
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1740
|
+
if (isObjectPayload) {
|
|
1741
|
+
if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
|
|
1742
|
+
return toURLEncodedForm(data, this.formSerializer).toString();
|
|
1743
|
+
}
|
|
1601
1744
|
|
|
1602
|
-
|
|
1603
|
-
|
|
1745
|
+
if (
|
|
1746
|
+
(isFileList = utils$1.isFileList(data)) ||
|
|
1747
|
+
contentType.indexOf('multipart/form-data') > -1
|
|
1748
|
+
) {
|
|
1749
|
+
const _FormData = this.env && this.env.FormData;
|
|
1604
1750
|
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1751
|
+
return toFormData(
|
|
1752
|
+
isFileList ? { 'files[]': data } : data,
|
|
1753
|
+
_FormData && new _FormData(),
|
|
1754
|
+
this.formSerializer
|
|
1755
|
+
);
|
|
1756
|
+
}
|
|
1610
1757
|
}
|
|
1611
|
-
}
|
|
1612
1758
|
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1759
|
+
if (isObjectPayload || hasJSONContentType) {
|
|
1760
|
+
headers.setContentType('application/json', false);
|
|
1761
|
+
return stringifySafely(data);
|
|
1762
|
+
}
|
|
1617
1763
|
|
|
1618
|
-
|
|
1619
|
-
|
|
1764
|
+
return data;
|
|
1765
|
+
},
|
|
1766
|
+
],
|
|
1620
1767
|
|
|
1621
|
-
transformResponse: [
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1768
|
+
transformResponse: [
|
|
1769
|
+
function transformResponse(data) {
|
|
1770
|
+
const transitional = this.transitional || defaults.transitional;
|
|
1771
|
+
const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
|
|
1772
|
+
const JSONRequested = this.responseType === 'json';
|
|
1625
1773
|
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1774
|
+
if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) {
|
|
1775
|
+
return data;
|
|
1776
|
+
}
|
|
1629
1777
|
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1778
|
+
if (
|
|
1779
|
+
data &&
|
|
1780
|
+
utils$1.isString(data) &&
|
|
1781
|
+
((forcedJSONParsing && !this.responseType) || JSONRequested)
|
|
1782
|
+
) {
|
|
1783
|
+
const silentJSONParsing = transitional && transitional.silentJSONParsing;
|
|
1784
|
+
const strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
1633
1785
|
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1786
|
+
try {
|
|
1787
|
+
return JSON.parse(data, this.parseReviver);
|
|
1788
|
+
} catch (e) {
|
|
1789
|
+
if (strictJSONParsing) {
|
|
1790
|
+
if (e.name === 'SyntaxError') {
|
|
1791
|
+
throw AxiosError$1.from(e, AxiosError$1.ERR_BAD_RESPONSE, this, null, this.response);
|
|
1792
|
+
}
|
|
1793
|
+
throw e;
|
|
1640
1794
|
}
|
|
1641
|
-
throw e;
|
|
1642
1795
|
}
|
|
1643
1796
|
}
|
|
1644
|
-
}
|
|
1645
1797
|
|
|
1646
|
-
|
|
1647
|
-
|
|
1798
|
+
return data;
|
|
1799
|
+
},
|
|
1800
|
+
],
|
|
1648
1801
|
|
|
1649
1802
|
/**
|
|
1650
1803
|
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
@@ -1660,7 +1813,7 @@ const defaults = {
|
|
|
1660
1813
|
|
|
1661
1814
|
env: {
|
|
1662
1815
|
FormData: platform.classes.FormData,
|
|
1663
|
-
Blob: platform.classes.Blob
|
|
1816
|
+
Blob: platform.classes.Blob,
|
|
1664
1817
|
},
|
|
1665
1818
|
|
|
1666
1819
|
validateStatus: function validateStatus(status) {
|
|
@@ -1669,10 +1822,10 @@ const defaults = {
|
|
|
1669
1822
|
|
|
1670
1823
|
headers: {
|
|
1671
1824
|
common: {
|
|
1672
|
-
|
|
1673
|
-
'Content-Type': undefined
|
|
1674
|
-
}
|
|
1675
|
-
}
|
|
1825
|
+
Accept: 'application/json, text/plain, */*',
|
|
1826
|
+
'Content-Type': undefined,
|
|
1827
|
+
},
|
|
1828
|
+
},
|
|
1676
1829
|
};
|
|
1677
1830
|
|
|
1678
1831
|
utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
|
|
@@ -1684,10 +1837,23 @@ const defaults$1 = defaults;
|
|
|
1684
1837
|
// RawAxiosHeaders whose duplicates are ignored by node
|
|
1685
1838
|
// c.f. https://nodejs.org/api/http.html#http_message_headers
|
|
1686
1839
|
const ignoreDuplicateOf = utils$1.toObjectSet([
|
|
1687
|
-
'age',
|
|
1688
|
-
'
|
|
1689
|
-
'
|
|
1690
|
-
'
|
|
1840
|
+
'age',
|
|
1841
|
+
'authorization',
|
|
1842
|
+
'content-length',
|
|
1843
|
+
'content-type',
|
|
1844
|
+
'etag',
|
|
1845
|
+
'expires',
|
|
1846
|
+
'from',
|
|
1847
|
+
'host',
|
|
1848
|
+
'if-modified-since',
|
|
1849
|
+
'if-unmodified-since',
|
|
1850
|
+
'last-modified',
|
|
1851
|
+
'location',
|
|
1852
|
+
'max-forwards',
|
|
1853
|
+
'proxy-authorization',
|
|
1854
|
+
'referer',
|
|
1855
|
+
'retry-after',
|
|
1856
|
+
'user-agent',
|
|
1691
1857
|
]);
|
|
1692
1858
|
|
|
1693
1859
|
/**
|
|
@@ -1704,31 +1870,32 @@ const ignoreDuplicateOf = utils$1.toObjectSet([
|
|
|
1704
1870
|
*
|
|
1705
1871
|
* @returns {Object} Headers parsed into an object
|
|
1706
1872
|
*/
|
|
1707
|
-
const parseHeaders = rawHeaders => {
|
|
1873
|
+
const parseHeaders = (rawHeaders) => {
|
|
1708
1874
|
const parsed = {};
|
|
1709
1875
|
let key;
|
|
1710
1876
|
let val;
|
|
1711
1877
|
let i;
|
|
1712
1878
|
|
|
1713
|
-
rawHeaders &&
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1879
|
+
rawHeaders &&
|
|
1880
|
+
rawHeaders.split('\n').forEach(function parser(line) {
|
|
1881
|
+
i = line.indexOf(':');
|
|
1882
|
+
key = line.substring(0, i).trim().toLowerCase();
|
|
1883
|
+
val = line.substring(i + 1).trim();
|
|
1717
1884
|
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1885
|
+
if (!key || (parsed[key] && ignoreDuplicateOf[key])) {
|
|
1886
|
+
return;
|
|
1887
|
+
}
|
|
1721
1888
|
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1889
|
+
if (key === 'set-cookie') {
|
|
1890
|
+
if (parsed[key]) {
|
|
1891
|
+
parsed[key].push(val);
|
|
1892
|
+
} else {
|
|
1893
|
+
parsed[key] = [val];
|
|
1894
|
+
}
|
|
1725
1895
|
} else {
|
|
1726
|
-
parsed[key] = [val
|
|
1896
|
+
parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
|
|
1727
1897
|
}
|
|
1728
|
-
}
|
|
1729
|
-
parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
|
|
1730
|
-
}
|
|
1731
|
-
});
|
|
1898
|
+
});
|
|
1732
1899
|
|
|
1733
1900
|
return parsed;
|
|
1734
1901
|
};
|
|
@@ -1782,8 +1949,10 @@ function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
|
|
|
1782
1949
|
}
|
|
1783
1950
|
|
|
1784
1951
|
function formatHeader(header) {
|
|
1785
|
-
return header
|
|
1786
|
-
.
|
|
1952
|
+
return header
|
|
1953
|
+
.trim()
|
|
1954
|
+
.toLowerCase()
|
|
1955
|
+
.replace(/([a-z\d])(\w*)/g, (w, char, str) => {
|
|
1787
1956
|
return char.toUpperCase() + str;
|
|
1788
1957
|
});
|
|
1789
1958
|
}
|
|
@@ -1791,12 +1960,12 @@ function formatHeader(header) {
|
|
|
1791
1960
|
function buildAccessors(obj, header) {
|
|
1792
1961
|
const accessorName = utils$1.toCamelCase(' ' + header);
|
|
1793
1962
|
|
|
1794
|
-
['get', 'set', 'has'].forEach(methodName => {
|
|
1963
|
+
['get', 'set', 'has'].forEach((methodName) => {
|
|
1795
1964
|
Object.defineProperty(obj, methodName + accessorName, {
|
|
1796
|
-
value: function(arg1, arg2, arg3) {
|
|
1965
|
+
value: function (arg1, arg2, arg3) {
|
|
1797
1966
|
return this[methodName].call(this, header, arg1, arg2, arg3);
|
|
1798
1967
|
},
|
|
1799
|
-
configurable: true
|
|
1968
|
+
configurable: true,
|
|
1800
1969
|
});
|
|
1801
1970
|
});
|
|
1802
1971
|
}
|
|
@@ -1818,7 +1987,12 @@ class AxiosHeaders {
|
|
|
1818
1987
|
|
|
1819
1988
|
const key = utils$1.findKey(self, lHeader);
|
|
1820
1989
|
|
|
1821
|
-
if
|
|
1990
|
+
if (
|
|
1991
|
+
!key ||
|
|
1992
|
+
self[key] === undefined ||
|
|
1993
|
+
_rewrite === true ||
|
|
1994
|
+
(_rewrite === undefined && self[key] !== false)
|
|
1995
|
+
) {
|
|
1822
1996
|
self[key || _header] = normalizeValue(_value);
|
|
1823
1997
|
}
|
|
1824
1998
|
}
|
|
@@ -1828,17 +2002,22 @@ class AxiosHeaders {
|
|
|
1828
2002
|
|
|
1829
2003
|
if (utils$1.isPlainObject(header) || header instanceof this.constructor) {
|
|
1830
2004
|
setHeaders(header, valueOrRewrite);
|
|
1831
|
-
} else if(utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
2005
|
+
} else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
1832
2006
|
setHeaders(parseHeaders(header), valueOrRewrite);
|
|
1833
2007
|
} else if (utils$1.isObject(header) && utils$1.isIterable(header)) {
|
|
1834
|
-
let obj = {},
|
|
2008
|
+
let obj = {},
|
|
2009
|
+
dest,
|
|
2010
|
+
key;
|
|
1835
2011
|
for (const entry of header) {
|
|
1836
2012
|
if (!utils$1.isArray(entry)) {
|
|
1837
2013
|
throw TypeError('Object iterator must return a key-value pair');
|
|
1838
2014
|
}
|
|
1839
2015
|
|
|
1840
|
-
obj[key = entry[0]] = (dest = obj[key])
|
|
1841
|
-
|
|
2016
|
+
obj[(key = entry[0])] = (dest = obj[key])
|
|
2017
|
+
? utils$1.isArray(dest)
|
|
2018
|
+
? [...dest, entry[1]]
|
|
2019
|
+
: [dest, entry[1]]
|
|
2020
|
+
: entry[1];
|
|
1842
2021
|
}
|
|
1843
2022
|
|
|
1844
2023
|
setHeaders(obj, valueOrRewrite);
|
|
@@ -1885,7 +2064,11 @@ class AxiosHeaders {
|
|
|
1885
2064
|
if (header) {
|
|
1886
2065
|
const key = utils$1.findKey(this, header);
|
|
1887
2066
|
|
|
1888
|
-
return !!(
|
|
2067
|
+
return !!(
|
|
2068
|
+
key &&
|
|
2069
|
+
this[key] !== undefined &&
|
|
2070
|
+
(!matcher || matchHeaderValue(this, this[key], key, matcher))
|
|
2071
|
+
);
|
|
1889
2072
|
}
|
|
1890
2073
|
|
|
1891
2074
|
return false;
|
|
@@ -1925,7 +2108,7 @@ class AxiosHeaders {
|
|
|
1925
2108
|
|
|
1926
2109
|
while (i--) {
|
|
1927
2110
|
const key = keys[i];
|
|
1928
|
-
if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
|
|
2111
|
+
if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
|
|
1929
2112
|
delete this[key];
|
|
1930
2113
|
deleted = true;
|
|
1931
2114
|
}
|
|
@@ -1969,7 +2152,9 @@ class AxiosHeaders {
|
|
|
1969
2152
|
const obj = Object.create(null);
|
|
1970
2153
|
|
|
1971
2154
|
utils$1.forEach(this, (value, header) => {
|
|
1972
|
-
value != null &&
|
|
2155
|
+
value != null &&
|
|
2156
|
+
value !== false &&
|
|
2157
|
+
(obj[header] = asStrings && utils$1.isArray(value) ? value.join(', ') : value);
|
|
1973
2158
|
});
|
|
1974
2159
|
|
|
1975
2160
|
return obj;
|
|
@@ -1980,11 +2165,13 @@ class AxiosHeaders {
|
|
|
1980
2165
|
}
|
|
1981
2166
|
|
|
1982
2167
|
toString() {
|
|
1983
|
-
return Object.entries(this.toJSON())
|
|
2168
|
+
return Object.entries(this.toJSON())
|
|
2169
|
+
.map(([header, value]) => header + ': ' + value)
|
|
2170
|
+
.join('\n');
|
|
1984
2171
|
}
|
|
1985
2172
|
|
|
1986
2173
|
getSetCookie() {
|
|
1987
|
-
return this.get(
|
|
2174
|
+
return this.get('set-cookie') || [];
|
|
1988
2175
|
}
|
|
1989
2176
|
|
|
1990
2177
|
get [Symbol.toStringTag]() {
|
|
@@ -2004,9 +2191,12 @@ class AxiosHeaders {
|
|
|
2004
2191
|
}
|
|
2005
2192
|
|
|
2006
2193
|
static accessor(header) {
|
|
2007
|
-
const internals =
|
|
2008
|
-
|
|
2009
|
-
|
|
2194
|
+
const internals =
|
|
2195
|
+
(this[$internals] =
|
|
2196
|
+
this[$internals] =
|
|
2197
|
+
{
|
|
2198
|
+
accessors: {},
|
|
2199
|
+
});
|
|
2010
2200
|
|
|
2011
2201
|
const accessors = internals.accessors;
|
|
2012
2202
|
const prototype = this.prototype;
|
|
@@ -2026,17 +2216,24 @@ class AxiosHeaders {
|
|
|
2026
2216
|
}
|
|
2027
2217
|
}
|
|
2028
2218
|
|
|
2029
|
-
AxiosHeaders.accessor([
|
|
2219
|
+
AxiosHeaders.accessor([
|
|
2220
|
+
'Content-Type',
|
|
2221
|
+
'Content-Length',
|
|
2222
|
+
'Accept',
|
|
2223
|
+
'Accept-Encoding',
|
|
2224
|
+
'User-Agent',
|
|
2225
|
+
'Authorization',
|
|
2226
|
+
]);
|
|
2030
2227
|
|
|
2031
2228
|
// reserved names hotfix
|
|
2032
|
-
utils$1.reduceDescriptors(AxiosHeaders.prototype, ({value}, key) => {
|
|
2229
|
+
utils$1.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
2033
2230
|
let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
|
|
2034
2231
|
return {
|
|
2035
2232
|
get: () => value,
|
|
2036
2233
|
set(headerValue) {
|
|
2037
2234
|
this[mapped] = headerValue;
|
|
2038
|
-
}
|
|
2039
|
-
}
|
|
2235
|
+
},
|
|
2236
|
+
};
|
|
2040
2237
|
});
|
|
2041
2238
|
|
|
2042
2239
|
utils$1.freezeMethods(AxiosHeaders);
|
|
@@ -2070,24 +2267,24 @@ function isCancel(value) {
|
|
|
2070
2267
|
return !!(value && value.__CANCEL__);
|
|
2071
2268
|
}
|
|
2072
2269
|
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2270
|
+
class CanceledError extends AxiosError$1 {
|
|
2271
|
+
/**
|
|
2272
|
+
* A `CanceledError` is an object that is thrown when an operation is canceled.
|
|
2273
|
+
*
|
|
2274
|
+
* @param {string=} message The message.
|
|
2275
|
+
* @param {Object=} config The config.
|
|
2276
|
+
* @param {Object=} request The request.
|
|
2277
|
+
*
|
|
2278
|
+
* @returns {CanceledError} The created error.
|
|
2279
|
+
*/
|
|
2280
|
+
constructor(message, config, request) {
|
|
2281
|
+
super(message == null ? 'canceled' : message, AxiosError$1.ERR_CANCELED, config, request);
|
|
2282
|
+
this.name = 'CanceledError';
|
|
2283
|
+
this.__CANCEL__ = true;
|
|
2284
|
+
}
|
|
2086
2285
|
}
|
|
2087
2286
|
|
|
2088
|
-
|
|
2089
|
-
__CANCEL__: true
|
|
2090
|
-
});
|
|
2287
|
+
const CanceledError$1 = CanceledError;
|
|
2091
2288
|
|
|
2092
2289
|
/**
|
|
2093
2290
|
* Resolve or reject a Promise based on response status.
|
|
@@ -2103,13 +2300,17 @@ function settle(resolve, reject, response) {
|
|
|
2103
2300
|
if (!response.status || !validateStatus || validateStatus(response.status)) {
|
|
2104
2301
|
resolve(response);
|
|
2105
2302
|
} else {
|
|
2106
|
-
reject(
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2303
|
+
reject(
|
|
2304
|
+
new AxiosError$1(
|
|
2305
|
+
'Request failed with status code ' + response.status,
|
|
2306
|
+
[AxiosError$1.ERR_BAD_REQUEST, AxiosError$1.ERR_BAD_RESPONSE][
|
|
2307
|
+
Math.floor(response.status / 100) - 4
|
|
2308
|
+
],
|
|
2309
|
+
response.config,
|
|
2310
|
+
response.request,
|
|
2311
|
+
response
|
|
2312
|
+
)
|
|
2313
|
+
);
|
|
2113
2314
|
}
|
|
2114
2315
|
}
|
|
2115
2316
|
|
|
@@ -2124,6 +2325,10 @@ function isAbsoluteURL(url) {
|
|
|
2124
2325
|
// A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
|
|
2125
2326
|
// RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
|
|
2126
2327
|
// by any combination of letters, digits, plus, period, or hyphen.
|
|
2328
|
+
if (typeof url !== 'string') {
|
|
2329
|
+
return false;
|
|
2330
|
+
}
|
|
2331
|
+
|
|
2127
2332
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
|
|
2128
2333
|
}
|
|
2129
2334
|
|
|
@@ -2159,11 +2364,11 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
|
2159
2364
|
return requestedURL;
|
|
2160
2365
|
}
|
|
2161
2366
|
|
|
2162
|
-
const VERSION = "1.13.
|
|
2367
|
+
const VERSION = "1.13.6";
|
|
2163
2368
|
|
|
2164
2369
|
function parseProtocol(url) {
|
|
2165
2370
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
|
2166
|
-
return match && match[1] || '';
|
|
2371
|
+
return (match && match[1]) || '';
|
|
2167
2372
|
}
|
|
2168
2373
|
|
|
2169
2374
|
const DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|
@@ -2179,7 +2384,7 @@ const DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|
|
2179
2384
|
* @returns {Buffer|Blob}
|
|
2180
2385
|
*/
|
|
2181
2386
|
function fromDataURI(uri, asBlob, options) {
|
|
2182
|
-
const _Blob = options && options.Blob || platform.classes.Blob;
|
|
2387
|
+
const _Blob = (options && options.Blob) || platform.classes.Blob;
|
|
2183
2388
|
const protocol = parseProtocol(uri);
|
|
2184
2389
|
|
|
2185
2390
|
if (asBlob === undefined && _Blob) {
|
|
@@ -2192,7 +2397,7 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
2192
2397
|
const match = DATA_URL_PATTERN.exec(uri);
|
|
2193
2398
|
|
|
2194
2399
|
if (!match) {
|
|
2195
|
-
throw new AxiosError('Invalid URL', AxiosError.ERR_INVALID_URL);
|
|
2400
|
+
throw new AxiosError$1('Invalid URL', AxiosError$1.ERR_INVALID_URL);
|
|
2196
2401
|
}
|
|
2197
2402
|
|
|
2198
2403
|
const mime = match[1];
|
|
@@ -2202,38 +2407,43 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
2202
2407
|
|
|
2203
2408
|
if (asBlob) {
|
|
2204
2409
|
if (!_Blob) {
|
|
2205
|
-
throw new AxiosError('Blob is not supported', AxiosError.ERR_NOT_SUPPORT);
|
|
2410
|
+
throw new AxiosError$1('Blob is not supported', AxiosError$1.ERR_NOT_SUPPORT);
|
|
2206
2411
|
}
|
|
2207
2412
|
|
|
2208
|
-
return new _Blob([buffer], {type: mime});
|
|
2413
|
+
return new _Blob([buffer], { type: mime });
|
|
2209
2414
|
}
|
|
2210
2415
|
|
|
2211
2416
|
return buffer;
|
|
2212
2417
|
}
|
|
2213
2418
|
|
|
2214
|
-
throw new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_NOT_SUPPORT);
|
|
2419
|
+
throw new AxiosError$1('Unsupported protocol ' + protocol, AxiosError$1.ERR_NOT_SUPPORT);
|
|
2215
2420
|
}
|
|
2216
2421
|
|
|
2217
2422
|
const kInternals = Symbol('internals');
|
|
2218
2423
|
|
|
2219
|
-
class AxiosTransformStream extends stream__default["default"].Transform{
|
|
2424
|
+
class AxiosTransformStream extends stream__default["default"].Transform {
|
|
2220
2425
|
constructor(options) {
|
|
2221
|
-
options = utils$1.toFlatObject(
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2426
|
+
options = utils$1.toFlatObject(
|
|
2427
|
+
options,
|
|
2428
|
+
{
|
|
2429
|
+
maxRate: 0,
|
|
2430
|
+
chunkSize: 64 * 1024,
|
|
2431
|
+
minChunkSize: 100,
|
|
2432
|
+
timeWindow: 500,
|
|
2433
|
+
ticksRate: 2,
|
|
2434
|
+
samplesCount: 15,
|
|
2435
|
+
},
|
|
2436
|
+
null,
|
|
2437
|
+
(prop, source) => {
|
|
2438
|
+
return !utils$1.isUndefined(source[prop]);
|
|
2439
|
+
}
|
|
2440
|
+
);
|
|
2231
2441
|
|
|
2232
2442
|
super({
|
|
2233
|
-
readableHighWaterMark: options.chunkSize
|
|
2443
|
+
readableHighWaterMark: options.chunkSize,
|
|
2234
2444
|
});
|
|
2235
2445
|
|
|
2236
|
-
const internals = this[kInternals] = {
|
|
2446
|
+
const internals = (this[kInternals] = {
|
|
2237
2447
|
timeWindow: options.timeWindow,
|
|
2238
2448
|
chunkSize: options.chunkSize,
|
|
2239
2449
|
maxRate: options.maxRate,
|
|
@@ -2243,10 +2453,10 @@ class AxiosTransformStream extends stream__default["default"].Transform{
|
|
|
2243
2453
|
notifiedBytesLoaded: 0,
|
|
2244
2454
|
ts: Date.now(),
|
|
2245
2455
|
bytes: 0,
|
|
2246
|
-
onReadCallback: null
|
|
2247
|
-
};
|
|
2456
|
+
onReadCallback: null,
|
|
2457
|
+
});
|
|
2248
2458
|
|
|
2249
|
-
this.on('newListener', event => {
|
|
2459
|
+
this.on('newListener', (event) => {
|
|
2250
2460
|
if (event === 'progress') {
|
|
2251
2461
|
if (!internals.isCaptured) {
|
|
2252
2462
|
internals.isCaptured = true;
|
|
@@ -2274,8 +2484,11 @@ class AxiosTransformStream extends stream__default["default"].Transform{
|
|
|
2274
2484
|
const timeWindow = internals.timeWindow;
|
|
2275
2485
|
|
|
2276
2486
|
const divider = 1000 / timeWindow;
|
|
2277
|
-
const bytesThreshold =
|
|
2278
|
-
const minChunkSize =
|
|
2487
|
+
const bytesThreshold = maxRate / divider;
|
|
2488
|
+
const minChunkSize =
|
|
2489
|
+
internals.minChunkSize !== false
|
|
2490
|
+
? Math.max(internals.minChunkSize, bytesThreshold * 0.01)
|
|
2491
|
+
: 0;
|
|
2279
2492
|
|
|
2280
2493
|
const pushChunk = (_chunk, _callback) => {
|
|
2281
2494
|
const bytes = Buffer.byteLength(_chunk);
|
|
@@ -2304,7 +2517,7 @@ class AxiosTransformStream extends stream__default["default"].Transform{
|
|
|
2304
2517
|
if (maxRate) {
|
|
2305
2518
|
const now = Date.now();
|
|
2306
2519
|
|
|
2307
|
-
if (!internals.ts || (passed =
|
|
2520
|
+
if (!internals.ts || (passed = now - internals.ts) >= timeWindow) {
|
|
2308
2521
|
internals.ts = now;
|
|
2309
2522
|
bytesLeft = bytesThreshold - internals.bytes;
|
|
2310
2523
|
internals.bytes = bytesLeft < 0 ? -bytesLeft : 0;
|
|
@@ -2327,14 +2540,19 @@ class AxiosTransformStream extends stream__default["default"].Transform{
|
|
|
2327
2540
|
}
|
|
2328
2541
|
}
|
|
2329
2542
|
|
|
2330
|
-
if (maxChunkSize && chunkSize > maxChunkSize &&
|
|
2543
|
+
if (maxChunkSize && chunkSize > maxChunkSize && chunkSize - maxChunkSize > minChunkSize) {
|
|
2331
2544
|
chunkRemainder = _chunk.subarray(maxChunkSize);
|
|
2332
2545
|
_chunk = _chunk.subarray(0, maxChunkSize);
|
|
2333
2546
|
}
|
|
2334
2547
|
|
|
2335
|
-
pushChunk(
|
|
2336
|
-
|
|
2337
|
-
|
|
2548
|
+
pushChunk(
|
|
2549
|
+
_chunk,
|
|
2550
|
+
chunkRemainder
|
|
2551
|
+
? () => {
|
|
2552
|
+
process.nextTick(_callback, null, chunkRemainder);
|
|
2553
|
+
}
|
|
2554
|
+
: _callback
|
|
2555
|
+
);
|
|
2338
2556
|
};
|
|
2339
2557
|
|
|
2340
2558
|
transformChunk(chunk, function transformNextChunk(err, _chunk) {
|
|
@@ -2353,7 +2571,7 @@ class AxiosTransformStream extends stream__default["default"].Transform{
|
|
|
2353
2571
|
|
|
2354
2572
|
const AxiosTransformStream$1 = AxiosTransformStream;
|
|
2355
2573
|
|
|
2356
|
-
const {asyncIterator} = Symbol;
|
|
2574
|
+
const { asyncIterator } = Symbol;
|
|
2357
2575
|
|
|
2358
2576
|
const readBlob = async function* (blob) {
|
|
2359
2577
|
if (blob.stream) {
|
|
@@ -2379,7 +2597,7 @@ const CRLF_BYTES_COUNT = 2;
|
|
|
2379
2597
|
|
|
2380
2598
|
class FormDataPart {
|
|
2381
2599
|
constructor(name, value) {
|
|
2382
|
-
const {escapeName} = this.constructor;
|
|
2600
|
+
const { escapeName } = this.constructor;
|
|
2383
2601
|
const isStringValue = utils$1.isString(value);
|
|
2384
2602
|
|
|
2385
2603
|
let headers = `Content-Disposition: form-data; name="${escapeName(name)}"${
|
|
@@ -2389,7 +2607,7 @@ class FormDataPart {
|
|
|
2389
2607
|
if (isStringValue) {
|
|
2390
2608
|
value = textEncoder.encode(String(value).replace(/\r?\n|\r\n?/g, CRLF));
|
|
2391
2609
|
} else {
|
|
2392
|
-
headers += `Content-Type: ${value.type ||
|
|
2610
|
+
headers += `Content-Type: ${value.type || 'application/octet-stream'}${CRLF}`;
|
|
2393
2611
|
}
|
|
2394
2612
|
|
|
2395
2613
|
this.headers = textEncoder.encode(headers + CRLF);
|
|
@@ -2402,12 +2620,12 @@ class FormDataPart {
|
|
|
2402
2620
|
this.value = value;
|
|
2403
2621
|
}
|
|
2404
2622
|
|
|
2405
|
-
async *encode(){
|
|
2623
|
+
async *encode() {
|
|
2406
2624
|
yield this.headers;
|
|
2407
2625
|
|
|
2408
|
-
const {value} = this;
|
|
2626
|
+
const { value } = this;
|
|
2409
2627
|
|
|
2410
|
-
if(utils$1.isTypedArray(value)) {
|
|
2628
|
+
if (utils$1.isTypedArray(value)) {
|
|
2411
2629
|
yield value;
|
|
2412
2630
|
} else {
|
|
2413
2631
|
yield* readBlob$1(value);
|
|
@@ -2417,11 +2635,15 @@ class FormDataPart {
|
|
|
2417
2635
|
}
|
|
2418
2636
|
|
|
2419
2637
|
static escapeName(name) {
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2638
|
+
return String(name).replace(
|
|
2639
|
+
/[\r\n"]/g,
|
|
2640
|
+
(match) =>
|
|
2641
|
+
({
|
|
2642
|
+
'\r': '%0D',
|
|
2643
|
+
'\n': '%0A',
|
|
2644
|
+
'"': '%22',
|
|
2645
|
+
})[match]
|
|
2646
|
+
);
|
|
2425
2647
|
}
|
|
2426
2648
|
}
|
|
2427
2649
|
|
|
@@ -2429,15 +2651,15 @@ const formDataToStream = (form, headersHandler, options) => {
|
|
|
2429
2651
|
const {
|
|
2430
2652
|
tag = 'form-data-boundary',
|
|
2431
2653
|
size = 25,
|
|
2432
|
-
boundary = tag + '-' + platform.generateString(size, BOUNDARY_ALPHABET)
|
|
2654
|
+
boundary = tag + '-' + platform.generateString(size, BOUNDARY_ALPHABET),
|
|
2433
2655
|
} = options || {};
|
|
2434
2656
|
|
|
2435
|
-
if(!utils$1.isFormData(form)) {
|
|
2657
|
+
if (!utils$1.isFormData(form)) {
|
|
2436
2658
|
throw TypeError('FormData instance required');
|
|
2437
2659
|
}
|
|
2438
2660
|
|
|
2439
2661
|
if (boundary.length < 1 || boundary.length > 70) {
|
|
2440
|
-
throw Error('boundary must be 10-70 characters long')
|
|
2662
|
+
throw Error('boundary must be 10-70 characters long');
|
|
2441
2663
|
}
|
|
2442
2664
|
|
|
2443
2665
|
const boundaryBytes = textEncoder.encode('--' + boundary + CRLF);
|
|
@@ -2455,7 +2677,7 @@ const formDataToStream = (form, headersHandler, options) => {
|
|
|
2455
2677
|
contentLength = utils$1.toFiniteNumber(contentLength);
|
|
2456
2678
|
|
|
2457
2679
|
const computedHeaders = {
|
|
2458
|
-
'Content-Type': `multipart/form-data; boundary=${boundary}
|
|
2680
|
+
'Content-Type': `multipart/form-data; boundary=${boundary}`,
|
|
2459
2681
|
};
|
|
2460
2682
|
|
|
2461
2683
|
if (Number.isFinite(contentLength)) {
|
|
@@ -2464,14 +2686,16 @@ const formDataToStream = (form, headersHandler, options) => {
|
|
|
2464
2686
|
|
|
2465
2687
|
headersHandler && headersHandler(computedHeaders);
|
|
2466
2688
|
|
|
2467
|
-
return stream.Readable.from(
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2689
|
+
return stream.Readable.from(
|
|
2690
|
+
(async function* () {
|
|
2691
|
+
for (const part of parts) {
|
|
2692
|
+
yield boundaryBytes;
|
|
2693
|
+
yield* part.encode();
|
|
2694
|
+
}
|
|
2472
2695
|
|
|
2473
|
-
|
|
2474
|
-
|
|
2696
|
+
yield footerBytes;
|
|
2697
|
+
})()
|
|
2698
|
+
);
|
|
2475
2699
|
};
|
|
2476
2700
|
|
|
2477
2701
|
const formDataToStream$1 = formDataToStream;
|
|
@@ -2487,10 +2711,11 @@ class ZlibHeaderTransformStream extends stream__default["default"].Transform {
|
|
|
2487
2711
|
this._transform = this.__transform;
|
|
2488
2712
|
|
|
2489
2713
|
// Add Default Compression headers if no zlib headers are present
|
|
2490
|
-
if (chunk[0] !== 120) {
|
|
2714
|
+
if (chunk[0] !== 120) {
|
|
2715
|
+
// Hex: 78
|
|
2491
2716
|
const header = Buffer.alloc(2);
|
|
2492
2717
|
header[0] = 120; // Hex: 78
|
|
2493
|
-
header[1] = 156; // Hex: 9C
|
|
2718
|
+
header[1] = 156; // Hex: 9C
|
|
2494
2719
|
this.push(header, encoding);
|
|
2495
2720
|
}
|
|
2496
2721
|
}
|
|
@@ -2502,16 +2727,18 @@ class ZlibHeaderTransformStream extends stream__default["default"].Transform {
|
|
|
2502
2727
|
const ZlibHeaderTransformStream$1 = ZlibHeaderTransformStream;
|
|
2503
2728
|
|
|
2504
2729
|
const callbackify = (fn, reducer) => {
|
|
2505
|
-
return utils$1.isAsyncFn(fn)
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2730
|
+
return utils$1.isAsyncFn(fn)
|
|
2731
|
+
? function (...args) {
|
|
2732
|
+
const cb = args.pop();
|
|
2733
|
+
fn.apply(this, args).then((value) => {
|
|
2734
|
+
try {
|
|
2735
|
+
reducer ? cb(null, ...reducer(value)) : cb(null, value);
|
|
2736
|
+
} catch (err) {
|
|
2737
|
+
cb(err);
|
|
2738
|
+
}
|
|
2739
|
+
}, cb);
|
|
2512
2740
|
}
|
|
2513
|
-
|
|
2514
|
-
} : fn;
|
|
2741
|
+
: fn;
|
|
2515
2742
|
};
|
|
2516
2743
|
|
|
2517
2744
|
const callbackify$1 = callbackify;
|
|
@@ -2564,7 +2791,7 @@ function speedometer(samplesCount, min) {
|
|
|
2564
2791
|
|
|
2565
2792
|
const passed = startedAt && now - startedAt;
|
|
2566
2793
|
|
|
2567
|
-
return passed ? Math.round(bytesCount * 1000 / passed) : undefined;
|
|
2794
|
+
return passed ? Math.round((bytesCount * 1000) / passed) : undefined;
|
|
2568
2795
|
};
|
|
2569
2796
|
}
|
|
2570
2797
|
|
|
@@ -2593,7 +2820,7 @@ function throttle(fn, freq) {
|
|
|
2593
2820
|
const throttled = (...args) => {
|
|
2594
2821
|
const now = Date.now();
|
|
2595
2822
|
const passed = now - timestamp;
|
|
2596
|
-
if (
|
|
2823
|
+
if (passed >= threshold) {
|
|
2597
2824
|
invoke(args, now);
|
|
2598
2825
|
} else {
|
|
2599
2826
|
lastArgs = args;
|
|
@@ -2615,7 +2842,7 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
2615
2842
|
let bytesNotified = 0;
|
|
2616
2843
|
const _speedometer = speedometer(50, 250);
|
|
2617
2844
|
|
|
2618
|
-
return throttle(e => {
|
|
2845
|
+
return throttle((e) => {
|
|
2619
2846
|
const loaded = e.loaded;
|
|
2620
2847
|
const total = e.lengthComputable ? e.total : undefined;
|
|
2621
2848
|
const progressBytes = loaded - bytesNotified;
|
|
@@ -2627,13 +2854,13 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
2627
2854
|
const data = {
|
|
2628
2855
|
loaded,
|
|
2629
2856
|
total,
|
|
2630
|
-
progress: total ?
|
|
2857
|
+
progress: total ? loaded / total : undefined,
|
|
2631
2858
|
bytes: progressBytes,
|
|
2632
2859
|
rate: rate ? rate : undefined,
|
|
2633
2860
|
estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
|
|
2634
2861
|
event: e,
|
|
2635
2862
|
lengthComputable: total != null,
|
|
2636
|
-
[isDownloadStream ? 'download' : 'upload']: true
|
|
2863
|
+
[isDownloadStream ? 'download' : 'upload']: true,
|
|
2637
2864
|
};
|
|
2638
2865
|
|
|
2639
2866
|
listener(data);
|
|
@@ -2643,14 +2870,21 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
2643
2870
|
const progressEventDecorator = (total, throttled) => {
|
|
2644
2871
|
const lengthComputable = total != null;
|
|
2645
2872
|
|
|
2646
|
-
return [
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2873
|
+
return [
|
|
2874
|
+
(loaded) =>
|
|
2875
|
+
throttled[0]({
|
|
2876
|
+
lengthComputable,
|
|
2877
|
+
total,
|
|
2878
|
+
loaded,
|
|
2879
|
+
}),
|
|
2880
|
+
throttled[1],
|
|
2881
|
+
];
|
|
2651
2882
|
};
|
|
2652
2883
|
|
|
2653
|
-
const asyncDecorator =
|
|
2884
|
+
const asyncDecorator =
|
|
2885
|
+
(fn) =>
|
|
2886
|
+
(...args) =>
|
|
2887
|
+
utils$1.asap(() => fn(...args));
|
|
2654
2888
|
|
|
2655
2889
|
/**
|
|
2656
2890
|
* Estimate decoded byte length of a data:// URL *without* allocating large buffers.
|
|
@@ -2728,29 +2962,26 @@ function estimateDataURLDecodedBytes(url) {
|
|
|
2728
2962
|
|
|
2729
2963
|
const zlibOptions = {
|
|
2730
2964
|
flush: zlib__default["default"].constants.Z_SYNC_FLUSH,
|
|
2731
|
-
finishFlush: zlib__default["default"].constants.Z_SYNC_FLUSH
|
|
2965
|
+
finishFlush: zlib__default["default"].constants.Z_SYNC_FLUSH,
|
|
2732
2966
|
};
|
|
2733
2967
|
|
|
2734
2968
|
const brotliOptions = {
|
|
2735
2969
|
flush: zlib__default["default"].constants.BROTLI_OPERATION_FLUSH,
|
|
2736
|
-
finishFlush: zlib__default["default"].constants.BROTLI_OPERATION_FLUSH
|
|
2970
|
+
finishFlush: zlib__default["default"].constants.BROTLI_OPERATION_FLUSH,
|
|
2737
2971
|
};
|
|
2738
2972
|
|
|
2739
2973
|
const isBrotliSupported = utils$1.isFunction(zlib__default["default"].createBrotliDecompress);
|
|
2740
2974
|
|
|
2741
|
-
const {http: httpFollow, https: httpsFollow} = followRedirects__default["default"];
|
|
2975
|
+
const { http: httpFollow, https: httpsFollow } = followRedirects__default["default"];
|
|
2742
2976
|
|
|
2743
2977
|
const isHttps = /https:?/;
|
|
2744
2978
|
|
|
2745
|
-
const supportedProtocols = platform.protocols.map(protocol => {
|
|
2979
|
+
const supportedProtocols = platform.protocols.map((protocol) => {
|
|
2746
2980
|
return protocol + ':';
|
|
2747
2981
|
});
|
|
2748
2982
|
|
|
2749
|
-
|
|
2750
2983
|
const flushOnFinish = (stream, [throttled, flush]) => {
|
|
2751
|
-
stream
|
|
2752
|
-
.on('end', flush)
|
|
2753
|
-
.on('error', flush);
|
|
2984
|
+
stream.on('end', flush).on('error', flush);
|
|
2754
2985
|
|
|
2755
2986
|
return throttled;
|
|
2756
2987
|
};
|
|
@@ -2761,9 +2992,12 @@ class Http2Sessions {
|
|
|
2761
2992
|
}
|
|
2762
2993
|
|
|
2763
2994
|
getSession(authority, options) {
|
|
2764
|
-
options = Object.assign(
|
|
2765
|
-
|
|
2766
|
-
|
|
2995
|
+
options = Object.assign(
|
|
2996
|
+
{
|
|
2997
|
+
sessionTimeout: 1000,
|
|
2998
|
+
},
|
|
2999
|
+
options
|
|
3000
|
+
);
|
|
2767
3001
|
|
|
2768
3002
|
let authoritySessions = this.sessions[authority];
|
|
2769
3003
|
|
|
@@ -2772,7 +3006,11 @@ class Http2Sessions {
|
|
|
2772
3006
|
|
|
2773
3007
|
for (let i = 0; i < len; i++) {
|
|
2774
3008
|
const [sessionHandle, sessionOptions] = authoritySessions[i];
|
|
2775
|
-
if (
|
|
3009
|
+
if (
|
|
3010
|
+
!sessionHandle.destroyed &&
|
|
3011
|
+
!sessionHandle.closed &&
|
|
3012
|
+
util__default["default"].isDeepStrictEqual(sessionOptions, options)
|
|
3013
|
+
) {
|
|
2776
3014
|
return sessionHandle;
|
|
2777
3015
|
}
|
|
2778
3016
|
}
|
|
@@ -2789,7 +3027,9 @@ class Http2Sessions {
|
|
|
2789
3027
|
|
|
2790
3028
|
removed = true;
|
|
2791
3029
|
|
|
2792
|
-
let entries = authoritySessions,
|
|
3030
|
+
let entries = authoritySessions,
|
|
3031
|
+
len = entries.length,
|
|
3032
|
+
i = len;
|
|
2793
3033
|
|
|
2794
3034
|
while (i--) {
|
|
2795
3035
|
if (entries[i][0] === session) {
|
|
@@ -2805,10 +3045,9 @@ class Http2Sessions {
|
|
|
2805
3045
|
|
|
2806
3046
|
const originalRequestFn = session.request;
|
|
2807
3047
|
|
|
2808
|
-
const {sessionTimeout} = options;
|
|
2809
|
-
|
|
2810
|
-
if(sessionTimeout != null) {
|
|
3048
|
+
const { sessionTimeout } = options;
|
|
2811
3049
|
|
|
3050
|
+
if (sessionTimeout != null) {
|
|
2812
3051
|
let timer;
|
|
2813
3052
|
let streamsCount = 0;
|
|
2814
3053
|
|
|
@@ -2837,12 +3076,11 @@ class Http2Sessions {
|
|
|
2837
3076
|
|
|
2838
3077
|
session.once('close', removeSession);
|
|
2839
3078
|
|
|
2840
|
-
let entry = [
|
|
2841
|
-
session,
|
|
2842
|
-
options
|
|
2843
|
-
];
|
|
3079
|
+
let entry = [session, options];
|
|
2844
3080
|
|
|
2845
|
-
authoritySessions
|
|
3081
|
+
authoritySessions
|
|
3082
|
+
? authoritySessions.push(entry)
|
|
3083
|
+
: (authoritySessions = this.sessions[authority] = [entry]);
|
|
2846
3084
|
|
|
2847
3085
|
return session;
|
|
2848
3086
|
}
|
|
@@ -2850,7 +3088,6 @@ class Http2Sessions {
|
|
|
2850
3088
|
|
|
2851
3089
|
const http2Sessions = new Http2Sessions();
|
|
2852
3090
|
|
|
2853
|
-
|
|
2854
3091
|
/**
|
|
2855
3092
|
* If the proxy or config beforeRedirects functions are defined, call them with the options
|
|
2856
3093
|
* object.
|
|
@@ -2893,12 +3130,16 @@ function setProxy(options, configProxy, location) {
|
|
|
2893
3130
|
|
|
2894
3131
|
if (proxy.auth) {
|
|
2895
3132
|
// Support proxy auth object form
|
|
2896
|
-
|
|
3133
|
+
const validProxyAuth = Boolean(proxy.auth.username || proxy.auth.password);
|
|
3134
|
+
|
|
3135
|
+
if (validProxyAuth) {
|
|
2897
3136
|
proxy.auth = (proxy.auth.username || '') + ':' + (proxy.auth.password || '');
|
|
3137
|
+
} else if (typeof proxy.auth === 'object') {
|
|
3138
|
+
throw new AxiosError$1('Invalid proxy authorization', AxiosError$1.ERR_BAD_OPTION, { proxy });
|
|
2898
3139
|
}
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
3140
|
+
|
|
3141
|
+
const base64 = Buffer.from(proxy.auth, 'utf8').toString('base64');
|
|
3142
|
+
|
|
2902
3143
|
options.headers['Proxy-Authorization'] = 'Basic ' + base64;
|
|
2903
3144
|
}
|
|
2904
3145
|
|
|
@@ -2921,7 +3162,8 @@ function setProxy(options, configProxy, location) {
|
|
|
2921
3162
|
};
|
|
2922
3163
|
}
|
|
2923
3164
|
|
|
2924
|
-
const isHttpAdapterSupported =
|
|
3165
|
+
const isHttpAdapterSupported =
|
|
3166
|
+
typeof process !== 'undefined' && utils$1.kindOf(process) === 'process';
|
|
2925
3167
|
|
|
2926
3168
|
// temporary hotfix
|
|
2927
3169
|
|
|
@@ -2947,713 +3189,753 @@ const wrapAsync = (asyncExecutor) => {
|
|
|
2947
3189
|
};
|
|
2948
3190
|
|
|
2949
3191
|
asyncExecutor(_resolve, _reject, (onDoneHandler) => (onDone = onDoneHandler)).catch(_reject);
|
|
2950
|
-
})
|
|
3192
|
+
});
|
|
2951
3193
|
};
|
|
2952
3194
|
|
|
2953
|
-
const resolveFamily = ({address, family}) => {
|
|
3195
|
+
const resolveFamily = ({ address, family }) => {
|
|
2954
3196
|
if (!utils$1.isString(address)) {
|
|
2955
3197
|
throw TypeError('address must be a string');
|
|
2956
3198
|
}
|
|
2957
|
-
return
|
|
3199
|
+
return {
|
|
2958
3200
|
address,
|
|
2959
|
-
family: family || (address.indexOf('.') < 0 ? 6 : 4)
|
|
2960
|
-
}
|
|
3201
|
+
family: family || (address.indexOf('.') < 0 ? 6 : 4),
|
|
3202
|
+
};
|
|
2961
3203
|
};
|
|
2962
3204
|
|
|
2963
|
-
const buildAddressEntry = (address, family) =>
|
|
3205
|
+
const buildAddressEntry = (address, family) =>
|
|
3206
|
+
resolveFamily(utils$1.isObject(address) ? address : { address, family });
|
|
2964
3207
|
|
|
2965
3208
|
const http2Transport = {
|
|
2966
3209
|
request(options, cb) {
|
|
2967
|
-
|
|
3210
|
+
const authority =
|
|
3211
|
+
options.protocol +
|
|
3212
|
+
'//' +
|
|
3213
|
+
options.hostname +
|
|
3214
|
+
':' +
|
|
3215
|
+
(options.port || (options.protocol === 'https:' ? 443 : 80));
|
|
2968
3216
|
|
|
2969
|
-
|
|
3217
|
+
const { http2Options, headers } = options;
|
|
2970
3218
|
|
|
2971
|
-
|
|
3219
|
+
const session = http2Sessions.getSession(authority, http2Options);
|
|
2972
3220
|
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
HTTP2_HEADER_METHOD,
|
|
2976
|
-
HTTP2_HEADER_PATH,
|
|
2977
|
-
HTTP2_HEADER_STATUS
|
|
2978
|
-
} = http2__default["default"].constants;
|
|
3221
|
+
const { HTTP2_HEADER_SCHEME, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_STATUS } =
|
|
3222
|
+
http2__default["default"].constants;
|
|
2979
3223
|
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
3224
|
+
const http2Headers = {
|
|
3225
|
+
[HTTP2_HEADER_SCHEME]: options.protocol.replace(':', ''),
|
|
3226
|
+
[HTTP2_HEADER_METHOD]: options.method,
|
|
3227
|
+
[HTTP2_HEADER_PATH]: options.path,
|
|
3228
|
+
};
|
|
2985
3229
|
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
3230
|
+
utils$1.forEach(headers, (header, name) => {
|
|
3231
|
+
name.charAt(0) !== ':' && (http2Headers[name] = header);
|
|
3232
|
+
});
|
|
2989
3233
|
|
|
2990
|
-
|
|
3234
|
+
const req = session.request(http2Headers);
|
|
2991
3235
|
|
|
2992
|
-
|
|
2993
|
-
|
|
3236
|
+
req.once('response', (responseHeaders) => {
|
|
3237
|
+
const response = req; //duplex
|
|
2994
3238
|
|
|
2995
|
-
|
|
3239
|
+
responseHeaders = Object.assign({}, responseHeaders);
|
|
2996
3240
|
|
|
2997
|
-
|
|
3241
|
+
const status = responseHeaders[HTTP2_HEADER_STATUS];
|
|
2998
3242
|
|
|
2999
|
-
|
|
3243
|
+
delete responseHeaders[HTTP2_HEADER_STATUS];
|
|
3000
3244
|
|
|
3001
|
-
|
|
3245
|
+
response.headers = responseHeaders;
|
|
3002
3246
|
|
|
3003
|
-
|
|
3247
|
+
response.statusCode = +status;
|
|
3004
3248
|
|
|
3005
|
-
|
|
3006
|
-
|
|
3249
|
+
cb(response);
|
|
3250
|
+
});
|
|
3007
3251
|
|
|
3008
|
-
|
|
3009
|
-
}
|
|
3252
|
+
return req;
|
|
3253
|
+
},
|
|
3010
3254
|
};
|
|
3011
3255
|
|
|
3012
3256
|
/*eslint consistent-return:0*/
|
|
3013
|
-
const httpAdapter = isHttpAdapterSupported &&
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3257
|
+
const httpAdapter = isHttpAdapterSupported &&
|
|
3258
|
+
function httpAdapter(config) {
|
|
3259
|
+
return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) {
|
|
3260
|
+
let { data, lookup, family, httpVersion = 1, http2Options } = config;
|
|
3261
|
+
const { responseType, responseEncoding } = config;
|
|
3262
|
+
const method = config.method.toUpperCase();
|
|
3263
|
+
let isDone;
|
|
3264
|
+
let rejected = false;
|
|
3265
|
+
let req;
|
|
3266
|
+
|
|
3267
|
+
httpVersion = +httpVersion;
|
|
3268
|
+
|
|
3269
|
+
if (Number.isNaN(httpVersion)) {
|
|
3270
|
+
throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`);
|
|
3271
|
+
}
|
|
3027
3272
|
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3273
|
+
if (httpVersion !== 1 && httpVersion !== 2) {
|
|
3274
|
+
throw TypeError(`Unsupported protocol version '${httpVersion}'`);
|
|
3275
|
+
}
|
|
3031
3276
|
|
|
3032
|
-
|
|
3277
|
+
const isHttp2 = httpVersion === 2;
|
|
3033
3278
|
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3279
|
+
if (lookup) {
|
|
3280
|
+
const _lookup = callbackify$1(lookup, (value) => (utils$1.isArray(value) ? value : [value]));
|
|
3281
|
+
// hotfix to support opt.all option which is required for node 20.x
|
|
3282
|
+
lookup = (hostname, opt, cb) => {
|
|
3283
|
+
_lookup(hostname, opt, (err, arg0, arg1) => {
|
|
3284
|
+
if (err) {
|
|
3285
|
+
return cb(err);
|
|
3286
|
+
}
|
|
3042
3287
|
|
|
3043
|
-
|
|
3288
|
+
const addresses = utils$1.isArray(arg0)
|
|
3289
|
+
? arg0.map((addr) => buildAddressEntry(addr))
|
|
3290
|
+
: [buildAddressEntry(arg0, arg1)];
|
|
3044
3291
|
|
|
3045
|
-
|
|
3046
|
-
|
|
3047
|
-
|
|
3048
|
-
|
|
3292
|
+
opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
|
|
3293
|
+
});
|
|
3294
|
+
};
|
|
3295
|
+
}
|
|
3049
3296
|
|
|
3050
|
-
|
|
3297
|
+
const abortEmitter = new events.EventEmitter();
|
|
3051
3298
|
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3299
|
+
function abort(reason) {
|
|
3300
|
+
try {
|
|
3301
|
+
abortEmitter.emit(
|
|
3302
|
+
'abort',
|
|
3303
|
+
!reason || reason.type ? new CanceledError$1(null, config, req) : reason
|
|
3304
|
+
);
|
|
3305
|
+
} catch (err) {
|
|
3306
|
+
console.warn('emit error', err);
|
|
3307
|
+
}
|
|
3057
3308
|
}
|
|
3058
|
-
}
|
|
3059
3309
|
|
|
3060
|
-
|
|
3310
|
+
abortEmitter.once('abort', reject);
|
|
3061
3311
|
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3312
|
+
const onFinished = () => {
|
|
3313
|
+
if (config.cancelToken) {
|
|
3314
|
+
config.cancelToken.unsubscribe(abort);
|
|
3315
|
+
}
|
|
3066
3316
|
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3317
|
+
if (config.signal) {
|
|
3318
|
+
config.signal.removeEventListener('abort', abort);
|
|
3319
|
+
}
|
|
3070
3320
|
|
|
3071
|
-
|
|
3072
|
-
|
|
3321
|
+
abortEmitter.removeAllListeners();
|
|
3322
|
+
};
|
|
3073
3323
|
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3324
|
+
if (config.cancelToken || config.signal) {
|
|
3325
|
+
config.cancelToken && config.cancelToken.subscribe(abort);
|
|
3326
|
+
if (config.signal) {
|
|
3327
|
+
config.signal.aborted ? abort() : config.signal.addEventListener('abort', abort);
|
|
3328
|
+
}
|
|
3078
3329
|
}
|
|
3079
|
-
}
|
|
3080
3330
|
|
|
3081
|
-
|
|
3082
|
-
|
|
3331
|
+
onDone((response, isRejected) => {
|
|
3332
|
+
isDone = true;
|
|
3083
3333
|
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3334
|
+
if (isRejected) {
|
|
3335
|
+
rejected = true;
|
|
3336
|
+
onFinished();
|
|
3337
|
+
return;
|
|
3338
|
+
}
|
|
3089
3339
|
|
|
3090
|
-
|
|
3340
|
+
const { data } = response;
|
|
3091
3341
|
|
|
3092
|
-
|
|
3093
|
-
|
|
3094
|
-
|
|
3342
|
+
if (data instanceof stream__default["default"].Readable || data instanceof stream__default["default"].Duplex) {
|
|
3343
|
+
const offListeners = stream__default["default"].finished(data, () => {
|
|
3344
|
+
offListeners();
|
|
3345
|
+
onFinished();
|
|
3346
|
+
});
|
|
3347
|
+
} else {
|
|
3095
3348
|
onFinished();
|
|
3096
|
-
}
|
|
3097
|
-
}
|
|
3098
|
-
onFinished();
|
|
3099
|
-
}
|
|
3100
|
-
});
|
|
3101
|
-
|
|
3349
|
+
}
|
|
3350
|
+
});
|
|
3102
3351
|
|
|
3352
|
+
// Parse url
|
|
3353
|
+
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
|
3354
|
+
const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);
|
|
3355
|
+
const protocol = parsed.protocol || supportedProtocols[0];
|
|
3356
|
+
|
|
3357
|
+
if (protocol === 'data:') {
|
|
3358
|
+
// Apply the same semantics as HTTP: only enforce if a finite, non-negative cap is set.
|
|
3359
|
+
if (config.maxContentLength > -1) {
|
|
3360
|
+
// Use the exact string passed to fromDataURI (config.url); fall back to fullPath if needed.
|
|
3361
|
+
const dataUrl = String(config.url || fullPath || '');
|
|
3362
|
+
const estimated = estimateDataURLDecodedBytes(dataUrl);
|
|
3363
|
+
|
|
3364
|
+
if (estimated > config.maxContentLength) {
|
|
3365
|
+
return reject(
|
|
3366
|
+
new AxiosError$1(
|
|
3367
|
+
'maxContentLength size of ' + config.maxContentLength + ' exceeded',
|
|
3368
|
+
AxiosError$1.ERR_BAD_RESPONSE,
|
|
3369
|
+
config
|
|
3370
|
+
)
|
|
3371
|
+
);
|
|
3372
|
+
}
|
|
3373
|
+
}
|
|
3103
3374
|
|
|
3375
|
+
let convertedData;
|
|
3104
3376
|
|
|
3377
|
+
if (method !== 'GET') {
|
|
3378
|
+
return settle(resolve, reject, {
|
|
3379
|
+
status: 405,
|
|
3380
|
+
statusText: 'method not allowed',
|
|
3381
|
+
headers: {},
|
|
3382
|
+
config,
|
|
3383
|
+
});
|
|
3384
|
+
}
|
|
3105
3385
|
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
// Apply the same semantics as HTTP: only enforce if a finite, non-negative cap is set.
|
|
3113
|
-
if (config.maxContentLength > -1) {
|
|
3114
|
-
// Use the exact string passed to fromDataURI (config.url); fall back to fullPath if needed.
|
|
3115
|
-
const dataUrl = String(config.url || fullPath || '');
|
|
3116
|
-
const estimated = estimateDataURLDecodedBytes(dataUrl);
|
|
3117
|
-
|
|
3118
|
-
if (estimated > config.maxContentLength) {
|
|
3119
|
-
return reject(new AxiosError(
|
|
3120
|
-
'maxContentLength size of ' + config.maxContentLength + ' exceeded',
|
|
3121
|
-
AxiosError.ERR_BAD_RESPONSE,
|
|
3122
|
-
config
|
|
3123
|
-
));
|
|
3386
|
+
try {
|
|
3387
|
+
convertedData = fromDataURI(config.url, responseType === 'blob', {
|
|
3388
|
+
Blob: config.env && config.env.Blob,
|
|
3389
|
+
});
|
|
3390
|
+
} catch (err) {
|
|
3391
|
+
throw AxiosError$1.from(err, AxiosError$1.ERR_BAD_REQUEST, config);
|
|
3124
3392
|
}
|
|
3125
|
-
}
|
|
3126
3393
|
|
|
3127
|
-
|
|
3394
|
+
if (responseType === 'text') {
|
|
3395
|
+
convertedData = convertedData.toString(responseEncoding);
|
|
3128
3396
|
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
});
|
|
3136
|
-
}
|
|
3397
|
+
if (!responseEncoding || responseEncoding === 'utf8') {
|
|
3398
|
+
convertedData = utils$1.stripBOM(convertedData);
|
|
3399
|
+
}
|
|
3400
|
+
} else if (responseType === 'stream') {
|
|
3401
|
+
convertedData = stream__default["default"].Readable.from(convertedData);
|
|
3402
|
+
}
|
|
3137
3403
|
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3404
|
+
return settle(resolve, reject, {
|
|
3405
|
+
data: convertedData,
|
|
3406
|
+
status: 200,
|
|
3407
|
+
statusText: 'OK',
|
|
3408
|
+
headers: new AxiosHeaders$1(),
|
|
3409
|
+
config,
|
|
3141
3410
|
});
|
|
3142
|
-
} catch (err) {
|
|
3143
|
-
throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
|
|
3144
3411
|
}
|
|
3145
3412
|
|
|
3146
|
-
if (
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
convertedData = utils$1.stripBOM(convertedData);
|
|
3151
|
-
}
|
|
3152
|
-
} else if (responseType === 'stream') {
|
|
3153
|
-
convertedData = stream__default["default"].Readable.from(convertedData);
|
|
3413
|
+
if (supportedProtocols.indexOf(protocol) === -1) {
|
|
3414
|
+
return reject(
|
|
3415
|
+
new AxiosError$1('Unsupported protocol ' + protocol, AxiosError$1.ERR_BAD_REQUEST, config)
|
|
3416
|
+
);
|
|
3154
3417
|
}
|
|
3155
3418
|
|
|
3156
|
-
|
|
3157
|
-
data: convertedData,
|
|
3158
|
-
status: 200,
|
|
3159
|
-
statusText: 'OK',
|
|
3160
|
-
headers: new AxiosHeaders$1(),
|
|
3161
|
-
config
|
|
3162
|
-
});
|
|
3163
|
-
}
|
|
3419
|
+
const headers = AxiosHeaders$1.from(config.headers).normalize();
|
|
3164
3420
|
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
));
|
|
3171
|
-
}
|
|
3421
|
+
// Set User-Agent (required by some servers)
|
|
3422
|
+
// See https://github.com/axios/axios/issues/69
|
|
3423
|
+
// User-Agent is specified; handle case where no UA header is desired
|
|
3424
|
+
// Only set header if it hasn't been set in config
|
|
3425
|
+
headers.set('User-Agent', 'axios/' + VERSION, false);
|
|
3172
3426
|
|
|
3173
|
-
|
|
3427
|
+
const { onUploadProgress, onDownloadProgress } = config;
|
|
3428
|
+
const maxRate = config.maxRate;
|
|
3429
|
+
let maxUploadRate = undefined;
|
|
3430
|
+
let maxDownloadRate = undefined;
|
|
3174
3431
|
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
// Only set header if it hasn't been set in config
|
|
3179
|
-
headers.set('User-Agent', 'axios/' + VERSION, false);
|
|
3432
|
+
// support for spec compliant FormData objects
|
|
3433
|
+
if (utils$1.isSpecCompliantForm(data)) {
|
|
3434
|
+
const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i);
|
|
3180
3435
|
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3436
|
+
data = formDataToStream$1(
|
|
3437
|
+
data,
|
|
3438
|
+
(formHeaders) => {
|
|
3439
|
+
headers.set(formHeaders);
|
|
3440
|
+
},
|
|
3441
|
+
{
|
|
3442
|
+
tag: `axios-${VERSION}-boundary`,
|
|
3443
|
+
boundary: (userBoundary && userBoundary[1]) || undefined,
|
|
3444
|
+
}
|
|
3445
|
+
);
|
|
3446
|
+
// support for https://www.npmjs.com/package/form-data api
|
|
3447
|
+
} else if (utils$1.isFormData(data) && utils$1.isFunction(data.getHeaders)) {
|
|
3448
|
+
headers.set(data.getHeaders());
|
|
3185
3449
|
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3450
|
+
if (!headers.hasContentLength()) {
|
|
3451
|
+
try {
|
|
3452
|
+
const knownLength = await util__default["default"].promisify(data.getLength).call(data);
|
|
3453
|
+
Number.isFinite(knownLength) &&
|
|
3454
|
+
knownLength >= 0 &&
|
|
3455
|
+
headers.setContentLength(knownLength);
|
|
3456
|
+
/*eslint no-empty:0*/
|
|
3457
|
+
} catch (e) {}
|
|
3458
|
+
}
|
|
3459
|
+
} else if (utils$1.isBlob(data) || utils$1.isFile(data)) {
|
|
3460
|
+
data.size && headers.setContentType(data.type || 'application/octet-stream');
|
|
3461
|
+
headers.setContentLength(data.size || 0);
|
|
3462
|
+
data = stream__default["default"].Readable.from(readBlob$1(data));
|
|
3463
|
+
} else if (data && !utils$1.isStream(data)) {
|
|
3464
|
+
if (Buffer.isBuffer(data)) ; else if (utils$1.isArrayBuffer(data)) {
|
|
3465
|
+
data = Buffer.from(new Uint8Array(data));
|
|
3466
|
+
} else if (utils$1.isString(data)) {
|
|
3467
|
+
data = Buffer.from(data, 'utf-8');
|
|
3468
|
+
} else {
|
|
3469
|
+
return reject(
|
|
3470
|
+
new AxiosError$1(
|
|
3471
|
+
'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',
|
|
3472
|
+
AxiosError$1.ERR_BAD_REQUEST,
|
|
3473
|
+
config
|
|
3474
|
+
)
|
|
3475
|
+
);
|
|
3476
|
+
}
|
|
3189
3477
|
|
|
3190
|
-
|
|
3191
|
-
headers.
|
|
3192
|
-
}, {
|
|
3193
|
-
tag: `axios-${VERSION}-boundary`,
|
|
3194
|
-
boundary: userBoundary && userBoundary[1] || undefined
|
|
3195
|
-
});
|
|
3196
|
-
// support for https://www.npmjs.com/package/form-data api
|
|
3197
|
-
} else if (utils$1.isFormData(data) && utils$1.isFunction(data.getHeaders)) {
|
|
3198
|
-
headers.set(data.getHeaders());
|
|
3478
|
+
// Add Content-Length header if data exists
|
|
3479
|
+
headers.setContentLength(data.length, false);
|
|
3199
3480
|
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3481
|
+
if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {
|
|
3482
|
+
return reject(
|
|
3483
|
+
new AxiosError$1(
|
|
3484
|
+
'Request body larger than maxBodyLength limit',
|
|
3485
|
+
AxiosError$1.ERR_BAD_REQUEST,
|
|
3486
|
+
config
|
|
3487
|
+
)
|
|
3488
|
+
);
|
|
3206
3489
|
}
|
|
3207
3490
|
}
|
|
3208
|
-
} else if (utils$1.isBlob(data) || utils$1.isFile(data)) {
|
|
3209
|
-
data.size && headers.setContentType(data.type || 'application/octet-stream');
|
|
3210
|
-
headers.setContentLength(data.size || 0);
|
|
3211
|
-
data = stream__default["default"].Readable.from(readBlob$1(data));
|
|
3212
|
-
} else if (data && !utils$1.isStream(data)) {
|
|
3213
|
-
if (Buffer.isBuffer(data)) ; else if (utils$1.isArrayBuffer(data)) {
|
|
3214
|
-
data = Buffer.from(new Uint8Array(data));
|
|
3215
|
-
} else if (utils$1.isString(data)) {
|
|
3216
|
-
data = Buffer.from(data, 'utf-8');
|
|
3217
|
-
} else {
|
|
3218
|
-
return reject(new AxiosError(
|
|
3219
|
-
'Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream',
|
|
3220
|
-
AxiosError.ERR_BAD_REQUEST,
|
|
3221
|
-
config
|
|
3222
|
-
));
|
|
3223
|
-
}
|
|
3224
3491
|
|
|
3225
|
-
|
|
3226
|
-
headers.setContentLength(data.length, false);
|
|
3492
|
+
const contentLength = utils$1.toFiniteNumber(headers.getContentLength());
|
|
3227
3493
|
|
|
3228
|
-
if (
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
));
|
|
3494
|
+
if (utils$1.isArray(maxRate)) {
|
|
3495
|
+
maxUploadRate = maxRate[0];
|
|
3496
|
+
maxDownloadRate = maxRate[1];
|
|
3497
|
+
} else {
|
|
3498
|
+
maxUploadRate = maxDownloadRate = maxRate;
|
|
3234
3499
|
}
|
|
3235
|
-
}
|
|
3236
3500
|
|
|
3237
|
-
|
|
3501
|
+
if (data && (onUploadProgress || maxUploadRate)) {
|
|
3502
|
+
if (!utils$1.isStream(data)) {
|
|
3503
|
+
data = stream__default["default"].Readable.from(data, { objectMode: false });
|
|
3504
|
+
}
|
|
3238
3505
|
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3506
|
+
data = stream__default["default"].pipeline(
|
|
3507
|
+
[
|
|
3508
|
+
data,
|
|
3509
|
+
new AxiosTransformStream$1({
|
|
3510
|
+
maxRate: utils$1.toFiniteNumber(maxUploadRate),
|
|
3511
|
+
}),
|
|
3512
|
+
],
|
|
3513
|
+
utils$1.noop
|
|
3514
|
+
);
|
|
3245
3515
|
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3516
|
+
onUploadProgress &&
|
|
3517
|
+
data.on(
|
|
3518
|
+
'progress',
|
|
3519
|
+
flushOnFinish(
|
|
3520
|
+
data,
|
|
3521
|
+
progressEventDecorator(
|
|
3522
|
+
contentLength,
|
|
3523
|
+
progressEventReducer(asyncDecorator(onUploadProgress), false, 3)
|
|
3524
|
+
)
|
|
3525
|
+
)
|
|
3526
|
+
);
|
|
3249
3527
|
}
|
|
3250
3528
|
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
contentLength,
|
|
3259
|
-
progressEventReducer(asyncDecorator(onUploadProgress), false, 3)
|
|
3260
|
-
)
|
|
3261
|
-
));
|
|
3262
|
-
}
|
|
3263
|
-
|
|
3264
|
-
// HTTP basic authentication
|
|
3265
|
-
let auth = undefined;
|
|
3266
|
-
if (config.auth) {
|
|
3267
|
-
const username = config.auth.username || '';
|
|
3268
|
-
const password = config.auth.password || '';
|
|
3269
|
-
auth = username + ':' + password;
|
|
3270
|
-
}
|
|
3529
|
+
// HTTP basic authentication
|
|
3530
|
+
let auth = undefined;
|
|
3531
|
+
if (config.auth) {
|
|
3532
|
+
const username = config.auth.username || '';
|
|
3533
|
+
const password = config.auth.password || '';
|
|
3534
|
+
auth = username + ':' + password;
|
|
3535
|
+
}
|
|
3271
3536
|
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3537
|
+
if (!auth && parsed.username) {
|
|
3538
|
+
const urlUsername = parsed.username;
|
|
3539
|
+
const urlPassword = parsed.password;
|
|
3540
|
+
auth = urlUsername + ':' + urlPassword;
|
|
3541
|
+
}
|
|
3277
3542
|
|
|
3278
|
-
|
|
3543
|
+
auth && headers.delete('authorization');
|
|
3279
3544
|
|
|
3280
|
-
|
|
3545
|
+
let path;
|
|
3281
3546
|
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3547
|
+
try {
|
|
3548
|
+
path = buildURL(
|
|
3549
|
+
parsed.pathname + parsed.search,
|
|
3550
|
+
config.params,
|
|
3551
|
+
config.paramsSerializer
|
|
3552
|
+
).replace(/^\?/, '');
|
|
3553
|
+
} catch (err) {
|
|
3554
|
+
const customErr = new Error(err.message);
|
|
3555
|
+
customErr.config = config;
|
|
3556
|
+
customErr.url = config.url;
|
|
3557
|
+
customErr.exists = true;
|
|
3558
|
+
return reject(customErr);
|
|
3559
|
+
}
|
|
3295
3560
|
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3561
|
+
headers.set(
|
|
3562
|
+
'Accept-Encoding',
|
|
3563
|
+
'gzip, compress, deflate' + (isBrotliSupported ? ', br' : ''),
|
|
3564
|
+
false
|
|
3299
3565
|
);
|
|
3300
3566
|
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3567
|
+
const options = {
|
|
3568
|
+
path,
|
|
3569
|
+
method: method,
|
|
3570
|
+
headers: headers.toJSON(),
|
|
3571
|
+
agents: { http: config.httpAgent, https: config.httpsAgent },
|
|
3572
|
+
auth,
|
|
3573
|
+
protocol,
|
|
3574
|
+
family,
|
|
3575
|
+
beforeRedirect: dispatchBeforeRedirect,
|
|
3576
|
+
beforeRedirects: {},
|
|
3577
|
+
http2Options,
|
|
3578
|
+
};
|
|
3313
3579
|
|
|
3314
|
-
|
|
3315
|
-
|
|
3580
|
+
// cacheable-lookup integration hotfix
|
|
3581
|
+
!utils$1.isUndefined(lookup) && (options.lookup = lookup);
|
|
3316
3582
|
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3583
|
+
if (config.socketPath) {
|
|
3584
|
+
options.socketPath = config.socketPath;
|
|
3585
|
+
} else {
|
|
3586
|
+
options.hostname = parsed.hostname.startsWith('[')
|
|
3587
|
+
? parsed.hostname.slice(1, -1)
|
|
3588
|
+
: parsed.hostname;
|
|
3589
|
+
options.port = parsed.port;
|
|
3590
|
+
setProxy(
|
|
3591
|
+
options,
|
|
3592
|
+
config.proxy,
|
|
3593
|
+
protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path
|
|
3594
|
+
);
|
|
3595
|
+
}
|
|
3324
3596
|
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3597
|
+
let transport;
|
|
3598
|
+
const isHttpsRequest = isHttps.test(options.protocol);
|
|
3599
|
+
options.agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;
|
|
3328
3600
|
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
} else {
|
|
3332
|
-
if (config.transport) {
|
|
3333
|
-
transport = config.transport;
|
|
3334
|
-
} else if (config.maxRedirects === 0) {
|
|
3335
|
-
transport = isHttpsRequest ? https__default["default"] : http__default["default"];
|
|
3601
|
+
if (isHttp2) {
|
|
3602
|
+
transport = http2Transport;
|
|
3336
3603
|
} else {
|
|
3337
|
-
if (config.
|
|
3338
|
-
|
|
3339
|
-
}
|
|
3340
|
-
|
|
3341
|
-
|
|
3604
|
+
if (config.transport) {
|
|
3605
|
+
transport = config.transport;
|
|
3606
|
+
} else if (config.maxRedirects === 0) {
|
|
3607
|
+
transport = isHttpsRequest ? https__default["default"] : http__default["default"];
|
|
3608
|
+
} else {
|
|
3609
|
+
if (config.maxRedirects) {
|
|
3610
|
+
options.maxRedirects = config.maxRedirects;
|
|
3611
|
+
}
|
|
3612
|
+
if (config.beforeRedirect) {
|
|
3613
|
+
options.beforeRedirects.config = config.beforeRedirect;
|
|
3614
|
+
}
|
|
3615
|
+
transport = isHttpsRequest ? httpsFollow : httpFollow;
|
|
3342
3616
|
}
|
|
3343
|
-
transport = isHttpsRequest ? httpsFollow : httpFollow;
|
|
3344
3617
|
}
|
|
3345
|
-
}
|
|
3346
|
-
|
|
3347
|
-
if (config.maxBodyLength > -1) {
|
|
3348
|
-
options.maxBodyLength = config.maxBodyLength;
|
|
3349
|
-
} else {
|
|
3350
|
-
// follow-redirects does not skip comparison, so it should always succeed for axios -1 unlimited
|
|
3351
|
-
options.maxBodyLength = Infinity;
|
|
3352
|
-
}
|
|
3353
3618
|
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3619
|
+
if (config.maxBodyLength > -1) {
|
|
3620
|
+
options.maxBodyLength = config.maxBodyLength;
|
|
3621
|
+
} else {
|
|
3622
|
+
// follow-redirects does not skip comparison, so it should always succeed for axios -1 unlimited
|
|
3623
|
+
options.maxBodyLength = Infinity;
|
|
3624
|
+
}
|
|
3357
3625
|
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3626
|
+
if (config.insecureHTTPParser) {
|
|
3627
|
+
options.insecureHTTPParser = config.insecureHTTPParser;
|
|
3628
|
+
}
|
|
3361
3629
|
|
|
3362
|
-
|
|
3630
|
+
// Create the request
|
|
3631
|
+
req = transport.request(options, function handleResponse(res) {
|
|
3632
|
+
if (req.destroyed) return;
|
|
3363
3633
|
|
|
3364
|
-
|
|
3634
|
+
const streams = [res];
|
|
3365
3635
|
|
|
3366
|
-
|
|
3367
|
-
const transformStream = new AxiosTransformStream$1({
|
|
3368
|
-
maxRate: utils$1.toFiniteNumber(maxDownloadRate)
|
|
3369
|
-
});
|
|
3636
|
+
const responseLength = utils$1.toFiniteNumber(res.headers['content-length']);
|
|
3370
3637
|
|
|
3371
|
-
onDownloadProgress
|
|
3372
|
-
transformStream
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)
|
|
3376
|
-
)
|
|
3377
|
-
));
|
|
3638
|
+
if (onDownloadProgress || maxDownloadRate) {
|
|
3639
|
+
const transformStream = new AxiosTransformStream$1({
|
|
3640
|
+
maxRate: utils$1.toFiniteNumber(maxDownloadRate),
|
|
3641
|
+
});
|
|
3378
3642
|
|
|
3379
|
-
|
|
3380
|
-
|
|
3643
|
+
onDownloadProgress &&
|
|
3644
|
+
transformStream.on(
|
|
3645
|
+
'progress',
|
|
3646
|
+
flushOnFinish(
|
|
3647
|
+
transformStream,
|
|
3648
|
+
progressEventDecorator(
|
|
3649
|
+
responseLength,
|
|
3650
|
+
progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)
|
|
3651
|
+
)
|
|
3652
|
+
)
|
|
3653
|
+
);
|
|
3381
3654
|
|
|
3382
|
-
|
|
3383
|
-
|
|
3655
|
+
streams.push(transformStream);
|
|
3656
|
+
}
|
|
3384
3657
|
|
|
3385
|
-
|
|
3386
|
-
|
|
3658
|
+
// decompress the response body transparently if required
|
|
3659
|
+
let responseStream = res;
|
|
3387
3660
|
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
// if no content, but headers still say that it is encoded,
|
|
3391
|
-
// remove the header not confuse downstream operations
|
|
3392
|
-
if (method === 'HEAD' || res.statusCode === 204) {
|
|
3393
|
-
delete res.headers['content-encoding'];
|
|
3394
|
-
}
|
|
3661
|
+
// return the last request in case of redirects
|
|
3662
|
+
const lastRequest = res.req || req;
|
|
3395
3663
|
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
case 'x-compress':
|
|
3402
|
-
// add the unzipper to the body stream processing pipeline
|
|
3403
|
-
streams.push(zlib__default["default"].createUnzip(zlibOptions));
|
|
3404
|
-
|
|
3405
|
-
// remove the content-encoding in order to not confuse downstream operations
|
|
3406
|
-
delete res.headers['content-encoding'];
|
|
3407
|
-
break;
|
|
3408
|
-
case 'deflate':
|
|
3409
|
-
streams.push(new ZlibHeaderTransformStream$1());
|
|
3410
|
-
|
|
3411
|
-
// add the unzipper to the body stream processing pipeline
|
|
3412
|
-
streams.push(zlib__default["default"].createUnzip(zlibOptions));
|
|
3413
|
-
|
|
3414
|
-
// remove the content-encoding in order to not confuse downstream operations
|
|
3415
|
-
delete res.headers['content-encoding'];
|
|
3416
|
-
break;
|
|
3417
|
-
case 'br':
|
|
3418
|
-
if (isBrotliSupported) {
|
|
3419
|
-
streams.push(zlib__default["default"].createBrotliDecompress(brotliOptions));
|
|
3664
|
+
// if decompress disabled we should not decompress
|
|
3665
|
+
if (config.decompress !== false && res.headers['content-encoding']) {
|
|
3666
|
+
// if no content, but headers still say that it is encoded,
|
|
3667
|
+
// remove the header not confuse downstream operations
|
|
3668
|
+
if (method === 'HEAD' || res.statusCode === 204) {
|
|
3420
3669
|
delete res.headers['content-encoding'];
|
|
3421
3670
|
}
|
|
3422
|
-
}
|
|
3423
|
-
}
|
|
3424
3671
|
|
|
3425
|
-
|
|
3672
|
+
switch ((res.headers['content-encoding'] || '').toLowerCase()) {
|
|
3673
|
+
/*eslint default-case:0*/
|
|
3674
|
+
case 'gzip':
|
|
3675
|
+
case 'x-gzip':
|
|
3676
|
+
case 'compress':
|
|
3677
|
+
case 'x-compress':
|
|
3678
|
+
// add the unzipper to the body stream processing pipeline
|
|
3679
|
+
streams.push(zlib__default["default"].createUnzip(zlibOptions));
|
|
3680
|
+
|
|
3681
|
+
// remove the content-encoding in order to not confuse downstream operations
|
|
3682
|
+
delete res.headers['content-encoding'];
|
|
3683
|
+
break;
|
|
3684
|
+
case 'deflate':
|
|
3685
|
+
streams.push(new ZlibHeaderTransformStream$1());
|
|
3686
|
+
|
|
3687
|
+
// add the unzipper to the body stream processing pipeline
|
|
3688
|
+
streams.push(zlib__default["default"].createUnzip(zlibOptions));
|
|
3689
|
+
|
|
3690
|
+
// remove the content-encoding in order to not confuse downstream operations
|
|
3691
|
+
delete res.headers['content-encoding'];
|
|
3692
|
+
break;
|
|
3693
|
+
case 'br':
|
|
3694
|
+
if (isBrotliSupported) {
|
|
3695
|
+
streams.push(zlib__default["default"].createBrotliDecompress(brotliOptions));
|
|
3696
|
+
delete res.headers['content-encoding'];
|
|
3697
|
+
}
|
|
3698
|
+
}
|
|
3699
|
+
}
|
|
3426
3700
|
|
|
3701
|
+
responseStream = streams.length > 1 ? stream__default["default"].pipeline(streams, utils$1.noop) : streams[0];
|
|
3427
3702
|
|
|
3703
|
+
const response = {
|
|
3704
|
+
status: res.statusCode,
|
|
3705
|
+
statusText: res.statusMessage,
|
|
3706
|
+
headers: new AxiosHeaders$1(res.headers),
|
|
3707
|
+
config,
|
|
3708
|
+
request: lastRequest,
|
|
3709
|
+
};
|
|
3428
3710
|
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3711
|
+
if (responseType === 'stream') {
|
|
3712
|
+
response.data = responseStream;
|
|
3713
|
+
settle(resolve, reject, response);
|
|
3714
|
+
} else {
|
|
3715
|
+
const responseBuffer = [];
|
|
3716
|
+
let totalResponseBytes = 0;
|
|
3717
|
+
|
|
3718
|
+
responseStream.on('data', function handleStreamData(chunk) {
|
|
3719
|
+
responseBuffer.push(chunk);
|
|
3720
|
+
totalResponseBytes += chunk.length;
|
|
3721
|
+
|
|
3722
|
+
// make sure the content length is not over the maxContentLength if specified
|
|
3723
|
+
if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
|
|
3724
|
+
// stream.destroy() emit aborted event before calling reject() on Node.js v16
|
|
3725
|
+
rejected = true;
|
|
3726
|
+
responseStream.destroy();
|
|
3727
|
+
abort(
|
|
3728
|
+
new AxiosError$1(
|
|
3729
|
+
'maxContentLength size of ' + config.maxContentLength + ' exceeded',
|
|
3730
|
+
AxiosError$1.ERR_BAD_RESPONSE,
|
|
3731
|
+
config,
|
|
3732
|
+
lastRequest
|
|
3733
|
+
)
|
|
3734
|
+
);
|
|
3735
|
+
}
|
|
3736
|
+
});
|
|
3436
3737
|
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
const responseBuffer = [];
|
|
3442
|
-
let totalResponseBytes = 0;
|
|
3738
|
+
responseStream.on('aborted', function handlerStreamAborted() {
|
|
3739
|
+
if (rejected) {
|
|
3740
|
+
return;
|
|
3741
|
+
}
|
|
3443
3742
|
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3743
|
+
const err = new AxiosError$1(
|
|
3744
|
+
'stream has been aborted',
|
|
3745
|
+
AxiosError$1.ERR_BAD_RESPONSE,
|
|
3746
|
+
config,
|
|
3747
|
+
lastRequest
|
|
3748
|
+
);
|
|
3749
|
+
responseStream.destroy(err);
|
|
3750
|
+
reject(err);
|
|
3751
|
+
});
|
|
3752
|
+
|
|
3753
|
+
responseStream.on('error', function handleStreamError(err) {
|
|
3754
|
+
if (req.destroyed) return;
|
|
3755
|
+
reject(AxiosError$1.from(err, null, config, lastRequest));
|
|
3756
|
+
});
|
|
3757
|
+
|
|
3758
|
+
responseStream.on('end', function handleStreamEnd() {
|
|
3759
|
+
try {
|
|
3760
|
+
let responseData =
|
|
3761
|
+
responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);
|
|
3762
|
+
if (responseType !== 'arraybuffer') {
|
|
3763
|
+
responseData = responseData.toString(responseEncoding);
|
|
3764
|
+
if (!responseEncoding || responseEncoding === 'utf8') {
|
|
3765
|
+
responseData = utils$1.stripBOM(responseData);
|
|
3766
|
+
}
|
|
3767
|
+
}
|
|
3768
|
+
response.data = responseData;
|
|
3769
|
+
} catch (err) {
|
|
3770
|
+
return reject(AxiosError$1.from(err, null, config, response.request, response));
|
|
3771
|
+
}
|
|
3772
|
+
settle(resolve, reject, response);
|
|
3773
|
+
});
|
|
3774
|
+
}
|
|
3447
3775
|
|
|
3448
|
-
|
|
3449
|
-
if (
|
|
3450
|
-
|
|
3451
|
-
rejected = true;
|
|
3776
|
+
abortEmitter.once('abort', (err) => {
|
|
3777
|
+
if (!responseStream.destroyed) {
|
|
3778
|
+
responseStream.emit('error', err);
|
|
3452
3779
|
responseStream.destroy();
|
|
3453
|
-
abort(new AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded',
|
|
3454
|
-
AxiosError.ERR_BAD_RESPONSE, config, lastRequest));
|
|
3455
3780
|
}
|
|
3456
3781
|
});
|
|
3782
|
+
});
|
|
3457
3783
|
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3784
|
+
abortEmitter.once('abort', (err) => {
|
|
3785
|
+
if (req.close) {
|
|
3786
|
+
req.close();
|
|
3787
|
+
} else {
|
|
3788
|
+
req.destroy(err);
|
|
3789
|
+
}
|
|
3790
|
+
});
|
|
3462
3791
|
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
lastRequest
|
|
3468
|
-
);
|
|
3469
|
-
responseStream.destroy(err);
|
|
3470
|
-
reject(err);
|
|
3471
|
-
});
|
|
3792
|
+
// Handle errors
|
|
3793
|
+
req.on('error', function handleRequestError(err) {
|
|
3794
|
+
reject(AxiosError$1.from(err, null, config, req));
|
|
3795
|
+
});
|
|
3472
3796
|
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3797
|
+
// set tcp keep alive to prevent drop connection by peer
|
|
3798
|
+
req.on('socket', function handleRequestSocket(socket) {
|
|
3799
|
+
// default interval of sending ack packet is 1 minute
|
|
3800
|
+
socket.setKeepAlive(true, 1000 * 60);
|
|
3801
|
+
});
|
|
3477
3802
|
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
});
|
|
3493
|
-
}
|
|
3803
|
+
// Handle request timeout
|
|
3804
|
+
if (config.timeout) {
|
|
3805
|
+
// This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.
|
|
3806
|
+
const timeout = parseInt(config.timeout, 10);
|
|
3807
|
+
|
|
3808
|
+
if (Number.isNaN(timeout)) {
|
|
3809
|
+
abort(
|
|
3810
|
+
new AxiosError$1(
|
|
3811
|
+
'error trying to parse `config.timeout` to int',
|
|
3812
|
+
AxiosError$1.ERR_BAD_OPTION_VALUE,
|
|
3813
|
+
config,
|
|
3814
|
+
req
|
|
3815
|
+
)
|
|
3816
|
+
);
|
|
3494
3817
|
|
|
3495
|
-
|
|
3496
|
-
if (!responseStream.destroyed) {
|
|
3497
|
-
responseStream.emit('error', err);
|
|
3498
|
-
responseStream.destroy();
|
|
3818
|
+
return;
|
|
3499
3819
|
}
|
|
3500
|
-
});
|
|
3501
|
-
});
|
|
3502
3820
|
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3821
|
+
// Sometime, the response will be very slow, and does not respond, the connect event will be block by event loop system.
|
|
3822
|
+
// And timer callback will be fired, and abort() will be invoked before connection, then get "socket hang up" and code ECONNRESET.
|
|
3823
|
+
// At this time, if we have a large number of request, nodejs will hang up some socket on background. and the number will up and up.
|
|
3824
|
+
// And then these socket which be hang up will devouring CPU little by little.
|
|
3825
|
+
// ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.
|
|
3826
|
+
req.setTimeout(timeout, function handleRequestTimeout() {
|
|
3827
|
+
if (isDone) return;
|
|
3828
|
+
let timeoutErrorMessage = config.timeout
|
|
3829
|
+
? 'timeout of ' + config.timeout + 'ms exceeded'
|
|
3830
|
+
: 'timeout exceeded';
|
|
3831
|
+
const transitional = config.transitional || transitionalDefaults;
|
|
3832
|
+
if (config.timeoutErrorMessage) {
|
|
3833
|
+
timeoutErrorMessage = config.timeoutErrorMessage;
|
|
3834
|
+
}
|
|
3835
|
+
abort(
|
|
3836
|
+
new AxiosError$1(
|
|
3837
|
+
timeoutErrorMessage,
|
|
3838
|
+
transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
|
|
3839
|
+
config,
|
|
3840
|
+
req
|
|
3841
|
+
)
|
|
3842
|
+
);
|
|
3843
|
+
});
|
|
3506
3844
|
} else {
|
|
3507
|
-
|
|
3845
|
+
// explicitly reset the socket timeout value for a possible `keep-alive` request
|
|
3846
|
+
req.setTimeout(0);
|
|
3508
3847
|
}
|
|
3509
|
-
});
|
|
3510
3848
|
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
reject(AxiosError.from(err, null, config, req));
|
|
3516
|
-
});
|
|
3849
|
+
// Send the request
|
|
3850
|
+
if (utils$1.isStream(data)) {
|
|
3851
|
+
let ended = false;
|
|
3852
|
+
let errored = false;
|
|
3517
3853
|
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
socket.setKeepAlive(true, 1000 * 60);
|
|
3522
|
-
});
|
|
3854
|
+
data.on('end', () => {
|
|
3855
|
+
ended = true;
|
|
3856
|
+
});
|
|
3523
3857
|
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3858
|
+
data.once('error', (err) => {
|
|
3859
|
+
errored = true;
|
|
3860
|
+
req.destroy(err);
|
|
3861
|
+
});
|
|
3528
3862
|
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
req
|
|
3535
|
-
));
|
|
3863
|
+
data.on('close', () => {
|
|
3864
|
+
if (!ended && !errored) {
|
|
3865
|
+
abort(new CanceledError$1('Request stream has been aborted', config, req));
|
|
3866
|
+
}
|
|
3867
|
+
});
|
|
3536
3868
|
|
|
3537
|
-
|
|
3869
|
+
data.pipe(req);
|
|
3870
|
+
} else {
|
|
3871
|
+
data && req.write(data);
|
|
3872
|
+
req.end();
|
|
3538
3873
|
}
|
|
3874
|
+
});
|
|
3875
|
+
};
|
|
3539
3876
|
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
// And then these socket which be hang up will devouring CPU little by little.
|
|
3544
|
-
// ClientRequest.setTimeout will be fired on the specify milliseconds, and can make sure that abort() will be fired after connect.
|
|
3545
|
-
req.setTimeout(timeout, function handleRequestTimeout() {
|
|
3546
|
-
if (isDone) return;
|
|
3547
|
-
let timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
3548
|
-
const transitional = config.transitional || transitionalDefaults;
|
|
3549
|
-
if (config.timeoutErrorMessage) {
|
|
3550
|
-
timeoutErrorMessage = config.timeoutErrorMessage;
|
|
3551
|
-
}
|
|
3552
|
-
abort(new AxiosError(
|
|
3553
|
-
timeoutErrorMessage,
|
|
3554
|
-
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
3555
|
-
config,
|
|
3556
|
-
req
|
|
3557
|
-
));
|
|
3558
|
-
});
|
|
3559
|
-
} else {
|
|
3560
|
-
// explicitly reset the socket timeout value for a possible `keep-alive` request
|
|
3561
|
-
req.setTimeout(0);
|
|
3562
|
-
}
|
|
3563
|
-
|
|
3877
|
+
const isURLSameOrigin = platform.hasStandardBrowserEnv
|
|
3878
|
+
? ((origin, isMSIE) => (url) => {
|
|
3879
|
+
url = new URL(url, platform.origin);
|
|
3564
3880
|
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3881
|
+
return (
|
|
3882
|
+
origin.protocol === url.protocol &&
|
|
3883
|
+
origin.host === url.host &&
|
|
3884
|
+
(isMSIE || origin.port === url.port)
|
|
3885
|
+
);
|
|
3886
|
+
})(
|
|
3887
|
+
new URL(platform.origin),
|
|
3888
|
+
platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)
|
|
3889
|
+
)
|
|
3890
|
+
: () => true;
|
|
3569
3891
|
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3892
|
+
const cookies = platform.hasStandardBrowserEnv
|
|
3893
|
+
? // Standard browser envs support document.cookie
|
|
3894
|
+
{
|
|
3895
|
+
write(name, value, expires, path, domain, secure, sameSite) {
|
|
3896
|
+
if (typeof document === 'undefined') return;
|
|
3573
3897
|
|
|
3574
|
-
|
|
3575
|
-
errored = true;
|
|
3576
|
-
req.destroy(err);
|
|
3577
|
-
});
|
|
3898
|
+
const cookie = [`${name}=${encodeURIComponent(value)}`];
|
|
3578
3899
|
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3900
|
+
if (utils$1.isNumber(expires)) {
|
|
3901
|
+
cookie.push(`expires=${new Date(expires).toUTCString()}`);
|
|
3902
|
+
}
|
|
3903
|
+
if (utils$1.isString(path)) {
|
|
3904
|
+
cookie.push(`path=${path}`);
|
|
3905
|
+
}
|
|
3906
|
+
if (utils$1.isString(domain)) {
|
|
3907
|
+
cookie.push(`domain=${domain}`);
|
|
3908
|
+
}
|
|
3909
|
+
if (secure === true) {
|
|
3910
|
+
cookie.push('secure');
|
|
3911
|
+
}
|
|
3912
|
+
if (utils$1.isString(sameSite)) {
|
|
3913
|
+
cookie.push(`SameSite=${sameSite}`);
|
|
3582
3914
|
}
|
|
3583
|
-
});
|
|
3584
|
-
|
|
3585
|
-
data.pipe(req);
|
|
3586
|
-
} else {
|
|
3587
|
-
data && req.write(data);
|
|
3588
|
-
req.end();
|
|
3589
|
-
}
|
|
3590
|
-
});
|
|
3591
|
-
};
|
|
3592
|
-
|
|
3593
|
-
const isURLSameOrigin = platform.hasStandardBrowserEnv ? ((origin, isMSIE) => (url) => {
|
|
3594
|
-
url = new URL(url, platform.origin);
|
|
3595
|
-
|
|
3596
|
-
return (
|
|
3597
|
-
origin.protocol === url.protocol &&
|
|
3598
|
-
origin.host === url.host &&
|
|
3599
|
-
(isMSIE || origin.port === url.port)
|
|
3600
|
-
);
|
|
3601
|
-
})(
|
|
3602
|
-
new URL(platform.origin),
|
|
3603
|
-
platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)
|
|
3604
|
-
) : () => true;
|
|
3605
|
-
|
|
3606
|
-
const cookies = platform.hasStandardBrowserEnv ?
|
|
3607
|
-
|
|
3608
|
-
// Standard browser envs support document.cookie
|
|
3609
|
-
{
|
|
3610
|
-
write(name, value, expires, path, domain, secure, sameSite) {
|
|
3611
|
-
if (typeof document === 'undefined') return;
|
|
3612
|
-
|
|
3613
|
-
const cookie = [`${name}=${encodeURIComponent(value)}`];
|
|
3614
|
-
|
|
3615
|
-
if (utils$1.isNumber(expires)) {
|
|
3616
|
-
cookie.push(`expires=${new Date(expires).toUTCString()}`);
|
|
3617
|
-
}
|
|
3618
|
-
if (utils$1.isString(path)) {
|
|
3619
|
-
cookie.push(`path=${path}`);
|
|
3620
|
-
}
|
|
3621
|
-
if (utils$1.isString(domain)) {
|
|
3622
|
-
cookie.push(`domain=${domain}`);
|
|
3623
|
-
}
|
|
3624
|
-
if (secure === true) {
|
|
3625
|
-
cookie.push('secure');
|
|
3626
|
-
}
|
|
3627
|
-
if (utils$1.isString(sameSite)) {
|
|
3628
|
-
cookie.push(`SameSite=${sameSite}`);
|
|
3629
|
-
}
|
|
3630
3915
|
|
|
3631
|
-
|
|
3632
|
-
|
|
3916
|
+
document.cookie = cookie.join('; ');
|
|
3917
|
+
},
|
|
3633
3918
|
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3919
|
+
read(name) {
|
|
3920
|
+
if (typeof document === 'undefined') return null;
|
|
3921
|
+
const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
|
|
3922
|
+
return match ? decodeURIComponent(match[1]) : null;
|
|
3923
|
+
},
|
|
3639
3924
|
|
|
3640
|
-
|
|
3641
|
-
|
|
3925
|
+
remove(name) {
|
|
3926
|
+
this.write(name, '', Date.now() - 86400000, '/');
|
|
3927
|
+
},
|
|
3642
3928
|
}
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
return null;
|
|
3652
|
-
},
|
|
3653
|
-
remove() {}
|
|
3654
|
-
};
|
|
3929
|
+
: // Non-standard browser env (web workers, react-native) lack needed support.
|
|
3930
|
+
{
|
|
3931
|
+
write() {},
|
|
3932
|
+
read() {
|
|
3933
|
+
return null;
|
|
3934
|
+
},
|
|
3935
|
+
remove() {},
|
|
3936
|
+
};
|
|
3655
3937
|
|
|
3656
|
-
const headersToObject = (thing) => thing instanceof AxiosHeaders$1 ? { ...thing } : thing;
|
|
3938
|
+
const headersToObject = (thing) => (thing instanceof AxiosHeaders$1 ? { ...thing } : thing);
|
|
3657
3939
|
|
|
3658
3940
|
/**
|
|
3659
3941
|
* Config-specific merge-function which creates a new config-object
|
|
@@ -3671,7 +3953,7 @@ function mergeConfig(config1, config2) {
|
|
|
3671
3953
|
|
|
3672
3954
|
function getMergedValue(target, source, prop, caseless) {
|
|
3673
3955
|
if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) {
|
|
3674
|
-
return utils$1.merge.call({caseless}, target, source);
|
|
3956
|
+
return utils$1.merge.call({ caseless }, target, source);
|
|
3675
3957
|
} else if (utils$1.isPlainObject(source)) {
|
|
3676
3958
|
return utils$1.merge({}, source);
|
|
3677
3959
|
} else if (utils$1.isArray(source)) {
|
|
@@ -3680,7 +3962,6 @@ function mergeConfig(config1, config2) {
|
|
|
3680
3962
|
return source;
|
|
3681
3963
|
}
|
|
3682
3964
|
|
|
3683
|
-
// eslint-disable-next-line consistent-return
|
|
3684
3965
|
function mergeDeepProperties(a, b, prop, caseless) {
|
|
3685
3966
|
if (!utils$1.isUndefined(b)) {
|
|
3686
3967
|
return getMergedValue(a, b, prop, caseless);
|
|
@@ -3743,11 +4024,13 @@ function mergeConfig(config1, config2) {
|
|
|
3743
4024
|
socketPath: defaultToConfig2,
|
|
3744
4025
|
responseEncoding: defaultToConfig2,
|
|
3745
4026
|
validateStatus: mergeDirectKeys,
|
|
3746
|
-
headers: (a, b, prop) =>
|
|
4027
|
+
headers: (a, b, prop) =>
|
|
4028
|
+
mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true),
|
|
3747
4029
|
};
|
|
3748
4030
|
|
|
3749
|
-
utils$1.forEach(Object.keys({...config1, ...config2}), function computeConfigValue(prop) {
|
|
3750
|
-
|
|
4031
|
+
utils$1.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
|
|
4032
|
+
if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;
|
|
4033
|
+
const merge = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
|
|
3751
4034
|
const configValue = merge(config1[prop], config2[prop], prop);
|
|
3752
4035
|
(utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
|
|
3753
4036
|
});
|
|
@@ -3762,12 +4045,22 @@ const resolveConfig = (config) => {
|
|
|
3762
4045
|
|
|
3763
4046
|
newConfig.headers = headers = AxiosHeaders$1.from(headers);
|
|
3764
4047
|
|
|
3765
|
-
newConfig.url = buildURL(
|
|
4048
|
+
newConfig.url = buildURL(
|
|
4049
|
+
buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls),
|
|
4050
|
+
config.params,
|
|
4051
|
+
config.paramsSerializer
|
|
4052
|
+
);
|
|
3766
4053
|
|
|
3767
4054
|
// HTTP basic authentication
|
|
3768
4055
|
if (auth) {
|
|
3769
|
-
headers.set(
|
|
3770
|
-
|
|
4056
|
+
headers.set(
|
|
4057
|
+
'Authorization',
|
|
4058
|
+
'Basic ' +
|
|
4059
|
+
btoa(
|
|
4060
|
+
(auth.username || '') +
|
|
4061
|
+
':' +
|
|
4062
|
+
(auth.password ? unescape(encodeURIComponent(auth.password)) : '')
|
|
4063
|
+
)
|
|
3771
4064
|
);
|
|
3772
4065
|
}
|
|
3773
4066
|
|
|
@@ -3785,7 +4078,7 @@ const resolveConfig = (config) => {
|
|
|
3785
4078
|
}
|
|
3786
4079
|
});
|
|
3787
4080
|
}
|
|
3788
|
-
}
|
|
4081
|
+
}
|
|
3789
4082
|
|
|
3790
4083
|
// Add xsrf header
|
|
3791
4084
|
// This is only done if running in a standard browser environment.
|
|
@@ -3809,196 +4102,218 @@ const resolveConfig = (config) => {
|
|
|
3809
4102
|
|
|
3810
4103
|
const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
3811
4104
|
|
|
3812
|
-
const xhrAdapter = isXHRAdapterSupported &&
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
4105
|
+
const xhrAdapter = isXHRAdapterSupported &&
|
|
4106
|
+
function (config) {
|
|
4107
|
+
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
4108
|
+
const _config = resolveConfig(config);
|
|
4109
|
+
let requestData = _config.data;
|
|
4110
|
+
const requestHeaders = AxiosHeaders$1.from(_config.headers).normalize();
|
|
4111
|
+
let { responseType, onUploadProgress, onDownloadProgress } = _config;
|
|
4112
|
+
let onCanceled;
|
|
4113
|
+
let uploadThrottled, downloadThrottled;
|
|
4114
|
+
let flushUpload, flushDownload;
|
|
3821
4115
|
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
4116
|
+
function done() {
|
|
4117
|
+
flushUpload && flushUpload(); // flush events
|
|
4118
|
+
flushDownload && flushDownload(); // flush events
|
|
3825
4119
|
|
|
3826
|
-
|
|
4120
|
+
_config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
|
|
3827
4121
|
|
|
3828
|
-
|
|
3829
|
-
|
|
4122
|
+
_config.signal && _config.signal.removeEventListener('abort', onCanceled);
|
|
4123
|
+
}
|
|
3830
4124
|
|
|
3831
|
-
|
|
4125
|
+
let request = new XMLHttpRequest();
|
|
3832
4126
|
|
|
3833
|
-
|
|
4127
|
+
request.open(_config.method.toUpperCase(), _config.url, true);
|
|
3834
4128
|
|
|
3835
|
-
|
|
3836
|
-
|
|
4129
|
+
// Set the request timeout in MS
|
|
4130
|
+
request.timeout = _config.timeout;
|
|
3837
4131
|
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
4132
|
+
function onloadend() {
|
|
4133
|
+
if (!request) {
|
|
4134
|
+
return;
|
|
4135
|
+
}
|
|
4136
|
+
// Prepare the response
|
|
4137
|
+
const responseHeaders = AxiosHeaders$1.from(
|
|
4138
|
+
'getAllResponseHeaders' in request && request.getAllResponseHeaders()
|
|
4139
|
+
);
|
|
4140
|
+
const responseData =
|
|
4141
|
+
!responseType || responseType === 'text' || responseType === 'json'
|
|
4142
|
+
? request.responseText
|
|
4143
|
+
: request.response;
|
|
4144
|
+
const response = {
|
|
4145
|
+
data: responseData,
|
|
4146
|
+
status: request.status,
|
|
4147
|
+
statusText: request.statusText,
|
|
4148
|
+
headers: responseHeaders,
|
|
4149
|
+
config,
|
|
4150
|
+
request,
|
|
4151
|
+
};
|
|
4152
|
+
|
|
4153
|
+
settle(
|
|
4154
|
+
function _resolve(value) {
|
|
4155
|
+
resolve(value);
|
|
4156
|
+
done();
|
|
4157
|
+
},
|
|
4158
|
+
function _reject(err) {
|
|
4159
|
+
reject(err);
|
|
4160
|
+
done();
|
|
4161
|
+
},
|
|
4162
|
+
response
|
|
4163
|
+
);
|
|
4164
|
+
|
|
4165
|
+
// Clean up request
|
|
4166
|
+
request = null;
|
|
3841
4167
|
}
|
|
3842
|
-
// Prepare the response
|
|
3843
|
-
const responseHeaders = AxiosHeaders$1.from(
|
|
3844
|
-
'getAllResponseHeaders' in request && request.getAllResponseHeaders()
|
|
3845
|
-
);
|
|
3846
|
-
const responseData = !responseType || responseType === 'text' || responseType === 'json' ?
|
|
3847
|
-
request.responseText : request.response;
|
|
3848
|
-
const response = {
|
|
3849
|
-
data: responseData,
|
|
3850
|
-
status: request.status,
|
|
3851
|
-
statusText: request.statusText,
|
|
3852
|
-
headers: responseHeaders,
|
|
3853
|
-
config,
|
|
3854
|
-
request
|
|
3855
|
-
};
|
|
3856
4168
|
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
}
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
4169
|
+
if ('onloadend' in request) {
|
|
4170
|
+
// Use onloadend if available
|
|
4171
|
+
request.onloadend = onloadend;
|
|
4172
|
+
} else {
|
|
4173
|
+
// Listen for ready state to emulate onloadend
|
|
4174
|
+
request.onreadystatechange = function handleLoad() {
|
|
4175
|
+
if (!request || request.readyState !== 4) {
|
|
4176
|
+
return;
|
|
4177
|
+
}
|
|
3864
4178
|
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
4179
|
+
// The request errored out and we didn't get a response, this will be
|
|
4180
|
+
// handled by onerror instead
|
|
4181
|
+
// With one exception: request that using file: protocol, most browsers
|
|
4182
|
+
// will return status as 0 even though it's a successful request
|
|
4183
|
+
if (
|
|
4184
|
+
request.status === 0 &&
|
|
4185
|
+
!(request.responseURL && request.responseURL.indexOf('file:') === 0)
|
|
4186
|
+
) {
|
|
4187
|
+
return;
|
|
4188
|
+
}
|
|
4189
|
+
// readystate handler is calling before onerror or ontimeout handlers,
|
|
4190
|
+
// so we should call onloadend on the next 'tick'
|
|
4191
|
+
setTimeout(onloadend);
|
|
4192
|
+
};
|
|
4193
|
+
}
|
|
3868
4194
|
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
} else {
|
|
3873
|
-
// Listen for ready state to emulate onloadend
|
|
3874
|
-
request.onreadystatechange = function handleLoad() {
|
|
3875
|
-
if (!request || request.readyState !== 4) {
|
|
4195
|
+
// Handle browser request cancellation (as opposed to a manual cancellation)
|
|
4196
|
+
request.onabort = function handleAbort() {
|
|
4197
|
+
if (!request) {
|
|
3876
4198
|
return;
|
|
3877
4199
|
}
|
|
3878
4200
|
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
//
|
|
3882
|
-
|
|
3883
|
-
if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
|
|
3884
|
-
return;
|
|
3885
|
-
}
|
|
3886
|
-
// readystate handler is calling before onerror or ontimeout handlers,
|
|
3887
|
-
// so we should call onloadend on the next 'tick'
|
|
3888
|
-
setTimeout(onloadend);
|
|
4201
|
+
reject(new AxiosError$1('Request aborted', AxiosError$1.ECONNABORTED, config, request));
|
|
4202
|
+
|
|
4203
|
+
// Clean up request
|
|
4204
|
+
request = null;
|
|
3889
4205
|
};
|
|
3890
|
-
}
|
|
3891
4206
|
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
4207
|
+
// Handle low level network errors
|
|
4208
|
+
request.onerror = function handleError(event) {
|
|
4209
|
+
// Browsers deliver a ProgressEvent in XHR onerror
|
|
4210
|
+
// (message may be empty; when present, surface it)
|
|
4211
|
+
// See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
|
|
4212
|
+
const msg = event && event.message ? event.message : 'Network Error';
|
|
4213
|
+
const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config, request);
|
|
4214
|
+
// attach the underlying event for consumers who want details
|
|
4215
|
+
err.event = event || null;
|
|
4216
|
+
reject(err);
|
|
4217
|
+
request = null;
|
|
4218
|
+
};
|
|
3897
4219
|
|
|
3898
|
-
|
|
4220
|
+
// Handle timeout
|
|
4221
|
+
request.ontimeout = function handleTimeout() {
|
|
4222
|
+
let timeoutErrorMessage = _config.timeout
|
|
4223
|
+
? 'timeout of ' + _config.timeout + 'ms exceeded'
|
|
4224
|
+
: 'timeout exceeded';
|
|
4225
|
+
const transitional = _config.transitional || transitionalDefaults;
|
|
4226
|
+
if (_config.timeoutErrorMessage) {
|
|
4227
|
+
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
4228
|
+
}
|
|
4229
|
+
reject(
|
|
4230
|
+
new AxiosError$1(
|
|
4231
|
+
timeoutErrorMessage,
|
|
4232
|
+
transitional.clarifyTimeoutError ? AxiosError$1.ETIMEDOUT : AxiosError$1.ECONNABORTED,
|
|
4233
|
+
config,
|
|
4234
|
+
request
|
|
4235
|
+
)
|
|
4236
|
+
);
|
|
3899
4237
|
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
4238
|
+
// Clean up request
|
|
4239
|
+
request = null;
|
|
4240
|
+
};
|
|
3903
4241
|
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
// Browsers deliver a ProgressEvent in XHR onerror
|
|
3907
|
-
// (message may be empty; when present, surface it)
|
|
3908
|
-
// See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
|
|
3909
|
-
const msg = event && event.message ? event.message : 'Network Error';
|
|
3910
|
-
const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request);
|
|
3911
|
-
// attach the underlying event for consumers who want details
|
|
3912
|
-
err.event = event || null;
|
|
3913
|
-
reject(err);
|
|
3914
|
-
request = null;
|
|
3915
|
-
};
|
|
3916
|
-
|
|
3917
|
-
// Handle timeout
|
|
3918
|
-
request.ontimeout = function handleTimeout() {
|
|
3919
|
-
let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
3920
|
-
const transitional = _config.transitional || transitionalDefaults;
|
|
3921
|
-
if (_config.timeoutErrorMessage) {
|
|
3922
|
-
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
3923
|
-
}
|
|
3924
|
-
reject(new AxiosError(
|
|
3925
|
-
timeoutErrorMessage,
|
|
3926
|
-
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
3927
|
-
config,
|
|
3928
|
-
request));
|
|
3929
|
-
|
|
3930
|
-
// Clean up request
|
|
3931
|
-
request = null;
|
|
3932
|
-
};
|
|
4242
|
+
// Remove Content-Type if data is undefined
|
|
4243
|
+
requestData === undefined && requestHeaders.setContentType(null);
|
|
3933
4244
|
|
|
3934
|
-
|
|
3935
|
-
|
|
4245
|
+
// Add headers to the request
|
|
4246
|
+
if ('setRequestHeader' in request) {
|
|
4247
|
+
utils$1.forEach(requestHeaders.toJSON(), function setRequestHeader(val, key) {
|
|
4248
|
+
request.setRequestHeader(key, val);
|
|
4249
|
+
});
|
|
4250
|
+
}
|
|
3936
4251
|
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
});
|
|
3942
|
-
}
|
|
4252
|
+
// Add withCredentials to request if needed
|
|
4253
|
+
if (!utils$1.isUndefined(_config.withCredentials)) {
|
|
4254
|
+
request.withCredentials = !!_config.withCredentials;
|
|
4255
|
+
}
|
|
3943
4256
|
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
4257
|
+
// Add responseType to request if needed
|
|
4258
|
+
if (responseType && responseType !== 'json') {
|
|
4259
|
+
request.responseType = _config.responseType;
|
|
4260
|
+
}
|
|
3948
4261
|
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
4262
|
+
// Handle progress if needed
|
|
4263
|
+
if (onDownloadProgress) {
|
|
4264
|
+
[downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true);
|
|
4265
|
+
request.addEventListener('progress', downloadThrottled);
|
|
4266
|
+
}
|
|
3953
4267
|
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
request.addEventListener('progress', downloadThrottled);
|
|
3958
|
-
}
|
|
4268
|
+
// Not all browsers support upload events
|
|
4269
|
+
if (onUploadProgress && request.upload) {
|
|
4270
|
+
[uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);
|
|
3959
4271
|
|
|
3960
|
-
|
|
3961
|
-
if (onUploadProgress && request.upload) {
|
|
3962
|
-
([uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress));
|
|
4272
|
+
request.upload.addEventListener('progress', uploadThrottled);
|
|
3963
4273
|
|
|
3964
|
-
|
|
4274
|
+
request.upload.addEventListener('loadend', flushUpload);
|
|
4275
|
+
}
|
|
3965
4276
|
|
|
3966
|
-
|
|
3967
|
-
|
|
4277
|
+
if (_config.cancelToken || _config.signal) {
|
|
4278
|
+
// Handle cancellation
|
|
4279
|
+
// eslint-disable-next-line func-names
|
|
4280
|
+
onCanceled = (cancel) => {
|
|
4281
|
+
if (!request) {
|
|
4282
|
+
return;
|
|
4283
|
+
}
|
|
4284
|
+
reject(!cancel || cancel.type ? new CanceledError$1(null, config, request) : cancel);
|
|
4285
|
+
request.abort();
|
|
4286
|
+
request = null;
|
|
4287
|
+
};
|
|
3968
4288
|
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
return;
|
|
4289
|
+
_config.cancelToken && _config.cancelToken.subscribe(onCanceled);
|
|
4290
|
+
if (_config.signal) {
|
|
4291
|
+
_config.signal.aborted
|
|
4292
|
+
? onCanceled()
|
|
4293
|
+
: _config.signal.addEventListener('abort', onCanceled);
|
|
3975
4294
|
}
|
|
3976
|
-
reject(!cancel || cancel.type ? new CanceledError(null, config, request) : cancel);
|
|
3977
|
-
request.abort();
|
|
3978
|
-
request = null;
|
|
3979
|
-
};
|
|
3980
|
-
|
|
3981
|
-
_config.cancelToken && _config.cancelToken.subscribe(onCanceled);
|
|
3982
|
-
if (_config.signal) {
|
|
3983
|
-
_config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
|
|
3984
4295
|
}
|
|
3985
|
-
}
|
|
3986
|
-
|
|
3987
|
-
const protocol = parseProtocol(_config.url);
|
|
3988
4296
|
|
|
3989
|
-
|
|
3990
|
-
reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));
|
|
3991
|
-
return;
|
|
3992
|
-
}
|
|
4297
|
+
const protocol = parseProtocol(_config.url);
|
|
3993
4298
|
|
|
4299
|
+
if (protocol && platform.protocols.indexOf(protocol) === -1) {
|
|
4300
|
+
reject(
|
|
4301
|
+
new AxiosError$1(
|
|
4302
|
+
'Unsupported protocol ' + protocol + ':',
|
|
4303
|
+
AxiosError$1.ERR_BAD_REQUEST,
|
|
4304
|
+
config
|
|
4305
|
+
)
|
|
4306
|
+
);
|
|
4307
|
+
return;
|
|
4308
|
+
}
|
|
3994
4309
|
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
};
|
|
4310
|
+
// Send the request
|
|
4311
|
+
request.send(requestData || null);
|
|
4312
|
+
});
|
|
4313
|
+
};
|
|
3999
4314
|
|
|
4000
4315
|
const composeSignals = (signals, timeout) => {
|
|
4001
|
-
const {length} = (signals = signals ? signals.filter(Boolean) : []);
|
|
4316
|
+
const { length } = (signals = signals ? signals.filter(Boolean) : []);
|
|
4002
4317
|
|
|
4003
4318
|
if (timeout || length) {
|
|
4004
4319
|
let controller = new AbortController();
|
|
@@ -4010,21 +4325,29 @@ const composeSignals = (signals, timeout) => {
|
|
|
4010
4325
|
aborted = true;
|
|
4011
4326
|
unsubscribe();
|
|
4012
4327
|
const err = reason instanceof Error ? reason : this.reason;
|
|
4013
|
-
controller.abort(
|
|
4328
|
+
controller.abort(
|
|
4329
|
+
err instanceof AxiosError$1
|
|
4330
|
+
? err
|
|
4331
|
+
: new CanceledError$1(err instanceof Error ? err.message : err)
|
|
4332
|
+
);
|
|
4014
4333
|
}
|
|
4015
4334
|
};
|
|
4016
4335
|
|
|
4017
|
-
let timer =
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4336
|
+
let timer =
|
|
4337
|
+
timeout &&
|
|
4338
|
+
setTimeout(() => {
|
|
4339
|
+
timer = null;
|
|
4340
|
+
onabort(new AxiosError$1(`timeout of ${timeout}ms exceeded`, AxiosError$1.ETIMEDOUT));
|
|
4341
|
+
}, timeout);
|
|
4021
4342
|
|
|
4022
4343
|
const unsubscribe = () => {
|
|
4023
4344
|
if (signals) {
|
|
4024
4345
|
timer && clearTimeout(timer);
|
|
4025
4346
|
timer = null;
|
|
4026
|
-
signals.forEach(signal => {
|
|
4027
|
-
signal.unsubscribe
|
|
4347
|
+
signals.forEach((signal) => {
|
|
4348
|
+
signal.unsubscribe
|
|
4349
|
+
? signal.unsubscribe(onabort)
|
|
4350
|
+
: signal.removeEventListener('abort', onabort);
|
|
4028
4351
|
});
|
|
4029
4352
|
signals = null;
|
|
4030
4353
|
}
|
|
@@ -4032,7 +4355,7 @@ const composeSignals = (signals, timeout) => {
|
|
|
4032
4355
|
|
|
4033
4356
|
signals.forEach((signal) => signal.addEventListener('abort', onabort));
|
|
4034
4357
|
|
|
4035
|
-
const {signal} = controller;
|
|
4358
|
+
const { signal } = controller;
|
|
4036
4359
|
|
|
4037
4360
|
signal.unsubscribe = () => utils$1.asap(unsubscribe);
|
|
4038
4361
|
|
|
@@ -4075,7 +4398,7 @@ const readStream = async function* (stream) {
|
|
|
4075
4398
|
const reader = stream.getReader();
|
|
4076
4399
|
try {
|
|
4077
4400
|
for (;;) {
|
|
4078
|
-
const {done, value} = await reader.read();
|
|
4401
|
+
const { done, value } = await reader.read();
|
|
4079
4402
|
if (done) {
|
|
4080
4403
|
break;
|
|
4081
4404
|
}
|
|
@@ -4098,64 +4421,69 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
4098
4421
|
}
|
|
4099
4422
|
};
|
|
4100
4423
|
|
|
4101
|
-
return new ReadableStream(
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4424
|
+
return new ReadableStream(
|
|
4425
|
+
{
|
|
4426
|
+
async pull(controller) {
|
|
4427
|
+
try {
|
|
4428
|
+
const { done, value } = await iterator.next();
|
|
4105
4429
|
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4430
|
+
if (done) {
|
|
4431
|
+
_onFinish();
|
|
4432
|
+
controller.close();
|
|
4433
|
+
return;
|
|
4434
|
+
}
|
|
4111
4435
|
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4436
|
+
let len = value.byteLength;
|
|
4437
|
+
if (onProgress) {
|
|
4438
|
+
let loadedBytes = (bytes += len);
|
|
4439
|
+
onProgress(loadedBytes);
|
|
4440
|
+
}
|
|
4441
|
+
controller.enqueue(new Uint8Array(value));
|
|
4442
|
+
} catch (err) {
|
|
4443
|
+
_onFinish(err);
|
|
4444
|
+
throw err;
|
|
4116
4445
|
}
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
_onFinish(
|
|
4120
|
-
|
|
4121
|
-
}
|
|
4446
|
+
},
|
|
4447
|
+
cancel(reason) {
|
|
4448
|
+
_onFinish(reason);
|
|
4449
|
+
return iterator.return();
|
|
4450
|
+
},
|
|
4122
4451
|
},
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
return iterator.return();
|
|
4452
|
+
{
|
|
4453
|
+
highWaterMark: 2,
|
|
4126
4454
|
}
|
|
4127
|
-
|
|
4128
|
-
highWaterMark: 2
|
|
4129
|
-
})
|
|
4455
|
+
);
|
|
4130
4456
|
};
|
|
4131
4457
|
|
|
4132
4458
|
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
4133
4459
|
|
|
4134
|
-
const {isFunction} = utils$1;
|
|
4460
|
+
const { isFunction } = utils$1;
|
|
4135
4461
|
|
|
4136
|
-
const globalFetchAPI = (({Request, Response}) => ({
|
|
4137
|
-
Request,
|
|
4462
|
+
const globalFetchAPI = (({ Request, Response }) => ({
|
|
4463
|
+
Request,
|
|
4464
|
+
Response,
|
|
4138
4465
|
}))(utils$1.global);
|
|
4139
4466
|
|
|
4140
|
-
const {
|
|
4141
|
-
ReadableStream: ReadableStream$1, TextEncoder: TextEncoder$1
|
|
4142
|
-
} = utils$1.global;
|
|
4143
|
-
|
|
4467
|
+
const { ReadableStream: ReadableStream$1, TextEncoder: TextEncoder$1 } = utils$1.global;
|
|
4144
4468
|
|
|
4145
4469
|
const test = (fn, ...args) => {
|
|
4146
4470
|
try {
|
|
4147
4471
|
return !!fn(...args);
|
|
4148
4472
|
} catch (e) {
|
|
4149
|
-
return false
|
|
4473
|
+
return false;
|
|
4150
4474
|
}
|
|
4151
4475
|
};
|
|
4152
4476
|
|
|
4153
4477
|
const factory = (env) => {
|
|
4154
|
-
env = utils$1.merge.call(
|
|
4155
|
-
|
|
4156
|
-
|
|
4478
|
+
env = utils$1.merge.call(
|
|
4479
|
+
{
|
|
4480
|
+
skipUndefined: true,
|
|
4481
|
+
},
|
|
4482
|
+
globalFetchAPI,
|
|
4483
|
+
env
|
|
4484
|
+
);
|
|
4157
4485
|
|
|
4158
|
-
const {fetch: envFetch, Request, Response} = env;
|
|
4486
|
+
const { fetch: envFetch, Request, Response } = env;
|
|
4159
4487
|
const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function';
|
|
4160
4488
|
const isRequestSupported = isFunction(Request);
|
|
4161
4489
|
const isResponseSupported = isFunction(Response);
|
|
@@ -4166,46 +4494,61 @@ const factory = (env) => {
|
|
|
4166
4494
|
|
|
4167
4495
|
const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream$1);
|
|
4168
4496
|
|
|
4169
|
-
const encodeText =
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4497
|
+
const encodeText =
|
|
4498
|
+
isFetchSupported &&
|
|
4499
|
+
(typeof TextEncoder$1 === 'function'
|
|
4500
|
+
? (
|
|
4501
|
+
(encoder) => (str) =>
|
|
4502
|
+
encoder.encode(str)
|
|
4503
|
+
)(new TextEncoder$1())
|
|
4504
|
+
: async (str) => new Uint8Array(await new Request(str).arrayBuffer()));
|
|
4505
|
+
|
|
4506
|
+
const supportsRequestStream =
|
|
4507
|
+
isRequestSupported &&
|
|
4508
|
+
isReadableStreamSupported &&
|
|
4509
|
+
test(() => {
|
|
4510
|
+
let duplexAccessed = false;
|
|
4511
|
+
|
|
4512
|
+
const hasContentType = new Request(platform.origin, {
|
|
4513
|
+
body: new ReadableStream$1(),
|
|
4514
|
+
method: 'POST',
|
|
4515
|
+
get duplex() {
|
|
4516
|
+
duplexAccessed = true;
|
|
4517
|
+
return 'half';
|
|
4518
|
+
},
|
|
4519
|
+
}).headers.has('Content-Type');
|
|
4185
4520
|
|
|
4186
|
-
|
|
4187
|
-
|
|
4521
|
+
return duplexAccessed && !hasContentType;
|
|
4522
|
+
});
|
|
4188
4523
|
|
|
4189
|
-
const supportsResponseStream =
|
|
4524
|
+
const supportsResponseStream =
|
|
4525
|
+
isResponseSupported &&
|
|
4526
|
+
isReadableStreamSupported &&
|
|
4190
4527
|
test(() => utils$1.isReadableStream(new Response('').body));
|
|
4191
4528
|
|
|
4192
4529
|
const resolvers = {
|
|
4193
|
-
stream: supportsResponseStream && ((res) => res.body)
|
|
4530
|
+
stream: supportsResponseStream && ((res) => res.body),
|
|
4194
4531
|
};
|
|
4195
4532
|
|
|
4196
|
-
isFetchSupported &&
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4533
|
+
isFetchSupported &&
|
|
4534
|
+
(() => {
|
|
4535
|
+
['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach((type) => {
|
|
4536
|
+
!resolvers[type] &&
|
|
4537
|
+
(resolvers[type] = (res, config) => {
|
|
4538
|
+
let method = res && res[type];
|
|
4200
4539
|
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4540
|
+
if (method) {
|
|
4541
|
+
return method.call(res);
|
|
4542
|
+
}
|
|
4204
4543
|
|
|
4205
|
-
|
|
4544
|
+
throw new AxiosError$1(
|
|
4545
|
+
`Response type '${type}' is not supported`,
|
|
4546
|
+
AxiosError$1.ERR_NOT_SUPPORT,
|
|
4547
|
+
config
|
|
4548
|
+
);
|
|
4549
|
+
});
|
|
4206
4550
|
});
|
|
4207
|
-
});
|
|
4208
|
-
})());
|
|
4551
|
+
})();
|
|
4209
4552
|
|
|
4210
4553
|
const getBodyLength = async (body) => {
|
|
4211
4554
|
if (body == null) {
|
|
@@ -4256,32 +4599,41 @@ const factory = (env) => {
|
|
|
4256
4599
|
responseType,
|
|
4257
4600
|
headers,
|
|
4258
4601
|
withCredentials = 'same-origin',
|
|
4259
|
-
fetchOptions
|
|
4602
|
+
fetchOptions,
|
|
4260
4603
|
} = resolveConfig(config);
|
|
4261
4604
|
|
|
4262
4605
|
let _fetch = envFetch || fetch;
|
|
4263
4606
|
|
|
4264
4607
|
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
|
4265
4608
|
|
|
4266
|
-
let composedSignal = composeSignals$1(
|
|
4609
|
+
let composedSignal = composeSignals$1(
|
|
4610
|
+
[signal, cancelToken && cancelToken.toAbortSignal()],
|
|
4611
|
+
timeout
|
|
4612
|
+
);
|
|
4267
4613
|
|
|
4268
4614
|
let request = null;
|
|
4269
4615
|
|
|
4270
|
-
const unsubscribe =
|
|
4271
|
-
composedSignal
|
|
4272
|
-
|
|
4616
|
+
const unsubscribe =
|
|
4617
|
+
composedSignal &&
|
|
4618
|
+
composedSignal.unsubscribe &&
|
|
4619
|
+
(() => {
|
|
4620
|
+
composedSignal.unsubscribe();
|
|
4621
|
+
});
|
|
4273
4622
|
|
|
4274
4623
|
let requestContentLength;
|
|
4275
4624
|
|
|
4276
4625
|
try {
|
|
4277
4626
|
if (
|
|
4278
|
-
onUploadProgress &&
|
|
4627
|
+
onUploadProgress &&
|
|
4628
|
+
supportsRequestStream &&
|
|
4629
|
+
method !== 'get' &&
|
|
4630
|
+
method !== 'head' &&
|
|
4279
4631
|
(requestContentLength = await resolveBodyLength(headers, data)) !== 0
|
|
4280
4632
|
) {
|
|
4281
4633
|
let _request = new Request(url, {
|
|
4282
4634
|
method: 'POST',
|
|
4283
4635
|
body: data,
|
|
4284
|
-
duplex:
|
|
4636
|
+
duplex: 'half',
|
|
4285
4637
|
});
|
|
4286
4638
|
|
|
4287
4639
|
let contentTypeHeader;
|
|
@@ -4306,7 +4658,7 @@ const factory = (env) => {
|
|
|
4306
4658
|
|
|
4307
4659
|
// Cloudflare Workers throws when credentials are defined
|
|
4308
4660
|
// see https://github.com/cloudflare/workerd/issues/902
|
|
4309
|
-
const isCredentialsSupported = isRequestSupported &&
|
|
4661
|
+
const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;
|
|
4310
4662
|
|
|
4311
4663
|
const resolvedOptions = {
|
|
4312
4664
|
...fetchOptions,
|
|
@@ -4314,29 +4666,35 @@ const factory = (env) => {
|
|
|
4314
4666
|
method: method.toUpperCase(),
|
|
4315
4667
|
headers: headers.normalize().toJSON(),
|
|
4316
4668
|
body: data,
|
|
4317
|
-
duplex:
|
|
4318
|
-
credentials: isCredentialsSupported ? withCredentials : undefined
|
|
4669
|
+
duplex: 'half',
|
|
4670
|
+
credentials: isCredentialsSupported ? withCredentials : undefined,
|
|
4319
4671
|
};
|
|
4320
4672
|
|
|
4321
4673
|
request = isRequestSupported && new Request(url, resolvedOptions);
|
|
4322
4674
|
|
|
4323
|
-
let response = await (isRequestSupported
|
|
4675
|
+
let response = await (isRequestSupported
|
|
4676
|
+
? _fetch(request, fetchOptions)
|
|
4677
|
+
: _fetch(url, resolvedOptions));
|
|
4324
4678
|
|
|
4325
|
-
const isStreamResponse =
|
|
4679
|
+
const isStreamResponse =
|
|
4680
|
+
supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
4326
4681
|
|
|
4327
4682
|
if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {
|
|
4328
4683
|
const options = {};
|
|
4329
4684
|
|
|
4330
|
-
['status', 'statusText', 'headers'].forEach(prop => {
|
|
4685
|
+
['status', 'statusText', 'headers'].forEach((prop) => {
|
|
4331
4686
|
options[prop] = response[prop];
|
|
4332
4687
|
});
|
|
4333
4688
|
|
|
4334
4689
|
const responseContentLength = utils$1.toFiniteNumber(response.headers.get('content-length'));
|
|
4335
4690
|
|
|
4336
|
-
const [onProgress, flush] =
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4691
|
+
const [onProgress, flush] =
|
|
4692
|
+
(onDownloadProgress &&
|
|
4693
|
+
progressEventDecorator(
|
|
4694
|
+
responseContentLength,
|
|
4695
|
+
progressEventReducer(asyncDecorator(onDownloadProgress), true)
|
|
4696
|
+
)) ||
|
|
4697
|
+
[];
|
|
4340
4698
|
|
|
4341
4699
|
response = new Response(
|
|
4342
4700
|
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
@@ -4349,7 +4707,10 @@ const factory = (env) => {
|
|
|
4349
4707
|
|
|
4350
4708
|
responseType = responseType || 'text';
|
|
4351
4709
|
|
|
4352
|
-
let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || 'text'](
|
|
4710
|
+
let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || 'text'](
|
|
4711
|
+
response,
|
|
4712
|
+
config
|
|
4713
|
+
);
|
|
4353
4714
|
|
|
4354
4715
|
!isStreamResponse && unsubscribe && unsubscribe();
|
|
4355
4716
|
|
|
@@ -4360,43 +4721,50 @@ const factory = (env) => {
|
|
|
4360
4721
|
status: response.status,
|
|
4361
4722
|
statusText: response.statusText,
|
|
4362
4723
|
config,
|
|
4363
|
-
request
|
|
4724
|
+
request,
|
|
4364
4725
|
});
|
|
4365
|
-
})
|
|
4726
|
+
});
|
|
4366
4727
|
} catch (err) {
|
|
4367
4728
|
unsubscribe && unsubscribe();
|
|
4368
4729
|
|
|
4369
4730
|
if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
|
|
4370
4731
|
throw Object.assign(
|
|
4371
|
-
new AxiosError(
|
|
4732
|
+
new AxiosError$1(
|
|
4733
|
+
'Network Error',
|
|
4734
|
+
AxiosError$1.ERR_NETWORK,
|
|
4735
|
+
config,
|
|
4736
|
+
request,
|
|
4737
|
+
err && err.response
|
|
4738
|
+
),
|
|
4372
4739
|
{
|
|
4373
|
-
cause: err.cause || err
|
|
4740
|
+
cause: err.cause || err,
|
|
4374
4741
|
}
|
|
4375
|
-
)
|
|
4742
|
+
);
|
|
4376
4743
|
}
|
|
4377
4744
|
|
|
4378
|
-
throw AxiosError.from(err, err && err.code, config, request);
|
|
4745
|
+
throw AxiosError$1.from(err, err && err.code, config, request, err && err.response);
|
|
4379
4746
|
}
|
|
4380
|
-
}
|
|
4747
|
+
};
|
|
4381
4748
|
};
|
|
4382
4749
|
|
|
4383
4750
|
const seedCache = new Map();
|
|
4384
4751
|
|
|
4385
4752
|
const getFetch = (config) => {
|
|
4386
4753
|
let env = (config && config.env) || {};
|
|
4387
|
-
const {fetch, Request, Response} = env;
|
|
4388
|
-
const seeds = [
|
|
4389
|
-
Request, Response, fetch
|
|
4390
|
-
];
|
|
4754
|
+
const { fetch, Request, Response } = env;
|
|
4755
|
+
const seeds = [Request, Response, fetch];
|
|
4391
4756
|
|
|
4392
|
-
let len = seeds.length,
|
|
4393
|
-
|
|
4757
|
+
let len = seeds.length,
|
|
4758
|
+
i = len,
|
|
4759
|
+
seed,
|
|
4760
|
+
target,
|
|
4761
|
+
map = seedCache;
|
|
4394
4762
|
|
|
4395
4763
|
while (i--) {
|
|
4396
4764
|
seed = seeds[i];
|
|
4397
4765
|
target = map.get(seed);
|
|
4398
4766
|
|
|
4399
|
-
target === undefined && map.set(seed, target =
|
|
4767
|
+
target === undefined && map.set(seed, (target = i ? new Map() : factory(env)));
|
|
4400
4768
|
|
|
4401
4769
|
map = target;
|
|
4402
4770
|
}
|
|
@@ -4412,7 +4780,7 @@ getFetch();
|
|
|
4412
4780
|
* - `http` for Node.js
|
|
4413
4781
|
* - `xhr` for browsers
|
|
4414
4782
|
* - `fetch` for fetch API-based requests
|
|
4415
|
-
*
|
|
4783
|
+
*
|
|
4416
4784
|
* @type {Object<string, Function|Object>}
|
|
4417
4785
|
*/
|
|
4418
4786
|
const knownAdapters = {
|
|
@@ -4420,7 +4788,7 @@ const knownAdapters = {
|
|
|
4420
4788
|
xhr: xhrAdapter,
|
|
4421
4789
|
fetch: {
|
|
4422
4790
|
get: getFetch,
|
|
4423
|
-
}
|
|
4791
|
+
},
|
|
4424
4792
|
};
|
|
4425
4793
|
|
|
4426
4794
|
// Assign adapter names for easier debugging and identification
|
|
@@ -4437,7 +4805,7 @@ utils$1.forEach(knownAdapters, (fn, value) => {
|
|
|
4437
4805
|
|
|
4438
4806
|
/**
|
|
4439
4807
|
* Render a rejection reason string for unknown or unsupported adapters
|
|
4440
|
-
*
|
|
4808
|
+
*
|
|
4441
4809
|
* @param {string} reason
|
|
4442
4810
|
* @returns {string}
|
|
4443
4811
|
*/
|
|
@@ -4445,17 +4813,18 @@ const renderReason = (reason) => `- ${reason}`;
|
|
|
4445
4813
|
|
|
4446
4814
|
/**
|
|
4447
4815
|
* Check if the adapter is resolved (function, null, or false)
|
|
4448
|
-
*
|
|
4816
|
+
*
|
|
4449
4817
|
* @param {Function|null|false} adapter
|
|
4450
4818
|
* @returns {boolean}
|
|
4451
4819
|
*/
|
|
4452
|
-
const isResolvedHandle = (adapter) =>
|
|
4820
|
+
const isResolvedHandle = (adapter) =>
|
|
4821
|
+
utils$1.isFunction(adapter) || adapter === null || adapter === false;
|
|
4453
4822
|
|
|
4454
4823
|
/**
|
|
4455
4824
|
* Get the first suitable adapter from the provided list.
|
|
4456
4825
|
* Tries each adapter in order until a supported one is found.
|
|
4457
4826
|
* Throws an AxiosError if no adapter is suitable.
|
|
4458
|
-
*
|
|
4827
|
+
*
|
|
4459
4828
|
* @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.
|
|
4460
4829
|
* @param {Object} config - Axios request configuration
|
|
4461
4830
|
* @throws {AxiosError} If no suitable adapter is available
|
|
@@ -4480,7 +4849,7 @@ function getAdapter(adapters, config) {
|
|
|
4480
4849
|
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
4481
4850
|
|
|
4482
4851
|
if (adapter === undefined) {
|
|
4483
|
-
throw new AxiosError(`Unknown adapter '${id}'`);
|
|
4852
|
+
throw new AxiosError$1(`Unknown adapter '${id}'`);
|
|
4484
4853
|
}
|
|
4485
4854
|
}
|
|
4486
4855
|
|
|
@@ -4492,16 +4861,19 @@ function getAdapter(adapters, config) {
|
|
|
4492
4861
|
}
|
|
4493
4862
|
|
|
4494
4863
|
if (!adapter) {
|
|
4495
|
-
const reasons = Object.entries(rejectedReasons)
|
|
4496
|
-
|
|
4864
|
+
const reasons = Object.entries(rejectedReasons).map(
|
|
4865
|
+
([id, state]) =>
|
|
4866
|
+
`adapter ${id} ` +
|
|
4497
4867
|
(state === false ? 'is not supported by the environment' : 'is not available in the build')
|
|
4498
|
-
|
|
4868
|
+
);
|
|
4499
4869
|
|
|
4500
|
-
let s = length
|
|
4501
|
-
|
|
4502
|
-
|
|
4870
|
+
let s = length
|
|
4871
|
+
? reasons.length > 1
|
|
4872
|
+
? 'since :\n' + reasons.map(renderReason).join('\n')
|
|
4873
|
+
: ' ' + renderReason(reasons[0])
|
|
4874
|
+
: 'as no adapter specified';
|
|
4503
4875
|
|
|
4504
|
-
throw new AxiosError(
|
|
4876
|
+
throw new AxiosError$1(
|
|
4505
4877
|
`There is no suitable adapter to dispatch the request ` + s,
|
|
4506
4878
|
'ERR_NOT_SUPPORT'
|
|
4507
4879
|
);
|
|
@@ -4524,7 +4896,7 @@ const adapters = {
|
|
|
4524
4896
|
* Exposes all known adapters
|
|
4525
4897
|
* @type {Object<string, Function|Object>}
|
|
4526
4898
|
*/
|
|
4527
|
-
adapters: knownAdapters
|
|
4899
|
+
adapters: knownAdapters,
|
|
4528
4900
|
};
|
|
4529
4901
|
|
|
4530
4902
|
/**
|
|
@@ -4540,7 +4912,7 @@ function throwIfCancellationRequested(config) {
|
|
|
4540
4912
|
}
|
|
4541
4913
|
|
|
4542
4914
|
if (config.signal && config.signal.aborted) {
|
|
4543
|
-
throw new CanceledError(null, config);
|
|
4915
|
+
throw new CanceledError$1(null, config);
|
|
4544
4916
|
}
|
|
4545
4917
|
}
|
|
4546
4918
|
|
|
@@ -4557,10 +4929,7 @@ function dispatchRequest(config) {
|
|
|
4557
4929
|
config.headers = AxiosHeaders$1.from(config.headers);
|
|
4558
4930
|
|
|
4559
4931
|
// Transform request data
|
|
4560
|
-
config.data = transformData.call(
|
|
4561
|
-
config,
|
|
4562
|
-
config.transformRequest
|
|
4563
|
-
);
|
|
4932
|
+
config.data = transformData.call(config, config.transformRequest);
|
|
4564
4933
|
|
|
4565
4934
|
if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {
|
|
4566
4935
|
config.headers.setContentType('application/x-www-form-urlencoded', false);
|
|
@@ -4568,36 +4937,35 @@ function dispatchRequest(config) {
|
|
|
4568
4937
|
|
|
4569
4938
|
const adapter = adapters.getAdapter(config.adapter || defaults$1.adapter, config);
|
|
4570
4939
|
|
|
4571
|
-
return adapter(config).then(
|
|
4572
|
-
|
|
4940
|
+
return adapter(config).then(
|
|
4941
|
+
function onAdapterResolution(response) {
|
|
4942
|
+
throwIfCancellationRequested(config);
|
|
4573
4943
|
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
config,
|
|
4577
|
-
config.transformResponse,
|
|
4578
|
-
response
|
|
4579
|
-
);
|
|
4944
|
+
// Transform response data
|
|
4945
|
+
response.data = transformData.call(config, config.transformResponse, response);
|
|
4580
4946
|
|
|
4581
|
-
|
|
4947
|
+
response.headers = AxiosHeaders$1.from(response.headers);
|
|
4582
4948
|
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4949
|
+
return response;
|
|
4950
|
+
},
|
|
4951
|
+
function onAdapterRejection(reason) {
|
|
4952
|
+
if (!isCancel(reason)) {
|
|
4953
|
+
throwIfCancellationRequested(config);
|
|
4587
4954
|
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4955
|
+
// Transform response data
|
|
4956
|
+
if (reason && reason.response) {
|
|
4957
|
+
reason.response.data = transformData.call(
|
|
4958
|
+
config,
|
|
4959
|
+
config.transformResponse,
|
|
4960
|
+
reason.response
|
|
4961
|
+
);
|
|
4962
|
+
reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
|
|
4963
|
+
}
|
|
4596
4964
|
}
|
|
4597
|
-
}
|
|
4598
4965
|
|
|
4599
|
-
|
|
4600
|
-
|
|
4966
|
+
return Promise.reject(reason);
|
|
4967
|
+
}
|
|
4968
|
+
);
|
|
4601
4969
|
}
|
|
4602
4970
|
|
|
4603
4971
|
const validators$1 = {};
|
|
@@ -4622,15 +4990,23 @@ const deprecatedWarnings = {};
|
|
|
4622
4990
|
*/
|
|
4623
4991
|
validators$1.transitional = function transitional(validator, version, message) {
|
|
4624
4992
|
function formatMessage(opt, desc) {
|
|
4625
|
-
return
|
|
4993
|
+
return (
|
|
4994
|
+
'[Axios v' +
|
|
4995
|
+
VERSION +
|
|
4996
|
+
"] Transitional option '" +
|
|
4997
|
+
opt +
|
|
4998
|
+
"'" +
|
|
4999
|
+
desc +
|
|
5000
|
+
(message ? '. ' + message : '')
|
|
5001
|
+
);
|
|
4626
5002
|
}
|
|
4627
5003
|
|
|
4628
5004
|
// eslint-disable-next-line func-names
|
|
4629
5005
|
return (value, opt, opts) => {
|
|
4630
5006
|
if (validator === false) {
|
|
4631
|
-
throw new AxiosError(
|
|
5007
|
+
throw new AxiosError$1(
|
|
4632
5008
|
formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),
|
|
4633
|
-
AxiosError.ERR_DEPRECATED
|
|
5009
|
+
AxiosError$1.ERR_DEPRECATED
|
|
4634
5010
|
);
|
|
4635
5011
|
}
|
|
4636
5012
|
|
|
@@ -4654,7 +5030,7 @@ validators$1.spelling = function spelling(correctSpelling) {
|
|
|
4654
5030
|
// eslint-disable-next-line no-console
|
|
4655
5031
|
console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
|
|
4656
5032
|
return true;
|
|
4657
|
-
}
|
|
5033
|
+
};
|
|
4658
5034
|
};
|
|
4659
5035
|
|
|
4660
5036
|
/**
|
|
@@ -4669,7 +5045,7 @@ validators$1.spelling = function spelling(correctSpelling) {
|
|
|
4669
5045
|
|
|
4670
5046
|
function assertOptions(options, schema, allowUnknown) {
|
|
4671
5047
|
if (typeof options !== 'object') {
|
|
4672
|
-
throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
|
|
5048
|
+
throw new AxiosError$1('options must be an object', AxiosError$1.ERR_BAD_OPTION_VALUE);
|
|
4673
5049
|
}
|
|
4674
5050
|
const keys = Object.keys(options);
|
|
4675
5051
|
let i = keys.length;
|
|
@@ -4680,19 +5056,22 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
4680
5056
|
const value = options[opt];
|
|
4681
5057
|
const result = value === undefined || validator(value, opt, options);
|
|
4682
5058
|
if (result !== true) {
|
|
4683
|
-
throw new AxiosError(
|
|
5059
|
+
throw new AxiosError$1(
|
|
5060
|
+
'option ' + opt + ' must be ' + result,
|
|
5061
|
+
AxiosError$1.ERR_BAD_OPTION_VALUE
|
|
5062
|
+
);
|
|
4684
5063
|
}
|
|
4685
5064
|
continue;
|
|
4686
5065
|
}
|
|
4687
5066
|
if (allowUnknown !== true) {
|
|
4688
|
-
throw new AxiosError('Unknown option ' + opt, AxiosError.ERR_BAD_OPTION);
|
|
5067
|
+
throw new AxiosError$1('Unknown option ' + opt, AxiosError$1.ERR_BAD_OPTION);
|
|
4689
5068
|
}
|
|
4690
5069
|
}
|
|
4691
5070
|
}
|
|
4692
5071
|
|
|
4693
5072
|
const validator = {
|
|
4694
5073
|
assertOptions,
|
|
4695
|
-
validators: validators$1
|
|
5074
|
+
validators: validators$1,
|
|
4696
5075
|
};
|
|
4697
5076
|
|
|
4698
5077
|
const validators = validator.validators;
|
|
@@ -4709,7 +5088,7 @@ class Axios {
|
|
|
4709
5088
|
this.defaults = instanceConfig || {};
|
|
4710
5089
|
this.interceptors = {
|
|
4711
5090
|
request: new InterceptorManager$1(),
|
|
4712
|
-
response: new InterceptorManager$1()
|
|
5091
|
+
response: new InterceptorManager$1(),
|
|
4713
5092
|
};
|
|
4714
5093
|
}
|
|
4715
5094
|
|
|
@@ -4760,26 +5139,35 @@ class Axios {
|
|
|
4760
5139
|
|
|
4761
5140
|
config = mergeConfig(this.defaults, config);
|
|
4762
5141
|
|
|
4763
|
-
const {transitional, paramsSerializer, headers} = config;
|
|
5142
|
+
const { transitional, paramsSerializer, headers } = config;
|
|
4764
5143
|
|
|
4765
5144
|
if (transitional !== undefined) {
|
|
4766
|
-
validator.assertOptions(
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
5145
|
+
validator.assertOptions(
|
|
5146
|
+
transitional,
|
|
5147
|
+
{
|
|
5148
|
+
silentJSONParsing: validators.transitional(validators.boolean),
|
|
5149
|
+
forcedJSONParsing: validators.transitional(validators.boolean),
|
|
5150
|
+
clarifyTimeoutError: validators.transitional(validators.boolean),
|
|
5151
|
+
legacyInterceptorReqResOrdering: validators.transitional(validators.boolean),
|
|
5152
|
+
},
|
|
5153
|
+
false
|
|
5154
|
+
);
|
|
4771
5155
|
}
|
|
4772
5156
|
|
|
4773
5157
|
if (paramsSerializer != null) {
|
|
4774
5158
|
if (utils$1.isFunction(paramsSerializer)) {
|
|
4775
5159
|
config.paramsSerializer = {
|
|
4776
|
-
serialize: paramsSerializer
|
|
5160
|
+
serialize: paramsSerializer,
|
|
4777
5161
|
};
|
|
4778
5162
|
} else {
|
|
4779
|
-
validator.assertOptions(
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
5163
|
+
validator.assertOptions(
|
|
5164
|
+
paramsSerializer,
|
|
5165
|
+
{
|
|
5166
|
+
encode: validators.function,
|
|
5167
|
+
serialize: validators.function,
|
|
5168
|
+
},
|
|
5169
|
+
true
|
|
5170
|
+
);
|
|
4783
5171
|
}
|
|
4784
5172
|
}
|
|
4785
5173
|
|
|
@@ -4790,26 +5178,25 @@ class Axios {
|
|
|
4790
5178
|
config.allowAbsoluteUrls = true;
|
|
4791
5179
|
}
|
|
4792
5180
|
|
|
4793
|
-
validator.assertOptions(
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
5181
|
+
validator.assertOptions(
|
|
5182
|
+
config,
|
|
5183
|
+
{
|
|
5184
|
+
baseUrl: validators.spelling('baseURL'),
|
|
5185
|
+
withXsrfToken: validators.spelling('withXSRFToken'),
|
|
5186
|
+
},
|
|
5187
|
+
true
|
|
5188
|
+
);
|
|
4797
5189
|
|
|
4798
5190
|
// Set config.method
|
|
4799
5191
|
config.method = (config.method || this.defaults.method || 'get').toLowerCase();
|
|
4800
5192
|
|
|
4801
5193
|
// Flatten headers
|
|
4802
|
-
let contextHeaders = headers && utils$1.merge(
|
|
4803
|
-
headers.common,
|
|
4804
|
-
headers[config.method]
|
|
4805
|
-
);
|
|
5194
|
+
let contextHeaders = headers && utils$1.merge(headers.common, headers[config.method]);
|
|
4806
5195
|
|
|
4807
|
-
headers &&
|
|
4808
|
-
['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
|
|
4809
|
-
(method) => {
|
|
5196
|
+
headers &&
|
|
5197
|
+
utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], (method) => {
|
|
4810
5198
|
delete headers[method];
|
|
4811
|
-
}
|
|
4812
|
-
);
|
|
5199
|
+
});
|
|
4813
5200
|
|
|
4814
5201
|
config.headers = AxiosHeaders$1.concat(contextHeaders, headers);
|
|
4815
5202
|
|
|
@@ -4823,7 +5210,15 @@ class Axios {
|
|
|
4823
5210
|
|
|
4824
5211
|
synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
|
|
4825
5212
|
|
|
4826
|
-
|
|
5213
|
+
const transitional = config.transitional || transitionalDefaults;
|
|
5214
|
+
const legacyInterceptorReqResOrdering =
|
|
5215
|
+
transitional && transitional.legacyInterceptorReqResOrdering;
|
|
5216
|
+
|
|
5217
|
+
if (legacyInterceptorReqResOrdering) {
|
|
5218
|
+
requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
|
|
5219
|
+
} else {
|
|
5220
|
+
requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
|
|
5221
|
+
}
|
|
4827
5222
|
});
|
|
4828
5223
|
|
|
4829
5224
|
const responseInterceptorChain = [];
|
|
@@ -4891,12 +5286,14 @@ class Axios {
|
|
|
4891
5286
|
// Provide aliases for supported request methods
|
|
4892
5287
|
utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
|
|
4893
5288
|
/*eslint func-names:0*/
|
|
4894
|
-
Axios.prototype[method] = function(url, config) {
|
|
4895
|
-
return this.request(
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
5289
|
+
Axios.prototype[method] = function (url, config) {
|
|
5290
|
+
return this.request(
|
|
5291
|
+
mergeConfig(config || {}, {
|
|
5292
|
+
method,
|
|
5293
|
+
url,
|
|
5294
|
+
data: (config || {}).data,
|
|
5295
|
+
})
|
|
5296
|
+
);
|
|
4900
5297
|
};
|
|
4901
5298
|
});
|
|
4902
5299
|
|
|
@@ -4905,14 +5302,18 @@ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method)
|
|
|
4905
5302
|
|
|
4906
5303
|
function generateHTTPMethod(isForm) {
|
|
4907
5304
|
return function httpMethod(url, data, config) {
|
|
4908
|
-
return this.request(
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
5305
|
+
return this.request(
|
|
5306
|
+
mergeConfig(config || {}, {
|
|
5307
|
+
method,
|
|
5308
|
+
headers: isForm
|
|
5309
|
+
? {
|
|
5310
|
+
'Content-Type': 'multipart/form-data',
|
|
5311
|
+
}
|
|
5312
|
+
: {},
|
|
5313
|
+
url,
|
|
5314
|
+
data,
|
|
5315
|
+
})
|
|
5316
|
+
);
|
|
4916
5317
|
};
|
|
4917
5318
|
}
|
|
4918
5319
|
|
|
@@ -4945,7 +5346,7 @@ class CancelToken {
|
|
|
4945
5346
|
const token = this;
|
|
4946
5347
|
|
|
4947
5348
|
// eslint-disable-next-line func-names
|
|
4948
|
-
this.promise.then(cancel => {
|
|
5349
|
+
this.promise.then((cancel) => {
|
|
4949
5350
|
if (!token._listeners) return;
|
|
4950
5351
|
|
|
4951
5352
|
let i = token._listeners.length;
|
|
@@ -4957,10 +5358,10 @@ class CancelToken {
|
|
|
4957
5358
|
});
|
|
4958
5359
|
|
|
4959
5360
|
// eslint-disable-next-line func-names
|
|
4960
|
-
this.promise.then = onfulfilled => {
|
|
5361
|
+
this.promise.then = (onfulfilled) => {
|
|
4961
5362
|
let _resolve;
|
|
4962
5363
|
// eslint-disable-next-line func-names
|
|
4963
|
-
const promise = new Promise(resolve => {
|
|
5364
|
+
const promise = new Promise((resolve) => {
|
|
4964
5365
|
token.subscribe(resolve);
|
|
4965
5366
|
_resolve = resolve;
|
|
4966
5367
|
}).then(onfulfilled);
|
|
@@ -4978,7 +5379,7 @@ class CancelToken {
|
|
|
4978
5379
|
return;
|
|
4979
5380
|
}
|
|
4980
5381
|
|
|
4981
|
-
token.reason = new CanceledError(message, config, request);
|
|
5382
|
+
token.reason = new CanceledError$1(message, config, request);
|
|
4982
5383
|
resolvePromise(token.reason);
|
|
4983
5384
|
});
|
|
4984
5385
|
}
|
|
@@ -5048,7 +5449,7 @@ class CancelToken {
|
|
|
5048
5449
|
});
|
|
5049
5450
|
return {
|
|
5050
5451
|
token,
|
|
5051
|
-
cancel
|
|
5452
|
+
cancel,
|
|
5052
5453
|
};
|
|
5053
5454
|
}
|
|
5054
5455
|
}
|
|
@@ -5062,7 +5463,7 @@ const CancelToken$1 = CancelToken;
|
|
|
5062
5463
|
*
|
|
5063
5464
|
* ```js
|
|
5064
5465
|
* function f(x, y, z) {}
|
|
5065
|
-
*
|
|
5466
|
+
* const args = [1, 2, 3];
|
|
5066
5467
|
* f.apply(null, args);
|
|
5067
5468
|
* ```
|
|
5068
5469
|
*
|
|
@@ -5090,7 +5491,7 @@ function spread(callback) {
|
|
|
5090
5491
|
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
|
5091
5492
|
*/
|
|
5092
5493
|
function isAxiosError(payload) {
|
|
5093
|
-
return utils$1.isObject(payload) &&
|
|
5494
|
+
return utils$1.isObject(payload) && payload.isAxiosError === true;
|
|
5094
5495
|
}
|
|
5095
5496
|
|
|
5096
5497
|
const HttpStatusCode = {
|
|
@@ -5183,10 +5584,10 @@ function createInstance(defaultConfig) {
|
|
|
5183
5584
|
const instance = bind(Axios$1.prototype.request, context);
|
|
5184
5585
|
|
|
5185
5586
|
// Copy axios.prototype to instance
|
|
5186
|
-
utils$1.extend(instance, Axios$1.prototype, context, {allOwnKeys: true});
|
|
5587
|
+
utils$1.extend(instance, Axios$1.prototype, context, { allOwnKeys: true });
|
|
5187
5588
|
|
|
5188
5589
|
// Copy context to instance
|
|
5189
|
-
utils$1.extend(instance, context, null, {allOwnKeys: true});
|
|
5590
|
+
utils$1.extend(instance, context, null, { allOwnKeys: true });
|
|
5190
5591
|
|
|
5191
5592
|
// Factory for creating new instances
|
|
5192
5593
|
instance.create = function create(instanceConfig) {
|
|
@@ -5203,14 +5604,14 @@ const axios = createInstance(defaults$1);
|
|
|
5203
5604
|
axios.Axios = Axios$1;
|
|
5204
5605
|
|
|
5205
5606
|
// Expose Cancel & CancelToken
|
|
5206
|
-
axios.CanceledError = CanceledError;
|
|
5607
|
+
axios.CanceledError = CanceledError$1;
|
|
5207
5608
|
axios.CancelToken = CancelToken$1;
|
|
5208
5609
|
axios.isCancel = isCancel;
|
|
5209
5610
|
axios.VERSION = VERSION;
|
|
5210
5611
|
axios.toFormData = toFormData;
|
|
5211
5612
|
|
|
5212
5613
|
// Expose AxiosError class
|
|
5213
|
-
axios.AxiosError = AxiosError;
|
|
5614
|
+
axios.AxiosError = AxiosError$1;
|
|
5214
5615
|
|
|
5215
5616
|
// alias for CanceledError for backward compatibility
|
|
5216
5617
|
axios.Cancel = axios.CanceledError;
|
|
@@ -5230,7 +5631,7 @@ axios.mergeConfig = mergeConfig;
|
|
|
5230
5631
|
|
|
5231
5632
|
axios.AxiosHeaders = AxiosHeaders$1;
|
|
5232
5633
|
|
|
5233
|
-
axios.formToJSON = thing => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
5634
|
+
axios.formToJSON = (thing) => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
5234
5635
|
|
|
5235
5636
|
axios.getAdapter = adapters.getAdapter;
|
|
5236
5637
|
|