cli: allow --jitless V8 flag in NODE_OPTIONS
This work is modeled on #30094 which allowed
--disallow-code-generation-from-strings
in NODE_OPTIONS
.
The --jitless
v8 option has been supported since 12.0.0. As a v8 option,
node automatically picks it up, but there have been a few issues that were
resolved by simply telling users about the option: #26758 (closed), #28800 (closed).
This PR:
- allows
--jitless
inNODE_OPTIONS
- documents
--jitless
- moves
--experimental-loader=module
to locally restore alphabetical order in option documentation
Refs: https://github.com/nodejs/node/pull/30094 Refs: https://github.com/nodejs/node/issues/26758 Refs: https://github.com/nodejs/node/issues/28800
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