This website requires JavaScript.
Explore
Help
Sign in
foster
/
denoland-deno
Watch
1
Star
0
Fork
You've already forked denoland-deno
0
mirror of
https://github.com/denoland/deno.git
synced
2024-12-30 11:16:38 -05:00
Code
Issues
Packages
1
Wiki
Activity
de33017a8b
denoland-deno
/
cli
/
tests
/
testdata
/
compat
/
globals.out
10 lines
118 B
Text
Raw
Normal View
History
Unescape
Escape
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 13:07:04 -04:00
[WILDCARD]
process {
[WILDCARD]
}
feat(unstable): Node CJS and ESM resolvers for compat mode (#12424) This commit adds CJS and ESM Node resolvers to the "--compat" mode. The functionality is spread across "cli/compat" module and Node compatibility layer in "deno_std/node"; this stems from the fact that ES module resolution can only be implemented in Rust as it needs to directly integrated with "deno_core"; however "deno_std/node" already provided CJS module resolution. Currently this resolution is only active when running a files using "deno run --compat --unstable <filename>", and is not available in other subcommands, which will be changed in follow up commits.
2021-10-18 13:36:28 -04:00
[Function: Buffer] {
[WILDCARD]
}
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 13:07:04 -04:00
[Function: setImmediate]
[Function: clearTimeout]
Copy permalink