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.0 to 7.11.1

10

lib/table.js

@@ -70,4 +70,10 @@ 'use strict';

if (options.sort) {
const sort = (typeof options.sort === 'string' || Array.isArray(options.sort) ? { key: options.sort } : options.sort);
if (options.sort ||
options.from !== undefined || // Consider explicit start from zero as sorted
options.count) {
const sort = (options.sort ? (typeof options.sort === 'string' || Array.isArray(options.sort) ? { key: options.sort }
: options.sort)
: { key: this.primary, order: 'ascending' });
const order = (sort.order === 'descending' ? 'desc' : 'asc');

@@ -74,0 +80,0 @@ selection = selection.orderBy(RethinkDB[order](Criteria.row(sort.key)));

2

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