File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,9 @@ export class PackageDiscoverer {
6262 return {
6363 name : pkg ,
6464 description : deprecated
65- ? ""
66- : ( descriptions [ `packages/${ ghName } /package.json` ] ??
65+ ? "" // descriptions of deprecated packages are often wrong as their code might be deleted,
66+ : // thus falling back to a higher hierarchy description, often a mismatch
67+ ( descriptions [ `packages/${ ghName } /package.json` ] ??
6768 descriptions [
6869 `packages/${ ghName . substring ( ghName . lastIndexOf ( "/" ) + 1 ) } /package.json`
6970 ] ??
Original file line number Diff line number Diff line change 163163 pkg .deprecated &&
164164 " transition-opacity duration-300 line-through opacity-75 group-hover:opacity-100"
165165 ]}
166+ title ={pkg .deprecated ? " Deprecated: " + pkg .deprecated : undefined }
166167 >
167168 {pkg .name }
168169 </span >
You can’t perform that action at this time.
0 commit comments