@types/dns2 2.0.5 → 2.0.7
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.
- dns2/README.md +1 -2
- dns2/index.d.ts +1 -6
- dns2/package.json +4 -4
dns2/README.md
CHANGED
|
@@ -8,9 +8,8 @@ This package contains type definitions for dns2 (https://github.com/song940/node
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dns2.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 18 Oct 2023 01:17:34 GMT
|
|
12
12
|
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
|
|
13
|
-
* Global values: none
|
|
14
13
|
|
|
15
14
|
# Credits
|
|
16
15
|
These definitions were written by [Tim Perry](https://github.com/pimterry).
|
dns2/index.d.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
// Type definitions for dns2 2.0
|
|
2
|
-
// Project: https://github.com/song940/node-dns#readme
|
|
3
|
-
// Definitions by: Tim Perry <https://github.com/pimterry>
|
|
4
|
-
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
5
|
-
|
|
6
1
|
/// <reference types="node" />
|
|
7
2
|
|
|
8
3
|
import * as udp from "dgram";
|
|
@@ -86,7 +81,7 @@ declare namespace DNS {
|
|
|
86
81
|
}
|
|
87
82
|
|
|
88
83
|
interface UdpDnsServerOptions {
|
|
89
|
-
type:
|
|
84
|
+
type: "udp4" | "udp6";
|
|
90
85
|
}
|
|
91
86
|
|
|
92
87
|
type DnsHandler = (
|
dns2/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/dns2",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"description": "TypeScript definitions for dns2",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dns2",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"contributors": [
|
|
8
8
|
{
|
|
9
9
|
"name": "Tim Perry",
|
|
10
|
-
"
|
|
11
|
-
"
|
|
10
|
+
"githubUsername": "pimterry",
|
|
11
|
+
"url": "https://github.com/pimterry"
|
|
12
12
|
}
|
|
13
13
|
],
|
|
14
14
|
"main": "",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@types/node": "*"
|
|
24
24
|
},
|
|
25
|
-
"typesPublisherContentHash": "
|
|
25
|
+
"typesPublisherContentHash": "21349fff4a2a7b291f59cb7add71b9d927f51540c3ed65f872e2b846b9bee6bd",
|
|
26
26
|
"typeScriptVersion": "4.5"
|
|
27
27
|
}
|