From 09290956861e355cfb863e5d3f79405a4ce102ba Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Mon, 11 Aug 2025 16:15:48 +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 cdbcd95..3a76efb 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "2.0.5", "repository": { "type": "git", - "url": "git://github.com/juliangruber/isarray.git" + "url": "https://github.com/juliangruber/isarray.git" }, "homepage": "https://github.com/juliangruber/isarray", "main": "index.js", From 1897f35a340669b690515d39b292cdd33d6c0b71 Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Wed, 13 Aug 2025 21:20:21 +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 3a76efb..d341014 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "2.0.5", "repository": { "type": "git", - "url": "https://github.com/juliangruber/isarray.git" + "url": "git+ssh://github.com/juliangruber/isarray.git" }, "homepage": "https://github.com/juliangruber/isarray", "main": "index.js", From f3e126ad4ef2d0695157d0a853ca9a7ce1fb2fdb Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Thu, 14 Aug 2025 21:07:51 +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 d341014..a8218f8 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "2.0.5", "repository": { "type": "git", - "url": "git+ssh://github.com/juliangruber/isarray.git" + "url": "ssh://github.com/juliangruber/isarray.git" }, "homepage": "https://github.com/juliangruber/isarray", "main": "index.js",