mongodb-in-memory
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -100,3 +100,6 @@ 'use strict'; | ||
}; | ||
}();['nextObject', 'count', 'close', 'toArray'].forEach(function (methodName) { | ||
}(); | ||
_tcoll2.default.prototype.updateOne = _tcoll2.default.prototype.update; | ||
_tcoll2.default.prototype.updateMany = _tcoll2.default.prototype.update;['nextObject', 'count', 'close', 'toArray'].forEach(function (methodName) { | ||
_tcursor2.default.prototype[methodName] = _bluebird2.default.promisify(_tcursor2.default.prototype[methodName]); | ||
@@ -103,0 +106,0 @@ }); |
{ | ||
"name": "mongodb-in-memory", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "babel -d . src/" |
@@ -47,2 +47,5 @@ import tingodb from 'tingodb' | ||
Collection.prototype.updateOne = Collection.prototype.update | ||
Collection.prototype.updateMany = Collection.prototype.update | ||
;[ | ||
@@ -49,0 +52,0 @@ 'nextObject', |
6735
139