Socket
Socket
Sign inDemoInstall

hyperbee

Package Overview
Dependencies
Maintainers
2
Versions
108
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.19.5 to 2.19.6

11

index.js

@@ -147,2 +147,3 @@ const codecs = require('codecs')

const core = getBackingCore(this.block.tree.core)
const indexedLength = getIndexedLength(this.block.tree.core)
const bitfield = core.core.bitfield

@@ -153,3 +154,3 @@

if (k.value) continue
if (k.seq >= core.length || bitfield.get(k.seq)) continue
if (k.seq >= indexedLength || bitfield.get(k.seq)) continue
preloadBlock(core, k.seq)

@@ -160,3 +161,3 @@ }

if (c.value) continue
if (c.seq >= core.length || bitfield.get(c.seq)) continue
if (c.seq >= indexedLength || bitfield.get(c.seq)) continue
preloadBlock(core, c.seq)

@@ -1568,2 +1569,8 @@ }

function getIndexedLength (core) {
if (core._source) return core._source.core.indexedLength
if (core.flush) return core.indexedLength
return core.length
}
function sameValue (a, b) {

@@ -1570,0 +1577,0 @@ return a === b || (a !== null && b !== null && b4a.equals(a, b))

2

package.json
{
"name": "hyperbee",
"version": "2.19.5",
"version": "2.19.6",
"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