Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions app/components/Package/ExternalLinks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,15 @@ useCommandPaletteContextCommands(
{{ $t('package.links.issues') }}
</LinkBase>
</li>
<li>
<LinkBase
:to="`https://socket.dev/npm/package/${pkg.name}`"
:title="$t('common.view_on.socket_dev')"
classicon="i-simple-icons:socket"
>
socket.dev
</LinkBase>
</li>
<li>
<LinkBase
:to="`https://www.npmjs.com/package/${pkg.name}`"
Expand Down
1 change: 1 addition & 0 deletions i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@
"gitea": "View on Gitea",
"gitee": "View on Gitee",
"radicle": "View on Radicle",
"socket_dev": "view on socket.dev",
"sourcehut": "View on SourceHut",
"tangled": "View on Tangled"
},
Expand Down
3 changes: 3 additions & 0 deletions i18n/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1012,6 +1012,9 @@
"radicle": {
"type": "string"
},
"socket_dev": {
"type": "string"
},
"sourcehut": {
"type": "string"
},
Expand Down
Loading