From f917d2e2c10e0a94e564a9016217e7ce27c8bbee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 13 Feb 2023 19:25:00 +0100 Subject: feat: Stabilize Deno.Command API (#17628) This commit stabilizes "Deno.Command" API with all its related APIs. "--unstable" flag is no longer required to use this API. --- runtime/js/90_deno_ns.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runtime/js/90_deno_ns.js') diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js index fe59ea1a7..7b9d8e6e6 100644 --- a/runtime/js/90_deno_ns.js +++ b/runtime/js/90_deno_ns.js @@ -152,6 +152,9 @@ const denoNs = { consoleSize: tty.consoleSize, gid: os.gid, uid: os.uid, + Command: spawn.Command, + // TODO(bartlomieju): why is this exported? + ChildProcess: spawn.ChildProcess, }; const denoNsUnstable = { @@ -171,9 +174,6 @@ const denoNsUnstable = { flockSync: fs.flockSync, funlock: fs.funlock, funlockSync: fs.funlockSync, - Child: spawn.Child, - ChildProcess: spawn.ChildProcess, - Command: spawn.Command, upgradeHttp: http.upgradeHttp, upgradeHttpRaw: flash.upgradeHttpRaw, }; -- cgit v1.2.3