tldraw/packages
alex ce782dc70b
Wrap local/session storage calls in try/catch (take 2) (#3066)
Steve tried this in #3043, but we reverted it in #3063. Steve's version
added `JSON.parse`/`JSON.stringify` to the helpers without checking for
where we were already `JSON.parse`ing (or not). In some places we just
store strings directly rather than wanting them jsonified, so in this
version we leave the jsonification to the callers - the helpers just do
the reading/writing and return the string values.

### Change Type

- [x] `patch` — Bug fix
2024-03-04 16:15:20 +00:00
..
assets Update CHANGELOG.md [skip ci] 2024-02-29 18:28:45 +00:00
editor Wrap local/session storage calls in try/catch (take 2) (#3066) 2024-03-04 16:15:20 +00:00
namespaced-tldraw Show a broken image for files without assets (#2990) 2024-03-01 18:16:27 +00:00
state Update CHANGELOG.md [skip ci] 2024-02-29 18:28:45 +00:00
store Update CHANGELOG.md [skip ci] 2024-02-29 18:28:45 +00:00
tldraw Wrap local/session storage calls in try/catch (take 2) (#3066) 2024-03-04 16:15:20 +00:00
tlschema Remove dependabot config since it only controls version updates? (#3057) 2024-03-04 13:19:51 +00:00
tlsync tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
utils Wrap local/session storage calls in try/catch (take 2) (#3066) 2024-03-04 16:15:20 +00:00
validate Update CHANGELOG.md [skip ci] 2024-02-29 18:28:45 +00:00