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

waterline

Package Overview
Dependencies
Maintainers
1
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.2.0 to 0.3.0

test/subAttributeQueries.test.js

20

deferredObject.js

@@ -81,12 +81,26 @@ var _ = require('underscore');

this.startsWith = function (queryString, attributes, cb) {
// TODO for filtering
this.like = function (criteria, cb) {
throw new notImplementedError();
};
this.contains = function (queryString, attributes, cb) {
this.startsWith = function (criteria, cb) {
throw new notImplementedError();
};
this.endsWith = function (queryString, attributes, cb) {
this.contains = function (criteria, cb) {
throw new notImplementedError();
};
this.endsWith = function (criteria, cb) {
throw new notImplementedError();
};
this.greaterThan = function (lowerBound, cb) {
throw new notImplementedError();
};
this.lessThan = function (upperBound, cb) {
throw new notImplementedError();
};
this.between = function (lowerBound, upperBound, cb) {
throw new notImplementedError();
};
// Go back and modify the criteria to find a method that takes a criteria

@@ -93,0 +107,0 @@ // ( the last contextual operation up the callChain )

6

package.json
{
"name": "waterline",
"version": "0.2.0",
"version": "0.3.0",
"description": "Adaptable data access layer for Node.js",

@@ -40,5 +40,5 @@ "main": "waterline.js",

"sails-moduleloader": "~1.1.5",
"waterline-dirty": "~0.2.3",
"waterline-mysql": "~0.2.1"
"waterline-dirty": "~0.3.0",
"waterline-mysql": "~0.3.0"
}
}

@@ -22,3 +22,4 @@ /*---------------------

phone : 'STRING',
type : 'STRING'
type : 'STRING',
age : 'INTEGER'
};

@@ -42,4 +43,4 @@

// exports.adapter = {
// identity : 'waterline-dirty',
// inMemory : false
// identity : 'waterline-dirty',
// inMemory : false
// };

@@ -50,8 +51,8 @@

////////////////////////////////////////////////////////
//exports.adapter = {
// identity : 'waterline-mysql',
// database : 'waterline',
// user : 'waterline',
// password : 'abc123'
//};
// exports.adapter = {
// identity : 'waterline-mysql',
// database : 'waterline',
// user : 'waterline',
// password : 'abc123'
// };

@@ -58,0 +59,0 @@ ////////////////////////////////////////////////////////

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