bookshelf-modelbase
Advanced tools
Comparing version 2.5.2 to 2.6.1
@@ -52,3 +52,3 @@ var extend = require('xtend') | ||
if (validation.error) { | ||
throw new Error(validation.error) | ||
throw validation.error | ||
} else { | ||
@@ -55,0 +55,0 @@ return validation.value |
{ | ||
"name": "bookshelf-modelbase", | ||
"version": "2.5.2", | ||
"version": "2.6.1", | ||
"description": "Extensible ModelBase for bookshelf-based model layers", | ||
@@ -5,0 +5,0 @@ "main": "./lib", |
@@ -77,3 +77,3 @@ /* global describe, before, beforeEach, it */ | ||
specimen.validateSave() | ||
}).to.throw(/ValidationError/) | ||
}).to.throw(/first_name must be a string/) | ||
}) | ||
@@ -80,0 +80,0 @@ |
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
17867