Skip to content

Svelte 5.33.11: Maximum call stack size exceeded #16052

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kyoshino opened this issue Jun 1, 2025 · 2 comments · Fixed by #16058
Closed

Svelte 5.33.11: Maximum call stack size exceeded #16052

kyoshino opened this issue Jun 1, 2025 · 2 comments · Fixed by #16058

Comments

@kyoshino
Copy link
Contributor

kyoshino commented Jun 1, 2025

Describe the bug

[email protected] has introduced the “Maximum call stack size exceeded” error in some of my SvelteKit projects. The only change in the release is #16038, and my code does use legacy mode and props. Downgrading to 5.33.10 removes the error.

Reproduction

REPL

<script>
  $: ({ events } = { events: [] });
  // The actual code is something like this where `data` comes from `+page.js`
  // $: ({ events } = data);
</script>

{#each events as event}
  <!--  -->
{/each}

Logs

System Info

System:
  OS: macOS 15.5
  CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
  Memory: 152.04 MB / 16.00 GB
  Shell: 3.2.57 - /bin/bash
Binaries:
  Node: 22.15.1 - /usr/local/opt/node@22/bin/node
  Yarn: 1.22.22 - /usr/local/bin/yarn
  npm: 10.9.2 - /usr/local/opt/node@22/bin/npm
  pnpm: 10.11.0 - /usr/local/bin/pnpm
Browsers:
  Chrome: 137.0.7151.55
  Safari: 18.5
npmPackages:
  svelte: 5.33.11 => 5.33.11

Severity

blocking an upgrade

@kevinashworth
Copy link

Same here. Downgrade to 5.33.10 solves it.

@kyoshino
Copy link
Contributor Author

kyoshino commented Jun 2, 2025

Confirming that upgrading to 5.33.13 solves the issue. Thanks for the quick fix! 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants