The option --pending-deprecation should be added to NODE_OPTIONS whitelist

  • Version: v8.5.0
  • Platform: Microsoft Windows [version 10.0.15063] (64-bit)
  • Subsystem: unknown

I wanted to enable the --pending-deprecation option via the NODE_OPTIONS env variable but received the following message when I tried to run node:

--pending-deprecation is not allowed in NODE_OPTIONS

I think it's safe to allow this option to be set in NODE_OPTIONS.