@types/node 16.18.58 → 16.18.60

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 v16.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/v16.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 06 Oct 2023 23:05:45 GMT
11
+ * Last updated: Tue, 31 Oct 2023 08:42:08 GMT
12
12
  * Dependencies: none
13
- * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
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), [Seth Westphal](https://github.com/westy92), [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), and [wafuwafu13](https://github.com/wafuwafu13).
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), [Seth Westphal](https://github.com/westy92), [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), and [wafuwafu13](https://github.com/wafuwafu13).
node v16.18/index.d.ts CHANGED
@@ -1,48 +1,3 @@
1
- // Type definitions for non-npm package Node.js 16.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
- // Seth Westphal <https://github.com/westy92>
25
- // Simon Schick <https://github.com/SimonSchick>
26
- // Thomas den Hollander <https://github.com/ThomasdenH>
27
- // Wilco Bakker <https://github.com/WilcoBakker>
28
- // wwwy3y3 <https://github.com/wwwy3y3>
29
- // Samuel Ainsworth <https://github.com/samuela>
30
- // Kyle Uehlein <https://github.com/kuehlein>
31
- // Thanik Bhongbhibhat <https://github.com/bhongy>
32
- // Marcin Kopacz <https://github.com/chyzwar>
33
- // Trivikram Kamat <https://github.com/trivikr>
34
- // Junxiao Shi <https://github.com/yoursunny>
35
- // Ilia Baryshnikov <https://github.com/qwelias>
36
- // ExE Boss <https://github.com/ExE-Boss>
37
- // Piotr Błażejewicz <https://github.com/peterblazejewicz>
38
- // Anna Henningsen <https://github.com/addaleax>
39
- // Victor Perin <https://github.com/victorperin>
40
- // Yongsheng Zhang <https://github.com/ZYSzys>
41
- // NodeJS Contributors <https://github.com/NodeJS>
42
- // Linus Unnebäck <https://github.com/LinusU>
43
- // wafuwafu13 <https://github.com/wafuwafu13>
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
@@ -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 v16.18/net.d.ts CHANGED
@@ -83,6 +83,12 @@ declare module "net" {
83
83
  */
84
84
  class Socket extends stream.Duplex {
85
85
  constructor(options?: SocketConstructorOpts);
86
+ /**
87
+ * Destroys the socket after all data is written. If the `finish` event was already emitted the socket is destroyed immediately.
88
+ * If the socket is still writable it implicitly calls `socket.end()`.
89
+ * @since v0.3.4
90
+ */
91
+ destroySoon(): void;
86
92
  /**
87
93
  * Sends data on the socket. The second parameter specifies the encoding in the
88
94
  * case of a string. It defaults to UTF8 encoding.
node v16.18/os.d.ts CHANGED
@@ -37,7 +37,7 @@ declare module "os" {
37
37
  username: T;
38
38
  uid: number;
39
39
  gid: number;
40
- shell: T;
40
+ shell: T | null;
41
41
  homedir: T;
42
42
  }
43
43
  type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6;
@@ -1,214 +1,209 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.18.58",
4
- "description": "TypeScript definitions for Node.js",
3
+ "version": "16.18.60",
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": "Seth Westphal",
115
- "url": "https://github.com/westy92",
116
- "githubUsername": "westy92"
110
+ "githubUsername": "westy92",
111
+ "url": "https://github.com/westy92"
117
112
  },
118
113
  {
119
114
  "name": "Simon Schick",
120
- "url": "https://github.com/SimonSchick",
121
- "githubUsername": "SimonSchick"
115
+ "githubUsername": "SimonSchick",
116
+ "url": "https://github.com/SimonSchick"
122
117
  },
123
118
  {
124
119
  "name": "Thomas den Hollander",
125
- "url": "https://github.com/ThomasdenH",
126
- "githubUsername": "ThomasdenH"
120
+ "githubUsername": "ThomasdenH",
121
+ "url": "https://github.com/ThomasdenH"
127
122
  },
128
123
  {
129
124
  "name": "Wilco Bakker",
130
- "url": "https://github.com/WilcoBakker",
131
- "githubUsername": "WilcoBakker"
125
+ "githubUsername": "WilcoBakker",
126
+ "url": "https://github.com/WilcoBakker"
132
127
  },
133
128
  {
134
129
  "name": "wwwy3y3",
135
- "url": "https://github.com/wwwy3y3",
136
- "githubUsername": "wwwy3y3"
130
+ "githubUsername": "wwwy3y3",
131
+ "url": "https://github.com/wwwy3y3"
137
132
  },
138
133
  {
139
134
  "name": "Samuel Ainsworth",
140
- "url": "https://github.com/samuela",
141
- "githubUsername": "samuela"
135
+ "githubUsername": "samuela",
136
+ "url": "https://github.com/samuela"
142
137
  },
143
138
  {
144
139
  "name": "Kyle Uehlein",
145
- "url": "https://github.com/kuehlein",
146
- "githubUsername": "kuehlein"
140
+ "githubUsername": "kuehlein",
141
+ "url": "https://github.com/kuehlein"
147
142
  },
148
143
  {
149
144
  "name": "Thanik Bhongbhibhat",
150
- "url": "https://github.com/bhongy",
151
- "githubUsername": "bhongy"
145
+ "githubUsername": "bhongy",
146
+ "url": "https://github.com/bhongy"
152
147
  },
153
148
  {
154
149
  "name": "Marcin Kopacz",
155
- "url": "https://github.com/chyzwar",
156
- "githubUsername": "chyzwar"
150
+ "githubUsername": "chyzwar",
151
+ "url": "https://github.com/chyzwar"
157
152
  },
158
153
  {
159
154
  "name": "Trivikram Kamat",
160
- "url": "https://github.com/trivikr",
161
- "githubUsername": "trivikr"
155
+ "githubUsername": "trivikr",
156
+ "url": "https://github.com/trivikr"
162
157
  },
163
158
  {
164
159
  "name": "Junxiao Shi",
165
- "url": "https://github.com/yoursunny",
166
- "githubUsername": "yoursunny"
160
+ "githubUsername": "yoursunny",
161
+ "url": "https://github.com/yoursunny"
167
162
  },
168
163
  {
169
164
  "name": "Ilia Baryshnikov",
170
- "url": "https://github.com/qwelias",
171
- "githubUsername": "qwelias"
165
+ "githubUsername": "qwelias",
166
+ "url": "https://github.com/qwelias"
172
167
  },
173
168
  {
174
169
  "name": "ExE Boss",
175
- "url": "https://github.com/ExE-Boss",
176
- "githubUsername": "ExE-Boss"
170
+ "githubUsername": "ExE-Boss",
171
+ "url": "https://github.com/ExE-Boss"
177
172
  },
178
173
  {
179
174
  "name": "Piotr Błażejewicz",
180
- "url": "https://github.com/peterblazejewicz",
181
- "githubUsername": "peterblazejewicz"
175
+ "githubUsername": "peterblazejewicz",
176
+ "url": "https://github.com/peterblazejewicz"
182
177
  },
183
178
  {
184
179
  "name": "Anna Henningsen",
185
- "url": "https://github.com/addaleax",
186
- "githubUsername": "addaleax"
180
+ "githubUsername": "addaleax",
181
+ "url": "https://github.com/addaleax"
187
182
  },
188
183
  {
189
184
  "name": "Victor Perin",
190
- "url": "https://github.com/victorperin",
191
- "githubUsername": "victorperin"
185
+ "githubUsername": "victorperin",
186
+ "url": "https://github.com/victorperin"
192
187
  },
193
188
  {
194
189
  "name": "Yongsheng Zhang",
195
- "url": "https://github.com/ZYSzys",
196
- "githubUsername": "ZYSzys"
190
+ "githubUsername": "ZYSzys",
191
+ "url": "https://github.com/ZYSzys"
197
192
  },
198
193
  {
199
194
  "name": "NodeJS Contributors",
200
- "url": "https://github.com/NodeJS",
201
- "githubUsername": "NodeJS"
195
+ "githubUsername": "NodeJS",
196
+ "url": "https://github.com/NodeJS"
202
197
  },
203
198
  {
204
199
  "name": "Linus Unnebäck",
205
- "url": "https://github.com/LinusU",
206
- "githubUsername": "LinusU"
200
+ "githubUsername": "LinusU",
201
+ "url": "https://github.com/LinusU"
207
202
  },
208
203
  {
209
204
  "name": "wafuwafu13",
210
- "url": "https://github.com/wafuwafu13",
211
- "githubUsername": "wafuwafu13"
205
+ "githubUsername": "wafuwafu13",
206
+ "url": "https://github.com/wafuwafu13"
212
207
  }
213
208
  ],
214
209
  "main": "",
@@ -227,6 +222,7 @@
227
222
  },
228
223
  "scripts": {},
229
224
  "dependencies": {},
230
- "typesPublisherContentHash": "743a3d44a58a5c7b02bff3efacfe04e47f09c5f7ad3cec96df57b00f48677261",
231
- "typeScriptVersion": "4.5"
225
+ "typesPublisherContentHash": "b6d1490658a7c311ffa595b78da7ef2c93069e2f3aab421b4b275b6ced63e742",
226
+ "typeScriptVersion": "4.5",
227
+ "nonNpm": true
232
228
  }
@@ -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.
@@ -83,6 +83,12 @@ declare module "net" {
83
83
  */
84
84
  class Socket extends stream.Duplex {
85
85
  constructor(options?: SocketConstructorOpts);
86
+ /**
87
+ * Destroys the socket after all data is written. If the `finish` event was already emitted the socket is destroyed immediately.
88
+ * If the socket is still writable it implicitly calls `socket.end()`.
89
+ * @since v0.3.4
90
+ */
91
+ destroySoon(): void;
86
92
  /**
87
93
  * Sends data on the socket. The second parameter specifies the encoding in the
88
94
  * case of a string. It defaults to UTF8 encoding.
@@ -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;