tangerine 1.0.3 → 1.0.4

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -31,7 +31,7 @@ import('dohdec').then((obj) => {
31
31
  });
32
32
 
33
33
  // <https://github.com/szmarczak/cacheable-lookup/pull/76>
34
- class Resolver extends dns.promises.Resolver {
34
+ class Tangerine extends dns.promises.Resolver {
35
35
  static isValidPort(port) {
36
36
  return Number.isSafeInteger(port) && port >= 0 && port <= 65535;
37
37
  }
@@ -1388,4 +1388,4 @@ class Resolver extends dns.promises.Resolver {
1388
1388
  }
1389
1389
  }
1390
1390
 
1391
- module.exports = Resolver;
1391
+ module.exports = Tangerine;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tangerine",
3
3
  "description": "Tangerine is the best Node.js drop-in replacement for dns.promises.Resolver using DNS over HTTPS (\"DoH\") via undici with built-in retries, timeouts, smart server rotation, AbortControllers, and caching support for multiple backends via Keyv.",
4
- "version": "1.0.3",
4
+ "version": "1.0.4",
5
5
  "author": "Forward Email (https://forwardemail.net)",
6
6
  "bugs": {
7
7
  "url": "https://github.com/forwardemail/tangerine/issues"