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

sails-mongo

Package Overview
Dependencies
Maintainers
4
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sails-mongo - npm Package Compare versions

Comparing version 0.10.2 to 0.10.3

7

lib/adapter.js

@@ -255,2 +255,4 @@ /*---------------------------------------------------------------

if (data.length === 0) {return cb(null, []);}
var connectionObject = connections[connectionName];

@@ -378,2 +380,7 @@ var collection = connectionObject.collections[collectionName];

join: function (connectionName, collectionName, criteria, cb) {
// Ignore `select` from waterline core
if (typeof criteria === 'object') {
delete criteria.select;
}

@@ -380,0 +387,0 @@ var connectionObject = connections[connectionName];

22

lib/collection.js

@@ -61,2 +61,7 @@

// Ignore `select` from waterline core
if (typeof criteria === 'object') {
delete criteria.select;
}
// Catch errors from building query and return to the callback

@@ -68,3 +73,3 @@ try {

}
var collection = this.connection.db.collection(self.identity);

@@ -142,2 +147,7 @@

// Ignore `select` from waterline core
if (typeof criteria === 'object') {
delete criteria.select;
}
// Catch errors build query and return to the callback

@@ -196,2 +206,7 @@ try {

query;
// Ignore `select` from waterline core
if (typeof criteria === 'object') {
delete criteria.select;
}

@@ -239,2 +254,7 @@ // Catch errors build query and return to the callback

var query;
// Ignore `select` from waterline core
if (typeof criteria === 'object') {
delete criteria.select;
}

@@ -241,0 +261,0 @@ // Catch errors build query and return to the callback

2

package.json
{
"name": "sails-mongo",
"version": "0.10.2",
"version": "0.10.3",
"description": "Mongo DB adapter for Sails.js",

@@ -5,0 +5,0 @@ "main": "./lib/adapter.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