@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.
Files changed (4) hide show
  1. node/README.md +1 -1
  2. node/net.d.ts +2 -2
  3. node/package.json +2 -2
  4. 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: Wed, 31 Jan 2024 19:35:04 GMT
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.LookupAllOptions,
22
- callback: (err: NodeJS.ErrnoException | null, addresses: dns.LookupAddress[]) => void,
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.14",
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": "e58afbd0a36342b5e542f9ffea1822abfb2c723efaa4ffd195ad1f424385cc7a",
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.LookupAllOptions,
22
- callback: (err: NodeJS.ErrnoException | null, addresses: dns.LookupAddress[]) => void,
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;