@types/node 14.11.2 → 14.11.3
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/README.md +1 -1
- node/http.d.ts +2 -4
- node/package.json +2 -2
node/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (http://nodejs.org/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 05 Oct 2020 22:04:50 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
|
|
14
14
|
|
node/http.d.ts
CHANGED
|
@@ -160,8 +160,8 @@ declare module "http" {
|
|
|
160
160
|
/**
|
|
161
161
|
* @deprecate Use `socket` instead.
|
|
162
162
|
*/
|
|
163
|
-
connection: Socket;
|
|
164
|
-
socket: Socket;
|
|
163
|
+
connection: Socket | null;
|
|
164
|
+
socket: Socket | null;
|
|
165
165
|
|
|
166
166
|
constructor();
|
|
167
167
|
|
|
@@ -205,8 +205,6 @@ declare module "http" {
|
|
|
205
205
|
|
|
206
206
|
// https://github.com/nodejs/node/blob/master/lib/_http_client.js#L77
|
|
207
207
|
class ClientRequest extends OutgoingMessage {
|
|
208
|
-
connection: Socket;
|
|
209
|
-
socket: Socket;
|
|
210
208
|
aborted: number;
|
|
211
209
|
|
|
212
210
|
constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void);
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.11.
|
|
3
|
+
"version": "14.11.3",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -246,6 +246,6 @@
|
|
|
246
246
|
},
|
|
247
247
|
"scripts": {},
|
|
248
248
|
"dependencies": {},
|
|
249
|
-
"typesPublisherContentHash": "
|
|
249
|
+
"typesPublisherContentHash": "e61b1046b3b57702fa1490be3eac265478a0632828289948b939a4312112135b",
|
|
250
250
|
"typeScriptVersion": "3.2"
|
|
251
251
|
}
|