Skip to content

src: add process.binding('config')

Checklist
  • tests and code linting passes
  • a test and/or benchmark is included
  • the commit message follows commit guidelines
Affected core subsystem(s)

process

Description of change

It turns out that userland likes to override process.config with their own stuff. If we want to be able to depend on it in any way, we need our own internal reference. It's still not read-only but that should be ok.

  • Documents that process.config can and likely will be overwritten
  • Adds process.binding('config')
  • Adds the icu/intl configs as flags

/cc @Fishrock123 @srl295

Merge request reports

Loading