Skip to content

chore(deps): bump astro 5.17.1 → 5.18.1 and refresh transitives#29

Merged
adrianwedd merged 1 commit into
mainfrom
deps/astro-5.18
May 10, 2026
Merged

chore(deps): bump astro 5.17.1 → 5.18.1 and refresh transitives#29
adrianwedd merged 1 commit into
mainfrom
deps/astro-5.18

Conversation

@adrianwedd
Copy link
Copy Markdown
Member

Summary

Context

Per the 2026-05-11 dependabot triage (private repo: research/intelligence/dependabot_failurefirst_triage_2026-05-11.md), this is the safe pre-cursor to the deferred Astro 5→6 major bump. The 5→6 jump is required for alerts #32/#33 (define:vars XSS, medium) but is intentionally held until the define:vars usage audit lands. This PR closes the only minor-bump alert in the Astro line in the meantime.

Verification

  • npm install astro@^5.18.1 — clean
  • npm run build — 1137 pages built, build complete, no compilation errors. Pre-existing Pagefind warnings unchanged (pre-existing condition unrelated to this bump).

Scope

Only site/package.json and site/package-lock.json are modified. Build artifacts in docs/ are intentionally excluded from this commit — the deploy step is the post-merge bash scripts/build_site.sh --push.

Test plan

Closes Dependabot alert #25 (GHSA-g735-7g2w-hh3f — Astro remote allowlist
bypass, low severity). Minor bump within the 5.x line.

Per the 2026-05-11 dependabot triage
(research/intelligence/dependabot_failurefirst_triage_2026-05-11.md in the
private repo), this is the safe pre-cursor to the deferred Astro 5→6 major
bump that will close alerts #32/#33 (define:vars XSS) once the usage audit
is complete.

- astro 5.16.8 (range) / 5.17.1 (resolved) → ^5.18.1 / 5.18.1
- npm install refreshed package-lock.json (transitives pulled forward)
- npm run build verified locally — 1137 pages, build complete, no errors

Build artifacts in docs/ intentionally not included in this commit; the
post-merge `bash scripts/build_site.sh --push` is the deploy step.
@adrianwedd adrianwedd merged commit 7b24fa1 into main May 10, 2026
@adrianwedd adrianwedd deleted the deps/astro-5.18 branch May 10, 2026 14:16
adrianwedd added a commit that referenced this pull request May 10, 2026
Adds an `overrides` block to site/package.json to pull build-time
transitive dependencies forward to patched versions. All packages here
are build-toolchain only — none ship to the browser from a static Astro
site, so dependabot's `scope:runtime` flag (just "in dependencies, not
devDependencies") is misleading for our build.

Per the 2026-05-11 dependabot triage
(research/intelligence/dependabot_failurefirst_triage_2026-05-11.md in
the private repo), this is the IGNORE-DEVDEP / IGNORE-NO-CONTEXT
hygiene sweep. The bump is hygiene, not risk reduction — none of these
attack vectors apply to a static-site `astro build` pipeline.

Closed alerts (GHSA → resolved version):
- #10  rollup            GHSA-mw96-cpmx-2vgc → 4.60.3 (^4.59.0)
- #11  fast-xml-parser   GHSA-fj3w-jwp8-x2g3 → 5.7.3  (^5.7.0)
- #12  svgo              GHSA-xpqw-6gx7-v673 → 4.0.1  (^4.0.1)
- #13  devalue           GHSA-cfw5-2vxh-hr84 → 5.8.0  (^5.6.4)
- #14  devalue           GHSA-mwv9-gp5h-frr4 → 5.8.0  (^5.6.4)
- #16  h3                GHSA-wr4h-v87w-p3r7 → 1.15.11 (^1.15.9, 1.x backport)
- #17  h3                GHSA-22cc-p3c6-wpvm → 1.15.11 (^1.15.9, 1.x backport)
- #19  h3                GHSA-72gr-qfp7-vwhw → 1.15.11 (^1.15.9)
- #20  h3                GHSA-4hxc-9384-m385 → 1.15.11 (^1.15.9, 1.x backport)
- #21  fast-xml-parser   GHSA-8gc5-j5rx-235r → 5.7.3  (^5.7.0)
- #23  picomatch         GHSA-c2c7-rcm5-vvqj → 4.0.4  (^4.0.4)
- #24  picomatch         GHSA-3v7f-55p6-f55p → 4.0.4  (^4.0.4)
- #26  picomatch         GHSA-c2c7-rcm5-vvqj → 2.3.2  (^2.3.2, 2.x line)
- #27  picomatch         GHSA-3v7f-55p6-f55p → 2.3.2  (^2.3.2, 2.x line)
- #28  defu              GHSA-737v-mqg7-c878 → 6.1.7  (^6.1.5)
- #29  vite              GHSA-p9ff-h696-f583 → 6.4.2  (^6.4.2, 6.x backport)
- #30  fast-xml-parser   GHSA-jp2q-39xq-3w4g → 5.7.3  (^5.7.0)
- #31  vite              GHSA-4w7w-66w2-5vf9 → 6.4.2  (^6.4.2, 6.x backport)
- #34  fast-xml-parser   GHSA-gh4j-gqv2-49f6 → 5.7.3  (^5.7.0)
- #35  postcss           GHSA-qx2v-qp2m-jg93 → 8.5.14 (^8.5.10)

Notes on dependabot fix-version vs override-target divergence:
- vite: dependabot lists fix=8.0.5 (the latest line); 6.4.2 is the
  in-line backport per the GHSA advisory (`>= 6.4.2` patches the 6.x
  line). We stay on vite 6 because Astro 5 pulls vite 6.
- h3: dependabot lists 2.0.1-rc.15; we use 1.15.9 per the GHSA
  advisory (`>= 1.15.6` and `>= 1.15.9` are the documented 1.x
  backports). h3 2.x is still rc.
- picomatch: split override (^2 and ^4) because both major lines are
  pulled in transitively by separate consumers; both have CVEs.

Deferred (NEEDS-REVIEW, separate PR):
- #33 astro define:vars XSS — requires Astro 6 major bump, deferred
  pending define:vars usage audit.

Verification:
- npm install — clean
- npm run build — 1137 pages, build complete, no errors
- npm audit — 1 moderate (the deferred Astro 6 alert) remaining
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant