bookshelf-modelbase
Advanced tools
Comparing version 2.6.3 to 2.6.4
@@ -39,3 +39,3 @@ var extend = require('xtend') | ||
// model is not new or update method explicitly set | ||
if ((model && !model.isNew()) || (options && options.method === 'update')) { | ||
if (!model.isNew() || (options.method === 'update' || options.patch === 'true')) { | ||
var schemaKeys = this.validate._inner.children.map(function (child) { | ||
@@ -42,0 +42,0 @@ return child.key |
{ | ||
"name": "bookshelf-modelbase", | ||
"version": "2.6.3", | ||
"version": "2.6.4", | ||
"description": "Extensible ModelBase for bookshelf-based model layers", | ||
@@ -5,0 +5,0 @@ "main": "./lib", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17851