From fe867304e7a8af1c01fb2271d7f5264457007fb4 Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Mon, 11 Aug 2025 16:20:41 +0100 Subject: [PATCH 1/3] Fix broken repository URL in package.json 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!) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 19c137e..b8218f5 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "2.0.0-next.5", "repository": { "type": "git", - "url": "git://github.com/browserify/resolve.git" + "url": "https://github.com/browserify/resolve.git" }, "bin": { "resolve": "./bin/resolve" From d2431b78d55d09d7a6b8990378ac6160ebd32aa0 Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Wed, 13 Aug 2025 21:20:20 +0100 Subject: [PATCH 2/3] Use git+ssh:// --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b8218f5..dda2c1a 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "2.0.0-next.5", "repository": { "type": "git", - "url": "https://github.com/browserify/resolve.git" + "url": "git+ssh://github.com/browserify/resolve.git" }, "bin": { "resolve": "./bin/resolve" From f17eb6ad9831971c21d050c09bde3aa3b1f2058a Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Thu, 14 Aug 2025 21:07:54 +0100 Subject: [PATCH 3/3] Use ssh:// instead of git+ssh:// --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dda2c1a..dab2a8d 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "2.0.0-next.5", "repository": { "type": "git", - "url": "git+ssh://github.com/browserify/resolve.git" + "url": "ssh://github.com/browserify/resolve.git" }, "bin": { "resolve": "./bin/resolve"