express-validator
Advanced tools
Comparing version 2.20.2 to 2.20.3
## Change Log | ||
### v2.20.2 2016/03/13 | ||
- [a4a603b](https://github.com/ctavan/express-validator/commit/a4a603bce78f96a4b0987af5cf2490e07cd44404) Upgrade to 2.20.2 (@rustybailey) | ||
- [49803b9](https://github.com/ctavan/express-validator/commit/49803b945239f298dc06329a02d102c9a7d5a607) Added comment to reference the fix (@AuspeXeu) | ||
- [41add1b](https://github.com/ctavan/express-validator/commit/41add1be83ed28fcf91abc383b921d7472a1e41a) Added badge reflecting the dependency status (@AuspeXeu) | ||
- [5c9e08c](https://github.com/ctavan/express-validator/commit/5c9e08c87363b963124010d15e46ada9ea9dd151) Upgraded bluebird (@AuspeXeu) | ||
- [69d5cc6](https://github.com/ctavan/express-validator/commit/69d5cc6361babc90a96f34718adbdf81ce5c7769) Add npm version badge (@rustybailey) | ||
- [a5262c7](https://github.com/ctavan/express-validator/commit/a5262c70cbe17dcac5808726f3043b8ab583aa5c) Upgrade changelog. (@rustybailey) | ||
### v2.20.1 2016/03/13 | ||
@@ -4,0 +12,0 @@ - [0f4d5f6](https://github.com/ctavan/express-validator/commit/0f4d5f69d514c691f33890698cdea37060a1698c) Upgrade to 2.20.1 (@rustybailey) |
module.exports = require('./lib/express_validator.js'); |
@@ -180,3 +180,6 @@ var validator = require('validator'); | ||
Promise.all(promises.map(function(promise) { | ||
return promise.reflect(); | ||
// Must convert to Bluebird promise in case they are using native | ||
// Node promises since reflect() is not a native promise method | ||
// http://bluebirdjs.com/docs/api/reflect.html#comment-2369616577 | ||
return Promise.resolve(promise).reflect(); | ||
})).then(function(results) { | ||
@@ -183,0 +186,0 @@ |
@@ -12,3 +12,3 @@ { | ||
], | ||
"version": "2.20.2", | ||
"version": "2.20.3", | ||
"homepage": "https://github.com/ctavan/express-validator", | ||
@@ -15,0 +15,0 @@ "license": "MIT", |
@@ -0,0 +0,0 @@ # express-validator |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -5,3 +5,2 @@ // Sample app | ||
var bodyParser = require('body-parser'); | ||
var Promise = require('bluebird'); | ||
@@ -11,2 +10,8 @@ var port = process.env.PORT || 8888; | ||
// If no native implementation of Promise exists (less than Node v4), | ||
// use Bluebird promises so we can test for both depending on the Node version | ||
if (typeof Promise === 'undefined') { | ||
Promise = require('bluebird'); | ||
} | ||
module.exports = function(validation) { | ||
@@ -13,0 +18,0 @@ |
@@ -0,0 +0,0 @@ var util = require('util'), |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
@@ -0,0 +0,0 @@ var chai = require('chai'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
2326
138372