tangerine 1.5.5 → 1.5.6
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/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1176,7 +1176,8 @@ class Tangerine extends dns.promises.Resolver {
|
|
|
1176
1176
|
// eslint-disable-next-line max-depth
|
|
1177
1177
|
if (err.code === dns.NOTFOUND) throw err;
|
|
1178
1178
|
|
|
1179
|
-
|
|
1179
|
+
// eslint-disable-next-line max-depth
|
|
1180
|
+
if (err.status >= 429) ipErrors.push(err);
|
|
1180
1181
|
|
|
1181
1182
|
// break out of the loop if status code was not retryable
|
|
1182
1183
|
// eslint-disable-next-line max-depth
|
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 (with TTL and purge support).",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.6",
|
|
5
5
|
"author": "Forward Email (https://forwardemail.net)",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/forwardemail/nodejs-dns-over-https-tangerine/issues"
|