mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 09:21:21 +01:00
8578857332
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
6 lines
70 B
Markdown
6 lines
70 B
Markdown
---
|
|
"svelte": patch
|
|
---
|
|
|
|
fix: ensure deep mutation ownership widening
|