viewmodel
Advanced tools
Comparing version 1.11.1 to 1.11.2
@@ -298,3 +298,3 @@ var util = require('util'), | ||
} | ||
bulkOperation.push({ updateOne: { filter: query, update: obj, upsert: !currentHash } }); | ||
bulkOperation.push({ updateOne: { filter: query, update: { $set: obj }, upsert: !currentHash } }); | ||
vm.actionOnCommit = 'update'; | ||
@@ -301,0 +301,0 @@ modifiedCount++; |
{ | ||
"author": "adrai", | ||
"name": "viewmodel", | ||
"version": "1.11.1", | ||
"version": "1.11.2", | ||
"private": false, | ||
@@ -17,3 +17,3 @@ "main": "index.js", | ||
"jsondate": "0.0.1", | ||
"lodash": "4.17.15", | ||
"lodash": "4.17.19", | ||
"parent-require": "1.0.0", | ||
@@ -34,3 +34,3 @@ "sift": "5.0.0", | ||
"expect.js": ">= 0.1.2", | ||
"mocha": ">= 1.0.1", | ||
"mocha": ">= 4.0.0", | ||
"mongodb": "2.1.x", | ||
@@ -37,0 +37,0 @@ "redis": ">= 0.10.1", |
@@ -0,1 +1,4 @@ | ||
## [v1.11.2](https://github.com/adrai/node-viewmodel/compare/v1.11.1...v1.11.2) | ||
- mongodb: Support mongo atomic operators [#74](https://github.com/adrai/node-viewmodel/pull/74) thanks to [OrH](https://github.com/OrH) | ||
## [v1.11.1](https://github.com/adrai/node-viewmodel/compare/v1.11.0...v1.11.1) | ||
@@ -2,0 +5,0 @@ - mongodb: useUnifiedTopology |
148120
+ Addedlodash@4.17.19(transitive)
- Removedlodash@4.17.15(transitive)
Updatedlodash@4.17.19