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.37

8

index.js

@@ -782,2 +782,10 @@ const b4a = require('b4a')

static async getLocalKey (store, opts = {}) {
const core = opts.keyPair ? store.get({ ...opts, active: false }) : store.get({ ...opts, name: 'local', active: false })
await core.ready()
const key = core.key
await core.close()
return key
}
static getLocalCore (store, handlers, encryptionKey) {

@@ -784,0 +792,0 @@ const encryption = !encryptionKey ? null : { key: encryptionKey }

3

lib/apply-state.js

@@ -945,5 +945,4 @@ const ReadyResource = require('ready-resource')

const seq = this.updates.length === 0 ? 0 : this.updates[this.updates.length - 1].seq + 1
const update = {
seq,
seq: 0,
key: node.writer.core.key,

@@ -950,0 +949,0 @@ length: node.length,

{
"name": "autobase",
"version": "7.0.36",
"version": "7.0.37",
"description": "",

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