Socket
Socket
Sign inDemoInstall

viewmodel

Package Overview
Dependencies
8
Maintainers
2
Versions
109
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.7 to 1.5.8

7

lib/databases/mongodb.js

@@ -272,3 +272,3 @@ 'use strict';

checkConnection: function() {
checkConnection: function(doNotEnsureIndexes) {
if (this.collection) {

@@ -283,2 +283,5 @@ return;

this.collection = this.db.collection(this.collectionName);
if (doNotEnsureIndexes) return;
this.ensureIndexes();

@@ -288,3 +291,3 @@ },

clear: function (callback) {
this.checkConnection();
this.checkConnection(true);

@@ -291,0 +294,0 @@ if (!this.collection) {

@@ -212,3 +212,3 @@ 'use strict';

checkConnection: function() {
checkConnection: function(doNotEnsureIndexes) {
if (this.collection) {

@@ -223,2 +223,5 @@ return;

this.collection = this.db.createCollection(this.collectionName + '.tingo');
if (doNotEnsureIndexes) return;
this.ensureIndexes();

@@ -228,3 +231,3 @@ },

clear: function (callback) {
this.checkConnection();
this.checkConnection(true);

@@ -231,0 +234,0 @@ if (!this.collection) {

{
"author": "adrai",
"name": "viewmodel",
"version": "1.5.7",
"version": "1.5.8",
"private": false,

@@ -14,9 +14,9 @@ "main": "index.js",

"dependencies": {
"async": "1.4.2",
"async": "1.5.0",
"dotty": "0.0.2",
"jsondate": "0.0.1",
"lodash": "3.10.1",
"node-uuid": "1.4.3",
"node-uuid": "1.4.7",
"parent-require": "1.0.0",
"sift": "2.0.9",
"sift": "3.0.0",
"tolerance": "1.0.0"

@@ -29,3 +29,3 @@ },

"doqmentdb": ">=0.2.7",
"elasticsearch": ">=5.0.0",
"elasticsearch": "8.x.x",
"eslint": ">=1.0.0",

@@ -32,0 +32,0 @@ "expect.js": ">= 0.1.2",

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

## [v1.5.8](https://github.com/adrai/node-viewmodel/compare/v1.5.7...v1.5.8)
- mongodb: do not call ensureIndexes on clear
## [v1.5.7](https://github.com/adrai/node-viewmodel/compare/v1.5.6...v1.5.7)

@@ -2,0 +5,0 @@ - redis: fix wrong multi response handling

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc