Skip to content

[v12.x] 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),

This PR:

  • allows --jitless in NODE_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

PR-URL: https://github.com/nodejs/node/pull/32100 Reviewed-By: Richard Lau riclau@uk.ibm.com Reviewed-By: Colin Ihrig cjihrig@gmail.com Reviewed-By: Sam Roberts vieuxtech@gmail.com Reviewed-By: Gus Caplan me@gus.host Reviewed-By: Shelley Vohr codebytere@gmail.com Reviewed-By: David Carlier devnexen@gmail.com Reviewed-By: Anna Henningsen anna@addaleax.net Reviewed-By: James M Snell jasnell@gmail.com Reviewed-By: Michael Dawson michael_dawson@ca.ibm.com Reviewed-By: Ruben Bridgewater ruben@bridgewater.de

Merge request reports

Loading