chore: consolidate dependabot /docs dependency bumps - #1269
Conversation
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: ashnamehrotra <26015861+ashnamehrotra@users.noreply.github.com>
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Pull request overview
Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Pull request overview
Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.
| "path-to-regexp": "^1.8.0", | ||
| "on-headers": "^1.1.0" | ||
| "on-headers": "^1.1.0", | ||
| "webpack": "5.105.4" |
| "react-router-dom": "^7.18.2", | ||
| "react": "^19.2.1", | ||
| "react-dom": "^19.2.1", | ||
| "react-router": "^7.18.2", |
Numerous open Dependabot PRs each bumped a single npm dependency in
/docs. This consolidates all of them into one change todocs/package.jsonanddocs/yarn.lock, replacing PRs #1248–1268 and #1199–1201.Direct dependency bumps (
docs/package.json)js-yaml: 4.1.1 →^4.3.1(resolves to 4.3.2 inyarn.lock)path-to-regexp: 1.8.0 → 8.3.0 (major)react/react-dom: 19.2.0 →^19.2.1(resolves to 19.2.8 inyarn.lock, bumped together — Docusaurus requires matching versions)react-router: 6.28.1 →^7.18.2(major, resolves to 7.18.3 inyarn.lock)react-router-dom: 7.18.2 → 7.18.3All of the above use the same
^caret-range convention as the rest ofdocs/package.json'sdependencies, soyarn.lockresolves each to the latest compatible patch/minor release rather than the exact literal version listed in the individual Dependabot PRs. This is consistent with how Dependabot's own PRs work (they also bump to a caret range, and the lockfile can drift further on subsequentyarn install). The versions above reflect what's actually pinned inyarn.lockin this PR.Transitive dependency bumps (
docs/yarn.lock)lodash, webpack-dev-server, http-proxy-middleware, postcss, websocket-driver, nanoid, joi, shell-quote, fast-uri, launch-editor, picomatch,
@babel/plugin-transform-modules-systemjs, svgo, follow-redirects — all bumped to or above requested target versions.Notable deviations
webpackis capped at 5.105.4 instead of the requested 5.110.2. Webpack 5.106.0+ introduced stricterProgressPluginschema validation that is incompatible with Docusaurus'swebpackbarintegration, breakingyarn buildwith aValidationError. This is corroborated by the real Dependabot PR chore: bump webpack from 5.103.0 to 5.110.2 in /docs #1255, whose CI check ("Generate docs website to GitHub Pages") fails for the same reason. 5.105.4 is the latest patch before the regression. This cap is enforced via Yarn'sresolutionsfield (alongsidetrim,got,js-yaml,on-headers) rather than as a plaindependencies/devDependenciesentry, so every transitive consumer ofwebpackin/docsresolves to this single pinned version instead of potentially picking up a different one.node-forge(PR chore: bump node-forge from 1.3.2 to 1.4.0 in /docs #1260) is no longer a dependency at all — webpack-dev-server 5.2.6 dropped it, so that bump is moot.brace-expansionwas already at 1.1.18 from PR chore: bump brace-expansion from 1.1.12 to 1.1.18 in /docs #1246 (merged) — no change needed.Major version bumps, no code changes required
react-routerandpath-to-regexpare not imported directly anywhere in/docssource (only pulled in as indirect/pinned dependencies), so their major-version jumps needed no source adjustments.yarn buildin/docshas been verified to complete successfully with thispackage.json/yarn.lock.