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.5.2 to 0.6.0

19

collection.js

@@ -37,2 +37,21 @@ //////////////////////////////////////////////////////////////////////

// Validate and marshal attribute defs
if (definition.attributes) {
definition.attributes = util.objMap(definition.attributes, function (attr, attrName) {
var type;
if (_.isString(attr)) attr = {
type: attr
};
else if (!_.isArray(attr) && _.isObject(attr)) {}
else {
"Invalid attribute '"+attrName+"' in model ("+definition.identity+").";
}
// Lowercase attr type
attr.type = attr.type.toLowerCase();
return attr;
});
}
//////////////////////////////////////////

@@ -39,0 +58,0 @@ // DDL

2

package.json
{
"name": "waterline",
"version": "0.5.2",
"version": "0.6.0",
"description": "Active Record for Node.js",

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