@types/node 25.3.3 → 25.3.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/README.md +1 -1
- node/http.d.ts +1 -1
- node/package.json +2 -2
- 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:
|
|
11
|
+
* Last updated: Fri, 06 Mar 2026 00:57:44 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node/http.d.ts
CHANGED
|
@@ -954,7 +954,7 @@ declare module "node:http" {
|
|
|
954
954
|
* been transmitted are equal or not.
|
|
955
955
|
*
|
|
956
956
|
* Attempting to set a header field name or value that contains invalid characters
|
|
957
|
-
* will result in a
|
|
957
|
+
* will result in a `Error` being thrown.
|
|
958
958
|
* @since v0.1.30
|
|
959
959
|
*/
|
|
960
960
|
writeHead(
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "25.3.
|
|
3
|
+
"version": "25.3.5",
|
|
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": "
|
|
153
|
+
"typesPublisherContentHash": "22c44355b1dc72e34145206d9f3ca29694595f79753d2c0c29fb61d5f78f9401",
|
|
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
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
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`.
|