@types/node 22.20.3 → 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,8 +8,8 @@ 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: Tue, 15 Sep 2026 20:33:28 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
15
- These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [David Junger](https://github.com/touffy), [Mohsen Azimi](https://github.com/mohsen1), [Nikita Galkin](https://github.com/galkin), [Sebastian Silbermann](https://github.com/eps1lon), [Wilco Bakker](https://github.com/WilcoBakker), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), [Dmitry Semigradsky](https://github.com/Semigradsky), and [René](https://github.com/Renegade334).
15
+ These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [Alberto Schiabel](https://github.com/jkomyno), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [David Junger](https://github.com/touffy), [Mohsen Azimi](https://github.com/mohsen1), [Nikita Galkin](https://github.com/galkin), [Sebastian Silbermann](https://github.com/eps1lon), [Wilco Bakker](https://github.com/WilcoBakker), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), [wafuwafu13](https://github.com/wafuwafu13), [Matteo Collina](https://github.com/mcollina), [Dmitry Semigradsky](https://github.com/Semigradsky), and [René](https://github.com/Renegade334).
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "22.20.3",
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",
@@ -50,11 +50,6 @@
50
50
  "githubUsername": "WilcoBakker",
51
51
  "url": "https://github.com/WilcoBakker"
52
52
  },
53
- {
54
- "name": "Marcin Kopacz",
55
- "githubUsername": "chyzwar",
56
- "url": "https://github.com/chyzwar"
57
- },
58
53
  {
59
54
  "name": "Trivikram Kamat",
60
55
  "githubUsername": "trivikr",
@@ -65,11 +60,6 @@
65
60
  "githubUsername": "yoursunny",
66
61
  "url": "https://github.com/yoursunny"
67
62
  },
68
- {
69
- "name": "Ilia Baryshnikov",
70
- "githubUsername": "qwelias",
71
- "url": "https://github.com/qwelias"
72
- },
73
63
  {
74
64
  "name": "ExE Boss",
75
65
  "githubUsername": "ExE-Boss",
@@ -85,11 +75,6 @@
85
75
  "githubUsername": "addaleax",
86
76
  "url": "https://github.com/addaleax"
87
77
  },
88
- {
89
- "name": "Victor Perin",
90
- "githubUsername": "victorperin",
91
- "url": "https://github.com/victorperin"
92
- },
93
78
  {
94
79
  "name": "NodeJS Contributors",
95
80
  "githubUsername": "NodeJS",
@@ -140,6 +125,6 @@
140
125
  "undici-types": "~6.21.0"
141
126
  },
142
127
  "peerDependencies": {},
143
- "typesPublisherContentHash": "96f0a72c6119022091f6102f750c1a5d1b46ea12c877c15cd9614b20c51cdbc0",
128
+ "typesPublisherContentHash": "a44ff8eac8cc9a07b8280cb743636e6f0ab4a13052fe48509773d2835b5f7225",
144
129
  "typeScriptVersion": "5.6"
145
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).