Skip to content

Conversation

bjohansebas
Copy link
Member

Unfortunately, this module monkey-patches writeHead. It’s an important module in the Express ecosystem and probably in other key packages that need to use it as a hook for writeHead. Adding it to CITGM wouldn’t be a bad idea while we wait for a solution in Node.js core that would allow us to deprecate this module.

cc: @wesleytodd @UlisesGascon @blakeembrey @ctcpip

Checklist
  • npm test passes
  • tests are included
  • documentation is changed or added
  • contribution guidelines followed
    here

Copy link

@ctcpip ctcpip left a comment

Choose a reason for hiding this comment

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

Signed-off-by: Sebastian Beltran <[email protected]>
@bjohansebas
Copy link
Member Author

I can't resolve the Prettier warning, it seems to be something outside of this PR.

@bjohansebas bjohansebas requested a review from ctcpip July 8, 2025 00:10
Copy link
Member

@UlisesGascon UlisesGascon left a comment

Choose a reason for hiding this comment

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

LGTM! The error in the CI are not related to this change.

I can't resolve the Prettier warning, it seems to be something outside of this PR.

@bjohansebas by running npm run lint:prettier:fix you can see that the changed files are test/reporter/test-reporter-tap.js and test/reporter/test-reporter-junit.js. So we can ignore it 👍

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.

4 participants