Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crypto: make DEFAULT_ENCODING non-enumerable #23227

Closed

Conversation

guybedford
Copy link
Contributor

Fixes #23203.

Deprecated exports now need to always be non-enumerable - this pattern was established when we implemented named exports for Node core modules from ES Modules. Otherwise import 'crypto' will always give a deprecation warning for modules.

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

@nodejs-github-bot nodejs-github-bot added the crypto Issues and PRs related to the crypto subsystem. label Oct 2, 2018
@richardlau richardlau added the duplicate Issues and PRs that are duplicates of other issues or PRs. label Oct 2, 2018
@richardlau
Copy link
Member

Duplicate of #23222.

@guybedford
Copy link
Contributor Author

Thanks, missed that.

@guybedford guybedford closed this Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crypto Issues and PRs related to the crypto subsystem. duplicate Issues and PRs that are duplicates of other issues or PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants