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: remove DEFAULT_ENCODING #47182

Merged

Commits on Mar 21, 2023

  1. crypto: remove DEFAULT_ENCODING

    Citing 76b0bdf from 2012, "only use
    this as a temporary measure."
    
    Getting or setting DEFAULT_ENCODING has emitted a warning ever since
    Node.js 10, so it seems appropriate to remove it in Node.js 20 five
    years later. The last Node.js version that did not emit a warning
    reached its end-of-life status at the end of 2019.
    
    This commit only removes the public API so that the change can land in
    time for Node.js 20.
    
    Refs: nodejs/node-v0.x-archive#4179
    Refs: nodejs#18333
    tniessen committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    2669b64 View commit details
    Browse the repository at this point in the history