Skip to content

Update packages and fix breaking changes#53

Merged
danielhmetro merged 4 commits intomasterfrom
johnb/packageupdate1
Aug 6, 2025
Merged

Update packages and fix breaking changes#53
danielhmetro merged 4 commits intomasterfrom
johnb/packageupdate1

Conversation

@bradyjoh
Copy link
Copy Markdown
Collaborator

@bradyjoh bradyjoh commented Aug 5, 2025

Lots of security updates as it hadn't been updated in a while. Running npm audit before showed 138 vulnerabilities (100 moderate, 31 high, 7 critical) and now it's at 9 vulnerabilities (3 moderate, 6 high)

  • React 17 to 19 with changes to how the render works, ReactDOM to createRoot
  • Highlight.js 10 to 11 with change from highlightBlock to highlightElement and loading of just RouterOS
  • other package updates required no code changes

NOTE: I'm not clear how this gets deployed, or even where it gets deployed. I'm hoping to add notes once I learn the process.


I tested locally and confirmed the app still boots up, highlighting still works, template injection still works, etc.

image image

Some notes from development:

 highlight.js   ^10.5.0  →  ^11.11.1
 mustache        ^3.0.0  →    ^4.2.0
 qs              ^6.7.0  →   ^6.14.0
 react          ^17.0.1  →   ^19.1.1
 react-dom      ^17.0.1  →   ^19.1.1
 react-scripts   ^4.0.1  →    ^5.0.1
 tachyons       ^4.11.1  →   ^4.12.0

- React 17 to 19 with changes to how the render works, ReactDOM to createRoot
- Highlight.js 10 to 11 with change from highlightBlock to highlightElement and loading of just RouterOS
@bradyjoh
Copy link
Copy Markdown
Collaborator Author

bradyjoh commented Aug 5, 2025

Netlify autobuild is failing:

UNSUPPORTED BUILD IMAGE
The build image for this site uses Ubuntu 16.04 Xenial Xerus, which is no longer supported.

From https://answers.netlify.com/t/please-read-end-of-support-for-xenial-build-image-everything-you-need-to-know/68239 it seems the solution is to update the build image setting, specifically "upgrade to the latest build image in the Netlify UI under Site settings > Build & deploy > Continuous Deployment > Build image selection"

@bradyjoh
Copy link
Copy Markdown
Collaborator Author

bradyjoh commented Aug 5, 2025

#52

Nevermind, I see there's already work to move to github pages so I'll wait for this (and help how I can) and then use that

@danielhmetro
Copy link
Copy Markdown
Member

#52

Nevermind, I see there's already work to move to github pages so I'll wait for this (and help how I can) and then use that

Can you just reconfirm this pull request works correctly after the change?

@danielhmetro danielhmetro merged commit 523898b into master Aug 6, 2025
1 of 5 checks passed
@danielhmetro danielhmetro deleted the johnb/packageupdate1 branch August 6, 2025 02:25
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.

3 participants