@types/node 18.18.7 → 18.18.9
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 v18.18/README.md +1 -1
- node v18.18/net.d.ts +6 -0
- node v18.18/package.json +2 -2
- node v18.18/ts4.8/net.d.ts +6 -0
node v18.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/v18.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Tue, 07 Nov 2023 20:08:00 GMT
|
|
12
12
|
* Dependencies: [undici-types](https://npmjs.com/package/undici-types)
|
|
13
13
|
|
|
14
14
|
# Credits
|
node v18.18/net.d.ts
CHANGED
|
@@ -91,6 +91,12 @@ declare module "net" {
|
|
|
91
91
|
*/
|
|
92
92
|
class Socket extends stream.Duplex {
|
|
93
93
|
constructor(options?: SocketConstructorOpts);
|
|
94
|
+
/**
|
|
95
|
+
* Destroys the socket after all data is written. If the `finish` event was already emitted the socket is destroyed immediately.
|
|
96
|
+
* If the socket is still writable it implicitly calls `socket.end()`.
|
|
97
|
+
* @since v0.3.4
|
|
98
|
+
*/
|
|
99
|
+
destroySoon(): void;
|
|
94
100
|
/**
|
|
95
101
|
* Sends data on the socket. The second parameter specifies the encoding in the
|
|
96
102
|
* case of a string. It defaults to UTF8 encoding.
|
node v18.18/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "18.18.
|
|
3
|
+
"version": "18.18.9",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
"dependencies": {
|
|
230
230
|
"undici-types": "~5.26.4"
|
|
231
231
|
},
|
|
232
|
-
"typesPublisherContentHash": "
|
|
232
|
+
"typesPublisherContentHash": "be2339c53b27602b5aa33e40dc15be7fb39dcf643e794ce9f162b835624100b5",
|
|
233
233
|
"typeScriptVersion": "4.5",
|
|
234
234
|
"nonNpm": true
|
|
235
235
|
}
|
node v18.18/ts4.8/net.d.ts
CHANGED
|
@@ -91,6 +91,12 @@ declare module "net" {
|
|
|
91
91
|
*/
|
|
92
92
|
class Socket extends stream.Duplex {
|
|
93
93
|
constructor(options?: SocketConstructorOpts);
|
|
94
|
+
/**
|
|
95
|
+
* Destroys the socket after all data is written. If the `finish` event was already emitted the socket is destroyed immediately.
|
|
96
|
+
* If the socket is still writable it implicitly calls `socket.end()`.
|
|
97
|
+
* @since v0.3.4
|
|
98
|
+
*/
|
|
99
|
+
destroySoon(): void;
|
|
94
100
|
/**
|
|
95
101
|
* Sends data on the socket. The second parameter specifies the encoding in the
|
|
96
102
|
* case of a string. It defaults to UTF8 encoding.
|