@types/node 12.20.38 → 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 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: Mon, 20 Dec 2021 23:01:24 GMT
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
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "12.20.38",
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": "54f4230b3aa8a3cfe9d51e6d9028bd11be22c2320ff66a76863b034a418adb3a",
193
+ "typesPublisherContentHash": "ba5c2128b03959ee028cc41d7ca7bfa7b9e850a72664e28521ce26d0a6736395",
194
194
  "typeScriptVersion": "3.8"
195
195
  }
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?: net.Socket | undefined; // Establish secure connection on a given socket rather than creating a new 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;