+10
-6
| { | ||
| "name": "emailjs", | ||
| "description": "send text/html emails and attachments (files, streams and strings) from node.js to any smtp server", | ||
| "version": "0.3.2", | ||
| "version": "0.3.3", | ||
| "author": "eleith", | ||
| "contributors":["izuzak", "Hiverness", "mscdex"], | ||
| "contributors":["izuzak", "Hiverness", "mscdex", "jimmybergman"], | ||
| "repository": | ||
@@ -12,2 +12,10 @@ { | ||
| }, | ||
| "dependencies": | ||
| { | ||
| "moment" : ">= 1.7.0" | ||
| }, | ||
| "optionalDependencies": | ||
| { | ||
| "bufferjs": "=1.1.0" | ||
| }, | ||
| "devDependencies": | ||
@@ -21,6 +29,2 @@ { | ||
| }, | ||
| "optionalDependencies": | ||
| { | ||
| "bufferjs": "*" | ||
| }, | ||
| "engine": ["node >= 0.6"], | ||
@@ -27,0 +31,0 @@ "main": "email", |
+1
-1
@@ -1,2 +0,2 @@ | ||
| # emailjs (v0.3.2) [](http://travis-ci.org/eleith/emailjs) | ||
| # emailjs (v0.3.3) [](http://travis-ci.org/eleith/emailjs) | ||
@@ -3,0 +3,0 @@ send emails, html and attachments (files, streams and strings) from node.js to any smtp server |
+6
-1
@@ -6,2 +6,3 @@ var stream = require('stream'); | ||
| var path = require('path'); | ||
| var moment = require('moment'); | ||
| var CRLF = "\r\n"; | ||
@@ -35,3 +36,7 @@ var MIMECHUNK = 76; // MIME standard wants 76 char chunks when sending out. | ||
| this.alternative = null; | ||
| this.header = {"message-id":"<" + (new Date()).getTime() + "." + (counter++) + "." + process.pid + "@" + os.hostname() +">"}; | ||
| var now = new Date(); | ||
| this.header = { | ||
| "message-id":"<" + now.getTime() + "." + (counter++) + "." + process.pid + "@" + os.hostname() +">", | ||
| "date":moment().format("ddd, DD MMM YYYY HH:mm:ss ZZ") | ||
| }; | ||
| this.content = "text/plain; charset=utf-8"; | ||
@@ -38,0 +43,0 @@ |
-19
| Copyright (C) <2011> <leith / eleith.com> | ||
| Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
| this software and associated documentation files (the "Software"), to deal in | ||
| the Software without restriction, including without limitation the rights to | ||
| use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | ||
| of the Software, and to permit persons to whom the Software is furnished to do | ||
| so, subject to the following conditions: | ||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. |
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1619
0.31%55049
-1.55%2
100%10
-9.09%+ Added
+ Added
- Removed