Update NPM packages and Vitepress to latest versions - #2632
Open
grunt22fox wants to merge 4 commits into
Open
Conversation
Contributor
|
I updated the other deps separately, but I'm not a fan of shipping alpha in production precisely due to the name of the version. Last time I did that in production I switched an entire website to a different framework. Furthermore, neither Vite vulnerabilities identified affect us because we do not use SSR in production. It does affect when running the dev instance, which nobody should be exposing to the public anyway and most certainly shouldn't be used in prod (and we can't even use it in prod because we're using GitHub Pages.) |
Member
Author
|
Updated the main PR message accordingly to reflect newer changes made |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates NPM packages to their latest versions while making changes necessary to remove errors or warnings that impede guide functionality.
Vitepress 2.0 alpha is tested as working in production on other guides and has made no observable impact on the ability to use or access the site.
As a consequence of updating to the latest packages, this PR will additionally resolve various vulnerabilities that have been accumulated over the past several months (which may not apply to a production deployment but are nice to resolve as part of general maintenance).
The following is a more granular view of the changes made in this PR:
.vitepressdirectory to comply with future changes to Vite (transitioning to Node.js for configuration loading) that require explicit declaration of ECMAScript modules. .JS files containing ECMAScript module code were renamed to .MJS (and imports reconfigured) to resolve runtime warnings.Website is tested working on Fedora 44 with the above applied updates as of 08/25/2026.
As a consequence, this PR will resolve #2659, #2660, #2663, #2665, and #2666.