Patch Changes
- 0c16fe4: - Make
file.data
nullable - Because for ghosts it will beundefined
and we don't have any type to distinguish ghosts from other (local) files. This caused a crash, because we didn't check forundefined
everywhere (when trying to store a blob that wasundefined
). This means we have to add null checks in some packages- Split UppyFile into two intefaces distinguished by the
isRemote
boolean:- LocalUppyFile
- RemoteUppyFile
- Split UppyFile into two intefaces distinguished by the
- Updated dependencies [0c16fe4]
- @uppy/core@5.1.1
- @uppy/utils@7.1.1