@types/node 14.18.12 → 14.18.13
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.18/README.md +1 -1
- node v14.18/net.d.ts +7 -0
- node v14.18/package.json +3 -3
node v14.18/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/v14.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 14 Apr 2022 06:31:29 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
node v14.18/net.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ declare module 'net' {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts;
|
|
59
|
+
type SocketReadyState = 'opening' | 'open' | 'readOnly' | 'writeOnly' | 'closed';
|
|
59
60
|
|
|
60
61
|
class Socket extends stream.Duplex {
|
|
61
62
|
constructor(options?: SocketConstructorOpts);
|
|
@@ -87,6 +88,12 @@ declare module 'net' {
|
|
|
87
88
|
readonly destroyed: boolean;
|
|
88
89
|
readonly localAddress: string;
|
|
89
90
|
readonly localPort: number;
|
|
91
|
+
/**
|
|
92
|
+
* This property represents the state of the connection as a string.
|
|
93
|
+
* @see {https://nodejs.org/api/net.html#socketreadystate}
|
|
94
|
+
* @since v0.5.0
|
|
95
|
+
*/
|
|
96
|
+
readonly readyState: SocketReadyState;
|
|
90
97
|
readonly remoteAddress?: string | undefined;
|
|
91
98
|
readonly remoteFamily?: string | undefined;
|
|
92
99
|
readonly remotePort?: number | undefined;
|
node v14.18/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.18.
|
|
3
|
+
"version": "14.18.13",
|
|
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": "
|
|
224
|
-
"typeScriptVersion": "3.
|
|
223
|
+
"typesPublisherContentHash": "b276806c9b266528afe22b54243eb4b62d3e6b7324bfdd8b136425edd319cf07",
|
|
224
|
+
"typeScriptVersion": "3.9"
|
|
225
225
|
}
|