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

react-flow-designer

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-flow-designer - npm Package Compare versions

Comparing version 0.16.1 to 0.16.2

10

lib/reducers/flow.reducer.js

@@ -118,4 +118,10 @@ 'use strict';

});
var calculatePortPosition = state.getIn(['nodeTypes', nodeType, 'component']).calculatePortPosition;
return cumulativeState.mergeIn(['ports'], calculatePortPosition(ports, node.getPosition(), node.getSize()));
var component = state.getIn(['nodeTypes', nodeType, 'component']);
if (component) {
var calculatePortPosition = component.calculatePortPosition;
if (calculatePortPosition) {
return cumulativeState.mergeIn(['ports'], calculatePortPosition(ports, node.getPosition(), node.getSize()));
}
}
return state;
}, state);

@@ -122,0 +128,0 @@ }

2

package.json

@@ -98,3 +98,3 @@ {

},
"version": "0.16.1"
"version": "0.16.2"
}
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