Atualizar file-entry-cache de 10.x para 11.x
Comparação da API pública de file-entry-cache 10.1.4 e 11.1.5, calculada automaticamente a partir dos tipos TypeScript. Uma assinatura alterada é uma possível mudança incompatível, não uma certeza.
Resumo
| Caminhos de importação removidos | 0 |
|---|---|
| Exports removidos | 0 |
| Assinaturas alteradas | 5 |
| Membros de classes ou interfaces removidos | 3 |
| Membros de classes ou interfaces alterados | 5 |
| Novas descontinuações | 0 |
| Mudanças de requisitos (engines, dependências peer) | 0 |
| Novos exports | 2 |
Exports removidos
Nenhuma detectada.
Assinaturas alteradas
| export | Antes | Depois |
|---|---|---|
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; } |
Membros de classes ou interfaces removidos
| member | import | Antes |
|---|---|---|
FileEntryCache.renameAbsolutePathKeys | file-entry-cache | (oldPath: string, newPath: string): void |
FileEntryCache.currentWorkingDirectory | file-entry-cache | string | undefined |
FileEntryCache._currentWorkingDirectory | file-entry-cache | any |
Membros de classes ou interfaces alterados
| member | Antes | Depois |
|---|---|---|
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 |
Novas descontinuações
Nenhuma detectada.
Mudanças de requisitos (engines, dependências peer)
Nenhuma detectada.
Novos exports (2)
| import | export | kind |
|---|---|---|
file-entry-cache | ILogger | type |
file-entry-cache | CreateOptions | type |
Perguntas frequentes
Quais são as mudanças incompatíveis ao atualizar file-entry-cache de 10 para 11?
Entre file-entry-cache 10.1.4 e 11.1.5, o Vigia encontrou 0 exports removidos, 5 assinaturas alteradas e 8 membros de classes ou interfaces removidos ou alterados.
O que foi descontinuado em file-entry-cache 11?
0 exports ou membros foram marcados como descontinuados em file-entry-cache 11.1.5.
Para agentes
GET https://vigia.coredls.cloud/v1/packages/npm/file-entry-cache/upgrade?from=10.1.4&to=11.1.5