Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jsft-mongodb

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsft-mongodb - npm Package Compare versions

Comparing version 0.8.4 to 0.8.5

3

lib/index.js

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

});
exports.Document = exports.Collection = undefined;
exports.Document = exports.Collection = exports.Link = undefined;
exports.dbConfig = dbConfig;

@@ -24,2 +24,3 @@

exports.Link = _Link2.default;
exports.Collection = _Collection2.default;

@@ -26,0 +27,0 @@ exports.Document = _Document2.default;

@@ -15,3 +15,2 @@ 'use strict';

var collections = {};
var db = void 0;

@@ -38,3 +37,3 @@ var Link = {};

db = db || (0, _monk2.default)(dbUrl, {}, function (err) {
Link._db = Link._db || (0, _monk2.default)(dbUrl, {}, function (err) {
if (err) {

@@ -45,3 +44,3 @@ throw err;

collections[name] = collections[name] || db.get(name);
collections[name] = collections[name] || Link._db.get(name);

@@ -48,0 +47,0 @@ return collections[name];

{
"name": "jsft-mongodb",
"version": "0.8.4",
"version": "0.8.5",
"description": "Functional abstraction layer for mongodb-storage of objects with structures defined with json-schema",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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