Commit ac977de
chore(deps): update all dependencies, Astro 6 → 7
Astro 6.4.6 → 7.2.0, @astrojs/sitemap 3.7.2 → 3.7.3, tailwindcss and
@tailwindcss/vite 4.2.4 → 4.3.3, vitest 4.1.5 → 4.1.10. `npm audit` goes
from 7 vulnerabilities to 0 — three of them high-severity Astro XSS
advisories that only the v7 bump fixes, plus transitive sharp/svgo/undici
resolved by a non-breaking `npm audit fix`.
Most of Astro 7's breaking changes don't apply here: no markdown or content
collections (the remark → Sätteri switch), no src/fetch.ts, no @astrojs/db,
no transitions API. Two did:
compressHTML now defaults to 'jsx', which strips whitespace and line breaks
around elements. That closed up the gap at every element boundary rendered
across separate lines ("Pricing About" → "PricingAbout"), and since .es-tip
is display:inline-block the same rule can visibly corrupt prose. Pin the
pre-v7 lossless mode to keep output identical; switching to the v7 default
later means auditing the markup for cross-line inline elements first.
Vite 8's minifier emits backtick string literals where esbuild emitted
double quotes, which broke the Escape-key test. The handler was intact — the
assertion was pinned to minifier quote style rather than call structure,
contradicting its own comment. Both assertions are now quote-agnostic (the
second would have failed too, masked by the first aborting).
Verified against a pre-upgrade snapshot of dist/: rendered text, markup
structure, file set, and sitemap (including git-mtime lastmod) are all
identical. 228/228 tests pass from a clean npm ci.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent d8ed47c commit ac977de
5 files changed
Lines changed: 2090 additions & 2664 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
76 | 84 | | |
77 | 85 | | |
78 | 86 | | |
| |||
0 commit comments