smtp-connection
Advanced tools
Comparing version 1.3.8 to 2.0.0-beta.0
# Changelog | ||
## v2.0.0-beta.0 2016-01-01 | ||
* Replaced jshint with eslint | ||
* Handle message stream errors | ||
* Use bunyan compatible logger interface instead of emitting 'log' events | ||
## v1.3.8 2015-12-29 | ||
@@ -4,0 +10,0 @@ |
'use strict'; | ||
module.exports = function(grunt) { | ||
module.exports = function (grunt) { | ||
// Project configuration. | ||
grunt.initConfig({ | ||
jshint: { | ||
all: ['src/*.js', 'test/*.js'], | ||
options: { | ||
jshintrc: '.jshintrc' | ||
} | ||
eslint: { | ||
all: ['lib/*.js', 'test/*.js', 'Gruntfile.js', '.eslintrc.js'] | ||
}, | ||
@@ -25,7 +22,7 @@ | ||
// Load the plugin(s) | ||
grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
grunt.loadNpmTasks('grunt-eslint'); | ||
grunt.loadNpmTasks('grunt-mocha-test'); | ||
// Tasks | ||
grunt.registerTask('default', ['jshint', 'mochaTest']); | ||
}; | ||
grunt.registerTask('default', ['eslint', 'mochaTest']); | ||
}; |
{ | ||
"name": "smtp-connection", | ||
"version": "1.3.8", | ||
"version": "2.0.0-beta.0", | ||
"description": "Connect to SMTP servers", | ||
"main": "src/smtp-connection.js", | ||
"main": "lib/smtp-connection.js", | ||
"directories": { | ||
@@ -28,3 +28,3 @@ "test": "test" | ||
"grunt": "^0.4.5", | ||
"grunt-contrib-jshint": "^0.11.3", | ||
"grunt-eslint": "^17.3.1", | ||
"grunt-mocha-test": "^0.12.7", | ||
@@ -31,0 +31,0 @@ "mocha": "^2.3.4", |
@@ -39,3 +39,3 @@ # smtp-connection | ||
* **options.socketTimeout** how many milliseconds of inactivity to allow | ||
* **options.debug** if true, the connection emits all traffic between client and server as 'log' events | ||
* **options.logger** optional [bunyan](https://github.com/trentm/node-bunyan) compatible logger instance. By default logs to console. If set to `false` then nothing is logged | ||
* **options.lmtp** if true, uses LMTP instead of SMTP to talk to the server. Partial support, does not work well with multiple recipients | ||
@@ -53,3 +53,2 @@ * **options.authMethod** defines preferred authentication method, e.g. 'PLAIN' | ||
* **'end'** when the instance is destroyed | ||
* **'log'** *(data)* emitted for all traffic when debug option is set to true | ||
@@ -56,0 +55,0 @@ ### connect |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
47312
1067
1
153
3