pouchdb-collate
Advanced tools
Comparing version 0.1.1 to 0.2.0
@@ -53,2 +53,6 @@ 'use strict'; | ||
} | ||
if (typeof x === 'undefined') { | ||
// CouchDB indexes both null/undefined as null | ||
return 1; | ||
} | ||
} | ||
@@ -62,3 +66,3 @@ module.exports = pouchCollate; | ||
} | ||
if (a === null) { | ||
if (a === null || typeof a === 'undefined') { | ||
return 0; | ||
@@ -65,0 +69,0 @@ } |
{ | ||
"name": "pouchdb-collate", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14609
504
0