doc: add note to util.isBuffer#3790
Conversation
|
LGTM |
|
Of note though, it's just an |
|
Since it's deprecated why still keep the usage description of the old API? Shall we reduce to only the note of "Use |
|
LGTM. The message might be better with the description of the function, above the code example. |
|
If it is deprecated can we use the stability note like in other functions in it? |
|
LGTM |
|
@cjihrig are you saying move the note to the top of the section? |
|
@pmq20 well, it hasn't been removed yet. I think we should keep that part until we actually remove the api |
|
@evanlucas I meant move it from line 418 to line 407. If you think it would be more likely to be noticed. |
|
yea, looking back at it, I think that makes more sense |
6ddf6bb to
8705d4e
Compare
|
Updated. PTAL |
|
LGTM |
Since util.isBuffer is deprecated, we should be explicit that Buffer.isBuffer should be used instead. PR-URL: nodejs#3790 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
8705d4e to
7cb3a54
Compare
|
Landed in 7cb3a54. Thanks! |
|
Ah... The deprecation notice is already there. Sorry about the fuss |
Since util.isBuffer is deprecated, we should be explicit that Buffer.isBuffer should be used instead. PR-URL: #3790 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Since util.isBuffer is deprecated, we should be explicit that Buffer.isBuffer should be used instead. PR-URL: #3790 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
landed in v4.x-staging in 3435f87 |
Since util.isBuffer is deprecated, we should be explicit that Buffer.isBuffer should be used instead. PR-URL: #3790 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Since util.isBuffer is deprecated, we should be explicit that Buffer.isBuffer should be used instead. PR-URL: #3790 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Since util.isBuffer is deprecated, we should be explicit that Buffer.isBuffer should be used instead. PR-URL: #3790 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Since
util.isBufferis deprecated, we should be explicit thatBuffer.isBuffershould be used instead.