octet-stream / form-data

Spec-compliant FormData implementation for Node.js
https://www.npmjs.com/package/formdata-node
MIT License
142 stars 17 forks source link

v4 Roadmap #42

Closed octet-stream closed 3 years ago

octet-stream commented 3 years ago

I think it's time for me to start work on the next version of formdata-node. This version should be the last piece to make it fully spec-compatible. Here's what I want to do:

jimmywarting commented 3 years ago

I would say: go for ESM only, but first wait for web-stream-polyfill to reduce the package size. that 8MB was not so well received among others. Or don't go ESM just yet, some ppl actually preferred your CJS version over my ESM only package for that reason alone. both yours and mine will become a bit obsolete now when nodejs plans to ships File and FormData into core as well.

octet-stream commented 3 years ago

Or don't go ESM just yet, some ppl actually preferred your CJS version over my ESM only package for that reason alone.

Yeah, because people still need CJS (I personally use it at least for prototyping, because I want to use ts-node-dev which have no ESM support) I may keep it in v4. But technically, people can stick with v3, because v4 is more of a housekeeping release.

both yours and mine will become a bit obsolete now when nodejs plans to ships File and FormData into core as well.

Yeah, the v4 would probably be the last version of my package at least for this reason.

jimmywarting commented 3 years ago

sad part is that you will be stuck with a older version of fetch-blob and be forced to use a own File Class as of now

octet-stream commented 3 years ago

Yeah, I'd prefer to update to v3, because it passes WPT.