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

bodyParsers is deprecated so update with expess bodyParsers #974

Merged
merged 4 commits into from
Sep 12, 2024
Merged

bodyParsers is deprecated so update with expess bodyParsers #974

merged 4 commits into from
Sep 12, 2024

Conversation

cvchauhan
Copy link
Contributor

  • - > Body Parsers is deprecated so update with expess body Parsers
  • - > Change path-to-regexp 6.2.2 to 6.3.0
  • - > update express version

@cdimascio
Copy link
Owner

Thanks this also applies needed patch for #966

@cdimascio cdimascio merged commit 6dc3b97 into cdimascio:master Sep 12, 2024
5 checks passed
cvchauhan

This comment was marked as resolved.

app.use(bodyParser.urlencoded({ extended: false }));
app.use(bodyParser.text());
app.use(bodyParser.json());
app.use(bodyParsers.urlencoded({ extended: false }));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cdimascio - I assume this was supposed to be express, not bodyParsers?

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.

3 participants