pouchdb-adapter-leveldb-core
Advanced tools
Comparing version 5.4.0 to 5.4.1
@@ -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 @@ |
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
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
4582
0
+ Addedpouchdb-adapter-utils@5.4.1(transitive)
+ Addedpouchdb-binary-utils@5.4.1(transitive)
+ Addedpouchdb-errors@5.4.1(transitive)
+ Addedpouchdb-json@5.4.1(transitive)
+ Addedpouchdb-md5@5.4.1(transitive)
+ Addedpouchdb-merge@5.4.1(transitive)
+ Addedpouchdb-promise@5.4.1(transitive)
+ Addedpouchdb-utils@5.4.1(transitive)
- Removedpouchdb-adapter-utils@5.4.0(transitive)
- Removedpouchdb-binary-utils@5.4.0(transitive)
- Removedpouchdb-errors@5.4.0(transitive)
- Removedpouchdb-json@5.4.0(transitive)
- Removedpouchdb-md5@5.4.0(transitive)
- Removedpouchdb-merge@5.4.0(transitive)
- Removedpouchdb-promise@5.4.0(transitive)
- Removedpouchdb-utils@5.4.0(transitive)
Updatedpouchdb-adapter-utils@5.4.1
Updatedpouchdb-binary-utils@5.4.1
Updatedpouchdb-errors@5.4.1
Updatedpouchdb-json@5.4.1
Updatedpouchdb-md5@5.4.1
Updatedpouchdb-merge@5.4.1
Updatedpouchdb-promise@5.4.1
Updatedpouchdb-utils@5.4.1