Actualizar file-entry-cache de 10.x a 11.x
Comparación de la API pública de file-entry-cache 10.1.4 y 11.1.5, calculada automáticamente a partir de sus tipos TypeScript. Una firma modificada es un posible cambio incompatible, no una certeza.
Resumen
| Rutas de importación eliminadas | 0 |
|---|---|
| Exports eliminados | 0 |
| Firmas modificadas | 5 |
| Miembros de clases o interfaces eliminados | 3 |
| Miembros de clases o interfaces modificados | 5 |
| Nuevas deprecaciones | 0 |
| Cambios de requisitos (engines, dependencias peer) | 0 |
| Exports nuevos | 2 |
Exports eliminados
No se detectaron.
Firmas modificadas
| export | Antes | Después |
|---|---|---|
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; } |
Miembros de clases o interfaces eliminados
| 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 |
Miembros de clases o interfaces modificados
| member | Antes | Después |
|---|---|---|
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 |
Nuevas deprecaciones
No se detectaron.
Cambios de requisitos (engines, dependencias peer)
No se detectaron.
Exports nuevos (2)
| import | export | kind |
|---|---|---|
file-entry-cache | ILogger | type |
file-entry-cache | CreateOptions | type |
Preguntas frecuentes
¿Cuáles son los cambios incompatibles al actualizar file-entry-cache de 10 a 11?
Entre file-entry-cache 10.1.4 y 11.1.5, Vigia encontró 0 exports eliminados, 5 firmas modificadas y 8 miembros de clases o interfaces eliminados o modificados.
¿Qué quedó deprecado en file-entry-cache 11?
0 exports o miembros quedaron marcados como deprecados en 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