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.3.2 to 6.4.0

10

index.js

@@ -1876,5 +1876,15 @@ const b4a = require('b4a')

removeable (key) {
if (this.system.indexers.length !== 1) return true
return !b4a.equals(this.system.indexers[0].key, key)
}
// triggered from apply
async removeWriter (key) { // just compat for old version
assert(this._applying !== null, 'System changes are only allowed in apply')
if (!this.removeable(key)) {
throw new Error('Not allowed to remove the last indexer')
}
await this.system.remove(key)

@@ -1881,0 +1891,0 @@

2

package.json
{
"name": "autobase",
"version": "6.3.2",
"version": "6.4.0",
"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