Socket
Socket
Sign inDemoInstall

@file-services/types

Package Overview
Dependencies
Maintainers
2
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 2.0.0 to 2.0.1

4

cjs/extended-api-async.d.ts

@@ -41,5 +41,5 @@ import { IDirectoryContents, IWalkOptions, BufferEncoding } from './common-fs-types';

*
* @returns absolute path of first found file, or `null` if none found.
* @returns absolute path of first found file, or `undefined` if none found.
*/
findClosestFile(initialDirectoryPath: string, fileName: string): Promise<string | null>;
findClosestFile(initialDirectoryPath: string, fileName: string): Promise<string | undefined>;
/**

@@ -46,0 +46,0 @@ * Search for a specific file name in parent chain.

@@ -38,5 +38,5 @@ import { IWalkOptions, IDirectoryContents, BufferEncoding } from './common-fs-types';

*
* @returns absolute path of first found file, or `null` if none found.
* @returns absolute path of first found file, or `undefined` if none found.
*/
findClosestFileSync(initialDirectoryPath: string, fileName: string): string | null;
findClosestFileSync(initialDirectoryPath: string, fileName: string): string | undefined;
/**

@@ -43,0 +43,0 @@ * Search for a specific file name in parent directory chain.

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

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

"sideEffects": false,
"gitHead": "1a5d5c8e7ab35d213ba47fe0585ec5887df08d7c"
"gitHead": "fc4bf2d1f67151dfd6357fcda60bc0c43f6a10d6"
}

@@ -47,5 +47,5 @@ import { IDirectoryContents, IWalkOptions, BufferEncoding } from './common-fs-types';

*
* @returns absolute path of first found file, or `null` if none found.
* @returns absolute path of first found file, or `undefined` if none found.
*/
findClosestFile(initialDirectoryPath: string, fileName: string): Promise<string | null>;
findClosestFile(initialDirectoryPath: string, fileName: string): Promise<string | undefined>;

@@ -52,0 +52,0 @@ /**

@@ -43,5 +43,5 @@ import { IWalkOptions, IDirectoryContents, BufferEncoding } from './common-fs-types';

*
* @returns absolute path of first found file, or `null` if none found.
* @returns absolute path of first found file, or `undefined` if none found.
*/
findClosestFileSync(initialDirectoryPath: string, fileName: string): string | null;
findClosestFileSync(initialDirectoryPath: string, fileName: string): string | undefined;

@@ -48,0 +48,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