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 1.12.9 to 1.12.10

34

lib/error.js

@@ -543,13 +543,33 @@ var helper = require(__dirname+"/helper.js");

if ((currentFrame != null) && (currentFrame.pos === 1)) {
backtrace = generateBacktrace(term.args[1], 0, term, frames, options);
if (term.args.length === 2) {
if ((currentFrame != null) && (currentFrame.pos === 1)) {
backtrace = generateBacktrace(term.args[1], 0, term, frames, options);
}
else {
backtrace = generateBacktrace(term.args[1], 0, term, null, options);
}
result.str = backtrace.str;
result.car = backtrace.car;
carify(result, ".do(", underline);
}
else {
backtrace = generateBacktrace(term.args[1], 0, term, null, options);
carify(result, "r.do(", underline);
for(var i=1; i<term.args.length; i++) {
if ((currentFrame != null) && (currentFrame.pos === i)) {
backtrace = generateBacktrace(term.args[i], i, term, frames, options);
}
else {
backtrace = generateBacktrace(term.args[i], i, term, null, options);
}
result.str += backtrace.str;
result.car += backtrace.car;
if (i !== term.args.length) {
carify(result, ", " , underline);
}
}
}
result.str = backtrace.str;
result.car = backtrace.car;
carify(result, ".do(", underline);
if ((currentFrame != null) && (currentFrame.pos === 0)) {

@@ -556,0 +576,0 @@ backtrace = generateBacktrace(term.args[0], 0, term, frames, options);

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

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

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

var query;
query = 'r.expr(1).do(function(v) { return r.object("a") })'
query = 'r.do(1, 2, function(a, b) { return a.add("foo") })'

@@ -15,0 +15,0 @@ Promise.coroutine(function* () {

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