chore(deps): patch 13 of 15 Dependabot alerts#47
Conversation
Fixes: - #15 quinn-proto DoS (high): Cargo.lock 0.11.13 -> 0.11.14 - #13/#14 astro XSS + replay: astro ^5 -> ^6 (6.3.2), @astrojs/mdx ^4 -> ^5 - #6 vite path traversal, #1 esbuild dev server: vitest ^2.1.9 -> ^3.2.4 dedupes nested vite to 6.4.2 and esbuild to 0.25.12 - #2-#5, #7-#10 dompurify (8 alerts): npm overrides force monaco's nested dompurify to ^3.4.3 Astro 6 changed prerender chunk layout, breaking the relative path readFileSync in website/src/lib/changelog.ts. Switched to a Vite ?raw import so the changelog is bundled at build time. Won't-fix (transitive, pinned by tauri 2.11.1): - #11 glib 0.18.5 unsoundness — needs tauri to bump gtk 0.18 -> 0.20 - #12 rand 0.7.3 unsoundness — pulled via tauri-utils -> kuchikiki -> phf_codegen; build-time only, custom-logger-triggered, non-exploitable Verified: tsc --noEmit clean, 82 vitest tests pass, cargo check clean, astro build clean.
|
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: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR upgrades Astro and related dependencies in the website package, refactors changelog loading to use Astro's raw import instead of Node filesystem APIs, and bumps vitest to version 3 in the root package dependencies. ChangesTooling and Dependency Updates
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
The v1.0.14 release commit shipped without entries for two app-relevant changes that landed before the tag: - #56 — cold-start window-hidden-until-paint + Monaco lazy-load from MainContent (entry bundle ~4 MB -> 524 kB / 151 kB gzip). - #47 — 13 of 15 open Dependabot alerts patched (quinn-proto, astro 5->6, vitest 2->3, dompurify override), with glib/rand deferred behind a Tauri bump. Also bumped the release date from 2026-05-15 to 2026-05-16 to match the actual tag date. Refs #47 #56
Summary
Closes 13 of 15 open Dependabot alerts. Two transitive alerts (
glib0.18.5,rand0.7.3) are deferred — they're pinned bytauri 2.11.1and need an upstream Tauri bump to GTK 0.20 bindings.Fixes
overridesforces monaco's nested dompurify to ^3.4.3Won't fix in this PR
glib0.18.5 unsoundness — pinned viatauri 2.11.1 → gtk 0.18.2 → glib 0.18. Needs Tauri upstream to bump GTK bindings to 0.20.rand0.7.3 unsoundness — pulled in viatauri-utils 2.9.1 → kuchikiki → selectors → phf_codegen 0.8 → phf_generator 0.8 → rand 0.7. Build-time codegen only; triggered only with a custom logger usingrand::rng()(non-exploitable in practice).Code change beyond lockfiles
Astro 6 changed prerender chunk layout, breaking the relative-path
readFileSyncinwebsite/src/lib/changelog.ts. Switched to a Vite?rawimport — bundled at build time, no runtime filesystem lookup, strictly more robust.Test plan
npx tsc --noEmitcleannpm test— all 82 vitest tests pass on vitest 3cargo checkcleancd website && npx astro buildclean (22 pages built including/changelog)Summary by CodeRabbit