@types/node 22.19.13 → 22.19.15
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 +1 -1
- node v22.19/http.d.ts +1 -1
- node v22.19/package.json +2 -2
- node v22.19/zlib.d.ts +68 -4
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:
|
|
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 v22.19/http.d.ts
CHANGED
|
@@ -928,7 +928,7 @@ declare module "http" {
|
|
|
928
928
|
* been transmitted are equal or not.
|
|
929
929
|
*
|
|
930
930
|
* Attempting to set a header field name or value that contains invalid characters
|
|
931
|
-
* will result in a
|
|
931
|
+
* will result in a `Error` being thrown.
|
|
932
932
|
* @since v0.1.30
|
|
933
933
|
*/
|
|
934
934
|
writeHead(
|
node v22.19/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "22.19.
|
|
3
|
+
"version": "22.19.15",
|
|
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": "
|
|
143
|
+
"typesPublisherContentHash": "e4f9ffdeab50c69a72c98fc00b007f9def62394c519695bf5f543d4d49d0a1c3",
|
|
144
144
|
"typeScriptVersion": "5.2"
|
|
145
145
|
}
|
node v22.19/zlib.d.ts
CHANGED
|
@@ -108,10 +108,14 @@ declare module "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
|
*/
|
|
@@ -203,24 +207,84 @@ declare module "zlib" {
|
|
|
203
207
|
interface ZlibReset {
|
|
204
208
|
reset(): void;
|
|
205
209
|
}
|
|
210
|
+
/**
|
|
211
|
+
* @since v10.16.0
|
|
212
|
+
*/
|
|
213
|
+
class BrotliCompress extends stream.Transform {
|
|
214
|
+
constructor(options?: BrotliOptions);
|
|
215
|
+
}
|
|
206
216
|
interface BrotliCompress extends stream.Transform, Zlib {}
|
|
217
|
+
/**
|
|
218
|
+
* @since v10.16.0
|
|
219
|
+
*/
|
|
220
|
+
class BrotliDecompress extends stream.Transform {
|
|
221
|
+
constructor(options?: BrotliOptions);
|
|
222
|
+
}
|
|
207
223
|
interface BrotliDecompress extends stream.Transform, Zlib {}
|
|
224
|
+
/**
|
|
225
|
+
* @since v0.5.8
|
|
226
|
+
*/
|
|
227
|
+
class Gzip extends stream.Transform {
|
|
228
|
+
constructor(options?: ZlibOptions);
|
|
229
|
+
}
|
|
208
230
|
interface Gzip extends stream.Transform, Zlib {}
|
|
231
|
+
/**
|
|
232
|
+
* @since v0.5.8
|
|
233
|
+
*/
|
|
234
|
+
class Gunzip extends stream.Transform {
|
|
235
|
+
constructor(options?: ZlibOptions);
|
|
236
|
+
}
|
|
209
237
|
interface Gunzip extends stream.Transform, Zlib {}
|
|
238
|
+
/**
|
|
239
|
+
* @since v0.5.8
|
|
240
|
+
*/
|
|
241
|
+
class Deflate extends stream.Transform {
|
|
242
|
+
constructor(options?: ZlibOptions);
|
|
243
|
+
}
|
|
210
244
|
interface Deflate extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
|
|
245
|
+
/**
|
|
246
|
+
* @since v0.5.8
|
|
247
|
+
*/
|
|
248
|
+
class Inflate extends stream.Transform {
|
|
249
|
+
constructor(options?: ZlibOptions);
|
|
250
|
+
}
|
|
211
251
|
interface Inflate extends stream.Transform, Zlib, ZlibReset {}
|
|
252
|
+
/**
|
|
253
|
+
* @since v0.5.8
|
|
254
|
+
*/
|
|
255
|
+
class DeflateRaw extends stream.Transform {
|
|
256
|
+
constructor(options?: ZlibOptions);
|
|
257
|
+
}
|
|
212
258
|
interface DeflateRaw extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
|
|
259
|
+
/**
|
|
260
|
+
* @since v0.5.8
|
|
261
|
+
*/
|
|
262
|
+
class InflateRaw extends stream.Transform {
|
|
263
|
+
constructor(options?: ZlibOptions);
|
|
264
|
+
}
|
|
213
265
|
interface InflateRaw extends stream.Transform, Zlib, ZlibReset {}
|
|
266
|
+
/**
|
|
267
|
+
* @since v0.5.8
|
|
268
|
+
*/
|
|
269
|
+
class Unzip extends stream.Transform {
|
|
270
|
+
constructor(options?: ZlibOptions);
|
|
271
|
+
}
|
|
214
272
|
interface Unzip extends stream.Transform, Zlib {}
|
|
215
273
|
/**
|
|
216
274
|
* @since v22.15.0
|
|
217
275
|
* @experimental
|
|
218
276
|
*/
|
|
277
|
+
class ZstdCompress extends stream.Transform {
|
|
278
|
+
constructor(options?: ZstdOptions);
|
|
279
|
+
}
|
|
219
280
|
interface ZstdCompress extends stream.Transform, Zlib {}
|
|
220
281
|
/**
|
|
221
282
|
* @since v22.15.0
|
|
222
283
|
* @experimental
|
|
223
284
|
*/
|
|
285
|
+
class ZstdDecompress extends stream.Transform {
|
|
286
|
+
constructor(options?: ZstdOptions);
|
|
287
|
+
}
|
|
224
288
|
interface ZstdDecompress extends stream.Transform, Zlib {}
|
|
225
289
|
/**
|
|
226
290
|
* Computes a 32-bit [Cyclic Redundancy Check](https://en.wikipedia.org/wiki/Cyclic_redundancy_check) checksum of `data`.
|