Do we still need busboy
to handle multipart upload?
#8270
tyteen4a03
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently investigating Cloudflare Pages support for PayloadCMS and I see that we're currently using busboy to parse multipart file uploads.
Busboy has Node dependencies and hasn't been updated in a while. Remix is able to handle uploads using the native
FormData
API: https://github.com/remix-run/remix/blob/0e542779499b13ab9291cf20cd5e6b43e2905151/packages/remix-server-runtime/formData.tsGranted, the multipart parser they use also looks unmaintained but at least it does not rely on any Node APIs, so would be more Edge runtime friendly.
Would it be possible to switch away from
busboy
for improved Edge Runtime compatibility?Beta Was this translation helpful? Give feedback.
All reactions