@types/node 17.0.4 → 17.0.5

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.
Files changed (3) hide show
  1. node/README.md +1 -1
  2. node/package.json +2 -2
  3. node/tls.d.ts +2 -1
node/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.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Thu, 23 Dec 2021 09:01:22 GMT
11
+ * Last updated: Sun, 26 Dec 2021 13:01:23 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
14
14
 
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "17.0.4",
3
+ "version": "17.0.5",
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": "edb60173a3572a40d307973e0afbb4d28d38beead582cb803c690ecf3d9a9ab3",
228
+ "typesPublisherContentHash": "3c0adb53431cb8fd2d161319df594cb0476c94f9f82ba1951c1ce1558edc85b9",
229
229
  "typeScriptVersion": "3.8"
230
230
  }
node/tls.d.ts CHANGED
@@ -11,6 +11,7 @@
11
11
  declare module 'tls' {
12
12
  import { X509Certificate } from 'node:crypto';
13
13
  import * as net from 'node:net';
14
+ import * as stream from 'stream';
14
15
  const CLIENT_RENEG_LIMIT: number;
15
16
  const CLIENT_RENEG_WINDOW: number;
16
17
  interface Certificate {
@@ -516,7 +517,7 @@ declare module 'tls' {
516
517
  host?: string | undefined;
517
518
  port?: number | undefined;
518
519
  path?: string | undefined; // Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored.
519
- socket?: net.Socket | undefined; // Establish secure connection on a given socket rather than creating a new socket
520
+ socket?: stream.Duplex | undefined; // Establish secure connection on a given socket rather than creating a new socket
520
521
  checkServerIdentity?: typeof checkServerIdentity | undefined;
521
522
  servername?: string | undefined; // SNI TLS Extension
522
523
  session?: Buffer | undefined;