Skip to content

Commit

Permalink
fix: Link of a scoped package not opened correctly (issue os-scar#97)
Browse files Browse the repository at this point in the history
-  encoded the package name to ensure the link will open properly
  • Loading branch information
rzarviv committed Jun 5, 2023
1 parent a5d0367 commit 14f8e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/advisory/deps-dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default async ({ type, name }) => {
return {
issues: 0,
summary: `Score: ${project?.scorecardV2.score}/10`,
reportUrl: `https://deps.dev/${type}/${name}`,
reportUrl: `https://deps.dev/${type}/${encodeURIComponent(name)}`,
data: {
latestVersion: version,
repo: links.repo,
Expand Down

0 comments on commit 14f8e7a

Please sign in to comment.