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.
This commit is contained in:
Bartek Iwańczuk 2024-09-03 10:07:02 +01:00 committed by GitHub
parent bf7571a6f9
commit 71e4ac774b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 2 additions and 123 deletions

View file

@ -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,