Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nodemailer

Package Overview
Dependencies
Maintainers
1
Versions
272
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.1.1 to 6.2.1

.DS_Store

4

CHANGELOG.md
# CHANGELOG
## 6.2.0 2019-05-24
- Added new option for addressparser: `flatten`. If true then ignores group names and returns a single list of all addresses
## 6.1.1 2019-04-20

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

@@ -258,3 +258,5 @@ 'use strict';

*/
function addressparser(str) {
function addressparser(str, options) {
options = options || {};
let tokenizer = new Tokenizer(str);

@@ -289,2 +291,17 @@ let tokens = tokenizer.tokenize();

if (options.flatten) {
let addresses = [];
let walkAddressList = list => {
list.forEach(address => {
if (address.group) {
return walkAddressList(address.group);
} else {
addresses.push(address);
}
});
};
walkAddressList(parsedAddresses);
return addresses;
}
return parsedAddresses;

@@ -291,0 +308,0 @@ }

10

package.json
{
"name": "nodemailer",
"version": "6.1.1",
"version": "6.2.1",
"description": "Easy as cake e-mail sending from your Node.js applications",

@@ -26,3 +26,3 @@ "main": "lib/nodemailer.js",

"eslint-config-nodemailer": "1.2.0",
"eslint-config-prettier": "4.1.0",
"eslint-config-prettier": "4.3.0",
"grunt": "1.0.4",

@@ -33,9 +33,9 @@ "grunt-cli": "1.3.2",

"libbase64": "1.0.3",
"libmime": "4.0.1",
"libmime": "4.1.3",
"libqp": "1.1.0",
"mocha": "5.2.0",
"mocha": "6.1.4",
"nodemailer-ntlm-auth": "1.0.1",
"proxy": "0.2.4",
"proxy-test-server": "1.0.0",
"sinon": "7.3.1",
"sinon": "7.3.2",
"smtp-server": "3.5.0"

@@ -42,0 +42,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