Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

winston-mail

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

winston-mail - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

5

changelog.md
0.2.1 / 2012-02-27
==================
* updated; test suite
0.2.0 / 2012-02-24

@@ -3,0 +8,0 @@ ==================

7

package.json
{
"name": "winston-mail",
"description": "A mail transport for winston",
"version": "0.2.0",
"version": "0.2.1",
"author": "Marc Harter <wavded@gmail.com>",

@@ -18,4 +18,5 @@ "contributors": [

"devDependencies": {
"winston": "0.4.x",
"vows": "0.5.x"
"winston": "",
"simplesmtp": "",
"vows": ""
},

@@ -22,0 +23,0 @@ "main": "./lib/winston-mail",

@@ -11,8 +11,8 @@ /*

var helpers = require('winston/test/helpers');
var spawn = require('child_process').spawn;
var smtp = require('simplesmtp').createServer();
var Mail = require('../lib/winston-mail').Mail;
var smtp = spawn('java',['-jar','test/fixtures/DevNullSmtp.jar','-p','2500','-console'])
smtp.stdout.on('data', function (data) { console.log('stdout: ' + data); });
smtp.stderr.on('data', function (data) { console.log('stderr: ' + data); });
smtp.listen(2500, function (err) {
console.log(arguments)
})

@@ -28,6 +28,2 @@ function assertMail (transport) {

vows.describe('winston-mail').addBatch({
"Start SMTP Server": {
topic: function () { setTimeout(this.callback, 1000) }, '': function () { assert.ok(true) }
}
}).addBatch({
"An instance of the Mail Transport": {

@@ -37,11 +33,7 @@ "should have the proper methods defined": function () {

},
// "the log() method": helpers.testNpmLevels(transport, "should log messages to Mail", function (ign, err, logged) {
// assert.isTrue(!err);
// assert.isTrue(logged);
// })
"the log() method": helpers.testNpmLevels(transport, "should log messages to Mail", function (ign, err, logged) {
assert.isTrue(!err);
assert.isTrue(logged);
})
}
}).addBatch({
"Stop SMTP Server": {
topic: function (){ smtp.kill(); setTimeout(this.callback, 500) }, '': function () { assert.ok(true) }
}
}).export(module);
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