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

ld-react-components

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ld-react-components - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

22

CHANGELOG.md

@@ -1,7 +0,27 @@

# v0.0.10 (Fri Jul 19 2019)
# v0.0.10 (Wed Sep 11 2019)
#### 🐛 Bug Fix
- feat: update the plugin for the new feature flag payload and update tests [#4](https://github.com/intuit/LD-React-Components/pull/4) ([@Buranch](https://github.com/Buranch))
#### Authors: 1
- Buranch ([@Buranch](https://github.com/Buranch))
---
# v0.0.9 (Fri Jul 19 2019)
#### ⚠️ Pushed to master
- corrected linting errors (dave@cmscode.com)
- updated dependencies (dave@cmscode.com)
#### Authors: 2
- poorpaddy (dave@cmscode.com)
- poorpaddu (dave@cmscode.com)
---
# v0.0.8 (Tue Jun 11 2019)

@@ -8,0 +28,0 @@

6

dist/FeatureFlag/index.js

@@ -37,3 +37,3 @@ "use strict";

if (appFlags[flagKey]) {
if (appFlags[flagKey] && appFlags[flagKey].value) {
childArray.push(element);

@@ -51,3 +51,3 @@ }

if (!appFlags[flagKey]) {
if (!appFlags[flagKey] || appFlags[flagKey] && !appFlags[flagKey].value) {
childArray.push(element);

@@ -78,3 +78,3 @@ }

if (appFlags[flagKey]) {
if (appFlags[flagKey] && appFlags[flagKey].value) {
childArray.push(element);

@@ -81,0 +81,0 @@ }

@@ -29,3 +29,3 @@ "use strict";

if (appFlags[flagKey] === condition) {
if ((appFlags[flagKey] && appFlags[flagKey].value) === condition) {
childArray.push(element);

@@ -32,0 +32,0 @@ breakIt = allowBreak;

{
"name": "ld-react-components",
"version": "0.0.10",
"version": "0.0.11",
"description": "Semantic component helpers to support LaunchDarkly in your react app.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -63,4 +63,4 @@ <div align="center">

const applicationKeys = {
'integration-test': true,
'multivariate-test': 'multivariate-test-1'
'integration-test': { value: true, version: 3 },
'multivariate-test': { value: 'multivariate-test-1', version: 5 }
}

@@ -116,4 +116,4 @@ <FeatureFlag flagKey="multivariate-test" appFlags={applicationKeys}></FeatureFlag>

const applicationKeys = {
'multivariate-test': 'multivariate-test-2',
'integration-test': true
'multivariate-test': { value: 'multivariate-test-2', version: 1},
'integration-test': { value: true }
};

@@ -142,4 +142,4 @@ ```

const applicationKeys = {
'multivariate-test': 'multivariate-test-2',
'integration-test': true
'multivariate-test': { value: 'multivariate-test-2' },
'integration-test': { value: true }
};

@@ -174,7 +174,7 @@ ```

const appFlags = {
a: 'a',
b: 'b',
c: 'c',
d: 'd',
e: 'e'
a: { value: 'a' },
b: { value: 'b' },
c: { value: 'c' },
d: { value: 'd' },
e: { value: 'e' }
};

@@ -181,0 +181,0 @@

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