@types/node 20.19.35 → 20.19.36
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 v20.19/README.md +1 -1
- node v20.19/package.json +2 -2
- node v20.19/zlib.d.ts +62 -4
node v20.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/v20.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Thu,
|
|
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 v20.19/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "20.19.
|
|
3
|
+
"version": "20.19.36",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -135,6 +135,6 @@
|
|
|
135
135
|
"undici-types": "~6.21.0"
|
|
136
136
|
},
|
|
137
137
|
"peerDependencies": {},
|
|
138
|
-
"typesPublisherContentHash": "
|
|
138
|
+
"typesPublisherContentHash": "78a26d0eff3f4608e09327e9369674df958a1b23701abc06ead38a1a2e1b21e8",
|
|
139
139
|
"typeScriptVersion": "5.2"
|
|
140
140
|
}
|
node v20.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
|
*/
|
|
@@ -164,14 +168,68 @@ declare module "zlib" {
|
|
|
164
168
|
interface ZlibReset {
|
|
165
169
|
reset(): void;
|
|
166
170
|
}
|
|
171
|
+
/**
|
|
172
|
+
* @since v10.16.0
|
|
173
|
+
*/
|
|
174
|
+
class BrotliCompress extends stream.Transform {
|
|
175
|
+
constructor(options?: BrotliOptions);
|
|
176
|
+
}
|
|
167
177
|
interface BrotliCompress extends stream.Transform, Zlib {}
|
|
178
|
+
/**
|
|
179
|
+
* @since v10.16.0
|
|
180
|
+
*/
|
|
181
|
+
class BrotliDecompress extends stream.Transform {
|
|
182
|
+
constructor(options?: BrotliOptions);
|
|
183
|
+
}
|
|
168
184
|
interface BrotliDecompress extends stream.Transform, Zlib {}
|
|
185
|
+
/**
|
|
186
|
+
* @since v0.5.8
|
|
187
|
+
*/
|
|
188
|
+
class Gzip extends stream.Transform {
|
|
189
|
+
constructor(options?: ZlibOptions);
|
|
190
|
+
}
|
|
169
191
|
interface Gzip extends stream.Transform, Zlib {}
|
|
192
|
+
/**
|
|
193
|
+
* @since v0.5.8
|
|
194
|
+
*/
|
|
195
|
+
class Gunzip extends stream.Transform {
|
|
196
|
+
constructor(options?: ZlibOptions);
|
|
197
|
+
}
|
|
170
198
|
interface Gunzip extends stream.Transform, Zlib {}
|
|
199
|
+
/**
|
|
200
|
+
* @since v0.5.8
|
|
201
|
+
*/
|
|
202
|
+
class Deflate extends stream.Transform {
|
|
203
|
+
constructor(options?: ZlibOptions);
|
|
204
|
+
}
|
|
171
205
|
interface Deflate extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
|
|
206
|
+
/**
|
|
207
|
+
* @since v0.5.8
|
|
208
|
+
*/
|
|
209
|
+
class Inflate extends stream.Transform {
|
|
210
|
+
constructor(options?: ZlibOptions);
|
|
211
|
+
}
|
|
172
212
|
interface Inflate extends stream.Transform, Zlib, ZlibReset {}
|
|
213
|
+
/**
|
|
214
|
+
* @since v0.5.8
|
|
215
|
+
*/
|
|
216
|
+
class DeflateRaw extends stream.Transform {
|
|
217
|
+
constructor(options?: ZlibOptions);
|
|
218
|
+
}
|
|
173
219
|
interface DeflateRaw extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
|
|
220
|
+
/**
|
|
221
|
+
* @since v0.5.8
|
|
222
|
+
*/
|
|
223
|
+
class InflateRaw extends stream.Transform {
|
|
224
|
+
constructor(options?: ZlibOptions);
|
|
225
|
+
}
|
|
174
226
|
interface InflateRaw extends stream.Transform, Zlib, ZlibReset {}
|
|
227
|
+
/**
|
|
228
|
+
* @since v0.5.8
|
|
229
|
+
*/
|
|
230
|
+
class Unzip extends stream.Transform {
|
|
231
|
+
constructor(options?: ZlibOptions);
|
|
232
|
+
}
|
|
175
233
|
interface Unzip extends stream.Transform, Zlib {}
|
|
176
234
|
/**
|
|
177
235
|
* Computes a 32-bit [Cyclic Redundancy Check](https://en.wikipedia.org/wiki/Cyclic_redundancy_check) checksum of `data`.
|