- If resolving the filename for a
require(...)
fails, defer to the wrapped require implementation rather than failing right away. This allows a possibly-monkey-patchedrequire
to do its own special thing. nodejs#59
- Drop Node.js 6 support. New minimum supported Node.js version is 8.6.0. (This is the minimum supported Node.js version for elastic-apm-node@3 that uses this module.)
- Add testing of Node.js 19.
- Rename default branch from
master
tomain
. - Should there be a need to do 5.x maintenance releases there is a 5.x branch.
- Add support for hooking into the require of Node core modules prefixed with
'node:', e.g.
require('node:http')
. See https://nodejs.org/api/modules.html#core-modules nodejs#53
- Add support for hooking into require of absolute paths. nodejs#43
Use the source, Luke.