@types/node 25.9.1 → 25.9.3
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/http2.d.ts +4 -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: Wed, 10 Jun 2026 22:15:09 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node/http2.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ declare module "node:http2" {
|
|
|
20
20
|
":method"?: string | undefined;
|
|
21
21
|
":authority"?: string | undefined;
|
|
22
22
|
":scheme"?: string | undefined;
|
|
23
|
+
":protocol"?: string | undefined;
|
|
23
24
|
}
|
|
24
25
|
// Http2Stream
|
|
25
26
|
interface StreamState {
|
|
@@ -582,6 +583,7 @@ declare module "node:http2" {
|
|
|
582
583
|
maxConcurrentStreams?: number | undefined;
|
|
583
584
|
maxHeaderListSize?: number | undefined;
|
|
584
585
|
enableConnectProtocol?: boolean | undefined;
|
|
586
|
+
customSettings?: { [key: number]: number };
|
|
585
587
|
}
|
|
586
588
|
interface ClientSessionRequestOptions {
|
|
587
589
|
endStream?: boolean | undefined;
|
|
@@ -1240,6 +1242,8 @@ declare module "node:http2" {
|
|
|
1240
1242
|
Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
|
|
1241
1243
|
Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
|
|
1242
1244
|
> extends SessionOptions {
|
|
1245
|
+
maxSessionRejectedStreams?: number | undefined;
|
|
1246
|
+
maxSessionInvalidFrames?: number | undefined;
|
|
1243
1247
|
streamResetBurst?: number | undefined;
|
|
1244
1248
|
streamResetRate?: number | undefined;
|
|
1245
1249
|
/** @deprecated Use `http1Options.IncomingMessage` instead. */
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "25.9.
|
|
3
|
+
"version": "25.9.3",
|
|
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.24.0 <7.24.7"
|
|
151
151
|
},
|
|
152
152
|
"peerDependencies": {},
|
|
153
|
-
"typesPublisherContentHash": "
|
|
153
|
+
"typesPublisherContentHash": "b651099f0be23911446e6a283ee816760ef628511df23064b85b949a9ca68cf5",
|
|
154
154
|
"typeScriptVersion": "5.3"
|
|
155
155
|
}
|