@types/node 22.16.2 → 22.16.4
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 v22.16/README.md +2 -2
- node v22.16/http.d.ts +3 -18
- node v22.16/package.json +2 -82
node v22.16/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/v22.
|
9
9
|
|
10
10
|
### Additional Details
|
11
|
-
* Last updated:
|
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), [
|
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), and [René](https://github.com/Renegade334).
|
node v22.16/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,
|
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:
|
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?:
|
1634
|
+
getName(options?: ClientRequestArgs): string;
|
1650
1635
|
}
|
1651
1636
|
const METHODS: string[];
|
1652
1637
|
const STATUS_CODES: {
|
node v22.16/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/node",
|
3
|
-
"version": "22.16.
|
3
|
+
"version": "22.16.4",
|
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",
|
@@ -220,6 +140,6 @@
|
|
220
140
|
"undici-types": "~6.21.0"
|
221
141
|
},
|
222
142
|
"peerDependencies": {},
|
223
|
-
"typesPublisherContentHash": "
|
143
|
+
"typesPublisherContentHash": "d301d67133c8a5db8e1653ffa1a0a1a0c7f3ce7a52a3031731407c635ef09fb8",
|
224
144
|
"typeScriptVersion": "5.1"
|
225
145
|
}
|