@mavogel/awscdk-rootmail 0.0.330 → 0.0.332
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 +3 -3
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/README.md +35 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/auth/httpAuthSchemeProvider.js +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +70 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/runtimeConfig.js +4 -3
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/runtimeConfig.shared.js +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/schemas/schemas_0.js +128 -22
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/CloudWatchLogs.js +14 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/CreateLookupTableCommand.js +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/DeleteLookupTableCommand.js +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/DescribeLookupTablesCommand.js +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/GetLookupTableCommand.js +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/UpdateLookupTableCommand.js +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/index.js +5 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/models/models_1.js +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/schemas/schemas_0.js +119 -13
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogs.d.ts +144 -108
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogsClient.d.ts +118 -113
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/CreateLookupTableCommand.d.ts +103 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/CreateScheduledQueryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteLookupTableCommand.d.ts +86 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeLookupTablesCommand.d.ts +103 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetLogFieldsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetLookupTableCommand.d.ts +92 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetScheduledQueryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/ListScheduledQueriesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutQueryDefinitionCommand.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/StartQueryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/UpdateLookupTableCommand.d.ts +97 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/UpdateScheduledQueryCommand.d.ts +5 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/index.d.ts +5 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/index.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +280 -203
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_1.d.ts +234 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeConfigurationTemplatesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeDeliveriesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeDeliveryDestinationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeDeliverySourcesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeDestinationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeLogGroupsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeLogStreamsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeMetricFiltersPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeSubscriptionFiltersPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/FilterLogEventsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/GetLogEventsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/GetScheduledQueryHistoryPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/ListAggregateLogGroupSummariesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/ListAnomaliesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/ListLogAnomalyDetectorsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/ListLogGroupsForQueryPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/ListScheduledQueriesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/ListSourcesForS3TableIntegrationPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/schemas/schemas_0.d.ts +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogs.d.ts +86 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogsClient.d.ts +32 -3
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/CreateLookupTableCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteLookupTableCommand.d.ts +46 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeLookupTablesCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetLogFieldsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetLookupTableCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/UpdateLookupTableCommand.d.ts +49 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/UpdateScheduledQueryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +58 -45
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_1.d.ts +53 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +17 -17
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/auth/httpAuthSchemeProvider.js +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/runtimeConfig.js +4 -3
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/runtimeConfig.shared.js +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-es/waiters/waitForResourceRecordSetsChanged.js +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/Route53.d.ts +71 -71
- package/node_modules/@aws-sdk/client-route-53/dist-types/Route53Client.d.ts +74 -74
- package/node_modules/@aws-sdk/client-route-53/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/models/models_0.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListCidrBlocksPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListCidrCollectionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListCidrLocationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListHealthChecksPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListHostedZonesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListQueryLoggingConfigsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53Client.d.ts +2 -3
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/waiters/waitForResourceRecordSetsChanged.d.ts +3 -3
- package/node_modules/@aws-sdk/client-route-53/package.json +18 -18
- package/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +5 -4
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +5 -5
- package/node_modules/@aws-sdk/client-s3/dist-es/S3.js +6 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +107 -107
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +114 -114
- 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/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/PutObjectCommand.d.ts +1 -1
- 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/WriteGetObjectResponseCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/models/errors.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +2 -2
- 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 +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +7 -8
- 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/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- 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 +23 -23
- package/node_modules/@aws-sdk/client-ses/dist-cjs/auth/httpAuthSchemeProvider.js +2 -2
- package/node_modules/@aws-sdk/client-ses/dist-cjs/runtimeConfig.js +4 -3
- package/node_modules/@aws-sdk/client-ses/dist-cjs/runtimeConfig.shared.js +2 -2
- package/node_modules/@aws-sdk/client-ses/dist-es/SES.js +2 -2
- package/node_modules/@aws-sdk/client-ses/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-ses/dist-es/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-es/waiters/waitForIdentityExists.js +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/SES.d.ts +71 -71
- package/node_modules/@aws-sdk/client-ses/dist-types/SESClient.d.ts +74 -74
- package/node_modules/@aws-sdk/client-ses/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/models/models_0.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/pagination/ListCustomVerificationEmailTemplatesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/pagination/ListIdentitiesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/SESClient.d.ts +2 -3
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/waiters/waitForIdentityExists.d.ts +3 -3
- package/node_modules/@aws-sdk/client-ses/package.json +25 -19
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/auth/httpAuthSchemeProvider.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +4 -3
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.shared.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js +3 -3
- package/node_modules/@aws-sdk/client-ssm/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/waiters/waitForCommandExecuted.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +146 -146
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +149 -149
- 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/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +2 -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/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +2 -3
- 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/models/models_1.d.ts +11 -11
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/waiters/waitForCommandExecuted.d.ts +3 -3
- package/node_modules/@aws-sdk/client-ssm/package.json +17 -17
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +54 -21
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +54 -21
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +24 -6
- 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/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/query/AwsQueryProtocol.js +4 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +9 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +13 -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/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/query/AwsEc2QueryProtocol.d.ts +3 -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/xml/AwsRestXmlProtocol.d.ts +2 -0
- 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/cbor/AwsSmithyRpcV2CborProtocol.d.ts +3 -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 +3 -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/xml/AwsRestXmlProtocol.d.ts +6 -1
- package/node_modules/@aws-sdk/core/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/README.md +12 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/README.md +12 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/README.md +12 -3
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/README.md +12 -3
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/README.md +12 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/README.md +12 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +10 -10
- 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 +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-recursion-detection/README.md +10 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +32 -5
- 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/s3ExpressMiddleware.js +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/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/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +10 -10
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +1 -1
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.js +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +4 -4
- 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/runtimeConfig.js +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +4 -4
- 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/runtimeConfig.js +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +4 -4
- 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/runtimeConfig.js +7 -6
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js +1 -1
- 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/SSOOIDCClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +3 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -1
- 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 +3 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -2
- 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/index.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts +3 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/index.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +1 -1
- 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 +3 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -2
- 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/index.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -1
- 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 +3 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +2 -5
- 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/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +2 -2
- 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/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +2 -5
- 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/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +15 -15
- package/node_modules/@aws-sdk/region-config-resolver/README.md +11 -4
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/README.md +10 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/README.md +10 -3
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +21 -11
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +5 -1
- 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 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +40 -4
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +8 -7
- 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 +82 -20
- 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.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 +4 -3
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +75 -19
- 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 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +37 -18
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +76 -5
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +298 -116
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +2 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +65 -15
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- 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 +1 -1
- package/node_modules/@smithy/core/README.md +12 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +8 -17
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -8
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +7 -9
- package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/middleware-endpoint/README.md +10 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +2 -2
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
- package/node_modules/@smithy/middleware-retry/README.md +13 -0
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/middleware-serde/README.md +13 -0
- package/node_modules/@smithy/middleware-serde/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/smithy-client/README.md +10 -3
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/README.md +10 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/README.md +10 -3
- package/node_modules/@smithy/util-defaults-mode-node/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +2 -2
- package/node_modules/@smithy/util-waiter/README.md +10 -3
- package/node_modules/@smithy/util-waiter/package.json +2 -2
- package/node_modules/axios/README.md +26 -1
- package/node_modules/axios/dist/axios.js +91 -100
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +70 -84
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +99 -116
- 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 +1421 -2367
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/lib/adapters/fetch.js +5 -1
- package/node_modules/axios/lib/adapters/http.js +5 -2
- package/node_modules/axios/lib/core/Axios.js +0 -2
- package/node_modules/axios/lib/core/AxiosHeaders.js +3 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/buildURL.js +2 -2
- package/node_modules/axios/package.json +93 -132
- package/node_modules/fast-xml-builder/CHANGELOG.md +16 -0
- package/node_modules/fast-xml-builder/README.md +1 -1
- package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
- package/node_modules/fast-xml-builder/lib/fxb.d.cts +22 -9
- 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 +7 -5
- package/node_modules/fast-xml-builder/src/fxb.d.ts +27 -3
- package/node_modules/fast-xml-builder/src/fxb.js +265 -21
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +165 -18
- package/node_modules/mailparser/.release-please-manifest.json +1 -1
- package/node_modules/mailparser/CHANGELOG.md +14 -0
- package/node_modules/mailparser/package.json +3 -3
- package/node_modules/nodemailer/CHANGELOG.md +17 -0
- package/node_modules/nodemailer/lib/addressparser/index.js +68 -83
- package/node_modules/nodemailer/lib/base64/index.js +6 -5
- package/node_modules/nodemailer/lib/dkim/index.js +8 -16
- package/node_modules/nodemailer/lib/dkim/message-parser.js +12 -13
- package/node_modules/nodemailer/lib/dkim/relaxed-body.js +2 -2
- package/node_modules/nodemailer/lib/dkim/sign.js +13 -14
- package/node_modules/nodemailer/lib/errors.js +4 -7
- package/node_modules/nodemailer/lib/fetch/cookies.js +13 -18
- package/node_modules/nodemailer/lib/fetch/index.js +12 -15
- package/node_modules/nodemailer/lib/json-transport/index.js +4 -4
- package/node_modules/nodemailer/lib/mail-composer/index.js +86 -116
- package/node_modules/nodemailer/lib/mailer/index.js +26 -26
- package/node_modules/nodemailer/lib/mailer/mail-message.js +17 -21
- package/node_modules/nodemailer/lib/mime-funcs/index.js +25 -40
- package/node_modules/nodemailer/lib/mime-funcs/mime-types.js +7 -11
- package/node_modules/nodemailer/lib/mime-node/index.js +81 -72
- package/node_modules/nodemailer/lib/mime-node/last-newline.js +1 -1
- package/node_modules/nodemailer/lib/mime-node/le-unix.js +4 -7
- package/node_modules/nodemailer/lib/mime-node/le-windows.js +1 -4
- package/node_modules/nodemailer/lib/nodemailer.js +11 -18
- package/node_modules/nodemailer/lib/qp/index.js +24 -21
- package/node_modules/nodemailer/lib/sendmail-transport/index.js +30 -41
- package/node_modules/nodemailer/lib/ses-transport/index.js +23 -34
- package/node_modules/nodemailer/lib/shared/index.js +94 -140
- package/node_modules/nodemailer/lib/smtp-connection/data-stream.js +3 -6
- package/node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js +11 -13
- package/node_modules/nodemailer/lib/smtp-connection/index.js +118 -182
- package/node_modules/nodemailer/lib/smtp-pool/index.js +20 -32
- package/node_modules/nodemailer/lib/smtp-pool/pool-resource.js +8 -12
- package/node_modules/nodemailer/lib/smtp-transport/index.js +22 -42
- package/node_modules/nodemailer/lib/stream-transport/index.js +7 -7
- package/node_modules/nodemailer/lib/well-known/index.js +7 -7
- package/node_modules/nodemailer/lib/xoauth2/index.js +22 -28
- package/node_modules/nodemailer/package.json +4 -3
- 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/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/CHANGELOG.md +9 -2
- package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/README.md +1 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/package.json +3 -3
- package/node_modules/strnum/strnum.js +161 -0
- package/node_modules/strnum/tests/infinity_test.js +18 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum/strnum.test.js → strnum/tests/strnum_test.js} +70 -68
- package/node_modules/strnum/tests/temp.js +8 -0
- package/package.json +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/strnum.js +0 -129
- package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/test.js +0 -9
- package/node_modules/@smithy/abort-controller/LICENSE +0 -201
- 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/fast-xml-builder/lib/builder.cjs +0 -1
- package/node_modules/fast-xml-builder/lib/builder.min.js +0 -2
- package/node_modules/fast-xml-builder/lib/builder.min.js.map +0 -1
- 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/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/.github/SECURITY.md +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/.vscode/launch.json +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/LICENSE +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/algo.stflow +0 -0
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
const Transform = stream.Transform;
|
|
3
|
+
const { Transform } = require('stream');
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
6
|
* Escapes dots in the beginning of lines. Ends the stream with <CR><LF>.<CR><LF>
|
|
@@ -12,9 +11,7 @@ const Transform = stream.Transform;
|
|
|
12
11
|
class DataStream extends Transform {
|
|
13
12
|
constructor(options) {
|
|
14
13
|
super(options);
|
|
15
|
-
// init Transform
|
|
16
14
|
this.options = options || {};
|
|
17
|
-
this._curLine = '';
|
|
18
15
|
|
|
19
16
|
this.inByteCount = 0;
|
|
20
17
|
this.outByteCount = 0;
|
|
@@ -25,7 +22,7 @@ class DataStream extends Transform {
|
|
|
25
22
|
* Escapes dots
|
|
26
23
|
*/
|
|
27
24
|
_transform(chunk, encoding, done) {
|
|
28
|
-
|
|
25
|
+
const chunks = [];
|
|
29
26
|
let chunklen = 0;
|
|
30
27
|
let i,
|
|
31
28
|
len,
|
|
@@ -53,7 +50,7 @@ class DataStream extends Transform {
|
|
|
53
50
|
lastPos = i + 1;
|
|
54
51
|
}
|
|
55
52
|
} else if (chunk[i] === 0x0a) {
|
|
56
|
-
//
|
|
53
|
+
// \n
|
|
57
54
|
if ((i && chunk[i - 1] !== 0x0d) || (!i && this.lastByte !== 0x0d)) {
|
|
58
55
|
if (i > lastPos) {
|
|
59
56
|
buf = chunk.slice(lastPos, i);
|
|
@@ -22,18 +22,14 @@ const errors = require('../errors');
|
|
|
22
22
|
* @param {Function} callback Callback to run with the rocket object once connection is established
|
|
23
23
|
*/
|
|
24
24
|
function httpProxyClient(proxyUrl, destinationPort, destinationHost, callback) {
|
|
25
|
-
|
|
25
|
+
const proxy = urllib.parse(proxyUrl);
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
let options;
|
|
29
|
-
let connect;
|
|
30
|
-
let socket;
|
|
31
|
-
|
|
32
|
-
options = {
|
|
27
|
+
const options = {
|
|
33
28
|
host: proxy.hostname,
|
|
34
29
|
port: Number(proxy.port) ? Number(proxy.port) : proxy.protocol === 'https:' ? 443 : 80
|
|
35
30
|
};
|
|
36
31
|
|
|
32
|
+
let connect;
|
|
37
33
|
if (proxy.protocol === 'https:') {
|
|
38
34
|
// we can use untrusted proxies as long as we verify actual SMTP certificates
|
|
39
35
|
options.rejectUnauthorized = false;
|
|
@@ -42,10 +38,12 @@ function httpProxyClient(proxyUrl, destinationPort, destinationHost, callback) {
|
|
|
42
38
|
connect = net.connect.bind(net);
|
|
43
39
|
}
|
|
44
40
|
|
|
41
|
+
let socket;
|
|
42
|
+
|
|
45
43
|
// Error harness for initial connection. Once connection is established, the responsibility
|
|
46
44
|
// to handle errors is passed to whoever uses this socket
|
|
47
45
|
let finished = false;
|
|
48
|
-
|
|
46
|
+
const tempSocketErr = err => {
|
|
49
47
|
if (finished) {
|
|
50
48
|
return;
|
|
51
49
|
}
|
|
@@ -58,8 +56,8 @@ function httpProxyClient(proxyUrl, destinationPort, destinationHost, callback) {
|
|
|
58
56
|
callback(err);
|
|
59
57
|
};
|
|
60
58
|
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
const timeoutErr = () => {
|
|
60
|
+
const err = new Error('Proxy socket timed out');
|
|
63
61
|
err.code = 'ETIMEDOUT';
|
|
64
62
|
tempSocketErr(err);
|
|
65
63
|
};
|
|
@@ -69,7 +67,7 @@ function httpProxyClient(proxyUrl, destinationPort, destinationHost, callback) {
|
|
|
69
67
|
return;
|
|
70
68
|
}
|
|
71
69
|
|
|
72
|
-
|
|
70
|
+
const reqHeaders = {
|
|
73
71
|
Host: destinationHost + ':' + destinationPort,
|
|
74
72
|
Connection: 'close'
|
|
75
73
|
};
|
|
@@ -93,7 +91,7 @@ function httpProxyClient(proxyUrl, destinationPort, destinationHost, callback) {
|
|
|
93
91
|
);
|
|
94
92
|
|
|
95
93
|
let headers = '';
|
|
96
|
-
|
|
94
|
+
const onSocketData = chunk => {
|
|
97
95
|
let match;
|
|
98
96
|
let remainder;
|
|
99
97
|
|
|
@@ -122,7 +120,7 @@ function httpProxyClient(proxyUrl, destinationPort, destinationHost, callback) {
|
|
|
122
120
|
} catch (_E) {
|
|
123
121
|
// ignore
|
|
124
122
|
}
|
|
125
|
-
|
|
123
|
+
const err = new Error('Invalid response from proxy' + ((match && ': ' + match[1]) || ''));
|
|
126
124
|
err.code = errors.EPROXY;
|
|
127
125
|
return callback(err);
|
|
128
126
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const packageInfo = require('../../package.json');
|
|
4
|
-
const EventEmitter = require('events')
|
|
4
|
+
const { EventEmitter } = require('events');
|
|
5
5
|
const net = require('net');
|
|
6
6
|
const tls = require('tls');
|
|
7
7
|
const os = require('os');
|
|
8
8
|
const crypto = require('crypto');
|
|
9
9
|
const DataStream = require('./data-stream');
|
|
10
|
-
const PassThrough = require('stream')
|
|
10
|
+
const { PassThrough } = require('stream');
|
|
11
11
|
const shared = require('../shared');
|
|
12
12
|
|
|
13
13
|
// default timeout values in ms
|
|
@@ -76,13 +76,12 @@ class SMTPConnection extends EventEmitter {
|
|
|
76
76
|
});
|
|
77
77
|
|
|
78
78
|
this.customAuth = new Map();
|
|
79
|
-
Object.keys(this.options.customAuth || {})
|
|
80
|
-
|
|
81
|
-
if (
|
|
82
|
-
|
|
79
|
+
for (const key of Object.keys(this.options.customAuth || {})) {
|
|
80
|
+
const mapKey = (key || '').toString().trim().toUpperCase();
|
|
81
|
+
if (mapKey) {
|
|
82
|
+
this.customAuth.set(mapKey, this.options.customAuth[key]);
|
|
83
83
|
}
|
|
84
|
-
|
|
85
|
-
});
|
|
84
|
+
}
|
|
86
85
|
|
|
87
86
|
/**
|
|
88
87
|
* Expose version nr, just for the reference
|
|
@@ -266,27 +265,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
266
265
|
} else if (this.options.socket) {
|
|
267
266
|
// socket object is set up but not yet connected
|
|
268
267
|
this._socket = this.options.socket;
|
|
269
|
-
return
|
|
270
|
-
if (err) {
|
|
271
|
-
return setImmediate(() => this._onError(err, 'EDNS', false, 'CONN'));
|
|
272
|
-
}
|
|
273
|
-
this.logger.debug(
|
|
274
|
-
{
|
|
275
|
-
tnx: 'dns',
|
|
276
|
-
source: opts.host,
|
|
277
|
-
resolved: resolved.host,
|
|
278
|
-
cached: !!resolved.cached
|
|
279
|
-
},
|
|
280
|
-
'Resolved %s as %s [cache %s]',
|
|
281
|
-
opts.host,
|
|
282
|
-
resolved.host,
|
|
283
|
-
resolved.cached ? 'hit' : 'miss'
|
|
284
|
-
);
|
|
285
|
-
Object.keys(resolved).forEach(key => {
|
|
286
|
-
if (key.charAt(0) !== '_' && resolved[key]) {
|
|
287
|
-
opts[key] = resolved[key];
|
|
288
|
-
}
|
|
289
|
-
});
|
|
268
|
+
return this._resolveAndConnect(opts, _resolved => {
|
|
290
269
|
try {
|
|
291
270
|
this._socket.connect(this.port, this.host, () => {
|
|
292
271
|
this._socket.setKeepAlive(true);
|
|
@@ -297,80 +276,59 @@ class SMTPConnection extends EventEmitter {
|
|
|
297
276
|
return setImmediate(() => this._onError(E, 'ECONNECTION', false, 'CONN'));
|
|
298
277
|
}
|
|
299
278
|
});
|
|
300
|
-
} else if (this.secureConnection) {
|
|
301
|
-
// connect using tls
|
|
302
|
-
if (this.options.tls) {
|
|
303
|
-
Object.keys(this.options.tls).forEach(key => {
|
|
304
|
-
opts[key] = this.options.tls[key];
|
|
305
|
-
});
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
// ensure servername for SNI
|
|
309
|
-
if (this.servername && !opts.servername) {
|
|
310
|
-
opts.servername = this.servername;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
return shared.resolveHostname(opts, (err, resolved) => {
|
|
314
|
-
if (err) {
|
|
315
|
-
return setImmediate(() => this._onError(err, 'EDNS', false, 'CONN'));
|
|
316
|
-
}
|
|
317
|
-
this.logger.debug(
|
|
318
|
-
{
|
|
319
|
-
tnx: 'dns',
|
|
320
|
-
source: opts.host,
|
|
321
|
-
resolved: resolved.host,
|
|
322
|
-
cached: !!resolved.cached
|
|
323
|
-
},
|
|
324
|
-
'Resolved %s as %s [cache %s]',
|
|
325
|
-
opts.host,
|
|
326
|
-
resolved.host,
|
|
327
|
-
resolved.cached ? 'hit' : 'miss'
|
|
328
|
-
);
|
|
329
|
-
Object.keys(resolved).forEach(key => {
|
|
330
|
-
if (key.charAt(0) !== '_' && resolved[key]) {
|
|
331
|
-
opts[key] = resolved[key];
|
|
332
|
-
}
|
|
333
|
-
});
|
|
334
|
-
|
|
335
|
-
// Store fallback addresses for retry on connection failure
|
|
336
|
-
this._fallbackAddresses = (resolved._addresses || []).filter(addr => addr !== opts.host);
|
|
337
|
-
this._connectOpts = Object.assign({}, opts);
|
|
338
|
-
|
|
339
|
-
this._connectToHost(opts, true);
|
|
340
|
-
});
|
|
341
279
|
} else {
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
280
|
+
if (this.secureConnection) {
|
|
281
|
+
Object.assign(opts, this.options.tls || {});
|
|
282
|
+
|
|
283
|
+
// ensure servername for SNI
|
|
284
|
+
if (this.servername && !opts.servername) {
|
|
285
|
+
opts.servername = this.servername;
|
|
346
286
|
}
|
|
347
|
-
|
|
348
|
-
{
|
|
349
|
-
tnx: 'dns',
|
|
350
|
-
source: opts.host,
|
|
351
|
-
resolved: resolved.host,
|
|
352
|
-
cached: !!resolved.cached
|
|
353
|
-
},
|
|
354
|
-
'Resolved %s as %s [cache %s]',
|
|
355
|
-
opts.host,
|
|
356
|
-
resolved.host,
|
|
357
|
-
resolved.cached ? 'hit' : 'miss'
|
|
358
|
-
);
|
|
359
|
-
Object.keys(resolved).forEach(key => {
|
|
360
|
-
if (key.charAt(0) !== '_' && resolved[key]) {
|
|
361
|
-
opts[key] = resolved[key];
|
|
362
|
-
}
|
|
363
|
-
});
|
|
287
|
+
}
|
|
364
288
|
|
|
289
|
+
return this._resolveAndConnect(opts, resolved => {
|
|
365
290
|
// Store fallback addresses for retry on connection failure
|
|
366
291
|
this._fallbackAddresses = (resolved._addresses || []).filter(addr => addr !== opts.host);
|
|
367
292
|
this._connectOpts = Object.assign({}, opts);
|
|
368
293
|
|
|
369
|
-
this._connectToHost(opts,
|
|
294
|
+
this._connectToHost(opts, this.secureConnection);
|
|
370
295
|
});
|
|
371
296
|
}
|
|
372
297
|
}
|
|
373
298
|
|
|
299
|
+
/**
|
|
300
|
+
* Resolves the hostname and applies resolved values to opts,
|
|
301
|
+
* then calls the provided callback with the resolved data
|
|
302
|
+
*
|
|
303
|
+
* @param {Object} opts Connection options (modified in place)
|
|
304
|
+
* @param {Function} callback Called with resolved data on success
|
|
305
|
+
*/
|
|
306
|
+
_resolveAndConnect(opts, callback) {
|
|
307
|
+
return shared.resolveHostname(opts, (err, resolved) => {
|
|
308
|
+
if (err) {
|
|
309
|
+
return setImmediate(() => this._onError(err, 'EDNS', false, 'CONN'));
|
|
310
|
+
}
|
|
311
|
+
this.logger.debug(
|
|
312
|
+
{
|
|
313
|
+
tnx: 'dns',
|
|
314
|
+
source: opts.host,
|
|
315
|
+
resolved: resolved.host,
|
|
316
|
+
cached: !!resolved.cached
|
|
317
|
+
},
|
|
318
|
+
'Resolved %s as %s [cache %s]',
|
|
319
|
+
opts.host,
|
|
320
|
+
resolved.host,
|
|
321
|
+
resolved.cached ? 'hit' : 'miss'
|
|
322
|
+
);
|
|
323
|
+
for (const key of Object.keys(resolved)) {
|
|
324
|
+
if (key.charAt(0) !== '_' && resolved[key]) {
|
|
325
|
+
opts[key] = resolved[key];
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
callback(resolved);
|
|
329
|
+
});
|
|
330
|
+
}
|
|
331
|
+
|
|
374
332
|
/**
|
|
375
333
|
* Attempts to connect to the specified host address
|
|
376
334
|
*
|
|
@@ -381,7 +339,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
381
339
|
this._connectionAttemptId++;
|
|
382
340
|
const currentAttemptId = this._connectionAttemptId;
|
|
383
341
|
|
|
384
|
-
|
|
342
|
+
const connectFn = secure ? tls.connect : net.connect;
|
|
385
343
|
try {
|
|
386
344
|
this._socket = connectFn(opts, () => {
|
|
387
345
|
// Ignore callback if this is a stale connection attempt
|
|
@@ -418,7 +376,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
418
376
|
clearTimeout(this._connectionTimeout);
|
|
419
377
|
|
|
420
378
|
// Check if we have fallback addresses to try
|
|
421
|
-
|
|
379
|
+
const canFallback = this._fallbackAddresses && this._fallbackAddresses.length && this.stage === 'init' && !this._destroyed;
|
|
422
380
|
|
|
423
381
|
if (!canFallback) {
|
|
424
382
|
// No more fallback addresses, report the error
|
|
@@ -426,7 +384,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
426
384
|
return;
|
|
427
385
|
}
|
|
428
386
|
|
|
429
|
-
|
|
387
|
+
const nextHost = this._fallbackAddresses.shift();
|
|
430
388
|
|
|
431
389
|
this.logger.info(
|
|
432
390
|
{
|
|
@@ -478,12 +436,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
478
436
|
}
|
|
479
437
|
this._closing = true;
|
|
480
438
|
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
if (this.stage === 'init') {
|
|
484
|
-
// Close the socket immediately when connection timed out
|
|
485
|
-
closeMethod = 'destroy';
|
|
486
|
-
}
|
|
439
|
+
const closeMethod = this.stage === 'init' ? 'destroy' : 'end';
|
|
487
440
|
|
|
488
441
|
this.logger.debug(
|
|
489
442
|
{
|
|
@@ -493,7 +446,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
493
446
|
closeMethod
|
|
494
447
|
);
|
|
495
448
|
|
|
496
|
-
|
|
449
|
+
const socket = (this._socket && this._socket.socket) || this._socket;
|
|
497
450
|
|
|
498
451
|
if (socket && !socket.destroyed) {
|
|
499
452
|
try {
|
|
@@ -551,11 +504,11 @@ class SMTPConnection extends EventEmitter {
|
|
|
551
504
|
}
|
|
552
505
|
|
|
553
506
|
if (this.customAuth.has(this._authMethod)) {
|
|
554
|
-
|
|
507
|
+
const handler = this.customAuth.get(this._authMethod);
|
|
555
508
|
let lastResponse;
|
|
556
509
|
let returned = false;
|
|
557
510
|
|
|
558
|
-
|
|
511
|
+
const resolve = () => {
|
|
559
512
|
if (returned) {
|
|
560
513
|
return;
|
|
561
514
|
}
|
|
@@ -574,7 +527,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
574
527
|
callback(null, true);
|
|
575
528
|
};
|
|
576
529
|
|
|
577
|
-
|
|
530
|
+
const reject = err => {
|
|
578
531
|
if (returned) {
|
|
579
532
|
return;
|
|
580
533
|
}
|
|
@@ -582,7 +535,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
582
535
|
callback(this._formatError(err, 'EAUTH', lastResponse, 'AUTH ' + this._authMethod));
|
|
583
536
|
};
|
|
584
537
|
|
|
585
|
-
|
|
538
|
+
const handlerResponse = handler({
|
|
586
539
|
auth: this._auth,
|
|
587
540
|
method: this._authMethod,
|
|
588
541
|
|
|
@@ -709,7 +662,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
709
662
|
|
|
710
663
|
// ensure that callback is only called once
|
|
711
664
|
let returned = false;
|
|
712
|
-
|
|
665
|
+
const callback = function () {
|
|
713
666
|
if (returned) {
|
|
714
667
|
return;
|
|
715
668
|
}
|
|
@@ -722,11 +675,11 @@ class SMTPConnection extends EventEmitter {
|
|
|
722
675
|
message.on('error', err => callback(this._formatError(err, 'ESTREAM', false, 'API')));
|
|
723
676
|
}
|
|
724
677
|
|
|
725
|
-
|
|
678
|
+
const startTime = Date.now();
|
|
726
679
|
this._setEnvelope(envelope, (err, info) => {
|
|
727
680
|
if (err) {
|
|
728
681
|
// create passthrough stream to consume to prevent OOM
|
|
729
|
-
|
|
682
|
+
const stream = new PassThrough();
|
|
730
683
|
if (typeof message.pipe === 'function') {
|
|
731
684
|
message.pipe(stream);
|
|
732
685
|
} else {
|
|
@@ -736,8 +689,8 @@ class SMTPConnection extends EventEmitter {
|
|
|
736
689
|
|
|
737
690
|
return callback(err);
|
|
738
691
|
}
|
|
739
|
-
|
|
740
|
-
|
|
692
|
+
const envelopeTime = Date.now();
|
|
693
|
+
const stream = this._createSendStream((err, str) => {
|
|
741
694
|
if (err) {
|
|
742
695
|
return callback(err);
|
|
743
696
|
}
|
|
@@ -921,7 +874,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
921
874
|
err.message += ': ' + response;
|
|
922
875
|
}
|
|
923
876
|
|
|
924
|
-
|
|
877
|
+
const responseCode = (typeof response === 'string' && Number((response.match(/^\d+/) || [])[0])) || false;
|
|
925
878
|
if (responseCode) {
|
|
926
879
|
err.responseCode = responseCode;
|
|
927
880
|
}
|
|
@@ -1016,15 +969,14 @@ class SMTPConnection extends EventEmitter {
|
|
|
1016
969
|
this._socket.removeListener('data', this._onSocketData); // incoming data is going to be gibberish from this point onwards
|
|
1017
970
|
this._socket.removeListener('timeout', this._onSocketTimeout); // timeout will be re-set for the new socket object
|
|
1018
971
|
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
});
|
|
972
|
+
const socketPlain = this._socket;
|
|
973
|
+
const opts = Object.assign(
|
|
974
|
+
{
|
|
975
|
+
socket: this._socket,
|
|
976
|
+
host: this.host
|
|
977
|
+
},
|
|
978
|
+
this.options.tls || {}
|
|
979
|
+
);
|
|
1028
980
|
|
|
1029
981
|
// ensure servername for SNI
|
|
1030
982
|
if (this.servername && !opts.servername) {
|
|
@@ -1092,7 +1044,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
1092
1044
|
setImmediate(() => this._processResponse());
|
|
1093
1045
|
}
|
|
1094
1046
|
|
|
1095
|
-
|
|
1047
|
+
const action = this._responseActions.shift();
|
|
1096
1048
|
|
|
1097
1049
|
if (typeof action === 'function') {
|
|
1098
1050
|
action.call(this, str);
|
|
@@ -1140,7 +1092,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
1140
1092
|
* {from:{address:'...',name:'...'}, to:[address:'...',name:'...']}
|
|
1141
1093
|
*/
|
|
1142
1094
|
_setEnvelope(envelope, callback) {
|
|
1143
|
-
|
|
1095
|
+
const args = [];
|
|
1144
1096
|
let useSmtpUtf8 = false;
|
|
1145
1097
|
|
|
1146
1098
|
this._envelope = envelope || {};
|
|
@@ -1175,7 +1127,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
1175
1127
|
}
|
|
1176
1128
|
|
|
1177
1129
|
// clone the recipients array for latter manipulation
|
|
1178
|
-
this._envelope.rcptQueue =
|
|
1130
|
+
this._envelope.rcptQueue = [].concat(this._envelope.to || []);
|
|
1179
1131
|
this._envelope.rejected = [];
|
|
1180
1132
|
this._envelope.rejectedErrors = [];
|
|
1181
1133
|
this._envelope.accepted = [];
|
|
@@ -1207,7 +1159,10 @@ class SMTPConnection extends EventEmitter {
|
|
|
1207
1159
|
}
|
|
1208
1160
|
|
|
1209
1161
|
if (this._envelope.size && this._supportedExtensions.includes('SIZE')) {
|
|
1210
|
-
|
|
1162
|
+
const sizeValue = Number(this._envelope.size) || 0;
|
|
1163
|
+
if (sizeValue > 0) {
|
|
1164
|
+
args.push('SIZE=' + sizeValue);
|
|
1165
|
+
}
|
|
1211
1166
|
}
|
|
1212
1167
|
|
|
1213
1168
|
// If the server supports DSN and the envelope includes an DSN prop
|
|
@@ -1260,7 +1215,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
1260
1215
|
throw new Error('ret: ' + JSON.stringify(ret));
|
|
1261
1216
|
}
|
|
1262
1217
|
|
|
1263
|
-
|
|
1218
|
+
const envid = (params.envid || params.id || '').toString() || null;
|
|
1264
1219
|
|
|
1265
1220
|
let notify = params.notify || null;
|
|
1266
1221
|
if (notify) {
|
|
@@ -1268,8 +1223,8 @@ class SMTPConnection extends EventEmitter {
|
|
|
1268
1223
|
notify = notify.split(',');
|
|
1269
1224
|
}
|
|
1270
1225
|
notify = notify.map(n => n.trim().toUpperCase());
|
|
1271
|
-
|
|
1272
|
-
|
|
1226
|
+
const validNotify = ['NEVER', 'SUCCESS', 'FAILURE', 'DELAY'];
|
|
1227
|
+
const invalidNotify = notify.filter(n => !validNotify.includes(n));
|
|
1273
1228
|
if (invalidNotify.length || (notify.length > 1 && notify.includes('NEVER'))) {
|
|
1274
1229
|
throw new Error('notify: ' + JSON.stringify(notify.join(',')));
|
|
1275
1230
|
}
|
|
@@ -1290,7 +1245,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
1290
1245
|
}
|
|
1291
1246
|
|
|
1292
1247
|
_getDsnRcptToArgs() {
|
|
1293
|
-
|
|
1248
|
+
const args = [];
|
|
1294
1249
|
// If the server supports DSN and the envelope includes an DSN prop
|
|
1295
1250
|
// then append DSN params to the RCPT TO command
|
|
1296
1251
|
if (this._envelope.dsn && this._supportedExtensions.includes('DSN')) {
|
|
@@ -1305,12 +1260,11 @@ class SMTPConnection extends EventEmitter {
|
|
|
1305
1260
|
}
|
|
1306
1261
|
|
|
1307
1262
|
_createSendStream(callback) {
|
|
1308
|
-
|
|
1309
|
-
let logStream;
|
|
1263
|
+
const dataStream = new DataStream();
|
|
1310
1264
|
|
|
1311
1265
|
if (this.options.lmtp) {
|
|
1312
1266
|
this._envelope.accepted.forEach((recipient, i) => {
|
|
1313
|
-
|
|
1267
|
+
const final = i === this._envelope.accepted.length - 1;
|
|
1314
1268
|
this._responseActions.push(str => {
|
|
1315
1269
|
this._actionLMTPStream(recipient, final, str, callback);
|
|
1316
1270
|
});
|
|
@@ -1326,7 +1280,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
1326
1280
|
});
|
|
1327
1281
|
|
|
1328
1282
|
if (this.options.debug) {
|
|
1329
|
-
logStream = new PassThrough();
|
|
1283
|
+
const logStream = new PassThrough();
|
|
1330
1284
|
logStream.on('readable', () => {
|
|
1331
1285
|
let chunk;
|
|
1332
1286
|
while ((chunk = logStream.read())) {
|
|
@@ -1604,24 +1558,21 @@ class SMTPConnection extends EventEmitter {
|
|
|
1604
1558
|
* @param {String} str Message from the server
|
|
1605
1559
|
*/
|
|
1606
1560
|
_actionAUTH_CRAM_MD5(str, callback) {
|
|
1607
|
-
|
|
1608
|
-
let challengeString = '';
|
|
1561
|
+
const challengeMatch = str.match(/^334\s+(.+)$/);
|
|
1609
1562
|
|
|
1610
1563
|
if (!challengeMatch) {
|
|
1611
1564
|
return callback(
|
|
1612
1565
|
this._formatError('Invalid login sequence while waiting for server challenge string', 'EAUTH', str, 'AUTH CRAM-MD5')
|
|
1613
1566
|
);
|
|
1614
|
-
} else {
|
|
1615
|
-
challengeString = challengeMatch[1];
|
|
1616
1567
|
}
|
|
1617
1568
|
|
|
1618
1569
|
// Decode from base64
|
|
1619
|
-
|
|
1620
|
-
|
|
1570
|
+
const base64decoded = Buffer.from(challengeMatch[1], 'base64').toString('ascii');
|
|
1571
|
+
const hmacMD5 = crypto.createHmac('md5', this._auth.credentials.pass);
|
|
1621
1572
|
|
|
1622
1573
|
hmacMD5.update(base64decoded);
|
|
1623
1574
|
|
|
1624
|
-
|
|
1575
|
+
const prepended = this._auth.credentials.user + ' ' + hmacMD5.digest('hex');
|
|
1625
1576
|
|
|
1626
1577
|
this._responseActions.push(str => {
|
|
1627
1578
|
this._actionAUTH_CRAM_MD5_PASS(str, callback);
|
|
@@ -1742,39 +1693,29 @@ class SMTPConnection extends EventEmitter {
|
|
|
1742
1693
|
* @param {String} str Message from the server
|
|
1743
1694
|
*/
|
|
1744
1695
|
_actionMAIL(str, callback) {
|
|
1745
|
-
let message, curRecipient;
|
|
1746
1696
|
if (Number(str.charAt(0)) !== 2) {
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
}
|
|
1697
|
+
const message =
|
|
1698
|
+
this._usingSmtpUtf8 && /^550 /.test(str) && /[\x80-\uFFFF]/.test(this._envelope.from)
|
|
1699
|
+
? 'Internationalized mailbox name not allowed'
|
|
1700
|
+
: 'Mail command failed';
|
|
1752
1701
|
return callback(this._formatError(message, 'EENVELOPE', str, 'MAIL FROM'));
|
|
1753
1702
|
}
|
|
1754
1703
|
|
|
1755
1704
|
if (!this._envelope.rcptQueue.length) {
|
|
1756
1705
|
return callback(this._formatError("Can't send mail - no recipients defined", 'EENVELOPE', false, 'API'));
|
|
1757
|
-
} else {
|
|
1758
|
-
this._recipientQueue = [];
|
|
1759
|
-
|
|
1760
|
-
if (this._supportedExtensions.includes('PIPELINING')) {
|
|
1761
|
-
while (this._envelope.rcptQueue.length) {
|
|
1762
|
-
curRecipient = this._envelope.rcptQueue.shift();
|
|
1763
|
-
this._recipientQueue.push(curRecipient);
|
|
1764
|
-
this._responseActions.push(str => {
|
|
1765
|
-
this._actionRCPT(str, callback);
|
|
1766
|
-
});
|
|
1767
|
-
this._sendCommand('RCPT TO:<' + curRecipient + '>' + this._getDsnRcptToArgs());
|
|
1768
|
-
}
|
|
1769
|
-
} else {
|
|
1770
|
-
curRecipient = this._envelope.rcptQueue.shift();
|
|
1771
|
-
this._recipientQueue.push(curRecipient);
|
|
1772
|
-
this._responseActions.push(str => {
|
|
1773
|
-
this._actionRCPT(str, callback);
|
|
1774
|
-
});
|
|
1775
|
-
this._sendCommand('RCPT TO:<' + curRecipient + '>' + this._getDsnRcptToArgs());
|
|
1776
|
-
}
|
|
1777
1706
|
}
|
|
1707
|
+
|
|
1708
|
+
this._recipientQueue = [];
|
|
1709
|
+
const usePipelining = this._supportedExtensions.includes('PIPELINING');
|
|
1710
|
+
|
|
1711
|
+
do {
|
|
1712
|
+
const curRecipient = this._envelope.rcptQueue.shift();
|
|
1713
|
+
this._recipientQueue.push(curRecipient);
|
|
1714
|
+
this._responseActions.push(str => {
|
|
1715
|
+
this._actionRCPT(str, callback);
|
|
1716
|
+
});
|
|
1717
|
+
this._sendCommand('RCPT TO:<' + curRecipient + '>' + this._getDsnRcptToArgs());
|
|
1718
|
+
} while (usePipelining && this._envelope.rcptQueue.length);
|
|
1778
1719
|
}
|
|
1779
1720
|
|
|
1780
1721
|
/**
|
|
@@ -1783,16 +1724,14 @@ class SMTPConnection extends EventEmitter {
|
|
|
1783
1724
|
* @param {String} str Message from the server
|
|
1784
1725
|
*/
|
|
1785
1726
|
_actionRCPT(str, callback) {
|
|
1786
|
-
let
|
|
1787
|
-
|
|
1788
|
-
curRecipient = this._recipientQueue.shift();
|
|
1727
|
+
let err;
|
|
1728
|
+
const curRecipient = this._recipientQueue.shift();
|
|
1789
1729
|
if (Number(str.charAt(0)) !== 2) {
|
|
1790
1730
|
// this is a soft error
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
}
|
|
1731
|
+
const message =
|
|
1732
|
+
this._usingSmtpUtf8 && /^553 /.test(str) && /[\x80-\uFFFF]/.test(curRecipient)
|
|
1733
|
+
? 'Internationalized mailbox name not allowed'
|
|
1734
|
+
: 'Recipient command failed';
|
|
1796
1735
|
this._envelope.rejected.push(curRecipient);
|
|
1797
1736
|
// store error for the failed recipient
|
|
1798
1737
|
err = this._formatError(message, 'EENVELOPE', str, 'RCPT TO');
|
|
@@ -1815,12 +1754,12 @@ class SMTPConnection extends EventEmitter {
|
|
|
1815
1754
|
return callback(err);
|
|
1816
1755
|
}
|
|
1817
1756
|
} else if (this._envelope.rcptQueue.length) {
|
|
1818
|
-
|
|
1819
|
-
this._recipientQueue.push(
|
|
1757
|
+
const nextRecipient = this._envelope.rcptQueue.shift();
|
|
1758
|
+
this._recipientQueue.push(nextRecipient);
|
|
1820
1759
|
this._responseActions.push(str => {
|
|
1821
1760
|
this._actionRCPT(str, callback);
|
|
1822
1761
|
});
|
|
1823
|
-
this._sendCommand('RCPT TO:<' +
|
|
1762
|
+
this._sendCommand('RCPT TO:<' + nextRecipient + '>' + this._getDsnRcptToArgs());
|
|
1824
1763
|
}
|
|
1825
1764
|
}
|
|
1826
1765
|
|
|
@@ -1836,7 +1775,7 @@ class SMTPConnection extends EventEmitter {
|
|
|
1836
1775
|
return callback(this._formatError('Data command failed', 'EENVELOPE', str, 'DATA'));
|
|
1837
1776
|
}
|
|
1838
1777
|
|
|
1839
|
-
|
|
1778
|
+
const response = {
|
|
1840
1779
|
accepted: this._envelope.accepted,
|
|
1841
1780
|
rejected: this._envelope.rejected
|
|
1842
1781
|
};
|
|
@@ -1860,12 +1799,9 @@ class SMTPConnection extends EventEmitter {
|
|
|
1860
1799
|
*/
|
|
1861
1800
|
_actionSMTPStream(str, callback) {
|
|
1862
1801
|
if (Number(str.charAt(0)) !== 2) {
|
|
1863
|
-
// Message failed
|
|
1864
1802
|
return callback(this._formatError('Message failed', 'EMESSAGE', str, 'DATA'));
|
|
1865
|
-
} else {
|
|
1866
|
-
// Message sent succesfully
|
|
1867
|
-
return callback(null, str);
|
|
1868
1803
|
}
|
|
1804
|
+
return callback(null, str);
|
|
1869
1805
|
}
|
|
1870
1806
|
|
|
1871
1807
|
/**
|