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

flagged

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

flagged - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9

6

dist/index.d.ts

@@ -9,3 +9,3 @@ import * as React from 'react';

children: React.ReactNode;
}): JSX.Element;
}): React.JSX.Element;
export declare function useFeatures(): FeatureGroup;

@@ -17,4 +17,4 @@ export declare function useFeature(name: string): boolean | FeatureGroup;

render?: React.ReactNode | ((hasFeature: boolean | FeatureGroup) => JSX.Element);
}): JSX.Element | null;
export declare function withFeature(featureName: string): (Component: Function) => (props: React.ComponentProps<any>) => JSX.Element;
}): React.JSX.Element | null;
export declare function withFeature(featureName: string): (Component: Function) => (props: React.ComponentProps<any>) => React.JSX.Element;
export {};
{
"name": "flagged",
"description": "Feature flags for React made easy with hooks, HOC and Render Props",
"version": "2.0.8",
"version": "2.0.9",
"license": "MIT",

@@ -60,3 +60,3 @@ "repository": "https://github.com/sergiodxa/flagged.git",

"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@testing-library/react": "^14.0.0",
"@types/jest": "^28.1.0",

@@ -63,0 +63,0 @@ "@types/react": "^18.0.10",

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