@types/node 16.11.48 → 16.11.49
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 v16.11/README.md +1 -1
- node v16.11/fs/promises.d.ts +18 -15
- node v16.11/package.json +2 -2
node v16.11/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v16.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 15 Aug 2022 18:32:43 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
node v16.11/fs/promises.d.ts
CHANGED
|
@@ -12,27 +12,28 @@ declare module 'fs/promises' {
|
|
|
12
12
|
import { Abortable } from 'node:events';
|
|
13
13
|
import { Stream } from 'node:stream';
|
|
14
14
|
import {
|
|
15
|
-
Stats,
|
|
16
15
|
BigIntStats,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
PathLike,
|
|
21
|
-
RmDirOptions,
|
|
22
|
-
RmOptions,
|
|
23
|
-
MakeDirectoryOptions,
|
|
24
|
-
Dirent,
|
|
25
|
-
OpenDirOptions,
|
|
16
|
+
BufferEncodingOption,
|
|
17
|
+
constants as fsConstants,
|
|
18
|
+
CopyOptions,
|
|
26
19
|
Dir,
|
|
20
|
+
Dirent,
|
|
21
|
+
MakeDirectoryOptions,
|
|
22
|
+
Mode,
|
|
27
23
|
ObjectEncodingOptions,
|
|
28
|
-
|
|
24
|
+
OpenDirOptions,
|
|
29
25
|
OpenMode,
|
|
30
|
-
|
|
31
|
-
WatchOptions,
|
|
32
|
-
WatchEventType,
|
|
33
|
-
CopyOptions,
|
|
26
|
+
PathLike,
|
|
34
27
|
ReadStream,
|
|
28
|
+
ReadVResult,
|
|
29
|
+
RmDirOptions,
|
|
30
|
+
RmOptions,
|
|
31
|
+
StatOptions,
|
|
32
|
+
Stats,
|
|
33
|
+
WatchEventType,
|
|
34
|
+
WatchOptions,
|
|
35
35
|
WriteStream,
|
|
36
|
+
WriteVResult,
|
|
36
37
|
} from 'node:fs';
|
|
37
38
|
interface FileChangeInfo<T extends string | Buffer> {
|
|
38
39
|
eventType: WatchEventType;
|
|
@@ -405,6 +406,8 @@ declare module 'fs/promises' {
|
|
|
405
406
|
*/
|
|
406
407
|
close(): Promise<void>;
|
|
407
408
|
}
|
|
409
|
+
|
|
410
|
+
const constants: typeof fsConstants;
|
|
408
411
|
/**
|
|
409
412
|
* Tests a user's permissions for the file or directory specified by `path`.
|
|
410
413
|
* The `mode` argument is an optional integer that specifies the accessibility
|
node v16.11/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "16.11.
|
|
3
|
+
"version": "16.11.49",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -220,6 +220,6 @@
|
|
|
220
220
|
},
|
|
221
221
|
"scripts": {},
|
|
222
222
|
"dependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
223
|
+
"typesPublisherContentHash": "9e2c5113a037a3eb91f3b939df456a3b6665684773f9f85c20a42df8ae7d85b8",
|
|
224
224
|
"typeScriptVersion": "4.0"
|
|
225
225
|
}
|