Skip to content

Commit

Permalink
Update allow list
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Oct 31, 2024
1 parent f28d827 commit cbda8f2
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions allow-list.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[
"rocketmail.com"
]
5 changes: 5 additions & 0 deletions build-throwaway-domain-list.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ const work = async () => {
disposableEmailDomains.delete(domain)
}

const allowListOverride = require('./allow-list.json')
allowListOverride.forEach(domain => {
disposableEmailDomains.delete(domain)
})

console.log('Add in any other random domains I dont want to register')
const unwatedDomains = [
'tmail.link'
Expand Down
2 changes: 1 addition & 1 deletion disposable-email-domains
2 changes: 1 addition & 1 deletion disposable.json
Original file line number Diff line number Diff line change
Expand Up @@ -5616,6 +5616,7 @@
"hs.vc",
"hsuchi.net",
"ht.cx",
"hthlm.com",
"huangniu8.com",
"hubby.co.uk",
"hubei.com",
Expand Down Expand Up @@ -10507,7 +10508,6 @@
"rockaroundtheclock.co.uk",
"rockchick.co.uk",
"rocked.co.uk",
"rocketmail.com",
"rockets1.com",
"rockfan.com",
"rockies1.com",
Expand Down
4 changes: 4 additions & 0 deletions index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ const inputs = [
{
in: '[email protected]',
expect: false
},
{
in: '[email protected]',
expect: true
}
]

Expand Down

0 comments on commit cbda8f2

Please sign in to comment.