Skip to content

util: support RawJSON exotic objects in inspector - #65225

Open
LiviaMedeiros wants to merge 3 commits into
nodejs:mainfrom
LiviaMedeiros:util-inspect-rawjson
Open

util: support RawJSON exotic objects in inspector#65225
LiviaMedeiros wants to merge 3 commits into
nodejs:mainfrom
LiviaMedeiros:util-inspect-rawjson

Conversation

@LiviaMedeiros

Copy link
Copy Markdown
Member

Currently, RawJSON objects are indistinguishable from generic null-prototyped objects by inspector.

Let's fix this and format them nicely.

Signed-off-by: LiviaMedeiros <livia@cirno.name>
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. util Issues and PRs related to the built-in util module. labels Aug 11, 2026
Signed-off-by: LiviaMedeiros <livia@cirno.name>
Signed-off-by: LiviaMedeiros <livia@cirno.name>
@codecov

codecov Bot commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.32%. Comparing base (cb9bb66) to head (bf88939).
⚠️ Report is 13 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main   #65225    +/-   ##
========================================
  Coverage   90.31%   90.32%            
========================================
  Files         760      760            
  Lines      248532   248631    +99     
  Branches    46908    46936    +28     
========================================
+ Hits       224467   224573   +106     
+ Misses      15505    15470    -35     
- Partials     8560     8588    +28     
Files with missing lines Coverage Δ
lib/internal/util/inspect.js 96.96% <100.00%> (+0.02%) ⬆️

... and 56 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

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. util Issues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants