@types/node 20.11.14 → 20.11.15
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.
- node/README.md +1 -1
- node/net.d.ts +2 -2
- node/package.json +2 -2
- node/ts4.8/net.d.ts +2 -2
node/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 01 Feb 2024 09:07:23 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node/net.d.ts
CHANGED
|
@@ -18,8 +18,8 @@ declare module "net" {
|
|
|
18
18
|
import * as dns from "node:dns";
|
|
19
19
|
type LookupFunction = (
|
|
20
20
|
hostname: string,
|
|
21
|
-
options: dns.
|
|
22
|
-
callback: (err: NodeJS.ErrnoException | null,
|
|
21
|
+
options: dns.LookupOptions,
|
|
22
|
+
callback: (err: NodeJS.ErrnoException | null, address: string | dns.LookupAddress[], family?: number) => void,
|
|
23
23
|
) => void;
|
|
24
24
|
interface AddressInfo {
|
|
25
25
|
address: string;
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "20.11.
|
|
3
|
+
"version": "20.11.15",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -224,6 +224,6 @@
|
|
|
224
224
|
"dependencies": {
|
|
225
225
|
"undici-types": "~5.26.4"
|
|
226
226
|
},
|
|
227
|
-
"typesPublisherContentHash": "
|
|
227
|
+
"typesPublisherContentHash": "762b670ac874555ed2485677879075b189f868bac237e12dd4e80481f11dec1a",
|
|
228
228
|
"typeScriptVersion": "4.6"
|
|
229
229
|
}
|
node/ts4.8/net.d.ts
CHANGED
|
@@ -18,8 +18,8 @@ declare module "net" {
|
|
|
18
18
|
import * as dns from "node:dns";
|
|
19
19
|
type LookupFunction = (
|
|
20
20
|
hostname: string,
|
|
21
|
-
options: dns.
|
|
22
|
-
callback: (err: NodeJS.ErrnoException | null,
|
|
21
|
+
options: dns.LookupOptions,
|
|
22
|
+
callback: (err: NodeJS.ErrnoException | null, address: string | dns.LookupAddress[], family?: number) => void,
|
|
23
23
|
) => void;
|
|
24
24
|
interface AddressInfo {
|
|
25
25
|
address: string;
|