Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Expose bodyParser.raw on express #3708
It's currently not possible to use the
This PR just adds the
From what I understand about NPM, it's designed to handle these types of conflicts seamlessly because each dependency can have its own version of a dependency in its tree. If your project is using body-parser itself, it may make more sense to use it as its own dependency instead of depending on Express to expose its methods in the way you need it to, now and in the future. This is probably worth a small increase in the size of your code.
referenced this pull request
May 2, 2019
@LinusU @wesleytodd I'm working to land this in the 4.17 branch now and I thought that
This side discussion is not a blocker to landing this in 4.17.
I created expressjs/discussions#78 to discuss further.