Socket
Socket
Sign inDemoInstall

nodemailer-smtp-pool

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodemailer-smtp-pool - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

2

package.json
{
"name": "nodemailer-smtp-pool",
"version": "1.1.2",
"version": "1.1.3",
"description": "SMTP transport for Nodemailer",

@@ -5,0 +5,0 @@ "main": "src/smtp-pool.js",

@@ -65,5 +65,14 @@ 'use strict';

SMTPPool.prototype.send = function(mail, callback) {
var called = false;
this._queue.push({
mail: mail,
callback: callback
callback: function(){
// callback might me fired twice, depending on how connection error is handled
// so we enforce strict limit of single run only
if(called){
return;
}
called = true;
callback.apply(null, Array.prototype.slice.call(arguments));
}
});

@@ -70,0 +79,0 @@ this._processMessages();

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