Merge branch 'main' into main

This commit is contained in:
JB Carreon
2024-04-15 17:32:14 +08:00
committed by GitHub
6 changed files with 36 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
{
"owner": {
"username": "is-a-dev",
"email": ""
},
"record": {
"TXT": "1259c184c5"
}
}
@@ -0,0 +1,9 @@
{
"owner": {
"username": "lightly-toasted",
"email": "tooast@duck.com"
},
"record": {
"TXT": "b92470bdf6083c1af8509ee249c02f"
}
}
+10
View File
@@ -0,0 +1,10 @@
{
"description": "Just a website for detailing the game development projects of Lua",
"owner": {
"username": "notxlua",
"email": "notxlua@gmail.com"
},
"record": {
"CNAME": "xmw2.wordpress.com"
}
}
+4
View File
@@ -67,6 +67,7 @@ describe('validateDomainData', () => {
{ ...defaultDomain, name: '_gitlab-pages-verification-code' },
{ ...defaultDomain, name: '_acme-challenge' },
{ ...defaultDomain, name: '_dmarc' },
{ ...defaultDomain, name: '_gh-is-a-dev' },
];
const validCases = [
@@ -100,6 +101,9 @@ describe('validateDomainData', () => {
{ ...defaultDomain, name: '_gitlab-pages-verification-code.subdomain' },
{ ...defaultDomain, name: '_acme-challenge.subdomain' },
{ ...defaultDomain, name: '_dmarc.subdomain' },
{ ...defaultDomain, name: '_gh-phenax.akshay' },
{ ...defaultDomain, name: '_gh-hello01-ga' },
{ ...defaultDomain, name: '_gh-hello01_ga' },
];
it('should return false for invalid data', () => {
+2
View File
@@ -2,9 +2,11 @@
"_acme-challenge",
"_discord",
"_dmarc",
"_gh-is-a-dev",
"_github-challenge-is-a-dev",
"_github-pages-challenge-is-a-dev",
"_gitlab-pages-verification-code",
"con",
"help",
"no-reply",
"noreply",
+1
View File
@@ -42,6 +42,7 @@ const extraSupportedNames = [
R.equals('_gitlab-pages-verification-code'),
R.equals('_acme-challenge'),
R.equals('_dmarc'),
testRegex(/^_gh-[a-z0-9-_]+$/i), // Exception for the new github org verification records
]
const validateDomainData = validate({