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.2.9 to 0.3.0

27

package.json
{
"name": "emailjs",
"name": "emailjs",
"description": "send text/html emails and attachments (files, streams and strings) from node.js to any smtp server",
"version": "0.2.9",
"author": "eleith",
"version": "0.3.0",
"author": "eleith",
"contributors":["izuzak", "Hiverness", "mscdex"],
"repository":
"repository":
{

@@ -14,17 +14,18 @@ "type": "git",

{
"mocha": ">= 1.0.3",
"chai": ">= 1.0.3",
"simplesmtp" : ">= 0.1.18",
"mailparser" : ">= 0.2.26"
"mocha": ">= 1.2.2",
"chai": ">= 1.1.0",
"simplesmtp": ">= 0.1.18",
"mailparser": "0.2.27",
"iconv": "1.1.3"
},
"dependencies":
"optionalDependencies":
{
"buffertools" : ">= 1.0.8"
"bufferjs": "*"
},
"engine": ["node >= 0.6.15"],
"main": "email",
"engine": ["node >= 0.6"],
"main": "email",
"scripts":
{
"test": "mocha -R spec -t 5000 test/*.js"
"test": "mocha -R spec -t 5000"
}
}

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

# emailjs (v0.2.9)
# emailjs (v0.3.0) [![Build Status](https://secure.travis-ci.org/eleith/emailjs.png)](http://travis-ci.org/eleith/emailjs)
send emails, html and attachments (files, streams and strings) from node.js to any smtp server

@@ -4,0 +5,0 @@

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

var os = require('os');
var buffertools= require('buffertools');
var path = require('path');

@@ -15,2 +14,8 @@ var CRLF = "\r\n";

// support for nodejs without Buffer.concat native function
if(!Buffer.concat)
{
require("bufferjs/concat");
}
var generate_boundary = function()

@@ -137,3 +142,4 @@ {

{
if(!path.existsSync(attachment.path))
// migrating path->fs for existsSync)
if(!(fs.existsSync || path.existsSync)(attachment.path))
failed.push(attachment.path + " does not exist");

@@ -349,3 +355,3 @@ }

{
var buffer2 = buffertools.concat(previous, buffer);
var buffer2 = Buffer.concat([previous, buffer]);
previous = null; // free up the buffer

@@ -352,0 +358,0 @@ buffer = null; // free up the buffer

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