smtp-server
Advanced tools
Comparing version 1.16.0 to 1.16.1
# Changelog | ||
## v1.16.1 2016-10-17 | ||
* Allowed rewriting `connect` method | ||
## v1.16.0 2016-10-17 | ||
@@ -4,0 +8,0 @@ |
@@ -83,3 +83,5 @@ 'use strict'; | ||
// setup server listener and connection handler | ||
this.server = (this.options.secure ? tls : net).createServer(this.options, this.connect.bind(this)); | ||
this.server = (this.options.secure ? tls : net).createServer(this.options, function (socket) { | ||
this.connect(socket); | ||
}.bind(this)); | ||
@@ -86,0 +88,0 @@ // ensure _sharedCreds, fixes an issue in node v4+ where STARTTLS fails because _sharedCreds does not exist |
{ | ||
"name": "smtp-server", | ||
"version": "1.16.0", | ||
"version": "1.16.1", | ||
"description": "Create custom SMTP servers on the fly", | ||
@@ -5,0 +5,0 @@ "main": "lib/smtp-server.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
145981
3049