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.0.17 to 2.0.18

4

lib/pool_master.js

@@ -326,6 +326,2 @@ var util = require('util');

self.resetBufferParameters();
if (self._healthyPools.length === 0) {
self._flushErrors();
}
});

@@ -332,0 +328,0 @@ pool.on('draining', function() {

2

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

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

@@ -286,2 +286,5 @@ var config = require(__dirname+'/config.js');

result = yield r.and(r.args([true, true, true])).run();
assert.equal(result, true);
done();

@@ -293,15 +296,2 @@ }

})
It('`and` should throw if no argument has been passed', function* (done) {
try {
var result = yield r.expr(1).and().run();
}
catch(e) {
if (e.message === "`and` takes at least 1 argument, 0 provided after:\nr.expr(1)") {
done();
}
else {
done(e);
}
}
})
It('`and` should throw if no argument has been passed -- r.and', function* (done) {

@@ -344,2 +334,6 @@ try {

result = yield r.or(r.args([false, false, true])).run();
assert.equal(result, true);
result = yield r.or(false, false, false, false).run();

@@ -353,15 +347,2 @@ assert.equal(result, false);

})
It('`or` should throw if no argument has been passed', function* (done) {
try {
var result = yield r.expr(1).or().run();
}
catch(e) {
if (e.message === "`or` takes at least 1 argument, 0 provided after:\nr.expr(1)") {
done();
}
else {
done(e);
}
}
})
It('`or` should throw if no argument has been passed -- r.or', function* (done) {

@@ -368,0 +349,0 @@ try {

Sorry, the diff of this file is too big to display

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