Socket
Socket
Sign inDemoInstall

@file-services/types

Package Overview
Dependencies
Maintainers
4
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@file-services/types - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

7

cjs/base-api-async.d.ts

@@ -60,2 +60,5 @@ import type { IFileSystemStats, BufferEncoding, CallbackFnVoid, CallbackFn, WriteFileOptions, ReadFileOptions, IDirectoryEntry } from './common-fs-types';

mkdir(filePath: string, callback: CallbackFnVoid): void;
mkdir(filePath: string, options: {
recursive?: boolean;
}, callback: CallbackFnVoid): void;
/**

@@ -136,3 +139,5 @@ * Delete a directory.

*/
mkdir(directoryPath: string): Promise<void>;
mkdir(directoryPath: string, options?: {
recursive?: boolean;
}): Promise<void>;
/**

@@ -139,0 +144,0 @@ * Delete a directory.

4

cjs/base-api-sync.d.ts

@@ -67,3 +67,5 @@ import type { IFileSystemStats, BufferEncoding, WriteFileOptions, ReadFileOptions, IDirectoryEntry } from './common-fs-types';

*/
mkdirSync(directoryPath: string): void;
mkdirSync(directoryPath: string, options?: {
recursive?: boolean;
}): void;
/**

@@ -70,0 +72,0 @@ * Delete an existing directory.

{
"name": "@file-services/types",
"description": "Common file system interfaces",
"version": "3.0.0",
"version": "3.1.0",
"main": "cjs/index.js",

@@ -6,0 +6,0 @@ "types": "cjs/index.d.ts",

@@ -77,2 +77,3 @@ import type {

mkdir(filePath: string, callback: CallbackFnVoid): void;
mkdir(filePath: string, options: { recursive?: boolean }, callback: CallbackFnVoid): void;

@@ -158,3 +159,3 @@ /**

*/
mkdir(directoryPath: string): Promise<void>;
mkdir(directoryPath: string, options?: { recursive?: boolean }): Promise<void>;

@@ -161,0 +162,0 @@ /**

@@ -74,3 +74,3 @@ import type {

*/
mkdirSync(directoryPath: string): void;
mkdirSync(directoryPath: string, options?: { recursive?: boolean }): void;

@@ -77,0 +77,0 @@ /**

Sorry, the diff of this file is not supported yet

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