From 215d9a066a4b23c262dc25cbd790d2cd1eff5bcb Mon Sep 17 00:00:00 2001 From: Spencer Date: Wed, 17 Jan 2018 02:14:12 -0700 Subject: [PATCH] Upgrade react deps (#16025) * [yarn] upgrade react deps * [yarn] reinstall pivotal-ui so that react dep is deduped * [yarn] remove unused deps * [react-ace] update snapshots to include new aria props * [react-input-range] update snapshot with new allowSameValues prop, default is still false * [react-select] update snapshots with new default from features added since 1.0.0-rc5 --- package.json | 38 ++-- .../__snapshots__/list_control.test.js.snap | 7 +- .../__snapshots__/range_control.test.js.snap | 1 + .../__snapshots__/code_editor.test.js.snap | 2 + yarn.lock | 179 ++++++++---------- 5 files changed, 102 insertions(+), 125 deletions(-) diff --git a/package.json b/package.json index dda88691f8094..cdff731017b43 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,7 @@ "babel-plugin-transform-object-rest-spread": "6.26.0", "babel-polyfill": "6.20.0", "babel-preset-env": "1.4.0", - "babel-preset-react": "6.22.0", + "babel-preset-react": "^6.24.1", "babel-register": "6.18.0", "bluebird": "2.9.34", "body-parser": "1.12.0", @@ -126,7 +126,7 @@ "expose-loader": "0.7.3", "extract-text-webpack-plugin": "3.0.1", "file-loader": "1.1.4", - "focus-trap-react": "3.0.5", + "focus-trap-react": "^3.1.1", "font-awesome": "4.4.0", "glob": "5.0.13", "glob-all": "3.0.1", @@ -170,23 +170,20 @@ "proxy-from-env": "1.0.0", "querystring-browser": "1.0.4", "raw-loader": "0.5.1", - "react": "16.0.0", - "react-ace": "5.5.0", - "react-anything-sortable": "1.7.3", - "react-color": "2.11.7", - "react-dom": "16.0.0", - "react-grid-layout": "0.16.0", - "react-input-autosize": "1.1.0", - "react-input-range": "1.2.1", - "react-markdown": "3.1.0", - "react-redux": "5.0.5", - "react-router": "3.2.0", + "react": "^16.2.0", + "react-ace": "^5.9.0", + "react-anything-sortable": "^1.7.3", + "react-color": "^2.13.8", + "react-dom": "^16.2.0", + "react-grid-layout": "^0.16.2", + "react-input-range": "^1.3.0", + "react-markdown": "^3.1.4", + "react-redux": "^5.0.6", + "react-router": "^3.2.0", "react-router-dom": "4.2.2", - "react-router-redux": "4.0.4", - "react-select": "1.0.0-rc.5", - "react-sizeme": "2.3.4", - "react-sortable": "1.1.0", - "react-test-renderer": "16.0.0", + "react-router-redux": "^4.0.8", + "react-select": "^1.2.0", + "react-sizeme": "^2.3.6", "react-toggle": "4.0.2", "reactcss": "1.2.3", "redux": "3.7.2", @@ -236,7 +233,7 @@ "chromedriver": "2.34.0", "classnames": "2.2.5", "enzyme": "3.2.0", - "enzyme-adapter-react-16": "1.1.0", + "enzyme-adapter-react-16": "^1.1.1", "enzyme-to-json": "3.1.4", "eslint": "4.14.0", "eslint-plugin-babel": "4.1.2", @@ -310,8 +307,7 @@ }, "resolutions": { "angular": "1.6.5", - "moment": "2.13.0", - "react": "16.0.0" + "moment": "2.13.0" }, "engines": { "node": "6.12.2", diff --git a/src/core_plugins/input_control_vis/public/components/vis/__snapshots__/list_control.test.js.snap b/src/core_plugins/input_control_vis/public/components/vis/__snapshots__/list_control.test.js.snap index 22ddf2f4fc27a..2f7a39c8b5b0d 100644 --- a/src/core_plugins/input_control_vis/public/components/vis/__snapshots__/list_control.test.js.snap +++ b/src/core_plugins/input_control_vis/public/components/vis/__snapshots__/list_control.test.js.snap @@ -31,7 +31,6 @@ exports[`renders ListControl 1`] = ` label="list control" >