Comparing version 1.15.10 to 1.16.0
@@ -1041,9 +1041,4 @@ var util = require(__dirname+'/util.js'); | ||
} | ||
Model.prototype.then = function() { | ||
var query = new Query(this); | ||
return query.then.apply(query, arguments) | ||
} | ||
Model.prototype.define = function(key, fn) { | ||
@@ -1050,0 +1045,0 @@ this._methods[key] = fn; |
@@ -418,13 +418,6 @@ var Promise = require('bluebird'); | ||
return self; | ||
} | ||
}; | ||
/* | ||
* Returns a friendly error if the developer forgot to call `run`. | ||
*/ | ||
Query.prototype.then = function() { | ||
throw new Error("The method `then` is not defined on Query. Did you forgot `.run()` or `.execute()`?") | ||
}; | ||
/** | ||
@@ -431,0 +424,0 @@ * Import all the methods from rethinkdbdash, expect the private one (the one |
{ | ||
"name": "thinky", | ||
"version": "1.15.10", | ||
"version": "1.16.0", | ||
"description": "RethinkDB ORM for Node.js", | ||
@@ -27,3 +27,3 @@ "main": "lib/thinky.js", | ||
"dependencies":{ | ||
"rethinkdbdash": "~1.15.0", | ||
"rethinkdbdash": "~1.16.0", | ||
"bluebird": "~2.1.3", | ||
@@ -30,0 +30,0 @@ "validator": "~ 3.22.1" |
@@ -129,2 +129,3 @@ # Thinky | ||
- [nikaspran](https://github.com/nikaspran) | ||
- [simonratner](https://github.com/simonratner) | ||
- [wezs](https://github.com/wezs) | ||
@@ -131,0 +132,0 @@ |
151
188628
5042
+ Addedrethinkdbdash@1.16.14(transitive)
- Removedrethinkdbdash@1.15.3(transitive)
Updatedrethinkdbdash@~1.16.0