react-reflex
Advanced tools
Comparing version 2.2.4 to 2.2.5
@@ -296,3 +296,3 @@ 'use strict'; | ||
var idx = data.splitter.props.index; | ||
var idx = data.index || data.splitter.props.index; | ||
@@ -314,3 +314,3 @@ this.elements = [this.children[idx - 1], this.children[idx + 1]]; | ||
var idx = data.splitter.props.index; | ||
var idx = data.index || data.splitter.props.index; | ||
@@ -317,0 +317,0 @@ var offset = this.getOffset(data.event); |
@@ -244,3 +244,3 @@ import _toConsumableArray from 'babel-runtime/helpers/toConsumableArray'; | ||
var idx = data.splitter.props.index; | ||
var idx = data.index || data.splitter.props.index; | ||
@@ -262,3 +262,3 @@ this.elements = [this.children[idx - 1], this.children[idx + 1]]; | ||
var idx = data.splitter.props.index; | ||
var idx = data.index || data.splitter.props.index; | ||
@@ -265,0 +265,0 @@ var offset = this.getOffset(data.event); |
{ | ||
"name": "react-reflex", | ||
"version": "2.2.4", | ||
"version": "2.2.5", | ||
"description": "Flex layout component for advanced React web applications", | ||
@@ -16,2 +16,3 @@ "main": "dist/commonjs/index.js", | ||
"build-dev": "webpack --config ./webpack/lib/development.webpack.config", | ||
"build-lib-umd-dev": "webpack --config ./webpack/lib/development.webpack.config", | ||
"build-lib-umd": "webpack --config ./webpack/lib/production.webpack.config", | ||
@@ -21,3 +22,3 @@ "build-lib-commonjs": "rimraf dist/commonjs && BABEL_ENV=commonjs babel src/lib --out-dir=dist/commonjs", | ||
"build-css": "rimraf styles.css && node-sass src/lib/reflex-styles.scss styles.css", | ||
"build": "npm run build-css && npm run build-lib-commonjs && npm run build-lib-es && npm run build-lib-umd && npm run build-demo", | ||
"build": "npm run build-css && npm run build-lib-commonjs && npm run build-lib-es && npm run build-lib-umd && npm run build-lib-umd-dev && npm run build-demo", | ||
"prepublish": "npm run build" | ||
@@ -24,0 +25,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
2166066
21
9462
13
15