You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
git pkgs urls can generate invalid URLs from database lookups #239
lookupPackage now returns the matched package name (so urls lod resolves to lodash, not lod) and only treats the requirement as a version when it comes from a lockfile or an ecosystem whose manifests pin exact versions (Go, Maven). For a manifest-only match like ^4.17.21 it leaves the version empty, so you get pkg:npm/lodash and no download URL rather than a tarball URL with a caret in it.
Activity
andrew commentedon Jun 19, 2026
Fix in #240.
lookupPackagenow returns the matched package name (sourls lodresolves tolodash, notlod) and only treats the requirement as a version when it comes from a lockfile or an ecosystem whose manifests pin exact versions (Go, Maven). For a manifest-only match like^4.17.21it leaves the version empty, so you getpkg:npm/lodashand no download URL rather than a tarball URL with a caret in it.