smtpapi
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -109,3 +109,3 @@ "use strict"; | ||
smtpapi.prototype.escapeUnicode = function(str) { | ||
return str.replace(/[^ -~]|\\/g, function(m0) { | ||
return str.replace(/[^ -~]/g, function(m0) { | ||
var code = m0.charCodeAt(0); | ||
@@ -112,0 +112,0 @@ return '\\u' + ((code < 0x10)? '000' : |
{ | ||
"name": "smtpapi", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Build SendGrid X-SMTPAPI headers in nodejs.", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
@@ -186,3 +186,3 @@ # smtpapi-nodejs | ||
}; | ||
var smtpTransport = nodemailer.createTransport("SMTP", settings); | ||
var smtpTransport = nodemailer.createTransport(settings); | ||
@@ -189,0 +189,0 @@ var mailOptions = { |
@@ -12,3 +12,3 @@ var assert = require('assert'); | ||
it('version should be set', function() { | ||
header.version.should.eql("1.0.3"); | ||
header.version.should.eql("1.0.4"); | ||
}); | ||
@@ -15,0 +15,0 @@ |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
13510
1