Skip to content

process: add emitExperimentalWarning function

Adds process.emitExperimentalWarning to inform users that they are using an experimental feature and that feature can change at any time. Modifies the ESM module loader warning to utilize the new function and allows user code to intercept this warning through a setImmediate call.

Refs: https://github.com/nodejs/node/issues/9036

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

process, internal

Merge request reports

Loading