Hey we've been using this module a bit, and I've encountered an issue with it.
It seems you don't filter out native module, and as per nodejs documentation this causes bad behavior when re-requiring code later on.
This documentation as been added there : nodejs/node@5c14d69
To reproduce, clear-module and reimport any library that internally uses a native library ( '.node' file )
I'm getting an Error: Unknown failure
when requiring it back and more specifically when the codes tries to call a function (that's within the .node )
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too