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 1.0.0 to 1.0.1

4

CHANGELOG.md
# Changelog
## v1.0.1 2014-10-15
* Added 'error' handler for CleartextStream.pair.encrypted object when connecting to TLS.
## v1.0.0 2014-09-26

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

17

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

@@ -26,10 +26,11 @@ "main": "src/smtp-connection.js",

"devDependencies": {
"chai": "~1.8.1",
"grunt": "~0.4.1",
"grunt-contrib-jshint": "~0.8.0",
"grunt-mocha-test": "~0.10.0",
"simplesmtp": "^0.3.32",
"sinon": "^1.9.0",
"xoauth2": "^0.1.8"
"chai": "^1.9.2",
"grunt": "^0.4.5",
"grunt-contrib-jshint": "^0.10.0",
"grunt-mocha-test": "^0.12.1",
"mocha": "^1.21.5",
"simplesmtp": "^0.3.33",
"sinon": "^1.10.3",
"xoauth2": "^1.0.0"
}
}

@@ -156,2 +156,3 @@ 'use strict';

this._socket = tls.connect(this.options.port, this.options.host, opts, this._onConnect.bind(this));
this._socket.pair.encrypted.on('error', this._onError.bind(this));
} else {

@@ -200,3 +201,5 @@ this._socket = net.connect(opts, this._onConnect.bind(this));

if (socket && !socket.destroyed) {
this._socket[closeMethod]();
try {
this._socket[closeMethod]();
} catch (E) {}
}

@@ -203,0 +206,0 @@

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