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

Fix inheritance should not overwrite the methods on res and req with the ones from http.ServerResponse and http.IncomingMessage #6047

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tofandel
Copy link

@Tofandel Tofandel commented Oct 13, 2024

This allows for express to run correctly with unenv and paves the way for it to be used in other envs than node

Fixes #6039

I also have a backport for 4.x ready

@Tofandel Tofandel changed the title Fix inheritance should not overwrite the methods res and req with the ones from http.ServerResponse and http.IncomingMessage Fix inheritance should not overwrite the methods on res and req with the ones from http.ServerResponse and http.IncomingMessage Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants