Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update UI dependencies #2794

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

dehaansa
Copy link
Contributor

@dehaansa dehaansa commented Feb 20, 2025

PR Description

Attempting to resolve as many of https://github.com/grafana/alloy/security/dependabot as possible.

@dehaansa
Copy link
Contributor Author

Having an issue building with syntax-highlighter, as it's incompatible with react 19, see react-syntax-highlighter/react-syntax-highlighter#539 , but other dependencies pull in the types for 19.

➜  ui git:(chore/codeql-ui-dependencies) ✗ yarn why react
yarn why v1.22.22
[1/4] 🤔  Why do we have the module "react"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "[email protected]"
info Has been hoisted to "react"
info This module exists because it's specified in "dependencies".
info Disk size without dependencies: "388KB"
info Disk size with unique dependencies: "420KB"
info Disk size with transitive dependencies: "448KB"
info Number of shared dependencies: 2
✨  Done in 0.20s.
➜  ui git:(chore/codeql-ui-dependencies) ✗ yarn why @types/react
yarn why v1.22.22
[1/4] 🤔  Why do we have the module "@types/react"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "@types/[email protected]"
info Has been hoisted to "@types/react"
info This module exists because it's specified in "devDependencies".
info Disk size without dependencies: "388KB"
info Disk size with unique dependencies: "1.61MB"
info Disk size with transitive dependencies: "1.61MB"
info Number of shared dependencies: 3
=> Found "@types/react-dom#@types/[email protected]"
info This module exists because "@types#react-dom" depends on it.
info Disk size without dependencies: "848KB"
info Disk size with unique dependencies: "2.03MB"
info Disk size with transitive dependencies: "2.03MB"
info Number of shared dependencies: 1
=> Found "@types/react-syntax-highlighter#@types/[email protected]"
info This module exists because "@types#react-syntax-highlighter" depends on it.
info Disk size without dependencies: "848KB"
info Disk size with unique dependencies: "2.03MB"
info Disk size with transitive dependencies: "2.03MB"
info Number of shared dependencies: 1
=> Found "@types/react-table#@types/[email protected]"
info This module exists because "@grafana#ui#@types#react-table" depends on it.
info Disk size without dependencies: "848KB"
info Disk size with unique dependencies: "2.03MB"
info Disk size with transitive dependencies: "2.03MB"
info Number of shared dependencies: 1
✨  Done in 0.23s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant