@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.
Files changed (3) hide show
  1. node/README.md +1 -1
  2. node/package.json +3 -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: Thu, 12 Mar 2026 15:47:58 GMT
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.0",
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": "4b6968335abe1dc64bd6086fd546d6e9c50f986c37d49de8073f4ed1c900057c",
154
- "typeScriptVersion": "5.2"
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?: R): void;
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?: O): void;
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?: W): Promise<void>;
287
+ write(chunk: W): Promise<void>;
288
288
  }
289
289
  var WritableStreamDefaultWriter: {
290
290
  prototype: WritableStreamDefaultWriter;