Skip to content

chore(deps): remediate vulnerable website dependency versions - #405

Merged
PsiACE merged 1 commit into
mainfrom
deps/landing-npm-security-alerts
Nov 16, 2026
Merged

PsiACE merged 1 commit into
mainfrom
deps/landing-npm-security-alerts

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

What changed

Bumps every website dependency that Dependabot reports as vulnerable to its first patched release — 28 open npm alerts (29 open alerts repo-wide, the remaining one is the opentelemetry-api alert in a separate PR). All of these are on website/pnpm-lock.yaml; there is no application code change.

Package Before After First patched Alerts
astro (direct) 7.3.8 7.4.11 7.4.7 #177 (GHSA-r3h5-4585-7x3w), #178 (GHSA-mh32-jxcr-mh9f)
vite 8.3.1 8.3.8 8.3.3 #153–#158 (six advisories)
undici 7.30.0 / 8.11.2 7.30.2 / 8.12.4 7.30.1 / 8.12.2 #160, #161, #162, #163, #164, #165, #167, #168, #169, #170, #171, #172, #173, #174, #175, #176 (eight advisories × two release lines)
sharp 0.35.4 0.35.5 0.35.5 #130 (GHSA-wq5f-xc86-pv6w)
zod 4.6.5 4.6.7 4.6.6 #159 (GHSA-mrhx-c7xc-m3w5)
source-map-js 1.2.1 1.2.2 1.2.2 #128 (GHSA-68fv-2mgg-jv7q)
postcss-selector-parser 6.1.4 6.1.6 6.1.5 #166 (GHSA-rj75-hqrm-r3gf)

Manifest and policy edits

  • website/package.json: the astro floor moves from ^7.3.8 to ^7.4.7, so a later re-resolution cannot fall back below the patched release. The caret style used by the rest of the manifest is unchanged.
  • website/pnpm-workspace.yaml: miniflare (pinned to an alpha build by @cloudflare/vite-plugin) depends on sharp 0.35.4 exactly, so pnpm update sharp cannot move it. I followed the existing "pin transitive fixes until upstream adopts them" block and added miniflare>sharp: ^0.35.5 next to the current miniflare>undici override.

Astro moving from 7.3.8 to 7.4.11 is the source of most of the lockfile diff: its own dependency ranges pull newer companion packages (@astrojs/*, vite, shikijs, rolldown, satteri, unifont, esbuild), which is why the diff is larger than the seven packages listed above. Astro 7.4.7 is the first release with both astro advisories fixed; ^7.4.7 resolves to 7.4.11 today. No other direct dependency in package.json changed, and no new minimumReleaseAgeExclude entry was needed — pnpm install reports the lockfile passes the three-day release-cooldown policy.

Verification

  • pnpm --dir website install --frozen-lockfile — lockfile consistent, supply-chain policy check passed
  • BUB_ASTRO_IMAGE_MODE=build pnpm --dir website build (same build CI's check-docs job runs) — 83 pages built, Pagefind index and sitemap generated
  • make check — uv lock --locked, prek run -a, mypy src all pass
  • make test — 731 passed, 19 skipped
  • Confirmed in the resulting lockfile that each flagged package now resolves only to versions >= its first patched release

No docs pages changed, so no documentation update is included.

Not included

Maintainers decide whether to merge, release and dismiss the corresponding Dependabot alerts; opening this PR does not close them. I did not touch the unrelated undici override bump or any other upgrade outside the advisory list.

Bump the pinned resolutions reported by Dependabot to their first patched
versions:

- astro 7.3.8 -> 7.4.11 (GHSA-r3h5-4585-7x3w, GHSA-mh32-jxcr-mh9f)
- vite 8.3.1 -> 8.3.8 (GHSA-9jrq-w75r-8gcw, GHSA-rq7h-c2jc-7f22,
  GHSA-vfpm-58rq-9qcg, GHSA-r825-w8mm-5pxw, GHSA-587h-7wmj-h5pm,
  GHSA-698v-4r3x-3vcv)
- undici 7.30.0 -> 7.30.2, 8.11.2 -> 8.12.4 (GHSA-4w7w-5xrc-9h26,
  GHSA-2m5v-pch6-74hx, GHSA-qrxm-fqhp-jwvm, GHSA-9fm3-97px-rjf6,
  GHSA-55wc-3pg8-jfw6, GHSA-xjj6-f33q-929c, GHSA-4qv8-2p9j-2685,
  GHSA-f72v-6w45-q472)
- sharp 0.35.4 -> 0.35.5 (GHSA-wq5f-xc86-pv6w)
- zod 4.6.5 -> 4.6.7 (GHSA-mrhx-c7xc-m3w5)
- source-map-js 1.2.1 -> 1.2.2 (GHSA-68fv-2mgg-jv7q)
- postcss-selector-parser 6.1.4 -> 6.1.6 (GHSA-rj75-hqrm-r3gf)

The astro floor moves to ^7.4.7 so a re-resolution keeps the fixed release.
miniflare pins sharp 0.35.4 exactly, so a pnpm override keeps the existing
pinned-transitive-fix pattern in pnpm-workspace.yaml.
@github-actions github-actions Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 16, 2026
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bub 519f3a1 Commit Preview URL

Branch Preview URL
Nov 16 2026, 09:58 AM

@PsiACE
PsiACE marked this pull request as ready for review November 16, 2026 11:29
@PsiACE
PsiACE merged commit cf5d757 into main Nov 16, 2026
19 checks passed
@PsiACE
PsiACE deleted the deps/landing-npm-security-alerts branch November 16, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant