Commit 789ea8b
deps(tko.io): bump astro 5.18.1 β 6.1.8, starlight 0.37.7 β 0.38.3
Fixes dependabot advisory: Astro XSS in define:vars via incomplete
</script> tag sanitization (supersedes #354).
Migrations:
- content.config.ts: add docsLoader() β Astro 6 requires Content Layer
loaders; file-based auto-discovery removed.
- Header.astro + tests.astro: resolve sibling/public paths from
process.cwd() instead of import.meta.url. Astro 6's prerender
bundles into dist/.prerender/chunks/, breaking ../-relative URLs.
- Remove patch-package: upstream starlight already includes the
head.ts fix the patch carried, and Bun has native patching.
Verified: bun run build β 66 pages, clean.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 4780dfe commit 789ea8b
6 files changed
Lines changed: 71 additions & 268 deletions
File tree
- tko.io
- patches
- src
- components
- pages
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 | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | | - | |
| 6 | + | |
6 | 7 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments