summaryrefslogtreecommitdiff
path: root/runtime/js/90_deno_ns.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-02-13 19:25:00 +0100
committerGitHub <noreply@github.com>2023-02-13 19:25:00 +0100
commitf917d2e2c10e0a94e564a9016217e7ce27c8bbee (patch)
treedc13ab3e0acf5d28874c881ad4ea62f2a103bdff /runtime/js/90_deno_ns.js
parent9e3d433249b9259e3a04b4f68563a41455ac7efc (diff)
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.
Diffstat (limited to 'runtime/js/90_deno_ns.js')
-rw-r--r--runtime/js/90_deno_ns.js6
1 files changed, 3 insertions, 3 deletions
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,
};