resolve-email 3.0.2 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,7 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
9
9
 
10
- ## [v3.0.2](https://github.com/bcomnes/resolve-email/compare/v3.0.1...v3.0.2)
10
+ ## [v3.0.3](https://github.com/bcomnes/resolve-email/compare/v3.0.2...v3.0.3)
11
+
12
+ ### Commits
13
+
14
+ - Update allow list [`cbda8f2`](https://github.com/bcomnes/resolve-email/commit/cbda8f2c90f663a8fbdc90066faf24132cd15cce)
15
+
16
+ ## [v3.0.2](https://github.com/bcomnes/resolve-email/compare/v3.0.1...v3.0.2) - 2024-10-25
11
17
 
12
18
  ### Merged
13
19
 
@@ -0,0 +1,3 @@
1
+ [
2
+ "rocketmail.com"
3
+ ]
@@ -29,6 +29,11 @@ const work = async () => {
29
29
  disposableEmailDomains.delete(domain)
30
30
  }
31
31
 
32
+ const allowListOverride = require('./allow-list.json')
33
+ allowListOverride.forEach(domain => {
34
+ disposableEmailDomains.delete(domain)
35
+ })
36
+
32
37
  console.log('Add in any other random domains I dont want to register')
33
38
  const unwatedDomains = [
34
39
  'tmail.link'
package/disposable.json CHANGED
@@ -5616,6 +5616,7 @@
5616
5616
  "hs.vc",
5617
5617
  "hsuchi.net",
5618
5618
  "ht.cx",
5619
+ "hthlm.com",
5619
5620
  "huangniu8.com",
5620
5621
  "hubby.co.uk",
5621
5622
  "hubei.com",
@@ -10507,7 +10508,6 @@
10507
10508
  "rockaroundtheclock.co.uk",
10508
10509
  "rockchick.co.uk",
10509
10510
  "rocked.co.uk",
10510
- "rocketmail.com",
10511
10511
  "rockets1.com",
10512
10512
  "rockfan.com",
10513
10513
  "rockies1.com",
package/index.test.js CHANGED
@@ -22,6 +22,10 @@ const inputs = [
22
22
  {
23
23
  in: 'fofegoj914@naymedia.com',
24
24
  expect: false
25
+ },
26
+ {
27
+ in: 'test@rocketmail.com',
28
+ expect: true
25
29
  }
26
30
  ]
27
31
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "resolve-email",
3
3
  "description": "Resolve the domain of an email address to see if it even has a chance of delivering",
4
- "version": "3.0.2",
4
+ "version": "3.0.3",
5
5
  "author": "Bret Comnes <bcomnes@gmail.com> (https://bret.io)",
6
6
  "bugs": {
7
7
  "url": "https://github.com/bcomnes/resolve-email/issues"