node-util icon indicating copy to clipboard operation
node-util copied to clipboard

formatWithOptions is missing

Open texuf opened this issue 6 months ago • 3 comments

https://nodejs.org/api/util.html#utilformatwithoptionsinspectoptions-format-args

inspect has options, just need to forward them

texuf avatar Jul 29 '25 22:07 texuf

Looks like that's added in node 10, which we're not caught up to yet.

Also, we wouldn't be able to just forward them, because we also have to reimplement them for the browser.

ljharb avatar Jul 29 '25 23:07 ljharb

now i see that inspect has a legacy api, thanks for the response. i'll close.

texuf avatar Jul 29 '25 23:07 texuf

It's fine to keep it open; we do need to catch up eventually.

ljharb avatar Jul 29 '25 23:07 ljharb