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

autobase

Package Overview
Dependencies
Maintainers
0
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autobase - npm Package Compare versions

Comparing version 6.5.8 to 6.5.9

7

lib/consensus.js

@@ -189,7 +189,8 @@ const BufferMap = require('tiny-buffer-map')

const next = view.clock.get(idx.core.key)
const length = view.clock.get(idx.core.key)
if (!length) continue
if (target.clock.includes(idx.core.key, next)) continue
if (target.clock.includes(idx.core.key, length)) continue
const head = idx.get(next)
const head = idx.get(length - 1)
if (!head) continue

@@ -196,0 +197,0 @@

@@ -233,3 +233,3 @@ const b4a = require('b4a')

// ack if any head is closer to confirming a value
_shouldAckHeads (writer) {
_shouldAckHeads (writer, pending) {
const prev = writer.head()

@@ -250,3 +250,3 @@

if (node.value !== null) {
if (pending || node.value !== null) {
const acks = this.consensus.acksFromNode(node, head)

@@ -253,0 +253,0 @@ const prevAcks = this.consensus.acksFromNode(node, prev)

{
"name": "autobase",
"version": "6.5.8",
"version": "6.5.9",
"description": "",

@@ -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