@types/node 14.17.34 → 14.18.3
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 v14.17 → node v14.18}/LICENSE +0 -0
- {node v14.17 → node v14.18}/README.md +2 -2
- {node v14.17 → node v14.18}/assert.d.ts +4 -0
- {node v14.17 → node v14.18}/async_hooks.d.ts +3 -0
- {node v14.17 → node v14.18}/buffer.d.ts +3 -0
- {node v14.17 → node v14.18}/child_process.d.ts +3 -0
- {node v14.17 → node v14.18}/cluster.d.ts +3 -0
- {node v14.17 → node v14.18}/console.d.ts +4 -0
- {node v14.17 → node v14.18}/constants.d.ts +5 -0
- {node v14.17 → node v14.18}/crypto.d.ts +3 -0
- {node v14.17 → node v14.18}/dgram.d.ts +3 -0
- {node v14.17 → node v14.18}/dns.d.ts +3 -0
- {node v14.17 → node v14.18}/domain.d.ts +3 -0
- {node v14.17 → node v14.18}/events.d.ts +4 -0
- {node v14.17 → node v14.18}/fs/promises.d.ts +3 -0
- {node v14.17 → node v14.18}/fs.d.ts +3 -0
- {node v14.17 → node v14.18}/globals.d.ts +0 -0
- {node v14.17 → node v14.18}/globals.global.d.ts +0 -0
- {node v14.17 → node v14.18}/http.d.ts +4 -1
- {node v14.17 → node v14.18}/http2.d.ts +4 -1
- {node v14.17 → node v14.18}/https.d.ts +3 -0
- {node v14.17 → node v14.18}/index.d.ts +2 -1
- {node v14.17 → node v14.18}/inspector.d.ts +4 -0
- {node v14.17 → node v14.18}/module.d.ts +4 -0
- {node v14.17 → node v14.18}/net.d.ts +3 -0
- {node v14.17 → node v14.18}/os.d.ts +3 -0
- {node v14.17 → node v14.18}/package.json +7 -2
- {node v14.17 → node v14.18}/path.d.ts +4 -0
- {node v14.17 → node v14.18}/perf_hooks.d.ts +3 -0
- {node v14.17 → node v14.18}/process.d.ts +4 -0
- {node v14.17 → node v14.18}/punycode.d.ts +3 -0
- {node v14.17 → node v14.18}/querystring.d.ts +3 -0
- {node v14.17 → node v14.18}/readline.d.ts +3 -0
- {node v14.17 → node v14.18}/repl.d.ts +3 -0
- {node v14.17 → node v14.18}/stream.d.ts +4 -0
- {node v14.17 → node v14.18}/string_decoder.d.ts +3 -0
- {node v14.17 → node v14.18}/timers.d.ts +3 -0
- {node v14.17 → node v14.18}/tls.d.ts +5 -1
- {node v14.17 → node v14.18}/trace_events.d.ts +3 -0
- {node v14.17 → node v14.18}/tty.d.ts +3 -0
- {node v14.17 → node v14.18}/url.d.ts +3 -0
- {node v14.17 → node v14.18}/util.d.ts +3 -0
- {node v14.17 → node v14.18}/v8.d.ts +3 -0
- {node v14.17 → node v14.18}/vm.d.ts +3 -0
- {node v14.17 → node v14.18}/wasi.d.ts +3 -0
- {node v14.17 → node v14.18}/worker_threads.d.ts +3 -0
- {node v14.17 → node v14.18}/zlib.d.ts +3 -0
|
File without changes
|
|
@@ -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/v14.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Sun, 26 Dec 2021 13:01:24 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Buffer`, `__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), [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), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [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),
|
|
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), [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), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [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), [Bond](https://github.com/bondz), and [Linus Unnebäck](https://github.com/LinusU).
|
|
@@ -509,3 +509,6 @@ declare module 'child_process' {
|
|
|
509
509
|
function execFileSync(command: string, args: ReadonlyArray<string>, options: ExecFileSyncOptionsWithBufferEncoding): Buffer;
|
|
510
510
|
function execFileSync(command: string, args?: ReadonlyArray<string>, options?: ExecFileSyncOptions): string | Buffer;
|
|
511
511
|
}
|
|
512
|
+
declare module 'node:child_process' {
|
|
513
|
+
export * from 'child_process';
|
|
514
|
+
}
|
|
File without changes
|
|
File without changes
|
|
@@ -237,7 +237,7 @@ declare module 'http' {
|
|
|
237
237
|
constructor();
|
|
238
238
|
|
|
239
239
|
setTimeout(msecs: number, callback?: () => void): this;
|
|
240
|
-
setHeader(name: string, value: number | string | ReadonlyArray<string>):
|
|
240
|
+
setHeader(name: string, value: number | string | ReadonlyArray<string>): this;
|
|
241
241
|
getHeader(name: string): number | string | string[] | undefined;
|
|
242
242
|
getHeaders(): OutgoingHttpHeaders;
|
|
243
243
|
getHeaderNames(): string[];
|
|
@@ -485,3 +485,6 @@ declare module 'http' {
|
|
|
485
485
|
*/
|
|
486
486
|
const maxHeaderSize: number;
|
|
487
487
|
}
|
|
488
|
+
declare module 'node:http' {
|
|
489
|
+
export * from 'http';
|
|
490
|
+
}
|
|
@@ -594,7 +594,7 @@ declare module 'http2' {
|
|
|
594
594
|
readonly socket: net.Socket | tls.TLSSocket;
|
|
595
595
|
readonly stream: ServerHttp2Stream;
|
|
596
596
|
readonly trailers: IncomingHttpHeaders;
|
|
597
|
-
|
|
597
|
+
url: string;
|
|
598
598
|
|
|
599
599
|
setTimeout(msecs: number, callback?: () => void): void;
|
|
600
600
|
read(size?: number): Buffer | string | null;
|
|
@@ -956,3 +956,6 @@ declare module 'http2' {
|
|
|
956
956
|
listener?: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void
|
|
957
957
|
): ClientHttp2Session;
|
|
958
958
|
}
|
|
959
|
+
declare module 'node:http2' {
|
|
960
|
+
export * from 'http2';
|
|
961
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for non-npm package Node.js 14.
|
|
1
|
+
// Type definitions for non-npm package Node.js 14.18
|
|
2
2
|
// Project: https://nodejs.org/
|
|
3
3
|
// Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
|
|
4
4
|
// DefinitelyTyped <https://github.com/DefinitelyTyped>
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
// Victor Perin <https://github.com/victorperin>
|
|
42
42
|
// Yongsheng Zhang <https://github.com/ZYSzys>
|
|
43
43
|
// Bond <https://github.com/bondz>
|
|
44
|
+
// Linus Unnebäck <https://github.com/LinusU>
|
|
44
45
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
45
46
|
|
|
46
47
|
// NOTE: These definitions support NodeJS and TypeScript 3.7+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.18.3",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -209,6 +209,11 @@
|
|
|
209
209
|
"name": "Bond",
|
|
210
210
|
"url": "https://github.com/bondz",
|
|
211
211
|
"githubUsername": "bondz"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "Linus Unnebäck",
|
|
215
|
+
"url": "https://github.com/LinusU",
|
|
216
|
+
"githubUsername": "LinusU"
|
|
212
217
|
}
|
|
213
218
|
],
|
|
214
219
|
"main": "",
|
|
@@ -220,6 +225,6 @@
|
|
|
220
225
|
},
|
|
221
226
|
"scripts": {},
|
|
222
227
|
"dependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
228
|
+
"typesPublisherContentHash": "feccfa53d66b9ccffb14dd0e28b04bb36f497195fbffbb19ce9292ad861e3b3e",
|
|
224
229
|
"typeScriptVersion": "3.8"
|
|
225
230
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare module 'tls' {
|
|
2
2
|
import * as net from 'net';
|
|
3
|
+
import * as stream from 'stream';
|
|
3
4
|
|
|
4
5
|
const CLIENT_RENEG_LIMIT: number;
|
|
5
6
|
const CLIENT_RENEG_WINDOW: number;
|
|
@@ -441,7 +442,7 @@ declare module 'tls' {
|
|
|
441
442
|
host?: string | undefined;
|
|
442
443
|
port?: number | undefined;
|
|
443
444
|
path?: string | undefined; // Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored.
|
|
444
|
-
socket?:
|
|
445
|
+
socket?: stream.Duplex | undefined; // Establish secure connection on a given socket rather than creating a new socket
|
|
445
446
|
checkServerIdentity?: typeof checkServerIdentity | undefined;
|
|
446
447
|
servername?: string | undefined; // SNI TLS Extension
|
|
447
448
|
session?: Buffer | undefined;
|
|
@@ -778,3 +779,6 @@ declare module 'tls' {
|
|
|
778
779
|
*/
|
|
779
780
|
const rootCertificates: ReadonlyArray<string>;
|
|
780
781
|
}
|
|
782
|
+
declare module 'node:tls' {
|
|
783
|
+
export * from 'tls';
|
|
784
|
+
}
|