@types/node 16.18.25 → 16.18.26
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/http.d.ts +3 -2
- node v16.18/package.json +2 -2
node v16.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/v16.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 05 May 2023 21:32:47 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`
|
|
14
14
|
|
node v16.18/http.d.ts
CHANGED
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
declare module 'http' {
|
|
43
43
|
import * as stream from 'node:stream';
|
|
44
44
|
import { URL } from 'node:url';
|
|
45
|
+
import { EventEmitter } from 'node:events';
|
|
45
46
|
import { TcpSocketConnectOpts, Socket, Server as NetServer, LookupFunction } from 'node:net';
|
|
46
47
|
// incoming headers will never contain number
|
|
47
48
|
interface IncomingHttpHeaders extends NodeJS.Dict<string | string[]> {
|
|
@@ -1136,9 +1137,9 @@ declare module 'http' {
|
|
|
1136
1137
|
* ```
|
|
1137
1138
|
* @since v0.3.4
|
|
1138
1139
|
*/
|
|
1139
|
-
class Agent {
|
|
1140
|
+
class Agent extends EventEmitter {
|
|
1140
1141
|
/**
|
|
1141
|
-
* By default set to 256
|
|
1142
|
+
* By default set to 256. For agents with `keepAlive` enabled, this
|
|
1142
1143
|
* sets the maximum number of sockets that will be left open in the free
|
|
1143
1144
|
* state.
|
|
1144
1145
|
* @since v0.11.7
|
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.26",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -227,6 +227,6 @@
|
|
|
227
227
|
},
|
|
228
228
|
"scripts": {},
|
|
229
229
|
"dependencies": {},
|
|
230
|
-
"typesPublisherContentHash": "
|
|
230
|
+
"typesPublisherContentHash": "d474380dc461b01066670e9ac6906eb618fdb1cedc09310512bf105ec7fdef42",
|
|
231
231
|
"typeScriptVersion": "4.3"
|
|
232
232
|
}
|