Vigia

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; }

क्लास या इंटरफ़ेस के हटाए गए सदस्य

memberimportपहले
FileEntryCache.renameAbsolutePathKeysfile-entry-cache(oldPath: string, newPath: string): void
FileEntryCache.currentWorkingDirectoryfile-entry-cachestring | undefined
FileEntryCache._currentWorkingDirectoryfile-entry-cacheany

क्लास या इंटरफ़ेस के बदले गए सदस्य

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

अक्सर पूछे जाने वाले प्रश्न

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