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.15.0 to 2.15.1

17

index.js

@@ -236,2 +236,6 @@ const codecs = require('codecs')

isTarget (key) {
return b4a.equals(this.key, key)
}
isDeletion () {

@@ -272,2 +276,6 @@ if (this.value !== null) return false

isTarget (key) {
return false
}
getTreeNode (offset) {

@@ -708,6 +716,11 @@ return this.pendingIndex[offset].value

let node = await this.getRoot(false)
if (!node) return null
const root = await this.getRoot(false)
if (!root) return null
let node = root
while (true) {
if (node.block.isTarget(key)) {
return (node === root && node.block.isDeletion()) ? null : node.block.final(encoding)
}
let s = 0

@@ -714,0 +727,0 @@ let e = node.keys.length

2

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