Skip to content

Commit

Permalink
fix: Link of a scoped package not opened correctly (issue #97) (#98)
Browse files Browse the repository at this point in the history
encoded the package name to ensure the link will open properly.

Close #97
  • Loading branch information
rzarviv committed Jun 6, 2023
1 parent 08bd30c commit 8718327
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 8718327

Please sign in to comment.