Socket
Socket
Sign inDemoInstall

smtp-server

Package Overview
Dependencies
2
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 2.0.3

4

CHANGELOG.md
# Changelog
## v2.0.3 2017-02-17
* Expose `secure` state in session
## v2.0.2 2017-02-17

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

4

lib/smtp-connection.js

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

// If true, then the connection is using TLS
this.secure = !!this._server.options.secure;
this.session.secure = this.secure = !!this._server.options.secure;

@@ -1013,3 +1013,3 @@ this.tlsOptions = this.secure ? this._socket.getCipher() : false;

secureSocket.on('secure', () => {
this.secure = true;
this.session.secure = this.secure = true;
this._socket = secureSocket;

@@ -1016,0 +1016,0 @@ this._upgrading = false;

{
"name": "smtp-server",
"version": "2.0.2",
"version": "2.0.3",
"description": "Create custom SMTP servers on the fly",

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

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