nodemailer
Advanced tools
Comparing version 6.6.3 to 6.6.4
# CHANGELOG | ||
## 6.6.4 2021-09-22 | ||
- Better compatibility with IPv6-only SMTP hosts (oxzi) | ||
- Fix ses verify for sdk v3 (hannesvdvreken) | ||
- Added SECURITY.txt for contact info | ||
## 6.6.3 2021-07-14 | ||
@@ -4,0 +10,0 @@ |
@@ -324,3 +324,3 @@ 'use strict'; | ||
const cb = err => { | ||
if (err && err.code !== 'InvalidParameterValue') { | ||
if (err && (err.code || err.Code) !== 'InvalidParameterValue') { | ||
return callback(err); | ||
@@ -339,2 +339,3 @@ } | ||
// v3 API | ||
sesMessage.RawMessage.Data = Buffer.from(sesMessage.RawMessage.Data); | ||
ses.send(new aws.SendRawEmailCommand(sesMessage), cb); | ||
@@ -341,0 +342,0 @@ } else { |
@@ -11,2 +11,3 @@ /* eslint no-console: 0 */ | ||
const net = require('net'); | ||
const os = require('os'); | ||
@@ -16,2 +17,12 @@ const DNS_TTL = 5 * 60 * 1000; | ||
const resolver = (family, hostname, callback) => { | ||
const familySupported = Object.values(os.networkInterfaces()). | ||
flat(). | ||
filter(i => !i.internal). | ||
filter(i => i.family === 'IPv' + family). | ||
length > 0; | ||
if (!familySupported) { | ||
return callback(null, []); | ||
} | ||
dns['resolve' + family](hostname, (err, addresses) => { | ||
@@ -18,0 +29,0 @@ if (err) { |
{ | ||
"name": "nodemailer", | ||
"version": "6.6.3", | ||
"version": "6.6.4", | ||
"description": "Easy as cake e-mail sending from your Node.js applications", | ||
@@ -23,4 +23,4 @@ "main": "lib/nodemailer.js", | ||
"devDependencies": { | ||
"@aws-sdk/client-ses": "3.21.0", | ||
"aws-sdk": "2.945.0", | ||
"@aws-sdk/client-ses": "3.33.0", | ||
"aws-sdk": "2.993.0", | ||
"bunyan": "1.8.15", | ||
@@ -37,7 +37,7 @@ "chai": "4.3.4", | ||
"libqp": "1.1.0", | ||
"mocha": "9.0.2", | ||
"mocha": "9.1.1", | ||
"nodemailer-ntlm-auth": "1.0.1", | ||
"proxy": "1.0.2", | ||
"proxy-test-server": "1.0.0", | ||
"sinon": "11.1.1", | ||
"sinon": "11.1.2", | ||
"smtp-server": "3.9.0" | ||
@@ -44,0 +44,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
475904
42
11473