@types/node 16.18.59 → 16.18.61
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 v16.18/README.md +1 -1
- node v16.18/net.d.ts +6 -0
- node v16.18/package.json +2 -2
- node v16.18/ts4.8/net.d.ts +6 -0
node v16.18/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for node (https://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v16.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 07 Nov 2023 20:08:00 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
node v16.18/net.d.ts
CHANGED
|
@@ -83,6 +83,12 @@ declare module "net" {
|
|
|
83
83
|
*/
|
|
84
84
|
class Socket extends stream.Duplex {
|
|
85
85
|
constructor(options?: SocketConstructorOpts);
|
|
86
|
+
/**
|
|
87
|
+
* Destroys the socket after all data is written. If the `finish` event was already emitted the socket is destroyed immediately.
|
|
88
|
+
* If the socket is still writable it implicitly calls `socket.end()`.
|
|
89
|
+
* @since v0.3.4
|
|
90
|
+
*/
|
|
91
|
+
destroySoon(): void;
|
|
86
92
|
/**
|
|
87
93
|
* Sends data on the socket. The second parameter specifies the encoding in the
|
|
88
94
|
* case of a string. It defaults to UTF8 encoding.
|
node v16.18/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "16.18.
|
|
3
|
+
"version": "16.18.61",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
},
|
|
223
223
|
"scripts": {},
|
|
224
224
|
"dependencies": {},
|
|
225
|
-
"typesPublisherContentHash": "
|
|
225
|
+
"typesPublisherContentHash": "a17b63fba200f7294502915c8fd86dd6d285fc4fdc26c65a1410595c1f086e91",
|
|
226
226
|
"typeScriptVersion": "4.5",
|
|
227
227
|
"nonNpm": true
|
|
228
228
|
}
|
node v16.18/ts4.8/net.d.ts
CHANGED
|
@@ -83,6 +83,12 @@ declare module "net" {
|
|
|
83
83
|
*/
|
|
84
84
|
class Socket extends stream.Duplex {
|
|
85
85
|
constructor(options?: SocketConstructorOpts);
|
|
86
|
+
/**
|
|
87
|
+
* Destroys the socket after all data is written. If the `finish` event was already emitted the socket is destroyed immediately.
|
|
88
|
+
* If the socket is still writable it implicitly calls `socket.end()`.
|
|
89
|
+
* @since v0.3.4
|
|
90
|
+
*/
|
|
91
|
+
destroySoon(): void;
|
|
86
92
|
/**
|
|
87
93
|
* Sends data on the socket. The second parameter specifies the encoding in the
|
|
88
94
|
* case of a string. It defaults to UTF8 encoding.
|