|
Node.js APIs might be deprecated for any of the following reasons: |
|
|
|
* Use of the API is unsafe. |
|
* An improved alternative API is available. |
|
* Breaking changes to the API are expected in a future major release. |
Since at least one of the points above holds true, it should qualify for a deprecation, but hey, the deprecation status was previously revoked and it was moved to legacy status in #37784, so I'm doubtful that it would be that straightforward. I don't know why the deprecation was revoked but it would be nice to know the reason and if it still applies, we should update the doc accordingly.
cc @nodejs/tsc
node/doc/api/deprecations.md
Lines 7 to 11 in 3d4f3ca
Since at least one of the points above holds true, it should qualify for a deprecation, but hey, the deprecation status was previously revoked and it was moved to legacy status in #37784, so I'm doubtful that it would be that straightforward. I don't know why the deprecation was revoked but it would be nice to know the reason and if it still applies, we should update the doc accordingly.
cc @nodejs/tsc