diff options
author | Marvin Hagemeister <marvin@deno.com> | 2024-05-17 16:24:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-17 16:24:07 +0200 |
commit | 75efc74931c1021fdc41c96f45a4e20ae4609e50 (patch) | |
tree | 52b6d8c3a76a5463b25d94b52d8228b52cebaa00 /cli/module_loader.rs | |
parent | 812f2e4c22182fdbaf783dba3cc9d178783eced7 (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/module_loader.rs')
0 files changed, 0 insertions, 0 deletions