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

@zenfs/core

Package Overview
Dependencies
Maintainers
0
Versions
165
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.16.2 to 0.16.3

4

dist/config.js

@@ -44,5 +44,3 @@ import { checkOptions, isBackend, isBackendConfig } from './backends/backend.js';

const mount = (await backend.create(config));
if ('_disableSync' in mount) {
mount._disableSync = config.disableAsyncCache || false;
}
mount._disableSync = config.disableAsyncCache || false;
await mount.ready();

@@ -49,0 +47,0 @@ return mount;

{
"name": "@zenfs/core",
"version": "0.16.2",
"version": "0.16.3",
"description": "A filesystem, anywhere",

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

@@ -65,5 +65,3 @@ #!/usr/bin/env node

if (watch && !quiet) {
onEnd(() => {
console.log(`--------------- Built #${buildCount}`);
});
onEnd(() => console.log(`--------------- Built #${buildCount}`));
}

@@ -70,0 +68,0 @@ },

@@ -7,3 +7,3 @@ import type { Backend, BackendConfiguration, FilesystemOf, SharedConfig } from './backends/backend.js';

import { Errno, ErrnoError } from './error.js';
import { FileSystem, type Async } from './filesystem.js';
import { FileSystem } from './filesystem.js';

@@ -63,6 +63,3 @@ /**

const mount = (await backend.create(config)) as FilesystemOf<T>;
if ('_disableSync' in mount) {
type AsyncFS = InstanceType<ReturnType<typeof Async<new () => FilesystemOf<T>>>>;
(mount as AsyncFS)._disableSync = config.disableAsyncCache || false;
}
mount._disableSync = config.disableAsyncCache || false;
await mount.ready();

@@ -69,0 +66,0 @@ return mount;

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