pouchdb-core
Advanced tools
Comparing version 7.0.0 to 7.1.0
@@ -0,8 +1,8 @@ | ||
import { Map } from 'pouchdb-collections'; | ||
import getArguments from 'argsarray'; | ||
import { isDeleted, collectLeaves, collectConflicts, traverseRevTree, rootToLeaf, isLocalId } from 'pouchdb-merge'; | ||
import { MISSING_BULK_DOCS, MISSING_DOC, REV_CONFLICT, INVALID_ID, UNKNOWN_ERROR, QUERY_PARSE_ERROR, BAD_REQUEST, NOT_AN_OBJECT, INVALID_REV, createError } from 'pouchdb-errors'; | ||
import { clone, listenerCount, once, guardedConsole, rev, isRemote, pick, adapterFun, upsert, bulkGetShim, invalidIdError, nextTick, hasLocalStorage, assign } from 'pouchdb-utils'; | ||
import { isDeleted, collectLeaves, collectConflicts, traverseRevTree, rootToLeaf, isLocalId } from 'pouchdb-merge'; | ||
import inherits from 'inherits'; | ||
import { EventEmitter } from 'events'; | ||
import { Map } from 'pouchdb-collections'; | ||
import { MISSING_BULK_DOCS, MISSING_DOC, REV_CONFLICT, INVALID_ID, UNKNOWN_ERROR, QUERY_PARSE_ERROR, BAD_REQUEST, NOT_AN_OBJECT, INVALID_REV, createError } from 'pouchdb-errors'; | ||
import { fetch } from 'pouchdb-fetch'; | ||
@@ -802,2 +802,9 @@ import pouchChangesFilter from 'pouchdb-changes-filter'; | ||
/* istanbul ignore if */ | ||
if (!path) { | ||
err = new Error('invalid rev tree'); | ||
err.docId = id; | ||
return cb(err); | ||
} | ||
var indexOfRev = path.ids.map(function (x) { return x.id; }) | ||
@@ -1426,3 +1433,3 @@ .indexOf(doc._rev.split('-')[1]) + 1; | ||
// managed automatically by set-version.js | ||
var version = "7.0.0"; | ||
var version = "7.1.0"; | ||
@@ -1429,0 +1436,0 @@ // TODO: remove from pouchdb-core (breaking) |
@@ -5,9 +5,9 @@ 'use strict'; | ||
var pouchdbCollections = require('pouchdb-collections'); | ||
var getArguments = _interopDefault(require('argsarray')); | ||
var pouchdbMerge = require('pouchdb-merge'); | ||
var pouchdbErrors = require('pouchdb-errors'); | ||
var pouchdbUtils = require('pouchdb-utils'); | ||
var pouchdbMerge = require('pouchdb-merge'); | ||
var inherits = _interopDefault(require('inherits')); | ||
var events = require('events'); | ||
var pouchdbCollections = require('pouchdb-collections'); | ||
var pouchdbErrors = require('pouchdb-errors'); | ||
var pouchdbFetch = require('pouchdb-fetch'); | ||
@@ -807,2 +807,9 @@ var pouchChangesFilter = _interopDefault(require('pouchdb-changes-filter')); | ||
/* istanbul ignore if */ | ||
if (!path) { | ||
err = new Error('invalid rev tree'); | ||
err.docId = id; | ||
return cb(err); | ||
} | ||
var indexOfRev = path.ids.map(function (x) { return x.id; }) | ||
@@ -1431,3 +1438,3 @@ .indexOf(doc._rev.split('-')[1]) + 1; | ||
// managed automatically by set-version.js | ||
var version = "7.0.0"; | ||
var version = "7.1.0"; | ||
@@ -1434,0 +1441,0 @@ // TODO: remove from pouchdb-core (breaking) |
{ | ||
"name": "pouchdb-core", | ||
"version": "7.0.0", | ||
"version": "7.1.0", | ||
"description": "The core of PouchDB as a standalone package.", | ||
@@ -14,8 +14,8 @@ "main": "./lib/index.js", | ||
"inherits": "2.0.3", | ||
"pouchdb-changes-filter": "7.0.0", | ||
"pouchdb-collections": "7.0.0", | ||
"pouchdb-errors": "7.0.0", | ||
"pouchdb-fetch": "7.0.0", | ||
"pouchdb-merge": "7.0.0", | ||
"pouchdb-utils": "7.0.0" | ||
"pouchdb-changes-filter": "7.1.0", | ||
"pouchdb-collections": "7.1.0", | ||
"pouchdb-errors": "7.1.0", | ||
"pouchdb-fetch": "7.1.0", | ||
"pouchdb-merge": "7.1.0", | ||
"pouchdb-utils": "7.1.0" | ||
}, | ||
@@ -22,0 +22,0 @@ "module": "./lib/index.es.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
91719
2560
+ Addednode-fetch@2.4.1(transitive)
+ Addedpouchdb-binary-utils@7.1.0(transitive)
+ Addedpouchdb-changes-filter@7.1.0(transitive)
+ Addedpouchdb-collate@7.1.0(transitive)
+ Addedpouchdb-collections@7.1.0(transitive)
+ Addedpouchdb-errors@7.1.0(transitive)
+ Addedpouchdb-fetch@7.1.0(transitive)
+ Addedpouchdb-md5@7.1.0(transitive)
+ Addedpouchdb-merge@7.1.0(transitive)
+ Addedpouchdb-selector-core@7.1.0(transitive)
+ Addedpouchdb-utils@7.1.0(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removedpouchdb-binary-utils@7.0.0(transitive)
- Removedpouchdb-changes-filter@7.0.0(transitive)
- Removedpouchdb-collate@7.0.0(transitive)
- Removedpouchdb-collections@7.0.0(transitive)
- Removedpouchdb-errors@7.0.0(transitive)
- Removedpouchdb-fetch@7.0.0(transitive)
- Removedpouchdb-md5@7.0.0(transitive)
- Removedpouchdb-merge@7.0.0(transitive)
- Removedpouchdb-selector-core@7.0.0(transitive)
- Removedpouchdb-utils@7.0.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
Updatedpouchdb-changes-filter@7.1.0
Updatedpouchdb-collections@7.1.0
Updatedpouchdb-errors@7.1.0
Updatedpouchdb-fetch@7.1.0
Updatedpouchdb-merge@7.1.0
Updatedpouchdb-utils@7.1.0