@types/node 18.18.4 → 18.18.6

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.18/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 Node.js (https://nodejs.org/).
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/v18.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 06 Oct 2023 23:05:45 GMT
11
+ * Last updated: Wed, 18 Oct 2023 05:47:08 GMT
12
12
  * Dependencies: none
13
- * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
14
13
 
15
14
  # Credits
16
- These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [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), [Simon Schick](https://github.com/SimonSchick), [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).
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), [Simon Schick](https://github.com/SimonSchick), [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 v18.18/buffer.d.ts CHANGED
@@ -200,7 +200,7 @@ declare module "buffer" {
200
200
  import { Blob as NodeBlob } from "buffer";
201
201
  // This conditional type will be the existing global Blob in a browser, or
202
202
  // the copy below in a Node environment.
203
- type __Blob = typeof globalThis extends { onmessage: any; Blob: infer T } ? T : NodeBlob;
203
+ type __Blob = typeof globalThis extends { onmessage: any; Blob: any } ? {} : NodeBlob;
204
204
  global {
205
205
  namespace NodeJS {
206
206
  export { BufferEncoding };
node v18.18/index.d.ts CHANGED
@@ -1,49 +1,3 @@
1
- // Type definitions for non-npm package Node.js 18.18
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
- // Simon Schick <https://github.com/SimonSchick>
25
- // Thomas den Hollander <https://github.com/ThomasdenH>
26
- // Wilco Bakker <https://github.com/WilcoBakker>
27
- // wwwy3y3 <https://github.com/wwwy3y3>
28
- // Samuel Ainsworth <https://github.com/samuela>
29
- // Kyle Uehlein <https://github.com/kuehlein>
30
- // Thanik Bhongbhibhat <https://github.com/bhongy>
31
- // Marcin Kopacz <https://github.com/chyzwar>
32
- // Trivikram Kamat <https://github.com/trivikr>
33
- // Junxiao Shi <https://github.com/yoursunny>
34
- // Ilia Baryshnikov <https://github.com/qwelias>
35
- // ExE Boss <https://github.com/ExE-Boss>
36
- // Piotr Błażejewicz <https://github.com/peterblazejewicz>
37
- // Anna Henningsen <https://github.com/addaleax>
38
- // Victor Perin <https://github.com/victorperin>
39
- // Yongsheng Zhang <https://github.com/ZYSzys>
40
- // NodeJS Contributors <https://github.com/NodeJS>
41
- // Linus Unnebäck <https://github.com/LinusU>
42
- // wafuwafu13 <https://github.com/wafuwafu13>
43
- // Matteo Collina <https://github.com/mcollina>
44
- // Dmitry Semigradsky <https://github.com/Semigradsky>
45
- // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
46
-
47
1
  /**
48
2
  * License for programmatically and manually incorporated
49
3
  * documentation aka. `JSDoc` from https://github.com/nodejs/node/tree/master/doc
@@ -1,4 +1,3 @@
1
- // eslint-disable-next-line @definitelytyped/dt-header
2
1
  // Type definitions for inspector
3
2
 
4
3
  // These definitions are auto-generated.
node v18.18/os.d.ts CHANGED
@@ -38,7 +38,7 @@ declare module "os" {
38
38
  username: T;
39
39
  uid: number;
40
40
  gid: number;
41
- shell: T;
41
+ shell: T | null;
42
42
  homedir: T;
43
43
  }
44
44
  type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6;
@@ -1,219 +1,214 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.18.4",
4
- "description": "TypeScript definitions for Node.js",
3
+ "version": "18.18.6",
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
- "url": "https://github.com/Microsoft",
11
- "githubUsername": "Microsoft"
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
- "url": "https://github.com/jkomyno",
21
- "githubUsername": "jkomyno"
15
+ "githubUsername": "jkomyno",
16
+ "url": "https://github.com/jkomyno"
22
17
  },
23
18
  {
24
19
  "name": "Alvis HT Tang",
25
- "url": "https://github.com/alvis",
26
- "githubUsername": "alvis"
20
+ "githubUsername": "alvis",
21
+ "url": "https://github.com/alvis"
27
22
  },
28
23
  {
29
24
  "name": "Andrew Makarov",
30
- "url": "https://github.com/r3nya",
31
- "githubUsername": "r3nya"
25
+ "githubUsername": "r3nya",
26
+ "url": "https://github.com/r3nya"
32
27
  },
33
28
  {
34
29
  "name": "Benjamin Toueg",
35
- "url": "https://github.com/btoueg",
36
- "githubUsername": "btoueg"
30
+ "githubUsername": "btoueg",
31
+ "url": "https://github.com/btoueg"
37
32
  },
38
33
  {
39
34
  "name": "Chigozirim C.",
40
- "url": "https://github.com/smac89",
41
- "githubUsername": "smac89"
35
+ "githubUsername": "smac89",
36
+ "url": "https://github.com/smac89"
42
37
  },
43
38
  {
44
39
  "name": "David Junger",
45
- "url": "https://github.com/touffy",
46
- "githubUsername": "touffy"
40
+ "githubUsername": "touffy",
41
+ "url": "https://github.com/touffy"
47
42
  },
48
43
  {
49
44
  "name": "Deividas Bakanas",
50
- "url": "https://github.com/DeividasBakanas",
51
- "githubUsername": "DeividasBakanas"
45
+ "githubUsername": "DeividasBakanas",
46
+ "url": "https://github.com/DeividasBakanas"
52
47
  },
53
48
  {
54
49
  "name": "Eugene Y. Q. Shen",
55
- "url": "https://github.com/eyqs",
56
- "githubUsername": "eyqs"
50
+ "githubUsername": "eyqs",
51
+ "url": "https://github.com/eyqs"
57
52
  },
58
53
  {
59
54
  "name": "Hannes Magnusson",
60
- "url": "https://github.com/Hannes-Magnusson-CK",
61
- "githubUsername": "Hannes-Magnusson-CK"
55
+ "githubUsername": "Hannes-Magnusson-CK",
56
+ "url": "https://github.com/Hannes-Magnusson-CK"
62
57
  },
63
58
  {
64
59
  "name": "Huw",
65
- "url": "https://github.com/hoo29",
66
- "githubUsername": "hoo29"
60
+ "githubUsername": "hoo29",
61
+ "url": "https://github.com/hoo29"
67
62
  },
68
63
  {
69
64
  "name": "Kelvin Jin",
70
- "url": "https://github.com/kjin",
71
- "githubUsername": "kjin"
65
+ "githubUsername": "kjin",
66
+ "url": "https://github.com/kjin"
72
67
  },
73
68
  {
74
69
  "name": "Klaus Meinhardt",
75
- "url": "https://github.com/ajafff",
76
- "githubUsername": "ajafff"
70
+ "githubUsername": "ajafff",
71
+ "url": "https://github.com/ajafff"
77
72
  },
78
73
  {
79
74
  "name": "Lishude",
80
- "url": "https://github.com/islishude",
81
- "githubUsername": "islishude"
75
+ "githubUsername": "islishude",
76
+ "url": "https://github.com/islishude"
82
77
  },
83
78
  {
84
79
  "name": "Mariusz Wiktorczyk",
85
- "url": "https://github.com/mwiktorczyk",
86
- "githubUsername": "mwiktorczyk"
80
+ "githubUsername": "mwiktorczyk",
81
+ "url": "https://github.com/mwiktorczyk"
87
82
  },
88
83
  {
89
84
  "name": "Mohsen Azimi",
90
- "url": "https://github.com/mohsen1",
91
- "githubUsername": "mohsen1"
85
+ "githubUsername": "mohsen1",
86
+ "url": "https://github.com/mohsen1"
92
87
  },
93
88
  {
94
89
  "name": "Nicolas Even",
95
- "url": "https://github.com/n-e",
96
- "githubUsername": "n-e"
90
+ "githubUsername": "n-e",
91
+ "url": "https://github.com/n-e"
97
92
  },
98
93
  {
99
94
  "name": "Nikita Galkin",
100
- "url": "https://github.com/galkin",
101
- "githubUsername": "galkin"
95
+ "githubUsername": "galkin",
96
+ "url": "https://github.com/galkin"
102
97
  },
103
98
  {
104
99
  "name": "Parambir Singh",
105
- "url": "https://github.com/parambirs",
106
- "githubUsername": "parambirs"
100
+ "githubUsername": "parambirs",
101
+ "url": "https://github.com/parambirs"
107
102
  },
108
103
  {
109
104
  "name": "Sebastian Silbermann",
110
- "url": "https://github.com/eps1lon",
111
- "githubUsername": "eps1lon"
105
+ "githubUsername": "eps1lon",
106
+ "url": "https://github.com/eps1lon"
112
107
  },
113
108
  {
114
109
  "name": "Simon Schick",
115
- "url": "https://github.com/SimonSchick",
116
- "githubUsername": "SimonSchick"
110
+ "githubUsername": "SimonSchick",
111
+ "url": "https://github.com/SimonSchick"
117
112
  },
118
113
  {
119
114
  "name": "Thomas den Hollander",
120
- "url": "https://github.com/ThomasdenH",
121
- "githubUsername": "ThomasdenH"
115
+ "githubUsername": "ThomasdenH",
116
+ "url": "https://github.com/ThomasdenH"
122
117
  },
123
118
  {
124
119
  "name": "Wilco Bakker",
125
- "url": "https://github.com/WilcoBakker",
126
- "githubUsername": "WilcoBakker"
120
+ "githubUsername": "WilcoBakker",
121
+ "url": "https://github.com/WilcoBakker"
127
122
  },
128
123
  {
129
124
  "name": "wwwy3y3",
130
- "url": "https://github.com/wwwy3y3",
131
- "githubUsername": "wwwy3y3"
125
+ "githubUsername": "wwwy3y3",
126
+ "url": "https://github.com/wwwy3y3"
132
127
  },
133
128
  {
134
129
  "name": "Samuel Ainsworth",
135
- "url": "https://github.com/samuela",
136
- "githubUsername": "samuela"
130
+ "githubUsername": "samuela",
131
+ "url": "https://github.com/samuela"
137
132
  },
138
133
  {
139
134
  "name": "Kyle Uehlein",
140
- "url": "https://github.com/kuehlein",
141
- "githubUsername": "kuehlein"
135
+ "githubUsername": "kuehlein",
136
+ "url": "https://github.com/kuehlein"
142
137
  },
143
138
  {
144
139
  "name": "Thanik Bhongbhibhat",
145
- "url": "https://github.com/bhongy",
146
- "githubUsername": "bhongy"
140
+ "githubUsername": "bhongy",
141
+ "url": "https://github.com/bhongy"
147
142
  },
148
143
  {
149
144
  "name": "Marcin Kopacz",
150
- "url": "https://github.com/chyzwar",
151
- "githubUsername": "chyzwar"
145
+ "githubUsername": "chyzwar",
146
+ "url": "https://github.com/chyzwar"
152
147
  },
153
148
  {
154
149
  "name": "Trivikram Kamat",
155
- "url": "https://github.com/trivikr",
156
- "githubUsername": "trivikr"
150
+ "githubUsername": "trivikr",
151
+ "url": "https://github.com/trivikr"
157
152
  },
158
153
  {
159
154
  "name": "Junxiao Shi",
160
- "url": "https://github.com/yoursunny",
161
- "githubUsername": "yoursunny"
155
+ "githubUsername": "yoursunny",
156
+ "url": "https://github.com/yoursunny"
162
157
  },
163
158
  {
164
159
  "name": "Ilia Baryshnikov",
165
- "url": "https://github.com/qwelias",
166
- "githubUsername": "qwelias"
160
+ "githubUsername": "qwelias",
161
+ "url": "https://github.com/qwelias"
167
162
  },
168
163
  {
169
164
  "name": "ExE Boss",
170
- "url": "https://github.com/ExE-Boss",
171
- "githubUsername": "ExE-Boss"
165
+ "githubUsername": "ExE-Boss",
166
+ "url": "https://github.com/ExE-Boss"
172
167
  },
173
168
  {
174
169
  "name": "Piotr Błażejewicz",
175
- "url": "https://github.com/peterblazejewicz",
176
- "githubUsername": "peterblazejewicz"
170
+ "githubUsername": "peterblazejewicz",
171
+ "url": "https://github.com/peterblazejewicz"
177
172
  },
178
173
  {
179
174
  "name": "Anna Henningsen",
180
- "url": "https://github.com/addaleax",
181
- "githubUsername": "addaleax"
175
+ "githubUsername": "addaleax",
176
+ "url": "https://github.com/addaleax"
182
177
  },
183
178
  {
184
179
  "name": "Victor Perin",
185
- "url": "https://github.com/victorperin",
186
- "githubUsername": "victorperin"
180
+ "githubUsername": "victorperin",
181
+ "url": "https://github.com/victorperin"
187
182
  },
188
183
  {
189
184
  "name": "Yongsheng Zhang",
190
- "url": "https://github.com/ZYSzys",
191
- "githubUsername": "ZYSzys"
185
+ "githubUsername": "ZYSzys",
186
+ "url": "https://github.com/ZYSzys"
192
187
  },
193
188
  {
194
189
  "name": "NodeJS Contributors",
195
- "url": "https://github.com/NodeJS",
196
- "githubUsername": "NodeJS"
190
+ "githubUsername": "NodeJS",
191
+ "url": "https://github.com/NodeJS"
197
192
  },
198
193
  {
199
194
  "name": "Linus Unnebäck",
200
- "url": "https://github.com/LinusU",
201
- "githubUsername": "LinusU"
195
+ "githubUsername": "LinusU",
196
+ "url": "https://github.com/LinusU"
202
197
  },
203
198
  {
204
199
  "name": "wafuwafu13",
205
- "url": "https://github.com/wafuwafu13",
206
- "githubUsername": "wafuwafu13"
200
+ "githubUsername": "wafuwafu13",
201
+ "url": "https://github.com/wafuwafu13"
207
202
  },
208
203
  {
209
204
  "name": "Matteo Collina",
210
- "url": "https://github.com/mcollina",
211
- "githubUsername": "mcollina"
205
+ "githubUsername": "mcollina",
206
+ "url": "https://github.com/mcollina"
212
207
  },
213
208
  {
214
209
  "name": "Dmitry Semigradsky",
215
- "url": "https://github.com/Semigradsky",
216
- "githubUsername": "Semigradsky"
210
+ "githubUsername": "Semigradsky",
211
+ "url": "https://github.com/Semigradsky"
217
212
  }
218
213
  ],
219
214
  "main": "",
@@ -232,6 +227,7 @@
232
227
  },
233
228
  "scripts": {},
234
229
  "dependencies": {},
235
- "typesPublisherContentHash": "c927c7a24f74c17885590d7f67be04651e1c1d856c0ae918f73ccbc396323763",
236
- "typeScriptVersion": "4.5"
230
+ "typesPublisherContentHash": "9d2769f7b79caa5e0b224d89e2c891cf96cb53c13b2cb123b796ccd46157c968",
231
+ "typeScriptVersion": "4.5",
232
+ "nonNpm": true
237
233
  }
@@ -200,7 +200,7 @@ declare module "buffer" {
200
200
  import { Blob as NodeBlob } from "buffer";
201
201
  // This conditional type will be the existing global Blob in a browser, or
202
202
  // the copy below in a Node environment.
203
- type __Blob = typeof globalThis extends { onmessage: any; Blob: infer T } ? T : NodeBlob;
203
+ type __Blob = typeof globalThis extends { onmessage: any; Blob: any } ? {} : NodeBlob;
204
204
  global {
205
205
  namespace NodeJS {
206
206
  export { BufferEncoding };
@@ -1,4 +1,3 @@
1
- // eslint-disable-next-line @definitelytyped/dt-header
2
1
  // Type definitions for inspector
3
2
 
4
3
  // These definitions are auto-generated.
@@ -38,7 +38,7 @@ declare module "os" {
38
38
  username: T;
39
39
  uid: number;
40
40
  gid: number;
41
- shell: T;
41
+ shell: T | null;
42
42
  homedir: T;
43
43
  }
44
44
  type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6;