Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/svelte.dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"satori": "^0.10.13",
"satori-html": "^0.3.2",
"sv": "^0.9.2",
"svelte": "^5.40.0",
"svelte": "^5.46.0",
"svelte-check": "^4.3.1",
"svelte-preprocess": "^6.0.3",
"tiny-glob": "^0.2.9",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
const STORAGE_KEY = 'svelte:playground';

let repl = $state() as ReturnType<typeof Repl>;
// svelte-ignore state_referenced_locally
let name = $state(data.gist.name);
let modified = $state(false);
let setting_hash: any = null;
Expand Down
4 changes: 3 additions & 1 deletion apps/svelte.dev/src/routes/blog/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@

let { data } = $props();

const featured = data.posts.filter((post) => !post.metadata.title.startsWith('What’s new'));
// svelte-ignore state_referenced_locally
const whats_new = data.posts.filter((post) => post.metadata.title.startsWith('What’s new'));

// svelte-ignore state_referenced_locally
const top = data.posts[0];
</script>

Expand Down
1 change: 1 addition & 0 deletions apps/svelte.dev/src/routes/tutorial/[...slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

let { data }: PageProps = $props();

// svelte-ignore state_referenced_locally
let path = data.exercise.path;
let show_editor = $state(false);
let show_filetree = $state(false);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
let terminal_visible = $state(false);

// reset `path` to `exercise.path` each time, but allow it to be controlled by the iframe
// svelte-ignore state_referenced_locally
let path = $state(exercise.path);

onMount(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
workspace.select(name);
},

// svelte-ignore state_referenced_locally
workspace
});

Expand Down
177 changes: 145 additions & 32 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

Loading