Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hyperbee

Package Overview
Dependencies
Maintainers
2
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyperbee - npm Package Compare versions

Comparing version 2.12.0 to 2.12.1

15

index.js

@@ -366,3 +366,4 @@ const codecs = require('codecs')

createReadStream (range, opts) {
return iteratorToStream(this.createRangeIterator(range, opts))
const signal = (opts && opts.signal) || null
return iteratorToStream(this.createRangeIterator(range, opts), signal)
}

@@ -372,3 +373,4 @@

const session = (opts && opts.live) ? this.core.session() : this._makeSnapshot()
return iteratorToStream(new HistoryIterator(new Batch(this, session, null, false, opts), opts))
const signal = (opts && opts.signal) || null
return iteratorToStream(new HistoryIterator(new Batch(this, session, null, false, opts), opts), signal)
}

@@ -383,2 +385,3 @@

const snapshot = right.version > this.version ? right._makeSnapshot() : this._makeSnapshot()
const signal = (opts && opts.signal) || null

@@ -388,3 +391,3 @@ const keyEncoding = opts && opts.keyEncoding ? codecs(opts.keyEncoding) : this.keyEncoding

return iteratorToStream(new DiffIterator(new Batch(this, snapshot, null, false, opts), new Batch(right, snapshot, null, false, opts), opts))
return iteratorToStream(new DiffIterator(new Batch(this, snapshot, null, false, opts), new Batch(right, snapshot, null, false, opts), opts), signal)
}

@@ -640,3 +643,4 @@

createReadStream (range, opts) {
return iteratorToStream(this.createRangeIterator(range, opts))
const signal = (opts && opts.signal) || null
return iteratorToStream(this.createRangeIterator(range, opts), signal)
}

@@ -1252,3 +1256,3 @@

function iteratorToStream (ite) {
function iteratorToStream (ite, signal) {
let done

@@ -1258,2 +1262,3 @@ let closing

const rs = new Readable({
signal,
open (cb) {

@@ -1260,0 +1265,0 @@ done = cb

{
"name": "hyperbee",
"version": "2.12.0",
"version": "2.12.1",
"description": "An append-only B-tree running on a Hypercore.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc