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

orbit-db-storage-adapter

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orbit-db-storage-adapter - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

2

package.json
{
"name": "orbit-db-storage-adapter",
"version": "0.5.0",
"version": "0.5.1",
"description": "OrbitDB adapter for any abstract-leveldown compliant storage",

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

@@ -5,2 +5,3 @@ 'use strict'

const level = require('level')
const fs = require('fs')

@@ -60,2 +61,4 @@ // Should work for all abstract-leveldown compliant stores

} else {
// Default leveldown or level-js store with directory creation
if(fs && fs.mkdirSync) fs.mkdirSync(directory, { recursive: true })
resolve(level(directory, options))

@@ -62,0 +65,0 @@ }

Sorry, the diff of this file is too big to display

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