@types/node 18.19.117 → 18.19.119
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 v18.19/README.md +2 -2
- node v18.19/http.d.ts +3 -18
- node v18.19/package.json +2 -82
node v18.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/v18.
|
|
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), [Simon Schick](https://github.com/SimonSchick), [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 v18.19/http.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ declare module "http" {
|
|
|
44
44
|
import { URL } from "node:url";
|
|
45
45
|
import { EventEmitter } from "node:events";
|
|
46
46
|
import { LookupOptions } from "node:dns";
|
|
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;
|
|
@@ -1430,21 +1430,6 @@ declare module "http" {
|
|
|
1430
1430
|
*/
|
|
1431
1431
|
scheduling?: "fifo" | "lifo" | undefined;
|
|
1432
1432
|
}
|
|
1433
|
-
interface AgentGetNameOptions {
|
|
1434
|
-
/**
|
|
1435
|
-
* A domain name or IP address of the server to issue the request to
|
|
1436
|
-
*/
|
|
1437
|
-
host?: string | undefined;
|
|
1438
|
-
/**
|
|
1439
|
-
* Port of remote server
|
|
1440
|
-
*/
|
|
1441
|
-
port?: number | undefined;
|
|
1442
|
-
/**
|
|
1443
|
-
* Local interface to bind for network connections when issuing the request
|
|
1444
|
-
*/
|
|
1445
|
-
localAddress?: string | undefined;
|
|
1446
|
-
family?: 4 | 6 | undefined;
|
|
1447
|
-
}
|
|
1448
1433
|
/**
|
|
1449
1434
|
* An `Agent` is responsible for managing connection persistence
|
|
1450
1435
|
* and reuse for HTTP clients. It maintains a queue of pending requests
|
|
@@ -1572,7 +1557,7 @@ declare module "http" {
|
|
|
1572
1557
|
* @param callback Callback function that receives the created socket
|
|
1573
1558
|
*/
|
|
1574
1559
|
createConnection(
|
|
1575
|
-
options:
|
|
1560
|
+
options: ClientRequestArgs,
|
|
1576
1561
|
callback?: (err: Error | null, stream: stream.Duplex) => void,
|
|
1577
1562
|
): stream.Duplex;
|
|
1578
1563
|
/**
|
|
@@ -1614,7 +1599,7 @@ declare module "http" {
|
|
|
1614
1599
|
* @since v0.11.4
|
|
1615
1600
|
* @param options A set of options providing information for name generation
|
|
1616
1601
|
*/
|
|
1617
|
-
getName(options?:
|
|
1602
|
+
getName(options?: ClientRequestArgs): string;
|
|
1618
1603
|
}
|
|
1619
1604
|
const METHODS: string[];
|
|
1620
1605
|
const STATUS_CODES: {
|
node v18.19/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "18.19.
|
|
3
|
+
"version": "18.19.119",
|
|
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,11 +40,6 @@
|
|
|
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",
|
|
@@ -105,36 +50,11 @@
|
|
|
105
50
|
"githubUsername": "SimonSchick",
|
|
106
51
|
"url": "https://github.com/SimonSchick"
|
|
107
52
|
},
|
|
108
|
-
{
|
|
109
|
-
"name": "Thomas den Hollander",
|
|
110
|
-
"githubUsername": "ThomasdenH",
|
|
111
|
-
"url": "https://github.com/ThomasdenH"
|
|
112
|
-
},
|
|
113
53
|
{
|
|
114
54
|
"name": "Wilco Bakker",
|
|
115
55
|
"githubUsername": "WilcoBakker",
|
|
116
56
|
"url": "https://github.com/WilcoBakker"
|
|
117
57
|
},
|
|
118
|
-
{
|
|
119
|
-
"name": "wwwy3y3",
|
|
120
|
-
"githubUsername": "wwwy3y3",
|
|
121
|
-
"url": "https://github.com/wwwy3y3"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"name": "Samuel Ainsworth",
|
|
125
|
-
"githubUsername": "samuela",
|
|
126
|
-
"url": "https://github.com/samuela"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"name": "Kyle Uehlein",
|
|
130
|
-
"githubUsername": "kuehlein",
|
|
131
|
-
"url": "https://github.com/kuehlein"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"name": "Thanik Bhongbhibhat",
|
|
135
|
-
"githubUsername": "bhongy",
|
|
136
|
-
"url": "https://github.com/bhongy"
|
|
137
|
-
},
|
|
138
58
|
{
|
|
139
59
|
"name": "Marcin Kopacz",
|
|
140
60
|
"githubUsername": "chyzwar",
|
|
@@ -220,6 +140,6 @@
|
|
|
220
140
|
"undici-types": "~5.26.4"
|
|
221
141
|
},
|
|
222
142
|
"peerDependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
143
|
+
"typesPublisherContentHash": "0189dde384b2086d4462f085080aa1c9d7d12801495e83741f845e39fc657b45",
|
|
224
144
|
"typeScriptVersion": "5.1"
|
|
225
145
|
}
|