@types/node 14.17.25 → 14.17.29
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 v14.17/README.md +2 -2
- node v14.17/child_process.d.ts +1 -0
- node v14.17/fs/promises.d.ts +1 -1
- node v14.17/fs.d.ts +4 -4
- node v14.17/index.d.ts +0 -1
- node v14.17/package.json +2 -7
- node v14.17/util.d.ts +7 -1
node v14.17/README.md
CHANGED
|
@@ -8,9 +8,9 @@ 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/v14.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 22 Oct 2021 19:01:20 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
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), [
|
|
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), [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), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), and [Bond](https://github.com/bondz).
|
node v14.17/child_process.d.ts
CHANGED
node v14.17/fs/promises.d.ts
CHANGED
|
@@ -561,5 +561,5 @@ declare module 'fs/promises' {
|
|
|
561
561
|
*/
|
|
562
562
|
function readFile(path: PathLike | FileHandle, options?: BaseEncodingOptions & { flag?: OpenMode | undefined } | BufferEncoding | null): Promise<string | Buffer>;
|
|
563
563
|
|
|
564
|
-
function opendir(path:
|
|
564
|
+
function opendir(path: PathLike, options?: OpenDirOptions): Promise<Dir>;
|
|
565
565
|
}
|
node v14.17/fs.d.ts
CHANGED
|
@@ -2241,13 +2241,13 @@ declare module 'fs' {
|
|
|
2241
2241
|
bufferSize?: number | undefined;
|
|
2242
2242
|
}
|
|
2243
2243
|
|
|
2244
|
-
export function opendirSync(path:
|
|
2244
|
+
export function opendirSync(path: PathLike, options?: OpenDirOptions): Dir;
|
|
2245
2245
|
|
|
2246
|
-
export function opendir(path:
|
|
2247
|
-
export function opendir(path:
|
|
2246
|
+
export function opendir(path: PathLike, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void;
|
|
2247
|
+
export function opendir(path: PathLike, options: OpenDirOptions, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void;
|
|
2248
2248
|
|
|
2249
2249
|
export namespace opendir {
|
|
2250
|
-
function __promisify__(path:
|
|
2250
|
+
function __promisify__(path: PathLike, options?: OpenDirOptions): Promise<Dir>;
|
|
2251
2251
|
}
|
|
2252
2252
|
|
|
2253
2253
|
export interface BigIntStats extends StatsBase<bigint> {
|
node v14.17/index.d.ts
CHANGED
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
// Thanik Bhongbhibhat <https://github.com/bhongy>
|
|
32
32
|
// Marcin Kopacz <https://github.com/chyzwar>
|
|
33
33
|
// Trivikram Kamat <https://github.com/trivikr>
|
|
34
|
-
// Minh Son Nguyen <https://github.com/nguymin4>
|
|
35
34
|
// Junxiao Shi <https://github.com/yoursunny>
|
|
36
35
|
// Ilia Baryshnikov <https://github.com/qwelias>
|
|
37
36
|
// ExE Boss <https://github.com/ExE-Boss>
|
node v14.17/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.17.
|
|
3
|
+
"version": "14.17.29",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -160,11 +160,6 @@
|
|
|
160
160
|
"url": "https://github.com/trivikr",
|
|
161
161
|
"githubUsername": "trivikr"
|
|
162
162
|
},
|
|
163
|
-
{
|
|
164
|
-
"name": "Minh Son Nguyen",
|
|
165
|
-
"url": "https://github.com/nguymin4",
|
|
166
|
-
"githubUsername": "nguymin4"
|
|
167
|
-
},
|
|
168
163
|
{
|
|
169
164
|
"name": "Junxiao Shi",
|
|
170
165
|
"url": "https://github.com/yoursunny",
|
|
@@ -220,6 +215,6 @@
|
|
|
220
215
|
},
|
|
221
216
|
"scripts": {},
|
|
222
217
|
"dependencies": {},
|
|
223
|
-
"typesPublisherContentHash": "
|
|
218
|
+
"typesPublisherContentHash": "8e3443de8d935d86d44058de34732d33522229b79c74b6c0db6b9cbc5afc0a94",
|
|
224
219
|
"typeScriptVersion": "3.7"
|
|
225
220
|
}
|
node v14.17/util.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ declare module 'util' {
|
|
|
7
7
|
}
|
|
8
8
|
function format(format?: any, ...param: any[]): string;
|
|
9
9
|
function formatWithOptions(inspectOptions: InspectOptions, format?: any, ...param: any[]): string;
|
|
10
|
+
function getSystemErrorName(err: number): string;
|
|
10
11
|
/** @deprecated since v0.11.3 - use a third party module instead. */
|
|
11
12
|
function log(string: string): void;
|
|
12
13
|
function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string;
|
|
@@ -32,7 +33,12 @@ declare module 'util' {
|
|
|
32
33
|
/** @deprecated since v4.0.0 - use `util.types.isNativeError()` instead. */
|
|
33
34
|
function isError(object: any): object is Error;
|
|
34
35
|
function inherits(constructor: any, superConstructor: any): void;
|
|
35
|
-
|
|
36
|
+
type DebugLoggerFunction = (msg: string, ...param: any[]) => void;
|
|
37
|
+
interface DebugLogger extends DebugLoggerFunction {
|
|
38
|
+
enabled: boolean;
|
|
39
|
+
}
|
|
40
|
+
function debuglog(key: string, callback?: (fn: DebugLoggerFunction) => void): DebugLogger;
|
|
41
|
+
const debug: typeof debuglog;
|
|
36
42
|
/** @deprecated since v4.0.0 - use `typeof value === 'boolean'` instead. */
|
|
37
43
|
function isBoolean(object: any): object is boolean;
|
|
38
44
|
/** @deprecated since v4.0.0 - use `Buffer.isBuffer()` instead. */
|