@types/node 16.18.85 → 16.18.86

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 v16.18/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/v16.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Wed, 28 Feb 2024 17:35:47 GMT
11
+ * Last updated: Thu, 29 Feb 2024 11:38:44 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
node v16.18/http.d.ts CHANGED
@@ -215,9 +215,11 @@ declare module "http" {
215
215
  _defaultAgent?: Agent | undefined;
216
216
  timeout?: number | undefined;
217
217
  setHost?: boolean | undefined;
218
- // https://github.com/nodejs/node/blob/master/lib/_http_client.js#L278
219
218
  createConnection?:
220
- | ((options: ClientRequestArgs, oncreate: (err: Error, socket: Socket) => void) => Socket)
219
+ | ((
220
+ options: ClientRequestArgs,
221
+ oncreate: (err: Error | null, socket: stream.Duplex) => void,
222
+ ) => stream.Duplex | null | undefined)
221
223
  | undefined;
222
224
  lookup?: LookupFunction | undefined;
223
225
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "16.18.85",
3
+ "version": "16.18.86",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -222,6 +222,6 @@
222
222
  },
223
223
  "scripts": {},
224
224
  "dependencies": {},
225
- "typesPublisherContentHash": "fb871ad20cc1ac5a93082e9910ca411338256e85d7b6eee8fb6a92175f6883fd",
225
+ "typesPublisherContentHash": "69243ab03b110c2b5f5d6621758c73247c827cfa4d32d167945328a761fe1e61",
226
226
  "typeScriptVersion": "4.6"
227
227
  }
@@ -215,9 +215,11 @@ declare module "http" {
215
215
  _defaultAgent?: Agent | undefined;
216
216
  timeout?: number | undefined;
217
217
  setHost?: boolean | undefined;
218
- // https://github.com/nodejs/node/blob/master/lib/_http_client.js#L278
219
218
  createConnection?:
220
- | ((options: ClientRequestArgs, oncreate: (err: Error, socket: Socket) => void) => Socket)
219
+ | ((
220
+ options: ClientRequestArgs,
221
+ oncreate: (err: Error | null, socket: stream.Duplex) => void,
222
+ ) => stream.Duplex | null | undefined)
221
223
  | undefined;
222
224
  lookup?: LookupFunction | undefined;
223
225
  }