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

@flopflip/types

Package Overview
Dependencies
Maintainers
1
Versions
314
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flopflip/types - npm Package Compare versions

Comparing version 2.5.10 to 3.0.0

6

CHANGELOG.md
# @flopflip/types
## 3.0.0
### Major Changes
- [`891fb29`](https://github.com/tdeekens/flopflip/commit/891fb294d5d6e016224b5a16d22760f0a55f9606) [#1287](https://github.com/tdeekens/flopflip/pull/1287) Thanks [@renovate](https://github.com/apps/renovate)! - flopflip is now built with TypeScript v4 which can cause compatibility issues if you project runs on an older version of TypeScript
## 2.5.10

@@ -4,0 +10,0 @@

2

dist/@flopflip-types.cjs.js

@@ -5,4 +5,2 @@ 'use strict';

// TODO: use labelled tuple elements only when we drop support for TS v3
(function (TAdapterSubscriptionStatus) {

@@ -9,0 +7,0 @@ TAdapterSubscriptionStatus[TAdapterSubscriptionStatus["Subscribed"] = 0] = "Subscribed";

@@ -1,3 +0,1 @@

// TODO: use labelled tuple elements only when we drop support for TS v3
// export type TFlag = [flagName: TFlagName, flagVariation: TFlagVariation];
var TAdapterSubscriptionStatus;

@@ -4,0 +2,0 @@

@@ -6,6 +6,4 @@ import type React from 'react';

export declare type TFlagVariation = boolean | string;
export declare type TFlag = [TFlagName, TFlagVariation];
export declare type TFlags = {
[key: string]: TFlagVariation;
};
export declare type TFlag = [flagName: TFlagName, flagVariation: TFlagVariation];
export declare type TFlags = Record<string, TFlagVariation>;
export declare type TUser = {

@@ -62,11 +60,6 @@ key?: string;

authorizationKey: string;
options?: {
[key: string]: unknown;
core?: {
[key: string]: string;
};
options?: Record<string, unknown> & {
core?: Record<string, string>;
};
treatmentAttributes?: {
[key: string]: string | number | boolean | Array<string | number>;
};
treatmentAttributes?: Record<string, string | number | boolean | Array<string | number>>;
};

@@ -73,0 +66,0 @@ export declare type TAdapterArgs = TLaunchDarklyAdapterArgs | TLocalStorageAdapterArgs | TMemoryAdapterArgs | TSplitioAdapterArgs;

{
"name": "@flopflip/types",
"version": "2.5.10",
"version": "3.0.0",
"description": "Type definitions for flipflop",

@@ -40,7 +40,7 @@ "main": "dist/@flopflip-types.cjs.js",

"dependencies": {
"ts-essentials": "7.0.0"
"ts-essentials": "7.0.1"
},
"peerDependencies": {
"typescript": "3.x || 4.x"
"typescript": "4.x"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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