Open
Description
I noticed that there has been a lot of work to refactor the codebase, for example:
- Reuse the validation in
lib/internal/validators.js
: PR search results - Migration of core modules to primordials: Migration of core modules to primordials #30697
I guess codemod tools may help in these cases. Actually this PR #38608 is finished by the codemod script here https://github.com/pd4d10/nodejs-codemod (a rough MVP version, may have some bugs)
Can't say it saves lots of time in this case, because there are not many changes. But it may be useful in the future, especially as the codebase grows.