New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/cloudflare

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/cloudflare - npm Package Compare versions

Comparing version 2.7.4 to 2.7.5

19

cloudflare/index.d.ts

@@ -46,3 +46,3 @@ // Type definitions for cloudflare 2.7

interface DnsRecordWithPriority {
type: Extract<RecordTypes, 'MX' | 'SRV' | 'URI'>;
type: Exclude<RecordTypes, 'MX' | 'SRV' | 'URI'>;
name: string;

@@ -55,4 +55,19 @@ content: string;

type DnsRecord = DnsRecordWithPriority | DnsRecordWithoutPriority;
interface SrvDnsRecord {
type: 'SRV';
data: {
name: string;
service: string;
proto: string;
ttl: number;
proxied?: boolean | undefined;
priority: number;
weight: number;
port: number;
target: string;
};
}
type DnsRecord = DnsRecordWithPriority | DnsRecordWithoutPriority | SrvDnsRecord;
interface DNSRecords {

@@ -59,0 +74,0 @@ edit(

4

cloudflare/package.json
{
"name": "@types/cloudflare",
"version": "2.7.4",
"version": "2.7.5",
"description": "TypeScript definitions for cloudflare",

@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cloudflare",

"dependencies": {},
"typesPublisherContentHash": "c4e69e40d35a9bcef3431613002c9eca666ee6821157a390fd0b6444600a8704",
"typesPublisherContentHash": "6739c355dd66ab1193485701f4dd7e913ce6b5f3584d8bc797890e20cb3ea3ca",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 08 Jul 2021 09:07:58 GMT
* Last updated: Thu, 15 Jul 2021 02:31:15 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc