Commit d78a5ab
committed
Merge #160: chore: update dependencies and fix Svelte 5 reactivity warnings
4170be6 chore: update generated blog metadata (Jose Celano)
f958b4b fix: move ignores to separate config object in eslint (Jose Celano)
cf5b576 style: fix prettier formatting issues (Jose Celano)
a2eef1c chore: suppress intentional Toc.svelte warning in build output (Jose Celano)
b214c48 fix: add prerender flag to api endpoint (Jose Celano)
2d8a073 fix: resolve Svelte 5 reactivity warnings (Jose Celano)
337f6ec chore: update dependencies (Jose Celano)
Pull request description:
## Summary
This PR updates npm dependencies and resolves Svelte 5 reactivity warnings across the codebase.
## Changes
### Dependency Updates
- Updated 171 packages via `npm update`
- Major updates include esbuild, Babel packages, and various @sveltejs packages
- Security: 36 vulnerabilities remain (primarily in vite-plugin-imagemin dependency chain)
### Svelte 5 Reactivity Fixes
Fixed 41 reactivity warnings by properly using `$derived()` rune for prop-dependent computed values:
- Updated 9 component files (Button, Cards, RelatedCard, TagCard, BlogPostCard, BlogPreview, CodeBlock, RelatedPostCard, molecule TagCard)
- Updated 21 blog post pages
- Refactored blog list page filtering to use reactive patterns
- Updated contributor layout
**Note:** One intentional warning remains in Toc.svelte where the selector is intentionally captured at initialization time for the @melt-ui/svelte library.
## Testing
- ✅ `npm run check` passes (0 errors, 1 documented warning)
- ✅ `npm run dev` runs with clean output
- File tree
40 files changed
+3097
-2676
lines changed- src
- lib/components
- atoms
- molecules
- routes
- (pages)
- about
- community
- api
- blog
- benchmarking-the-torrust-bittorrent-tracker
- bencode-to-json-converter-in-rust
- containerizing-rust-applications-best-practices
- contributor-path
- deploying-torrust-to-production
- hash2torrent-retrieve-torrent-files-effortlessly
- help-shape-the-torrust-2025-roadmap
- how-to-contribute-to-this-site
- how-to-run-a-local-demo
- how-to-setup-the-development-environment
- introducing-the-new-sample-torrent-migration-tool
- live-demo-beta-v3
- profiling-the-torrust-bittorrent-udp-tracker
- released-v3-0-0-beta
- released-v3-0-0
- review-and-setup-guide-for-unit3d
- setting-up-torrust-with-claude-code
- the-enigmatic-torrent-source-field
- torrust-enhancing-the-bittorrent-ecosystem
- visualize-tracker-metrics-prometheus-grafana
- what-is-a-bittorent-tracker
- contributor
- static
40 files changed
+3097
-2676
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
11 | 22 | | |
12 | 23 | | |
13 | 24 | | |
| |||
23 | 34 | | |
24 | 35 | | |
25 | 36 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
0 commit comments