Skip to content

Commit

Permalink
[Presentation] Remove unused dependencies (elastic#206689)
Browse files Browse the repository at this point in the history
Closes elastic#205639

## Summary

Now that elastic#205341 is merged, we can
remove both `react-grid-layout` and `react-resizable` since they are no
longer used in Dashboard (and Dashboard was the only consumer, so they
are no longer used anywhere in Kibana).

### Checklist

- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks
 
There are no risks to removing an unused dependency.

---------

Co-authored-by: kibanamachine <[email protected]>
  • Loading branch information
2 people authored and viduni94 committed Jan 23, 2025
1 parent 5cf9a58 commit 8f76591
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 61 deletions.
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1217,14 +1217,12 @@
"react-dom-18": "npm:react-dom@~18.2.0",
"react-dropzone": "^4.2.9",
"react-fast-compare": "^2.0.4",
"react-grid-layout": "^1.3.4",
"react-hook-form": "^7.44.2",
"react-intl": "6.6.6",
"react-markdown": "^6.0.3",
"react-popper-tooltip": "^3.1.1",
"react-recompose": "^0.33.0",
"react-redux": "^7.2.8",
"react-resizable": "^3.0.4",
"react-reverse-portal": "^2.1.2",
"react-router": "^5.3.4",
"react-router-config": "^5.1.1",
Expand Down Expand Up @@ -1643,7 +1641,6 @@
"@types/rbush": "^3.0.0",
"@types/react": "~18.2.0",
"@types/react-dom": "~18.2.0",
"@types/react-grid-layout": "^1.3.2",
"@types/react-is": "^17.0.3",
"@types/react-recompose": "^0.33.4",
"@types/react-router": "^5.1.20",
Expand Down
21 changes: 0 additions & 21 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2360,25 +2360,6 @@
"minimumReleaseAge": "7 days",
"enabled": true
},
{
"groupName": "react-resizable",
"matchDepNames": [
"react-resizable"
],
"reviewers": [
"team:kibana-presentation"
],
"matchBaseBranches": [
"main"
],
"labels": [
"Team:Presentation",
"backport:all-open",
"release_note:skip"
],
"minimumReleaseAge": "7 days",
"enabled": true
},
{
"groupName": "misc kibana-presentation dependencies",
"matchDepNames": [
Expand All @@ -2405,11 +2386,9 @@
"groupName": "kibana-presentation react dependencies",
"matchDepNames": [
"react-dropzone",
"react-grid-layout",
"react-recompose",
"react-shortcuts",
"redux-thunks",
"@types/react-grid-layout",
"@types/react-recompose"
],
"reviewers": [
Expand Down
40 changes: 3 additions & 37 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12278,13 +12278,6 @@
dependencies:
"@types/react" "*"

"@types/react-grid-layout@^1.3.2":
version "1.3.2"
resolved "https://registry.yarnpkg.com/@types/react-grid-layout/-/react-grid-layout-1.3.2.tgz#9f195666a018a5ae2b773887e3b552cb4378d67f"
integrity sha512-ZzpBEOC1JTQ7MGe1h1cPKSLP4jSWuxc+yvT4TsAlEW9+EFPzAf8nxQfFd7ea9gL17Em7PbwJZAsiwfQQBUklZQ==
dependencies:
"@types/react" "*"

"@types/react-is@^17.0.3":
version "17.0.3"
resolved "https://registry.yarnpkg.com/@types/react-is/-/react-is-17.0.3.tgz#2d855ba575f2fc8d17ef9861f084acc4b90a137a"
Expand Down Expand Up @@ -15593,7 +15586,7 @@ cloneable-readable@^1.0.0:
process-nextick-args "^2.0.0"
readable-stream "^2.3.5"

clsx@^1.0.4, clsx@^1.1.1:
clsx@^1.0.4:
version "1.2.1"
resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.2.1.tgz#0ddc4a20a549b59c93a4116bb26f5294ca17dc12"
integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==
Expand Down Expand Up @@ -23526,7 +23519,7 @@ [email protected], lodash.isempty@^4.4.0:
resolved "https://registry.yarnpkg.com/lodash.isempty/-/lodash.isempty-4.4.0.tgz#6f86cbedd8be4ec987be9aaf33c9684db1b31e7e"
integrity sha1-b4bL7di+TsmHvpqvM8loTbGzHn4=

lodash.isequal@^4.0.0, lodash.isequal@^4.5.0:
lodash.isequal@^4.5.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0"
integrity sha1-QVxEePK8wwEgwizhDtMib30+GOA=
Expand Down Expand Up @@ -27132,7 +27125,7 @@ prompts@^2.0.1, prompts@^2.4.0, prompts@^2.4.2, prompts@~2.4.2:
kleur "^3.0.3"
sisteransi "^1.0.5"

prop-types@15.x, prop-types@^15.0.0, prop-types@^15.5.0, prop-types@^15.5.7, prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.2, prop-types@^15.7.0, prop-types@^15.7.2, prop-types@^15.8.1:
prop-types@^15.0.0, prop-types@^15.5.0, prop-types@^15.5.7, prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.2, prop-types@^15.7.0, prop-types@^15.7.2, prop-types@^15.8.1:
version "15.8.1"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5"
integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==
Expand Down Expand Up @@ -27594,14 +27587,6 @@ react-dom@^17.0.1, react-dom@^17.0.2:
object-assign "^4.1.1"
scheduler "^0.20.2"

react-draggable@^4.0.0, react-draggable@^4.0.3:
version "4.4.4"
resolved "https://registry.yarnpkg.com/react-draggable/-/react-draggable-4.4.4.tgz#5b26d9996be63d32d285a426f41055de87e59b2f"
integrity sha512-6e0WdcNLwpBx/YIDpoyd2Xb04PB0elrDrulKUgdrIlwuYvxh5Ok9M+F8cljm8kPXXs43PmMzek9RrB1b7mLMqA==
dependencies:
clsx "^1.1.1"
prop-types "^15.6.0"

react-dropzone@^11.7.1:
version "11.7.1"
resolved "https://registry.yarnpkg.com/react-dropzone/-/react-dropzone-11.7.1.tgz#3851bb75b26af0bf1b17ce1449fd980e643b9356"
Expand Down Expand Up @@ -27679,17 +27664,6 @@ react-focus-on@^3.9.1:
use-callback-ref "^1.3.0"
use-sidecar "^1.1.2"

react-grid-layout@^1.3.4:
version "1.3.4"
resolved "https://registry.yarnpkg.com/react-grid-layout/-/react-grid-layout-1.3.4.tgz#4fa819be24a1ba9268aa11b82d63afc4762a32ff"
integrity sha512-sB3rNhorW77HUdOjB4JkelZTdJGQKuXLl3gNg+BI8gJkTScspL1myfZzW/EM0dLEn+1eH+xW+wNqk0oIM9o7cw==
dependencies:
clsx "^1.1.1"
lodash.isequal "^4.0.0"
prop-types "^15.8.1"
react-draggable "^4.0.0"
react-resizable "^3.0.4"

react-hook-form@^7.44.2:
version "7.44.3"
resolved "https://registry.yarnpkg.com/react-hook-form/-/react-hook-form-7.44.3.tgz#a99e560c6ef2b668db1daaebc4f98267331b6828"
Expand Down Expand Up @@ -27847,14 +27821,6 @@ react-remove-scroll@^2.5.6:
use-callback-ref "^1.3.0"
use-sidecar "^1.1.2"

react-resizable@^3.0.4:
version "3.0.4"
resolved "https://registry.yarnpkg.com/react-resizable/-/react-resizable-3.0.4.tgz#aa20108eff28c52c6fddaa49abfbef8abf5e581b"
integrity sha512-StnwmiESiamNzdRHbSSvA65b0ZQJ7eVQpPusrSmcpyGKzC0gojhtO62xxH6YOBmepk9dQTBi9yxidL3W4s3EBA==
dependencies:
prop-types "15.x"
react-draggable "^4.0.3"

react-reverse-portal@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/react-reverse-portal/-/react-reverse-portal-2.1.2.tgz#75b8daa186ccb9a040ba566d6391326431fccd51"
Expand Down

0 comments on commit 8f76591

Please sign in to comment.