@types/node 22.20.4 → 22.20.5

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.20/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: Sat, 19 Sep 2026 00:09:37 GMT
11
+ * Last updated: Thu, 01 Oct 2026 22:35:12 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.20.4",
3
+ "version": "22.20.5",
4
4
  "description": "TypeScript definitions for node",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -125,6 +125,6 @@
125
125
  "undici-types": "~6.21.0"
126
126
  },
127
127
  "peerDependencies": {},
128
- "typesPublisherContentHash": "05f54235bb066f4e83979e69cde16a4f509085e0d5636acc15e9f31672f72e74",
128
+ "typesPublisherContentHash": "a44ff8eac8cc9a07b8280cb743636e6f0ab4a13052fe48509773d2835b5f7225",
129
129
  "typeScriptVersion": "5.6"
130
130
  }
node v22.20/zlib.d.ts CHANGED
@@ -175,6 +175,12 @@ declare module "zlib" {
175
175
  * [Zstd parameters](https://nodejs.org/docs/latest-v22.x/api/zlib.html#zstd-constants).
176
176
  */
177
177
  params?: { [key: number]: number | boolean } | undefined;
178
+ /**
179
+ * Expected total size of the uncompressed input. Must match the input size
180
+ * when compression finishes. Only applicable to Zstd compressors.
181
+ * @since v22.15.0
182
+ */
183
+ pledgedSrcSize?: number | undefined;
178
184
  /**
179
185
  * Limits output size when using
180
186
  * [convenience methods](https://nodejs.org/docs/latest-v22.x/api/zlib.html#convenience-methods).