mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 09:10:35 +08:00
Patch whoiser to support ga TLD
This commit is contained in:
parent
7b859e7358
commit
35bead6f99
@ -77,7 +77,8 @@
|
||||
},
|
||||
"pnpm": {
|
||||
"patchedDependencies": {
|
||||
"undici": "patches/undici.patch"
|
||||
"undici": "patches/undici.patch",
|
||||
"whoiser": "patches/whoiser.patch"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
13
patches/whoiser.patch
Normal file
13
patches/whoiser.patch
Normal file
@ -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
pnpm-lock.yaml
generated
7
pnpm-lock.yaml
generated
@ -11,6 +11,9 @@ patchedDependencies:
|
||||
undici:
|
||||
hash: eyidnukwfhrd7exzoydz2h5cfq
|
||||
path: patches/undici.patch
|
||||
whoiser:
|
||||
hash: jvdx7w7gioupgqcow7nnybv6ye
|
||||
path: patches/whoiser.patch
|
||||
|
||||
importers:
|
||||
|
||||
@ -84,7 +87,7 @@ importers:
|
||||
version: 0.1.1(undici@7.2.1(patch_hash=eyidnukwfhrd7exzoydz2h5cfq))
|
||||
whoiser:
|
||||
specifier: ^1.18.0
|
||||
version: 1.18.0
|
||||
version: 1.18.0(patch_hash=jvdx7w7gioupgqcow7nnybv6ye)
|
||||
why-is-node-running:
|
||||
specifier: ^3.2.2
|
||||
version: 3.2.2
|
||||
@ -3783,7 +3786,7 @@ snapshots:
|
||||
dependencies:
|
||||
isexe: 2.0.0
|
||||
|
||||
whoiser@1.18.0:
|
||||
whoiser@1.18.0(patch_hash=jvdx7w7gioupgqcow7nnybv6ye):
|
||||
dependencies:
|
||||
punycode: 2.3.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user