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
169
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.17.0 to 0.17.1

dist/mixins/index.d.ts

2

dist/emulation/async.d.ts

@@ -10,3 +10,3 @@ /// <reference types="node" resolution-mode="require"/>

import type { Dirent } from './dir.js';
import { type Dir } from './dir.js';
import type { Dir } from './dir.js';
import * as promises from './promises.js';

@@ -13,0 +13,0 @@ import { ReadStream, WriteStream } from './streams.js';

import { Buffer } from 'buffer';
import { ErrnoError, Errno } from '../error.js';
import { Errno, ErrnoError } from '../error.js';
import { BigIntStats } from '../stats.js';
import { nop, normalizeMode } from '../utils.js';
import { normalizeMode } from '../utils.js';
import { R_OK } from './constants.js';

@@ -10,2 +10,3 @@ import * as promises from './promises.js';

import { FSWatcher } from './watchers.js';
const nop = () => { };
/**

@@ -12,0 +13,0 @@ * Asynchronous rename. No arguments other than a possible exception are given

@@ -1,3 +0,3 @@

import { type Cred } from './cred.js';
import { type File } from './file.js';
import type { Cred } from './cred.js';
import type { File } from './file.js';
import { type Stats } from './stats.js';

@@ -147,7 +147,7 @@ export type FileContents = ArrayBufferView | string;

/**
* Test whether or not the given path exists by checking with the file system.
* Test whether or not the given path exists.
*/
exists(path: string, cred: Cred): Promise<boolean>;
/**
* Test whether or not the given path exists by checking with the file system.
* Test whether or not the given path exists.
*/

@@ -154,0 +154,0 @@ existsSync(path: string, cred: Cred): boolean;

@@ -28,3 +28,3 @@ import { ZenFsType } from './stats.js';

/**
* Test whether or not the given path exists by checking with the file system.
* Test whether or not the given path exists.
*/

@@ -41,3 +41,3 @@ async exists(path, cred) {

/**
* Test whether or not the given path exists by checking with the file system.
* Test whether or not the given path exists.
*/

@@ -44,0 +44,0 @@ existsSync(path, cred) {

@@ -16,2 +16,3 @@ export * from './error.js';

export * from './inode.js';
export * from './mixins/index.js';
export * from './stats.js';

@@ -18,0 +19,0 @@ export * from './utils.js';

@@ -16,2 +16,3 @@ export * from './error.js';

export * from './inode.js';
export * from './mixins/index.js';
export * from './stats.js';

@@ -18,0 +19,0 @@ export * from './utils.js';

@@ -1,5 +0,5 @@

import { type Cred } from '../cred.js';
import { type File } from '../file.js';
import { type Stats } from '../stats.js';
import type { Cred } from '../cred.js';
import type { File } from '../file.js';
import type { FileSystem, FileSystemMetadata } from '../filesystem.js';
import type { Stats } from '../stats.js';
import type { Mixin } from './shared.js';

@@ -6,0 +6,0 @@ /**

@@ -85,6 +85,1 @@ /// <reference types="node" resolution-mode="require"/>

};
/**
* Do nothing
* @internal
*/
export declare function nop(): void;

@@ -222,8 +222,1 @@ import { ErrnoError, Errno } from './error.js';

}
/**
* Do nothing
* @internal
*/
export function nop() {
// do nothing
}
{
"name": "@zenfs/core",
"version": "0.17.0",
"version": "0.17.1",
"description": "A filesystem, anywhere",

@@ -43,3 +43,4 @@ "main": "dist/index.js",

"./*": "./dist/*",
"./promises": "./dist/emulation/promises.js"
"./promises": "./dist/emulation/promises.js",
"./mixins": "./dist/mixins/index.js"
},

@@ -46,0 +47,0 @@ "scripts": {

import { Buffer } from 'buffer';
import type * as fs from 'node:fs';
import { ErrnoError, Errno } from '../error.js';
import { Errno, ErrnoError } from '../error.js';
import type { FileContents } from '../filesystem.js';
import { BigIntStats, type Stats } from '../stats.js';
import { nop, normalizeMode, type Callback } from '../utils.js';
import { normalizeMode, type Callback } from '../utils.js';
import { R_OK } from './constants.js';
import type { Dirent } from './dir.js';
import { type Dir } from './dir.js';
import type { Dir } from './dir.js';
import * as promises from './promises.js';

@@ -15,2 +15,4 @@ import { fd2file } from './shared.js';

const nop = () => {};
/**

@@ -17,0 +19,0 @@ * Asynchronous rename. No arguments other than a possible exception are given

@@ -1,4 +0,4 @@

import { type Cred } from './cred.js';
import type { Cred } from './cred.js';
import type { ErrnoError } from './error.js';
import { type File } from './file.js';
import type { File } from './file.js';
import { ZenFsType, type Stats } from './stats.js';

@@ -184,3 +184,3 @@

/**
* Test whether or not the given path exists by checking with the file system.
* Test whether or not the given path exists.
*/

@@ -197,3 +197,3 @@ public async exists(path: string, cred: Cred): Promise<boolean> {

/**
* Test whether or not the given path exists by checking with the file system.
* Test whether or not the given path exists.
*/

@@ -200,0 +200,0 @@ public existsSync(path: string, cred: Cred): boolean {

@@ -16,2 +16,3 @@ export * from './error.js';

export * from './inode.js';
export * from './mixins/index.js';
export * from './stats.js';

@@ -18,0 +19,0 @@ export * from './utils.js';

@@ -1,6 +0,6 @@

import { type Cred } from '../cred.js';
import type { Cred } from '../cred.js';
import { Errno, ErrnoError } from '../error.js';
import { type File } from '../file.js';
import { type Stats } from '../stats.js';
import type { File } from '../file.js';
import type { FileSystem, FileSystemMetadata } from '../filesystem.js';
import type { Stats } from '../stats.js';
import type { Mixin } from './shared.js';

@@ -7,0 +7,0 @@

@@ -1,4 +0,4 @@

import { type Cred } from '../cred.js';
import { type File } from '../file.js';
import { type Stats } from '../stats.js';
import type { Cred } from '../cred.js';
import type { File } from '../file.js';
import type { Stats } from '../stats.js';
import type { FileSystem } from '../filesystem.js';

@@ -5,0 +5,0 @@ import type { Mixin, _AsyncFSMethods } from './shared.js';

@@ -282,9 +282,1 @@ /* eslint-disable @typescript-eslint/no-unsafe-member-access */

}
/**
* Do nothing
* @internal
*/
export function nop() {
// do nothing
}

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