Repository navigation
Website - Upgrade Docusaurus to 3.10.2 and group npm security updates - #909
Open
gusui-msft wants to merge 2 commits into
Open
gusui-msft wants to merge 2 commits into
gusui-msft wants to merge 2 commits into
Conversation
Upgrade the documentation website from Docusaurus 2.0.0-beta.1 on Node 14 to Docusaurus 3.10.2 on Node 22 LTS, resolve all 101 npm audit advisories in website/package-lock.json (superseding #908), group future website security updates in Dependabot, and exclude docs/ and website/ from Docker build contexts. Also fix the relative training profile link in docs/user-tutorial/benchmarks/model-benchmarks.md. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move .dockerignore exclusions to a dedicated PR and remove the optional engines.node declaration from website/package.json and package-lock.json. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Missing docs/ and website/ exclusions in .dockerignore leave frontend files in images and allow website dependency changes to invalidate installation layers.
2 open issues
1 file not reviewed
website/package-lock.json: Generated file
Review effort: Balanced
gusui-msft
marked this pull request as ready for review
December 2, 2026 22:59
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #909 +/- ##
=======================================
Coverage 86.62% 86.62%
=======================================
Files 114 114
Lines 9224 9224
=======================================
Hits 7990 7990
Misses 1234 1234
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
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.

Description
website/is pinned to@docusaurus/*@2.0.0-beta.1with a 2021lockfileVersion: 1lockfile and built on Node 14 in.github/workflows/gh-pages.yml. Because Node 14'snpm v6cannot readlockfileVersion: 3lockfiles generated by Dependabot (npm ERR! Cannot read property '@docusaurus/core' of undefined),/websitesecurity PRs (including open #908 and recent #898–#905) faildocs-build, while the pinned 2021 dependency tree keeps generating recurring security PRs.This PR upgrades the documentation site to Docusaurus
3.10.2on Node 22 LTS, resolves the backlog ofwebsite/advisories (superseding #908), and groups future/website/security updates into a single PR. No benchmark, runner, or container runtime packages are changed.Major Revision
website/package.jsonandwebsite/package-lock.jsonfrom Docusaurus2.0.0-beta.1/ React 17 to Docusaurus3.10.2/ React18.3.1/@mdx-js/react^3.0.0/prism-react-renderer^2.4.1, drop unused legacy loaders (@svgr/webpack,file-loader,url-loader), and addoverrides(serialize-javascript,tinypool,uuid,webpack-dev-server) for patched transitive releases.website/docusaurus.config.jsforprism-react-rendererv2 theme imports,markdown.format: 'detect'(keeping CommonMark parsing for.mdand MDX parsing for.mdx),markdown.hooks.onBrokenMarkdownLinks: 'warn', and explicitalgolia.appId(BH4D9OD16A)..github/workflows/gh-pages.ymlfromnode-version: '14'tonode-version: '22'.Minor Revision
/website/in.github/dependabot.yml(applies-to: security-updates) while preservingopen-pull-requests-limit: 0for non-security version updates.superbench/config/deepseek-v2-lite-training.yamlindocs/user-tutorial/benchmarks/model-benchmarks.mdwith the repositoryblob/mainURL so strict link checking passes.Validation
npm auditagainsthttps://registry.npmjs.org/: reduced from 101 advisories (7 critical, 65 high, 26 moderate, 3 low) onmain(fe4cf961) to 0.resolvedtarball URLs inwebsite/package-lock.jsonpoint tohttps://registry.npmjs.org/; cleannpm ciandnpm run buildsucceeded and generated all 46 static HTML pages.docusaurus start(webpack-dev-server6.1.0),docusaurus serve, MDX<Tabs>rendering, and live Algolia DocSearch queries (BH4D9OD16A/superbenchmark) in browser preview.misspell -error .(v0.3.4),actionlint1.7.12 on.github/workflows/gh-pages.yml, LF line endings, andgit diff --checkall passed. GitHub Pages SSH deployment (npm run deploy) runs only onpushtomainand is not exercised on pull requests.