Remove deprecated Docusaurus config and update browserslist#794
Open
Juminstock wants to merge 3 commits into
Open
Remove deprecated Docusaurus config and update browserslist#794Juminstock wants to merge 3 commits into
Juminstock wants to merge 3 commits into
Conversation
Contributor
|
@Juminstock The build_and_preview check is failing with an explicit error. Please fix it and try on local with |
Migrates onBrokenMarkdownLinks to the new markdown.hooks API (Docusaurus 3.10+), removes the now-redundant babel.config.js since SWC is the default bundler, and refreshes caniuse-lite to the latest browserslist data. Requires #793 to be merged first.
Replace short-form range qualifiers (e.g. picomatch@^2) with the exact descriptors present in yarn.lock so Yarn 4 actually applies the overrides. Also force uuid@^8.3.2 to ^11.1.1 to close the remaining alert. Closes Dependabot alerts: brace-expansion, minimatch, picomatch (v2+v4), ajv (v6+v8), js-yaml (v3+v4), uuid.
Covers alert #137 (brace-expansion < 1.1.13). The previous commit only fixed the v2 range; v1 (^1.1.7 → 1.1.12) was still vulnerable.
9dbeba4 to
f6fcbff
Compare
|
Visit the preview URL for this PR (updated for commit f6fcbff): https://astar-docs--pr794-fix-update-configs-vgnft7qd.web.app (expires Fri, 12 Jun 2026 15:23:40 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: f2f13e9b593d211faae6343d67a88fac3fd7268d |
ipapandinas
approved these changes
Jun 8, 2026
ipapandinas
left a comment
Contributor
There was a problem hiding this comment.
I suggest to bump deps in a follow-up PR, resolutions is not the ideal implementation choice for this.
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.
Summary
Applies three housekeeping changes flagged as warnings by Docusaurus 3.10.1. This PR is intended to land after #793.
Changes
onBrokenMarkdownLinksfrom the deprecated top-level field to the newsiteConfig.markdown.hooks.onBrokenMarkdownLinksAPI introduced in Docusaurus 3.10babel.config.js— Docusaurus 3.10.1 uses SWC as the default bundler, making the Babel preset file redundantcaniuse-litefrom1.0.30001726to1.0.30001793to clear the stale browserslist data warningDependency
Requires #793 (Docusaurus 3.10.1 upgrade) to be merged before this PR, since
markdown.hooksis not available in 3.8.1.