pouchdb-adapter-leveldb-core
Advanced tools
Comparing version
@@ -640,7 +640,11 @@ 'use strict'; | ||
function finish() { | ||
if (api.auto_compaction) { | ||
return autoCompact(complete); | ||
} else { | ||
compact(stemmedRevs, complete); | ||
} | ||
compact(stemmedRevs, function (error) { | ||
if (error) { | ||
complete(error); | ||
} | ||
if (api.auto_compaction) { | ||
return autoCompact(complete); | ||
} | ||
complete(); | ||
}); | ||
} | ||
@@ -647,0 +651,0 @@ |
@@ -810,7 +810,11 @@ 'use strict'; | ||
function finish() { | ||
if (api.auto_compaction) { | ||
return autoCompact(complete); | ||
} else { | ||
compact(stemmedRevs, complete); | ||
} | ||
compact(stemmedRevs, function (error) { | ||
if (error) { | ||
complete(error); | ||
} | ||
if (api.auto_compaction) { | ||
return autoCompact(complete); | ||
} | ||
complete(); | ||
}); | ||
} | ||
@@ -817,0 +821,0 @@ |
{ | ||
"name": "pouchdb-adapter-leveldb-core", | ||
"version": "5.4.0", | ||
"version": "5.4.1", | ||
"description": "Core PouchDB adapter code for LevelDOWN-based adapters", | ||
@@ -20,11 +20,11 @@ "main": "./lib/index.js", | ||
"levelup": "1.3.2", | ||
"pouchdb-binary-utils": "5.4.0", | ||
"pouchdb-binary-utils": "5.4.1", | ||
"pouchdb-collections": "1.0.1", | ||
"pouchdb-adapter-utils": "5.4.0", | ||
"pouchdb-errors": "5.4.0", | ||
"pouchdb-json": "5.4.0", | ||
"pouchdb-merge": "5.4.0", | ||
"pouchdb-md5": "5.4.0", | ||
"pouchdb-promise": "5.4.0", | ||
"pouchdb-utils": "5.4.0", | ||
"pouchdb-adapter-utils": "5.4.1", | ||
"pouchdb-errors": "5.4.1", | ||
"pouchdb-json": "5.4.1", | ||
"pouchdb-merge": "5.4.1", | ||
"pouchdb-md5": "5.4.1", | ||
"pouchdb-promise": "5.4.1", | ||
"pouchdb-utils": "5.4.1", | ||
"sublevel-pouchdb": "1.0.0", | ||
@@ -31,0 +31,0 @@ "through2": "2.0.1" |
@@ -565,7 +565,11 @@ import levelup from 'levelup'; | ||
function finish() { | ||
if (api.auto_compaction) { | ||
return autoCompact(complete); | ||
} else { | ||
compact(stemmedRevs, complete); | ||
} | ||
compact(stemmedRevs, function (error) { | ||
if (error) { | ||
complete(error); | ||
} | ||
if (api.auto_compaction) { | ||
return autoCompact(complete); | ||
} | ||
complete(); | ||
}); | ||
} | ||
@@ -572,0 +576,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
155290
0.16%4582
0.26%0
-100%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated
Updated
Updated
Updated
Updated