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

pouchdb-adapter-leveldb-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-adapter-leveldb-core - npm Package Compare versions

Comparing version 6.4.2 to 6.4.3

22

lib/index-browser.es.js

@@ -150,5 +150,5 @@ import { blob, readAsBinaryString, atob, binaryStringToBlobOrBuffer } from 'pouchdb-binary-utils';

function getIsDeleted(metadata, winningRev) {
function getIsDeleted(metadata, winningRev$$1) {
return 'deleted' in metadata ?
metadata.deleted : isDeleted(metadata, winningRev);
metadata.deleted : isDeleted(metadata, winningRev$$1);
}

@@ -648,3 +648,3 @@

function writeDoc(docInfo, winningRev, winningRevIsDeleted, newRevIsDeleted,
function writeDoc(docInfo, winningRev$$1, winningRevIsDeleted, newRevIsDeleted,
isUpdate, delta, resultsIdx, callback2) {

@@ -656,3 +656,3 @@ docCountDelta += delta;

docInfo.metadata.winningRev = winningRev;
docInfo.metadata.winningRev = winningRev$$1;
docInfo.metadata.deleted = winningRevIsDeleted;

@@ -964,4 +964,4 @@

// in newer versions of PouchDB, they are cached on the metadata
var winningRev = getWinningRev(metadata);
var deleted = getIsDeleted(metadata, winningRev);
var winningRev$$1 = getWinningRev(metadata);
var deleted = getIsDeleted(metadata, winningRev$$1);
if (!deleted) {

@@ -986,3 +986,3 @@ if (skip-- > 0) {

value: {
rev: winningRev
rev: winningRev$$1
}

@@ -1020,3 +1020,3 @@ };

if (opts.include_docs) {
var seq = metadata.rev_map[winningRev];
var seq = metadata.rev_map[winningRev$$1];
stores.bySeqStore.get(formatSeq(seq), function (err, data) {

@@ -1147,3 +1147,3 @@ allDocsInner(data);

function onGetMetadata(metadata) {
var winningRev = getWinningRev(metadata);
var winningRev$$1 = getWinningRev(metadata);

@@ -1187,3 +1187,3 @@ function onGetWinningDoc(winningDoc) {

if (winningRev === doc._rev) {
if (winningRev$$1 === doc._rev) {
return onGetWinningDoc(doc);

@@ -1194,3 +1194,3 @@ }

var winningSeq = metadata.rev_map[winningRev];
var winningSeq = metadata.rev_map[winningRev$$1];

@@ -1197,0 +1197,0 @@ stores.bySeqStore.get(formatSeq(winningSeq), function (err, doc) {

@@ -148,5 +148,5 @@ import { typedBuffer, atob, binaryStringToBlobOrBuffer } from 'pouchdb-binary-utils';

function getIsDeleted(metadata, winningRev) {
function getIsDeleted(metadata, winningRev$$1) {
return 'deleted' in metadata ?
metadata.deleted : isDeleted(metadata, winningRev);
metadata.deleted : isDeleted(metadata, winningRev$$1);
}

@@ -646,3 +646,3 @@

function writeDoc(docInfo, winningRev, winningRevIsDeleted, newRevIsDeleted,
function writeDoc(docInfo, winningRev$$1, winningRevIsDeleted, newRevIsDeleted,
isUpdate, delta, resultsIdx, callback2) {

@@ -654,3 +654,3 @@ docCountDelta += delta;

docInfo.metadata.winningRev = winningRev;
docInfo.metadata.winningRev = winningRev$$1;
docInfo.metadata.deleted = winningRevIsDeleted;

@@ -962,4 +962,4 @@

// in newer versions of PouchDB, they are cached on the metadata
var winningRev = getWinningRev(metadata);
var deleted = getIsDeleted(metadata, winningRev);
var winningRev$$1 = getWinningRev(metadata);
var deleted = getIsDeleted(metadata, winningRev$$1);
if (!deleted) {

@@ -984,3 +984,3 @@ if (skip-- > 0) {

value: {
rev: winningRev
rev: winningRev$$1
}

@@ -1018,3 +1018,3 @@ };

if (opts.include_docs) {
var seq = metadata.rev_map[winningRev];
var seq = metadata.rev_map[winningRev$$1];
stores.bySeqStore.get(formatSeq(seq), function (err, data) {

@@ -1145,3 +1145,3 @@ allDocsInner(data);

function onGetMetadata(metadata) {
var winningRev = getWinningRev(metadata);
var winningRev$$1 = getWinningRev(metadata);

@@ -1185,3 +1185,3 @@ function onGetWinningDoc(winningDoc) {

if (winningRev === doc._rev) {
if (winningRev$$1 === doc._rev) {
return onGetWinningDoc(doc);

@@ -1192,3 +1192,3 @@ }

var winningSeq = metadata.rev_map[winningRev];
var winningSeq = metadata.rev_map[winningRev$$1];

@@ -1195,0 +1195,0 @@ stores.bySeqStore.get(formatSeq(winningSeq), function (err, doc) {

{
"name": "pouchdb-adapter-leveldb-core",
"version": "6.4.2",
"version": "6.4.3",
"description": "Core PouchDB adapter code for LevelDOWN-based adapters",

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

"levelup": "2.0.1",
"pouchdb-adapter-utils": "6.4.2",
"pouchdb-binary-utils": "6.4.2",
"pouchdb-collections": "6.4.2",
"pouchdb-errors": "6.4.2",
"pouchdb-json": "6.4.2",
"pouchdb-md5": "6.4.2",
"pouchdb-merge": "6.4.2",
"pouchdb-promise": "6.4.2",
"pouchdb-utils": "6.4.2",
"sublevel-pouchdb": "6.4.2",
"pouchdb-adapter-utils": "6.4.3",
"pouchdb-binary-utils": "6.4.3",
"pouchdb-collections": "6.4.3",
"pouchdb-errors": "6.4.3",
"pouchdb-json": "6.4.3",
"pouchdb-md5": "6.4.3",
"pouchdb-merge": "6.4.3",
"pouchdb-promise": "6.4.3",
"pouchdb-utils": "6.4.3",
"sublevel-pouchdb": "6.4.3",
"through2": "2.0.3"

@@ -32,0 +32,0 @@ },

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