@types/node 16.4.10 → 16.4.11
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 +2 -2
- node/fs.d.ts +5 -5
- node/index.d.ts +1 -0
- node/package.json +7 -2
node/README.md
CHANGED
|
@@ -8,9 +8,9 @@ This package contains type definitions for Node.js (http://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: Wed, 04 Aug 2021 09:01:24 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Hoàng Văn Khải](https://github.com/KSXGitHub), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Minh Son Nguyen](https://github.com/nguymin4), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Jason Kwok](https://github.com/JasonHK), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys),
|
|
16
|
+
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Hoàng Văn Khải](https://github.com/KSXGitHub), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Minh Son Nguyen](https://github.com/nguymin4), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Jason Kwok](https://github.com/JasonHK), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), and [Linus Unnebäck](https://github.com/LinusU).
|
node/fs.d.ts
CHANGED
|
@@ -2354,7 +2354,7 @@ declare module 'fs' {
|
|
|
2354
2354
|
encoding: BufferEncoding;
|
|
2355
2355
|
flag?: string | undefined;
|
|
2356
2356
|
} & Abortable)
|
|
2357
|
-
|
|
|
2357
|
+
| BufferEncoding,
|
|
2358
2358
|
callback: (err: NodeJS.ErrnoException | null, data: string) => void
|
|
2359
2359
|
): void;
|
|
2360
2360
|
/**
|
|
@@ -2370,7 +2370,7 @@ declare module 'fs' {
|
|
|
2370
2370
|
| (ObjectEncodingOptions & {
|
|
2371
2371
|
flag?: string | undefined;
|
|
2372
2372
|
} & Abortable)
|
|
2373
|
-
|
|
|
2373
|
+
| BufferEncoding
|
|
2374
2374
|
| undefined
|
|
2375
2375
|
| null,
|
|
2376
2376
|
callback: (err: NodeJS.ErrnoException | null, data: string | Buffer) => void
|
|
@@ -2411,7 +2411,7 @@ declare module 'fs' {
|
|
|
2411
2411
|
encoding: BufferEncoding;
|
|
2412
2412
|
flag?: string | undefined;
|
|
2413
2413
|
}
|
|
2414
|
-
|
|
|
2414
|
+
| BufferEncoding
|
|
2415
2415
|
): Promise<string>;
|
|
2416
2416
|
/**
|
|
2417
2417
|
* Asynchronously reads the entire contents of a file.
|
|
@@ -2427,7 +2427,7 @@ declare module 'fs' {
|
|
|
2427
2427
|
| (ObjectEncodingOptions & {
|
|
2428
2428
|
flag?: string | undefined;
|
|
2429
2429
|
})
|
|
2430
|
-
|
|
|
2430
|
+
| BufferEncoding
|
|
2431
2431
|
| null
|
|
2432
2432
|
): Promise<string | Buffer>;
|
|
2433
2433
|
}
|
|
@@ -2500,7 +2500,7 @@ declare module 'fs' {
|
|
|
2500
2500
|
mode?: Mode | undefined;
|
|
2501
2501
|
flag?: string | undefined;
|
|
2502
2502
|
})
|
|
2503
|
-
|
|
|
2503
|
+
| BufferEncoding
|
|
2504
2504
|
| null;
|
|
2505
2505
|
/**
|
|
2506
2506
|
* When `file` is a filename, asynchronously writes data to the file, replacing the
|
node/index.d.ts
CHANGED
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
// Victor Perin <https://github.com/victorperin>
|
|
43
43
|
// Yongsheng Zhang <https://github.com/ZYSzys>
|
|
44
44
|
// NodeJS Contributors <https://github.com/NodeJS>
|
|
45
|
+
// Linus Unnebäck <https://github.com/LinusU>
|
|
45
46
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
46
47
|
|
|
47
48
|
/**
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "16.4.
|
|
3
|
+
"version": "16.4.11",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -214,6 +214,11 @@
|
|
|
214
214
|
"name": "NodeJS Contributors",
|
|
215
215
|
"url": "https://github.com/NodeJS",
|
|
216
216
|
"githubUsername": "NodeJS"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "Linus Unnebäck",
|
|
220
|
+
"url": "https://github.com/LinusU",
|
|
221
|
+
"githubUsername": "LinusU"
|
|
217
222
|
}
|
|
218
223
|
],
|
|
219
224
|
"main": "",
|
|
@@ -232,6 +237,6 @@
|
|
|
232
237
|
},
|
|
233
238
|
"scripts": {},
|
|
234
239
|
"dependencies": {},
|
|
235
|
-
"typesPublisherContentHash": "
|
|
240
|
+
"typesPublisherContentHash": "893f047790f417f590b7efe0927ac74b4ba3c14be787d1ec6ba9476effb7c83c",
|
|
236
241
|
"typeScriptVersion": "3.6"
|
|
237
242
|
}
|