0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-08 15:21:26 -05:00
denoland-deno/ext/node
Yusuke Tanaka 9ead0b867f fix(ext/node): have process global available in Node context (#27562)
This commit makes `process` global always available in Node context.

`process` global was previously available explicitly in `deno_node`, but then
got removed in #25291 and made globally available regardless of whether it's in
Deno or Node context, so this commit does not have any effect on Deno CLI.
However, for users who want to use `deno_node` ext only, it makes sense to have
`process` available to simulate the Node environment individually.

This change may bring some negative performance impact. To measure how large the
impact would be, a very simple benchmark was performed whose results can be
found at https://github.com/magurotuna/process_global_bench.
2025-01-09 15:19:20 -05:00
..
benchmarks chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
ops refactor: remove use of home crate (#27516) 2025-01-09 15:19:17 -05:00
polyfills fix(ext/node): have process global available in Node context (#27562) 2025-01-09 15:19:20 -05:00
build.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
Cargo.toml refactor: remove use of home crate (#27516) 2025-01-09 15:19:17 -05:00
clippy.toml refactor(ext/fs): deno_fs::FileSystem - conditional Send + Sync (#18993) 2023-05-08 11:02:02 -04:00
global.rs fix(ext/node): have process global available in Node context (#27562) 2025-01-09 15:19:20 -05:00
lib.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
polyfill.rs chore: Happy New Year 2025 (#27509) 2025-01-09 15:19:16 -05:00
README.md chore(ext/node): correct publishing for ext/node (#15461) 2022-08-11 17:25:41 -04:00

deno_node

require and other node related functionality for Deno.