Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sails-generate-model

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sails-generate-model - npm Package Compare versions

Comparing version 0.10.11 to 0.10.12

2

lib/before.js

@@ -93,3 +93,3 @@ /**

// Make sure there aren't duplicates
if (_(attributes).pluck('name').uniq().valueOf().length !== attributes.length) {
if (_.uniq(_.pluck(attributes, 'name')).length !== attributes.length) {
return cb.invalid('Duplicate attributes not allowed!');

@@ -96,0 +96,0 @@ }

{
"name": "sails-generate-model",
"version": "0.10.11",
"version": "0.10.12",
"description": "Generate a model for a Sails app.",

@@ -19,3 +19,3 @@ "main": "lib/index.js",

"dependencies": {
"lodash": ">=3.9.x",
"lodash": "~2.4.0",
"merge-defaults": ">=0.1.0",

@@ -22,0 +22,0 @@ "underscore.string": "~2.3.3"

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