Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cloudflare/types

Package Overview
Dependencies
Maintainers
20
Versions
492
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudflare/types - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [1.0.7](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/types@1.0.6...@cloudflare/types@1.0.7) (2019-02-20)
**Note:** Version bump only for package @cloudflare/types
## [1.0.6](http://stash.cfops.it:7999/fe/stratus/compare/@cloudflare/types@1.0.5...@cloudflare/types@1.0.6) (2019-02-07)

@@ -8,0 +16,0 @@

4

package.json
{
"name": "@cloudflare/types",
"description": "",
"version": "1.0.6",
"version": "1.0.7",
"types": "./src",

@@ -20,3 +20,3 @@ "main": "lib/index.js",

},
"gitHead": "95f5f9028346c17b6601bd7464a806f70c4151ba"
"gitHead": "916c2bb2b75d79bcc1d28bb43ad053c3222dc984"
}

@@ -9,3 +9,3 @@ import { TPlanId } from './zone';

state: TState;
price: number;
price?: number;
currency: TCurrency;

@@ -45,3 +45,3 @@ component_values: ISubscriptionComponentValue[];

billing: string;
public_name: string;
public_name: TProductPublicName;
duration: number;

@@ -52,2 +52,3 @@ }

export type TFrequency = 'monthly' | 'yearly';
// subscription.state. is a bug on backend (BILL-4697)
export type TState = 'Paid' | 'Unpaid' | 'subscription.state.';

@@ -69,1 +70,11 @@ export type TScope = 'zone' | 'user';

| 'prod_access';
export type TProductPublicName =
| 'Argo'
| 'Load Balancing'
| 'CloudFlare Services'
| 'Rate Limiting'
| 'Workers'
| 'Access'
| 'Stream'
| 'Cloudflare Registrar'
| 'Cloudflare Apps';

@@ -8,1 +8,14 @@ // (A - keys of B)

export type Omit<A, B extends keyof A> = Pick<A, Exclude<keyof A, B>>;
/**
* ValueOf: similar to keyof, but picks a value.
*
* @example
* type Person = {
* name: string,
* phone: number | null
* }
*
* type PhoneType = ValueOf<Person>; // string | number | null
*/
export type ValueOf<T> = T[keyof T];
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