@types/node 25.3.3 → 25.3.4

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.
Files changed (3) hide show
  1. node/README.md +1 -1
  2. node/package.json +2 -2
  3. node/zlib.d.ts +68 -4
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: Sat, 28 Feb 2026 20:39:10 GMT
11
+ * Last updated: Thu, 05 Mar 2026 23:32:33 GMT
12
12
  * Dependencies: [undici-types](https://npmjs.com/package/undici-types)
13
13
 
14
14
  # Credits
node/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "25.3.3",
3
+ "version": "25.3.4",
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.18.0"
151
151
  },
152
152
  "peerDependencies": {},
153
- "typesPublisherContentHash": "6c6cbe69ae05494de79d9c121e6d089d78ce104f31505de1c79c523dfcbeba42",
153
+ "typesPublisherContentHash": "0ea976f122d601d7b69efe9464b7baa0201319470ae3de5d3e363ceb8816bce9",
154
154
  "typeScriptVersion": "5.2"
155
155
  }
node/zlib.d.ts CHANGED
@@ -108,10 +108,14 @@ declare module "node:zlib" {
108
108
  */
109
109
  chunkSize?: number | undefined;
110
110
  windowBits?: number | undefined;
111
- level?: number | undefined; // compression only
112
- memLevel?: number | undefined; // compression only
113
- strategy?: number | undefined; // compression only
114
- dictionary?: NodeJS.ArrayBufferView | ArrayBuffer | undefined; // deflate/inflate only, empty dictionary by default
111
+ /** compression only */
112
+ level?: number | undefined;
113
+ /** compression only */
114
+ memLevel?: number | undefined;
115
+ /** compression only */
116
+ strategy?: number | undefined;
117
+ /** deflate/inflate only, empty dictionary by default */
118
+ dictionary?: NodeJS.ArrayBufferView | ArrayBuffer | undefined;
115
119
  /**
116
120
  * If `true`, returns an object with `buffer` and `engine`.
117
121
  */
@@ -201,24 +205,84 @@ declare module "node:zlib" {
201
205
  interface ZlibReset {
202
206
  reset(): void;
203
207
  }
208
+ /**
209
+ * @since v10.16.0
210
+ */
211
+ class BrotliCompress extends stream.Transform {
212
+ constructor(options?: BrotliOptions);
213
+ }
204
214
  interface BrotliCompress extends stream.Transform, Zlib {}
215
+ /**
216
+ * @since v10.16.0
217
+ */
218
+ class BrotliDecompress extends stream.Transform {
219
+ constructor(options?: BrotliOptions);
220
+ }
205
221
  interface BrotliDecompress extends stream.Transform, Zlib {}
222
+ /**
223
+ * @since v0.5.8
224
+ */
225
+ class Gzip extends stream.Transform {
226
+ constructor(options?: ZlibOptions);
227
+ }
206
228
  interface Gzip extends stream.Transform, Zlib {}
229
+ /**
230
+ * @since v0.5.8
231
+ */
232
+ class Gunzip extends stream.Transform {
233
+ constructor(options?: ZlibOptions);
234
+ }
207
235
  interface Gunzip extends stream.Transform, Zlib {}
236
+ /**
237
+ * @since v0.5.8
238
+ */
239
+ class Deflate extends stream.Transform {
240
+ constructor(options?: ZlibOptions);
241
+ }
208
242
  interface Deflate extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
243
+ /**
244
+ * @since v0.5.8
245
+ */
246
+ class Inflate extends stream.Transform {
247
+ constructor(options?: ZlibOptions);
248
+ }
209
249
  interface Inflate extends stream.Transform, Zlib, ZlibReset {}
250
+ /**
251
+ * @since v0.5.8
252
+ */
253
+ class DeflateRaw extends stream.Transform {
254
+ constructor(options?: ZlibOptions);
255
+ }
210
256
  interface DeflateRaw extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
257
+ /**
258
+ * @since v0.5.8
259
+ */
260
+ class InflateRaw extends stream.Transform {
261
+ constructor(options?: ZlibOptions);
262
+ }
211
263
  interface InflateRaw extends stream.Transform, Zlib, ZlibReset {}
264
+ /**
265
+ * @since v0.5.8
266
+ */
267
+ class Unzip extends stream.Transform {
268
+ constructor(options?: ZlibOptions);
269
+ }
212
270
  interface Unzip extends stream.Transform, Zlib {}
213
271
  /**
214
272
  * @since v22.15.0
215
273
  * @experimental
216
274
  */
275
+ class ZstdCompress extends stream.Transform {
276
+ constructor(options?: ZstdOptions);
277
+ }
217
278
  interface ZstdCompress extends stream.Transform, Zlib {}
218
279
  /**
219
280
  * @since v22.15.0
220
281
  * @experimental
221
282
  */
283
+ class ZstdDecompress extends stream.Transform {
284
+ constructor(options?: ZstdOptions);
285
+ }
222
286
  interface ZstdDecompress extends stream.Transform, Zlib {}
223
287
  /**
224
288
  * Computes a 32-bit [Cyclic Redundancy Check](https://en.wikipedia.org/wiki/Cyclic_redundancy_check) checksum of `data`.