connect-mongo
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -0,1 +1,6 @@ | ||
1.3.1 / 2016-07-23 | ||
================= | ||
* Restrict `bluebird` accepted versions to 3.x | ||
1.3.0 / 2016-07-23 | ||
@@ -2,0 +7,0 @@ ================= |
{ | ||
"name": "connect-mongo", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "MongoDB session store for Express and Connect", | ||
@@ -25,3 +25,3 @@ "keywords": [ | ||
"dependencies": { | ||
"bluebird": ">= 2.0", | ||
"bluebird": "^3.0", | ||
"mongodb": ">= 1.2.0 <3.0.0" | ||
@@ -28,0 +28,0 @@ }, |
@@ -189,3 +189,3 @@ 'use strict'; | ||
['count', 'findOne', 'remove', 'drop', 'update', 'ensureIndex'].forEach(function (method) { | ||
collection[method + 'Async'] = Promise.promisify(collection[method], collection); | ||
collection[method + 'Async'] = Promise.promisify(collection[method], { context: collection }); | ||
}); | ||
@@ -192,0 +192,0 @@ |
@@ -155,3 +155,3 @@ 'use strict'; | ||
['count', 'findOne', 'remove', 'drop', 'update', 'ensureIndex'].forEach(method => { | ||
collection[method + 'Async'] = Promise.promisify(collection[method], collection); | ||
collection[method + 'Async'] = Promise.promisify(collection[method], { context: collection }); | ||
}); | ||
@@ -158,0 +158,0 @@ |
42361
Updatedbluebird@^3.0