summaryrefslogtreecommitdiff
path: root/runtime/js/99_main.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/99_main.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/99_main.js')
-rw-r--r--runtime/js/99_main.js29
1 files changed, 0 insertions, 29 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js
index a4301ed3a..cfddb143d 100644
--- a/runtime/js/99_main.js
+++ b/runtime/js/99_main.js
@@ -62,7 +62,6 @@ import { errors } from "internal:runtime/js/01_errors.js";
import * as webidl from "internal:deno_webidl/00_webidl.js";
import DOMException from "internal:deno_web/01_dom_exception.js";
import * as flash from "internal:deno_flash/01_http.js";
-import * as spawn from "internal:runtime/js/40_spawn.js";
import {
mainRuntimeGlobalProperties,
setLanguage,
@@ -466,15 +465,6 @@ function bootstrapMainRuntime(runtimeOptions) {
// a snapshot
ObjectAssign(internals, {
nodeUnstable: {
- Command: spawn.createCommand(
- spawn.createSpawn(ops.op_node_unstable_spawn_child),
- spawn.createSpawnSync(
- ops.op_node_unstable_spawn_sync,
- ),
- spawn.createSpawnChild(
- ops.op_node_unstable_spawn_child,
- ),
- ),
serve: flash.createServe(ops.op_node_unstable_flash_serve),
upgradeHttpRaw: flash.upgradeHttpRaw,
listenDatagram: net.createListenDatagram(
@@ -513,11 +503,6 @@ function bootstrapMainRuntime(runtimeOptions) {
// the op function that needs to be passed will be invalidated by creating
// a snapshot
ObjectAssign(finalDenoNs, {
- Command: spawn.createCommand(
- spawn.createSpawn(ops.op_spawn_child),
- spawn.createSpawnSync(ops.op_spawn_sync),
- spawn.createSpawnChild(ops.op_spawn_child),
- ),
serve: flash.createServe(ops.op_flash_serve),
listenDatagram: net.createListenDatagram(
ops.op_net_listen_udp,
@@ -611,15 +596,6 @@ function bootstrapWorkerRuntime(
// a snapshot
ObjectAssign(internals, {
nodeUnstable: {
- Command: spawn.createCommand(
- spawn.createSpawn(ops.op_node_unstable_spawn_child),
- spawn.createSpawnSync(
- ops.op_node_unstable_spawn_sync,
- ),
- spawn.createSpawnChild(
- ops.op_node_unstable_spawn_child,
- ),
- ),
serve: flash.createServe(ops.op_node_unstable_flash_serve),
upgradeHttpRaw: flash.upgradeHttpRaw,
listenDatagram: net.createListenDatagram(
@@ -650,11 +626,6 @@ function bootstrapWorkerRuntime(
// the op function that needs to be passed will be invalidated by creating
// a snapshot
ObjectAssign(finalDenoNs, {
- Command: spawn.createCommand(
- spawn.createSpawn(ops.op_spawn_child),
- spawn.createSpawnSync(ops.op_spawn_sync),
- spawn.createSpawnChild(ops.op_spawn_child),
- ),
serve: flash.createServe(ops.op_flash_serve),
listenDatagram: net.createListenDatagram(
ops.op_net_listen_udp,