Socket
Socket
Sign inDemoInstall

nodemailer

Package Overview
Dependencies
Maintainers
1
Versions
271
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodemailer - npm Package Compare versions

Comparing version 6.6.3 to 6.6.4

SECURITY.txt

6

CHANGELOG.md
# 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 @@

3

lib/ses-transport/index.js

@@ -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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc