mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
fix(cli): missing flag for --unstable-process
(#24199)
This commit is contained in:
parent
8ad25e86da
commit
abe9953829
2 changed files with 14 additions and 9 deletions
|
@ -245,7 +245,6 @@ const denoNs = {
|
||||||
gid: os.gid,
|
gid: os.gid,
|
||||||
uid: os.uid,
|
uid: os.uid,
|
||||||
Command: process.Command,
|
Command: process.Command,
|
||||||
// TODO(bartlomieju): why is this exported?
|
|
||||||
ChildProcess: process.ChildProcess,
|
ChildProcess: process.ChildProcess,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -258,10 +257,11 @@ const unstableIds = {
|
||||||
http: 5,
|
http: 5,
|
||||||
kv: 6,
|
kv: 6,
|
||||||
net: 7,
|
net: 7,
|
||||||
temporal: 8,
|
process: 8,
|
||||||
unsafeProto: 9,
|
temporal: 9,
|
||||||
webgpu: 10,
|
unsafeProto: 10,
|
||||||
workerOptions: 11,
|
webgpu: 11,
|
||||||
|
workerOptions: 12,
|
||||||
};
|
};
|
||||||
|
|
||||||
const denoNsUnstableById = { __proto__: null };
|
const denoNsUnstableById = { __proto__: null };
|
||||||
|
|
|
@ -90,23 +90,28 @@ pub static UNSTABLE_GRANULAR_FLAGS: &[(
|
||||||
"Enable unstable net APIs",
|
"Enable unstable net APIs",
|
||||||
7,
|
7,
|
||||||
),
|
),
|
||||||
("temporal", "Enable unstable Temporal API", 8),
|
(
|
||||||
|
ops::process::UNSTABLE_FEATURE_NAME,
|
||||||
|
"Enable unstable process APIs",
|
||||||
|
8,
|
||||||
|
),
|
||||||
|
("temporal", "Enable unstable Temporal API", 9),
|
||||||
(
|
(
|
||||||
"unsafe-proto",
|
"unsafe-proto",
|
||||||
"Enable unsafe __proto__ support. This is a security risk.",
|
"Enable unsafe __proto__ support. This is a security risk.",
|
||||||
// This number is used directly in the JS code. Search
|
// This number is used directly in the JS code. Search
|
||||||
// for "unstableIds" to see where it's used.
|
// for "unstableIds" to see where it's used.
|
||||||
9,
|
10,
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
deno_webgpu::UNSTABLE_FEATURE_NAME,
|
deno_webgpu::UNSTABLE_FEATURE_NAME,
|
||||||
"Enable unstable `WebGPU` API",
|
"Enable unstable `WebGPU` API",
|
||||||
10,
|
11,
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
ops::worker_host::UNSTABLE_FEATURE_NAME,
|
ops::worker_host::UNSTABLE_FEATURE_NAME,
|
||||||
"Enable unstable Web Worker APIs",
|
"Enable unstable Web Worker APIs",
|
||||||
11,
|
12,
|
||||||
),
|
),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue