Skip to content

Commit 5645d6f

Browse files
committed
update dependencies
1 parent bb12ed5 commit 5645d6f

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,25 @@
1313
"draft-js-import-html": "^1.2.1",
1414
"draft-js-utils": "^1.2.0",
1515
"fast-isnumeric": "^1.1.1",
16-
"immutability-helper": "^2.6.4",
16+
"immutability-helper": "^2.7.1",
1717
"plotly-icons": "latest",
1818
"plotly.js": "1.40.1",
1919
"prop-types": "^15.5.10",
2020
"raf": "^3.4.0",
2121
"react-color": "^2.13.8",
2222
"react-colorscales": "0.6.1",
23-
"react-dropzone": "^4.2.9",
23+
"react-dropzone": "^5.0.1",
2424
"react-plotly.js": "^2.2.0",
2525
"react-rangeslider": "^2.2.0",
2626
"react-resizable-rotatable-draggable": "^0.1.8",
27-
"react-select": "^1.2.0",
27+
"react-select": "^1.3.0",
2828
"react-tabs": "^2.2.1",
2929
"styled-components": "^3.3.3",
3030
"tinycolor2": "^1.4.1"
3131
},
3232
"devDependencies": {
3333
"@percy/react": "^0.4.3",
34-
"autoprefixer": "^7.2.3",
34+
"autoprefixer": "^9.1.3",
3535
"babel-cli": "^6.26.0",
3636
"babel-core": "^6.26.0",
3737
"babel-eslint": "^8.0.2",
@@ -43,36 +43,36 @@
4343
"babel-preset-react": "^6.24.1",
4444
"babel-preset-stage-2": "^6.24.1",
4545
"babel-traverse": "^6.26.0",
46-
"css-loader": "^0.28.9",
47-
"cssnano": "^3.10.0",
46+
"css-loader": "^1.0.0",
47+
"cssnano": "^4.1.0",
4848
"enzyme": "^3.1.0",
4949
"enzyme-adapter-react-16": "^1.0.4",
50-
"eslint": "^4.12.1",
51-
"eslint-config-prettier": "^2.7.0",
50+
"eslint": "^5.4.0",
51+
"eslint-config-prettier": "^3.0.1",
5252
"eslint-plugin-import": "^2.8.0",
5353
"eslint-plugin-react": "^7.4.0",
5454
"eslint-plugin-react-percy": "^0.2.1",
5555
"fs": "^0.0.1-security",
5656
"gl": "^4.0.4",
5757
"glob": "^7.1.2",
58-
"jest": "^21.2.1",
59-
"jest-cli": "^22.0.4",
58+
"jest": "^23.5.0",
59+
"jest-cli": "^23.5.0",
6060
"mkdirp": "^0.5.1",
6161
"node-sass": "^4.7.2",
62-
"postcss": "^6.0.14",
63-
"postcss-combine-duplicated-selectors": "^3.1.4",
64-
"postcss-custom-properties": "^6.2.0",
62+
"postcss": "^7.0.2",
63+
"postcss-combine-duplicated-selectors": "^6.0.2",
64+
"postcss-custom-properties": "^7.0.0",
6565
"postcss-remove-root": "^0.0.2",
66-
"prettier": "1.12.1",
66+
"prettier": "1.14.2",
6767
"react": "^16.0.0",
68-
"react-ace": "^5.9.0",
68+
"react-ace": "^6.1.4",
6969
"react-dom": "^16.0.0",
7070
"react-hot-loader": "^4.0.0-beta.21",
7171
"react-inspector": "^2.2.2",
7272
"react-test-renderer": "^16.2.0",
7373
"rimraf": "2.6.2",
74-
"sass-loader": "^6.0.6",
75-
"style-loader": "^0.19.1",
74+
"sass-loader": "^7.1.0",
75+
"style-loader": "^0.23.0",
7676
"webpack": "^3.10.0",
7777
"webpack-dev-server": "^2.11.1"
7878
},

src/components/fields/derived.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,12 +219,12 @@ const numericFractionModifyPlotProps = (props, context, plotProps) => {
219219
const min = (attrMeta && attrMeta.min) || 0;
220220
const max = (attrMeta && attrMeta.max) || 1;
221221
if (isNumeric(fullValue)) {
222-
plotProps.fullValue = Math.round(100 * (fullValue - min) / (max - min));
222+
plotProps.fullValue = Math.round((100 * (fullValue - min)) / (max - min));
223223
}
224224

225225
plotProps.updatePlot = v => {
226226
if (isNumeric(v)) {
227-
updatePlot(v / 100 * (max - min) + min);
227+
updatePlot((v / 100) * (max - min) + min);
228228
} else {
229229
updatePlot(v);
230230
}

0 commit comments

Comments
 (0)