summaryrefslogtreecommitdiff
path: root/cli/node.rs
diff options
context:
space:
mode:
authorMarvin Hagemeister <marvin@deno.com>2024-05-17 16:24:07 +0200
committerGitHub <noreply@github.com>2024-05-17 16:24:07 +0200
commit75efc74931c1021fdc41c96f45a4e20ae4609e50 (patch)
tree52b6d8c3a76a5463b25d94b52d8228b52cebaa00 /cli/node.rs
parent812f2e4c22182fdbaf783dba3cc9d178783eced7 (diff)
fix(node): instantiating process class without new (#23865)
Popular test runners like Jest instantiate a new `Process` object themselves and expect the class constructor to be callable without the `new` keyword. This PR refactors our `Process` class implementation from a proper ES2015 class to an ES5-style class which can be invoked both with and without the `new` keyword like in Node. Fixes https://github.com/denoland/deno/issues/23863
Diffstat (limited to 'cli/node.rs')
0 files changed, 0 insertions, 0 deletions