@types/node 14.17.12 → 14.17.16
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/README.md +2 -2
- node v14.17/globals.d.ts +0 -1
- node v14.17/index.d.ts +1 -1
- node v14.17/package.json +2 -2
- node v14.17/stream.d.ts +1 -0
- node v14.17/tls.d.ts +3 -2
node v14.17/README.md
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
> `npm install --save @types/node`
|
|
3
3
|
|
|
4
4
|
# Summary
|
|
5
|
-
This package contains type definitions for Node.js (
|
|
5
|
+
This package contains type definitions for Node.js (https://nodejs.org/).
|
|
6
6
|
|
|
7
7
|
# Details
|
|
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: Tue, 14 Sep 2021 21:01:32 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
|
|
node v14.17/globals.d.ts
CHANGED
node v14.17/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Type definitions for non-npm package Node.js 14.17
|
|
2
|
-
// Project:
|
|
2
|
+
// Project: https://nodejs.org/
|
|
3
3
|
// Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
|
|
4
4
|
// DefinitelyTyped <https://github.com/DefinitelyTyped>
|
|
5
5
|
// Alberto Schiabel <https://github.com/jkomyno>
|
node v14.17/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.17.
|
|
3
|
+
"version": "14.17.16",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -225,6 +225,6 @@
|
|
|
225
225
|
},
|
|
226
226
|
"scripts": {},
|
|
227
227
|
"dependencies": {},
|
|
228
|
-
"typesPublisherContentHash": "
|
|
228
|
+
"typesPublisherContentHash": "e26283272ac8611b0ab492a2721279509df62b1ccf04415a61cecdfb88618d53",
|
|
229
229
|
"typeScriptVersion": "3.7"
|
|
230
230
|
}
|
node v14.17/stream.d.ts
CHANGED
|
@@ -251,6 +251,7 @@ declare module 'stream' {
|
|
|
251
251
|
readonly writableLength: number;
|
|
252
252
|
readonly writableObjectMode: boolean;
|
|
253
253
|
readonly writableCorked: number;
|
|
254
|
+
allowHalfOpen: boolean;
|
|
254
255
|
constructor(opts?: DuplexOptions);
|
|
255
256
|
_write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
|
|
256
257
|
_writev?(chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void;
|
node v14.17/tls.d.ts
CHANGED
|
@@ -150,9 +150,10 @@ declare module 'tls' {
|
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
152
|
* String containing the selected ALPN protocol.
|
|
153
|
-
*
|
|
153
|
+
* Before a handshake has completed, this value is always null.
|
|
154
|
+
* When a handshake is completed but not ALPN protocol was selected, tlsSocket.alpnProtocol equals false.
|
|
154
155
|
*/
|
|
155
|
-
alpnProtocol
|
|
156
|
+
alpnProtocol: string | false | null;
|
|
156
157
|
|
|
157
158
|
/**
|
|
158
159
|
* Returns an object representing the local certificate. The returned
|