New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

thinky

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

thinky - npm Package Compare versions

Comparing version 1.15.10 to 1.16.0

5

lib/model.js

@@ -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;

9

lib/query.js

@@ -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

4

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc