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; } |
削除されたクラス/インターフェースのメンバー
| member | import | 変更前 |
|---|---|---|
FileEntryCache.renameAbsolutePathKeys | file-entry-cache | (oldPath: string, newPath: string): void |
FileEntryCache.currentWorkingDirectory | file-entry-cache | string | undefined |
FileEntryCache._currentWorkingDirectory | file-entry-cache | any |
変更されたクラス/インターフェースのメンバー
| 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)
| import | export | kind |
|---|---|---|
file-entry-cache | ILogger | type |
file-entry-cache | CreateOptions | type |
よくある質問
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