mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-15 22:15:09 +00:00
Merge branch 'main' into main
This commit is contained in:
6 files changed
+26
-1
No files matched your search
+1
-1
@@ -6,13 +6,13 @@
|
|||||||
| William | [@wdhdev](https://github.com/wdhdev) | Administrator |
|
| William | [@wdhdev](https://github.com/wdhdev) | Administrator |
|
||||||
||
|
||
|
||||||
| Andrew | [@andrewstech](https://github.com/andrewstech) | Maintainer |
|
| Andrew | [@andrewstech](https://github.com/andrewstech) | Maintainer |
|
||||||
|
| CuteDog5695 | [@CuteDog5695](https://github.com/CuteDog5695) | Maintainer |
|
||||||
| Daniel | [@hackermondev](https://github.com/hackermondev) | Maintainer |
|
| Daniel | [@hackermondev](https://github.com/hackermondev) | Maintainer |
|
||||||
| DIBSTER | [@DEV-DIBSTER](https://github.com/DEV-DIBSTER) | Maintainer |
|
| DIBSTER | [@DEV-DIBSTER](https://github.com/DEV-DIBSTER) | Maintainer |
|
||||||
| Mahir | [@mtgsquad](https://github.com/mtgsquad) | Maintainer |
|
| Mahir | [@mtgsquad](https://github.com/mtgsquad) | Maintainer |
|
||||||
| Satria | [@SX-9](https://github.com/SX-9) | Maintainer |
|
| Satria | [@SX-9](https://github.com/SX-9) | Maintainer |
|
||||||
| Vaibhav | [@VaibhavSys](https://github.com/VaibhavSys) | Maintainer |
|
| Vaibhav | [@VaibhavSys](https://github.com/VaibhavSys) | Maintainer |
|
||||||
||
|
||
|
||||||
| CuteDog5695 | [@CuteDog5695](https://github.com/CuteDog5695) | Helper |
|
|
||||||
| Om | [@TerraPlayz](https://github.com/TerraPlayz) | Helper |
|
| Om | [@TerraPlayz](https://github.com/TerraPlayz) | Helper |
|
||||||
| Phoenix | [@PhoenixOrigin](https://github.com/PhoenixOrigin) | Helper |
|
| Phoenix | [@PhoenixOrigin](https://github.com/PhoenixOrigin) | Helper |
|
||||||
| Stef | [@Stef-00012](https://github.com/Stef-00012) | Helper |
|
| Stef | [@Stef-00012](https://github.com/Stef-00012) | Helper |
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"owner": {
|
||||||
|
"username": "ChaoticChaosTheGreat",
|
||||||
|
"email": "ryan.ryanabraham@gmail.com"
|
||||||
|
},
|
||||||
|
"record": {
|
||||||
|
"TXT": "dh=99c69f88a933d5ec20fe830e8543f7e7c63646cd"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"owner": {
|
||||||
|
"username": "alex1028199",
|
||||||
|
"email": "yu1234u73f.com@gmail.com",
|
||||||
|
"discord": "834867471885271053"
|
||||||
|
},
|
||||||
|
|
||||||
|
"record": {
|
||||||
|
"A": ["69.30.249.53"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -66,6 +66,7 @@ describe('validateDomainData', () => {
|
|||||||
{ ...defaultDomain, name: '_discord' },
|
{ ...defaultDomain, name: '_discord' },
|
||||||
{ ...defaultDomain, name: '_gitlab-pages-verification-code' },
|
{ ...defaultDomain, name: '_gitlab-pages-verification-code' },
|
||||||
{ ...defaultDomain, name: '_acme-challenge' },
|
{ ...defaultDomain, name: '_acme-challenge' },
|
||||||
|
{ ...defaultDomain, name: '_dmarc' },
|
||||||
];
|
];
|
||||||
|
|
||||||
const validCases = [
|
const validCases = [
|
||||||
@@ -98,6 +99,7 @@ describe('validateDomainData', () => {
|
|||||||
{ ...defaultDomain, name: '_discord.subdomain' },
|
{ ...defaultDomain, name: '_discord.subdomain' },
|
||||||
{ ...defaultDomain, name: '_gitlab-pages-verification-code.subdomain' },
|
{ ...defaultDomain, name: '_gitlab-pages-verification-code.subdomain' },
|
||||||
{ ...defaultDomain, name: '_acme-challenge.subdomain' },
|
{ ...defaultDomain, name: '_acme-challenge.subdomain' },
|
||||||
|
{ ...defaultDomain, name: '_dmarc.subdomain' },
|
||||||
];
|
];
|
||||||
|
|
||||||
it('should return false for invalid data', () => {
|
it('should return false for invalid data', () => {
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
[
|
[
|
||||||
"_acme-challenge",
|
"_acme-challenge",
|
||||||
"_discord",
|
"_discord",
|
||||||
|
"_dmarc",
|
||||||
"_github-challenge-is-a-dev",
|
"_github-challenge-is-a-dev",
|
||||||
"_github-pages-challenge-is-a-dev",
|
"_github-pages-challenge-is-a-dev",
|
||||||
"_gitlab-pages-verification-code",
|
"_gitlab-pages-verification-code",
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ const extraSupportedNames = [
|
|||||||
R.equals('_discord'),
|
R.equals('_discord'),
|
||||||
R.equals('_gitlab-pages-verification-code'),
|
R.equals('_gitlab-pages-verification-code'),
|
||||||
R.equals('_acme-challenge'),
|
R.equals('_acme-challenge'),
|
||||||
|
R.equals('_dmarc'),
|
||||||
]
|
]
|
||||||
|
|
||||||
const validateDomainData = validate({
|
const validateDomainData = validate({
|
||||||
|
|||||||
Reference in new issue
Block a user