You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

viewmodel

Package Overview
Dependencies
2
Maintainers
1
Versions
109
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.11 to 0.5.0

2

lib/databases/mongoDb.js

@@ -54,3 +54,3 @@ var mongo = require('mongodb')

}
}
}
});

@@ -57,0 +57,0 @@

var fs = require('fs')
, _ = require('lodash');
, _ = require('lodash')
, tolerate = require('tolerance');

@@ -34,3 +35,5 @@ // __initialize:__ Initiate communication with the database.

if (!self.isConnected) {
self.connect(options, callback);
tolerate(function(callback) {
self.connect(options, callback);
}, options.timeout || 0, callback);
} else {

@@ -37,0 +40,0 @@ callback(null, self);

{
"author": "adrai",
"name": "viewmodel",
"version": "0.4.11",
"version": "0.5.0",
"private": false,

@@ -14,3 +14,4 @@ "main": "index.js",

"dependencies": {
"lodash": ">= 0.10.x"
"lodash": ">= 2.2.1",
"tolerance": ">= 1.0.0"
},

@@ -23,3 +24,3 @@ "devDependencies": {

"description": "Node-viewmodel is a node.js module for multiple databases. It can be very useful if you work with (d)ddd, cqrs, eventdenormalizer, host, etc.",
"keywords" : [
"keywords": [
"orm",

@@ -59,5 +60,5 @@ "viewmodel",

],
"scripts" : {
"test" : "mocha"
}
"scripts": {
"test": "mocha"
}
}

@@ -37,2 +37,3 @@ # Introduction

collectionName: 'dummy',// optional and only if you directly want to use a collection, so repo.extend() is not necessary...
timeout: 10000 // optional
},

@@ -39,0 +40,0 @@ function(err) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc