@types/node 14.14.24 → 14.14.25
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/dns.d.ts +6 -0
- 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: Thu, 04 Feb 2021 08:30:17 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/dns.d.ts
CHANGED
|
@@ -276,7 +276,12 @@ declare module "dns" {
|
|
|
276
276
|
const ADDRGETNETWORKPARAMS: string;
|
|
277
277
|
const CANCELLED: string;
|
|
278
278
|
|
|
279
|
+
interface ResolverOptions {
|
|
280
|
+
timeout?: number;
|
|
281
|
+
}
|
|
282
|
+
|
|
279
283
|
class Resolver {
|
|
284
|
+
constructor(options?: ResolverOptions);
|
|
280
285
|
cancel(): void;
|
|
281
286
|
getServers: typeof getServers;
|
|
282
287
|
resolve: typeof resolve;
|
|
@@ -352,6 +357,7 @@ declare module "dns" {
|
|
|
352
357
|
function setServers(servers: ReadonlyArray<string>): void;
|
|
353
358
|
|
|
354
359
|
class Resolver {
|
|
360
|
+
constructor(options?: ResolverOptions);
|
|
355
361
|
cancel(): void;
|
|
356
362
|
getServers: typeof getServers;
|
|
357
363
|
resolve: typeof resolve;
|
node/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "14.14.
|
|
3
|
+
"version": "14.14.25",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -251,6 +251,6 @@
|
|
|
251
251
|
},
|
|
252
252
|
"scripts": {},
|
|
253
253
|
"dependencies": {},
|
|
254
|
-
"typesPublisherContentHash": "
|
|
254
|
+
"typesPublisherContentHash": "03fe917af611a5f93079169600cfc62c6f9ba94e93ff60f8601364c2ff26ee32",
|
|
255
255
|
"typeScriptVersion": "3.4"
|
|
256
256
|
}
|