Vigia

file-entry-cache を 10.x から 11.x へアップグレード

file-entry-cache 10.1.4 と 11.1.5 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。

概要

削除されたインポートパス0
削除されたエクスポート0
変更されたシグネチャ5
削除されたクラス/インターフェースのメンバー3
変更されたクラス/インターフェースのメンバー5
新たに非推奨0
要件の変更(engines、peer 依存関係)0
新しいエクスポート2

削除されたエクスポート

検出されませんでした。

変更されたシグネチャ

export変更前変更後
file-entry-cache · create(cacheId: string, cacheDirectory?: string | undefined, useCheckSum?: boolean | undefined, currentWorkingDirectory?: string | undefined): FileEntryCache(cacheId: string, cacheDirectory?: string | undefined, options?: CreateOptions | undefined): FileEntryCache
file-entry-cache · createFromFile(filePath: string, useCheckSum?: boolean | undefined, currentWorkingDirectory?: string | undefined): FileEntryCache(filePath: string, options?: CreateOptions | undefined): FileEntryCache
file-entry-cache · FileDescriptorMeta{ size?: number | undefined; mtime?: number | undefined; hash?: string | undefined; data?: unknown; }{ [key: string]: unknown; size?: number | undefined; mtime?: number | undefined; hash?: string | undefined; data?: unknown; }
file-entry-cache · FileEntryCacheOptions{ currentWorkingDirectory?: string | undefined; useModifiedTime?: boolean | undefined; useCheckSum?: boolean | undefined; hashAlgorithm?: string | undefined; cache?: any; }{ useModifiedTime?: boolean | undefined; useCheckSum?: boolean | undefined; hashAlgorithm?: string | undefined; cwd?: string | undefined; restrictAccessToCwd?: boolean | undefined; useAbsolutePathAsKey?: boolean | undefined; logger?: ILogger | undefined; cache?: any; }
file-entry-cache · GetFileDescriptorOptions{ useCheckSum?: boolean | undefined; useModifiedTime?: boolean | undefined; currentWorkingDirectory?: string | undefined; }{ useCheckSum?: boolean | undefined; useModifiedTime?: boolean | undefined; }

削除されたクラス/インターフェースのメンバー

memberimport変更前
FileEntryCache.renameAbsolutePathKeysfile-entry-cache(oldPath: string, newPath: string): void
FileEntryCache.currentWorkingDirectoryfile-entry-cachestring | undefined
FileEntryCache._currentWorkingDirectoryfile-entry-cacheany

変更されたクラス/インターフェースのメンバー

member変更前変更後
default.static create(cacheId: string, cacheDirectory?: string | undefined, useCheckSum?: boolean | undefined, currentWorkingDirectory?: string | undefined): FileEntryCache(cacheId: string, cacheDirectory?: string | undefined, options?: CreateOptions | undefined): FileEntryCache
default.static createFromFile(filePath: string, useCheckSum?: boolean | undefined, currentWorkingDirectory?: string | undefined): FileEntryCache(filePath: string, options?: CreateOptions | undefined): FileEntryCache
FileEntryCache.removeEntry(filePath: string, options?: { currentWorkingDirectory?: string | undefined; } | undefined): void(filePath: string): void
FileEntryCache.createFileKey(filePath: string, options?: { currentWorkingDirectory?: string | undefined; } | undefined): string(filePath: string): string
FileEntryCache.getAbsolutePath(filePath: string, options?: { currentWorkingDirectory?: string | undefined; } | undefined): string(filePath: string): string

新たに非推奨

検出されませんでした。

要件の変更(engines、peer 依存関係)

検出されませんでした。

新しいエクスポート (2)
importexportkind
file-entry-cacheILoggertype
file-entry-cacheCreateOptionstype

よくある質問

file-entry-cache を 10 から 11 にアップグレードする際の破壊的変更は?

file-entry-cache 10.1.4 と 11.1.5 の間で、Vigia は削除されたエクスポートを 0 件、変更されたシグネチャを 5 件、削除または変更されたクラス/インターフェースのメンバーを 8 件検出しました。

file-entry-cache 11 で非推奨になったものは?

file-entry-cache 11.1.5 では 0 件のエクスポートまたはメンバーが新たに非推奨になりました。

エージェント向け

GET https://vigia.coredls.cloud/v1/packages/npm/file-entry-cache/upgrade?from=10.1.4&to=11.1.5