@types/node 18.19.11 → 18.19.12

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 v18.19/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/v18.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 30 Jan 2024 21:35:45 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.19.11",
3
+ "version": "18.19.12",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -229,6 +229,6 @@
229
229
  "dependencies": {
230
230
  "undici-types": "~5.26.4"
231
231
  },
232
- "typesPublisherContentHash": "dc8372d8a057aea576edabd9954e60dd05292b04d30097a20d1603e30c30b9be",
232
+ "typesPublisherContentHash": "71fb1d45dfd1fd5ba9079d0bb44dce95e9f4d03bfbe06c27ebc51bac335e154b",
233
233
  "typeScriptVersion": "4.6"
234
234
  }
node v18.19/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`.
@@ -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`.