New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

loopback-connector-mongodb

Package Overview
Dependencies
Maintainers
3
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loopback-connector-mongodb - npm Package Compare versions

Comparing version

to
1.1.3

1

docs.json
{
"content": [
"README.md",
{"title": "LoopBack MongoDB Connector API", "depth": 2},

@@ -5,0 +4,0 @@ "lib/mongodb.js"

@@ -61,3 +61,2 @@ /*!

if(callback) {
dataSource.connecting = true;
dataSource.connector.connect(callback);

@@ -104,11 +103,3 @@ }

} else {
if(self.debug) {
// Configure the mongodb logger
self.settings.logger = { doDebug: true,
doError: true,
log: console.log,
debug: console.log,
error: console.error };
}
mongodb.MongoClient.connect(self.settings.url, {db: self.settings}, function (err, db) {
mongodb.MongoClient.connect(self.settings.url, self.settings, function (err, db) {
if(!err) {

@@ -115,0 +106,0 @@ if(self.debug) {

16

package.json
{
"name": "loopback-connector-mongodb",
"version": "1.1.0",
"version": "1.1.3",
"description": "LoopBack MongoDB Connector",

@@ -8,16 +8,14 @@ "keywords": [ "StrongLoop", "LoopBack", "MongoDB", "DataSource", "Connector" ],

"scripts": {
"test": "make test",
"blanket": {
"pattern": "//^((?!(node_modules|test)).)*$/"
},
"coverage": "mocha -r blanket -R html-cov > coverage_loopback-connector-mongodb.html"
"test": "make test"
},
"dependencies": {
"loopback-datasource-juggler": "~1.1.0",
"mongodb": "~1.3.19"
},
"peerDependencies": {
"loopback-datasource-juggler": "1.x.x"
},
"devDependencies": {
"loopback-datasource-juggler": "1.x.x",
"should": "~1.2.2",
"mocha": "~1.12.1",
"blanket": "~1.1.5",
"mocha": "~1.14.0",
"rc": "~0.3.0"

@@ -24,0 +22,0 @@ },

Sorry, the diff of this file is not supported yet