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 7.12.3 to 7.13.0

16

lib/db.js

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

test: Joi.boolean(),
test: [Joi.boolean(), Joi.object()],
extended: Joi.any(),

@@ -111,3 +111,3 @@ onConnect: Joi.func().default(Hoek.ignore),

this._settings = Hoek.clone(Joi.attempt(options || {}, internals.schema.db, 'Invalid database options'));
this._settings = Hoek.cloneWithShallow(Joi.attempt(options || {}, internals.schema.db, 'Invalid database options'), ['test']);
this.name = name;

@@ -528,2 +528,14 @@ this._connection = null;

if (this._settings.test &&
typeof this._settings.test === 'object') {
this._settings.test[table] = this._settings.test[table] || [];
const track = { action };
if (inputs !== null) {
track.inputs = inputs;
}
this._settings.test[table].push(track);
}
request.run(this._connection, options, (err, result) => {

@@ -530,0 +542,0 @@

4

lib/table.js

@@ -474,4 +474,4 @@ 'use strict';

const selection = (!isIds ? this.raw.filter(criteria)
: (isBatch ? this.raw.getAll(RethinkDB.args(criteria))
: this.raw.get(criteria)));
: (isBatch ? this.raw.getAll(RethinkDB.args(criteria))
: this.raw.get(criteria)));

@@ -478,0 +478,0 @@ this._run(selection.delete(), 'remove', diag, (err, result) => {

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

@@ -18,3 +18,3 @@ "repository": "git://github.com/hueniverse/penseur",

"items": "2.x.x",
"joi": "10.x.x",
"joi": "11.x.x",
"radix62": "1.x.x",

@@ -26,3 +26,3 @@ "rethinkdb": "2.3.x"

"code": "4.x.x",
"lab": "13.x.x"
"lab": "14.x.x"
},

@@ -29,0 +29,0 @@ "scripts": {

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