Closed pedroslopez closed 2 years ago
Calling toString() on a PersistentFile was throwing:
toString()
PersistentFile
Uncaught Rejection stack=TypeError: Cannot read property 'newFilename' of undefined at PersistentFile.toString (formidable/src/PersistentFile.js:50:42)
It seems like ._file wasn't set anywhere, and toJSON was using these directly anyway.
._file
toJSON
Published as 3.1.5
Thanks! How does the v2 situation work? Should I make another pr against v2-latest?
I recommend to forget v2
Calling
toString()
on aPersistentFile
was throwing:It seems like
._file
wasn't set anywhere, andtoJSON
was using these directly anyway.