1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/cli/tests/testdata/compat
Bartek Iwańczuk b686907a45
feat(compat): inject Node globals (#12342)
This commit adds automatic injection of Node globals when "--compat" flag
is present.

This is done by executing "https://deno.land/std/node/global.ts" as a "side module",
before main module is executed.

This commit makes "--compat" required to be used with "--unstable" flag, as some
of Node globals require unstable Deno APIs.
2021-10-06 19:07:04 +02:00
..
existing_import_map.json feat: add --compat flag to provide built-in Node modules (#12293) 2021-10-05 01:35:55 +02:00
existing_import_map.out feat(compat): inject Node globals (#12342) 2021-10-06 19:07:04 +02:00
fs_promises.js feat: add --compat flag to provide built-in Node modules (#12293) 2021-10-05 01:35:55 +02:00
fs_promises.out feat: add --compat flag to provide built-in Node modules (#12293) 2021-10-05 01:35:55 +02:00
globals.out feat(compat): inject Node globals (#12342) 2021-10-06 19:07:04 +02:00
globals.ts feat(compat): inject Node globals (#12342) 2021-10-06 19:07:04 +02:00
node_fs_promises.js feat(compat): add support for node: prefixed built-ins (#12337) 2021-10-06 01:25:13 +02:00
test.txt feat: add --compat flag to provide built-in Node modules (#12293) 2021-10-05 01:35:55 +02:00