Skip to content

Svelte 5.33.11: Maximum call stack size exceeded #16052

Closed
@kyoshino

Description

@kyoshino

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions