lib: add `process` to internal module wrapper · nodejs/node@738b0a1 · GitHub
Skip to content

Commit 738b0a1

Browse files
addaleaxMylesBorins
authored andcommitted
lib: add process to internal module wrapper
Share `process` through the module wrapper rather than relying on nobody messing with `global.process`. Backport-PR-URL: #19006 PR-URL: #17198 Fixes: #6802 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Lance Ball <lball@redhat.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
1 parent 743cf33 commit 738b0a1

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

lib/internal/bootstrap_node.js

Lines changed: 2 additions & 2 deletions
Lines changed: 10 additions & 0 deletions

0 commit comments

Comments
 (0)