Socket
Socket
Sign inDemoInstall

viewmodel

Package Overview
Dependencies
Maintainers
2
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

viewmodel - npm Package Compare versions

Comparing version 1.10.2 to 1.10.3

2

lib/databases/elasticsearch6.js

@@ -237,2 +237,4 @@ var util = require("util"),

if (bulkOperation.length === 0) return callback(null, vms);
self.client.bulk({

@@ -239,0 +241,0 @@ refresh: self.refresh,

@@ -305,2 +305,4 @@ var util = require('util'),

if (bulkOperation.length === 0) return callback(null, vms);
this.collection.bulkWrite(bulkOperation, { ordered: false }, function(err, result) {

@@ -307,0 +309,0 @@ if (err && err.message && err.message.indexOf('duplicate key') >= 0) {

2

package.json
{
"author": "adrai",
"name": "viewmodel",
"version": "1.10.2",
"version": "1.10.3",
"private": false,

@@ -6,0 +6,0 @@ "main": "index.js",

@@ -0,1 +1,4 @@

## [v1.10.3](https://github.com/adrai/node-viewmodel/compare/v1.10.2...v1.10.3)
- bulkCommit: check for empty bulkOperations
## [v1.10.2](https://github.com/adrai/node-viewmodel/compare/v1.10.1...v1.10.2)

@@ -2,0 +5,0 @@ - bulkCommit: mongodb wait for serverStatus call

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc