0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 09:21:21 +01:00
Commit Graph

1 Commits

Author SHA1 Message Date
Simon H
8578857332
fix: ensure deep mutation ownership widening (#11094)
Previously, ownership widening/removal was only done if the immediate object that was encountered was state. This isn't always the case. It also didn't take into account classes with state on it (which turn into getters). This change takes both these cases into account and now always traverses the given object deeply.
fixes #11060
2024-04-08 13:57:04 +02:00