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

agoge-pouchdb-plugins

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

agoge-pouchdb-plugins - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

16

agoge-pouchdb-plugins.js

@@ -35,7 +35,7 @@ var CryptoJS = require('crypto-js');

exports.tolist = async function(ddoc, view, options) {
var options = options || {};
exports.tolist = async function(ddoc, view, include_docs) {
var options = options {};
var view = view || ddoc;
options["include_docs"] = true;
options["include_docs"] = include_docs;

@@ -53,4 +53,4 @@ var queryResults = await this.query(ddoc + '/' + view, options);

exports.scalar = async function(ddoc, view, options) {
var options = options || {};
exports.scalar = async function(ddoc, view) {
var options = {};

@@ -73,3 +73,3 @@ options["include_docs"] = true;

exports.find = async function(type, key, value, all) {
exports.find = async function(type, key, value, all, include_docs) {
var all = all || false;

@@ -108,5 +108,5 @@

if (all)
return await this.tolist('find', 'find', options);
return await this.tolist('find', 'find', include_docs);
else
return await this.scalar('find', 'find', options);
return await this.scalar('find', 'find');

@@ -113,0 +113,0 @@ }

{
"name": "agoge-pouchdb-plugins",
"version": "1.0.1",
"version": "1.0.2",
"description": "My personal plugin functions to pouchdb-couchdb",

@@ -5,0 +5,0 @@ "main": "agoge-pouchdb-plugins.js",

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