pacote icon indicating copy to clipboard operation
pacote copied to clipboard

fix: do not switch to git+ssh for https repository links

Open oldium opened this issue 4 months ago • 1 comments

When the URL explicitly contains https, do not try to switch to ssh. This change is necessary for npm to retain the protocol, please see the link and the referenced issues here and here reporting problems when using ssh instead of requested https.

References

Relates to https://github.com/npm/cli/pull/8703

oldium avatar Oct 27 '25 15:10 oldium

Rebased to latest main

oldium avatar Nov 22 '25 21:11 oldium