@types/node 22.19.19 → 22.19.21

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 v22.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/v22.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 11 May 2026 22:25:21 GMT
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 v22.19/http2.d.ts CHANGED
@@ -31,6 +31,7 @@ declare module "http2" {
31
31
  ":method"?: string | undefined;
32
32
  ":authority"?: string | undefined;
33
33
  ":scheme"?: string | undefined;
34
+ ":protocol"?: string | undefined;
34
35
  }
35
36
  // Http2Stream
36
37
  export interface StreamPriorityOptions {
@@ -635,6 +636,7 @@ declare module "http2" {
635
636
  maxConcurrentStreams?: number | undefined;
636
637
  maxHeaderListSize?: number | undefined;
637
638
  enableConnectProtocol?: boolean | undefined;
639
+ customSettings?: { [key: number]: number };
638
640
  }
639
641
  export interface ClientSessionRequestOptions {
640
642
  endStream?: boolean | undefined;
@@ -1348,6 +1350,8 @@ declare module "http2" {
1348
1350
  Http2Request extends typeof Http2ServerRequest = typeof Http2ServerRequest,
1349
1351
  Http2Response extends typeof Http2ServerResponse<InstanceType<Http2Request>> = typeof Http2ServerResponse,
1350
1352
  > extends SessionOptions {
1353
+ maxSessionRejectedStreams?: number | undefined;
1354
+ maxSessionInvalidFrames?: number | undefined;
1351
1355
  streamResetBurst?: number | undefined;
1352
1356
  streamResetRate?: number | undefined;
1353
1357
  Http1IncomingMessage?: Http1Request | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.19.19",
3
+ "version": "22.19.21",
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": "~6.21.0"
141
141
  },
142
142
  "peerDependencies": {},
143
- "typesPublisherContentHash": "d4b6708cebe51e35cb2a49a7977a1d13cce88e81ad8d260e2602e6a0dad4037b",
143
+ "typesPublisherContentHash": "8e6c9feae0854a50279bbba2bfb172f6753303bc233e7b0526dcb589b43e4c9e",
144
144
  "typeScriptVersion": "5.3"
145
145
  }