-
-
Notifications
You must be signed in to change notification settings - Fork 751
Closed
Labels
Description
In a project I work we use body-parser and mysql2 as dependencies.
We are running a very common combination of prisma+mysql2 / expressjs+bodyparser in vercel, and every bundle kb is important in cold start lambda functions.
mysql2 depends on iconv-lite: 0.6.3 and body-parser depends on iconv-lite: 0.4.24
I think it can be upgraded in body-parser to have the same library and avoid code duplication. This would save around 600kb (~500kb of duplication + ~100kb of improved bundle size in 0.6.0).
Thank you for this great project!