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

launch-darkly-feature-builder

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

launch-darkly-feature-builder - npm Package Compare versions

Comparing version 0.15.0 to 0.16.0

2

package.json
{
"name": "launch-darkly-feature-builder",
"version": "0.15.0",
"version": "0.16.0",
"description": "Builds and manages launch darkly features from code.",

@@ -5,0 +5,0 @@ "bin": {

@@ -54,7 +54,22 @@ const _ = require( 'lodash' );

function removeEnvironmentSummaries( flag ) {
if( flag.environments ) {
_.forEach( flag.environments, env => {
if( env._summary ) {
delete env._summary;
}
} );
}
}
async function updateFeatureAsync( ldClient, project, key, plan, comment ) {
const before = _.cloneDeep( plan.current );
removeEnvironmentSummaries( before );
const flag = await ldClient.getFeatureFlagAsync( project, key );
if( !_.isEqual( flag, plan.current ) ) {
if( !_.isEqual( flag, before ) ) {

@@ -65,3 +80,3 @@ log.warn(

feature: key,
before: plan.current,
before: before,
after: flag

@@ -68,0 +83,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