Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rethinkdbdash

Package Overview
Dependencies
Maintainers
1
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rethinkdbdash - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

4

lib/cursor.js

@@ -265,3 +265,3 @@ var Promise = require('bluebird');

var resolve = function(data) {
return callback(null, data).then(function() {
return callback(data).then(function() {
if (self._closed === false) {

@@ -279,3 +279,3 @@ return self._next().then(resolve).error(function(error) {

self._next().then(resolve).error(function(error) {
return self._next().then(resolve).error(function(error) {
// We can silence error when the cursor is closed as this

@@ -282,0 +282,0 @@ if ((error.message !== 'You cannot retrieve data from a cursor that is closed.') &&

{
"name": "rethinkdbdash",
"version": "2.2.2",
"version": "2.2.3",
"description": "A Node.js driver for RethinkDB with promises and a connection pool",

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

@@ -111,3 +111,3 @@ var config = require('./config.js');

var promisesWait = 0;
cursor.eachAsync(function(err, result) {
cursor.eachAsync(function(result) {
history.push(count);

@@ -127,10 +127,7 @@ count++;

assert.deepEqual(history, expected)
done();
}
resolve();
}, 1);
});
})
}).then(done);
}

@@ -137,0 +134,0 @@ catch(e) {

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