@@ -679,6 +679,10 @@ configuration at startup.
679679<!-- YAML
680680added: v0.11.12
681681changes:
682+ - version: REPLACEME
683+ pr-url: https://github.com/nodejs/node/pull/22409
684+ description: The `input` option can now be any `TypedArray` or a
685+ `DataView`.
682686 - version: v8.8.0
683687 pr-url: https://github.com/nodejs/node/pull/15380
684688 description: The `windowsHide` option is supported now.
@@ -694,8 +698,9 @@ changes:
694698* ` args ` {string[ ] } List of string arguments.
695699* ` options ` {Object}
696700 * ` cwd ` {string} Current working directory of the child process.
697- * ` input ` {string|Buffer|Uint8Array} The value which will be passed as stdin
698- to the spawned process. Supplying this value will override ` stdio[0] ` .
701+ * ` input ` {string|Buffer|TypedArray|DataView} The value which will be passed
702+ as stdin to the spawned process. Supplying this value will override
703+ ` stdio[0] ` .
699704 * ` stdio ` {string|Array} Child's stdio configuration. ` stderr ` by default will
700705 be output to the parent process' stderr unless ` stdio ` is specified.
701706 ** Default:** ` 'pipe' ` .
@@ -741,6 +746,10 @@ arbitrary command execution.**
741746<!-- YAML
742747added: v0.11.12
743748changes:
749+ - version: REPLACEME
750+ pr-url: https://github.com/nodejs/node/pull/22409
751+ description: The `input` option can now be any `TypedArray` or a
752+ `DataView`.
744753 - version: v8.8.0
745754 pr-url: https://github.com/nodejs/node/pull/15380
746755 description: The `windowsHide` option is supported now.
@@ -752,8 +761,9 @@ changes:
752761* ` command ` {string} The command to run.
753762* ` options ` {Object}
754763 * ` cwd ` {string} Current working directory of the child process.
755- * ` input ` {string|Buffer|Uint8Array} The value which will be passed as stdin
756- to the spawned process. Supplying this value will override ` stdio[0] ` .
764+ * ` input ` {string|Buffer|TypedArray|DataView} The value which will be passed
765+ as stdin to the spawned process. Supplying this value will override
766+ ` stdio[0] ` .
757767 * ` stdio ` {string|Array} Child's stdio configuration. ` stderr ` by default will
758768 be output to the parent process' stderr unless ` stdio ` is specified.
759769 ** Default:** ` 'pipe' ` .
@@ -795,6 +805,10 @@ metacharacters may be used to trigger arbitrary command execution.**
795805<!-- YAML
796806added: v0.11.12
797807changes:
808+ - version: REPLACEME
809+ pr-url: https://github.com/nodejs/node/pull/22409
810+ description: The `input` option can now be any `TypedArray` or a
811+ `DataView`.
798812 - version: v8.8.0
799813 pr-url: https://github.com/nodejs/node/pull/15380
800814 description: The `windowsHide` option is supported now.
@@ -813,8 +827,9 @@ changes:
813827* ` args ` {string[ ] } List of string arguments.
814828* ` options ` {Object}
815829 * ` cwd ` {string} Current working directory of the child process.
816- * ` input ` {string|Buffer|Uint8Array} The value which will be passed as stdin
817- to the spawned process. Supplying this value will override ` stdio[0] ` .
830+ * ` input ` {string|Buffer|TypedArray|DataView} The value which will be passed
831+ as stdin to the spawned process. Supplying this value will override
832+ ` stdio[0] ` .
818833 * ` argv0 ` {string} Explicitly set the value of ` argv[0] ` sent to the child
819834 process. This will be set to ` command ` if not specified.
820835 * ` stdio ` {string|Array} Child's stdio configuration.
0 commit comments