Vigia

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 eliminadas0
Exports eliminados0
Firmas modificadas5
Miembros de clases o interfaces eliminados3
Miembros de clases o interfaces modificados5
Nuevas deprecaciones0
Cambios de requisitos (engines, dependencias peer)0
Exports nuevos2

Exports eliminados

No se detectaron.

Firmas modificadas

exportAntesDespué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

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

Miembros de clases o interfaces modificados

memberAntesDespué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)
importexportkind
file-entry-cacheILoggertype
file-entry-cacheCreateOptionstype

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