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

feat: remove dependencies for Node built-ins #3847

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MichaelDeBoey
Copy link
Contributor

No description provided.

@MichaelDeBoey MichaelDeBoey force-pushed the remove-dependencies-for-Node-built-ins branch from dfc67fc to 8df94e9 Compare October 30, 2024 00:25
BREAKING CHANGE: Requires Node@^18.18.0 || ^20.9.0 || >=21.1.0
@MichaelDeBoey MichaelDeBoey force-pushed the remove-dependencies-for-Node-built-ins branch from 8df94e9 to 952181e Compare October 30, 2024 01:55
@MichaelDeBoey MichaelDeBoey force-pushed the remove-dependencies-for-Node-built-ins branch from 952181e to 8fab926 Compare October 30, 2024 02:03
@@ -29,24 +29,15 @@
"homepage": "https://github.com/jsx-eslint/eslint-plugin-react",
"bugs": "https://github.com/jsx-eslint/eslint-plugin-react/issues",
"dependencies": {
"array-includes": "^3.1.8",
"array.prototype.findlast": "^1.2.5",
"array.prototype.flatmap": "^1.3.2",
"array.prototype.tosorted": "^1.1.4",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Unfortunately array.prototype.toSorted is only available as of Node v20 😢

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/toSorted#browser_compatibility

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

Successfully merging this pull request may close these issues.

1 participant