Skip to content

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
Copy link
Collaborator

@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