Skip to content

node: deprecate public access to process.binding#2768

Closed
vkurchatkin wants to merge 1 commit intonodejs:masterfrom
vkurchatkin:deprecate-binding
Closed

node: deprecate public access to process.binding#2768
vkurchatkin wants to merge 1 commit intonodejs:masterfrom
vkurchatkin:deprecate-binding

Conversation

@vkurchatkin
Copy link
Contributor

This PR introduces a new way to access bindings: require('binding/module_name') and deprecates process.binding. This is a logical continuation of internal modules feature. Bindings are also accessible only in builtin modules or with --expose_internals flag.

R=@nodejs/collaborators

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver-major PRs that contain breaking changes and should be released in the next major version. stalled Issues and PRs that are stalled.

Projects

None yet

Development

Successfully merging this pull request may close these issues.