-
@@ -742,7 +780,31 @@ defineOgImageComponent('Package', {
{{ $t('package.stats.deps') }}
-
- {{ getDependencyCount(displayVersion) }}
+
+ {{ getDependencyCount(displayVersion) }}
+
+
+ /
+
+
+
+
+
+ {{ totalDepsCount }}
+ -
+
+ -
+
+
+
+
+
+
+
-
+ {{ $t('package.stats.vulns') }}
+
+ -
+
+
+
+
+ {{ vulnCount }}
+
+
+ 0
+
+
+ -
+
+
+
+
+
-
+ {{ $t('package.stats.vulns') }}
+
+ - -
+
+
+
+
-
{{ $t('package.stats.updated') }}
diff --git a/i18n/locales/en.json b/i18n/locales/en.json
index e6b8596725..6bdb6f9e76 100644
--- a/i18n/locales/en.json
+++ b/i18n/locales/en.json
@@ -121,6 +121,7 @@
"license": "License",
"deps": "Deps",
"install_size": "Install Size",
+ "vulns": "Vulns",
"updated": "Updated",
"view_dependency_graph": "View dependency graph",
"inspect_dependency_tree": "Inspect dependency tree"
diff --git a/lunaria/files/en-US.json b/lunaria/files/en-US.json
index e6b8596725..6bdb6f9e76 100644
--- a/lunaria/files/en-US.json
+++ b/lunaria/files/en-US.json
@@ -121,6 +121,7 @@
"license": "License",
"deps": "Deps",
"install_size": "Install Size",
+ "vulns": "Vulns",
"updated": "Updated",
"view_dependency_graph": "View dependency graph",
"inspect_dependency_tree": "Inspect dependency tree"