web deps: jsdom 31, jest-dom 8, @types/node 26, @lucide/svelte, current non-majors (#8532)

- lucide-svelte is replaced by its successor @lucide/svelte. The
  component names are the same, so only the import path changes (44
  files).
- jsdom 31, @testing-library/jest-dom 8, @types/node 26.
- The lockfile is refreshed within every range: svelte 5.60, vite 8.4,
  vitest 5.1, @sveltejs/kit 3.5, adapter-static 4.0.1. sharp is no
  longer in the tree.

TypeScript stays on 6: svelte-check 4.7.9, the web lane's type check,
accepts typescript ^5 || ^6 only. svelte-query 6 follows in its own
commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-04 10:49:30 -05:00
co-authored by Claude Opus 5.5
parent 4e5cb298ef
commit b36801b5a4
46 changed files with 611 additions and 1879 deletions
+563 -1831
View File
File diff suppressed because it is too large Load Diff
+5 -5
View File
@@ -16,10 +16,10 @@
"@sveltejs/kit": "^3.0.0",
"@sveltejs/vite-plugin-svelte": "^7.0.0",
"@tailwindcss/vite": "^4.3.3",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/jest-dom": "^8.0.0",
"@testing-library/svelte": "^5.3.1",
"@types/node": "^25.9.1",
"jsdom": "^25.0.1",
"@types/node": "^26.6.11",
"jsdom": "^31.0.1",
"svelte": "^5.57.1",
"svelte-check": "^4.7.5",
"tailwindcss": "^4.3.3",
@@ -28,9 +28,9 @@
"vitest": "^5.0.0"
},
"dependencies": {
"@lucide/svelte": "^1.87.0",
"@neodrag/svelte": "^2.3.3",
"@tanstack/svelte-query": "^5.90.2",
"lucide-svelte": "^1.0.1"
"@tanstack/svelte-query": "^5.90.2"
},
"imports": {
"#lib/*": "./src/lib/*",
+1 -1
View File
@@ -1,7 +1,7 @@
<script lang="ts">
import { plural } from '#lib/utils/plural.js';
import { onMount } from 'svelte';
import { MonitorSmartphone, TriangleAlert } from 'lucide-svelte';
import { MonitorSmartphone, TriangleAlert } from '@lucide/svelte';
import {
listSessions,
revokeSession,
@@ -1,5 +1,5 @@
<script lang="ts">
import { Plus } from 'lucide-svelte';
import { Plus } from '@lucide/svelte';
import { useQueryClient } from '@tanstack/svelte-query';
import { createPlaylistsQuery, appendTracks, createPlaylist } from '#lib/api/playlists.js';
import { qk } from '#lib/api/queries.js';
+1 -1
View File
@@ -3,7 +3,7 @@
import { api } from '#lib/api/client.js';
import { enqueueTracks, playQueue } from '#lib/player/store.svelte.js';
import { playSource } from '#lib/player/playSource.js';
import { Play } from 'lucide-svelte';
import { Play } from '@lucide/svelte';
import AlbumMenu from './AlbumMenu.svelte';
import CardActionCluster from './CardActionCluster.svelte';
import Cover from './Cover.svelte';
+1 -1
View File
@@ -1,5 +1,5 @@
<script lang="ts">
import { ChevronLeft } from 'lucide-svelte';
import { ChevronLeft } from '@lucide/svelte';
import { plural } from '#lib/utils/plural.js';
import AlbumCard from './AlbumCard.svelte';
import EmptyState from './EmptyState.svelte';
@@ -1,7 +1,7 @@
<script lang="ts" generics="T">
import type { Snippet } from 'svelte';
import { tick } from 'svelte';
import { Loader2 } from 'lucide-svelte';
import { Loader2 } from '@lucide/svelte';
let {
items,
+1 -1
View File
@@ -4,7 +4,7 @@
import { api } from '#lib/api/client.js';
import { playQueue, enqueueTracks } from '#lib/player/store.svelte.js';
import { playSource } from '#lib/player/playSource.js';
import { Play } from 'lucide-svelte';
import { Play } from '@lucide/svelte';
import ArtistMenu from './ArtistMenu.svelte';
import CardActionCluster from './CardActionCluster.svelte';
import Cover from './Cover.svelte';
@@ -1,6 +1,6 @@
<script lang="ts">
import type { Snippet } from 'svelte';
import { Plus } from 'lucide-svelte';
import { Plus } from '@lucide/svelte';
import LikeButton from './LikeButton.svelte';
// Shared chrome for AlbumCard / ArtistCard / CompactTrackCard. Owns
+1 -1
View File
@@ -1,5 +1,5 @@
<script lang="ts">
import { Heart, HeartOff, ListMusic, Plus, Disc3 } from 'lucide-svelte';
import { Heart, HeartOff, ListMusic, Plus, Disc3 } from '@lucide/svelte';
import { goto } from '$app/navigation';
import { useQueryClient } from '@tanstack/svelte-query';
import { createLikedIdsQuery, likeEntity, unlikeEntity } from '#lib/api/likes.js';
@@ -1,5 +1,5 @@
<script lang="ts">
import { Plus } from 'lucide-svelte';
import { Plus } from '@lucide/svelte';
import type { TrackRef } from '#lib/api/types.js';
import { playQueue, enqueueTrack } from '#lib/player/store.svelte.js';
import { coverUrl } from '#lib/media/covers.js';
+1 -1
View File
@@ -1,6 +1,6 @@
<script lang="ts">
import { FALLBACK_COVER } from '#lib/media/covers.js';
import { Disc3, Music2 } from 'lucide-svelte';
import { Disc3, Music2 } from '@lucide/svelte';
// Shared cover-artwork renderer. The web counterpart of Android's
// CoverTile/ServerImage: one place that owns the loading placeholder and
+1 -1
View File
@@ -1,6 +1,6 @@
<script lang="ts">
import { untrack } from 'svelte';
import { Flag } from 'lucide-svelte';
import { Flag } from '@lucide/svelte';
import { useQueryClient } from '@tanstack/svelte-query';
import { flagTrack } from '#lib/api/quarantine.js';
import { errCode } from '#lib/api/errors.js';
@@ -1,5 +1,5 @@
<script lang="ts" generics="T">
import { ChevronLeft, ChevronRight } from 'lucide-svelte';
import { ChevronLeft, ChevronRight } from '@lucide/svelte';
import type { Snippet } from 'svelte';
import { shelfTileWidth } from '#lib/playlists/shelf.js';
+1 -1
View File
@@ -1,6 +1,6 @@
<script lang="ts">
import type { Snippet } from 'svelte';
import { MoreVertical } from 'lucide-svelte';
import { MoreVertical } from '@lucide/svelte';
// The ⋮ trigger and its popover, shared by every overflow menu. A click
// anywhere else or Escape closes it. Popovers a menu opens from its items
+1 -1
View File
@@ -1,5 +1,5 @@
<script lang="ts">
import { Heart } from 'lucide-svelte';
import { Heart } from '@lucide/svelte';
import { useQueryClient } from '@tanstack/svelte-query';
import { createLikedIdsQuery, likeEntity, unlikeEntity, type EntityKind } from '#lib/api/likes.js';
@@ -1,6 +1,6 @@
<script lang="ts">
import { onMount } from 'svelte';
import { Download, Smartphone } from 'lucide-svelte';
import { Download, Smartphone } from '@lucide/svelte';
import { api } from '#lib/api/client.js';
import { formatBytes } from '#lib/utils/bytes.js';
import SettingsGroup from '#lib/components/settings/SettingsGroup.svelte';
@@ -3,7 +3,7 @@
import { SvelteSet } from 'svelte/reactivity';
import { goto } from '$app/navigation';
import { useQueryClient } from '@tanstack/svelte-query';
import { Bell } from 'lucide-svelte';
import { Bell } from '@lucide/svelte';
import {
badgeLabel,
createNotificationsQuery,
+1 -1
View File
@@ -4,7 +4,7 @@
// the accent, a deliberate exception to the house rule against accent on
// action buttons.
import type { Snippet } from 'svelte';
import { Play, Shuffle } from 'lucide-svelte';
import { Play, Shuffle } from '@lucide/svelte';
let {
name,
+1 -1
View File
@@ -4,7 +4,7 @@
SkipBack, SkipForward, Play, Pause, Loader2,
Shuffle, Repeat, Repeat1,
ListMusic
} from 'lucide-svelte';
} from '@lucide/svelte';
import {
player,
togglePlay, skipNext, skipPrev, seekTo, setVolume,
+1 -1
View File
@@ -1,6 +1,6 @@
<script lang="ts">
import { plural } from '#lib/utils/plural.js';
import { Play, RefreshCcw } from 'lucide-svelte';
import { Play, RefreshCcw } from '@lucide/svelte';
import { useQueryClient } from '@tanstack/svelte-query';
import type { Playlist, PlaylistTrack, TrackRef } from '#lib/api/types.js';
import { user } from '#lib/auth/store.svelte.js';
@@ -1,5 +1,5 @@
<script lang="ts">
import { Sparkles } from 'lucide-svelte';
import { Sparkles } from '@lucide/svelte';
let {
label,
@@ -1,7 +1,7 @@
<script lang="ts">
// A track in a playlist. The look is TrackListRow's; what this adds is
// the reorder grip, remove, and the two ways an entry can be dead.
import { GripVertical, X } from 'lucide-svelte';
import { GripVertical, X } from '@lucide/svelte';
import type { PlaylistTrack } from '#lib/api/types.js';
import { playlistTrackToRef } from '#lib/playlists/playlistTrackToRef.js';
import TrackListRow from './TrackListRow.svelte';
+1 -1
View File
@@ -1,7 +1,7 @@
<script lang="ts">
import { plural } from '#lib/utils/plural.js';
import { untrack } from 'svelte';
import { X, Trash2, ArrowDown } from 'lucide-svelte';
import { X, Trash2, ArrowDown } from '@lucide/svelte';
import { player, clearQueue } from '#lib/player/store.svelte.js';
import QueueTrackRow from './QueueTrackRow.svelte';
+1 -1
View File
@@ -1,5 +1,5 @@
<script lang="ts">
import { GripVertical, X } from 'lucide-svelte';
import { GripVertical, X } from '@lucide/svelte';
import type { TrackRef } from '#lib/api/types.js';
import { playFromQueueIndex, removeFromQueue, moveQueueItem } from '#lib/player/store.svelte.js';
import { coverUrl } from '#lib/media/covers.js';
+1 -1
View File
@@ -1,5 +1,5 @@
<script lang="ts">
import { Search, X } from 'lucide-svelte';
import { Search, X } from '@lucide/svelte';
// Debounced text input for client-side list filtering. Two-way bound
// `value` is updated 120ms after the last keystroke so consumers can
@@ -1,6 +1,6 @@
import { describe, it, expect, vi } from 'vitest';
import { render, screen, fireEvent } from '@testing-library/svelte';
import { Check, X, Trash2 } from 'lucide-svelte';
import { Check, X, Trash2 } from '@lucide/svelte';
import RowActionsMenu from './RowActionsMenu.svelte';
describe('RowActionsMenu', () => {
+1 -1
View File
@@ -2,7 +2,7 @@
import { page } from '$app/state';
import { goto } from '$app/navigation';
import { untrack } from 'svelte';
import { Search } from 'lucide-svelte';
import { Search } from '@lucide/svelte';
let value = $state(page.url.searchParams.get('q') ?? '');
let timeout: ReturnType<typeof setTimeout> | null = null;
+1 -1
View File
@@ -1,5 +1,5 @@
<script lang="ts">
import { X, ListPlus, Plus, ListMusic, Heart } from 'lucide-svelte';
import { X, ListPlus, Plus, ListMusic, Heart } from '@lucide/svelte';
import { useQueryClient } from '@tanstack/svelte-query';
import { selection, clearSelection } from '#lib/selection/store.svelte.js';
import { playNextMany, enqueueTracks } from '#lib/player/store.svelte.js';
+1 -1
View File
@@ -1,7 +1,7 @@
<script lang="ts">
import { page } from '$app/state';
import { goto } from '$app/navigation';
import { ChevronDown, Disc3, House, LibraryBig } from 'lucide-svelte';
import { ChevronDown, Disc3, House, LibraryBig } from '@lucide/svelte';
import { user, logout } from '#lib/auth/store.svelte.js';
import { player } from '#lib/player/store.svelte.js';
import { appName } from '#lib/branding.js';
+1 -1
View File
@@ -1,5 +1,5 @@
<script lang="ts">
import { Loader2, Check } from 'lucide-svelte';
import { Loader2, Check } from '@lucide/svelte';
type Props = { state: 'pending' | 'in_progress' | 'done' | 'skipped' };
let { state }: Props = $props();
+1 -1
View File
@@ -7,7 +7,7 @@
// (selection, reorder, remove); this component owns how a row looks, so
// the lists cannot drift apart.
import type { Snippet } from 'svelte';
import { Plus, Radio } from 'lucide-svelte';
import { Plus, Radio } from '@lucide/svelte';
import type { TrackRef } from '#lib/api/types.js';
import { formatDuration } from '#lib/media/duration.js';
import { player, enqueueTrack, playRadio } from '#lib/player/store.svelte.js';
+1 -1
View File
@@ -10,7 +10,7 @@
User,
EyeOff,
Eye
} from 'lucide-svelte';
} from '@lucide/svelte';
import { goto } from '$app/navigation';
import { useQueryClient } from '@tanstack/svelte-query';
import FlagPopover from './FlagPopover.svelte';
+1 -1
View File
@@ -1,6 +1,6 @@
import { describe, test, expect, vi } from 'vitest';
import { render, fireEvent, screen } from '@testing-library/svelte';
import { Music2 } from 'lucide-svelte';
import { Music2 } from '@lucide/svelte';
import TrackMenuItem from './TrackMenuItem.svelte';
describe('TrackMenuItem', () => {
+1 -1
View File
@@ -3,7 +3,7 @@
// TrackListRow's; what this adds is the track number and multi-select.
import type { TrackRef } from '#lib/api/types.js';
import { playQueue } from '#lib/player/store.svelte.js';
import { Check } from 'lucide-svelte';
import { Check } from '@lucide/svelte';
import TrackListRow from './TrackListRow.svelte';
import {
selection, toggleOne, selectRange
+1 -1
View File
@@ -1,4 +1,4 @@
import { Volume1, Volume2, VolumeX } from 'lucide-svelte';
import { Volume1, Volume2, VolumeX } from '@lucide/svelte';
import type { RepeatMode } from './store.svelte';
// The transport controls' rules, shared by every player surface (the play
@@ -3,7 +3,7 @@
import { pageTitle } from '#lib/branding.js';
import { page } from '$app/state';
import { relativeTime } from '#lib/utils/relativeTime.js';
import { Copy, Download, Activity } from 'lucide-svelte';
import { Copy, Download, Activity } from '@lucide/svelte';
import { useQueryClient } from '@tanstack/svelte-query';
import {
createAdminDiagnosticsQuery,
+1 -1
View File
@@ -25,7 +25,7 @@
import Modal from '#lib/components/Modal.svelte';
import ConfirmModal from '#lib/components/ConfirmModal.svelte';
import RowActionsMenu, { type RowAction } from '#lib/components/RowActionsMenu.svelte';
import { Shield, ShieldOff, KeyRound, Trash2, Copy, Bug, BugOff } from 'lucide-svelte';
import { Shield, ShieldOff, KeyRound, Trash2, Copy, Bug, BugOff } from '@lucide/svelte';
const client = useQueryClient();
@@ -2,7 +2,7 @@
import { plural } from '#lib/utils/plural.js';
import { page } from '$app/state';
import { pageTitle } from '#lib/branding.js';
import { Copy, Info, Play, TriangleAlert } from 'lucide-svelte';
import { Copy, Info, Play, TriangleAlert } from '@lucide/svelte';
import { playQueue } from '#lib/player/store.svelte.js';
import {
createDuplicatesQuery,
@@ -3,7 +3,7 @@
import Cover from '#lib/components/Cover.svelte';
import { plural } from '#lib/utils/plural.js';
import { pageTitle } from '#lib/branding.js';
import { Copy, Download, FolderX, Trash2 } from 'lucide-svelte';
import { Copy, Download, FolderX, Trash2 } from '@lucide/svelte';
import ConfirmModal from '#lib/components/ConfirmModal.svelte';
import { createMissingFilesQuery, forgetMissingTracks, MISSING_FILES_CSV_URL } from '#lib/api/admin.js';
import { errMessage } from '#lib/api/errors.js';
@@ -3,7 +3,7 @@
import Cover from '#lib/components/Cover.svelte';
import { plural } from '#lib/utils/plural.js';
import { pageTitle } from '#lib/branding.js';
import { CheckCircle2, Trash2, Play, Copy, ChevronRight, FileX } from 'lucide-svelte';
import { CheckCircle2, Trash2, Play, Copy, ChevronRight, FileX } from '@lucide/svelte';
import { useQueryClient } from '@tanstack/svelte-query';
import RowActionsMenu, { type RowAction } from '#lib/components/RowActionsMenu.svelte';
import TabStrip from '#lib/components/TabStrip.svelte';
@@ -3,7 +3,7 @@
import Cover from '#lib/components/Cover.svelte';
import { plural } from '#lib/utils/plural.js';
import { pageTitle } from '#lib/branding.js';
import { FileCheck, FileX } from 'lucide-svelte';
import { FileCheck, FileX } from '@lucide/svelte';
import { createSuspectSourcesQuery, removeSuspectFile, setSuspectVerdict } from '#lib/api/admin.js';
import { errMessage } from '#lib/api/errors.js';
import { pushToast } from '#lib/stores/toast.svelte.js';
+1 -1
View File
@@ -2,7 +2,7 @@
import Cover from '#lib/components/Cover.svelte';
import KindPill from '#lib/components/KindPill.svelte';
import { pageTitle } from '#lib/branding.js';
import { RotateCcw } from 'lucide-svelte';
import { RotateCcw } from '@lucide/svelte';
import { useQueryClient } from '@tanstack/svelte-query';
import { createMyQuarantineQuery, unflagTrack } from '#lib/api/quarantine.js';
import { qk } from '#lib/api/queries.js';
@@ -1,7 +1,7 @@
<script lang="ts">
import { pageTitle } from '#lib/branding.js';
import { goto } from '$app/navigation';
import { Plus } from 'lucide-svelte';
import { Plus } from '@lucide/svelte';
import PlaylistCard from '#lib/components/PlaylistCard.svelte';
import ApiErrorBanner from '#lib/components/ApiErrorBanner.svelte';
import QuickFilter from '#lib/components/QuickFilter.svelte';
+1 -1
View File
@@ -4,7 +4,7 @@
ArrowLeft, SkipBack, SkipForward, Play, Pause, Loader2,
Shuffle, Repeat, Repeat1,
ListMusic
} from 'lucide-svelte';
} from '@lucide/svelte';
import { goto } from '$app/navigation';
import {
player,
+1 -1
View File
@@ -6,7 +6,7 @@
import { goto } from '$app/navigation';
import { untrack } from 'svelte';
import { pageTitle } from '#lib/branding.js';
import { Pencil, Trash2, Link as LinkIcon } from 'lucide-svelte';
import { Pencil, Trash2, Link as LinkIcon } from '@lucide/svelte';
import { useQueryClient } from '@tanstack/svelte-query';
import PlaylistTrackRow from '#lib/components/PlaylistTrackRow.svelte';
import TrackList from '#lib/components/TrackList.svelte';