Open
Description
Hi, I would like to request an exception for the ESM/CommonJS ADR (#323) to release Multer version 2, since one of its dependencies is ESM (https://www.npmjs.com/package/file-type), which makes this module unable to be CommonJS.
The other option is to fork file-type and convert it to CommonJS, but do we really want that? Or look for an alternative to that package, or move the support of v2 to Node >= 22.12 (which would go against the LTS plan).
Ref:
- Plans for v2? multer#1042 (comment)
- It is used, behind (https://www.npmjs.com/package/stream-file-type), which depends on the new version (https://github.com/expressjs/multer/blob/d983eb219979ec41936fd29d9db24e51fad9d0f3/package.json#L30)
cc: @expressjs/express-tc @expressjs/multer-collaborators @UlisesGascon @LinusU
Metadata
Metadata
Assignees
Labels
No labels