Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEP0040 is an extremely annoying warning. Most of the people seeing it cannot do anything about it. This commit updates the warning logic to only emit outside of node_modules. This is similar to other warnings such as the Buffer() constructor warning. Ideally, this should be backported to Node 22. Refs: nodejs#47202
- Loading branch information