-
+
diff --git a/app/utils/resolve-replacement-url.ts b/app/utils/resolve-replacement-url.ts
new file mode 100644
index 0000000000..e34a5d0b22
--- /dev/null
+++ b/app/utils/resolve-replacement-url.ts
@@ -0,0 +1,17 @@
+import type { KnownUrl } from 'module-replacements'
+
+export function resolveReplacementUrl(url?: KnownUrl): string | null {
+ if (!url) return null
+ if (typeof url === 'string') return url
+
+ switch (url.type) {
+ case 'mdn':
+ return `https://developer.mozilla.org/en-US/docs/${url.id}`
+ case 'node':
+ return `https://nodejs.org/${url.id}`
+ case 'e18e':
+ return `https://e18e.dev/docs/replacements/${url.id}`
+ default:
+ return null
+ }
+}
diff --git a/i18n/locales/ar.json b/i18n/locales/ar.json
index 0f564fc8b7..b68c14b9a9 100644
--- a/i18n/locales/ar.json
+++ b/i18n/locales/ar.json
@@ -76,6 +76,10 @@
"links": "روابط",
"tap_to_search": "اضغط للبحث"
},
+ "blog": {
+ "author": {},
+ "atproto": {}
+ },
"settings": {
"title": "الإعدادات",
"tagline": "تخصيص تجربتك على npmx",
@@ -118,6 +122,7 @@
"edit_on_github": "تعديل على GitHub",
"view_guide": "دليل الترجمة"
},
+ "error": {},
"common": {
"loading": "جارٍ التحميل…",
"loading_more": "جارٍ تحميل المزيد…",
@@ -145,6 +150,9 @@
"github": "عرض على GitHub"
}
},
+ "profile": {
+ "invite": {}
+ },
"package": {
"not_found": "لم يتم العثور على الحزمة",
"not_found_message": "تعذّر العثور على الحزمة.",
@@ -157,6 +165,7 @@
"version": "تم إهمال هذا الإصدار.",
"no_reason": "لم يتم تقديم سبب"
},
+ "size_increase": {},
"replacement": {
"title": "قد لا تحتاج إلى هذه التبعية.",
"native": "يمكن استبدالها بـ {replacement}، المتوفرة منذ Node {nodeVersion}.",
@@ -165,7 +174,6 @@
"none": "تم وضع علامة على هذه الحزمة بأنها لم تعد مطلوبة، ومن المرجح أن وظيفتها متاحة أصلًا في جميع المحركات.",
"learn_more": "اعرف المزيد",
"learn_more_above": "اعرف المزيد أعلاه.",
- "mdn": "MDN",
"community": "المجتمع",
"consider_no_dep": "+ هل تريد خيار «بدون تبعية»؟"
},
@@ -303,7 +311,8 @@
"filter_help": "مساعدة فلتر نطاق semver",
"filter_tooltip": "فلترة الإصدارات باستخدام {link}. مثلاً ^3.0.0 يعرض كل إصدارات 3.x.",
"filter_tooltip_link": "نطاق semver",
- "no_matches": "لا توجد إصدارات تطابق هذا النطاق"
+ "no_matches": "لا توجد إصدارات تطابق هذا النطاق",
+ "copy_alt": {}
},
"dependencies": {
"title": "التبعيات ({count})",
@@ -363,7 +372,8 @@
"downloads": "التنزيلات",
"likes": "الإعجابات",
"contributors": "المساهمون"
- }
+ },
+ "copy_alt": {}
},
"downloads": {
"title": "التنزيلات الأسبوعية",
@@ -810,6 +820,8 @@
"managers": "مديري"
}
},
+ "sponsors": {},
+ "oss_partners": {},
"team": {
"title": "الفريق",
"governance": "الحوكمة",
@@ -837,6 +849,7 @@
"description": "تحدث، اطرح الأسئلة، وشارك الأفكار.",
"cta": "انضم إلى Discord"
},
+ "builders": {},
"follow": {
"title": "ابقَ على اطلاع",
"description": "اكتشف آخر الأخبار عن npmx.",
@@ -1009,7 +1022,14 @@
"trends": {
"title": "مقارنة التوجهات"
}
- }
+ },
+ "file_filter_option": {},
+ "filter": {}
+ },
+ "pds": {
+ "join": {},
+ "server": {},
+ "community": {}
},
"privacy_policy": {
"title": "سياسة الخصوصية",
diff --git a/i18n/locales/az-AZ.json b/i18n/locales/az-AZ.json
index aae98eeef1..72f5a73b99 100644
--- a/i18n/locales/az-AZ.json
+++ b/i18n/locales/az-AZ.json
@@ -239,7 +239,6 @@
"none": "Bu paket artıq lazımsız olaraq qeyd edilib və funksionallığı bütün mühərriklərdə yerli olaraq mövcuddur.",
"learn_more": "Ətraflı öyrən",
"learn_more_above": "Yuxarıda ətraflı öyrənin.",
- "mdn": "MDN",
"community": "icma",
"consider_no_dep": "+ Asılılıqsız düşünün?"
},
diff --git a/i18n/locales/bg-BG.json b/i18n/locales/bg-BG.json
index b633cc5d66..f0ac183c16 100644
--- a/i18n/locales/bg-BG.json
+++ b/i18n/locales/bg-BG.json
@@ -202,7 +202,6 @@
"none": "Този пакет е отбелязан като вече ненужен и функционалността му вероятно е налична нативно във всички двигатели.",
"learn_more": "Научете повече",
"learn_more_above": "Научете повече по-горе.",
- "mdn": "MDN",
"community": "общност",
"consider_no_dep": "+ Обмислете без зависимости?"
},
diff --git a/i18n/locales/bn-IN.json b/i18n/locales/bn-IN.json
index 9118c95d8e..da554b3978 100644
--- a/i18n/locales/bn-IN.json
+++ b/i18n/locales/bn-IN.json
@@ -53,6 +53,10 @@
"links": "লিংকগুলি",
"tap_to_search": "অনুসন্ধানের জন্য ট্যাপ করুন"
},
+ "blog": {
+ "author": {},
+ "atproto": {}
+ },
"settings": {
"title": "সেটিংস",
"tagline": "আপনার npmx অভিজ্ঞতা কাস্টমাইজ করুন",
@@ -86,6 +90,7 @@
"edit_on_github": "GitHub এ সম্পাদনা করুন",
"view_guide": "অনুবাদ গাইড"
},
+ "error": {},
"common": {
"loading": "লোড হচ্ছে...",
"loading_more": "আরো লোড হচ্ছে...",
@@ -112,6 +117,9 @@
"github": "GitHub এ দেখুন"
}
},
+ "profile": {
+ "invite": {}
+ },
"package": {
"not_found": "প্যাকেজ পাওয়া যায়নি",
"not_found_message": "প্যাকেজ পাওয়া যায়নি।",
@@ -124,6 +132,7 @@
"version": "এই ভার্সনটি নিষ্ক্রিয় করা হয়েছে।",
"no_reason": "কোনো কারণ দেওয়া হয়নি"
},
+ "size_increase": {},
"replacement": {
"title": "আপনার এই ডিপেনডেন্সির প্রয়োজন নাও হতে পারে।",
"native": "এটিকে {replacement} দিয়ে প্রতিস্থাপন করা যেতে পারে, যা Node {nodeVersion} থেকে উপলব্ধ।",
@@ -131,7 +140,6 @@
"documented": "{community} এই প্যাকেজটিকে আরো ভাল পারফরম্যান্স অপশন হিসাবে চিহ্নিত করেছে।",
"none": "এই প্যাকেজটি এখন অনাবশ্যক হিসাবে চিহ্নিত, এবং এর কার্যকরিতা সমস্ত ইঞ্জিনে নেটিভভাবে উপলব্ধ হওয়ার সম্ভাবনা আছে।",
"learn_more": "আরো জানুন",
- "mdn": "MDN",
"community": "কমিউনিটি"
},
"stats": {
@@ -219,7 +227,8 @@
"more_tagged": "{count}টি আরো ট্যাগ করা",
"all_covered": "সব ভার্সন উপরের ট্যাগ দ্বারা আবৃত",
"deprecated_title": "{version} (নিষ্ক্রিয়)",
- "view_all": "{count}টি ভার্সন দেখুন | সব {count}টি ভার্সন দেখুন"
+ "view_all": "{count}টি ভার্সন দেখুন | সব {count}টি ভার্সন দেখুন",
+ "copy_alt": {}
},
"dependencies": {
"title": "নির্ভরতা ({count})",
@@ -268,7 +277,8 @@
"date_range_multiline": "{start}\nথেকে {end}",
"download_file": "{fileType} ডাউনলোড করুন",
"toggle_annotator": "অ্যানোটেটর টগল করুন",
- "items": {}
+ "items": {},
+ "copy_alt": {}
},
"downloads": {
"title": "সাপ্তাহিক ডাউনলোড"
@@ -697,6 +707,8 @@
"managers": "ম্যানেজার"
}
},
+ "sponsors": {},
+ "oss_partners": {},
"team": {},
"contributors": {
"title": "অবদানকারী",
@@ -717,6 +729,7 @@
"description": "চ্যাট করুন, প্রশ্ন জিজ্ঞাসা করুন এবং ধারণা শেয়ার করুন।",
"cta": "Discord এ যোগ দিন"
},
+ "builders": {},
"follow": {
"title": "আপডেট পান",
"description": "npmx এর সর্বশেষ তথ্য পান।",
@@ -828,7 +841,14 @@
},
"values": {},
"trends": {}
- }
+ },
+ "file_filter_option": {},
+ "filter": {}
+ },
+ "pds": {
+ "join": {},
+ "server": {},
+ "community": {}
},
"privacy_policy": {
"cookies": {
diff --git a/i18n/locales/cs-CZ.json b/i18n/locales/cs-CZ.json
index 83a47443ad..101ae2e298 100644
--- a/i18n/locales/cs-CZ.json
+++ b/i18n/locales/cs-CZ.json
@@ -249,7 +249,6 @@
"none": "Tento balíček byl označen jako již nepotřebný a jeho funkčnost je pravděpodobně dostupná nativně ve všech enginech.",
"learn_more": "Zjistit více",
"learn_more_above": "Zjistit více výše.",
- "mdn": "MDN",
"community": "komunita",
"consider_no_dep": "+ Zvážit žádnou závislost?"
},
diff --git a/i18n/locales/de-DE.json b/i18n/locales/de-DE.json
index dfe3e2588c..80c0c293a4 100644
--- a/i18n/locales/de-DE.json
+++ b/i18n/locales/de-DE.json
@@ -239,7 +239,6 @@
"none": "Dieses Paket wurde als nicht mehr nötig markiert, und seine Funktionalität ist wahrscheinlich in allen Engines nativ verfügbar.",
"learn_more": "Mehr erfahren",
"learn_more_above": "Erfahre oben mehr.",
- "mdn": "MDN",
"community": "Community",
"consider_no_dep": "+ Ohne Abhängigkeit lösen?"
},
diff --git a/i18n/locales/en.json b/i18n/locales/en.json
index 02082388c3..2566f52f08 100644
--- a/i18n/locales/en.json
+++ b/i18n/locales/en.json
@@ -245,13 +245,14 @@
},
"replacement": {
"title": "You might not need this dependency.",
+ "example": "Example:",
"native": "This can be replaced with {replacement}, available since Node {nodeVersion}.",
+ "native_no_version": "This can be replaced with {replacement}.",
"simple": "The {community} has flagged this package as redundant, with the advice: {replacement}.",
"documented": "The {community} has flagged this package as having more performant alternatives.",
"none": "This package has been flagged as no longer needed, and its functionality is likely available natively in all engines.",
"learn_more": "Learn more",
"learn_more_above": "Learn more above.",
- "mdn": "MDN",
"community": "community",
"consider_no_dep": "+ Consider no dep?"
},
diff --git a/i18n/locales/es.json b/i18n/locales/es.json
index 72995686a9..78e21bfe57 100644
--- a/i18n/locales/es.json
+++ b/i18n/locales/es.json
@@ -251,7 +251,6 @@
"none": "Este paquete se ha marcado como ya no necesario y es probable que su funcionalidad esté disponible de forma nativa en todos los motores.",
"learn_more": "Más información",
"learn_more_above": "Más información arriba.",
- "mdn": "MDN",
"community": "comunidad",
"consider_no_dep": "+ ¿Considerar sin dependencia?"
},
diff --git a/i18n/locales/fr-FR.json b/i18n/locales/fr-FR.json
index e8c3385e53..40ea5659db 100644
--- a/i18n/locales/fr-FR.json
+++ b/i18n/locales/fr-FR.json
@@ -239,7 +239,6 @@
"none": "Ce paquet a été signalé comme n'étant plus nécessaire, et sa fonctionnalité est probablement disponible nativement dans tous les moteurs.",
"learn_more": "En savoir plus",
"learn_more_above": "En savoir plus ci-dessus.",
- "mdn": "MDN",
"community": "communauté",
"consider_no_dep": "+ Envisager sans dépendance ?"
},
diff --git a/i18n/locales/hi-IN.json b/i18n/locales/hi-IN.json
index 6840614575..7cdac1e1e1 100644
--- a/i18n/locales/hi-IN.json
+++ b/i18n/locales/hi-IN.json
@@ -54,6 +54,10 @@
"links": "लिंक",
"tap_to_search": "खोजने के लिए टैप करें"
},
+ "blog": {
+ "author": {},
+ "atproto": {}
+ },
"settings": {
"title": "सेटिंग्स",
"tagline": "अपने npmx अनुभव को अनुकूलित करें",
@@ -87,6 +91,7 @@
"edit_on_github": "GitHub पर संपादित करें",
"view_guide": "अनुवाद गाइड"
},
+ "error": {},
"common": {
"loading": "लोड हो रहा है...",
"loading_more": "और लोड हो रहा है...",
@@ -113,6 +118,9 @@
"github": "GitHub पर देखें"
}
},
+ "profile": {
+ "invite": {}
+ },
"package": {
"not_found": "पैकेज नहीं मिला",
"not_found_message": "पैकेज नहीं मिल सका।",
@@ -125,6 +133,7 @@
"version": "यह संस्करण डेप्रीकेट कर दिया गया है।",
"no_reason": "कोई कारण प्रदान नहीं किया गया"
},
+ "size_increase": {},
"replacement": {
"title": "आपको इस निर्भरता की आवश्यकता नहीं हो सकती।",
"native": "इसे {replacement} से बदला जा सकता है, जो Node {nodeVersion} से उपलब्ध है।",
@@ -132,7 +141,6 @@
"documented": "{community} ने इस पैकेज को अधिक प्रदर्शनकारी विकल्पों के रूप में फ़्लैग किया है।",
"none": "यह पैकेज अब आवश्यक नहीं होने के रूप में फ़्लैग किया गया है, और इसकी कार्यक्षमता सभी इंजनों में नेटिवली उपलब्ध होने की संभावना है।",
"learn_more": "और जानें",
- "mdn": "MDN",
"community": "समुदाय"
},
"stats": {
@@ -220,7 +228,8 @@
"more_tagged": "{count} और टैग किए गए",
"all_covered": "सभी संस्करण ऊपर के टैग्स द्वारा कवर किए गए हैं",
"deprecated_title": "{version} (डेप्रीकेटेड)",
- "view_all": "{count} संस्करण देखें | सभी {count} संस्करण देखें"
+ "view_all": "{count} संस्करण देखें | सभी {count} संस्करण देखें",
+ "copy_alt": {}
},
"dependencies": {
"title": "निर्भरताएँ ({count})",
@@ -269,7 +278,8 @@
"date_range_multiline": "{start}\nसे {end}",
"download_file": "{fileType} डाउनलोड करें",
"toggle_annotator": "एनोटेटर टॉगल करें",
- "items": {}
+ "items": {},
+ "copy_alt": {}
},
"downloads": {
"title": "साप्ताहिक डाउनलोड्स"
@@ -698,6 +708,8 @@
"managers": "मैनेजर"
}
},
+ "sponsors": {},
+ "oss_partners": {},
"team": {},
"contributors": {
"title": "योगदानकर्ता",
@@ -718,6 +730,7 @@
"description": "चैट करें, प्रश्न पूछें, और विचार साझा करें।",
"cta": "Discord से जुड़ें"
},
+ "builders": {},
"follow": {
"title": "अद्यतन रहें",
"description": "npmx पर नवीनतम जानकारी प्राप्त करें।",
@@ -829,7 +842,14 @@
},
"values": {},
"trends": {}
- }
+ },
+ "file_filter_option": {},
+ "filter": {}
+ },
+ "pds": {
+ "join": {},
+ "server": {},
+ "community": {}
},
"privacy_policy": {
"cookies": {
diff --git a/i18n/locales/hu-HU.json b/i18n/locales/hu-HU.json
index 8040f4d48d..4aade36445 100644
--- a/i18n/locales/hu-HU.json
+++ b/i18n/locales/hu-HU.json
@@ -202,7 +202,6 @@
"none": "Ez a csomag feleslegesnek lett jelölve, a funkció valószínűleg natívan elérhető.",
"learn_more": "Tudj meg többet",
"learn_more_above": "Tudj meg többet fentebb.",
- "mdn": "MDN",
"community": "közösség",
"consider_no_dep": "+ Fontold meg a függőség nélkülözést?"
},
diff --git a/i18n/locales/id-ID.json b/i18n/locales/id-ID.json
index 0f13dd00e5..ff813c0c27 100644
--- a/i18n/locales/id-ID.json
+++ b/i18n/locales/id-ID.json
@@ -251,7 +251,6 @@
"none": "Paket ini ditandai sudah tidak diperlukan, fungsinya kemungkinan sudah tersedia secara bawaan (native).",
"learn_more": "Pelajari lebih lanjut",
"learn_more_above": "Pelajari selengkapnya di atas.",
- "mdn": "MDN",
"community": "komunitas",
"consider_no_dep": "+ Pertimbangkan tanpa dependensi?"
},
diff --git a/i18n/locales/it-IT.json b/i18n/locales/it-IT.json
index 52c6f8d235..8b84b04aa4 100644
--- a/i18n/locales/it-IT.json
+++ b/i18n/locales/it-IT.json
@@ -76,6 +76,10 @@
"links": "Link",
"tap_to_search": "Tocca per cercare"
},
+ "blog": {
+ "author": {},
+ "atproto": {}
+ },
"settings": {
"title": "impostazioni",
"tagline": "personalizza la tua esperienza npmx",
@@ -118,6 +122,7 @@
"edit_on_github": "Modifica su GitHub",
"view_guide": "Guida alla traduzione"
},
+ "error": {},
"common": {
"loading": "Caricando...",
"loading_more": "Caricando altri...",
@@ -145,6 +150,9 @@
"github": "Vedi su GitHub"
}
},
+ "profile": {
+ "invite": {}
+ },
"package": {
"not_found": "Pacchetto Non Trovato",
"not_found_message": "Impossibile trovare il pacchetto.",
@@ -172,7 +180,6 @@
"none": "Questo pacchetto è stato segnalato come non più necessario, e la sua funzionalità è probabilmente disponibile nativamente in tutti i motori.",
"learn_more": "Scopri di più",
"learn_more_above": "Scopri di più sopra",
- "mdn": "MDN",
"community": "comunità",
"consider_no_dep": "Considera nessuna dipendenza?"
},
@@ -229,9 +236,9 @@
"title": "Inizia",
"pm_label": "Gestore di pacchetti",
"copy_command": "Copia comando di installazione",
- "view_types": "Vedi {package}",
"copy_dev_command": "Copia comando di installazione dev",
- "dev_dependency_hint": "Di solito installato come dev dependency"
+ "dev_dependency_hint": "Di solito installato come dev dependency",
+ "view_types": "Vedi {package}"
},
"create": {
"title": "Crea nuovo progetto",
@@ -297,7 +304,8 @@
"more_tagged": "{count} altri taggati",
"all_covered": "Tutte le versioni sono coperte dai tag sopra",
"deprecated_title": "{version} (deprecato)",
- "view_all": "Visualizza {count} versione | Visualizza tutte le {count} versioni"
+ "view_all": "Visualizza {count} versione | Visualizza tutte le {count} versioni",
+ "copy_alt": {}
},
"dependencies": {
"title": "Dipendenza ({count}) | Dipendenze ({count})",
@@ -351,7 +359,8 @@
"y_axis_label": "{granularity} {facet}",
"items": {
"downloads": "Download"
- }
+ },
+ "copy_alt": {}
},
"downloads": {
"title": "Download settimanali",
@@ -794,6 +803,8 @@
"managers": "gestori di pacchetti"
}
},
+ "sponsors": {},
+ "oss_partners": {},
"team": {},
"contributors": {
"title": "{count} Collaboratore | {count} Collaboratori",
@@ -814,6 +825,7 @@
"description": "Chatta, fai domande e condividi idee.",
"cta": "Unisciti a Discord"
},
+ "builders": {},
"follow": {
"title": "Rimani aggiornato",
"description": "Scopri le ultime novità su npmx.",
@@ -984,7 +996,14 @@
"up_to_you": "A tua scelta!"
},
"trends": {}
- }
+ },
+ "file_filter_option": {},
+ "filter": {}
+ },
+ "pds": {
+ "join": {},
+ "server": {},
+ "community": {}
},
"privacy_policy": {
"title": "Informativa sulla privacy",
diff --git a/i18n/locales/ja-JP.json b/i18n/locales/ja-JP.json
index a63e8f8343..5a5a4de8ec 100644
--- a/i18n/locales/ja-JP.json
+++ b/i18n/locales/ja-JP.json
@@ -249,7 +249,6 @@
"none": "このパッケージは不要になったとフラグが立てられています。その機能はすべてのエンジンでネイティブに利用できる可能性があります。",
"learn_more": "詳細はこちら",
"learn_more_above": "詳細は上記を確認してください。",
- "mdn": "MDN",
"community": "コミュニティ",
"consider_no_dep": "+ 依存関係なしを検討しますか?"
},
diff --git a/i18n/locales/kn-IN.json b/i18n/locales/kn-IN.json
index 51b8302df6..85e1dc8328 100644
--- a/i18n/locales/kn-IN.json
+++ b/i18n/locales/kn-IN.json
@@ -54,6 +54,10 @@
"links": "ಲಿಂಕ್ಗಳು",
"tap_to_search": "ಹುಡುಕಲು ಟ್ಯಾಪ್ ಮಾಡಿ"
},
+ "blog": {
+ "author": {},
+ "atproto": {}
+ },
"settings": {
"title": "ಸೆಟ್ಟಿಂಗ್ಗಳು",
"tagline": "ನಿಮ್ಮ npmx ಅನುಭವವನ್ನು ಕಸ್ಟಮೈಸ್ ಮಾಡಿ",
@@ -87,6 +91,7 @@
"edit_on_github": "GitHub ನಲ್ಲಿ ಸಂಪಾದಿಸಿ",
"view_guide": "ಅನುವಾದ ಮಾರ್ಗದರ್ಶಿ"
},
+ "error": {},
"common": {
"loading": "ಲೋಡ್ ಆಗುತ್ತಿದೆ...",
"loading_more": "ಇನ್ನಷ್ಟು ಲೋಡ್ ಆಗುತ್ತಿದೆ...",
@@ -113,6 +118,9 @@
"github": "GitHub ನಲ್ಲಿ ನೋಡಿ"
}
},
+ "profile": {
+ "invite": {}
+ },
"package": {
"not_found": "ಪ್ಯಾಕೇಜ್ ಕಂಡುಬಂದಿಲ್ಲ",
"not_found_message": "ಪ್ಯಾಕೇಜ್ ಕಂಡುಬಂದಿಲ್ಲ.",
@@ -125,6 +133,7 @@
"version": "ಈ ಆವೃತ್ತಿ ಅಮಾನ್ಯಗೊಳಿಸಲಾಗಿದೆ.",
"no_reason": "ಕಾರಣ ನೀಡಲಾಗಿಲ್ಲ"
},
+ "size_increase": {},
"replacement": {
"title": "ನಿಮಗೆ ಈ ಅವಲಂಬನೆ ಅಗತ್ಯವಿಲ್ಲದಿರಬಹುದು.",
"native": "ಇದನ್ನು {replacement} ಮೂಲಕ ಬದಲಾಯಿಸಬಹುದು, ಇದು Node {nodeVersion} ರಿಂದ ಲಭ್ಯವಿದೆ.",
@@ -132,7 +141,6 @@
"documented": "{community} ಈ ಪ್ಯಾಕೇಜ್ ಅನ್ನು ಉತ್ತಮ ಕಾರ್ಯಕ್ಷಮತೆಯ ಆಯ್ಕೆಯೆಂದು ಗುರುತಿಸಿದೆ.",
"none": "ಈ ಪ್ಯಾಕೇಜ್ ಈಗ ಅನಾವಶ್ಯಕವೆಂದು ಗುರುತಿಸಲಾಗಿದೆ ಮತ್ತು ಇದರ ಕಾರ್ಯಕ್ಷಮತೆ ಎಲ್ಲಾ ಎಂಜಿನ್ಗಳಲ್ಲಿ ನೆಟಿವ್ ಆಗಿ ಲಭ್ಯವಿರಬಹುದು.",
"learn_more": "ಇನ್ನಷ್ಟು ತಿಳಿದುಕೊಳ್ಳಿ",
- "mdn": "MDN",
"community": "ಸಮುದಾಯ"
},
"stats": {
@@ -220,7 +228,8 @@
"more_tagged": "{count} ಇನ್ನಷ್ಟು ಟ್ಯಾಗ್ ಮಾಡಲಾಗಿದೆ",
"all_covered": "ಎಲ್ಲಾ ಆವೃತ್ತಿಗಳು ಮೇಲಿನ ಟ್ಯಾಗ್ಗಳಿಂದ ಒಳಗೊಂಡಿವೆ",
"deprecated_title": "{version} (ಅಮಾನ್ಯಗೊಳಿಸಲಾಗಿದೆ)",
- "view_all": "{count} ಆವೃತ್ತಿ ನೋಡಿ | ಎಲ್ಲಾ {count} ಆವೃತ್ತಿಗಳನ್ನು ನೋಡಿ"
+ "view_all": "{count} ಆವೃತ್ತಿ ನೋಡಿ | ಎಲ್ಲಾ {count} ಆವೃತ್ತಿಗಳನ್ನು ನೋಡಿ",
+ "copy_alt": {}
},
"dependencies": {
"title": "ಅವಲಂಬನೆಗಳು ({count})",
@@ -269,7 +278,8 @@
"date_range_multiline": "{start}\nರಿಂದ {end}",
"download_file": "{fileType} ಡೌನ್ಲೋಡ್ ಮಾಡಿ",
"toggle_annotator": "ಅನೋಟೇಟರ್ ಟಾಗಲ್ ಮಾಡಿ",
- "items": {}
+ "items": {},
+ "copy_alt": {}
},
"downloads": {
"title": "ವಾರದ ಡೌನ್ಲೋಡ್ಗಳು"
@@ -698,6 +708,8 @@
"managers": "ನಿರ್ವಾಹಕರು"
}
},
+ "sponsors": {},
+ "oss_partners": {},
"team": {},
"contributors": {
"title": "ಸಹಯೋಗಿಗಳು",
@@ -718,6 +730,7 @@
"description": "ಚಾಟ್ ಮಾಡಿ, ಪ್ರಶ್ನೆಗಳು ಕೇಳಿ ಮತ್ತು ಆಲೋಚನೆಗಳನ್ನು ಹಂಚಿಕೊಳ್ಳಿ.",
"cta": "Discord ನಲ್ಲಿ ಸೇರಿ"
},
+ "builders": {},
"follow": {
"title": "ನವೀಕರಣಗಳನ್ನು ಪಡೆಯಿರಿ",
"description": "npmx ಬಗ್ಗೆ ಇತ್ತೀಚಿನ ಮಾಹಿತಿ ಪಡೆಯಿರಿ.",
@@ -829,7 +842,14 @@
},
"values": {},
"trends": {}
- }
+ },
+ "file_filter_option": {},
+ "filter": {}
+ },
+ "pds": {
+ "join": {},
+ "server": {},
+ "community": {}
},
"privacy_policy": {
"cookies": {
diff --git a/i18n/locales/mr-IN.json b/i18n/locales/mr-IN.json
index 5c1692f0d7..509f1a3d65 100644
--- a/i18n/locales/mr-IN.json
+++ b/i18n/locales/mr-IN.json
@@ -18,6 +18,9 @@
"social": "सोशल",
"chat": "चॅट"
},
+ "shortcuts": {
+ "section": {}
+ },
"search": {
"label": "npm पॅकेजेस शोधा",
"placeholder": "पॅकेजेस शोधा...",
@@ -52,6 +55,10 @@
"links": "लिंक",
"tap_to_search": "शोधण्यासाठी टॅप करा"
},
+ "blog": {
+ "author": {},
+ "atproto": {}
+ },
"settings": {
"title": "सेटिंग्ज",
"tagline": "तुमचा npmx अनुभव सानुकूलित करा",
@@ -61,6 +68,7 @@
"display": "प्रदर्शन",
"language": "भाषा"
},
+ "data_source": {},
"relative_dates": "सापेक्ष तारखा",
"include_types": "स्थापनेत {'@'}types समाविष्ट करा",
"include_types_description": "अनटाइप केलेल्या पॅकेजसाठी स्थापना आदेशात {'@'}types पॅकेज जोडा",
@@ -85,6 +93,7 @@
"edit_on_github": "GitHub वर संपादित करा",
"view_guide": "भाषांतर मार्गदर्शक"
},
+ "error": {},
"common": {
"loading": "लोड करत आहे...",
"loading_more": "अधिक लोड करत आहे...",
@@ -110,6 +119,9 @@
"npm": "npm वर पहा"
}
},
+ "profile": {
+ "invite": {}
+ },
"package": {
"not_found": "पॅकेज सापडले नाही",
"not_found_message": "पॅकेज सापडले नाही.",
@@ -122,6 +134,7 @@
"version": "ही आवृत्ती नापसंत केली गेली आहे.",
"no_reason": "कोणतेही कारण प्रदान केलेले नाही"
},
+ "size_increase": {},
"replacement": {
"title": "तुम्हाला या निर्भरतेची गरज नसू शकते.",
"native": "हे {replacement} सह बदलले जाऊ शकते, Node {nodeVersion} पासून उपलब्ध आहे.",
@@ -129,7 +142,6 @@
"documented": "{community} ने या पॅकेजला अधिक कार्यक्षम पर्याय असल्याने चिन्हांकित केले आहे.",
"none": "हे पॅकेज यापुढे आवश्यक नाही असे चिन्हांकित केले गेले आहे, आणि त्याची कार्यक्षमता सर्व इंजिनांमध्ये मूळतः उपलब्ध असू शकते.",
"learn_more": "अधिक जाणून घ्या",
- "mdn": "MDN",
"community": "समुदाय"
},
"stats": {
@@ -197,14 +209,21 @@
"callout": {}
},
"provenance_section": {},
+ "security_downgrade": {},
"keywords_title": "कीवर्ड",
"compatibility": "सुसंगतता",
"card": {},
- "versions": {},
+ "versions": {
+ "copy_alt": {}
+ },
"dependencies": {},
"peer_dependencies": {},
"optional_dependencies": {},
"maintainers": {},
+ "trends": {
+ "items": {},
+ "copy_alt": {}
+ },
"downloads": {},
"install_scripts": {},
"playgrounds": {},
@@ -219,7 +238,8 @@
},
"list": {},
"skeleton": {},
- "sort": {}
+ "sort": {},
+ "size": {}
},
"connector": {
"modal": {}
@@ -271,10 +291,14 @@
"what_we_are_not": {
"words": {}
},
+ "sponsors": {},
+ "oss_partners": {},
+ "team": {},
"contributors": {},
"get_involved": {
"contribute": {},
"community": {},
+ "builders": {},
"follow": {}
}
},
@@ -309,8 +333,16 @@
"license": {},
"vulnerabilities": {}
},
- "values": {}
- }
+ "values": {},
+ "trends": {}
+ },
+ "file_filter_option": {},
+ "filter": {}
+ },
+ "pds": {
+ "join": {},
+ "server": {},
+ "community": {}
},
"privacy_policy": {
"cookies": {
@@ -325,5 +357,11 @@
"your_rights": {},
"contact": {},
"changes": {}
+ },
+ "a11y": {
+ "approach": {},
+ "measures": {},
+ "limitations": {},
+ "contact": {}
}
}
diff --git a/i18n/locales/nb-NO.json b/i18n/locales/nb-NO.json
index 63afe4dc61..cf9d04a849 100644
--- a/i18n/locales/nb-NO.json
+++ b/i18n/locales/nb-NO.json
@@ -76,6 +76,10 @@
"links": "Lenker",
"tap_to_search": "Trykk for å søke"
},
+ "blog": {
+ "author": {},
+ "atproto": {}
+ },
"settings": {
"title": "innstillinger",
"tagline": "tilpass din npmx-opplevelse",
@@ -118,6 +122,7 @@
"edit_on_github": "Rediger på GitHub",
"view_guide": "Oversettelsesguide"
},
+ "error": {},
"common": {
"loading": "Laster...",
"loading_more": "Laster mer...",
@@ -144,6 +149,9 @@
"github": "Vis på GitHub"
}
},
+ "profile": {
+ "invite": {}
+ },
"package": {
"not_found": "Pakke ikke funnet",
"not_found_message": "Pakken kunne ikke finnes.",
@@ -156,6 +164,7 @@
"version": "Denne versjonen er utfaset.",
"no_reason": "Ingen årsak oppgitt"
},
+ "size_increase": {},
"replacement": {
"title": "Du trenger kanskje ikke denne avhengigheten.",
"native": "Denne kan erstattes med {replacement}, tilgjengelig siden Node {nodeVersion}.",
@@ -164,7 +173,6 @@
"none": "Denne pakken er flagget som ikke lenger nødvendig, og funksjonaliteten er sannsynligvis tilgjengelig innebygd i alle motorer.",
"learn_more": "Lær mer",
"learn_more_above": "Lær mer ovenfor.",
- "mdn": "MDN",
"community": "fellesskapet",
"consider_no_dep": "+ Vurdere ingen avhengighet?"
},
@@ -268,7 +276,8 @@
"more_tagged": "{count} flere tagget",
"all_covered": "Alle versjoner dekkes av taggene over",
"deprecated_title": "{version} (utfaset)",
- "view_all": "Vis {count} versjon | Vis alle {count} versjoner"
+ "view_all": "Vis {count} versjon | Vis alle {count} versjoner",
+ "copy_alt": {}
},
"dependencies": {
"title": "Avhengighet ({count}) | Avhengigheter ({count})",
@@ -322,7 +331,8 @@
"y_axis_label": "{granularity} {facet}",
"items": {
"downloads": "Nedlastinger"
- }
+ },
+ "copy_alt": {}
},
"downloads": {
"title": "Ukentlige nedlastinger",
@@ -765,6 +775,8 @@
"managers": "pakkebehandlere"
}
},
+ "sponsors": {},
+ "oss_partners": {},
"team": {},
"contributors": {
"title": "{count} Bidragsyter | {count} Bidragsytere",
@@ -785,6 +797,7 @@
"description": "Chat, still spørsmål og del ideer.",
"cta": "Bli med på Discord"
},
+ "builders": {},
"follow": {
"title": "Hold deg oppdatert",
"description": "Få med deg det siste om npmx.",
@@ -957,7 +970,14 @@
"trends": {
"title": "Ukentlige nedlastinger"
}
- }
+ },
+ "file_filter_option": {},
+ "filter": {}
+ },
+ "pds": {
+ "join": {},
+ "server": {},
+ "community": {}
},
"privacy_policy": {
"cookies": {
diff --git a/i18n/locales/ne-NP.json b/i18n/locales/ne-NP.json
index 06755befb0..0ebe88fcc7 100644
--- a/i18n/locales/ne-NP.json
+++ b/i18n/locales/ne-NP.json
@@ -54,6 +54,10 @@
"links": "लिङ्कहरू",
"tap_to_search": "खोज्न ट्याप गर्नुहोस्"
},
+ "blog": {
+ "author": {},
+ "atproto": {}
+ },
"settings": {
"title": "सेटिङ्स",
"tagline": "आफ्नो npmx अनुभव अनुकूल बनाउनुहोस्",
@@ -87,6 +91,7 @@
"edit_on_github": "GitHub मा सम्पादन गर्नुहोस्",
"view_guide": "अनुवाद मार्गदर्शन"
},
+ "error": {},
"common": {
"loading": "लोड हुँदैछ...",
"loading_more": "अझै लोड हुँदैछ...",
@@ -113,6 +118,9 @@
"github": "GitHub मा हेर्नुहोस्"
}
},
+ "profile": {
+ "invite": {}
+ },
"package": {
"not_found": "प्याकेज फेला परेन",
"not_found_message": "प्याकेज फेला पार्न सकिएन।",
@@ -125,6 +133,7 @@
"version": "यो संस्करण अप्रचलित (deprecated) गरिएको छ।",
"no_reason": "कारण दिइएको छैन"
},
+ "size_increase": {},
"replacement": {
"title": "तपाईंलाई यो डिपेन्डेन्सी आवश्यक नपर्न सक्छ।",
"native": "Node {nodeVersion} देखि उपलब्ध {replacement} ले यसलाई प्रतिस्थापन गर्न सक्छ।",
@@ -132,7 +141,6 @@
"documented": "{community} ले यो प्याकेजका थप उच्च प्रदर्शन भएका विकल्पहरू छन् भनेर चिन्ह लगाएको छ।",
"none": "यो प्याकेज अब आवश्यक छैन भनेर चिन्ह लगाइएको छ, र यसको कार्यक्षमता सम्भवतः सबै इन्जिनहरूमा नै बिल्ट-इन रूपमा उपलब्ध छ।",
"learn_more": "थप जान्नुहोस्",
- "mdn": "MDN",
"community": "समुदाय"
},
"stats": {
@@ -206,7 +214,8 @@
"more_tagged": "{count} थप ट्याग गरिएको",
"all_covered": "माथिका ट्यागले सबै संस्करणहरू कभर गर्छन्",
"deprecated_title": "{version} (deprecated)",
- "view_all": "{count} संस्करण हेर्नुहोस् | सबै {count} संस्करणहरू हेर्नुहोस्"
+ "view_all": "{count} संस्करण हेर्नुहोस् | सबै {count} संस्करणहरू हेर्नुहोस्",
+ "copy_alt": {}
},
"dependencies": {
"title": "डिपेन्डेन्सीहरू ({count})",
@@ -255,7 +264,8 @@
"date_range_multiline": "{start}\nदेखि {end}",
"download_file": "{fileType} डाउनलोड गर्नुहोस्",
"toggle_annotator": "एनोटेटर टगल गर्नुहोस्",
- "items": {}
+ "items": {},
+ "copy_alt": {}
},
"downloads": {
"title": "साप्ताहिक डाउनलोड"
@@ -683,6 +693,8 @@
"managers": "म्यानेजरहरू बनाइरहेका छन्"
}
},
+ "sponsors": {},
+ "oss_partners": {},
"team": {},
"contributors": {
"title": "कन्ट्रिब्युटरहरू",
@@ -703,6 +715,7 @@
"description": "च्याट गर्नुहोस्, प्रश्न सोध्नुहोस्, र विचार साझा गर्नुहोस्।",
"cta": "Discord मा जोडिनुहोस्"
},
+ "builders": {},
"follow": {
"title": "अपडेट रहनुहोस्",
"description": "npmx का ताजा अपडेटहरू जान्नुहोस्।",
@@ -814,7 +827,14 @@
},
"values": {},
"trends": {}
- }
+ },
+ "file_filter_option": {},
+ "filter": {}
+ },
+ "pds": {
+ "join": {},
+ "server": {},
+ "community": {}
},
"privacy_policy": {
"cookies": {
diff --git a/i18n/locales/pl-PL.json b/i18n/locales/pl-PL.json
index 8a63c9cb8d..051f67e2e2 100644
--- a/i18n/locales/pl-PL.json
+++ b/i18n/locales/pl-PL.json
@@ -249,7 +249,6 @@
"none": "Ten pakiet został oznaczony jako zbędny, a jego funkcjonalność jest prawdopodobnie dostępna natywnie we wszystkich środowiskach.",
"learn_more": "Dowiedz się więcej",
"learn_more_above": "Dowiedz się więcej powyżej",
- "mdn": "MDN",
"community": "Społeczność",
"consider_no_dep": "+ Rozważ brak zależności?"
},
diff --git a/i18n/locales/pt-BR.json b/i18n/locales/pt-BR.json
index 673c7aac96..cb6ed65608 100644
--- a/i18n/locales/pt-BR.json
+++ b/i18n/locales/pt-BR.json
@@ -87,6 +87,10 @@
"links": "Links",
"tap_to_search": "Toque para pesquisar"
},
+ "blog": {
+ "author": {},
+ "atproto": {}
+ },
"settings": {
"title": "configurações",
"tagline": "personalize sua experiência npmx",
@@ -134,6 +138,7 @@
"edit_on_github": "Editar no GitHub",
"view_guide": "Guia de tradução"
},
+ "error": {},
"common": {
"loading": "Carregando...",
"loading_more": "Carregando mais...",
@@ -175,6 +180,9 @@
"or": "ou",
"save": "Salvar"
},
+ "profile": {
+ "invite": {}
+ },
"package": {
"not_found": "Pacote não encontrado",
"not_found_message": "O pacote não pôde ser encontrado.",
@@ -187,6 +195,7 @@
"version": "Esta versão foi descontinuada.",
"no_reason": "Nenhum motivo fornecido"
},
+ "size_increase": {},
"replacement": {
"title": "Você pode não precisar desta dependência.",
"native": "Isso pode ser substituído por {replacement}, disponível desde Node {nodeVersion}.",
@@ -194,7 +203,6 @@
"documented": "A {community} marcou este pacote como tendo alternativas mais performáticas.",
"none": "Este pacote foi marcado como não mais necessário, e sua funcionalidade provavelmente está disponível nativamente em todas as engines.",
"learn_more": "Saiba mais",
- "mdn": "MDN",
"community": "comunidade",
"consider_no_dep": "+ Considerar sem dependências?",
"learn_more_above": "Saiba mais acima."
@@ -928,6 +936,7 @@
"description": "Converse, faça perguntas e compartilhe ideias.",
"cta": "Junte-se ao Discord"
},
+ "builders": {},
"follow": {
"title": "Mantenha-se atualizado",
"description": "Descubra as novidades sobre npmx.",
diff --git a/i18n/locales/ru-RU.json b/i18n/locales/ru-RU.json
index 0e2a77bf85..2972fa2834 100644
--- a/i18n/locales/ru-RU.json
+++ b/i18n/locales/ru-RU.json
@@ -239,7 +239,6 @@
"none": "Этот пакет был отмечен как ненужный, так как его функциональность, вероятно, доступна нативно во всех движках.",
"learn_more": "Подробнее",
"learn_more_above": "Узнайте больше выше.",
- "mdn": "MDN",
"community": "сообщество",
"consider_no_dep": "+ Рассмотреть вариант без зависимости?"
},
diff --git a/i18n/locales/ta-IN.json b/i18n/locales/ta-IN.json
index 5df18ccc04..4c73325231 100644
--- a/i18n/locales/ta-IN.json
+++ b/i18n/locales/ta-IN.json
@@ -76,6 +76,10 @@
"links": "இணைப்புகள்",
"tap_to_search": "தேட தட்டவும்"
},
+ "blog": {
+ "author": {},
+ "atproto": {}
+ },
"settings": {
"title": "அமைப்புகள்",
"tagline": "உங்கள் npmx அனுபவத்தைத் தனிப்பயனாக்கு",
@@ -118,6 +122,7 @@
"edit_on_github": "GitHub-ல் திருத்து",
"view_guide": "மொழிபெயர்ப்பு வழிகாட்டி"
},
+ "error": {},
"common": {
"loading": "ஏற்றுகிறது...",
"loading_more": "மேலும் ஏற்றுகிறது...",
@@ -144,6 +149,9 @@
"github": "GitHub-ல் காண்க"
}
},
+ "profile": {
+ "invite": {}
+ },
"package": {
"not_found": "தொகுப்பு கிடைக்கவில்லை",
"not_found_message": "தொகுப்பைக் கண்டுபிடிக்க இயலவில்லை.",
@@ -156,6 +164,7 @@
"version": "இந்தப் பதிப்பு நிறுத்தப்பட்டது.",
"no_reason": "காரணம் வழங்கப்படவில்லை"
},
+ "size_increase": {},
"replacement": {
"title": "இந்த சார்பு உங்களுக்குத் தேவைப்படாமல் இருக்கலாம்.",
"native": "இதை {replacement} மூலம் மாற்றலாம், Node {nodeVersion} முதல் கிடைக்கிறது.",
@@ -164,7 +173,6 @@
"none": "இந்த தொகுப்பு இனி தேவையில்லை என்று கொடியிடப்பட்டுள்ளது, அதன் செயல்பாடு அனைத்து இயந்திரங்களிலும் நேரடியாகக் கிடைக்கிறது.",
"learn_more": "மேலும் அறிக",
"learn_more_above": "மேலே மேலும் அறிக.",
- "mdn": "MDN",
"community": "சமூகம்",
"consider_no_dep": "+ சார்பு வேண்டாமா?"
},
@@ -287,7 +295,8 @@
"more_tagged": "{count} மேலும் குறியிடப்பட்டவை",
"all_covered": "அனைத்து பதிப்புகளும் மேலே உள்ள குறிச்சொற்களால் உள்ளடக்கப்பட்டுள்ளன",
"deprecated_title": "{version} (நிறுத்தப்பட்டது)",
- "view_all": "{count} பதிப்பைக் காண்க | அனைத்து {count} பதிப்புகளையும் காண்க"
+ "view_all": "{count} பதிப்பைக் காண்க | அனைத்து {count} பதிப்புகளையும் காண்க",
+ "copy_alt": {}
},
"dependencies": {
"title": "சார்பு ({count}) | சார்புகள் ({count})",
@@ -341,7 +350,8 @@
"y_axis_label": "{granularity} {facet}",
"items": {
"downloads": "பதிவிறக்கங்கள்"
- }
+ },
+ "copy_alt": {}
},
"downloads": {
"title": "வாராந்திர பதிவிறக்கங்கள்",
@@ -785,6 +795,8 @@
"managers": "மேலாளர்கள்"
}
},
+ "sponsors": {},
+ "oss_partners": {},
"team": {},
"contributors": {
"title": "{count} பங்களிப்பாளர் | {count} பங்களிப்பாளர்கள்",
@@ -805,6 +817,7 @@
"description": "அரட்டையடிக்கவும், கேள்விகள் கேட்கவும், யோசனைகளைப் பகிரவும்.",
"cta": "Discord-ல் சேரவும்"
},
+ "builders": {},
"follow": {
"title": "புதுப்பிப்புகளைப் பெறுங்கள்",
"description": "npmx பற்றிய சமீபத்திய தகவல்களைக் கண்டறியுங்கள்.",
@@ -977,7 +990,14 @@
"trends": {
"title": "வாராந்திர பதிவிறக்கங்கள்"
}
- }
+ },
+ "file_filter_option": {},
+ "filter": {}
+ },
+ "pds": {
+ "join": {},
+ "server": {},
+ "community": {}
},
"privacy_policy": {
"title": "தனியுரிமைக் கொள்கை",
diff --git a/i18n/locales/te-IN.json b/i18n/locales/te-IN.json
index 9ee690177e..2831913c20 100644
--- a/i18n/locales/te-IN.json
+++ b/i18n/locales/te-IN.json
@@ -54,6 +54,10 @@
"links": "లింక్లు",
"tap_to_search": "శోధించడానికి టాప్ చేయండి"
},
+ "blog": {
+ "author": {},
+ "atproto": {}
+ },
"settings": {
"title": "సెట్టింగ్లు",
"tagline": "మీ npmx అనుభవాన్ని అనుకూలీకరించండి",
@@ -87,6 +91,7 @@
"edit_on_github": "GitHub లో సవరించండి",
"view_guide": "అనువాద గైడ్"
},
+ "error": {},
"common": {
"loading": "లోడ్ అవుతున్నది...",
"loading_more": "మరిన్ని లోడ్ అవుతున్నది...",
@@ -113,6 +118,9 @@
"github": "GitHub లో వీక్షించండి"
}
},
+ "profile": {
+ "invite": {}
+ },
"package": {
"not_found": "ప్యాకేజ్ కనుగొనబడలేదు",
"not_found_message": "ప్యాకేజ్ కనుగొనబడలేదు.",
@@ -125,6 +133,7 @@
"version": "ఈ వెర్షన్ డిప్రికేట్ చేయబడింది.",
"no_reason": "కారణం అందించబడలేదు"
},
+ "size_increase": {},
"replacement": {
"title": "మీకు ఈ డిపెండెన్సీ అవసరం లేకపోవచ్చు.",
"native": "దీనిని {replacement} తో భర్తీ చేయవచ్చు, ఇది Node {nodeVersion} నుండి అందుబాటులో ఉంది.",
@@ -132,7 +141,6 @@
"documented": "{community} ఈ ప్యాకేజ్ను మరింత పనితీరు ఎంపికలుగా ఫ్లాగ్ చేసింది.",
"none": "ఈ ప్యాకేజ్ ఇప్పుడు అవసరం లేనిదిగా ఫ్లాగ్ చేయబడింది, మరియు దీని కార్యాచరణ అన్ని ఇంజిన్లలో నేటివ్గా అందుబాటులో ఉండే అవకాశం ఉంది.",
"learn_more": "మరిన్ని తెలుసుకోండి",
- "mdn": "MDN",
"community": "కమ్యూనిటీ"
},
"stats": {
@@ -220,7 +228,8 @@
"more_tagged": "{count} మరిన్ని ట్యాగ్ చేయబడ్డాయి",
"all_covered": "అన్ని వెర్షన్లు పైన ఉన్న ట్యాగ్ల ద్వారా కవర్ చేయబడ్డాయి",
"deprecated_title": "{version} (డిప్రికేటెడ్)",
- "view_all": "{count} వెర్షన్లను వీక్షించండి | అన్ని {count} వెర్షన్లను వీక్షించండి"
+ "view_all": "{count} వెర్షన్లను వీక్షించండి | అన్ని {count} వెర్షన్లను వీక్షించండి",
+ "copy_alt": {}
},
"dependencies": {
"title": "డిపెండెన్సీలు ({count})",
@@ -269,7 +278,8 @@
"date_range_multiline": "{start}\nనుండి {end}",
"download_file": "{fileType} డౌన్లోడ్ చేయండి",
"toggle_annotator": "అనోటేటర్ను టాగుల్ చేయండి",
- "items": {}
+ "items": {},
+ "copy_alt": {}
},
"downloads": {
"title": "వారపు డౌన్లోడ్లు"
@@ -698,6 +708,8 @@
"managers": "మేనేజర్లు"
}
},
+ "sponsors": {},
+ "oss_partners": {},
"team": {},
"contributors": {
"title": "కంట్రిబ్యూటర్లు",
@@ -718,6 +730,7 @@
"description": "చాట్ చేయండి, ప్రశ్నలు అడగండి, మరియు ఆలోచనలను పంచుకోండి.",
"cta": "Discord లో చేరండి"
},
+ "builders": {},
"follow": {
"title": "నవీకరణలతో ఉండండి",
"description": "npmx లో తాజా సమాచారాన్ని పొందండి.",
@@ -829,7 +842,14 @@
},
"values": {},
"trends": {}
- }
+ },
+ "file_filter_option": {},
+ "filter": {}
+ },
+ "pds": {
+ "join": {},
+ "server": {},
+ "community": {}
},
"privacy_policy": {
"cookies": {
diff --git a/i18n/locales/tr-TR.json b/i18n/locales/tr-TR.json
index ac6066ce08..d9f4cc82ea 100644
--- a/i18n/locales/tr-TR.json
+++ b/i18n/locales/tr-TR.json
@@ -239,7 +239,6 @@
"none": "Bu paket artık gereksiz olarak işaretlendi ve işlevselliği tüm motorlarda yerel olarak mevcuttur.",
"learn_more": "Daha fazla bilgi",
"learn_more_above": "Yukarıda daha fazla bilgi edinin.",
- "mdn": "MDN",
"community": "topluluk",
"consider_no_dep": "+ Bağımlılıksız düşünün?"
},
diff --git a/i18n/locales/uk-UA.json b/i18n/locales/uk-UA.json
index fac79a98cd..6d5c38096f 100644
--- a/i18n/locales/uk-UA.json
+++ b/i18n/locales/uk-UA.json
@@ -251,7 +251,6 @@
"none": "Цей пакет було позначено як більше не необхідний, і його функціональність, ймовірно, доступна в усіх системах.",
"learn_more": "Дізнатися більше",
"learn_more_above": "Дізнатися більше вище.",
- "mdn": "MDN",
"community": "спільнота",
"consider_no_dep": "+ Думаєте позбавитися пакету?"
},
diff --git a/i18n/locales/zh-CN.json b/i18n/locales/zh-CN.json
index e6cc3aa6f6..10d0e04e9a 100644
--- a/i18n/locales/zh-CN.json
+++ b/i18n/locales/zh-CN.json
@@ -239,7 +239,6 @@
"none": "此包已被标记为不再需要,其功能很可能已由所有引擎原生提供。",
"learn_more": "了解更多",
"learn_more_above": "在上方了解更多。",
- "mdn": "MDN",
"community": "社区",
"consider_no_dep": "+ 不使用依赖?"
},
diff --git a/i18n/locales/zh-TW.json b/i18n/locales/zh-TW.json
index 6765344baf..fd8ef3e6fa 100644
--- a/i18n/locales/zh-TW.json
+++ b/i18n/locales/zh-TW.json
@@ -202,7 +202,6 @@
"none": "此套件已被標記為不再需要,其功能很可能已由所有引擎原生提供。",
"learn_more": "了解更多",
"learn_more_above": "參閱上方說明",
- "mdn": "MDN",
"community": "社群",
"consider_no_dep": "+ 考慮不使用相依套件?"
},
diff --git a/i18n/schema.json b/i18n/schema.json
index 96922412cc..1f9be6d5b4 100644
--- a/i18n/schema.json
+++ b/i18n/schema.json
@@ -739,9 +739,15 @@
"title": {
"type": "string"
},
+ "example": {
+ "type": "string"
+ },
"native": {
"type": "string"
},
+ "native_no_version": {
+ "type": "string"
+ },
"simple": {
"type": "string"
},
@@ -757,9 +763,6 @@
"learn_more_above": {
"type": "string"
},
- "mdn": {
- "type": "string"
- },
"community": {
"type": "string"
},
diff --git a/package.json b/package.json
index a49549700e..a71cc7d086 100644
--- a/package.json
+++ b/package.json
@@ -97,7 +97,7 @@
"gray-matter": "4.0.3",
"ipaddr.js": "2.3.0",
"marked": "17.0.3",
- "module-replacements": "2.11.0",
+ "module-replacements": "3.0.0-beta.0",
"nuxt": "4.3.1",
"nuxt-og-image": "5.1.13",
"ofetch": "1.5.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 9fde9c40a5..25c82c014c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -170,8 +170,8 @@ importers:
specifier: 17.0.3
version: 17.0.3
module-replacements:
- specifier: 2.11.0
- version: 2.11.0
+ specifier: 3.0.0-beta.0
+ version: 3.0.0-beta.0
nuxt:
specifier: 4.3.1
version: 4.3.1(@parcel/watcher@2.5.4)(@types/node@24.11.0)(@upstash/redis@1.36.3)(@vue/compiler-sfc@3.5.30)(better-sqlite3@12.6.2)(cac@6.7.14)(db0@0.3.4(better-sqlite3@12.6.2))(encoding@0.1.13)(eslint@9.39.2(jiti@2.6.1))(ioredis@5.9.2)(magicast@0.5.1)(optionator@0.9.4)(oxlint@1.56.0(oxlint-tsgolint@0.15.0))(rolldown@1.0.0-rc.5)(rollup@4.56.0)(terser@5.46.0)(tsx@4.21.0)(typescript@5.9.3)(vite@8.0.0-beta.10(@types/node@24.11.0)(esbuild@0.27.3)(jiti@2.6.1)(terser@5.46.0)(tsx@4.21.0)(yaml@2.8.2))(vue-tsc@3.2.5(typescript@5.9.3))(yaml@2.8.2)
@@ -8302,6 +8302,9 @@ packages:
module-replacements@2.11.0:
resolution: {integrity: sha512-j5sNQm3VCpQQ7nTqGeOZtoJtV3uKERgCBm9QRhmGRiXiqkf7iRFOkfxdJRZWLkqYY8PNf4cDQF/WfXUYLENrRA==}
+ module-replacements@3.0.0-beta.0:
+ resolution: {integrity: sha512-T/REIieQTHKscHccdxRd5A2mYIPPIVuKq652gyAZK1D2hmRCWUi7whDskKiA87knsoCWDDMzjcJHqsCXNWr0Qw==}
+
motion-dom@12.34.3:
resolution: {integrity: sha512-sYgFe+pR9aIM7o4fhs2aXtOI+oqlUd33N9Yoxcgo1Fv7M20sRkHtCmzE/VRNIcq7uNJ+qio+Xubt1FXH3pQ+eQ==}
@@ -20063,6 +20066,8 @@ snapshots:
module-replacements@2.11.0: {}
+ module-replacements@3.0.0-beta.0: {}
+
motion-dom@12.34.3:
dependencies:
motion-utils: 12.29.2
diff --git a/server/api/replacements/[...pkg].get.ts b/server/api/replacements/[...pkg].get.ts
index c2531fd645..147f332cc5 100644
--- a/server/api/replacements/[...pkg].get.ts
+++ b/server/api/replacements/[...pkg].get.ts
@@ -1,11 +1,15 @@
-import { all, type ModuleReplacement } from 'module-replacements'
+import { all, type ModuleReplacement, type ModuleReplacementMapping } from 'module-replacements'
-const replacementMap = new Map
(
- all.moduleReplacements.map(r => [r.moduleName, r]),
+export default defineEventHandler(
+ (event): { mapping: ModuleReplacementMapping; replacement: ModuleReplacement } | null => {
+ const pkg = getRouterParam(event, 'pkg')
+ if (!pkg) return null
+ const mapping = all.mappings[pkg]
+ if (!mapping) return null
+ const replacementId = mapping.replacements[0]
+ if (!replacementId) return null
+ const replacement = all.replacements[replacementId]
+ if (!replacement) return null
+ return { mapping, replacement }
+ },
)
-
-export default defineEventHandler((event): ModuleReplacement | null => {
- const pkg = getRouterParam(event, 'pkg')
- if (!pkg) return null
- return replacementMap.get(pkg) ?? null
-})
diff --git a/test/e2e/package-replacements.spec.ts b/test/e2e/package-replacements.spec.ts
new file mode 100644
index 0000000000..ec80a6872f
--- /dev/null
+++ b/test/e2e/package-replacements.spec.ts
@@ -0,0 +1,21 @@
+import { expect, test } from './test-utils'
+
+test.describe('Package Replacement Suggestions', () => {
+ test('/package/strip-ansi shows a replacement suggestion with a link to e18e docs', async ({
+ page,
+ goto,
+ }) => {
+ await goto('/package/strip-ansi', { waitUntil: 'hydration' })
+
+ // Wait for the package page to load
+ await expect(page.locator('h1')).toContainText('strip-ansi', { timeout: 15_000 })
+
+ // The replacement component renders a "Learn more" anchor driven by resolveReplacementUrl.
+ // For strip-ansi the url.type is 'e18e', so the href resolves to:
+ // https://e18e.dev/docs/replacements/strip-ansi
+ //
+ // useLazyFetch is used, so the suggestion arrives after hydration — use a generous timeout.
+ const replacementLink = page.locator('a[href="https://e18e.dev/docs/replacements/strip-ansi"]')
+ await expect(replacementLink).toBeVisible({ timeout: 15_000 })
+ })
+})
diff --git a/test/fixtures/npm-registry/packuments/strip-ansi.json b/test/fixtures/npm-registry/packuments/strip-ansi.json
new file mode 100644
index 0000000000..d926bef495
--- /dev/null
+++ b/test/fixtures/npm-registry/packuments/strip-ansi.json
@@ -0,0 +1,2109 @@
+{
+ "_id": "strip-ansi",
+ "_rev": "66-c254a714f805bddf488958f089f365c0",
+ "name": "strip-ansi",
+ "dist-tags": {
+ "version6": "6.0.1",
+ "latest": "7.2.0"
+ },
+ "versions": {
+ "0.1.0": {
+ "name": "strip-ansi",
+ "version": "0.1.0",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "cli",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "http://sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@0.1.0",
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ }
+ ],
+ "homepage": "https://github.com/sindresorhus/strip-ansi",
+ "bugs": {
+ "url": "https://github.com/sindresorhus/strip-ansi/issues"
+ },
+ "bin": {
+ "strip-ansi": "cli.js"
+ },
+ "dist": {
+ "shasum": "1bc16b35788d9bdaaf0b9ef0d9e35b0b59403f8e",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.0.tgz",
+ "integrity": "sha512-2NGHiYkECyk5yzM+qn6FFTX07zl31OH8zufkGjJHoCUz0em6JxK0IiXct0X9XQYoWZtyUJtLj9O1htWDJUUWgA==",
+ "signatures": [
+ {
+ "sig": "MEUCIQCNnWlqoGWT2QfLoHeEAp/PXhNCWzFOsaIB8pURep3SLwIgR2sa0tnZZhwX5b5rHQH0stSGpwpXBVbQVV45zgupVNo=",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ]
+ },
+ "_from": ".",
+ "files": ["index.js", "cli.js"],
+ "engines": {
+ "node": "\u003E=0.8.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git://github.com/sindresorhus/strip-ansi",
+ "type": "git"
+ },
+ "_npmVersion": "1.3.15",
+ "description": "Strip ANSI color codes",
+ "directories": {},
+ "devDependencies": {
+ "mocha": "~1.x"
+ }
+ },
+ "0.1.1": {
+ "name": "strip-ansi",
+ "version": "0.1.1",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "cli",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "http://sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@0.1.1",
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ }
+ ],
+ "homepage": "https://github.com/sindresorhus/strip-ansi",
+ "bugs": {
+ "url": "https://github.com/sindresorhus/strip-ansi/issues"
+ },
+ "bin": {
+ "strip-ansi": "cli.js"
+ },
+ "dist": {
+ "shasum": "39e8a98d044d150660abe4a6808acf70bb7bc991",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz",
+ "integrity": "sha512-behete+3uqxecWlDAm5lmskaSaISA+ThQ4oNNBDTBJt0x2ppR6IPqfZNuj6BLaLJ/Sji4TPZlcRyOis8wXQTLg==",
+ "signatures": [
+ {
+ "sig": "MEQCIBsyo1Uuh7ELdsAFZ/Q+WMbdRgKWe602iN1rFSfS1lBIAiAK+UCJ6khc7tmAmaZPxlWoAmtR2a4NhoKosWs4H0vG0g==",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ]
+ },
+ "_from": ".",
+ "files": ["index.js", "cli.js"],
+ "engines": {
+ "node": "\u003E=0.8.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git://github.com/sindresorhus/strip-ansi",
+ "type": "git"
+ },
+ "_npmVersion": "1.3.15",
+ "description": "Strip ANSI escape codes (used for colorizing strings in the terminal)",
+ "directories": {},
+ "devDependencies": {
+ "mocha": "~1.x"
+ }
+ },
+ "0.2.0": {
+ "name": "strip-ansi",
+ "version": "0.2.0",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "cli",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "http://sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@0.2.0",
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ }
+ ],
+ "homepage": "https://github.com/sindresorhus/strip-ansi",
+ "bugs": {
+ "url": "https://github.com/sindresorhus/strip-ansi/issues"
+ },
+ "bin": {
+ "strip-ansi": "cli.js"
+ },
+ "dist": {
+ "shasum": "e987d2c9128aadd85b9b9bfda7d09d9751e5e53a",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.2.0.tgz",
+ "integrity": "sha512-BbWY/sXA9PsDX4Rv4gE1SSIp2/RvgdYN1XLEdX/WmpHI2HgBett0xGW/H2sHIuVCuiXA6NqhPGYHOG7UD8lIjg==",
+ "signatures": [
+ {
+ "sig": "MEUCIBIqVUBaTo3bJUzL45Oc+Cgi7ooLUzscPoca1ZGDQkUZAiEAy44ZYgyqgxzCsE1QJQhYN7sy+jCxZ/aGQS5ygtLvjoA=",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ]
+ },
+ "_from": ".",
+ "files": ["index.js", "cli.js"],
+ "engines": {
+ "node": "\u003E=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git://github.com/sindresorhus/strip-ansi",
+ "type": "git"
+ },
+ "_npmVersion": "1.4.6",
+ "description": "Strip ANSI escape codes (used for colorizing strings in the terminal)",
+ "directories": {},
+ "devDependencies": {
+ "mocha": "*"
+ }
+ },
+ "0.2.1": {
+ "name": "strip-ansi",
+ "version": "0.2.1",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "cli",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "http://sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@0.2.1",
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ }
+ ],
+ "homepage": "https://github.com/sindresorhus/strip-ansi",
+ "bugs": {
+ "url": "https://github.com/sindresorhus/strip-ansi/issues"
+ },
+ "bin": {
+ "strip-ansi": "cli.js"
+ },
+ "dist": {
+ "shasum": "09218505ccf1083a41460150571355efabaa126e",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.2.1.tgz",
+ "integrity": "sha512-R68IjmqLgh4z6EFuOtgi+dpN3q6seBFdj7Xdw8z3gCBxvEzAEdunZDPEQvxNfbnD9i79kHLH36kZpMyGT6YjQA==",
+ "signatures": [
+ {
+ "sig": "MEUCIQCRouLs0K92Fxdsk2d1/jUaEpbc6DBzC5RygtmrCWMjqwIgK5eTbTpDNJ6kmSojeKhzpH1FOl3qvu7GgyNIhlzCOUQ=",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ]
+ },
+ "_from": ".",
+ "files": ["index.js", "cli.js"],
+ "engines": {
+ "node": "\u003E=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git://github.com/sindresorhus/strip-ansi",
+ "type": "git"
+ },
+ "_npmVersion": "1.4.6",
+ "description": "Strip ANSI escape codes (used for colorizing strings in the terminal)",
+ "directories": {},
+ "devDependencies": {
+ "mocha": "*"
+ }
+ },
+ "0.2.2": {
+ "name": "strip-ansi",
+ "version": "0.2.2",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "cli",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "http://sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@0.2.2",
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ }
+ ],
+ "homepage": "https://github.com/sindresorhus/strip-ansi",
+ "bugs": {
+ "url": "https://github.com/sindresorhus/strip-ansi/issues"
+ },
+ "bin": {
+ "strip-ansi": "cli.js"
+ },
+ "dist": {
+ "shasum": "854d290c981525fc8c397a910b025ae2d54ffc08",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.2.2.tgz",
+ "integrity": "sha512-1uWiYlJgR31DGid87j930IpH4YUsxX3hOLvdGmnUAm++BWpEkWXMWYcQCUDXUNdEsRA9GZevI4q8UszDfozHxw==",
+ "signatures": [
+ {
+ "sig": "MEQCIF7BsNeBO/LWEMf97vXd+sgvIBkTUYpBuQFWcjgX8P2BAiBBm7Hk5sM/kKd/34dXHckRzMB99ahJ/dEBDAe4PCwmxA==",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ]
+ },
+ "_from": ".",
+ "files": ["index.js", "cli.js"],
+ "_shasum": "854d290c981525fc8c397a910b025ae2d54ffc08",
+ "engines": {
+ "node": "\u003E=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git://github.com/sindresorhus/strip-ansi",
+ "type": "git"
+ },
+ "_npmVersion": "1.4.9",
+ "description": "Strip ANSI escape codes",
+ "directories": {},
+ "dependencies": {
+ "ansi-regex": "^0.1.0"
+ },
+ "devDependencies": {
+ "mocha": "*"
+ }
+ },
+ "0.3.0": {
+ "name": "strip-ansi",
+ "version": "0.3.0",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "cli",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "http://sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@0.3.0",
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ }
+ ],
+ "homepage": "https://github.com/sindresorhus/strip-ansi",
+ "bugs": {
+ "url": "https://github.com/sindresorhus/strip-ansi/issues"
+ },
+ "bin": {
+ "strip-ansi": "cli.js"
+ },
+ "dist": {
+ "shasum": "25f48ea22ca79187f3174a4db8759347bb126220",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.3.0.tgz",
+ "integrity": "sha512-DerhZL7j6i6/nEnVG0qViKXI0OKouvvpsAiaj7c+LfqZZZxdwZtv8+UiA/w4VUJpT8UzX0pR1dcHOii1GbmruQ==",
+ "signatures": [
+ {
+ "sig": "MEQCIDoCQub4jFG0Lwjk/zDKHw0sVsD4vtO0+FrnbDxom/JgAiB+rPpojJbxT/E4fb/Tj2GUodqj6iHmhC4+taxLGhCZVg==",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ]
+ },
+ "_from": ".",
+ "files": ["index.js", "cli.js"],
+ "_shasum": "25f48ea22ca79187f3174a4db8759347bb126220",
+ "engines": {
+ "node": "\u003E=0.10.0"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git://github.com/sindresorhus/strip-ansi",
+ "type": "git"
+ },
+ "_npmVersion": "1.4.9",
+ "description": "Strip ANSI escape codes",
+ "directories": {},
+ "dependencies": {
+ "ansi-regex": "^0.2.1"
+ },
+ "devDependencies": {
+ "mocha": "*"
+ }
+ },
+ "1.0.0": {
+ "name": "strip-ansi",
+ "version": "1.0.0",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "cli",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "http://sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@1.0.0",
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ {
+ "name": "jbnicolai",
+ "email": "jappelman@xebia.com"
+ }
+ ],
+ "homepage": "https://github.com/sindresorhus/strip-ansi",
+ "bugs": {
+ "url": "https://github.com/sindresorhus/strip-ansi/issues"
+ },
+ "bin": {
+ "strip-ansi": "cli.js"
+ },
+ "dist": {
+ "shasum": "6c021321d6ece161a3c608fbab268c7328901c73",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-1.0.0.tgz",
+ "integrity": "sha512-3S8K1Sk1jMQRBBg/6snsargJuyOsZGPqQ/R2AWYjuaamfmW1Pvoaup1aO9aTp+eVHQwO8p9y4LACjes7yHaDPg==",
+ "signatures": [
+ {
+ "sig": "MEQCIH7hvpfymJRMeCTt+L1PSV/KmgNBI+Z+7cguiOqY31nfAiBQSw37P/xv1FSa1sCyeEB2OqUd9g2wQZHjif5xo+xQYQ==",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ]
+ },
+ "_from": ".",
+ "files": ["index.js", "cli.js"],
+ "_shasum": "6c021321d6ece161a3c608fbab268c7328901c73",
+ "engines": {
+ "node": "\u003E=0.10.0"
+ },
+ "gitHead": "6fea2ef935f1ba10d43e4c4d9814af328803935c",
+ "scripts": {
+ "test": "mocha"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git://github.com/sindresorhus/strip-ansi",
+ "type": "git"
+ },
+ "_npmVersion": "1.4.14",
+ "description": "Strip ANSI escape codes",
+ "directories": {},
+ "dependencies": {
+ "ansi-regex": "^0.2.1"
+ },
+ "devDependencies": {
+ "mocha": "*"
+ }
+ },
+ "2.0.0": {
+ "name": "strip-ansi",
+ "version": "2.0.0",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "cli",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "http://sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@2.0.0",
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ {
+ "name": "jbnicolai",
+ "email": "jappelman@xebia.com"
+ }
+ ],
+ "homepage": "https://github.com/sindresorhus/strip-ansi",
+ "bugs": {
+ "url": "https://github.com/sindresorhus/strip-ansi/issues"
+ },
+ "bin": {
+ "strip-ansi": "cli.js"
+ },
+ "dist": {
+ "shasum": "fa8d69432e97674746f55f51d076ae78b18df13f",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-2.0.0.tgz",
+ "integrity": "sha512-gvB0HQXLFIBkRAIlK98dOnXG/fEtNREVj2f6q61+H2GlCH7uFKhZGCdNFPFUA2XbJx9MyZPDwQHEfhPbSTLIlA==",
+ "signatures": [
+ {
+ "sig": "MEQCICajvOg7VzIM+lOdUW9PFDL0C3NjBDKwZo5XLe8R3UQaAiAQM2myHoxr9ynh8kq+QdWLi2AMhNFt+JCqR9fqQzXb1A==",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ]
+ },
+ "_from": ".",
+ "files": ["index.js", "cli.js"],
+ "_shasum": "fa8d69432e97674746f55f51d076ae78b18df13f",
+ "engines": {
+ "node": "\u003E=0.10.0"
+ },
+ "gitHead": "c5e780acc07532f5d651cfb6ea035198095c6c74",
+ "scripts": {
+ "test": "mocha"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git://github.com/sindresorhus/strip-ansi",
+ "type": "git"
+ },
+ "_npmVersion": "1.4.14",
+ "description": "Strip ANSI escape codes",
+ "directories": {},
+ "dependencies": {
+ "ansi-regex": "^1.0.0"
+ },
+ "devDependencies": {
+ "mocha": "*"
+ }
+ },
+ "2.0.1": {
+ "name": "strip-ansi",
+ "version": "2.0.1",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "cli",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "http://sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@2.0.1",
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ {
+ "name": "jbnicolai",
+ "email": "jappelman@xebia.com"
+ }
+ ],
+ "homepage": "https://github.com/sindresorhus/strip-ansi",
+ "bugs": {
+ "url": "https://github.com/sindresorhus/strip-ansi/issues"
+ },
+ "bin": {
+ "strip-ansi": "cli.js"
+ },
+ "dist": {
+ "shasum": "df62c1aa94ed2f114e1d0f21fd1d50482b79a60e",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-2.0.1.tgz",
+ "integrity": "sha512-2h8q2CP3EeOhDJ+jd932PRMpa3/pOJFGoF22J1U/DNbEK2gSW2DqeF46VjCXsSQXhC+k/l8/gaaRBQKL6hUPfQ==",
+ "signatures": [
+ {
+ "sig": "MEUCIQDI1c5lmGcbfzoonXY+DdFUAlpPUMImJyFzhEO0u48BpQIgMSnkpV57gfbe4AEyrHHUUqIx/PkQ42s1WPQi/FA/9eM=",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ]
+ },
+ "_from": ".",
+ "files": ["index.js", "cli.js"],
+ "_shasum": "df62c1aa94ed2f114e1d0f21fd1d50482b79a60e",
+ "engines": {
+ "node": "\u003E=0.10.0"
+ },
+ "gitHead": "1eff0936c01f89efa312d9d51deed137259871a1",
+ "scripts": {
+ "test": "mocha"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "https://github.com/sindresorhus/strip-ansi",
+ "type": "git"
+ },
+ "_npmVersion": "1.4.28",
+ "description": "Strip ANSI escape codes",
+ "directories": {},
+ "dependencies": {
+ "ansi-regex": "^1.0.0"
+ },
+ "devDependencies": {
+ "mocha": "*"
+ }
+ },
+ "3.0.0": {
+ "name": "strip-ansi",
+ "version": "3.0.0",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@3.0.0",
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ {
+ "name": "jbnicolai",
+ "email": "jappelman@xebia.com"
+ }
+ ],
+ "homepage": "https://github.com/sindresorhus/strip-ansi",
+ "bugs": {
+ "url": "https://github.com/sindresorhus/strip-ansi/issues"
+ },
+ "dist": {
+ "shasum": "7510b665567ca914ccb5d7e072763ac968be3724",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.0.tgz",
+ "integrity": "sha512-leU/wDjPxUZLHqEy4mYnNETRx1jAO1BJ6oTgn9PQWeAiO8kfng2LBq1iXYsN8UYPPRmAizc51nUY6w2Nv12Hog==",
+ "signatures": [
+ {
+ "sig": "MEUCIQCJ3YeqqIpNJftJUsBUYSYy6D/Rdcy3k09cVp7vKLcAUwIgdzEJ6OAzrt8vjYIvtNwh5m9QztufQ0K9wQyKVjzv5lo=",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ]
+ },
+ "_from": ".",
+ "files": ["index.js"],
+ "_shasum": "7510b665567ca914ccb5d7e072763ac968be3724",
+ "engines": {
+ "node": "\u003E=0.10.0"
+ },
+ "gitHead": "3f05b9810e1438f946e2eb84ee854cc00b972e9e",
+ "scripts": {
+ "test": "node test.js"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "https://github.com/sindresorhus/strip-ansi",
+ "type": "git"
+ },
+ "_npmVersion": "2.11.2",
+ "description": "Strip ANSI escape codes",
+ "directories": {},
+ "_nodeVersion": "0.12.5",
+ "dependencies": {
+ "ansi-regex": "^2.0.0"
+ },
+ "devDependencies": {
+ "ava": "0.0.4"
+ }
+ },
+ "3.0.1": {
+ "name": "strip-ansi",
+ "version": "3.0.1",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@3.0.1",
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ {
+ "name": "jbnicolai",
+ "email": "jappelman@xebia.com"
+ }
+ ],
+ "homepage": "https://github.com/chalk/strip-ansi",
+ "bugs": {
+ "url": "https://github.com/chalk/strip-ansi/issues"
+ },
+ "dist": {
+ "shasum": "6a385fb8853d952d5ff05d0e8aaf94278dc63dcf",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
+ "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==",
+ "signatures": [
+ {
+ "sig": "MEQCIFaEl9LHs88NUayvguLjCAIgHNA3JIgshtdDJnck1hKOAiAFQvDk5H6FJsNz97+J6huorwnQipRsxxDZ4ZmKkqL4Hw==",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ]
+ },
+ "_from": ".",
+ "files": ["index.js"],
+ "_shasum": "6a385fb8853d952d5ff05d0e8aaf94278dc63dcf",
+ "engines": {
+ "node": "\u003E=0.10.0"
+ },
+ "gitHead": "8270705c704956da865623e564eba4875c3ea17f",
+ "scripts": {
+ "test": "xo && ava"
+ },
+ "_npmUser": {
+ "name": "jbnicolai",
+ "email": "jappelman@xebia.com"
+ },
+ "repository": {
+ "url": "https://github.com/chalk/strip-ansi",
+ "type": "git"
+ },
+ "_npmVersion": "2.11.3",
+ "description": "Strip ANSI escape codes",
+ "directories": {},
+ "_nodeVersion": "0.12.7",
+ "dependencies": {
+ "ansi-regex": "^2.0.0"
+ },
+ "devDependencies": {
+ "xo": "*",
+ "ava": "*"
+ },
+ "_npmOperationalInternal": {
+ "tmp": "tmp/strip-ansi-3.0.1.tgz_1456057278183_0.28958667791448534",
+ "host": "packages-9-west.internal.npmjs.com"
+ }
+ },
+ "4.0.0": {
+ "name": "strip-ansi",
+ "version": "4.0.0",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@4.0.0",
+ "maintainers": [
+ {
+ "name": "dthree",
+ "email": "threedeecee@gmail.com"
+ },
+ {
+ "name": "qix",
+ "email": "i.am.qix@gmail.com"
+ },
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ }
+ ],
+ "homepage": "https://github.com/chalk/strip-ansi#readme",
+ "bugs": {
+ "url": "https://github.com/chalk/strip-ansi/issues"
+ },
+ "dist": {
+ "shasum": "a8479022eb1ac368a871389b635262c505ee368f",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
+ "integrity": "sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==",
+ "signatures": [
+ {
+ "sig": "MEUCIQDCHb1Csy8k35kjhKC6q92oiFt2kuQV/8WevQ9+AO1edAIgYgwiSmWPF1eN76CL+Wfe3JZrRsrG1KfL3LkykZgVr1s=",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ]
+ },
+ "_from": ".",
+ "files": ["index.js"],
+ "_shasum": "a8479022eb1ac368a871389b635262c505ee368f",
+ "engines": {
+ "node": "\u003E=4"
+ },
+ "gitHead": "c299056a42b31d7a479d6a89b41318b2a2462cc7",
+ "scripts": {
+ "test": "xo && ava"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git+https://github.com/chalk/strip-ansi.git",
+ "type": "git"
+ },
+ "_npmVersion": "2.15.11",
+ "description": "Strip ANSI escape codes",
+ "directories": {},
+ "_nodeVersion": "4.8.3",
+ "dependencies": {
+ "ansi-regex": "^3.0.0"
+ },
+ "devDependencies": {
+ "xo": "*",
+ "ava": "*"
+ },
+ "_npmOperationalInternal": {
+ "tmp": "tmp/strip-ansi-4.0.0.tgz_1497986904730_0.4528853143565357",
+ "host": "s3://npm-registry-packages"
+ }
+ },
+ "5.0.0": {
+ "name": "strip-ansi",
+ "version": "5.0.0",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@5.0.0",
+ "maintainers": [
+ {
+ "name": "qix",
+ "email": "i.am.qix@gmail.com"
+ },
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ }
+ ],
+ "homepage": "https://github.com/chalk/strip-ansi#readme",
+ "bugs": {
+ "url": "https://github.com/chalk/strip-ansi/issues"
+ },
+ "dist": {
+ "shasum": "f78f68b5d0866c20b2c9b8c61b5298508dc8756f",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.0.0.tgz",
+ "fileCount": 4,
+ "integrity": "sha512-Uu7gQyZI7J7gn5qLn1Np3G9vcYGTVqB+lFTytnDJv83dd8T22aGH451P3jueT2/QemInJDfxHB5Tde5OzgG1Ow==",
+ "signatures": [
+ {
+ "sig": "MEUCID17YW9H3VF2pdcQNbR3Qr+hRrgCQ9ZrBHCcuu4nTAi2AiEAxl1Z02ILPB60QnzlyunFd/JE4T0pENucKP0wSg5AMvo=",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ],
+ "unpackedSize": 3412,
+ "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbr9G4CRA9TVsSAnZWagAAQucP/R1vcZ5bj7kPYixt9IeB\nT/gUsBdQ8Q8qxCcSAZSg7im+U8oR5aX84H1wSPKgRKC+QQISmPz+ZKFdQfvP\n9S8A2u8bcblQ7Z1FgPckh3OqqX/tk1m1AnD1NY1munfEYNBhsNwAGyK0jrBd\na/caDWoQ6oZuTt/s4tGomj+Idr/OY1b5CFPgG+8IyxzrjOe+EGKQnN3BtaaS\nonaUce2eTShorppFbz4D3EzKkX8oHP7aAAJtahmOBWhEMees5gG7maFcYEyR\nzvLfmHfWqCudAtJUlrxRa9ofg7WN1drz+xfXNq2O+EWSNowogKMrOkktd6BM\ndFGwg2U8Q+bgBP3I8lKj2Bh0pcm2ZkKwqz1nZNQm3/eBlm6viKjkvAnIw71s\ntjUaz9bvw69himQ4m6D/lEs2SEyw8bu8ZqxEy1OZWlJcp3j6ZeyKqp7BY3W3\nnbSd4XqgYbTRKW+ui7DzKcjOpfQAFMTaD8Lnzj3fVp2bjrhoGNSkmIGbkzZp\nPsQTbrsxMqVyAaJ6WHZnmnpPQODOCI7hZJUDR4U3AFO+vPvi4IZnC6yCJzxO\nViOFuehtQl3G/L9IDctQ2uo1ELsd5M5oguuZrA1HiU0MjjNsqbbV8+HhGCpl\npUuKdGKHVK4VBbortFYOYWmJ9+mJBamLzFXaURBpSp5B3H1tVPiClF396/BA\nEGrL\r\n=IhIN\r\n-----END PGP SIGNATURE-----\r\n"
+ },
+ "engines": {
+ "node": "\u003E=6"
+ },
+ "gitHead": "dfab6777144e0292c7b4be9969c180025d7d2d97",
+ "scripts": {
+ "test": "xo && ava"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git+https://github.com/chalk/strip-ansi.git",
+ "type": "git"
+ },
+ "_npmVersion": "6.4.1",
+ "description": "Strip ANSI escape codes",
+ "directories": {},
+ "_nodeVersion": "10.11.0",
+ "dependencies": {
+ "ansi-regex": "^4.0.0"
+ },
+ "_hasShrinkwrap": false,
+ "devDependencies": {
+ "xo": "^0.23.0",
+ "ava": "^0.25.0"
+ },
+ "_npmOperationalInternal": {
+ "tmp": "tmp/strip-ansi_5.0.0_1538249144142_0.452622585951427",
+ "host": "s3://npm-registry-packages"
+ }
+ },
+ "5.1.0": {
+ "name": "strip-ansi",
+ "version": "5.1.0",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@5.1.0",
+ "maintainers": [
+ {
+ "name": "qix",
+ "email": "i.am.qix@gmail.com"
+ },
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ }
+ ],
+ "homepage": "https://github.com/chalk/strip-ansi#readme",
+ "bugs": {
+ "url": "https://github.com/chalk/strip-ansi/issues"
+ },
+ "dist": {
+ "shasum": "55aaa54e33b4c0649a7338a43437b1887d153ec4",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.1.0.tgz",
+ "fileCount": 4,
+ "integrity": "sha512-TjxrkPONqO2Z8QDCpeE2j6n0M6EwxzyDgzEeGp+FbdvaJAt//ClYi6W5my+3ROlC/hZX2KACUwDfK49Ka5eDvg==",
+ "signatures": [
+ {
+ "sig": "MEQCIQDd+KdcxDjn+n/NnB7GRKcTLqTMkAPuO/uoT2pAVcwB6wIfZscePwWSKlPQ8swpIrFFk34y0Ckt/Kog6kGOW86jhg==",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ],
+ "unpackedSize": 3671,
+ "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgh1ACRA9TVsSAnZWagAAzVsP/3g5xkXRghz4K3k7WZwx\n7HJsOipIiVC7yGdYJubN/CcutejHgsUdJmCbJY6kOTIAL/+bu9yPdGrj7A+m\n/2Num8Dgw3O529TLC0PkEpqUR1WDqIwnJPXZIE15XCJkaTMeJQshMjERA3PC\nxT3WXBEQ8ZvPDZ+aERER2cMqZ8J/fADtj4vKu+e611Fhy4aeQxFckUvxIyB7\nbQK5oVSGXVbJoKZ2YxIBmiqe+sAKDhS6J2N7QpMY82undBQPtABdVabt3Hoc\nh/tUF013UNd2MxpobcMCRSSlte3/Dh1Q/kX47W3ZMKPXOinn+28+Y2OOV5AN\noaFMdoGNTXd1RQZRJrCp8oKxAk44Ugvhl44P4KPhv3OvYN9FLzgk1UQLemWz\nsDV40VPp0irbSyDCZ8MOMhczaqL8nPZlCOCLgWbx3jYIHPNgR/+rvvrzrKSu\n2R2AEaz68cLayFCvI9tsmxnr3AxilxbPJsOFjozMSYpjmNb5TUT9Uz5URKwn\nxmO6zwLwKThB4JW/IUcbQSid0+yQBVEag/3VqwYQER0lYD4gdID7GKoy/t+Q\ne3kHmST1B3V3wNgX3A7zBOPUizyAWMnamKV+55TCKBMsaMWfK2jhOIOxofhQ\ncYtBGeDS/FSaLkvFPi9R0GOVg6X0K+uBCAVwB+sug1Gt6LeMgFUE47wURlkI\nUa+J\r\n=WC7w\r\n-----END PGP SIGNATURE-----\r\n"
+ },
+ "engines": {
+ "node": "\u003E=6"
+ },
+ "gitHead": "581fd4e47612f8c1611b28a553dc855fe176c902",
+ "scripts": {
+ "test": "xo && ava"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git+https://github.com/chalk/strip-ansi.git",
+ "type": "git"
+ },
+ "_npmVersion": "6.8.0",
+ "description": "Strip ANSI escape codes",
+ "directories": {},
+ "_nodeVersion": "8.15.0",
+ "dependencies": {
+ "ansi-regex": "^4.1.0"
+ },
+ "_hasShrinkwrap": false,
+ "devDependencies": {
+ "xo": "^0.23.0",
+ "ava": "^0.25.0"
+ },
+ "_npmOperationalInternal": {
+ "tmp": "tmp/strip-ansi_5.1.0_1552031040383_0.20289783992388477",
+ "host": "s3://npm-registry-packages"
+ }
+ },
+ "5.2.0": {
+ "name": "strip-ansi",
+ "version": "5.2.0",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@5.2.0",
+ "maintainers": [
+ {
+ "name": "qix",
+ "email": "i.am.qix@gmail.com"
+ },
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ }
+ ],
+ "homepage": "https://github.com/chalk/strip-ansi#readme",
+ "bugs": {
+ "url": "https://github.com/chalk/strip-ansi/issues"
+ },
+ "dist": {
+ "shasum": "8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+ "fileCount": 5,
+ "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
+ "signatures": [
+ {
+ "sig": "MEQCICc+u58igTYTNEWaqcpDh3fM1tirpDD+RrX7PNrCshqIAiAnbkhCDhnyt8+G5ztDafS3ju6H5wnpY2v3T/AnXwrxpQ==",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ],
+ "unpackedSize": 4171,
+ "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcj1rbCRA9TVsSAnZWagAAokAP/RiU1bcOVYwy9qLpHlnF\nnR33B+BKYs0XId+BEunXYZZ7iFLFUmo7v7Topp1G5gaTnmEfi5B2foX5Gbmq\n1baLKEDUXzd3tkM4AoLDY2V3NiQzyqBb+AP6J/7Y2dNRv6l2s+HKAyppNDbK\ndfQuBC8QAguLpTECuQlPuRvUjyw1307OTmY0/aX2S17WiChnIAcai6yCJIM1\nNk242zAMv187S7QP0UAqrHLqgM/CoOg5TjBa3mu6/JSLdumlNPMzJbAXVYye\n0fiaRRKNelZ47cQL2kkZwhiJJW3B9lLneYchYtDyJ9TrNInVhradEw4hzeER\nEXsvImEa9MjziANjU6RERMnOu8rqtgwikzwzWcAqiMzZ0zQw8Dz14cB6w3Z2\n7k5EnQbSbXka8ItCqtIg7VEAJsP8LyrcBJBUgk1sdsU/laFKfbHpNoHQgIxM\nXGjvMJiKIpe95/GLwROQ0T3UG2vUHGjFjgFABCKODbl9rt/6+hRoI5iHMJKA\nTPxIOBZU4gcnhwkOsSgQtRk4rEvVl6uxtc24ZTNHEyDcVoKk6v0Zb1y+9xTt\nSd/NI5/KCp28cEKC63sFJlLGvz2BIPjE2B4838Xqem3g1jIm409ewRrud8eV\n9xpNwrHKxkJZN6ts/x2MLkR0W23+DunhD6tMKmUuNS60SDBduZlINyh9IEGl\neZM8\r\n=9U0k\r\n-----END PGP SIGNATURE-----\r\n"
+ },
+ "engines": {
+ "node": "\u003E=6"
+ },
+ "gitHead": "b9c492921b72c48f93568565dbdc929cf63c20e1",
+ "scripts": {
+ "test": "xo && ava && tsd-check"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git+https://github.com/chalk/strip-ansi.git",
+ "type": "git"
+ },
+ "_npmVersion": "6.9.0",
+ "description": "Strip ANSI escape codes from a string",
+ "directories": {},
+ "_nodeVersion": "8.15.0",
+ "dependencies": {
+ "ansi-regex": "^4.1.0"
+ },
+ "_hasShrinkwrap": false,
+ "devDependencies": {
+ "xo": "^0.24.0",
+ "ava": "^1.3.1",
+ "tsd-check": "^0.5.0"
+ },
+ "_npmOperationalInternal": {
+ "tmp": "tmp/strip-ansi_5.2.0_1552898778714_0.7914614281989267",
+ "host": "s3://npm-registry-packages"
+ }
+ },
+ "6.0.0": {
+ "name": "strip-ansi",
+ "version": "6.0.0",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@6.0.0",
+ "maintainers": [
+ {
+ "name": "qix",
+ "email": "i.am.qix@gmail.com"
+ },
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ }
+ ],
+ "homepage": "https://github.com/chalk/strip-ansi#readme",
+ "bugs": {
+ "url": "https://github.com/chalk/strip-ansi/issues"
+ },
+ "dist": {
+ "shasum": "0b1571dd7669ccd4f3e06e14ef1eed26225ae532",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
+ "fileCount": 5,
+ "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
+ "signatures": [
+ {
+ "sig": "MEUCIEWuVgJUbXRHKiCwBvGaMrRhTdlIXp1XjvcTtZCOmRq+AiEA11i8p49GsLI4n8reFqryuqxJDTKkG7ynfJ2cD1bUIRo=",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ],
+ "unpackedSize": 4029,
+ "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxlq1CRA9TVsSAnZWagAAp2MP/3lrauee3M2/7vTL382n\nOQ5m4UAoMUVVUMyP0qJ0ZxvGYXzJL2GdQO79m/6CxS/pXJ/9itV+C6Mzdf9P\nsk93LW7L4BvjsoVWfS66/ZLeN65Ae8KrBZ2WC4qGgFLU1wSMGezgYxIKNg/e\nQfdHY0GkIR4q/Ls1zdu2LyAKz45Xezhb4Fh1LJe8uma+TDGGrjuGKxarlSfi\nwt5hyV3nwklhEdpPzmg8igo1KgmwYtXZ5KFC0jAG8pxPIEMXHc0AO8vdsNLH\ntwl/U/XIFFsWOnZJouqbx2CmGnQcMSp0B/IU0JPa1ltG2uq8xzs4zqdLkunB\nEDqefhFaHsC995UF0Ge30aiZjejv6MZKpnaIk+wSiJ9ZbEftlRIpkMvo7I0e\nFGw3EXMsldSvzNZjNnV+J8CQ1nUPR2CNxBcmxWKI6xomcKzQpw7JMjC8yyEP\nVl6cAbG0A4PJeS0OAeuP/EVZunxU341bjhvS9UgsUyUDxZtLwmtFCjdTGqvz\n2Kp0YpzZxO8GNlO0Y7ZNZII/5NwPGxwCHE4jUJ45IdeCf3w6xRSXoyGfUAIu\n8HY0IypSsf7RV+rkQAG1ghWseJpf39YLHpRhsG7oQgls8B3rpJIikLQ3zudT\nEVSnDtng76W0wAjMcGckYU6eupoxPcjGNA3ZSfAgZge/nWc87SIbisPoOdlV\nM1kE\r\n=4vOM\r\n-----END PGP SIGNATURE-----\r\n"
+ },
+ "engines": {
+ "node": "\u003E=8"
+ },
+ "gitHead": "59533da99981f9d550de1ae0eb9d1a93c2383be3",
+ "scripts": {
+ "test": "xo && ava && tsd"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git+https://github.com/chalk/strip-ansi.git",
+ "type": "git"
+ },
+ "_npmVersion": "6.13.0",
+ "description": "Strip ANSI escape codes from a string",
+ "directories": {},
+ "_nodeVersion": "10.17.0",
+ "dependencies": {
+ "ansi-regex": "^5.0.0"
+ },
+ "_hasShrinkwrap": false,
+ "devDependencies": {
+ "xo": "^0.25.3",
+ "ava": "^2.4.0",
+ "tsd": "^0.10.0"
+ },
+ "_npmOperationalInternal": {
+ "tmp": "tmp/strip-ansi_6.0.0_1573280436501_0.6687217429641616",
+ "host": "s3://npm-registry-packages"
+ }
+ },
+ "7.0.0": {
+ "name": "strip-ansi",
+ "version": "7.0.0",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "https://sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@7.0.0",
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ {
+ "name": "qix",
+ "email": "i.am.qix@gmail.com"
+ }
+ ],
+ "homepage": "https://github.com/chalk/strip-ansi#readme",
+ "bugs": {
+ "url": "https://github.com/chalk/strip-ansi/issues"
+ },
+ "dist": {
+ "shasum": "1dc49b980c3a4100366617adac59327eefdefcb0",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.0.tgz",
+ "fileCount": 5,
+ "integrity": "sha512-UhDTSnGF1dc0DRbUqr1aXwNoY3RgVkSWG8BrpnuFIxhP57IqbS7IRta2Gfiavds4yCxc5+fEAVVOgBZWnYkvzg==",
+ "signatures": [
+ {
+ "sig": "MEQCICFJ67nkD3arSe0aDPGTXY6sBYzCWnbSFIq0y8WwatubAiBSwWZ3C0R25cxdueDI+G4bU3BLSvk63EHFxkn29u+8VA==",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ],
+ "unpackedSize": 4090,
+ "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeSnGCRA9TVsSAnZWagAAi3UP/i+3y6k232AGkS8pt3Xq\nZ92w4RKlSluF7mKKBhIdI1H2T0B3dCne5OBJK8fFk8N0TEhqgGKiL9aMbX7m\ngAgSyjB0pk5LOc+wYjgAHTF4H/4KZdn2F7yLm5+pt8EV4fhZYwega7I/jOJs\nIlCSN2KjFYh6ARBpFNb2DpsN0XG/arM3WbguwwI7QtDPabP5Wlg9fcdKHweK\nMVUP/ZS8qIDskk3rXZmmzVdh/dhHZm1rrrgvz1DoC1SG16OizxUQX+yRFYtK\n6/Ho3EB3AC/WrDSeozT84/76YJW6o42XbHGJIVhBBwr1lOI6I7zf1hJQpica\nm3VFpHRggyyDfXo96eG1qA5NbrqIrG4ExuQTYdRKTkqpZIliQ4apOH3nmBzS\nZn0uA4Es7kodNicZ1/SYit5c2X5R4n1Q5HPINWaT07L659VqBY3FuqfJVxSF\nivMCjMGiCeh7fpuCAFNFnJvGFvZlEWG7Q5Dtytw6UPlAAT+bZgecHZsIn6Fi\nB1jGMgZ3MzV93n+KGhje8kbei5p8KP+gkK48nAx7fmvVyoGjzqQFZpPXG5jg\nkdvd1z16sFoDWgGql+zMjAIeG0wiWYm0GrtEhhda1gClzTXw+PssMZpzZ6YM\nmXJPVElXXlJ+bTrMGZyMPFLa9EYCkVAW3tv6TpFol7wmiP0mM7dGFDxG9Tst\nZ8Mo\r\n=zyq5\r\n-----END PGP SIGNATURE-----\r\n"
+ },
+ "type": "module",
+ "engines": {
+ "node": "\u003E=12"
+ },
+ "exports": "./index.js",
+ "funding": "https://github.com/chalk/strip-ansi?sponsor=1",
+ "gitHead": "316ff53b074b4b1465e18a35e5d792b27ecc2865",
+ "scripts": {
+ "test": "xo && ava && tsd"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git+https://github.com/chalk/strip-ansi.git",
+ "type": "git"
+ },
+ "_npmVersion": "6.14.10",
+ "description": "Strip ANSI escape codes from a string",
+ "directories": {},
+ "_nodeVersion": "14.16.1",
+ "dependencies": {
+ "ansi-regex": "^6.0.0"
+ },
+ "_hasShrinkwrap": false,
+ "devDependencies": {
+ "xo": "^0.38.2",
+ "ava": "^3.15.0",
+ "tsd": "^0.14.0"
+ },
+ "_npmOperationalInternal": {
+ "tmp": "tmp/strip-ansi_7.0.0_1618553285783_0.31328956863503676",
+ "host": "s3://npm-registry-packages"
+ }
+ },
+ "7.0.1": {
+ "name": "strip-ansi",
+ "version": "7.0.1",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "https://sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@7.0.1",
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ {
+ "name": "qix",
+ "email": "josh@junon.me"
+ }
+ ],
+ "homepage": "https://github.com/chalk/strip-ansi#readme",
+ "bugs": {
+ "url": "https://github.com/chalk/strip-ansi/issues"
+ },
+ "dist": {
+ "shasum": "61740a08ce36b61e50e65653f07060d000975fb2",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.0.1.tgz",
+ "fileCount": 5,
+ "integrity": "sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw==",
+ "signatures": [
+ {
+ "sig": "MEYCIQDn4rHfbYwQwEPLxQRIm4QfxT9rWZDiINZP0MqM6LICKgIhAJTz8zQ3KFbr1ayTgxAO2X4LKInMfqQutoaHj2sTNW0W",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ],
+ "unpackedSize": 4090,
+ "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh28O/CRA9TVsSAnZWagAAK+QP/R0BPwbqYKm2cKZ+Cus/\nkbU1maxjoVw7zikegwh/3jUfVA81v5YaxfkvrAq0Z+C0NXC1iJ3zlVCXTzDi\n0jcnNH6n4nV7P6PHYRuK+opNRD1nrsr/8oyowR8NkWPxJVrwaY2ytc8t+qYv\n+gKWENM7MRdcLRYlKI3PQ+hD0ViiZv0OYNqR3AmVOWRNAqSN5OprG3Q3piNM\n42mS2bdT5APpY8H2JfT4c4C5EVLXmJS5mAHuFFY+PP1/h4gnTXBLnWCePbpO\nXN5qT+bNCocXUt7WI2+gf7IL1QY9G+n2NbPMH/xBP1+pOYY8jBZ4kU64obvW\n/7YcHKjoFukd/Rq3Ud2Soj75GvABnJ6VKfZhhMLOq2n4J3wR5lFfRcnYNpNG\nEhXbQHr9C0bjeW0obOGy3ZP5RL3gm9G2h0N1C9tTkxM9MsqlBw9Wn1o3x3cd\ngBJnPHwJTm/X/PmOvFRsbf2/CykAZMYjxkNlqdV1YrJLeYYu4ZWbkxThPWu3\nSKek7ChwkIPCeOVg6Hhqd76CXbndzjNTxT4eb5/lnQypALG680yB/AVFdRlI\no+M7eP8z5FF8i0BFV2bU6+b6ldsLUzBAlxBJyo7BuCOX5XSJEHExKItV1XwW\ncVDenzuNgOrS5t2wbE9jH/8pinueBAJllC1bi6CGBvR8jTSlWhabkJkuEnse\n6q5t\r\n=C27g\r\n-----END PGP SIGNATURE-----\r\n"
+ },
+ "type": "module",
+ "engines": {
+ "node": "\u003E=12"
+ },
+ "exports": "./index.js",
+ "funding": "https://github.com/chalk/strip-ansi?sponsor=1",
+ "gitHead": "dd40fa7ced678f14dfb43eb9b62b8e7313fb7011",
+ "scripts": {
+ "test": "xo && ava && tsd"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git+https://github.com/chalk/strip-ansi.git",
+ "type": "git"
+ },
+ "_npmVersion": "7.20.3",
+ "description": "Strip ANSI escape codes from a string",
+ "directories": {},
+ "_nodeVersion": "14.17.5",
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
+ },
+ "_hasShrinkwrap": false,
+ "devDependencies": {
+ "xo": "^0.44.0",
+ "ava": "^3.15.0",
+ "tsd": "^0.17.0"
+ },
+ "_npmOperationalInternal": {
+ "tmp": "tmp/strip-ansi_7.0.1_1631350246326_0.79864745235274",
+ "host": "s3://npm-registry-packages"
+ }
+ },
+ "6.0.1": {
+ "name": "strip-ansi",
+ "version": "6.0.1",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@6.0.1",
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ {
+ "name": "qix",
+ "email": "josh@junon.me"
+ }
+ ],
+ "homepage": "https://github.com/chalk/strip-ansi#readme",
+ "bugs": {
+ "url": "https://github.com/chalk/strip-ansi/issues"
+ },
+ "dist": {
+ "shasum": "9e26c63d30f53443e9489495b2105d37b67a85d9",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "fileCount": 5,
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "signatures": [
+ {
+ "sig": "MEQCIEIaIvQJAMRlSerQ8cuHIzWxWLJPS6LkkF/9tMpiAXTvAiBY3tMFoj8tB0mc3dm7Th97E9p88NfZfjOdr/HKu8apLw==",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ],
+ "unpackedSize": 4029
+ },
+ "engines": {
+ "node": "\u003E=8"
+ },
+ "gitHead": "59533da99981f9d550de1ae0eb9d1a93c2383be3",
+ "scripts": {
+ "test": "xo && ava && tsd"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git+https://github.com/chalk/strip-ansi.git",
+ "type": "git"
+ },
+ "_npmVersion": "7.5.4",
+ "description": "Strip ANSI escape codes from a string",
+ "directories": {},
+ "_nodeVersion": "16.9.1",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "_hasShrinkwrap": false,
+ "readmeFilename": "readme.md",
+ "devDependencies": {
+ "xo": "^0.25.3",
+ "ava": "^2.4.0",
+ "tsd": "^0.10.0"
+ },
+ "_npmOperationalInternal": {
+ "tmp": "tmp/strip-ansi_6.0.1_1632414881633_0.39929061070208505",
+ "host": "s3://npm-registry-packages"
+ }
+ },
+ "7.1.0": {
+ "name": "strip-ansi",
+ "version": "7.1.0",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "https://sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@7.1.0",
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ {
+ "name": "qix",
+ "email": "josh@junon.me"
+ }
+ ],
+ "homepage": "https://github.com/chalk/strip-ansi#readme",
+ "bugs": {
+ "url": "https://github.com/chalk/strip-ansi/issues"
+ },
+ "dist": {
+ "shasum": "d5b6568ca689d8561370b0707685d22434faff45",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
+ "fileCount": 5,
+ "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
+ "signatures": [
+ {
+ "sig": "MEYCIQDLcWbjmD7JZAQ0csSDb2mo3VnE7r9e8bQPjsVd2SmvmQIhAKTReWeeAy2ZNI3H+RItkH7tubYl4uZ/Jg4hN4TzQKAB",
+ "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
+ }
+ ],
+ "unpackedSize": 4321
+ },
+ "type": "module",
+ "types": "./index.d.ts",
+ "engines": {
+ "node": "\u003E=12"
+ },
+ "exports": "./index.js",
+ "funding": "https://github.com/chalk/strip-ansi?sponsor=1",
+ "gitHead": "1fdc531d4046cbaa830460f5c74452bf1f0a0884",
+ "scripts": {
+ "test": "xo && ava && tsd"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git+https://github.com/chalk/strip-ansi.git",
+ "type": "git"
+ },
+ "_npmVersion": "9.2.0",
+ "description": "Strip ANSI escape codes from a string",
+ "directories": {},
+ "_nodeVersion": "16.20.0",
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
+ },
+ "_hasShrinkwrap": false,
+ "devDependencies": {
+ "xo": "^0.44.0",
+ "ava": "^3.15.0",
+ "tsd": "^0.17.0"
+ },
+ "_npmOperationalInternal": {
+ "tmp": "tmp/strip-ansi_7.1.0_1685267704153_0.8565336218552002",
+ "host": "s3://npm-registry-packages"
+ }
+ },
+ "7.1.2": {
+ "name": "strip-ansi",
+ "version": "7.1.2",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "author": {
+ "url": "https://sindresorhus.com",
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "license": "MIT",
+ "_id": "strip-ansi@7.1.2",
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ }
+ ],
+ "homepage": "https://github.com/chalk/strip-ansi#readme",
+ "bugs": {
+ "url": "https://github.com/chalk/strip-ansi/issues"
+ },
+ "dist": {
+ "shasum": "132875abde678c7ea8d691533f2e7e22bb744dba",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.2.tgz",
+ "fileCount": 5,
+ "integrity": "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA==",
+ "signatures": [
+ {
+ "sig": "MEYCIQCKhqKRdcI/JAWM26KUYvAdp5Na5OQA4wLvC1DirZPg3QIhAPRGgp4JHYOQjqn7bjVhZnGVHHpK7uZsLdV5VHTodrHr",
+ "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
+ }
+ ],
+ "unpackedSize": 4120
+ },
+ "type": "module",
+ "types": "./index.d.ts",
+ "engines": {
+ "node": "\u003E=12"
+ },
+ "exports": "./index.js",
+ "funding": "https://github.com/chalk/strip-ansi?sponsor=1",
+ "gitHead": "c51e2883f3579628f7bffd40a13070e563bcc2c6",
+ "scripts": {
+ "test": "xo && ava && tsd"
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "repository": {
+ "url": "git+https://github.com/chalk/strip-ansi.git",
+ "type": "git"
+ },
+ "_npmVersion": "10.9.2",
+ "description": "Strip ANSI escape codes from a string",
+ "directories": {},
+ "sideEffects": false,
+ "_nodeVersion": "22.12.0",
+ "dependencies": {
+ "ansi-regex": "^6.0.1"
+ },
+ "_hasShrinkwrap": false,
+ "devDependencies": {
+ "xo": "^0.44.0",
+ "ava": "^3.15.0",
+ "tsd": "^0.17.0"
+ },
+ "_npmOperationalInternal": {
+ "tmp": "tmp/strip-ansi_7.1.2_1757343928967_0.8727537049168383",
+ "host": "s3://npm-registry-packages-npm-production"
+ }
+ },
+ "7.2.0": {
+ "name": "strip-ansi",
+ "version": "7.2.0",
+ "description": "Strip ANSI escape codes from a string",
+ "license": "MIT",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/chalk/strip-ansi.git"
+ },
+ "funding": "https://github.com/chalk/strip-ansi?sponsor=1",
+ "author": {
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "https://sindresorhus.com"
+ },
+ "type": "module",
+ "exports": "./index.js",
+ "types": "./index.d.ts",
+ "sideEffects": false,
+ "engines": {
+ "node": "\u003E=12"
+ },
+ "scripts": {
+ "test": "xo && ava && tsd"
+ },
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "dependencies": {
+ "ansi-regex": "^6.2.2"
+ },
+ "devDependencies": {
+ "ava": "^6.4.1",
+ "tsd": "^0.33.0",
+ "xo": "^1.2.3"
+ },
+ "gitHead": "38ff9f2282540422031ed523f0060c7bb575e20f",
+ "_id": "strip-ansi@7.2.0",
+ "bugs": {
+ "url": "https://github.com/chalk/strip-ansi/issues"
+ },
+ "homepage": "https://github.com/chalk/strip-ansi#readme",
+ "_nodeVersion": "25.6.0",
+ "_npmVersion": "11.8.0",
+ "dist": {
+ "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==",
+ "shasum": "d22a269522836a627af8d04b5c3fd2c7fa3e32e3",
+ "tarball": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz",
+ "fileCount": 5,
+ "unpackedSize": 4276,
+ "signatures": [
+ {
+ "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
+ "sig": "MEUCIFLADIulmdtDkVR1UqMBq2CySy43fzbfXblvu9cXrQmZAiEA9XdjCh6Gtnap3sFOKgDqYVhnbWm+goAp7ZFsYqZaKoQ="
+ }
+ ]
+ },
+ "_npmUser": {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ },
+ "directories": {},
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ }
+ ],
+ "_npmOperationalInternal": {
+ "host": "s3://npm-registry-packages-npm-production",
+ "tmp": "tmp/strip-ansi_7.2.0_1772113870951_0.9207259252325153"
+ },
+ "_hasShrinkwrap": false
+ }
+ },
+ "time": {
+ "created": "2013-12-07T23:30:14.926Z",
+ "modified": "2026-02-26T13:51:11.224Z",
+ "0.1.0": "2013-12-07T23:30:17.673Z",
+ "0.1.1": "2013-12-08T00:12:22.401Z",
+ "0.2.0": "2014-03-26T15:28:35.327Z",
+ "0.2.1": "2014-04-28T10:05:45.285Z",
+ "0.2.2": "2014-06-03T17:09:40.794Z",
+ "0.3.0": "2014-06-24T19:33:15.394Z",
+ "1.0.0": "2014-07-23T22:31:46.786Z",
+ "2.0.0": "2014-08-13T13:36:36.745Z",
+ "2.0.1": "2015-01-16T18:48:44.952Z",
+ "3.0.0": "2015-06-30T16:53:11.137Z",
+ "3.0.1": "2016-02-21T12:21:22.998Z",
+ "4.0.0": "2017-06-20T19:28:26.510Z",
+ "5.0.0": "2018-09-29T19:25:44.295Z",
+ "5.1.0": "2019-03-08T07:44:00.512Z",
+ "5.2.0": "2019-03-18T08:46:18.955Z",
+ "6.0.0": "2019-11-09T06:20:36.658Z",
+ "7.0.0": "2021-04-16T06:08:05.929Z",
+ "7.0.1": "2021-09-11T08:50:46.669Z",
+ "6.0.1": "2021-09-23T16:34:41.798Z",
+ "7.1.0": "2023-05-28T09:55:04.358Z",
+ "7.1.1": "2025-09-08T13:13:50.431Z",
+ "7.1.2": "2025-09-08T15:05:29.146Z",
+ "7.2.0": "2026-02-26T13:51:11.099Z"
+ },
+ "bugs": {
+ "url": "https://github.com/chalk/strip-ansi/issues"
+ },
+ "author": {
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "https://sindresorhus.com"
+ },
+ "license": "MIT",
+ "homepage": "https://github.com/chalk/strip-ansi#readme",
+ "keywords": [
+ "strip",
+ "trim",
+ "remove",
+ "ansi",
+ "styles",
+ "color",
+ "colour",
+ "colors",
+ "terminal",
+ "console",
+ "string",
+ "tty",
+ "escape",
+ "formatting",
+ "rgb",
+ "256",
+ "shell",
+ "xterm",
+ "log",
+ "logging",
+ "command-line",
+ "text"
+ ],
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/chalk/strip-ansi.git"
+ },
+ "description": "Strip ANSI escape codes from a string",
+ "maintainers": [
+ {
+ "name": "sindresorhus",
+ "email": "sindresorhus@gmail.com"
+ }
+ ],
+ "readme": "# strip-ansi\n\n\u003E Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) from a string\n\n\u003E [!NOTE]\n\u003E Node.js has this built-in now with [`stripVTControlCharacters`](https://nodejs.org/api/util.html#utilstripvtcontrolcharactersstr). The benefit of this package is consistent behavior across Node.js versions and faster improvements. The Node.js version is actually based on this package.\n\n## Install\n\n```sh\nnpm install strip-ansi\n```\n\n## Usage\n\n```js\nimport stripAnsi from 'strip-ansi';\n\nstripAnsi('\\u001B[4mUnicorn\\u001B[0m');\n//=\u003E 'Unicorn'\n\nstripAnsi('\\u001B]8;;https://github.com\\u0007Click\\u001B]8;;\\u0007');\n//=\u003E 'Click'\n```\n\n## Related\n\n- [strip-ansi-cli](https://github.com/chalk/strip-ansi-cli) - CLI for this module\n- [strip-ansi-stream](https://github.com/chalk/strip-ansi-stream) - Streaming version of this module\n- [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes\n- [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape codes\n- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right\n\n## Maintainers\n\n- [Sindre Sorhus](https://github.com/sindresorhus)\n- [Josh Junon](https://github.com/qix-)\n",
+ "readmeFilename": "readme.md",
+ "users": {
+ "usex": true,
+ "d-band": true,
+ "lenage": true,
+ "kontrax": true,
+ "edwardxyt": true,
+ "mojaray2k": true,
+ "insomniaqc": true,
+ "flumpus-dev": true,
+ "houzhanfeng": true,
+ "soenkekluth": true,
+ "tunnckocore": true,
+ "zhenguo.zhao": true,
+ "scottfreecode": true,
+ "recursion_excursion": true
+ }
+}
diff --git a/test/nuxt/a11y.spec.ts b/test/nuxt/a11y.spec.ts
index 8629dd33c0..c76bff3ded 100644
--- a/test/nuxt/a11y.spec.ts
+++ b/test/nuxt/a11y.spec.ts
@@ -2000,12 +2000,29 @@ describe('component accessibility audits', () => {
const component = await mountSuspended(CompareReplacementSuggestion, {
props: {
packageName: 'array-includes',
+ mapping: {
+ type: 'module',
+ moduleName: 'array-includes',
+ replacements: ['Array.prototype.includes'],
+ },
replacement: {
+ id: 'Array.prototype.includes',
type: 'native',
- moduleName: 'array-includes',
- nodeVersion: '6.0.0',
- replacement: 'Array.prototype.includes',
- mdnPath: 'Global_Objects/Array/includes',
+ url: {
+ type: 'mdn',
+ id: 'Web/JavaScript/Reference/Global_Objects/Array/includes',
+ },
+ webFeatureId: {
+ featureId: 'array-includes',
+ compatKey: 'javascript.builtins.Array.includes',
+ },
+ engines: [
+ { engine: 'chrome', minVersion: '47' },
+ { engine: 'edge', minVersion: '14' },
+ { engine: 'firefox', minVersion: '43' },
+ { engine: 'safari', minVersion: '9' },
+ { engine: 'nodejs', minVersion: '6.0.0' },
+ ],
},
variant: 'nodep',
},
@@ -2018,10 +2035,16 @@ describe('component accessibility audits', () => {
const component = await mountSuspended(CompareReplacementSuggestion, {
props: {
packageName: 'is-even',
+ mapping: {
+ type: 'module',
+ moduleName: 'is-even',
+ replacements: ['snippet::is-even'],
+ },
replacement: {
+ id: 'snippet::is-even',
type: 'simple',
- moduleName: 'is-even',
- replacement: 'Use (n % 2) === 0',
+ description: 'You can use the modulo operator to check if a number is even.',
+ example: '(n % 2) === 0',
},
variant: 'nodep',
},
@@ -2034,10 +2057,17 @@ describe('component accessibility audits', () => {
const component = await mountSuspended(CompareReplacementSuggestion, {
props: {
packageName: 'moment',
+ mapping: {
+ type: 'module',
+ moduleName: 'moment',
+ replacements: ['day.js', 'date-fns', 'luxon', 'Date'],
+ url: { type: 'e18e', id: 'moment' },
+ },
replacement: {
+ id: 'day.js',
type: 'documented',
- moduleName: 'moment',
- docPath: 'moment',
+ url: { type: 'e18e', id: 'moment' },
+ replacementModule: 'day.js',
},
variant: 'info',
},
@@ -2459,13 +2489,22 @@ describe('component accessibility audits', () => {
it('should have no accessibility violations for native replacement', async () => {
const component = await mountSuspended(PackageReplacement, {
props: {
+ mapping: {
+ type: 'module',
+ moduleName: 'array-every',
+ replacements: ['Array.prototype.every'],
+ },
replacement: {
+ id: 'Array.prototype.every',
type: 'native',
- moduleName: 'array-every',
- nodeVersion: '0.10.0',
- replacement: 'Array.prototype.every',
- mdnPath: 'Global_Objects/Array/every',
- category: 'native',
+ url: {
+ type: 'mdn',
+ id: 'Web/JavaScript/Reference/Global_Objects/Array/every',
+ },
+ engines: [
+ { engine: 'nodejs', minVersion: '0.10.0' },
+ { engine: 'chrome', minVersion: '1' },
+ ],
},
},
})
@@ -2476,24 +2515,16 @@ describe('component accessibility audits', () => {
it('should have no accessibility violations for simple replacement', async () => {
const component = await mountSuspended(PackageReplacement, {
props: {
- replacement: {
- type: 'simple',
- moduleName: 'underscore',
- replacement: 'lodash',
+ mapping: {
+ type: 'module',
+ moduleName: 'is-even',
+ replacements: ['snippet::is-even'],
},
- },
- })
- const results = await runAxe(component)
- expect(results.violations).toEqual([])
- })
-
- it('should have no accessibility violations for documented replacement', async () => {
- const component = await mountSuspended(PackageReplacement, {
- props: {
replacement: {
- type: 'documented',
- moduleName: 'moment',
- docPath: 'moment',
+ id: 'snippet::is-even',
+ type: 'simple',
+ description: 'You can use the modulo operator to check if a number is even.',
+ example: '(n % 2) === 0',
},
},
})
diff --git a/test/nuxt/composables/use-compare-replacements.spec.ts b/test/nuxt/composables/use-compare-replacements.spec.ts
index 4c9f98a917..fb1ce317fe 100644
--- a/test/nuxt/composables/use-compare-replacements.spec.ts
+++ b/test/nuxt/composables/use-compare-replacements.spec.ts
@@ -50,12 +50,17 @@ describe('useCompareReplacements', () => {
vi.fn().mockImplementation((url: string) => {
if (url.includes('/api/replacements/array-includes')) {
return Promise.resolve({
+ id: 'Array.prototype.includes',
type: 'native',
- moduleName: 'array-includes',
- nodeVersion: '6.0.0',
- replacement: 'Array.prototype.includes',
- mdnPath: 'Global_Objects/Array/includes',
- category: 'native',
+ url: {
+ type: 'mdn',
+ id: 'Web/JavaScript/Reference/Global_Objects/Array/includes',
+ },
+ webFeatureId: {
+ featureId: 'array-includes',
+ compatKey: 'javascript.builtins.Array.includes',
+ },
+ engines: [{ engine: 'nodejs', minVersion: '6.0.0' }],
} satisfies ModuleReplacement)
}
return Promise.resolve(null)
@@ -81,19 +86,17 @@ describe('useCompareReplacements', () => {
vi.fn().mockImplementation((url: string) => {
if (url.includes('/api/replacements/is-even')) {
return Promise.resolve({
+ id: 'snippet::is-even',
type: 'simple',
- moduleName: 'is-even',
- replacement: 'Use (n % 2) === 0',
- category: 'micro-utilities',
+ description: 'You can use the modulo operator to check if a number is even.',
+ example: '(n % 2) === 0',
} satisfies ModuleReplacement)
}
return Promise.resolve(null)
}),
)
- const { noDepSuggestions, infoSuggestions } = await useCompareReplacementsInComponent([
- 'is-even',
- ])
+ const { noDepSuggestions } = await useCompareReplacementsInComponent(['is-even'])
await vi.waitFor(() => {
expect(noDepSuggestions.value).toHaveLength(1)
@@ -101,7 +104,7 @@ describe('useCompareReplacements', () => {
expect(noDepSuggestions.value[0]?.forPackage).toBe('is-even')
expect(noDepSuggestions.value[0]?.replacement.type).toBe('simple')
- expect(infoSuggestions.value).toHaveLength(0)
+ expect(noDepSuggestions.value[0]?.replacement).toHaveProperty('example', '(n % 2) === 0')
})
it('categorizes documented replacements as info suggestions', async () => {
@@ -110,10 +113,10 @@ describe('useCompareReplacements', () => {
vi.fn().mockImplementation((url: string) => {
if (url.includes('/api/replacements/moment')) {
return Promise.resolve({
+ id: 'date-fns',
type: 'documented',
- moduleName: 'moment',
- docPath: 'moment',
- category: 'preferred',
+ url: { type: 'e18e', id: 'moment' },
+ replacementModule: 'date-fns',
} satisfies ModuleReplacement)
}
return Promise.resolve(null)
@@ -139,28 +142,29 @@ describe('useCompareReplacements', () => {
vi.fn().mockImplementation((url: string) => {
if (url.includes('/api/replacements/is-odd')) {
return Promise.resolve({
+ id: 'snippet::is-odd',
type: 'simple',
- moduleName: 'is-odd',
- replacement: 'Use (n % 2) !== 0',
- category: 'micro-utilities',
+ description: 'Check if odd',
+ example: '(n % 2) !== 0',
} satisfies ModuleReplacement)
}
if (url.includes('/api/replacements/lodash')) {
return Promise.resolve({
+ id: 'native',
type: 'documented',
- moduleName: 'lodash',
- docPath: 'lodash-underscore',
- category: 'preferred',
+ url: { type: 'e18e', id: 'lodash' },
+ replacementModule: 'native',
} satisfies ModuleReplacement)
}
if (url.includes('/api/replacements/array-map')) {
return Promise.resolve({
+ id: 'Array.prototype.map',
type: 'native',
- moduleName: 'array-map',
- nodeVersion: '0.10.0',
- replacement: 'Array.prototype.map',
- mdnPath: 'Global_Objects/Array/map',
- category: 'native',
+ url: {
+ type: 'mdn',
+ id: 'Web/JavaScript/Reference/Global_Objects/Array/map',
+ },
+ engines: [{ engine: 'nodejs', minVersion: '0.10.0' }],
} satisfies ModuleReplacement)
}
return Promise.resolve(null)
@@ -178,12 +182,9 @@ describe('useCompareReplacements', () => {
expect(infoSuggestions.value).toHaveLength(1)
})
- // no dep should have simple and native
const noDepTypes = noDepSuggestions.value.map(s => s.replacement.type)
expect(noDepTypes).toContain('simple')
expect(noDepTypes).toContain('native')
-
- // Info should have documented
expect(infoSuggestions.value[0]?.replacement.type).toBe('documented')
})
})
@@ -192,12 +193,7 @@ describe('useCompareReplacements', () => {
it('does not include packages with no replacement data', async () => {
vi.stubGlobal(
'$fetch',
- vi.fn().mockImplementation((url: string) => {
- if (url.includes('/api/replacements/react')) {
- return Promise.resolve(null) // No replacement for react
- }
- return Promise.resolve(null)
- }),
+ vi.fn().mockImplementation(() => Promise.resolve(null)),
)
const { noDepSuggestions, infoSuggestions, replacements } =
@@ -214,21 +210,16 @@ describe('useCompareReplacements', () => {
it('handles fetch errors gracefully', async () => {
vi.stubGlobal(
'$fetch',
- vi.fn().mockImplementation(() => {
- return Promise.reject(new Error('Network error'))
- }),
+ vi.fn().mockImplementation(() => Promise.reject(new Error('Network error'))),
)
- const { noDepSuggestions, infoSuggestions, replacements } =
- await useCompareReplacementsInComponent(['some-package'])
+ const { replacements } = await useCompareReplacementsInComponent(['some-package'])
await vi.waitFor(() => {
expect(replacements.value.has('some-package')).toBe(true)
})
expect(replacements.value.get('some-package')).toBeNull()
- expect(noDepSuggestions.value).toHaveLength(0)
- expect(infoSuggestions.value).toHaveLength(0)
})
})
@@ -237,10 +228,10 @@ describe('useCompareReplacements', () => {
const fetchMock = vi.fn().mockImplementation((url: string) => {
if (url.includes('/api/replacements/is-even')) {
return Promise.resolve({
+ id: 'snippet::is-even',
type: 'simple',
- moduleName: 'is-even',
- replacement: 'Use (n % 2) === 0',
- category: 'micro-utilities',
+ description: 'Check even',
+ example: '(n % 2) === 0',
} satisfies ModuleReplacement)
}
return Promise.resolve(null)
diff --git a/test/nuxt/composables/use-replacement-dependencies.spec.ts b/test/nuxt/composables/use-replacement-dependencies.spec.ts
index ec5f89bfbe..f0e2796bfe 100644
--- a/test/nuxt/composables/use-replacement-dependencies.spec.ts
+++ b/test/nuxt/composables/use-replacement-dependencies.spec.ts
@@ -3,19 +3,41 @@ import { mountSuspended, registerEndpoint } from '@nuxt/test-utils/runtime'
import type { ModuleReplacement } from 'module-replacements'
const SIMPLE_REPLACEMENT: ModuleReplacement = {
+ id: 'snippet::is-even',
type: 'simple',
- moduleName: 'is-even',
- replacement: 'Use (n % 2) === 0',
- category: 'micro-utilities',
+ description: 'You can use the modulo operator to check if a number is even.',
+ example: '(n % 2) === 0',
}
const NATIVE_REPLACEMENT: ModuleReplacement = {
+ id: 'Array.prototype.includes',
type: 'native',
- moduleName: 'array-includes',
- nodeVersion: '6.0.0',
- replacement: 'Array.prototype.includes',
- mdnPath: 'Global_Objects/Array/includes',
- category: 'native',
+ url: {
+ type: 'mdn',
+ id: 'Web/JavaScript/Reference/Global_Objects/Array/includes',
+ },
+ webFeatureId: {
+ featureId: 'array-includes',
+ compatKey: 'javascript.builtins.Array.includes',
+ },
+ engines: [
+ { engine: 'chrome', minVersion: '47' },
+ { engine: 'chrome_android', minVersion: '47' },
+ { engine: 'edge', minVersion: '14' },
+ { engine: 'firefox', minVersion: '43' },
+ { engine: 'firefox_android', minVersion: '43' },
+ { engine: 'safari', minVersion: '9' },
+ { engine: 'safari_ios', minVersion: '9' },
+ { engine: 'bun', minVersion: '1.0.0' },
+ { engine: 'deno', minVersion: '1.0' },
+ { engine: 'nodejs', minVersion: '6.0.0' },
+ { engine: 'oculus', minVersion: '5.0' },
+ { engine: 'opera', minVersion: '34' },
+ { engine: 'opera_android', minVersion: '34' },
+ { engine: 'samsunginternet_android', minVersion: '5.0' },
+ { engine: 'webview_android', minVersion: '47' },
+ { engine: 'webview_ios', minVersion: '9' },
+ ],
}
async function mountWithDeps(deps: Record | undefined) {
@@ -40,7 +62,7 @@ async function mountWithDeps(deps: Record | undefined) {
describe('useReplacementDependencies', () => {
it('returns replacements for dependencies that have them', async () => {
- registerEndpoint('/api/replacements/is-even', () => SIMPLE_REPLACEMENT)
+ registerEndpoint('/api/replacements/is-even', () => ({ replacement: SIMPLE_REPLACEMENT }))
registerEndpoint('/api/replacements/picoquery', () => null)
const replacements = await mountWithDeps({
@@ -73,8 +95,10 @@ describe('useReplacementDependencies', () => {
})
it('handles multiple dependencies with replacements', async () => {
- registerEndpoint('/api/replacements/is-even', () => SIMPLE_REPLACEMENT)
- registerEndpoint('/api/replacements/array-includes', () => NATIVE_REPLACEMENT)
+ registerEndpoint('/api/replacements/is-even', () => ({ replacement: SIMPLE_REPLACEMENT }))
+ registerEndpoint('/api/replacements/array-includes', () => ({
+ replacement: NATIVE_REPLACEMENT,
+ }))
registerEndpoint('/api/replacements/picoquery', () => null)
const replacements = await mountWithDeps({
@@ -87,8 +111,12 @@ describe('useReplacementDependencies', () => {
expect(Object.keys(replacements.value)).toHaveLength(2)
})
- expect(replacements.value['is-even']?.type).toBe('simple')
- expect(replacements.value['array-includes']?.type).toBe('native')
+ const simple = replacements.value['is-even']
+ const native = replacements.value['array-includes']
+
+ expect(simple?.type).toBe('simple')
+ expect(native?.type).toBe('native')
+ expect(native?.url).toHaveProperty('type', 'mdn')
expect(replacements.value['picoquery']).toBeUndefined()
})
@@ -96,7 +124,7 @@ describe('useReplacementDependencies', () => {
registerEndpoint('/api/replacements/failing-package', () => {
throw new Error('Network error')
})
- registerEndpoint('/api/replacements/is-even', () => SIMPLE_REPLACEMENT)
+ registerEndpoint('/api/replacements/is-even', () => ({ replacement: SIMPLE_REPLACEMENT }))
const replacements = await mountWithDeps({
'failing-package': '^1.0.0',