fix(deps): refresh transitive dependencies in the Astro apps - #330
Open
unional wants to merge 1 commit into
Open
fix(deps): refresh transitive dependencies in the Astro apps#330unional wants to merge 1 commit into
unional wants to merge 1 commit into
Conversation
|
Contributor
|
Tick the box to add this pull request to the merge queue (same as
|
`pnpm update -r` within the existing semver ranges. No majors, no behaviour change intended - this only moves patch/minor floors that were already satisfiable, and raises the manifest ranges to match what the lockfile now resolves. Clears 38 of the 48 remaining advisories, including every one that was fixable without a major: astro 5.18.1 -> 5.18.2 vite 6.4.1 -> 6.4.3 postcss 8.4.47/8.5.6/8.5.8 -> 8.5.28 nanoid 3.3.7/3.3.11 -> 3.3.18 js-yaml 4.1.1 -> 4.3.2 devalue 5.6.4 -> 5.9.2 defu 6.1.4 -> 6.1.7 svgo 4.0.1 -> 4.1.0 browserslist 4.28.0 -> 4.28.9 braces 3.0.2 -> 3.0.3 esbuild 0.27.4 -> 0.27.7 and drops the vulnerable `brace-expansion`, `minimatch`, `cross-spawn`, `glob` and `lodash` copies from the tree entirely. `pnpm audit`: 48 -> 10 advisories. All 10 that remain resolve through `astro` itself and need the 5 -> 7 major (GHSA-7pw4-f3q4-r2p2 wants astro >=7.0.4), including the `sharp` <0.35.0 high - astro 5 pins its own sharp copy, so bumping our direct `sharp` range does not clear it. That upgrade gets its own PR. Verified with `pnpm -r build` (`astro check && astro build`): both apps build, 0 errors. Refs #326 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011PW5FYJgspbWswo7osD3ys Signed-off-by: unional <homawong@gmail.com>
unional
force-pushed
the
fix/deps-refresh-starlight-transitives
branch
from
September 7, 2026 07:28
f67b221 to
7907b98
Compare
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.
Part 2 of 2 for #326. Stacked on #329 — retarget to
mainonce that merges.What
pnpm update -rwithin the existing semver ranges. No majors, no behaviour change intended: this moves patch/minor floors that were already satisfiable, and raises the manifest ranges to match what the lockfile now resolves.The vulnerable
brace-expansion,minimatch,cross-spawn,globandlodashcopies drop out of the tree entirely.Result
pnpm audit: 48 → 10 advisories. That clears every advisory inapps/starlightthat was fixable without a major.What's left, and why it isn't here
All 10 remaining advisories resolve through
astroitself and need the 5 → 7 major:astro>=7.0.4; other astro advisories want >=6.3.3, >=6.4.6, >=7.0.6, >=7.1.0sharp<0.35.0 (high) — astro 5 pins its ownsharpcopy, so bumping our directsharprange doesn't clear it and only duplicates the install. I tried it and reverted it.esbuild>=0.27.3 <0.28.1 (low) — pinned by astro's viteThat upgrade deserves its own PR with a real look at the site afterwards.
Verification
pnpm -r build(astro check && astro build) — both apps build, 0 errors. Starlight emits its 17 pages and the Pagefind index as before.Note
minimumReleaseAge: 1440+minimumReleaseAgeStrictinpnpm-workspace.yaml: every version here is past the 24h soak.🤖 Generated with Claude Code
https://claude.ai/code/session_011PW5FYJgspbWswo7osD3ys