mirror of
https://github.com/denoland/deno.git
synced 2025-07-31 09:05:19 +00:00
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:
parent
bf7571a6f9
commit
71e4ac774b
4 changed files with 2 additions and 123 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue