Huge News!Announcing our $40M Series B led by Abstract Ventures.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 2.1.9 to 2.1.11

8

lib/model.js

@@ -146,3 +146,5 @@ var util = require(__dirname+'/util.js');

async: doc._getModel()._async.init,
fn: function() {}
fn: function() {
return doc;
}
})

@@ -153,3 +155,5 @@ if (promise instanceof Promise) promises.push(promise);

if (promises.length > 0) {
return Promise.all(promises);
return Promise.all(promises).then(function(docs) {
return docs[0];
});
}

@@ -156,0 +160,0 @@ return doc;

@@ -32,3 +32,6 @@ var arrayPrefix = "__array"

for(var k=0; k<field.length; k++) {
generateVirtual(field[k], {path: defaultField.path.slice(j+1), value: defaultField.value}, this, virtual[k]);
if (virtual != null) {
virtualValue = virtual[k];
}
generateVirtual(field[k], {path: defaultField.path.slice(j+1), value: defaultField.value}, this, virtualValue);
}

@@ -35,0 +38,0 @@ }

{
"name": "thinky",
"version": "2.1.9",
"version": "2.1.11",
"description": "RethinkDB ORM for Node.js",

@@ -5,0 +5,0 @@ "main": "lib/thinky.js",

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