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

autobase

Package Overview
Dependencies
Maintainers
3
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.0.21 to 6.0.22

11

lib/consensus.js

@@ -398,3 +398,12 @@ const BufferMap = require('tiny-buffer-map')

shouldAckNode (target, writer) {
shouldAck (writer) {
for (const t of this._indexerTails()) {
if (t.writer === writer) continue
if (this._shouldAckNode(t, writer)) return true
}
return false
}
_shouldAckNode (target, writer) {
const head = writer.head()

@@ -401,0 +410,0 @@ const next = target.clock.get(writer.core.key)

4

lib/linearizer.js

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

for (const tail of this.tails) {
if (this.consensus.shouldAckNode(tail, writer)) return true
}
if (this.consensus.shouldAck(writer)) return true

@@ -201,0 +199,0 @@ return this._shouldAckHeads(writer, pending)

{
"name": "autobase",
"version": "6.0.21",
"version": "6.0.22",
"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