Commit Graph

1 Commits

Author SHA1 Message Date
Aculix Technologies d69c68ccef feat: add resilient storage module with legacy key migration
A factory over an injectable backend, so persistence can be tested without
a DOM.

Fixes the unguarded JSON.parse that would white-screen the app on one bad
value, and falls back to memory when localStorage itself throws (Safari
private mode, full quota).

migrateLegacyKeys converts old "Sat Aug 15 2026" keys in place. It's
idempotent, and it leaves anything it can't parse alone rather than
deleting it.
2026-08-15 23:50:20 +05:30