lib: add option to silence warnings
Introduce an option --suppress-warnings
to silence experimental and deprecation warnings for specified features
Fixes: https://github.com/nodejs/node/issues/30810
Co-Authored-By: Cody Deckard cjdeckard@gmail.com
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines