pouchdb-mapreduce-utils
Advanced tools
Comparing version 6.1.1 to 6.1.2
@@ -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; |
{ | ||
"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 @@ |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
18278
209
4
25
+ Addedinherits@2.0.3
+ Addedpouchdb-collections@6.1.2(transitive)
+ Addedpouchdb-errors@6.1.2(transitive)
+ Addedpouchdb-promise@6.1.2(transitive)
+ Addedpouchdb-utils@6.1.2(transitive)
- Removedpouchdb-collections@6.1.1(transitive)
- Removedpouchdb-errors@6.1.1(transitive)
- Removedpouchdb-promise@6.1.1(transitive)
- Removedpouchdb-utils@6.1.1(transitive)
Updatedpouchdb-collections@6.1.2
Updatedpouchdb-utils@6.1.2