New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 0.3.3 to 0.3.4

LICENSE

10

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

@@ -14,3 +14,3 @@ "contributors":["izuzak", "Hiverness", "mscdex", "jimmybergman"],

{
"moment" : ">= 1.7.0"
"moment" : "= 1.7.0"
},

@@ -23,5 +23,5 @@ "optionalDependencies":

{
"mocha": ">= 1.2.2",
"chai": ">= 1.1.0",
"simplesmtp": ">= 0.1.18",
"mocha": "= 1.7.4",
"chai": "= 1.1.0",
"simplesmtp": "= 0.1.18",
"mailparser": "0.2.27",

@@ -28,0 +28,0 @@ "iconv": "1.1.3"

@@ -75,3 +75,6 @@ var smtp = require('./smtp');

if(!(msg instanceof message.Message) && msg.from && msg.to && msg.text)
if(!(msg instanceof message.Message)
&& msg.from
&& (msg.to || msg.cc || msg.bcc)
&& msg.text)
msg = message.create(msg);

@@ -78,0 +81,0 @@

@@ -128,3 +128,3 @@ var stream = require('stream');

}
if(!self.header.to)
if(!(self.header.to || self.header.cc || self.header.bcc))
{

@@ -131,0 +131,0 @@ callback(false, "message does not have a valid recipient");

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