@types/node 12.20.28 → 12.20.32
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 +1 -1
- node v12.20/dgram.d.ts +8 -8
- node v12.20/inspector.d.ts +8 -2
- node v12.20/package.json +2 -2
node v12.20/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/v12.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 13 Oct 2021 18:31:24 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
|
|
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;
|
|
@@ -58,11 +58,11 @@ declare module 'dgram' {
|
|
|
58
58
|
send(msg: string | Uint8Array, offset: number, length: number, callback?: (error: Error | null, bytes: number) => void): void;
|
|
59
59
|
setBroadcast(flag: boolean): void;
|
|
60
60
|
setMulticastInterface(multicastInterface: string): void;
|
|
61
|
-
setMulticastLoopback(flag: boolean):
|
|
62
|
-
setMulticastTTL(ttl: number):
|
|
61
|
+
setMulticastLoopback(flag: boolean): boolean;
|
|
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/inspector.d.ts
CHANGED
|
@@ -1910,11 +1910,17 @@ declare module 'inspector' {
|
|
|
1910
1910
|
|
|
1911
1911
|
/**
|
|
1912
1912
|
* Connects a session to the inspector back-end.
|
|
1913
|
-
* An exception will be thrown if there is already a connected session established either
|
|
1914
|
-
* through the API or by a front-end connected to the Inspector WebSocket port.
|
|
1915
1913
|
*/
|
|
1916
1914
|
connect(): void;
|
|
1917
1915
|
|
|
1916
|
+
/**
|
|
1917
|
+
* Connects a session to the main thread inspector back-end.
|
|
1918
|
+
* An exception will be thrown if this API was not called on a Worker
|
|
1919
|
+
* thread.
|
|
1920
|
+
* @since 12.11.0
|
|
1921
|
+
*/
|
|
1922
|
+
connectToMainThread(): void;
|
|
1923
|
+
|
|
1918
1924
|
/**
|
|
1919
1925
|
* Immediately close the session. All pending message callbacks will be called with an error.
|
|
1920
1926
|
* session.connect() will need to be called to be able to send messages again.
|
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.32",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -195,6 +195,6 @@
|
|
|
195
195
|
},
|
|
196
196
|
"scripts": {},
|
|
197
197
|
"dependencies": {},
|
|
198
|
-
"typesPublisherContentHash": "
|
|
198
|
+
"typesPublisherContentHash": "7bf12e51154f72bae7a4fb278bc59af94b604ea5b8229e29352d477a165a3a67",
|
|
199
199
|
"typeScriptVersion": "3.7"
|
|
200
200
|
}
|