FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

streams: fix util inspect returning undefined for CompressionStream and DecompressionStream by mertcanaltin · Pull Request #52272 · nodejs/node · GitHub

/ node Public

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

Closed
mertcanaltin wants to merge 0 commit into
nodejs:mainfrom
mertcanaltin:dev-52263
Closed

streams: fix util inspect returning undefined for CompressionStream and DecompressionStream#52272
mertcanaltin wants to merge 0 commit into
nodejs:mainfrom
mertcanaltin:dev-52263

Conversation

Copy link
Copy Markdown
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 added needs-ci PRs that need a full CI run. web streams labels Mar 30, 2024

lpinca commented Mar 30, 2024

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Member Author

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

Copy link
Copy Markdown
Member Author

Copy link
Copy Markdown
Member Author

#52283
I moved here 🙏 @lpinca

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL