@gemeentenijmegen/webapp 1.1.13 → 1.1.15
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 +5 -6
- 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 +6 -7
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.shared.js +12 -9
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/schemas/schemas_0.js +2391 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/DynamoDB.js +40 -12
- 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 +4 -5
- 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/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 +5 -6
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.shared.js +11 -8
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/schemas/schemas_0.js +1431 -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 +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/waiters/waitForTableNotExists.js +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/DynamoDB.d.ts +137 -58
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/DynamoDBClient.d.ts +60 -69
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateGlobalTableCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/CreateTableCommand.d.ts +7 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteTableCommand.d.ts +3 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeGlobalTableCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeTableCommand.d.ts +3 -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 +3 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +3 -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 +2 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateTableCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/index.d.ts +3 -2
- 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 +3 -4
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts +91 -12
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListContributorInsightsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListExportsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListImportsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ListTablesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/QueryPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/pagination/ScanPaginator.d.ts +1 -1
- 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 +3 -8
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- 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 +17 -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/dist-types/waiters/waitForTableExists.d.ts +3 -3
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/waiters/waitForTableNotExists.d.ts +3 -3
- 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 +11 -12
- 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 +493 -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 +9 -12
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +13 -9
- 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 +29 -7
- package/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +9 -10
- 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 +7 -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 +7 -10
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +11 -7
- 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 +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +167 -107
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +116 -124
- package/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- 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/DeleteBucketInventoryConfigurationCommand.d.ts +4 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +39 -8
- 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/GetBucketMetricsConfigurationCommand.d.ts +39 -8
- 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/GetObjectCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/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/ListBucketMetricsConfigurationsCommand.d.ts +39 -8
- 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/PutBucketMetricsConfigurationCommand.d.ts +39 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +26 -16
- 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/UploadPartCommand.d.ts +1 -1
- 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/WriteGetObjectResponseCommand.d.ts +1 -1
- 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 +4 -3
- 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 +17 -16
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +103 -30
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +188 -5
- package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +1 -1
- 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 +8 -3
- 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 +13 -12
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +1 -1
- 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 +10 -9
- 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/dist-types/waiters/waitForBucketExists.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts +3 -3
- 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 +5 -6
- 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 +6 -7
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.shared.js +10 -8
- 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 +11 -3
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/auth/httpAuthSchemeProvider.js +4 -5
- 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 +5 -6
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/runtimeConfig.shared.js +9 -7
- 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 +45 -24
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/SecretsManagerClient.d.ts +26 -35
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/index.d.ts +3 -2
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/models/models_0.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/pagination/BatchGetSecretValuePaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/pagination/ListSecretVersionIdsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/pagination/ListSecretsPaginator.d.ts +1 -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 +2 -7
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- 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 +5 -6
- 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 +6 -7
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.shared.js +11 -8
- 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 +110 -4
- package/node_modules/@aws-sdk/client-ssm/dist-es/auth/httpAuthSchemeProvider.js +4 -5
- 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 +5 -6
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.shared.js +10 -7
- 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 +3 -3
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +504 -147
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +149 -158
- package/node_modules/@aws-sdk/client-ssm/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- 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 +4 -3
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +43 -3
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +27 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeActivationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAssociationExecutionTargetsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAssociationExecutionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAutomationExecutionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAutomationStepExecutionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAvailablePatchesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeEffectiveInstanceAssociationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstanceAssociationsStatusPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstanceInformationPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchStatesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePropertiesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInventoryDeletionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowSchedulePaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowTargetsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowTasksPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowsForTargetPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeOpsItemsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeParametersPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchBaselinesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchGroupsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchPropertiesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeSessionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetInventoryPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetInventorySchemaPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetOpsSummaryPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetParameterHistoryPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetParametersByPathPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetResourcePoliciesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListAssociationVersionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListAssociationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListCommandInvocationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListCommandsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListComplianceItemsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListComplianceSummariesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListDocumentVersionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListDocumentsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListNodesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListNodesSummaryPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsItemEventsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsItemRelatedItemsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsMetadataPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListResourceComplianceSummariesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListResourceDataSyncPaginator.d.ts +1 -1
- 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 +2 -7
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- 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 +13 -11
- 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/dist-types/waiters/waitForCommandExecuted.d.ts +3 -3
- package/node_modules/@aws-sdk/client-ssm/package.json +48 -46
- package/node_modules/@aws-sdk/{client-sso → core}/LICENSE +4 -4
- package/node_modules/@aws-sdk/core/account-id-endpoint.js +0 -1
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +237 -92
- 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 +228 -91
- 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 +27 -9
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/UnionSerde.js +23 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +6 -5
- 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/AwsJson1_0Protocol.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +6 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +6 -4
- 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 +5 -3
- 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 +20 -3
- 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 +14 -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/cbor/AwsSmithyRpcV2CborProtocol.d.ts +3 -1
- 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/AwsJson1_0Protocol.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +3 -1
- 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 +7 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +3 -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/AwsRestXmlProtocol.d.ts +2 -0
- 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/ProtocolLib.d.ts +6 -0
- 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/cbor/AwsSmithyRpcV2CborProtocol.d.ts +3 -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/json/AwsJson1_0Protocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +8 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +3 -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/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +6 -1
- package/node_modules/@aws-sdk/core/package.json +23 -23
- 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/{middleware-flexible-checksums → crc64-nvme}/dist-types/crc64-nvme-crt-container.d.ts +1 -1
- 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/README.md +12 -3
- 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/README.md +12 -3
- 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/README.md +12 -3
- 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/README.md +12 -3
- 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/README.md +12 -3
- 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/README.md +12 -3
- 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/README.md +10 -3
- 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 +86 -63
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsInputMiddleware.js +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js +26 -10
- 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/README.md +10 -3
- 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 +34 -8
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/protocol/S3RestXmlProtocol.js +25 -0
- 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-es/s3-express/functions/s3ExpressMiddleware.js +1 -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/index.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/protocol/S3RestXmlProtocol.d.ts +20 -0
- 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/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/protocol/S3RestXmlProtocol.d.ts +15 -0
- 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 +17 -17
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +10 -10
- 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/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/cognito-identity}/runtimeConfig.js +5 -4
- 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/auth/httpAuthSchemeProvider.js +2 -2
- 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.js +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +12 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js +125 -0
- package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/auth/httpAuthSchemeProvider.js +2 -14
- 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 +54 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.native.js +15 -0
- package/node_modules/@aws-sdk/{client-sso/dist-cjs → nested-clients/dist-cjs/submodules/sso}/runtimeConfig.shared.js +12 -5
- 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/auth/httpAuthSchemeProvider.js +2 -2
- 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.js +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +12 -5
- 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/auth/httpAuthSchemeProvider.js +2 -2
- 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.js +7 -6
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +13 -10
- 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/{client-sso/dist-es/commands/ListAccountRolesCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetCredentialsForIdentityCommand.js} +5 -5
- package/node_modules/@aws-sdk/{client-sso/dist-es/commands/LogoutCommand.js → nested-clients/dist-es/submodules/cognito-identity/commands/GetIdCommand.js} +5 -5
- 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/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.browser.js +1 -1
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/cognito-identity}/runtimeConfig.js +4 -3
- 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/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 +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +9 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +34 -26
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/SSO.js +0 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthExtensionConfiguration.js +38 -0
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/auth/httpAuthSchemeProvider.js +1 -13
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/commands/GetRoleCredentialsCommand.js +2 -2
- 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/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/index.js +2 -1
- 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 +49 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.native.js +11 -0
- package/node_modules/@aws-sdk/{client-sso/dist-es → nested-clients/dist-es/submodules/sso}/runtimeConfig.shared.js +9 -2
- 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/SSOOIDC.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 +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +9 -2
- 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/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 +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +10 -7
- 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 +197 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +29 -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 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -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 +3 -2
- 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 +7 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +7 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +7 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +7 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/schemas/schemas_0.d.ts +19 -13
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/SSO.d.ts +1 -22
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/SSOClient.d.ts +6 -18
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +3 -3
- 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/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/index.d.ts +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/models/models_0.d.ts +61 -0
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.browser.d.ts +7 -3
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.d.ts +7 -3
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.native.d.ts +7 -3
- package/node_modules/@aws-sdk/{client-sso/dist-types → nested-clients/dist-types/submodules/sso}/runtimeConfig.shared.d.ts +7 -2
- 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 -13
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -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 +3 -2
- 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 +7 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +7 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +7 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +7 -2
- 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 -14
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +2 -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 +3 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +7 -3
- 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 +7 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +7 -2
- 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 +2 -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/auth/httpAuthSchemeProvider.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 +10 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +10 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +10 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +10 -5
- 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/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/SSOClient.d.ts +3 -28
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/commands/GetRoleCredentialsCommand.d.ts +5 -9
- 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/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/index.d.ts +1 -1
- 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/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.browser.d.ts +10 -6
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.d.ts +10 -6
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.native.d.ts +10 -6
- package/node_modules/@aws-sdk/{client-sso/dist-types/ts3.4 → nested-clients/dist-types/ts3.4/submodules/sso}/runtimeConfig.shared.d.ts +10 -5
- 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/auth/httpAuthSchemeProvider.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 +10 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +10 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +10 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +10 -5
- 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 +2 -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 +2 -2
- 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 +10 -6
- 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 +10 -6
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +10 -5
- 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/README.md +11 -4
- 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/README.md +10 -3
- 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/README.md +10 -3
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +22 -15
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +5 -0
- package/node_modules/@aws-sdk/xml-builder/dist-es/escape-attribute.js +8 -1
- package/node_modules/@aws-sdk/xml-builder/dist-es/escape-element.js +13 -10
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +5 -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 +88 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +15 -13
- 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 +175 -30
- 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/lib/pem.d.cts +148 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +10 -6
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +164 -30
- 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/pem.d.ts +135 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +18 -25
- 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 +333 -292
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +156 -43
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +536 -231
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +24 -24
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +96 -42
- 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-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/.jsii +80 -49
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/cloud-assembly-schema/.jsii.tabl.json +1 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/cloud-assembly-schema/cli-version.json +1 -0
- package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/artifact-schema.d.ts +6 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/cloud-assembly-schema/lib/cloud-assembly/artifact-schema.js +3 -0
- package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/context-queries.d.ts +11 -0
- package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/context-queries.js +1 -1
- package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/manifest.d.ts +20 -21
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk/cloud-assembly-schema/lib/manifest.js +264 -0
- package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/classes/range.js +1 -0
- package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/classes/semver.js +19 -5
- package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/internal/identifiers.js +4 -0
- package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/package.json +3 -3
- package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/package.json +9 -9
- package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/schema/cloud-assembly.schema.json +6 -2
- package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/schema/version.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/.jsii +8165 -2882
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.d.ts +3 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.js +4 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/constructs-feature-flags.d.ts +2 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/constructs-feature-flags.js +14 -8
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/glue-job-helper.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/polly-helper.d.ts +50 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/polly-helper.js +138 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/step-function-helper.js +12 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/textract-helper.d.ts +63 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/textract-helper.js +220 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/validation.d.ts +60 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/validation.js +594 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/vpc-helper.d.ts +3 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/vpc-helper.js +13 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/nohoist.sh +6 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/package.json +4 -5
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/alb-helper.test.js +14 -14
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/apigateway-helper.test.js +4 -4
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/bedrock-inference-helper.test.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/cloudfront-distribution-s3-helper.test.js +8 -8
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/constructs-feature-flags.test.js +37 -6
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/dynamo-table.test.js +4 -4
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/elasticsearch-helper.test.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/eventbridge-helper.test.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/fargate-helper.test.js +9 -9
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/glue-job-helper.test.js +4 -4
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/kendra-helper.test.js +6 -6
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/kinesis-streams-helper.test.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/lambda-helper.test.js +5 -5
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/opensearch-helper.test.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/override-warning-service.test.js +13 -13
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/pipes-helper.test.js +12 -12
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/{test/integ.lamddb-deployFunctionWithVpc.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js → node_modules/@aws-solutions-constructs/core/test/polly-helper.test.d.ts} +1 -9
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/polly-helper.test.js +495 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/s3-bucket.test.js +5 -5
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/sagemaker-helper.test.js +7 -7
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/secretsmanager-helper.test.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/sns-helper.test.js +7 -7
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/sqs-helper.test.js +13 -13
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/step-function-helper.test.js +6 -6
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.d.ts +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/test-helper.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/{test/integ.lamddb-add-secondary-index.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js → node_modules/@aws-solutions-constructs/core/test/textract-helper.test.d.ts} +1 -9
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/textract-helper.test.js +857 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/utils.test.js +9 -9
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/{test/integ.lamddb-no-arguments.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js → node_modules/@aws-solutions-constructs/core/test/validation.test.d.ts} +1 -9
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/validation.test.js +218 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/vpc-helper.test.js +33 -6
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/waf-helper.test.js +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/websocket-api-helper.test.js +4 -4
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/.jsii +229 -47
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/API.md +152 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/README.md +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/construct.d.ts +47 -7
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/construct.js +78 -22
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/dependency.d.ts +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/dependency.js +3 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/index.d.ts +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/index.js +1 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/mixin.d.ts +15 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/lib/mixin.js +3 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/constructs/package.json +3 -3
- 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/@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/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/dist-cjs/index.js +12 -0
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +5 -0
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +5 -0
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/package.json +11 -11
- package/node_modules/@smithy/core/README.md +12 -1
- 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 +58 -22
- 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 +31 -11
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpProtocol.js +19 -1
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +8 -10
- 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 +6 -1
- 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 +6 -1
- 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/README.md +10 -3
- 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/resolveEndpointConfig.d.ts +2 -2
- 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/dist-types/ts3.4/resolveEndpointConfig.d.ts +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +13 -13
- package/node_modules/@smithy/middleware-retry/README.md +13 -0
- 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/README.md +13 -0
- 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/README.md +10 -3
- 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/README.md +10 -3
- 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/README.md +10 -3
- 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/dist-cjs/index.js +9 -7
- package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +9 -7
- package/node_modules/@smithy/util-retry/dist-types/DefaultRateLimiter.d.ts +71 -1
- package/node_modules/@smithy/util-retry/dist-types/ts3.4/DefaultRateLimiter.d.ts +71 -1
- 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/README.md +10 -3
- 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 +610 -448
- package/node_modules/axios/dist/axios.js +893 -910
- 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 +1152 -836
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +1175 -862
- 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 +916 -1461
- 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 +140 -90
- package/node_modules/axios/lib/adapters/http.js +620 -563
- 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 -45
- package/node_modules/axios/lib/core/AxiosError.js +64 -84
- package/node_modules/axios/lib/core/AxiosHeaders.js +57 -25
- 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 +20 -21
- 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 +104 -156
- 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/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 +720 -0
- package/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
- package/node_modules/path-expression-matcher/lib/pem.d.cts +523 -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 +498 -0
- package/node_modules/path-expression-matcher/src/index.d.ts +518 -0
- package/node_modules/path-expression-matcher/src/index.js +28 -0
- package/node_modules/proxy-from-env/README.md +43 -11
- package/node_modules/proxy-from-env/index.cjs +105 -0
- package/node_modules/proxy-from-env/index.js +14 -19
- package/node_modules/proxy-from-env/package.json +20 -11
- package/node_modules/strnum/CHANGELOG.md +9 -2
- package/node_modules/strnum/README.md +1 -0
- package/node_modules/strnum/package.json +3 -3
- package/node_modules/strnum/strnum.js +92 -60
- package/node_modules/strnum/tests/infinity_test.js +18 -0
- package/node_modules/strnum/{strnum.test.js → tests/strnum_test.js} +70 -68
- package/node_modules/strnum/tests/temp.js +8 -0
- package/package.json +22 -22
- 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.js +0 -3
- package/node_modules/@aws-cdk/cloud-assembly-schema/lib/manifest.js +0 -295
- package/node_modules/@aws-sdk/client-sso/README.md +0 -252
- 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-es/commands/ListAccountsCommand.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/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/schemas/schemas_0.js +0 -153
- 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/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/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/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/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/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/xml-builder/node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js +0 -134
- 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-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/@smithy/abort-controller/README.md +0 -4
- package/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -32
- package/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -7
- package/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -20
- package/node_modules/@smithy/abort-controller/dist-es/index.js +0 -2
- package/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +0 -16
- package/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +0 -21
- package/node_modules/@smithy/abort-controller/dist-types/index.d.ts +0 -9
- package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +0 -16
- package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +0 -21
- package/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +0 -9
- package/node_modules/@smithy/abort-controller/package.json +0 -63
- package/node_modules/bowser/CHANGELOG.md +0 -218
- package/node_modules/proxy-from-env/.eslintrc +0 -29
- package/node_modules/proxy-from-env/.travis.yml +0 -10
- package/node_modules/proxy-from-env/test.js +0 -483
- package/node_modules/strnum/test.js +0 -9
- package/node_modules/{@smithy/abort-controller → @aws-sdk/crc64-nvme}/LICENSE +0 -0
- 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}/SSOClient.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/httpAuthExtensionConfiguration.d.ts +1 -1
- /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-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/CONTRIBUTING.md +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/LICENSE +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/NOTICE +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/README.md +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/aws-destination.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/aws-destination.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/docker-image-asset.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/docker-image-asset.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/file-asset.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/file-asset.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/index.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/index.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/schema.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/assets/schema.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/index.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/index.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/interfaces.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/interfaces.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/metadata-schema.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/metadata-schema.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/schema.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/cloud-assembly/schema.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/index.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/index.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/commands/common.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/commands/common.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/commands/deploy.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/commands/deploy.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/commands/destroy.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/commands/destroy.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/commands/index.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/commands/index.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/index.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/index.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/schema.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/schema.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/test-case.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/lib/integ-tests/test-case.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/.editorconfig +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/LICENSE +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/README.md +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/lib/attribute.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/lib/helpers.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/lib/index.d.ts +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/lib/index.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/lib/scan.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/lib/validator.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/jsonschema/package.json +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/LICENSE +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/README.md +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/bin/semver.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/classes/comparator.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/classes/index.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/clean.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/cmp.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/coerce.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/compare-build.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/compare-loose.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/compare.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/diff.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/eq.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/gt.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/gte.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/inc.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/lt.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/lte.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/major.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/minor.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/neq.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/parse.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/patch.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/prerelease.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/rcompare.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/rsort.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/satisfies.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/sort.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/functions/valid.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/index.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/internal/constants.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/internal/debug.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/internal/lrucache.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/internal/parse-options.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/internal/re.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/preload.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/range.bnf +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/gtr.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/intersects.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/ltr.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/max-satisfying.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/min-satisfying.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/min-version.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/outside.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/simplify.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/subset.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/to-comparators.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/node_modules/semver/ranges/valid.js +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/rosetta/default.ts-fixture +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/schema/README.md +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/schema/assets.schema.json +0 -0
- /package/node_modules/{@aws-cdk → @aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-cdk}/cloud-assembly-schema/schema/integ.schema.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,32 +1,17 @@
|
|
|
1
|
-
/*! Axios v1.
|
|
1
|
+
/*! Axios v1.14.0 Copyright (c) 2026 Matt Zabriskie and contributors */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
const events = require('events');
|
|
16
|
-
|
|
17
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
18
|
-
|
|
19
|
-
const FormData__default = /*#__PURE__*/_interopDefaultLegacy(FormData$1);
|
|
20
|
-
const crypto__default = /*#__PURE__*/_interopDefaultLegacy(crypto);
|
|
21
|
-
const url__default = /*#__PURE__*/_interopDefaultLegacy(url);
|
|
22
|
-
const proxyFromEnv__default = /*#__PURE__*/_interopDefaultLegacy(proxyFromEnv);
|
|
23
|
-
const http__default = /*#__PURE__*/_interopDefaultLegacy(http);
|
|
24
|
-
const https__default = /*#__PURE__*/_interopDefaultLegacy(https);
|
|
25
|
-
const http2__default = /*#__PURE__*/_interopDefaultLegacy(http2);
|
|
26
|
-
const util__default = /*#__PURE__*/_interopDefaultLegacy(util);
|
|
27
|
-
const followRedirects__default = /*#__PURE__*/_interopDefaultLegacy(followRedirects);
|
|
28
|
-
const zlib__default = /*#__PURE__*/_interopDefaultLegacy(zlib);
|
|
29
|
-
const stream__default = /*#__PURE__*/_interopDefaultLegacy(stream);
|
|
4
|
+
var FormData$1 = require('form-data');
|
|
5
|
+
var crypto = require('crypto');
|
|
6
|
+
var url = require('url');
|
|
7
|
+
var http = require('http');
|
|
8
|
+
var https = require('https');
|
|
9
|
+
var http2 = require('http2');
|
|
10
|
+
var util = require('util');
|
|
11
|
+
var followRedirects = require('follow-redirects');
|
|
12
|
+
var zlib = require('zlib');
|
|
13
|
+
var stream = require('stream');
|
|
14
|
+
var events = require('events');
|
|
30
15
|
|
|
31
16
|
/**
|
|
32
17
|
* Create a bound version of a function with a specified `this` context
|
|
@@ -43,30 +28,36 @@ function bind(fn, thisArg) {
|
|
|
43
28
|
|
|
44
29
|
// utils is a library of generic helper functions non-specific to axios
|
|
45
30
|
|
|
46
|
-
const {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
31
|
+
const {
|
|
32
|
+
toString
|
|
33
|
+
} = Object.prototype;
|
|
34
|
+
const {
|
|
35
|
+
getPrototypeOf
|
|
36
|
+
} = Object;
|
|
37
|
+
const {
|
|
38
|
+
iterator,
|
|
39
|
+
toStringTag
|
|
40
|
+
} = Symbol;
|
|
50
41
|
const kindOf = (cache => thing => {
|
|
51
|
-
|
|
52
|
-
|
|
42
|
+
const str = toString.call(thing);
|
|
43
|
+
return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
|
|
53
44
|
})(Object.create(null));
|
|
54
|
-
|
|
55
|
-
const kindOfTest = (type) => {
|
|
45
|
+
const kindOfTest = type => {
|
|
56
46
|
type = type.toLowerCase();
|
|
57
|
-
return
|
|
47
|
+
return thing => kindOf(thing) === type;
|
|
58
48
|
};
|
|
59
|
-
|
|
60
49
|
const typeOfTest = type => thing => typeof thing === type;
|
|
61
50
|
|
|
62
51
|
/**
|
|
63
|
-
* Determine if a value is
|
|
52
|
+
* Determine if a value is a non-null object
|
|
64
53
|
*
|
|
65
54
|
* @param {Object} val The value to test
|
|
66
55
|
*
|
|
67
56
|
* @returns {boolean} True if value is an Array, otherwise false
|
|
68
57
|
*/
|
|
69
|
-
const {
|
|
58
|
+
const {
|
|
59
|
+
isArray
|
|
60
|
+
} = Array;
|
|
70
61
|
|
|
71
62
|
/**
|
|
72
63
|
* Determine if a value is undefined
|
|
@@ -85,8 +76,7 @@ const isUndefined = typeOfTest('undefined');
|
|
|
85
76
|
* @returns {boolean} True if value is a Buffer, otherwise false
|
|
86
77
|
*/
|
|
87
78
|
function isBuffer(val) {
|
|
88
|
-
return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)
|
|
89
|
-
&& isFunction$1(val.constructor.isBuffer) && val.constructor.isBuffer(val);
|
|
79
|
+
return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && isFunction$1(val.constructor.isBuffer) && val.constructor.isBuffer(val);
|
|
90
80
|
}
|
|
91
81
|
|
|
92
82
|
/**
|
|
@@ -98,7 +88,6 @@ function isBuffer(val) {
|
|
|
98
88
|
*/
|
|
99
89
|
const isArrayBuffer = kindOfTest('ArrayBuffer');
|
|
100
90
|
|
|
101
|
-
|
|
102
91
|
/**
|
|
103
92
|
* Determine if a value is a view on an ArrayBuffer
|
|
104
93
|
*
|
|
@@ -108,10 +97,10 @@ const isArrayBuffer = kindOfTest('ArrayBuffer');
|
|
|
108
97
|
*/
|
|
109
98
|
function isArrayBufferView(val) {
|
|
110
99
|
let result;
|
|
111
|
-
if (
|
|
100
|
+
if (typeof ArrayBuffer !== 'undefined' && ArrayBuffer.isView) {
|
|
112
101
|
result = ArrayBuffer.isView(val);
|
|
113
102
|
} else {
|
|
114
|
-
result =
|
|
103
|
+
result = val && val.buffer && isArrayBuffer(val.buffer);
|
|
115
104
|
}
|
|
116
105
|
return result;
|
|
117
106
|
}
|
|
@@ -149,7 +138,7 @@ const isNumber = typeOfTest('number');
|
|
|
149
138
|
*
|
|
150
139
|
* @returns {boolean} True if value is an Object, otherwise false
|
|
151
140
|
*/
|
|
152
|
-
const isObject =
|
|
141
|
+
const isObject = thing => thing !== null && typeof thing === 'object';
|
|
153
142
|
|
|
154
143
|
/**
|
|
155
144
|
* Determine if a value is a Boolean
|
|
@@ -166,11 +155,10 @@ const isBoolean = thing => thing === true || thing === false;
|
|
|
166
155
|
*
|
|
167
156
|
* @returns {boolean} True if value is a plain Object, otherwise false
|
|
168
157
|
*/
|
|
169
|
-
const isPlainObject =
|
|
158
|
+
const isPlainObject = val => {
|
|
170
159
|
if (kindOf(val) !== 'object') {
|
|
171
160
|
return false;
|
|
172
161
|
}
|
|
173
|
-
|
|
174
162
|
const prototype = getPrototypeOf(val);
|
|
175
163
|
return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(toStringTag in val) && !(iterator in val);
|
|
176
164
|
};
|
|
@@ -182,12 +170,11 @@ const isPlainObject = (val) => {
|
|
|
182
170
|
*
|
|
183
171
|
* @returns {boolean} True if value is an empty object, otherwise false
|
|
184
172
|
*/
|
|
185
|
-
const isEmptyObject =
|
|
173
|
+
const isEmptyObject = val => {
|
|
186
174
|
// Early return for non-objects or Buffers to prevent RangeError
|
|
187
175
|
if (!isObject(val) || isBuffer(val)) {
|
|
188
176
|
return false;
|
|
189
177
|
}
|
|
190
|
-
|
|
191
178
|
try {
|
|
192
179
|
return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
|
|
193
180
|
} catch (e) {
|
|
@@ -214,6 +201,31 @@ const isDate = kindOfTest('Date');
|
|
|
214
201
|
*/
|
|
215
202
|
const isFile = kindOfTest('File');
|
|
216
203
|
|
|
204
|
+
/**
|
|
205
|
+
* Determine if a value is a React Native Blob
|
|
206
|
+
* React Native "blob": an object with a `uri` attribute. Optionally, it can
|
|
207
|
+
* also have a `name` and `type` attribute to specify filename and content type
|
|
208
|
+
*
|
|
209
|
+
* @see https://github.com/facebook/react-native/blob/26684cf3adf4094eb6c405d345a75bf8c7c0bf88/Libraries/Network/FormData.js#L68-L71
|
|
210
|
+
*
|
|
211
|
+
* @param {*} value The value to test
|
|
212
|
+
*
|
|
213
|
+
* @returns {boolean} True if value is a React Native Blob, otherwise false
|
|
214
|
+
*/
|
|
215
|
+
const isReactNativeBlob = value => {
|
|
216
|
+
return !!(value && typeof value.uri !== 'undefined');
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Determine if environment is React Native
|
|
221
|
+
* ReactNative `FormData` has a non-standard `getParts()` method
|
|
222
|
+
*
|
|
223
|
+
* @param {*} formData The formData to test
|
|
224
|
+
*
|
|
225
|
+
* @returns {boolean} True if environment is React Native, otherwise false
|
|
226
|
+
*/
|
|
227
|
+
const isReactNative = formData => formData && typeof formData.getParts !== 'undefined';
|
|
228
|
+
|
|
217
229
|
/**
|
|
218
230
|
* Determine if a value is a Blob
|
|
219
231
|
*
|
|
@@ -239,7 +251,7 @@ const isFileList = kindOfTest('FileList');
|
|
|
239
251
|
*
|
|
240
252
|
* @returns {boolean} True if value is a Stream, otherwise false
|
|
241
253
|
*/
|
|
242
|
-
const isStream =
|
|
254
|
+
const isStream = val => isObject(val) && isFunction$1(val.pipe);
|
|
243
255
|
|
|
244
256
|
/**
|
|
245
257
|
* Determine if a value is a FormData
|
|
@@ -248,17 +260,20 @@ const isStream = (val) => isObject(val) && isFunction$1(val.pipe);
|
|
|
248
260
|
*
|
|
249
261
|
* @returns {boolean} True if value is an FormData, otherwise false
|
|
250
262
|
*/
|
|
251
|
-
|
|
263
|
+
function getGlobal() {
|
|
264
|
+
if (typeof globalThis !== 'undefined') return globalThis;
|
|
265
|
+
if (typeof self !== 'undefined') return self;
|
|
266
|
+
if (typeof window !== 'undefined') return window;
|
|
267
|
+
if (typeof global !== 'undefined') return global;
|
|
268
|
+
return {};
|
|
269
|
+
}
|
|
270
|
+
const G = getGlobal();
|
|
271
|
+
const FormDataCtor = typeof G.FormData !== 'undefined' ? G.FormData : undefined;
|
|
272
|
+
const isFormData = thing => {
|
|
252
273
|
let kind;
|
|
253
|
-
return thing && (
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
(kind = kindOf(thing)) === 'formdata' ||
|
|
257
|
-
// detect form-data instance
|
|
258
|
-
(kind === 'object' && isFunction$1(thing.toString) && thing.toString() === '[object FormData]')
|
|
259
|
-
)
|
|
260
|
-
)
|
|
261
|
-
)
|
|
274
|
+
return thing && (FormDataCtor && thing instanceof FormDataCtor || isFunction$1(thing.append) && ((kind = kindOf(thing)) === 'formdata' ||
|
|
275
|
+
// detect form-data instance
|
|
276
|
+
kind === 'object' && isFunction$1(thing.toString) && thing.toString() === '[object FormData]'));
|
|
262
277
|
};
|
|
263
278
|
|
|
264
279
|
/**
|
|
@@ -269,7 +284,6 @@ const isFormData = (thing) => {
|
|
|
269
284
|
* @returns {boolean} True if value is a URLSearchParams object, otherwise false
|
|
270
285
|
*/
|
|
271
286
|
const isURLSearchParams = kindOfTest('URLSearchParams');
|
|
272
|
-
|
|
273
287
|
const [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream', 'Request', 'Response', 'Headers'].map(kindOfTest);
|
|
274
288
|
|
|
275
289
|
/**
|
|
@@ -279,9 +293,9 @@ const [isReadableStream, isRequest, isResponse, isHeaders] = ['ReadableStream',
|
|
|
279
293
|
*
|
|
280
294
|
* @returns {String} The String freed of excess whitespace
|
|
281
295
|
*/
|
|
282
|
-
const trim =
|
|
283
|
-
str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
|
|
284
|
-
|
|
296
|
+
const trim = str => {
|
|
297
|
+
return str.trim ? str.trim() : str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, '');
|
|
298
|
+
};
|
|
285
299
|
/**
|
|
286
300
|
* Iterate over an Array or an Object invoking a function for each item.
|
|
287
301
|
*
|
|
@@ -291,18 +305,20 @@ const trim = (str) => str.trim ?
|
|
|
291
305
|
* If 'obj' is an Object callback will be called passing
|
|
292
306
|
* the value, key, and complete object for each property.
|
|
293
307
|
*
|
|
294
|
-
* @param {Object|Array} obj The object to iterate
|
|
308
|
+
* @param {Object|Array<unknown>} obj The object to iterate
|
|
295
309
|
* @param {Function} fn The callback to invoke for each item
|
|
296
310
|
*
|
|
297
|
-
* @param {
|
|
311
|
+
* @param {Object} [options]
|
|
312
|
+
* @param {Boolean} [options.allOwnKeys = false]
|
|
298
313
|
* @returns {any}
|
|
299
314
|
*/
|
|
300
|
-
function forEach(obj, fn, {
|
|
315
|
+
function forEach(obj, fn, {
|
|
316
|
+
allOwnKeys = false
|
|
317
|
+
} = {}) {
|
|
301
318
|
// Don't bother if no value provided
|
|
302
319
|
if (obj === null || typeof obj === 'undefined') {
|
|
303
320
|
return;
|
|
304
321
|
}
|
|
305
|
-
|
|
306
322
|
let i;
|
|
307
323
|
let l;
|
|
308
324
|
|
|
@@ -311,7 +327,6 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
|
|
|
311
327
|
/*eslint no-param-reassign:0*/
|
|
312
328
|
obj = [obj];
|
|
313
329
|
}
|
|
314
|
-
|
|
315
330
|
if (isArray(obj)) {
|
|
316
331
|
// Iterate over array values
|
|
317
332
|
for (i = 0, l = obj.length; i < l; i++) {
|
|
@@ -327,7 +342,6 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
|
|
|
327
342
|
const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
|
|
328
343
|
const len = keys.length;
|
|
329
344
|
let key;
|
|
330
|
-
|
|
331
345
|
for (i = 0; i < len; i++) {
|
|
332
346
|
key = keys[i];
|
|
333
347
|
fn.call(null, obj[key], key, obj);
|
|
@@ -335,11 +349,18 @@ function forEach(obj, fn, {allOwnKeys = false} = {}) {
|
|
|
335
349
|
}
|
|
336
350
|
}
|
|
337
351
|
|
|
352
|
+
/**
|
|
353
|
+
* Finds a key in an object, case-insensitive, returning the actual key name.
|
|
354
|
+
* Returns null if the object is a Buffer or if no match is found.
|
|
355
|
+
*
|
|
356
|
+
* @param {Object} obj - The object to search.
|
|
357
|
+
* @param {string} key - The key to find (case-insensitive).
|
|
358
|
+
* @returns {?string} The actual key name if found, otherwise null.
|
|
359
|
+
*/
|
|
338
360
|
function findKey(obj, key) {
|
|
339
|
-
if (isBuffer(obj)){
|
|
361
|
+
if (isBuffer(obj)) {
|
|
340
362
|
return null;
|
|
341
363
|
}
|
|
342
|
-
|
|
343
364
|
key = key.toLowerCase();
|
|
344
365
|
const keys = Object.keys(obj);
|
|
345
366
|
let i = keys.length;
|
|
@@ -352,14 +373,12 @@ function findKey(obj, key) {
|
|
|
352
373
|
}
|
|
353
374
|
return null;
|
|
354
375
|
}
|
|
355
|
-
|
|
356
376
|
const _global = (() => {
|
|
357
377
|
/*eslint no-undef:0*/
|
|
358
|
-
if (typeof globalThis !==
|
|
359
|
-
return typeof self !==
|
|
378
|
+
if (typeof globalThis !== 'undefined') return globalThis;
|
|
379
|
+
return typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : global;
|
|
360
380
|
})();
|
|
361
|
-
|
|
362
|
-
const isContextDefined = (context) => !isUndefined(context) && context !== _global;
|
|
381
|
+
const isContextDefined = context => !isUndefined(context) && context !== _global;
|
|
363
382
|
|
|
364
383
|
/**
|
|
365
384
|
* Accepts varargs expecting each argument to be an object, then
|
|
@@ -371,7 +390,7 @@ const isContextDefined = (context) => !isUndefined(context) && context !== _glob
|
|
|
371
390
|
* Example:
|
|
372
391
|
*
|
|
373
392
|
* ```js
|
|
374
|
-
*
|
|
393
|
+
* const result = merge({foo: 123}, {foo: 456});
|
|
375
394
|
* console.log(result.foo); // outputs 456
|
|
376
395
|
* ```
|
|
377
396
|
*
|
|
@@ -379,10 +398,18 @@ const isContextDefined = (context) => !isUndefined(context) && context !== _glob
|
|
|
379
398
|
*
|
|
380
399
|
* @returns {Object} Result of all merge properties
|
|
381
400
|
*/
|
|
382
|
-
function merge(/* obj1, obj2, obj3, ... */
|
|
383
|
-
|
|
401
|
+
function merge(/* obj1, obj2, obj3, ... */
|
|
402
|
+
) {
|
|
403
|
+
const {
|
|
404
|
+
caseless,
|
|
405
|
+
skipUndefined
|
|
406
|
+
} = isContextDefined(this) && this || {};
|
|
384
407
|
const result = {};
|
|
385
408
|
const assignValue = (val, key) => {
|
|
409
|
+
// Skip dangerous property names to prevent prototype pollution
|
|
410
|
+
if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
|
|
411
|
+
return;
|
|
412
|
+
}
|
|
386
413
|
const targetKey = caseless && findKey(result, key) || key;
|
|
387
414
|
if (isPlainObject(result[targetKey]) && isPlainObject(val)) {
|
|
388
415
|
result[targetKey] = merge(result[targetKey], val);
|
|
@@ -394,7 +421,6 @@ function merge(/* obj1, obj2, obj3, ... */) {
|
|
|
394
421
|
result[targetKey] = val;
|
|
395
422
|
}
|
|
396
423
|
};
|
|
397
|
-
|
|
398
424
|
for (let i = 0, l = arguments.length; i < l; i++) {
|
|
399
425
|
arguments[i] && forEach(arguments[i], assignValue);
|
|
400
426
|
}
|
|
@@ -408,17 +434,32 @@ function merge(/* obj1, obj2, obj3, ... */) {
|
|
|
408
434
|
* @param {Object} b The object to copy properties from
|
|
409
435
|
* @param {Object} thisArg The object to bind function to
|
|
410
436
|
*
|
|
411
|
-
* @param {
|
|
437
|
+
* @param {Object} [options]
|
|
438
|
+
* @param {Boolean} [options.allOwnKeys]
|
|
412
439
|
* @returns {Object} The resulting value of object a
|
|
413
440
|
*/
|
|
414
|
-
const extend = (a, b, thisArg, {
|
|
441
|
+
const extend = (a, b, thisArg, {
|
|
442
|
+
allOwnKeys
|
|
443
|
+
} = {}) => {
|
|
415
444
|
forEach(b, (val, key) => {
|
|
416
445
|
if (thisArg && isFunction$1(val)) {
|
|
417
|
-
a
|
|
446
|
+
Object.defineProperty(a, key, {
|
|
447
|
+
value: bind(val, thisArg),
|
|
448
|
+
writable: true,
|
|
449
|
+
enumerable: true,
|
|
450
|
+
configurable: true
|
|
451
|
+
});
|
|
418
452
|
} else {
|
|
419
|
-
a
|
|
453
|
+
Object.defineProperty(a, key, {
|
|
454
|
+
value: val,
|
|
455
|
+
writable: true,
|
|
456
|
+
enumerable: true,
|
|
457
|
+
configurable: true
|
|
458
|
+
});
|
|
420
459
|
}
|
|
421
|
-
}, {
|
|
460
|
+
}, {
|
|
461
|
+
allOwnKeys
|
|
462
|
+
});
|
|
422
463
|
return a;
|
|
423
464
|
};
|
|
424
465
|
|
|
@@ -429,8 +470,8 @@ const extend = (a, b, thisArg, {allOwnKeys}= {}) => {
|
|
|
429
470
|
*
|
|
430
471
|
* @returns {string} content value without BOM
|
|
431
472
|
*/
|
|
432
|
-
const stripBOM =
|
|
433
|
-
if (content.charCodeAt(0) ===
|
|
473
|
+
const stripBOM = content => {
|
|
474
|
+
if (content.charCodeAt(0) === 0xfeff) {
|
|
434
475
|
content = content.slice(1);
|
|
435
476
|
}
|
|
436
477
|
return content;
|
|
@@ -447,7 +488,12 @@ const stripBOM = (content) => {
|
|
|
447
488
|
*/
|
|
448
489
|
const inherits = (constructor, superConstructor, props, descriptors) => {
|
|
449
490
|
constructor.prototype = Object.create(superConstructor.prototype, descriptors);
|
|
450
|
-
constructor.prototype
|
|
491
|
+
Object.defineProperty(constructor.prototype, 'constructor', {
|
|
492
|
+
value: constructor,
|
|
493
|
+
writable: true,
|
|
494
|
+
enumerable: false,
|
|
495
|
+
configurable: true
|
|
496
|
+
});
|
|
451
497
|
Object.defineProperty(constructor, 'super', {
|
|
452
498
|
value: superConstructor.prototype
|
|
453
499
|
});
|
|
@@ -468,11 +514,9 @@ const toFlatObject = (sourceObj, destObj, filter, propFilter) => {
|
|
|
468
514
|
let i;
|
|
469
515
|
let prop;
|
|
470
516
|
const merged = {};
|
|
471
|
-
|
|
472
517
|
destObj = destObj || {};
|
|
473
518
|
// eslint-disable-next-line no-eq-null,eqeqeq
|
|
474
519
|
if (sourceObj == null) return destObj;
|
|
475
|
-
|
|
476
520
|
do {
|
|
477
521
|
props = Object.getOwnPropertyNames(sourceObj);
|
|
478
522
|
i = props.length;
|
|
@@ -485,7 +529,6 @@ const toFlatObject = (sourceObj, destObj, filter, propFilter) => {
|
|
|
485
529
|
}
|
|
486
530
|
sourceObj = filter !== false && getPrototypeOf(sourceObj);
|
|
487
531
|
} while (sourceObj && (!filter || filter(sourceObj, destObj)) && sourceObj !== Object.prototype);
|
|
488
|
-
|
|
489
532
|
return destObj;
|
|
490
533
|
};
|
|
491
534
|
|
|
@@ -508,7 +551,6 @@ const endsWith = (str, searchString, position) => {
|
|
|
508
551
|
return lastIndex !== -1 && lastIndex === position;
|
|
509
552
|
};
|
|
510
553
|
|
|
511
|
-
|
|
512
554
|
/**
|
|
513
555
|
* Returns new array from array like object or null if failed
|
|
514
556
|
*
|
|
@@ -516,7 +558,7 @@ const endsWith = (str, searchString, position) => {
|
|
|
516
558
|
*
|
|
517
559
|
* @returns {?Array}
|
|
518
560
|
*/
|
|
519
|
-
const toArray =
|
|
561
|
+
const toArray = thing => {
|
|
520
562
|
if (!thing) return null;
|
|
521
563
|
if (isArray(thing)) return thing;
|
|
522
564
|
let i = thing.length;
|
|
@@ -554,11 +596,8 @@ const isTypedArray = (TypedArray => {
|
|
|
554
596
|
*/
|
|
555
597
|
const forEachEntry = (obj, fn) => {
|
|
556
598
|
const generator = obj && obj[iterator];
|
|
557
|
-
|
|
558
599
|
const _iterator = generator.call(obj);
|
|
559
|
-
|
|
560
600
|
let result;
|
|
561
|
-
|
|
562
601
|
while ((result = _iterator.next()) && !result.done) {
|
|
563
602
|
const pair = result.value;
|
|
564
603
|
fn.call(obj, pair[0], pair[1]);
|
|
@@ -576,27 +615,24 @@ const forEachEntry = (obj, fn) => {
|
|
|
576
615
|
const matchAll = (regExp, str) => {
|
|
577
616
|
let matches;
|
|
578
617
|
const arr = [];
|
|
579
|
-
|
|
580
618
|
while ((matches = regExp.exec(str)) !== null) {
|
|
581
619
|
arr.push(matches);
|
|
582
620
|
}
|
|
583
|
-
|
|
584
621
|
return arr;
|
|
585
622
|
};
|
|
586
623
|
|
|
587
624
|
/* Checking if the kindOfTest function returns true when passed an HTMLFormElement. */
|
|
588
625
|
const isHTMLForm = kindOfTest('HTMLFormElement');
|
|
589
|
-
|
|
590
626
|
const toCamelCase = str => {
|
|
591
|
-
return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
}
|
|
595
|
-
);
|
|
627
|
+
return str.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function replacer(m, p1, p2) {
|
|
628
|
+
return p1.toUpperCase() + p2;
|
|
629
|
+
});
|
|
596
630
|
};
|
|
597
631
|
|
|
598
632
|
/* Creating a function that will check if an object has a property. */
|
|
599
|
-
const hasOwnProperty = (({
|
|
633
|
+
const hasOwnProperty = (({
|
|
634
|
+
hasOwnProperty
|
|
635
|
+
}) => (obj, prop) => hasOwnProperty.call(obj, prop))(Object.prototype);
|
|
600
636
|
|
|
601
637
|
/**
|
|
602
638
|
* Determine if a value is a RegExp object
|
|
@@ -606,18 +642,15 @@ const hasOwnProperty = (({hasOwnProperty}) => (obj, prop) => hasOwnProperty.call
|
|
|
606
642
|
* @returns {boolean} True if value is a RegExp object, otherwise false
|
|
607
643
|
*/
|
|
608
644
|
const isRegExp = kindOfTest('RegExp');
|
|
609
|
-
|
|
610
645
|
const reduceDescriptors = (obj, reducer) => {
|
|
611
646
|
const descriptors = Object.getOwnPropertyDescriptors(obj);
|
|
612
647
|
const reducedDescriptors = {};
|
|
613
|
-
|
|
614
648
|
forEach(descriptors, (descriptor, name) => {
|
|
615
649
|
let ret;
|
|
616
650
|
if ((ret = reducer(descriptor, name, obj)) !== false) {
|
|
617
651
|
reducedDescriptors[name] = ret || descriptor;
|
|
618
652
|
}
|
|
619
653
|
});
|
|
620
|
-
|
|
621
654
|
Object.defineProperties(obj, reducedDescriptors);
|
|
622
655
|
};
|
|
623
656
|
|
|
@@ -626,54 +659,50 @@ const reduceDescriptors = (obj, reducer) => {
|
|
|
626
659
|
* @param {Object} obj
|
|
627
660
|
*/
|
|
628
661
|
|
|
629
|
-
const freezeMethods =
|
|
662
|
+
const freezeMethods = obj => {
|
|
630
663
|
reduceDescriptors(obj, (descriptor, name) => {
|
|
631
664
|
// skip restricted props in strict mode
|
|
632
665
|
if (isFunction$1(obj) && ['arguments', 'caller', 'callee'].indexOf(name) !== -1) {
|
|
633
666
|
return false;
|
|
634
667
|
}
|
|
635
|
-
|
|
636
668
|
const value = obj[name];
|
|
637
|
-
|
|
638
669
|
if (!isFunction$1(value)) return;
|
|
639
|
-
|
|
640
670
|
descriptor.enumerable = false;
|
|
641
|
-
|
|
642
671
|
if ('writable' in descriptor) {
|
|
643
672
|
descriptor.writable = false;
|
|
644
673
|
return;
|
|
645
674
|
}
|
|
646
|
-
|
|
647
675
|
if (!descriptor.set) {
|
|
648
676
|
descriptor.set = () => {
|
|
649
|
-
throw Error(
|
|
677
|
+
throw Error("Can not rewrite read-only method '" + name + "'");
|
|
650
678
|
};
|
|
651
679
|
}
|
|
652
680
|
});
|
|
653
681
|
};
|
|
654
682
|
|
|
683
|
+
/**
|
|
684
|
+
* Converts an array or a delimited string into an object set with values as keys and true as values.
|
|
685
|
+
* Useful for fast membership checks.
|
|
686
|
+
*
|
|
687
|
+
* @param {Array|string} arrayOrString - The array or string to convert.
|
|
688
|
+
* @param {string} delimiter - The delimiter to use if input is a string.
|
|
689
|
+
* @returns {Object} An object with keys from the array or string, values set to true.
|
|
690
|
+
*/
|
|
655
691
|
const toObjectSet = (arrayOrString, delimiter) => {
|
|
656
692
|
const obj = {};
|
|
657
|
-
|
|
658
|
-
const define = (arr) => {
|
|
693
|
+
const define = arr => {
|
|
659
694
|
arr.forEach(value => {
|
|
660
695
|
obj[value] = true;
|
|
661
696
|
});
|
|
662
697
|
};
|
|
663
|
-
|
|
664
698
|
isArray(arrayOrString) ? define(arrayOrString) : define(String(arrayOrString).split(delimiter));
|
|
665
|
-
|
|
666
699
|
return obj;
|
|
667
700
|
};
|
|
668
|
-
|
|
669
701
|
const noop = () => {};
|
|
670
|
-
|
|
671
702
|
const toFiniteNumber = (value, defaultValue) => {
|
|
672
703
|
return value != null && Number.isFinite(value = +value) ? value : defaultValue;
|
|
673
704
|
};
|
|
674
705
|
|
|
675
|
-
|
|
676
|
-
|
|
677
706
|
/**
|
|
678
707
|
* If the thing is a FormData object, return true, otherwise return false.
|
|
679
708
|
*
|
|
@@ -685,11 +714,15 @@ function isSpecCompliantForm(thing) {
|
|
|
685
714
|
return !!(thing && isFunction$1(thing.append) && thing[toStringTag] === 'FormData' && thing[iterator]);
|
|
686
715
|
}
|
|
687
716
|
|
|
688
|
-
|
|
717
|
+
/**
|
|
718
|
+
* Recursively converts an object to a JSON-compatible object, handling circular references and Buffers.
|
|
719
|
+
*
|
|
720
|
+
* @param {Object} obj - The object to convert.
|
|
721
|
+
* @returns {Object} The JSON-compatible object.
|
|
722
|
+
*/
|
|
723
|
+
const toJSONObject = obj => {
|
|
689
724
|
const stack = new Array(10);
|
|
690
|
-
|
|
691
725
|
const visit = (source, i) => {
|
|
692
|
-
|
|
693
726
|
if (isObject(source)) {
|
|
694
727
|
if (stack.indexOf(source) >= 0) {
|
|
695
728
|
return;
|
|
@@ -699,68 +732,81 @@ const toJSONObject = (obj) => {
|
|
|
699
732
|
if (isBuffer(source)) {
|
|
700
733
|
return source;
|
|
701
734
|
}
|
|
702
|
-
|
|
703
|
-
if(!('toJSON' in source)) {
|
|
735
|
+
if (!('toJSON' in source)) {
|
|
704
736
|
stack[i] = source;
|
|
705
737
|
const target = isArray(source) ? [] : {};
|
|
706
|
-
|
|
707
738
|
forEach(source, (value, key) => {
|
|
708
739
|
const reducedValue = visit(value, i + 1);
|
|
709
740
|
!isUndefined(reducedValue) && (target[key] = reducedValue);
|
|
710
741
|
});
|
|
711
|
-
|
|
712
742
|
stack[i] = undefined;
|
|
713
|
-
|
|
714
743
|
return target;
|
|
715
744
|
}
|
|
716
745
|
}
|
|
717
|
-
|
|
718
746
|
return source;
|
|
719
747
|
};
|
|
720
|
-
|
|
721
748
|
return visit(obj, 0);
|
|
722
749
|
};
|
|
723
750
|
|
|
751
|
+
/**
|
|
752
|
+
* Determines if a value is an async function.
|
|
753
|
+
*
|
|
754
|
+
* @param {*} thing - The value to test.
|
|
755
|
+
* @returns {boolean} True if value is an async function, otherwise false.
|
|
756
|
+
*/
|
|
724
757
|
const isAsyncFn = kindOfTest('AsyncFunction');
|
|
725
758
|
|
|
726
|
-
|
|
727
|
-
|
|
759
|
+
/**
|
|
760
|
+
* Determines if a value is thenable (has then and catch methods).
|
|
761
|
+
*
|
|
762
|
+
* @param {*} thing - The value to test.
|
|
763
|
+
* @returns {boolean} True if value is thenable, otherwise false.
|
|
764
|
+
*/
|
|
765
|
+
const isThenable = thing => thing && (isObject(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing.catch);
|
|
728
766
|
|
|
729
767
|
// original code
|
|
730
768
|
// https://github.com/DigitalBrainJS/AxiosPromise/blob/16deab13710ec09779922131f3fa5954320f83ab/lib/utils.js#L11-L34
|
|
731
769
|
|
|
770
|
+
/**
|
|
771
|
+
* Provides a cross-platform setImmediate implementation.
|
|
772
|
+
* Uses native setImmediate if available, otherwise falls back to postMessage or setTimeout.
|
|
773
|
+
*
|
|
774
|
+
* @param {boolean} setImmediateSupported - Whether setImmediate is supported.
|
|
775
|
+
* @param {boolean} postMessageSupported - Whether postMessage is supported.
|
|
776
|
+
* @returns {Function} A function to schedule a callback asynchronously.
|
|
777
|
+
*/
|
|
732
778
|
const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
|
|
733
779
|
if (setImmediateSupported) {
|
|
734
780
|
return setImmediate;
|
|
735
781
|
}
|
|
736
|
-
|
|
737
782
|
return postMessageSupported ? ((token, callbacks) => {
|
|
738
|
-
_global.addEventListener(
|
|
783
|
+
_global.addEventListener('message', ({
|
|
784
|
+
source,
|
|
785
|
+
data
|
|
786
|
+
}) => {
|
|
739
787
|
if (source === _global && data === token) {
|
|
740
788
|
callbacks.length && callbacks.shift()();
|
|
741
789
|
}
|
|
742
790
|
}, false);
|
|
743
|
-
|
|
744
|
-
return (cb) => {
|
|
791
|
+
return cb => {
|
|
745
792
|
callbacks.push(cb);
|
|
746
|
-
_global.postMessage(token,
|
|
747
|
-
}
|
|
748
|
-
})(`axios@${Math.random()}`, []) :
|
|
749
|
-
})(
|
|
750
|
-
typeof setImmediate === 'function',
|
|
751
|
-
isFunction$1(_global.postMessage)
|
|
752
|
-
);
|
|
793
|
+
_global.postMessage(token, '*');
|
|
794
|
+
};
|
|
795
|
+
})(`axios@${Math.random()}`, []) : cb => setTimeout(cb);
|
|
796
|
+
})(typeof setImmediate === 'function', isFunction$1(_global.postMessage));
|
|
753
797
|
|
|
754
|
-
|
|
755
|
-
|
|
798
|
+
/**
|
|
799
|
+
* Schedules a microtask or asynchronous callback as soon as possible.
|
|
800
|
+
* Uses queueMicrotask if available, otherwise falls back to process.nextTick or _setImmediate.
|
|
801
|
+
*
|
|
802
|
+
* @type {Function}
|
|
803
|
+
*/
|
|
804
|
+
const asap = typeof queueMicrotask !== 'undefined' ? queueMicrotask.bind(_global) : typeof process !== 'undefined' && process.nextTick || _setImmediate;
|
|
756
805
|
|
|
757
806
|
// *********************
|
|
758
807
|
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
const utils$1 = {
|
|
808
|
+
const isIterable = thing => thing != null && isFunction$1(thing[iterator]);
|
|
809
|
+
var utils$1 = {
|
|
764
810
|
isArray,
|
|
765
811
|
isArrayBuffer,
|
|
766
812
|
isBuffer,
|
|
@@ -779,6 +825,8 @@ const utils$1 = {
|
|
|
779
825
|
isUndefined,
|
|
780
826
|
isDate,
|
|
781
827
|
isFile,
|
|
828
|
+
isReactNativeBlob,
|
|
829
|
+
isReactNative,
|
|
782
830
|
isBlob,
|
|
783
831
|
isRegExp,
|
|
784
832
|
isFunction: isFunction$1,
|
|
@@ -801,7 +849,8 @@ const utils$1 = {
|
|
|
801
849
|
matchAll,
|
|
802
850
|
isHTMLForm,
|
|
803
851
|
hasOwnProperty,
|
|
804
|
-
hasOwnProp: hasOwnProperty,
|
|
852
|
+
hasOwnProp: hasOwnProperty,
|
|
853
|
+
// an alias to avoid ESLint no-prototype-builtins detection
|
|
805
854
|
reduceDescriptors,
|
|
806
855
|
freezeMethods,
|
|
807
856
|
toObjectSet,
|
|
@@ -820,39 +869,54 @@ const utils$1 = {
|
|
|
820
869
|
isIterable
|
|
821
870
|
};
|
|
822
871
|
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
* @param {Object} [config] The config.
|
|
829
|
-
* @param {Object} [request] The request.
|
|
830
|
-
* @param {Object} [response] The response.
|
|
831
|
-
*
|
|
832
|
-
* @returns {Error} The created error.
|
|
833
|
-
*/
|
|
834
|
-
function AxiosError(message, code, config, request, response) {
|
|
835
|
-
Error.call(this);
|
|
872
|
+
class AxiosError extends Error {
|
|
873
|
+
static from(error, code, config, request, response, customProps) {
|
|
874
|
+
const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
|
|
875
|
+
axiosError.cause = error;
|
|
876
|
+
axiosError.name = error.name;
|
|
836
877
|
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
878
|
+
// Preserve status from the original error if not already set from response
|
|
879
|
+
if (error.status != null && axiosError.status == null) {
|
|
880
|
+
axiosError.status = error.status;
|
|
881
|
+
}
|
|
882
|
+
customProps && Object.assign(axiosError, customProps);
|
|
883
|
+
return axiosError;
|
|
841
884
|
}
|
|
842
885
|
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
886
|
+
/**
|
|
887
|
+
* Create an Error with the specified message, config, error code, request and response.
|
|
888
|
+
*
|
|
889
|
+
* @param {string} message The error message.
|
|
890
|
+
* @param {string} [code] The error code (for example, 'ECONNABORTED').
|
|
891
|
+
* @param {Object} [config] The config.
|
|
892
|
+
* @param {Object} [request] The request.
|
|
893
|
+
* @param {Object} [response] The response.
|
|
894
|
+
*
|
|
895
|
+
* @returns {Error} The created error.
|
|
896
|
+
*/
|
|
897
|
+
constructor(message, code, config, request, response) {
|
|
898
|
+
super(message);
|
|
899
|
+
|
|
900
|
+
// Make message enumerable to maintain backward compatibility
|
|
901
|
+
// The native Error constructor sets message as non-enumerable,
|
|
902
|
+
// but axios < v1.13.3 had it as enumerable
|
|
903
|
+
Object.defineProperty(this, 'message', {
|
|
904
|
+
value: message,
|
|
905
|
+
enumerable: true,
|
|
906
|
+
writable: true,
|
|
907
|
+
configurable: true
|
|
908
|
+
});
|
|
909
|
+
this.name = 'AxiosError';
|
|
910
|
+
this.isAxiosError = true;
|
|
911
|
+
code && (this.code = code);
|
|
912
|
+
config && (this.config = config);
|
|
913
|
+
request && (this.request = request);
|
|
914
|
+
if (response) {
|
|
915
|
+
this.response = response;
|
|
916
|
+
this.status = response.status;
|
|
917
|
+
}
|
|
851
918
|
}
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
utils$1.inherits(AxiosError, Error, {
|
|
855
|
-
toJSON: function toJSON() {
|
|
919
|
+
toJSON() {
|
|
856
920
|
return {
|
|
857
921
|
// Standard
|
|
858
922
|
message: this.message,
|
|
@@ -871,59 +935,21 @@ utils$1.inherits(AxiosError, Error, {
|
|
|
871
935
|
status: this.status
|
|
872
936
|
};
|
|
873
937
|
}
|
|
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);
|
|
938
|
+
}
|
|
924
939
|
|
|
925
|
-
|
|
926
|
-
|
|
940
|
+
// This can be changed to static properties as soon as the parser options in .eslint.cjs are updated.
|
|
941
|
+
AxiosError.ERR_BAD_OPTION_VALUE = 'ERR_BAD_OPTION_VALUE';
|
|
942
|
+
AxiosError.ERR_BAD_OPTION = 'ERR_BAD_OPTION';
|
|
943
|
+
AxiosError.ECONNABORTED = 'ECONNABORTED';
|
|
944
|
+
AxiosError.ETIMEDOUT = 'ETIMEDOUT';
|
|
945
|
+
AxiosError.ERR_NETWORK = 'ERR_NETWORK';
|
|
946
|
+
AxiosError.ERR_FR_TOO_MANY_REDIRECTS = 'ERR_FR_TOO_MANY_REDIRECTS';
|
|
947
|
+
AxiosError.ERR_DEPRECATED = 'ERR_DEPRECATED';
|
|
948
|
+
AxiosError.ERR_BAD_RESPONSE = 'ERR_BAD_RESPONSE';
|
|
949
|
+
AxiosError.ERR_BAD_REQUEST = 'ERR_BAD_REQUEST';
|
|
950
|
+
AxiosError.ERR_CANCELED = 'ERR_CANCELED';
|
|
951
|
+
AxiosError.ERR_NOT_SUPPORT = 'ERR_NOT_SUPPORT';
|
|
952
|
+
AxiosError.ERR_INVALID_URL = 'ERR_INVALID_URL';
|
|
927
953
|
|
|
928
954
|
/**
|
|
929
955
|
* Determines if the given thing is a array or js object.
|
|
@@ -975,7 +1001,6 @@ function renderKey(path, key, dots) {
|
|
|
975
1001
|
function isFlatArray(arr) {
|
|
976
1002
|
return utils$1.isArray(arr) && !arr.some(isVisitable);
|
|
977
1003
|
}
|
|
978
|
-
|
|
979
1004
|
const predicates = utils$1.toFlatObject(utils$1, {}, null, function filter(prop) {
|
|
980
1005
|
return /^is[A-Z]/.test(prop);
|
|
981
1006
|
});
|
|
@@ -1009,7 +1034,7 @@ function toFormData(obj, formData, options) {
|
|
|
1009
1034
|
}
|
|
1010
1035
|
|
|
1011
1036
|
// eslint-disable-next-line no-param-reassign
|
|
1012
|
-
formData = formData || new (
|
|
1037
|
+
formData = formData || new (FormData$1 || FormData)();
|
|
1013
1038
|
|
|
1014
1039
|
// eslint-disable-next-line no-param-reassign
|
|
1015
1040
|
options = utils$1.toFlatObject(options, {
|
|
@@ -1020,7 +1045,6 @@ function toFormData(obj, formData, options) {
|
|
|
1020
1045
|
// eslint-disable-next-line no-eq-null,eqeqeq
|
|
1021
1046
|
return !utils$1.isUndefined(source[option]);
|
|
1022
1047
|
});
|
|
1023
|
-
|
|
1024
1048
|
const metaTokens = options.metaTokens;
|
|
1025
1049
|
// eslint-disable-next-line no-use-before-define
|
|
1026
1050
|
const visitor = options.visitor || defaultVisitor;
|
|
@@ -1028,30 +1052,23 @@ function toFormData(obj, formData, options) {
|
|
|
1028
1052
|
const indexes = options.indexes;
|
|
1029
1053
|
const _Blob = options.Blob || typeof Blob !== 'undefined' && Blob;
|
|
1030
1054
|
const useBlob = _Blob && utils$1.isSpecCompliantForm(formData);
|
|
1031
|
-
|
|
1032
1055
|
if (!utils$1.isFunction(visitor)) {
|
|
1033
1056
|
throw new TypeError('visitor must be a function');
|
|
1034
1057
|
}
|
|
1035
|
-
|
|
1036
1058
|
function convertValue(value) {
|
|
1037
1059
|
if (value === null) return '';
|
|
1038
|
-
|
|
1039
1060
|
if (utils$1.isDate(value)) {
|
|
1040
1061
|
return value.toISOString();
|
|
1041
1062
|
}
|
|
1042
|
-
|
|
1043
1063
|
if (utils$1.isBoolean(value)) {
|
|
1044
1064
|
return value.toString();
|
|
1045
1065
|
}
|
|
1046
|
-
|
|
1047
1066
|
if (!useBlob && utils$1.isBlob(value)) {
|
|
1048
1067
|
throw new AxiosError('Blob is not supported. Use a Buffer instead.');
|
|
1049
1068
|
}
|
|
1050
|
-
|
|
1051
1069
|
if (utils$1.isArrayBuffer(value) || utils$1.isTypedArray(value)) {
|
|
1052
1070
|
return useBlob && typeof Blob === 'function' ? new Blob([value]) : Buffer.from(value);
|
|
1053
1071
|
}
|
|
1054
|
-
|
|
1055
1072
|
return value;
|
|
1056
1073
|
}
|
|
1057
1074
|
|
|
@@ -1067,76 +1084,57 @@ function toFormData(obj, formData, options) {
|
|
|
1067
1084
|
*/
|
|
1068
1085
|
function defaultVisitor(value, key, path) {
|
|
1069
1086
|
let arr = value;
|
|
1070
|
-
|
|
1087
|
+
if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) {
|
|
1088
|
+
formData.append(renderKey(path, key, dots), convertValue(value));
|
|
1089
|
+
return false;
|
|
1090
|
+
}
|
|
1071
1091
|
if (value && !path && typeof value === 'object') {
|
|
1072
1092
|
if (utils$1.endsWith(key, '{}')) {
|
|
1073
1093
|
// eslint-disable-next-line no-param-reassign
|
|
1074
1094
|
key = metaTokens ? key : key.slice(0, -2);
|
|
1075
1095
|
// eslint-disable-next-line no-param-reassign
|
|
1076
1096
|
value = JSON.stringify(value);
|
|
1077
|
-
} else if (
|
|
1078
|
-
(utils$1.isArray(value) && isFlatArray(value)) ||
|
|
1079
|
-
((utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value))
|
|
1080
|
-
)) {
|
|
1097
|
+
} else if (utils$1.isArray(value) && isFlatArray(value) || (utils$1.isFileList(value) || utils$1.endsWith(key, '[]')) && (arr = utils$1.toArray(value))) {
|
|
1081
1098
|
// eslint-disable-next-line no-param-reassign
|
|
1082
1099
|
key = removeBrackets(key);
|
|
1083
|
-
|
|
1084
1100
|
arr.forEach(function each(el, index) {
|
|
1085
1101
|
!(utils$1.isUndefined(el) || el === null) && formData.append(
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
convertValue(el)
|
|
1089
|
-
);
|
|
1102
|
+
// eslint-disable-next-line no-nested-ternary
|
|
1103
|
+
indexes === true ? renderKey([key], index, dots) : indexes === null ? key : key + '[]', convertValue(el));
|
|
1090
1104
|
});
|
|
1091
1105
|
return false;
|
|
1092
1106
|
}
|
|
1093
1107
|
}
|
|
1094
|
-
|
|
1095
1108
|
if (isVisitable(value)) {
|
|
1096
1109
|
return true;
|
|
1097
1110
|
}
|
|
1098
|
-
|
|
1099
1111
|
formData.append(renderKey(path, key, dots), convertValue(value));
|
|
1100
|
-
|
|
1101
1112
|
return false;
|
|
1102
1113
|
}
|
|
1103
|
-
|
|
1104
1114
|
const stack = [];
|
|
1105
|
-
|
|
1106
1115
|
const exposedHelpers = Object.assign(predicates, {
|
|
1107
1116
|
defaultVisitor,
|
|
1108
1117
|
convertValue,
|
|
1109
1118
|
isVisitable
|
|
1110
1119
|
});
|
|
1111
|
-
|
|
1112
1120
|
function build(value, path) {
|
|
1113
1121
|
if (utils$1.isUndefined(value)) return;
|
|
1114
|
-
|
|
1115
1122
|
if (stack.indexOf(value) !== -1) {
|
|
1116
1123
|
throw Error('Circular reference detected in ' + path.join('.'));
|
|
1117
1124
|
}
|
|
1118
|
-
|
|
1119
1125
|
stack.push(value);
|
|
1120
|
-
|
|
1121
1126
|
utils$1.forEach(value, function each(el, key) {
|
|
1122
|
-
const result = !(utils$1.isUndefined(el) || el === null) && visitor.call(
|
|
1123
|
-
formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers
|
|
1124
|
-
);
|
|
1125
|
-
|
|
1127
|
+
const result = !(utils$1.isUndefined(el) || el === null) && visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers);
|
|
1126
1128
|
if (result === true) {
|
|
1127
1129
|
build(el, path ? path.concat(key) : [key]);
|
|
1128
1130
|
}
|
|
1129
1131
|
});
|
|
1130
|
-
|
|
1131
1132
|
stack.pop();
|
|
1132
1133
|
}
|
|
1133
|
-
|
|
1134
1134
|
if (!utils$1.isObject(obj)) {
|
|
1135
1135
|
throw new TypeError('data must be an object');
|
|
1136
1136
|
}
|
|
1137
|
-
|
|
1138
1137
|
build(obj);
|
|
1139
|
-
|
|
1140
1138
|
return formData;
|
|
1141
1139
|
}
|
|
1142
1140
|
|
|
@@ -1173,40 +1171,31 @@ function encode$1(str) {
|
|
|
1173
1171
|
*/
|
|
1174
1172
|
function AxiosURLSearchParams(params, options) {
|
|
1175
1173
|
this._pairs = [];
|
|
1176
|
-
|
|
1177
1174
|
params && toFormData(params, this, options);
|
|
1178
1175
|
}
|
|
1179
|
-
|
|
1180
1176
|
const prototype = AxiosURLSearchParams.prototype;
|
|
1181
|
-
|
|
1182
1177
|
prototype.append = function append(name, value) {
|
|
1183
1178
|
this._pairs.push([name, value]);
|
|
1184
1179
|
};
|
|
1185
|
-
|
|
1186
1180
|
prototype.toString = function toString(encoder) {
|
|
1187
|
-
const _encode = encoder ? function(value) {
|
|
1181
|
+
const _encode = encoder ? function (value) {
|
|
1188
1182
|
return encoder.call(this, value, encode$1);
|
|
1189
1183
|
} : encode$1;
|
|
1190
|
-
|
|
1191
1184
|
return this._pairs.map(function each(pair) {
|
|
1192
1185
|
return _encode(pair[0]) + '=' + _encode(pair[1]);
|
|
1193
1186
|
}, '').join('&');
|
|
1194
1187
|
};
|
|
1195
1188
|
|
|
1196
1189
|
/**
|
|
1197
|
-
* It replaces
|
|
1198
|
-
*
|
|
1190
|
+
* It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with
|
|
1191
|
+
* their plain counterparts (`:`, `$`, `,`, `+`).
|
|
1199
1192
|
*
|
|
1200
1193
|
* @param {string} val The value to be encoded.
|
|
1201
1194
|
*
|
|
1202
1195
|
* @returns {string} The encoded value.
|
|
1203
1196
|
*/
|
|
1204
1197
|
function encode(val) {
|
|
1205
|
-
return encodeURIComponent(val).
|
|
1206
|
-
replace(/%3A/gi, ':').
|
|
1207
|
-
replace(/%24/g, '$').
|
|
1208
|
-
replace(/%2C/gi, ',').
|
|
1209
|
-
replace(/%20/g, '+');
|
|
1198
|
+
return encodeURIComponent(val).replace(/%3A/gi, ':').replace(/%24/g, '$').replace(/%2C/gi, ',').replace(/%20/g, '+');
|
|
1210
1199
|
}
|
|
1211
1200
|
|
|
1212
1201
|
/**
|
|
@@ -1219,40 +1208,27 @@ function encode(val) {
|
|
|
1219
1208
|
* @returns {string} The formatted url
|
|
1220
1209
|
*/
|
|
1221
1210
|
function buildURL(url, params, options) {
|
|
1222
|
-
/*eslint no-param-reassign:0*/
|
|
1223
1211
|
if (!params) {
|
|
1224
1212
|
return url;
|
|
1225
1213
|
}
|
|
1226
|
-
|
|
1227
1214
|
const _encode = options && options.encode || encode;
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
};
|
|
1233
|
-
}
|
|
1234
|
-
|
|
1235
|
-
const serializeFn = options && options.serialize;
|
|
1236
|
-
|
|
1215
|
+
const _options = utils$1.isFunction(options) ? {
|
|
1216
|
+
serialize: options
|
|
1217
|
+
} : options;
|
|
1218
|
+
const serializeFn = _options && _options.serialize;
|
|
1237
1219
|
let serializedParams;
|
|
1238
|
-
|
|
1239
1220
|
if (serializeFn) {
|
|
1240
|
-
serializedParams = serializeFn(params,
|
|
1221
|
+
serializedParams = serializeFn(params, _options);
|
|
1241
1222
|
} else {
|
|
1242
|
-
serializedParams = utils$1.isURLSearchParams(params) ?
|
|
1243
|
-
params.toString() :
|
|
1244
|
-
new AxiosURLSearchParams(params, options).toString(_encode);
|
|
1223
|
+
serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, _options).toString(_encode);
|
|
1245
1224
|
}
|
|
1246
|
-
|
|
1247
1225
|
if (serializedParams) {
|
|
1248
|
-
const hashmarkIndex = url.indexOf(
|
|
1249
|
-
|
|
1226
|
+
const hashmarkIndex = url.indexOf('#');
|
|
1250
1227
|
if (hashmarkIndex !== -1) {
|
|
1251
1228
|
url = url.slice(0, hashmarkIndex);
|
|
1252
1229
|
}
|
|
1253
1230
|
url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
|
|
1254
1231
|
}
|
|
1255
|
-
|
|
1256
1232
|
return url;
|
|
1257
1233
|
}
|
|
1258
1234
|
|
|
@@ -1266,6 +1242,7 @@ class InterceptorManager {
|
|
|
1266
1242
|
*
|
|
1267
1243
|
* @param {Function} fulfilled The function to handle `then` for a `Promise`
|
|
1268
1244
|
* @param {Function} rejected The function to handle `reject` for a `Promise`
|
|
1245
|
+
* @param {Object} options The options for the interceptor, synchronous and runWhen
|
|
1269
1246
|
*
|
|
1270
1247
|
* @return {Number} An ID used to remove interceptor later
|
|
1271
1248
|
*/
|
|
@@ -1322,53 +1299,47 @@ class InterceptorManager {
|
|
|
1322
1299
|
}
|
|
1323
1300
|
}
|
|
1324
1301
|
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
const transitionalDefaults = {
|
|
1302
|
+
var transitionalDefaults = {
|
|
1328
1303
|
silentJSONParsing: true,
|
|
1329
1304
|
forcedJSONParsing: true,
|
|
1330
|
-
clarifyTimeoutError: false
|
|
1305
|
+
clarifyTimeoutError: false,
|
|
1306
|
+
legacyInterceptorReqResOrdering: true
|
|
1331
1307
|
};
|
|
1332
1308
|
|
|
1333
|
-
|
|
1309
|
+
var URLSearchParams = url.URLSearchParams;
|
|
1334
1310
|
|
|
1335
1311
|
const ALPHA = 'abcdefghijklmnopqrstuvwxyz';
|
|
1336
|
-
|
|
1337
1312
|
const DIGIT = '0123456789';
|
|
1338
|
-
|
|
1339
1313
|
const ALPHABET = {
|
|
1340
1314
|
DIGIT,
|
|
1341
1315
|
ALPHA,
|
|
1342
1316
|
ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT
|
|
1343
1317
|
};
|
|
1344
|
-
|
|
1345
1318
|
const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => {
|
|
1346
1319
|
let str = '';
|
|
1347
|
-
const {
|
|
1320
|
+
const {
|
|
1321
|
+
length
|
|
1322
|
+
} = alphabet;
|
|
1348
1323
|
const randomValues = new Uint32Array(size);
|
|
1349
|
-
|
|
1324
|
+
crypto.randomFillSync(randomValues);
|
|
1350
1325
|
for (let i = 0; i < size; i++) {
|
|
1351
1326
|
str += alphabet[randomValues[i] % length];
|
|
1352
1327
|
}
|
|
1353
|
-
|
|
1354
1328
|
return str;
|
|
1355
1329
|
};
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
const platform$1 = {
|
|
1330
|
+
var platform$1 = {
|
|
1359
1331
|
isNode: true,
|
|
1360
1332
|
classes: {
|
|
1361
1333
|
URLSearchParams,
|
|
1362
|
-
FormData:
|
|
1334
|
+
FormData: FormData$1,
|
|
1363
1335
|
Blob: typeof Blob !== 'undefined' && Blob || null
|
|
1364
1336
|
},
|
|
1365
1337
|
ALPHABET,
|
|
1366
1338
|
generateString,
|
|
1367
|
-
protocols: [
|
|
1339
|
+
protocols: ['http', 'https', 'file', 'data']
|
|
1368
1340
|
};
|
|
1369
1341
|
|
|
1370
1342
|
const hasBrowserEnv = typeof window !== 'undefined' && typeof document !== 'undefined';
|
|
1371
|
-
|
|
1372
1343
|
const _navigator = typeof navigator === 'object' && navigator || undefined;
|
|
1373
1344
|
|
|
1374
1345
|
/**
|
|
@@ -1388,8 +1359,7 @@ const _navigator = typeof navigator === 'object' && navigator || undefined;
|
|
|
1388
1359
|
*
|
|
1389
1360
|
* @returns {boolean}
|
|
1390
1361
|
*/
|
|
1391
|
-
const hasStandardBrowserEnv = hasBrowserEnv &&
|
|
1392
|
-
(!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
|
|
1362
|
+
const hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || ['ReactNative', 'NativeScript', 'NS'].indexOf(_navigator.product) < 0);
|
|
1393
1363
|
|
|
1394
1364
|
/**
|
|
1395
1365
|
* Determine if we're running in a standard browser webWorker environment
|
|
@@ -1401,38 +1371,33 @@ const hasStandardBrowserEnv = hasBrowserEnv &&
|
|
|
1401
1371
|
* This leads to a problem when axios post `FormData` in webWorker
|
|
1402
1372
|
*/
|
|
1403
1373
|
const hasStandardBrowserWebWorkerEnv = (() => {
|
|
1404
|
-
return
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
self instanceof WorkerGlobalScope &&
|
|
1408
|
-
typeof self.importScripts === 'function'
|
|
1409
|
-
);
|
|
1374
|
+
return typeof WorkerGlobalScope !== 'undefined' &&
|
|
1375
|
+
// eslint-disable-next-line no-undef
|
|
1376
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts === 'function';
|
|
1410
1377
|
})();
|
|
1411
|
-
|
|
1412
1378
|
const origin = hasBrowserEnv && window.location.href || 'http://localhost';
|
|
1413
1379
|
|
|
1414
|
-
|
|
1380
|
+
var utils = /*#__PURE__*/Object.freeze({
|
|
1415
1381
|
__proto__: null,
|
|
1416
1382
|
hasBrowserEnv: hasBrowserEnv,
|
|
1417
|
-
hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv,
|
|
1418
1383
|
hasStandardBrowserEnv: hasStandardBrowserEnv,
|
|
1384
|
+
hasStandardBrowserWebWorkerEnv: hasStandardBrowserWebWorkerEnv,
|
|
1419
1385
|
navigator: _navigator,
|
|
1420
1386
|
origin: origin
|
|
1421
1387
|
});
|
|
1422
1388
|
|
|
1423
|
-
|
|
1389
|
+
var platform = {
|
|
1424
1390
|
...utils,
|
|
1425
1391
|
...platform$1
|
|
1426
1392
|
};
|
|
1427
1393
|
|
|
1428
1394
|
function toURLEncodedForm(data, options) {
|
|
1429
1395
|
return toFormData(data, new platform.classes.URLSearchParams(), {
|
|
1430
|
-
visitor: function(value, key, path, helpers) {
|
|
1396
|
+
visitor: function (value, key, path, helpers) {
|
|
1431
1397
|
if (platform.isNode && utils$1.isBuffer(value)) {
|
|
1432
1398
|
this.append(key, value.toString('base64'));
|
|
1433
1399
|
return false;
|
|
1434
1400
|
}
|
|
1435
|
-
|
|
1436
1401
|
return helpers.defaultVisitor.apply(this, arguments);
|
|
1437
1402
|
},
|
|
1438
1403
|
...options
|
|
@@ -1486,46 +1451,34 @@ function arrayToObject(arr) {
|
|
|
1486
1451
|
function formDataToJSON(formData) {
|
|
1487
1452
|
function buildPath(path, value, target, index) {
|
|
1488
1453
|
let name = path[index++];
|
|
1489
|
-
|
|
1490
1454
|
if (name === '__proto__') return true;
|
|
1491
|
-
|
|
1492
1455
|
const isNumericKey = Number.isFinite(+name);
|
|
1493
1456
|
const isLast = index >= path.length;
|
|
1494
1457
|
name = !name && utils$1.isArray(target) ? target.length : name;
|
|
1495
|
-
|
|
1496
1458
|
if (isLast) {
|
|
1497
1459
|
if (utils$1.hasOwnProp(target, name)) {
|
|
1498
1460
|
target[name] = [target[name], value];
|
|
1499
1461
|
} else {
|
|
1500
1462
|
target[name] = value;
|
|
1501
1463
|
}
|
|
1502
|
-
|
|
1503
1464
|
return !isNumericKey;
|
|
1504
1465
|
}
|
|
1505
|
-
|
|
1506
1466
|
if (!target[name] || !utils$1.isObject(target[name])) {
|
|
1507
1467
|
target[name] = [];
|
|
1508
1468
|
}
|
|
1509
|
-
|
|
1510
1469
|
const result = buildPath(path, value, target[name], index);
|
|
1511
|
-
|
|
1512
1470
|
if (result && utils$1.isArray(target[name])) {
|
|
1513
1471
|
target[name] = arrayToObject(target[name]);
|
|
1514
1472
|
}
|
|
1515
|
-
|
|
1516
1473
|
return !isNumericKey;
|
|
1517
1474
|
}
|
|
1518
|
-
|
|
1519
1475
|
if (utils$1.isFormData(formData) && utils$1.isFunction(formData.entries)) {
|
|
1520
1476
|
const obj = {};
|
|
1521
|
-
|
|
1522
1477
|
utils$1.forEachEntry(formData, (name, value) => {
|
|
1523
1478
|
buildPath(parsePropPath(name), value, obj, 0);
|
|
1524
1479
|
});
|
|
1525
|
-
|
|
1526
1480
|
return obj;
|
|
1527
1481
|
}
|
|
1528
|
-
|
|
1529
1482
|
return null;
|
|
1530
1483
|
}
|
|
1531
1484
|
|
|
@@ -1550,38 +1503,23 @@ function stringifySafely(rawValue, parser, encoder) {
|
|
|
1550
1503
|
}
|
|
1551
1504
|
}
|
|
1552
1505
|
}
|
|
1553
|
-
|
|
1554
1506
|
return (encoder || JSON.stringify)(rawValue);
|
|
1555
1507
|
}
|
|
1556
|
-
|
|
1557
1508
|
const defaults = {
|
|
1558
|
-
|
|
1559
1509
|
transitional: transitionalDefaults,
|
|
1560
|
-
|
|
1561
1510
|
adapter: ['xhr', 'http', 'fetch'],
|
|
1562
|
-
|
|
1563
1511
|
transformRequest: [function transformRequest(data, headers) {
|
|
1564
1512
|
const contentType = headers.getContentType() || '';
|
|
1565
1513
|
const hasJSONContentType = contentType.indexOf('application/json') > -1;
|
|
1566
1514
|
const isObjectPayload = utils$1.isObject(data);
|
|
1567
|
-
|
|
1568
1515
|
if (isObjectPayload && utils$1.isHTMLForm(data)) {
|
|
1569
1516
|
data = new FormData(data);
|
|
1570
1517
|
}
|
|
1571
|
-
|
|
1572
1518
|
const isFormData = utils$1.isFormData(data);
|
|
1573
|
-
|
|
1574
1519
|
if (isFormData) {
|
|
1575
1520
|
return hasJSONContentType ? JSON.stringify(formDataToJSON(data)) : data;
|
|
1576
1521
|
}
|
|
1577
|
-
|
|
1578
|
-
if (utils$1.isArrayBuffer(data) ||
|
|
1579
|
-
utils$1.isBuffer(data) ||
|
|
1580
|
-
utils$1.isStream(data) ||
|
|
1581
|
-
utils$1.isFile(data) ||
|
|
1582
|
-
utils$1.isBlob(data) ||
|
|
1583
|
-
utils$1.isReadableStream(data)
|
|
1584
|
-
) {
|
|
1522
|
+
if (utils$1.isArrayBuffer(data) || utils$1.isBuffer(data) || utils$1.isStream(data) || utils$1.isFile(data) || utils$1.isBlob(data) || utils$1.isReadableStream(data)) {
|
|
1585
1523
|
return data;
|
|
1586
1524
|
}
|
|
1587
1525
|
if (utils$1.isArrayBufferView(data)) {
|
|
@@ -1591,46 +1529,34 @@ const defaults = {
|
|
|
1591
1529
|
headers.setContentType('application/x-www-form-urlencoded;charset=utf-8', false);
|
|
1592
1530
|
return data.toString();
|
|
1593
1531
|
}
|
|
1594
|
-
|
|
1595
1532
|
let isFileList;
|
|
1596
|
-
|
|
1597
1533
|
if (isObjectPayload) {
|
|
1598
1534
|
if (contentType.indexOf('application/x-www-form-urlencoded') > -1) {
|
|
1599
1535
|
return toURLEncodedForm(data, this.formSerializer).toString();
|
|
1600
1536
|
}
|
|
1601
|
-
|
|
1602
1537
|
if ((isFileList = utils$1.isFileList(data)) || contentType.indexOf('multipart/form-data') > -1) {
|
|
1603
1538
|
const _FormData = this.env && this.env.FormData;
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
_FormData && new _FormData(),
|
|
1608
|
-
this.formSerializer
|
|
1609
|
-
);
|
|
1539
|
+
return toFormData(isFileList ? {
|
|
1540
|
+
'files[]': data
|
|
1541
|
+
} : data, _FormData && new _FormData(), this.formSerializer);
|
|
1610
1542
|
}
|
|
1611
1543
|
}
|
|
1612
|
-
|
|
1613
|
-
if (isObjectPayload || hasJSONContentType ) {
|
|
1544
|
+
if (isObjectPayload || hasJSONContentType) {
|
|
1614
1545
|
headers.setContentType('application/json', false);
|
|
1615
1546
|
return stringifySafely(data);
|
|
1616
1547
|
}
|
|
1617
|
-
|
|
1618
1548
|
return data;
|
|
1619
1549
|
}],
|
|
1620
|
-
|
|
1621
1550
|
transformResponse: [function transformResponse(data) {
|
|
1622
1551
|
const transitional = this.transitional || defaults.transitional;
|
|
1623
1552
|
const forcedJSONParsing = transitional && transitional.forcedJSONParsing;
|
|
1624
1553
|
const JSONRequested = this.responseType === 'json';
|
|
1625
|
-
|
|
1626
1554
|
if (utils$1.isResponse(data) || utils$1.isReadableStream(data)) {
|
|
1627
1555
|
return data;
|
|
1628
1556
|
}
|
|
1629
|
-
|
|
1630
|
-
if (data && utils$1.isString(data) && ((forcedJSONParsing && !this.responseType) || JSONRequested)) {
|
|
1557
|
+
if (data && utils$1.isString(data) && (forcedJSONParsing && !this.responseType || JSONRequested)) {
|
|
1631
1558
|
const silentJSONParsing = transitional && transitional.silentJSONParsing;
|
|
1632
1559
|
const strictJSONParsing = !silentJSONParsing && JSONRequested;
|
|
1633
|
-
|
|
1634
1560
|
try {
|
|
1635
1561
|
return JSON.parse(data, this.parseReviver);
|
|
1636
1562
|
} catch (e) {
|
|
@@ -1642,53 +1568,38 @@ const defaults = {
|
|
|
1642
1568
|
}
|
|
1643
1569
|
}
|
|
1644
1570
|
}
|
|
1645
|
-
|
|
1646
1571
|
return data;
|
|
1647
1572
|
}],
|
|
1648
|
-
|
|
1649
1573
|
/**
|
|
1650
1574
|
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
1651
1575
|
* timeout is not created.
|
|
1652
1576
|
*/
|
|
1653
1577
|
timeout: 0,
|
|
1654
|
-
|
|
1655
1578
|
xsrfCookieName: 'XSRF-TOKEN',
|
|
1656
1579
|
xsrfHeaderName: 'X-XSRF-TOKEN',
|
|
1657
|
-
|
|
1658
1580
|
maxContentLength: -1,
|
|
1659
1581
|
maxBodyLength: -1,
|
|
1660
|
-
|
|
1661
1582
|
env: {
|
|
1662
1583
|
FormData: platform.classes.FormData,
|
|
1663
1584
|
Blob: platform.classes.Blob
|
|
1664
1585
|
},
|
|
1665
|
-
|
|
1666
1586
|
validateStatus: function validateStatus(status) {
|
|
1667
1587
|
return status >= 200 && status < 300;
|
|
1668
1588
|
},
|
|
1669
|
-
|
|
1670
1589
|
headers: {
|
|
1671
1590
|
common: {
|
|
1672
|
-
|
|
1591
|
+
Accept: 'application/json, text/plain, */*',
|
|
1673
1592
|
'Content-Type': undefined
|
|
1674
1593
|
}
|
|
1675
1594
|
}
|
|
1676
1595
|
};
|
|
1677
|
-
|
|
1678
|
-
utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], (method) => {
|
|
1596
|
+
utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch'], method => {
|
|
1679
1597
|
defaults.headers[method] = {};
|
|
1680
1598
|
});
|
|
1681
1599
|
|
|
1682
|
-
const defaults$1 = defaults;
|
|
1683
|
-
|
|
1684
1600
|
// RawAxiosHeaders whose duplicates are ignored by node
|
|
1685
1601
|
// c.f. https://nodejs.org/api/http.html#http_message_headers
|
|
1686
|
-
const ignoreDuplicateOf = utils$1.toObjectSet([
|
|
1687
|
-
'age', 'authorization', 'content-length', 'content-type', 'etag',
|
|
1688
|
-
'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
|
|
1689
|
-
'last-modified', 'location', 'max-forwards', 'proxy-authorization',
|
|
1690
|
-
'referer', 'retry-after', 'user-agent'
|
|
1691
|
-
]);
|
|
1602
|
+
const ignoreDuplicateOf = utils$1.toObjectSet(['age', 'authorization', 'content-length', 'content-type', 'etag', 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since', 'last-modified', 'location', 'max-forwards', 'proxy-authorization', 'referer', 'retry-after', 'user-agent']);
|
|
1692
1603
|
|
|
1693
1604
|
/**
|
|
1694
1605
|
* Parse headers into an object
|
|
@@ -1704,21 +1615,18 @@ const ignoreDuplicateOf = utils$1.toObjectSet([
|
|
|
1704
1615
|
*
|
|
1705
1616
|
* @returns {Object} Headers parsed into an object
|
|
1706
1617
|
*/
|
|
1707
|
-
|
|
1618
|
+
var parseHeaders = rawHeaders => {
|
|
1708
1619
|
const parsed = {};
|
|
1709
1620
|
let key;
|
|
1710
1621
|
let val;
|
|
1711
1622
|
let i;
|
|
1712
|
-
|
|
1713
1623
|
rawHeaders && rawHeaders.split('\n').forEach(function parser(line) {
|
|
1714
1624
|
i = line.indexOf(':');
|
|
1715
1625
|
key = line.substring(0, i).trim().toLowerCase();
|
|
1716
1626
|
val = line.substring(i + 1).trim();
|
|
1717
|
-
|
|
1718
|
-
if (!key || (parsed[key] && ignoreDuplicateOf[key])) {
|
|
1627
|
+
if (!key || parsed[key] && ignoreDuplicateOf[key]) {
|
|
1719
1628
|
return;
|
|
1720
1629
|
}
|
|
1721
|
-
|
|
1722
1630
|
if (key === 'set-cookie') {
|
|
1723
1631
|
if (parsed[key]) {
|
|
1724
1632
|
parsed[key].push(val);
|
|
@@ -1729,320 +1637,242 @@ const parseHeaders = rawHeaders => {
|
|
|
1729
1637
|
parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
|
|
1730
1638
|
}
|
|
1731
1639
|
});
|
|
1732
|
-
|
|
1733
1640
|
return parsed;
|
|
1734
1641
|
};
|
|
1735
1642
|
|
|
1736
1643
|
const $internals = Symbol('internals');
|
|
1737
|
-
|
|
1738
1644
|
function normalizeHeader(header) {
|
|
1739
1645
|
return header && String(header).trim().toLowerCase();
|
|
1740
1646
|
}
|
|
1741
|
-
|
|
1742
1647
|
function normalizeValue(value) {
|
|
1743
1648
|
if (value === false || value == null) {
|
|
1744
1649
|
return value;
|
|
1745
1650
|
}
|
|
1746
|
-
|
|
1747
|
-
return utils$1.isArray(value) ? value.map(normalizeValue) : String(value);
|
|
1651
|
+
return utils$1.isArray(value) ? value.map(normalizeValue) : String(value).replace(/[\r\n]+$/, '');
|
|
1748
1652
|
}
|
|
1749
|
-
|
|
1750
1653
|
function parseTokens(str) {
|
|
1751
1654
|
const tokens = Object.create(null);
|
|
1752
1655
|
const tokensRE = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
1753
1656
|
let match;
|
|
1754
|
-
|
|
1755
|
-
while ((match = tokensRE.exec(str))) {
|
|
1657
|
+
while (match = tokensRE.exec(str)) {
|
|
1756
1658
|
tokens[match[1]] = match[2];
|
|
1757
1659
|
}
|
|
1758
|
-
|
|
1759
1660
|
return tokens;
|
|
1760
1661
|
}
|
|
1761
|
-
|
|
1762
|
-
const isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());
|
|
1763
|
-
|
|
1662
|
+
const isValidHeaderName = str => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());
|
|
1764
1663
|
function matchHeaderValue(context, value, header, filter, isHeaderNameFilter) {
|
|
1765
1664
|
if (utils$1.isFunction(filter)) {
|
|
1766
1665
|
return filter.call(this, value, header);
|
|
1767
1666
|
}
|
|
1768
|
-
|
|
1769
1667
|
if (isHeaderNameFilter) {
|
|
1770
1668
|
value = header;
|
|
1771
1669
|
}
|
|
1772
|
-
|
|
1773
1670
|
if (!utils$1.isString(value)) return;
|
|
1774
|
-
|
|
1775
1671
|
if (utils$1.isString(filter)) {
|
|
1776
1672
|
return value.indexOf(filter) !== -1;
|
|
1777
1673
|
}
|
|
1778
|
-
|
|
1779
1674
|
if (utils$1.isRegExp(filter)) {
|
|
1780
1675
|
return filter.test(value);
|
|
1781
1676
|
}
|
|
1782
1677
|
}
|
|
1783
|
-
|
|
1784
1678
|
function formatHeader(header) {
|
|
1785
|
-
return header.trim()
|
|
1786
|
-
.
|
|
1787
|
-
|
|
1788
|
-
});
|
|
1679
|
+
return header.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (w, char, str) => {
|
|
1680
|
+
return char.toUpperCase() + str;
|
|
1681
|
+
});
|
|
1789
1682
|
}
|
|
1790
|
-
|
|
1791
1683
|
function buildAccessors(obj, header) {
|
|
1792
1684
|
const accessorName = utils$1.toCamelCase(' ' + header);
|
|
1793
|
-
|
|
1794
1685
|
['get', 'set', 'has'].forEach(methodName => {
|
|
1795
1686
|
Object.defineProperty(obj, methodName + accessorName, {
|
|
1796
|
-
value: function(arg1, arg2, arg3) {
|
|
1687
|
+
value: function (arg1, arg2, arg3) {
|
|
1797
1688
|
return this[methodName].call(this, header, arg1, arg2, arg3);
|
|
1798
1689
|
},
|
|
1799
1690
|
configurable: true
|
|
1800
1691
|
});
|
|
1801
1692
|
});
|
|
1802
1693
|
}
|
|
1803
|
-
|
|
1804
1694
|
class AxiosHeaders {
|
|
1805
1695
|
constructor(headers) {
|
|
1806
1696
|
headers && this.set(headers);
|
|
1807
1697
|
}
|
|
1808
|
-
|
|
1809
1698
|
set(header, valueOrRewrite, rewrite) {
|
|
1810
1699
|
const self = this;
|
|
1811
|
-
|
|
1812
1700
|
function setHeader(_value, _header, _rewrite) {
|
|
1813
1701
|
const lHeader = normalizeHeader(_header);
|
|
1814
|
-
|
|
1815
1702
|
if (!lHeader) {
|
|
1816
1703
|
throw new Error('header name must be a non-empty string');
|
|
1817
1704
|
}
|
|
1818
|
-
|
|
1819
1705
|
const key = utils$1.findKey(self, lHeader);
|
|
1820
|
-
|
|
1821
|
-
if(!key || self[key] === undefined || _rewrite === true || (_rewrite === undefined && self[key] !== false)) {
|
|
1706
|
+
if (!key || self[key] === undefined || _rewrite === true || _rewrite === undefined && self[key] !== false) {
|
|
1822
1707
|
self[key || _header] = normalizeValue(_value);
|
|
1823
1708
|
}
|
|
1824
1709
|
}
|
|
1825
|
-
|
|
1826
|
-
const setHeaders = (headers, _rewrite) =>
|
|
1827
|
-
utils$1.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));
|
|
1828
|
-
|
|
1710
|
+
const setHeaders = (headers, _rewrite) => utils$1.forEach(headers, (_value, _header) => setHeader(_value, _header, _rewrite));
|
|
1829
1711
|
if (utils$1.isPlainObject(header) || header instanceof this.constructor) {
|
|
1830
1712
|
setHeaders(header, valueOrRewrite);
|
|
1831
|
-
} else if(utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
1713
|
+
} else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
|
|
1832
1714
|
setHeaders(parseHeaders(header), valueOrRewrite);
|
|
1833
1715
|
} else if (utils$1.isObject(header) && utils$1.isIterable(header)) {
|
|
1834
|
-
let obj = {},
|
|
1716
|
+
let obj = {},
|
|
1717
|
+
dest,
|
|
1718
|
+
key;
|
|
1835
1719
|
for (const entry of header) {
|
|
1836
1720
|
if (!utils$1.isArray(entry)) {
|
|
1837
1721
|
throw TypeError('Object iterator must return a key-value pair');
|
|
1838
1722
|
}
|
|
1839
|
-
|
|
1840
|
-
obj[key = entry[0]] = (dest = obj[key]) ?
|
|
1841
|
-
(utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]]) : entry[1];
|
|
1723
|
+
obj[key = entry[0]] = (dest = obj[key]) ? utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]] : entry[1];
|
|
1842
1724
|
}
|
|
1843
|
-
|
|
1844
1725
|
setHeaders(obj, valueOrRewrite);
|
|
1845
1726
|
} else {
|
|
1846
1727
|
header != null && setHeader(valueOrRewrite, header, rewrite);
|
|
1847
1728
|
}
|
|
1848
|
-
|
|
1849
1729
|
return this;
|
|
1850
1730
|
}
|
|
1851
|
-
|
|
1852
1731
|
get(header, parser) {
|
|
1853
1732
|
header = normalizeHeader(header);
|
|
1854
|
-
|
|
1855
1733
|
if (header) {
|
|
1856
1734
|
const key = utils$1.findKey(this, header);
|
|
1857
|
-
|
|
1858
1735
|
if (key) {
|
|
1859
1736
|
const value = this[key];
|
|
1860
|
-
|
|
1861
1737
|
if (!parser) {
|
|
1862
1738
|
return value;
|
|
1863
1739
|
}
|
|
1864
|
-
|
|
1865
1740
|
if (parser === true) {
|
|
1866
1741
|
return parseTokens(value);
|
|
1867
1742
|
}
|
|
1868
|
-
|
|
1869
1743
|
if (utils$1.isFunction(parser)) {
|
|
1870
1744
|
return parser.call(this, value, key);
|
|
1871
1745
|
}
|
|
1872
|
-
|
|
1873
1746
|
if (utils$1.isRegExp(parser)) {
|
|
1874
1747
|
return parser.exec(value);
|
|
1875
1748
|
}
|
|
1876
|
-
|
|
1877
1749
|
throw new TypeError('parser must be boolean|regexp|function');
|
|
1878
1750
|
}
|
|
1879
1751
|
}
|
|
1880
1752
|
}
|
|
1881
|
-
|
|
1882
1753
|
has(header, matcher) {
|
|
1883
1754
|
header = normalizeHeader(header);
|
|
1884
|
-
|
|
1885
1755
|
if (header) {
|
|
1886
1756
|
const key = utils$1.findKey(this, header);
|
|
1887
|
-
|
|
1888
1757
|
return !!(key && this[key] !== undefined && (!matcher || matchHeaderValue(this, this[key], key, matcher)));
|
|
1889
1758
|
}
|
|
1890
|
-
|
|
1891
1759
|
return false;
|
|
1892
1760
|
}
|
|
1893
|
-
|
|
1894
1761
|
delete(header, matcher) {
|
|
1895
1762
|
const self = this;
|
|
1896
1763
|
let deleted = false;
|
|
1897
|
-
|
|
1898
1764
|
function deleteHeader(_header) {
|
|
1899
1765
|
_header = normalizeHeader(_header);
|
|
1900
|
-
|
|
1901
1766
|
if (_header) {
|
|
1902
1767
|
const key = utils$1.findKey(self, _header);
|
|
1903
|
-
|
|
1904
1768
|
if (key && (!matcher || matchHeaderValue(self, self[key], key, matcher))) {
|
|
1905
1769
|
delete self[key];
|
|
1906
|
-
|
|
1907
1770
|
deleted = true;
|
|
1908
1771
|
}
|
|
1909
1772
|
}
|
|
1910
1773
|
}
|
|
1911
|
-
|
|
1912
1774
|
if (utils$1.isArray(header)) {
|
|
1913
1775
|
header.forEach(deleteHeader);
|
|
1914
1776
|
} else {
|
|
1915
1777
|
deleteHeader(header);
|
|
1916
1778
|
}
|
|
1917
|
-
|
|
1918
1779
|
return deleted;
|
|
1919
1780
|
}
|
|
1920
|
-
|
|
1921
1781
|
clear(matcher) {
|
|
1922
1782
|
const keys = Object.keys(this);
|
|
1923
1783
|
let i = keys.length;
|
|
1924
1784
|
let deleted = false;
|
|
1925
|
-
|
|
1926
1785
|
while (i--) {
|
|
1927
1786
|
const key = keys[i];
|
|
1928
|
-
if(!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
|
|
1787
|
+
if (!matcher || matchHeaderValue(this, this[key], key, matcher, true)) {
|
|
1929
1788
|
delete this[key];
|
|
1930
1789
|
deleted = true;
|
|
1931
1790
|
}
|
|
1932
1791
|
}
|
|
1933
|
-
|
|
1934
1792
|
return deleted;
|
|
1935
1793
|
}
|
|
1936
|
-
|
|
1937
1794
|
normalize(format) {
|
|
1938
1795
|
const self = this;
|
|
1939
1796
|
const headers = {};
|
|
1940
|
-
|
|
1941
1797
|
utils$1.forEach(this, (value, header) => {
|
|
1942
1798
|
const key = utils$1.findKey(headers, header);
|
|
1943
|
-
|
|
1944
1799
|
if (key) {
|
|
1945
1800
|
self[key] = normalizeValue(value);
|
|
1946
1801
|
delete self[header];
|
|
1947
1802
|
return;
|
|
1948
1803
|
}
|
|
1949
|
-
|
|
1950
1804
|
const normalized = format ? formatHeader(header) : String(header).trim();
|
|
1951
|
-
|
|
1952
1805
|
if (normalized !== header) {
|
|
1953
1806
|
delete self[header];
|
|
1954
1807
|
}
|
|
1955
|
-
|
|
1956
1808
|
self[normalized] = normalizeValue(value);
|
|
1957
|
-
|
|
1958
1809
|
headers[normalized] = true;
|
|
1959
1810
|
});
|
|
1960
|
-
|
|
1961
1811
|
return this;
|
|
1962
1812
|
}
|
|
1963
|
-
|
|
1964
1813
|
concat(...targets) {
|
|
1965
1814
|
return this.constructor.concat(this, ...targets);
|
|
1966
1815
|
}
|
|
1967
|
-
|
|
1968
1816
|
toJSON(asStrings) {
|
|
1969
1817
|
const obj = Object.create(null);
|
|
1970
|
-
|
|
1971
1818
|
utils$1.forEach(this, (value, header) => {
|
|
1972
1819
|
value != null && value !== false && (obj[header] = asStrings && utils$1.isArray(value) ? value.join(', ') : value);
|
|
1973
1820
|
});
|
|
1974
|
-
|
|
1975
1821
|
return obj;
|
|
1976
1822
|
}
|
|
1977
|
-
|
|
1978
1823
|
[Symbol.iterator]() {
|
|
1979
1824
|
return Object.entries(this.toJSON())[Symbol.iterator]();
|
|
1980
1825
|
}
|
|
1981
|
-
|
|
1982
1826
|
toString() {
|
|
1983
1827
|
return Object.entries(this.toJSON()).map(([header, value]) => header + ': ' + value).join('\n');
|
|
1984
1828
|
}
|
|
1985
|
-
|
|
1986
1829
|
getSetCookie() {
|
|
1987
|
-
return this.get(
|
|
1830
|
+
return this.get('set-cookie') || [];
|
|
1988
1831
|
}
|
|
1989
|
-
|
|
1990
1832
|
get [Symbol.toStringTag]() {
|
|
1991
1833
|
return 'AxiosHeaders';
|
|
1992
1834
|
}
|
|
1993
|
-
|
|
1994
1835
|
static from(thing) {
|
|
1995
1836
|
return thing instanceof this ? thing : new this(thing);
|
|
1996
1837
|
}
|
|
1997
|
-
|
|
1998
1838
|
static concat(first, ...targets) {
|
|
1999
1839
|
const computed = new this(first);
|
|
2000
|
-
|
|
2001
|
-
targets.forEach((target) => computed.set(target));
|
|
2002
|
-
|
|
1840
|
+
targets.forEach(target => computed.set(target));
|
|
2003
1841
|
return computed;
|
|
2004
1842
|
}
|
|
2005
|
-
|
|
2006
1843
|
static accessor(header) {
|
|
2007
|
-
const internals = this[$internals] =
|
|
1844
|
+
const internals = this[$internals] = this[$internals] = {
|
|
2008
1845
|
accessors: {}
|
|
2009
|
-
}
|
|
2010
|
-
|
|
1846
|
+
};
|
|
2011
1847
|
const accessors = internals.accessors;
|
|
2012
1848
|
const prototype = this.prototype;
|
|
2013
|
-
|
|
2014
1849
|
function defineAccessor(_header) {
|
|
2015
1850
|
const lHeader = normalizeHeader(_header);
|
|
2016
|
-
|
|
2017
1851
|
if (!accessors[lHeader]) {
|
|
2018
1852
|
buildAccessors(prototype, _header);
|
|
2019
1853
|
accessors[lHeader] = true;
|
|
2020
1854
|
}
|
|
2021
1855
|
}
|
|
2022
|
-
|
|
2023
1856
|
utils$1.isArray(header) ? header.forEach(defineAccessor) : defineAccessor(header);
|
|
2024
|
-
|
|
2025
1857
|
return this;
|
|
2026
1858
|
}
|
|
2027
1859
|
}
|
|
2028
|
-
|
|
2029
1860
|
AxiosHeaders.accessor(['Content-Type', 'Content-Length', 'Accept', 'Accept-Encoding', 'User-Agent', 'Authorization']);
|
|
2030
1861
|
|
|
2031
1862
|
// reserved names hotfix
|
|
2032
|
-
utils$1.reduceDescriptors(AxiosHeaders.prototype, ({
|
|
1863
|
+
utils$1.reduceDescriptors(AxiosHeaders.prototype, ({
|
|
1864
|
+
value
|
|
1865
|
+
}, key) => {
|
|
2033
1866
|
let mapped = key[0].toUpperCase() + key.slice(1); // map `set` => `Set`
|
|
2034
1867
|
return {
|
|
2035
1868
|
get: () => value,
|
|
2036
1869
|
set(headerValue) {
|
|
2037
1870
|
this[mapped] = headerValue;
|
|
2038
1871
|
}
|
|
2039
|
-
}
|
|
1872
|
+
};
|
|
2040
1873
|
});
|
|
2041
|
-
|
|
2042
1874
|
utils$1.freezeMethods(AxiosHeaders);
|
|
2043
1875
|
|
|
2044
|
-
const AxiosHeaders$1 = AxiosHeaders;
|
|
2045
|
-
|
|
2046
1876
|
/**
|
|
2047
1877
|
* Transform the data for a request or a response
|
|
2048
1878
|
*
|
|
@@ -2052,17 +1882,14 @@ const AxiosHeaders$1 = AxiosHeaders;
|
|
|
2052
1882
|
* @returns {*} The resulting transformed data
|
|
2053
1883
|
*/
|
|
2054
1884
|
function transformData(fns, response) {
|
|
2055
|
-
const config = this || defaults
|
|
1885
|
+
const config = this || defaults;
|
|
2056
1886
|
const context = response || config;
|
|
2057
|
-
const headers = AxiosHeaders
|
|
1887
|
+
const headers = AxiosHeaders.from(context.headers);
|
|
2058
1888
|
let data = context.data;
|
|
2059
|
-
|
|
2060
1889
|
utils$1.forEach(fns, function transform(fn) {
|
|
2061
1890
|
data = fn.call(config, data, headers.normalize(), response ? response.status : undefined);
|
|
2062
1891
|
});
|
|
2063
|
-
|
|
2064
1892
|
headers.normalize();
|
|
2065
|
-
|
|
2066
1893
|
return data;
|
|
2067
1894
|
}
|
|
2068
1895
|
|
|
@@ -2070,25 +1897,23 @@ function isCancel(value) {
|
|
|
2070
1897
|
return !!(value && value.__CANCEL__);
|
|
2071
1898
|
}
|
|
2072
1899
|
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
1900
|
+
class CanceledError extends AxiosError {
|
|
1901
|
+
/**
|
|
1902
|
+
* A `CanceledError` is an object that is thrown when an operation is canceled.
|
|
1903
|
+
*
|
|
1904
|
+
* @param {string=} message The message.
|
|
1905
|
+
* @param {Object=} config The config.
|
|
1906
|
+
* @param {Object=} request The request.
|
|
1907
|
+
*
|
|
1908
|
+
* @returns {CanceledError} The created error.
|
|
1909
|
+
*/
|
|
1910
|
+
constructor(message, config, request) {
|
|
1911
|
+
super(message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request);
|
|
1912
|
+
this.name = 'CanceledError';
|
|
1913
|
+
this.__CANCEL__ = true;
|
|
1914
|
+
}
|
|
2086
1915
|
}
|
|
2087
1916
|
|
|
2088
|
-
utils$1.inherits(CanceledError, AxiosError, {
|
|
2089
|
-
__CANCEL__: true
|
|
2090
|
-
});
|
|
2091
|
-
|
|
2092
1917
|
/**
|
|
2093
1918
|
* Resolve or reject a Promise based on response status.
|
|
2094
1919
|
*
|
|
@@ -2103,13 +1928,7 @@ function settle(resolve, reject, response) {
|
|
|
2103
1928
|
if (!response.status || !validateStatus || validateStatus(response.status)) {
|
|
2104
1929
|
resolve(response);
|
|
2105
1930
|
} else {
|
|
2106
|
-
reject(new AxiosError(
|
|
2107
|
-
'Request failed with status code ' + response.status,
|
|
2108
|
-
[AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4],
|
|
2109
|
-
response.config,
|
|
2110
|
-
response.request,
|
|
2111
|
-
response
|
|
2112
|
-
));
|
|
1931
|
+
reject(new AxiosError('Request failed with status code ' + response.status, [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4], response.config, response.request, response));
|
|
2113
1932
|
}
|
|
2114
1933
|
}
|
|
2115
1934
|
|
|
@@ -2124,6 +1943,9 @@ function isAbsoluteURL(url) {
|
|
|
2124
1943
|
// A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
|
|
2125
1944
|
// RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
|
|
2126
1945
|
// by any combination of letters, digits, plus, period, or hyphen.
|
|
1946
|
+
if (typeof url !== 'string') {
|
|
1947
|
+
return false;
|
|
1948
|
+
}
|
|
2127
1949
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
|
|
2128
1950
|
}
|
|
2129
1951
|
|
|
@@ -2136,9 +1958,7 @@ function isAbsoluteURL(url) {
|
|
|
2136
1958
|
* @returns {string} The combined URL
|
|
2137
1959
|
*/
|
|
2138
1960
|
function combineURLs(baseURL, relativeURL) {
|
|
2139
|
-
return relativeURL
|
|
2140
|
-
? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '')
|
|
2141
|
-
: baseURL;
|
|
1961
|
+
return relativeURL ? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '') : baseURL;
|
|
2142
1962
|
}
|
|
2143
1963
|
|
|
2144
1964
|
/**
|
|
@@ -2159,7 +1979,103 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
|
|
|
2159
1979
|
return requestedURL;
|
|
2160
1980
|
}
|
|
2161
1981
|
|
|
2162
|
-
|
|
1982
|
+
var DEFAULT_PORTS = {
|
|
1983
|
+
ftp: 21,
|
|
1984
|
+
gopher: 70,
|
|
1985
|
+
http: 80,
|
|
1986
|
+
https: 443,
|
|
1987
|
+
ws: 80,
|
|
1988
|
+
wss: 443
|
|
1989
|
+
};
|
|
1990
|
+
function parseUrl(urlString) {
|
|
1991
|
+
try {
|
|
1992
|
+
return new URL(urlString);
|
|
1993
|
+
} catch {
|
|
1994
|
+
return null;
|
|
1995
|
+
}
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
/**
|
|
1999
|
+
* @param {string|object|URL} url - The URL as a string or URL instance, or a
|
|
2000
|
+
* compatible object (such as the result from legacy url.parse).
|
|
2001
|
+
* @return {string} The URL of the proxy that should handle the request to the
|
|
2002
|
+
* given URL. If no proxy is set, this will be an empty string.
|
|
2003
|
+
*/
|
|
2004
|
+
function getProxyForUrl(url) {
|
|
2005
|
+
var parsedUrl = (typeof url === 'string' ? parseUrl(url) : url) || {};
|
|
2006
|
+
var proto = parsedUrl.protocol;
|
|
2007
|
+
var hostname = parsedUrl.host;
|
|
2008
|
+
var port = parsedUrl.port;
|
|
2009
|
+
if (typeof hostname !== 'string' || !hostname || typeof proto !== 'string') {
|
|
2010
|
+
return ''; // Don't proxy URLs without a valid scheme or host.
|
|
2011
|
+
}
|
|
2012
|
+
proto = proto.split(':', 1)[0];
|
|
2013
|
+
// Stripping ports in this way instead of using parsedUrl.hostname to make
|
|
2014
|
+
// sure that the brackets around IPv6 addresses are kept.
|
|
2015
|
+
hostname = hostname.replace(/:\d*$/, '');
|
|
2016
|
+
port = parseInt(port) || DEFAULT_PORTS[proto] || 0;
|
|
2017
|
+
if (!shouldProxy(hostname, port)) {
|
|
2018
|
+
return ''; // Don't proxy URLs that match NO_PROXY.
|
|
2019
|
+
}
|
|
2020
|
+
var proxy = getEnv(proto + '_proxy') || getEnv('all_proxy');
|
|
2021
|
+
if (proxy && proxy.indexOf('://') === -1) {
|
|
2022
|
+
// Missing scheme in proxy, default to the requested URL's scheme.
|
|
2023
|
+
proxy = proto + '://' + proxy;
|
|
2024
|
+
}
|
|
2025
|
+
return proxy;
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2028
|
+
/**
|
|
2029
|
+
* Determines whether a given URL should be proxied.
|
|
2030
|
+
*
|
|
2031
|
+
* @param {string} hostname - The host name of the URL.
|
|
2032
|
+
* @param {number} port - The effective port of the URL.
|
|
2033
|
+
* @returns {boolean} Whether the given URL should be proxied.
|
|
2034
|
+
* @private
|
|
2035
|
+
*/
|
|
2036
|
+
function shouldProxy(hostname, port) {
|
|
2037
|
+
var NO_PROXY = getEnv('no_proxy').toLowerCase();
|
|
2038
|
+
if (!NO_PROXY) {
|
|
2039
|
+
return true; // Always proxy if NO_PROXY is not set.
|
|
2040
|
+
}
|
|
2041
|
+
if (NO_PROXY === '*') {
|
|
2042
|
+
return false; // Never proxy if wildcard is set.
|
|
2043
|
+
}
|
|
2044
|
+
return NO_PROXY.split(/[,\s]/).every(function (proxy) {
|
|
2045
|
+
if (!proxy) {
|
|
2046
|
+
return true; // Skip zero-length hosts.
|
|
2047
|
+
}
|
|
2048
|
+
var parsedProxy = proxy.match(/^(.+):(\d+)$/);
|
|
2049
|
+
var parsedProxyHostname = parsedProxy ? parsedProxy[1] : proxy;
|
|
2050
|
+
var parsedProxyPort = parsedProxy ? parseInt(parsedProxy[2]) : 0;
|
|
2051
|
+
if (parsedProxyPort && parsedProxyPort !== port) {
|
|
2052
|
+
return true; // Skip if ports don't match.
|
|
2053
|
+
}
|
|
2054
|
+
if (!/^[.*]/.test(parsedProxyHostname)) {
|
|
2055
|
+
// No wildcards, so stop proxying if there is an exact match.
|
|
2056
|
+
return hostname !== parsedProxyHostname;
|
|
2057
|
+
}
|
|
2058
|
+
if (parsedProxyHostname.charAt(0) === '*') {
|
|
2059
|
+
// Remove leading wildcard.
|
|
2060
|
+
parsedProxyHostname = parsedProxyHostname.slice(1);
|
|
2061
|
+
}
|
|
2062
|
+
// Stop proxying if the hostname ends with the no_proxy host.
|
|
2063
|
+
return !hostname.endsWith(parsedProxyHostname);
|
|
2064
|
+
});
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
/**
|
|
2068
|
+
* Get the value for an environment variable.
|
|
2069
|
+
*
|
|
2070
|
+
* @param {string} key - The name of the environment variable.
|
|
2071
|
+
* @return {string} The value of the environment variable.
|
|
2072
|
+
* @private
|
|
2073
|
+
*/
|
|
2074
|
+
function getEnv(key) {
|
|
2075
|
+
return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || '';
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
const VERSION = "1.14.0";
|
|
2163
2079
|
|
|
2164
2080
|
function parseProtocol(url) {
|
|
2165
2081
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
|
@@ -2181,42 +2097,34 @@ const DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|
|
2181
2097
|
function fromDataURI(uri, asBlob, options) {
|
|
2182
2098
|
const _Blob = options && options.Blob || platform.classes.Blob;
|
|
2183
2099
|
const protocol = parseProtocol(uri);
|
|
2184
|
-
|
|
2185
2100
|
if (asBlob === undefined && _Blob) {
|
|
2186
2101
|
asBlob = true;
|
|
2187
2102
|
}
|
|
2188
|
-
|
|
2189
2103
|
if (protocol === 'data') {
|
|
2190
2104
|
uri = protocol.length ? uri.slice(protocol.length + 1) : uri;
|
|
2191
|
-
|
|
2192
2105
|
const match = DATA_URL_PATTERN.exec(uri);
|
|
2193
|
-
|
|
2194
2106
|
if (!match) {
|
|
2195
2107
|
throw new AxiosError('Invalid URL', AxiosError.ERR_INVALID_URL);
|
|
2196
2108
|
}
|
|
2197
|
-
|
|
2198
2109
|
const mime = match[1];
|
|
2199
2110
|
const isBase64 = match[2];
|
|
2200
2111
|
const body = match[3];
|
|
2201
2112
|
const buffer = Buffer.from(decodeURIComponent(body), isBase64 ? 'base64' : 'utf8');
|
|
2202
|
-
|
|
2203
2113
|
if (asBlob) {
|
|
2204
2114
|
if (!_Blob) {
|
|
2205
2115
|
throw new AxiosError('Blob is not supported', AxiosError.ERR_NOT_SUPPORT);
|
|
2206
2116
|
}
|
|
2207
|
-
|
|
2208
|
-
|
|
2117
|
+
return new _Blob([buffer], {
|
|
2118
|
+
type: mime
|
|
2119
|
+
});
|
|
2209
2120
|
}
|
|
2210
|
-
|
|
2211
2121
|
return buffer;
|
|
2212
2122
|
}
|
|
2213
|
-
|
|
2214
2123
|
throw new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_NOT_SUPPORT);
|
|
2215
2124
|
}
|
|
2216
2125
|
|
|
2217
2126
|
const kInternals = Symbol('internals');
|
|
2218
|
-
|
|
2219
|
-
class AxiosTransformStream extends stream__default["default"].Transform{
|
|
2127
|
+
class AxiosTransformStream extends stream.Transform {
|
|
2220
2128
|
constructor(options) {
|
|
2221
2129
|
options = utils$1.toFlatObject(options, {
|
|
2222
2130
|
maxRate: 0,
|
|
@@ -2228,11 +2136,9 @@ class AxiosTransformStream extends stream__default["default"].Transform{
|
|
|
2228
2136
|
}, null, (prop, source) => {
|
|
2229
2137
|
return !utils$1.isUndefined(source[prop]);
|
|
2230
2138
|
});
|
|
2231
|
-
|
|
2232
2139
|
super({
|
|
2233
2140
|
readableHighWaterMark: options.chunkSize
|
|
2234
2141
|
});
|
|
2235
|
-
|
|
2236
2142
|
const internals = this[kInternals] = {
|
|
2237
2143
|
timeWindow: options.timeWindow,
|
|
2238
2144
|
chunkSize: options.chunkSize,
|
|
@@ -2245,7 +2151,6 @@ class AxiosTransformStream extends stream__default["default"].Transform{
|
|
|
2245
2151
|
bytes: 0,
|
|
2246
2152
|
onReadCallback: null
|
|
2247
2153
|
};
|
|
2248
|
-
|
|
2249
2154
|
this.on('newListener', event => {
|
|
2250
2155
|
if (event === 'progress') {
|
|
2251
2156
|
if (!internals.isCaptured) {
|
|
@@ -2254,36 +2159,26 @@ class AxiosTransformStream extends stream__default["default"].Transform{
|
|
|
2254
2159
|
}
|
|
2255
2160
|
});
|
|
2256
2161
|
}
|
|
2257
|
-
|
|
2258
2162
|
_read(size) {
|
|
2259
2163
|
const internals = this[kInternals];
|
|
2260
|
-
|
|
2261
2164
|
if (internals.onReadCallback) {
|
|
2262
2165
|
internals.onReadCallback();
|
|
2263
2166
|
}
|
|
2264
|
-
|
|
2265
2167
|
return super._read(size);
|
|
2266
2168
|
}
|
|
2267
|
-
|
|
2268
2169
|
_transform(chunk, encoding, callback) {
|
|
2269
2170
|
const internals = this[kInternals];
|
|
2270
2171
|
const maxRate = internals.maxRate;
|
|
2271
|
-
|
|
2272
2172
|
const readableHighWaterMark = this.readableHighWaterMark;
|
|
2273
|
-
|
|
2274
2173
|
const timeWindow = internals.timeWindow;
|
|
2275
|
-
|
|
2276
2174
|
const divider = 1000 / timeWindow;
|
|
2277
|
-
const bytesThreshold =
|
|
2175
|
+
const bytesThreshold = maxRate / divider;
|
|
2278
2176
|
const minChunkSize = internals.minChunkSize !== false ? Math.max(internals.minChunkSize, bytesThreshold * 0.01) : 0;
|
|
2279
|
-
|
|
2280
2177
|
const pushChunk = (_chunk, _callback) => {
|
|
2281
2178
|
const bytes = Buffer.byteLength(_chunk);
|
|
2282
2179
|
internals.bytesSeen += bytes;
|
|
2283
2180
|
internals.bytes += bytes;
|
|
2284
|
-
|
|
2285
2181
|
internals.isCaptured && this.emit('progress', internals.bytesSeen);
|
|
2286
|
-
|
|
2287
2182
|
if (this.push(_chunk)) {
|
|
2288
2183
|
process.nextTick(_callback);
|
|
2289
2184
|
} else {
|
|
@@ -2293,27 +2188,22 @@ class AxiosTransformStream extends stream__default["default"].Transform{
|
|
|
2293
2188
|
};
|
|
2294
2189
|
}
|
|
2295
2190
|
};
|
|
2296
|
-
|
|
2297
2191
|
const transformChunk = (_chunk, _callback) => {
|
|
2298
2192
|
const chunkSize = Buffer.byteLength(_chunk);
|
|
2299
2193
|
let chunkRemainder = null;
|
|
2300
2194
|
let maxChunkSize = readableHighWaterMark;
|
|
2301
2195
|
let bytesLeft;
|
|
2302
2196
|
let passed = 0;
|
|
2303
|
-
|
|
2304
2197
|
if (maxRate) {
|
|
2305
2198
|
const now = Date.now();
|
|
2306
|
-
|
|
2307
|
-
if (!internals.ts || (passed = (now - internals.ts)) >= timeWindow) {
|
|
2199
|
+
if (!internals.ts || (passed = now - internals.ts) >= timeWindow) {
|
|
2308
2200
|
internals.ts = now;
|
|
2309
2201
|
bytesLeft = bytesThreshold - internals.bytes;
|
|
2310
2202
|
internals.bytes = bytesLeft < 0 ? -bytesLeft : 0;
|
|
2311
2203
|
passed = 0;
|
|
2312
2204
|
}
|
|
2313
|
-
|
|
2314
2205
|
bytesLeft = bytesThreshold - internals.bytes;
|
|
2315
2206
|
}
|
|
2316
|
-
|
|
2317
2207
|
if (maxRate) {
|
|
2318
2208
|
if (bytesLeft <= 0) {
|
|
2319
2209
|
// next time window
|
|
@@ -2321,27 +2211,22 @@ class AxiosTransformStream extends stream__default["default"].Transform{
|
|
|
2321
2211
|
_callback(null, _chunk);
|
|
2322
2212
|
}, timeWindow - passed);
|
|
2323
2213
|
}
|
|
2324
|
-
|
|
2325
2214
|
if (bytesLeft < maxChunkSize) {
|
|
2326
2215
|
maxChunkSize = bytesLeft;
|
|
2327
2216
|
}
|
|
2328
2217
|
}
|
|
2329
|
-
|
|
2330
|
-
if (maxChunkSize && chunkSize > maxChunkSize && (chunkSize - maxChunkSize) > minChunkSize) {
|
|
2218
|
+
if (maxChunkSize && chunkSize > maxChunkSize && chunkSize - maxChunkSize > minChunkSize) {
|
|
2331
2219
|
chunkRemainder = _chunk.subarray(maxChunkSize);
|
|
2332
2220
|
_chunk = _chunk.subarray(0, maxChunkSize);
|
|
2333
2221
|
}
|
|
2334
|
-
|
|
2335
2222
|
pushChunk(_chunk, chunkRemainder ? () => {
|
|
2336
2223
|
process.nextTick(_callback, null, chunkRemainder);
|
|
2337
2224
|
} : _callback);
|
|
2338
2225
|
};
|
|
2339
|
-
|
|
2340
2226
|
transformChunk(chunk, function transformNextChunk(err, _chunk) {
|
|
2341
2227
|
if (err) {
|
|
2342
2228
|
return callback(err);
|
|
2343
2229
|
}
|
|
2344
|
-
|
|
2345
2230
|
if (_chunk) {
|
|
2346
2231
|
transformChunk(_chunk, transformNextChunk);
|
|
2347
2232
|
} else {
|
|
@@ -2351,10 +2236,9 @@ class AxiosTransformStream extends stream__default["default"].Transform{
|
|
|
2351
2236
|
}
|
|
2352
2237
|
}
|
|
2353
2238
|
|
|
2354
|
-
const
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2239
|
+
const {
|
|
2240
|
+
asyncIterator
|
|
2241
|
+
} = Symbol;
|
|
2358
2242
|
const readBlob = async function* (blob) {
|
|
2359
2243
|
if (blob.stream) {
|
|
2360
2244
|
yield* blob.stream();
|
|
@@ -2367,144 +2251,113 @@ const readBlob = async function* (blob) {
|
|
|
2367
2251
|
}
|
|
2368
2252
|
};
|
|
2369
2253
|
|
|
2370
|
-
const readBlob$1 = readBlob;
|
|
2371
|
-
|
|
2372
2254
|
const BOUNDARY_ALPHABET = platform.ALPHABET.ALPHA_DIGIT + '-_';
|
|
2373
|
-
|
|
2374
|
-
const textEncoder = typeof TextEncoder === 'function' ? new TextEncoder() : new util__default["default"].TextEncoder();
|
|
2375
|
-
|
|
2255
|
+
const textEncoder = typeof TextEncoder === 'function' ? new TextEncoder() : new util.TextEncoder();
|
|
2376
2256
|
const CRLF = '\r\n';
|
|
2377
2257
|
const CRLF_BYTES = textEncoder.encode(CRLF);
|
|
2378
2258
|
const CRLF_BYTES_COUNT = 2;
|
|
2379
|
-
|
|
2380
2259
|
class FormDataPart {
|
|
2381
2260
|
constructor(name, value) {
|
|
2382
|
-
const {
|
|
2261
|
+
const {
|
|
2262
|
+
escapeName
|
|
2263
|
+
} = this.constructor;
|
|
2383
2264
|
const isStringValue = utils$1.isString(value);
|
|
2384
|
-
|
|
2385
|
-
let headers = `Content-Disposition: form-data; name="${escapeName(name)}"${
|
|
2386
|
-
!isStringValue && value.name ? `; filename="${escapeName(value.name)}"` : ''
|
|
2387
|
-
}${CRLF}`;
|
|
2388
|
-
|
|
2265
|
+
let headers = `Content-Disposition: form-data; name="${escapeName(name)}"${!isStringValue && value.name ? `; filename="${escapeName(value.name)}"` : ''}${CRLF}`;
|
|
2389
2266
|
if (isStringValue) {
|
|
2390
2267
|
value = textEncoder.encode(String(value).replace(/\r?\n|\r\n?/g, CRLF));
|
|
2391
2268
|
} else {
|
|
2392
|
-
headers += `Content-Type: ${value.type ||
|
|
2269
|
+
headers += `Content-Type: ${value.type || 'application/octet-stream'}${CRLF}`;
|
|
2393
2270
|
}
|
|
2394
|
-
|
|
2395
2271
|
this.headers = textEncoder.encode(headers + CRLF);
|
|
2396
|
-
|
|
2397
2272
|
this.contentLength = isStringValue ? value.byteLength : value.size;
|
|
2398
|
-
|
|
2399
2273
|
this.size = this.headers.byteLength + this.contentLength + CRLF_BYTES_COUNT;
|
|
2400
|
-
|
|
2401
2274
|
this.name = name;
|
|
2402
2275
|
this.value = value;
|
|
2403
2276
|
}
|
|
2404
|
-
|
|
2405
|
-
async *encode(){
|
|
2277
|
+
async *encode() {
|
|
2406
2278
|
yield this.headers;
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
if(utils$1.isTypedArray(value)) {
|
|
2279
|
+
const {
|
|
2280
|
+
value
|
|
2281
|
+
} = this;
|
|
2282
|
+
if (utils$1.isTypedArray(value)) {
|
|
2411
2283
|
yield value;
|
|
2412
2284
|
} else {
|
|
2413
|
-
yield* readBlob
|
|
2285
|
+
yield* readBlob(value);
|
|
2414
2286
|
}
|
|
2415
|
-
|
|
2416
2287
|
yield CRLF_BYTES;
|
|
2417
2288
|
}
|
|
2418
|
-
|
|
2419
2289
|
static escapeName(name) {
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2290
|
+
return String(name).replace(/[\r\n"]/g, match => ({
|
|
2291
|
+
'\r': '%0D',
|
|
2292
|
+
'\n': '%0A',
|
|
2293
|
+
'"': '%22'
|
|
2294
|
+
})[match]);
|
|
2425
2295
|
}
|
|
2426
2296
|
}
|
|
2427
|
-
|
|
2428
2297
|
const formDataToStream = (form, headersHandler, options) => {
|
|
2429
2298
|
const {
|
|
2430
2299
|
tag = 'form-data-boundary',
|
|
2431
2300
|
size = 25,
|
|
2432
2301
|
boundary = tag + '-' + platform.generateString(size, BOUNDARY_ALPHABET)
|
|
2433
2302
|
} = options || {};
|
|
2434
|
-
|
|
2435
|
-
if(!utils$1.isFormData(form)) {
|
|
2303
|
+
if (!utils$1.isFormData(form)) {
|
|
2436
2304
|
throw TypeError('FormData instance required');
|
|
2437
2305
|
}
|
|
2438
|
-
|
|
2439
2306
|
if (boundary.length < 1 || boundary.length > 70) {
|
|
2440
|
-
throw Error('boundary must be 10-70 characters long')
|
|
2307
|
+
throw Error('boundary must be 10-70 characters long');
|
|
2441
2308
|
}
|
|
2442
|
-
|
|
2443
2309
|
const boundaryBytes = textEncoder.encode('--' + boundary + CRLF);
|
|
2444
2310
|
const footerBytes = textEncoder.encode('--' + boundary + '--' + CRLF);
|
|
2445
2311
|
let contentLength = footerBytes.byteLength;
|
|
2446
|
-
|
|
2447
2312
|
const parts = Array.from(form.entries()).map(([name, value]) => {
|
|
2448
2313
|
const part = new FormDataPart(name, value);
|
|
2449
2314
|
contentLength += part.size;
|
|
2450
2315
|
return part;
|
|
2451
2316
|
});
|
|
2452
|
-
|
|
2453
2317
|
contentLength += boundaryBytes.byteLength * parts.length;
|
|
2454
|
-
|
|
2455
2318
|
contentLength = utils$1.toFiniteNumber(contentLength);
|
|
2456
|
-
|
|
2457
2319
|
const computedHeaders = {
|
|
2458
2320
|
'Content-Type': `multipart/form-data; boundary=${boundary}`
|
|
2459
2321
|
};
|
|
2460
|
-
|
|
2461
2322
|
if (Number.isFinite(contentLength)) {
|
|
2462
2323
|
computedHeaders['Content-Length'] = contentLength;
|
|
2463
2324
|
}
|
|
2464
|
-
|
|
2465
2325
|
headersHandler && headersHandler(computedHeaders);
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
for(const part of parts) {
|
|
2326
|
+
return stream.Readable.from(async function* () {
|
|
2327
|
+
for (const part of parts) {
|
|
2469
2328
|
yield boundaryBytes;
|
|
2470
2329
|
yield* part.encode();
|
|
2471
2330
|
}
|
|
2472
|
-
|
|
2473
2331
|
yield footerBytes;
|
|
2474
|
-
}
|
|
2332
|
+
}());
|
|
2475
2333
|
};
|
|
2476
2334
|
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
class ZlibHeaderTransformStream extends stream__default["default"].Transform {
|
|
2335
|
+
class ZlibHeaderTransformStream extends stream.Transform {
|
|
2480
2336
|
__transform(chunk, encoding, callback) {
|
|
2481
2337
|
this.push(chunk);
|
|
2482
2338
|
callback();
|
|
2483
2339
|
}
|
|
2484
|
-
|
|
2485
2340
|
_transform(chunk, encoding, callback) {
|
|
2486
2341
|
if (chunk.length !== 0) {
|
|
2487
2342
|
this._transform = this.__transform;
|
|
2488
2343
|
|
|
2489
2344
|
// Add Default Compression headers if no zlib headers are present
|
|
2490
|
-
if (chunk[0] !== 120) {
|
|
2345
|
+
if (chunk[0] !== 120) {
|
|
2346
|
+
// Hex: 78
|
|
2491
2347
|
const header = Buffer.alloc(2);
|
|
2492
2348
|
header[0] = 120; // Hex: 78
|
|
2493
|
-
header[1] = 156; // Hex: 9C
|
|
2349
|
+
header[1] = 156; // Hex: 9C
|
|
2494
2350
|
this.push(header, encoding);
|
|
2495
2351
|
}
|
|
2496
2352
|
}
|
|
2497
|
-
|
|
2498
2353
|
this.__transform(chunk, encoding, callback);
|
|
2499
2354
|
}
|
|
2500
2355
|
}
|
|
2501
2356
|
|
|
2502
|
-
const ZlibHeaderTransformStream$1 = ZlibHeaderTransformStream;
|
|
2503
|
-
|
|
2504
2357
|
const callbackify = (fn, reducer) => {
|
|
2505
2358
|
return utils$1.isAsyncFn(fn) ? function (...args) {
|
|
2506
2359
|
const cb = args.pop();
|
|
2507
|
-
fn.apply(this, args).then(
|
|
2360
|
+
fn.apply(this, args).then(value => {
|
|
2508
2361
|
try {
|
|
2509
2362
|
reducer ? cb(null, ...reducer(value)) : cb(null, value);
|
|
2510
2363
|
} catch (err) {
|
|
@@ -2514,8 +2367,6 @@ const callbackify = (fn, reducer) => {
|
|
|
2514
2367
|
} : fn;
|
|
2515
2368
|
};
|
|
2516
2369
|
|
|
2517
|
-
const callbackify$1 = callbackify;
|
|
2518
|
-
|
|
2519
2370
|
/**
|
|
2520
2371
|
* Calculate data maxRate
|
|
2521
2372
|
* @param {Number} [samplesCount= 10]
|
|
@@ -2529,41 +2380,29 @@ function speedometer(samplesCount, min) {
|
|
|
2529
2380
|
let head = 0;
|
|
2530
2381
|
let tail = 0;
|
|
2531
2382
|
let firstSampleTS;
|
|
2532
|
-
|
|
2533
2383
|
min = min !== undefined ? min : 1000;
|
|
2534
|
-
|
|
2535
2384
|
return function push(chunkLength) {
|
|
2536
2385
|
const now = Date.now();
|
|
2537
|
-
|
|
2538
2386
|
const startedAt = timestamps[tail];
|
|
2539
|
-
|
|
2540
2387
|
if (!firstSampleTS) {
|
|
2541
2388
|
firstSampleTS = now;
|
|
2542
2389
|
}
|
|
2543
|
-
|
|
2544
2390
|
bytes[head] = chunkLength;
|
|
2545
2391
|
timestamps[head] = now;
|
|
2546
|
-
|
|
2547
2392
|
let i = tail;
|
|
2548
2393
|
let bytesCount = 0;
|
|
2549
|
-
|
|
2550
2394
|
while (i !== head) {
|
|
2551
2395
|
bytesCount += bytes[i++];
|
|
2552
2396
|
i = i % samplesCount;
|
|
2553
2397
|
}
|
|
2554
|
-
|
|
2555
2398
|
head = (head + 1) % samplesCount;
|
|
2556
|
-
|
|
2557
2399
|
if (head === tail) {
|
|
2558
2400
|
tail = (tail + 1) % samplesCount;
|
|
2559
2401
|
}
|
|
2560
|
-
|
|
2561
2402
|
if (now - firstSampleTS < min) {
|
|
2562
2403
|
return;
|
|
2563
2404
|
}
|
|
2564
|
-
|
|
2565
2405
|
const passed = startedAt && now - startedAt;
|
|
2566
|
-
|
|
2567
2406
|
return passed ? Math.round(bytesCount * 1000 / passed) : undefined;
|
|
2568
2407
|
};
|
|
2569
2408
|
}
|
|
@@ -2579,7 +2418,6 @@ function throttle(fn, freq) {
|
|
|
2579
2418
|
let threshold = 1000 / freq;
|
|
2580
2419
|
let lastArgs;
|
|
2581
2420
|
let timer;
|
|
2582
|
-
|
|
2583
2421
|
const invoke = (args, now = Date.now()) => {
|
|
2584
2422
|
timestamp = now;
|
|
2585
2423
|
lastArgs = null;
|
|
@@ -2589,11 +2427,10 @@ function throttle(fn, freq) {
|
|
|
2589
2427
|
}
|
|
2590
2428
|
fn(...args);
|
|
2591
2429
|
};
|
|
2592
|
-
|
|
2593
2430
|
const throttled = (...args) => {
|
|
2594
2431
|
const now = Date.now();
|
|
2595
2432
|
const passed = now - timestamp;
|
|
2596
|
-
if (
|
|
2433
|
+
if (passed >= threshold) {
|
|
2597
2434
|
invoke(args, now);
|
|
2598
2435
|
} else {
|
|
2599
2436
|
lastArgs = args;
|
|
@@ -2605,29 +2442,24 @@ function throttle(fn, freq) {
|
|
|
2605
2442
|
}
|
|
2606
2443
|
}
|
|
2607
2444
|
};
|
|
2608
|
-
|
|
2609
2445
|
const flush = () => lastArgs && invoke(lastArgs);
|
|
2610
|
-
|
|
2611
2446
|
return [throttled, flush];
|
|
2612
2447
|
}
|
|
2613
2448
|
|
|
2614
2449
|
const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
2615
2450
|
let bytesNotified = 0;
|
|
2616
2451
|
const _speedometer = speedometer(50, 250);
|
|
2617
|
-
|
|
2618
2452
|
return throttle(e => {
|
|
2619
2453
|
const loaded = e.loaded;
|
|
2620
2454
|
const total = e.lengthComputable ? e.total : undefined;
|
|
2621
2455
|
const progressBytes = loaded - bytesNotified;
|
|
2622
2456
|
const rate = _speedometer(progressBytes);
|
|
2623
2457
|
const inRange = loaded <= total;
|
|
2624
|
-
|
|
2625
2458
|
bytesNotified = loaded;
|
|
2626
|
-
|
|
2627
2459
|
const data = {
|
|
2628
2460
|
loaded,
|
|
2629
2461
|
total,
|
|
2630
|
-
progress: total ?
|
|
2462
|
+
progress: total ? loaded / total : undefined,
|
|
2631
2463
|
bytes: progressBytes,
|
|
2632
2464
|
rate: rate ? rate : undefined,
|
|
2633
2465
|
estimated: rate && total && inRange ? (total - loaded) / rate : undefined,
|
|
@@ -2635,22 +2467,18 @@ const progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
|
2635
2467
|
lengthComputable: total != null,
|
|
2636
2468
|
[isDownloadStream ? 'download' : 'upload']: true
|
|
2637
2469
|
};
|
|
2638
|
-
|
|
2639
2470
|
listener(data);
|
|
2640
2471
|
}, freq);
|
|
2641
2472
|
};
|
|
2642
|
-
|
|
2643
2473
|
const progressEventDecorator = (total, throttled) => {
|
|
2644
2474
|
const lengthComputable = total != null;
|
|
2645
|
-
|
|
2646
|
-
return [(loaded) => throttled[0]({
|
|
2475
|
+
return [loaded => throttled[0]({
|
|
2647
2476
|
lengthComputable,
|
|
2648
2477
|
total,
|
|
2649
2478
|
loaded
|
|
2650
2479
|
}), throttled[1]];
|
|
2651
2480
|
};
|
|
2652
|
-
|
|
2653
|
-
const asyncDecorator = (fn) => (...args) => utils$1.asap(() => fn(...args));
|
|
2481
|
+
const asyncDecorator = fn => (...args) => utils$1.asap(() => fn(...args));
|
|
2654
2482
|
|
|
2655
2483
|
/**
|
|
2656
2484
|
* Estimate decoded byte length of a data:// URL *without* allocating large buffers.
|
|
@@ -2664,14 +2492,11 @@ const asyncDecorator = (fn) => (...args) => utils$1.asap(() => fn(...args));
|
|
|
2664
2492
|
function estimateDataURLDecodedBytes(url) {
|
|
2665
2493
|
if (!url || typeof url !== 'string') return 0;
|
|
2666
2494
|
if (!url.startsWith('data:')) return 0;
|
|
2667
|
-
|
|
2668
2495
|
const comma = url.indexOf(',');
|
|
2669
2496
|
if (comma < 0) return 0;
|
|
2670
|
-
|
|
2671
2497
|
const meta = url.slice(5, comma);
|
|
2672
2498
|
const body = url.slice(comma + 1);
|
|
2673
2499
|
const isBase64 = /;base64/i.test(meta);
|
|
2674
|
-
|
|
2675
2500
|
if (isBase64) {
|
|
2676
2501
|
let effectiveLen = body.length;
|
|
2677
2502
|
const len = body.length; // cache length
|
|
@@ -2680,25 +2505,20 @@ function estimateDataURLDecodedBytes(url) {
|
|
|
2680
2505
|
if (body.charCodeAt(i) === 37 /* '%' */ && i + 2 < len) {
|
|
2681
2506
|
const a = body.charCodeAt(i + 1);
|
|
2682
2507
|
const b = body.charCodeAt(i + 2);
|
|
2683
|
-
const isHex =
|
|
2684
|
-
((a >= 48 && a <= 57) || (a >= 65 && a <= 70) || (a >= 97 && a <= 102)) &&
|
|
2685
|
-
((b >= 48 && b <= 57) || (b >= 65 && b <= 70) || (b >= 97 && b <= 102));
|
|
2686
|
-
|
|
2508
|
+
const isHex = (a >= 48 && a <= 57 || a >= 65 && a <= 70 || a >= 97 && a <= 102) && (b >= 48 && b <= 57 || b >= 65 && b <= 70 || b >= 97 && b <= 102);
|
|
2687
2509
|
if (isHex) {
|
|
2688
2510
|
effectiveLen -= 2;
|
|
2689
2511
|
i += 2;
|
|
2690
2512
|
}
|
|
2691
2513
|
}
|
|
2692
2514
|
}
|
|
2693
|
-
|
|
2694
2515
|
let pad = 0;
|
|
2695
2516
|
let idx = len - 1;
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
(body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd'
|
|
2517
|
+
const tailIsPct3D = j => j >= 2 && body.charCodeAt(j - 2) === 37 &&
|
|
2518
|
+
// '%'
|
|
2519
|
+
body.charCodeAt(j - 1) === 51 && (
|
|
2520
|
+
// '3'
|
|
2521
|
+
body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100); // 'D' or 'd'
|
|
2702
2522
|
|
|
2703
2523
|
if (idx >= 0) {
|
|
2704
2524
|
if (body.charCodeAt(idx) === 61 /* '=' */) {
|
|
@@ -2709,7 +2529,6 @@ function estimateDataURLDecodedBytes(url) {
|
|
|
2709
2529
|
idx -= 3;
|
|
2710
2530
|
}
|
|
2711
2531
|
}
|
|
2712
|
-
|
|
2713
2532
|
if (pad === 1 && idx >= 0) {
|
|
2714
2533
|
if (body.charCodeAt(idx) === 61 /* '=' */) {
|
|
2715
2534
|
pad++;
|
|
@@ -2717,80 +2536,62 @@ function estimateDataURLDecodedBytes(url) {
|
|
|
2717
2536
|
pad++;
|
|
2718
2537
|
}
|
|
2719
2538
|
}
|
|
2720
|
-
|
|
2721
2539
|
const groups = Math.floor(effectiveLen / 4);
|
|
2722
2540
|
const bytes = groups * 3 - (pad || 0);
|
|
2723
2541
|
return bytes > 0 ? bytes : 0;
|
|
2724
2542
|
}
|
|
2725
|
-
|
|
2726
2543
|
return Buffer.byteLength(body, 'utf8');
|
|
2727
2544
|
}
|
|
2728
2545
|
|
|
2729
2546
|
const zlibOptions = {
|
|
2730
|
-
flush:
|
|
2731
|
-
finishFlush:
|
|
2547
|
+
flush: zlib.constants.Z_SYNC_FLUSH,
|
|
2548
|
+
finishFlush: zlib.constants.Z_SYNC_FLUSH
|
|
2732
2549
|
};
|
|
2733
|
-
|
|
2734
2550
|
const brotliOptions = {
|
|
2735
|
-
flush:
|
|
2736
|
-
finishFlush:
|
|
2551
|
+
flush: zlib.constants.BROTLI_OPERATION_FLUSH,
|
|
2552
|
+
finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH
|
|
2737
2553
|
};
|
|
2738
|
-
|
|
2739
|
-
const
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2554
|
+
const isBrotliSupported = utils$1.isFunction(zlib.createBrotliDecompress);
|
|
2555
|
+
const {
|
|
2556
|
+
http: httpFollow,
|
|
2557
|
+
https: httpsFollow
|
|
2558
|
+
} = followRedirects;
|
|
2743
2559
|
const isHttps = /https:?/;
|
|
2744
|
-
|
|
2745
2560
|
const supportedProtocols = platform.protocols.map(protocol => {
|
|
2746
2561
|
return protocol + ':';
|
|
2747
2562
|
});
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
2563
|
const flushOnFinish = (stream, [throttled, flush]) => {
|
|
2751
|
-
stream
|
|
2752
|
-
.on('end', flush)
|
|
2753
|
-
.on('error', flush);
|
|
2754
|
-
|
|
2564
|
+
stream.on('end', flush).on('error', flush);
|
|
2755
2565
|
return throttled;
|
|
2756
2566
|
};
|
|
2757
|
-
|
|
2758
2567
|
class Http2Sessions {
|
|
2759
2568
|
constructor() {
|
|
2760
2569
|
this.sessions = Object.create(null);
|
|
2761
2570
|
}
|
|
2762
|
-
|
|
2763
2571
|
getSession(authority, options) {
|
|
2764
2572
|
options = Object.assign({
|
|
2765
2573
|
sessionTimeout: 1000
|
|
2766
2574
|
}, options);
|
|
2767
|
-
|
|
2768
2575
|
let authoritySessions = this.sessions[authority];
|
|
2769
|
-
|
|
2770
2576
|
if (authoritySessions) {
|
|
2771
2577
|
let len = authoritySessions.length;
|
|
2772
|
-
|
|
2773
2578
|
for (let i = 0; i < len; i++) {
|
|
2774
2579
|
const [sessionHandle, sessionOptions] = authoritySessions[i];
|
|
2775
|
-
if (!sessionHandle.destroyed && !sessionHandle.closed &&
|
|
2580
|
+
if (!sessionHandle.destroyed && !sessionHandle.closed && util.isDeepStrictEqual(sessionOptions, options)) {
|
|
2776
2581
|
return sessionHandle;
|
|
2777
2582
|
}
|
|
2778
2583
|
}
|
|
2779
2584
|
}
|
|
2780
|
-
|
|
2781
|
-
const session = http2__default["default"].connect(authority, options);
|
|
2782
|
-
|
|
2585
|
+
const session = http2.connect(authority, options);
|
|
2783
2586
|
let removed;
|
|
2784
|
-
|
|
2785
2587
|
const removeSession = () => {
|
|
2786
2588
|
if (removed) {
|
|
2787
2589
|
return;
|
|
2788
2590
|
}
|
|
2789
|
-
|
|
2790
2591
|
removed = true;
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2592
|
+
let entries = authoritySessions,
|
|
2593
|
+
len = entries.length,
|
|
2594
|
+
i = len;
|
|
2794
2595
|
while (i--) {
|
|
2795
2596
|
if (entries[i][0] === session) {
|
|
2796
2597
|
if (len === 1) {
|
|
@@ -2798,59 +2599,46 @@ class Http2Sessions {
|
|
|
2798
2599
|
} else {
|
|
2799
2600
|
entries.splice(i, 1);
|
|
2800
2601
|
}
|
|
2602
|
+
if (!session.closed) {
|
|
2603
|
+
session.close();
|
|
2604
|
+
}
|
|
2801
2605
|
return;
|
|
2802
2606
|
}
|
|
2803
2607
|
}
|
|
2804
2608
|
};
|
|
2805
|
-
|
|
2806
2609
|
const originalRequestFn = session.request;
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
if(sessionTimeout != null) {
|
|
2811
|
-
|
|
2610
|
+
const {
|
|
2611
|
+
sessionTimeout
|
|
2612
|
+
} = options;
|
|
2613
|
+
if (sessionTimeout != null) {
|
|
2812
2614
|
let timer;
|
|
2813
2615
|
let streamsCount = 0;
|
|
2814
|
-
|
|
2815
2616
|
session.request = function () {
|
|
2816
2617
|
const stream = originalRequestFn.apply(this, arguments);
|
|
2817
|
-
|
|
2818
2618
|
streamsCount++;
|
|
2819
|
-
|
|
2820
2619
|
if (timer) {
|
|
2821
2620
|
clearTimeout(timer);
|
|
2822
2621
|
timer = null;
|
|
2823
2622
|
}
|
|
2824
|
-
|
|
2825
2623
|
stream.once('close', () => {
|
|
2826
|
-
if (
|
|
2624
|
+
if (! --streamsCount) {
|
|
2827
2625
|
timer = setTimeout(() => {
|
|
2828
2626
|
timer = null;
|
|
2829
2627
|
removeSession();
|
|
2830
2628
|
}, sessionTimeout);
|
|
2831
2629
|
}
|
|
2832
2630
|
});
|
|
2833
|
-
|
|
2834
2631
|
return stream;
|
|
2835
2632
|
};
|
|
2836
2633
|
}
|
|
2837
|
-
|
|
2838
2634
|
session.once('close', removeSession);
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
session,
|
|
2842
|
-
options
|
|
2843
|
-
];
|
|
2844
|
-
|
|
2845
|
-
authoritySessions ? authoritySessions.push(entry) : authoritySessions = this.sessions[authority] = [entry];
|
|
2846
|
-
|
|
2635
|
+
let entry = [session, options];
|
|
2636
|
+
authoritySessions ? authoritySessions.push(entry) : authoritySessions = this.sessions[authority] = [entry];
|
|
2847
2637
|
return session;
|
|
2848
2638
|
}
|
|
2849
2639
|
}
|
|
2850
|
-
|
|
2851
2640
|
const http2Sessions = new Http2Sessions();
|
|
2852
2641
|
|
|
2853
|
-
|
|
2854
2642
|
/**
|
|
2855
2643
|
* If the proxy or config beforeRedirects functions are defined, call them with the options
|
|
2856
2644
|
* object.
|
|
@@ -2880,7 +2668,7 @@ function dispatchBeforeRedirect(options, responseDetails) {
|
|
|
2880
2668
|
function setProxy(options, configProxy, location) {
|
|
2881
2669
|
let proxy = configProxy;
|
|
2882
2670
|
if (!proxy && proxy !== false) {
|
|
2883
|
-
const proxyUrl =
|
|
2671
|
+
const proxyUrl = getProxyForUrl(location);
|
|
2884
2672
|
if (proxyUrl) {
|
|
2885
2673
|
proxy = new URL(proxyUrl);
|
|
2886
2674
|
}
|
|
@@ -2890,18 +2678,19 @@ function setProxy(options, configProxy, location) {
|
|
|
2890
2678
|
if (proxy.username) {
|
|
2891
2679
|
proxy.auth = (proxy.username || '') + ':' + (proxy.password || '');
|
|
2892
2680
|
}
|
|
2893
|
-
|
|
2894
2681
|
if (proxy.auth) {
|
|
2895
2682
|
// Support proxy auth object form
|
|
2896
|
-
|
|
2683
|
+
const validProxyAuth = Boolean(proxy.auth.username || proxy.auth.password);
|
|
2684
|
+
if (validProxyAuth) {
|
|
2897
2685
|
proxy.auth = (proxy.auth.username || '') + ':' + (proxy.auth.password || '');
|
|
2686
|
+
} else if (typeof proxy.auth === 'object') {
|
|
2687
|
+
throw new AxiosError('Invalid proxy authorization', AxiosError.ERR_BAD_OPTION, {
|
|
2688
|
+
proxy
|
|
2689
|
+
});
|
|
2898
2690
|
}
|
|
2899
|
-
const base64 = Buffer
|
|
2900
|
-
.from(proxy.auth, 'utf8')
|
|
2901
|
-
.toString('base64');
|
|
2691
|
+
const base64 = Buffer.from(proxy.auth, 'utf8').toString('base64');
|
|
2902
2692
|
options.headers['Proxy-Authorization'] = 'Basic ' + base64;
|
|
2903
2693
|
}
|
|
2904
|
-
|
|
2905
2694
|
options.headers.host = options.hostname + (options.port ? ':' + options.port : '');
|
|
2906
2695
|
const proxyHost = proxy.hostname || proxy.host;
|
|
2907
2696
|
options.hostname = proxyHost;
|
|
@@ -2913,184 +2702,164 @@ function setProxy(options, configProxy, location) {
|
|
|
2913
2702
|
options.protocol = proxy.protocol.includes(':') ? proxy.protocol : `${proxy.protocol}:`;
|
|
2914
2703
|
}
|
|
2915
2704
|
}
|
|
2916
|
-
|
|
2917
2705
|
options.beforeRedirects.proxy = function beforeRedirect(redirectOptions) {
|
|
2918
2706
|
// Configure proxy for redirected request, passing the original config proxy to apply
|
|
2919
2707
|
// the exact same logic as if the redirected request was performed by axios directly.
|
|
2920
2708
|
setProxy(redirectOptions, configProxy, redirectOptions.href);
|
|
2921
2709
|
};
|
|
2922
2710
|
}
|
|
2923
|
-
|
|
2924
2711
|
const isHttpAdapterSupported = typeof process !== 'undefined' && utils$1.kindOf(process) === 'process';
|
|
2925
2712
|
|
|
2926
2713
|
// temporary hotfix
|
|
2927
2714
|
|
|
2928
|
-
const wrapAsync =
|
|
2715
|
+
const wrapAsync = asyncExecutor => {
|
|
2929
2716
|
return new Promise((resolve, reject) => {
|
|
2930
2717
|
let onDone;
|
|
2931
2718
|
let isDone;
|
|
2932
|
-
|
|
2933
2719
|
const done = (value, isRejected) => {
|
|
2934
2720
|
if (isDone) return;
|
|
2935
2721
|
isDone = true;
|
|
2936
2722
|
onDone && onDone(value, isRejected);
|
|
2937
2723
|
};
|
|
2938
|
-
|
|
2939
|
-
const _resolve = (value) => {
|
|
2724
|
+
const _resolve = value => {
|
|
2940
2725
|
done(value);
|
|
2941
2726
|
resolve(value);
|
|
2942
2727
|
};
|
|
2943
|
-
|
|
2944
|
-
const _reject = (reason) => {
|
|
2728
|
+
const _reject = reason => {
|
|
2945
2729
|
done(reason, true);
|
|
2946
2730
|
reject(reason);
|
|
2947
2731
|
};
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
})
|
|
2732
|
+
asyncExecutor(_resolve, _reject, onDoneHandler => onDone = onDoneHandler).catch(_reject);
|
|
2733
|
+
});
|
|
2951
2734
|
};
|
|
2952
|
-
|
|
2953
|
-
|
|
2735
|
+
const resolveFamily = ({
|
|
2736
|
+
address,
|
|
2737
|
+
family
|
|
2738
|
+
}) => {
|
|
2954
2739
|
if (!utils$1.isString(address)) {
|
|
2955
2740
|
throw TypeError('address must be a string');
|
|
2956
2741
|
}
|
|
2957
|
-
return
|
|
2742
|
+
return {
|
|
2958
2743
|
address,
|
|
2959
2744
|
family: family || (address.indexOf('.') < 0 ? 6 : 4)
|
|
2960
|
-
}
|
|
2745
|
+
};
|
|
2961
2746
|
};
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2747
|
+
const buildAddressEntry = (address, family) => resolveFamily(utils$1.isObject(address) ? address : {
|
|
2748
|
+
address,
|
|
2749
|
+
family
|
|
2750
|
+
});
|
|
2965
2751
|
const http2Transport = {
|
|
2966
2752
|
request(options, cb) {
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
delete responseHeaders[HTTP2_HEADER_STATUS];
|
|
3000
|
-
|
|
3001
|
-
response.headers = responseHeaders;
|
|
3002
|
-
|
|
3003
|
-
response.statusCode = +status;
|
|
3004
|
-
|
|
3005
|
-
cb(response);
|
|
3006
|
-
});
|
|
3007
|
-
|
|
3008
|
-
return req;
|
|
2753
|
+
const authority = options.protocol + '//' + options.hostname + ':' + (options.port || (options.protocol === 'https:' ? 443 : 80));
|
|
2754
|
+
const {
|
|
2755
|
+
http2Options,
|
|
2756
|
+
headers
|
|
2757
|
+
} = options;
|
|
2758
|
+
const session = http2Sessions.getSession(authority, http2Options);
|
|
2759
|
+
const {
|
|
2760
|
+
HTTP2_HEADER_SCHEME,
|
|
2761
|
+
HTTP2_HEADER_METHOD,
|
|
2762
|
+
HTTP2_HEADER_PATH,
|
|
2763
|
+
HTTP2_HEADER_STATUS
|
|
2764
|
+
} = http2.constants;
|
|
2765
|
+
const http2Headers = {
|
|
2766
|
+
[HTTP2_HEADER_SCHEME]: options.protocol.replace(':', ''),
|
|
2767
|
+
[HTTP2_HEADER_METHOD]: options.method,
|
|
2768
|
+
[HTTP2_HEADER_PATH]: options.path
|
|
2769
|
+
};
|
|
2770
|
+
utils$1.forEach(headers, (header, name) => {
|
|
2771
|
+
name.charAt(0) !== ':' && (http2Headers[name] = header);
|
|
2772
|
+
});
|
|
2773
|
+
const req = session.request(http2Headers);
|
|
2774
|
+
req.once('response', responseHeaders => {
|
|
2775
|
+
const response = req; //duplex
|
|
2776
|
+
|
|
2777
|
+
responseHeaders = Object.assign({}, responseHeaders);
|
|
2778
|
+
const status = responseHeaders[HTTP2_HEADER_STATUS];
|
|
2779
|
+
delete responseHeaders[HTTP2_HEADER_STATUS];
|
|
2780
|
+
response.headers = responseHeaders;
|
|
2781
|
+
response.statusCode = +status;
|
|
2782
|
+
cb(response);
|
|
2783
|
+
});
|
|
2784
|
+
return req;
|
|
3009
2785
|
}
|
|
3010
2786
|
};
|
|
3011
2787
|
|
|
3012
2788
|
/*eslint consistent-return:0*/
|
|
3013
|
-
|
|
2789
|
+
var httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
3014
2790
|
return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) {
|
|
3015
|
-
let {
|
|
3016
|
-
|
|
2791
|
+
let {
|
|
2792
|
+
data,
|
|
2793
|
+
lookup,
|
|
2794
|
+
family,
|
|
2795
|
+
httpVersion = 1,
|
|
2796
|
+
http2Options
|
|
2797
|
+
} = config;
|
|
2798
|
+
const {
|
|
2799
|
+
responseType,
|
|
2800
|
+
responseEncoding
|
|
2801
|
+
} = config;
|
|
3017
2802
|
const method = config.method.toUpperCase();
|
|
3018
2803
|
let isDone;
|
|
3019
2804
|
let rejected = false;
|
|
3020
2805
|
let req;
|
|
3021
|
-
|
|
3022
2806
|
httpVersion = +httpVersion;
|
|
3023
|
-
|
|
3024
2807
|
if (Number.isNaN(httpVersion)) {
|
|
3025
2808
|
throw TypeError(`Invalid protocol version: '${config.httpVersion}' is not a number`);
|
|
3026
2809
|
}
|
|
3027
|
-
|
|
3028
2810
|
if (httpVersion !== 1 && httpVersion !== 2) {
|
|
3029
2811
|
throw TypeError(`Unsupported protocol version '${httpVersion}'`);
|
|
3030
2812
|
}
|
|
3031
|
-
|
|
3032
2813
|
const isHttp2 = httpVersion === 2;
|
|
3033
|
-
|
|
3034
2814
|
if (lookup) {
|
|
3035
|
-
const _lookup = callbackify
|
|
2815
|
+
const _lookup = callbackify(lookup, value => utils$1.isArray(value) ? value : [value]);
|
|
3036
2816
|
// hotfix to support opt.all option which is required for node 20.x
|
|
3037
2817
|
lookup = (hostname, opt, cb) => {
|
|
3038
2818
|
_lookup(hostname, opt, (err, arg0, arg1) => {
|
|
3039
2819
|
if (err) {
|
|
3040
2820
|
return cb(err);
|
|
3041
2821
|
}
|
|
3042
|
-
|
|
3043
2822
|
const addresses = utils$1.isArray(arg0) ? arg0.map(addr => buildAddressEntry(addr)) : [buildAddressEntry(arg0, arg1)];
|
|
3044
|
-
|
|
3045
2823
|
opt.all ? cb(err, addresses) : cb(err, addresses[0].address, addresses[0].family);
|
|
3046
2824
|
});
|
|
3047
2825
|
};
|
|
3048
2826
|
}
|
|
3049
|
-
|
|
3050
2827
|
const abortEmitter = new events.EventEmitter();
|
|
3051
|
-
|
|
3052
2828
|
function abort(reason) {
|
|
3053
2829
|
try {
|
|
3054
2830
|
abortEmitter.emit('abort', !reason || reason.type ? new CanceledError(null, config, req) : reason);
|
|
3055
|
-
} catch(err) {
|
|
2831
|
+
} catch (err) {
|
|
3056
2832
|
console.warn('emit error', err);
|
|
3057
2833
|
}
|
|
3058
2834
|
}
|
|
3059
|
-
|
|
3060
2835
|
abortEmitter.once('abort', reject);
|
|
3061
|
-
|
|
3062
2836
|
const onFinished = () => {
|
|
3063
2837
|
if (config.cancelToken) {
|
|
3064
2838
|
config.cancelToken.unsubscribe(abort);
|
|
3065
2839
|
}
|
|
3066
|
-
|
|
3067
2840
|
if (config.signal) {
|
|
3068
2841
|
config.signal.removeEventListener('abort', abort);
|
|
3069
2842
|
}
|
|
3070
|
-
|
|
3071
2843
|
abortEmitter.removeAllListeners();
|
|
3072
2844
|
};
|
|
3073
|
-
|
|
3074
2845
|
if (config.cancelToken || config.signal) {
|
|
3075
2846
|
config.cancelToken && config.cancelToken.subscribe(abort);
|
|
3076
2847
|
if (config.signal) {
|
|
3077
2848
|
config.signal.aborted ? abort() : config.signal.addEventListener('abort', abort);
|
|
3078
2849
|
}
|
|
3079
2850
|
}
|
|
3080
|
-
|
|
3081
2851
|
onDone((response, isRejected) => {
|
|
3082
2852
|
isDone = true;
|
|
3083
|
-
|
|
3084
2853
|
if (isRejected) {
|
|
3085
2854
|
rejected = true;
|
|
3086
2855
|
onFinished();
|
|
3087
2856
|
return;
|
|
3088
2857
|
}
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
if (data instanceof
|
|
3093
|
-
const offListeners =
|
|
2858
|
+
const {
|
|
2859
|
+
data
|
|
2860
|
+
} = response;
|
|
2861
|
+
if (data instanceof stream.Readable || data instanceof stream.Duplex) {
|
|
2862
|
+
const offListeners = stream.finished(data, () => {
|
|
3094
2863
|
offListeners();
|
|
3095
2864
|
onFinished();
|
|
3096
2865
|
});
|
|
@@ -3099,33 +2868,21 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
3099
2868
|
}
|
|
3100
2869
|
});
|
|
3101
2870
|
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
2871
|
// Parse url
|
|
3107
2872
|
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
|
3108
2873
|
const parsed = new URL(fullPath, platform.hasBrowserEnv ? platform.origin : undefined);
|
|
3109
2874
|
const protocol = parsed.protocol || supportedProtocols[0];
|
|
3110
|
-
|
|
3111
2875
|
if (protocol === 'data:') {
|
|
3112
2876
|
// Apply the same semantics as HTTP: only enforce if a finite, non-negative cap is set.
|
|
3113
2877
|
if (config.maxContentLength > -1) {
|
|
3114
2878
|
// Use the exact string passed to fromDataURI (config.url); fall back to fullPath if needed.
|
|
3115
2879
|
const dataUrl = String(config.url || fullPath || '');
|
|
3116
2880
|
const estimated = estimateDataURLDecodedBytes(dataUrl);
|
|
3117
|
-
|
|
3118
2881
|
if (estimated > config.maxContentLength) {
|
|
3119
|
-
return reject(new AxiosError(
|
|
3120
|
-
'maxContentLength size of ' + config.maxContentLength + ' exceeded',
|
|
3121
|
-
AxiosError.ERR_BAD_RESPONSE,
|
|
3122
|
-
config
|
|
3123
|
-
));
|
|
2882
|
+
return reject(new AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config));
|
|
3124
2883
|
}
|
|
3125
2884
|
}
|
|
3126
|
-
|
|
3127
2885
|
let convertedData;
|
|
3128
|
-
|
|
3129
2886
|
if (method !== 'GET') {
|
|
3130
2887
|
return settle(resolve, reject, {
|
|
3131
2888
|
status: 405,
|
|
@@ -3134,7 +2891,6 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
3134
2891
|
config
|
|
3135
2892
|
});
|
|
3136
2893
|
}
|
|
3137
|
-
|
|
3138
2894
|
try {
|
|
3139
2895
|
convertedData = fromDataURI(config.url, responseType === 'blob', {
|
|
3140
2896
|
Blob: config.env && config.env.Blob
|
|
@@ -3142,43 +2898,36 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
3142
2898
|
} catch (err) {
|
|
3143
2899
|
throw AxiosError.from(err, AxiosError.ERR_BAD_REQUEST, config);
|
|
3144
2900
|
}
|
|
3145
|
-
|
|
3146
2901
|
if (responseType === 'text') {
|
|
3147
2902
|
convertedData = convertedData.toString(responseEncoding);
|
|
3148
|
-
|
|
3149
2903
|
if (!responseEncoding || responseEncoding === 'utf8') {
|
|
3150
2904
|
convertedData = utils$1.stripBOM(convertedData);
|
|
3151
2905
|
}
|
|
3152
2906
|
} else if (responseType === 'stream') {
|
|
3153
|
-
convertedData =
|
|
2907
|
+
convertedData = stream.Readable.from(convertedData);
|
|
3154
2908
|
}
|
|
3155
|
-
|
|
3156
2909
|
return settle(resolve, reject, {
|
|
3157
2910
|
data: convertedData,
|
|
3158
2911
|
status: 200,
|
|
3159
2912
|
statusText: 'OK',
|
|
3160
|
-
headers: new AxiosHeaders
|
|
2913
|
+
headers: new AxiosHeaders(),
|
|
3161
2914
|
config
|
|
3162
2915
|
});
|
|
3163
2916
|
}
|
|
3164
|
-
|
|
3165
2917
|
if (supportedProtocols.indexOf(protocol) === -1) {
|
|
3166
|
-
return reject(new AxiosError(
|
|
3167
|
-
'Unsupported protocol ' + protocol,
|
|
3168
|
-
AxiosError.ERR_BAD_REQUEST,
|
|
3169
|
-
config
|
|
3170
|
-
));
|
|
2918
|
+
return reject(new AxiosError('Unsupported protocol ' + protocol, AxiosError.ERR_BAD_REQUEST, config));
|
|
3171
2919
|
}
|
|
3172
|
-
|
|
3173
|
-
const headers = AxiosHeaders$1.from(config.headers).normalize();
|
|
2920
|
+
const headers = AxiosHeaders.from(config.headers).normalize();
|
|
3174
2921
|
|
|
3175
2922
|
// Set User-Agent (required by some servers)
|
|
3176
2923
|
// See https://github.com/axios/axios/issues/69
|
|
3177
2924
|
// User-Agent is specified; handle case where no UA header is desired
|
|
3178
2925
|
// Only set header if it hasn't been set in config
|
|
3179
2926
|
headers.set('User-Agent', 'axios/' + VERSION, false);
|
|
3180
|
-
|
|
3181
|
-
|
|
2927
|
+
const {
|
|
2928
|
+
onUploadProgress,
|
|
2929
|
+
onDownloadProgress
|
|
2930
|
+
} = config;
|
|
3182
2931
|
const maxRate = config.maxRate;
|
|
3183
2932
|
let maxUploadRate = undefined;
|
|
3184
2933
|
let maxDownloadRate = undefined;
|
|
@@ -3186,8 +2935,7 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
3186
2935
|
// support for spec compliant FormData objects
|
|
3187
2936
|
if (utils$1.isSpecCompliantForm(data)) {
|
|
3188
2937
|
const userBoundary = headers.getContentType(/boundary=([-_\w\d]{10,70})/i);
|
|
3189
|
-
|
|
3190
|
-
data = formDataToStream$1(data, (formHeaders) => {
|
|
2938
|
+
data = formDataToStream(data, formHeaders => {
|
|
3191
2939
|
headers.set(formHeaders);
|
|
3192
2940
|
}, {
|
|
3193
2941
|
tag: `axios-${VERSION}-boundary`,
|
|
@@ -3196,69 +2944,49 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
3196
2944
|
// support for https://www.npmjs.com/package/form-data api
|
|
3197
2945
|
} else if (utils$1.isFormData(data) && utils$1.isFunction(data.getHeaders)) {
|
|
3198
2946
|
headers.set(data.getHeaders());
|
|
3199
|
-
|
|
3200
2947
|
if (!headers.hasContentLength()) {
|
|
3201
2948
|
try {
|
|
3202
|
-
const knownLength = await
|
|
2949
|
+
const knownLength = await util.promisify(data.getLength).call(data);
|
|
3203
2950
|
Number.isFinite(knownLength) && knownLength >= 0 && headers.setContentLength(knownLength);
|
|
3204
2951
|
/*eslint no-empty:0*/
|
|
3205
|
-
} catch (e) {
|
|
3206
|
-
}
|
|
2952
|
+
} catch (e) {}
|
|
3207
2953
|
}
|
|
3208
2954
|
} else if (utils$1.isBlob(data) || utils$1.isFile(data)) {
|
|
3209
2955
|
data.size && headers.setContentType(data.type || 'application/octet-stream');
|
|
3210
2956
|
headers.setContentLength(data.size || 0);
|
|
3211
|
-
data =
|
|
2957
|
+
data = stream.Readable.from(readBlob(data));
|
|
3212
2958
|
} else if (data && !utils$1.isStream(data)) {
|
|
3213
2959
|
if (Buffer.isBuffer(data)) ; else if (utils$1.isArrayBuffer(data)) {
|
|
3214
2960
|
data = Buffer.from(new Uint8Array(data));
|
|
3215
2961
|
} else if (utils$1.isString(data)) {
|
|
3216
2962
|
data = Buffer.from(data, 'utf-8');
|
|
3217
2963
|
} 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
|
-
));
|
|
2964
|
+
return reject(new AxiosError('Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream', AxiosError.ERR_BAD_REQUEST, config));
|
|
3223
2965
|
}
|
|
3224
2966
|
|
|
3225
2967
|
// Add Content-Length header if data exists
|
|
3226
2968
|
headers.setContentLength(data.length, false);
|
|
3227
|
-
|
|
3228
2969
|
if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {
|
|
3229
|
-
return reject(new AxiosError(
|
|
3230
|
-
'Request body larger than maxBodyLength limit',
|
|
3231
|
-
AxiosError.ERR_BAD_REQUEST,
|
|
3232
|
-
config
|
|
3233
|
-
));
|
|
2970
|
+
return reject(new AxiosError('Request body larger than maxBodyLength limit', AxiosError.ERR_BAD_REQUEST, config));
|
|
3234
2971
|
}
|
|
3235
2972
|
}
|
|
3236
|
-
|
|
3237
2973
|
const contentLength = utils$1.toFiniteNumber(headers.getContentLength());
|
|
3238
|
-
|
|
3239
2974
|
if (utils$1.isArray(maxRate)) {
|
|
3240
2975
|
maxUploadRate = maxRate[0];
|
|
3241
2976
|
maxDownloadRate = maxRate[1];
|
|
3242
2977
|
} else {
|
|
3243
2978
|
maxUploadRate = maxDownloadRate = maxRate;
|
|
3244
2979
|
}
|
|
3245
|
-
|
|
3246
2980
|
if (data && (onUploadProgress || maxUploadRate)) {
|
|
3247
2981
|
if (!utils$1.isStream(data)) {
|
|
3248
|
-
data =
|
|
2982
|
+
data = stream.Readable.from(data, {
|
|
2983
|
+
objectMode: false
|
|
2984
|
+
});
|
|
3249
2985
|
}
|
|
3250
|
-
|
|
3251
|
-
data = stream__default["default"].pipeline([data, new AxiosTransformStream$1({
|
|
2986
|
+
data = stream.pipeline([data, new AxiosTransformStream({
|
|
3252
2987
|
maxRate: utils$1.toFiniteNumber(maxUploadRate)
|
|
3253
2988
|
})], utils$1.noop);
|
|
3254
|
-
|
|
3255
|
-
onUploadProgress && data.on('progress', flushOnFinish(
|
|
3256
|
-
data,
|
|
3257
|
-
progressEventDecorator(
|
|
3258
|
-
contentLength,
|
|
3259
|
-
progressEventReducer(asyncDecorator(onUploadProgress), false, 3)
|
|
3260
|
-
)
|
|
3261
|
-
));
|
|
2989
|
+
onUploadProgress && data.on('progress', flushOnFinish(data, progressEventDecorator(contentLength, progressEventReducer(asyncDecorator(onUploadProgress), false, 3))));
|
|
3262
2990
|
}
|
|
3263
2991
|
|
|
3264
2992
|
// HTTP basic authentication
|
|
@@ -3268,23 +2996,15 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
3268
2996
|
const password = config.auth.password || '';
|
|
3269
2997
|
auth = username + ':' + password;
|
|
3270
2998
|
}
|
|
3271
|
-
|
|
3272
2999
|
if (!auth && parsed.username) {
|
|
3273
3000
|
const urlUsername = parsed.username;
|
|
3274
3001
|
const urlPassword = parsed.password;
|
|
3275
3002
|
auth = urlUsername + ':' + urlPassword;
|
|
3276
3003
|
}
|
|
3277
|
-
|
|
3278
3004
|
auth && headers.delete('authorization');
|
|
3279
|
-
|
|
3280
3005
|
let path;
|
|
3281
|
-
|
|
3282
3006
|
try {
|
|
3283
|
-
path = buildURL(
|
|
3284
|
-
parsed.pathname + parsed.search,
|
|
3285
|
-
config.params,
|
|
3286
|
-
config.paramsSerializer
|
|
3287
|
-
).replace(/^\?/, '');
|
|
3007
|
+
path = buildURL(parsed.pathname + parsed.search, config.params, config.paramsSerializer).replace(/^\?/, '');
|
|
3288
3008
|
} catch (err) {
|
|
3289
3009
|
const customErr = new Error(err.message);
|
|
3290
3010
|
customErr.config = config;
|
|
@@ -3292,17 +3012,15 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
3292
3012
|
customErr.exists = true;
|
|
3293
3013
|
return reject(customErr);
|
|
3294
3014
|
}
|
|
3295
|
-
|
|
3296
|
-
headers.set(
|
|
3297
|
-
'Accept-Encoding',
|
|
3298
|
-
'gzip, compress, deflate' + (isBrotliSupported ? ', br' : ''), false
|
|
3299
|
-
);
|
|
3300
|
-
|
|
3015
|
+
headers.set('Accept-Encoding', 'gzip, compress, deflate' + (isBrotliSupported ? ', br' : ''), false);
|
|
3301
3016
|
const options = {
|
|
3302
3017
|
path,
|
|
3303
3018
|
method: method,
|
|
3304
3019
|
headers: headers.toJSON(),
|
|
3305
|
-
agents: {
|
|
3020
|
+
agents: {
|
|
3021
|
+
http: config.httpAgent,
|
|
3022
|
+
https: config.httpsAgent
|
|
3023
|
+
},
|
|
3306
3024
|
auth,
|
|
3307
3025
|
protocol,
|
|
3308
3026
|
family,
|
|
@@ -3313,26 +3031,23 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
3313
3031
|
|
|
3314
3032
|
// cacheable-lookup integration hotfix
|
|
3315
3033
|
!utils$1.isUndefined(lookup) && (options.lookup = lookup);
|
|
3316
|
-
|
|
3317
3034
|
if (config.socketPath) {
|
|
3318
3035
|
options.socketPath = config.socketPath;
|
|
3319
3036
|
} else {
|
|
3320
|
-
options.hostname = parsed.hostname.startsWith(
|
|
3037
|
+
options.hostname = parsed.hostname.startsWith('[') ? parsed.hostname.slice(1, -1) : parsed.hostname;
|
|
3321
3038
|
options.port = parsed.port;
|
|
3322
3039
|
setProxy(options, config.proxy, protocol + '//' + parsed.hostname + (parsed.port ? ':' + parsed.port : '') + options.path);
|
|
3323
3040
|
}
|
|
3324
|
-
|
|
3325
3041
|
let transport;
|
|
3326
3042
|
const isHttpsRequest = isHttps.test(options.protocol);
|
|
3327
3043
|
options.agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;
|
|
3328
|
-
|
|
3329
3044
|
if (isHttp2) {
|
|
3330
|
-
|
|
3045
|
+
transport = http2Transport;
|
|
3331
3046
|
} else {
|
|
3332
3047
|
if (config.transport) {
|
|
3333
3048
|
transport = config.transport;
|
|
3334
3049
|
} else if (config.maxRedirects === 0) {
|
|
3335
|
-
transport = isHttpsRequest ?
|
|
3050
|
+
transport = isHttpsRequest ? https : http;
|
|
3336
3051
|
} else {
|
|
3337
3052
|
if (config.maxRedirects) {
|
|
3338
3053
|
options.maxRedirects = config.maxRedirects;
|
|
@@ -3343,14 +3058,12 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
3343
3058
|
transport = isHttpsRequest ? httpsFollow : httpFollow;
|
|
3344
3059
|
}
|
|
3345
3060
|
}
|
|
3346
|
-
|
|
3347
3061
|
if (config.maxBodyLength > -1) {
|
|
3348
3062
|
options.maxBodyLength = config.maxBodyLength;
|
|
3349
3063
|
} else {
|
|
3350
3064
|
// follow-redirects does not skip comparison, so it should always succeed for axios -1 unlimited
|
|
3351
3065
|
options.maxBodyLength = Infinity;
|
|
3352
3066
|
}
|
|
3353
|
-
|
|
3354
3067
|
if (config.insecureHTTPParser) {
|
|
3355
3068
|
options.insecureHTTPParser = config.insecureHTTPParser;
|
|
3356
3069
|
}
|
|
@@ -3358,24 +3071,13 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
3358
3071
|
// Create the request
|
|
3359
3072
|
req = transport.request(options, function handleResponse(res) {
|
|
3360
3073
|
if (req.destroyed) return;
|
|
3361
|
-
|
|
3362
3074
|
const streams = [res];
|
|
3363
|
-
|
|
3364
3075
|
const responseLength = utils$1.toFiniteNumber(res.headers['content-length']);
|
|
3365
|
-
|
|
3366
3076
|
if (onDownloadProgress || maxDownloadRate) {
|
|
3367
|
-
const transformStream = new AxiosTransformStream
|
|
3077
|
+
const transformStream = new AxiosTransformStream({
|
|
3368
3078
|
maxRate: utils$1.toFiniteNumber(maxDownloadRate)
|
|
3369
3079
|
});
|
|
3370
|
-
|
|
3371
|
-
onDownloadProgress && transformStream.on('progress', flushOnFinish(
|
|
3372
|
-
transformStream,
|
|
3373
|
-
progressEventDecorator(
|
|
3374
|
-
responseLength,
|
|
3375
|
-
progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)
|
|
3376
|
-
)
|
|
3377
|
-
));
|
|
3378
|
-
|
|
3080
|
+
onDownloadProgress && transformStream.on('progress', flushOnFinish(transformStream, progressEventDecorator(responseLength, progressEventReducer(asyncDecorator(onDownloadProgress), true, 3))));
|
|
3379
3081
|
streams.push(transformStream);
|
|
3380
3082
|
}
|
|
3381
3083
|
|
|
@@ -3392,55 +3094,48 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
3392
3094
|
if (method === 'HEAD' || res.statusCode === 204) {
|
|
3393
3095
|
delete res.headers['content-encoding'];
|
|
3394
3096
|
}
|
|
3395
|
-
|
|
3396
3097
|
switch ((res.headers['content-encoding'] || '').toLowerCase()) {
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3098
|
+
/*eslint default-case:0*/
|
|
3099
|
+
case 'gzip':
|
|
3100
|
+
case 'x-gzip':
|
|
3101
|
+
case 'compress':
|
|
3102
|
+
case 'x-compress':
|
|
3103
|
+
// add the unzipper to the body stream processing pipeline
|
|
3104
|
+
streams.push(zlib.createUnzip(zlibOptions));
|
|
3105
|
+
|
|
3106
|
+
// remove the content-encoding in order to not confuse downstream operations
|
|
3107
|
+
delete res.headers['content-encoding'];
|
|
3108
|
+
break;
|
|
3109
|
+
case 'deflate':
|
|
3110
|
+
streams.push(new ZlibHeaderTransformStream());
|
|
3410
3111
|
|
|
3411
|
-
|
|
3412
|
-
|
|
3112
|
+
// add the unzipper to the body stream processing pipeline
|
|
3113
|
+
streams.push(zlib.createUnzip(zlibOptions));
|
|
3413
3114
|
|
|
3414
|
-
|
|
3415
|
-
delete res.headers['content-encoding'];
|
|
3416
|
-
break;
|
|
3417
|
-
case 'br':
|
|
3418
|
-
if (isBrotliSupported) {
|
|
3419
|
-
streams.push(zlib__default["default"].createBrotliDecompress(brotliOptions));
|
|
3115
|
+
// remove the content-encoding in order to not confuse downstream operations
|
|
3420
3116
|
delete res.headers['content-encoding'];
|
|
3421
|
-
|
|
3117
|
+
break;
|
|
3118
|
+
case 'br':
|
|
3119
|
+
if (isBrotliSupported) {
|
|
3120
|
+
streams.push(zlib.createBrotliDecompress(brotliOptions));
|
|
3121
|
+
delete res.headers['content-encoding'];
|
|
3122
|
+
}
|
|
3422
3123
|
}
|
|
3423
3124
|
}
|
|
3424
|
-
|
|
3425
|
-
responseStream = streams.length > 1 ? stream__default["default"].pipeline(streams, utils$1.noop) : streams[0];
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3125
|
+
responseStream = streams.length > 1 ? stream.pipeline(streams, utils$1.noop) : streams[0];
|
|
3429
3126
|
const response = {
|
|
3430
3127
|
status: res.statusCode,
|
|
3431
3128
|
statusText: res.statusMessage,
|
|
3432
|
-
headers: new AxiosHeaders
|
|
3129
|
+
headers: new AxiosHeaders(res.headers),
|
|
3433
3130
|
config,
|
|
3434
3131
|
request: lastRequest
|
|
3435
3132
|
};
|
|
3436
|
-
|
|
3437
3133
|
if (responseType === 'stream') {
|
|
3438
3134
|
response.data = responseStream;
|
|
3439
3135
|
settle(resolve, reject, response);
|
|
3440
3136
|
} else {
|
|
3441
3137
|
const responseBuffer = [];
|
|
3442
3138
|
let totalResponseBytes = 0;
|
|
3443
|
-
|
|
3444
3139
|
responseStream.on('data', function handleStreamData(chunk) {
|
|
3445
3140
|
responseBuffer.push(chunk);
|
|
3446
3141
|
totalResponseBytes += chunk.length;
|
|
@@ -3450,31 +3145,21 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
3450
3145
|
// stream.destroy() emit aborted event before calling reject() on Node.js v16
|
|
3451
3146
|
rejected = true;
|
|
3452
3147
|
responseStream.destroy();
|
|
3453
|
-
abort(new AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded',
|
|
3454
|
-
AxiosError.ERR_BAD_RESPONSE, config, lastRequest));
|
|
3148
|
+
abort(new AxiosError('maxContentLength size of ' + config.maxContentLength + ' exceeded', AxiosError.ERR_BAD_RESPONSE, config, lastRequest));
|
|
3455
3149
|
}
|
|
3456
3150
|
});
|
|
3457
|
-
|
|
3458
3151
|
responseStream.on('aborted', function handlerStreamAborted() {
|
|
3459
3152
|
if (rejected) {
|
|
3460
3153
|
return;
|
|
3461
3154
|
}
|
|
3462
|
-
|
|
3463
|
-
const err = new AxiosError(
|
|
3464
|
-
'stream has been aborted',
|
|
3465
|
-
AxiosError.ERR_BAD_RESPONSE,
|
|
3466
|
-
config,
|
|
3467
|
-
lastRequest
|
|
3468
|
-
);
|
|
3155
|
+
const err = new AxiosError('stream has been aborted', AxiosError.ERR_BAD_RESPONSE, config, lastRequest);
|
|
3469
3156
|
responseStream.destroy(err);
|
|
3470
3157
|
reject(err);
|
|
3471
3158
|
});
|
|
3472
|
-
|
|
3473
3159
|
responseStream.on('error', function handleStreamError(err) {
|
|
3474
3160
|
if (req.destroyed) return;
|
|
3475
3161
|
reject(AxiosError.from(err, null, config, lastRequest));
|
|
3476
3162
|
});
|
|
3477
|
-
|
|
3478
3163
|
responseStream.on('end', function handleStreamEnd() {
|
|
3479
3164
|
try {
|
|
3480
3165
|
let responseData = responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);
|
|
@@ -3491,7 +3176,6 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
3491
3176
|
settle(resolve, reject, response);
|
|
3492
3177
|
});
|
|
3493
3178
|
}
|
|
3494
|
-
|
|
3495
3179
|
abortEmitter.once('abort', err => {
|
|
3496
3180
|
if (!responseStream.destroyed) {
|
|
3497
3181
|
responseStream.emit('error', err);
|
|
@@ -3499,7 +3183,6 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
3499
3183
|
}
|
|
3500
3184
|
});
|
|
3501
3185
|
});
|
|
3502
|
-
|
|
3503
3186
|
abortEmitter.once('abort', err => {
|
|
3504
3187
|
if (req.close) {
|
|
3505
3188
|
req.close();
|
|
@@ -3510,8 +3193,6 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
3510
3193
|
|
|
3511
3194
|
// Handle errors
|
|
3512
3195
|
req.on('error', function handleRequestError(err) {
|
|
3513
|
-
// @todo remove
|
|
3514
|
-
// if (req.aborted && err.code !== AxiosError.ERR_FR_TOO_MANY_REDIRECTS) return;
|
|
3515
3196
|
reject(AxiosError.from(err, null, config, req));
|
|
3516
3197
|
});
|
|
3517
3198
|
|
|
@@ -3525,15 +3206,8 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
3525
3206
|
if (config.timeout) {
|
|
3526
3207
|
// This is forcing a int timeout to avoid problems if the `req` interface doesn't handle other types.
|
|
3527
3208
|
const timeout = parseInt(config.timeout, 10);
|
|
3528
|
-
|
|
3529
3209
|
if (Number.isNaN(timeout)) {
|
|
3530
|
-
abort(new AxiosError(
|
|
3531
|
-
'error trying to parse `config.timeout` to int',
|
|
3532
|
-
AxiosError.ERR_BAD_OPTION_VALUE,
|
|
3533
|
-
config,
|
|
3534
|
-
req
|
|
3535
|
-
));
|
|
3536
|
-
|
|
3210
|
+
abort(new AxiosError('error trying to parse `config.timeout` to int', AxiosError.ERR_BAD_OPTION_VALUE, config, req));
|
|
3537
3211
|
return;
|
|
3538
3212
|
}
|
|
3539
3213
|
|
|
@@ -3549,111 +3223,86 @@ const httpAdapter = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
3549
3223
|
if (config.timeoutErrorMessage) {
|
|
3550
3224
|
timeoutErrorMessage = config.timeoutErrorMessage;
|
|
3551
3225
|
}
|
|
3552
|
-
abort(new AxiosError(
|
|
3553
|
-
timeoutErrorMessage,
|
|
3554
|
-
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
3555
|
-
config,
|
|
3556
|
-
req
|
|
3557
|
-
));
|
|
3226
|
+
abort(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, req));
|
|
3558
3227
|
});
|
|
3559
3228
|
} else {
|
|
3560
3229
|
// explicitly reset the socket timeout value for a possible `keep-alive` request
|
|
3561
3230
|
req.setTimeout(0);
|
|
3562
3231
|
}
|
|
3563
3232
|
|
|
3564
|
-
|
|
3565
3233
|
// Send the request
|
|
3566
3234
|
if (utils$1.isStream(data)) {
|
|
3567
3235
|
let ended = false;
|
|
3568
3236
|
let errored = false;
|
|
3569
|
-
|
|
3570
3237
|
data.on('end', () => {
|
|
3571
3238
|
ended = true;
|
|
3572
3239
|
});
|
|
3573
|
-
|
|
3574
3240
|
data.once('error', err => {
|
|
3575
3241
|
errored = true;
|
|
3576
3242
|
req.destroy(err);
|
|
3577
3243
|
});
|
|
3578
|
-
|
|
3579
3244
|
data.on('close', () => {
|
|
3580
3245
|
if (!ended && !errored) {
|
|
3581
3246
|
abort(new CanceledError('Request stream has been aborted', config, req));
|
|
3582
|
-
}
|
|
3583
|
-
});
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
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
|
-
|
|
3631
|
-
document.cookie = cookie.join('; ');
|
|
3632
|
-
},
|
|
3633
|
-
|
|
3634
|
-
read(name) {
|
|
3635
|
-
if (typeof document === 'undefined') return null;
|
|
3636
|
-
const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
|
|
3637
|
-
return match ? decodeURIComponent(match[1]) : null;
|
|
3638
|
-
},
|
|
3639
|
-
|
|
3640
|
-
remove(name) {
|
|
3641
|
-
this.write(name, '', Date.now() - 86400000, '/');
|
|
3247
|
+
}
|
|
3248
|
+
});
|
|
3249
|
+
data.pipe(req);
|
|
3250
|
+
} else {
|
|
3251
|
+
data && req.write(data);
|
|
3252
|
+
req.end();
|
|
3642
3253
|
}
|
|
3643
|
-
}
|
|
3254
|
+
});
|
|
3255
|
+
};
|
|
3644
3256
|
|
|
3645
|
-
|
|
3257
|
+
var isURLSameOrigin = platform.hasStandardBrowserEnv ? ((origin, isMSIE) => url => {
|
|
3258
|
+
url = new URL(url, platform.origin);
|
|
3259
|
+
return origin.protocol === url.protocol && origin.host === url.host && (isMSIE || origin.port === url.port);
|
|
3260
|
+
})(new URL(platform.origin), platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)) : () => true;
|
|
3646
3261
|
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
}
|
|
3653
|
-
|
|
3654
|
-
|
|
3262
|
+
var cookies = platform.hasStandardBrowserEnv ?
|
|
3263
|
+
// Standard browser envs support document.cookie
|
|
3264
|
+
{
|
|
3265
|
+
write(name, value, expires, path, domain, secure, sameSite) {
|
|
3266
|
+
if (typeof document === 'undefined') return;
|
|
3267
|
+
const cookie = [`${name}=${encodeURIComponent(value)}`];
|
|
3268
|
+
if (utils$1.isNumber(expires)) {
|
|
3269
|
+
cookie.push(`expires=${new Date(expires).toUTCString()}`);
|
|
3270
|
+
}
|
|
3271
|
+
if (utils$1.isString(path)) {
|
|
3272
|
+
cookie.push(`path=${path}`);
|
|
3273
|
+
}
|
|
3274
|
+
if (utils$1.isString(domain)) {
|
|
3275
|
+
cookie.push(`domain=${domain}`);
|
|
3276
|
+
}
|
|
3277
|
+
if (secure === true) {
|
|
3278
|
+
cookie.push('secure');
|
|
3279
|
+
}
|
|
3280
|
+
if (utils$1.isString(sameSite)) {
|
|
3281
|
+
cookie.push(`SameSite=${sameSite}`);
|
|
3282
|
+
}
|
|
3283
|
+
document.cookie = cookie.join('; ');
|
|
3284
|
+
},
|
|
3285
|
+
read(name) {
|
|
3286
|
+
if (typeof document === 'undefined') return null;
|
|
3287
|
+
const match = document.cookie.match(new RegExp('(?:^|; )' + name + '=([^;]*)'));
|
|
3288
|
+
return match ? decodeURIComponent(match[1]) : null;
|
|
3289
|
+
},
|
|
3290
|
+
remove(name) {
|
|
3291
|
+
this.write(name, '', Date.now() - 86400000, '/');
|
|
3292
|
+
}
|
|
3293
|
+
} :
|
|
3294
|
+
// Non-standard browser env (web workers, react-native) lack needed support.
|
|
3295
|
+
{
|
|
3296
|
+
write() {},
|
|
3297
|
+
read() {
|
|
3298
|
+
return null;
|
|
3299
|
+
},
|
|
3300
|
+
remove() {}
|
|
3301
|
+
};
|
|
3655
3302
|
|
|
3656
|
-
const headersToObject =
|
|
3303
|
+
const headersToObject = thing => thing instanceof AxiosHeaders ? {
|
|
3304
|
+
...thing
|
|
3305
|
+
} : thing;
|
|
3657
3306
|
|
|
3658
3307
|
/**
|
|
3659
3308
|
* Config-specific merge-function which creates a new config-object
|
|
@@ -3668,10 +3317,11 @@ function mergeConfig(config1, config2) {
|
|
|
3668
3317
|
// eslint-disable-next-line no-param-reassign
|
|
3669
3318
|
config2 = config2 || {};
|
|
3670
3319
|
const config = {};
|
|
3671
|
-
|
|
3672
3320
|
function getMergedValue(target, source, prop, caseless) {
|
|
3673
3321
|
if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) {
|
|
3674
|
-
return utils$1.merge.call({
|
|
3322
|
+
return utils$1.merge.call({
|
|
3323
|
+
caseless
|
|
3324
|
+
}, target, source);
|
|
3675
3325
|
} else if (utils$1.isPlainObject(source)) {
|
|
3676
3326
|
return utils$1.merge({}, source);
|
|
3677
3327
|
} else if (utils$1.isArray(source)) {
|
|
@@ -3679,8 +3329,6 @@ function mergeConfig(config1, config2) {
|
|
|
3679
3329
|
}
|
|
3680
3330
|
return source;
|
|
3681
3331
|
}
|
|
3682
|
-
|
|
3683
|
-
// eslint-disable-next-line consistent-return
|
|
3684
3332
|
function mergeDeepProperties(a, b, prop, caseless) {
|
|
3685
3333
|
if (!utils$1.isUndefined(b)) {
|
|
3686
3334
|
return getMergedValue(a, b, prop, caseless);
|
|
@@ -3713,7 +3361,6 @@ function mergeConfig(config1, config2) {
|
|
|
3713
3361
|
return getMergedValue(undefined, a);
|
|
3714
3362
|
}
|
|
3715
3363
|
}
|
|
3716
|
-
|
|
3717
3364
|
const mergeMap = {
|
|
3718
3365
|
url: valueFromConfig2,
|
|
3719
3366
|
method: valueFromConfig2,
|
|
@@ -3745,32 +3392,35 @@ function mergeConfig(config1, config2) {
|
|
|
3745
3392
|
validateStatus: mergeDirectKeys,
|
|
3746
3393
|
headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
|
|
3747
3394
|
};
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3395
|
+
utils$1.forEach(Object.keys({
|
|
3396
|
+
...config1,
|
|
3397
|
+
...config2
|
|
3398
|
+
}), function computeConfigValue(prop) {
|
|
3399
|
+
if (prop === '__proto__' || prop === 'constructor' || prop === 'prototype') return;
|
|
3400
|
+
const merge = utils$1.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
|
|
3751
3401
|
const configValue = merge(config1[prop], config2[prop], prop);
|
|
3752
|
-
|
|
3402
|
+
utils$1.isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue);
|
|
3753
3403
|
});
|
|
3754
|
-
|
|
3755
3404
|
return config;
|
|
3756
3405
|
}
|
|
3757
3406
|
|
|
3758
|
-
|
|
3407
|
+
var resolveConfig = config => {
|
|
3759
3408
|
const newConfig = mergeConfig({}, config);
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3409
|
+
let {
|
|
3410
|
+
data,
|
|
3411
|
+
withXSRFToken,
|
|
3412
|
+
xsrfHeaderName,
|
|
3413
|
+
xsrfCookieName,
|
|
3414
|
+
headers,
|
|
3415
|
+
auth
|
|
3416
|
+
} = newConfig;
|
|
3417
|
+
newConfig.headers = headers = AxiosHeaders.from(headers);
|
|
3765
3418
|
newConfig.url = buildURL(buildFullPath(newConfig.baseURL, newConfig.url, newConfig.allowAbsoluteUrls), config.params, config.paramsSerializer);
|
|
3766
3419
|
|
|
3767
3420
|
// HTTP basic authentication
|
|
3768
3421
|
if (auth) {
|
|
3769
|
-
headers.set('Authorization', 'Basic ' +
|
|
3770
|
-
btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : ''))
|
|
3771
|
-
);
|
|
3422
|
+
headers.set('Authorization', 'Basic ' + btoa((auth.username || '') + ':' + (auth.password ? unescape(encodeURIComponent(auth.password)) : '')));
|
|
3772
3423
|
}
|
|
3773
|
-
|
|
3774
3424
|
if (utils$1.isFormData(data)) {
|
|
3775
3425
|
if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {
|
|
3776
3426
|
headers.setContentType(undefined); // browser handles it
|
|
@@ -3785,7 +3435,7 @@ const resolveConfig = (config) => {
|
|
|
3785
3435
|
}
|
|
3786
3436
|
});
|
|
3787
3437
|
}
|
|
3788
|
-
}
|
|
3438
|
+
}
|
|
3789
3439
|
|
|
3790
3440
|
// Add xsrf header
|
|
3791
3441
|
// This is only done if running in a standard browser environment.
|
|
@@ -3793,58 +3443,50 @@ const resolveConfig = (config) => {
|
|
|
3793
3443
|
|
|
3794
3444
|
if (platform.hasStandardBrowserEnv) {
|
|
3795
3445
|
withXSRFToken && utils$1.isFunction(withXSRFToken) && (withXSRFToken = withXSRFToken(newConfig));
|
|
3796
|
-
|
|
3797
|
-
if (withXSRFToken || (withXSRFToken !== false && isURLSameOrigin(newConfig.url))) {
|
|
3446
|
+
if (withXSRFToken || withXSRFToken !== false && isURLSameOrigin(newConfig.url)) {
|
|
3798
3447
|
// Add xsrf header
|
|
3799
3448
|
const xsrfValue = xsrfHeaderName && xsrfCookieName && cookies.read(xsrfCookieName);
|
|
3800
|
-
|
|
3801
3449
|
if (xsrfValue) {
|
|
3802
3450
|
headers.set(xsrfHeaderName, xsrfValue);
|
|
3803
3451
|
}
|
|
3804
3452
|
}
|
|
3805
3453
|
}
|
|
3806
|
-
|
|
3807
3454
|
return newConfig;
|
|
3808
3455
|
};
|
|
3809
3456
|
|
|
3810
3457
|
const isXHRAdapterSupported = typeof XMLHttpRequest !== 'undefined';
|
|
3811
|
-
|
|
3812
|
-
const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
3458
|
+
var xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
3813
3459
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
3814
3460
|
const _config = resolveConfig(config);
|
|
3815
3461
|
let requestData = _config.data;
|
|
3816
|
-
const requestHeaders = AxiosHeaders
|
|
3817
|
-
let {
|
|
3462
|
+
const requestHeaders = AxiosHeaders.from(_config.headers).normalize();
|
|
3463
|
+
let {
|
|
3464
|
+
responseType,
|
|
3465
|
+
onUploadProgress,
|
|
3466
|
+
onDownloadProgress
|
|
3467
|
+
} = _config;
|
|
3818
3468
|
let onCanceled;
|
|
3819
3469
|
let uploadThrottled, downloadThrottled;
|
|
3820
3470
|
let flushUpload, flushDownload;
|
|
3821
|
-
|
|
3822
3471
|
function done() {
|
|
3823
3472
|
flushUpload && flushUpload(); // flush events
|
|
3824
3473
|
flushDownload && flushDownload(); // flush events
|
|
3825
3474
|
|
|
3826
3475
|
_config.cancelToken && _config.cancelToken.unsubscribe(onCanceled);
|
|
3827
|
-
|
|
3828
3476
|
_config.signal && _config.signal.removeEventListener('abort', onCanceled);
|
|
3829
3477
|
}
|
|
3830
|
-
|
|
3831
3478
|
let request = new XMLHttpRequest();
|
|
3832
|
-
|
|
3833
3479
|
request.open(_config.method.toUpperCase(), _config.url, true);
|
|
3834
3480
|
|
|
3835
3481
|
// Set the request timeout in MS
|
|
3836
3482
|
request.timeout = _config.timeout;
|
|
3837
|
-
|
|
3838
3483
|
function onloadend() {
|
|
3839
3484
|
if (!request) {
|
|
3840
3485
|
return;
|
|
3841
3486
|
}
|
|
3842
3487
|
// Prepare the response
|
|
3843
|
-
const responseHeaders = AxiosHeaders
|
|
3844
|
-
|
|
3845
|
-
);
|
|
3846
|
-
const responseData = !responseType || responseType === 'text' || responseType === 'json' ?
|
|
3847
|
-
request.responseText : request.response;
|
|
3488
|
+
const responseHeaders = AxiosHeaders.from('getAllResponseHeaders' in request && request.getAllResponseHeaders());
|
|
3489
|
+
const responseData = !responseType || responseType === 'text' || responseType === 'json' ? request.responseText : request.response;
|
|
3848
3490
|
const response = {
|
|
3849
3491
|
data: responseData,
|
|
3850
3492
|
status: request.status,
|
|
@@ -3853,7 +3495,6 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
3853
3495
|
config,
|
|
3854
3496
|
request
|
|
3855
3497
|
};
|
|
3856
|
-
|
|
3857
3498
|
settle(function _resolve(value) {
|
|
3858
3499
|
resolve(value);
|
|
3859
3500
|
done();
|
|
@@ -3865,7 +3506,6 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
3865
3506
|
// Clean up request
|
|
3866
3507
|
request = null;
|
|
3867
3508
|
}
|
|
3868
|
-
|
|
3869
3509
|
if ('onloadend' in request) {
|
|
3870
3510
|
// Use onloadend if available
|
|
3871
3511
|
request.onloadend = onloadend;
|
|
@@ -3894,7 +3534,6 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
3894
3534
|
if (!request) {
|
|
3895
3535
|
return;
|
|
3896
3536
|
}
|
|
3897
|
-
|
|
3898
3537
|
reject(new AxiosError('Request aborted', AxiosError.ECONNABORTED, config, request));
|
|
3899
3538
|
|
|
3900
3539
|
// Clean up request
|
|
@@ -3902,18 +3541,18 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
3902
3541
|
};
|
|
3903
3542
|
|
|
3904
3543
|
// Handle low level network errors
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3544
|
+
request.onerror = function handleError(event) {
|
|
3545
|
+
// Browsers deliver a ProgressEvent in XHR onerror
|
|
3546
|
+
// (message may be empty; when present, surface it)
|
|
3547
|
+
// See https://developer.mozilla.org/docs/Web/API/XMLHttpRequest/error_event
|
|
3548
|
+
const msg = event && event.message ? event.message : 'Network Error';
|
|
3549
|
+
const err = new AxiosError(msg, AxiosError.ERR_NETWORK, config, request);
|
|
3550
|
+
// attach the underlying event for consumers who want details
|
|
3551
|
+
err.event = event || null;
|
|
3552
|
+
reject(err);
|
|
3553
|
+
request = null;
|
|
3915
3554
|
};
|
|
3916
|
-
|
|
3555
|
+
|
|
3917
3556
|
// Handle timeout
|
|
3918
3557
|
request.ontimeout = function handleTimeout() {
|
|
3919
3558
|
let timeoutErrorMessage = _config.timeout ? 'timeout of ' + _config.timeout + 'ms exceeded' : 'timeout exceeded';
|
|
@@ -3921,11 +3560,7 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
3921
3560
|
if (_config.timeoutErrorMessage) {
|
|
3922
3561
|
timeoutErrorMessage = _config.timeoutErrorMessage;
|
|
3923
3562
|
}
|
|
3924
|
-
reject(new AxiosError(
|
|
3925
|
-
timeoutErrorMessage,
|
|
3926
|
-
transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED,
|
|
3927
|
-
config,
|
|
3928
|
-
request));
|
|
3563
|
+
reject(new AxiosError(timeoutErrorMessage, transitional.clarifyTimeoutError ? AxiosError.ETIMEDOUT : AxiosError.ECONNABORTED, config, request));
|
|
3929
3564
|
|
|
3930
3565
|
// Clean up request
|
|
3931
3566
|
request = null;
|
|
@@ -3953,19 +3588,16 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
3953
3588
|
|
|
3954
3589
|
// Handle progress if needed
|
|
3955
3590
|
if (onDownloadProgress) {
|
|
3956
|
-
|
|
3591
|
+
[downloadThrottled, flushDownload] = progressEventReducer(onDownloadProgress, true);
|
|
3957
3592
|
request.addEventListener('progress', downloadThrottled);
|
|
3958
3593
|
}
|
|
3959
3594
|
|
|
3960
3595
|
// Not all browsers support upload events
|
|
3961
3596
|
if (onUploadProgress && request.upload) {
|
|
3962
|
-
|
|
3963
|
-
|
|
3597
|
+
[uploadThrottled, flushUpload] = progressEventReducer(onUploadProgress);
|
|
3964
3598
|
request.upload.addEventListener('progress', uploadThrottled);
|
|
3965
|
-
|
|
3966
3599
|
request.upload.addEventListener('loadend', flushUpload);
|
|
3967
3600
|
}
|
|
3968
|
-
|
|
3969
3601
|
if (_config.cancelToken || _config.signal) {
|
|
3970
3602
|
// Handle cancellation
|
|
3971
3603
|
// eslint-disable-next-line func-names
|
|
@@ -3977,34 +3609,29 @@ const xhrAdapter = isXHRAdapterSupported && function (config) {
|
|
|
3977
3609
|
request.abort();
|
|
3978
3610
|
request = null;
|
|
3979
3611
|
};
|
|
3980
|
-
|
|
3981
3612
|
_config.cancelToken && _config.cancelToken.subscribe(onCanceled);
|
|
3982
3613
|
if (_config.signal) {
|
|
3983
3614
|
_config.signal.aborted ? onCanceled() : _config.signal.addEventListener('abort', onCanceled);
|
|
3984
3615
|
}
|
|
3985
3616
|
}
|
|
3986
|
-
|
|
3987
3617
|
const protocol = parseProtocol(_config.url);
|
|
3988
|
-
|
|
3989
3618
|
if (protocol && platform.protocols.indexOf(protocol) === -1) {
|
|
3990
3619
|
reject(new AxiosError('Unsupported protocol ' + protocol + ':', AxiosError.ERR_BAD_REQUEST, config));
|
|
3991
3620
|
return;
|
|
3992
3621
|
}
|
|
3993
3622
|
|
|
3994
|
-
|
|
3995
3623
|
// Send the request
|
|
3996
3624
|
request.send(requestData || null);
|
|
3997
3625
|
});
|
|
3998
3626
|
};
|
|
3999
3627
|
|
|
4000
3628
|
const composeSignals = (signals, timeout) => {
|
|
4001
|
-
const {
|
|
4002
|
-
|
|
3629
|
+
const {
|
|
3630
|
+
length
|
|
3631
|
+
} = signals = signals ? signals.filter(Boolean) : [];
|
|
4003
3632
|
if (timeout || length) {
|
|
4004
3633
|
let controller = new AbortController();
|
|
4005
|
-
|
|
4006
3634
|
let aborted;
|
|
4007
|
-
|
|
4008
3635
|
const onabort = function (reason) {
|
|
4009
3636
|
if (!aborted) {
|
|
4010
3637
|
aborted = true;
|
|
@@ -4013,12 +3640,10 @@ const composeSignals = (signals, timeout) => {
|
|
|
4013
3640
|
controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
|
|
4014
3641
|
}
|
|
4015
3642
|
};
|
|
4016
|
-
|
|
4017
3643
|
let timer = timeout && setTimeout(() => {
|
|
4018
3644
|
timer = null;
|
|
4019
|
-
onabort(new AxiosError(`timeout ${timeout}
|
|
3645
|
+
onabort(new AxiosError(`timeout of ${timeout}ms exceeded`, AxiosError.ETIMEDOUT));
|
|
4020
3646
|
}, timeout);
|
|
4021
|
-
|
|
4022
3647
|
const unsubscribe = () => {
|
|
4023
3648
|
if (signals) {
|
|
4024
3649
|
timer && clearTimeout(timer);
|
|
@@ -4029,53 +3654,46 @@ const composeSignals = (signals, timeout) => {
|
|
|
4029
3654
|
signals = null;
|
|
4030
3655
|
}
|
|
4031
3656
|
};
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
3657
|
+
signals.forEach(signal => signal.addEventListener('abort', onabort));
|
|
3658
|
+
const {
|
|
3659
|
+
signal
|
|
3660
|
+
} = controller;
|
|
4037
3661
|
signal.unsubscribe = () => utils$1.asap(unsubscribe);
|
|
4038
|
-
|
|
4039
3662
|
return signal;
|
|
4040
3663
|
}
|
|
4041
3664
|
};
|
|
4042
3665
|
|
|
4043
|
-
const composeSignals$1 = composeSignals;
|
|
4044
|
-
|
|
4045
3666
|
const streamChunk = function* (chunk, chunkSize) {
|
|
4046
3667
|
let len = chunk.byteLength;
|
|
4047
|
-
|
|
4048
|
-
if (!chunkSize || len < chunkSize) {
|
|
3668
|
+
if (len < chunkSize) {
|
|
4049
3669
|
yield chunk;
|
|
4050
3670
|
return;
|
|
4051
3671
|
}
|
|
4052
|
-
|
|
4053
3672
|
let pos = 0;
|
|
4054
3673
|
let end;
|
|
4055
|
-
|
|
4056
3674
|
while (pos < len) {
|
|
4057
3675
|
end = pos + chunkSize;
|
|
4058
3676
|
yield chunk.slice(pos, end);
|
|
4059
3677
|
pos = end;
|
|
4060
3678
|
}
|
|
4061
3679
|
};
|
|
4062
|
-
|
|
4063
3680
|
const readBytes = async function* (iterable, chunkSize) {
|
|
4064
3681
|
for await (const chunk of readStream(iterable)) {
|
|
4065
3682
|
yield* streamChunk(chunk, chunkSize);
|
|
4066
3683
|
}
|
|
4067
3684
|
};
|
|
4068
|
-
|
|
4069
3685
|
const readStream = async function* (stream) {
|
|
4070
3686
|
if (stream[Symbol.asyncIterator]) {
|
|
4071
3687
|
yield* stream;
|
|
4072
3688
|
return;
|
|
4073
3689
|
}
|
|
4074
|
-
|
|
4075
3690
|
const reader = stream.getReader();
|
|
4076
3691
|
try {
|
|
4077
3692
|
for (;;) {
|
|
4078
|
-
const {
|
|
3693
|
+
const {
|
|
3694
|
+
done,
|
|
3695
|
+
value
|
|
3696
|
+
} = await reader.read();
|
|
4079
3697
|
if (done) {
|
|
4080
3698
|
break;
|
|
4081
3699
|
}
|
|
@@ -4085,30 +3703,28 @@ const readStream = async function* (stream) {
|
|
|
4085
3703
|
await reader.cancel();
|
|
4086
3704
|
}
|
|
4087
3705
|
};
|
|
4088
|
-
|
|
4089
3706
|
const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
4090
3707
|
const iterator = readBytes(stream, chunkSize);
|
|
4091
|
-
|
|
4092
3708
|
let bytes = 0;
|
|
4093
3709
|
let done;
|
|
4094
|
-
let _onFinish =
|
|
3710
|
+
let _onFinish = e => {
|
|
4095
3711
|
if (!done) {
|
|
4096
3712
|
done = true;
|
|
4097
3713
|
onFinish && onFinish(e);
|
|
4098
3714
|
}
|
|
4099
3715
|
};
|
|
4100
|
-
|
|
4101
3716
|
return new ReadableStream({
|
|
4102
3717
|
async pull(controller) {
|
|
4103
3718
|
try {
|
|
4104
|
-
const {
|
|
4105
|
-
|
|
3719
|
+
const {
|
|
3720
|
+
done,
|
|
3721
|
+
value
|
|
3722
|
+
} = await iterator.next();
|
|
4106
3723
|
if (done) {
|
|
4107
|
-
|
|
3724
|
+
_onFinish();
|
|
4108
3725
|
controller.close();
|
|
4109
3726
|
return;
|
|
4110
3727
|
}
|
|
4111
|
-
|
|
4112
3728
|
let len = value.byteLength;
|
|
4113
3729
|
if (onProgress) {
|
|
4114
3730
|
let loadedBytes = bytes += len;
|
|
@@ -4126,124 +3742,106 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
4126
3742
|
}
|
|
4127
3743
|
}, {
|
|
4128
3744
|
highWaterMark: 2
|
|
4129
|
-
})
|
|
3745
|
+
});
|
|
4130
3746
|
};
|
|
4131
3747
|
|
|
4132
3748
|
const DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
const globalFetchAPI = (({
|
|
4137
|
-
Request,
|
|
3749
|
+
const {
|
|
3750
|
+
isFunction
|
|
3751
|
+
} = utils$1;
|
|
3752
|
+
const globalFetchAPI = (({
|
|
3753
|
+
Request,
|
|
3754
|
+
Response
|
|
3755
|
+
}) => ({
|
|
3756
|
+
Request,
|
|
3757
|
+
Response
|
|
4138
3758
|
}))(utils$1.global);
|
|
4139
|
-
|
|
4140
3759
|
const {
|
|
4141
|
-
ReadableStream: ReadableStream$1,
|
|
3760
|
+
ReadableStream: ReadableStream$1,
|
|
3761
|
+
TextEncoder: TextEncoder$1
|
|
4142
3762
|
} = utils$1.global;
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
3763
|
const test = (fn, ...args) => {
|
|
4146
3764
|
try {
|
|
4147
3765
|
return !!fn(...args);
|
|
4148
3766
|
} catch (e) {
|
|
4149
|
-
return false
|
|
3767
|
+
return false;
|
|
4150
3768
|
}
|
|
4151
3769
|
};
|
|
4152
|
-
|
|
4153
|
-
const factory = (env) => {
|
|
3770
|
+
const factory = env => {
|
|
4154
3771
|
env = utils$1.merge.call({
|
|
4155
3772
|
skipUndefined: true
|
|
4156
3773
|
}, globalFetchAPI, env);
|
|
4157
|
-
|
|
4158
|
-
|
|
3774
|
+
const {
|
|
3775
|
+
fetch: envFetch,
|
|
3776
|
+
Request,
|
|
3777
|
+
Response
|
|
3778
|
+
} = env;
|
|
4159
3779
|
const isFetchSupported = envFetch ? isFunction(envFetch) : typeof fetch === 'function';
|
|
4160
3780
|
const isRequestSupported = isFunction(Request);
|
|
4161
3781
|
const isResponseSupported = isFunction(Response);
|
|
4162
|
-
|
|
4163
3782
|
if (!isFetchSupported) {
|
|
4164
3783
|
return false;
|
|
4165
3784
|
}
|
|
4166
|
-
|
|
4167
3785
|
const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream$1);
|
|
4168
|
-
|
|
4169
|
-
const encodeText = isFetchSupported && (typeof TextEncoder$1 === 'function' ?
|
|
4170
|
-
((encoder) => (str) => encoder.encode(str))(new TextEncoder$1()) :
|
|
4171
|
-
async (str) => new Uint8Array(await new Request(str).arrayBuffer())
|
|
4172
|
-
);
|
|
4173
|
-
|
|
3786
|
+
const encodeText = isFetchSupported && (typeof TextEncoder$1 === 'function' ? (encoder => str => encoder.encode(str))(new TextEncoder$1()) : async str => new Uint8Array(await new Request(str).arrayBuffer()));
|
|
4174
3787
|
const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => {
|
|
4175
3788
|
let duplexAccessed = false;
|
|
4176
|
-
|
|
3789
|
+
const body = new ReadableStream$1();
|
|
4177
3790
|
const hasContentType = new Request(platform.origin, {
|
|
4178
|
-
body
|
|
3791
|
+
body,
|
|
4179
3792
|
method: 'POST',
|
|
4180
3793
|
get duplex() {
|
|
4181
3794
|
duplexAccessed = true;
|
|
4182
3795
|
return 'half';
|
|
4183
|
-
}
|
|
3796
|
+
}
|
|
4184
3797
|
}).headers.has('Content-Type');
|
|
4185
|
-
|
|
3798
|
+
body.cancel();
|
|
4186
3799
|
return duplexAccessed && !hasContentType;
|
|
4187
3800
|
});
|
|
4188
|
-
|
|
4189
|
-
const supportsResponseStream = isResponseSupported && isReadableStreamSupported &&
|
|
4190
|
-
test(() => utils$1.isReadableStream(new Response('').body));
|
|
4191
|
-
|
|
3801
|
+
const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils$1.isReadableStream(new Response('').body));
|
|
4192
3802
|
const resolvers = {
|
|
4193
|
-
stream: supportsResponseStream && (
|
|
3803
|
+
stream: supportsResponseStream && (res => res.body)
|
|
4194
3804
|
};
|
|
4195
|
-
|
|
4196
|
-
isFetchSupported && ((() => {
|
|
3805
|
+
isFetchSupported && (() => {
|
|
4197
3806
|
['text', 'arrayBuffer', 'blob', 'formData', 'stream'].forEach(type => {
|
|
4198
3807
|
!resolvers[type] && (resolvers[type] = (res, config) => {
|
|
4199
3808
|
let method = res && res[type];
|
|
4200
|
-
|
|
4201
3809
|
if (method) {
|
|
4202
3810
|
return method.call(res);
|
|
4203
3811
|
}
|
|
4204
|
-
|
|
4205
3812
|
throw new AxiosError(`Response type '${type}' is not supported`, AxiosError.ERR_NOT_SUPPORT, config);
|
|
4206
3813
|
});
|
|
4207
3814
|
});
|
|
4208
|
-
})()
|
|
4209
|
-
|
|
4210
|
-
const getBodyLength = async (body) => {
|
|
3815
|
+
})();
|
|
3816
|
+
const getBodyLength = async body => {
|
|
4211
3817
|
if (body == null) {
|
|
4212
3818
|
return 0;
|
|
4213
3819
|
}
|
|
4214
|
-
|
|
4215
3820
|
if (utils$1.isBlob(body)) {
|
|
4216
3821
|
return body.size;
|
|
4217
3822
|
}
|
|
4218
|
-
|
|
4219
3823
|
if (utils$1.isSpecCompliantForm(body)) {
|
|
4220
3824
|
const _request = new Request(platform.origin, {
|
|
4221
3825
|
method: 'POST',
|
|
4222
|
-
body
|
|
3826
|
+
body
|
|
4223
3827
|
});
|
|
4224
3828
|
return (await _request.arrayBuffer()).byteLength;
|
|
4225
3829
|
}
|
|
4226
|
-
|
|
4227
3830
|
if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) {
|
|
4228
3831
|
return body.byteLength;
|
|
4229
3832
|
}
|
|
4230
|
-
|
|
4231
3833
|
if (utils$1.isURLSearchParams(body)) {
|
|
4232
3834
|
body = body + '';
|
|
4233
3835
|
}
|
|
4234
|
-
|
|
4235
3836
|
if (utils$1.isString(body)) {
|
|
4236
3837
|
return (await encodeText(body)).byteLength;
|
|
4237
3838
|
}
|
|
4238
3839
|
};
|
|
4239
|
-
|
|
4240
3840
|
const resolveBodyLength = async (headers, body) => {
|
|
4241
3841
|
const length = utils$1.toFiniteNumber(headers.getContentLength());
|
|
4242
|
-
|
|
4243
3842
|
return length == null ? getBodyLength(body) : length;
|
|
4244
3843
|
};
|
|
4245
|
-
|
|
4246
|
-
return async (config) => {
|
|
3844
|
+
return async config => {
|
|
4247
3845
|
let {
|
|
4248
3846
|
url,
|
|
4249
3847
|
method,
|
|
@@ -4258,152 +3856,107 @@ const factory = (env) => {
|
|
|
4258
3856
|
withCredentials = 'same-origin',
|
|
4259
3857
|
fetchOptions
|
|
4260
3858
|
} = resolveConfig(config);
|
|
4261
|
-
|
|
4262
3859
|
let _fetch = envFetch || fetch;
|
|
4263
|
-
|
|
4264
3860
|
responseType = responseType ? (responseType + '').toLowerCase() : 'text';
|
|
4265
|
-
|
|
4266
|
-
let composedSignal = composeSignals$1([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
|
|
4267
|
-
|
|
3861
|
+
let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
|
|
4268
3862
|
let request = null;
|
|
4269
|
-
|
|
4270
3863
|
const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
|
|
4271
3864
|
composedSignal.unsubscribe();
|
|
4272
3865
|
});
|
|
4273
|
-
|
|
4274
3866
|
let requestContentLength;
|
|
4275
|
-
|
|
4276
3867
|
try {
|
|
4277
|
-
if (
|
|
4278
|
-
onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head' &&
|
|
4279
|
-
(requestContentLength = await resolveBodyLength(headers, data)) !== 0
|
|
4280
|
-
) {
|
|
3868
|
+
if (onUploadProgress && supportsRequestStream && method !== 'get' && method !== 'head' && (requestContentLength = await resolveBodyLength(headers, data)) !== 0) {
|
|
4281
3869
|
let _request = new Request(url, {
|
|
4282
3870
|
method: 'POST',
|
|
4283
3871
|
body: data,
|
|
4284
|
-
duplex:
|
|
3872
|
+
duplex: 'half'
|
|
4285
3873
|
});
|
|
4286
|
-
|
|
4287
3874
|
let contentTypeHeader;
|
|
4288
|
-
|
|
4289
3875
|
if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get('content-type'))) {
|
|
4290
3876
|
headers.setContentType(contentTypeHeader);
|
|
4291
3877
|
}
|
|
4292
|
-
|
|
4293
3878
|
if (_request.body) {
|
|
4294
|
-
const [onProgress, flush] = progressEventDecorator(
|
|
4295
|
-
requestContentLength,
|
|
4296
|
-
progressEventReducer(asyncDecorator(onUploadProgress))
|
|
4297
|
-
);
|
|
4298
|
-
|
|
3879
|
+
const [onProgress, flush] = progressEventDecorator(requestContentLength, progressEventReducer(asyncDecorator(onUploadProgress)));
|
|
4299
3880
|
data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
|
|
4300
3881
|
}
|
|
4301
3882
|
}
|
|
4302
|
-
|
|
4303
3883
|
if (!utils$1.isString(withCredentials)) {
|
|
4304
3884
|
withCredentials = withCredentials ? 'include' : 'omit';
|
|
4305
3885
|
}
|
|
4306
3886
|
|
|
4307
3887
|
// Cloudflare Workers throws when credentials are defined
|
|
4308
3888
|
// see https://github.com/cloudflare/workerd/issues/902
|
|
4309
|
-
const isCredentialsSupported = isRequestSupported &&
|
|
4310
|
-
|
|
3889
|
+
const isCredentialsSupported = isRequestSupported && 'credentials' in Request.prototype;
|
|
4311
3890
|
const resolvedOptions = {
|
|
4312
3891
|
...fetchOptions,
|
|
4313
3892
|
signal: composedSignal,
|
|
4314
3893
|
method: method.toUpperCase(),
|
|
4315
3894
|
headers: headers.normalize().toJSON(),
|
|
4316
3895
|
body: data,
|
|
4317
|
-
duplex:
|
|
3896
|
+
duplex: 'half',
|
|
4318
3897
|
credentials: isCredentialsSupported ? withCredentials : undefined
|
|
4319
3898
|
};
|
|
4320
|
-
|
|
4321
3899
|
request = isRequestSupported && new Request(url, resolvedOptions);
|
|
4322
|
-
|
|
4323
3900
|
let response = await (isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url, resolvedOptions));
|
|
4324
|
-
|
|
4325
3901
|
const isStreamResponse = supportsResponseStream && (responseType === 'stream' || responseType === 'response');
|
|
4326
|
-
|
|
4327
|
-
if (supportsResponseStream && (onDownloadProgress || (isStreamResponse && unsubscribe))) {
|
|
3902
|
+
if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
|
|
4328
3903
|
const options = {};
|
|
4329
|
-
|
|
4330
3904
|
['status', 'statusText', 'headers'].forEach(prop => {
|
|
4331
3905
|
options[prop] = response[prop];
|
|
4332
3906
|
});
|
|
4333
|
-
|
|
4334
3907
|
const responseContentLength = utils$1.toFiniteNumber(response.headers.get('content-length'));
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
)
|
|
4340
|
-
|
|
4341
|
-
response = new Response(
|
|
4342
|
-
trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
4343
|
-
flush && flush();
|
|
4344
|
-
unsubscribe && unsubscribe();
|
|
4345
|
-
}),
|
|
4346
|
-
options
|
|
4347
|
-
);
|
|
3908
|
+
const [onProgress, flush] = onDownloadProgress && progressEventDecorator(responseContentLength, progressEventReducer(asyncDecorator(onDownloadProgress), true)) || [];
|
|
3909
|
+
response = new Response(trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
|
|
3910
|
+
flush && flush();
|
|
3911
|
+
unsubscribe && unsubscribe();
|
|
3912
|
+
}), options);
|
|
4348
3913
|
}
|
|
4349
|
-
|
|
4350
3914
|
responseType = responseType || 'text';
|
|
4351
|
-
|
|
4352
3915
|
let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || 'text'](response, config);
|
|
4353
|
-
|
|
4354
3916
|
!isStreamResponse && unsubscribe && unsubscribe();
|
|
4355
|
-
|
|
4356
3917
|
return await new Promise((resolve, reject) => {
|
|
4357
3918
|
settle(resolve, reject, {
|
|
4358
3919
|
data: responseData,
|
|
4359
|
-
headers: AxiosHeaders
|
|
3920
|
+
headers: AxiosHeaders.from(response.headers),
|
|
4360
3921
|
status: response.status,
|
|
4361
3922
|
statusText: response.statusText,
|
|
4362
3923
|
config,
|
|
4363
3924
|
request
|
|
4364
3925
|
});
|
|
4365
|
-
})
|
|
3926
|
+
});
|
|
4366
3927
|
} catch (err) {
|
|
4367
3928
|
unsubscribe && unsubscribe();
|
|
4368
|
-
|
|
4369
3929
|
if (err && err.name === 'TypeError' && /Load failed|fetch/i.test(err.message)) {
|
|
4370
|
-
throw Object.assign(
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
cause: err.cause || err
|
|
4374
|
-
}
|
|
4375
|
-
)
|
|
3930
|
+
throw Object.assign(new AxiosError('Network Error', AxiosError.ERR_NETWORK, config, request, err && err.response), {
|
|
3931
|
+
cause: err.cause || err
|
|
3932
|
+
});
|
|
4376
3933
|
}
|
|
4377
|
-
|
|
4378
|
-
throw AxiosError.from(err, err && err.code, config, request);
|
|
3934
|
+
throw AxiosError.from(err, err && err.code, config, request, err && err.response);
|
|
4379
3935
|
}
|
|
4380
|
-
}
|
|
3936
|
+
};
|
|
4381
3937
|
};
|
|
4382
|
-
|
|
4383
3938
|
const seedCache = new Map();
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
let len = seeds.length,
|
|
4393
|
-
|
|
4394
|
-
|
|
3939
|
+
const getFetch = config => {
|
|
3940
|
+
let env = config && config.env || {};
|
|
3941
|
+
const {
|
|
3942
|
+
fetch,
|
|
3943
|
+
Request,
|
|
3944
|
+
Response
|
|
3945
|
+
} = env;
|
|
3946
|
+
const seeds = [Request, Response, fetch];
|
|
3947
|
+
let len = seeds.length,
|
|
3948
|
+
i = len,
|
|
3949
|
+
seed,
|
|
3950
|
+
target,
|
|
3951
|
+
map = seedCache;
|
|
4395
3952
|
while (i--) {
|
|
4396
3953
|
seed = seeds[i];
|
|
4397
3954
|
target = map.get(seed);
|
|
4398
|
-
|
|
4399
|
-
target === undefined && map.set(seed, target = (i ? new Map() : factory(env)));
|
|
4400
|
-
|
|
3955
|
+
target === undefined && map.set(seed, target = i ? new Map() : factory(env));
|
|
4401
3956
|
map = target;
|
|
4402
3957
|
}
|
|
4403
|
-
|
|
4404
3958
|
return target;
|
|
4405
3959
|
};
|
|
4406
|
-
|
|
4407
3960
|
getFetch();
|
|
4408
3961
|
|
|
4409
3962
|
/**
|
|
@@ -4412,14 +3965,14 @@ getFetch();
|
|
|
4412
3965
|
* - `http` for Node.js
|
|
4413
3966
|
* - `xhr` for browsers
|
|
4414
3967
|
* - `fetch` for fetch API-based requests
|
|
4415
|
-
*
|
|
3968
|
+
*
|
|
4416
3969
|
* @type {Object<string, Function|Object>}
|
|
4417
3970
|
*/
|
|
4418
3971
|
const knownAdapters = {
|
|
4419
3972
|
http: httpAdapter,
|
|
4420
3973
|
xhr: xhrAdapter,
|
|
4421
3974
|
fetch: {
|
|
4422
|
-
get: getFetch
|
|
3975
|
+
get: getFetch
|
|
4423
3976
|
}
|
|
4424
3977
|
};
|
|
4425
3978
|
|
|
@@ -4427,35 +3980,39 @@ const knownAdapters = {
|
|
|
4427
3980
|
utils$1.forEach(knownAdapters, (fn, value) => {
|
|
4428
3981
|
if (fn) {
|
|
4429
3982
|
try {
|
|
4430
|
-
Object.defineProperty(fn, 'name', {
|
|
3983
|
+
Object.defineProperty(fn, 'name', {
|
|
3984
|
+
value
|
|
3985
|
+
});
|
|
4431
3986
|
} catch (e) {
|
|
4432
3987
|
// eslint-disable-next-line no-empty
|
|
4433
3988
|
}
|
|
4434
|
-
Object.defineProperty(fn, 'adapterName', {
|
|
3989
|
+
Object.defineProperty(fn, 'adapterName', {
|
|
3990
|
+
value
|
|
3991
|
+
});
|
|
4435
3992
|
}
|
|
4436
3993
|
});
|
|
4437
3994
|
|
|
4438
3995
|
/**
|
|
4439
3996
|
* Render a rejection reason string for unknown or unsupported adapters
|
|
4440
|
-
*
|
|
3997
|
+
*
|
|
4441
3998
|
* @param {string} reason
|
|
4442
3999
|
* @returns {string}
|
|
4443
4000
|
*/
|
|
4444
|
-
const renderReason =
|
|
4001
|
+
const renderReason = reason => `- ${reason}`;
|
|
4445
4002
|
|
|
4446
4003
|
/**
|
|
4447
4004
|
* Check if the adapter is resolved (function, null, or false)
|
|
4448
|
-
*
|
|
4005
|
+
*
|
|
4449
4006
|
* @param {Function|null|false} adapter
|
|
4450
4007
|
* @returns {boolean}
|
|
4451
4008
|
*/
|
|
4452
|
-
const isResolvedHandle =
|
|
4009
|
+
const isResolvedHandle = adapter => utils$1.isFunction(adapter) || adapter === null || adapter === false;
|
|
4453
4010
|
|
|
4454
4011
|
/**
|
|
4455
4012
|
* Get the first suitable adapter from the provided list.
|
|
4456
4013
|
* Tries each adapter in order until a supported one is found.
|
|
4457
4014
|
* Throws an AxiosError if no adapter is suitable.
|
|
4458
|
-
*
|
|
4015
|
+
*
|
|
4459
4016
|
* @param {Array<string|Function>|string|Function} adapters - Adapter(s) by name or function.
|
|
4460
4017
|
* @param {Object} config - Axios request configuration
|
|
4461
4018
|
* @throws {AxiosError} If no suitable adapter is available
|
|
@@ -4463,63 +4020,44 @@ const isResolvedHandle = (adapter) => utils$1.isFunction(adapter) || adapter ===
|
|
|
4463
4020
|
*/
|
|
4464
4021
|
function getAdapter(adapters, config) {
|
|
4465
4022
|
adapters = utils$1.isArray(adapters) ? adapters : [adapters];
|
|
4466
|
-
|
|
4467
|
-
|
|
4023
|
+
const {
|
|
4024
|
+
length
|
|
4025
|
+
} = adapters;
|
|
4468
4026
|
let nameOrAdapter;
|
|
4469
4027
|
let adapter;
|
|
4470
|
-
|
|
4471
4028
|
const rejectedReasons = {};
|
|
4472
|
-
|
|
4473
4029
|
for (let i = 0; i < length; i++) {
|
|
4474
4030
|
nameOrAdapter = adapters[i];
|
|
4475
4031
|
let id;
|
|
4476
|
-
|
|
4477
4032
|
adapter = nameOrAdapter;
|
|
4478
|
-
|
|
4479
4033
|
if (!isResolvedHandle(nameOrAdapter)) {
|
|
4480
4034
|
adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
|
|
4481
|
-
|
|
4482
4035
|
if (adapter === undefined) {
|
|
4483
4036
|
throw new AxiosError(`Unknown adapter '${id}'`);
|
|
4484
4037
|
}
|
|
4485
4038
|
}
|
|
4486
|
-
|
|
4487
4039
|
if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
|
|
4488
4040
|
break;
|
|
4489
4041
|
}
|
|
4490
|
-
|
|
4491
4042
|
rejectedReasons[id || '#' + i] = adapter;
|
|
4492
4043
|
}
|
|
4493
|
-
|
|
4494
4044
|
if (!adapter) {
|
|
4495
|
-
const reasons = Object.entries(rejectedReasons)
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
);
|
|
4499
|
-
|
|
4500
|
-
let s = length ?
|
|
4501
|
-
(reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0])) :
|
|
4502
|
-
'as no adapter specified';
|
|
4503
|
-
|
|
4504
|
-
throw new AxiosError(
|
|
4505
|
-
`There is no suitable adapter to dispatch the request ` + s,
|
|
4506
|
-
'ERR_NOT_SUPPORT'
|
|
4507
|
-
);
|
|
4045
|
+
const reasons = Object.entries(rejectedReasons).map(([id, state]) => `adapter ${id} ` + (state === false ? 'is not supported by the environment' : 'is not available in the build'));
|
|
4046
|
+
let s = length ? reasons.length > 1 ? 'since :\n' + reasons.map(renderReason).join('\n') : ' ' + renderReason(reasons[0]) : 'as no adapter specified';
|
|
4047
|
+
throw new AxiosError(`There is no suitable adapter to dispatch the request ` + s, 'ERR_NOT_SUPPORT');
|
|
4508
4048
|
}
|
|
4509
|
-
|
|
4510
4049
|
return adapter;
|
|
4511
4050
|
}
|
|
4512
4051
|
|
|
4513
4052
|
/**
|
|
4514
4053
|
* Exports Axios adapters and utility to resolve an adapter
|
|
4515
4054
|
*/
|
|
4516
|
-
|
|
4055
|
+
var adapters = {
|
|
4517
4056
|
/**
|
|
4518
4057
|
* Resolve an adapter from a list of adapter names or functions.
|
|
4519
4058
|
* @type {Function}
|
|
4520
4059
|
*/
|
|
4521
4060
|
getAdapter,
|
|
4522
|
-
|
|
4523
4061
|
/**
|
|
4524
4062
|
* Exposes all known adapters
|
|
4525
4063
|
* @type {Object<string, Function|Object>}
|
|
@@ -4538,7 +4076,6 @@ function throwIfCancellationRequested(config) {
|
|
|
4538
4076
|
if (config.cancelToken) {
|
|
4539
4077
|
config.cancelToken.throwIfRequested();
|
|
4540
4078
|
}
|
|
4541
|
-
|
|
4542
4079
|
if (config.signal && config.signal.aborted) {
|
|
4543
4080
|
throw new CanceledError(null, config);
|
|
4544
4081
|
}
|
|
@@ -4553,33 +4090,20 @@ function throwIfCancellationRequested(config) {
|
|
|
4553
4090
|
*/
|
|
4554
4091
|
function dispatchRequest(config) {
|
|
4555
4092
|
throwIfCancellationRequested(config);
|
|
4556
|
-
|
|
4557
|
-
config.headers = AxiosHeaders$1.from(config.headers);
|
|
4093
|
+
config.headers = AxiosHeaders.from(config.headers);
|
|
4558
4094
|
|
|
4559
4095
|
// Transform request data
|
|
4560
|
-
config.data = transformData.call(
|
|
4561
|
-
config,
|
|
4562
|
-
config.transformRequest
|
|
4563
|
-
);
|
|
4564
|
-
|
|
4096
|
+
config.data = transformData.call(config, config.transformRequest);
|
|
4565
4097
|
if (['post', 'put', 'patch'].indexOf(config.method) !== -1) {
|
|
4566
4098
|
config.headers.setContentType('application/x-www-form-urlencoded', false);
|
|
4567
4099
|
}
|
|
4568
|
-
|
|
4569
|
-
const adapter = adapters.getAdapter(config.adapter || defaults$1.adapter, config);
|
|
4570
|
-
|
|
4100
|
+
const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config);
|
|
4571
4101
|
return adapter(config).then(function onAdapterResolution(response) {
|
|
4572
4102
|
throwIfCancellationRequested(config);
|
|
4573
4103
|
|
|
4574
4104
|
// Transform response data
|
|
4575
|
-
response.data = transformData.call(
|
|
4576
|
-
|
|
4577
|
-
config.transformResponse,
|
|
4578
|
-
response
|
|
4579
|
-
);
|
|
4580
|
-
|
|
4581
|
-
response.headers = AxiosHeaders$1.from(response.headers);
|
|
4582
|
-
|
|
4105
|
+
response.data = transformData.call(config, config.transformResponse, response);
|
|
4106
|
+
response.headers = AxiosHeaders.from(response.headers);
|
|
4583
4107
|
return response;
|
|
4584
4108
|
}, function onAdapterRejection(reason) {
|
|
4585
4109
|
if (!isCancel(reason)) {
|
|
@@ -4587,15 +4111,10 @@ function dispatchRequest(config) {
|
|
|
4587
4111
|
|
|
4588
4112
|
// Transform response data
|
|
4589
4113
|
if (reason && reason.response) {
|
|
4590
|
-
reason.response.data = transformData.call(
|
|
4591
|
-
|
|
4592
|
-
config.transformResponse,
|
|
4593
|
-
reason.response
|
|
4594
|
-
);
|
|
4595
|
-
reason.response.headers = AxiosHeaders$1.from(reason.response.headers);
|
|
4114
|
+
reason.response.data = transformData.call(config, config.transformResponse, reason.response);
|
|
4115
|
+
reason.response.headers = AxiosHeaders.from(reason.response.headers);
|
|
4596
4116
|
}
|
|
4597
4117
|
}
|
|
4598
|
-
|
|
4599
4118
|
return Promise.reject(reason);
|
|
4600
4119
|
});
|
|
4601
4120
|
}
|
|
@@ -4608,7 +4127,6 @@ const validators$1 = {};
|
|
|
4608
4127
|
return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
|
|
4609
4128
|
};
|
|
4610
4129
|
});
|
|
4611
|
-
|
|
4612
4130
|
const deprecatedWarnings = {};
|
|
4613
4131
|
|
|
4614
4132
|
/**
|
|
@@ -4622,39 +4140,28 @@ const deprecatedWarnings = {};
|
|
|
4622
4140
|
*/
|
|
4623
4141
|
validators$1.transitional = function transitional(validator, version, message) {
|
|
4624
4142
|
function formatMessage(opt, desc) {
|
|
4625
|
-
return '[Axios v' + VERSION +
|
|
4143
|
+
return '[Axios v' + VERSION + "] Transitional option '" + opt + "'" + desc + (message ? '. ' + message : '');
|
|
4626
4144
|
}
|
|
4627
4145
|
|
|
4628
4146
|
// eslint-disable-next-line func-names
|
|
4629
4147
|
return (value, opt, opts) => {
|
|
4630
4148
|
if (validator === false) {
|
|
4631
|
-
throw new AxiosError(
|
|
4632
|
-
formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')),
|
|
4633
|
-
AxiosError.ERR_DEPRECATED
|
|
4634
|
-
);
|
|
4149
|
+
throw new AxiosError(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')), AxiosError.ERR_DEPRECATED);
|
|
4635
4150
|
}
|
|
4636
|
-
|
|
4637
4151
|
if (version && !deprecatedWarnings[opt]) {
|
|
4638
4152
|
deprecatedWarnings[opt] = true;
|
|
4639
4153
|
// eslint-disable-next-line no-console
|
|
4640
|
-
console.warn(
|
|
4641
|
-
formatMessage(
|
|
4642
|
-
opt,
|
|
4643
|
-
' has been deprecated since v' + version + ' and will be removed in the near future'
|
|
4644
|
-
)
|
|
4645
|
-
);
|
|
4154
|
+
console.warn(formatMessage(opt, ' has been deprecated since v' + version + ' and will be removed in the near future'));
|
|
4646
4155
|
}
|
|
4647
|
-
|
|
4648
4156
|
return validator ? validator(value, opt, opts) : true;
|
|
4649
4157
|
};
|
|
4650
4158
|
};
|
|
4651
|
-
|
|
4652
4159
|
validators$1.spelling = function spelling(correctSpelling) {
|
|
4653
4160
|
return (value, opt) => {
|
|
4654
4161
|
// eslint-disable-next-line no-console
|
|
4655
4162
|
console.warn(`${opt} is likely a misspelling of ${correctSpelling}`);
|
|
4656
4163
|
return true;
|
|
4657
|
-
}
|
|
4164
|
+
};
|
|
4658
4165
|
};
|
|
4659
4166
|
|
|
4660
4167
|
/**
|
|
@@ -4689,8 +4196,7 @@ function assertOptions(options, schema, allowUnknown) {
|
|
|
4689
4196
|
}
|
|
4690
4197
|
}
|
|
4691
4198
|
}
|
|
4692
|
-
|
|
4693
|
-
const validator = {
|
|
4199
|
+
var validator = {
|
|
4694
4200
|
assertOptions,
|
|
4695
4201
|
validators: validators$1
|
|
4696
4202
|
};
|
|
@@ -4708,8 +4214,8 @@ class Axios {
|
|
|
4708
4214
|
constructor(instanceConfig) {
|
|
4709
4215
|
this.defaults = instanceConfig || {};
|
|
4710
4216
|
this.interceptors = {
|
|
4711
|
-
request: new InterceptorManager
|
|
4712
|
-
response: new InterceptorManager
|
|
4217
|
+
request: new InterceptorManager(),
|
|
4218
|
+
response: new InterceptorManager()
|
|
4713
4219
|
};
|
|
4714
4220
|
}
|
|
4715
4221
|
|
|
@@ -4727,8 +4233,7 @@ class Axios {
|
|
|
4727
4233
|
} catch (err) {
|
|
4728
4234
|
if (err instanceof Error) {
|
|
4729
4235
|
let dummy = {};
|
|
4730
|
-
|
|
4731
|
-
Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());
|
|
4236
|
+
Error.captureStackTrace ? Error.captureStackTrace(dummy) : dummy = new Error();
|
|
4732
4237
|
|
|
4733
4238
|
// slice off the Error: ... line
|
|
4734
4239
|
const stack = dummy.stack ? dummy.stack.replace(/^.+\n/, '') : '';
|
|
@@ -4743,11 +4248,9 @@ class Axios {
|
|
|
4743
4248
|
// ignore the case where "stack" is an un-writable property
|
|
4744
4249
|
}
|
|
4745
4250
|
}
|
|
4746
|
-
|
|
4747
4251
|
throw err;
|
|
4748
4252
|
}
|
|
4749
4253
|
}
|
|
4750
|
-
|
|
4751
4254
|
_request(configOrUrl, config) {
|
|
4752
4255
|
/*eslint no-param-reassign:0*/
|
|
4753
4256
|
// Allow for axios('example/url'[, config]) a la fetch API
|
|
@@ -4757,19 +4260,20 @@ class Axios {
|
|
|
4757
4260
|
} else {
|
|
4758
4261
|
config = configOrUrl || {};
|
|
4759
4262
|
}
|
|
4760
|
-
|
|
4761
4263
|
config = mergeConfig(this.defaults, config);
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4264
|
+
const {
|
|
4265
|
+
transitional,
|
|
4266
|
+
paramsSerializer,
|
|
4267
|
+
headers
|
|
4268
|
+
} = config;
|
|
4765
4269
|
if (transitional !== undefined) {
|
|
4766
4270
|
validator.assertOptions(transitional, {
|
|
4767
4271
|
silentJSONParsing: validators.transitional(validators.boolean),
|
|
4768
4272
|
forcedJSONParsing: validators.transitional(validators.boolean),
|
|
4769
|
-
clarifyTimeoutError: validators.transitional(validators.boolean)
|
|
4273
|
+
clarifyTimeoutError: validators.transitional(validators.boolean),
|
|
4274
|
+
legacyInterceptorReqResOrdering: validators.transitional(validators.boolean)
|
|
4770
4275
|
}, false);
|
|
4771
4276
|
}
|
|
4772
|
-
|
|
4773
4277
|
if (paramsSerializer != null) {
|
|
4774
4278
|
if (utils$1.isFunction(paramsSerializer)) {
|
|
4775
4279
|
config.paramsSerializer = {
|
|
@@ -4789,7 +4293,6 @@ class Axios {
|
|
|
4789
4293
|
} else {
|
|
4790
4294
|
config.allowAbsoluteUrls = true;
|
|
4791
4295
|
}
|
|
4792
|
-
|
|
4793
4296
|
validator.assertOptions(config, {
|
|
4794
4297
|
baseUrl: validators.spelling('baseURL'),
|
|
4795
4298
|
withXsrfToken: validators.spelling('withXSRFToken')
|
|
@@ -4799,19 +4302,11 @@ class Axios {
|
|
|
4799
4302
|
config.method = (config.method || this.defaults.method || 'get').toLowerCase();
|
|
4800
4303
|
|
|
4801
4304
|
// Flatten headers
|
|
4802
|
-
let contextHeaders = headers && utils$1.merge(
|
|
4803
|
-
|
|
4804
|
-
headers[
|
|
4805
|
-
);
|
|
4806
|
-
|
|
4807
|
-
headers && utils$1.forEach(
|
|
4808
|
-
['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
|
|
4809
|
-
(method) => {
|
|
4810
|
-
delete headers[method];
|
|
4811
|
-
}
|
|
4812
|
-
);
|
|
4813
|
-
|
|
4814
|
-
config.headers = AxiosHeaders$1.concat(contextHeaders, headers);
|
|
4305
|
+
let contextHeaders = headers && utils$1.merge(headers.common, headers[config.method]);
|
|
4306
|
+
headers && utils$1.forEach(['delete', 'get', 'head', 'post', 'put', 'patch', 'common'], method => {
|
|
4307
|
+
delete headers[method];
|
|
4308
|
+
});
|
|
4309
|
+
config.headers = AxiosHeaders.concat(contextHeaders, headers);
|
|
4815
4310
|
|
|
4816
4311
|
// filter out skipped interceptors
|
|
4817
4312
|
const requestInterceptorChain = [];
|
|
@@ -4820,40 +4315,35 @@ class Axios {
|
|
|
4820
4315
|
if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {
|
|
4821
4316
|
return;
|
|
4822
4317
|
}
|
|
4823
|
-
|
|
4824
4318
|
synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
|
|
4825
|
-
|
|
4826
|
-
|
|
4319
|
+
const transitional = config.transitional || transitionalDefaults;
|
|
4320
|
+
const legacyInterceptorReqResOrdering = transitional && transitional.legacyInterceptorReqResOrdering;
|
|
4321
|
+
if (legacyInterceptorReqResOrdering) {
|
|
4322
|
+
requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
|
|
4323
|
+
} else {
|
|
4324
|
+
requestInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
|
|
4325
|
+
}
|
|
4827
4326
|
});
|
|
4828
|
-
|
|
4829
4327
|
const responseInterceptorChain = [];
|
|
4830
4328
|
this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
|
|
4831
4329
|
responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
|
|
4832
4330
|
});
|
|
4833
|
-
|
|
4834
4331
|
let promise;
|
|
4835
4332
|
let i = 0;
|
|
4836
4333
|
let len;
|
|
4837
|
-
|
|
4838
4334
|
if (!synchronousRequestInterceptors) {
|
|
4839
4335
|
const chain = [dispatchRequest.bind(this), undefined];
|
|
4840
4336
|
chain.unshift(...requestInterceptorChain);
|
|
4841
4337
|
chain.push(...responseInterceptorChain);
|
|
4842
4338
|
len = chain.length;
|
|
4843
|
-
|
|
4844
4339
|
promise = Promise.resolve(config);
|
|
4845
|
-
|
|
4846
4340
|
while (i < len) {
|
|
4847
4341
|
promise = promise.then(chain[i++], chain[i++]);
|
|
4848
4342
|
}
|
|
4849
|
-
|
|
4850
4343
|
return promise;
|
|
4851
4344
|
}
|
|
4852
|
-
|
|
4853
4345
|
len = requestInterceptorChain.length;
|
|
4854
|
-
|
|
4855
4346
|
let newConfig = config;
|
|
4856
|
-
|
|
4857
4347
|
while (i < len) {
|
|
4858
4348
|
const onFulfilled = requestInterceptorChain[i++];
|
|
4859
4349
|
const onRejected = requestInterceptorChain[i++];
|
|
@@ -4864,23 +4354,18 @@ class Axios {
|
|
|
4864
4354
|
break;
|
|
4865
4355
|
}
|
|
4866
4356
|
}
|
|
4867
|
-
|
|
4868
4357
|
try {
|
|
4869
4358
|
promise = dispatchRequest.call(this, newConfig);
|
|
4870
4359
|
} catch (error) {
|
|
4871
4360
|
return Promise.reject(error);
|
|
4872
4361
|
}
|
|
4873
|
-
|
|
4874
4362
|
i = 0;
|
|
4875
4363
|
len = responseInterceptorChain.length;
|
|
4876
|
-
|
|
4877
4364
|
while (i < len) {
|
|
4878
4365
|
promise = promise.then(responseInterceptorChain[i++], responseInterceptorChain[i++]);
|
|
4879
4366
|
}
|
|
4880
|
-
|
|
4881
4367
|
return promise;
|
|
4882
4368
|
}
|
|
4883
|
-
|
|
4884
4369
|
getUri(config) {
|
|
4885
4370
|
config = mergeConfig(this.defaults, config);
|
|
4886
4371
|
const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
|
|
@@ -4891,7 +4376,7 @@ class Axios {
|
|
|
4891
4376
|
// Provide aliases for supported request methods
|
|
4892
4377
|
utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
|
|
4893
4378
|
/*eslint func-names:0*/
|
|
4894
|
-
Axios.prototype[method] = function(url, config) {
|
|
4379
|
+
Axios.prototype[method] = function (url, config) {
|
|
4895
4380
|
return this.request(mergeConfig(config || {}, {
|
|
4896
4381
|
method,
|
|
4897
4382
|
url,
|
|
@@ -4899,10 +4384,7 @@ utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoDa
|
|
|
4899
4384
|
}));
|
|
4900
4385
|
};
|
|
4901
4386
|
});
|
|
4902
|
-
|
|
4903
4387
|
utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
|
|
4904
|
-
/*eslint func-names:0*/
|
|
4905
|
-
|
|
4906
4388
|
function generateHTTPMethod(isForm) {
|
|
4907
4389
|
return function httpMethod(url, data, config) {
|
|
4908
4390
|
return this.request(mergeConfig(config || {}, {
|
|
@@ -4915,14 +4397,10 @@ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method)
|
|
|
4915
4397
|
}));
|
|
4916
4398
|
};
|
|
4917
4399
|
}
|
|
4918
|
-
|
|
4919
4400
|
Axios.prototype[method] = generateHTTPMethod();
|
|
4920
|
-
|
|
4921
4401
|
Axios.prototype[method + 'Form'] = generateHTTPMethod(true);
|
|
4922
4402
|
});
|
|
4923
4403
|
|
|
4924
|
-
const Axios$1 = Axios;
|
|
4925
|
-
|
|
4926
4404
|
/**
|
|
4927
4405
|
* A `CancelToken` is an object that can be used to request cancellation of an operation.
|
|
4928
4406
|
*
|
|
@@ -4935,21 +4413,16 @@ class CancelToken {
|
|
|
4935
4413
|
if (typeof executor !== 'function') {
|
|
4936
4414
|
throw new TypeError('executor must be a function.');
|
|
4937
4415
|
}
|
|
4938
|
-
|
|
4939
4416
|
let resolvePromise;
|
|
4940
|
-
|
|
4941
4417
|
this.promise = new Promise(function promiseExecutor(resolve) {
|
|
4942
4418
|
resolvePromise = resolve;
|
|
4943
4419
|
});
|
|
4944
|
-
|
|
4945
4420
|
const token = this;
|
|
4946
4421
|
|
|
4947
4422
|
// eslint-disable-next-line func-names
|
|
4948
4423
|
this.promise.then(cancel => {
|
|
4949
4424
|
if (!token._listeners) return;
|
|
4950
|
-
|
|
4951
4425
|
let i = token._listeners.length;
|
|
4952
|
-
|
|
4953
4426
|
while (i-- > 0) {
|
|
4954
4427
|
token._listeners[i](cancel);
|
|
4955
4428
|
}
|
|
@@ -4964,20 +4437,16 @@ class CancelToken {
|
|
|
4964
4437
|
token.subscribe(resolve);
|
|
4965
4438
|
_resolve = resolve;
|
|
4966
4439
|
}).then(onfulfilled);
|
|
4967
|
-
|
|
4968
4440
|
promise.cancel = function reject() {
|
|
4969
4441
|
token.unsubscribe(_resolve);
|
|
4970
4442
|
};
|
|
4971
|
-
|
|
4972
4443
|
return promise;
|
|
4973
4444
|
};
|
|
4974
|
-
|
|
4975
4445
|
executor(function cancel(message, config, request) {
|
|
4976
4446
|
if (token.reason) {
|
|
4977
4447
|
// Cancellation has already been requested
|
|
4978
4448
|
return;
|
|
4979
4449
|
}
|
|
4980
|
-
|
|
4981
4450
|
token.reason = new CanceledError(message, config, request);
|
|
4982
4451
|
resolvePromise(token.reason);
|
|
4983
4452
|
});
|
|
@@ -5001,7 +4470,6 @@ class CancelToken {
|
|
|
5001
4470
|
listener(this.reason);
|
|
5002
4471
|
return;
|
|
5003
4472
|
}
|
|
5004
|
-
|
|
5005
4473
|
if (this._listeners) {
|
|
5006
4474
|
this._listeners.push(listener);
|
|
5007
4475
|
} else {
|
|
@@ -5022,18 +4490,13 @@ class CancelToken {
|
|
|
5022
4490
|
this._listeners.splice(index, 1);
|
|
5023
4491
|
}
|
|
5024
4492
|
}
|
|
5025
|
-
|
|
5026
4493
|
toAbortSignal() {
|
|
5027
4494
|
const controller = new AbortController();
|
|
5028
|
-
|
|
5029
|
-
const abort = (err) => {
|
|
4495
|
+
const abort = err => {
|
|
5030
4496
|
controller.abort(err);
|
|
5031
4497
|
};
|
|
5032
|
-
|
|
5033
4498
|
this.subscribe(abort);
|
|
5034
|
-
|
|
5035
4499
|
controller.signal.unsubscribe = () => this.unsubscribe(abort);
|
|
5036
|
-
|
|
5037
4500
|
return controller.signal;
|
|
5038
4501
|
}
|
|
5039
4502
|
|
|
@@ -5053,8 +4516,6 @@ class CancelToken {
|
|
|
5053
4516
|
}
|
|
5054
4517
|
}
|
|
5055
4518
|
|
|
5056
|
-
const CancelToken$1 = CancelToken;
|
|
5057
|
-
|
|
5058
4519
|
/**
|
|
5059
4520
|
* Syntactic sugar for invoking a function and expanding an array for arguments.
|
|
5060
4521
|
*
|
|
@@ -5062,7 +4523,7 @@ const CancelToken$1 = CancelToken;
|
|
|
5062
4523
|
*
|
|
5063
4524
|
* ```js
|
|
5064
4525
|
* function f(x, y, z) {}
|
|
5065
|
-
*
|
|
4526
|
+
* const args = [1, 2, 3];
|
|
5066
4527
|
* f.apply(null, args);
|
|
5067
4528
|
* ```
|
|
5068
4529
|
*
|
|
@@ -5090,7 +4551,7 @@ function spread(callback) {
|
|
|
5090
4551
|
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
|
|
5091
4552
|
*/
|
|
5092
4553
|
function isAxiosError(payload) {
|
|
5093
|
-
return utils$1.isObject(payload) &&
|
|
4554
|
+
return utils$1.isObject(payload) && payload.isAxiosError === true;
|
|
5094
4555
|
}
|
|
5095
4556
|
|
|
5096
4557
|
const HttpStatusCode = {
|
|
@@ -5162,15 +4623,12 @@ const HttpStatusCode = {
|
|
|
5162
4623
|
OriginIsUnreachable: 523,
|
|
5163
4624
|
TimeoutOccurred: 524,
|
|
5164
4625
|
SslHandshakeFailed: 525,
|
|
5165
|
-
InvalidSslCertificate: 526
|
|
4626
|
+
InvalidSslCertificate: 526
|
|
5166
4627
|
};
|
|
5167
|
-
|
|
5168
4628
|
Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
5169
4629
|
HttpStatusCode[value] = key;
|
|
5170
4630
|
});
|
|
5171
4631
|
|
|
5172
|
-
const HttpStatusCode$1 = HttpStatusCode;
|
|
5173
|
-
|
|
5174
4632
|
/**
|
|
5175
4633
|
* Create an instance of Axios
|
|
5176
4634
|
*
|
|
@@ -5179,32 +4637,35 @@ const HttpStatusCode$1 = HttpStatusCode;
|
|
|
5179
4637
|
* @returns {Axios} A new instance of Axios
|
|
5180
4638
|
*/
|
|
5181
4639
|
function createInstance(defaultConfig) {
|
|
5182
|
-
const context = new Axios
|
|
5183
|
-
const instance = bind(Axios
|
|
4640
|
+
const context = new Axios(defaultConfig);
|
|
4641
|
+
const instance = bind(Axios.prototype.request, context);
|
|
5184
4642
|
|
|
5185
4643
|
// Copy axios.prototype to instance
|
|
5186
|
-
utils$1.extend(instance, Axios
|
|
4644
|
+
utils$1.extend(instance, Axios.prototype, context, {
|
|
4645
|
+
allOwnKeys: true
|
|
4646
|
+
});
|
|
5187
4647
|
|
|
5188
4648
|
// Copy context to instance
|
|
5189
|
-
utils$1.extend(instance, context, null, {
|
|
4649
|
+
utils$1.extend(instance, context, null, {
|
|
4650
|
+
allOwnKeys: true
|
|
4651
|
+
});
|
|
5190
4652
|
|
|
5191
4653
|
// Factory for creating new instances
|
|
5192
4654
|
instance.create = function create(instanceConfig) {
|
|
5193
4655
|
return createInstance(mergeConfig(defaultConfig, instanceConfig));
|
|
5194
4656
|
};
|
|
5195
|
-
|
|
5196
4657
|
return instance;
|
|
5197
4658
|
}
|
|
5198
4659
|
|
|
5199
4660
|
// Create the default instance to be exported
|
|
5200
|
-
const axios = createInstance(defaults
|
|
4661
|
+
const axios = createInstance(defaults);
|
|
5201
4662
|
|
|
5202
4663
|
// Expose Axios class to allow class inheritance
|
|
5203
|
-
axios.Axios = Axios
|
|
4664
|
+
axios.Axios = Axios;
|
|
5204
4665
|
|
|
5205
4666
|
// Expose Cancel & CancelToken
|
|
5206
4667
|
axios.CanceledError = CanceledError;
|
|
5207
|
-
axios.CancelToken = CancelToken
|
|
4668
|
+
axios.CancelToken = CancelToken;
|
|
5208
4669
|
axios.isCancel = isCancel;
|
|
5209
4670
|
axios.VERSION = VERSION;
|
|
5210
4671
|
axios.toFormData = toFormData;
|
|
@@ -5219,7 +4680,6 @@ axios.Cancel = axios.CanceledError;
|
|
|
5219
4680
|
axios.all = function all(promises) {
|
|
5220
4681
|
return Promise.all(promises);
|
|
5221
4682
|
};
|
|
5222
|
-
|
|
5223
4683
|
axios.spread = spread;
|
|
5224
4684
|
|
|
5225
4685
|
// Expose isAxiosError
|
|
@@ -5227,15 +4687,10 @@ axios.isAxiosError = isAxiosError;
|
|
|
5227
4687
|
|
|
5228
4688
|
// Expose mergeConfig
|
|
5229
4689
|
axios.mergeConfig = mergeConfig;
|
|
5230
|
-
|
|
5231
|
-
axios.AxiosHeaders = AxiosHeaders$1;
|
|
5232
|
-
|
|
4690
|
+
axios.AxiosHeaders = AxiosHeaders;
|
|
5233
4691
|
axios.formToJSON = thing => formDataToJSON(utils$1.isHTMLForm(thing) ? new FormData(thing) : thing);
|
|
5234
|
-
|
|
5235
4692
|
axios.getAdapter = adapters.getAdapter;
|
|
5236
|
-
|
|
5237
|
-
axios.HttpStatusCode = HttpStatusCode$1;
|
|
5238
|
-
|
|
4693
|
+
axios.HttpStatusCode = HttpStatusCode;
|
|
5239
4694
|
axios.default = axios;
|
|
5240
4695
|
|
|
5241
4696
|
module.exports = axios;
|