@types/node 20.8.6 → 20.8.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/README.md +4 -5
- node/index.d.ts +0 -45
- node/inspector.d.ts +0 -1
- node/os.d.ts +1 -1
- node/package.json +85 -89
- node/perf_hooks.d.ts +1 -1
- node/ts4.8/inspector.d.ts +0 -1
- node/ts4.8/os.d.ts +1 -1
node/README.md
CHANGED
|
@@ -2,15 +2,14 @@
|
|
|
2
2
|
> `npm install --save @types/node`
|
|
3
3
|
|
|
4
4
|
# Summary
|
|
5
|
-
This package contains type definitions for
|
|
5
|
+
This package contains type definitions for node (https://nodejs.org/).
|
|
6
6
|
|
|
7
7
|
# Details
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
12
|
-
* Dependencies: [
|
|
13
|
-
* Global values: `AbortController`, `AbortSignal`, `FormData`, `Headers`, `Request`, `Response`, `__dirname`, `__filename`, `console`, `exports`, `fetch`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
11
|
+
* Last updated: Tue, 24 Oct 2023 01:35:22 GMT
|
|
12
|
+
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
14
13
|
|
|
15
14
|
# Credits
|
|
16
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [
|
|
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), [Nicolas Even](https://github.com/n-e), [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), [Yongsheng Zhang](https://github.com/ZYSzys), [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/index.d.ts
CHANGED
|
@@ -1,48 +1,3 @@
|
|
|
1
|
-
// Type definitions for non-npm package Node.js 20.8
|
|
2
|
-
// Project: https://nodejs.org/
|
|
3
|
-
// Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
|
|
4
|
-
// DefinitelyTyped <https://github.com/DefinitelyTyped>
|
|
5
|
-
// Alberto Schiabel <https://github.com/jkomyno>
|
|
6
|
-
// Alvis HT Tang <https://github.com/alvis>
|
|
7
|
-
// Andrew Makarov <https://github.com/r3nya>
|
|
8
|
-
// Benjamin Toueg <https://github.com/btoueg>
|
|
9
|
-
// Chigozirim C. <https://github.com/smac89>
|
|
10
|
-
// David Junger <https://github.com/touffy>
|
|
11
|
-
// Deividas Bakanas <https://github.com/DeividasBakanas>
|
|
12
|
-
// Eugene Y. Q. Shen <https://github.com/eyqs>
|
|
13
|
-
// Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>
|
|
14
|
-
// Huw <https://github.com/hoo29>
|
|
15
|
-
// Kelvin Jin <https://github.com/kjin>
|
|
16
|
-
// Klaus Meinhardt <https://github.com/ajafff>
|
|
17
|
-
// Lishude <https://github.com/islishude>
|
|
18
|
-
// Mariusz Wiktorczyk <https://github.com/mwiktorczyk>
|
|
19
|
-
// Mohsen Azimi <https://github.com/mohsen1>
|
|
20
|
-
// Nicolas Even <https://github.com/n-e>
|
|
21
|
-
// Nikita Galkin <https://github.com/galkin>
|
|
22
|
-
// Parambir Singh <https://github.com/parambirs>
|
|
23
|
-
// Sebastian Silbermann <https://github.com/eps1lon>
|
|
24
|
-
// Thomas den Hollander <https://github.com/ThomasdenH>
|
|
25
|
-
// Wilco Bakker <https://github.com/WilcoBakker>
|
|
26
|
-
// wwwy3y3 <https://github.com/wwwy3y3>
|
|
27
|
-
// Samuel Ainsworth <https://github.com/samuela>
|
|
28
|
-
// Kyle Uehlein <https://github.com/kuehlein>
|
|
29
|
-
// Thanik Bhongbhibhat <https://github.com/bhongy>
|
|
30
|
-
// Marcin Kopacz <https://github.com/chyzwar>
|
|
31
|
-
// Trivikram Kamat <https://github.com/trivikr>
|
|
32
|
-
// Junxiao Shi <https://github.com/yoursunny>
|
|
33
|
-
// Ilia Baryshnikov <https://github.com/qwelias>
|
|
34
|
-
// ExE Boss <https://github.com/ExE-Boss>
|
|
35
|
-
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
36
|
-
// Anna Henningsen <https://github.com/addaleax>
|
|
37
|
-
// Victor Perin <https://github.com/victorperin>
|
|
38
|
-
// Yongsheng Zhang <https://github.com/ZYSzys>
|
|
39
|
-
// NodeJS Contributors <https://github.com/NodeJS>
|
|
40
|
-
// Linus Unnebäck <https://github.com/LinusU>
|
|
41
|
-
// wafuwafu13 <https://github.com/wafuwafu13>
|
|
42
|
-
// Matteo Collina <https://github.com/mcollina>
|
|
43
|
-
// Dmitry Semigradsky <https://github.com/Semigradsky>
|
|
44
|
-
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
45
|
-
|
|
46
1
|
/**
|
|
47
2
|
* License for programmatically and manually incorporated
|
|
48
3
|
* documentation aka. `JSDoc` from https://github.com/nodejs/node/tree/master/doc
|
node/inspector.d.ts
CHANGED
node/os.d.ts
CHANGED
node/package.json
CHANGED
|
@@ -1,214 +1,209 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "20.8.
|
|
4
|
-
"description": "TypeScript definitions for
|
|
3
|
+
"version": "20.8.8",
|
|
4
|
+
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"contributors": [
|
|
8
8
|
{
|
|
9
9
|
"name": "Microsoft TypeScript",
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"name": "DefinitelyTyped",
|
|
15
|
-
"url": "https://github.com/DefinitelyTyped",
|
|
16
|
-
"githubUsername": "DefinitelyTyped"
|
|
10
|
+
"githubUsername": "Microsoft",
|
|
11
|
+
"url": "https://github.com/Microsoft"
|
|
17
12
|
},
|
|
18
13
|
{
|
|
19
14
|
"name": "Alberto Schiabel",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
15
|
+
"githubUsername": "jkomyno",
|
|
16
|
+
"url": "https://github.com/jkomyno"
|
|
22
17
|
},
|
|
23
18
|
{
|
|
24
19
|
"name": "Alvis HT Tang",
|
|
25
|
-
"
|
|
26
|
-
"
|
|
20
|
+
"githubUsername": "alvis",
|
|
21
|
+
"url": "https://github.com/alvis"
|
|
27
22
|
},
|
|
28
23
|
{
|
|
29
24
|
"name": "Andrew Makarov",
|
|
30
|
-
"
|
|
31
|
-
"
|
|
25
|
+
"githubUsername": "r3nya",
|
|
26
|
+
"url": "https://github.com/r3nya"
|
|
32
27
|
},
|
|
33
28
|
{
|
|
34
29
|
"name": "Benjamin Toueg",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
30
|
+
"githubUsername": "btoueg",
|
|
31
|
+
"url": "https://github.com/btoueg"
|
|
37
32
|
},
|
|
38
33
|
{
|
|
39
34
|
"name": "Chigozirim C.",
|
|
40
|
-
"
|
|
41
|
-
"
|
|
35
|
+
"githubUsername": "smac89",
|
|
36
|
+
"url": "https://github.com/smac89"
|
|
42
37
|
},
|
|
43
38
|
{
|
|
44
39
|
"name": "David Junger",
|
|
45
|
-
"
|
|
46
|
-
"
|
|
40
|
+
"githubUsername": "touffy",
|
|
41
|
+
"url": "https://github.com/touffy"
|
|
47
42
|
},
|
|
48
43
|
{
|
|
49
44
|
"name": "Deividas Bakanas",
|
|
50
|
-
"
|
|
51
|
-
"
|
|
45
|
+
"githubUsername": "DeividasBakanas",
|
|
46
|
+
"url": "https://github.com/DeividasBakanas"
|
|
52
47
|
},
|
|
53
48
|
{
|
|
54
49
|
"name": "Eugene Y. Q. Shen",
|
|
55
|
-
"
|
|
56
|
-
"
|
|
50
|
+
"githubUsername": "eyqs",
|
|
51
|
+
"url": "https://github.com/eyqs"
|
|
57
52
|
},
|
|
58
53
|
{
|
|
59
54
|
"name": "Hannes Magnusson",
|
|
60
|
-
"
|
|
61
|
-
"
|
|
55
|
+
"githubUsername": "Hannes-Magnusson-CK",
|
|
56
|
+
"url": "https://github.com/Hannes-Magnusson-CK"
|
|
62
57
|
},
|
|
63
58
|
{
|
|
64
59
|
"name": "Huw",
|
|
65
|
-
"
|
|
66
|
-
"
|
|
60
|
+
"githubUsername": "hoo29",
|
|
61
|
+
"url": "https://github.com/hoo29"
|
|
67
62
|
},
|
|
68
63
|
{
|
|
69
64
|
"name": "Kelvin Jin",
|
|
70
|
-
"
|
|
71
|
-
"
|
|
65
|
+
"githubUsername": "kjin",
|
|
66
|
+
"url": "https://github.com/kjin"
|
|
72
67
|
},
|
|
73
68
|
{
|
|
74
69
|
"name": "Klaus Meinhardt",
|
|
75
|
-
"
|
|
76
|
-
"
|
|
70
|
+
"githubUsername": "ajafff",
|
|
71
|
+
"url": "https://github.com/ajafff"
|
|
77
72
|
},
|
|
78
73
|
{
|
|
79
74
|
"name": "Lishude",
|
|
80
|
-
"
|
|
81
|
-
"
|
|
75
|
+
"githubUsername": "islishude",
|
|
76
|
+
"url": "https://github.com/islishude"
|
|
82
77
|
},
|
|
83
78
|
{
|
|
84
79
|
"name": "Mariusz Wiktorczyk",
|
|
85
|
-
"
|
|
86
|
-
"
|
|
80
|
+
"githubUsername": "mwiktorczyk",
|
|
81
|
+
"url": "https://github.com/mwiktorczyk"
|
|
87
82
|
},
|
|
88
83
|
{
|
|
89
84
|
"name": "Mohsen Azimi",
|
|
90
|
-
"
|
|
91
|
-
"
|
|
85
|
+
"githubUsername": "mohsen1",
|
|
86
|
+
"url": "https://github.com/mohsen1"
|
|
92
87
|
},
|
|
93
88
|
{
|
|
94
89
|
"name": "Nicolas Even",
|
|
95
|
-
"
|
|
96
|
-
"
|
|
90
|
+
"githubUsername": "n-e",
|
|
91
|
+
"url": "https://github.com/n-e"
|
|
97
92
|
},
|
|
98
93
|
{
|
|
99
94
|
"name": "Nikita Galkin",
|
|
100
|
-
"
|
|
101
|
-
"
|
|
95
|
+
"githubUsername": "galkin",
|
|
96
|
+
"url": "https://github.com/galkin"
|
|
102
97
|
},
|
|
103
98
|
{
|
|
104
99
|
"name": "Parambir Singh",
|
|
105
|
-
"
|
|
106
|
-
"
|
|
100
|
+
"githubUsername": "parambirs",
|
|
101
|
+
"url": "https://github.com/parambirs"
|
|
107
102
|
},
|
|
108
103
|
{
|
|
109
104
|
"name": "Sebastian Silbermann",
|
|
110
|
-
"
|
|
111
|
-
"
|
|
105
|
+
"githubUsername": "eps1lon",
|
|
106
|
+
"url": "https://github.com/eps1lon"
|
|
112
107
|
},
|
|
113
108
|
{
|
|
114
109
|
"name": "Thomas den Hollander",
|
|
115
|
-
"
|
|
116
|
-
"
|
|
110
|
+
"githubUsername": "ThomasdenH",
|
|
111
|
+
"url": "https://github.com/ThomasdenH"
|
|
117
112
|
},
|
|
118
113
|
{
|
|
119
114
|
"name": "Wilco Bakker",
|
|
120
|
-
"
|
|
121
|
-
"
|
|
115
|
+
"githubUsername": "WilcoBakker",
|
|
116
|
+
"url": "https://github.com/WilcoBakker"
|
|
122
117
|
},
|
|
123
118
|
{
|
|
124
119
|
"name": "wwwy3y3",
|
|
125
|
-
"
|
|
126
|
-
"
|
|
120
|
+
"githubUsername": "wwwy3y3",
|
|
121
|
+
"url": "https://github.com/wwwy3y3"
|
|
127
122
|
},
|
|
128
123
|
{
|
|
129
124
|
"name": "Samuel Ainsworth",
|
|
130
|
-
"
|
|
131
|
-
"
|
|
125
|
+
"githubUsername": "samuela",
|
|
126
|
+
"url": "https://github.com/samuela"
|
|
132
127
|
},
|
|
133
128
|
{
|
|
134
129
|
"name": "Kyle Uehlein",
|
|
135
|
-
"
|
|
136
|
-
"
|
|
130
|
+
"githubUsername": "kuehlein",
|
|
131
|
+
"url": "https://github.com/kuehlein"
|
|
137
132
|
},
|
|
138
133
|
{
|
|
139
134
|
"name": "Thanik Bhongbhibhat",
|
|
140
|
-
"
|
|
141
|
-
"
|
|
135
|
+
"githubUsername": "bhongy",
|
|
136
|
+
"url": "https://github.com/bhongy"
|
|
142
137
|
},
|
|
143
138
|
{
|
|
144
139
|
"name": "Marcin Kopacz",
|
|
145
|
-
"
|
|
146
|
-
"
|
|
140
|
+
"githubUsername": "chyzwar",
|
|
141
|
+
"url": "https://github.com/chyzwar"
|
|
147
142
|
},
|
|
148
143
|
{
|
|
149
144
|
"name": "Trivikram Kamat",
|
|
150
|
-
"
|
|
151
|
-
"
|
|
145
|
+
"githubUsername": "trivikr",
|
|
146
|
+
"url": "https://github.com/trivikr"
|
|
152
147
|
},
|
|
153
148
|
{
|
|
154
149
|
"name": "Junxiao Shi",
|
|
155
|
-
"
|
|
156
|
-
"
|
|
150
|
+
"githubUsername": "yoursunny",
|
|
151
|
+
"url": "https://github.com/yoursunny"
|
|
157
152
|
},
|
|
158
153
|
{
|
|
159
154
|
"name": "Ilia Baryshnikov",
|
|
160
|
-
"
|
|
161
|
-
"
|
|
155
|
+
"githubUsername": "qwelias",
|
|
156
|
+
"url": "https://github.com/qwelias"
|
|
162
157
|
},
|
|
163
158
|
{
|
|
164
159
|
"name": "ExE Boss",
|
|
165
|
-
"
|
|
166
|
-
"
|
|
160
|
+
"githubUsername": "ExE-Boss",
|
|
161
|
+
"url": "https://github.com/ExE-Boss"
|
|
167
162
|
},
|
|
168
163
|
{
|
|
169
164
|
"name": "Piotr Błażejewicz",
|
|
170
|
-
"
|
|
171
|
-
"
|
|
165
|
+
"githubUsername": "peterblazejewicz",
|
|
166
|
+
"url": "https://github.com/peterblazejewicz"
|
|
172
167
|
},
|
|
173
168
|
{
|
|
174
169
|
"name": "Anna Henningsen",
|
|
175
|
-
"
|
|
176
|
-
"
|
|
170
|
+
"githubUsername": "addaleax",
|
|
171
|
+
"url": "https://github.com/addaleax"
|
|
177
172
|
},
|
|
178
173
|
{
|
|
179
174
|
"name": "Victor Perin",
|
|
180
|
-
"
|
|
181
|
-
"
|
|
175
|
+
"githubUsername": "victorperin",
|
|
176
|
+
"url": "https://github.com/victorperin"
|
|
182
177
|
},
|
|
183
178
|
{
|
|
184
179
|
"name": "Yongsheng Zhang",
|
|
185
|
-
"
|
|
186
|
-
"
|
|
180
|
+
"githubUsername": "ZYSzys",
|
|
181
|
+
"url": "https://github.com/ZYSzys"
|
|
187
182
|
},
|
|
188
183
|
{
|
|
189
184
|
"name": "NodeJS Contributors",
|
|
190
|
-
"
|
|
191
|
-
"
|
|
185
|
+
"githubUsername": "NodeJS",
|
|
186
|
+
"url": "https://github.com/NodeJS"
|
|
192
187
|
},
|
|
193
188
|
{
|
|
194
189
|
"name": "Linus Unnebäck",
|
|
195
|
-
"
|
|
196
|
-
"
|
|
190
|
+
"githubUsername": "LinusU",
|
|
191
|
+
"url": "https://github.com/LinusU"
|
|
197
192
|
},
|
|
198
193
|
{
|
|
199
194
|
"name": "wafuwafu13",
|
|
200
|
-
"
|
|
201
|
-
"
|
|
195
|
+
"githubUsername": "wafuwafu13",
|
|
196
|
+
"url": "https://github.com/wafuwafu13"
|
|
202
197
|
},
|
|
203
198
|
{
|
|
204
199
|
"name": "Matteo Collina",
|
|
205
|
-
"
|
|
206
|
-
"
|
|
200
|
+
"githubUsername": "mcollina",
|
|
201
|
+
"url": "https://github.com/mcollina"
|
|
207
202
|
},
|
|
208
203
|
{
|
|
209
204
|
"name": "Dmitry Semigradsky",
|
|
210
|
-
"
|
|
211
|
-
"
|
|
205
|
+
"githubUsername": "Semigradsky",
|
|
206
|
+
"url": "https://github.com/Semigradsky"
|
|
212
207
|
}
|
|
213
208
|
],
|
|
214
209
|
"main": "",
|
|
@@ -229,6 +224,7 @@
|
|
|
229
224
|
"dependencies": {
|
|
230
225
|
"undici-types": "~5.25.1"
|
|
231
226
|
},
|
|
232
|
-
"typesPublisherContentHash": "
|
|
233
|
-
"typeScriptVersion": "4.5"
|
|
227
|
+
"typesPublisherContentHash": "e357ca3bf322ba0af26efb0a6a1be3069910e43a0bcc1f327e3415ecaf66dd08",
|
|
228
|
+
"typeScriptVersion": "4.5",
|
|
229
|
+
"nonNpm": true
|
|
234
230
|
}
|
node/perf_hooks.d.ts
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
*/
|
|
32
32
|
declare module "perf_hooks" {
|
|
33
33
|
import { AsyncResource } from "node:async_hooks";
|
|
34
|
-
type EntryType = "node" | "mark" | "measure" | "gc" | "function" | "http2" | "http" | "dns";
|
|
34
|
+
type EntryType = "node" | "mark" | "measure" | "gc" | "function" | "http2" | "http" | "dns" | "net";
|
|
35
35
|
interface NodeGCPerformanceDetail {
|
|
36
36
|
/**
|
|
37
37
|
* When `performanceEntry.entryType` is equal to 'gc', `the performance.kind` property identifies
|
node/ts4.8/inspector.d.ts
CHANGED