@types/node 24.12.0 → 24.12.1
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.12/README.md +1 -1
- node v24.12/package.json +3 -3
- node v24.12/stream/web.d.ts +5 -5
node v24.12/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, 03 Apr 2026 09:18:15 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node v24.12/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "24.12.
|
|
3
|
+
"version": "24.12.1",
|
|
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.16.0"
|
|
151
151
|
},
|
|
152
152
|
"peerDependencies": {},
|
|
153
|
-
"typesPublisherContentHash": "
|
|
154
|
-
"typeScriptVersion": "5.
|
|
153
|
+
"typesPublisherContentHash": "7472ab904498aaee0589ac049e4a6e5a7d4b6bc373782d93721f6d2623dceb9d",
|
|
154
|
+
"typeScriptVersion": "5.3"
|
|
155
155
|
}
|
node v24.12/stream/web.d.ts
CHANGED
|
@@ -105,7 +105,7 @@ declare module "stream/web" {
|
|
|
105
105
|
}
|
|
106
106
|
interface ReadableStreamReadDoneResult<T> {
|
|
107
107
|
done: true;
|
|
108
|
-
value
|
|
108
|
+
value: T | undefined;
|
|
109
109
|
}
|
|
110
110
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
111
111
|
interface ReadableByteStreamControllerCallback {
|
|
@@ -250,7 +250,7 @@ declare module "stream/web" {
|
|
|
250
250
|
interface ReadableStreamDefaultController<R = any> {
|
|
251
251
|
readonly desiredSize: number | null;
|
|
252
252
|
close(): void;
|
|
253
|
-
enqueue(chunk
|
|
253
|
+
enqueue(chunk: R): void;
|
|
254
254
|
error(e?: any): void;
|
|
255
255
|
}
|
|
256
256
|
const ReadableStreamDefaultController: {
|
|
@@ -279,7 +279,7 @@ declare module "stream/web" {
|
|
|
279
279
|
};
|
|
280
280
|
interface TransformStreamDefaultController<O = any> {
|
|
281
281
|
readonly desiredSize: number | null;
|
|
282
|
-
enqueue(chunk
|
|
282
|
+
enqueue(chunk: O): void;
|
|
283
283
|
error(reason?: any): void;
|
|
284
284
|
terminate(): void;
|
|
285
285
|
}
|
|
@@ -315,7 +315,7 @@ declare module "stream/web" {
|
|
|
315
315
|
abort(reason?: any): Promise<void>;
|
|
316
316
|
close(): Promise<void>;
|
|
317
317
|
releaseLock(): void;
|
|
318
|
-
write(chunk
|
|
318
|
+
write(chunk: W): Promise<void>;
|
|
319
319
|
}
|
|
320
320
|
const WritableStreamDefaultWriter: {
|
|
321
321
|
prototype: WritableStreamDefaultWriter;
|
|
@@ -339,7 +339,7 @@ declare module "stream/web" {
|
|
|
339
339
|
size?: QueuingStrategySize<T>;
|
|
340
340
|
}
|
|
341
341
|
interface QueuingStrategySize<T = any> {
|
|
342
|
-
(chunk
|
|
342
|
+
(chunk: T): number;
|
|
343
343
|
}
|
|
344
344
|
interface QueuingStrategyInit {
|
|
345
345
|
/**
|