resolve-email 3.0.0 → 3.0.2

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,24 @@ 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.0](https://github.com/bcomnes/resolve-email/compare/v2.0.25...v3.0.0)
10
+ ## [v3.0.2](https://github.com/bcomnes/resolve-email/compare/v3.0.1...v3.0.2)
11
+
12
+ ### Merged
13
+
14
+ - Bump npm-run-all2 from 6.2.6 to 7.0.1 [`#38`](https://github.com/bcomnes/resolve-email/pull/38)
15
+
16
+ ### Commits
17
+
18
+ - Merge pull request #39 from bcomnes/dependabot/submodules/disposable-email-domains-08fff0c [`8f75fd3`](https://github.com/bcomnes/resolve-email/commit/8f75fd3e60fc5f585d4c4ef6f2a6e846058155f9)
19
+ - Bump disposable-email-domains from `bd843a9` to `08fff0c` [`9c50f3e`](https://github.com/bcomnes/resolve-email/commit/9c50f3e9c85c950867d0185ce8ada20e8998349d)
20
+
21
+ ## [v3.0.1](https://github.com/bcomnes/resolve-email/compare/v3.0.0...v3.0.1) - 2024-10-20
22
+
23
+ ### Commits
24
+
25
+ - Improve types [`fca58bd`](https://github.com/bcomnes/resolve-email/commit/fca58bd9256005918cc1db568a9e746cd1bb2770)
26
+
27
+ ## [v3.0.0](https://github.com/bcomnes/resolve-email/compare/v2.0.25...v3.0.0) - 2024-10-20
11
28
 
12
29
  ### Merged
13
30
 
package/disposable.json CHANGED
@@ -3912,6 +3912,7 @@
3912
3912
  "emailfake.com",
3913
3913
  "emailfake.ml",
3914
3914
  "emailforyou.net",
3915
+ "emailfoxi.pro",
3915
3916
  "emailfreedom.ml",
3916
3917
  "emailgenerator.de",
3917
3918
  "emailgo.de",
package/index.d.ts CHANGED
@@ -9,7 +9,10 @@ export type ResolveOptions = {
9
9
  };
10
10
  export type ResolveResult = {
11
11
  emailResolves: boolean;
12
- mxRecords?: Array<Object>;
12
+ mxRecords?: Array<{
13
+ priority: number;
14
+ exchange: string;
15
+ }>;
13
16
  error?: Error;
14
17
  };
15
18
  //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":"AAwBA,kCAJW,MAAM,6CAEJ,OAAO,CAAC,KAAK,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,CAAC,CAAC,CA4ChE;AA0BD,qCAJW,MAAM,6CAEJ,OAAO,CAAC,aAAa,CAAC,CAgBlC;;eApGa,OAAO;sBACP,OAAO;;;mBAKP,OAAO;gBACP,KAAK,CAAC,MAAM,CAAC;YACb,KAAK"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":"AAwBA,kCAJW,MAAM,6CAEJ,OAAO,CAAC,KAAK,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,CAAC,CAAC,CA4ChE;AA0BD,qCAJW,MAAM,6CAEJ,OAAO,CAAC,aAAa,CAAC,CAgBlC;;eApGa,OAAO;sBACP,OAAO;;;mBAKP,OAAO;gBACP,KAAK,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAC,CAAC;YAC3C,KAAK"}
package/index.js CHANGED
@@ -11,7 +11,7 @@ import { disposable } from './disposable.cjs'
11
11
  /**
12
12
  * @typedef {Object} ResolveResult
13
13
  * @property {boolean} emailResolves The email address has resolved and is not banned according to the allowable options.
14
- * @property {Array<Object>} [mxRecords] Any associated mx records from the lookup
14
+ * @property {Array<{priority: number, exchange: string}>} [mxRecords] Any associated mx records from the lookup
15
15
  * @property {Error} [error] The error object if something didn't work
16
16
  */
17
17
 
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.0",
4
+ "version": "3.0.2",
5
5
  "author": "Bret Comnes <bcomnes@gmail.com> (https://bret.io)",
6
6
  "bugs": {
7
7
  "url": "https://github.com/bcomnes/resolve-email/issues"
@@ -11,7 +11,7 @@
11
11
  "c8": "^10.0.0",
12
12
  "emailvalid": "^1.0.4",
13
13
  "gh-release": "^7.0.0",
14
- "npm-run-all2": "^6.0.0",
14
+ "npm-run-all2": "^7.0.1",
15
15
  "neostandard": "^0.11.2",
16
16
  "installed-check": "^9.3.0",
17
17
  "@voxpelli/tsconfig": "^15.0.0",