From 9c4db455265f861eaf23668c1c828ef81b46e6ec Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Mon, 11 Aug 2025 16:20:46 +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 baeb01e..5a11cab 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ }, "repository": { "type": "git", - "url": "git://github.com/minimistjs/minimist.git" + "url": "https://github.com/minimistjs/minimist.git" }, "homepage": "https://github.com/minimistjs/minimist", "keywords": [ From c334d30909efb92c4aaa1b086c3a1c4020649de3 Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Wed, 13 Aug 2025 21:20:22 +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 5a11cab..56d658f 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/minimistjs/minimist.git" + "url": "git+ssh://github.com/minimistjs/minimist.git" }, "homepage": "https://github.com/minimistjs/minimist", "keywords": [ From e13bbc711c003ab1d237ad3b51651acac7b985fb Mon Sep 17 00:00:00 2001 From: Mark Amery Date: Thu, 14 Aug 2025 21:07:44 +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 56d658f..5561e4d 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ }, "repository": { "type": "git", - "url": "git+ssh://github.com/minimistjs/minimist.git" + "url": "ssh://github.com/minimistjs/minimist.git" }, "homepage": "https://github.com/minimistjs/minimist", "keywords": [