Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactoring changes to generic body parser impl #575

Open
wants to merge 2 commits into
base: generic-again
Choose a base branch
from

Conversation

ctcpip
Copy link
Member

@ctcpip ctcpip commented Jan 15, 2025

No description provided.

ctcpip and others added 2 commits January 14, 2025 19:01
squashed the following commits:

Added support for external parsers to bodyParser.json()

removed test dependency on json-bigint

reworked doc to describe json parser() func better

added parser() option and doc for .text()

added parser() option and doc for .raw()

added parser() option and doc for .urlencoded()

cleanup to satisfy linter

added generic parser

converted json parser to use generic parser

converted raw parser to use generic parser

converted text parser to use generic parser

converted urlencoded parser to use generic parser

cleanup / fix linter warnings

removed items from README

added bodyParser.generic() getter

cleanup / fix linter warnings

fixed tests after rebase

satisfying linter

Ref'd genParser via the bodyparser getter to signal how third party parsers should import genParser'

removed dep on object-assign, which didnt support node < 0.10

minor text cleanup

🔧 add debug script

🐛 fix object merging

🔥 clean up

💚 remove node < 4 from CI

Co-authored-by: S Dellysse <[email protected]>
Co-authored-by: ctcpip <[email protected]>
Co-authored-by: Phillip9587 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants