Is there a way to suppress the
npm WARN npm npm does not support Node.js v12.0.0-pre warning only (and allow all other warnings to be printed)? Looking quickly through docs and lib/utils/unsupported.js, it seems the answer is “no” but maybe I’m missing something? If not, would a pull request implementing such a thing be welcome or likely rejected?
The use case is running the npm tests while building Node.js from latest source. There is at least one npm test that checks that no warnings are printed, so it fails when we run it with latest source. It would be great if Node.js contributors didn’t have to know that some npm test failures are expected, and suppressing that warning seems like the most desirable of the possibilities I’ve managed to think of.