From 2ee55c42b69298aa19f037bb2376f5e38c71dd0b Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Mon, 11 Aug 2025 16:20:51 +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 9fd97ff..4bde17c 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ }, "repository": { "type": "git", - "url": "git://github.com/inspect-js/object-inspect.git" + "url": "https://github.com/inspect-js/object-inspect.git" }, "homepage": "https://github.com/inspect-js/object-inspect", "keywords": [ From c920bc00ac8f8909e665f71fe837ed65adb3eff7 Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Wed, 13 Aug 2025 21:20:19 +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 4bde17c..6c5d3a5 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/inspect-js/object-inspect.git" + "url": "git+ssh://github.com/inspect-js/object-inspect.git" }, "homepage": "https://github.com/inspect-js/object-inspect", "keywords": [ From 555f855b9bd205d5b91c57844a2fb94545dfe2be Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Thu, 14 Aug 2025 21:07:58 +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 6c5d3a5..341ebec 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ }, "repository": { "type": "git", - "url": "git+ssh://github.com/inspect-js/object-inspect.git" + "url": "ssh://github.com/inspect-js/object-inspect.git" }, "homepage": "https://github.com/inspect-js/object-inspect", "keywords": [