@types/node 14.18.2 → 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.18/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/v14.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 20 Dec 2021 23:01:23 GMT
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
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "14.18.2",
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",
@@ -225,6 +225,6 @@
225
225
  },
226
226
  "scripts": {},
227
227
  "dependencies": {},
228
- "typesPublisherContentHash": "50b06853f2437862aaea36f3eb63de3623c57335209ea78eff60440c72a15b5c",
228
+ "typesPublisherContentHash": "feccfa53d66b9ccffb14dd0e28b04bb36f497195fbffbb19ce9292ad861e3b3e",
229
229
  "typeScriptVersion": "3.8"
230
230
  }
node v14.18/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;
@@ -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?: net.Socket | undefined; // Establish secure connection on a given socket rather than creating a new 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;