From 4eb81a84d9103d6b0fed3158a1f02666fb1918a1 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Tue, 19 Aug 2014 00:36:31 -0500 Subject: [PATCH] Update nodemailer, yamljs, q --- config.template.yaml | 1 - lib/config.js | 2 -- package.json | 8 ++++---- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/config.template.yaml b/config.template.yaml index f148a5ca..64afd7a3 100644 --- a/config.template.yaml +++ b/config.template.yaml @@ -97,7 +97,6 @@ io: # see https://github.com/andris9/Nodemailer mail: enabled: false - transport: 'SMTP' config: service: 'Gmail' auth: diff --git a/lib/config.js b/lib/config.js index 24fe7888..d489c302 100644 --- a/lib/config.js +++ b/lib/config.js @@ -59,7 +59,6 @@ var defaults = { }, mail: { enabled: false, - transport: "SMTP", /* the key "config" is omitted because the format depends on the service the owner is configuring for nodemailer */ "from-address": "some.user@gmail.com" @@ -215,7 +214,6 @@ function preprocessConfig(cfg) { // Setup nodemailer cfg.mail.nodemailer = nodemailer.createTransport( - cfg.mail.transport, cfg.mail.config ); diff --git a/package.json b/package.json index 385a9520..86a8d62c 100644 --- a/package.json +++ b/package.json @@ -16,12 +16,12 @@ "jade": "~1.1.5", "json-typecheck": "^0.1.0", "morgan": "^1.2.3", - "mysql": "~2.0.1", - "nodemailer": "~0.6.0", + "mysql": "^2.4.2", + "nodemailer": "^1.2.0", "oauth": "^0.9.11", - "q": "^1.0.0", + "q": "^1.0.1", "serve-static": "^1.5.3", "socket.io": "~0.9.16", - "yamljs": "~0.1.4" + "yamljs": "^0.1.5" } }