Comparing version 2.6.0 to 2.6.1
14
index.js
@@ -903,3 +903,3 @@ const { EventEmitter } = require('events') | ||
} catch (err) { | ||
this.emit('error', err) | ||
if (!this.closed) this.emit('error', err) | ||
this.destroy() | ||
@@ -923,10 +923,8 @@ } finally { | ||
} | ||
} catch (err) { | ||
if (this.closed) return | ||
throw err | ||
} finally { | ||
this.stream = null | ||
this.latestDiff = snapshot.version | ||
await snapshot.close() | ||
} | ||
this.stream = null | ||
this.latestDiff = snapshot.version | ||
} | ||
@@ -933,0 +931,0 @@ |
@@ -137,3 +137,3 @@ const b4a = require('b4a') | ||
const tree = new SubTree(child, top) | ||
if (this.seeking && !(await this._seek(tree))) return | ||
if (this.seeking && !(await this._seek(tree))) return null | ||
this.stack.push(tree) | ||
@@ -140,0 +140,0 @@ |
{ | ||
"name": "hyperbee", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"description": "An append-only B-tree running on a Hypercore.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
81125
2276