summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/compat/globals.ts
AgeCommit message (Collapse)Author
2021-10-06feat(compat): inject Node globals (#12342)Bartek IwaƄczuk
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.