[READ-ONLY] a fast, modern browser for the npm registry
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: vulnerabilities api correctly handle scoped packages (#606)

authored by

btea and committed by
GitHub
4d1f48b7 368e2d09

+1 -1
+1 -1
server/api/registry/vulnerabilities/[...pkg].get.ts
··· 15 15 16 16 try { 17 17 const { packageName, version: requestedVersion } = v.parse(PackageRouteParamsSchema, { 18 - packageName: rawPackageName, 18 + packageName: decodeURIComponent(rawPackageName), 19 19 version: rawVersion, 20 20 }) 21 21