Skip to content

Conversation

@ExplodingCabbage
Copy link
Contributor

GitHub hasn't supported the git protocol since 2022, so this URL is broken.

(This is a common error affecting many popular npm packages; I'm opening PRs on several projects to fix it. I encourage anyone reading this to check any packages they maintain and implement the same fix if appropriate!)

GitHub hasn't supported the git protocol [since 2022](https://github.blog/security/application-security/improving-git-protocol-security-github/#no-more-unauthenticated-git), so this URL is broken.

(This is a common error affecting many popular npm packages; I'm opening PRs on several projects to fix it. I encourage anyone reading this to check any packages they maintain and implement the same fix if appropriate!)
@juliangruber juliangruber requested a review from ljharb August 14, 2025 07:25
@juliangruber
Copy link
Owner

Can be merged with @ljharb's approval

@juliangruber
Copy link
Owner

Does this warrant a new patch level release?

@ExplodingCabbage
Copy link
Contributor Author

Does this warrant a new patch level release?

I probably wouldn't bother with one just for this if I were in your place, to be honest, although given the last release was 6 years ago I do realise that means this may never get released at all.

@ExplodingCabbage
Copy link
Contributor Author

(Though if I wanted to make the case for doing a patch release just for this, it would be: https://registry.npmjs.org/isarray outputs an outright broken repo URL right now, which is in some sense a bug, so this fix is in some sense a bugfix, and any bugfix, no matter how trivial, is worthy of at least getting released at some point. And if you don't release it now, it may never get released - recent history suggests there may never be any other change on this package in future that warrants a new release.)

@ljharb
Copy link
Collaborator

ljharb commented Aug 19, 2025

correction; it's not broken, if you parse it with https://npmjs.com/hosted-git-info it works fine, and that's the expectation for anything returned from npm in that position :-)

@juliangruber juliangruber merged commit e612fab into juliangruber:master Aug 19, 2025
148 of 149 checks passed
@ExplodingCabbage ExplodingCabbage deleted the patch-1 branch August 20, 2025 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants