🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

pouchdb-mapreduce-utils

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pouchdb-mapreduce-utils - npm Package Compare versions

Comparing version

to
6.1.2

lib/index.es.js

42

lib/index.js

@@ -7,6 +7,43 @@ 'use strict';

var pouchdbCollections = require('pouchdb-collections');
var argsarray = _interopDefault(require('argsarray'));
var pouchdbUtils = require('pouchdb-utils');
var pouchdbCollections = require('pouchdb-collections');
var inherits = _interopDefault(require('inherits'));
function QueryParseError(message) {
this.status = 400;
this.name = 'query_parse_error';
this.message = message;
this.error = true;
try {
Error.captureStackTrace(this, QueryParseError);
} catch (e) {}
}
inherits(QueryParseError, Error);
function NotFoundError(message) {
this.status = 404;
this.name = 'not_found';
this.message = message;
this.error = true;
try {
Error.captureStackTrace(this, NotFoundError);
} catch (e) {}
}
inherits(NotFoundError, Error);
function BuiltInError(message) {
this.status = 500;
this.name = 'invalid_value';
this.message = message;
this.error = true;
try {
Error.captureStackTrace(this, BuiltInError);
} catch (e) {}
}
inherits(BuiltInError, Error);
function promisedCallback(promise, callback) {

@@ -88,1 +125,4 @@ if (callback) {

exports.mapToKeysArray = mapToKeysArray;
exports.QueryParseError = QueryParseError;
exports.NotFoundError = NotFoundError;
exports.BuiltInError = BuiltInError;

20

package.json
{
"name": "pouchdb-mapreduce-utils",
"version": "6.1.1",
"version": "6.1.2",
"description": "PouchDB utilities used by pouchdb-mapreduce.",

@@ -10,12 +10,14 @@ "main": "./lib/index.js",

"repository": "https://github.com/pouchdb/pouchdb",
"jsnext:main": "./src/index.js",
"jsnext:main": "./lib/index.es.js",
"dependencies": {
"argsarray": "0.0.1",
"inherits": "2.0.3",
"pouchdb-collections": "6.1.2",
"pouchdb-utils": "6.1.2"
},
"files": [
"lib",
"src"
],
"dependencies": {
"argsarray": "0.0.1",
"pouchdb-collections": "6.1.1",
"pouchdb-utils": "6.1.1"
}
"dist",
"tonic-example.js"
]
}

@@ -1,5 +0,5 @@

pouchdb
pouchdb-mapreduce-utils ![semver non-compliant](https://img.shields.io/badge/semver-non--compliant-red.svg)
======
PouchDB is a pocket-sized database.
PouchDB utilities used by pouchdb-mapreduce.

@@ -9,12 +9,11 @@ ### Usage

```bash
npm install pouchdb
npm install --save-exact pouchdb-mapreduce-utils
```
```js
var PouchDB = require('pouchdb');
var db = new PouchDB('my_db');
```
For full API documentation and guides on PouchDB, see [PouchDB.com](http://pouchdb.com/). For details on PouchDB sub-packages, see the [Custom Builds documentation](http://pouchdb.com/custom.html).
### Warning: semver-free zone!
This package is conceptually an internal API used by PouchDB or its plugins. It does not follow semantic versioning (semver), and rather its version is pegged to PouchDB's. Use exact versions when installing, e.g. with `--save-exact`.
### Source

@@ -21,0 +20,0 @@