mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Update React to 16.3 (#18768)
* Update React to 16.3 * Switch off specific eslint rules * Update enzyme snapshots * Incorporate PR feedback
This commit is contained in:
parent
0f8a00304b
commit
f579d2299f
7 changed files with 45 additions and 11 deletions
|
@ -10,6 +10,9 @@ module.exports = {
|
|||
|
||||
settings: {
|
||||
'import/resolver': 'eslint-import-resolver-node',
|
||||
react: {
|
||||
version: '16.3',
|
||||
},
|
||||
},
|
||||
|
||||
overrides: [
|
||||
|
|
|
@ -165,11 +165,11 @@
|
|||
"proxy-from-env": "1.0.0",
|
||||
"querystring-browser": "1.0.4",
|
||||
"raw-loader": "0.5.1",
|
||||
"react": "^16.2.0",
|
||||
"react": "^16.3.0",
|
||||
"react-addons-shallow-compare": "15.6.2",
|
||||
"react-anything-sortable": "^1.7.4",
|
||||
"react-color": "^2.13.8",
|
||||
"react-dom": "^16.2.0",
|
||||
"react-dom": "^16.3.0",
|
||||
"react-grid-layout": "^0.16.2",
|
||||
"react-input-range": "^1.3.0",
|
||||
"react-markdown": "^3.1.4",
|
||||
|
|
|
@ -118,8 +118,6 @@ module.exports = {
|
|||
'react/jsx-first-prop-new-line': ['error', 'multiline-multiprop'],
|
||||
'react/jsx-equals-spacing': ['error', 'never'],
|
||||
'react/jsx-indent': ['error', 2],
|
||||
'react/no-did-mount-set-state': 'error',
|
||||
'react/no-did-update-set-state': 'error',
|
||||
'react/no-will-update-set-state': 'error',
|
||||
'react/no-is-mounted': 'error',
|
||||
'react/no-multi-comp': ['error', { ignoreStateless: true }],
|
||||
|
|
|
@ -21,6 +21,7 @@ exports[`renders KuiListingTable 1`] = `
|
|||
class="kuiToolBarSearchBox__input"
|
||||
placeholder="Search..."
|
||||
type="text"
|
||||
value=""
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -41,7 +42,6 @@ exports[`renders KuiListingTable 1`] = `
|
|||
aria-label="Select all rows"
|
||||
class="kuiCheckBox"
|
||||
type="checkbox"
|
||||
value="on"
|
||||
/>
|
||||
</div>
|
||||
</th>
|
||||
|
@ -81,7 +81,6 @@ exports[`renders KuiListingTable 1`] = `
|
|||
aria-label="Select row"
|
||||
class="kuiCheckBox"
|
||||
type="checkbox"
|
||||
value="on"
|
||||
/>
|
||||
</div>
|
||||
</td>
|
||||
|
@ -117,7 +116,6 @@ exports[`renders KuiListingTable 1`] = `
|
|||
aria-label="Select row"
|
||||
class="kuiCheckBox"
|
||||
type="checkbox"
|
||||
value="on"
|
||||
/>
|
||||
</div>
|
||||
</td>
|
||||
|
@ -153,7 +151,6 @@ exports[`renders KuiListingTable 1`] = `
|
|||
aria-label="Select row"
|
||||
class="kuiCheckBox"
|
||||
type="checkbox"
|
||||
value="on"
|
||||
/>
|
||||
</div>
|
||||
</td>
|
||||
|
|
|
@ -131,9 +131,9 @@
|
|||
"pngjs": "3.3.1",
|
||||
"prop-types": "^15.6.0",
|
||||
"puid": "1.0.5",
|
||||
"react": "^16.2.0",
|
||||
"react": "^16.3.0",
|
||||
"react-clipboard.js": "^1.1.2",
|
||||
"react-dom": "^16.2.0",
|
||||
"react-dom": "^16.3.0",
|
||||
"react-markdown-renderer": "^1.4.0",
|
||||
"react-portal": "^3.2.0",
|
||||
"react-redux": "^5.0.5",
|
||||
|
|
|
@ -6102,7 +6102,7 @@ react-datepicker@v1.4.1:
|
|||
react-onclickoutside "^6.7.1"
|
||||
react-popper "^0.9.1"
|
||||
|
||||
react-dom@^16.0.0, react-dom@^16.2.0:
|
||||
react-dom@^16.0.0:
|
||||
version "16.2.0"
|
||||
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.2.0.tgz#69003178601c0ca19b709b33a83369fe6124c044"
|
||||
dependencies:
|
||||
|
@ -6111,6 +6111,15 @@ react-dom@^16.0.0, react-dom@^16.2.0:
|
|||
object-assign "^4.1.1"
|
||||
prop-types "^15.6.0"
|
||||
|
||||
react-dom@^16.3.0:
|
||||
version "16.3.2"
|
||||
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.3.2.tgz#cb90f107e09536d683d84ed5d4888e9640e0e4df"
|
||||
dependencies:
|
||||
fbjs "^0.8.16"
|
||||
loose-envify "^1.1.0"
|
||||
object-assign "^4.1.1"
|
||||
prop-types "^15.6.0"
|
||||
|
||||
react-input-autosize@^2.1.2, react-input-autosize@^2.2.1:
|
||||
version "2.2.1"
|
||||
resolved "https://registry.yarnpkg.com/react-input-autosize/-/react-input-autosize-2.2.1.tgz#ec428fa15b1592994fb5f9aa15bb1eb6baf420f8"
|
||||
|
@ -6268,6 +6277,15 @@ react@>=0.13.3, react@^16.2.0:
|
|||
object-assign "^4.1.1"
|
||||
prop-types "^15.6.0"
|
||||
|
||||
react@^16.3.0:
|
||||
version "16.3.2"
|
||||
resolved "https://registry.yarnpkg.com/react/-/react-16.3.2.tgz#fdc8420398533a1e58872f59091b272ce2f91ea9"
|
||||
dependencies:
|
||||
fbjs "^0.8.16"
|
||||
loose-envify "^1.1.0"
|
||||
object-assign "^4.1.1"
|
||||
prop-types "^15.6.0"
|
||||
|
||||
reactcss@^1.2.0:
|
||||
version "1.2.3"
|
||||
resolved "https://registry.yarnpkg.com/reactcss/-/reactcss-1.2.3.tgz#c00013875e557b1cf0dfd9a368a1c3dab3b548dd"
|
||||
|
|
18
yarn.lock
18
yarn.lock
|
@ -10296,6 +10296,15 @@ react-dom@^16.0.0, react-dom@^16.2.0:
|
|||
object-assign "^4.1.1"
|
||||
prop-types "^15.6.0"
|
||||
|
||||
react-dom@^16.3.0:
|
||||
version "16.3.2"
|
||||
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.3.2.tgz#cb90f107e09536d683d84ed5d4888e9640e0e4df"
|
||||
dependencies:
|
||||
fbjs "^0.8.16"
|
||||
loose-envify "^1.1.0"
|
||||
object-assign "^4.1.1"
|
||||
prop-types "^15.6.0"
|
||||
|
||||
react-draggable@3.x, "react-draggable@^2.2.6 || ^3.0.3":
|
||||
version "3.0.5"
|
||||
resolved "https://registry.yarnpkg.com/react-draggable/-/react-draggable-3.0.5.tgz#c031e0ed4313531f9409d6cd84c8ebcec0ddfe2d"
|
||||
|
@ -10507,6 +10516,15 @@ react@>=0.13.3, react@^16.2.0:
|
|||
object-assign "^4.1.1"
|
||||
prop-types "^15.6.0"
|
||||
|
||||
react@^16.3.0:
|
||||
version "16.3.2"
|
||||
resolved "https://registry.yarnpkg.com/react/-/react-16.3.2.tgz#fdc8420398533a1e58872f59091b272ce2f91ea9"
|
||||
dependencies:
|
||||
fbjs "^0.8.16"
|
||||
loose-envify "^1.1.0"
|
||||
object-assign "^4.1.1"
|
||||
prop-types "^15.6.0"
|
||||
|
||||
reactcss@1.2.3, reactcss@^1.2.0:
|
||||
version "1.2.3"
|
||||
resolved "https://registry.yarnpkg.com/reactcss/-/reactcss-1.2.3.tgz#c00013875e557b1cf0dfd9a368a1c3dab3b548dd"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue