@types/node 12.20.30 → 12.20.34
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 v12.20/README.md +2 -2
- node v12.20/dgram.d.ts +7 -7
- node v12.20/fs.d.ts +5 -5
- node v12.20/index.d.ts +0 -1
- node v12.20/package.json +2 -7
node v12.20/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/v12.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 22 Oct 2021 19:01:21 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Buffer`, `NodeJS`, `__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), [Zane Hannan AU](https://github.com/ZaneHannanAU), [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), [Zane Hannan AU](https://github.com/ZaneHannanAU), [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), and [ExE Boss](https://github.com/ExE-Boss).
|
node v12.20/dgram.d.ts
CHANGED
|
@@ -37,11 +37,11 @@ declare module 'dgram' {
|
|
|
37
37
|
class Socket extends EventEmitter {
|
|
38
38
|
addMembership(multicastAddress: string, multicastInterface?: string): void;
|
|
39
39
|
address(): AddressInfo;
|
|
40
|
-
bind(port?: number, address?: string, callback?: () => void):
|
|
41
|
-
bind(port?: number, callback?: () => void):
|
|
42
|
-
bind(callback?: () => void):
|
|
43
|
-
bind(options: BindOptions, callback?: () => void):
|
|
44
|
-
close(callback?: () => void):
|
|
40
|
+
bind(port?: number, address?: string, callback?: () => void): this;
|
|
41
|
+
bind(port?: number, callback?: () => void): this;
|
|
42
|
+
bind(callback?: () => void): this;
|
|
43
|
+
bind(options: BindOptions, callback?: () => void): this;
|
|
44
|
+
close(callback?: () => void): this;
|
|
45
45
|
connect(port: number, address?: string, callback?: () => void): void;
|
|
46
46
|
connect(port: number, callback: () => void): void;
|
|
47
47
|
disconnect(): void;
|
|
@@ -59,10 +59,10 @@ declare module 'dgram' {
|
|
|
59
59
|
setBroadcast(flag: boolean): void;
|
|
60
60
|
setMulticastInterface(multicastInterface: string): void;
|
|
61
61
|
setMulticastLoopback(flag: boolean): boolean;
|
|
62
|
-
setMulticastTTL(ttl: number):
|
|
62
|
+
setMulticastTTL(ttl: number): number;
|
|
63
63
|
setRecvBufferSize(size: number): void;
|
|
64
64
|
setSendBufferSize(size: number): void;
|
|
65
|
-
setTTL(ttl: number):
|
|
65
|
+
setTTL(ttl: number): number;
|
|
66
66
|
unref(): this;
|
|
67
67
|
|
|
68
68
|
/**
|
node v12.20/fs.d.ts
CHANGED
|
@@ -2008,13 +2008,13 @@ declare module 'fs' {
|
|
|
2008
2008
|
encoding?: BufferEncoding | undefined;
|
|
2009
2009
|
}
|
|
2010
2010
|
|
|
2011
|
-
function opendirSync(path:
|
|
2011
|
+
function opendirSync(path: PathLike, options?: OpenDirOptions): Dir;
|
|
2012
2012
|
|
|
2013
|
-
function opendir(path:
|
|
2014
|
-
function opendir(path:
|
|
2013
|
+
function opendir(path: PathLike, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void;
|
|
2014
|
+
function opendir(path: PathLike, options: OpenDirOptions, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void;
|
|
2015
2015
|
|
|
2016
2016
|
namespace opendir {
|
|
2017
|
-
function __promisify__(path:
|
|
2017
|
+
function __promisify__(path: PathLike, options?: OpenDirOptions): Promise<Dir>;
|
|
2018
2018
|
}
|
|
2019
2019
|
|
|
2020
2020
|
namespace promises {
|
|
@@ -2535,7 +2535,7 @@ declare module 'fs' {
|
|
|
2535
2535
|
*/
|
|
2536
2536
|
function readFile(path: PathLike | FileHandle, options?: { encoding?: string | null | undefined, flag?: string | number | undefined } | string | null): Promise<string | Buffer>;
|
|
2537
2537
|
|
|
2538
|
-
function opendir(path:
|
|
2538
|
+
function opendir(path: PathLike, options?: OpenDirOptions): Promise<Dir>;
|
|
2539
2539
|
}
|
|
2540
2540
|
|
|
2541
2541
|
interface BigIntStats extends StatsBase<bigint> {
|
node v12.20/index.d.ts
CHANGED
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
// Thanik Bhongbhibhat <https://github.com/bhongy>
|
|
33
33
|
// Marcin Kopacz <https://github.com/chyzwar>
|
|
34
34
|
// Trivikram Kamat <https://github.com/trivikr>
|
|
35
|
-
// Minh Son Nguyen <https://github.com/nguymin4>
|
|
36
35
|
// Junxiao Shi <https://github.com/yoursunny>
|
|
37
36
|
// Ilia Baryshnikov <https://github.com/qwelias>
|
|
38
37
|
// ExE Boss <https://github.com/ExE-Boss>
|
node v12.20/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "12.20.
|
|
3
|
+
"version": "12.20.34",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -165,11 +165,6 @@
|
|
|
165
165
|
"url": "https://github.com/trivikr",
|
|
166
166
|
"githubUsername": "trivikr"
|
|
167
167
|
},
|
|
168
|
-
{
|
|
169
|
-
"name": "Minh Son Nguyen",
|
|
170
|
-
"url": "https://github.com/nguymin4",
|
|
171
|
-
"githubUsername": "nguymin4"
|
|
172
|
-
},
|
|
173
168
|
{
|
|
174
169
|
"name": "Junxiao Shi",
|
|
175
170
|
"url": "https://github.com/yoursunny",
|
|
@@ -195,6 +190,6 @@
|
|
|
195
190
|
},
|
|
196
191
|
"scripts": {},
|
|
197
192
|
"dependencies": {},
|
|
198
|
-
"typesPublisherContentHash": "
|
|
193
|
+
"typesPublisherContentHash": "1dc16ae10ce6bc1df4095a92b878cf7efea485ad08b59cd18ceba5d3c1dab762",
|
|
199
194
|
"typeScriptVersion": "3.7"
|
|
200
195
|
}
|