@types/node 12.19.15 → 12.19.16
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.19/README.md +1 -1
- node v12.19/dns.d.ts +6 -0
- node v12.19/package.json +2 -2
node v12.19/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/v12.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Thu, 04 Feb 2021 08:30:31 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.19/dns.d.ts
CHANGED
|
@@ -271,7 +271,12 @@ declare module "dns" {
|
|
|
271
271
|
const ADDRGETNETWORKPARAMS: string;
|
|
272
272
|
const CANCELLED: string;
|
|
273
273
|
|
|
274
|
+
interface ResolverOptions {
|
|
275
|
+
timeout?: number;
|
|
276
|
+
}
|
|
277
|
+
|
|
274
278
|
class Resolver {
|
|
279
|
+
constructor(options?: ResolverOptions);
|
|
275
280
|
getServers: typeof getServers;
|
|
276
281
|
setServers: typeof setServers;
|
|
277
282
|
resolve: typeof resolve;
|
|
@@ -346,6 +351,7 @@ declare module "dns" {
|
|
|
346
351
|
function setServers(servers: ReadonlyArray<string>): void;
|
|
347
352
|
|
|
348
353
|
class Resolver {
|
|
354
|
+
constructor(options?: ResolverOptions);
|
|
349
355
|
getServers: typeof getServers;
|
|
350
356
|
resolve: typeof resolve;
|
|
351
357
|
resolve4: typeof resolve4;
|
node v12.19/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "12.19.
|
|
3
|
+
"version": "12.19.16",
|
|
4
4
|
"description": "TypeScript definitions for Node.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"contributors": [
|
|
@@ -231,6 +231,6 @@
|
|
|
231
231
|
},
|
|
232
232
|
"scripts": {},
|
|
233
233
|
"dependencies": {},
|
|
234
|
-
"typesPublisherContentHash": "
|
|
234
|
+
"typesPublisherContentHash": "ec749c29c43a62c16fa3f02dadfb29e2e4640cf7d37b9346b9493fc5b3038b8f",
|
|
235
235
|
"typeScriptVersion": "3.4"
|
|
236
236
|
}
|