chore: update dependencies and fix Svelte 5 reactivity warnings#160
Merged
josecelano merged 7 commits intodevelopfrom Dec 21, 2025
Merged
chore: update dependencies and fix Svelte 5 reactivity warnings#160josecelano merged 7 commits intodevelopfrom
josecelano merged 7 commits intodevelopfrom
Conversation
- Use $derived for all computed values that depend on props - Fix Button, Cards, RelatedCard, and TagCard components - Fix all blog post pages and layouts - Fix date formatting in BlogPreview, BlogPostCard, etc. - Fix CodeBlock syntax highlighting reactivity - Update blog +page to use derived filtering This eliminates 41 of 42 warnings. The remaining warning in Toc.svelte is intentional as the selector is passed to a third-party library that doesn't support dynamic updates.
Member
Author
|
ACK 4170be6 |
This was referenced Dec 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates npm dependencies and resolves Svelte 5 reactivity warnings across the codebase.
Changes
Dependency Updates
npm updateSvelte 5 Reactivity Fixes
Fixed 41 reactivity warnings by properly using
$derived()rune for prop-dependent computed values: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 checkpasses (0 errors, 1 documented warning)npm run devruns with clean outputAdditional Notes
See open Snyk PRs (#154, #153, #149, #148, #97) for additional dependency updates that require manual package.json modifications.