Skip to content

Bug: no-unsupported-features/node-builtins wrong version for tls.DEFALUT_CIPHERS #483

@mureinik

Description

@mureinik

Environment

Node version: 24.6.0
npm version: 10.9.2
ESLint version: 9.35.0
eslint-plugin-n version: 17.23.0
Operating System: macOS Sequoia 15.6.1 (Darwin Kernel Version 24.6.0)

What rule do you want to report?

no-unsupported-features/node-builtins

Link to Minimal Reproducible Example

https://eslint-online-playground.netlify.app/#eNpdUEtPwzAM/iuRLwNp7WDjIcYJsSGQOCAeJ4JQad2qkDpRHmho6n/HaSrBlkOi2N/L3oKz5Qw3RWcU5p8OltB2RlsvtmK1vrl6uX9+v757uF0/Pole1FZ3YuKVm1xKKjU5zSSlm4M96CG3YQroVEs+Z2DdNjvilKTkCMmMCk1LGUlgpiTcDKgK6yIoL14lCbGNlxAJ6Zacj0Q/TUUbFMZS+vGRQDPSWSAXTJTCKqux8MGi43qF2UdolWcdCcuYwlptJSR6Hx++3tIQpii/iibuRhMPMHhI8D8GE7fTFbtLGKKwFHE8HHTHOJyFHRP4+ExkYn6SrFJ6CRV+r9AgVUhlu0dN+0nki3xxmh+NTn/Nf8sbLM7z+SLCxjF66H8BqLKarA==

What did you expect to happen?

Using tls.DEFAULT_CIPHERS should not cause an issue in any modern Node.js version.
The version configuration for this constant was taken from the Node.js documentation at some point, but the documentation itself was wrong - this has been available since Node.js 0.11.3, see nodejs/node#59246

Participation

  • I am willing to submit a pull request for this issue.

Additional comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions