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

penseur

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

penseur - npm Package Compare versions

Comparing version 8.1.0 to 8.1.1

8

lib/db.js

@@ -577,3 +577,3 @@ 'use strict';

const error = Boom.internal('Simulated database error');
const error = Table.error(Boom.internal('Simulated database error'), { table, action: method });
error.flags = Hoek.applyToDefaults({ willReconnect: true, disconnected: true }, options.flags || {});

@@ -587,7 +587,7 @@ process.nextTick(() => each(error));

this.tables[table][method] = internals.disabled(options);
this.tables[table][method] = internals.disabled(table, method, options);
};
internals.disabled = function (options) {
internals.disabled = function (table, method, options) {

@@ -606,3 +606,3 @@ const value = options.value;

return Promise.reject(Boom.internal('Simulated database error'));
return Promise.reject(Table.error(Boom.internal('Simulated database error'), { table, action: method }));
};

@@ -609,0 +609,0 @@ };

{
"name": "penseur",
"description": "Lightweight RethinkDB wrapper",
"version": "8.1.0",
"version": "8.1.1",
"author": "Eran Hammer <eran@hammer.io> (http://hueniverse.com)",

@@ -6,0 +6,0 @@ "repository": "git://github.com/hueniverse/penseur",

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