New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

autobase

Package Overview
Dependencies
Maintainers
0
Versions
135
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

to
7.0.24

2

lib/apply-state.js

@@ -472,2 +472,4 @@ const SystemView = require('./system')

}
// skipped system for whatever reason...
if (!views[0]) return

@@ -474,0 +476,0 @@ this.pendingViews = views

10

lib/store.js

@@ -102,6 +102,8 @@ const b4a = require('b4a')

async release () {
if (this.atomicBatch) {
await this.atomicBatch.close()
this.atomicBatch = null
}
if (!this.atomicBatch) return
await this.atomicBatch.ready()
const sessions = this.atomicBatch.state.sessions
for (let i = sessions.length - 1; i >= 0; i--) await sessions[i].close()
await this.atomicBatch.close()
this.atomicBatch = null
}

@@ -108,0 +110,0 @@

{
"name": "autobase",
"version": "7.0.23",
"version": "7.0.24",
"description": "",

@@ -38,4 +38,4 @@ "main": "index.js",

"debounceify": "^1.0.0",
"hyperbee": "^2.15.0",
"hypercore": "^11.0.10",
"hyperbee": "^2.22.0",
"hypercore": "^11.0.21",
"hypercore-crypto": "^3.4.0",

@@ -42,0 +42,0 @@ "hypercore-id-encoding": "^1.2.0",