@types/node 18.19.124 → 18.19.126

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: Thu, 04 Sep 2025 10:02:38 GMT
11
+ * Last updated: Tue, 16 Sep 2025 21:32:23 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node v18.19/http.d.ts CHANGED
@@ -1559,7 +1559,7 @@ declare module "http" {
1559
1559
  createConnection(
1560
1560
  options: ClientRequestArgs,
1561
1561
  callback?: (err: Error | null, stream: stream.Duplex) => void,
1562
- ): stream.Duplex;
1562
+ ): stream.Duplex | null | undefined;
1563
1563
  /**
1564
1564
  * Called when `socket` is detached from a request and could be persisted by the`Agent`. Default behavior is to:
1565
1565
  *
node v18.19/https.d.ts CHANGED
@@ -31,6 +31,11 @@ declare module "https" {
31
31
  class Agent extends http.Agent {
32
32
  constructor(options?: AgentOptions);
33
33
  options: AgentOptions;
34
+ createConnection(
35
+ options: RequestOptions,
36
+ callback?: (err: Error | null, stream: Duplex) => void,
37
+ ): Duplex | null | undefined;
38
+ getName(options?: RequestOptions): string;
34
39
  }
35
40
  interface Server<
36
41
  Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
node v18.19/index.d.ts CHANGED
@@ -53,7 +53,6 @@
53
53
  /// <reference path="diagnostics_channel.d.ts" />
54
54
  /// <reference path="dns.d.ts" />
55
55
  /// <reference path="dns/promises.d.ts" />
56
- /// <reference path="dns/promises.d.ts" />
57
56
  /// <reference path="domain.d.ts" />
58
57
  /// <reference path="events.d.ts" />
59
58
  /// <reference path="fs.d.ts" />
@@ -61,7 +60,7 @@
61
60
  /// <reference path="http.d.ts" />
62
61
  /// <reference path="http2.d.ts" />
63
62
  /// <reference path="https.d.ts" />
64
- /// <reference path="inspector.d.ts" />
63
+ /// <reference path="inspector.generated.d.ts" />
65
64
  /// <reference path="module.d.ts" />
66
65
  /// <reference path="net.d.ts" />
67
66
  /// <reference path="os.d.ts" />
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "18.19.124",
3
+ "version": "18.19.126",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -140,6 +140,6 @@
140
140
  "undici-types": "~5.26.4"
141
141
  },
142
142
  "peerDependencies": {},
143
- "typesPublisherContentHash": "cfacae7427c3c3875e0bb6273f23337b1c1ad32a1d52bf325995af48a2626624",
143
+ "typesPublisherContentHash": "1eacf848f548bc0e39b84a8cb89794b19363e97ce7a5feb01b6abb3b7dc1aaef",
144
144
  "typeScriptVersion": "5.2"
145
145
  }
@@ -53,7 +53,6 @@
53
53
  /// <reference path="../diagnostics_channel.d.ts" />
54
54
  /// <reference path="../dns.d.ts" />
55
55
  /// <reference path="../dns/promises.d.ts" />
56
- /// <reference path="../dns/promises.d.ts" />
57
56
  /// <reference path="../domain.d.ts" />
58
57
  /// <reference path="../events.d.ts" />
59
58
  /// <reference path="../fs.d.ts" />
@@ -61,7 +60,7 @@
61
60
  /// <reference path="../http.d.ts" />
62
61
  /// <reference path="../http2.d.ts" />
63
62
  /// <reference path="../https.d.ts" />
64
- /// <reference path="../inspector.d.ts" />
63
+ /// <reference path="../inspector.generated.d.ts" />
65
64
  /// <reference path="../module.d.ts" />
66
65
  /// <reference path="../net.d.ts" />
67
66
  /// <reference path="../os.d.ts" />