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.6.2 to 0.7.0

2

lib/components/FlowDesigner.container.js

@@ -116,3 +116,3 @@ 'use strict';

'filter',
{ id: 'blur-filter', x: '-1', y: '-1', width: '200', height: '200' },
{ id: 'blur-filter', width: '1.5', height: '1.5', x: '-.25', y: '-.25' },
_react2.default.createElement('feFlood', { floodColor: '#01A7CF', result: 'COLOR' }),

@@ -119,0 +119,0 @@ _react2.default.createElement('feComposite', { 'in': 'COLOR', in2: 'SourceGraphic', operator: 'in', result: 'shadow' }),

@@ -25,2 +25,3 @@ 'use strict';

selection: undefined,
propTypes: {

@@ -30,3 +31,3 @@ children: _react.PropTypes.arrayOf(_react.PropTypes.element).isRequired

componentDidMount: function componentDidMount() {
(0, _d3Selection.select)(this.zoomCatcher).call((0, _d3Zoom.zoom)().scaleExtent([1 / 8, 4]).on('zoom', this.onZoom));
this.selection = (0, _d3Selection.select)(this.zoomCatcher).call((0, _d3Zoom.zoom)().scaleExtent([1 / 4, 2]).on('zoom', this.onZoom));
},

@@ -36,2 +37,9 @@ onZoom: function onZoom() {

},
componentWillReceiveProps: function componentWillReceiveProps(nextProps) {
if (nextProps.transformToApply) {
if (nextProps.transformToApply !== this.props.transformToApply) {
this.selection.transition().duration(113).call(nextProps.transformToApply, d3.zoomIdentity);
}
}
},
render: function render() {

@@ -61,3 +69,4 @@ var _this = this;

return {
transform: state.flowDesigner.get('transform')
transform: state.flowDesigner.get('transform'),
transformToApply: state.flowDesigner.get('transformToApply')
};

@@ -64,0 +73,0 @@ }

@@ -39,28 +39,28 @@ {

"babel-core": "6.18.2",
"babel-eslint": "7.1.0",
"babel-jest": "17.0.0",
"babel-loader": "6.2.7",
"babel-eslint": "7.1.1",
"babel-jest": "17.0.2",
"babel-loader": "6.2.8",
"babel-plugin-add-module-exports": "0.2.1",
"babel-plugin-transform-class-properties": "6.18.0",
"babel-plugin-transform-object-rest-spread": "6.16.0",
"babel-plugin-transform-object-rest-spread": "6.19.0",
"babel-preset-es2015": "6.18.0",
"babel-preset-es2015-native-modules": "6.9.2",
"babel-preset-react": "6.16.0",
"coveralls": "2.11.12",
"coveralls": "2.11.15",
"css-loader": "0.25.0",
"enzyme": "2.6.0",
"eslint": "3.9.0",
"eslint": "3.11.1",
"eslint-config-airbnb": "13.0.0",
"eslint-plugin-import": "2.2.0",
"eslint-plugin-jsx-a11y": "3.0.1",
"eslint-plugin-react": "6.6.0",
"eslint-plugin-react": "6.7.1",
"extract-text-webpack-plugin": "2.0.0-beta.3",
"immutable": "3.8.1",
"jest-cli": "17.0.0",
"node-sass": "3.11.2",
"react": "15.3.2",
"react-addons-test-utils": "15.3.2",
"react-dom": "15.3.2",
"react-redux": "4.4.5",
"react-test-renderer": "15.3.2",
"jest-cli": "17.0.3",
"node-sass": "3.13.0",
"react": "15.4.0",
"react-addons-test-utils": "15.4.1",
"react-dom": "15.4.1",
"react-redux": "4.4.6",
"react-test-renderer": "15.4.1",
"redux": "3.6.0",

@@ -86,13 +86,13 @@ "redux-mock-store": "1.2.1",

"classnames": "2.2.5",
"d3-drag": "1.0.0",
"d3-interpolate": "1.1.1",
"d3-scale": "1.0.2",
"d3-selection": "1.0.2",
"d3-drag": "1.0.2",
"d3-interpolate": "1.1.2",
"d3-scale": "1.0.4",
"d3-selection": "1.0.3",
"d3-shape": "1.0.3",
"d3-zoom": "1.0.2",
"invariant": "2.2.1",
"lodash": "4.16.5",
"d3-zoom": "1.1.1",
"invariant": "2.2.2",
"lodash": "4.17.2",
"react-immutable-proptypes": "2.1.0"
},
"version": "0.6.2"
"version": "0.7.0"
}

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