@types/node 25.5.0 → 25.5.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/README.md +1 -1
- node/package.json +3 -3
- node/stream/web.d.ts +3 -3
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, 03 Apr 2026 09:18:15 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "25.5.
|
|
3
|
+
"version": "25.5.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.18.0"
|
|
151
151
|
},
|
|
152
152
|
"peerDependencies": {},
|
|
153
|
-
"typesPublisherContentHash": "
|
|
154
|
-
"typeScriptVersion": "5.
|
|
153
|
+
"typesPublisherContentHash": "0e2c6ee9c4b332942d0d2455da03501d53f57d65650a444fa38b8bf0c173091a",
|
|
154
|
+
"typeScriptVersion": "5.3"
|
|
155
155
|
}
|
node/stream/web.d.ts
CHANGED
|
@@ -206,7 +206,7 @@ declare module "node:stream/web" {
|
|
|
206
206
|
interface ReadableStreamDefaultController<R = any> {
|
|
207
207
|
readonly desiredSize: number | null;
|
|
208
208
|
close(): void;
|
|
209
|
-
enqueue(chunk
|
|
209
|
+
enqueue(chunk: R): void;
|
|
210
210
|
error(e?: any): void;
|
|
211
211
|
}
|
|
212
212
|
var ReadableStreamDefaultController: {
|
|
@@ -251,7 +251,7 @@ declare module "node:stream/web" {
|
|
|
251
251
|
};
|
|
252
252
|
interface TransformStreamDefaultController<O = any> {
|
|
253
253
|
readonly desiredSize: number | null;
|
|
254
|
-
enqueue(chunk
|
|
254
|
+
enqueue(chunk: O): void;
|
|
255
255
|
error(reason?: any): void;
|
|
256
256
|
terminate(): void;
|
|
257
257
|
}
|
|
@@ -284,7 +284,7 @@ declare module "node:stream/web" {
|
|
|
284
284
|
abort(reason?: any): Promise<void>;
|
|
285
285
|
close(): Promise<void>;
|
|
286
286
|
releaseLock(): void;
|
|
287
|
-
write(chunk
|
|
287
|
+
write(chunk: W): Promise<void>;
|
|
288
288
|
}
|
|
289
289
|
var WritableStreamDefaultWriter: {
|
|
290
290
|
prototype: WritableStreamDefaultWriter;
|