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

pouchdb-adapter-leveldb

Package Overview
Dependencies
Maintainers
0
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pouchdb-adapter-leveldb - npm Package Compare versions

Comparing version 8.0.1 to 9.0.0

19

lib/index-browser.es.js

@@ -1,2 +0,1 @@

import { assign } from 'pouchdb-utils';
import CoreLevelPouch from 'pouchdb-adapter-leveldb-core';

@@ -26,3 +25,3 @@ import fs from 'fs';

} else if (err.message && err.message.match('Module version mismatch')) {
// handle common user enviornment error
// handle common user environment error
return new Error([

@@ -117,3 +116,3 @@ err.message,

key: UUID_KEY,
value: value,
value,
prefix: stores.metaStore,

@@ -135,3 +134,3 @@ type: 'put',

key: DOC_COUNT_KEY,
value: value,
value,
prefix: stores.metaStore,

@@ -154,3 +153,3 @@ type: 'put',

key: UPDATE_SEQ_KEY,
value: value,
value,
prefix: stores.metaStore,

@@ -190,3 +189,3 @@ type: 'put',

key: ch.key,
value: value,
value,
prefix: stores.localStore,

@@ -228,4 +227,4 @@ type: 'put',

var migrate = {
doMigrationOne: doMigrationOne,
doMigrationTwo: doMigrationTwo
doMigrationOne,
doMigrationTwo
};

@@ -249,5 +248,5 @@

var _opts = assign({
var _opts = Object.assign({
db: leveldown,
migrate: migrate
migrate
}, opts);

@@ -254,0 +253,0 @@

@@ -5,3 +5,2 @@ 'use strict';

var pouchdbUtils = require('pouchdb-utils');
var CoreLevelPouch = _interopDefault(require('pouchdb-adapter-leveldb-core'));

@@ -31,3 +30,3 @@ var fs = _interopDefault(require('fs'));

} else if (err.message && err.message.match('Module version mismatch')) {
// handle common user enviornment error
// handle common user environment error
return new Error([

@@ -122,3 +121,3 @@ err.message,

key: UUID_KEY,
value: value,
value,
prefix: stores.metaStore,

@@ -140,3 +139,3 @@ type: 'put',

key: DOC_COUNT_KEY,
value: value,
value,
prefix: stores.metaStore,

@@ -159,3 +158,3 @@ type: 'put',

key: UPDATE_SEQ_KEY,
value: value,
value,
prefix: stores.metaStore,

@@ -195,3 +194,3 @@ type: 'put',

key: ch.key,
value: value,
value,
prefix: stores.localStore,

@@ -233,4 +232,4 @@ type: 'put',

var migrate = {
doMigrationOne: doMigrationOne,
doMigrationTwo: doMigrationTwo
doMigrationOne,
doMigrationTwo
};

@@ -254,5 +253,5 @@

var _opts = pouchdbUtils.assign({
var _opts = Object.assign({
db: leveldown,
migrate: migrate
migrate
}, opts);

@@ -259,0 +258,0 @@

@@ -1,2 +0,1 @@

import { assign } from 'pouchdb-utils';
import CoreLevelPouch from 'pouchdb-adapter-leveldb-core';

@@ -26,3 +25,3 @@ import fs from 'fs';

} else if (err.message && err.message.match('Module version mismatch')) {
// handle common user enviornment error
// handle common user environment error
return new Error([

@@ -117,3 +116,3 @@ err.message,

key: UUID_KEY,
value: value,
value,
prefix: stores.metaStore,

@@ -135,3 +134,3 @@ type: 'put',

key: DOC_COUNT_KEY,
value: value,
value,
prefix: stores.metaStore,

@@ -154,3 +153,3 @@ type: 'put',

key: UPDATE_SEQ_KEY,
value: value,
value,
prefix: stores.metaStore,

@@ -190,3 +189,3 @@ type: 'put',

key: ch.key,
value: value,
value,
prefix: stores.localStore,

@@ -228,4 +227,4 @@ type: 'put',

var migrate = {
doMigrationOne: doMigrationOne,
doMigrationTwo: doMigrationTwo
doMigrationOne,
doMigrationTwo
};

@@ -249,5 +248,5 @@

var _opts = assign({
var _opts = Object.assign({
db: leveldown,
migrate: migrate
migrate
}, opts);

@@ -254,0 +253,0 @@

@@ -5,3 +5,2 @@ 'use strict';

var pouchdbUtils = require('pouchdb-utils');
var CoreLevelPouch = _interopDefault(require('pouchdb-adapter-leveldb-core'));

@@ -31,3 +30,3 @@ var fs = _interopDefault(require('fs'));

} else if (err.message && err.message.match('Module version mismatch')) {
// handle common user enviornment error
// handle common user environment error
return new Error([

@@ -122,3 +121,3 @@ err.message,

key: UUID_KEY,
value: value,
value,
prefix: stores.metaStore,

@@ -140,3 +139,3 @@ type: 'put',

key: DOC_COUNT_KEY,
value: value,
value,
prefix: stores.metaStore,

@@ -159,3 +158,3 @@ type: 'put',

key: UPDATE_SEQ_KEY,
value: value,
value,
prefix: stores.metaStore,

@@ -195,3 +194,3 @@ type: 'put',

key: ch.key,
value: value,
value,
prefix: stores.localStore,

@@ -233,4 +232,4 @@ type: 'put',

var migrate = {
doMigrationOne: doMigrationOne,
doMigrationTwo: doMigrationTwo
doMigrationOne,
doMigrationTwo
};

@@ -254,5 +253,5 @@

var _opts = pouchdbUtils.assign({
var _opts = Object.assign({
db: leveldown,
migrate: migrate
migrate
}, opts);

@@ -259,0 +258,0 @@

{
"name": "pouchdb-adapter-leveldb",
"version": "8.0.1",
"version": "9.0.0",
"description": "PouchDB adapter using LevelDB as its backing store.",

@@ -18,18 +18,15 @@ "main": "./lib/index.js",

},
"jsnext:main": "./lib/index.es.js",
"module": "./lib/index.es.js",
"dependencies": {
"level": "6.0.1",
"level-write-stream": "1.0.0",
"leveldown": "5.6.0",
"pouchdb-adapter-leveldb-core": "8.0.1",
"pouchdb-merge": "8.0.1",
"pouchdb-utils": "8.0.1",
"leveldown": "6.1.1",
"pouchdb-adapter-leveldb-core": "9.0.0",
"pouchdb-merge": "9.0.0",
"through2": "3.0.2"
},
"module": "./lib/index.es.js",
"files": [
"lib",
"dist",
"tonic-example.js"
"dist"
]
}
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