@types/node 24.0.1 → 24.0.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/README.md +1 -1
- node/fs/promises.d.ts +3 -2
- node/fs.d.ts +1 -1
- node/package.json +2 -2
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: Mon, 16 Jun 2025 08:40:15 GMT
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
13
13
|
|
14
14
|
# Credits
|
node/fs/promises.d.ts
CHANGED
@@ -29,6 +29,7 @@ declare module "fs/promises" {
|
|
29
29
|
OpenDirOptions,
|
30
30
|
OpenMode,
|
31
31
|
PathLike,
|
32
|
+
ReadPosition,
|
32
33
|
ReadStream,
|
33
34
|
ReadVResult,
|
34
35
|
RmDirOptions,
|
@@ -69,7 +70,7 @@ declare module "fs/promises" {
|
|
69
70
|
* @default `buffer.byteLength`
|
70
71
|
*/
|
71
72
|
length?: number | null;
|
72
|
-
position?:
|
73
|
+
position?: ReadPosition | null;
|
73
74
|
}
|
74
75
|
interface CreateReadStreamOptions extends Abortable {
|
75
76
|
encoding?: BufferEncoding | null | undefined;
|
@@ -229,7 +230,7 @@ declare module "fs/promises" {
|
|
229
230
|
buffer: T,
|
230
231
|
offset?: number | null,
|
231
232
|
length?: number | null,
|
232
|
-
position?:
|
233
|
+
position?: ReadPosition | null,
|
233
234
|
): Promise<FileReadResult<T>>;
|
234
235
|
read<T extends NodeJS.ArrayBufferView = Buffer>(
|
235
236
|
buffer: T,
|
node/fs.d.ts
CHANGED
node/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/node",
|
3
|
-
"version": "24.0.
|
3
|
+
"version": "24.0.2",
|
4
4
|
"description": "TypeScript definitions for node",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
6
6
|
"license": "MIT",
|
@@ -230,6 +230,6 @@
|
|
230
230
|
"undici-types": "~7.8.0"
|
231
231
|
},
|
232
232
|
"peerDependencies": {},
|
233
|
-
"typesPublisherContentHash": "
|
233
|
+
"typesPublisherContentHash": "eac1d5a6632a9e91296cc382c96c064b09bec57183f927267493e052bbc394e8",
|
234
234
|
"typeScriptVersion": "5.1"
|
235
235
|
}
|