@types/node 18.16.4 → 18.16.5
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.16/README.md +1 -1
- node v18.16/http.d.ts +4 -3
- node v18.16/package.json +2 -2
node v18.16/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/v18.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Fri, 05 May 2023
|
|
11
|
+
* Last updated: Fri, 05 May 2023 21:32:45 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
14
14
|
|
node v18.16/http.d.ts
CHANGED
|
@@ -42,8 +42,9 @@
|
|
|
42
42
|
declare module 'http' {
|
|
43
43
|
import * as stream from 'node:stream';
|
|
44
44
|
import { URL } from 'node:url';
|
|
45
|
-
import {
|
|
45
|
+
import { EventEmitter } from 'node:events';
|
|
46
46
|
import { LookupOptions } from 'node:dns';
|
|
47
|
+
import { TcpSocketConnectOpts, Socket, Server as NetServer, LookupFunction } from 'node:net';
|
|
47
48
|
// incoming headers will never contain number
|
|
48
49
|
interface IncomingHttpHeaders extends NodeJS.Dict<string | string[]> {
|
|
49
50
|
accept?: string | undefined;
|
|
@@ -1341,9 +1342,9 @@ declare module 'http' {
|
|
|
1341
1342
|
* ```
|
|
1342
1343
|
* @since v0.3.4
|
|
1343
1344
|
*/
|
|
1344
|
-
class Agent {
|
|
1345
|
+
class Agent extends EventEmitter {
|
|
1345
1346
|
/**
|
|
1346
|
-
* By default set to 256
|
|
1347
|
+
* By default set to 256. For agents with `keepAlive` enabled, this
|
|
1347
1348
|
* sets the maximum number of sockets that will be left open in the free
|
|
1348
1349
|
* state.
|
|
1349
1350
|
* @since v0.11.7
|
node v18.16/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "18.16.
|
|
3
|
+
"version": "18.16.5",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -232,6 +232,6 @@
|
|
|
232
232
|
},
|
|
233
233
|
"scripts": {},
|
|
234
234
|
"dependencies": {},
|
|
235
|
-
"typesPublisherContentHash": "
|
|
235
|
+
"typesPublisherContentHash": "6e1aac9f54a4dcaad3bcb91b3bedf6d21e6dd4be465d458d94364602c52157d3",
|
|
236
236
|
"typeScriptVersion": "4.3"
|
|
237
237
|
}
|