From 23967431f55a3c9b5dec84e9079e8b27a0bd62c2 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 Signed-off-by: Beth Griggs --- doc/api/deprecations.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 4e68e2e46157c8..d15d8065e7bff2 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -2299,6 +2299,21 @@ Please use the publicly documented [`timeout.refresh()`][] instead. If unreferencing the timeout is necessary, [`timeout.unref()`][] can be used with no performance impact since Node.js 10. + +### 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