Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`process.binding()` is an internal API of Node, and its use should be avoided. Modern versions of Node have `constants` properties on the individual public modules, so using these and falling back to the `process.binding()` path ensures that this module is unaffected by changes to Node’s internals.
- Loading branch information