File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ const fundingUrl = computed(() => {
248248 :package-name =" packageName"
249249 :resolved-version =" resolvedVersion ?? ''"
250250 :is-latest =" resolvedVersion === pkg?.['dist-tags']?.latest"
251- :license =" ( displayVersion as any) ?.license"
251+ :license =" displayVersion?.license"
252252 />
253253 <div
254254 ref =" header"
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ const { data: downloadsData } = usePackageDownloads(
2727 ' last-week' ,
2828)
2929
30+ // e.g. nuxt 4.4.2 (latest) — 1.4M weekly downloads — MIT license — via npmx.dev
3031const altText = computed (() => {
3132 const tag = props .isLatest ? ' latest' : props .resolvedVersion
3233 const parts: string [] = [` ${props .packageName } ${props .resolvedVersion } (${tag }) ` ]
@@ -90,12 +91,6 @@ function handleCopyLink() {
9091 class =" sm:max-w-3xl"
9192 @close =" showAlt = false"
9293 >
93- <!--
94- aspect-ratio matches card output (1280×520 = 2.46:1).
95- The PNG is rendered at full 1280px, displayed inside a ~700px container —
96- about 0.55× scale. image-rendering: high-quality ensures the browser
97- uses a bicubic/lanczos algorithm instead of nearest-neighbour.
98- -->
9994 <div
10095 class =" bg-bg-elevated rounded-lg mb-4 overflow-hidden ring-1 ring-border-subtle"
10196 style =" aspect-ratio : 1280 /520 "
You can’t perform that action at this time.
0 commit comments