@types/node 12.20.34 → 12.20.35

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 v12.20/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/v12.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 22 Oct 2021 19:01:21 GMT
11
+ * Last updated: Mon, 25 Oct 2021 15:01:22 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Buffer`, `NodeJS`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14
14
 
node v12.20/http.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  declare module 'http' {
2
2
  import * as stream from 'stream';
3
3
  import { URL } from 'url';
4
- import { Socket, Server as NetServer } from 'net';
4
+ import { Socket, Server as NetServer, LookupFunction } from 'net';
5
5
 
6
6
  // incoming headers will never contain number
7
7
  interface IncomingHttpHeaders {
@@ -90,6 +90,7 @@ declare module 'http' {
90
90
  setHost?: boolean | undefined;
91
91
  // https://github.com/nodejs/node/blob/master/lib/_http_client.js#L278
92
92
  createConnection?: ((options: ClientRequestArgs, oncreate: (err: Error, socket: Socket) => void) => Socket) | undefined;
93
+ lookup?: LookupFunction | undefined;
93
94
  }
94
95
 
95
96
  interface ServerOptions {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/node",
3
- "version": "12.20.34",
3
+ "version": "12.20.35",
4
4
  "description": "TypeScript definitions for Node.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
6
6
  "license": "MIT",
@@ -190,6 +190,6 @@
190
190
  },
191
191
  "scripts": {},
192
192
  "dependencies": {},
193
- "typesPublisherContentHash": "1dc16ae10ce6bc1df4095a92b878cf7efea485ad08b59cd18ceba5d3c1dab762",
193
+ "typesPublisherContentHash": "8a350c28d9f855b7bfd04ec3d5a09fefb596288ffad2096d07ea6c7445d4ec31",
194
194
  "typeScriptVersion": "3.7"
195
195
  }