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 2.0.0-beta.2 to 2.0.0-beta.3

4

CHANGELOG.md
# 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 @@

14

lib/smtp-connection.js

@@ -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"
}
}
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