diff --git a/src/components/RecentVersion.tsx b/src/components/RecentVersion.tsx
index 8a7c491..f4a1b0b 100644
--- a/src/components/RecentVersion.tsx
+++ b/src/components/RecentVersion.tsx
@@ -74,21 +74,19 @@ export default function RecentVersion({ pkg }: PresetCardProps) {
return (
-
+
-
+
- {item.version}
+ {item.version}
+
{
export default function Home({ manifest, version, additionalInfo: needSync }: PageProps) {
const pkg = manifest;
const tags: string[] = pkg?.keywords || [];
+ const deprecated = pkg?.versions?.[version!]?.deprecated;
const { styles: style } = useStyles();
const contentNode = (
@@ -58,7 +59,7 @@ export default function Home({ manifest, version, additionalInfo: needSync }: Pa
-
+
@@ -97,6 +98,9 @@ export default function Home({ manifest, version, additionalInfo: needSync }: Pa
({ label: tag, href: `/packages?q=${tag}` }))} />
+ {deprecated && }
{contentNode}
diff --git a/src/slugs/versions/index.tsx b/src/slugs/versions/index.tsx
index 8a592b3..b6f9b4b 100644
--- a/src/slugs/versions/index.tsx
+++ b/src/slugs/versions/index.tsx
@@ -157,6 +157,7 @@ function VersionsList({ versions, pkg }: { versions: NpmPackageVersion[]; pkg: P