bookshelf-fields
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.7.1 | ||
// Generated by CoffeeScript 1.8.0 | ||
(function() { | ||
@@ -61,3 +61,5 @@ var CheckIt, deep_clone, enable_validation, exports, f, field, fields, k, plugin, _ref, | ||
if (!('validate' in options) || options.validate) { | ||
json = this.toJSON(); | ||
json = this.toJSON({ | ||
validating: true | ||
}); | ||
checkit = CheckIt(this.validations, this.validation_options).run(json); | ||
@@ -64,0 +66,0 @@ if ((this.model_validations != null) && this.model_validations instanceof Array && this.model_validations.length > 0) { |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.7.1 | ||
// Generated by CoffeeScript 1.8.0 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var BooleanField, DateField, DateTimeField, EmailField, Field, FloatField, IntField, JSONField, NumberField, StringField, e, isArray, |
{ | ||
"name": "bookshelf-fields", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "Bookshelf fields", | ||
@@ -23,8 +23,8 @@ "main": "lib/bookshelf-fields.js", | ||
"chai-as-promised": "~4.1.0", | ||
"coffee-script": "~1.7.1", | ||
"coffee-script": "^1.7.1", | ||
"knex": "^0.6.18", | ||
"mocha": "*", | ||
"pg": "~3.3.0", | ||
"pg": "^3.3.0", | ||
"sqlite3": "~2.2.3", | ||
"when": "~3.2.0" | ||
"when": "^3.2.0" | ||
}, | ||
@@ -31,0 +31,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
55132
488