From 9b70a5c3f132ef96e8f151f589ca4afb2f8f716a Mon Sep 17 00:00:00 2001 From: cjihrig Date: Fri, 29 Mar 2019 10:36:57 -0400 Subject: [PATCH] child_process: doc deprecate ChildProcess._channel This was eligible to begin deprecation in Node 8. PR-URL: https://github.com/nodejs/node/pull/26982 Reviewed-By: Ben Noordhuis Reviewed-By: Ruben Bridgewater Reviewed-By: Sam Roberts --- doc/api/deprecations.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 9820b8039c0..eaf946a777d 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -2416,6 +2416,21 @@ also have an `index.js` file in the top level directory will resolve the `index.js` file. That is deprecated and is going to throw an error in future Node.js versions. + +### DEP0XXX: ChildProcess._channel + + +Type: Documentation-only + +The `_channel` property of child process objects returned by `spawn()` and +similar functions is not intended for public use. Use `ChildProcess.channel` +instead. + [`--pending-deprecation`]: cli.html#cli_pending_deprecation [`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size [`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array