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

@file-services/types

Package Overview
Dependencies
Maintainers
1
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 0.2.0 to 0.2.1

16

cjs/extended-api.d.ts

@@ -31,2 +31,10 @@ import { IBaseFileSystemAsync, IBaseFileSystemSync, IFileSystemStats } from './base-api';

ensureDirectorySync(directoryPath: string): void;
/**
* Search for a specific file name in parent chain.
* Useful for finding configuration files.
*/
/**
* Populates the provided directory with given contents.
*/
populateDirectorySync(directoryPath: string, contents: IDirectoryContents): void;
}

@@ -56,2 +64,10 @@ /**

ensureDirectory(directoryPath: string): Promise<void>;
/**
* Search for a specific file name in parent chain.
* Useful for finding configuration files.
*/
/**
* Populates the provided directory with given contents.
*/
populateDirectory(directoryPath: string, contents: IDirectoryContents): Promise<void>;
}

@@ -58,0 +74,0 @@ /**

4

package.json
{
"name": "@file-services/types",
"description": "Common file system interfaces",
"version": "0.2.0",
"version": "0.2.1",
"main": "cjs/index.js",

@@ -23,3 +23,3 @@ "types": "cjs/index.d.ts",

},
"gitHead": "5fe82335a0d97b095d5e522866abb96d160d7ab3"
"gitHead": "e4a29c8bf0de8d773f0e6e1646d028063cc62952"
}

@@ -44,3 +44,3 @@ import { IBaseFileSystemAsync, IBaseFileSystemSync, IFileSystemStats } from './base-api'

*/
// populateDirectorySync(directoryPath: string, contents: IDirectoryContents): void
populateDirectorySync(directoryPath: string, contents: IDirectoryContents): void

@@ -93,3 +93,3 @@ /**

*/
// populateDirectory(directoryPath: string, contents: IDirectoryContents): Promise<void>
populateDirectory(directoryPath: string, contents: IDirectoryContents): Promise<void>

@@ -96,0 +96,0 @@ /**

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