Hi. In https://github.com/elastic/apm-agent-nodejs we have a fork of this lib (https://github.com/elastic/apm-agent-nodejs/blob/master/lib/instrumentation/patch-async.js). Recently we did a fix for an issue where the wrapping of fs.realpath accidentally wipes out fs.realpath.native. Our patch for that is this: https://github.com/elastic/apm-agent-nodejs/pull/2403/files#diff-68468fdd0c330b902912d266a6d7520b11b168fd1b1c07acc5d85361237a79d5
If someone using this lib runs into this, then hopefully this helps. If this lib is being maintained, poke me and I can look into making a PR with this patch.
Hi. In https://github.com/elastic/apm-agent-nodejs we have a fork of this lib (https://github.com/elastic/apm-agent-nodejs/blob/master/lib/instrumentation/patch-async.js). Recently we did a fix for an issue where the wrapping of
fs.realpathaccidentally wipes outfs.realpath.native. Our patch for that is this: https://github.com/elastic/apm-agent-nodejs/pull/2403/files#diff-68468fdd0c330b902912d266a6d7520b11b168fd1b1c07acc5d85361237a79d5If someone using this lib runs into this, then hopefully this helps. If this lib is being maintained, poke me and I can look into making a PR with this patch.