@types/node 24.0.12 → 24.0.14

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 (3) hide show
  1. node/README.md +2 -2
  2. node/http.d.ts +3 -18
  3. node/package.json +2 -82
node/README.md CHANGED
@@ -8,8 +8,8 @@ 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, 09 Jul 2025 00:04:35 GMT
11
+ * Last updated: Tue, 15 Jul 2025 07:04:18 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
15
- These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), [Dmitry Semigradsky](https://github.com/Semigradsky), [René](https://github.com/Renegade334), and [Yagiz Nizipli](https://github.com/anonrig).
15
+ These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [David Junger](https://github.com/touffy), [Mohsen Azimi](https://github.com/mohsen1), [Nikita Galkin](https://github.com/galkin), [Sebastian Silbermann](https://github.com/eps1lon), [Wilco Bakker](https://github.com/WilcoBakker), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), [Dmitry Semigradsky](https://github.com/Semigradsky), [René](https://github.com/Renegade334), and [Yagiz Nizipli](https://github.com/anonrig).
node/http.d.ts CHANGED
@@ -44,7 +44,7 @@ declare module "http" {
44
44
  import { URL } from "node:url";
45
45
  import { LookupOptions } from "node:dns";
46
46
  import { EventEmitter } from "node:events";
47
- import { LookupFunction, NetConnectOpts, Server as NetServer, Socket, TcpSocketConnectOpts } from "node:net";
47
+ import { LookupFunction, Server as NetServer, Socket, TcpSocketConnectOpts } from "node:net";
48
48
  // incoming headers will never contain number
49
49
  interface IncomingHttpHeaders extends NodeJS.Dict<string | string[]> {
50
50
  accept?: string | undefined;
@@ -1451,21 +1451,6 @@ declare module "http" {
1451
1451
  */
1452
1452
  scheduling?: "fifo" | "lifo" | undefined;
1453
1453
  }
1454
- interface AgentGetNameOptions {
1455
- /**
1456
- * A domain name or IP address of the server to issue the request to
1457
- */
1458
- host?: string | undefined;
1459
- /**
1460
- * Port of remote server
1461
- */
1462
- port?: number | undefined;
1463
- /**
1464
- * Local interface to bind for network connections when issuing the request
1465
- */
1466
- localAddress?: string | undefined;
1467
- family?: 4 | 6 | undefined;
1468
- }
1469
1454
  /**
1470
1455
  * An `Agent` is responsible for managing connection persistence
1471
1456
  * and reuse for HTTP clients. It maintains a queue of pending requests
@@ -1604,7 +1589,7 @@ declare module "http" {
1604
1589
  * @param callback Callback function that receives the created socket
1605
1590
  */
1606
1591
  createConnection(
1607
- options: NetConnectOpts,
1592
+ options: ClientRequestArgs,
1608
1593
  callback?: (err: Error | null, stream: stream.Duplex) => void,
1609
1594
  ): stream.Duplex;
1610
1595
  /**
@@ -1646,7 +1631,7 @@ declare module "http" {
1646
1631
  * @since v0.11.4
1647
1632
  * @param options A set of options providing information for name generation
1648
1633
  */
1649
- getName(options?: AgentGetNameOptions): string;
1634
+ getName(options?: ClientRequestArgs): string;
1650
1635
  }
1651
1636
  const METHODS: string[];
1652
1637
  const STATUS_CODES: {
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "24.0.12",
3
+ "version": "24.0.14",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -15,11 +15,6 @@
15
15
  "githubUsername": "jkomyno",
16
16
  "url": "https://github.com/jkomyno"
17
17
  },
18
- {
19
- "name": "Alvis HT Tang",
20
- "githubUsername": "alvis",
21
- "url": "https://github.com/alvis"
22
- },
23
18
  {
24
19
  "name": "Andrew Makarov",
25
20
  "githubUsername": "r3nya",
@@ -30,56 +25,11 @@
30
25
  "githubUsername": "btoueg",
31
26
  "url": "https://github.com/btoueg"
32
27
  },
33
- {
34
- "name": "Chigozirim C.",
35
- "githubUsername": "smac89",
36
- "url": "https://github.com/smac89"
37
- },
38
28
  {
39
29
  "name": "David Junger",
40
30
  "githubUsername": "touffy",
41
31
  "url": "https://github.com/touffy"
42
32
  },
43
- {
44
- "name": "Deividas Bakanas",
45
- "githubUsername": "DeividasBakanas",
46
- "url": "https://github.com/DeividasBakanas"
47
- },
48
- {
49
- "name": "Eugene Y. Q. Shen",
50
- "githubUsername": "eyqs",
51
- "url": "https://github.com/eyqs"
52
- },
53
- {
54
- "name": "Hannes Magnusson",
55
- "githubUsername": "Hannes-Magnusson-CK",
56
- "url": "https://github.com/Hannes-Magnusson-CK"
57
- },
58
- {
59
- "name": "Huw",
60
- "githubUsername": "hoo29",
61
- "url": "https://github.com/hoo29"
62
- },
63
- {
64
- "name": "Kelvin Jin",
65
- "githubUsername": "kjin",
66
- "url": "https://github.com/kjin"
67
- },
68
- {
69
- "name": "Klaus Meinhardt",
70
- "githubUsername": "ajafff",
71
- "url": "https://github.com/ajafff"
72
- },
73
- {
74
- "name": "Lishude",
75
- "githubUsername": "islishude",
76
- "url": "https://github.com/islishude"
77
- },
78
- {
79
- "name": "Mariusz Wiktorczyk",
80
- "githubUsername": "mwiktorczyk",
81
- "url": "https://github.com/mwiktorczyk"
82
- },
83
33
  {
84
34
  "name": "Mohsen Azimi",
85
35
  "githubUsername": "mohsen1",
@@ -90,46 +40,16 @@
90
40
  "githubUsername": "galkin",
91
41
  "url": "https://github.com/galkin"
92
42
  },
93
- {
94
- "name": "Parambir Singh",
95
- "githubUsername": "parambirs",
96
- "url": "https://github.com/parambirs"
97
- },
98
43
  {
99
44
  "name": "Sebastian Silbermann",
100
45
  "githubUsername": "eps1lon",
101
46
  "url": "https://github.com/eps1lon"
102
47
  },
103
- {
104
- "name": "Thomas den Hollander",
105
- "githubUsername": "ThomasdenH",
106
- "url": "https://github.com/ThomasdenH"
107
- },
108
48
  {
109
49
  "name": "Wilco Bakker",
110
50
  "githubUsername": "WilcoBakker",
111
51
  "url": "https://github.com/WilcoBakker"
112
52
  },
113
- {
114
- "name": "wwwy3y3",
115
- "githubUsername": "wwwy3y3",
116
- "url": "https://github.com/wwwy3y3"
117
- },
118
- {
119
- "name": "Samuel Ainsworth",
120
- "githubUsername": "samuela",
121
- "url": "https://github.com/samuela"
122
- },
123
- {
124
- "name": "Kyle Uehlein",
125
- "githubUsername": "kuehlein",
126
- "url": "https://github.com/kuehlein"
127
- },
128
- {
129
- "name": "Thanik Bhongbhibhat",
130
- "githubUsername": "bhongy",
131
- "url": "https://github.com/bhongy"
132
- },
133
53
  {
134
54
  "name": "Marcin Kopacz",
135
55
  "githubUsername": "chyzwar",
@@ -235,6 +155,6 @@
235
155
  "undici-types": "~7.8.0"
236
156
  },
237
157
  "peerDependencies": {},
238
- "typesPublisherContentHash": "8e4c85a4e3eaa197d6a1deb2bcccfbcd34ad8ba2f260d598e3576078dbf913d1",
158
+ "typesPublisherContentHash": "f2ab6ee3016c1a7d1baf5391d24e04e58c4d932ac8ba8267ea5acc2cf3259dbb",
239
159
  "typeScriptVersion": "5.1"
240
160
  }