New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.7 to 2.2.8

10

lib/stream.js

@@ -12,2 +12,3 @@ var Readable = require('stream').Readable;

this._highWaterMark = options.highWaterMark;
this._closed = false;

@@ -45,3 +46,3 @@ Readable.call(this, {

self._pending--;
if (self._pending < 0) {
if (self._pending < 0 || self._closed === true) {
return;

@@ -96,2 +97,5 @@ }

var self = this;
if (self._closed === true) {
return;
}
if (self._cursor._closed === true) {

@@ -102,2 +106,5 @@ self.push(null);

self._cursor._next().then(function(data) {
if (self._closed === true) {
return;
}
// Silently drop null values for now

@@ -143,2 +150,3 @@ if (data === null) {

ReadableStream.prototype.close = function() {
this._closed = true;
this.push(null);

@@ -145,0 +153,0 @@ return this._cursor.close();

2

package.json
{
"name": "rethinkdbdash",
"version": "2.2.7",
"version": "2.2.8",
"description": "A Node.js driver for RethinkDB with promises and a connection pool",

@@ -5,0 +5,0 @@ "main": "lib/index.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