Update runtime dependencies

- isemail@2
 - loopback-phase@3

Skip update of nodemailer because it changed the license to GPL-like one
This commit is contained in:
Miroslav Bajtoš 2017-03-03 15:53:49 +01:00
parent ed4f56c7f8
commit 8510982bea
No known key found for this signature in database
GPG Key ID: 797723F23CE0A94A
2 changed files with 3 additions and 3 deletions

View File

@ -936,7 +936,7 @@ function emailValidator(err, done) {
if (typeof value !== 'string') if (typeof value !== 'string')
return err('string'); return err('string');
if (value === '') return; if (value === '') return;
if (!isEmail(value)) if (!isEmail.validate(value))
return err('email'); return err('email');
} }

View File

@ -47,10 +47,10 @@
"ejs": "^2.3.1", "ejs": "^2.3.1",
"express": "^4.14.0", "express": "^4.14.0",
"inflection": "^1.6.0", "inflection": "^1.6.0",
"isemail": "^1.2.0", "isemail": "^2.2.1",
"loopback-connector-remote": "^3.0.0", "loopback-connector-remote": "^3.0.0",
"loopback-datasource-juggler": "^3.0.0", "loopback-datasource-juggler": "^3.0.0",
"loopback-phase": "^1.2.0", "loopback-phase": "^3.0.0",
"nodemailer": "^2.5.0", "nodemailer": "^2.5.0",
"nodemailer-stub-transport": "^1.0.0", "nodemailer-stub-transport": "^1.0.0",
"serve-favicon": "^2.2.0", "serve-favicon": "^2.2.0",