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
The previous scheme class `[a-z]+` rejected `git+https://` and
`git+ssh://` — npm's canonical `repository.url` forms from
`npm pkg get` / `package.json`. Callers in
`src/packages/operations.ts` that pass `repository.url` to
`getRepoUrlDetails` silently lost user/project for those packages.
Broaden the class to `[a-z][a-z+]*` so schemes may include `+` after
the first letter. Still rejects github.com lookalikes
(`githubXcom`, `fake-github.com.attacker.tld`) and scp-style
`git@github.com:...` (which callers must normalize upstream).
0 commit comments