feat: add support for synchronous module.registerHooks#27
Conversation
|
7a2a136 to
536ca96
Compare
|
Playing with this, it looks like the sync |
bfa072a to
d248d00
Compare
|
I did some research and just force-pushed an update to the docs. (The code is as it was reviewed, no further changes there.) Had to do a bunch of testing to make sure the assumptions were create, but the readme now just specifies a single path forward that works for every situation. I feel like anyone who needs to use strictly
|
module.registerHooks
Also, add coverage for the debug dump path, and
c8 ignoresome lines that were being mysteriously uncovered.I'm not sure why, but tests don't actually run in node 26, due to
yargsbeing interpreted as ESM and loaded improperly from c8.This will allow us to set up Orchestrion in node versions that deprecate
module.register, without spamming stderr with warnings.