pouchdb-adapter-leveldb
Advanced tools
Comparing version 8.0.1 to 9.0.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 @@ |
@@ -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" | ||
] | ||
} |
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
6
41675
980
+ Addedabstract-leveldown@7.2.0(transitive)
+ Addedbuffer@6.0.3(transitive)
+ Addedcatering@2.1.1(transitive)
+ Addedfetch-cookie@2.2.0(transitive)
+ Addedis-buffer@2.0.5(transitive)
+ Addedlevel-concat-iterator@3.1.0(transitive)
+ Addedlevel-supports@2.1.0(transitive)
+ Addedleveldown@6.1.1(transitive)
+ Addednode-fetch@2.6.9(transitive)
+ Addednode-gyp-build@4.8.4(transitive)
+ Addedpouchdb-adapter-leveldb-core@9.0.0(transitive)
+ Addedpouchdb-adapter-utils@9.0.0(transitive)
+ Addedpouchdb-binary-utils@9.0.0(transitive)
+ Addedpouchdb-changes-filter@9.0.0(transitive)
+ Addedpouchdb-collate@9.0.0(transitive)
+ Addedpouchdb-core@9.0.0(transitive)
+ Addedpouchdb-errors@9.0.0(transitive)
+ Addedpouchdb-fetch@9.0.0(transitive)
+ Addedpouchdb-json@9.0.0(transitive)
+ Addedpouchdb-md5@9.0.0(transitive)
+ Addedpouchdb-merge@9.0.0(transitive)
+ Addedpouchdb-selector-core@9.0.0(transitive)
+ Addedpouchdb-utils@9.0.0(transitive)
+ Addedqueue-microtask@1.2.3(transitive)
+ Addedset-cookie-parser@2.7.1(transitive)
+ Addedsublevel-pouchdb@9.0.0(transitive)
- Removedpouchdb-utils@8.0.1
- Removedabort-controller@3.0.0(transitive)
- Removedbuffer-from@1.1.2(transitive)
- Removedclone-buffer@1.0.0(transitive)
- Removedevent-target-shim@5.0.1(transitive)
- Removedfetch-cookie@0.11.0(transitive)
- Removednode-fetch@2.6.7(transitive)
- Removedpouchdb-adapter-leveldb-core@8.0.1(transitive)
- Removedpouchdb-adapter-utils@8.0.1(transitive)
- Removedpouchdb-binary-utils@8.0.1(transitive)
- Removedpouchdb-changes-filter@8.0.1(transitive)
- Removedpouchdb-collate@8.0.1(transitive)
- Removedpouchdb-collections@8.0.1(transitive)
- Removedpouchdb-core@8.0.1(transitive)
- Removedpouchdb-errors@8.0.1(transitive)
- Removedpouchdb-fetch@8.0.1(transitive)
- Removedpouchdb-json@8.0.1(transitive)
- Removedpouchdb-md5@8.0.1(transitive)
- Removedpouchdb-merge@8.0.1(transitive)
- Removedpouchdb-selector-core@8.0.1(transitive)
- Removedpouchdb-utils@8.0.1(transitive)
- Removedsublevel-pouchdb@8.0.1(transitive)
Updatedleveldown@6.1.1
Updatedpouchdb-merge@9.0.0