Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

smtp-connection

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smtp-connection - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

19

lib/smtp-connection.js

@@ -407,2 +407,5 @@ 'use strict';

}
if (this.options.envelopeOnly) {
return callback(null, info);
}
let stream = this._createSendStream((err, str) => {

@@ -421,3 +424,2 @@ if (err) {

}
});

@@ -1374,2 +1376,17 @@ }

if (this._envelope.rejected.length < this._envelope.to.length) {
if (this.options.envelopeOnly) {
let response = {
accepted: this._envelope.accepted,
rejected: this._envelope.rejected
};
if (this._envelope.rejectedErrors.length) {
response.rejectedErrors = this._envelope.rejectedErrors;
}
return callback(null, response);
}
this._responseActions.push(str => {

@@ -1376,0 +1393,0 @@ this._actionDATA(str, callback);

2

package.json
{
"name": "smtp-connection",
"version": "3.1.0",
"version": "3.2.0",
"description": "Connect to SMTP servers",

@@ -5,0 +5,0 @@ "main": "lib/smtp-connection.js",

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