Socket
Socket
Sign inDemoInstall

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 2.2.2 to 2.2.3

4

CHANGELOG.md
# Changelog
## v2.2.3 2016-02-11
* Fixed error code for STARTTLS errors
## v2.2.2 2016-02-09

@@ -4,0 +8,0 @@

4

lib/smtp-connection.js

@@ -474,3 +474,3 @@ 'use strict';

if ([this._actionGreeting, this.close].indexOf(this._currentAction) < 0 && !this._destroyed) {
return this._onError(new Error('Connection closed unexpectedly'));
return this._onError(new Error('Connection closed unexpectedly'), 'ECONNECTION');
}

@@ -803,3 +803,3 @@

if (str.charAt(0) !== '2') {
this._onError(new Error('Error upgrading connection with STARTTLS', 'ETLS', str));
this._onError(new Error('Error upgrading connection with STARTTLS'), 'ETLS', str);
return;

@@ -806,0 +806,0 @@ }

{
"name": "smtp-connection",
"version": "2.2.2",
"version": "2.2.3",
"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