Files
obsidian-excalidraw-plugin/scripts/testing/settings
The.D 10d6c1f7de fix(settings): bound toJSON unwrapping with the recursion depth cap
An independent review pass flagged that a self-returning toJSON recursed
without incrementing depth, so the depth cap never engaged and the stack
overflowed. Increment depth when unwrapping; the payload now terminates
at the cap and serializes like native JSON.stringify. Regression test
added (npm run test:settings, 10 tests).
2026-10-15 11:01:46 +08:00
..