@types/node 24.19.0 → 24.19.2
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 v24.19/README.md +1 -1
- node v24.19/package.json +2 -2
- node v24.19/util.d.ts +7 -4
- node v24.19/zlib.d.ts +6 -0
node v24.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/v24.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Fri,
|
|
11
|
+
* Last updated: Fri, 09 Oct 2026 18:42:20 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node v24.19/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "24.19.
|
|
3
|
+
"version": "24.19.2",
|
|
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": ">=7.24.0 <7.24.7"
|
|
136
136
|
},
|
|
137
137
|
"peerDependencies": {},
|
|
138
|
-
"typesPublisherContentHash": "
|
|
138
|
+
"typesPublisherContentHash": "fbbbfd0b983273dbfc30bcb497b88333fe11caabe5b12057ad838da74e578ca0",
|
|
139
139
|
"typeScriptVersion": "5.6"
|
|
140
140
|
}
|
node v24.19/util.d.ts
CHANGED
|
@@ -1292,11 +1292,14 @@ declare module "util" {
|
|
|
1292
1292
|
*
|
|
1293
1293
|
* // 3-digit hex color (shorthand)
|
|
1294
1294
|
* console.log(styleText('#f00', 'Red text'));
|
|
1295
|
+
*
|
|
1296
|
+
* // Hex color combined with other modifiers
|
|
1297
|
+
* console.log(styleText(['#00f', 'bold'], 'Bold blue text'));
|
|
1295
1298
|
* ```
|
|
1296
1299
|
*
|
|
1297
1300
|
* The full list of formats can be found in [modifiers](https://nodejs.org/docs/latest-v24.x/api/util.html#modifiers).
|
|
1298
|
-
* @param format A text format
|
|
1299
|
-
* or
|
|
1301
|
+
* @param format A text format defined in `util.inspect.colors`, a hex color in `#RGB` or `#RRGGBB` form,
|
|
1302
|
+
* or an Array of text formats and/or hex colors.
|
|
1300
1303
|
* @param text The text to to be formatted.
|
|
1301
1304
|
* @since v20.12.0
|
|
1302
1305
|
*/
|
|
@@ -1305,8 +1308,8 @@ declare module "util" {
|
|
|
1305
1308
|
| ForegroundColors
|
|
1306
1309
|
| BackgroundColors
|
|
1307
1310
|
| Modifiers
|
|
1308
|
-
|
|
|
1309
|
-
| `#${string}
|
|
1311
|
+
| `#${string}`
|
|
1312
|
+
| Array<ForegroundColors | BackgroundColors | Modifiers | `#${string}`>,
|
|
1310
1313
|
text: string,
|
|
1311
1314
|
options?: StyleTextOptions,
|
|
1312
1315
|
): string;
|
node v24.19/zlib.d.ts
CHANGED
|
@@ -187,6 +187,12 @@ declare module "zlib" {
|
|
|
187
187
|
* [Zstd parameters](https://nodejs.org/docs/latest-v24.x/api/zlib.html#zstd-constants).
|
|
188
188
|
*/
|
|
189
189
|
params?: { [key: number]: number | boolean } | undefined;
|
|
190
|
+
/**
|
|
191
|
+
* Expected total size of the uncompressed input. Must match the input size
|
|
192
|
+
* when compression finishes. Only applicable to Zstd compressors.
|
|
193
|
+
* @since v22.15.0
|
|
194
|
+
*/
|
|
195
|
+
pledgedSrcSize?: number | undefined;
|
|
190
196
|
/**
|
|
191
197
|
* Limits output size when using
|
|
192
198
|
* [convenience methods](https://nodejs.org/docs/latest-v24.x/api/zlib.html#convenience-methods).
|