@aws-sdk/util-dns 3.734.0 → 3.804.0
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.
|
@@ -14,7 +14,7 @@ const DNS_LOOKUP_OPTIONS = {
|
|
|
14
14
|
verbatim: true,
|
|
15
15
|
};
|
|
16
16
|
class NodeDnsLookupHostResolver {
|
|
17
|
-
static DEFAULT_TTL_MS =
|
|
17
|
+
static DEFAULT_TTL_MS = 30_000;
|
|
18
18
|
static createDefaultCacheProvider = () => new HostEntryTable_1.HostEntryTable();
|
|
19
19
|
static DEFAULT_NODE_DNS_LOOKUP = dns_1.promises.lookup;
|
|
20
20
|
ttlMs;
|
package/dist-cjs/index.js
CHANGED
|
@@ -15,10 +15,10 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
|
|
|
15
15
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
16
|
|
|
17
17
|
// src/index.ts
|
|
18
|
-
var
|
|
19
|
-
module.exports = __toCommonJS(
|
|
20
|
-
__reExport(
|
|
21
|
-
__reExport(
|
|
18
|
+
var index_exports = {};
|
|
19
|
+
module.exports = __toCommonJS(index_exports);
|
|
20
|
+
__reExport(index_exports, require("././HostResolver"), module.exports);
|
|
21
|
+
__reExport(index_exports, require("././NodeDnsLookupHostResolver"), module.exports);
|
|
22
22
|
// Annotate the CommonJS export names for ESM import in node:
|
|
23
23
|
|
|
24
24
|
0 && (module.exports = {
|
|
@@ -11,7 +11,7 @@ const DNS_LOOKUP_OPTIONS = {
|
|
|
11
11
|
verbatim: true,
|
|
12
12
|
};
|
|
13
13
|
export class NodeDnsLookupHostResolver {
|
|
14
|
-
static DEFAULT_TTL_MS =
|
|
14
|
+
static DEFAULT_TTL_MS = 30_000;
|
|
15
15
|
static createDefaultCacheProvider = () => new HostEntryTable();
|
|
16
16
|
static DEFAULT_NODE_DNS_LOOKUP = dnsPromises.lookup;
|
|
17
17
|
ttlMs;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-dns",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.804.0",
|
|
4
4
|
"description": "Implementations of DNS host resolvers.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-sdk/types": "3.
|
|
29
|
+
"@aws-sdk/types": "3.804.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"concurrently": "7.0.0",
|
|
36
36
|
"downlevel-dts": "0.10.1",
|
|
37
37
|
"rimraf": "3.0.2",
|
|
38
|
-
"typescript": "~5.
|
|
38
|
+
"typescript": "~5.8.3"
|
|
39
39
|
},
|
|
40
40
|
"types": "./dist-types/index.d.ts",
|
|
41
41
|
"engines": {
|