Vigia

flat-cache को 5.x से 6.x पर अपग्रेड करना

flat-cache 5.0.0 और 6.1.23 के सार्वजनिक API की तुलना, उनके TypeScript टाइप से अपने-आप निकाली गई। बदला हुआ सिग्नेचर संभावित असंगत बदलाव है, निश्चितता नहीं।

सारांश

हटाए गए इम्पोर्ट पाथ0
हटाए गए एक्सपोर्ट2
बदले गए सिग्नेचर4
क्लास या इंटरफ़ेस के हटाए गए सदस्य0
क्लास या इंटरफ़ेस के बदले गए सदस्य0
नए डिप्रिकेटेड0
आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)1
नए एक्सपोर्ट4

हटाए गए एक्सपोर्ट

importexportkindपहले
flat-cacheloadfunction(cacheId: string, cacheDir?: string | undefined): Cache
flat-cacheCacheinterfaceinterface

बदले गए सिग्नेचर

exportपहलेबाद में
flat-cache · create(cacheId: string, cacheDir?: string | undefined): Cache(options?: FlatCacheOptions | undefined): FlatCache
flat-cache · clearAll(cacheDir?: string | undefined): boolean(cacheDirectory?: string | undefined): void
flat-cache · clearCacheById(cacheId: string, cacheDir?: string | undefined): boolean(cacheId: string, cacheDirectory?: string | undefined): void
flat-cache · createFromFile(filePath: string): Cache(filePath: string, options?: FlatCacheOptions | undefined): FlatCache

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

कुछ नहीं मिला।

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

कुछ नहीं मिला।

नए डिप्रिकेटेड

कुछ नहीं मिला।

आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)

पहलेबाद में
engines.node>=18—
नए एक्सपोर्ट (4)
importexportkind
flat-cachedefaultclass
flat-cacheFlatCacheclass
flat-cacheFlatCacheEventsenum
flat-cacheFlatCacheOptionstype

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

flat-cache को 5 से 6 पर अपग्रेड करने पर कौन-से असंगत बदलाव हैं?

flat-cache 5.0.0 और 6.1.23 के बीच Vigia को 2 हटाए गए एक्सपोर्ट, 4 बदले गए सिग्नेचर और 0 हटाए या बदले गए क्लास/इंटरफ़ेस सदस्य मिले।

flat-cache 6 में क्या डिप्रिकेट हुआ?

flat-cache 6.1.23 में 0 एक्सपोर्ट या सदस्य नए रूप से डिप्रिकेटेड चिह्नित हैं।

एजेंटों के लिए

GET https://vigia.coredls.cloud/v1/packages/npm/flat-cache/upgrade?from=5.0.0&to=6.1.23