Socket
Socket
Sign inDemoInstall

loopback-connector-couchdb2

Package Overview
Dependencies
310
Maintainers
8
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.1 to 1.5.2

6

CHANGES.md

@@ -0,1 +1,7 @@

2019-11-19, Version 1.5.2
=========================
* refactor: add options for search (#71) (Janny)
2019-11-14, Version 1.5.1

@@ -2,0 +8,0 @@ =========================

10

lib/couchdb.js

@@ -320,3 +320,3 @@ // Copyright IBM Corp. 2017,2019. All Rights Reserved.

};
self._findRecursive(mo, query, docs, include, function(err, result) {
self._findRecursive(mo, query, docs, include, options, function(err, result) {
if (err) return cb(err, result);

@@ -1077,3 +1077,3 @@ cb(null, result.docs);

*/
CouchDB.prototype._findRecursive = function(mo, query, docs, include, cb) {
CouchDB.prototype._findRecursive = function(mo, query, docs, include, options, cb) {
var self = this;

@@ -1101,3 +1101,3 @@ mo.db.find(query, function(err, rst) {

if (err) return cb(err);
self._extendDocs(rst, docs, query, mo, include, cb);
self._extendDocs(rst, docs, query, mo, include, options, cb);
});

@@ -1114,3 +1114,3 @@ });

*/
CouchDB.prototype._extendDocs = function(rst, docs, query, mo, include, cb) {
CouchDB.prototype._extendDocs = function(rst, docs, query, mo, include, options, cb) {
var self = this;

@@ -1127,3 +1127,3 @@ if (docs.length === 0 && rst.docs.length < 200) return cb(null, rst);

query.bookmark = rst.bookmark;
self._findRecursive(mo, query, docs, include, cb);
self._findRecursive(mo, query, docs, include, options, cb);
}

@@ -1130,0 +1130,0 @@ } else {

{
"name": "loopback-connector-couchdb2",
"version": "1.5.1",
"version": "1.5.2",
"publishConfig": {

@@ -5,0 +5,0 @@ "export-tests": true

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc