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 1.9.0 to 1.10.0

7

index.js

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

async insertKey (key, child = null, overwrite = true, cas = null, node = null) {
async insertKey (key, child, overwrite, cas, node) {
let s = 0

@@ -484,2 +484,7 @@ let e = this.keys.length

}
async getHeader (opts) {
const blk = await this._feed.get(0, opts)
return blk && Header.decode(blk)
}
}

@@ -486,0 +491,0 @@

2

package.json
{
"name": "hyperbee",
"version": "1.9.0",
"version": "1.10.0",
"description": "An append-only Btree running on a Hypercore.",

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

@@ -410,1 +410,10 @@ const tape = require('tape')

})
tape('get header out', async t => {
const db = create()
await db.ready()
await db.put('hi', 'ho')
const h = await db.getHeader()
t.same(h.protocol, 'hyperbee')
t.end()
})
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