Skip to content

Commit 6e68501

Browse files
authored
chore(deps): patch website Dependabot advisories (#1187)
* chore(deps): patch website Dependabot advisories in package-lock.json Bump brace-expansion, fast-uri, js-yaml (3.x and 4.x lines), and nanoid to their patched versions via package.json overrides / lockfile resolution. All four are transitive under @docusaurus/* or docusaurus-plugin-llms, pulled in by parents whose declared semver ranges already permit the fix (fast-uri, nanoid) or that mix two incompatible major lines (js-yaml 3.x under gray-matter vs 4.x elsewhere), which now get separate nested overrides. image-size (ICNS/JXL/HEIF infinite-loop advisories) has no patched release upstream (2.0.2 is latest). It is only invoked by Docusaurus's markdown image-size transform against files already committed to this repo's docs/static trees at build time -- never attacker- or user-supplied input, and no ICNS/JXL/HEIF file exists in the repo. Risk accepted; left unpatched pending an upstream fix. Verified with a clean `npm ci` + `npm run build` from website/. * chore(deps): bump website browserslist to 4.28.8 Two high-severity browserslist alerts (fix >= 4.28.7) landed against website/package-lock.json while the rest of this branch was in review, so no PR covered them. No override needed: every parent already declares a ^4.x range that admits 4.28.7+, so npm update re-resolved in range. The lockfile diff is browserslist plus its own data-table dependencies (caniuse-lite, electron-to-chromium, node-releases, update-browserslist-db, baseline-browser-mapping) and nothing else. Verified: the lockfile integrity matches the npm registry's published hash for 4.28.8, a clean rm -rf node_modules && npm ci installs from it, and npm run build succeeds (174 documents processed).
1 parent e141a27 commit 6e68501

2 files changed

Lines changed: 43 additions & 39 deletions

File tree

‎website/package-lock.json‎

Lines changed: 38 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎website/package.json‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@
5050
"sockjs": {
5151
"uuid": "^11.1.1"
5252
},
53-
"brace-expansion": "^5.0.8"
53+
"brace-expansion": "^5.0.9",
54+
"js-yaml": "^4.3.1",
55+
"gray-matter": {
56+
"js-yaml": "^3.15.1"
57+
}
5458
}
5559
}

0 commit comments

Comments
 (0)