After updating the data, nodes at a depth greater than the deep attribute are not collapsed.
On the following playground example, clicking on the button changes the value of the data (via a ref). The content of the VueJsonPretty component is correctly updated, but no node is collapsed.
https://stackblitz.com/edit/vitejs-vite-b7oxcsrj?file=src%2FApp.vue