@types/dns-packet
Advanced tools
Comparing version 5.6.0 to 5.6.1
@@ -12,47 +12,47 @@ // Type definitions for dns-packet 5.6 | ||
export type RecordType = | ||
| 'A' | ||
| 'AAAA' | ||
| 'AFSDB' | ||
| 'APL' | ||
| 'AXFR' | ||
| 'CAA' | ||
| 'CDNSKEY' | ||
| 'CDS' | ||
| 'CERT' | ||
| 'CNAME' | ||
| 'DNAME' | ||
| 'DHCID' | ||
| 'DLV' | ||
| 'DNSKEY' | ||
| 'DS' | ||
| 'HINFO' | ||
| 'HIP' | ||
| 'IXFR' | ||
| 'IPSECKEY' | ||
| 'KEY' | ||
| 'KX' | ||
| 'LOC' | ||
| 'MX' | ||
| 'NAPTR' | ||
| 'NS' | ||
| 'NSEC' | ||
| 'NSEC3' | ||
| 'NSEC3PARAM' | ||
| 'NULL' | ||
| 'OPT' | ||
| 'PTR' | ||
| 'RRSIG' | ||
| 'RP' | ||
| 'SIG' | ||
| 'SOA' | ||
| 'SRV' | ||
| 'SSHFP' | ||
| 'TA' | ||
| 'TKEY' | ||
| 'TLSA' | ||
| 'TSIG' | ||
| 'TXT' | ||
| 'URI'; | ||
| "A" | ||
| "AAAA" | ||
| "AFSDB" | ||
| "APL" | ||
| "AXFR" | ||
| "CAA" | ||
| "CDNSKEY" | ||
| "CDS" | ||
| "CERT" | ||
| "CNAME" | ||
| "DNAME" | ||
| "DHCID" | ||
| "DLV" | ||
| "DNSKEY" | ||
| "DS" | ||
| "HINFO" | ||
| "HIP" | ||
| "IXFR" | ||
| "IPSECKEY" | ||
| "KEY" | ||
| "KX" | ||
| "LOC" | ||
| "MX" | ||
| "NAPTR" | ||
| "NS" | ||
| "NSEC" | ||
| "NSEC3" | ||
| "NSEC3PARAM" | ||
| "NULL" | ||
| "OPT" | ||
| "PTR" | ||
| "RRSIG" | ||
| "RP" | ||
| "SIG" | ||
| "SOA" | ||
| "SRV" | ||
| "SSHFP" | ||
| "TA" | ||
| "TKEY" | ||
| "TLSA" | ||
| "TSIG" | ||
| "TXT" | ||
| "URI"; | ||
export type RecordClass = 'IN' | 'CS' | 'CH' | 'HS' | 'ANY'; | ||
export type RecordClass = "IN" | "CS" | "CH" | "HS" | "ANY"; | ||
@@ -68,3 +68,3 @@ export interface Question { | ||
flags?: number | undefined; | ||
tag: 'issue' | 'issuewild' | 'iodef'; | ||
tag: "issue" | "issuewild" | "iodef"; | ||
value: string; | ||
@@ -182,3 +182,3 @@ } | ||
*/ | ||
export type StringRecordType = 'A' | 'AAAA' | 'CNAME' | 'DNAME' | 'NS' | 'PTR'; | ||
export type StringRecordType = "A" | "AAAA" | "CNAME" | "DNAME" | "NS" | "PTR"; | ||
@@ -190,41 +190,41 @@ /** | ||
export type OtherRecordType = | ||
| 'AFSDB' | ||
| 'APL' | ||
| 'AXFR' | ||
| 'CDNSKEY' | ||
| 'CDS' | ||
| 'CERT' | ||
| 'DHCID' | ||
| 'DLV' | ||
| 'HIP' | ||
| 'IPSECKEY' | ||
| 'IXFR' | ||
| 'KEY' | ||
| 'KX' | ||
| 'LOC' | ||
| 'NSEC3PARAM' | ||
| 'NULL' | ||
| 'SIG' | ||
| 'TA' | ||
| 'TKEY' | ||
| 'TSIG' | ||
| 'URI'; | ||
| "AFSDB" | ||
| "APL" | ||
| "AXFR" | ||
| "CDNSKEY" | ||
| "CDS" | ||
| "CERT" | ||
| "DHCID" | ||
| "DLV" | ||
| "HIP" | ||
| "IPSECKEY" | ||
| "IXFR" | ||
| "KEY" | ||
| "KX" | ||
| "LOC" | ||
| "NSEC3PARAM" | ||
| "NULL" | ||
| "SIG" | ||
| "TA" | ||
| "TKEY" | ||
| "TSIG" | ||
| "URI"; | ||
export type StringAnswer = BaseAnswer<StringRecordType, string>; | ||
export type BufferAnswer = BaseAnswer<OtherRecordType, Buffer>; | ||
export type CaaAnswer = BaseAnswer<'CAA', CaaData>; | ||
export type DnskeyAnswer = BaseAnswer<'DNSKEY', DnskeyData>; | ||
export type DSAnswer = BaseAnswer<'DS', DsData>; | ||
export type HInfoAnswer = BaseAnswer<'HINFO', HInfoData>; | ||
export type MxAnswer = BaseAnswer<'MX', MxData>; | ||
export type NaptrAnswer = BaseAnswer<'NAPTR', NaptrData>; | ||
export type Nsec3Answer = BaseAnswer<'NSEC3', Nsec3Data>; | ||
export type NsecAnswer = BaseAnswer<'NSEC', NsecData>; | ||
export type RpAnswer = BaseAnswer<'RP', RpData>; | ||
export type RrsigAnswer = BaseAnswer<'RRSIG', RrsigData>; | ||
export type SoaAnswer = BaseAnswer<'SOA', SoaData>; | ||
export type SrvAnswer = BaseAnswer<'SRV', SrvData>; | ||
export type SshfpAnswer = BaseAnswer<'SSHFP', SshfpData>; | ||
export type TlsaAnswer = BaseAnswer<'TLSA', TlsaData>; | ||
export type TxtAnswer = BaseAnswer<'TXT', TxtData>; | ||
export type CaaAnswer = BaseAnswer<"CAA", CaaData>; | ||
export type DnskeyAnswer = BaseAnswer<"DNSKEY", DnskeyData>; | ||
export type DSAnswer = BaseAnswer<"DS", DsData>; | ||
export type HInfoAnswer = BaseAnswer<"HINFO", HInfoData>; | ||
export type MxAnswer = BaseAnswer<"MX", MxData>; | ||
export type NaptrAnswer = BaseAnswer<"NAPTR", NaptrData>; | ||
export type Nsec3Answer = BaseAnswer<"NSEC3", Nsec3Data>; | ||
export type NsecAnswer = BaseAnswer<"NSEC", NsecData>; | ||
export type RpAnswer = BaseAnswer<"RP", RpData>; | ||
export type RrsigAnswer = BaseAnswer<"RRSIG", RrsigData>; | ||
export type SoaAnswer = BaseAnswer<"SOA", SoaData>; | ||
export type SrvAnswer = BaseAnswer<"SRV", SrvData>; | ||
export type SshfpAnswer = BaseAnswer<"SSHFP", SshfpData>; | ||
export type TlsaAnswer = BaseAnswer<"TLSA", TlsaData>; | ||
export type TxtAnswer = BaseAnswer<"TXT", TxtData>; | ||
@@ -260,3 +260,3 @@ interface OptCodes { | ||
interface ClientSubnetOpt extends GenericOpt<'CLIENT_SUBNET'> { | ||
interface ClientSubnetOpt extends GenericOpt<"CLIENT_SUBNET"> { | ||
family?: number | undefined; | ||
@@ -268,11 +268,11 @@ sourcePrefixLength?: number | undefined; | ||
interface KeepAliveOpt extends GenericOpt<'TCP_KEEPALIVE'> { | ||
interface KeepAliveOpt extends GenericOpt<"TCP_KEEPALIVE"> { | ||
timeout?: number | undefined; | ||
} | ||
interface PaddingOpt extends GenericOpt<'PADDING'> { | ||
interface PaddingOpt extends GenericOpt<"PADDING"> { | ||
length?: number | undefined; | ||
} | ||
interface TagOpt extends GenericOpt<'KEY_TAG'> { | ||
interface TagOpt extends GenericOpt<"KEY_TAG"> { | ||
tags: number[]; | ||
@@ -283,3 +283,3 @@ } | ||
export interface OptAnswer extends GenericAnswer<'OPT'> { | ||
export interface OptAnswer extends GenericAnswer<"OPT"> { | ||
udpPayloadSize: number; | ||
@@ -324,3 +324,3 @@ extendedRcode: number; | ||
*/ | ||
type?: 'query' | 'response' | undefined; | ||
type?: "query" | "response" | undefined; | ||
@@ -327,0 +327,0 @@ id?: number | undefined; |
{ | ||
"name": "@types/dns-packet", | ||
"version": "5.6.0", | ||
"version": "5.6.1", | ||
"description": "TypeScript definitions for dns-packet", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dns-packet", | ||
}, | ||
"typesPublisherContentHash": "0ec203faa4d3d0eb9e49860a4c425dffb104c6d2f2c2f7eaeefba77828384a30", | ||
"typeScriptVersion": "4.3" | ||
"typesPublisherContentHash": "8c79666c588fd84299617640332816f46aed57dba9b5c2a79aca9573222342d0", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sun, 20 Aug 2023 23:02:40 GMT | ||
* Last updated: Fri, 22 Sep 2023 20:29:40 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0