[v12.x backport] doc: deprecate process.umask() with no arguments
Node.js v12.x implements unflagged worker_threads
, therefore process.umask()
calls represent the same security risk as in Node.js v14.x.
Note that this PR does not backport the runtime deprecation.
Refs: #32321 (closed) Refs: #32499 Refs: #32711
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines