mirror of
https://github.com/denoland/deno.git
synced 2025-08-31 07:47:46 +00:00
feat(cli): add --unstable-node-globals
flag (#26617)
This PR adds a new `--unstable-node-globals` flag to expose Node globals by default. Fixes https://github.com/denoland/deno/issues/26611 --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
This commit is contained in:
parent
4e899d48cf
commit
de34c7ed29
13 changed files with 75 additions and 21 deletions
|
@ -144,12 +144,13 @@ const unstableIds = {
|
|||
http: 5,
|
||||
kv: 6,
|
||||
net: 7,
|
||||
otel: 8,
|
||||
process: 9,
|
||||
temporal: 10,
|
||||
unsafeProto: 11,
|
||||
webgpu: 12,
|
||||
workerOptions: 13,
|
||||
nodeGlobals: 8,
|
||||
otel: 9,
|
||||
process: 10,
|
||||
temporal: 11,
|
||||
unsafeProto: 12,
|
||||
webgpu: 13,
|
||||
workerOptions: 14,
|
||||
};
|
||||
|
||||
const denoNsUnstableById = { __proto__: null };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue