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

pouchdb-core

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pouchdb-core - npm Package Compare versions

Comparing version 7.0.0 to 7.1.0

15

lib/index.es.js

@@ -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",

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