Skip to content

Commit 84c4574

Browse files
authored
chore: bump svelte (#1705)
* chore: bump svelte * silence warnings
1 parent 044152a commit 84c4574

File tree

7 files changed

+153
-34
lines changed

7 files changed

+153
-34
lines changed

apps/svelte.dev/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"satori": "^0.10.13",
7676
"satori-html": "^0.3.2",
7777
"sv": "^0.9.2",
78-
"svelte": "^5.40.0",
78+
"svelte": "^5.46.0",
7979
"svelte-check": "^4.3.1",
8080
"svelte-preprocess": "^6.0.3",
8181
"tiny-glob": "^0.2.9",

apps/svelte.dev/src/routes/(authed)/playground/[id]/+page.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
const STORAGE_KEY = 'svelte:playground';
1818
1919
let repl = $state() as ReturnType<typeof Repl>;
20+
// svelte-ignore state_referenced_locally
2021
let name = $state(data.gist.name);
2122
let modified = $state(false);
2223
let setting_hash: any = null;

apps/svelte.dev/src/routes/blog/+page.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
44
let { data } = $props();
55
6-
const featured = data.posts.filter((post) => !post.metadata.title.startsWith('What’s new'));
6+
// svelte-ignore state_referenced_locally
77
const whats_new = data.posts.filter((post) => post.metadata.title.startsWith('What’s new'));
8+
9+
// svelte-ignore state_referenced_locally
810
const top = data.posts[0];
911
</script>
1012

apps/svelte.dev/src/routes/tutorial/[...slug]/+page.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
2020
let { data }: PageProps = $props();
2121
22+
// svelte-ignore state_referenced_locally
2223
let path = data.exercise.path;
2324
let show_editor = $state(false);
2425
let show_filetree = $state(false);

apps/svelte.dev/src/routes/tutorial/[...slug]/Output.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
let terminal_visible = $state(false);
2727
2828
// reset `path` to `exercise.path` each time, but allow it to be controlled by the iframe
29+
// svelte-ignore state_referenced_locally
2930
let path = $state(exercise.path);
3031
3132
onMount(() => {

apps/svelte.dev/src/routes/tutorial/[...slug]/filetree/Filetree.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
workspace.select(name);
102102
},
103103
104+
// svelte-ignore state_referenced_locally
104105
workspace
105106
});
106107

pnpm-lock.yaml

Lines changed: 145 additions & 32 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)