file-entry-cache을(를) 10.x에서 11.x로 업그레이드하기
file-entry-cache 10.1.4과 11.1.5의 공개 API를 TypeScript 타입에서 자동으로 비교한 결과입니다. 시그니처 변경은 호환성이 깨질 가능성이 있다는 뜻이며 확정은 아닙니다.
요약
| 삭제된 import 경로 | 0 |
|---|---|
| 삭제된 export | 0 |
| 변경된 시그니처 | 5 |
| 삭제된 클래스·인터페이스 멤버 | 3 |
| 변경된 클래스·인터페이스 멤버 | 5 |
| 새로 지원 중단됨 | 0 |
| 요구 사항 변경 (engines, peer 의존성) | 0 |
| 새 export | 2 |
삭제된 export
감지되지 않았습니다.
변경된 시그니처
| 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 의존성)
감지되지 않았습니다.
새 export (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는 삭제된 export 0개, 변경된 시그니처 5개, 삭제되거나 변경된 클래스·인터페이스 멤버 8개를 찾았습니다.
file-entry-cache 11에서 지원 중단된 것은 무엇인가요?
file-entry-cache 11.1.5에서 export 또는 멤버 0개가 새로 지원 중단으로 표시되었습니다.
에이전트용
GET https://vigia.coredls.cloud/v1/packages/npm/file-entry-cache/upgrade?from=10.1.4&to=11.1.5