Skip to content

Commit

Permalink
Patch whoiser to support ga TLD
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Jan 11, 2025
1 parent 6b83c4a commit ced8de6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@
},
"pnpm": {
"patchedDependencies": {
"undici": "patches/undici.patch"
"undici": "patches/undici.patch",
"whoiser": "patches/whoiser.patch"
}
}
}
13 changes: 13 additions & 0 deletions patches/whoiser.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/src/whoiser.js b/src/whoiser.js
index ff42b8c7fe1749d389df2d420f68f1ec6590fe69..dea40e123c8bab3c38c1e5d41b6da3bff43acbfe 100644
--- a/src/whoiser.js
+++ b/src/whoiser.js
@@ -50,6 +50,8 @@ let cacheTldWhoisServer = {
shop: 'whois.nic.shop',
site: 'whois.nic.site',
xyz: 'whois.nic.xyz',
+
+ ga: 'whois.nic.ga'
}

// misspelled whois servers..
7 changes: 5 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ced8de6

Please sign in to comment.