Skip to content

Dependencies upgrade #3380

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

Merged
merged 12 commits into from
Jul 30, 2025
Merged

Dependencies upgrade #3380

merged 12 commits into from
Jul 30, 2025

Conversation

T4rk1n
Copy link
Contributor

@T4rk1n T4rk1n commented Jul 30, 2025

  • Update build dependencies
  • Update dash-renderer cookie version to latest
  • Replace request in dash-html-components build scripts with native fetch.
  • Update styled-jsx in core components

Copy link
Contributor

@gvwilson gvwilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks OK but I have a question about the code changes that are landing at the same time.

@@ -136,24 +135,31 @@ function extractElements(attributes) {

// A local copy of the MDN attributes web page has been saved for reference:
// fs.readFile('./data/attributes.html', 'utf-8', (error, html) => {
request(htmlURL, (error, response, html) => {
if (error) {
fetch(htmlURL)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this in with dependencies upgrade? (not arguing against it, just don't understand)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The request dependency keeps on having security vulnerability and there was no resolving from updating, fetch has been natively available since node v18 so I opted to replace it instead.

@@ -63,14 +62,21 @@ function extractElements($) {
}, []);
}

request(refUrl, (error, response, html) => {
if (error) {
fetch(refUrl)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same question as above - how does this tie to dep upgrade?

@T4rk1n T4rk1n merged commit 2b47849 into dev Jul 30, 2025
35 of 39 checks passed
@T4rk1n T4rk1n deleted the dep-up-32 branch July 30, 2025 21:09
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.

2 participants