@types/node 24.5.0 → 24.5.1
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 +1 -1
- node/http.d.ts +1 -1
- node/https.d.ts +5 -0
- node/package.json +2 -2
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:
|
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/http.d.ts
CHANGED
@@ -1615,7 +1615,7 @@ declare module "http" {
|
|
1615
1615
|
createConnection(
|
1616
1616
|
options: ClientRequestArgs,
|
1617
1617
|
callback?: (err: Error | null, stream: stream.Duplex) => void,
|
1618
|
-
): stream.Duplex;
|
1618
|
+
): stream.Duplex | null | undefined;
|
1619
1619
|
/**
|
1620
1620
|
* Called when `socket` is detached from a request and could be persisted by the`Agent`. Default behavior is to:
|
1621
1621
|
*
|
node/https.d.ts
CHANGED
@@ -32,6 +32,11 @@ declare module "https" {
|
|
32
32
|
class Agent extends http.Agent {
|
33
33
|
constructor(options?: AgentOptions);
|
34
34
|
options: AgentOptions;
|
35
|
+
createConnection(
|
36
|
+
options: RequestOptions,
|
37
|
+
callback?: (err: Error | null, stream: Duplex) => void,
|
38
|
+
): Duplex | null | undefined;
|
39
|
+
getName(options?: RequestOptions): string;
|
35
40
|
}
|
36
41
|
interface Server<
|
37
42
|
Request extends typeof http.IncomingMessage = typeof http.IncomingMessage,
|
node/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/node",
|
3
|
-
"version": "24.5.
|
3
|
+
"version": "24.5.1",
|
4
4
|
"description": "TypeScript definitions for node",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
6
6
|
"license": "MIT",
|
@@ -150,6 +150,6 @@
|
|
150
150
|
"undici-types": "~7.12.0"
|
151
151
|
},
|
152
152
|
"peerDependencies": {},
|
153
|
-
"typesPublisherContentHash": "
|
153
|
+
"typesPublisherContentHash": "a75178555ac6bb4988973bb3fd7e3d6dfed50fe88cbe16c385e14646f513240e",
|
154
154
|
"typeScriptVersion": "5.2"
|
155
155
|
}
|