@types/node 12.20.35 → 12.20.39
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 +1 -1
- node v12.20/fs.d.ts +2 -2
- node v12.20/http2.d.ts +1 -1
- node v12.20/package.json +3 -3
- node v12.20/readline.d.ts +1 -0
- node v12.20/tls.d.ts +2 -1
node v12.20/README.md
CHANGED
|
@@ -8,7 +8,7 @@ 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: Sun, 26 Dec 2021 13:01:25 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
|
|
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/http2.d.ts
CHANGED
|
@@ -588,7 +588,7 @@ declare module 'http2' {
|
|
|
588
588
|
readonly socket: net.Socket | tls.TLSSocket;
|
|
589
589
|
readonly stream: ServerHttp2Stream;
|
|
590
590
|
readonly trailers: IncomingHttpHeaders;
|
|
591
|
-
|
|
591
|
+
url: string;
|
|
592
592
|
|
|
593
593
|
setTimeout(msecs: number, callback?: () => void): void;
|
|
594
594
|
read(size?: number): Buffer | string | null;
|
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.39",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -190,6 +190,6 @@
|
|
|
190
190
|
},
|
|
191
191
|
"scripts": {},
|
|
192
192
|
"dependencies": {},
|
|
193
|
-
"typesPublisherContentHash": "
|
|
194
|
-
"typeScriptVersion": "3.
|
|
193
|
+
"typesPublisherContentHash": "ba5c2128b03959ee028cc41d7ca7bfa7b9e850a72664e28521ce26d0a6736395",
|
|
194
|
+
"typeScriptVersion": "3.8"
|
|
195
195
|
}
|
node v12.20/readline.d.ts
CHANGED
node v12.20/tls.d.ts
CHANGED
|
@@ -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;
|
|
@@ -394,7 +395,7 @@ declare module 'tls' {
|
|
|
394
395
|
host?: string | undefined;
|
|
395
396
|
port?: number | undefined;
|
|
396
397
|
path?: string | undefined; // Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored.
|
|
397
|
-
socket?:
|
|
398
|
+
socket?: stream.Duplex | undefined; // Establish secure connection on a given socket rather than creating a new socket
|
|
398
399
|
checkServerIdentity?: typeof checkServerIdentity | undefined;
|
|
399
400
|
servername?: string | undefined; // SNI TLS Extension
|
|
400
401
|
session?: Buffer | undefined;
|