Comparing version 0.5.6 to 0.5.7
@@ -1,2 +0,2 @@ | ||
// Bookshelf.js 0.5.6 | ||
// Bookshelf.js 0.5.7 | ||
// --------------- | ||
@@ -86,3 +86,3 @@ | ||
// Keep in sync with `package.json`. | ||
VERSION: '0.5.6', | ||
VERSION: '0.5.7', | ||
@@ -89,0 +89,0 @@ // Helper method to wrap a series of Bookshelf actions in a `knex` transaction block; |
@@ -59,7 +59,4 @@ // Sync | ||
// Create the deferred object, triggering a `fetching` event if the model | ||
// isn't an eager load. | ||
return when(function(){ | ||
if (!options.isEager) return syncing.triggerThen('fetching', syncing, columns, options); | ||
}()).then(function() { | ||
// Trigger a `fetching` event on the model, and then select the appropriate columns. | ||
return syncing.triggerThen('fetching', syncing, columns, options).then(function() { | ||
return sync.query.select(columns); | ||
@@ -66,0 +63,0 @@ }); |
{ | ||
"name": "bookshelf", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"description": "A lightweight ORM for PostgreSQL, MySQL, and SQLite3, influenced by Backbone.js", | ||
@@ -5,0 +5,0 @@ "main": "bookshelf.js", |
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
242650
6603