tldraw/packages
Steve Ruiz 2f28d7c6f8
Protect local storage calls (#3043)
This PR provides some safe wrappers for local storage calls. Local
storage is not available in all environments (for example, a React
Native web view). The PR also adds an eslint rule preventing direct
calls to local / session storage.

### Change Type

- [x] `patch` — Bug fix

### Release Notes

- Fixes a bug that could cause crashes in React Native webviews.
2024-03-04 13:37:09 +00:00
..
assets Update CHANGELOG.md [skip ci] 2024-02-29 18:28:45 +00:00
editor Protect local storage calls (#3043) 2024-03-04 13:37:09 +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 Protect local storage calls (#3043) 2024-03-04 13:37:09 +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 Protect local storage calls (#3043) 2024-03-04 13:37:09 +00:00
validate Update CHANGELOG.md [skip ci] 2024-02-29 18:28:45 +00:00