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

@zenfs/core

Package Overview
Dependencies
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zenfs/core - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

dist/backends/index.d.ts

@@ -11,2 +11,2 @@ import { AsyncMirror } from './AsyncMirror';

export { AsyncMirror, FolderAdapter, InMemory, OverlayFS };
export declare function registerBackend(name: string, fs: BackendConstructor): void;
export declare function registerBackend(..._backends: BackendConstructor[]): void;

@@ -5,12 +5,10 @@ import { AsyncMirror } from './AsyncMirror';

import { OverlayFS } from './OverlayFS';
export const backends = {
AsyncMirror,
FolderAdapter,
InMemory,
OverlayFS,
};
export const backends = {};
export default backends;
export { AsyncMirror, FolderAdapter, InMemory, OverlayFS };
export function registerBackend(name, fs) {
backends[name] = fs;
export function registerBackend(..._backends) {
for (const backend of _backends) {
backends[backend.Name] = backend;
}
}
registerBackend(AsyncMirror, FolderAdapter, InMemory, OverlayFS);
{
"name": "@zenfs/core",
"version": "0.0.1",
"version": "0.0.2",
"description": "A filesystem in your browser",

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

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

Sorry, the diff of this file is not supported yet

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