@file-services/types
Advanced tools
Comparing version 5.3.1 to 5.4.0
@@ -1,4 +0,4 @@ | ||
import type { IFileSystemStats, BufferEncoding, CallbackFnVoid, CallbackFn, WriteFileOptions, ReadFileOptions, IDirectoryEntry } from './common-fs-types'; | ||
import type { IFileSystemPath } from './path'; | ||
import type { IWatchService } from './watch-api'; | ||
import type { IFileSystemStats, BufferEncoding, CallbackFnVoid, CallbackFn, WriteFileOptions, ReadFileOptions, IDirectoryEntry } from './common-fs-types.js'; | ||
import type { IFileSystemPath } from './path.js'; | ||
import type { IWatchService } from './watch-api.js'; | ||
/** | ||
@@ -50,3 +50,3 @@ * ASYNC-only base file system. | ||
readdir(directoryPath: string, options: { | ||
encoding?: BufferEncoding | null; | ||
encoding: BufferEncoding | null; | ||
withFileTypes?: false; | ||
@@ -53,0 +53,0 @@ } | BufferEncoding | null | undefined, callback: CallbackFn<string[]>): void; |
@@ -1,4 +0,4 @@ | ||
import type { IFileSystemStats, BufferEncoding, WriteFileOptions, ReadFileOptions, IDirectoryEntry } from './common-fs-types'; | ||
import type { IFileSystemPath } from './path'; | ||
import type { IWatchService } from './watch-api'; | ||
import type { IFileSystemStats, BufferEncoding, WriteFileOptions, ReadFileOptions, IDirectoryEntry } from './common-fs-types.js'; | ||
import type { IFileSystemPath } from './path.js'; | ||
import type { IWatchService } from './watch-api.js'; | ||
/** | ||
@@ -58,3 +58,3 @@ * SYNC-only base file system. | ||
readdirSync(directoryPath: string, options?: { | ||
encoding?: BufferEncoding | null; | ||
encoding: BufferEncoding | null; | ||
withFileTypes?: false; | ||
@@ -61,0 +61,0 @@ } | BufferEncoding | null): string[]; |
@@ -1,5 +0,5 @@ | ||
import type { IBaseFileSystemSync } from './base-api-sync'; | ||
import type { IBaseFileSystemAsync } from './base-api-async'; | ||
export * from './base-api-sync'; | ||
export * from './base-api-async'; | ||
import type { IBaseFileSystemSync } from './base-api-sync.js'; | ||
import type { IBaseFileSystemAsync } from './base-api-async.js'; | ||
export * from './base-api-sync.js'; | ||
export * from './base-api-async.js'; | ||
/** | ||
@@ -6,0 +6,0 @@ * SYNC and ASYNC base file system. |
@@ -13,4 +13,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./base-api-sync"), exports); | ||
__exportStar(require("./base-api-async"), exports); | ||
__exportStar(require("./base-api-sync.js"), exports); | ||
__exportStar(require("./base-api-async.js"), exports); | ||
//# sourceMappingURL=base-api.js.map |
@@ -1,3 +0,3 @@ | ||
import type { IDirectoryContents, IWalkOptions, BufferEncoding } from './common-fs-types'; | ||
import type { IBaseFileSystemAsync, IBaseFileSystemPromiseActions } from './base-api-async'; | ||
import type { IDirectoryContents, IWalkOptions, BufferEncoding } from './common-fs-types.js'; | ||
import type { IBaseFileSystemAsync, IBaseFileSystemPromiseActions } from './base-api-async.js'; | ||
/** | ||
@@ -4,0 +4,0 @@ * ASYNC-only file system. |
@@ -1,3 +0,3 @@ | ||
import type { IWalkOptions, IDirectoryContents, BufferEncoding } from './common-fs-types'; | ||
import type { IBaseFileSystemSync } from './base-api-sync'; | ||
import type { IWalkOptions, IDirectoryContents, BufferEncoding } from './common-fs-types.js'; | ||
import type { IBaseFileSystemSync } from './base-api-sync.js'; | ||
/** | ||
@@ -4,0 +4,0 @@ * SYNC-only file system. |
@@ -1,5 +0,5 @@ | ||
import type { IFileSystemSync } from './extended-api-sync'; | ||
import type { IFileSystemAsync } from './extended-api-async'; | ||
export * from './extended-api-sync'; | ||
export * from './extended-api-async'; | ||
import type { IFileSystemSync } from './extended-api-sync.js'; | ||
import type { IFileSystemAsync } from './extended-api-async.js'; | ||
export * from './extended-api-sync.js'; | ||
export * from './extended-api-async.js'; | ||
/** | ||
@@ -6,0 +6,0 @@ * SYNC and ASYNC file system. |
@@ -13,4 +13,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./extended-api-sync"), exports); | ||
__exportStar(require("./extended-api-async"), exports); | ||
__exportStar(require("./extended-api-sync.js"), exports); | ||
__exportStar(require("./extended-api-async.js"), exports); | ||
//# sourceMappingURL=extended-api.js.map |
@@ -1,6 +0,6 @@ | ||
export * from './base-api'; | ||
export * from './common-fs-types'; | ||
export * from './extended-api'; | ||
export * from './path'; | ||
export * from './watch-api'; | ||
export * from './base-api.js'; | ||
export * from './common-fs-types.js'; | ||
export * from './extended-api.js'; | ||
export * from './path.js'; | ||
export * from './watch-api.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -13,7 +13,7 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./base-api"), exports); | ||
__exportStar(require("./common-fs-types"), exports); | ||
__exportStar(require("./extended-api"), exports); | ||
__exportStar(require("./path"), exports); | ||
__exportStar(require("./watch-api"), exports); | ||
__exportStar(require("./base-api.js"), exports); | ||
__exportStar(require("./common-fs-types.js"), exports); | ||
__exportStar(require("./extended-api.js"), exports); | ||
__exportStar(require("./path.js"), exports); | ||
__exportStar(require("./watch-api.js"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import type { IFileSystemStats } from './common-fs-types'; | ||
import type { IFileSystemStats } from './common-fs-types.js'; | ||
/** | ||
@@ -3,0 +3,0 @@ * File watching service. |
{ | ||
"name": "@file-services/types", | ||
"description": "Common file system interfaces", | ||
"version": "5.3.1", | ||
"version": "5.4.0", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "files": [ |
@@ -9,5 +9,5 @@ import type { | ||
IDirectoryEntry, | ||
} from './common-fs-types'; | ||
import type { IFileSystemPath } from './path'; | ||
import type { IWatchService } from './watch-api'; | ||
} from './common-fs-types.js'; | ||
import type { IFileSystemPath } from './path.js'; | ||
import type { IWatchService } from './watch-api.js'; | ||
@@ -69,3 +69,3 @@ /** | ||
directoryPath: string, | ||
options: { encoding?: BufferEncoding | null; withFileTypes?: false } | BufferEncoding | null | undefined, | ||
options: { encoding: BufferEncoding | null; withFileTypes?: false } | BufferEncoding | null | undefined, | ||
callback: CallbackFn<string[]> | ||
@@ -72,0 +72,0 @@ ): void; |
@@ -7,5 +7,5 @@ import type { | ||
IDirectoryEntry, | ||
} from './common-fs-types'; | ||
import type { IFileSystemPath } from './path'; | ||
import type { IWatchService } from './watch-api'; | ||
} from './common-fs-types.js'; | ||
import type { IFileSystemPath } from './path.js'; | ||
import type { IWatchService } from './watch-api.js'; | ||
@@ -68,3 +68,3 @@ /** | ||
directoryPath: string, | ||
options?: { encoding?: BufferEncoding | null; withFileTypes?: false } | BufferEncoding | null | ||
options?: { encoding: BufferEncoding | null; withFileTypes?: false } | BufferEncoding | null | ||
): string[]; | ||
@@ -71,0 +71,0 @@ readdirSync(directoryPath: string, options: { withFileTypes: true }): IDirectoryEntry[]; |
@@ -1,6 +0,6 @@ | ||
import type { IBaseFileSystemSync } from './base-api-sync'; | ||
import type { IBaseFileSystemAsync } from './base-api-async'; | ||
import type { IBaseFileSystemSync } from './base-api-sync.js'; | ||
import type { IBaseFileSystemAsync } from './base-api-async.js'; | ||
export * from './base-api-sync'; | ||
export * from './base-api-async'; | ||
export * from './base-api-sync.js'; | ||
export * from './base-api-async.js'; | ||
@@ -7,0 +7,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import type { IDirectoryContents, IWalkOptions, BufferEncoding } from './common-fs-types'; | ||
import type { IBaseFileSystemAsync, IBaseFileSystemPromiseActions } from './base-api-async'; | ||
import type { IDirectoryContents, IWalkOptions, BufferEncoding } from './common-fs-types.js'; | ||
import type { IBaseFileSystemAsync, IBaseFileSystemPromiseActions } from './base-api-async.js'; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,3 +0,3 @@ | ||
import type { IWalkOptions, IDirectoryContents, BufferEncoding } from './common-fs-types'; | ||
import type { IBaseFileSystemSync } from './base-api-sync'; | ||
import type { IWalkOptions, IDirectoryContents, BufferEncoding } from './common-fs-types.js'; | ||
import type { IBaseFileSystemSync } from './base-api-sync.js'; | ||
@@ -4,0 +4,0 @@ /** |
@@ -1,6 +0,6 @@ | ||
import type { IFileSystemSync } from './extended-api-sync'; | ||
import type { IFileSystemAsync } from './extended-api-async'; | ||
import type { IFileSystemSync } from './extended-api-sync.js'; | ||
import type { IFileSystemAsync } from './extended-api-async.js'; | ||
export * from './extended-api-sync'; | ||
export * from './extended-api-async'; | ||
export * from './extended-api-sync.js'; | ||
export * from './extended-api-async.js'; | ||
@@ -7,0 +7,0 @@ /** |
@@ -1,5 +0,5 @@ | ||
export * from './base-api'; | ||
export * from './common-fs-types'; | ||
export * from './extended-api'; | ||
export * from './path'; | ||
export * from './watch-api'; | ||
export * from './base-api.js'; | ||
export * from './common-fs-types.js'; | ||
export * from './extended-api.js'; | ||
export * from './path.js'; | ||
export * from './watch-api.js'; |
@@ -1,2 +0,2 @@ | ||
import type { IFileSystemStats } from './common-fs-types'; | ||
import type { IFileSystemStats } from './common-fs-types.js'; | ||
@@ -3,0 +3,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73773