Merge branch 'main' into patch-2

This commit is contained in:
William Harrison
2025-04-11 11:24:17 +08:00
committed by GitHub
11 changed files with 87 additions and 25 deletions
+9
View File
@@ -0,0 +1,9 @@
{
"owner": {
"username": "Jesgran",
"email": "calzdani20@libero.it"
},
"record": {
"TXT": "dh=4b2e5de25234f6ff12194b5a3c98ff0b5edea64e"
}
}
@@ -0,0 +1,9 @@
{
"owner": {
"username": "VoidKeishi",
"email": "phananha4@gmail.com"
},
"record": {
"TXT": "24873b574f17ea257bd32d1f505781"
}
}
+2 -3
View File
@@ -9,9 +9,8 @@
"priority": 0,
"weight": 5,
"port": 28225,
"target": "mrdiamond.is-a.dev"
"target": "minecraft.mrdiamond.is-a.dev"
}
],
"A": ["129.146.51.207"]
]
}
}
+2 -1
View File
@@ -9,7 +9,8 @@
"vc-domain-verify=drive.alora.is-a.dev,395400702612ae6db6a8",
"vc-domain-verify=profile.alora.is-a.dev,71bd18cc5db61dc75f91",
"vc-domain-verify=blog.alora.is-a.dev,39b11f87634c4710b9ab",
"vc-domain-verify=verify.alora.is-a.dev,df9b78e72bc7a2889bc8"
"vc-domain-verify=verify.alora.is-a.dev,df9b78e72bc7a2889bc8",
"vc-domain-verify=share.alora.is-a.dev,abbc2694ca2401b3a842"
]
}
}
+1 -1
View File
@@ -7,6 +7,6 @@
"discord": "nowim.nhan"
},
"record": {
"CNAME": "myportfolio-omega-liard.vercel.app"
"CNAME": "myportfolio-2y4.pages.dev"
}
}
+9
View File
@@ -0,0 +1,9 @@
{
"owner": {
"username": "lhycerie",
"email": "lhycerie@gmail.com"
},
"record": {
"CNAME": "lhycerie.github.io"
}
}
+9
View File
@@ -0,0 +1,9 @@
{
"owner": {
"username": "MrDiamondDog",
"email": "drewratner27@gmail.com"
},
"record": {
"A": ["129.146.51.207"]
}
}
-10
View File
@@ -1,10 +0,0 @@
{
"owner": {
"username": "is-a-dev",
"email": "admin@is-a.dev"
},
"record": {
"CNAME": "wdh.app"
},
"proxied": true
}
+11
View File
@@ -0,0 +1,11 @@
{
"description": "An open-source file sharing application with a cyberpunk dystopian interface. Built with Next.js, Supabase, and Tailwind CSS.",
"repo": "https://github.com/aloramiaa/fileshare",
"owner": {
"username": "aloramiaa",
"email": "xaloramia@gmail.com"
},
"record": {
"CNAME": "fileshare-snowy.vercel.app"
}
}
+15
View File
@@ -0,0 +1,15 @@
{
"description": "Email forward Tachibana Shin (@tachib_shin)",
"owner": {
"username": "tachibana-shin",
"email": "",
"twitter": "tachib_shin"
},
"record": {
"MX": [
"mx1.forwardemail.net",
"mx2.forwardemail.net"
],
"TXT": "forward-email=tachibshin@duck.com"
}
}
+20 -10
View File
@@ -36,20 +36,30 @@ const domainsPath = path.resolve("domains");
const files = fs.readdirSync(domainsPath);
function findDuplicateKeys(jsonString) {
const keyPattern = /"([^"]+)"(?=\s*:)/g;
const keys = [];
let match;
const duplicateKeys = [];
while ((match = keyPattern.exec(jsonString)) !== null) {
keys.push(match[1]);
}
const stack = [];
const keyCount = {};
keys.forEach((key) => {
keyCount[key] = (keyCount[key] || 0) + 1;
const obj = JSON.parse(jsonString, (key, value) => {
if (typeof key === "string") {
const current = stack[stack.length - 1];
if (current) {
if (current[key]) {
duplicateKeys.push(key);
} else {
current[key] = true;
}
}
}
if (typeof value === "object" && value !== null) {
stack.push({});
}
return value;
});
return Object.keys(keyCount).filter((key) => keyCount[key] > 1);
return [...new Set(duplicateKeys)];
}
async function validateFields(t, obj, fields, file, prefix = "") {