@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
|
@@ -25,8 +25,8 @@ class Cookies {
|
|
|
25
25
|
* @param {String} url Current URL
|
|
26
26
|
*/
|
|
27
27
|
set(cookieStr, url) {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
const urlparts = urllib.parse(url || '');
|
|
29
|
+
const cookie = this.parse(cookieStr);
|
|
30
30
|
let domain;
|
|
31
31
|
|
|
32
32
|
if (cookie.domain) {
|
|
@@ -76,15 +76,13 @@ class Cookies {
|
|
|
76
76
|
* @returns {Array} An array of cookie objects
|
|
77
77
|
*/
|
|
78
78
|
list(url) {
|
|
79
|
-
|
|
80
|
-
let i;
|
|
81
|
-
let cookie;
|
|
79
|
+
const result = [];
|
|
82
80
|
|
|
83
|
-
for (i = this.cookies.length - 1; i >= 0; i--) {
|
|
84
|
-
cookie = this.cookies[i];
|
|
81
|
+
for (let i = this.cookies.length - 1; i >= 0; i--) {
|
|
82
|
+
const cookie = this.cookies[i];
|
|
85
83
|
|
|
86
84
|
if (this.isExpired(cookie)) {
|
|
87
|
-
this.cookies.splice(i,
|
|
85
|
+
this.cookies.splice(i, 1);
|
|
88
86
|
continue;
|
|
89
87
|
}
|
|
90
88
|
|
|
@@ -103,14 +101,14 @@ class Cookies {
|
|
|
103
101
|
* @returns {Object} Cookie object
|
|
104
102
|
*/
|
|
105
103
|
parse(cookieStr) {
|
|
106
|
-
|
|
104
|
+
const cookie = {};
|
|
107
105
|
|
|
108
106
|
(cookieStr || '')
|
|
109
107
|
.toString()
|
|
110
108
|
.split(';')
|
|
111
109
|
.forEach(cookiePart => {
|
|
112
|
-
|
|
113
|
-
|
|
110
|
+
const valueParts = cookiePart.split('=');
|
|
111
|
+
const key = valueParts.shift().trim().toLowerCase();
|
|
114
112
|
let value = valueParts.join('=').trim();
|
|
115
113
|
let domain;
|
|
116
114
|
|
|
@@ -171,7 +169,7 @@ class Cookies {
|
|
|
171
169
|
* @returns {Boolean} true if cookie is valid for specifiec URL
|
|
172
170
|
*/
|
|
173
171
|
match(cookie, url) {
|
|
174
|
-
|
|
172
|
+
const urlparts = urllib.parse(url || '');
|
|
175
173
|
|
|
176
174
|
// check if hostname matches
|
|
177
175
|
// .foo.com also matches subdomains, foo.com does not
|
|
@@ -183,7 +181,7 @@ class Cookies {
|
|
|
183
181
|
}
|
|
184
182
|
|
|
185
183
|
// check if path matches
|
|
186
|
-
|
|
184
|
+
const path = this.getPath(urlparts.pathname);
|
|
187
185
|
if (path.substr(0, cookie.path.length) !== cookie.path) {
|
|
188
186
|
return false;
|
|
189
187
|
}
|
|
@@ -202,16 +200,13 @@ class Cookies {
|
|
|
202
200
|
* @param {Object} cookie Cookie value to be stored
|
|
203
201
|
*/
|
|
204
202
|
add(cookie) {
|
|
205
|
-
let i;
|
|
206
|
-
let len;
|
|
207
|
-
|
|
208
203
|
// nothing to do here
|
|
209
204
|
if (!cookie || !cookie.name) {
|
|
210
205
|
return false;
|
|
211
206
|
}
|
|
212
207
|
|
|
213
208
|
// overwrite if has same params
|
|
214
|
-
for (i = 0, len = this.cookies.length; i < len; i++) {
|
|
209
|
+
for (let i = 0, len = this.cookies.length; i < len; i++) {
|
|
215
210
|
if (this.compare(this.cookies[i], cookie)) {
|
|
216
211
|
// check if the cookie needs to be removed instead
|
|
217
212
|
if (this.isExpired(cookie)) {
|
|
@@ -240,7 +235,7 @@ class Cookies {
|
|
|
240
235
|
* @returns {Boolean} True, if the cookies are the same
|
|
241
236
|
*/
|
|
242
237
|
compare(a, b) {
|
|
243
|
-
return a.name === b.name && a.path === b.path && a.domain === b.domain && a.secure === b.secure && a.httponly ===
|
|
238
|
+
return a.name === b.name && a.path === b.path && a.domain === b.domain && a.secure === b.secure && a.httponly === b.httponly;
|
|
244
239
|
}
|
|
245
240
|
|
|
246
241
|
/**
|
|
@@ -4,7 +4,7 @@ const http = require('http');
|
|
|
4
4
|
const https = require('https');
|
|
5
5
|
const urllib = require('url');
|
|
6
6
|
const zlib = require('zlib');
|
|
7
|
-
const PassThrough = require('stream')
|
|
7
|
+
const { PassThrough } = require('stream');
|
|
8
8
|
const Cookies = require('./cookies');
|
|
9
9
|
const packageData = require('../../package.json');
|
|
10
10
|
const net = require('net');
|
|
@@ -33,16 +33,16 @@ function nmfetch(url, options) {
|
|
|
33
33
|
options.cookie = false;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
const fetchRes = options.fetchRes;
|
|
37
|
+
const parsed = urllib.parse(url);
|
|
38
38
|
let method = (options.method || '').toString().trim().toUpperCase() || 'GET';
|
|
39
39
|
let finished = false;
|
|
40
40
|
let cookies;
|
|
41
41
|
let body;
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
const handler = parsed.protocol === 'https:' ? https : http;
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
const headers = {
|
|
46
46
|
'accept-encoding': 'gzip,deflate',
|
|
47
47
|
'user-agent': 'nodemailer/' + packageData.version
|
|
48
48
|
};
|
|
@@ -90,7 +90,7 @@ function nmfetch(url, options) {
|
|
|
90
90
|
body = Buffer.from(
|
|
91
91
|
Object.keys(options.body)
|
|
92
92
|
.map(key => {
|
|
93
|
-
|
|
93
|
+
const value = options.body[key].toString().trim();
|
|
94
94
|
return encodeURIComponent(key) + '=' + encodeURIComponent(value);
|
|
95
95
|
})
|
|
96
96
|
.join('&')
|
|
@@ -117,7 +117,7 @@ function nmfetch(url, options) {
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
let req;
|
|
120
|
-
|
|
120
|
+
const reqOptions = {
|
|
121
121
|
method,
|
|
122
122
|
host: parsed.hostname,
|
|
123
123
|
path: parsed.path,
|
|
@@ -128,9 +128,7 @@ function nmfetch(url, options) {
|
|
|
128
128
|
};
|
|
129
129
|
|
|
130
130
|
if (options.tls) {
|
|
131
|
-
Object.
|
|
132
|
-
reqOptions[key] = options.tls[key];
|
|
133
|
-
});
|
|
131
|
+
Object.assign(reqOptions, options.tls);
|
|
134
132
|
}
|
|
135
133
|
|
|
136
134
|
if (
|
|
@@ -162,7 +160,7 @@ function nmfetch(url, options) {
|
|
|
162
160
|
}
|
|
163
161
|
finished = true;
|
|
164
162
|
req.abort();
|
|
165
|
-
|
|
163
|
+
const err = new Error('Request Timeout');
|
|
166
164
|
err.code = errors.EFETCH;
|
|
167
165
|
err.sourceUrl = url;
|
|
168
166
|
fetchRes.emit('error', err);
|
|
@@ -204,7 +202,7 @@ function nmfetch(url, options) {
|
|
|
204
202
|
options.redirects++;
|
|
205
203
|
if (options.redirects > options.maxRedirects) {
|
|
206
204
|
finished = true;
|
|
207
|
-
|
|
205
|
+
const err = new Error('Maximum redirect count exceeded');
|
|
208
206
|
err.code = errors.EFETCH;
|
|
209
207
|
err.sourceUrl = url;
|
|
210
208
|
fetchRes.emit('error', err);
|
|
@@ -222,7 +220,7 @@ function nmfetch(url, options) {
|
|
|
222
220
|
|
|
223
221
|
if (res.statusCode >= 300 && !options.allowErrorResponse) {
|
|
224
222
|
finished = true;
|
|
225
|
-
|
|
223
|
+
const err = new Error('Invalid status code ' + res.statusCode);
|
|
226
224
|
err.code = errors.EFETCH;
|
|
227
225
|
err.sourceUrl = url;
|
|
228
226
|
fetchRes.emit('error', err);
|
|
@@ -263,9 +261,8 @@ function nmfetch(url, options) {
|
|
|
263
261
|
try {
|
|
264
262
|
if (typeof body.pipe === 'function') {
|
|
265
263
|
return body.pipe(req);
|
|
266
|
-
} else {
|
|
267
|
-
req.write(body);
|
|
268
264
|
}
|
|
265
|
+
req.write(body);
|
|
269
266
|
} catch (err) {
|
|
270
267
|
finished = true;
|
|
271
268
|
err.code = errors.EFETCH;
|
|
@@ -13,7 +13,7 @@ class JSONTransport {
|
|
|
13
13
|
constructor(options) {
|
|
14
14
|
options = options || {};
|
|
15
15
|
|
|
16
|
-
this.options = options
|
|
16
|
+
this.options = options;
|
|
17
17
|
|
|
18
18
|
this.name = 'JSONTransport';
|
|
19
19
|
this.version = packageData.version;
|
|
@@ -33,10 +33,10 @@ class JSONTransport {
|
|
|
33
33
|
// Sendmail strips this header line by itself
|
|
34
34
|
mail.message.keepBcc = true;
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
const envelope = mail.data.envelope || mail.message.getEnvelope();
|
|
37
|
+
const messageId = mail.message.messageId();
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
const recipients = [].concat(envelope.to || []);
|
|
40
40
|
if (recipients.length > 3) {
|
|
41
41
|
recipients.push('...and ' + recipients.splice(2).length + ' more');
|
|
42
42
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
const MimeNode = require('../mime-node');
|
|
6
6
|
const mimeFuncs = require('../mime-funcs');
|
|
7
|
-
const parseDataURI = require('../shared')
|
|
7
|
+
const { parseDataURI } = require('../shared');
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Creates the object for composing a MimeNode instance out from the mail options
|
|
@@ -59,7 +59,7 @@ class MailComposer {
|
|
|
59
59
|
|
|
60
60
|
// Add headers to the root node, always overrides custom headers
|
|
61
61
|
['from', 'sender', 'to', 'cc', 'bcc', 'reply-to', 'in-reply-to', 'references', 'subject', 'message-id', 'date'].forEach(header => {
|
|
62
|
-
|
|
62
|
+
const key = header.replace(/-(\w)/g, (o, c) => c.toUpperCase());
|
|
63
63
|
if (this.mail[key]) {
|
|
64
64
|
this.message.setHeader(header, this.mail[key]);
|
|
65
65
|
}
|
|
@@ -84,20 +84,18 @@ class MailComposer {
|
|
|
84
84
|
*/
|
|
85
85
|
getAttachments(findRelated) {
|
|
86
86
|
let icalEvent, eventObject;
|
|
87
|
-
|
|
88
|
-
let data;
|
|
89
|
-
|
|
87
|
+
const attachments = [].concat(this.mail.attachments || []).map((attachment, i) => {
|
|
90
88
|
if (/^data:/i.test(attachment.path || attachment.href)) {
|
|
91
89
|
attachment = this._processDataUrl(attachment);
|
|
92
90
|
}
|
|
93
91
|
|
|
94
|
-
|
|
92
|
+
const contentType =
|
|
95
93
|
attachment.contentType || mimeFuncs.detectMimeType(attachment.filename || attachment.path || attachment.href || 'bin');
|
|
96
94
|
|
|
97
|
-
|
|
98
|
-
|
|
95
|
+
const isImage = /^image\//i.test(contentType);
|
|
96
|
+
const isMessageNode = /^message\//i.test(contentType);
|
|
99
97
|
|
|
100
|
-
|
|
98
|
+
const contentDisposition =
|
|
101
99
|
attachment.contentDisposition || (isMessageNode || (isImage && attachment.cid) ? 'inline' : 'attachment');
|
|
102
100
|
|
|
103
101
|
let contentTransferEncoding;
|
|
@@ -111,7 +109,7 @@ class MailComposer {
|
|
|
111
109
|
contentTransferEncoding = 'base64'; // the default
|
|
112
110
|
}
|
|
113
111
|
|
|
114
|
-
data = {
|
|
112
|
+
const data = {
|
|
115
113
|
contentType,
|
|
116
114
|
contentDisposition,
|
|
117
115
|
contentTransferEncoding
|
|
@@ -173,10 +171,7 @@ class MailComposer {
|
|
|
173
171
|
};
|
|
174
172
|
}
|
|
175
173
|
|
|
176
|
-
eventObject = {};
|
|
177
|
-
Object.keys(icalEvent).forEach(key => {
|
|
178
|
-
eventObject[key] = icalEvent[key];
|
|
179
|
-
});
|
|
174
|
+
eventObject = Object.assign({}, icalEvent);
|
|
180
175
|
|
|
181
176
|
eventObject.contentType = 'application/ics';
|
|
182
177
|
if (!eventObject.headers) {
|
|
@@ -192,12 +187,12 @@ class MailComposer {
|
|
|
192
187
|
attached: attachments.concat(eventObject || []),
|
|
193
188
|
related: []
|
|
194
189
|
};
|
|
195
|
-
} else {
|
|
196
|
-
return {
|
|
197
|
-
attached: attachments.filter(attachment => !attachment.cid).concat(eventObject || []),
|
|
198
|
-
related: attachments.filter(attachment => !!attachment.cid)
|
|
199
|
-
};
|
|
200
190
|
}
|
|
191
|
+
|
|
192
|
+
return {
|
|
193
|
+
attached: attachments.filter(attachment => !attachment.cid).concat(eventObject || []),
|
|
194
|
+
related: attachments.filter(attachment => !!attachment.cid)
|
|
195
|
+
};
|
|
201
196
|
}
|
|
202
197
|
|
|
203
198
|
/**
|
|
@@ -206,13 +201,8 @@ class MailComposer {
|
|
|
206
201
|
* @returns {Array} An array of alternative elements. Includes the `text` and `html` values as well
|
|
207
202
|
*/
|
|
208
203
|
getAlternatives() {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
html,
|
|
212
|
-
watchHtml,
|
|
213
|
-
amp,
|
|
214
|
-
icalEvent,
|
|
215
|
-
eventObject;
|
|
204
|
+
const alternatives = [];
|
|
205
|
+
let text, html, watchHtml, amp, icalEvent, eventObject;
|
|
216
206
|
|
|
217
207
|
if (this.mail.text) {
|
|
218
208
|
if (
|
|
@@ -269,10 +259,7 @@ class MailComposer {
|
|
|
269
259
|
};
|
|
270
260
|
}
|
|
271
261
|
|
|
272
|
-
eventObject = {};
|
|
273
|
-
Object.keys(icalEvent).forEach(key => {
|
|
274
|
-
eventObject[key] = icalEvent[key];
|
|
275
|
-
});
|
|
262
|
+
eventObject = Object.assign({}, icalEvent);
|
|
276
263
|
|
|
277
264
|
if (eventObject.content && typeof eventObject.content === 'object') {
|
|
278
265
|
// we are going to have the same attachment twice, so mark this to be
|
|
@@ -310,13 +297,11 @@ class MailComposer {
|
|
|
310
297
|
.concat(eventObject || [])
|
|
311
298
|
.concat(this.mail.alternatives || [])
|
|
312
299
|
.forEach(alternative => {
|
|
313
|
-
let data;
|
|
314
|
-
|
|
315
300
|
if (/^data:/i.test(alternative.path || alternative.href)) {
|
|
316
301
|
alternative = this._processDataUrl(alternative);
|
|
317
302
|
}
|
|
318
303
|
|
|
319
|
-
data = {
|
|
304
|
+
const data = {
|
|
320
305
|
contentType:
|
|
321
306
|
alternative.contentType ||
|
|
322
307
|
mimeFuncs.detectMimeType(alternative.filename || alternative.path || alternative.href || 'txt'),
|
|
@@ -368,26 +353,22 @@ class MailComposer {
|
|
|
368
353
|
* @returns {Object} MimeNode node element
|
|
369
354
|
*/
|
|
370
355
|
_createMixed(parentNode) {
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
normalizeHeaderKey: this.mail.normalizeHeaderKey,
|
|
388
|
-
newline: this.mail.newline
|
|
389
|
-
});
|
|
390
|
-
}
|
|
356
|
+
const node = parentNode
|
|
357
|
+
? parentNode.createChild('multipart/mixed', {
|
|
358
|
+
disableUrlAccess: this.mail.disableUrlAccess,
|
|
359
|
+
disableFileAccess: this.mail.disableFileAccess,
|
|
360
|
+
normalizeHeaderKey: this.mail.normalizeHeaderKey,
|
|
361
|
+
newline: this.mail.newline
|
|
362
|
+
})
|
|
363
|
+
: new MimeNode('multipart/mixed', {
|
|
364
|
+
baseBoundary: this.mail.baseBoundary,
|
|
365
|
+
textEncoding: this.mail.textEncoding,
|
|
366
|
+
boundaryPrefix: this.mail.boundaryPrefix,
|
|
367
|
+
disableUrlAccess: this.mail.disableUrlAccess,
|
|
368
|
+
disableFileAccess: this.mail.disableFileAccess,
|
|
369
|
+
normalizeHeaderKey: this.mail.normalizeHeaderKey,
|
|
370
|
+
newline: this.mail.newline
|
|
371
|
+
});
|
|
391
372
|
|
|
392
373
|
if (this._useAlternative) {
|
|
393
374
|
this._createAlternative(node);
|
|
@@ -416,26 +397,22 @@ class MailComposer {
|
|
|
416
397
|
* @returns {Object} MimeNode node element
|
|
417
398
|
*/
|
|
418
399
|
_createAlternative(parentNode) {
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
normalizeHeaderKey: this.mail.normalizeHeaderKey,
|
|
436
|
-
newline: this.mail.newline
|
|
437
|
-
});
|
|
438
|
-
}
|
|
400
|
+
const node = parentNode
|
|
401
|
+
? parentNode.createChild('multipart/alternative', {
|
|
402
|
+
disableUrlAccess: this.mail.disableUrlAccess,
|
|
403
|
+
disableFileAccess: this.mail.disableFileAccess,
|
|
404
|
+
normalizeHeaderKey: this.mail.normalizeHeaderKey,
|
|
405
|
+
newline: this.mail.newline
|
|
406
|
+
})
|
|
407
|
+
: new MimeNode('multipart/alternative', {
|
|
408
|
+
baseBoundary: this.mail.baseBoundary,
|
|
409
|
+
textEncoding: this.mail.textEncoding,
|
|
410
|
+
boundaryPrefix: this.mail.boundaryPrefix,
|
|
411
|
+
disableUrlAccess: this.mail.disableUrlAccess,
|
|
412
|
+
disableFileAccess: this.mail.disableFileAccess,
|
|
413
|
+
normalizeHeaderKey: this.mail.normalizeHeaderKey,
|
|
414
|
+
newline: this.mail.newline
|
|
415
|
+
});
|
|
439
416
|
|
|
440
417
|
this._alternatives.forEach(alternative => {
|
|
441
418
|
if (this._useRelated && this._htmlNode === alternative) {
|
|
@@ -455,26 +432,22 @@ class MailComposer {
|
|
|
455
432
|
* @returns {Object} MimeNode node element
|
|
456
433
|
*/
|
|
457
434
|
_createRelated(parentNode) {
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
normalizeHeaderKey: this.mail.normalizeHeaderKey,
|
|
475
|
-
newline: this.mail.newline
|
|
476
|
-
});
|
|
477
|
-
}
|
|
435
|
+
const node = parentNode
|
|
436
|
+
? parentNode.createChild('multipart/related; type="text/html"', {
|
|
437
|
+
disableUrlAccess: this.mail.disableUrlAccess,
|
|
438
|
+
disableFileAccess: this.mail.disableFileAccess,
|
|
439
|
+
normalizeHeaderKey: this.mail.normalizeHeaderKey,
|
|
440
|
+
newline: this.mail.newline
|
|
441
|
+
})
|
|
442
|
+
: new MimeNode('multipart/related; type="text/html"', {
|
|
443
|
+
baseBoundary: this.mail.baseBoundary,
|
|
444
|
+
textEncoding: this.mail.textEncoding,
|
|
445
|
+
boundaryPrefix: this.mail.boundaryPrefix,
|
|
446
|
+
disableUrlAccess: this.mail.disableUrlAccess,
|
|
447
|
+
disableFileAccess: this.mail.disableFileAccess,
|
|
448
|
+
normalizeHeaderKey: this.mail.normalizeHeaderKey,
|
|
449
|
+
newline: this.mail.newline
|
|
450
|
+
});
|
|
478
451
|
|
|
479
452
|
this._createContentNode(node, this._htmlNode);
|
|
480
453
|
|
|
@@ -494,33 +467,30 @@ class MailComposer {
|
|
|
494
467
|
element = element || {};
|
|
495
468
|
element.content = element.content || '';
|
|
496
469
|
|
|
497
|
-
|
|
498
|
-
let encoding = (element.encoding || 'utf8')
|
|
470
|
+
const encoding = (element.encoding || 'utf8')
|
|
499
471
|
.toString()
|
|
500
472
|
.toLowerCase()
|
|
501
473
|
.replace(/[-_\s]/g, '');
|
|
502
474
|
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
});
|
|
523
|
-
}
|
|
475
|
+
const node = parentNode
|
|
476
|
+
? parentNode.createChild(element.contentType, {
|
|
477
|
+
filename: element.filename,
|
|
478
|
+
textEncoding: this.mail.textEncoding,
|
|
479
|
+
disableUrlAccess: this.mail.disableUrlAccess,
|
|
480
|
+
disableFileAccess: this.mail.disableFileAccess,
|
|
481
|
+
normalizeHeaderKey: this.mail.normalizeHeaderKey,
|
|
482
|
+
newline: this.mail.newline
|
|
483
|
+
})
|
|
484
|
+
: new MimeNode(element.contentType, {
|
|
485
|
+
filename: element.filename,
|
|
486
|
+
baseBoundary: this.mail.baseBoundary,
|
|
487
|
+
textEncoding: this.mail.textEncoding,
|
|
488
|
+
boundaryPrefix: this.mail.boundaryPrefix,
|
|
489
|
+
disableUrlAccess: this.mail.disableUrlAccess,
|
|
490
|
+
disableFileAccess: this.mail.disableFileAccess,
|
|
491
|
+
normalizeHeaderKey: this.mail.normalizeHeaderKey,
|
|
492
|
+
newline: this.mail.newline
|
|
493
|
+
});
|
|
524
494
|
|
|
525
495
|
// add custom headers
|
|
526
496
|
if (element.headers) {
|
|
@@ -106,17 +106,17 @@ class Mail extends EventEmitter {
|
|
|
106
106
|
this.getSocket = false;
|
|
107
107
|
}
|
|
108
108
|
return this.transporter[method](...args);
|
|
109
|
-
} else {
|
|
110
|
-
this.logger.warn(
|
|
111
|
-
{
|
|
112
|
-
tnx: 'transport',
|
|
113
|
-
methodName: method
|
|
114
|
-
},
|
|
115
|
-
'Non existing method %s called for transport',
|
|
116
|
-
method
|
|
117
|
-
);
|
|
118
|
-
return false;
|
|
119
109
|
}
|
|
110
|
+
|
|
111
|
+
this.logger.warn(
|
|
112
|
+
{
|
|
113
|
+
tnx: 'transport',
|
|
114
|
+
methodName: method
|
|
115
|
+
},
|
|
116
|
+
'Non existing method %s called for transport',
|
|
117
|
+
method
|
|
118
|
+
);
|
|
119
|
+
return false;
|
|
120
120
|
};
|
|
121
121
|
});
|
|
122
122
|
|
|
@@ -157,7 +157,7 @@ class Mail extends EventEmitter {
|
|
|
157
157
|
this.getSocket = false;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
|
|
160
|
+
const mail = new MailMessage(this, data);
|
|
161
161
|
|
|
162
162
|
this.logger.debug(
|
|
163
163
|
{
|
|
@@ -207,7 +207,7 @@ class Mail extends EventEmitter {
|
|
|
207
207
|
|
|
208
208
|
if (mail.data.dkim || this.dkim) {
|
|
209
209
|
mail.message.processFunc(input => {
|
|
210
|
-
|
|
210
|
+
const dkim = mail.data.dkim ? new DKIM(mail.data.dkim) : this.dkim;
|
|
211
211
|
this.logger.debug(
|
|
212
212
|
{
|
|
213
213
|
tnx: 'DKIM',
|
|
@@ -259,8 +259,8 @@ class Mail extends EventEmitter {
|
|
|
259
259
|
return callback();
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
|
|
263
|
-
|
|
262
|
+
const userPlugins = this._userPlugins[step] || [];
|
|
263
|
+
const defaultPlugins = this._defaultPlugins[step] || [];
|
|
264
264
|
|
|
265
265
|
if (userPlugins.length) {
|
|
266
266
|
this.logger.debug(
|
|
@@ -281,7 +281,7 @@ class Mail extends EventEmitter {
|
|
|
281
281
|
|
|
282
282
|
let pos = 0;
|
|
283
283
|
let block = 'default';
|
|
284
|
-
|
|
284
|
+
const processPlugins = () => {
|
|
285
285
|
let curplugins = block === 'default' ? defaultPlugins : userPlugins;
|
|
286
286
|
if (pos >= curplugins.length) {
|
|
287
287
|
if (block === 'default' && userPlugins.length) {
|
|
@@ -292,7 +292,7 @@ class Mail extends EventEmitter {
|
|
|
292
292
|
return callback();
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
|
-
|
|
295
|
+
const plugin = curplugins[pos++];
|
|
296
296
|
plugin(mail, err => {
|
|
297
297
|
if (err) {
|
|
298
298
|
return callback(err);
|
|
@@ -310,11 +310,11 @@ class Mail extends EventEmitter {
|
|
|
310
310
|
* @param {String} proxyUrl Proxy configuration url
|
|
311
311
|
*/
|
|
312
312
|
setupProxy(proxyUrl) {
|
|
313
|
-
|
|
313
|
+
const proxy = urllib.parse(proxyUrl);
|
|
314
314
|
|
|
315
315
|
// setup socket handler for the mailer object
|
|
316
316
|
this.getSocket = (options, callback) => {
|
|
317
|
-
|
|
317
|
+
const protocol = proxy.protocol.replace(/:$/, '').toLowerCase();
|
|
318
318
|
|
|
319
319
|
if (this.meta.has('proxy_handler_' + protocol)) {
|
|
320
320
|
return this.meta.get('proxy_handler_' + protocol)(proxy, options, callback);
|
|
@@ -342,11 +342,11 @@ class Mail extends EventEmitter {
|
|
|
342
342
|
err.code = errors.EPROXY;
|
|
343
343
|
return callback(err);
|
|
344
344
|
}
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
345
|
+
const connect = ipaddress => {
|
|
346
|
+
const proxyV2 = !!this.meta.get('proxy_socks_module').SocksClient;
|
|
347
|
+
const socksClient = proxyV2 ? this.meta.get('proxy_socks_module').SocksClient : this.meta.get('proxy_socks_module');
|
|
348
|
+
const proxyType = Number(proxy.protocol.replace(/\D/g, '')) || 5;
|
|
349
|
+
const connectionOpts = {
|
|
350
350
|
proxy: {
|
|
351
351
|
ipaddress,
|
|
352
352
|
port: Number(proxy.port),
|
|
@@ -360,8 +360,8 @@ class Mail extends EventEmitter {
|
|
|
360
360
|
};
|
|
361
361
|
|
|
362
362
|
if (proxy.auth) {
|
|
363
|
-
|
|
364
|
-
|
|
363
|
+
const username = decodeURIComponent(proxy.auth.split(':').shift());
|
|
364
|
+
const password = decodeURIComponent(proxy.auth.split(':').pop());
|
|
365
365
|
if (proxyV2) {
|
|
366
366
|
connectionOpts.proxy.userId = username;
|
|
367
367
|
connectionOpts.proxy.password = password;
|
|
@@ -415,7 +415,7 @@ class Mail extends EventEmitter {
|
|
|
415
415
|
html = (html || '')
|
|
416
416
|
.toString()
|
|
417
417
|
.replace(/(<img\b[^<>]{0,1024} src\s{0,20}=[\s"']{0,20})(data:([^;]+);[^"'>\s]+)/gi, (match, prefix, dataUri, mimeType) => {
|
|
418
|
-
|
|
418
|
+
const cid = crypto.randomBytes(10).toString('hex') + '@localhost';
|
|
419
419
|
if (!mail.data.attachments) {
|
|
420
420
|
mail.data.attachments = [];
|
|
421
421
|
}
|