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

emailjs

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emailjs - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

10

package.json
{
"name": "emailjs",
"description": "send text/html emails and attachments (files, streams and strings) from node.js to any smtp server",
"version": "1.0.8",
"version": "1.0.9",
"author": "eleith",

@@ -19,3 +19,3 @@ "contributors": [

"mimelib": "0.2.14",
"moment": "= 2.11.2",
"moment": "=2.11.2",
"starttls": "1.0.1"

@@ -27,7 +27,7 @@ },

"devDependencies": {
"mocha": "= 1.7.4",
"chai": "= 1.1.0",
"mocha": "=1.7.4",
"chai": "=1.1.0",
"simplesmtp": "0.3.32",
"mailparser": "0.4.1",
"iconv": "2.1.6"
"iconv": "2.2.1"
},

@@ -34,0 +34,0 @@ "engine": [

@@ -1,4 +0,3 @@

module.exports = function(message, code, error, smtp)
{
var err = new Error(message);
module.exports = function(message, code, error, smtp) {
var err = new Error((error && error.message) ? message + ' (' + error.message + ')' : message);
err.code = code;

@@ -5,0 +4,0 @@ if(error)

@@ -481,5 +481,12 @@ /*

var preferred = self.authentication;
var auth = "";
if (self.features && self.features.auth) {
if (typeof(self.features.auth) === 'string') {
auth = self.features.auth;
}
}
for (var i = 0; i < preferred.length; i++) {
if ((self.features.auth || "").indexOf(preferred[i]) != -1) {
if (auth.indexOf(preferred[i]) != -1) {
method = preferred[i];

@@ -486,0 +493,0 @@ break;

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