node-util
node-util copied to clipboard
[WIP] Sync features with Node 9
Still need to port:
- [ ] callbackify
- [ ] format
- [x] inspect
- [ ] isDeepStrictEqual
The new inspect() function is significantly bigger which is unfortunate. Hopefully common-shakeify can usually remove it from browser builds.
Think I'll split this up so we can get promisify out the door first :P not that many people really need the new format features, probably!
How could I help get at least the util.inspect part of this available on npm? I'd like to use it in eemeli/yaml-playground. Brief testing would suggest that it mostly works, except for indentation depth with Map and Set objects.
What's the status here?
Ping @goto-bus-stop
promisify/callbackify was landed separately, debuglog is in another PR. Maybe we can extract the inspect progress from this as a separate PR too, but it may be tricky to reconcile the current master with this PR and with the latest Node.js implementation. No work happened here since the last visible changes.
I can't commit enough time to finish inspect in the near future