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

streams: fix util inspect returning undefined for CompressionStream and DecompressionStream #52272

Closed
wants to merge 0 commits into from

Conversation

mertcanaltin
Copy link
Member

The customInspect method within the internal module node/lib/internal/webstreams/compression.js was missing a return statement, causing util.inspect to return undefined when inspecting instances of CompressionStream and DecompressionStream. This commit adds the missing return statement to ensure that util.inspect displays the correct information for these stream instances.
#52263

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. web streams labels Mar 30, 2024
@lpinca
Copy link
Member

lpinca commented Mar 30, 2024

Can you please remove the merge commit and add a test?

@mertcanaltin
Copy link
Member Author

I'll take a look at this, it's so weird I'm committing and it's disappearing @lpinca

@mertcanaltin
Copy link
Member Author

@mertcanaltin
Copy link
Member Author

#52283
I moved here 🙏 @lpinca

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-ci PRs that need a full CI run. web streams
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants