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: set DEFAULT_ENCODING property to non-enumerable #23222

Closed
wants to merge 1 commit into from

Commits on Oct 2, 2018

  1. crypto: set DEFAULT_ENCODING property to non-enumerable

    Since it is a deprecated API, a deprecation warning is printed when
    loading crypto module from ESM. Making it non enumerable remove the
    deprecation warning and make the API non-available to named imports.
    
    Fixes: nodejs#23203
    aduh95 authored Oct 2, 2018
    Configuration menu
    Copy the full SHA
    7598f48 View commit details
    Browse the repository at this point in the history