lmdb-store
Advanced tools
Comparing version 0.3.8 to 0.3.9
15
index.js
@@ -132,3 +132,14 @@ const fs = require('fs-extra') | ||
txn = readTxn | ||
txn.renew() | ||
try { | ||
txn.renew() | ||
} catch(error) { | ||
console.error(error) | ||
try { | ||
txn.reset() | ||
console.warn('Did reset on read txn') | ||
txn.renew() | ||
} catch(resetError) { | ||
console.error(resetError) | ||
} | ||
} | ||
} | ||
@@ -276,3 +287,3 @@ let result = copy ? txn.getBinaryUnsafe(this.db, id) : txn.getBinary(this.db, id) | ||
} | ||
if (count++ >= options.limit) { | ||
if (++count >= options.limit) { | ||
finished = true | ||
@@ -279,0 +290,0 @@ break |
{ | ||
"name": "lmdb-store", | ||
"author": "Kris Zyp", | ||
"version": "0.3.8", | ||
"version": "0.3.9", | ||
"description": "Simple, effiecent, scalable data store wrapper for LDMB", | ||
@@ -17,3 +17,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"fs-extra": "^8.0.1", | ||
"fs-extra": "^9.0.0", | ||
"node-lmdb": "kriszyp/node-lmdb#v1-test2" | ||
@@ -20,0 +20,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
125164
1098
+ Addedat-least-node@1.0.0(transitive)
+ Addedfs-extra@9.1.0(transitive)
+ Addedjsonfile@6.1.0(transitive)
+ Addeduniversalify@2.0.1(transitive)
- Removedfs-extra@8.1.0(transitive)
- Removedjsonfile@4.0.0(transitive)
- Removeduniversalify@0.1.2(transitive)
Updatedfs-extra@^9.0.0