Repository navigation
Conversation
|
Since this is deprecating an undocumented feature, I recommend to treat this as |
|
The collaborator guide says:
Let's make this semver-minor and it won't need special TSC approval (It will also be highlighted in the release notes, which is a good thing). |
There was a problem hiding this comment.
you can already add pr-url: https://github.com/nodejs/node/pull/22753
There was a problem hiding this comment.
I removed it completely (since it could be assumed that Node.js is the object on the sentence)
5c52da1 to
76a64c3
Compare
76a64c3 to
cfd0067
Compare
| example below. **Default:** `true`. | ||
| * Returns: {string} The representation of passed object | ||
|
|
||
| Deprecation notice: The legacy function signature that was changed in v0.9.3 |
There was a problem hiding this comment.
I'd suggest simplifying this greatly:
The legacy function signature `util.inspect(object, [showHidden], [depth], [colors])` is deprecated.There was a problem hiding this comment.
One problem with this is that it can be interpreted as saying that util.inspect(object) is deprecated but it is not. Can we indicate that the showHidden, depth, and colors arguments are deprecated instead of pointing to the function signature?
|
This would need to include a deprecation code assignment in |
| added: v0.3.0 | ||
| changes: | ||
| - version: REPLACEME | ||
| pr-rul: https://github.com/nodejs/node/pull/22753 |
| * Returns: {string} The representation of passed object | ||
|
|
||
| Deprecation notice: The legacy function signature that was changed in v0.9.3 | ||
| `util.inspect(object, [showHidden], [depth], [colors])` has been deprecated. |
There was a problem hiding this comment.
I’d put this closer to the end of the description… this is probably not relevant to a lot of people (and if it is, we shouldn’t deprecate it)
|
Ping |
IMHO we should either deprecate or document. Ref: #23205 |
Refs: #22751
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes