From 094cd1b1e513894f8d6aacdccf5422e04cd8f289 Mon Sep 17 00:00:00 2001 From: Steven <12050358+Sibz@users.noreply.github.com> Date: Tue, 2 Mar 2021 12:02:39 +1100 Subject: [PATCH 1/2] fix: support github username regex now supports usernames with more than one hyphenation --- src/makeStatusRequest.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/makeStatusRequest.ts b/src/makeStatusRequest.ts index e032034..00604c8 100644 --- a/src/makeStatusRequest.ts +++ b/src/makeStatusRequest.ts @@ -7,7 +7,7 @@ export type StatusRequest = RequestParameters & Pick string -} \ No newline at end of file +} From 318b1c1604ae3107179eb195d53e4ab372d2205d Mon Sep 17 00:00:00 2001 From: Steven <12050358+Sibz@users.noreply.github.com> Date: Tue, 2 Mar 2021 12:06:58 +1100 Subject: [PATCH 2/2] fix: update regex for github username now case insensitive --- src/makeStatusRequest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/makeStatusRequest.ts b/src/makeStatusRequest.ts index 00604c8..3d3803a 100644 --- a/src/makeStatusRequest.ts +++ b/src/makeStatusRequest.ts @@ -7,7 +7,7 @@ export type StatusRequest = RequestParameters & Pick