From 71e4ac774bc18902a0d23f29d9b18b43b19bbbf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 3 Sep 2024 10:07:02 +0100 Subject: BREAKING(unstable): drop support for Deno.run.{clearEnv,gid,uid} (#25371) These are unstable options and the APIs is now deprecated. To limit amount of unstable flags we elected to have these APIs removed. --- runtime/js/40_process.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'runtime/js/40_process.js') diff --git a/runtime/js/40_process.js b/runtime/js/40_process.js index 0f28b9d5c..b2269ffd6 100644 --- a/runtime/js/40_process.js +++ b/runtime/js/40_process.js @@ -133,10 +133,7 @@ class Process { function run({ cmd, cwd = undefined, - clearEnv = false, env = { __proto__: null }, - gid = undefined, - uid = undefined, stdout = "inherit", stderr = "inherit", stdin = "inherit", @@ -155,10 +152,7 @@ function run({ const res = opRun({ cmd: ArrayPrototypeMap(cmd, String), cwd, - clearEnv, env: ObjectEntries(env), - gid, - uid, stdin, stdout, stderr, -- cgit v1.2.3