-
Notifications
You must be signed in to change notification settings - Fork 184
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
JS-259 Do not warn against active Node.js versions #4842
Conversation
The ticket mentions testing the CI against all active Node.js versions. |
@@ -54,8 +53,7 @@ public class NodeDeprecationWarning { | |||
*/ | |||
static final Version MIN_SUPPORTED_NODE_VERSION = Version.create(18, 17, 0); | |||
static final int MIN_RECOMMENDED_NODE_VERSION = 18; | |||
static final List<String> RECOMMENDED_NODE_VERSIONS = List.of("^18.18.0", "^20.9.0"); | |||
static final List<Integer> ALL_RECOMMENDED_NODE_VERSIONS = Arrays.asList(18, 20, 21); | |||
static final List<String> RECOMMENDED_NODE_VERSIONS = List.of("^18.18.0", "^20.9.0", "^22.9.0"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How were 18.18.0
and 20.9.0
chosen?
Should they be updated according to the current latest versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the minor versions follow ESLint package.json
engine
field https://github.com/eslint/eslint/blob/main/package.json#L204 , I wouldn't update unless we have a reason to
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
The following dates have expired for a while now: Lines 43 to 46 in 5f03925
However, we still log the following message: Lines 65 to 70 in 5f03925
Should we officially acknowledge and announce that we don't support Node.js 16 and Node.js 17? |
@yassin-kammoun-sonarsource I think the decision about Node 16 was properly announced, so you can cleanup the code and remove all mentions of it https://community.sonarsource.com/t/node-js-16-is-no-longer-supported-in-the-analysis-environment/112167 |
The tests would run in parallel, so they shouldn't slow down that much. However, it will consume more resources. I think testing against 18, 20, and 22 is reasonable. |
Alright. I will tackle the CI changes in a separate pull request. |
Quality Gate passedIssues Measures |
No description provided.