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

bookshelf-fields

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bookshelf-fields - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

lib/fields.js

@@ -54,3 +54,3 @@ // Generated by CoffeeScript 1.7.1

this.append_validations(model);
if (this.plugin_option('create_properties') && this.options['create_property'] && this.name !== 'id') {
if (this.plugin_option('create_properties') && this.options['create_property'] && this.name !== 'id' && !(this.name in model.prototype)) {
return this.create_property(model);

@@ -57,0 +57,0 @@ }

{
"name": "bookshelf-fields",
"version": "0.3.0",
"version": "0.3.1",
"description": "Bookshelf fields",

@@ -5,0 +5,0 @@ "main": "lib/bookshelf-fields.js",

@@ -141,3 +141,3 @@ bookshelf-fields

`mix_length: {value: 10, message: '{{label}} id too short to be valid!'}`
`mix_length: {value: 10, message: '{{label}} is too short to be valid!'}`

@@ -144,0 +144,0 @@ Additional options will be passed to checkit.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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