Repository navigation
chore: reduce vulnerable build dependency exposure - #445
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe change constrains vulnerable ChangesBuild safety controls
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to The dependency and documentation build changes are merge-ready after normal checks and review; no actionable merge-blocking risk remains. Sequence Diagram(s)sequenceDiagram
participant WebsiteBuild
participant findBlockedDocImages
participant FileSystem
participant Docusaurus
WebsiteBuild->>findBlockedDocImages: scan documentation image roots
findBlockedDocImages->>FileSystem: read image headers
FileSystem-->>findBlockedDocImages: file bytes and paths
findBlockedDocImages-->>WebsiteBuild: blocked records or success
WebsiteBuild->>Docusaurus: build site when no blocked images exist
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
Full details: Linked Issues checkExplanation The reviewable changes implement the PostCSS and Nano ID pins and add the required documentation image checks for ICNS, JPEG XL, HEIF, renamed files, extended compatible brands, and zero-sized boxes. Verification of the lockfile requirements and supported dependency graphs is inconclusive because pnpm-lock.yaml was excluded by the !**/pnpm-lock.yaml and !pnpm-lock.yaml path filters. Resolution Review pnpm-lock.yaml and verify that the stale leading pnpm package-manager document was removed, importer and package counts are unchanged, and image-size, serialize-javascript, uuid, and esbuild remain on supported parent graphs without incompatible overrides. Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 8 functions across 2 files. (2 skipped: 2 unsupported.)
Comment |
Summary
Pins the vulnerable PostCSS and Nano ID ranges to compatible patched releases. The lockfile now contains one workspace document instead of the unused pnpm 11.19 package-manager graph; its six importers and 1,903 workspace package resolutions are otherwise unchanged apart from those two versions.
Adds a documentation pre-build gate for the unpatched
[email protected]path used by Docusaurus. It rejects ICNS, JPEG XL, and HEIF signatures before Docusaurus runs, including compatible brands beyond the initial header, zero-sized boxes that extend to EOF, and files renamed with a supported extension. The remainingserialize-javascript,uuid, andesbuildadvisories stay on their supported parent graphs instead of receiving incompatible major overrides.This branch has the same reviewed tree as #432, replayed as the three relevant dependency-security commits on the latest
main. It replaces #432 so the repository can use its normal rebase merge without replaying the already-landed lifecycle stack.The latest-main CI run passes all 1,145 real/mock cases, Socket.IO 4.7 and 4.8, macOS/Windows/Linux, Chromium, documentation, package, conformance, coverage, and public-surface checks.
Related issue
Closes #431
Refs #432
Checklist