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.11.1 to 7.11.2

15

lib/db.js

@@ -540,2 +540,13 @@ 'use strict';

const empty = (results) => {
if (!results ||
!Array.isArray(results)) {
return results;
}
return (results.length ? results : null);
};
// Single item

@@ -546,3 +557,3 @@

return callback(null, result);
return callback(null, empty(result));
}

@@ -560,3 +571,3 @@

cursor.close();
return callback(null, results && results.length ? results : null);
return callback(null, empty(results));
};

@@ -563,0 +574,0 @@

2

package.json
{
"name": "penseur",
"description": "Lightweight RethinkDB wrapper",
"version": "7.11.1",
"version": "7.11.2",
"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