Skip to content

Commit 6788e72

Browse files
G-RathSimenB
authored andcommitted
feat: drop support for node 8 (#570)
BREAKING CHANGE: Node 10+ required
1 parent ede9152 commit 6788e72

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

.github/workflows/nodejs.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,8 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
node-version: [8.x, 10.x, 12.x, 13.x, 14.x]
21+
node-version: [10.x, 12.x, 14.x]
2222
eslint-version: [5, 6, 7]
23-
exclude:
24-
# eslint@7 doesn't support node@8
25-
- node-version: 8.x
26-
eslint-version: 7
2723
runs-on: ubuntu-latest
2824

2925
steps:

babel.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ module.exports = {
55
plugins: ['replace-ts-export-assignment'],
66
presets: [
77
'@babel/preset-typescript',
8-
['@babel/preset-env', { targets: { node: 8 } }],
8+
['@babel/preset-env', { targets: { node: 10 } }],
99
],
1010
};

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
"eslint": ">=5"
133133
},
134134
"engines": {
135-
"node": ">=8"
135+
"node": ">=10"
136136
},
137137
"release": {
138138
"plugins": [

tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"target": "es2015",
44
"module": "commonjs",
55
"moduleResolution": "node",
6+
"lib": ["es2018"],
67
"noEmit": true,
78
"noImplicitReturns": true,
89
"strict": true,

0 commit comments

Comments
 (0)