@types/node 20.11.22 → 20.11.24

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/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: Wed, 28 Feb 2024 17:35:47 GMT
11
+ * Last updated: Thu, 29 Feb 2024 15:35:59 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node/child_process.d.ts CHANGED
@@ -894,6 +894,8 @@ declare module "child_process" {
894
894
  killed?: boolean | undefined;
895
895
  code?: number | undefined;
896
896
  signal?: NodeJS.Signals | undefined;
897
+ stdout?: string;
898
+ stderr?: string;
897
899
  }
898
900
  /**
899
901
  * Spawns a shell then executes the `command` within that shell, buffering any
node/http.d.ts CHANGED
@@ -198,9 +198,11 @@ declare module "http" {
198
198
  _defaultAgent?: Agent | undefined;
199
199
  agent?: Agent | boolean | undefined;
200
200
  auth?: string | null | undefined;
201
- // https://github.com/nodejs/node/blob/master/lib/_http_client.js#L278
202
201
  createConnection?:
203
- | ((options: ClientRequestArgs, oncreate: (err: Error, socket: Socket) => void) => Socket)
202
+ | ((
203
+ options: ClientRequestArgs,
204
+ oncreate: (err: Error | null, socket: stream.Duplex) => void,
205
+ ) => stream.Duplex | null | undefined)
204
206
  | undefined;
205
207
  defaultPort?: number | string | undefined;
206
208
  family?: number | undefined;
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "20.11.22",
3
+ "version": "20.11.24",
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": "22bca6c00c1ff5a6ee266c15857a090c7538d380d2b735f404ffa90cc67128dd",
227
+ "typesPublisherContentHash": "ef6079276e2a7ef8ab1a543aece8e392f30de6dea7ef6fca909969095e46f4b8",
228
228
  "typeScriptVersion": "4.6"
229
229
  }
node/ts4.8/http.d.ts CHANGED
@@ -198,9 +198,11 @@ declare module "http" {
198
198
  _defaultAgent?: Agent | undefined;
199
199
  agent?: Agent | boolean | undefined;
200
200
  auth?: string | null | undefined;
201
- // https://github.com/nodejs/node/blob/master/lib/_http_client.js#L278
202
201
  createConnection?:
203
- | ((options: ClientRequestArgs, oncreate: (err: Error, socket: Socket) => void) => Socket)
202
+ | ((
203
+ options: ClientRequestArgs,
204
+ oncreate: (err: Error | null, socket: stream.Duplex) => void,
205
+ ) => stream.Duplex | null | undefined)
204
206
  | undefined;
205
207
  defaultPort?: number | string | undefined;
206
208
  family?: number | undefined;