@types/node 12.20.33 → 12.20.37
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 v12.20/README.md +2 -2
- node v12.20/fs.d.ts +2 -2
- node v12.20/http.d.ts +2 -1
- node v12.20/index.d.ts +0 -1
- node v12.20/package.json +2 -7
- node v12.20/readline.d.ts +1 -0
node v12.20/README.md
CHANGED
|
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v12.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 08 Nov 2021 21:31:30 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Buffer`, `NodeJS`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
|
15
15
|
# 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), [Hoàng Văn Khải](https://github.com/KSXGitHub), [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), [Zane Hannan AU](https://github.com/ZaneHannanAU), [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), [
|
|
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), [Hoàng Văn Khải](https://github.com/KSXGitHub), [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), [Zane Hannan AU](https://github.com/ZaneHannanAU), [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), and [ExE Boss](https://github.com/ExE-Boss).
|
node v12.20/fs.d.ts
CHANGED
|
@@ -131,7 +131,7 @@ declare module 'fs' {
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
class ReadStream extends stream.Readable {
|
|
134
|
-
close(): void;
|
|
134
|
+
close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
|
|
135
135
|
bytesRead: number;
|
|
136
136
|
path: string | Buffer;
|
|
137
137
|
|
|
@@ -162,7 +162,7 @@ declare module 'fs' {
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
class WriteStream extends stream.Writable {
|
|
165
|
-
close(): void;
|
|
165
|
+
close(callback?: (err?: NodeJS.ErrnoException | null) => void): void;
|
|
166
166
|
bytesWritten: number;
|
|
167
167
|
path: string | Buffer;
|
|
168
168
|
|
node v12.20/http.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare module 'http' {
|
|
2
2
|
import * as stream from 'stream';
|
|
3
3
|
import { URL } from 'url';
|
|
4
|
-
import { Socket, Server as NetServer } from 'net';
|
|
4
|
+
import { Socket, Server as NetServer, LookupFunction } from 'net';
|
|
5
5
|
|
|
6
6
|
// incoming headers will never contain number
|
|
7
7
|
interface IncomingHttpHeaders {
|
|
@@ -90,6 +90,7 @@ declare module 'http' {
|
|
|
90
90
|
setHost?: boolean | undefined;
|
|
91
91
|
// https://github.com/nodejs/node/blob/master/lib/_http_client.js#L278
|
|
92
92
|
createConnection?: ((options: ClientRequestArgs, oncreate: (err: Error, socket: Socket) => void) => Socket) | undefined;
|
|
93
|
+
lookup?: LookupFunction | undefined;
|
|
93
94
|
}
|
|
94
95
|
|
|
95
96
|
interface ServerOptions {
|
node v12.20/index.d.ts
CHANGED
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
// Thanik Bhongbhibhat <https://github.com/bhongy>
|
|
33
33
|
// Marcin Kopacz <https://github.com/chyzwar>
|
|
34
34
|
// Trivikram Kamat <https://github.com/trivikr>
|
|
35
|
-
// Minh Son Nguyen <https://github.com/nguymin4>
|
|
36
35
|
// Junxiao Shi <https://github.com/yoursunny>
|
|
37
36
|
// Ilia Baryshnikov <https://github.com/qwelias>
|
|
38
37
|
// ExE Boss <https://github.com/ExE-Boss>
|
node v12.20/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "12.20.
|
|
3
|
+
"version": "12.20.37",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -165,11 +165,6 @@
|
|
|
165
165
|
"url": "https://github.com/trivikr",
|
|
166
166
|
"githubUsername": "trivikr"
|
|
167
167
|
},
|
|
168
|
-
{
|
|
169
|
-
"name": "Minh Son Nguyen",
|
|
170
|
-
"url": "https://github.com/nguymin4",
|
|
171
|
-
"githubUsername": "nguymin4"
|
|
172
|
-
},
|
|
173
168
|
{
|
|
174
169
|
"name": "Junxiao Shi",
|
|
175
170
|
"url": "https://github.com/yoursunny",
|
|
@@ -195,6 +190,6 @@
|
|
|
195
190
|
},
|
|
196
191
|
"scripts": {},
|
|
197
192
|
"dependencies": {},
|
|
198
|
-
"typesPublisherContentHash": "
|
|
193
|
+
"typesPublisherContentHash": "78be90eb75f4da4dd372b759d7fc010666de4ad712f0c10e30af3c36b0ef6a56",
|
|
199
194
|
"typeScriptVersion": "3.7"
|
|
200
195
|
}
|