@aws-sdk/util-dns 3.972.5 → 3.972.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.
@@ -1,4 +1,4 @@
1
- import { HostAddress, HostResolverArguments } from "@aws-sdk/types";
1
+ import type { HostAddress, HostResolverArguments } from "@aws-sdk/types";
2
2
  /**
3
3
  * DNS cache used by a {@link HostResolver} which maps:
4
4
  * host name (string) -> {@link DnsCacheEntry}
@@ -1,4 +1,4 @@
1
- import { HostAddress, HostResolver as IHostResolver, HostResolverArguments } from "@aws-sdk/types";
1
+ import type { HostAddress, HostResolver as IHostResolver, HostResolverArguments } from "@aws-sdk/types";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,6 +1,6 @@
1
- import { HostAddress, HostResolver as IHostResolver, HostResolverArguments } from "@aws-sdk/types";
2
- import { LookupAddress, LookupAllOptions } from "dns";
3
- import { DnsCache } from "./DnsCache";
1
+ import type { HostAddress, HostResolver as IHostResolver, HostResolverArguments } from "@aws-sdk/types";
2
+ import type { LookupAddress, LookupAllOptions } from "dns";
3
+ import type { DnsCache } from "./DnsCache";
4
4
  /**
5
5
  * Node.js dns.lookup() function type used in {@link NodeDnsLookupHostResolver}
6
6
  * @internal
@@ -1,4 +1,4 @@
1
- import { HostAddress, HostResolver as IHostResolver, HostResolverArguments } from "@aws-sdk/types";
1
+ import type { HostAddress, HostResolver as IHostResolver, HostResolverArguments } from "@aws-sdk/types";
2
2
  /**
3
3
  * @internal
4
4
  * {@link HostResolver} implementation that uses the Node.js dns.resolve*() APIs.
@@ -1,5 +1,5 @@
1
- import { DnsCacheEntryCollection } from "../DnsCache";
2
- import { HostAddressEntry } from "./HostEntry";
1
+ import type { DnsCacheEntryCollection } from "../DnsCache";
2
+ import type { HostAddressEntry } from "./HostEntry";
3
3
  /**
4
4
  * Collection using an Array as the underlying data structure
5
5
  * @internal
@@ -1,5 +1,5 @@
1
- import { HostAddress } from "@aws-sdk/types";
2
- import { DnsCacheEntry, DnsCacheHostAddressEntry } from "../DnsCache";
1
+ import type { HostAddress } from "@aws-sdk/types";
2
+ import type { DnsCacheEntry, DnsCacheHostAddressEntry } from "../DnsCache";
3
3
  import { HostAddressEntryCollection } from "./HostAddressEntryCollection";
4
4
  /**
5
5
  * Interface used in {@link HostEntry} records
@@ -1,5 +1,5 @@
1
- import { HostAddress, HostResolverArguments } from "@aws-sdk/types";
2
- import { DnsCache } from "../DnsCache";
1
+ import type { HostAddress, HostResolverArguments } from "@aws-sdk/types";
2
+ import type { DnsCache } from "../DnsCache";
3
3
  import { HostEntry } from "./HostEntry";
4
4
  /**
5
5
  * Host entry table which implements {@link DnsCache}, mapping:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-dns",
3
- "version": "3.972.5",
3
+ "version": "3.972.6",
4
4
  "description": "Implementations of DNS host resolvers.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@aws-sdk/types": "^3.973.3",
30
+ "@aws-sdk/types": "^3.973.4",
31
31
  "tslib": "^2.6.2"
32
32
  },
33
33
  "devDependencies": {