Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cfabdce

Browse files
committedApr 5, 2025··
feat: drop Node 4, 6, 8, 10, 12, 14 & 16 support
BREAKING CHANGE: Requires Node@^18.18.0 || ^20.9.0 || >=21.1.0
1 parent 3a03579 commit cfabdce

File tree

167 files changed

+478
-620
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+478
-620
lines changed
 

‎.eslintrc

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"node": true
88
},
99
"parserOptions": {
10-
"ecmaVersion": 6,
10+
"ecmaVersion": 2022,
1111
"ecmaFeatures": {
1212
"jsx": true
1313
},
@@ -34,17 +34,10 @@
3434
"consistent-return": 0,
3535

3636
"prefer-destructuring": [2, { "array": false, "object": false }, { "enforceForRenamedProperties": false }],
37-
"prefer-object-spread": 0, // until node 8 is required
38-
"prefer-rest-params": 0, // until node 6 is required
39-
"prefer-spread": 0, // until node 6 is required
40-
"function-call-argument-newline": 1, // TODO: enable
37+
"function-call-argument-newline": 1,
4138
"function-paren-newline": 0,
4239
"no-plusplus": [2, {"allowForLoopAfterthoughts": true}],
4340
"no-param-reassign": 1,
44-
"no-restricted-syntax": [2, {
45-
"selector": "ObjectPattern",
46-
"message": "Object destructuring is not compatible with Node v4"
47-
}],
4841
"strict": [2, "safe"],
4942
"valid-jsdoc": [2, {
5043
"requireReturn": false,
@@ -73,12 +66,11 @@
7366
{
7467
"files": ".github/workflows/*.js",
7568
"parserOptions": {
76-
"ecmaVersion": 2019,
69+
"ecmaVersion": 2022,
7770
},
7871
"rules": {
7972
"camelcase": 0,
8073
"no-console": 0,
81-
"no-restricted-syntax": 0,
8274
},
8375
},
8476
],

‎.github/workflows/node-minors.yml

Lines changed: 0 additions & 117 deletions
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.