You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FormData is shipped natively in all ever green browser and backends now.
Will this be the time for deprecation? form-data haven't been updated in a while and it still lacks some method that should be provided according to the spec. node-fetch@3 stopp recommended ppl using form-data due to inconsistency with spec compatible FormData and recommend that ppl use built in FormData or a spec:ed formdata polyfill that supports iterating over all fields and having Blob/File support. There is at least 3 other spec compatible FormData implementation out there that i know of
one provided by undici, the same one that is now also shipped globally in NodeJS v18.
fromdata-polyfill used by node-fetch
And lastly formdata-node
All of which supports adding 3th party blob/files backed up by a filesystem thanks due to fetch-blob... formdata-node also has built in fileFromPath() this is now also being more or less obsolete by the fs.openAsBlob(path)
Perhaps it's time to arcive the repo and put a deprication notice on npm?
The text was updated successfully, but these errors were encountered:
FormData is shipped natively in all ever green browser and backends now.
Will this be the time for deprecation?
form-data
haven't been updated in a while and it still lacks some method that should be provided according to the spec.node-fetch@3
stopp recommended ppl usingform-data
due to inconsistency with spec compatible FormData and recommend that ppl use built in FormData or a spec:ed formdata polyfill that supports iterating over all fields and having Blob/File support. There is at least 3 other spec compatible FormData implementation out there that i know ofAll of which supports adding 3th party blob/files backed up by a filesystem thanks due to fetch-blob...
formdata-node also has built in
fileFromPath()
this is now also being more or less obsolete by the
fs.openAsBlob(path)
Perhaps it's time to arcive the repo and put a deprication notice on npm?
The text was updated successfully, but these errors were encountered: