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 4.6.6 to 4.6.7

4

CHANGELOG.md
# CHANGELOG
## 4.6.7 2018-06-15
* Added option `skipEncoding` to JSONTransport
## 4.6.6 2018-06-10

@@ -4,0 +8,0 @@

12

lib/json-transport/index.js

@@ -7,12 +7,6 @@ 'use strict';

/**
* Generates a Transport object for Sendmail
* Generates a Transport object to generate JSON output
*
* Possible options can be the following:
*
* * **path** optional path to sendmail binary
* * **newline** either 'windows' or 'unix'
* * **args** an array of arguments for the sendmail binary
*
* @constructor
* @param {Object} optional config parameter for the AWS Sendmail service
* @param {Object} optional config parameter
*/

@@ -82,3 +76,3 @@ class JSONTransport {

messageId,
message: JSON.stringify(data)
message: this.options.skipEncoding ? data : JSON.stringify(data)
});

@@ -85,0 +79,0 @@ });

@@ -126,2 +126,4 @@ 'use strict';

}
return this;
}

@@ -128,0 +130,0 @@

@@ -19,3 +19,3 @@ 'use strict';

*/
class SendmailTransport {
class StreamTransport {
constructor(options) {

@@ -143,2 +143,2 @@ options = options || {};

module.exports = SendmailTransport;
module.exports = StreamTransport;
{
"name": "nodemailer",
"version": "4.6.6",
"version": "4.6.7",
"description": "Easy as cake e-mail sending from your Node.js applications",

@@ -5,0 +5,0 @@ "main": "lib/nodemailer.js",

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