@types/node 20.11.13 → 20.11.14

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 (4) hide show
  1. node/README.md +1 -1
  2. node/package.json +2 -2
  3. node/tls.d.ts +1 -1
  4. node/ts4.8/tls.d.ts +1 -1
node/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for node (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: Tue, 30 Jan 2024 23:07:03 GMT
11
+ * Last updated: Wed, 31 Jan 2024 19:35:04 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.11.13",
3
+ "version": "20.11.14",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -224,6 +224,6 @@
224
224
  "dependencies": {
225
225
  "undici-types": "~5.26.4"
226
226
  },
227
- "typesPublisherContentHash": "24c5c944aa13a9116b098c65a139b5511cc45f4e99d6128492111ef3b42f5447",
227
+ "typesPublisherContentHash": "e58afbd0a36342b5e542f9ffea1822abfb2c723efaa4ffd195ad1f424385cc7a",
228
228
  "typeScriptVersion": "4.6"
229
229
  }
node/tls.d.ts CHANGED
@@ -220,7 +220,7 @@ declare module "tls" {
220
220
  /**
221
221
  * Construct a new tls.TLSSocket object from an existing TCP socket.
222
222
  */
223
- constructor(socket: net.Socket, options?: TLSSocketOptions);
223
+ constructor(socket: net.Socket | stream.Duplex, options?: TLSSocketOptions);
224
224
  /**
225
225
  * This property is `true` if the peer certificate was signed by one of the CAs
226
226
  * specified when creating the `tls.TLSSocket` instance, otherwise `false`.
node/ts4.8/tls.d.ts CHANGED
@@ -220,7 +220,7 @@ declare module "tls" {
220
220
  /**
221
221
  * Construct a new tls.TLSSocket object from an existing TCP socket.
222
222
  */
223
- constructor(socket: net.Socket, options?: TLSSocketOptions);
223
+ constructor(socket: net.Socket | stream.Duplex, options?: TLSSocketOptions);
224
224
  /**
225
225
  * This property is `true` if the peer certificate was signed by one of the CAs
226
226
  * specified when creating the `tls.TLSSocket` instance, otherwise `false`.