Socket
Socket
Sign inDemoInstall

smtpapi

Package Overview
Dependencies
0
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

2

lib/main.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc