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

waterline

Package Overview
Dependencies
Maintainers
3
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

waterline - npm Package Compare versions

Comparing version 0.10.13 to 0.10.14

5

lib/waterline/query/deferred.js

@@ -299,2 +299,7 @@ /**

// If the criteria is an array of objects, wrap it in an "or"
if (Array.isArray(criteria) && _.all(criteria, function(crit) {return _.isObject(crit);})) {
criteria = {or: criteria};
}
// Normalize criteria

@@ -301,0 +306,0 @@ criteria = normalize.criteria(criteria);

@@ -36,2 +36,7 @@ /**

// If the criteria is an array of objects, wrap it in an "or"
if (Array.isArray(criteria) && _.all(criteria, function(crit) {return _.isObject(crit);})) {
criteria = {or: criteria};
}
// Check if criteria is an integer or string and normalize criteria

@@ -194,2 +199,7 @@ // to object, using the specified primary key field.

// If the criteria is an array of objects, wrap it in an "or"
if (Array.isArray(criteria) && _.all(criteria, function(crit) {return _.isObject(crit);})) {
criteria = {or: criteria};
}
// Check if criteria is an integer or string and normalize criteria

@@ -196,0 +206,0 @@ // to object, using the specified primary key field.

2

package.json
{
"name": "waterline",
"description": "An ORM for Node.js and the Sails framework",
"version": "0.10.13",
"version": "0.10.14",
"homepage": "http://github.com/balderdashy/waterline",

@@ -6,0 +6,0 @@ "contributors": [

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