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

pouchdb-collate

Package Overview
Dependencies
Maintainers
3
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pouchdb-collate - npm Package Compare versions

Comparing version 6.1.0 to 6.1.1

7

lib/index.js

@@ -38,5 +38,2 @@ 'use strict';

}
if (a === null) {
return 0;
}
switch (typeof a) {

@@ -46,3 +43,3 @@ case 'number':

case 'boolean':
return a === b ? 0 : (a < b ? -1 : 1);
return a < b ? -1 : 1;
case 'string':

@@ -386,2 +383,2 @@ return stringCollate(a, b);

exports.toIndexableString = toIndexableString;
exports.parseIndexableString = parseIndexableString;
exports.parseIndexableString = parseIndexableString;
{
"name": "pouchdb-collate",
"version": "6.1.0",
"version": "6.1.1",
"description": "Collation functions for PouchDB map/reduce",

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

@@ -23,5 +23,2 @@ 'use strict';

}
if (a === null) {
return 0;
}
switch (typeof a) {

@@ -31,3 +28,3 @@ case 'number':

case 'boolean':
return a === b ? 0 : (a < b ? -1 : 1);
return a < b ? -1 : 1;
case 'string':

@@ -34,0 +31,0 @@ return stringCollate(a, b);

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