smtp-connection
Advanced tools
Comparing version 2.0.0-beta.2 to 2.0.0-beta.3
# Changelog | ||
## v2.0.0-beta.3 2016-01-03 | ||
* Use shared function to create the logger instance | ||
## v2.0.0-beta.2 2016-01-03 | ||
@@ -4,0 +8,0 @@ |
@@ -12,2 +12,3 @@ 'use strict'; | ||
var PassThrough = require('stream').PassThrough; | ||
var shared = require('nodemailer-shared'); | ||
@@ -54,14 +55,3 @@ module.exports = SMTPConnection; | ||
// setup logger | ||
if ('logger' in this.options) { | ||
// use provided logger or use vanity logger if option is set to false | ||
this.logger = this.options.logger || { | ||
info: function () {}, | ||
debug: function () {}, | ||
error: function () {} | ||
}; | ||
} else { | ||
// create default console logger | ||
this.logger = this._createDefaultLogger(); | ||
} | ||
this.logger = shared.getLogger(this.options); | ||
@@ -68,0 +58,0 @@ /** |
{ | ||
"name": "smtp-connection", | ||
"version": "2.0.0-beta.2", | ||
"version": "2.0.0-beta.3", | ||
"description": "Connect to SMTP servers", | ||
@@ -35,3 +35,5 @@ "main": "lib/smtp-connection.js", | ||
}, | ||
"dependencies": {} | ||
"dependencies": { | ||
"nodemailer-shared": "^1.0.1" | ||
} | ||
} |
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
48301
1
1077
+ Addednodemailer-shared@^1.0.1
+ Addednodemailer-fetch@1.6.0(transitive)
+ Addednodemailer-shared@1.1.0(transitive)