feat: add Socket.dev report URL to depscore output#158
Closed
Alexandros Kapravelos (kapravel) wants to merge 1 commit into
Closed
feat: add Socket.dev report URL to depscore output#158Alexandros Kapravelos (kapravel) wants to merge 1 commit into
Alexandros Kapravelos (kapravel) wants to merge 1 commit into
Conversation
Include a link to the full Socket.dev report page for each package when a score is returned. Users can click through for deeper analysis when scores raise concerns. Report URL is omitted when package is not found. Made-with: Cursor
John-David Dalton (jdalton)
added a commit
that referenced
this pull request
Jun 1, 2026
Picks up #158. Adds lib/socket-url.ts (buildSocketReportUrl maps an artifact to its /<ecosystem>/package/<path> route, honoring per-ecosystem namespace conventions) and threads it into formatScoreLine so each scored package gets a clickable Report: line. Re-targeted from the PR's original index.ts hunks (formatting now lives in lib/depscore-tool.ts) and tested as test/socket-url.test.ts under vitest. README sample response updated. Co-authored-by: kapravel <kapravel@users.noreply.github.com>
Collaborator
|
Landed in main as e79018a ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add links to the full Socket.dev report page for each package when a score is returned. Users can click through for deeper analysis when scores raise concerns.
Why?
Public Changelog
Depscore tool now includes a link to the Socket.dev report page for each package with a score, enabling deeper analysis when scores raise concerns.
Checklist
Validation
Made with Cursor