@types/node 20.19.6 → 20.19.8

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 v20.19/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/v20.
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), and [Dmitry Semigradsky](https://github.com/Semigradsky).
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), and [Dmitry Semigradsky](https://github.com/Semigradsky).
node v20.19/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;
@@ -1449,21 +1449,6 @@ declare module "http" {
1449
1449
  */
1450
1450
  scheduling?: "fifo" | "lifo" | undefined;
1451
1451
  }
1452
- interface AgentGetNameOptions {
1453
- /**
1454
- * A domain name or IP address of the server to issue the request to
1455
- */
1456
- host?: string | undefined;
1457
- /**
1458
- * Port of remote server
1459
- */
1460
- port?: number | undefined;
1461
- /**
1462
- * Local interface to bind for network connections when issuing the request
1463
- */
1464
- localAddress?: string | undefined;
1465
- family?: 4 | 6 | undefined;
1466
- }
1467
1452
  /**
1468
1453
  * An `Agent` is responsible for managing connection persistence
1469
1454
  * and reuse for HTTP clients. It maintains a queue of pending requests
@@ -1602,7 +1587,7 @@ declare module "http" {
1602
1587
  * @param callback Callback function that receives the created socket
1603
1588
  */
1604
1589
  createConnection(
1605
- options: NetConnectOpts,
1590
+ options: ClientRequestArgs,
1606
1591
  callback?: (err: Error | null, stream: stream.Duplex) => void,
1607
1592
  ): stream.Duplex;
1608
1593
  /**
@@ -1644,7 +1629,7 @@ declare module "http" {
1644
1629
  * @since v0.11.4
1645
1630
  * @param options A set of options providing information for name generation
1646
1631
  */
1647
- getName(options?: AgentGetNameOptions): string;
1632
+ getName(options?: ClientRequestArgs): string;
1648
1633
  }
1649
1634
  const METHODS: string[];
1650
1635
  const STATUS_CODES: {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.19.6",
3
+ "version": "20.19.8",
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",
@@ -215,6 +135,6 @@
215
135
  "undici-types": "~6.21.0"
216
136
  },
217
137
  "peerDependencies": {},
218
- "typesPublisherContentHash": "98d6d616065f01e65723da019074e8256e8df7f594d52355dfd9ffeaed556326",
138
+ "typesPublisherContentHash": "e1d6ffc15c9775fcbafcf42afa1039aecb0987f848d05c297c45e32157d003a2",
219
139
  "typeScriptVersion": "5.1"
220
140
  }