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

remove array-includes #2920

Closed
wants to merge 1 commit into from

Conversation

dulmandakh
Copy link

No description provided.

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be a breaking change, and we’re definitely not dropping support for older node versions.

@ljharb ljharb marked this pull request as draft November 10, 2023 15:45
@ljharb ljharb closed this Nov 10, 2023
@dulmandakh
Copy link
Author

@ljharb you can create a stable branch, and accept breaking changes into the main, then release a major version with breaking changes.

why support a long ago EOL Node.js versions?

@ljharb
Copy link
Member

ljharb commented Nov 10, 2023

I could, but i have no desire to do that.

Breaking changes are the most costly thing to inflict on the ecosystem, and there’s still people using those versions. Node’s EOL status is irrelevant to whether the ecosystem should support it.

@dulmandakh
Copy link
Author

dulmandakh commented Nov 10, 2023

IMHO, you could reduce dependencies and make good use of features added in newer Node.js versions. Dependency reduction will reduce bandwidth, storage requirements thus make this library greener, also improve developer experience.

@ljharb
Copy link
Member

ljharb commented Nov 10, 2023

I could, but more dependencies is better, and there are no features added in newer node versions that I need and can't take advantage of through packages.

Bandwith and storage is npm's concern, as it's simply not sustainable for individual authors to try to fix that problem, and developer experience is largely unaffected since installs happen rarely and are cached, and disk space is infinite and free.

Either way, for future reference, to submit an unsolicited PR with a breaking change to a repo without even an explanation is quite rude.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants