Commit 5d408ca
committed
security: migrate packages/web to astro 6 (CVE-2026-50146, CVE-2026-54299)
These two astro advisories have no astro 5 backport, so upgrade the docs
site to astro 6.4.8. Ecosystem bumps required for compatibility:
- astro 5.15.9 -> 6.4.8
- @astrojs/cloudflare 12.6.13 -> 13.7.0
- @astrojs/starlight 0.34.3 -> 0.40.0
- @astrojs/solid-js 5.1.0 -> 6.0.1
- @astrojs/markdown-remark 6.3.1 -> 7.2.0
- @astrojs/check 0.9.6 -> 0.9.9
toolbeam-docs-theme has no astro 6 release; its plugin uses only stable
Starlight APIs, so its peer range is widened via a patch (verified by a full
build). astro and @astrojs/starlight are pinned via overrides so the theme's
peer resolution dedupes onto the site's astro 6 / starlight 0.40 instead of
pulling a nested astro 5.15.9 (which would leave the CVEs unfixed); both are
used only by packages/web.
@astrojs/cloudflare v13 prerenders in the workerd runtime by default, which
lacks the Node built-ins (path/fs/url) that Astro/Zod internals import; set
prerenderEnvironment: "node" to keep the v12 behavior. Full `astro build`
passes: all locales prerendered, Pagefind search index and sitemap generated.1 parent 7853037 commit 5d408ca
6 files changed
Lines changed: 173 additions & 300 deletions
File tree
- packages/web
- patches
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
148 | 150 | | |
149 | 151 | | |
150 | 152 | | |
| |||
159 | 161 | | |
160 | 162 | | |
161 | 163 | | |
162 | | - | |
| 164 | + | |
| 165 | + | |
163 | 166 | | |
164 | 167 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments