--disallow-code-generation-from-strings doesn't work with NODE_OPTIONS #30089
Labels
feature request
Issues that request new features to be added to Node.js.
security
Issues and PRs related to security.
v8 engine
Issues and PRs related to the V8 dependency.
Hello.
Working:
node --disallow-code-generation-from-strings index.js
Not working:
NODE_OPTIONS=--disallow-code-generation-from-strings node index.js
Im getting error:
node: --disallow-code-generation-from-strings is not allowed in NODE_OPTIONS
So its not possible to set --disallow-code-generation-from-strings in NODE_OPTIONS var.
Is this by design?
Thank you.
The text was updated successfully, but these errors were encountered: